@esri/solutions-components 0.6.6 → 0.6.7
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/{ExpandToggle-e6a0d66e.js → ExpandToggle-70890ae0.js} +4 -4
- package/dist/cjs/{FloatingArrow-0119ec6e.js → FloatingArrow-4ca06439.js} +1 -1
- package/dist/cjs/{Heading-521f39ac.js → Heading-c5c71fc5.js} +1 -1
- package/dist/cjs/{app-globals-72576a1c.js → app-globals-a34c0991.js} +20 -25
- package/dist/cjs/{ar-1718ae57.js → ar-fa16156d.js} +15 -15
- package/dist/cjs/{bg-190a176c.js → bg-b39e773e.js} +15 -15
- package/dist/cjs/{bs-919e0de8.js → bs-4579ea2a.js} +15 -15
- package/dist/cjs/buffer-tools_4.cjs.entry.js +1437 -1437
- package/dist/cjs/{ca-94918e06.js → ca-f3f64686.js} +15 -15
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +140 -140
- package/dist/cjs/calcite-accordion.cjs.entry.js +75 -75
- package/dist/cjs/calcite-action-bar.cjs.entry.js +216 -216
- package/dist/cjs/calcite-action-group_2.cjs.entry.js +365 -365
- package/dist/cjs/calcite-action-pad.cjs.entry.js +135 -135
- package/dist/cjs/calcite-action_2.cjs.entry.js +445 -445
- package/dist/cjs/calcite-alert.cjs.entry.js +247 -247
- package/dist/cjs/calcite-avatar.cjs.entry.js +73 -73
- package/dist/cjs/calcite-block-section.cjs.entry.js +122 -122
- package/dist/cjs/calcite-block.cjs.entry.js +131 -131
- package/dist/cjs/calcite-button.cjs.entry.js +182 -182
- package/dist/cjs/calcite-card.cjs.entry.js +99 -99
- package/dist/cjs/calcite-checkbox.cjs.entry.js +125 -125
- package/dist/cjs/calcite-chip-group.cjs.entry.js +164 -164
- package/dist/cjs/calcite-chip.cjs.entry.js +213 -213
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +303 -303
- package/dist/cjs/calcite-color-picker.cjs.entry.js +886 -886
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +35 -35
- package/dist/cjs/calcite-combobox_6.cjs.entry.js +1786 -1786
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +589 -589
- package/dist/cjs/calcite-date-picker.cjs.entry.js +434 -434
- package/dist/cjs/calcite-fab.cjs.entry.js +66 -66
- package/dist/cjs/calcite-filter_5.cjs.entry.js +1131 -1131
- package/dist/cjs/calcite-flow-item.cjs.entry.js +146 -146
- package/dist/cjs/calcite-flow.cjs.entry.js +117 -117
- package/dist/cjs/calcite-graph.cjs.entry.js +66 -66
- package/dist/cjs/calcite-icon.cjs.entry.js +80 -80
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +225 -225
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +632 -632
- package/dist/cjs/calcite-input-number_2.cjs.entry.js +846 -846
- package/dist/cjs/{calcite-input-time-picker-b99baf7b.js → calcite-input-time-picker-6f38ef8c.js} +534 -534
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +15 -15
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +150 -150
- package/dist/cjs/calcite-input_2.cjs.entry.js +645 -645
- package/dist/cjs/calcite-label.cjs.entry.js +40 -40
- package/dist/cjs/calcite-link.cjs.entry.js +96 -96
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +46 -46
- package/dist/cjs/calcite-loader.cjs.entry.js +65 -65
- package/dist/cjs/calcite-menu-item.cjs.entry.js +246 -246
- package/dist/cjs/calcite-menu.cjs.entry.js +161 -161
- package/dist/cjs/calcite-modal.cjs.entry.js +282 -282
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +52 -52
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +45 -45
- package/dist/cjs/calcite-navigation.cjs.entry.js +126 -126
- package/dist/cjs/calcite-notice.cjs.entry.js +105 -105
- package/dist/cjs/calcite-option-group.cjs.entry.js +24 -24
- package/dist/cjs/calcite-option_2.cjs.entry.js +271 -271
- package/dist/cjs/calcite-pagination.cjs.entry.js +191 -191
- package/dist/cjs/calcite-panel_2.cjs.entry.js +346 -346
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +46 -46
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +181 -181
- package/dist/cjs/calcite-pick-list.cjs.entry.js +130 -130
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +118 -118
- package/dist/cjs/calcite-radio-button.cjs.entry.js +292 -292
- package/dist/cjs/calcite-rating.cjs.entry.js +245 -245
- package/dist/cjs/calcite-scrim.cjs.entry.js +93 -93
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +225 -225
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +42 -42
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +2604 -2604
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +134 -134
- package/dist/cjs/calcite-split-button.cjs.entry.js +92 -92
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +197 -197
- package/dist/cjs/calcite-stepper.cjs.entry.js +187 -187
- package/dist/cjs/calcite-switch.cjs.entry.js +100 -100
- package/dist/cjs/calcite-text-area.cjs.entry.js +235 -235
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +27 -27
- package/dist/cjs/calcite-tile-select.cjs.entry.js +180 -180
- package/dist/cjs/calcite-tile.cjs.entry.js +58 -58
- package/dist/cjs/calcite-time-picker.cjs.entry.js +619 -619
- package/dist/cjs/calcite-tip-group.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +185 -185
- package/dist/cjs/calcite-tip.cjs.entry.js +94 -94
- package/dist/cjs/calcite-tooltip.cjs.entry.js +185 -185
- package/dist/cjs/calcite-tree_3.cjs.entry.js +821 -821
- package/dist/cjs/card-manager_4.cjs.entry.js +652 -652
- package/dist/cjs/{conditionalSlot-85b3a6b3.js → conditionalSlot-a51326e7.js} +2 -2
- package/dist/cjs/crowdsource-manager.cjs.entry.js +256 -256
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +60 -60
- package/dist/cjs/{cs-fe27e732.js → cs-1bcd5b46.js} +15 -15
- package/dist/cjs/{da-1b7f3440.js → da-30ee21db.js} +15 -15
- package/dist/cjs/{date-cec32b0e.js → date-f6611a19.js} +1 -1
- package/dist/cjs/{de-0dc1effa.js → de-42aae5ad.js} +15 -15
- package/dist/cjs/{de-at-acdc4d01.js → de-at-a3a6f020.js} +15 -15
- package/dist/cjs/{de-ch-778a0d99.js → de-ch-36c13310.js} +15 -15
- package/dist/cjs/deduct-calculator.cjs.entry.js +90 -90
- package/dist/cjs/{dom-c1807fc1.js → dom-d529bae8.js} +2 -2
- package/dist/cjs/{downloadUtils-a8c530f7.js → downloadUtils-6eb59363.js} +660 -660
- package/dist/cjs/edit-card_2.cjs.entry.js +345 -345
- package/dist/cjs/{el-fdbc9bc1.js → el-90d066ae.js} +15 -15
- package/dist/cjs/{en-au-0ff50cdf.js → en-au-685b882b.js} +15 -15
- package/dist/cjs/{en-ca-284e9368.js → en-ca-ff4bc403.js} +15 -15
- package/dist/cjs/{en-gb-0fcae8ae.js → en-gb-2f5587ad.js} +15 -15
- package/dist/cjs/{es-cd54acba.js → es-e9183ca0.js} +15 -15
- package/dist/cjs/{es-mx-2078d50f.js → es-mx-dcc9afb2.js} +15 -15
- package/dist/cjs/{et-17f323f6.js → et-a18949ea.js} +15 -15
- package/dist/cjs/{fi-82f27397.js → fi-1ce00d38.js} +15 -15
- package/dist/cjs/{filter-bda212b4.js → filter-494bf35e.js} +1 -1
- package/dist/cjs/{floating-ui-8d10af88.js → floating-ui-7d6e57d3.js} +2 -2
- package/dist/cjs/{focusTrapComponent-a22fc6a8.js → focusTrapComponent-0c4d7671.js} +1 -1
- package/dist/cjs/{form-9d8ebf06.js → form-bcf49eae.js} +2 -2
- package/dist/cjs/{fr-af7e1192.js → fr-a9435a19.js} +15 -15
- package/dist/cjs/{fr-ch-5e1f2c28.js → fr-ch-51efa9bf.js} +15 -15
- package/dist/cjs/{he-ea851800.js → he-c5dccfa2.js} +15 -15
- package/dist/cjs/{hi-5212a21d.js → hi-0898e7f2.js} +15 -15
- package/dist/cjs/{hr-4eecb2ed.js → hr-68f7d8da.js} +15 -15
- package/dist/cjs/{hu-6b527d8e.js → hu-e494037d.js} +15 -15
- package/dist/cjs/{id-d78f12ec.js → id-bef40c1c.js} +15 -15
- package/dist/cjs/{index-0e50040c.js → index-6654298b.js} +38 -180
- package/dist/cjs/{index-2b60e135.js → index-e1b1954f.js} +1 -1
- package/dist/cjs/{index.es-4542630e.js → index.es-d9b5d3a5.js} +6 -6
- package/dist/cjs/{interfaces-d539e30c.js → interfaces-ad03ec39.js} +77 -77
- package/dist/cjs/{it-15242935.js → it-1144ca67.js} +15 -15
- package/dist/cjs/{it-ch-9dc21944.js → it-ch-2c14dca7.js} +15 -15
- package/dist/cjs/{ja-f702cfc2.js → ja-caad9809.js} +15 -15
- package/dist/cjs/{ko-aa9bde2c.js → ko-ddec9054.js} +15 -15
- package/dist/cjs/{label-6e33e971.js → label-215c4af3.js} +1 -1
- package/dist/cjs/list-item.cjs.entry.js +60 -60
- package/dist/cjs/{loadModules-31cab7ac.js → loadModules-ae7715f2.js} +19 -19
- package/dist/cjs/{loadable-bac9cdd6.js → loadable-6da743c6.js} +1 -1
- package/dist/cjs/loader.cjs.js +13 -4
- package/dist/cjs/{locale-c63a1b57.js → locale-477d8d51.js} +3 -3
- package/dist/cjs/{locale-d15cd743.js → locale-b113c6b2.js} +107 -107
- package/dist/cjs/{lt-e741ff2f.js → lt-205a1aa6.js} +15 -15
- package/dist/cjs/{lv-92d6768e.js → lv-3ba82f9b.js} +15 -15
- package/dist/cjs/map-picker_2.cjs.entry.js +243 -243
- package/dist/cjs/map-select-tools_3.cjs.entry.js +1285 -1285
- package/dist/cjs/{mapViewUtils-9da2dddd.js → mapViewUtils-77a1ff88.js} +384 -384
- package/dist/cjs/{mk-b209ac0d.js → mk-069ea86a.js} +15 -15
- package/dist/cjs/{nb-db13e666.js → nb-9e9c934f.js} +15 -15
- package/dist/cjs/{nl-fcd9e0c5.js → nl-5dd0116f.js} +15 -15
- package/dist/cjs/{openCloseComponent-5d70fcd8.js → openCloseComponent-3fa18210.js} +1 -1
- package/dist/cjs/pci-calculator.cjs.entry.js +102 -102
- package/dist/cjs/{pciUtils-e0ddeb7c.js → pciUtils-423cfc68.js} +836 -836
- package/dist/cjs/{pl-87c83322.js → pl-74e70b37.js} +15 -15
- package/dist/cjs/{pt-br-03333e90.js → pt-br-0f76e430.js} +15 -15
- package/dist/cjs/{pt-b0b5f472.js → pt-cc737fcc.js} +15 -15
- package/dist/cjs/public-notification.cjs.entry.js +844 -844
- package/dist/cjs/{publicNotificationStore-55edd658.js → publicNotificationStore-ec1bdd2d.js} +40 -40
- package/dist/cjs/{ro-c3661b73.js → ro-5e396753.js} +15 -15
- package/dist/cjs/{ru-8dd3fd58.js → ru-f7371aca.js} +15 -15
- package/dist/cjs/{shared-list-render-c0adb192.js → shared-list-render-76c5dc25.js} +6 -6
- package/dist/cjs/{sk-151d9acf.js → sk-ec02498f.js} +15 -15
- package/dist/cjs/{sl-9b45a152.js → sl-8363f4d7.js} +15 -15
- package/dist/cjs/solution-configuration.cjs.entry.js +888 -888
- package/dist/cjs/solution-contents_3.cjs.entry.js +21506 -21506
- package/dist/cjs/{solution-store-0004e4e6.js → solution-store-bd956f06.js} +577 -577
- package/dist/cjs/solutions-components.cjs.js +4 -4
- package/dist/cjs/{sortableComponent-58679f07.js → sortableComponent-8135ea87.js} +1 -1
- package/dist/cjs/{sr-186bf15c.js → sr-b0f92cb1.js} +15 -15
- package/dist/cjs/store-manager.cjs.entry.js +52 -52
- package/dist/cjs/{sv-a93fee0c.js → sv-e2c27fff.js} +15 -15
- package/dist/cjs/{t9n-1d032c30.js → t9n-8be30efb.js} +2 -2
- package/dist/cjs/{th-41680352.js → th-8a6dc2cc.js} +15 -15
- package/dist/cjs/{throttle-aeeb1b4d.js → throttle-8ee74c77.js} +1 -1
- package/dist/cjs/{time-5e450ec8.js → time-9004df7e.js} +1 -1
- package/dist/cjs/{tr-0bd886d6.js → tr-09137435.js} +15 -15
- package/dist/cjs/{uk-4fade133.js → uk-c30401f4.js} +15 -15
- package/dist/cjs/{utils-ae9bdd59.js → utils-ed4e5028.js} +1 -1
- package/dist/cjs/{utils-acfeed9d.js → utils-fb81c6b3.js} +3 -3
- package/dist/cjs/{vi-1c9fe343.js → vi-e069c9e4.js} +15 -15
- package/dist/cjs/{zh-cn-28fa1fe1.js → zh-cn-50f223a8.js} +15 -15
- package/dist/cjs/{zh-hk-5abf8eb5.js → zh-hk-5498073d.js} +15 -15
- package/dist/cjs/{zh-tw-07500357.js → zh-tw-dfdb0ae8.js} +15 -15
- package/dist/collection/collection-manifest.json +35 -35
- package/dist/collection/components/buffer-tools/buffer-tools.js +476 -481
- package/dist/collection/components/card-manager/card-manager.js +197 -199
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +406 -407
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +89 -89
- package/dist/collection/components/deduct-calculator/deduct-calculator.js +143 -143
- package/dist/collection/components/edit-card/edit-card.js +300 -302
- package/dist/collection/components/info-card/info-card.js +357 -361
- package/dist/collection/components/json-editor/json-editor.js +614 -618
- package/dist/collection/components/layer-table/layer-table.js +548 -551
- package/dist/collection/components/layout-manager/layout-manager.js +135 -136
- package/dist/collection/components/list-item/list-item.js +89 -89
- package/dist/collection/components/map-card/map-card.js +203 -206
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +683 -692
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +423 -424
- package/dist/collection/components/map-picker/map-picker.js +224 -226
- package/dist/collection/components/map-select-tools/map-select-tools.js +1229 -1242
- package/dist/collection/components/map-tools/map-tools.js +210 -212
- package/dist/collection/components/pci-calculator/pci-calculator.js +143 -143
- package/dist/collection/components/pdf-download/pdf-download.js +333 -338
- package/dist/collection/components/public-notification/public-notification.js +1287 -1295
- package/dist/collection/components/refine-selection/refine-selection.js +601 -608
- package/dist/collection/components/solution-configuration/solution-configuration.js +735 -739
- package/dist/collection/components/solution-contents/solution-contents.js +162 -163
- package/dist/collection/components/solution-item/solution-item.js +202 -203
- package/dist/collection/components/solution-item-details/solution-item-details.js +248 -248
- package/dist/collection/components/solution-item-icon/solution-item-icon.js +398 -398
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +199 -200
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +156 -156
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +347 -348
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +510 -515
- package/dist/collection/components/solution-spatial-ref/spatialreferences.js +21046 -21046
- package/dist/collection/components/solution-template-data/solution-template-data.js +230 -230
- package/dist/collection/components/solution-variables/solution-variables.js +168 -168
- package/dist/collection/components/store-manager/store-manager.js +127 -128
- package/dist/collection/index.js +1 -1
- package/dist/collection/utils/common.js +296 -296
- package/dist/collection/utils/csvDownload.js +41 -41
- package/dist/collection/utils/csvUtils.js +37 -37
- package/dist/collection/utils/downloadUtils.js +530 -530
- package/dist/collection/utils/interfaces.js +83 -83
- package/dist/collection/utils/languageUtil.js +90 -90
- package/dist/collection/utils/loadModules.js +25 -25
- package/dist/collection/utils/locale.js +61 -61
- package/dist/collection/utils/mapViewUtils.js +240 -240
- package/dist/collection/utils/pciUtils.js +842 -842
- package/dist/collection/utils/pdfUtils.js +87 -87
- package/dist/collection/utils/publicNotificationStore.js +47 -47
- package/dist/collection/utils/queryUtils.js +200 -200
- package/dist/collection/utils/solution-store.js +584 -584
- package/dist/collection/utils/templates.js +346 -346
- package/dist/collection/utils/test/mocks/jsApi.js +79 -79
- package/dist/collection/utils/test/testUtils.js +123 -123
- package/dist/collection/utils/types.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/action-bar.js +263 -262
- package/dist/components/action-group.js +145 -144
- package/dist/components/action-menu.js +311 -310
- package/dist/components/action.js +186 -185
- package/dist/components/alert.js +287 -286
- package/dist/components/avatar.js +100 -99
- package/dist/components/buffer-tools2.js +264 -263
- package/dist/components/button.js +226 -225
- package/dist/components/calcite-accordion-item.js +168 -168
- package/dist/components/calcite-accordion.js +96 -95
- package/dist/components/calcite-action-pad.js +181 -180
- package/dist/components/calcite-block-section.js +151 -150
- package/dist/components/calcite-block.js +187 -186
- package/dist/components/calcite-card.js +133 -132
- package/dist/components/calcite-chip-group.js +182 -181
- package/dist/components/calcite-color-picker.js +980 -979
- package/dist/components/calcite-combobox-item-group.js +53 -52
- package/dist/components/calcite-fab.js +105 -104
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +205 -204
- package/dist/components/calcite-flow.js +137 -136
- package/dist/components/calcite-inline-editable.js +260 -259
- package/dist/components/calcite-input-date-picker.js +704 -703
- package/dist/components/calcite-input-time-picker.js +596 -595
- package/dist/components/calcite-input-time-zone.js +190 -189
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-list-item-group.js +65 -64
- package/dist/components/calcite-menu-item.js +297 -297
- package/dist/components/calcite-modal.js +329 -328
- package/dist/components/calcite-navigation-logo.js +77 -76
- package/dist/components/calcite-navigation-user.js +79 -78
- package/dist/components/calcite-navigation.js +167 -166
- package/dist/components/calcite-option-group.js +43 -42
- package/dist/components/calcite-pagination.js +218 -217
- package/dist/components/calcite-pick-list-group.js +60 -59
- package/dist/components/calcite-pick-list.js +151 -150
- package/dist/components/calcite-radio-button-group.js +142 -141
- package/dist/components/calcite-radio-button.js +317 -316
- package/dist/components/calcite-rating.js +280 -279
- package/dist/components/calcite-shell-center-row.js +58 -57
- package/dist/components/calcite-sortable-list.js +154 -153
- package/dist/components/calcite-split-button.js +143 -142
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +226 -225
- package/dist/components/calcite-stepper.js +213 -212
- package/dist/components/calcite-text-area.js +267 -266
- package/dist/components/calcite-tile-select-group.js +45 -44
- package/dist/components/calcite-tile-select.js +224 -223
- package/dist/components/calcite-tip-group.js +28 -27
- package/dist/components/calcite-tip-manager.js +223 -222
- package/dist/components/calcite-tip.js +127 -126
- package/dist/components/card-manager2.js +156 -155
- package/dist/components/checkbox.js +147 -146
- package/dist/components/chip.js +246 -245
- package/dist/components/color-picker-hex-input.js +288 -287
- package/dist/components/color-picker-swatch.js +80 -79
- package/dist/components/combobox-item.js +136 -135
- package/dist/components/combobox.js +922 -921
- package/dist/components/crowdsource-manager.js +476 -475
- package/dist/components/crowdsource-reporter.js +76 -75
- package/dist/components/date-picker-day.js +110 -110
- package/dist/components/date-picker-month-header.js +198 -197
- package/dist/components/date-picker-month.js +373 -372
- package/dist/components/date-picker.js +493 -492
- package/dist/components/date.js +1 -1
- package/dist/components/deduct-calculator2.js +982 -981
- package/dist/components/dom.js +23 -2
- package/dist/components/downloadUtils.js +655 -655
- package/dist/components/dropdown-group.js +73 -72
- package/dist/components/dropdown-item.js +196 -195
- package/dist/components/dropdown.js +421 -420
- package/dist/components/edit-card2.js +192 -191
- package/dist/components/filter.js +202 -751
- package/dist/components/filter2.js +740 -190
- package/dist/components/floating-ui.js +2 -2
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/graph.js +87 -86
- package/dist/components/handle.js +166 -165
- package/dist/components/icon.js +100 -99
- package/dist/components/index.d.ts +36 -0
- package/dist/components/index.js +153 -25
- package/dist/components/info-card2.js +252 -251
- package/dist/components/input-message.js +67 -66
- package/dist/components/input-number.js +600 -600
- package/dist/components/input-text.js +368 -368
- package/dist/components/input.js +687 -687
- package/dist/components/interfaces.js +78 -78
- package/dist/components/json-editor2.js +426 -425
- package/dist/components/label.js +65 -117
- package/dist/components/label2.js +110 -57
- package/dist/components/layer-table2.js +548 -547
- package/dist/components/layout-manager2.js +119 -118
- package/dist/components/link.js +123 -123
- package/dist/components/list-item.js +76 -75
- package/dist/components/list-item2.js +432 -431
- package/dist/components/list.js +511 -510
- package/dist/components/loadModules.js +18 -18
- package/dist/components/loader.js +87 -86
- package/dist/components/locale.js +106 -106
- package/dist/components/locale2.js +2 -2
- package/dist/components/map-card2.js +201 -200
- package/dist/components/map-draw-tools2.js +384 -383
- package/dist/components/map-layer-picker2.js +292 -291
- package/dist/components/map-picker2.js +236 -235
- package/dist/components/map-select-tools2.js +917 -916
- package/dist/components/map-tools2.js +170 -169
- package/dist/components/mapViewUtils.js +235 -235
- package/dist/components/menu.js +179 -178
- package/dist/components/notice.js +131 -130
- package/dist/components/option.js +92 -91
- package/dist/components/panel.js +308 -307
- package/dist/components/pci-calculator.js +170 -169
- package/dist/components/pdf-download2.js +174 -173
- package/dist/components/pick-list-item.js +220 -219
- package/dist/components/popover.js +350 -349
- package/dist/components/progress.js +46 -46
- package/dist/components/public-notification.js +1102 -1101
- package/dist/components/publicNotificationStore.js +39 -39
- package/dist/components/queryUtils.js +152 -152
- package/dist/components/refine-selection2.js +547 -546
- package/dist/components/resources.js +9 -17
- package/dist/components/resources2.js +13 -9
- package/dist/components/resources3.js +5 -9
- package/dist/components/scrim.js +116 -115
- package/dist/components/segmented-control-item.js +63 -62
- package/dist/components/segmented-control.js +214 -213
- package/dist/components/select.js +227 -226
- package/dist/components/shared-list-render.js +3 -3
- package/dist/components/shell-panel.js +398 -398
- package/dist/components/shell.js +120 -119
- package/dist/components/slider.js +899 -898
- package/dist/components/solution-configuration.js +1096 -1095
- package/dist/components/solution-contents2.js +112 -111
- package/dist/components/solution-item-details2.js +218 -217
- package/dist/components/solution-item-icon2.js +331 -330
- package/dist/components/solution-item-sharing2.js +152 -151
- package/dist/components/solution-item2.js +270 -269
- package/dist/components/solution-organization-variables2.js +116 -115
- package/dist/components/solution-resource-item2.js +332 -331
- package/dist/components/solution-spatial-ref2.js +21421 -21420
- package/dist/components/solution-store.js +575 -575
- package/dist/components/solution-template-data2.js +203 -202
- package/dist/components/solution-variables2.js +133 -132
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/stack.js +79 -78
- package/dist/components/store-manager.js +71 -70
- package/dist/components/switch.js +119 -118
- package/dist/components/tab-nav.js +255 -254
- package/dist/components/tab-title.js +301 -300
- package/dist/components/tab.js +112 -111
- package/dist/components/tabs.js +131 -130
- package/dist/components/tile.js +90 -89
- package/dist/components/time-picker.js +655 -654
- package/dist/components/tooltip.js +208 -207
- package/dist/components/tree-item.js +288 -288
- package/dist/components/tree.js +282 -281
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +2 -2
- package/dist/components/utils3.js +1 -1
- package/dist/components/value-list-item.js +170 -169
- package/dist/components/value-list.js +276 -275
- package/dist/esm/{ExpandToggle-3d10bd1e.js → ExpandToggle-3420fa39.js} +4 -4
- package/dist/esm/{FloatingArrow-29db6da6.js → FloatingArrow-cd8eafa4.js} +1 -1
- package/dist/esm/{Heading-cb79e5b2.js → Heading-1763134e.js} +1 -1
- package/dist/esm/{app-globals-5cbac6b0.js → app-globals-580889bd.js} +20 -25
- package/dist/esm/{ar-4b751ba8.js → ar-ceb1b389.js} +15 -15
- package/dist/esm/{bg-5d8bf5ea.js → bg-a8824832.js} +15 -15
- package/dist/esm/{bs-ff510e71.js → bs-5c2ca44f.js} +15 -15
- package/dist/esm/buffer-tools_4.entry.js +1437 -1437
- package/dist/esm/{ca-b9a5e51a.js → ca-47f86073.js} +15 -15
- package/dist/esm/calcite-accordion-item.entry.js +140 -140
- package/dist/esm/calcite-accordion.entry.js +75 -75
- package/dist/esm/calcite-action-bar.entry.js +216 -216
- package/dist/esm/calcite-action-group_2.entry.js +365 -365
- package/dist/esm/calcite-action-pad.entry.js +135 -135
- package/dist/esm/calcite-action_2.entry.js +445 -445
- package/dist/esm/calcite-alert.entry.js +247 -247
- package/dist/esm/calcite-avatar.entry.js +73 -73
- package/dist/esm/calcite-block-section.entry.js +122 -122
- package/dist/esm/calcite-block.entry.js +131 -131
- package/dist/esm/calcite-button.entry.js +182 -182
- package/dist/esm/calcite-card.entry.js +99 -99
- package/dist/esm/calcite-checkbox.entry.js +125 -125
- package/dist/esm/calcite-chip-group.entry.js +164 -164
- package/dist/esm/calcite-chip.entry.js +213 -213
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +303 -303
- package/dist/esm/calcite-color-picker.entry.js +886 -886
- package/dist/esm/calcite-combobox-item-group.entry.js +35 -35
- package/dist/esm/calcite-combobox_6.entry.js +1786 -1786
- package/dist/esm/calcite-date-picker-day_3.entry.js +589 -589
- package/dist/esm/calcite-date-picker.entry.js +434 -434
- package/dist/esm/calcite-fab.entry.js +66 -66
- package/dist/esm/calcite-filter_5.entry.js +1131 -1131
- package/dist/esm/calcite-flow-item.entry.js +146 -146
- package/dist/esm/calcite-flow.entry.js +117 -117
- package/dist/esm/calcite-graph.entry.js +66 -66
- package/dist/esm/calcite-icon.entry.js +80 -80
- package/dist/esm/calcite-inline-editable.entry.js +225 -225
- package/dist/esm/calcite-input-date-picker.entry.js +632 -632
- package/dist/esm/calcite-input-number_2.entry.js +846 -846
- package/dist/esm/{calcite-input-time-picker-13448515.js → calcite-input-time-picker-59a3ed66.js} +534 -534
- package/dist/esm/calcite-input-time-picker.entry.js +15 -15
- package/dist/esm/calcite-input-time-zone.entry.js +150 -150
- package/dist/esm/calcite-input_2.entry.js +645 -645
- package/dist/esm/calcite-label.entry.js +40 -40
- package/dist/esm/calcite-link.entry.js +96 -96
- package/dist/esm/calcite-list-item-group.entry.js +46 -46
- package/dist/esm/calcite-loader.entry.js +65 -65
- package/dist/esm/calcite-menu-item.entry.js +246 -246
- package/dist/esm/calcite-menu.entry.js +161 -161
- package/dist/esm/calcite-modal.entry.js +282 -282
- package/dist/esm/calcite-navigation-logo.entry.js +52 -52
- package/dist/esm/calcite-navigation-user.entry.js +45 -45
- package/dist/esm/calcite-navigation.entry.js +126 -126
- package/dist/esm/calcite-notice.entry.js +105 -105
- package/dist/esm/calcite-option-group.entry.js +24 -24
- package/dist/esm/calcite-option_2.entry.js +271 -271
- package/dist/esm/calcite-pagination.entry.js +191 -191
- package/dist/esm/calcite-panel_2.entry.js +346 -346
- package/dist/esm/calcite-pick-list-group.entry.js +46 -46
- package/dist/esm/calcite-pick-list-item.entry.js +181 -181
- package/dist/esm/calcite-pick-list.entry.js +130 -130
- package/dist/esm/calcite-radio-button-group.entry.js +118 -118
- package/dist/esm/calcite-radio-button.entry.js +292 -292
- package/dist/esm/calcite-rating.entry.js +245 -245
- package/dist/esm/calcite-scrim.entry.js +93 -93
- package/dist/esm/calcite-segmented-control_2.entry.js +225 -225
- package/dist/esm/calcite-shell-center-row.entry.js +42 -42
- package/dist/esm/calcite-shell-panel_14.entry.js +2604 -2604
- package/dist/esm/calcite-sortable-list.entry.js +134 -134
- package/dist/esm/calcite-split-button.entry.js +92 -92
- package/dist/esm/calcite-stepper-item.entry.js +197 -197
- package/dist/esm/calcite-stepper.entry.js +187 -187
- package/dist/esm/calcite-switch.entry.js +100 -100
- package/dist/esm/calcite-text-area.entry.js +235 -235
- package/dist/esm/calcite-tile-select-group.entry.js +27 -27
- package/dist/esm/calcite-tile-select.entry.js +180 -180
- package/dist/esm/calcite-tile.entry.js +58 -58
- package/dist/esm/calcite-time-picker.entry.js +619 -619
- package/dist/esm/calcite-tip-group.entry.js +10 -10
- package/dist/esm/calcite-tip-manager.entry.js +185 -185
- package/dist/esm/calcite-tip.entry.js +94 -94
- package/dist/esm/calcite-tooltip.entry.js +185 -185
- package/dist/esm/calcite-tree_3.entry.js +821 -821
- package/dist/esm/card-manager_4.entry.js +652 -652
- package/dist/esm/{conditionalSlot-27a0fce0.js → conditionalSlot-91396dd5.js} +2 -2
- package/dist/esm/crowdsource-manager.entry.js +256 -256
- package/dist/esm/crowdsource-reporter.entry.js +60 -60
- package/dist/esm/{cs-f21a0628.js → cs-f651c3cd.js} +15 -15
- package/dist/esm/{da-dc48fc4c.js → da-e32ccc0a.js} +15 -15
- package/dist/esm/{date-0ed48e97.js → date-51fa981b.js} +1 -1
- package/dist/esm/{de-59290071.js → de-9b417aed.js} +15 -15
- package/dist/esm/{de-at-cd6e6ab7.js → de-at-f73447e2.js} +15 -15
- package/dist/esm/{de-ch-27c44e34.js → de-ch-7ec8c31e.js} +15 -15
- package/dist/esm/deduct-calculator.entry.js +90 -90
- package/dist/esm/{dom-843e3afd.js → dom-8a9e4ee8.js} +2 -2
- package/dist/esm/{downloadUtils-63661805.js → downloadUtils-43b53f5a.js} +660 -660
- package/dist/esm/edit-card_2.entry.js +345 -345
- package/dist/esm/{el-f09fdec6.js → el-9a3189a2.js} +15 -15
- package/dist/esm/{en-au-90087aa5.js → en-au-5aea3b73.js} +15 -15
- package/dist/esm/{en-ca-10751695.js → en-ca-fe3e706b.js} +15 -15
- package/dist/esm/{en-gb-0f8547bd.js → en-gb-a4278000.js} +15 -15
- package/dist/esm/{es-b0997cf1.js → es-383f9c9e.js} +15 -15
- package/dist/esm/{es-mx-226f5028.js → es-mx-7845b382.js} +15 -15
- package/dist/esm/{et-dc96c453.js → et-d8f8df06.js} +15 -15
- package/dist/esm/{fi-0941704d.js → fi-14894338.js} +15 -15
- package/dist/esm/{filter-1cac3edf.js → filter-bf34614b.js} +1 -1
- package/dist/esm/{floating-ui-d28d0fd6.js → floating-ui-9870f74c.js} +2 -2
- package/dist/esm/{focusTrapComponent-ff3a9f28.js → focusTrapComponent-34010d00.js} +1 -1
- package/dist/esm/{form-11c6a015.js → form-6669a774.js} +2 -2
- package/dist/esm/{fr-8da3458d.js → fr-6f570086.js} +15 -15
- package/dist/esm/{fr-ch-739ceddf.js → fr-ch-b9f89159.js} +15 -15
- package/dist/esm/{he-8b662dfa.js → he-174aca6e.js} +15 -15
- package/dist/esm/{hi-10996f89.js → hi-7e469aab.js} +15 -15
- package/dist/esm/{hr-42c2024d.js → hr-a4ac455a.js} +15 -15
- package/dist/esm/{hu-4768b3ff.js → hu-207da291.js} +15 -15
- package/dist/esm/{id-24a08170.js → id-8e4d57bf.js} +15 -15
- package/dist/esm/{index-b91c174c.js → index-4c4a4f3d.js} +1 -1
- package/dist/esm/{index-b5d9d795.js → index-d298aca9.js} +38 -180
- package/dist/esm/{index.es-3a3aa8e3.js → index.es-a185f2b1.js} +6 -6
- package/dist/esm/{interfaces-5a2fe8b4.js → interfaces-bf20e69c.js} +77 -77
- package/dist/esm/{it-ad09649f.js → it-7ade952c.js} +15 -15
- package/dist/esm/{it-ch-b05fc10d.js → it-ch-181d76ab.js} +15 -15
- package/dist/esm/{ja-ab839b73.js → ja-42013dd3.js} +15 -15
- package/dist/esm/{ko-c778539e.js → ko-8de07550.js} +15 -15
- package/dist/esm/{label-6a1caf64.js → label-661d8e10.js} +1 -1
- package/dist/esm/list-item.entry.js +60 -60
- package/dist/esm/{loadModules-2ecd1e44.js → loadModules-cd3569de.js} +19 -19
- package/dist/esm/{loadable-6bca96ad.js → loadable-08376d90.js} +1 -1
- package/dist/esm/loader.js +14 -5
- package/dist/esm/{locale-aa3de591.js → locale-54cac39a.js} +107 -107
- package/dist/esm/{locale-d8561d54.js → locale-73d0926a.js} +3 -3
- package/dist/esm/{lt-447d9aa9.js → lt-1ef29b5b.js} +15 -15
- package/dist/esm/{lv-4d715e11.js → lv-263a2f78.js} +15 -15
- package/dist/esm/map-picker_2.entry.js +243 -243
- package/dist/esm/map-select-tools_3.entry.js +1285 -1285
- package/dist/esm/{mapViewUtils-f0c04325.js → mapViewUtils-1e68cede.js} +384 -384
- package/dist/esm/{mk-b3d7401a.js → mk-d8bae136.js} +15 -15
- package/dist/esm/{nb-2b4a8366.js → nb-494542b3.js} +15 -15
- package/dist/esm/{nl-c0db1da2.js → nl-cd882d7f.js} +15 -15
- package/dist/esm/{openCloseComponent-2b5c6bed.js → openCloseComponent-a40fd6fd.js} +1 -1
- package/dist/esm/pci-calculator.entry.js +102 -102
- package/dist/esm/{pciUtils-59c29b42.js → pciUtils-ecda46e5.js} +836 -836
- package/dist/esm/{pl-0d322bb4.js → pl-b79095d5.js} +15 -15
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm/{pt-5997598c.js → pt-5ca0b751.js} +15 -15
- package/dist/esm/{pt-br-6b77e7db.js → pt-br-e1a1ce60.js} +15 -15
- package/dist/esm/public-notification.entry.js +844 -844
- package/dist/esm/{publicNotificationStore-ade82148.js → publicNotificationStore-6ef555f3.js} +40 -40
- package/dist/esm/{ro-ac3724e0.js → ro-5cbc0f2a.js} +15 -15
- package/dist/esm/{ru-4e75151f.js → ru-e66f5b84.js} +15 -15
- package/dist/esm/{shared-list-render-abd19c8d.js → shared-list-render-5b788e63.js} +6 -6
- package/dist/esm/{sk-bbfa22a3.js → sk-be2b5cec.js} +15 -15
- package/dist/esm/{sl-867cecfc.js → sl-74600272.js} +15 -15
- package/dist/esm/solution-configuration.entry.js +888 -888
- package/dist/esm/solution-contents_3.entry.js +21506 -21506
- package/dist/esm/{solution-store-46bc46a5.js → solution-store-c107ca4d.js} +577 -577
- package/dist/esm/solutions-components.js +5 -5
- package/dist/esm/{sortableComponent-db502e97.js → sortableComponent-1dd8a4ae.js} +1 -1
- package/dist/esm/{sr-198b5c00.js → sr-58280ce5.js} +15 -15
- package/dist/esm/store-manager.entry.js +52 -52
- package/dist/esm/{sv-02d64370.js → sv-f0e2171a.js} +15 -15
- package/dist/esm/{t9n-76168237.js → t9n-745553e0.js} +2 -2
- package/dist/esm/{th-1616e303.js → th-6c3eac31.js} +15 -15
- package/dist/esm/{throttle-9ab70933.js → throttle-26fa347b.js} +1 -1
- package/dist/esm/{time-6721a4c2.js → time-7e3ba7c6.js} +1 -1
- package/dist/esm/{tr-f4619f64.js → tr-092713ca.js} +15 -15
- package/dist/esm/{uk-df7df34a.js → uk-95df0f95.js} +15 -15
- package/dist/esm/{utils-ccfd94a7.js → utils-4f695ec2.js} +1 -1
- package/dist/esm/{utils-f54411df.js → utils-ddff4ef3.js} +3 -3
- package/dist/esm/{vi-176ca9f7.js → vi-70a9857c.js} +15 -15
- package/dist/esm/{zh-cn-e13d83d1.js → zh-cn-e024ef2d.js} +15 -15
- package/dist/esm/{zh-hk-d97365d8.js → zh-hk-36ff9e8f.js} +15 -15
- package/dist/esm/{zh-tw-a2b6f0b7.js → zh-tw-96ddb74c.js} +15 -15
- package/dist/loader/index.d.ts +2 -2
- package/dist/solutions-components/{p-15ef7894.js → p-0056655c.js} +1 -1
- package/dist/solutions-components/{p-955a956a.entry.js → p-017265ef.entry.js} +1 -1
- package/dist/solutions-components/{p-844ee452.entry.js → p-017543d5.entry.js} +1 -1
- package/dist/solutions-components/{p-b2e6c578.js → p-0209ed2e.js} +1 -1
- package/dist/solutions-components/{p-5e59219b.entry.js → p-0245bb56.entry.js} +1 -1
- package/dist/solutions-components/{p-916f90ec.entry.js → p-043ead99.entry.js} +1 -1
- package/dist/solutions-components/p-048a2a6d.js +6 -0
- package/dist/solutions-components/{p-e02fcfa9.entry.js → p-050e12eb.entry.js} +1 -1
- package/dist/solutions-components/{p-b0c4138f.entry.js → p-06916de9.entry.js} +1 -1
- package/dist/solutions-components/{p-67ce3c0c.entry.js → p-08320fb9.entry.js} +2 -2
- package/dist/solutions-components/{p-21f00df6.js → p-08e12eb0.js} +1 -1
- package/dist/solutions-components/p-0a2c02fd.js +6 -0
- package/dist/solutions-components/{p-de58bd49.js → p-0a4bc416.js} +1 -1
- package/dist/solutions-components/{p-ef96894d.entry.js → p-0afa17dc.entry.js} +1 -1
- package/dist/solutions-components/{p-4bc7b875.entry.js → p-0b4eb6e4.entry.js} +1 -1
- package/dist/solutions-components/{p-7b9adfff.js → p-0d900572.js} +1 -1
- package/dist/solutions-components/{p-0fbc27fd.entry.js → p-0f4d3009.entry.js} +1 -1
- package/dist/solutions-components/{p-b921aa1a.entry.js → p-10181f33.entry.js} +1 -1
- package/dist/solutions-components/{p-804e4751.entry.js → p-105ef63c.entry.js} +1 -1
- package/dist/solutions-components/{p-35123c90.js → p-11983a08.js} +1 -1
- package/dist/solutions-components/p-1260db08.js +61 -0
- package/dist/solutions-components/{p-a0edbb27.js → p-129fcd0a.js} +1 -1
- package/dist/solutions-components/{p-c1ee0d69.js → p-13f7e487.js} +1 -1
- package/dist/solutions-components/p-14769a01.js +11 -0
- package/dist/solutions-components/{p-c6d83122.entry.js → p-14a4ad77.entry.js} +2 -2
- package/dist/solutions-components/{p-e07b8a72.entry.js → p-15e67907.entry.js} +1 -1
- package/dist/solutions-components/{p-32ef065d.entry.js → p-17799448.entry.js} +1 -1
- package/dist/solutions-components/{p-8a758303.js → p-185a82e0.js} +1 -1
- package/dist/solutions-components/p-191c59e9.js +6 -0
- package/dist/solutions-components/{p-7601988d.entry.js → p-1b63bec9.entry.js} +1 -1
- package/dist/solutions-components/{p-28d2670f.entry.js → p-1c810f4c.entry.js} +1 -1
- package/dist/solutions-components/{p-9603c3ff.entry.js → p-1d28ff09.entry.js} +1 -1
- package/dist/solutions-components/{p-4b95d05e.entry.js → p-1e30069a.entry.js} +1 -1
- package/dist/solutions-components/p-1e63db11.entry.js +6 -0
- package/dist/solutions-components/{p-a08bd8c1.entry.js → p-20274226.entry.js} +1 -1
- package/dist/solutions-components/{p-a843af2a.js → p-2411f1f6.js} +1 -1
- package/dist/solutions-components/{p-ad4d6d02.entry.js → p-2509b65f.entry.js} +2 -2
- package/dist/solutions-components/{p-216801d5.js → p-25faeab6.js} +1 -1
- package/dist/solutions-components/{p-f8dd2784.js → p-27f5bb4f.js} +2 -2
- package/dist/solutions-components/{p-b948ecd2.entry.js → p-2a0d8a46.entry.js} +1 -1
- package/dist/solutions-components/{p-27a1ac1f.entry.js → p-2dea68b6.entry.js} +2 -2
- package/dist/solutions-components/{p-de59d2f5.js → p-2ecd5cb7.js} +1 -1
- package/dist/solutions-components/{p-7aa949a3.entry.js → p-30dbc43d.entry.js} +2 -2
- package/dist/solutions-components/{p-46d5970b.entry.js → p-32d821d1.entry.js} +1 -1
- package/dist/solutions-components/{p-82199b7b.entry.js → p-3479d873.entry.js} +1 -1
- package/dist/solutions-components/{p-9fb16c72.entry.js → p-36d09c0c.entry.js} +1 -1
- package/dist/solutions-components/{p-75f26870.js → p-375f0b74.js} +6 -6
- package/dist/solutions-components/{p-cf1af08f.entry.js → p-38b4873b.entry.js} +1 -1
- package/dist/solutions-components/p-38d61356.js +18 -0
- package/dist/solutions-components/{p-a2748b38.entry.js → p-3a7156b8.entry.js} +1 -1
- package/dist/solutions-components/{p-022a9b7a.js → p-3b041268.js} +1 -1
- package/dist/solutions-components/{p-6a820c4d.js → p-3ca9bb95.js} +1 -1
- package/dist/solutions-components/{p-326fa270.js → p-3e5c8b2f.js} +1 -1
- package/dist/solutions-components/{p-1ede2e18.js → p-3ee6af74.js} +2 -2
- package/dist/solutions-components/{p-97c47bbd.entry.js → p-3eecbcf0.entry.js} +1 -1
- package/dist/solutions-components/{p-5c097e25.entry.js → p-40432de5.entry.js} +1 -1
- package/dist/solutions-components/{p-c9858d8f.entry.js → p-4058733e.entry.js} +1 -1
- package/dist/solutions-components/{p-9e727488.js → p-4152fae0.js} +1 -1
- package/dist/solutions-components/{p-12a4fa84.js → p-4321edfc.js} +1 -1
- package/dist/solutions-components/{p-761a033a.entry.js → p-4344b6ca.entry.js} +1 -1
- package/dist/solutions-components/{p-aeebdb15.js → p-44e26e37.js} +1 -1
- package/dist/solutions-components/{p-3445a8c6.js → p-477ae127.js} +1 -1
- package/dist/solutions-components/{p-9cb94ea0.js → p-4c8b1179.js} +1 -1
- package/dist/solutions-components/p-4e32bf8c.js +6 -0
- package/dist/solutions-components/{p-4c43820f.entry.js → p-4e93132b.entry.js} +1 -1
- package/dist/solutions-components/{p-1add4e39.entry.js → p-4ea79dc4.entry.js} +2 -2
- package/dist/solutions-components/{p-05db4340.js → p-4f51db32.js} +1 -1
- package/dist/solutions-components/{p-4d17943f.js → p-4f64d786.js} +1 -1
- package/dist/solutions-components/{p-2c0dc7b1.js → p-4ff653eb.js} +1 -1
- package/dist/solutions-components/{p-b1f84ae5.js → p-53347add.js} +1 -1
- package/dist/solutions-components/p-54fce798.js +11 -0
- package/dist/solutions-components/{p-abda8ca2.entry.js → p-573d282b.entry.js} +1 -1
- package/dist/solutions-components/{p-a258f5e7.js → p-58340eba.js} +1 -1
- package/dist/solutions-components/p-5930cd6d.entry.js +6 -0
- package/dist/solutions-components/p-5fc99541.js +257 -0
- package/dist/solutions-components/{p-ffac6f88.entry.js → p-6071078a.entry.js} +1 -1
- package/dist/solutions-components/{p-dc9dad31.entry.js → p-69863a28.entry.js} +1 -1
- package/dist/solutions-components/{p-a6900100.entry.js → p-699031c9.entry.js} +2 -2
- package/dist/solutions-components/{p-ab8f5c6b.entry.js → p-6998e886.entry.js} +1 -1
- package/dist/solutions-components/{p-bbb0d957.entry.js → p-6a813a31.entry.js} +1 -1
- package/dist/solutions-components/{p-ad72a379.entry.js → p-6b12b5eb.entry.js} +1 -1
- package/dist/solutions-components/{p-639cca97.js → p-6e89e9dd.js} +1 -1
- package/dist/solutions-components/{p-5adf37ea.entry.js → p-705b7f81.entry.js} +1 -1
- package/dist/solutions-components/p-75578ebf.entry.js +6 -0
- package/dist/solutions-components/{p-5383607a.js → p-7c72df3c.js} +3 -3
- package/dist/solutions-components/{p-03fccde6.entry.js → p-7ca47589.entry.js} +2 -2
- package/dist/solutions-components/{p-a040efff.js → p-7cb8a4db.js} +1 -1
- package/dist/solutions-components/p-7cc13b24.js +8 -0
- package/dist/solutions-components/{p-e4253e1b.entry.js → p-8008b2fe.entry.js} +1 -1
- package/dist/solutions-components/{p-22d580b0.entry.js → p-81531fbe.entry.js} +1 -1
- package/dist/solutions-components/{p-e10a62f4.entry.js → p-81627211.entry.js} +1 -1
- package/dist/solutions-components/{p-2d70d3fd.js → p-8aa806fe.js} +1 -1
- package/dist/solutions-components/{p-052ff2c7.js → p-8ae8b789.js} +1 -1
- package/dist/solutions-components/{p-4daae757.js → p-8b1236bf.js} +1 -1
- package/dist/solutions-components/{p-ee066c67.js → p-8b14f9aa.js} +3 -3
- package/dist/solutions-components/{p-56300653.js → p-8b4e79fd.js} +1 -1
- package/dist/solutions-components/{p-bba3fa4e.entry.js → p-8bc91d5b.entry.js} +2 -2
- package/dist/solutions-components/{p-cad5587c.entry.js → p-8df0c98c.entry.js} +1 -1
- package/dist/solutions-components/p-953cf07a.entry.js +6 -0
- package/dist/solutions-components/{p-5b9b1cbb.entry.js → p-95cf8aa0.entry.js} +1 -1
- package/dist/solutions-components/{p-29d41c7e.js → p-99ece5e1.js} +2 -2
- package/dist/solutions-components/{p-b4157e6a.js → p-9a2a551d.js} +1 -1
- package/dist/solutions-components/{p-541697d0.js → p-9b43b4cf.js} +1 -1
- package/dist/solutions-components/{p-647a4130.js → p-9f922d49.js} +2 -7
- package/dist/solutions-components/p-9fb09c2c.js +11 -0
- package/dist/solutions-components/{p-e645edf2.entry.js → p-a0e50ea6.entry.js} +1 -1
- package/dist/solutions-components/{p-31316d61.entry.js → p-a1154bb5.entry.js} +2 -2
- package/dist/solutions-components/{p-d62784a4.js → p-a709a84a.js} +1 -1
- package/dist/solutions-components/p-a99832c1.js +27 -0
- package/dist/solutions-components/{p-0f8440bb.entry.js → p-ad41cd27.entry.js} +1 -1
- package/dist/solutions-components/{p-bd3a3afe.js → p-ad962e25.js} +1 -1
- package/dist/solutions-components/{p-2b252afd.entry.js → p-ae1459ed.entry.js} +1 -1
- package/dist/solutions-components/{p-90bbf223.entry.js → p-af9510a4.entry.js} +1 -1
- package/dist/solutions-components/{p-4f0c3fc1.js → p-afc462f0.js} +1 -1
- package/dist/solutions-components/{p-6431fd69.js → p-b02a2b2f.js} +2 -2
- package/dist/solutions-components/{p-421d5e7c.js → p-b0eb13a1.js} +1 -1
- package/dist/solutions-components/{p-2656168f.entry.js → p-b1228e6c.entry.js} +1 -1
- package/dist/solutions-components/{p-0e7914e6.entry.js → p-b1ff9f2e.entry.js} +1 -1
- package/dist/solutions-components/p-b20bf7b7.entry.js +6 -0
- package/dist/solutions-components/{p-7920b5a2.entry.js → p-b361af64.entry.js} +1 -1
- package/dist/solutions-components/{p-a777b18c.js → p-b4a6abe2.js} +2 -2
- package/dist/solutions-components/{p-4e4b55b9.entry.js → p-b68b17b6.entry.js} +3 -3
- package/dist/solutions-components/{p-f41105c8.js → p-b73e9c4d.js} +1 -1
- package/dist/solutions-components/{p-19fe7725.js → p-b9111e12.js} +1 -1
- package/dist/solutions-components/{p-3cbe5ef3.js → p-b9653a1e.js} +1 -1
- package/dist/solutions-components/{p-5f5c371e.js → p-b9fa9ca9.js} +1 -1
- package/dist/solutions-components/{p-c07af9c2.entry.js → p-ba9bb2ba.entry.js} +2 -2
- package/dist/solutions-components/{p-b49bdc72.entry.js → p-bc35e445.entry.js} +1 -1
- package/dist/solutions-components/{p-c3f8b670.js → p-bccc74a8.js} +1 -1
- package/dist/solutions-components/{p-1990d9c8.entry.js → p-bd213033.entry.js} +1 -1
- package/dist/solutions-components/{p-a775ba2f.entry.js → p-c0dc792a.entry.js} +1 -1
- package/dist/solutions-components/{p-606ca126.js → p-c16e540d.js} +1 -1
- package/dist/solutions-components/{p-42c7a5fa.entry.js → p-c35b219b.entry.js} +1 -1
- package/dist/solutions-components/{p-b86b4512.entry.js → p-c38c0612.entry.js} +2 -2
- package/dist/solutions-components/{p-6b2f2b85.js → p-c8c3554b.js} +3 -3
- package/dist/solutions-components/{p-634e1240.js → p-cbebdffa.js} +1 -1
- package/dist/solutions-components/{p-91caf655.entry.js → p-cbf52aa2.entry.js} +2 -2
- package/dist/solutions-components/{p-825bac0e.js → p-ce21ee76.js} +1 -1
- package/dist/solutions-components/{p-57c08531.entry.js → p-ce3e73ae.entry.js} +1 -1
- package/dist/solutions-components/{p-d3a22725.js → p-cf14e2f3.js} +1 -1
- package/dist/solutions-components/{p-f28d69ac.entry.js → p-cfebc45c.entry.js} +1 -1
- package/dist/solutions-components/{p-6a524392.entry.js → p-d15a4f36.entry.js} +1 -1
- package/dist/solutions-components/{p-754e2df2.js → p-d3550542.js} +1 -1
- package/dist/solutions-components/{p-b5d67495.entry.js → p-d3dceabd.entry.js} +1 -1
- package/dist/solutions-components/{p-07bc4f07.entry.js → p-d43c1fc8.entry.js} +2 -2
- package/dist/solutions-components/{p-6de98c51.js → p-d7ddd3a2.js} +1 -1
- package/dist/solutions-components/{p-3e139360.js → p-d841cb8b.js} +1 -1
- package/dist/solutions-components/{p-2ae17fa2.js → p-d9868bac.js} +1 -1
- package/dist/solutions-components/{p-32f9c709.js → p-dc94bec2.js} +1 -1
- package/dist/solutions-components/{p-e6bee82f.js → p-dd0f8875.js} +1 -1
- package/dist/solutions-components/p-dec7b660.js +11 -0
- package/dist/solutions-components/{p-3f0193e9.js → p-deca8a07.js} +1 -1
- package/dist/solutions-components/{p-31ff3452.entry.js → p-df5ec082.entry.js} +1 -1
- package/dist/solutions-components/{p-ea282908.js → p-e046f728.js} +1 -1
- package/dist/solutions-components/{p-cf43278c.entry.js → p-e27ce6d2.entry.js} +1 -1
- package/dist/solutions-components/p-e2abc969.js +6 -0
- package/dist/solutions-components/{p-c5e294e4.js → p-e3f9e213.js} +1 -1
- package/dist/solutions-components/{p-2b96e551.entry.js → p-e43839a8.entry.js} +2 -2
- package/dist/solutions-components/{p-418d0b60.entry.js → p-e4d5188b.entry.js} +1 -1
- package/dist/solutions-components/{p-7b90c18e.entry.js → p-e666c0d6.entry.js} +1 -1
- package/dist/solutions-components/{p-39ff5ee5.js → p-e6c20791.js} +1 -1
- package/dist/solutions-components/{p-2005280f.js → p-ec4c8dc3.js} +1 -1
- package/dist/solutions-components/{p-93074bd4.entry.js → p-ef34c9e2.entry.js} +1 -1
- package/dist/solutions-components/{p-361f1fe1.js → p-f346f8ab.js} +2 -2
- package/dist/solutions-components/{p-680d193d.entry.js → p-f780ecc1.entry.js} +2 -2
- package/dist/solutions-components/p-f8be5d5f.js +7 -0
- package/dist/solutions-components/{p-c70392c4.entry.js → p-f9a56d6b.entry.js} +1 -1
- package/dist/solutions-components/{p-0ece6df1.entry.js → p-f9b9b211.entry.js} +1 -1
- package/dist/solutions-components/{p-a0a2c53d.js → p-fc2277fe.js} +1 -1
- package/dist/solutions-components/{p-40bde8b2.entry.js → p-fd65b14d.entry.js} +1 -1
- package/dist/solutions-components/{p-ef48bd77.entry.js → p-fe0e8542.entry.js} +1 -1
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/types/components/buffer-tools/buffer-tools.d.ts +170 -170
- package/dist/types/components/card-manager/card-manager.d.ts +70 -70
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +174 -174
- package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +26 -26
- package/dist/types/components/deduct-calculator/deduct-calculator.d.ts +90 -90
- package/dist/types/components/edit-card/edit-card.d.ts +140 -140
- package/dist/types/components/info-card/info-card.d.ts +143 -143
- package/dist/types/components/json-editor/json-editor.d.ts +229 -229
- package/dist/types/components/layer-table/layer-table.d.ts +276 -276
- package/dist/types/components/layout-manager/layout-manager.d.ts +69 -69
- package/dist/types/components/list-item/list-item.d.ts +26 -26
- package/dist/types/components/map-card/map-card.d.ts +83 -83
- package/dist/types/components/map-draw-tools/map-draw-tools.d.ts +231 -231
- package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +160 -160
- package/dist/types/components/map-picker/map-picker.d.ts +109 -109
- package/dist/types/components/map-select-tools/map-select-tools.d.ts +469 -469
- package/dist/types/components/map-tools/map-tools.d.ts +104 -104
- package/dist/types/components/pci-calculator/pci-calculator.d.ts +71 -71
- package/dist/types/components/pdf-download/pdf-download.d.ts +101 -101
- package/dist/types/components/public-notification/public-notification.d.ts +610 -610
- package/dist/types/components/refine-selection/refine-selection.d.ts +234 -234
- package/dist/types/components/solution-configuration/solution-configuration.d.ts +205 -205
- package/dist/types/components/solution-contents/solution-contents.d.ts +46 -46
- package/dist/types/components/solution-item/solution-item.d.ts +71 -71
- package/dist/types/components/solution-item-details/solution-item-details.d.ts +100 -100
- package/dist/types/components/solution-item-icon/solution-item-icon.d.ts +44 -44
- package/dist/types/components/solution-item-sharing/solution-item-sharing.d.ts +62 -62
- package/dist/types/components/solution-organization-variables/solution-organization-variables.d.ts +63 -63
- package/dist/types/components/solution-resource-item/solution-resource-item.d.ts +144 -144
- package/dist/types/components/solution-spatial-ref/solution-spatial-ref.d.ts +180 -180
- package/dist/types/components/solution-spatial-ref/spatialreferences.d.ts +17 -17
- package/dist/types/components/solution-template-data/solution-template-data.d.ts +72 -72
- package/dist/types/components/solution-variables/solution-variables.d.ts +69 -69
- package/dist/types/components/store-manager/store-manager.d.ts +55 -55
- package/dist/types/components.d.ts +0 -2
- package/dist/types/index.d.ts +16 -16
- package/dist/types/stencil-public-runtime.d.ts +14 -27
- package/dist/types/utils/common.d.ts +49 -49
- package/dist/types/utils/csvDownload.d.ts +24 -24
- package/dist/types/utils/csvUtils.d.ts +22 -22
- package/dist/types/utils/downloadUtils.d.ts +118 -118
- package/dist/types/utils/interfaces.d.ts +398 -398
- package/dist/types/utils/languageUtil.d.ts +11 -11
- package/dist/types/utils/loadModules.d.ts +17 -17
- package/dist/types/utils/locale.d.ts +22 -22
- package/dist/types/utils/mapViewUtils.d.ts +124 -124
- package/dist/types/utils/pciUtils.d.ts +97 -97
- package/dist/types/utils/pdfUtils.d.ts +27 -27
- package/dist/types/utils/publicNotificationStore.d.ts +24 -24
- package/dist/types/utils/queryUtils.d.ts +95 -95
- package/dist/types/utils/solution-store.d.ts +234 -234
- package/dist/types/utils/templates.d.ts +50 -50
- package/dist/types/utils/test/mocks/jsApi.d.ts +59 -59
- package/dist/types/utils/test/testUtils.d.ts +36 -36
- package/dist/types/utils/types.d.ts +1 -1
- package/package.json +2 -2
- package/dist/collection/components/buffer-tools/test/buffer-tools.e2e.js +0 -29
- package/dist/collection/components/buffer-tools/test/buffer-tools.spec.js +0 -160
- package/dist/collection/components/card-manager/test/card-manager.e2e.js +0 -29
- package/dist/collection/components/card-manager/test/card-manager.spec.js +0 -37
- package/dist/collection/components/crowdsource-manager/test/crowdsource-manager.e2e.js +0 -29
- package/dist/collection/components/crowdsource-manager/test/crowdsource-manager.spec.js +0 -37
- package/dist/collection/components/crowdsource-reporter/test/crowdsource-reporter.e2e.js +0 -29
- package/dist/collection/components/crowdsource-reporter/test/crowdsource-reporter.spec.js +0 -37
- package/dist/collection/components/deduct-calculator/test/deduct-calculator.e2e.js +0 -29
- package/dist/collection/components/deduct-calculator/test/deduct-calculator.spec.js +0 -37
- package/dist/collection/components/edit-card/test/edit-card.e2e.js +0 -14
- package/dist/collection/components/edit-card/test/edit-card.spec.js +0 -22
- package/dist/collection/components/info-card/test/info-card.e2e.js +0 -29
- package/dist/collection/components/info-card/test/info-card.spec.js +0 -37
- package/dist/collection/components/json-editor/test/json-editor.e2e.js +0 -36
- package/dist/collection/components/json-editor/test/json-editor.spec.js +0 -65
- package/dist/collection/components/layer-table/test/layer-table.e2e.js +0 -29
- package/dist/collection/components/layer-table/test/layer-table.spec.js +0 -37
- package/dist/collection/components/layout-manager/test/layout-manager.e2e.js +0 -29
- package/dist/collection/components/layout-manager/test/layout-manager.spec.js +0 -37
- package/dist/collection/components/list-item/test/list-item.e2e.js +0 -29
- package/dist/collection/components/list-item/test/list-item.spec.js +0 -37
- package/dist/collection/components/map-card/test/map-card.e2e.js +0 -29
- package/dist/collection/components/map-card/test/map-card.spec.js +0 -37
- package/dist/collection/components/map-draw-tools/test/map-draw-tools.e2e.js +0 -29
- package/dist/collection/components/map-draw-tools/test/map-draw-tools.spec.js +0 -37
- package/dist/collection/components/map-layer-picker/test/map-layer-picker.e2e.js +0 -29
- package/dist/collection/components/map-layer-picker/test/map-layer-picker.spec.js +0 -114
- package/dist/collection/components/map-picker/test/map-picker.e2e.js +0 -29
- package/dist/collection/components/map-picker/test/map-picker.spec.js +0 -37
- package/dist/collection/components/map-select-tools/test/map-select-tools.e2e.js +0 -29
- package/dist/collection/components/map-select-tools/test/map-select-tools.spec.js +0 -366
- package/dist/collection/components/map-tools/test/map-tools.e2e.js +0 -29
- package/dist/collection/components/map-tools/test/map-tools.spec.js +0 -37
- package/dist/collection/components/pci-calculator/test/pci-calculator.e2e.js +0 -29
- package/dist/collection/components/pci-calculator/test/pci-calculator.spec.js +0 -37
- package/dist/collection/components/pdf-download/test/pdf-download.e2e.js +0 -76
- package/dist/collection/components/pdf-download/test/pdf-download.spec.js +0 -107
- package/dist/collection/components/public-notification/test/public-notification.spec.js +0 -161
- package/dist/collection/components/refine-selection/test/refine-selection.e2e.js +0 -14
- package/dist/collection/components/refine-selection/test/refine-selection.spec.js +0 -22
- package/dist/collection/components/solution-configuration/test/solution-configuration.e2e.js +0 -36
- package/dist/collection/components/solution-configuration/test/solution-configuration.spec.js +0 -119
- package/dist/collection/components/solution-contents/test/solution-contents.e2e.js +0 -94
- package/dist/collection/components/solution-contents/test/solution-contents.spec.js +0 -143
- package/dist/collection/components/solution-item/test/solution-item.e2e.js +0 -36
- package/dist/collection/components/solution-item/test/solution-item.spec.js +0 -77
- package/dist/collection/components/solution-item-details/test/solution-item-details.e2e.js +0 -36
- package/dist/collection/components/solution-item-details/test/solution-item-details.spec.js +0 -142
- package/dist/collection/components/solution-item-icon/test/solution-item-icon.e2e.js +0 -29
- package/dist/collection/components/solution-item-icon/test/solution-item-icon.spec.js +0 -39
- package/dist/collection/components/solution-item-sharing/test/solution-item-sharing.e2e.js +0 -36
- package/dist/collection/components/solution-item-sharing/test/solution-item-sharing.spec.js +0 -54
- package/dist/collection/components/solution-organization-variables/test/solution-organization-variables.e2e.js +0 -36
- package/dist/collection/components/solution-organization-variables/test/solution-organization-variables.spec.js +0 -65
- package/dist/collection/components/solution-resource-item/test/solution-resource-item.e2e.js +0 -36
- package/dist/collection/components/solution-resource-item/test/solution-resource-item.spec.js +0 -55
- package/dist/collection/components/solution-spatial-ref/test/solution-spatial-ref.e2e.js +0 -36
- package/dist/collection/components/solution-spatial-ref/test/solution-spatial-ref.spec.js +0 -175
- package/dist/collection/components/solution-template-data/test/solution-template-data.e2e.js +0 -36
- package/dist/collection/components/solution-template-data/test/solution-template-data.spec.js +0 -60
- package/dist/collection/components/solution-variables/test/solution-variables.e2e.js +0 -36
- package/dist/collection/components/solution-variables/test/solution-variables.spec.js +0 -131
- package/dist/collection/utils/templates.e2e.js +0 -30
- package/dist/collection/utils/test/csvUtils.spec.js +0 -51
- package/dist/collection/utils/test/downloadUtils.spec.js +0 -357
- package/dist/collection/utils/test/pciUtils.spec.js +0 -302
- package/dist/collection/utils/test/solution-store.spec.js +0 -444
- package/dist/esm/resources-40d8e06f.js +0 -20
- package/dist/solutions-components/p-0cc32f06.js +0 -6
- package/dist/solutions-components/p-10248e04.js +0 -11
- package/dist/solutions-components/p-108fbf59.entry.js +0 -6
- package/dist/solutions-components/p-13290851.js +0 -259
- package/dist/solutions-components/p-164be8ef.entry.js +0 -6
- package/dist/solutions-components/p-1ea1dcac.js +0 -61
- package/dist/solutions-components/p-3aba40e8.js +0 -18
- package/dist/solutions-components/p-3bd99fc9.js +0 -11
- package/dist/solutions-components/p-3cce003d.js +0 -27
- package/dist/solutions-components/p-525f1188.js +0 -11
- package/dist/solutions-components/p-6665fa1f.js +0 -6
- package/dist/solutions-components/p-7c33e500.entry.js +0 -6
- package/dist/solutions-components/p-9310b882.js +0 -7
- package/dist/solutions-components/p-9bbc05ff.js +0 -11
- package/dist/solutions-components/p-a82f35c9.js +0 -6
- package/dist/solutions-components/p-b6578a32.js +0 -6
- package/dist/solutions-components/p-b684bbc7.entry.js +0 -6
- package/dist/solutions-components/p-baccfd70.entry.js +0 -6
- package/dist/solutions-components/p-bf9e18d4.js +0 -8
- package/dist/solutions-components/p-d6322e4b.js +0 -6
- /package/dist/cjs/{array-46bb7df1.js → array-51e7da8f.js} +0 -0
- /package/dist/cjs/{debounce-30afab47.js → debounce-69c3bada.js} +0 -0
- /package/dist/cjs/{guid-3abe3cc6.js → guid-ca85ade0.js} +0 -0
- /package/dist/cjs/{html2canvas-34208bbf.js → html2canvas-770c1171.js} +0 -0
- /package/dist/cjs/{interactive-2fe0f43a.js → interactive-4e212b36.js} +0 -0
- /package/dist/cjs/{key-b8b55ea3.js → key-b32a6438.js} +0 -0
- /package/dist/cjs/{math-5132d9bd.js → math-ef14a84a.js} +0 -0
- /package/dist/cjs/{observers-f5fa975b.js → observers-20fe6f01.js} +0 -0
- /package/dist/cjs/{purify-f8c3e427.js → purify-5389d8d6.js} +0 -0
- /package/dist/cjs/{resources-2901b608.js → resources-1d2258a1.js} +0 -0
- /package/dist/cjs/{resources-60c27547.js → resources-7c9bff85.js} +0 -0
- /package/dist/cjs/{resources-9f2b33ee.js → resources-9dcbf30f.js} +0 -0
- /package/dist/cjs/{resources-4da89742.js → resources-a7e3371d.js} +0 -0
- /package/dist/cjs/{resources-8233a151.js → resources-b176fc52.js} +0 -0
- /package/dist/cjs/{resources-77713c2e.js → resources-b4b4b4fe.js} +0 -0
- /package/dist/cjs/{resources-e1258e8a.js → resources-c6f066a4.js} +0 -0
- /package/dist/cjs/{resources-91409a5d.js → resources-f13e2605.js} +0 -0
- /package/dist/cjs/{resources-c913200c.js → resources-f3e30b7b.js} +0 -0
- /package/dist/cjs/{utils-bae432a9.js → utils-662561ad.js} +0 -0
- /package/dist/cjs/{utils-cd14113f.js → utils-8a0f3e68.js} +0 -0
- /package/dist/esm/{array-751a2b87.js → array-4a653f59.js} +0 -0
- /package/dist/esm/{debounce-229b1a22.js → debounce-4c884e5c.js} +0 -0
- /package/dist/esm/{guid-2bbb8cd1.js → guid-1608fd71.js} +0 -0
- /package/dist/esm/{html2canvas-a0a4df55.js → html2canvas-12c862c8.js} +0 -0
- /package/dist/esm/{interactive-eaf4be29.js → interactive-0733ee76.js} +0 -0
- /package/dist/esm/{key-7a525416.js → key-97b504af.js} +0 -0
- /package/dist/esm/{math-5f92f517.js → math-e006358c.js} +0 -0
- /package/dist/esm/{observers-9d66685a.js → observers-67bdf9e5.js} +0 -0
- /package/dist/esm/{purify-c99d2ace.js → purify-75c61cf7.js} +0 -0
- /package/dist/esm/{resources-d6a4d343.js → resources-01034dfa.js} +0 -0
- /package/dist/esm/{resources-c253772f.js → resources-34b761fa.js} +0 -0
- /package/dist/esm/{resources-a9b2d33c.js → resources-43d63050.js} +0 -0
- /package/dist/esm/{resources-dca3d475.js → resources-5490ccf4.js} +0 -0
- /package/dist/esm/{resources-c65f5654.js → resources-6b7800e6.js} +0 -0
- /package/dist/esm/{resources-5bce3953.js → resources-6be20fcc.js} +0 -0
- /package/dist/esm/{resources-58d30a0f.js → resources-913009ae.js} +0 -0
- /package/dist/{components/resources4.js → esm/resources-b5267429.js} +0 -0
- /package/dist/esm/{resources-94c47e64.js → resources-f97db74e.js} +0 -0
- /package/dist/esm/{utils-2c91c963.js → utils-649c76ab.js} +0 -0
- /package/dist/esm/{utils-18db6b1d.js → utils-dcd05f69.js} +0 -0
- /package/dist/solutions-components/{p-f055a840.js → p-0506e06f.js} +0 -0
- /package/dist/solutions-components/{p-283e3a2d.js → p-0630e686.js} +0 -0
- /package/dist/solutions-components/{p-fb7e0054.js → p-08ab045a.js} +0 -0
- /package/dist/solutions-components/{p-2291b598.js → p-0b32d4fe.js} +0 -0
- /package/dist/solutions-components/{p-5961c4e0.js → p-203b16df.js} +0 -0
- /package/dist/solutions-components/{p-3fc17d72.js → p-3adf63ca.js} +0 -0
- /package/dist/solutions-components/{p-d4c103a8.js → p-3b72043f.js} +0 -0
- /package/dist/solutions-components/{p-18f1772b.js → p-43ebe36a.js} +0 -0
- /package/dist/solutions-components/{p-58ce5639.js → p-5242a652.js} +0 -0
- /package/dist/solutions-components/{p-18869c0f.js → p-5d25ba99.js} +0 -0
- /package/dist/solutions-components/{p-1f468797.js → p-76b83a13.js} +0 -0
- /package/dist/solutions-components/{p-d554507d.js → p-7ac7b1a1.js} +0 -0
- /package/dist/solutions-components/{p-868df4a0.js → p-9ab03591.js} +0 -0
- /package/dist/solutions-components/{p-38ef0684.js → p-a963dd48.js} +0 -0
- /package/dist/solutions-components/{p-63a0e9bf.js → p-cc815aca.js} +0 -0
- /package/dist/solutions-components/{p-6f2edf5b.js → p-d556b5c4.js} +0 -0
- /package/dist/solutions-components/{p-215d3505.js → p-f93e6931.js} +0 -0
- /package/dist/solutions-components/{p-4805ff13.js → p-fb3ba11a.js} +0 -0
- /package/dist/solutions-components/{p-b9749e09.js → p-ff4afb7d.js} +0 -0
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as e,h as t,g as s}from"./p-9310b882.js";import{c as i,u as l,d as o}from"./p-38ef0684.js";const a=class{constructor(t){e(this,t),this.disabled=!1,this.layout="horizontal"}connectedCallback(){i(this)}componentDidRender(){l(this)}disconnectedCallback(){o(this)}render(){return t("slot",null)}get el(){return s(this)}};a.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-wrap:wrap}:host ::slotted(calcite-tile-select){margin-block-end:1px;margin-inline-end:1px}:host([layout=vertical]){flex-direction:column}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}";export{a as calcite_tile_select_group}
|
@@ -1,61 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{a as t,c as r,g as i}from"./p-e1a4994d.js";import{_ as e}from"./p-75f26870.js";import"./p-9310b882.js";import"./p-6de98c51.js";import"./p-a0a2c53d.js";import"./p-f8dd2784.js";import"./p-868df4a0.js";var n,s,a=function(t){return t&&t.Math==Math&&t},o=a("object"==typeof globalThis&&globalThis)||a("object"==typeof window&&window)||a("object"==typeof self&&self)||a("object"==typeof t&&t)||function(){return this}()||Function("return this")(),h=function(t){try{return!!t()}catch(t){return!0}},u=!h((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),c=!h((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),f=Function.prototype.call,l=c?f.bind(f):function(){return f.apply(f,arguments)},v={}.propertyIsEnumerable,d=Object.getOwnPropertyDescriptor,p=d&&!v.call({1:2},1)?function(t){var r=d(this,t);return!!r&&r.enumerable}:v,y={f:p},g=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}},m=Function.prototype,b=m.call,w=c&&m.bind.bind(b,b),x=c?w:function(t){return function(){return b.apply(t,arguments)}},M=x({}.toString),k=x("".slice),S=function(t){return k(M(t),8,-1)},N=Object,P=x("".split),j=h((function(){return!N("z").propertyIsEnumerable(0)}))?function(t){return"String"==S(t)?P(t,""):N(t)}:N,O=function(t){return null==t},E=TypeError,T=function(t){if(O(t))throw E("Can't call method on "+t);return t},C=function(t){return j(T(t))},A="object"==typeof document&&document.all,R={all:A,IS_HTMLDDA:void 0===A&&void 0!==A},B=R.all,L=R.IS_HTMLDDA?function(t){return"function"==typeof t||t===B}:function(t){return"function"==typeof t},$=R.all,I=R.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:L(t)||t===$}:function(t){return"object"==typeof t?null!==t:L(t)},D=function(t,r){return arguments.length<2?L(i=o[t])?i:void 0:o[t]&&o[t][r];var i},F=x({}.isPrototypeOf),z="undefined"!=typeof navigator&&String(navigator.userAgent)||"",_=o.process,Y=o.Deno,X=_&&_.versions||Y&&Y.version,q=X&&X.v8;q&&(s=(n=q.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!s&&z&&(!(n=z.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=z.match(/Chrome\/(\d+)/))&&(s=+n[1]);var G=s,U=!!Object.getOwnPropertySymbols&&!h((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&G&&G<41})),V=U&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,H=Object,W=V?function(t){return"symbol"==typeof t}:function(t){var r=D("Symbol");return L(r)&&F(r.prototype,H(t))},Q=String,Z=function(t){try{return Q(t)}catch(t){return"Object"}},K=TypeError,J=function(t){if(L(t))return t;throw K(Z(t)+" is not a function")},tt=function(t,r){var i=t[r];return O(i)?void 0:J(i)},rt=TypeError,it=Object.defineProperty,et=function(t,r){try{it(o,t,{value:r,configurable:!0,writable:!0})}catch(i){o[t]=r}return r},nt="__core-js_shared__",st=o[nt]||et(nt,{}),at=r((function(t){(t.exports=function(t,r){return st[t]||(st[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.27.2",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.27.2/LICENSE",source:"https://github.com/zloirock/core-js"})})),ot=Object,ht=function(t){return ot(T(t))},ut=x({}.hasOwnProperty),ct=Object.hasOwn||function(t,r){return ut(ht(t),r)},ft=0,lt=Math.random(),vt=x(1..toString),dt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+vt(++ft+lt,36)},pt=o.Symbol,yt=at("wks"),gt=V?pt.for||pt:pt&&pt.withoutSetter||dt,mt=function(t){return ct(yt,t)||(yt[t]=U&&ct(pt,t)?pt[t]:gt("Symbol."+t)),yt[t]},bt=TypeError,wt=mt("toPrimitive"),xt=function(t){var r=function(t,r){if(!I(t)||W(t))return t;var i,e=tt(t,wt);if(e){if(void 0===r&&(r="default"),i=l(e,t,r),!I(i)||W(i))return i;throw bt("Can't convert object to primitive value")}return void 0===r&&(r="number"),function(t,r){var i,e;if("string"===r&&L(i=t.toString)&&!I(e=l(i,t)))return e;if(L(i=t.valueOf)&&!I(e=l(i,t)))return e;if("string"!==r&&L(i=t.toString)&&!I(e=l(i,t)))return e;throw rt("Can't convert object to primitive value")}(t,r)}(t,"string");return W(r)?r:r+""},Mt=o.document,kt=I(Mt)&&I(Mt.createElement),St=function(t){return kt?Mt.createElement(t):{}},Nt=!u&&!h((function(){return 7!=Object.defineProperty(St("div"),"a",{get:function(){return 7}}).a})),Pt=Object.getOwnPropertyDescriptor,jt=u?Pt:function(t,r){if(t=C(t),r=xt(r),Nt)try{return Pt(t,r)}catch(t){}if(ct(t,r))return g(!l(y.f,t,r),t[r])},Ot={f:jt},Et=u&&h((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Tt=String,Ct=TypeError,At=function(t){if(I(t))return t;throw Ct(Tt(t)+" is not an object")},Rt=TypeError,Bt=Object.defineProperty,Lt=Object.getOwnPropertyDescriptor,$t="enumerable",It="configurable",Dt="writable",Ft=u?Et?function(t,r,i){if(At(t),r=xt(r),At(i),"function"==typeof t&&"prototype"===r&&"value"in i&&Dt in i&&!i[Dt]){var e=Lt(t,r);e&&e[Dt]&&(t[r]=i.value,i={configurable:It in i?i[It]:e[It],enumerable:$t in i?i[$t]:e[$t],writable:!1})}return Bt(t,r,i)}:Bt:function(t,r,i){if(At(t),r=xt(r),At(i),Nt)try{return Bt(t,r,i)}catch(t){}if("get"in i||"set"in i)throw Rt("Accessors not supported");return"value"in i&&(t[r]=i.value),t},zt={f:Ft},_t=u?function(t,r,i){return zt.f(t,r,g(1,i))}:function(t,r,i){return t[r]=i,t},Yt=Function.prototype,Xt=u&&Object.getOwnPropertyDescriptor,qt=ct(Yt,"name"),Gt={EXISTS:qt,PROPER:qt&&"something"===function(){}.name,CONFIGURABLE:qt&&(!u||u&&Xt(Yt,"name").configurable)},Ut=x(Function.toString);L(st.inspectSource)||(st.inspectSource=function(t){return Ut(t)});var Vt,Ht,Wt,Qt=st.inspectSource,Zt=o.WeakMap,Kt=L(Zt)&&/native code/.test(String(Zt)),Jt=at("keys"),tr=function(t){return Jt[t]||(Jt[t]=dt(t))},rr={},ir="Object already initialized",er=o.TypeError;if(Kt||st.state){var nr=st.state||(st.state=new(0,o.WeakMap));nr.get=nr.get,nr.has=nr.has,nr.set=nr.set,Vt=function(t,r){if(nr.has(t))throw er(ir);return r.facade=t,nr.set(t,r),r},Ht=function(t){return nr.get(t)||{}},Wt=function(t){return nr.has(t)}}else{var sr=tr("state");rr[sr]=!0,Vt=function(t,r){if(ct(t,sr))throw er(ir);return r.facade=t,_t(t,sr,r),r},Ht=function(t){return ct(t,sr)?t[sr]:{}},Wt=function(t){return ct(t,sr)}}var ar={set:Vt,get:Ht,has:Wt,enforce:function(t){return Wt(t)?Ht(t):Vt(t,{})},getterFor:function(t){return function(r){var i;if(!I(r)||(i=Ht(r)).type!==t)throw er("Incompatible receiver, "+t+" required");return i}}},or=r((function(t){var r=Gt.CONFIGURABLE,i=ar.enforce,e=ar.get,n=String,s=Object.defineProperty,a=x("".slice),o=x("".replace),c=x([].join),f=u&&!h((function(){return 8!==s((function(){}),"length",{value:8}).length})),l=String(String).split("String"),v=t.exports=function(t,e,h){"Symbol("===a(n(e),0,7)&&(e="["+o(n(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),h&&h.getter&&(e="get "+e),h&&h.setter&&(e="set "+e),(!ct(t,"name")||r&&t.name!==e)&&(u?s(t,"name",{value:e,configurable:!0}):t.name=e),f&&h&&ct(h,"arity")&&t.length!==h.arity&&s(t,"length",{value:h.arity});try{h&&ct(h,"constructor")&&h.constructor?u&&s(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var v=i(t);return ct(v,"source")||(v.source=c(l,"string"==typeof e?e:"")),t};Function.prototype.toString=v((function(){return L(this)&&e(this).source||Qt(this)}),"toString")})),hr=function(t,r,i,e){e||(e={});var n=e.enumerable,s=void 0!==e.name?e.name:r;if(L(i)&&or(i,s,e),e.global)n?t[r]=i:et(r,i);else{try{e.unsafe?t[r]&&(n=!0):delete t[r]}catch(t){}n?t[r]=i:zt.f(t,r,{value:i,enumerable:!1,configurable:!e.nonConfigurable,writable:!e.nonWritable})}return t},ur=Math.ceil,cr=Math.floor,fr=Math.trunc||function(t){var r=+t;return(r>0?cr:ur)(r)},lr=function(t){var r=+t;return r!=r||0===r?0:fr(r)},vr=Math.max,dr=Math.min,pr=function(t,r){var i=lr(t);return i<0?vr(i+r,0):dr(i,r)},yr=Math.min,gr=function(t){return t>0?yr(lr(t),9007199254740991):0},mr=function(t){return gr(t.length)},br=function(t){return function(r,i,e){var n,s=C(r),a=mr(s),o=pr(e,a);if(t&&i!=i){for(;a>o;)if((n=s[o++])!=n)return!0}else for(;a>o;o++)if((t||o in s)&&s[o]===i)return t||o||0;return!t&&-1}},wr={includes:br(!0),indexOf:br(!1)},xr=wr.indexOf,Mr=x([].push),kr=function(t,r){var i,e=C(t),n=0,s=[];for(i in e)!ct(rr,i)&&ct(e,i)&&Mr(s,i);for(;r.length>n;)ct(e,i=r[n++])&&(~xr(s,i)||Mr(s,i));return s},Sr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Nr=Sr.concat("length","prototype"),Pr=Object.getOwnPropertyNames||function(t){return kr(t,Nr)},jr={f:Pr},Or={f:Object.getOwnPropertySymbols},Er=x([].concat),Tr=D("Reflect","ownKeys")||function(t){var r=jr.f(At(t)),i=Or.f;return i?Er(r,i(t)):r},Cr=function(t,r,i){for(var e=Tr(r),n=zt.f,s=Ot.f,a=0;a<e.length;a++){var o=e[a];ct(t,o)||i&&ct(i,o)||n(t,o,s(r,o))}},Ar=/#|\.prototype\./,Rr=function(t,r){var i=Lr[Br(t)];return i==Ir||i!=$r&&(L(r)?h(r):!!r)},Br=Rr.normalize=function(t){return String(t).replace(Ar,".").toLowerCase()},Lr=Rr.data={},$r=Rr.NATIVE="N",Ir=Rr.POLYFILL="P",Dr=Rr,Fr=Ot.f,zr=function(t,r){var i,e,n,s,a,h=t.target,u=t.global,c=t.stat;if(i=u?o:c?o[h]||et(h,{}):(o[h]||{}).prototype)for(e in r){if(s=r[e],n=t.dontCallGetSet?(a=Fr(i,e))&&a.value:i[e],!Dr(u?e:h+(c?".":"#")+e,t.forced)&&void 0!==n){if(typeof s==typeof n)continue;Cr(s,n)}(t.sham||n&&n.sham)&&_t(s,"sham",!0),hr(i,e,s,t)}},_r="undefined"!=typeof process&&"process"==S(process),Yr=String,Xr=TypeError,qr=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,i={};try{(t=x(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(i,[]),r=i instanceof Array}catch(t){}return function(i,e){return At(i),function(t){if("object"==typeof t||L(t))return t;throw Xr("Can't set "+Yr(t)+" as a prototype")}(e),r?t(i,e):i.__proto__=e,i}}():void 0),Gr=zt.f,Ur=mt("toStringTag"),Vr=function(t,r,i){t&&!i&&(t=t.prototype),t&&!ct(t,Ur)&&Gr(t,Ur,{configurable:!0,value:r})},Hr=mt("species"),Wr=TypeError,Qr={};Qr[mt("toStringTag")]="z";var Zr="[object z]"===String(Qr),Kr=mt("toStringTag"),Jr=Object,ti="Arguments"==S(function(){return arguments}()),ri=Zr?S:function(t){var r,i,e;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=function(t,r){try{return t[r]}catch(t){}}(r=Jr(t),Kr))?i:ti?S(r):"Object"==(e=S(r))&&L(r.callee)?"Arguments":e},ii=function(){},ei=[],ni=D("Reflect","construct"),si=/^\s*(?:class|function)\b/,ai=x(si.exec),oi=!si.exec(ii),hi=function(t){if(!L(t))return!1;try{return ni(ii,ei,t),!0}catch(t){return!1}},ui=function(t){if(!L(t))return!1;switch(ri(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return oi||!!ai(si,Qt(t))}catch(t){return!0}};ui.sham=!0;var ci,fi,li,vi,di=!ni||h((function(){var t;return hi(hi.call)||!hi(Object)||!hi((function(){t=!0}))||t}))?ui:hi,pi=TypeError,yi=mt("species"),gi=function(t,r){var i,e=At(t).constructor;return void 0===e||O(i=At(e)[yi])?r:function(t){if(di(t))return t;throw pi(Z(t)+" is not a constructor")}(i)},mi=Function.prototype,bi=mi.apply,wi=mi.call,xi="object"==typeof Reflect&&Reflect.apply||(c?wi.bind(bi):function(){return wi.apply(bi,arguments)}),Mi=function(t){if("Function"===S(t))return x(t)},ki=Mi(Mi.bind),Si=function(t,r){return J(t),void 0===r?t:c?ki(t,r):function(){return t.apply(r,arguments)}},Ni=D("document","documentElement"),Pi=x([].slice),ji=TypeError,Oi=/(?:ipad|iphone|ipod).*applewebkit/i.test(z),Ei=o.setImmediate,Ti=o.clearImmediate,Ci=o.process,Ai=o.Dispatch,Ri=o.Function,Bi=o.MessageChannel,Li=o.String,$i=0,Ii={},Di="onreadystatechange";h((function(){ci=o.location}));var Fi=function(t){if(ct(Ii,t)){var r=Ii[t];delete Ii[t],r()}},zi=function(t){return function(){Fi(t)}},_i=function(t){Fi(t.data)},Yi=function(t){o.postMessage(Li(t),ci.protocol+"//"+ci.host)};Ei&&Ti||(Ei=function(t){!function(t){if(t<1)throw ji("Not enough arguments")}(arguments.length);var r=L(t)?t:Ri(t),i=Pi(arguments,1);return Ii[++$i]=function(){xi(r,void 0,i)},fi($i),$i},Ti=function(t){delete Ii[t]},_r?fi=function(t){Ci.nextTick(zi(t))}:Ai&&Ai.now?fi=function(t){Ai.now(zi(t))}:Bi&&!Oi?(vi=(li=new Bi).port2,li.port1.onmessage=_i,fi=Si(vi.postMessage,vi)):o.addEventListener&&L(o.postMessage)&&!o.importScripts&&ci&&"file:"!==ci.protocol&&!h(Yi)?(fi=Yi,o.addEventListener("message",_i,!1)):fi=Di in St("script")?function(t){Ni.appendChild(St("script"))[Di]=function(){Ni.removeChild(this),Fi(t)}}:function(t){setTimeout(zi(t),0)});var Xi={set:Ei,clear:Ti},qi=function(){this.head=null,this.tail=null};qi.prototype={add:function(t){var r={item:t,next:null},i=this.tail;i?i.next=r:this.head=r,this.tail=r},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}};var Gi,Ui,Vi,Hi,Wi,Qi=qi,Zi=/ipad|iphone|ipod/i.test(z)&&"undefined"!=typeof Pebble,Ki=/web0s(?!.*chrome)/i.test(z),Ji=Xi.set,te=o.MutationObserver||o.WebKitMutationObserver,re=o.document,ie=o.process,ee=o.Promise,ne=(0,Ot.f)(o,"queueMicrotask"),se=ne&&ne.value;if(!se){var ae=new Qi,oe=function(){var t,r;for(_r&&(t=ie.domain)&&t.exit();r=ae.get();)try{r()}catch(t){throw ae.head&&Gi(),t}t&&t.enter()};Oi||_r||Ki||!te||!re?!Zi&&ee&&ee.resolve?((Hi=ee.resolve(void 0)).constructor=ee,Wi=Si(Hi.then,Hi),Gi=function(){Wi(oe)}):_r?Gi=function(){ie.nextTick(oe)}:(Ji=Si(Ji,o),Gi=function(){Ji(oe)}):(Ui=!0,Vi=re.createTextNode(""),new te(oe).observe(Vi,{characterData:!0}),Gi=function(){Vi.data=Ui=!Ui}),se=function(t){ae.head||Gi(),ae.add(t)}}var he,ue,ce,fe,le=se,ve=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},de=o.Promise,pe="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,ye=!pe&&!_r&&"object"==typeof window&&"object"==typeof document,ge=mt("species"),me=!1,be=L(o.PromiseRejectionEvent),we=Dr("Promise",(function(){var t=Qt(de),r=t!==String(de);if(!r&&66===G)return!0;if(!G||G<51||!/native code/.test(t)){var i=new de((function(t){t(1)})),e=function(t){t((function(){}),(function(){}))};if((i.constructor={})[ge]=e,!(me=i.then((function(){}))instanceof e))return!0}return!r&&(ye||pe)&&!be})),xe={CONSTRUCTOR:we,REJECTION_EVENT:be,SUBCLASSING:me},Me=TypeError,ke=function(t){var r,i;this.promise=new t((function(t,e){if(void 0!==r||void 0!==i)throw Me("Bad Promise constructor");r=t,i=e})),this.resolve=J(r),this.reject=J(i)},Se={f:function(t){return new ke(t)}},Ne=Xi.set,Pe="Promise",je=xe.CONSTRUCTOR,Oe=xe.REJECTION_EVENT,Ee=xe.SUBCLASSING,Te=ar.getterFor(Pe),Ce=ar.set,Ae=de&&de.prototype,Re=de,Be=Ae,Le=o.TypeError,$e=o.document,Ie=o.process,De=Se.f,Fe=De,ze=!!($e&&$e.createEvent&&o.dispatchEvent),_e="unhandledrejection",Ye=function(t){var r;return!(!I(t)||!L(r=t.then))&&r},Xe=function(t,r){var i,e,n,s=r.value,a=1==r.state,o=a?t.ok:t.fail,h=t.resolve,u=t.reject,c=t.domain;try{o?(a||(2===r.rejection&&He(r),r.rejection=1),!0===o?i=s:(c&&c.enter(),i=o(s),c&&(c.exit(),n=!0)),i===t.promise?u(Le("Promise-chain cycle")):(e=Ye(i))?l(e,i,h,u):h(i)):u(s)}catch(t){c&&!n&&c.exit(),u(t)}},qe=function(t,r){t.notified||(t.notified=!0,le((function(){for(var i,e=t.reactions;i=e.get();)Xe(i,t);t.notified=!1,r&&!t.rejection&&Ue(t)})))},Ge=function(t,r,i){var e,n;ze?((e=$e.createEvent("Event")).promise=r,e.reason=i,e.initEvent(t,!1,!0),o.dispatchEvent(e)):e={promise:r,reason:i},!Oe&&(n=o["on"+t])?n(e):t===_e&&function(t,r){try{1==arguments.length?console.error(t):console.error(t,r)}catch(t){}}("Unhandled promise rejection",i)},Ue=function(t){l(Ne,o,(function(){var r,i=t.facade,e=t.value;if(Ve(t)&&(r=ve((function(){_r?Ie.emit("unhandledRejection",e,i):Ge(_e,i,e)})),t.rejection=_r||Ve(t)?2:1,r.error))throw r.value}))},Ve=function(t){return 1!==t.rejection&&!t.parent},He=function(t){l(Ne,o,(function(){var r=t.facade;_r?Ie.emit("rejectionHandled",r):Ge("rejectionhandled",r,t.value)}))},We=function(t,r,i){return function(e){t(r,e,i)}},Qe=function(t,r,i){t.done||(t.done=!0,i&&(t=i),t.value=r,t.state=2,qe(t,!0))},Ze=function(t,r,i){if(!t.done){t.done=!0,i&&(t=i);try{if(t.facade===r)throw Le("Promise can't be resolved itself");var e=Ye(r);e?le((function(){var i={done:!1};try{l(e,r,We(Ze,i,t),We(Qe,i,t))}catch(r){Qe(i,r,t)}})):(t.value=r,t.state=1,qe(t,!1))}catch(r){Qe({done:!1},r,t)}}};if(je&&(Re=function(t){!function(t){if(F(Be,t))return t;throw Wr("Incorrect invocation")}(this),J(t),l(he,this);var r=Te(this);try{t(We(Ze,r),We(Qe,r))}catch(t){Qe(r,t)}},(he=function(){Ce(this,{type:Pe,done:!1,notified:!1,parent:!1,reactions:new Qi,rejection:!1,state:0,value:void 0})}).prototype=hr(Be=Re.prototype,"then",(function(t,r){var i=Te(this),e=De(gi(this,Re));return i.parent=!0,e.ok=!L(t)||t,e.fail=L(r)&&r,e.domain=_r?Ie.domain:void 0,0==i.state?i.reactions.add(e):le((function(){Xe(e,i)})),e.promise})),ue=function(){var t=new he,r=Te(t);this.promise=t,this.resolve=We(Ze,r),this.reject=We(Qe,r)},Se.f=De=function(t){return t===Re||void 0===t?new ue(t):Fe(t)},L(de)&&Ae!==Object.prototype)){ce=Ae.then,Ee||hr(Ae,"then",(function(t,r){var i=this;return new Re((function(t,r){l(ce,i,t,r)})).then(t,r)}),{unsafe:!0});try{delete Ae.constructor}catch(t){}qr&&qr(Ae,Be)}zr({global:!0,constructor:!0,wrap:!0,forced:je},{Promise:Re}),Vr(Re,Pe,!1),fe=D(Pe),u&&fe&&!fe[Hr]&&(0,zt.f)(fe,Hr,{configurable:!0,get:function(){return this}});var Ke={},Je=mt("iterator"),tn=Array.prototype,rn=mt("iterator"),en=function(t){if(!O(t))return tt(t,rn)||tt(t,"@@iterator")||Ke[ri(t)]},nn=TypeError,sn=function(t,r,i){var e,n;At(t);try{if(!(e=tt(t,"return"))){if("throw"===r)throw i;return i}e=l(e,t)}catch(t){n=!0,e=t}if("throw"===r)throw i;if(n)throw e;return At(e),i},an=TypeError,on=function(t,r){this.stopped=t,this.result=r},hn=on.prototype,un=function(t,r,i){var e,n,s,a,o,h,u,c,f=!(!i||!i.AS_ENTRIES),v=!(!i||!i.IS_RECORD),d=!(!i||!i.IS_ITERATOR),p=!(!i||!i.INTERRUPTED),y=Si(r,i&&i.that),g=function(t){return e&&sn(e,"normal",t),new on(!0,t)},m=function(t){return f?(At(t),p?y(t[0],t[1],g):y(t[0],t[1])):p?y(t,g):y(t)};if(v)e=t.iterator;else if(d)e=t;else{if(!(n=en(t)))throw an(Z(t)+" is not iterable");if(void 0!==(c=n)&&(Ke.Array===c||tn[Je]===c)){for(s=0,a=mr(t);a>s;s++)if((o=m(t[s]))&&F(hn,o))return o;return new on(!1)}e=function(t,r){var i=arguments.length<2?en(t):r;if(J(i))return At(l(i,t));throw nn(Z(t)+" is not iterable")}(t,n)}for(h=v?t.next:e.next;!(u=l(h,e)).done;){try{o=m(u.value)}catch(t){sn(e,"throw",t)}if("object"==typeof o&&o&&F(hn,o))return o}return new on(!1)},cn=mt("iterator"),fn=!1;try{var ln=0,vn={next:function(){return{done:!!ln++}},return:function(){fn=!0}};vn[cn]=function(){return this},Array.from(vn,(function(){throw 2}))}catch(t){}var dn=xe.CONSTRUCTOR||!function(){if(!fn)return!1;var t=!1;try{var r={};r[cn]=function(){return{next:function(){return{done:t=!0}}}},de.all(r).then(void 0,(function(){}))}catch(t){}return t}();zr({target:"Promise",stat:!0,forced:dn},{all:function(t){var r=this,i=Se.f(r),e=i.resolve,n=i.reject,s=ve((function(){var i=J(r.resolve),s=[],a=0,o=1;un(t,(function(t){var h=a++,u=!1;o++,l(i,r,t).then((function(t){u||(u=!0,s[h]=t,--o||e(s))}),n)})),--o||e(s)}));return s.error&&n(s.value),i.promise}});var pn=de&&de.prototype;if(zr({target:"Promise",proto:!0,forced:xe.CONSTRUCTOR,real:!0},{catch:function(t){return this.then(void 0,t)}}),L(de)){var yn=D("Promise").prototype.catch;pn.catch!==yn&&hr(pn,"catch",yn,{unsafe:!0})}zr({target:"Promise",stat:!0,forced:dn},{race:function(t){var r=this,i=Se.f(r),e=i.reject,n=ve((function(){var n=J(r.resolve);un(t,(function(t){l(n,r,t).then(i.resolve,e)}))}));return n.error&&e(n.value),i.promise}}),zr({target:"Promise",stat:!0,forced:xe.CONSTRUCTOR},{reject:function(t){var r=Se.f(this);return l(r.reject,void 0,t),r.promise}}),zr({target:"Promise",stat:!0,forced:xe.CONSTRUCTOR},{resolve:function(t){return function(t,r){if(At(t),I(r)&&r.constructor===t)return r;var i=Se.f(t);return(0,i.resolve)(r),i.promise}(this,t)}});const gn=i(r((function(t){function r(t,r,i,e,n,s,a){try{var o=t[s](a),h=o.value}catch(t){return void i(t)}o.done?r(h):Promise.resolve(h).then(e,n)}t.exports=function(t){return function(){var i=this,e=arguments;return new Promise((function(n,s){var a=t.apply(i,e);function o(t){r(a,n,s,o,h,"next",t)}function h(t){r(a,n,s,o,h,"throw",t)}o(void 0)}))}},t.exports.__esModule=!0,t.exports.default=t.exports})));var mn,bn=String,wn=function(t){if("Symbol"===ri(t))throw TypeError("Cannot convert a Symbol value to a string");return bn(t)},xn=function(){var t=At(this),r="";return t.hasIndices&&(r+="d"),t.global&&(r+="g"),t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.dotAll&&(r+="s"),t.unicode&&(r+="u"),t.unicodeSets&&(r+="v"),t.sticky&&(r+="y"),r},Mn=o.RegExp,kn=h((function(){var t=Mn("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),Sn=kn||h((function(){return!Mn("a","y").sticky})),Nn={BROKEN_CARET:kn||h((function(){var t=Mn("^r","gy");return t.lastIndex=2,null!=t.exec("str")})),MISSED_STICKY:Sn,UNSUPPORTED_Y:kn},Pn=Object.keys||function(t){return kr(t,Sr)},jn=u&&!Et?Object.defineProperties:function(t,r){At(t);for(var i,e=C(r),n=Pn(r),s=n.length,a=0;s>a;)zt.f(t,i=n[a++],e[i]);return t},On={f:jn},En="prototype",Tn="script",Cn=tr("IE_PROTO"),An=function(){},Rn=function(t){return"<"+Tn+">"+t+"</"+Tn+">"},Bn=function(t){t.write(Rn("")),t.close();var r=t.parentWindow.Object;return t=null,r},Ln=function(){try{mn=new ActiveXObject("htmlfile")}catch(t){}var t,r,i;Ln="undefined"!=typeof document?document.domain&&mn?Bn(mn):(r=St("iframe"),i="java"+Tn+":",r.style.display="none",Ni.appendChild(r),r.src=String(i),(t=r.contentWindow.document).open(),t.write(Rn("document.F=Object")),t.close(),t.F):Bn(mn);for(var e=Sr.length;e--;)delete Ln[En][Sr[e]];return Ln()};rr[Cn]=!0;var $n,In,Dn=Object.create||function(t,r){var i;return null!==t?(An[En]=At(t),i=new An,An[En]=null,i[Cn]=t):i=Ln(),void 0===r?i:On.f(i,r)},Fn=o.RegExp,zn=h((function(){var t=Fn(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)})),_n=o.RegExp,Yn=h((function(){var t=_n("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),Xn=ar.get,qn=at("native-string-replace",String.prototype.replace),Gn=RegExp.prototype.exec,Un=Gn,Vn=x("".charAt),Hn=x("".indexOf),Wn=x("".replace),Qn=x("".slice),Zn=(In=/b*/g,l(Gn,$n=/a/,"a"),l(Gn,In,"a"),0!==$n.lastIndex||0!==In.lastIndex),Kn=Nn.BROKEN_CARET,Jn=void 0!==/()??/.exec("")[1];(Zn||Jn||Kn||zn||Yn)&&(Un=function(t){var r,i,e,n,s,a,o,h=this,u=Xn(h),c=wn(t),f=u.raw;if(f)return f.lastIndex=h.lastIndex,r=l(Un,f,c),h.lastIndex=f.lastIndex,r;var v=u.groups,d=Kn&&h.sticky,p=l(xn,h),y=h.source,g=0,m=c;if(d&&(p=Wn(p,"y",""),-1===Hn(p,"g")&&(p+="g"),m=Qn(c,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==Vn(c,h.lastIndex-1))&&(y="(?: "+y+")",m=" "+m,g++),i=new RegExp("^(?:"+y+")",p)),Jn&&(i=new RegExp("^"+y+"$(?!\\s)",p)),Zn&&(e=h.lastIndex),n=l(Gn,d?i:h,m),d?n?(n.input=Qn(n.input,g),n[0]=Qn(n[0],g),n.index=h.lastIndex,h.lastIndex+=n[0].length):h.lastIndex=0:Zn&&n&&(h.lastIndex=h.global?n.index+n[0].length:e),Jn&&n&&n.length>1&&l(qn,n[0],i,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(n[s]=void 0)})),n&&v)for(n.groups=a=Dn(null),s=0;s<v.length;s++)a[(o=v[s])[0]]=n[o[1]];return n});var ts=Un;zr({target:"RegExp",proto:!0,forced:/./.exec!==ts},{exec:ts});var rs=mt("species"),is=RegExp.prototype,es=function(t,r,i,e){var n=mt(t),s=!h((function(){var r={};return r[n]=function(){return 7},7!=""[t](r)})),a=s&&!h((function(){var r=!1,i=/a/;return"split"===t&&((i={}).constructor={},i.constructor[rs]=function(){return i},i.flags="",i[n]=/./[n]),i.exec=function(){return r=!0,null},i[n](""),!r}));if(!s||!a||i){var o=Mi(/./[n]),u=r(n,""[t],(function(t,r,i,e,n){var a=Mi(t),h=r.exec;return h===ts||h===is.exec?s&&!n?{done:!0,value:o(r,i,e)}:{done:!0,value:a(i,r,e)}:{done:!1}}));hr(String.prototype,t,u[0]),hr(is,n,u[1])}e&&_t(is[n],"sham",!0)},ns=x("".charAt),ss=x("".charCodeAt),as=x("".slice),os=function(t){return function(r,i){var e,n,s=wn(T(r)),a=lr(i),o=s.length;return a<0||a>=o?t?"":void 0:(e=ss(s,a))<55296||e>56319||a+1===o||(n=ss(s,a+1))<56320||n>57343?t?ns(s,a):e:t?as(s,a,a+2):n-56320+(e-55296<<10)+65536}},hs=(os(!1),os(!0)),us=function(t,r,i){return r+(i?hs(t,r).length:1)},cs=TypeError,fs=function(t,r){var i=t.exec;if(L(i)){var e=l(i,t,r);return null!==e&&At(e),e}if("RegExp"===S(t))return l(ts,t,r);throw cs("RegExp#exec called on incompatible receiver")};es("match",(function(t,r,i){return[function(r){var i=T(this),e=O(r)?void 0:tt(r,t);return e?l(e,r,i):new RegExp(r)[t](wn(i))},function(t){var e=At(this),n=wn(t),s=i(r,e,n);if(s.done)return s.value;if(!e.global)return fs(e,n);var a=e.unicode;e.lastIndex=0;for(var o,h=[],u=0;null!==(o=fs(e,n));){var c=wn(o[0]);h[u]=c,""===c&&(e.lastIndex=us(n,gr(e.lastIndex),a)),u++}return 0===u?null:h}]}));var ls=Math.floor,vs=x("".charAt),ds=x("".replace),ps=x("".slice),ys=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,gs=/\$([$&'`]|\d{1,2})/g,ms=function(t,r,i,e,n,s){var a=i+t.length,o=e.length,h=gs;return void 0!==n&&(n=ht(n),h=ys),ds(s,h,(function(s,h){var u;switch(vs(h,0)){case"$":return"$";case"&":return t;case"`":return ps(r,0,i);case"'":return ps(r,a);case"<":u=n[ps(h,1,-1)];break;default:var c=+h;if(0===c)return s;if(c>o){var f=ls(c/10);return 0===f?s:f<=o?void 0===e[f-1]?vs(h,1):e[f-1]+vs(h,1):s}u=e[c-1]}return void 0===u?"":u}))},bs=mt("replace"),ws=Math.max,xs=Math.min,Ms=x([].concat),ks=x([].push),Ss=x("".indexOf),Ns=x("".slice),Ps="$0"==="a".replace(/./,"$0"),js=!!/./[bs]&&""===/./[bs]("a","$0");es("replace",(function(t,r,i){var e=js?"$":"$0";return[function(t,i){var e=T(this),n=O(t)?void 0:tt(t,bs);return n?l(n,t,e,i):l(r,wn(e),t,i)},function(t,n){var s=At(this),a=wn(t);if("string"==typeof n&&-1===Ss(n,e)&&-1===Ss(n,"$<")){var o=i(r,s,a,n);if(o.done)return o.value}var h=L(n);h||(n=wn(n));var u=s.global;if(u){var c=s.unicode;s.lastIndex=0}for(var f=[];;){var l=fs(s,a);if(null===l)break;if(ks(f,l),!u)break;""===wn(l[0])&&(s.lastIndex=us(a,gr(s.lastIndex),c))}for(var v,d="",p=0,y=0;y<f.length;y++){for(var g=wn((l=f[y])[0]),m=ws(xs(lr(l.index),a.length),0),b=[],w=1;w<l.length;w++)ks(b,void 0===(v=l[w])?v:String(v));var x=l.groups;if(h){var M=Ms([g],b,m,a);void 0!==x&&ks(M,x);var k=wn(xi(n,void 0,M))}else k=ms(g,a,m,b,x,n);m>=p&&(d+=Ns(a,p,m)+k,p=m+g.length)}return d+Ns(a,p)}]}),!!h((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!Ps||js);var Os,Es=mt("match"),Ts=function(t){var r;return I(t)&&(void 0!==(r=t[Es])?!!r:"RegExp"==S(t))},Cs=TypeError,As=function(t){if(Ts(t))throw Cs("The method doesn't accept regular expressions");return t},Rs=mt("match"),Bs=function(t){var r=/./;try{"/./"[t](r)}catch(i){try{return r[Rs]=!1,"/./"[t](r)}catch(t){}}return!1},Ls=Ot.f,$s=Mi("".startsWith),Is=Mi("".slice),Ds=Math.min,Fs=Bs("startsWith"),zs=!(Fs||(Os=Ls(String.prototype,"startsWith"),!Os||Os.writable));zr({target:"String",proto:!0,forced:!zs&&!Fs},{startsWith:function(t){var r=wn(T(this));As(t);var i=gr(Ds(arguments.length>1?arguments[1]:void 0,r.length)),e=wn(t);return $s?$s(r,e,i):Is(r,i,i+e.length)===e}});var _s=zt.f,Ys=mt("unscopables"),Xs=Array.prototype;null==Xs[Ys]&&_s(Xs,Ys,{configurable:!0,value:Dn(null)});var qs,Gs,Us,Vs=function(t){Xs[Ys][t]=!0},Hs=!h((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Ws=tr("IE_PROTO"),Qs=Object,Zs=Qs.prototype,Ks=Hs?Qs.getPrototypeOf:function(t){var r=ht(t);if(ct(r,Ws))return r[Ws];var i=r.constructor;return L(i)&&r instanceof i?i.prototype:r instanceof Qs?Zs:null},Js=mt("iterator"),ta=!1;[].keys&&("next"in(Us=[].keys())?(Gs=Ks(Ks(Us)))!==Object.prototype&&(qs=Gs):ta=!0);var ra=!I(qs)||h((function(){var t={};return qs[Js].call(t)!==t}));ra&&(qs={}),L(qs[Js])||hr(qs,Js,(function(){return this}));var ia={IteratorPrototype:qs,BUGGY_SAFARI_ITERATORS:ta},ea=ia.IteratorPrototype,na=function(){return this},sa=Gt.PROPER,aa=Gt.CONFIGURABLE,oa=ia.IteratorPrototype,ha=ia.BUGGY_SAFARI_ITERATORS,ua=mt("iterator"),ca="keys",fa="values",la="entries",va=function(){return this},da=function(t,r){return{value:t,done:r}},pa=zt.f,ya="Array Iterator",ga=ar.set,ma=ar.getterFor(ya),ba=function(t,r,i,e,n){!function(t,r,i){var e=r+" Iterator";t.prototype=Dn(ea,{next:g(1,i)}),Vr(t,e,!1),Ke[e]=na}(i,r,(function(){var t=ma(this),r=t.target,i=t.kind,e=t.index++;return!r||e>=r.length?(t.target=void 0,da(void 0,!0)):da("keys"==i?e:"values"==i?r[e]:[e,r[e]],!1)}));var s,a,o,h=function(t){if(t===n&&d)return d;if(!ha&&t in f)return f[t];switch(t){case ca:case fa:case la:return function(){return new i(this,t)}}return function(){return new i(this)}},u=r+" Iterator",c=!1,f=t.prototype,v=f[ua]||f["@@iterator"]||n&&f[n],d=!ha&&v||h(n),p=f.entries||v;if(p&&(s=Ks(p.call(new t)))!==Object.prototype&&s.next&&(Ks(s)!==oa&&(qr?qr(s,oa):L(s[ua])||hr(s,ua,va)),Vr(s,u,!0)),sa&&v&&v.name!==fa&&(aa?_t(f,"name",fa):(c=!0,d=function(){return l(v,this)})),n)if(void(a={values:h(fa),keys:h(ca),entries:h(la)}))for(o in a)(ha||c||!(o in f))&&hr(f,o,a[o]);else zr({target:r,proto:!0,forced:ha||c},a);return f[ua]!==d&&hr(f,ua,d,{name:n}),Ke[r]=d,a}(Array,"Array",(function(t,r){ga(this,{type:ya,target:C(t),index:0,kind:r})}),0,"values"),wa=Ke.Arguments=Ke.Array;if(Vs("keys"),Vs("values"),Vs("entries"),u&&"values"!==wa.name)try{pa(wa,"name",{value:"values"})}catch(t){}var xa={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Ma=St("span").classList,ka=Ma&&Ma.constructor&&Ma.constructor.prototype,Sa=ka===Object.prototype?void 0:ka,Na=mt("iterator"),Pa=mt("toStringTag"),ja=ba.values,Oa=function(t,r){if(t){if(t[Na]!==ja)try{_t(t,Na,ja)}catch(r){t[Na]=ja}if(t[Pa]||_t(t,Pa,r),xa[r])for(var i in ba)if(t[i]!==ba[i])try{_t(t,i,ba[i])}catch(r){t[i]=ba[i]}}};for(var Ea in xa)Oa(o[Ea]&&o[Ea].prototype,Ea);Oa(Sa,"DOMTokenList");var Ta=r((function(t){var r=e.default;t.exports=function(t,i){if("object"!==r(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,i||"default");if("object"!==r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===i?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports})),Ca=r((function(t){var r=e.default;t.exports=function(t){var i=Ta(t,"string");return"symbol"===r(i)?i:String(i)},t.exports.__esModule=!0,t.exports.default=t.exports}));const Aa=i(r((function(t){t.exports=function(t,r,i){return(r=Ca(r))in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t},t.exports.__esModule=!0,t.exports.default=t.exports})));var Ra=TypeError,Ba=function(t){return function(r,i,e,n){J(i);var s=ht(r),a=j(s),o=mr(s),h=t?o-1:0,u=t?-1:1;if(e<2)for(;;){if(h in a){n=a[h],h+=u;break}if(h+=u,t?h<0:o<=h)throw Ra("Reduce of empty array with no initial value")}for(;t?h>=0:o>h;h+=u)h in a&&(n=i(n,a[h],h,s));return n}},La=function(t,r){var i=[][t];return!!i&&h((function(){i.call(null,r||function(){return 1},1)}))},$a=[Ba(!1),Ba(!0)][0],Ia=!_r&&G>79&&G<83||!La("reduce");zr({target:"Array",proto:!0,forced:Ia},{reduce:function(t){var r=arguments.length;return $a(this,t,r,r>1?arguments[1]:void 0)}});var Da=Ot.f,Fa=Mi("".endsWith),za=Mi("".slice),_a=Math.min,Ya=Bs("endsWith"),Xa=!Ya&&!!function(){var t=Da(String.prototype,"endsWith");return t&&!t.writable}();zr({target:"String",proto:!0,forced:!Xa&&!Ya},{endsWith:function(t){var r=wn(T(this));As(t);var i=arguments.length>1?arguments[1]:void 0,e=r.length,n=void 0===i?e:_a(gr(i),e),s=wn(t);return Fa?Fa(r,s,n):za(r,n-s.length,n)===s}});var qa=Array,Ga=Math.max,Ua=function(t,r,i){for(var e,n,s,a=mr(t),o=pr(r,a),h=pr(void 0===i?a:i,a),u=qa(Ga(h-o,0)),c=0;o<h;o++,c++)e=u,n=t[o],void 0,(s=xt(c))in e?zt.f(e,s,g(0,n)):e[s]=n;return u.length=c,u},Va=Nn.UNSUPPORTED_Y,Ha=4294967295,Wa=Math.min,Qa=[].push,Za=x(/./.exec),Ka=x(Qa),Ja=x("".slice);es("split",(function(t,r,i){var e;return e="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,i){var e=wn(T(this)),n=void 0===i?Ha:i>>>0;if(0===n)return[];if(void 0===t)return[e];if(!Ts(t))return l(r,e,t,n);for(var s,a,o,h=[],u=0,c=new RegExp(t.source,(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":"")+"g");(s=l(ts,c,e))&&!((a=c.lastIndex)>u&&(Ka(h,Ja(e,u,s.index)),s.length>1&&s.index<e.length&&xi(Qa,h,Ua(s,1)),o=s[0].length,u=a,h.length>=n));)c.lastIndex===s.index&&c.lastIndex++;return u===e.length?!o&&Za(c,"")||Ka(h,""):Ka(h,Ja(e,u)),h.length>n?Ua(h,0,n):h}:"0".split(void 0,0).length?function(t,i){return void 0===t&&0===i?[]:l(r,this,t,i)}:r,[function(r,i){var n=T(this),s=O(r)?void 0:tt(r,t);return s?l(s,r,n,i):l(e,wn(n),r,i)},function(t,n){var s=At(this),a=wn(t),o=i(e,s,a,n,e!==r);if(o.done)return o.value;var h=gi(s,RegExp),u=s.unicode,c=new h(Va?"^(?:"+s.source+")":s,(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(Va?"g":"y")),f=void 0===n?Ha:n>>>0;if(0===f)return[];if(0===a.length)return null===fs(c,a)?[a]:[];for(var l=0,v=0,d=[];v<a.length;){c.lastIndex=Va?0:v;var p,y=fs(c,Va?Ja(a,v):a);if(null===y||(p=Wa(gr(c.lastIndex+(Va?v:0)),a.length))===l)v=us(a,v,u);else{if(Ka(d,Ja(a,l,v)),d.length===f)return d;for(var g=1;g<=y.length-1;g++)if(Ka(d,y[g]),d.length===f)return d;v=l=p}}return Ka(d,Ja(a,l)),d}]}),!!h((function(){var t=/(?:)/,r=t.exec;t.exec=function(){return r.apply(this,arguments)};var i="ab".split(t);return 2!==i.length||"a"!==i[0]||"b"!==i[1]})),Va);for(var to=r((function(r){(function(){var t,i,e,n,s,a;"undefined"!=typeof performance&&null!==performance&&performance.now?r.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(r.exports=function(){return(t()-s)/1e6},i=process.hrtime,n=(t=function(){var t;return 1e9*(t=i())[0]+t[1]})(),a=1e9*process.uptime(),s=n-a):Date.now?(r.exports=function(){return Date.now()-e},e=Date.now()):(r.exports=function(){return(new Date).getTime()-e},e=(new Date).getTime())}).call(t)})),ro="undefined"==typeof window?t:window,io=["moz","webkit"],eo="AnimationFrame",no=ro["request"+eo],so=ro["cancel"+eo]||ro["cancelRequest"+eo],ao=0;!no&&ao<io.length;ao++)no=ro[io[ao]+"Request"+eo],so=ro[io[ao]+"Cancel"+eo]||ro[io[ao]+"CancelRequest"+eo];if(!no||!so){var oo=0,ho=0,uo=[];no=function(t){if(0===uo.length){var r=to(),i=Math.max(0,16.666666666666668-(r-oo));oo=i+r,setTimeout((function(){var t=uo.slice(0);uo.length=0;for(var r=0;r<t.length;r++)if(!t[r].cancelled)try{t[r].callback(oo)}catch(t){setTimeout((function(){throw t}),0)}}),Math.round(i))}return uo.push({handle:++ho,callback:t,cancelled:!1}),ho},so=function(t){for(var r=0;r<uo.length;r++)uo[r].handle===t&&(uo[r].cancelled=!0)}}var co=function(t){return no.call(ro,t)};co.cancel=function(){so.apply(ro,arguments)},co.polyfill=function(t){t||(t=ro),t.requestAnimationFrame=no,t.cancelAnimationFrame=so};var fo,lo="\t\n\v\f\r \u2028\u2029\ufeff",vo=x("".replace),po="["+lo+"]",yo=RegExp("^"+po+po+"*"),go=RegExp(po+po+"*$"),mo=function(t){return function(r){var i=wn(T(r));return 1&t&&(i=vo(i,yo,"")),2&t&&(i=vo(i,go,"")),i}},bo={start:mo(1),end:mo(2),trim:mo(3)},wo=Gt.PROPER,xo=bo.trim;zr({target:"String",proto:!0,forced:(fo="trim",h((function(){return!!lo[fo]()||"
"!=="
"[fo]()||wo&&lo[fo].name!==fo})))},{trim:function(){return xo(this)}});var Mo=function(t){this.ok=!1,this.alpha=1,"#"==t.charAt(0)&&(t=t.substr(1,6)),t=(t=t.replace(/ /g,"")).toLowerCase();var r={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};t=r[t]||t;for(var i=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3]),parseFloat(t[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}}],e=0;e<i.length;e++){var n=i[e].process,s=i[e].re.exec(t);if(s){var a=n(s);this.r=a[0],this.g=a[1],this.b=a[2],a.length>3&&(this.alpha=a[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var t=this.r.toString(16),r=this.g.toString(16),i=this.b.toString(16);return 1==t.length&&(t="0"+t),1==r.length&&(r="0"+r),1==i.length&&(i="0"+i),"#"+t+r+i},this.getHelpXML=function(){for(var t=new Array,e=0;e<i.length;e++)for(var n=i[e].example,s=0;s<n.length;s++)t[t.length]=n[s];for(var a in r)t[t.length]=a;var o=document.createElement("ul");for(o.setAttribute("id","rgbcolor-examples"),e=0;e<t.length;e++)try{var h=document.createElement("li"),u=new RGBColor(t[e]),c=document.createElement("div");c.style.cssText="margin: 3px; border: 1px solid black; background:"+u.toHex()+"; color:"+u.toHex(),c.appendChild(document.createTextNode("test"));var f=document.createTextNode(" "+t[e]+" -> "+u.toRGB()+" -> "+u.toHex());h.appendChild(c),h.appendChild(f),o.appendChild(h)}catch(t){}return o}},ko=wr.indexOf,So=Mi([].indexOf),No=!!So&&1/So([1],1,-0)<0,Po=No||!La("indexOf");zr({target:"Array",proto:!0,forced:Po},{indexOf:function(t){var r=arguments.length>1?arguments[1]:void 0;return No?So(this,t,r)||0:ko(this,t,r)}});var jo=x("".indexOf);zr({target:"String",proto:!0,forced:!Bs("includes")},{includes:function(t){return!!~jo(wn(T(this)),wn(As(t)),arguments.length>1?arguments[1]:void 0)}});var Oo=Array.isArray||function(t){return"Array"==S(t)},Eo=x([].reverse),To=[1,2];zr({target:"Array",proto:!0,forced:String(To)===String(To.reverse())},{reverse:function(){return Oo(this)&&(this.length=this.length),Eo(this)}});
|
7
|
-
/*! *****************************************************************************
|
8
|
-
Copyright (c) Microsoft Corporation.
|
9
|
-
|
10
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
11
|
-
purpose with or without fee is hereby granted.
|
12
|
-
|
13
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
14
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
15
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
16
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
17
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
18
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
19
|
-
PERFORMANCE OF THIS SOFTWARE.
|
20
|
-
***************************************************************************** */
|
21
|
-
var Co=function(t,r){return(Co=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])})(t,r)};function Ao(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function i(){this.constructor=t}Co(t,r),t.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}function Ro(t,r){var i=t[0],e=t[1];return[i*Math.cos(r)-e*Math.sin(r),i*Math.sin(r)+e*Math.cos(r)]}function Bo(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var i=0;i<t.length;i++)if("number"!=typeof t[i])throw new Error("assertNumbers arguments["+i+"] is not a number. "+typeof t[i]+" == typeof "+t[i]);return!0}var Lo=Math.PI;function $o(t,r,i){t.lArcFlag=0===t.lArcFlag?0:1,t.sweepFlag=0===t.sweepFlag?0:1;var e=t.rX,n=t.rY,s=t.x,a=t.y;e=Math.abs(t.rX),n=Math.abs(t.rY);var o=Ro([(r-s)/2,(i-a)/2],-t.xRot/180*Lo),h=o[0],u=o[1],c=Math.pow(h,2)/Math.pow(e,2)+Math.pow(u,2)/Math.pow(n,2);1<c&&(e*=Math.sqrt(c),n*=Math.sqrt(c)),t.rX=e,t.rY=n;var f=Math.pow(e,2)*Math.pow(u,2)+Math.pow(n,2)*Math.pow(h,2),l=(t.lArcFlag!==t.sweepFlag?1:-1)*Math.sqrt(Math.max(0,(Math.pow(e,2)*Math.pow(n,2)-f)/f)),v=e*u/n*l,d=-n*h/e*l,p=Ro([v,d],t.xRot/180*Lo);t.cX=p[0]+(r+s)/2,t.cY=p[1]+(i+a)/2,t.phi1=Math.atan2((u-d)/n,(h-v)/e),t.phi2=Math.atan2((-u-d)/n,(-h-v)/e),0===t.sweepFlag&&t.phi2>t.phi1&&(t.phi2-=2*Lo),1===t.sweepFlag&&t.phi2<t.phi1&&(t.phi2+=2*Lo),t.phi1*=180/Lo,t.phi2*=180/Lo}function Io(t,r,i){Bo(t,r,i);var e=t*t+r*r-i*i;if(0>e)return[];if(0===e)return[[t*i/(t*t+r*r),r*i/(t*t+r*r)]];var n=Math.sqrt(e);return[[(t*i+r*n)/(t*t+r*r),(r*i-t*n)/(t*t+r*r)],[(t*i-r*n)/(t*t+r*r),(r*i+t*n)/(t*t+r*r)]]}var Do,Fo=Math.PI/180;function zo(t,r,i){return(1-i)*t+i*r}function _o(t,r,i,e){return t+Math.cos(e/180*Lo)*r+Math.sin(e/180*Lo)*i}function Yo(t,r,i,e){var n=1e-6,s=r-t,a=i-r,o=3*s+3*(e-i)-6*a,h=6*(a-s),u=3*s;return Math.abs(o)<n?[-u/h]:function(t,r,i){void 0===i&&(i=1e-6);var e=t*t/4-r;if(e<-i)return[];if(e<=i)return[-t/2];var n=Math.sqrt(e);return[-t/2-n,-t/2+n]}(h/o,u/o,n)}function Xo(t,r,i,e,n){var s=1-n;return t*(s*s*s)+r*(3*s*s*n)+i*(3*s*n*n)+e*(n*n*n)}!function(t){function r(){return n((function(t,r,i){return t.relative&&(void 0!==t.x1&&(t.x1+=r),void 0!==t.y1&&(t.y1+=i),void 0!==t.x2&&(t.x2+=r),void 0!==t.y2&&(t.y2+=i),void 0!==t.x&&(t.x+=r),void 0!==t.y&&(t.y+=i),t.relative=!1),t}))}function i(){var t=NaN,r=NaN,i=NaN,e=NaN;return n((function(n,s,a){return n.type&Wo.SMOOTH_CURVE_TO&&(n.type=Wo.CURVE_TO,t=isNaN(t)?s:t,r=isNaN(r)?a:r,n.x1=n.relative?s-t:2*s-t,n.y1=n.relative?a-r:2*a-r),n.type&Wo.CURVE_TO?(t=n.relative?s+n.x2:n.x2,r=n.relative?a+n.y2:n.y2):(t=NaN,r=NaN),n.type&Wo.SMOOTH_QUAD_TO&&(n.type=Wo.QUAD_TO,i=isNaN(i)?s:i,e=isNaN(e)?a:e,n.x1=n.relative?s-i:2*s-i,n.y1=n.relative?a-e:2*a-e),n.type&Wo.QUAD_TO?(i=n.relative?s+n.x1:n.x1,e=n.relative?a+n.y1:n.y1):(i=NaN,e=NaN),n}))}function e(){var t=NaN,r=NaN;return n((function(i,e,n){if(i.type&Wo.SMOOTH_QUAD_TO&&(i.type=Wo.QUAD_TO,t=isNaN(t)?e:t,r=isNaN(r)?n:r,i.x1=i.relative?e-t:2*e-t,i.y1=i.relative?n-r:2*n-r),i.type&Wo.QUAD_TO){t=i.relative?e+i.x1:i.x1,r=i.relative?n+i.y1:i.y1;var s=i.x1,a=i.y1;i.type=Wo.CURVE_TO,i.x1=((i.relative?0:e)+2*s)/3,i.y1=((i.relative?0:n)+2*a)/3,i.x2=(i.x+2*s)/3,i.y2=(i.y+2*a)/3}else t=NaN,r=NaN;return i}))}function n(t){var r=0,i=0,e=NaN,n=NaN;return function(s){if(isNaN(e)&&!(s.type&Wo.MOVE_TO))throw new Error("path must start with moveto");var a=t(s,r,i,e,n);return s.type&Wo.CLOSE_PATH&&(r=e,i=n),void 0!==s.x&&(r=s.relative?r+s.x:s.x),void 0!==s.y&&(i=s.relative?i+s.y:s.y),s.type&Wo.MOVE_TO&&(e=r,n=i),a}}function s(t,r,i,e,s,a){return Bo(t,r,i,e,s,a),n((function(n,o,h,u){var c=n.x1,f=n.x2,l=n.relative&&!isNaN(u),v=void 0!==n.x?n.x:l?0:o,d=void 0!==n.y?n.y:l?0:h;function p(t){return t*t}n.type&Wo.HORIZ_LINE_TO&&0!==r&&(n.type=Wo.LINE_TO,n.y=n.relative?0:h),n.type&Wo.VERT_LINE_TO&&0!==i&&(n.type=Wo.LINE_TO,n.x=n.relative?0:o),void 0!==n.x&&(n.x=n.x*t+d*i+(l?0:s)),void 0!==n.y&&(n.y=v*r+n.y*e+(l?0:a)),void 0!==n.x1&&(n.x1=n.x1*t+n.y1*i+(l?0:s)),void 0!==n.y1&&(n.y1=c*r+n.y1*e+(l?0:a)),void 0!==n.x2&&(n.x2=n.x2*t+n.y2*i+(l?0:s)),void 0!==n.y2&&(n.y2=f*r+n.y2*e+(l?0:a));var y=t*e-r*i;if(void 0!==n.xRot&&(1!==t||0!==r||0!==i||1!==e))if(0===y)delete n.rX,delete n.rY,delete n.xRot,delete n.lArcFlag,delete n.sweepFlag,n.type=Wo.LINE_TO;else{var g=n.xRot*Math.PI/180,m=Math.sin(g),b=Math.cos(g),w=1/p(n.rX),x=1/p(n.rY),M=p(b)*w+p(m)*x,k=2*m*b*(w-x),S=p(m)*w+p(b)*x,N=M*e*e-k*r*e+S*r*r,P=k*(t*e+r*i)-2*(M*i*e+S*t*r),j=M*i*i-k*t*i+S*t*t,O=(Math.atan2(P,N-j)+Math.PI)%Math.PI/2,E=Math.sin(O),T=Math.cos(O);n.rX=Math.abs(y)/Math.sqrt(N*p(T)+P*E*T+j*p(E)),n.rY=Math.abs(y)/Math.sqrt(N*p(E)-P*E*T+j*p(T)),n.xRot=180*O/Math.PI}return void 0!==n.sweepFlag&&0>y&&(n.sweepFlag=+!n.sweepFlag),n}))}t.ROUND=function(t){function r(r){return Math.round(r*t)/t}return void 0===t&&(t=1e13),Bo(t),function(t){return void 0!==t.x1&&(t.x1=r(t.x1)),void 0!==t.y1&&(t.y1=r(t.y1)),void 0!==t.x2&&(t.x2=r(t.x2)),void 0!==t.y2&&(t.y2=r(t.y2)),void 0!==t.x&&(t.x=r(t.x)),void 0!==t.y&&(t.y=r(t.y)),void 0!==t.rX&&(t.rX=r(t.rX)),void 0!==t.rY&&(t.rY=r(t.rY)),t}},t.TO_ABS=r,t.TO_REL=function(){return n((function(t,r,i){return t.relative||(void 0!==t.x1&&(t.x1-=r),void 0!==t.y1&&(t.y1-=i),void 0!==t.x2&&(t.x2-=r),void 0!==t.y2&&(t.y2-=i),void 0!==t.x&&(t.x-=r),void 0!==t.y&&(t.y-=i),t.relative=!0),t}))},t.NORMALIZE_HVZ=function(t,r,i){return void 0===t&&(t=!0),void 0===r&&(r=!0),void 0===i&&(i=!0),n((function(e,n,s,a,o){if(isNaN(a)&&!(e.type&Wo.MOVE_TO))throw new Error("path must start with moveto");return r&&e.type&Wo.HORIZ_LINE_TO&&(e.type=Wo.LINE_TO,e.y=e.relative?0:s),i&&e.type&Wo.VERT_LINE_TO&&(e.type=Wo.LINE_TO,e.x=e.relative?0:n),t&&e.type&Wo.CLOSE_PATH&&(e.type=Wo.LINE_TO,e.x=e.relative?a-n:a,e.y=e.relative?o-s:o),e.type&Wo.ARC&&(0===e.rX||0===e.rY)&&(e.type=Wo.LINE_TO,delete e.rX,delete e.rY,delete e.xRot,delete e.lArcFlag,delete e.sweepFlag),e}))},t.NORMALIZE_ST=i,t.QT_TO_C=e,t.INFO=n,t.SANITIZE=function(t){void 0===t&&(t=0),Bo(t);var r=NaN,i=NaN,e=NaN,s=NaN;return n((function(n,a,o,h,u){var c=Math.abs,f=!1,l=0,v=0;if(n.type&Wo.SMOOTH_CURVE_TO&&(l=isNaN(r)?0:a-r,v=isNaN(i)?0:o-i),n.type&(Wo.CURVE_TO|Wo.SMOOTH_CURVE_TO)?(r=n.relative?a+n.x2:n.x2,i=n.relative?o+n.y2:n.y2):(r=NaN,i=NaN),n.type&Wo.SMOOTH_QUAD_TO?(e=isNaN(e)?a:2*a-e,s=isNaN(s)?o:2*o-s):n.type&Wo.QUAD_TO?(e=n.relative?a+n.x1:n.x1,s=n.relative?o+n.y1:n.y2):(e=NaN,s=NaN),n.type&Wo.LINE_COMMANDS||n.type&Wo.ARC&&(0===n.rX||0===n.rY||!n.lArcFlag)||n.type&Wo.CURVE_TO||n.type&Wo.SMOOTH_CURVE_TO||n.type&Wo.QUAD_TO||n.type&Wo.SMOOTH_QUAD_TO){var d=void 0===n.x?0:n.relative?n.x:n.x-a,p=void 0===n.y?0:n.relative?n.y:n.y-o;l=isNaN(e)?void 0===n.x1?l:n.relative?n.x:n.x1-a:e-a,v=isNaN(s)?void 0===n.y1?v:n.relative?n.y:n.y1-o:s-o;var y=void 0===n.x2?0:n.relative?n.x:n.x2-a,g=void 0===n.y2?0:n.relative?n.y:n.y2-o;c(d)<=t&&c(p)<=t&&c(l)<=t&&c(v)<=t&&c(y)<=t&&c(g)<=t&&(f=!0)}return n.type&Wo.CLOSE_PATH&&c(a-h)<=t&&c(o-u)<=t&&(f=!0),f?[]:n}))},t.MATRIX=s,t.ROTATE=function(t,r,i){void 0===r&&(r=0),void 0===i&&(i=0),Bo(t,r,i);var e=Math.sin(t),n=Math.cos(t);return s(n,e,-e,n,r-r*n+i*e,i-r*e-i*n)},t.TRANSLATE=function(t,r){return void 0===r&&(r=0),Bo(t,r),s(1,0,0,1,t,r)},t.SCALE=function(t,r){return void 0===r&&(r=t),Bo(t,r),s(t,0,0,r,0,0)},t.SKEW_X=function(t){return Bo(t),s(1,0,Math.atan(t),1,0,0)},t.SKEW_Y=function(t){return Bo(t),s(1,Math.atan(t),0,1,0,0)},t.X_AXIS_SYMMETRY=function(t){return void 0===t&&(t=0),Bo(t),s(-1,0,0,1,t,0)},t.Y_AXIS_SYMMETRY=function(t){return void 0===t&&(t=0),Bo(t),s(1,0,0,-1,0,t)},t.A_TO_C=function(){return n((function(t,r,i){return Wo.ARC===t.type?function(t,r,i){var e,n,s,a;t.cX||$o(t,r,i);for(var o=Math.min(t.phi1,t.phi2),h=Math.max(t.phi1,t.phi2)-o,u=Math.ceil(h/90),c=new Array(u),f=r,l=i,v=0;v<u;v++){var d=zo(t.phi1,t.phi2,v/u),p=zo(t.phi1,t.phi2,(v+1)/u),y=4/3*Math.tan((p-d)*Fo/4),g=[Math.cos(d*Fo)-y*Math.sin(d*Fo),Math.sin(d*Fo)+y*Math.cos(d*Fo)],m=g[0],b=g[1],w=[Math.cos(p*Fo),Math.sin(p*Fo)],x=w[0],M=w[1],k=[x+y*Math.sin(p*Fo),M-y*Math.cos(p*Fo)],S=k[0],N=k[1];c[v]={relative:t.relative,type:Wo.CURVE_TO};var P=function(r,i){var e=Ro([r*t.rX,i*t.rY],t.xRot);return[t.cX+e[0],t.cY+e[1]]};e=P(m,b),c[v].x1=e[0],c[v].y1=e[1],n=P(S,N),c[v].x2=n[0],c[v].y2=n[1],s=P(x,M),c[v].x=s[0],c[v].y=s[1],t.relative&&(c[v].x1-=f,c[v].y1-=l,c[v].x2-=f,c[v].y2-=l,c[v].x-=f,c[v].y-=l),f=(a=[c[v].x,c[v].y])[0],l=a[1]}return c}(t,t.relative?0:r,t.relative?0:i):t}))},t.ANNOTATE_ARCS=function(){return n((function(t,r,i){return t.relative&&(r=0,i=0),Wo.ARC===t.type&&$o(t,r,i),t}))},t.CLONE=function(){return function(t){var r={};for(var i in t)r[i]=t[i];return r}},t.CALCULATE_BOUNDS=function(){var t=r(),s=e(),a=i(),o=n((function(r,i,e){var n=a(s(t(function(t){var r={};for(var i in t)r[i]=t[i];return r}(r))));function h(t){t>o.maxX&&(o.maxX=t),t<o.minX&&(o.minX=t)}function u(t){t>o.maxY&&(o.maxY=t),t<o.minY&&(o.minY=t)}if(n.type&Wo.DRAWING_COMMANDS&&(h(i),u(e)),n.type&Wo.HORIZ_LINE_TO&&h(n.x),n.type&Wo.VERT_LINE_TO&&u(n.y),n.type&Wo.LINE_TO&&(h(n.x),u(n.y)),n.type&Wo.CURVE_TO){h(n.x),u(n.y);for(var c=0,f=Yo(i,n.x1,n.x2,n.x);c<f.length;c++)0<(j=f[c])&&1>j&&h(Xo(i,n.x1,n.x2,n.x,j));for(var l=0,v=Yo(e,n.y1,n.y2,n.y);l<v.length;l++)0<(j=v[l])&&1>j&&u(Xo(e,n.y1,n.y2,n.y,j))}if(n.type&Wo.ARC){h(n.x),u(n.y),$o(n,i,e);for(var d=n.xRot/180*Math.PI,p=Math.cos(d)*n.rX,y=Math.sin(d)*n.rX,g=-Math.sin(d)*n.rY,m=Math.cos(d)*n.rY,b=n.phi1<n.phi2?[n.phi1,n.phi2]:-180>n.phi2?[n.phi2+360,n.phi1+360]:[n.phi2,n.phi1],w=b[0],x=b[1],M=function(t){var r=180*Math.atan2(t[1],t[0])/Math.PI;return r<w?r+360:r},k=0,S=Io(g,-p,0).map(M);k<S.length;k++)(j=S[k])>w&&j<x&&h(_o(n.cX,p,g,j));for(var N=0,P=Io(m,-y,0).map(M);N<P.length;N++){var j;(j=P[N])>w&&j<x&&u(_o(n.cY,y,m,j))}}return r}));return o.minX=1/0,o.maxX=-1/0,o.minY=1/0,o.maxY=-1/0,o}}(Do||(Do={}));var qo,Go=function(){function t(){}return t.prototype.round=function(t){return this.transform(Do.ROUND(t))},t.prototype.toAbs=function(){return this.transform(Do.TO_ABS())},t.prototype.toRel=function(){return this.transform(Do.TO_REL())},t.prototype.normalizeHVZ=function(t,r,i){return this.transform(Do.NORMALIZE_HVZ(t,r,i))},t.prototype.normalizeST=function(){return this.transform(Do.NORMALIZE_ST())},t.prototype.qtToC=function(){return this.transform(Do.QT_TO_C())},t.prototype.aToC=function(){return this.transform(Do.A_TO_C())},t.prototype.sanitize=function(t){return this.transform(Do.SANITIZE(t))},t.prototype.translate=function(t,r){return this.transform(Do.TRANSLATE(t,r))},t.prototype.scale=function(t,r){return this.transform(Do.SCALE(t,r))},t.prototype.rotate=function(t,r,i){return this.transform(Do.ROTATE(t,r,i))},t.prototype.matrix=function(t,r,i,e,n,s){return this.transform(Do.MATRIX(t,r,i,e,n,s))},t.prototype.skewX=function(t){return this.transform(Do.SKEW_X(t))},t.prototype.skewY=function(t){return this.transform(Do.SKEW_Y(t))},t.prototype.xSymmetry=function(t){return this.transform(Do.X_AXIS_SYMMETRY(t))},t.prototype.ySymmetry=function(t){return this.transform(Do.Y_AXIS_SYMMETRY(t))},t.prototype.annotateArcs=function(){return this.transform(Do.ANNOTATE_ARCS())},t}(),Uo=function(t){return" "===t||"\t"===t||"\r"===t||"\n"===t},Vo=function(t){return"0".charCodeAt(0)<=t.charCodeAt(0)&&t.charCodeAt(0)<="9".charCodeAt(0)},Ho=function(t){function r(){var r=t.call(this)||this;return r.curNumber="",r.curCommandType=-1,r.curCommandRelative=!1,r.canParseCommandOrComma=!0,r.curNumberHasExp=!1,r.curNumberHasExpDigits=!1,r.curNumberHasDecimal=!1,r.curArgs=[],r}return Ao(r,t),r.prototype.finish=function(t){if(void 0===t&&(t=[]),this.parse(" ",t),0!==this.curArgs.length||!this.canParseCommandOrComma)throw new SyntaxError("Unterminated command at the path end.");return t},r.prototype.parse=function(t,r){var i=this;void 0===r&&(r=[]);for(var e=function(t){r.push(t),i.curArgs.length=0,i.canParseCommandOrComma=!0},n=0;n<t.length;n++){var s=t[n],a=!(this.curCommandType!==Wo.ARC||3!==this.curArgs.length&&4!==this.curArgs.length||1!==this.curNumber.length||"0"!==this.curNumber&&"1"!==this.curNumber),o=Vo(s)&&("0"===this.curNumber&&"0"===s||a);if(!Vo(s)||o)if("e"!==s&&"E"!==s)if("-"!==s&&"+"!==s||!this.curNumberHasExp||this.curNumberHasExpDigits)if("."!==s||this.curNumberHasExp||this.curNumberHasDecimal||a){if(this.curNumber&&-1!==this.curCommandType){var h=Number(this.curNumber);if(isNaN(h))throw new SyntaxError("Invalid number ending at "+n);if(this.curCommandType===Wo.ARC)if(0===this.curArgs.length||1===this.curArgs.length){if(0>h)throw new SyntaxError('Expected positive number, got "'+h+'" at index "'+n+'"')}else if((3===this.curArgs.length||4===this.curArgs.length)&&"0"!==this.curNumber&&"1"!==this.curNumber)throw new SyntaxError('Expected a flag, got "'+this.curNumber+'" at index "'+n+'"');this.curArgs.push(h),this.curArgs.length===Qo[this.curCommandType]&&(Wo.HORIZ_LINE_TO===this.curCommandType?e({type:Wo.HORIZ_LINE_TO,relative:this.curCommandRelative,x:h}):Wo.VERT_LINE_TO===this.curCommandType?e({type:Wo.VERT_LINE_TO,relative:this.curCommandRelative,y:h}):this.curCommandType===Wo.MOVE_TO||this.curCommandType===Wo.LINE_TO||this.curCommandType===Wo.SMOOTH_QUAD_TO?(e({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),Wo.MOVE_TO===this.curCommandType&&(this.curCommandType=Wo.LINE_TO)):this.curCommandType===Wo.CURVE_TO?e({type:Wo.CURVE_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x2:this.curArgs[2],y2:this.curArgs[3],x:this.curArgs[4],y:this.curArgs[5]}):this.curCommandType===Wo.SMOOTH_CURVE_TO?e({type:Wo.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===Wo.QUAD_TO?e({type:Wo.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===Wo.ARC&&e({type:Wo.ARC,relative:this.curCommandRelative,rX:this.curArgs[0],rY:this.curArgs[1],xRot:this.curArgs[2],lArcFlag:this.curArgs[3],sweepFlag:this.curArgs[4],x:this.curArgs[5],y:this.curArgs[6]})),this.curNumber="",this.curNumberHasExpDigits=!1,this.curNumberHasExp=!1,this.curNumberHasDecimal=!1,this.canParseCommandOrComma=!0}if(!Uo(s))if(","===s&&this.canParseCommandOrComma)this.canParseCommandOrComma=!1;else if("+"!==s&&"-"!==s&&"."!==s)if(o)this.curNumber=s,this.curNumberHasDecimal=!1;else{if(0!==this.curArgs.length)throw new SyntaxError("Unterminated command at index "+n+".");if(!this.canParseCommandOrComma)throw new SyntaxError('Unexpected character "'+s+'" at index '+n+". Command cannot follow comma");if(this.canParseCommandOrComma=!1,"z"!==s&&"Z"!==s)if("h"===s||"H"===s)this.curCommandType=Wo.HORIZ_LINE_TO,this.curCommandRelative="h"===s;else if("v"===s||"V"===s)this.curCommandType=Wo.VERT_LINE_TO,this.curCommandRelative="v"===s;else if("m"===s||"M"===s)this.curCommandType=Wo.MOVE_TO,this.curCommandRelative="m"===s;else if("l"===s||"L"===s)this.curCommandType=Wo.LINE_TO,this.curCommandRelative="l"===s;else if("c"===s||"C"===s)this.curCommandType=Wo.CURVE_TO,this.curCommandRelative="c"===s;else if("s"===s||"S"===s)this.curCommandType=Wo.SMOOTH_CURVE_TO,this.curCommandRelative="s"===s;else if("q"===s||"Q"===s)this.curCommandType=Wo.QUAD_TO,this.curCommandRelative="q"===s;else if("t"===s||"T"===s)this.curCommandType=Wo.SMOOTH_QUAD_TO,this.curCommandRelative="t"===s;else{if("a"!==s&&"A"!==s)throw new SyntaxError('Unexpected character "'+s+'" at index '+n+".");this.curCommandType=Wo.ARC,this.curCommandRelative="a"===s}else r.push({type:Wo.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1}else this.curNumber=s,this.curNumberHasDecimal="."===s}else this.curNumber+=s,this.curNumberHasDecimal=!0;else this.curNumber+=s;else this.curNumber+=s,this.curNumberHasExp=!0;else this.curNumber+=s,this.curNumberHasExpDigits=this.curNumberHasExp}return r},r.prototype.transform=function(t){return Object.create(this,{parse:{value:function(r,i){void 0===i&&(i=[]);for(var e=0,n=Object.getPrototypeOf(this).parse.call(this,r);e<n.length;e++){var s=t(n[e]);Array.isArray(s)?i.push.apply(i,s):i.push(s)}return i}}})},r}(Go),Wo=function(t){function r(i){var e=t.call(this)||this;return e.commands="string"==typeof i?r.parse(i):i,e}return Ao(r,t),r.prototype.encode=function(){return r.encode(this.commands)},r.prototype.getBounds=function(){var t=Do.CALCULATE_BOUNDS();return this.transform(t),t},r.prototype.transform=function(t){for(var r=[],i=0,e=this.commands;i<e.length;i++){var n=t(e[i]);Array.isArray(n)?r.push.apply(r,n):r.push(n)}return this.commands=r,this},r.encode=function(t){return function(t){var r="";Array.isArray(t)||(t=[t]);for(var i=0;i<t.length;i++){var e=t[i];if(e.type===Wo.CLOSE_PATH)r+="z";else if(e.type===Wo.HORIZ_LINE_TO)r+=(e.relative?"h":"H")+e.x;else if(e.type===Wo.VERT_LINE_TO)r+=(e.relative?"v":"V")+e.y;else if(e.type===Wo.MOVE_TO)r+=(e.relative?"m":"M")+e.x+" "+e.y;else if(e.type===Wo.LINE_TO)r+=(e.relative?"l":"L")+e.x+" "+e.y;else if(e.type===Wo.CURVE_TO)r+=(e.relative?"c":"C")+e.x1+" "+e.y1+" "+e.x2+" "+e.y2+" "+e.x+" "+e.y;else if(e.type===Wo.SMOOTH_CURVE_TO)r+=(e.relative?"s":"S")+e.x2+" "+e.y2+" "+e.x+" "+e.y;else if(e.type===Wo.QUAD_TO)r+=(e.relative?"q":"Q")+e.x1+" "+e.y1+" "+e.x+" "+e.y;else if(e.type===Wo.SMOOTH_QUAD_TO)r+=(e.relative?"t":"T")+e.x+" "+e.y;else{if(e.type!==Wo.ARC)throw new Error('Unexpected command type "'+e.type+'" at index '+i+".");r+=(e.relative?"a":"A")+e.rX+" "+e.rY+" "+e.xRot+" "+ +e.lArcFlag+" "+ +e.sweepFlag+" "+e.x+" "+e.y}}return r}(t)},r.parse=function(t){var r=new Ho,i=[];return r.parse(t,i),r.finish(i),i},r.CLOSE_PATH=1,r.MOVE_TO=2,r.HORIZ_LINE_TO=4,r.VERT_LINE_TO=8,r.LINE_TO=16,r.CURVE_TO=32,r.SMOOTH_CURVE_TO=64,r.QUAD_TO=128,r.SMOOTH_QUAD_TO=256,r.ARC=512,r.LINE_COMMANDS=r.LINE_TO|r.HORIZ_LINE_TO|r.VERT_LINE_TO,r.DRAWING_COMMANDS=r.HORIZ_LINE_TO|r.VERT_LINE_TO|r.LINE_TO|r.CURVE_TO|r.SMOOTH_CURVE_TO|r.QUAD_TO|r.SMOOTH_QUAD_TO|r.ARC,r}(Go),Qo=((qo={})[Wo.MOVE_TO]=2,qo[Wo.LINE_TO]=2,qo[Wo.HORIZ_LINE_TO]=1,qo[Wo.VERT_LINE_TO]=1,qo[Wo.CLOSE_PATH]=0,qo[Wo.QUAD_TO]=4,qo[Wo.SMOOTH_QUAD_TO]=2,qo[Wo.CURVE_TO]=6,qo[Wo.SMOOTH_CURVE_TO]=4,qo[Wo.ARC]=7,qo),Zo=RegExp.prototype,Ko=Gt.PROPER,Jo="toString",th=RegExp.prototype[Jo];function rh(t){return rh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rh(t)}(h((function(){return"/a/b"!=th.call({source:"a",flags:"b"})}))||Ko&&th.name!=Jo)&&hr(RegExp.prototype,Jo,(function(){var t=At(this),r=wn(t.source),i=wn(function(t){var r=t.flags;return void 0!==r||"flags"in Zo||ct(t,"flags")||!F(Zo,t)?r:l(xn,t)}(t));return"/"+r+"/"+i}),{unsafe:!0});
|
22
|
-
/**
|
23
|
-
* StackBlur - a fast almost Gaussian Blur For Canvas
|
24
|
-
*
|
25
|
-
* In case you find this class useful - especially in commercial projects -
|
26
|
-
* I am not totally unhappy for a small donation to my PayPal account
|
27
|
-
* mario@quasimondo.de
|
28
|
-
*
|
29
|
-
* Or support me on flattr:
|
30
|
-
* {@link https://flattr.com/thing/72791/StackBlur-a-fast-almost-Gaussian-Blur-Effect-for-CanvasJavascript}.
|
31
|
-
*
|
32
|
-
* @module StackBlur
|
33
|
-
* @author Mario Klingemann
|
34
|
-
* Contact: mario@quasimondo.com
|
35
|
-
* Website: {@link http://www.quasimondo.com/StackBlurForCanvas/StackBlurDemo.html}
|
36
|
-
* Twitter: @quasimondo
|
37
|
-
*
|
38
|
-
* @copyright (c) 2010 Mario Klingemann
|
39
|
-
*
|
40
|
-
* Permission is hereby granted, free of charge, to any person
|
41
|
-
* obtaining a copy of this software and associated documentation
|
42
|
-
* files (the "Software"), to deal in the Software without
|
43
|
-
* restriction, including without limitation the rights to use,
|
44
|
-
* copy, modify, merge, publish, distribute, sublicense, and/or sell
|
45
|
-
* copies of the Software, and to permit persons to whom the
|
46
|
-
* Software is furnished to do so, subject to the following
|
47
|
-
* conditions:
|
48
|
-
*
|
49
|
-
* The above copyright notice and this permission notice shall be
|
50
|
-
* included in all copies or substantial portions of the Software.
|
51
|
-
*
|
52
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
53
|
-
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
54
|
-
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
55
|
-
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
56
|
-
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
57
|
-
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
58
|
-
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
59
|
-
* OTHER DEALINGS IN THE SOFTWARE.
|
60
|
-
*/
|
61
|
-
var ih=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],eh=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];function nh(t,r,i,e,n,s){if(!(isNaN(s)||s<1)){s|=0;var a=function(t,r,i,e,n){if("string"==typeof t&&(t=document.getElementById(t)),!t||"object"!==rh(t)||!("getContext"in t))throw new TypeError("Expecting canvas with `getContext` method in processCanvasRGB(A) calls!");var s=t.getContext("2d");try{return s.getImageData(r,i,e,n)}catch(t){throw new Error("unable to access image data: "+t)}}(t,r,i,e,n);a=function(t,r,i,e,n,s){for(var a,o=t.data,h=2*s+1,u=e-1,c=n-1,f=s+1,l=f*(f+1)/2,v=new sh,d=v,p=1;p<h;p++)d=d.next=new sh,p===f&&(a=d);d.next=v;for(var y=null,g=null,m=0,b=0,w=ih[s],x=eh[s],M=0;M<n;M++){d=v;for(var k=o[b],S=o[b+1],N=o[b+2],P=o[b+3],j=0;j<f;j++)d.r=k,d.g=S,d.b=N,d.a=P,d=d.next;for(var O=0,E=0,T=0,C=0,A=f*k,R=f*S,B=f*N,L=f*P,$=l*k,I=l*S,D=l*N,F=l*P,z=1;z<f;z++){var _=b+((u<z?u:z)<<2),Y=o[_],X=o[_+1],q=o[_+2],G=o[_+3],U=f-z;$+=(d.r=Y)*U,I+=(d.g=X)*U,D+=(d.b=q)*U,F+=(d.a=G)*U,O+=Y,E+=X,T+=q,C+=G,d=d.next}y=v,g=a;for(var V=0;V<e;V++){var H=F*w>>x;if(o[b+3]=H,0!==H){var W=255/H;o[b]=($*w>>x)*W,o[b+1]=(I*w>>x)*W,o[b+2]=(D*w>>x)*W}else o[b]=o[b+1]=o[b+2]=0;$-=A,I-=R,D-=B,F-=L,A-=y.r,R-=y.g,B-=y.b,L-=y.a;var Q=V+s+1;$+=O+=y.r=o[Q=m+(Q<u?Q:u)<<2],I+=E+=y.g=o[Q+1],D+=T+=y.b=o[Q+2],F+=C+=y.a=o[Q+3],y=y.next;var Z=g.r,K=g.g,J=g.b,tt=g.a;A+=Z,R+=K,B+=J,L+=tt,O-=Z,E-=K,T-=J,C-=tt,g=g.next,b+=4}m+=e}for(var rt=0;rt<e;rt++){var it=o[b=rt<<2],et=o[b+1],nt=o[b+2],st=o[b+3],at=f*it,ot=f*et,ht=f*nt,ut=f*st,ct=l*it,ft=l*et,lt=l*nt,vt=l*st;d=v;for(var dt=0;dt<f;dt++)d.r=it,d.g=et,d.b=nt,d.a=st,d=d.next;for(var pt=e,yt=0,gt=0,mt=0,bt=0,wt=1;wt<=s;wt++){var xt=f-wt;ct+=(d.r=it=o[b=pt+rt<<2])*xt,ft+=(d.g=et=o[b+1])*xt,lt+=(d.b=nt=o[b+2])*xt,vt+=(d.a=st=o[b+3])*xt,bt+=it,yt+=et,gt+=nt,mt+=st,d=d.next,wt<c&&(pt+=e)}b=rt,y=v,g=a;for(var Mt=0;Mt<n;Mt++){var kt=b<<2;o[kt+3]=st=vt*w>>x,st>0?(o[kt]=(ct*w>>x)*(st=255/st),o[kt+1]=(ft*w>>x)*st,o[kt+2]=(lt*w>>x)*st):o[kt]=o[kt+1]=o[kt+2]=0,ct-=at,ft-=ot,lt-=ht,vt-=ut,at-=y.r,ot-=y.g,ht-=y.b,ut-=y.a,kt=rt+((kt=Mt+f)<c?kt:c)*e<<2,ct+=bt+=y.r=o[kt],ft+=yt+=y.g=o[kt+1],lt+=gt+=y.b=o[kt+2],vt+=mt+=y.a=o[kt+3],y=y.next,at+=it=g.r,ot+=et=g.g,ht+=nt=g.b,ut+=st=g.a,bt-=it,yt-=et,gt-=nt,mt-=st,g=g.next,b+=e}}return t}(a,0,0,e,n,s),t.getContext("2d").putImageData(a,r,i)}}var sh=function t(){!function(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this,t),this.r=0,this.g=0,this.b=0,this.a=0,this.next=null},ah=Object.freeze({__proto__:null,offscreen:function(){var{DOMParser:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r={window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:t,createCanvas:(t,r)=>new OffscreenCanvas(t,r),createImage:t=>gn((function*(){var r=yield fetch(t),i=yield r.blob();return yield createImageBitmap(i)}))()};return"undefined"==typeof DOMParser&&void 0!==t||Reflect.deleteProperty(r,"DOMParser"),r},node:function(t){var{DOMParser:r,canvas:i,fetch:e}=t;return{window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:r,fetch:e,createCanvas:i.createCanvas,createImage:i.loadImage}}});function oh(t){return t.replace(/(?!\u3000)\s+/gm," ")}function hh(t){return t.replace(/^[\n \t]+/,"")}function uh(t){return t.replace(/[\n \t]+$/,"")}function ch(t){return((t||"").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm)||[]).map(parseFloat)}var fh=/^[A-Z-]+$/;function lh(t){return fh.test(t)?t.toLowerCase():t}function vh(t){var r=/url\(('([^']+)'|"([^"]+)"|([^'")]+))\)/.exec(t)||[];return r[2]||r[3]||r[4]}function dh(t){if(!t.startsWith("rgb"))return t;var r=3;return t.replace(/\d+(\.\d+)?/g,((t,i)=>r--&&i?String(Math.round(parseFloat(t))):t))}var ph=/(\[[^\]]+\])/g,yh=/(#[^\s+>~.[:]+)/g,gh=/(\.[^\s+>~.[:]+)/g,mh=/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi,bh=/(:[\w-]+\([^)]*\))/gi,wh=/(:[^\s+>~.[:]+)/g,xh=/([^\s+>~.[:]+)/g;function Mh(t,r){var i=r.exec(t);return i?[t.replace(r," "),i.length]:[t,0]}function kh(t){var r=[0,0,0],i=t.replace(/:not\(([^)]*)\)/g," $1 ").replace(/{[\s\S]*/gm," "),e=0;return[i,e]=Mh(i,ph),r[1]+=e,[i,e]=Mh(i,yh),r[0]+=e,[i,e]=Mh(i,gh),r[1]+=e,[i,e]=Mh(i,mh),r[2]+=e,[i,e]=Mh(i,bh),r[1]+=e,[i,e]=Mh(i,wh),r[1]+=e,i=i.replace(/[*\s+>~]/g," ").replace(/[#.]/g," "),[i,e]=Mh(i,xh),r[2]+=e,r.join("")}var Sh=1e-8;function Nh(t){return Math.sqrt(Math.pow(t[0],2)+Math.pow(t[1],2))}function Ph(t,r){return(t[0]*r[0]+t[1]*r[1])/(Nh(t)*Nh(r))}function jh(t,r){return(t[0]*r[1]<t[1]*r[0]?-1:1)*Math.acos(Ph(t,r))}function Oh(t){return t*t*t}function Eh(t){return 3*t*t*(1-t)}function Th(t){return 3*t*(1-t)*(1-t)}function Ch(t){return(1-t)*(1-t)*(1-t)}function Ah(t){return t*t}function Rh(t){return 2*t*(1-t)}function Bh(t){return(1-t)*(1-t)}class Lh{constructor(t,r,i){this.document=t,this.name=r,this.value=i,this.isNormalizedColor=!1}static empty(t){return new Lh(t,"EMPTY","")}split(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:" ",{document:r,name:i}=this;return oh(this.getString()).trim().split(t).map((t=>new Lh(r,i,t)))}hasValue(t){var{value:r}=this;return null!==r&&""!==r&&(t||0!==r)&&void 0!==r}isString(t){var{value:r}=this,i="string"==typeof r;return i&&t?t.test(r):i}isUrlDefinition(){return this.isString(/^url\(/)}isPixels(){if(!this.hasValue())return!1;var t=this.getString();switch(!0){case t.endsWith("px"):case/^[0-9]+$/.test(t):return!0;default:return!1}}setValue(t){return this.value=t,this}getValue(t){return void 0===t||this.hasValue()?this.value:t}getNumber(t){if(!this.hasValue())return void 0===t?0:parseFloat(t);var{value:r}=this,i=parseFloat(r);return this.isString(/%$/)&&(i/=100),i}getString(t){return void 0===t||this.hasValue()?void 0===this.value?"":String(this.value):String(t)}getColor(t){var r=this.getString(t);return this.isNormalizedColor||(this.isNormalizedColor=!0,r=dh(r),this.value=r),r}getDpi(){return 96}getRem(){return this.document.rootEmSize}getEm(){return this.document.emSize}getUnits(){return this.getString().replace(/[0-9.-]/g,"")}getPixels(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.hasValue())return 0;var[i,e]="boolean"==typeof t?[void 0,t]:[t],{viewPort:n}=this.document.screen;switch(!0){case this.isString(/vmin$/):return this.getNumber()/100*Math.min(n.computeSize("x"),n.computeSize("y"));case this.isString(/vmax$/):return this.getNumber()/100*Math.max(n.computeSize("x"),n.computeSize("y"));case this.isString(/vw$/):return this.getNumber()/100*n.computeSize("x");case this.isString(/vh$/):return this.getNumber()/100*n.computeSize("y");case this.isString(/rem$/):return this.getNumber()*this.getRem();case this.isString(/em$/):return this.getNumber()*this.getEm();case this.isString(/ex$/):return this.getNumber()*this.getEm()/2;case this.isString(/px$/):return this.getNumber();case this.isString(/pt$/):return this.getNumber()*this.getDpi()*(1/72);case this.isString(/pc$/):return 15*this.getNumber();case this.isString(/cm$/):return this.getNumber()*this.getDpi()/2.54;case this.isString(/mm$/):return this.getNumber()*this.getDpi()/25.4;case this.isString(/in$/):return this.getNumber()*this.getDpi();case this.isString(/%$/)&&e:return this.getNumber()*this.getEm();case this.isString(/%$/):return this.getNumber()*n.computeSize(i);default:var s=this.getNumber();return r&&s<1?s*n.computeSize(i):s}}getMilliseconds(){return this.hasValue()?this.isString(/ms$/)?this.getNumber():1e3*this.getNumber():0}getRadians(){if(!this.hasValue())return 0;switch(!0){case this.isString(/deg$/):return this.getNumber()*(Math.PI/180);case this.isString(/grad$/):return this.getNumber()*(Math.PI/200);case this.isString(/rad$/):return this.getNumber();default:return this.getNumber()*(Math.PI/180)}}getDefinition(){var t=this.getString(),r=/#([^)'"]+)/.exec(t);return r&&(r=r[1]),r||(r=t),this.document.definitions[r]}getFillStyleDefinition(t,r){var i=this.getDefinition();if(!i)return null;if("function"==typeof i.createGradient)return i.createGradient(this.document.ctx,t,r);if("function"==typeof i.createPattern){if(i.getHrefAttribute().hasValue()){var e=i.getAttribute("patternTransform");i=i.getHrefAttribute().getDefinition(),e.hasValue()&&i.getAttribute("patternTransform",!0).setValue(e.value)}return i.createPattern(this.document.ctx,t,r)}return null}getTextBaseline(){return this.hasValue()?Lh.textBaselineMapping[this.getString()]:null}addOpacity(t){for(var r=this.getColor(),i=r.length,e=0,n=0;n<i&&(","===r[n]&&e++,3!==e);n++);if(t.hasValue()&&this.isString()&&3!==e){var s=new Mo(r);s.ok&&(s.alpha=t.getNumber(),r=s.toRGBA())}return new Lh(this.document,this.name,r)}}Lh.textBaselineMapping={baseline:"alphabetic","before-edge":"top","text-before-edge":"top",middle:"middle",central:"middle","after-edge":"bottom","text-after-edge":"bottom",ideographic:"ideographic",alphabetic:"alphabetic",hanging:"hanging",mathematical:"alphabetic"};class $h{constructor(){this.viewPorts=[]}clear(){this.viewPorts=[]}setCurrent(t,r){this.viewPorts.push({width:t,height:r})}removeCurrent(){this.viewPorts.pop()}getCurrent(){var{viewPorts:t}=this;return t[t.length-1]}get width(){return this.getCurrent().width}get height(){return this.getCurrent().height}computeSize(t){return"number"==typeof t?t:"x"===t?this.width:"y"===t?this.height:Math.sqrt(Math.pow(this.width,2)+Math.pow(this.height,2))/Math.sqrt(2)}}class Ih{constructor(t,r){this.x=t,this.y=r}static parse(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,[i=r,e=r]=ch(t);return new Ih(i,e)}static parseScale(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,[i=r,e=i]=ch(t);return new Ih(i,e)}static parsePath(t){for(var r=ch(t),i=r.length,e=[],n=0;n<i;n+=2)e.push(new Ih(r[n],r[n+1]));return e}angleTo(t){return Math.atan2(t.y-this.y,t.x-this.x)}applyTransform(t){var{x:r,y:i}=this,e=r*t[1]+i*t[3]+t[5];this.x=r*t[0]+i*t[2]+t[4],this.y=e}}class Dh{constructor(t){this.screen=t,this.working=!1,this.events=[],this.eventElements=[],this.onClick=this.onClick.bind(this),this.onMouseMove=this.onMouseMove.bind(this)}isWorking(){return this.working}start(){if(!this.working){var{screen:t,onClick:r,onMouseMove:i}=this,e=t.ctx.canvas;e.onclick=r,e.onmousemove=i,this.working=!0}}stop(){if(this.working){var t=this.screen.ctx.canvas;this.working=!1,t.onclick=null,t.onmousemove=null}}hasEvents(){return this.working&&this.events.length>0}runEvents(){if(this.working){var{screen:t,events:r,eventElements:i}=this,{style:e}=t.ctx.canvas;e&&(e.cursor=""),r.forEach(((t,r)=>{for(var{run:e}=t,n=i[r];n;)e(n),n=n.parent})),this.events=[],this.eventElements=[]}}checkPath(t,r){if(this.working&&r){var{events:i,eventElements:e}=this;i.forEach(((i,n)=>{var{x:s,y:a}=i;!e[n]&&r.isPointInPath&&r.isPointInPath(s,a)&&(e[n]=t)}))}}checkBoundingBox(t,r){if(this.working&&r){var{events:i,eventElements:e}=this;i.forEach(((i,n)=>{var{x:s,y:a}=i;!e[n]&&r.isPointInBox(s,a)&&(e[n]=t)}))}}mapXY(t,r){for(var{window:i,ctx:e}=this.screen,n=new Ih(t,r),s=e.canvas;s;)n.x-=s.offsetLeft,n.y-=s.offsetTop,s=s.offsetParent;return i.scrollX&&(n.x+=i.scrollX),i.scrollY&&(n.y+=i.scrollY),n}onClick(t){var{x:r,y:i}=this.mapXY(t.clientX,t.clientY);this.events.push({type:"onclick",x:r,y:i,run(t){t.onClick&&t.onClick()}})}onMouseMove(t){var{x:r,y:i}=this.mapXY(t.clientX,t.clientY);this.events.push({type:"onmousemove",x:r,y:i,run(t){t.onMouseMove&&t.onMouseMove()}})}}var Fh="undefined"!=typeof window?window:null,zh="undefined"!=typeof fetch?fetch.bind(void 0):null;class _h{constructor(t){var{fetch:r=zh,window:i=Fh}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.ctx=t,this.FRAMERATE=30,this.MAX_VIRTUAL_PIXELS=3e4,this.CLIENT_WIDTH=800,this.CLIENT_HEIGHT=600,this.viewPort=new $h,this.mouse=new Dh(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=i,this.fetch=r}wait(t){this.waits.push(t)}ready(){return this.readyPromise?this.readyPromise:Promise.resolve()}isReady(){if(this.isReadyLock)return!0;var t=this.waits.every((t=>t()));return t&&(this.waits=[],this.resolveReady&&this.resolveReady()),this.isReadyLock=t,t}setDefaults(t){t.strokeStyle="rgba(0,0,0,0)",t.lineCap="butt",t.lineJoin="miter",t.miterLimit=4}setViewBox(t){var{document:r,ctx:i,aspectRatio:e,width:n,desiredWidth:s,height:a,desiredHeight:o,minX:h=0,minY:u=0,refX:c,refY:f,clip:l=!1,clipX:v=0,clipY:d=0}=t,p=oh(e).replace(/^defer\s/,""),[y,g]=p.split(" "),m=y||"xMidYMid",b=g||"meet",w=n/s,x=a/o,M=Math.min(w,x),k=Math.max(w,x),S=s,N=o;"meet"===b&&(S*=M,N*=M),"slice"===b&&(S*=k,N*=k);var P=new Lh(r,"refX",c),j=new Lh(r,"refY",f),O=P.hasValue()&&j.hasValue();if(O&&i.translate(-M*P.getPixels("x"),-M*j.getPixels("y")),l){var E=M*v,T=M*d;i.beginPath(),i.moveTo(E,T),i.lineTo(n,T),i.lineTo(n,a),i.lineTo(E,a),i.closePath(),i.clip()}if(!O){var C="meet"===b&&M===x,A="slice"===b&&k===x,R="meet"===b&&M===w,B="slice"===b&&k===w;m.startsWith("xMid")&&(C||A)&&i.translate(n/2-S/2,0),m.endsWith("YMid")&&(R||B)&&i.translate(0,a/2-N/2),m.startsWith("xMax")&&(C||A)&&i.translate(n-S,0),m.endsWith("YMax")&&(R||B)&&i.translate(0,a-N)}switch(!0){case"none"===m:i.scale(w,x);break;case"meet"===b:i.scale(M,M);break;case"slice"===b:i.scale(k,k)}i.translate(-h,-u)}start(t){var{enableRedraw:r=!1,ignoreMouse:i=!1,ignoreAnimation:e=!1,ignoreDimensions:n=!1,ignoreClear:s=!1,forceRedraw:a,scaleWidth:o,scaleHeight:h,offsetX:u,offsetY:c}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{FRAMERATE:f,mouse:l}=this,v=1e3/f;if(this.frameDuration=v,this.readyPromise=new Promise((t=>{this.resolveReady=t})),this.isReady()&&this.render(t,n,s,o,h,u,c),r){var d=Date.now(),p=d,y=0,g=()=>{d=Date.now(),(y=d-p)>=v&&(p=d-y%v,this.shouldUpdate(e,a)&&(this.render(t,n,s,o,h,u,c),l.runEvents())),this.intervalId=co(g)};i||l.start(),this.intervalId=co(g)}}stop(){this.intervalId&&(co.cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}shouldUpdate(t,r){if(!t){var{frameDuration:i}=this;if(this.animations.reduce(((t,r)=>r.update(i)||t),!1))return!0}return!("function"!=typeof r||!r())||!(this.isReadyLock||!this.isReady())||!!this.mouse.hasEvents()}render(t,r,i,e,n,s,a){var{CLIENT_WIDTH:o,CLIENT_HEIGHT:h,viewPort:u,ctx:c,isFirstRender:f}=this,l=c.canvas;u.clear(),l.width&&l.height?u.setCurrent(l.width,l.height):u.setCurrent(o,h);var v=t.getStyle("width"),d=t.getStyle("height");!r&&(f||"number"!=typeof e&&"number"!=typeof n)&&(v.hasValue()&&(l.width=v.getPixels("x"),l.style&&(l.style.width="".concat(l.width,"px"))),d.hasValue()&&(l.height=d.getPixels("y"),l.style&&(l.style.height="".concat(l.height,"px"))));var p=l.clientWidth||l.width,y=l.clientHeight||l.height;if(r&&v.hasValue()&&d.hasValue()&&(p=v.getPixels("x"),y=d.getPixels("y")),u.setCurrent(p,y),"number"==typeof s&&t.getAttribute("x",!0).setValue(s),"number"==typeof a&&t.getAttribute("y",!0).setValue(a),"number"==typeof e||"number"==typeof n){var g=ch(t.getAttribute("viewBox").getString()),m=0,b=0;if("number"==typeof e){var w=t.getStyle("width");w.hasValue()?m=w.getPixels("x")/e:isNaN(g[2])||(m=g[2]/e)}if("number"==typeof n){var x=t.getStyle("height");x.hasValue()?b=x.getPixels("y")/n:isNaN(g[3])||(b=g[3]/n)}m||(m=b),b||(b=m),t.getAttribute("width",!0).setValue(e),t.getAttribute("height",!0).setValue(n);var M=t.getStyle("transform",!0,!0);M.setValue("".concat(M.getString()," scale(").concat(1/m,", ").concat(1/b,")"))}i||c.clearRect(0,0,p,y),t.render(c),f&&(this.isFirstRender=!1)}}_h.defaultWindow=Fh,_h.defaultFetch=zh;var{defaultFetch:Yh}=_h,Xh="undefined"!=typeof DOMParser?DOMParser:null;class qh{constructor(){var{fetch:t=Yh,DOMParser:r=Xh}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.fetch=t,this.DOMParser=r}parse(t){var r=this;return gn((function*(){return t.startsWith("<")?r.parseFromString(t):r.load(t)}))()}parseFromString(t){var r=new this.DOMParser;try{return this.checkDocument(r.parseFromString(t,"image/svg+xml"))}catch(i){return this.checkDocument(r.parseFromString(t,"text/xml"))}}checkDocument(t){var r=t.getElementsByTagName("parsererror")[0];if(r)throw new Error(r.textContent);return t}load(t){var r=this;return gn((function*(){var i=yield r.fetch(t),e=yield i.text();return r.parseFromString(e)}))()}}class Gh{constructor(t,r){this.type="translate",this.point=null,this.point=Ih.parse(r)}apply(t){var{x:r,y:i}=this.point;t.translate(r||0,i||0)}unapply(t){var{x:r,y:i}=this.point;t.translate(-1*r||0,-1*i||0)}applyToPoint(t){var{x:r,y:i}=this.point;t.applyTransform([1,0,0,1,r||0,i||0])}}class Uh{constructor(t,r,i){this.type="rotate",this.angle=null,this.originX=null,this.originY=null,this.cx=0,this.cy=0;var e=ch(r);this.angle=new Lh(t,"angle",e[0]),this.originX=i[0],this.originY=i[1],this.cx=e[1]||0,this.cy=e[2]||0}apply(t){var{cx:r,cy:i,originX:e,originY:n,angle:s}=this,a=r+e.getPixels("x"),o=i+n.getPixels("y");t.translate(a,o),t.rotate(s.getRadians()),t.translate(-a,-o)}unapply(t){var{cx:r,cy:i,originX:e,originY:n,angle:s}=this,a=r+e.getPixels("x"),o=i+n.getPixels("y");t.translate(a,o),t.rotate(-1*s.getRadians()),t.translate(-a,-o)}applyToPoint(t){var{cx:r,cy:i,angle:e}=this,n=e.getRadians();t.applyTransform([1,0,0,1,r||0,i||0]),t.applyTransform([Math.cos(n),Math.sin(n),-Math.sin(n),Math.cos(n),0,0]),t.applyTransform([1,0,0,1,-r||0,-i||0])}}class Vh{constructor(t,r,i){this.type="scale",this.scale=null,this.originX=null,this.originY=null;var e=Ih.parseScale(r);0!==e.x&&0!==e.y||(e.x=Sh,e.y=Sh),this.scale=e,this.originX=i[0],this.originY=i[1]}apply(t){var{scale:{x:r,y:i},originX:e,originY:n}=this,s=e.getPixels("x"),a=n.getPixels("y");t.translate(s,a),t.scale(r,i||r),t.translate(-s,-a)}unapply(t){var{scale:{x:r,y:i},originX:e,originY:n}=this,s=e.getPixels("x"),a=n.getPixels("y");t.translate(s,a),t.scale(1/r,1/i||r),t.translate(-s,-a)}applyToPoint(t){var{x:r,y:i}=this.scale;t.applyTransform([r||0,0,0,i||0,0,0])}}class Hh{constructor(t,r,i){this.type="matrix",this.matrix=[],this.originX=null,this.originY=null,this.matrix=ch(r),this.originX=i[0],this.originY=i[1]}apply(t){var{originX:r,originY:i,matrix:e}=this,n=r.getPixels("x"),s=i.getPixels("y");t.translate(n,s),t.transform(e[0],e[1],e[2],e[3],e[4],e[5]),t.translate(-n,-s)}unapply(t){var{originX:r,originY:i,matrix:e}=this,n=e[0],s=e[2],a=e[4],o=e[1],h=e[3],u=e[5],c=1/(n*(1*h-0*u)-s*(1*o-0*u)+a*(0*o-0*h)),f=r.getPixels("x"),l=i.getPixels("y");t.translate(f,l),t.transform(c*(1*h-0*u),c*(0*u-1*o),c*(0*a-1*s),c*(1*n-0*a),c*(s*u-a*h),c*(a*o-n*u)),t.translate(-f,-l)}applyToPoint(t){t.applyTransform(this.matrix)}}class Wh extends Hh{constructor(t,r,i){super(t,r,i),this.type="skew",this.angle=null,this.angle=new Lh(t,"angle",r)}}class Qh extends Wh{constructor(t,r,i){super(t,r,i),this.type="skewX",this.matrix=[1,0,Math.tan(this.angle.getRadians()),1,0,0]}}class Zh extends Wh{constructor(t,r,i){super(t,r,i),this.type="skewY",this.matrix=[1,Math.tan(this.angle.getRadians()),0,1,0,0]}}class Kh{constructor(t,r,i){this.document=t,this.transforms=[];var e=function(t){return oh(t).trim().replace(/\)([a-zA-Z])/g,") $1").replace(/\)(\s?,\s?)/g,") ").split(/\s(?=[a-z])/)}(r);e.forEach((t=>{if("none"!==t){var[r,e]=function(t){var[r,i]=t.split("(");return[r.trim(),i.trim().replace(")","")]}(t),n=Kh.transformTypes[r];void 0!==n&&this.transforms.push(new n(this.document,e,i))}}))}static fromElement(t,r){var i=r.getStyle("transform",!1,!0),[e,n=e]=r.getStyle("transform-origin",!1,!0).split(),s=[e,n];return i.hasValue()?new Kh(t,i.getString(),s):null}apply(t){for(var{transforms:r}=this,i=r.length,e=0;e<i;e++)r[e].apply(t)}unapply(t){for(var{transforms:r}=this,i=r.length-1;i>=0;i--)r[i].unapply(t)}applyToPoint(t){for(var{transforms:r}=this,i=r.length,e=0;e<i;e++)r[e].applyToPoint(t)}}Kh.transformTypes={translate:Gh,rotate:Uh,scale:Vh,matrix:Hh,skewX:Qh,skewY:Zh};class Jh{constructor(t,r){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.document=t,this.node=r,this.captureTextNodes=i,this.attributes={},this.styles={},this.stylesSpecificity={},this.animationFrozen=!1,this.animationFrozenValue="",this.parent=null,this.children=[],r&&1===r.nodeType){if(Array.from(r.attributes).forEach((r=>{var i=lh(r.nodeName);this.attributes[i]=new Lh(t,i,r.value)})),this.addStylesFromStyleDefinition(),this.getAttribute("style").hasValue()){var e=this.getAttribute("style").getString().split(";").map((t=>t.trim()));e.forEach((r=>{if(r){var[i,e]=r.split(":").map((t=>t.trim()));this.styles[i]=new Lh(t,i,e)}}))}var{definitions:n}=t,s=this.getAttribute("id");s.hasValue()&&(n[s.getString()]||(n[s.getString()]=this)),Array.from(r.childNodes).forEach((r=>{if(1===r.nodeType)this.addChild(r);else if(i&&(3===r.nodeType||4===r.nodeType)){var e=t.createTextNode(r);e.getText().length>0&&this.addChild(e)}}))}}getAttribute(t){var r=this.attributes[t];if(!r&&arguments.length>1&&void 0!==arguments[1]&&arguments[1]){var i=new Lh(this.document,t,"");return this.attributes[t]=i,i}return r||Lh.empty(this.document)}getHrefAttribute(){for(var t in this.attributes)if("href"===t||t.endsWith(":href"))return this.attributes[t];return Lh.empty(this.document)}getStyle(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],e=this.styles[t];if(e)return e;var n=this.getAttribute(t);if(null!=n&&n.hasValue())return this.styles[t]=n,n;if(!i){var{parent:s}=this;if(s){var a=s.getStyle(t);if(null!=a&&a.hasValue())return a}}if(r){var o=new Lh(this.document,t,"");return this.styles[t]=o,o}return e||Lh.empty(this.document)}render(t){if("none"!==this.getStyle("display").getString()&&"hidden"!==this.getStyle("visibility").getString()){if(t.save(),this.getStyle("mask").hasValue()){var r=this.getStyle("mask").getDefinition();r&&(this.applyEffects(t),r.apply(t,this))}else if("none"!==this.getStyle("filter").getValue("none")){var i=this.getStyle("filter").getDefinition();i&&(this.applyEffects(t),i.apply(t,this))}else this.setContext(t),this.renderChildren(t),this.clearContext(t);t.restore()}}setContext(t){}applyEffects(t){var r=Kh.fromElement(this.document,this);r&&r.apply(t);var i=this.getStyle("clip-path",!1,!0);if(i.hasValue()){var e=i.getDefinition();e&&e.apply(t)}}clearContext(t){}renderChildren(t){this.children.forEach((r=>{r.render(t)}))}addChild(t){var r=t instanceof Jh?t:this.document.createElement(t);r.parent=this,Jh.ignoreChildTypes.includes(r.type)||this.children.push(r)}matchesSelector(t){var r,{node:i}=this;if("function"==typeof i.matches)return i.matches(t);var e=null===(r=i.getAttribute)||void 0===r?void 0:r.call(i,"class");return!(!e||""===e)&&e.split(" ").some((r=>".".concat(r)===t))}addStylesFromStyleDefinition(){var{styles:t,stylesSpecificity:r}=this.document;for(var i in t)if(!i.startsWith("@")&&this.matchesSelector(i)){var e=t[i],n=r[i];if(e)for(var s in e){var a=this.stylesSpecificity[s];void 0===a&&(a="000"),n>=a&&(this.styles[s]=e[s],this.stylesSpecificity[s]=n)}}}removeStyles(t,r){return r.reduce(((r,i)=>{var e=t.getStyle(i);if(!e.hasValue())return r;var n=e.getString();return e.setValue(""),[...r,[i,n]]}),[])}restoreStyles(t,r){r.forEach((r=>{var[i,e]=r;t.getStyle(i,!0).setValue(e)}))}isFirstChild(){var t;return 0===(null===(t=this.parent)||void 0===t?void 0:t.children.indexOf(this))}}Jh.ignoreChildTypes=["title"];class tu extends Jh{constructor(t,r,i){super(t,r,i)}}function ru(t){var r=t.trim();return/^('|")/.test(r)?r:'"'.concat(r,'"')}function iu(t){if(!t)return"";var r=t.trim().toLowerCase();switch(r){case"normal":case"italic":case"oblique":case"inherit":case"initial":case"unset":return r;default:return/^oblique\s+(-|)\d+deg$/.test(r)?r:""}}function eu(t){if(!t)return"";var r=t.trim().toLowerCase();switch(r){case"normal":case"bold":case"lighter":case"bolder":case"inherit":case"initial":case"unset":return r;default:return/^[\d.]+$/.test(r)?r:""}}class nu{constructor(t,r,i,e,n,s){var a=s?"string"==typeof s?nu.parse(s):s:{};this.fontFamily=n||a.fontFamily,this.fontSize=e||a.fontSize,this.fontStyle=t||a.fontStyle,this.fontWeight=i||a.fontWeight,this.fontVariant=r||a.fontVariant}static parse(){var t=arguments.length>1?arguments[1]:void 0,r="",i="",e="",n="",s="",a=oh(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").trim().split(" "),o={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1};return a.forEach((t=>{switch(!0){case!o.fontStyle&&nu.styles.includes(t):"inherit"!==t&&(r=t),o.fontStyle=!0;break;case!o.fontVariant&&nu.variants.includes(t):"inherit"!==t&&(i=t),o.fontStyle=!0,o.fontVariant=!0;break;case!o.fontWeight&&nu.weights.includes(t):"inherit"!==t&&(e=t),o.fontStyle=!0,o.fontVariant=!0,o.fontWeight=!0;break;case!o.fontSize:"inherit"!==t&&([n]=t.split("/")),o.fontStyle=!0,o.fontVariant=!0,o.fontWeight=!0,o.fontSize=!0;break;default:"inherit"!==t&&(s+=t)}})),new nu(r,i,e,n,s,t)}toString(){return[iu(this.fontStyle),this.fontVariant,eu(this.fontWeight),this.fontSize,(t=this.fontFamily,"undefined"==typeof process?t:t.trim().split(",").map(ru).join(","))].join(" ").trim();var t}}nu.styles="normal|italic|oblique|inherit",nu.variants="normal|small-caps|inherit",nu.weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit";class su{constructor(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.NaN,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.NaN,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.NaN,e=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Number.NaN;this.x1=t,this.y1=r,this.x2=i,this.y2=e,this.addPoint(t,r),this.addPoint(i,e)}get x(){return this.x1}get y(){return this.y1}get width(){return this.x2-this.x1}get height(){return this.y2-this.y1}addPoint(t,r){void 0!==t&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=t,this.x2=t),t<this.x1&&(this.x1=t),t>this.x2&&(this.x2=t)),void 0!==r&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=r,this.y2=r),r<this.y1&&(this.y1=r),r>this.y2&&(this.y2=r))}addX(t){this.addPoint(t,null)}addY(t){this.addPoint(null,t)}addBoundingBox(t){if(t){var{x1:r,y1:i,x2:e,y2:n}=t;this.addPoint(r,i),this.addPoint(e,n)}}sumCubic(t,r,i,e,n){return Math.pow(1-t,3)*r+3*Math.pow(1-t,2)*t*i+3*(1-t)*Math.pow(t,2)*e+Math.pow(t,3)*n}bezierCurveAdd(t,r,i,e,n){var s=6*r-12*i+6*e,a=-3*r+9*i-9*e+3*n,o=3*i-3*r;if(0!==a){var h=Math.pow(s,2)-4*o*a;if(!(h<0)){var u=(-s+Math.sqrt(h))/(2*a);0<u&&u<1&&(t?this.addX(this.sumCubic(u,r,i,e,n)):this.addY(this.sumCubic(u,r,i,e,n)));var c=(-s-Math.sqrt(h))/(2*a);0<c&&c<1&&(t?this.addX(this.sumCubic(c,r,i,e,n)):this.addY(this.sumCubic(c,r,i,e,n)))}}else{if(0===s)return;var f=-o/s;0<f&&f<1&&(t?this.addX(this.sumCubic(f,r,i,e,n)):this.addY(this.sumCubic(f,r,i,e,n)))}}addBezierCurve(t,r,i,e,n,s,a,o){this.addPoint(t,r),this.addPoint(a,o),this.bezierCurveAdd(!0,t,i,n,a),this.bezierCurveAdd(!1,r,e,s,o)}addQuadraticCurve(t,r,i,e,n,s){var a=t+2/3*(i-t),o=r+2/3*(e-r);this.addBezierCurve(t,r,a,a+1/3*(n-t),o,o+1/3*(s-r),n,s)}isPointInBox(t,r){var{x1:i,y1:e,x2:n,y2:s}=this;return i<=t&&t<=n&&e<=r&&r<=s}}class au extends Wo{constructor(t){super(t.replace(/([+\-.])\s+/gm,"$1").replace(/[^MmZzLlHhVvCcSsQqTtAae\d\s.,+-].*/g,"")),this.control=null,this.start=null,this.current=null,this.command=null,this.commands=this.commands,this.i=-1,this.previousCommand=null,this.points=[],this.angles=[]}reset(){this.i=-1,this.command=null,this.previousCommand=null,this.start=new Ih(0,0),this.control=new Ih(0,0),this.current=new Ih(0,0),this.points=[],this.angles=[]}isEnd(){var{i:t,commands:r}=this;return t>=r.length-1}next(){var t=this.commands[++this.i];return this.previousCommand=this.command,this.command=t,t}getPoint(){var t=new Ih(this.command[arguments.length>0&&void 0!==arguments[0]?arguments[0]:"x"],this.command[arguments.length>1&&void 0!==arguments[1]?arguments[1]:"y"]);return this.makeAbsolute(t)}getAsControlPoint(t,r){var i=this.getPoint(t,r);return this.control=i,i}getAsCurrentPoint(t,r){var i=this.getPoint(t,r);return this.current=i,i}getReflectedControlPoint(){var t=this.previousCommand.type;if(t!==Wo.CURVE_TO&&t!==Wo.SMOOTH_CURVE_TO&&t!==Wo.QUAD_TO&&t!==Wo.SMOOTH_QUAD_TO)return this.current;var{current:{x:r,y:i},control:{x:e,y:n}}=this;return new Ih(2*r-e,2*i-n)}makeAbsolute(t){if(this.command.relative){var{x:r,y:i}=this.current;t.x+=r,t.y+=i}return t}addMarker(t,r,i){var{points:e,angles:n}=this;i&&n.length>0&&!n[n.length-1]&&(n[n.length-1]=e[e.length-1].angleTo(i)),this.addMarkerAngle(t,r?r.angleTo(t):null)}addMarkerAngle(t,r){this.points.push(t),this.angles.push(r)}getMarkerPoints(){return this.points}getMarkerAngles(){for(var{angles:t}=this,r=t.length,i=0;i<r;i++)if(!t[i])for(var e=i+1;e<r;e++)if(t[e]){t[i]=t[e];break}return t}}class ou extends Jh{constructor(){super(...arguments),this.modifiedEmSizeStack=!1}calculateOpacity(){for(var t=1,r=this;r;){var i=r.getStyle("opacity",!1,!0);i.hasValue(!0)&&(t*=i.getNumber()),r=r.parent}return t}setContext(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!r){var i=this.getStyle("fill"),e=this.getStyle("fill-opacity"),n=this.getStyle("stroke"),s=this.getStyle("stroke-opacity");if(i.isUrlDefinition()){var a=i.getFillStyleDefinition(this,e);a&&(t.fillStyle=a)}else if(i.hasValue()){"currentColor"===i.getString()&&i.setValue(this.getStyle("color").getColor());var o=i.getColor();"inherit"!==o&&(t.fillStyle="none"===o?"rgba(0,0,0,0)":o)}if(e.hasValue()){var h=new Lh(this.document,"fill",t.fillStyle).addOpacity(e).getColor();t.fillStyle=h}if(n.isUrlDefinition()){var u=n.getFillStyleDefinition(this,s);u&&(t.strokeStyle=u)}else if(n.hasValue()){"currentColor"===n.getString()&&n.setValue(this.getStyle("color").getColor());var c=n.getString();"inherit"!==c&&(t.strokeStyle="none"===c?"rgba(0,0,0,0)":c)}if(s.hasValue()){var f=new Lh(this.document,"stroke",t.strokeStyle).addOpacity(s).getString();t.strokeStyle=f}var l=this.getStyle("stroke-width");if(l.hasValue()){var v=l.getPixels();t.lineWidth=v||Sh}var d=this.getStyle("stroke-linecap"),p=this.getStyle("stroke-linejoin"),y=this.getStyle("stroke-miterlimit"),g=this.getStyle("stroke-dasharray"),m=this.getStyle("stroke-dashoffset");if(d.hasValue()&&(t.lineCap=d.getString()),p.hasValue()&&(t.lineJoin=p.getString()),y.hasValue()&&(t.miterLimit=y.getNumber()),g.hasValue()&&"none"!==g.getString()){var b=ch(g.getString());void 0!==t.setLineDash?t.setLineDash(b):void 0!==t.webkitLineDash?t.webkitLineDash=b:void 0===t.mozDash||1===b.length&&0===b[0]||(t.mozDash=b);var w=m.getPixels();void 0!==t.lineDashOffset?t.lineDashOffset=w:void 0!==t.webkitLineDashOffset?t.webkitLineDashOffset=w:void 0!==t.mozDashOffset&&(t.mozDashOffset=w)}}if(this.modifiedEmSizeStack=!1,void 0!==t.font){var x=this.getStyle("font"),M=this.getStyle("font-style"),k=this.getStyle("font-variant"),S=this.getStyle("font-weight"),N=this.getStyle("font-size"),P=this.getStyle("font-family"),j=new nu(M.getString(),k.getString(),S.getString(),N.hasValue()?"".concat(N.getPixels(!0),"px"):"",P.getString(),nu.parse(x.getString(),t.font));M.setValue(j.fontStyle),k.setValue(j.fontVariant),S.setValue(j.fontWeight),N.setValue(j.fontSize),P.setValue(j.fontFamily),t.font=j.toString(),N.isPixels()&&(this.document.emSize=N.getPixels(),this.modifiedEmSizeStack=!0)}r||(this.applyEffects(t),t.globalAlpha=this.calculateOpacity())}clearContext(t){super.clearContext(t),this.modifiedEmSizeStack&&this.document.popEmSize()}}class hu extends ou{constructor(t,r,i){super(t,r,i),this.type="path",this.pathParser=null,this.pathParser=new au(this.getAttribute("d").getString())}path(t){var{pathParser:r}=this,i=new su;for(r.reset(),t&&t.beginPath();!r.isEnd();)switch(r.next().type){case au.MOVE_TO:this.pathM(t,i);break;case au.LINE_TO:this.pathL(t,i);break;case au.HORIZ_LINE_TO:this.pathH(t,i);break;case au.VERT_LINE_TO:this.pathV(t,i);break;case au.CURVE_TO:this.pathC(t,i);break;case au.SMOOTH_CURVE_TO:this.pathS(t,i);break;case au.QUAD_TO:this.pathQ(t,i);break;case au.SMOOTH_QUAD_TO:this.pathT(t,i);break;case au.ARC:this.pathA(t,i);break;case au.CLOSE_PATH:this.pathZ(t,i)}return i}getBoundingBox(t){return this.path()}getMarkers(){var{pathParser:t}=this,r=t.getMarkerPoints(),i=t.getMarkerAngles(),e=r.map(((t,r)=>[t,i[r]]));return e}renderChildren(t){this.path(t),this.document.screen.mouse.checkPath(this,t);var r=this.getStyle("fill-rule");""!==t.fillStyle&&("inherit"!==r.getString("inherit")?t.fill(r.getString()):t.fill()),""!==t.strokeStyle&&("non-scaling-stroke"===this.getAttribute("vector-effect").getString()?(t.save(),t.setTransform(1,0,0,1,0,0),t.stroke(),t.restore()):t.stroke());var i=this.getMarkers();if(i){var e=i.length-1,n=this.getStyle("marker-start"),s=this.getStyle("marker-mid"),a=this.getStyle("marker-end");if(n.isUrlDefinition()){var o=n.getDefinition(),[h,u]=i[0];o.render(t,h,u)}if(s.isUrlDefinition())for(var c=s.getDefinition(),f=1;f<e;f++){var[l,v]=i[f];c.render(t,l,v)}if(a.isUrlDefinition()){var d=a.getDefinition(),[p,y]=i[e];d.render(t,p,y)}}}static pathM(t){var r=t.getAsCurrentPoint();return t.start=t.current,{point:r}}pathM(t,r){var{pathParser:i}=this,{point:e}=hu.pathM(i),{x:n,y:s}=e;i.addMarker(e),r.addPoint(n,s),t&&t.moveTo(n,s)}static pathL(t){var{current:r}=t;return{current:r,point:t.getAsCurrentPoint()}}pathL(t,r){var{pathParser:i}=this,{current:e,point:n}=hu.pathL(i),{x:s,y:a}=n;i.addMarker(n,e),r.addPoint(s,a),t&&t.lineTo(s,a)}static pathH(t){var{current:r,command:i}=t,e=new Ih((i.relative?r.x:0)+i.x,r.y);return t.current=e,{current:r,point:e}}pathH(t,r){var{pathParser:i}=this,{current:e,point:n}=hu.pathH(i),{x:s,y:a}=n;i.addMarker(n,e),r.addPoint(s,a),t&&t.lineTo(s,a)}static pathV(t){var{current:r,command:i}=t,e=new Ih(r.x,(i.relative?r.y:0)+i.y);return t.current=e,{current:r,point:e}}pathV(t,r){var{pathParser:i}=this,{current:e,point:n}=hu.pathV(i),{x:s,y:a}=n;i.addMarker(n,e),r.addPoint(s,a),t&&t.lineTo(s,a)}static pathC(t){var{current:r}=t;return{current:r,point:t.getPoint("x1","y1"),controlPoint:t.getAsControlPoint("x2","y2"),currentPoint:t.getAsCurrentPoint()}}pathC(t,r){var{pathParser:i}=this,{current:e,point:n,controlPoint:s,currentPoint:a}=hu.pathC(i);i.addMarker(a,s,n),r.addBezierCurve(e.x,e.y,n.x,n.y,s.x,s.y,a.x,a.y),t&&t.bezierCurveTo(n.x,n.y,s.x,s.y,a.x,a.y)}static pathS(t){var{current:r}=t;return{current:r,point:t.getReflectedControlPoint(),controlPoint:t.getAsControlPoint("x2","y2"),currentPoint:t.getAsCurrentPoint()}}pathS(t,r){var{pathParser:i}=this,{current:e,point:n,controlPoint:s,currentPoint:a}=hu.pathS(i);i.addMarker(a,s,n),r.addBezierCurve(e.x,e.y,n.x,n.y,s.x,s.y,a.x,a.y),t&&t.bezierCurveTo(n.x,n.y,s.x,s.y,a.x,a.y)}static pathQ(t){var{current:r}=t;return{current:r,controlPoint:t.getAsControlPoint("x1","y1"),currentPoint:t.getAsCurrentPoint()}}pathQ(t,r){var{pathParser:i}=this,{current:e,controlPoint:n,currentPoint:s}=hu.pathQ(i);i.addMarker(s,n,n),r.addQuadraticCurve(e.x,e.y,n.x,n.y,s.x,s.y),t&&t.quadraticCurveTo(n.x,n.y,s.x,s.y)}static pathT(t){var{current:r}=t,i=t.getReflectedControlPoint();return t.control=i,{current:r,controlPoint:i,currentPoint:t.getAsCurrentPoint()}}pathT(t,r){var{pathParser:i}=this,{current:e,controlPoint:n,currentPoint:s}=hu.pathT(i);i.addMarker(s,n,n),r.addQuadraticCurve(e.x,e.y,n.x,n.y,s.x,s.y),t&&t.quadraticCurveTo(n.x,n.y,s.x,s.y)}static pathA(t){var{current:r,command:i}=t,{rX:e,rY:n,xRot:s,lArcFlag:a,sweepFlag:o}=i,h=s*(Math.PI/180),u=t.getAsCurrentPoint(),c=new Ih(Math.cos(h)*(r.x-u.x)/2+Math.sin(h)*(r.y-u.y)/2,-Math.sin(h)*(r.x-u.x)/2+Math.cos(h)*(r.y-u.y)/2),f=Math.pow(c.x,2)/Math.pow(e,2)+Math.pow(c.y,2)/Math.pow(n,2);f>1&&(e*=Math.sqrt(f),n*=Math.sqrt(f));var l=(a===o?-1:1)*Math.sqrt((Math.pow(e,2)*Math.pow(n,2)-Math.pow(e,2)*Math.pow(c.y,2)-Math.pow(n,2)*Math.pow(c.x,2))/(Math.pow(e,2)*Math.pow(c.y,2)+Math.pow(n,2)*Math.pow(c.x,2)));isNaN(l)&&(l=0);var v=new Ih(l*e*c.y/n,l*-n*c.x/e),d=new Ih((r.x+u.x)/2+Math.cos(h)*v.x-Math.sin(h)*v.y,(r.y+u.y)/2+Math.sin(h)*v.x+Math.cos(h)*v.y),p=jh([1,0],[(c.x-v.x)/e,(c.y-v.y)/n]),y=[(c.x-v.x)/e,(c.y-v.y)/n],g=[(-c.x-v.x)/e,(-c.y-v.y)/n],m=jh(y,g);return Ph(y,g)<=-1&&(m=Math.PI),Ph(y,g)>=1&&(m=0),{currentPoint:u,rX:e,rY:n,sweepFlag:o,xAxisRotation:h,centp:d,a1:p,ad:m}}pathA(t,r){var{pathParser:i}=this,{currentPoint:e,rX:n,rY:s,sweepFlag:a,xAxisRotation:o,centp:h,a1:u,ad:c}=hu.pathA(i),f=1-a?1:-1,l=u+f*(c/2),v=new Ih(h.x+n*Math.cos(l),h.y+s*Math.sin(l));if(i.addMarkerAngle(v,l-f*Math.PI/2),i.addMarkerAngle(e,l-f*Math.PI),r.addPoint(e.x,e.y),t&&!isNaN(u)&&!isNaN(c)){var d=n>s?n:s,p=n>s?1:n/s,y=n>s?s/n:1;t.translate(h.x,h.y),t.rotate(o),t.scale(p,y),t.arc(0,0,d,u,u+c,Boolean(1-a)),t.scale(1/p,1/y),t.rotate(-o),t.translate(-h.x,-h.y)}}static pathZ(t){t.current=t.start}pathZ(t,r){hu.pathZ(this.pathParser),t&&r.x1!==r.x2&&r.y1!==r.y2&&t.closePath()}}class uu extends hu{constructor(t,r,i){super(t,r,i),this.type="glyph",this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber(),this.unicode=this.getAttribute("unicode").getString(),this.arabicForm=this.getAttribute("arabic-form").getString()}}class cu extends ou{constructor(t,r,i){super(t,r,new.target===cu||i),this.type="text",this.x=0,this.y=0,this.measureCache=-1}setContext(t){super.setContext(t,arguments.length>1&&void 0!==arguments[1]&&arguments[1]);var r=this.getStyle("dominant-baseline").getTextBaseline()||this.getStyle("alignment-baseline").getTextBaseline();r&&(t.textBaseline=r)}initializeCoordinates(){this.x=0,this.y=0,this.leafTexts=[],this.textChunkStart=0,this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY}getBoundingBox(t){if("text"!==this.type)return this.getTElementBoundingBox(t);this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(t);var r=null;return this.children.forEach(((i,e)=>{var n=this.getChildBoundingBox(t,this,this,e);r?r.addBoundingBox(n):r=n})),r}getFontSize(){var{document:t,parent:r}=this,i=nu.parse(t.ctx.font).fontSize;return r.getStyle("font-size").getNumber(i)}getTElementBoundingBox(t){var r=this.getFontSize();return new su(this.x,this.y-r,this.x+this.measureText(t),this.y)}getGlyph(t,r,i){var e=r[i],n=null;if(t.isArabic){var s=r.length,a=r[i-1],o=r[i+1],h="isolated";if((0===i||" "===a)&&i<s-1&&" "!==o&&(h="terminal"),i>0&&" "!==a&&i<s-1&&" "!==o&&(h="medial"),i>0&&" "!==a&&(i===s-1||" "===o)&&(h="initial"),void 0!==t.glyphs[e]){var u=t.glyphs[e];n=u instanceof uu?u:u[h]}}else n=t.glyphs[e];return n||(n=t.missingGlyph),n}getText(){return""}getTextFromNode(t){var r=t||this.node,i=Array.from(r.parentNode.childNodes),e=i.indexOf(r),n=i.length-1,s=oh(r.textContent||"");return 0===e&&(s=hh(s)),e===n&&(s=uh(s)),s}renderChildren(t){if("text"===this.type){this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(t),this.children.forEach(((r,i)=>{this.renderChild(t,this,this,i)}));var{mouse:r}=this.document.screen;r.isWorking()&&r.checkBoundingBox(this,this.getBoundingBox(t))}else this.renderTElementChildren(t)}renderTElementChildren(t){var{document:r,parent:i}=this,e=this.getText(),n=i.getStyle("font-family").getDefinition();if(n)for(var{unitsPerEm:s}=n.fontFace,a=nu.parse(r.ctx.font),o=i.getStyle("font-size").getNumber(a.fontSize),h=i.getStyle("font-style").getString(a.fontStyle),u=o/s,c=n.isRTL?e.split("").reverse().join(""):e,f=ch(i.getAttribute("dx").getString()),l=c.length,v=0;v<l;v++){var d=this.getGlyph(n,c,v);t.translate(this.x,this.y),t.scale(u,-u);var p=t.lineWidth;t.lineWidth=t.lineWidth*s/o,"italic"===h&&t.transform(1,0,.4,1,0,0),d.render(t),"italic"===h&&t.transform(1,0,-.4,1,0,0),t.lineWidth=p,t.scale(1/u,-1/u),t.translate(-this.x,-this.y),this.x+=o*(d.horizAdvX||n.horizAdvX)/s,void 0===f[v]||isNaN(f[v])||(this.x+=f[v])}else{var{x:y,y:g}=this;t.fillStyle&&t.fillText(e,y,g),t.strokeStyle&&t.strokeText(e,y,g)}}applyAnchoring(){if(!(this.textChunkStart>=this.leafTexts.length)){var t,r=this.leafTexts[this.textChunkStart],i=r.getStyle("text-anchor").getString("start");t="start"===i?r.x-this.minX:"end"===i?r.x-this.maxX:r.x-(this.minX+this.maxX)/2;for(var e=this.textChunkStart;e<this.leafTexts.length;e++)this.leafTexts[e].x+=t;this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY,this.textChunkStart=this.leafTexts.length}}adjustChildCoordinatesRecursive(t){this.children.forEach(((r,i)=>{this.adjustChildCoordinatesRecursiveCore(t,this,this,i)})),this.applyAnchoring()}adjustChildCoordinatesRecursiveCore(t,r,i,e){var n=i.children[e];n.children.length>0?n.children.forEach(((i,e)=>{r.adjustChildCoordinatesRecursiveCore(t,r,n,e)})):this.adjustChildCoordinates(t,r,i,e)}adjustChildCoordinates(t,r,i,e){var n=i.children[e];if("function"!=typeof n.measureText)return n;t.save(),n.setContext(t,!0);var s=n.getAttribute("x"),a=n.getAttribute("y"),o=n.getAttribute("dx"),h=n.getAttribute("dy"),u=n.getStyle("font-family").getDefinition(),c=Boolean(u)&&u.isRTL;0===e&&(s.hasValue()||s.setValue(n.getInheritedAttribute("x")),a.hasValue()||a.setValue(n.getInheritedAttribute("y")),o.hasValue()||o.setValue(n.getInheritedAttribute("dx")),h.hasValue()||h.setValue(n.getInheritedAttribute("dy")));var f=n.measureText(t);return c&&(r.x-=f),s.hasValue()?(r.applyAnchoring(),n.x=s.getPixels("x"),o.hasValue()&&(n.x+=o.getPixels("x"))):(o.hasValue()&&(r.x+=o.getPixels("x")),n.x=r.x),r.x=n.x,c||(r.x+=f),a.hasValue()?(n.y=a.getPixels("y"),h.hasValue()&&(n.y+=h.getPixels("y"))):(h.hasValue()&&(r.y+=h.getPixels("y")),n.y=r.y),r.y=n.y,r.leafTexts.push(n),r.minX=Math.min(r.minX,n.x,n.x+f),r.maxX=Math.max(r.maxX,n.x,n.x+f),n.clearContext(t),t.restore(),n}getChildBoundingBox(t,r,i,e){var n=i.children[e];if("function"!=typeof n.getBoundingBox)return null;var s=n.getBoundingBox(t);return s?(n.children.forEach(((i,e)=>{var a=r.getChildBoundingBox(t,r,n,e);s.addBoundingBox(a)})),s):null}renderChild(t,r,i,e){var n=i.children[e];n.render(t),n.children.forEach(((i,e)=>{r.renderChild(t,r,n,e)}))}measureText(t){var{measureCache:r}=this;if(~r)return r;var i=this.getText(),e=this.measureTargetText(t,i);return this.measureCache=e,e}measureTargetText(t,r){if(!r.length)return 0;var{parent:i}=this,e=i.getStyle("font-family").getDefinition();if(e){for(var n=this.getFontSize(),s=e.isRTL?r.split("").reverse().join(""):r,a=ch(i.getAttribute("dx").getString()),o=s.length,h=0,u=0;u<o;u++)h+=(this.getGlyph(e,s,u).horizAdvX||e.horizAdvX)*n/e.fontFace.unitsPerEm,void 0===a[u]||isNaN(a[u])||(h+=a[u]);return h}if(!t.measureText)return 10*r.length;t.save(),this.setContext(t,!0);var{width:c}=t.measureText(r);return this.clearContext(t),t.restore(),c}getInheritedAttribute(t){for(var r=this;r instanceof cu&&r.isFirstChild();){var i=r.parent.getAttribute(t);if(i.hasValue(!0))return i.getValue("0");r=r.parent}return null}}class fu extends cu{constructor(t,r,i){super(t,r,new.target===fu||i),this.type="tspan",this.text=this.children.length>0?"":this.getTextFromNode()}getText(){return this.text}}class lu extends fu{constructor(){super(...arguments),this.type="textNode"}}class vu extends ou{constructor(){super(...arguments),this.type="svg",this.root=!1}setContext(t){var r,{document:i}=this,{screen:e,window:n}=i,s=t.canvas;if(e.setDefaults(t),s.style&&void 0!==t.font&&n&&void 0!==n.getComputedStyle){t.font=n.getComputedStyle(s).getPropertyValue("font");var a=new Lh(i,"fontSize",nu.parse(t.font).fontSize);a.hasValue()&&(i.rootEmSize=a.getPixels("y"),i.emSize=i.rootEmSize)}this.getAttribute("x").hasValue()||this.getAttribute("x",!0).setValue(0),this.getAttribute("y").hasValue()||this.getAttribute("y",!0).setValue(0);var{width:o,height:h}=e.viewPort;this.getStyle("width").hasValue()||this.getStyle("width",!0).setValue("100%"),this.getStyle("height").hasValue()||this.getStyle("height",!0).setValue("100%"),this.getStyle("color").hasValue()||this.getStyle("color",!0).setValue("black");var u=this.getAttribute("refX"),c=this.getAttribute("refY"),f=this.getAttribute("viewBox"),l=f.hasValue()?ch(f.getString()):null,v=!this.root&&"visible"!==this.getStyle("overflow").getValue("hidden"),d=0,p=0,y=0,g=0;l&&(d=l[0],p=l[1]),this.root||(o=this.getStyle("width").getPixels("x"),h=this.getStyle("height").getPixels("y"),"marker"===this.type&&(y=d,g=p,d=0,p=0)),e.viewPort.setCurrent(o,h),!this.node||this.parent&&"foreignObject"!==(null===(r=this.node.parentNode)||void 0===r?void 0:r.nodeName)||!this.getStyle("transform",!1,!0).hasValue()||this.getStyle("transform-origin",!1,!0).hasValue()||this.getStyle("transform-origin",!0,!0).setValue("50% 50%"),super.setContext(t),t.translate(this.getAttribute("x").getPixels("x"),this.getAttribute("y").getPixels("y")),l&&(o=l[2],h=l[3]),i.setViewBox({ctx:t,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:e.viewPort.width,desiredWidth:o,height:e.viewPort.height,desiredHeight:h,minX:d,minY:p,refX:u.getValue(),refY:c.getValue(),clip:v,clipX:y,clipY:g}),l&&(e.viewPort.removeCurrent(),e.viewPort.setCurrent(o,h))}clearContext(t){super.clearContext(t),this.document.screen.viewPort.removeCurrent()}resize(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],e=this.getAttribute("width",!0),n=this.getAttribute("height",!0),s=this.getAttribute("viewBox"),a=this.getAttribute("style"),o=e.getNumber(0),h=n.getNumber(0);if(i)if("string"==typeof i)this.getAttribute("preserveAspectRatio",!0).setValue(i);else{var u=this.getAttribute("preserveAspectRatio");u.hasValue()&&u.setValue(u.getString().replace(/^\s*(\S.*\S)\s*$/,"$1"))}if(e.setValue(t),n.setValue(r),s.hasValue()||s.setValue("0 0 ".concat(o||t," ").concat(h||r)),a.hasValue()){var c=this.getStyle("width"),f=this.getStyle("height");c.hasValue()&&c.setValue("".concat(t,"px")),f.hasValue()&&f.setValue("".concat(r,"px"))}}}class du extends hu{constructor(){super(...arguments),this.type="rect"}path(t){var r=this.getAttribute("x").getPixels("x"),i=this.getAttribute("y").getPixels("y"),e=this.getStyle("width",!1,!0).getPixels("x"),n=this.getStyle("height",!1,!0).getPixels("y"),s=this.getAttribute("rx"),a=this.getAttribute("ry"),o=s.getPixels("x"),h=a.getPixels("y");if(s.hasValue()&&!a.hasValue()&&(h=o),a.hasValue()&&!s.hasValue()&&(o=h),o=Math.min(o,e/2),h=Math.min(h,n/2),t){var u=(Math.sqrt(2)-1)/3*4;t.beginPath(),n>0&&e>0&&(t.moveTo(r+o,i),t.lineTo(r+e-o,i),t.bezierCurveTo(r+e-o+u*o,i,r+e,i+h-u*h,r+e,i+h),t.lineTo(r+e,i+n-h),t.bezierCurveTo(r+e,i+n-h+u*h,r+e-o+u*o,i+n,r+e-o,i+n),t.lineTo(r+o,i+n),t.bezierCurveTo(r+o-u*o,i+n,r,i+n-h+u*h,r,i+n-h),t.lineTo(r,i+h),t.bezierCurveTo(r,i+h-u*h,r+o-u*o,i,r+o,i),t.closePath())}return new su(r,i,r+e,i+n)}getMarkers(){return null}}class pu extends hu{constructor(){super(...arguments),this.type="circle"}path(t){var r=this.getAttribute("cx").getPixels("x"),i=this.getAttribute("cy").getPixels("y"),e=this.getAttribute("r").getPixels();return t&&e>0&&(t.beginPath(),t.arc(r,i,e,0,2*Math.PI,!1),t.closePath()),new su(r-e,i-e,r+e,i+e)}getMarkers(){return null}}class yu extends hu{constructor(){super(...arguments),this.type="ellipse"}path(t){var r=(Math.sqrt(2)-1)/3*4,i=this.getAttribute("rx").getPixels("x"),e=this.getAttribute("ry").getPixels("y"),n=this.getAttribute("cx").getPixels("x"),s=this.getAttribute("cy").getPixels("y");return t&&i>0&&e>0&&(t.beginPath(),t.moveTo(n+i,s),t.bezierCurveTo(n+i,s+r*e,n+r*i,s+e,n,s+e),t.bezierCurveTo(n-r*i,s+e,n-i,s+r*e,n-i,s),t.bezierCurveTo(n-i,s-r*e,n-r*i,s-e,n,s-e),t.bezierCurveTo(n+r*i,s-e,n+i,s-r*e,n+i,s),t.closePath()),new su(n-i,s-e,n+i,s+e)}getMarkers(){return null}}class gu extends hu{constructor(){super(...arguments),this.type="line"}getPoints(){return[new Ih(this.getAttribute("x1").getPixels("x"),this.getAttribute("y1").getPixels("y")),new Ih(this.getAttribute("x2").getPixels("x"),this.getAttribute("y2").getPixels("y"))]}path(t){var[{x:r,y:i},{x:e,y:n}]=this.getPoints();return t&&(t.beginPath(),t.moveTo(r,i),t.lineTo(e,n)),new su(r,i,e,n)}getMarkers(){var[t,r]=this.getPoints(),i=t.angleTo(r);return[[t,i],[r,i]]}}class mu extends hu{constructor(t,r,i){super(t,r,i),this.type="polyline",this.points=[],this.points=Ih.parsePath(this.getAttribute("points").getString())}path(t){var{points:r}=this,[{x:i,y:e}]=r,n=new su(i,e);return t&&(t.beginPath(),t.moveTo(i,e)),r.forEach((r=>{var{x:i,y:e}=r;n.addPoint(i,e),t&&t.lineTo(i,e)})),n}getMarkers(){var{points:t}=this,r=t.length-1,i=[];return t.forEach(((e,n)=>{n!==r&&i.push([e,e.angleTo(t[n+1])])})),i.length>0&&i.push([t[t.length-1],i[i.length-1][1]]),i}}class bu extends mu{constructor(){super(...arguments),this.type="polygon"}path(t){var r=super.path(t),[{x:i,y:e}]=this.points;return t&&(t.lineTo(i,e),t.closePath()),r}}class wu extends Jh{constructor(){super(...arguments),this.type="pattern"}createPattern(t,r,i){var e=this.getStyle("width").getPixels("x",!0),n=this.getStyle("height").getPixels("y",!0),s=new vu(this.document,null);s.attributes.viewBox=new Lh(this.document,"viewBox",this.getAttribute("viewBox").getValue()),s.attributes.width=new Lh(this.document,"width","".concat(e,"px")),s.attributes.height=new Lh(this.document,"height","".concat(n,"px")),s.attributes.transform=new Lh(this.document,"transform",this.getAttribute("patternTransform").getValue()),s.children=this.children;var a=this.document.createCanvas(e,n),o=a.getContext("2d"),h=this.getAttribute("x"),u=this.getAttribute("y");h.hasValue()&&u.hasValue()&&o.translate(h.getPixels("x",!0),u.getPixels("y",!0)),i.hasValue()?this.styles["fill-opacity"]=i:Reflect.deleteProperty(this.styles,"fill-opacity");for(var c=-1;c<=1;c++)for(var f=-1;f<=1;f++)o.save(),s.attributes.x=new Lh(this.document,"x",c*a.width),s.attributes.y=new Lh(this.document,"y",f*a.height),s.render(o),o.restore();return t.createPattern(a,"repeat")}}class xu extends Jh{constructor(){super(...arguments),this.type="marker"}render(t,r,i){if(r){var{x:e,y:n}=r,s=this.getAttribute("orient").getString("auto"),a=this.getAttribute("markerUnits").getString("strokeWidth");t.translate(e,n),"auto"===s&&t.rotate(i),"strokeWidth"===a&&t.scale(t.lineWidth,t.lineWidth),t.save();var o=new vu(this.document,null);o.type=this.type,o.attributes.viewBox=new Lh(this.document,"viewBox",this.getAttribute("viewBox").getValue()),o.attributes.refX=new Lh(this.document,"refX",this.getAttribute("refX").getValue()),o.attributes.refY=new Lh(this.document,"refY",this.getAttribute("refY").getValue()),o.attributes.width=new Lh(this.document,"width",this.getAttribute("markerWidth").getValue()),o.attributes.height=new Lh(this.document,"height",this.getAttribute("markerHeight").getValue()),o.attributes.overflow=new Lh(this.document,"overflow",this.getAttribute("overflow").getValue()),o.attributes.fill=new Lh(this.document,"fill",this.getAttribute("fill").getColor("black")),o.attributes.stroke=new Lh(this.document,"stroke",this.getAttribute("stroke").getValue("none")),o.children=this.children,o.render(t),t.restore(),"strokeWidth"===a&&t.scale(1/t.lineWidth,1/t.lineWidth),"auto"===s&&t.rotate(-i),t.translate(-e,-n)}}}class Mu extends Jh{constructor(){super(...arguments),this.type="defs"}render(){}}class ku extends ou{constructor(){super(...arguments),this.type="g"}getBoundingBox(t){var r=new su;return this.children.forEach((i=>{r.addBoundingBox(i.getBoundingBox(t))})),r}}class Su extends Jh{constructor(t,r,i){super(t,r,i),this.attributesToInherit=["gradientUnits"],this.stops=[];var{stops:e,children:n}=this;n.forEach((t=>{"stop"===t.type&&e.push(t)}))}getGradientUnits(){return this.getAttribute("gradientUnits").getString("objectBoundingBox")}createGradient(t,r,i){var e=this;this.getHrefAttribute().hasValue()&&(e=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(e));var{stops:n}=e,s=this.getGradient(t,r);if(!s)return this.addParentOpacity(i,n[n.length-1].color);if(n.forEach((t=>{s.addColorStop(t.offset,this.addParentOpacity(i,t.color))})),this.getAttribute("gradientTransform").hasValue()){var{document:a}=this,{MAX_VIRTUAL_PIXELS:o,viewPort:h}=a.screen,[u]=h.viewPorts,c=new du(a,null);c.attributes.x=new Lh(a,"x",-o/3),c.attributes.y=new Lh(a,"y",-o/3),c.attributes.width=new Lh(a,"width",o),c.attributes.height=new Lh(a,"height",o);var f=new ku(a,null);f.attributes.transform=new Lh(a,"transform",this.getAttribute("gradientTransform").getValue()),f.children=[c];var l=new vu(a,null);l.attributes.x=new Lh(a,"x",0),l.attributes.y=new Lh(a,"y",0),l.attributes.width=new Lh(a,"width",u.width),l.attributes.height=new Lh(a,"height",u.height),l.children=[f];var v=a.createCanvas(u.width,u.height),d=v.getContext("2d");return d.fillStyle=s,l.render(d),d.createPattern(v,"no-repeat")}return s}inheritStopContainer(t){this.attributesToInherit.forEach((r=>{!this.getAttribute(r).hasValue()&&t.getAttribute(r).hasValue()&&this.getAttribute(r,!0).setValue(t.getAttribute(r).getValue())}))}addParentOpacity(t,r){return t.hasValue()?new Lh(this.document,"color",r).addOpacity(t).getColor():r}}class Nu extends Su{constructor(t,r,i){super(t,r,i),this.type="linearGradient",this.attributesToInherit.push("x1","y1","x2","y2")}getGradient(t,r){var i="objectBoundingBox"===this.getGradientUnits(),e=i?r.getBoundingBox(t):null;if(i&&!e)return null;this.getAttribute("x1").hasValue()||this.getAttribute("y1").hasValue()||this.getAttribute("x2").hasValue()||this.getAttribute("y2").hasValue()||(this.getAttribute("x1",!0).setValue(0),this.getAttribute("y1",!0).setValue(0),this.getAttribute("x2",!0).setValue(1),this.getAttribute("y2",!0).setValue(0));var n=i?e.x+e.width*this.getAttribute("x1").getNumber():this.getAttribute("x1").getPixels("x"),s=i?e.y+e.height*this.getAttribute("y1").getNumber():this.getAttribute("y1").getPixels("y"),a=i?e.x+e.width*this.getAttribute("x2").getNumber():this.getAttribute("x2").getPixels("x"),o=i?e.y+e.height*this.getAttribute("y2").getNumber():this.getAttribute("y2").getPixels("y");return n===a&&s===o?null:t.createLinearGradient(n,s,a,o)}}class Pu extends Su{constructor(t,r,i){super(t,r,i),this.type="radialGradient",this.attributesToInherit.push("cx","cy","r","fx","fy","fr")}getGradient(t,r){var i="objectBoundingBox"===this.getGradientUnits(),e=r.getBoundingBox(t);if(i&&!e)return null;this.getAttribute("cx").hasValue()||this.getAttribute("cx",!0).setValue("50%"),this.getAttribute("cy").hasValue()||this.getAttribute("cy",!0).setValue("50%"),this.getAttribute("r").hasValue()||this.getAttribute("r",!0).setValue("50%");var n=i?e.x+e.width*this.getAttribute("cx").getNumber():this.getAttribute("cx").getPixels("x"),s=i?e.y+e.height*this.getAttribute("cy").getNumber():this.getAttribute("cy").getPixels("y"),a=n,o=s;this.getAttribute("fx").hasValue()&&(a=i?e.x+e.width*this.getAttribute("fx").getNumber():this.getAttribute("fx").getPixels("x")),this.getAttribute("fy").hasValue()&&(o=i?e.y+e.height*this.getAttribute("fy").getNumber():this.getAttribute("fy").getPixels("y"));var h=i?(e.width+e.height)/2*this.getAttribute("r").getNumber():this.getAttribute("r").getPixels(),u=this.getAttribute("fr").getPixels();return t.createRadialGradient(a,o,u,n,s,h)}}class ju extends Jh{constructor(t,r,i){super(t,r,i),this.type="stop";var e=Math.max(0,Math.min(1,this.getAttribute("offset").getNumber())),n=this.getStyle("stop-opacity"),s=this.getStyle("stop-color",!0);""===s.getString()&&s.setValue("#000"),n.hasValue()&&(s=s.addOpacity(n)),this.offset=e,this.color=s.getColor()}}class Ou extends Jh{constructor(t,r,i){super(t,r,i),this.type="animate",this.duration=0,this.initialValue=null,this.initialUnits="",this.removed=!1,this.frozen=!1,t.screen.animations.push(this),this.begin=this.getAttribute("begin").getMilliseconds(),this.maxDuration=this.begin+this.getAttribute("dur").getMilliseconds(),this.from=this.getAttribute("from"),this.to=this.getAttribute("to"),this.values=new Lh(t,"values",null);var e=this.getAttribute("values");e.hasValue()&&this.values.setValue(e.getString().split(";"))}getProperty(){var t=this.getAttribute("attributeType").getString(),r=this.getAttribute("attributeName").getString();return"CSS"===t?this.parent.getStyle(r,!0):this.parent.getAttribute(r,!0)}calcValue(){var{initialUnits:t}=this,{progress:r,from:i,to:e}=this.getProgress(),n=i.getNumber()+(e.getNumber()-i.getNumber())*r;return"%"===t&&(n*=100),"".concat(n).concat(t)}update(t){var{parent:r}=this,i=this.getProperty();if(this.initialValue||(this.initialValue=i.getString(),this.initialUnits=i.getUnits()),this.duration>this.maxDuration){var e=this.getAttribute("fill").getString("remove");if("indefinite"===this.getAttribute("repeatCount").getString()||"indefinite"===this.getAttribute("repeatDur").getString())this.duration=0;else if("freeze"!==e||this.frozen){if("remove"===e&&!this.removed)return this.removed=!0,i.setValue(r.animationFrozen?r.animationFrozenValue:this.initialValue),!0}else this.frozen=!0,r.animationFrozen=!0,r.animationFrozenValue=i.getString();return!1}this.duration+=t;var n=!1;if(this.begin<this.duration){var s=this.calcValue(),a=this.getAttribute("type");if(a.hasValue()){var o=a.getString();s="".concat(o,"(").concat(s,")")}i.setValue(s),n=!0}return n}getProgress(){var{document:t,values:r}=this,i={progress:(this.duration-this.begin)/(this.maxDuration-this.begin)};if(r.hasValue()){var e=i.progress*(r.getValue().length-1),n=Math.floor(e),s=Math.ceil(e);i.from=new Lh(t,"from",parseFloat(r.getValue()[n])),i.to=new Lh(t,"to",parseFloat(r.getValue()[s])),i.progress=(e-n)/(s-n)}else i.from=this.from,i.to=this.to;return i}}class Eu extends Ou{constructor(){super(...arguments),this.type="animateColor"}calcValue(){var{progress:t,from:r,to:i}=this.getProgress(),e=new Mo(r.getColor()),n=new Mo(i.getColor());if(e.ok&&n.ok){var s=e.g+(n.g-e.g)*t,a=e.b+(n.b-e.b)*t;return"rgb(".concat(Math.floor(e.r+(n.r-e.r)*t),", ").concat(Math.floor(s),", ").concat(Math.floor(a),")")}return this.getAttribute("from").getColor()}}class Tu extends Ou{constructor(){super(...arguments),this.type="animateTransform"}calcValue(){var{progress:t,from:r,to:i}=this.getProgress(),e=ch(r.getString()),n=ch(i.getString()),s=e.map(((r,i)=>r+(n[i]-r)*t)).join(" ");return s}}class Cu extends Jh{constructor(t,r,i){super(t,r,i),this.type="font",this.glyphs={},this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber();var{definitions:e}=t,{children:n}=this;for(var s of n)switch(s.type){case"font-face":this.fontFace=s;var a=s.getStyle("font-family");a.hasValue()&&(e[a.getString()]=this);break;case"missing-glyph":this.missingGlyph=s;break;case"glyph":var o=s;o.arabicForm?(this.isRTL=!0,this.isArabic=!0,void 0===this.glyphs[o.unicode]&&(this.glyphs[o.unicode]={}),this.glyphs[o.unicode][o.arabicForm]=o):this.glyphs[o.unicode]=o}}render(){}}class Au extends Jh{constructor(t,r,i){super(t,r,i),this.type="font-face",this.ascent=this.getAttribute("ascent").getNumber(),this.descent=this.getAttribute("descent").getNumber(),this.unitsPerEm=this.getAttribute("units-per-em").getNumber()}}class Ru extends hu{constructor(){super(...arguments),this.type="missing-glyph",this.horizAdvX=0}}class Bu extends cu{constructor(){super(...arguments),this.type="tref"}getText(){var t=this.getHrefAttribute().getDefinition();if(t){var r=t.children[0];if(r)return r.getText()}return""}}class Lu extends cu{constructor(t,r,i){super(t,r,i),this.type="a";var{childNodes:e}=r,n=e[0],s=e.length>0&&Array.from(e).every((t=>3===t.nodeType));this.hasText=s,this.text=s?this.getTextFromNode(n):""}getText(){return this.text}renderChildren(t){if(this.hasText){super.renderChildren(t);var{document:r,x:i,y:e}=this,{mouse:n}=r.screen,s=new Lh(r,"fontSize",nu.parse(r.ctx.font).fontSize);n.isWorking()&&n.checkBoundingBox(this,new su(i,e-s.getPixels("y"),i+this.measureText(t),e))}else if(this.children.length>0){var a=new ku(this.document,null);a.children=this.children,a.parent=this,a.render(t)}}onClick(){var{window:t}=this.document;t&&t.open(this.getHrefAttribute().getString())}onMouseMove(){this.document.ctx.canvas.style.cursor="pointer"}}function $u(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);r&&(e=e.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),i.push.apply(i,e)}return i}function Iu(t){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?$u(Object(i),!0).forEach((function(r){Aa(t,r,i[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):$u(Object(i)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(i,r))}))}return t}class Du extends cu{constructor(t,r,i){super(t,r,i),this.type="textPath",this.textWidth=0,this.textHeight=0,this.pathLength=-1,this.glyphInfo=null,this.letterSpacingCache=[],this.measuresCache=new Map([["",0]]);var e=this.getHrefAttribute().getDefinition();this.text=this.getTextFromNode(),this.dataArray=this.parsePathData(e)}getText(){return this.text}path(t){var{dataArray:r}=this;t&&t.beginPath(),r.forEach((r=>{var{type:i,points:e}=r;switch(i){case au.LINE_TO:t&&t.lineTo(e[0],e[1]);break;case au.MOVE_TO:t&&t.moveTo(e[0],e[1]);break;case au.CURVE_TO:t&&t.bezierCurveTo(e[0],e[1],e[2],e[3],e[4],e[5]);break;case au.QUAD_TO:t&&t.quadraticCurveTo(e[0],e[1],e[2],e[3]);break;case au.ARC:var[n,s,a,o,h,u,c,f]=e,l=a>o?a:o,v=a>o?1:a/o,d=a>o?o/a:1;t&&(t.translate(n,s),t.rotate(c),t.scale(v,d),t.arc(0,0,l,h,h+u,Boolean(1-f)),t.scale(1/v,1/d),t.rotate(-c),t.translate(-n,-s));break;case au.CLOSE_PATH:t&&t.closePath()}}))}renderChildren(t){this.setTextData(t),t.save();var r=this.parent.getStyle("text-decoration").getString(),i=this.getFontSize(),{glyphInfo:e}=this,n=t.fillStyle;"underline"===r&&t.beginPath(),e.forEach(((e,n)=>{var{p0:s,p1:a,rotation:o,text:h}=e;t.save(),t.translate(s.x,s.y),t.rotate(o),t.fillStyle&&t.fillText(h,0,0),t.strokeStyle&&t.strokeText(h,0,0),t.restore(),"underline"===r&&(0===n&&t.moveTo(s.x,s.y+i/8),t.lineTo(a.x,a.y+i/5))})),"underline"===r&&(t.lineWidth=i/20,t.strokeStyle=n,t.stroke(),t.closePath()),t.restore()}getLetterSpacingAt(){return this.letterSpacingCache[arguments.length>0&&void 0!==arguments[0]?arguments[0]:0]||0}findSegmentToFitChar(t,r,i,e,n,s,a,o,h){var u=s,c=this.measureText(t,o);" "===o&&"justify"===r&&i<e&&(c+=(e-i)/n),h>-1&&(u+=this.getLetterSpacingAt(h));var f=this.textHeight/20,l=this.getEquidistantPointOnPath(u,f,0),v=this.getEquidistantPointOnPath(u+c,f,0),d={p0:l,p1:v},p=l&&v?Math.atan2(v.y-l.y,v.x-l.x):0;if(a){var y=Math.cos(Math.PI/2+p)*a,g=Math.cos(-p)*a;d.p0=Iu(Iu({},l),{},{x:l.x+y,y:l.y+g}),d.p1=Iu(Iu({},v),{},{x:v.x+y,y:v.y+g})}return{offset:u+=c,segment:d,rotation:p}}measureText(t,r){var{measuresCache:i}=this,e=r||this.getText();if(i.has(e))return i.get(e);var n=this.measureTargetText(t,e);return i.set(e,n),n}setTextData(t){if(!this.glyphInfo){var r=this.getText(),i=r.split(""),e=r.split(" ").length-1,n=this.parent.getAttribute("dx").split().map((t=>t.getPixels("x"))),s=this.parent.getAttribute("dy").getPixels("y"),a=this.parent.getStyle("text-anchor").getString("start"),o=this.getStyle("letter-spacing"),h=this.parent.getStyle("letter-spacing"),u=0;o.hasValue()&&"inherit"!==o.getValue()?o.hasValue()&&"initial"!==o.getValue()&&"unset"!==o.getValue()&&(u=o.getPixels()):u=h.getPixels();var c=[],f=r.length;this.letterSpacingCache=c;for(var l=0;l<f;l++)c.push(void 0!==n[l]?n[l]:u);var v=c.reduce(((t,r,i)=>0===i?0:t+r||0),0),d=this.measureText(t),p=Math.max(d+v,0);this.textWidth=d,this.textHeight=this.getFontSize(),this.glyphInfo=[];var y=this.getPathLength(),g=this.getStyle("startOffset").getNumber(0)*y,m=0;"middle"!==a&&"center"!==a||(m=-p/2),"end"!==a&&"right"!==a||(m=-p),m+=g,i.forEach(((r,n)=>{var{offset:o,segment:h,rotation:u}=this.findSegmentToFitChar(t,a,p,y,e,m,s,r,n);m=o,h.p0&&h.p1&&this.glyphInfo.push({text:i[n],p0:h.p0,p1:h.p1,rotation:u})}))}}parsePathData(t){if(this.pathLength=-1,!t)return[];var r=[],{pathParser:i}=t;for(i.reset();!i.isEnd();){var{current:e}=i,n=e?e.x:0,s=e?e.y:0,a=i.next(),o=a.type,h=[];switch(a.type){case au.MOVE_TO:this.pathM(i,h);break;case au.LINE_TO:o=this.pathL(i,h);break;case au.HORIZ_LINE_TO:o=this.pathH(i,h);break;case au.VERT_LINE_TO:o=this.pathV(i,h);break;case au.CURVE_TO:this.pathC(i,h);break;case au.SMOOTH_CURVE_TO:o=this.pathS(i,h);break;case au.QUAD_TO:this.pathQ(i,h);break;case au.SMOOTH_QUAD_TO:o=this.pathT(i,h);break;case au.ARC:h=this.pathA(i);break;case au.CLOSE_PATH:hu.pathZ(i)}r.push(a.type!==au.CLOSE_PATH?{type:o,points:h,start:{x:n,y:s},pathLength:this.calcLength(n,s,o,h)}:{type:au.CLOSE_PATH,points:[],pathLength:0})}return r}pathM(t,r){var{x:i,y:e}=hu.pathM(t).point;r.push(i,e)}pathL(t,r){var{x:i,y:e}=hu.pathL(t).point;return r.push(i,e),au.LINE_TO}pathH(t,r){var{x:i,y:e}=hu.pathH(t).point;return r.push(i,e),au.LINE_TO}pathV(t,r){var{x:i,y:e}=hu.pathV(t).point;return r.push(i,e),au.LINE_TO}pathC(t,r){var{point:i,controlPoint:e,currentPoint:n}=hu.pathC(t);r.push(i.x,i.y,e.x,e.y,n.x,n.y)}pathS(t,r){var{point:i,controlPoint:e,currentPoint:n}=hu.pathS(t);return r.push(i.x,i.y,e.x,e.y,n.x,n.y),au.CURVE_TO}pathQ(t,r){var{controlPoint:i,currentPoint:e}=hu.pathQ(t);r.push(i.x,i.y,e.x,e.y)}pathT(t,r){var{controlPoint:i,currentPoint:e}=hu.pathT(t);return r.push(i.x,i.y,e.x,e.y),au.QUAD_TO}pathA(t){var{rX:r,rY:i,sweepFlag:e,xAxisRotation:n,centp:s,a1:a,ad:o}=hu.pathA(t);return 0===e&&o>0&&(o-=2*Math.PI),1===e&&o<0&&(o+=2*Math.PI),[s.x,s.y,r,i,a,o,n,e]}calcLength(t,r,i,e){var n=0,s=null,a=null,o=0;switch(i){case au.LINE_TO:return this.getLineLength(t,r,e[0],e[1]);case au.CURVE_TO:for(n=0,s=this.getPointOnCubicBezier(0,t,r,e[0],e[1],e[2],e[3],e[4],e[5]),o=.01;o<=1;o+=.01)a=this.getPointOnCubicBezier(o,t,r,e[0],e[1],e[2],e[3],e[4],e[5]),n+=this.getLineLength(s.x,s.y,a.x,a.y),s=a;return n;case au.QUAD_TO:for(n=0,s=this.getPointOnQuadraticBezier(0,t,r,e[0],e[1],e[2],e[3]),o=.01;o<=1;o+=.01)a=this.getPointOnQuadraticBezier(o,t,r,e[0],e[1],e[2],e[3]),n+=this.getLineLength(s.x,s.y,a.x,a.y),s=a;return n;case au.ARC:n=0;var h=e[4],u=e[5],c=e[4]+u,f=Math.PI/180;if(Math.abs(h-c)<f&&(f=Math.abs(h-c)),s=this.getPointOnEllipticalArc(e[0],e[1],e[2],e[3],h,0),u<0)for(o=h-f;o>c;o-=f)a=this.getPointOnEllipticalArc(e[0],e[1],e[2],e[3],o,0),n+=this.getLineLength(s.x,s.y,a.x,a.y),s=a;else for(o=h+f;o<c;o+=f)a=this.getPointOnEllipticalArc(e[0],e[1],e[2],e[3],o,0),n+=this.getLineLength(s.x,s.y,a.x,a.y),s=a;return a=this.getPointOnEllipticalArc(e[0],e[1],e[2],e[3],c,0),n+this.getLineLength(s.x,s.y,a.x,a.y)}return 0}getPointOnLine(t,r,i,e,n){var s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:r,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:i,o=(n-i)/(e-r+Sh),h=Math.sqrt(t*t/(1+o*o));e<r&&(h*=-1);var u=o*h,c=null;if(e===r)c={x:s,y:a+u};else if((a-i)/(s-r+Sh)===o)c={x:s+h,y:a+u};else{var f,l,v=this.getLineLength(r,i,e,n);if(v<Sh)return null;var d=(s-r)*(e-r)+(a-i)*(n-i),p=this.getLineLength(s,a,f=r+(d/=v*v)*(e-r),l=i+d*(n-i)),y=Math.sqrt(t*t-p*p);h=Math.sqrt(y*y/(1+o*o)),e<r&&(h*=-1),c={x:f+h,y:l+(u=o*h)}}return c}getPointOnPath(t){var r=this.getPathLength(),i=0,e=null;if(t<-5e-5||t-5e-5>r)return null;var{dataArray:n}=this;for(var s of n){if(!s||!(s.pathLength<5e-5||i+s.pathLength+5e-5<t)){var a=t-i,o=0;switch(s.type){case au.LINE_TO:e=this.getPointOnLine(a,s.start.x,s.start.y,s.points[0],s.points[1],s.start.x,s.start.y);break;case au.ARC:var h=s.points[5],u=s.points[4]+h;if(o=s.points[4]+a/s.pathLength*h,h<0&&o<u||h>=0&&o>u)break;e=this.getPointOnEllipticalArc(s.points[0],s.points[1],s.points[2],s.points[3],o,s.points[6]);break;case au.CURVE_TO:(o=a/s.pathLength)>1&&(o=1),e=this.getPointOnCubicBezier(o,s.start.x,s.start.y,s.points[0],s.points[1],s.points[2],s.points[3],s.points[4],s.points[5]);break;case au.QUAD_TO:(o=a/s.pathLength)>1&&(o=1),e=this.getPointOnQuadraticBezier(o,s.start.x,s.start.y,s.points[0],s.points[1],s.points[2],s.points[3])}if(e)return e;break}i+=s.pathLength}return null}getLineLength(t,r,i,e){return Math.sqrt((i-t)*(i-t)+(e-r)*(e-r))}getPathLength(){return-1===this.pathLength&&(this.pathLength=this.dataArray.reduce(((t,r)=>r.pathLength>0?t+r.pathLength:t),0)),this.pathLength}getPointOnCubicBezier(t,r,i,e,n,s,a,o,h){return{x:o*Oh(t)+s*Eh(t)+e*Th(t)+r*Ch(t),y:h*Oh(t)+a*Eh(t)+n*Th(t)+i*Ch(t)}}getPointOnQuadraticBezier(t,r,i,e,n,s,a){return{x:s*Ah(t)+e*Rh(t)+r*Bh(t),y:a*Ah(t)+n*Rh(t)+i*Bh(t)}}getPointOnEllipticalArc(t,r,i,e,n,s){var a=Math.cos(s),o=Math.sin(s),h=i*Math.cos(n),u=e*Math.sin(n);return{x:t+(h*a-u*o),y:r+(h*o+u*a)}}buildEquidistantCache(t,r){var i=this.getPathLength(),e=r||.25,n=t||i/100;if(!this.equidistantCache||this.equidistantCache.step!==n||this.equidistantCache.precision!==e){this.equidistantCache={step:n,precision:e,points:[]};for(var s=0,a=0;a<=i;a+=e){var o=this.getPointOnPath(a),h=this.getPointOnPath(a+e);o&&h&&(s+=this.getLineLength(o.x,o.y,h.x,h.y))>=n&&(this.equidistantCache.points.push({x:o.x,y:o.y,distance:a}),s-=n)}}}getEquidistantPointOnPath(t,r,i){if(this.buildEquidistantCache(r,i),t<0||t-this.getPathLength()>5e-5)return null;var e=Math.round(t/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[e]||null}}var Fu=/^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*)$/i;class zu extends ou{constructor(t,r,i){super(t,r,i),this.type="image",this.loaded=!1;var e=this.getHrefAttribute().getString();if(e){var n=e.endsWith(".svg")||/^\s*data:image\/svg\+xml/i.test(e);t.images.push(this),n?this.loadSvg(e):this.loadImage(e),this.isSvg=n}}loadImage(t){var r=this;return gn((function*(){try{var i=yield r.document.createImage(t);r.image=i}catch(r){console.error('Error while loading image "'.concat(t,'":'),r)}r.loaded=!0}))()}loadSvg(t){var r=this;return gn((function*(){var i=Fu.exec(t);if(i){var e=i[5];r.image="base64"===i[4]?atob(e):decodeURIComponent(e)}else try{var n=yield r.document.fetch(t),s=yield n.text();r.image=s}catch(r){console.error('Error while loading image "'.concat(t,'":'),r)}r.loaded=!0}))()}renderChildren(t){var{document:r,image:i,loaded:e}=this,n=this.getAttribute("x").getPixels("x"),s=this.getAttribute("y").getPixels("y"),a=this.getStyle("width").getPixels("x"),o=this.getStyle("height").getPixels("y");if(e&&i&&a&&o){if(t.save(),t.translate(n,s),this.isSvg){var h=r.canvg.forkString(t,this.image,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:0,offsetY:0,scaleWidth:a,scaleHeight:o});h.document.documentElement.parent=this,h.render()}else{var u=this.image;r.setViewBox({ctx:t,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:a,desiredWidth:u.width,height:o,desiredHeight:u.height}),this.loaded&&(void 0===u.complete||u.complete)&&t.drawImage(u,0,0)}t.restore()}}getBoundingBox(){var t=this.getAttribute("x").getPixels("x"),r=this.getAttribute("y").getPixels("y"),i=this.getStyle("width").getPixels("x"),e=this.getStyle("height").getPixels("y");return new su(t,r,t+i,r+e)}}class _u extends ou{constructor(){super(...arguments),this.type="symbol"}render(t){}}class Yu{constructor(t){this.document=t,this.loaded=!1,t.fonts.push(this)}load(t,r){var i=this;return gn((function*(){try{var{document:e}=i,n=(yield e.canvg.parser.load(r)).getElementsByTagName("font");Array.from(n).forEach((r=>{var i=e.createElement(r);e.definitions[t]=i}))}catch(t){console.error('Error while loading font "'.concat(r,'":'),t)}i.loaded=!0}))()}}class Xu extends Jh{constructor(t,r,i){super(t,r,i),this.type="style";var e=oh(Array.from(r.childNodes).map((t=>t.textContent)).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,"").replace(/@import.*;/g,""));e.split("}").forEach((r=>{var i=r.trim();if(i){var e=i.split("{"),n=e[0].split(","),s=e[1].split(";");n.forEach((r=>{var i=r.trim();if(i){var e=t.styles[i]||{};if(s.forEach((r=>{var i=r.indexOf(":"),n=r.substr(0,i).trim(),s=r.substr(i+1,r.length-i).trim();n&&s&&(e[n]=new Lh(t,n,s))})),t.styles[i]=e,t.stylesSpecificity[i]=kh(i),"@font-face"===i){var n=e["font-family"].getString().replace(/"|'/g,"");e.src.getString().split(",").forEach((r=>{if(r.indexOf('format("svg")')>0){var i=vh(r);i&&new Yu(t).load(n,i)}}))}}}))}}))}}Xu.parseExternalUrl=vh;class qu extends ou{constructor(){super(...arguments),this.type="use"}setContext(t){super.setContext(t);var r=this.getAttribute("x"),i=this.getAttribute("y");r.hasValue()&&t.translate(r.getPixels("x"),0),i.hasValue()&&t.translate(0,i.getPixels("y"))}path(t){var{element:r}=this;r&&r.path(t)}renderChildren(t){var{document:r,element:i}=this;if(i){var e=i;if("symbol"===i.type&&((e=new vu(r,null)).attributes.viewBox=new Lh(r,"viewBox",i.getAttribute("viewBox").getString()),e.attributes.preserveAspectRatio=new Lh(r,"preserveAspectRatio",i.getAttribute("preserveAspectRatio").getString()),e.attributes.overflow=new Lh(r,"overflow",i.getAttribute("overflow").getString()),e.children=i.children,i.styles.opacity=new Lh(r,"opacity",this.calculateOpacity())),"svg"===e.type){var n=this.getStyle("width",!1,!0),s=this.getStyle("height",!1,!0);n.hasValue()&&(e.attributes.width=new Lh(r,"width",n.getString())),s.hasValue()&&(e.attributes.height=new Lh(r,"height",s.getString()))}var a=e.parent;e.parent=this,e.render(t),e.parent=a}}getBoundingBox(t){var{element:r}=this;return r?r.getBoundingBox(t):null}elementTransform(){var{document:t,element:r}=this;return Kh.fromElement(t,r)}get element(){return this.cachedElement||(this.cachedElement=this.getHrefAttribute().getDefinition()),this.cachedElement}}function Gu(t,r,i,e,n,s){return t[i*e*4+4*r+s]}function Uu(t,r,i,e,n,s,a){t[i*e*4+4*r+s]=a}function Vu(t,r,i){return t[r]*i}function Hu(t,r,i,e){return r+Math.cos(t)*i+Math.sin(t)*e}class Wu extends Jh{constructor(t,r,i){super(t,r,i),this.type="feColorMatrix";var e=ch(this.getAttribute("values").getString());switch(this.getAttribute("type").getString("matrix")){case"saturate":var n=e[0];e=[.213+.787*n,.715-.715*n,.072-.072*n,0,0,.213-.213*n,.715+.285*n,.072-.072*n,0,0,.213-.213*n,.715-.715*n,.072+.928*n,0,0,0,0,0,1,0,0,0,0,0,1];break;case"hueRotate":var s=e[0]*Math.PI/180;e=[Hu(s,.213,.787,-.213),Hu(s,.715,-.715,-.715),Hu(s,.072,-.072,.928),0,0,Hu(s,.213,-.213,.143),Hu(s,.715,.285,.14),Hu(s,.072,-.072,-.283),0,0,Hu(s,.213,-.213,-.787),Hu(s,.715,-.715,.715),Hu(s,.072,.928,.072),0,0,0,0,0,1,0,0,0,0,0,1];break;case"luminanceToAlpha":e=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2125,.7154,.0721,0,0,0,0,0,0,1]}this.matrix=e,this.includeOpacity=this.getAttribute("includeOpacity").hasValue()}apply(t,r,i,e,n){for(var{includeOpacity:s,matrix:a}=this,o=t.getImageData(0,0,e,n),h=0;h<n;h++)for(var u=0;u<e;u++){var c=Gu(o.data,u,h,e,0,0),f=Gu(o.data,u,h,e,0,1),l=Gu(o.data,u,h,e,0,2),v=Gu(o.data,u,h,e,0,3),d=Vu(a,0,c)+Vu(a,1,f)+Vu(a,2,l)+Vu(a,3,v)+Vu(a,4,1),p=Vu(a,5,c)+Vu(a,6,f)+Vu(a,7,l)+Vu(a,8,v)+Vu(a,9,1),y=Vu(a,10,c)+Vu(a,11,f)+Vu(a,12,l)+Vu(a,13,v)+Vu(a,14,1),g=Vu(a,15,c)+Vu(a,16,f)+Vu(a,17,l)+Vu(a,18,v)+Vu(a,19,1);s&&(d=0,p=0,y=0,g*=v/255),Uu(o.data,u,h,e,0,0,d),Uu(o.data,u,h,e,0,1,p),Uu(o.data,u,h,e,0,2,y),Uu(o.data,u,h,e,0,3,g)}t.clearRect(0,0,e,n),t.putImageData(o,0,0)}}class Qu extends Jh{constructor(){super(...arguments),this.type="mask"}apply(t,r){var{document:i}=this,e=this.getAttribute("x").getPixels("x"),n=this.getAttribute("y").getPixels("y"),s=this.getStyle("width").getPixels("x"),a=this.getStyle("height").getPixels("y");if(!s&&!a){var o=new su;this.children.forEach((r=>{o.addBoundingBox(r.getBoundingBox(t))})),e=Math.floor(o.x1),n=Math.floor(o.y1),s=Math.floor(o.width),a=Math.floor(o.height)}var h=this.removeStyles(r,Qu.ignoreStyles),u=i.createCanvas(e+s,n+a),c=u.getContext("2d");i.screen.setDefaults(c),this.renderChildren(c),new Wu(i,{nodeType:1,childNodes:[],attributes:[{nodeName:"type",value:"luminanceToAlpha"},{nodeName:"includeOpacity",value:"true"}]}).apply(c,0,0,e+s,n+a);var f=i.createCanvas(e+s,n+a),l=f.getContext("2d");i.screen.setDefaults(l),r.render(l),l.globalCompositeOperation="destination-in",l.fillStyle=c.createPattern(u,"no-repeat"),l.fillRect(0,0,e+s,n+a),t.fillStyle=l.createPattern(f,"no-repeat"),t.fillRect(0,0,e+s,n+a),this.restoreStyles(r,h)}render(t){}}Qu.ignoreStyles=["mask","transform","clip-path"];var Zu=()=>{};class Ku extends Jh{constructor(){super(...arguments),this.type="clipPath"}apply(t){var{document:r}=this,i=Reflect.getPrototypeOf(t),{beginPath:e,closePath:n}=t;i&&(i.beginPath=Zu,i.closePath=Zu),Reflect.apply(e,t,[]),this.children.forEach((e=>{if(void 0!==e.path){var s=void 0!==e.elementTransform?e.elementTransform():null;s||(s=Kh.fromElement(r,e)),s&&s.apply(t),e.path(t),i&&(i.closePath=n),s&&s.unapply(t)}})),Reflect.apply(n,t,[]),t.clip(),i&&(i.beginPath=e,i.closePath=n)}render(t){}}class Ju extends Jh{constructor(){super(...arguments),this.type="filter"}apply(t,r){var{document:i,children:e}=this,n=r.getBoundingBox(t);if(n){var s=0,a=0;e.forEach((t=>{var r=t.extraFilterDistance||0;s=Math.max(s,r),a=Math.max(a,r)}));var o=Math.floor(n.width),h=Math.floor(n.height),u=o+2*s,c=h+2*a;if(!(u<1||c<1)){var f=Math.floor(n.x),l=Math.floor(n.y),v=this.removeStyles(r,Ju.ignoreStyles),d=i.createCanvas(u,c),p=d.getContext("2d");i.screen.setDefaults(p),p.translate(-f+s,-l+a),r.render(p),e.forEach((t=>{"function"==typeof t.apply&&t.apply(p,0,0,u,c)})),t.drawImage(d,0,0,u,c,f-s,l-a,u,c),this.restoreStyles(r,v)}}}render(t){}}Ju.ignoreStyles=["filter","transform","clip-path"];class tc extends Jh{constructor(t,r,i){super(t,r,i),this.type="feDropShadow",this.addStylesFromStyleDefinition()}apply(t,r,i,e,n){}}class rc extends Jh{constructor(){super(...arguments),this.type="feMorphology"}apply(t,r,i,e,n){}}class ic extends Jh{constructor(){super(...arguments),this.type="feComposite"}apply(t,r,i,e,n){}}class ec extends Jh{constructor(t,r,i){super(t,r,i),this.type="feGaussianBlur",this.blurRadius=Math.floor(this.getAttribute("stdDeviation").getNumber()),this.extraFilterDistance=this.blurRadius}apply(t,r,i,e,n){var{document:s,blurRadius:a}=this,o=s.window?s.window.document.body:null,h=t.canvas;h.id=s.getUniqueId(),o&&(h.style.display="none",o.appendChild(h)),nh(h,r,i,e,n,a),o&&o.removeChild(h)}}class nc extends Jh{constructor(){super(...arguments),this.type="title"}}class sc extends Jh{constructor(){super(...arguments),this.type="desc"}}var ac={svg:vu,rect:du,circle:pu,ellipse:yu,line:gu,polyline:mu,polygon:bu,path:hu,pattern:wu,marker:xu,defs:Mu,linearGradient:Nu,radialGradient:Pu,stop:ju,animate:Ou,animateColor:Eu,animateTransform:Tu,font:Cu,"font-face":Au,"missing-glyph":Ru,glyph:uu,text:cu,tspan:fu,tref:Bu,a:Lu,textPath:Du,image:zu,g:ku,symbol:_u,style:Xu,use:qu,mask:Qu,clipPath:Ku,filter:Ju,feDropShadow:tc,feMorphology:rc,feComposite:ic,feColorMatrix:Wu,feGaussianBlur:ec,title:nc,desc:sc};function oc(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);r&&(e=e.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),i.push.apply(i,e)}return i}function hc(){return hc=gn((function*(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=document.createElement("img");return r&&(i.crossOrigin="Anonymous"),new Promise(((r,e)=>{i.onload=()=>{r(i)},i.onerror=(t,r,i,n,s)=>{e(s)},i.src=t}))})),hc.apply(this,arguments)}class uc{constructor(t){var{rootEmSize:r=12,emSize:i=12,createCanvas:e=uc.createCanvas,createImage:n=uc.createImage,anonymousCrossOrigin:s}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.canvg=t,this.definitions={},this.styles={},this.stylesSpecificity={},this.images=[],this.fonts=[],this.emSizeStack=[],this.uniqueId=0,this.screen=t.screen,this.rootEmSize=r,this.emSize=i,this.createCanvas=e,this.createImage=this.bindCreateImage(n,s),this.screen.wait(this.isImagesLoaded.bind(this)),this.screen.wait(this.isFontsLoaded.bind(this))}bindCreateImage(t,r){return"boolean"==typeof r?(i,e)=>t(i,"boolean"==typeof e?e:r):t}get window(){return this.screen.window}get fetch(){return this.screen.fetch}get ctx(){return this.screen.ctx}get emSize(){var{emSizeStack:t}=this;return t[t.length-1]}set emSize(t){var{emSizeStack:r}=this;r.push(t)}popEmSize(){var{emSizeStack:t}=this;t.pop()}getUniqueId(){return"canvg".concat(++this.uniqueId)}isImagesLoaded(){return this.images.every((t=>t.loaded))}isFontsLoaded(){return this.fonts.every((t=>t.loaded))}createDocumentElement(t){var r=this.createElement(t.documentElement);return r.root=!0,r.addStylesFromStyleDefinition(),this.documentElement=r,r}createElement(t){var r=t.nodeName.replace(/^[^:]+:/,""),i=uc.elementTypes[r];return void 0!==i?new i(this,t):new tu(this,t)}createTextNode(t){return new lu(this,t)}setViewBox(t){this.screen.setViewBox(function(t){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?oc(Object(i),!0).forEach((function(r){Aa(t,r,i[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):oc(Object(i)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(i,r))}))}return t}({document:this},t))}}function cc(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);r&&(e=e.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),i.push.apply(i,e)}return i}function fc(t){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?cc(Object(i),!0).forEach((function(r){Aa(t,r,i[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):cc(Object(i)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(i,r))}))}return t}uc.createCanvas=function(t,r){var i=document.createElement("canvas");return i.width=t,i.height=r,i},uc.createImage=function(t){return hc.apply(this,arguments)},uc.elementTypes=ac;class lc{constructor(t,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.parser=new qh(i),this.screen=new _h(t,i),this.options=i;var e=new uc(this,i),n=e.createDocumentElement(r);this.document=e,this.documentElement=n}static from(t,r){var i=arguments;return gn((function*(){var e=i.length>2&&void 0!==i[2]?i[2]:{},n=new qh(e),s=yield n.parse(r);return new lc(t,s,e)}))()}static fromString(t,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},e=new qh(i).parseFromString(r);return new lc(t,e,i)}fork(t,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return lc.from(t,r,fc(fc({},this.options),i))}forkString(t,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return lc.fromString(t,r,fc(fc({},this.options),i))}ready(){return this.screen.ready()}isReady(){return this.screen.isReady()}render(){var t=arguments,r=this;return gn((function*(){r.start(fc({enableRedraw:!0,ignoreAnimation:!0,ignoreMouse:!0},t.length>0&&void 0!==t[0]?t[0]:{})),yield r.ready(),r.stop()}))()}start(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{documentElement:r,screen:i,options:e}=this;i.start(r,fc(fc({enableRedraw:!0},e),t))}stop(){this.screen.stop()}resize(t){this.documentElement.resize(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,arguments.length>2&&void 0!==arguments[2]&&arguments[2])}}export default lc;export{Lu as AElement,Eu as AnimateColorElement,Ou as AnimateElement,Tu as AnimateTransformElement,su as BoundingBox,Oh as CB1,Eh as CB2,Th as CB3,Ch as CB4,lc as Canvg,pu as CircleElement,Ku as ClipPathElement,Mu as DefsElement,sc as DescElement,uc as Document,Jh as Element,yu as EllipseElement,Wu as FeColorMatrixElement,ic as FeCompositeElement,tc as FeDropShadowElement,ec as FeGaussianBlurElement,rc as FeMorphologyElement,Ju as FilterElement,nu as Font,Cu as FontElement,Au as FontFaceElement,ku as GElement,uu as GlyphElement,Su as GradientElement,zu as ImageElement,gu as LineElement,Nu as LinearGradientElement,xu as MarkerElement,Qu as MaskElement,Hh as Matrix,Ru as MissingGlyphElement,Dh as Mouse,Sh as PSEUDO_ZERO,qh as Parser,hu as PathElement,au as PathParser,wu as PatternElement,Ih as Point,bu as PolygonElement,mu as PolylineElement,Lh as Property,Ah as QB1,Rh as QB2,Bh as QB3,Pu as RadialGradientElement,du as RectElement,ou as RenderedElement,Uh as Rotate,vu as SVGElement,Yu as SVGFontLoader,Vh as Scale,_h as Screen,Wh as Skew,Qh as SkewX,Zh as SkewY,ju as StopElement,Xu as StyleElement,_u as SymbolElement,Bu as TRefElement,fu as TSpanElement,cu as TextElement,Du as TextPathElement,nc as TitleElement,Kh as Transform,Gh as Translate,tu as UnknownElement,qu as UseElement,$h as ViewPort,oh as compressSpaces,kh as getSelectorSpecificity,lh as normalizeAttributeName,dh as normalizeColor,vh as parseExternalUrl,ah as presets,ch as toNumbers,hh as trimLeft,uh as trimRight,Nh as vectorMagnitude,jh as vectorsAngle,Ph as vectorsRatio}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{b as t}from"./p-6b2f2b85.js";
|
7
|
-
/**!
|
8
|
-
* Sortable 1.15.0
|
9
|
-
* @author RubaXa <trash@rubaxa.org>
|
10
|
-
* @author owenm <owen23355@gmail.com>
|
11
|
-
* @license MIT
|
12
|
-
*/function n(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);n&&(e=e.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),i.push.apply(i,e)}return i}function i(t){for(var i=1;i<arguments.length;i++){var e=null!=arguments[i]?arguments[i]:{};i%2?n(Object(e),!0).forEach((function(n){o(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):n(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}function o(t,n,i){return n in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}function r(){return r=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var e in i)Object.prototype.hasOwnProperty.call(i,e)&&(t[e]=i[e])}return t},r.apply(this,arguments)}function a(t){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(t)}var u=a(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),s=a(/Edge/i),l=a(/firefox/i),c=a(/safari/i)&&!a(/chrome/i)&&!a(/android/i),f=a(/iP(ad|od|hone)/i),h=a(/chrome/i)&&a(/android/i),d={capture:!1,passive:!1};function v(t,n,i){t.addEventListener(n,i,!u&&d)}function m(t,n,i){t.removeEventListener(n,i,!u&&d)}function g(t,n){if(n){if(">"===n[0]&&(n=n.substring(1)),t)try{if(t.matches)return t.matches(n);if(t.msMatchesSelector)return t.msMatchesSelector(n);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(n)}catch(t){return!1}return!1}}function p(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function b(t,n,i,e){if(t){i=i||document;do{if(null!=n&&(">"===n[0]?t.parentNode===i&&g(t,n):g(t,n))||e&&t===i)return t;if(t===i)break}while(t=p(t))}return null}var w,E=/\s+/g;function y(t,n,i){if(t&&n)if(t.classList)t.classList[i?"add":"remove"](n);else{var e=(" "+t.className+" ").replace(E," ").replace(" "+n+" "," ");t.className=(e+(i?" "+n:"")).replace(E," ")}}function S(t,n,i){var e=t&&t.style;if(e){if(void 0===i)return document.defaultView&&document.defaultView.getComputedStyle?i=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(i=t.currentStyle),void 0===n?i:i[n];n in e||-1!==n.indexOf("webkit")||(n="-webkit-"+n),e[n]=i+("string"==typeof i?"":"px")}}function T(t,n){var i="";if("string"==typeof t)i=t;else do{var e=S(t,"transform");e&&"none"!==e&&(i=e+" "+i)}while(!n&&(t=t.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(i)}function I(t,n,i){if(t){var e=t.getElementsByTagName(n),o=0,r=e.length;if(i)for(;o<r;o++)i(e[o],o);return e}return[]}function O(){return document.scrollingElement||document.documentElement}function x(t,n,i,e,o){if(t.getBoundingClientRect||t===window){var r,a,s,l,c,f,h;if(t!==window&&t.parentNode&&t!==O()?(a=(r=t.getBoundingClientRect()).top,s=r.left,l=r.bottom,c=r.right,f=r.height,h=r.width):(a=0,s=0,l=window.innerHeight,c=window.innerWidth,f=window.innerHeight,h=window.innerWidth),(n||i)&&t!==window&&(o=o||t.parentNode,!u))do{if(o&&o.getBoundingClientRect&&("none"!==S(o,"transform")||i&&"static"!==S(o,"position"))){var d=o.getBoundingClientRect();a-=d.top+parseInt(S(o,"border-top-width")),s-=d.left+parseInt(S(o,"border-left-width")),l=a+r.height,c=s+r.width;break}}while(o=o.parentNode);if(e&&t!==window){var v=T(o||t),m=v&&v.a,g=v&&v.d;v&&(l=(a/=g)+(f/=g),c=(s/=m)+(h/=m))}return{top:a,left:s,bottom:l,right:c,width:h,height:f}}}function M(t,n,i){for(var e=C(t,!0),o=x(t)[n];e;){var r=x(e)[i];if(!("top"===i||"left"===i?o>=r:o<=r))return e;if(e===O())break;e=C(e,!1)}return!1}function _(t,n,i,e){for(var o=0,r=0,a=t.children;r<a.length;){if("none"!==a[r].style.display&&a[r]!==zt.ghost&&(e||a[r]!==zt.dragged)&&b(a[r],i.draggable,t,!1)){if(o===n)return a[r];o++}r++}return null}function D(t,n){for(var i=t.lastElementChild;i&&(i===zt.ghost||"none"===S(i,"display")||n&&!g(i,n));)i=i.previousElementSibling;return i||null}function k(t,n){var i=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)"TEMPLATE"===t.nodeName.toUpperCase()||t===zt.clone||n&&!g(t,n)||i++;return i}function j(t){var n=0,i=0,e=O();if(t)do{var o=T(t);n+=t.scrollLeft*o.a,i+=t.scrollTop*o.d}while(t!==e&&(t=t.parentNode));return[n,i]}function C(t,n){if(!t||!t.getBoundingClientRect)return O();var i=t,e=!1;do{if(i.clientWidth<i.scrollWidth||i.clientHeight<i.scrollHeight){var o=S(i);if(i.clientWidth<i.scrollWidth&&("auto"==o.overflowX||"scroll"==o.overflowX)||i.clientHeight<i.scrollHeight&&("auto"==o.overflowY||"scroll"==o.overflowY)){if(!i.getBoundingClientRect||i===document.body)return O();if(e||n)return i;e=!0}}}while(i=i.parentNode);return O()}function A(t,n){return Math.round(t.top)===Math.round(n.top)&&Math.round(t.left)===Math.round(n.left)&&Math.round(t.height)===Math.round(n.height)&&Math.round(t.width)===Math.round(n.width)}function z(t,n){return function(){if(!w){var i=arguments;1===i.length?t.call(this,i[0]):t.apply(this,i),w=setTimeout((function(){w=void 0}),n)}}}function N(t,n,i){t.scrollLeft+=n,t.scrollTop+=i}function F(t){var n=window.Polymer,i=window.jQuery||window.Zepto;return n&&n.dom?n.dom(t).cloneNode(!0):i?i(t).clone(!0)[0]:t.cloneNode(!0)}var P="Sortable"+(new Date).getTime();var B=[],H={initializeByDefault:!0},G={mount:function(t){for(var n in H)H.hasOwnProperty(n)&&!(n in t)&&(t[n]=H[n]);B.forEach((function(n){if(n.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")})),B.push(t)},pluginEvent:function(t,n,e){var o=this;this.eventCanceled=!1,e.cancel=function(){o.eventCanceled=!0};var r=t+"Global";B.forEach((function(o){n[o.pluginName]&&(n[o.pluginName][r]&&n[o.pluginName][r](i({sortable:n},e)),n.options[o.pluginName]&&n[o.pluginName][t]&&n[o.pluginName][t](i({sortable:n},e)))}))},initializePlugins:function(t,n,i){for(var e in B.forEach((function(e){var o=e.pluginName;if(t.options[o]||e.initializeByDefault){var a=new e(t,n,t.options);a.sortable=t,a.options=t.options,t[o]=a,r(i,a.defaults)}})),t.options)if(t.options.hasOwnProperty(e)){var o=this.modifyOption(t,e,t.options[e]);void 0!==o&&(t.options[e]=o)}},getEventProperties:function(t,n){var i={};return B.forEach((function(e){"function"==typeof e.eventProperties&&r(i,e.eventProperties.call(n[e.pluginName],t))})),i},modifyOption:function(t,n,i){var e;return B.forEach((function(o){t[o.pluginName]&&o.optionListeners&&"function"==typeof o.optionListeners[n]&&(e=o.optionListeners[n].call(t[o.pluginName],i))})),e}},L=["evt"],W=function(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=e.evt,r=function(t,n){if(null==t)return{};var i,e,o=function(t,n){if(null==t)return{};var i,e,o={},r=Object.keys(t);for(e=0;e<r.length;e++)n.indexOf(i=r[e])>=0||(o[i]=t[i]);return o}(t,n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(e=0;e<r.length;e++)n.indexOf(i=r[e])>=0||Object.prototype.propertyIsEnumerable.call(t,i)&&(o[i]=t[i])}return o}(e,L);G.pluginEvent.bind(zt)(t,n,i({dragEl:X,parentEl:Y,ghostEl:U,rootEl:V,nextEl:Z,lastDownEl:$,cloneEl:q,cloneHidden:J,dragStarted:ct,putSortable:et,activeSortable:zt.active,originalEvent:o,oldIndex:K,oldDraggableIndex:tt,newIndex:Q,newDraggableIndex:nt,hideGhostForTarget:kt,unhideGhostForTarget:jt,cloneNowHidden:function(){J=!0},cloneNowShown:function(){J=!1},dispatchSortableEvent:function(t){R({sortable:n,name:t,originalEvent:o})}},r))};function R(t){!function(t){var n=t.sortable,e=t.rootEl,o=t.name,r=t.targetEl,a=t.cloneEl,l=t.toEl,c=t.fromEl,f=t.oldIndex,h=t.newIndex,d=t.oldDraggableIndex,v=t.newDraggableIndex,m=t.originalEvent,g=t.putSortable,p=t.extraEventProperties;if(n=n||e&&e[P]){var b,w=n.options,E="on"+o.charAt(0).toUpperCase()+o.substr(1);!window.CustomEvent||u||s?(b=document.createEvent("Event")).initEvent(o,!0,!0):b=new CustomEvent(o,{bubbles:!0,cancelable:!0}),b.to=l||e,b.from=c||e,b.item=r||e,b.clone=a,b.oldIndex=f,b.newIndex=h,b.oldDraggableIndex=d,b.newDraggableIndex=v,b.originalEvent=m,b.pullMode=g?g.lastPutMode:void 0;var y=i(i({},p),G.getEventProperties(o,n));for(var S in y)b[S]=y[S];e&&e.dispatchEvent(b),w[E]&&w[E].call(n,b)}}(i({putSortable:et,cloneEl:q,targetEl:X,rootEl:V,oldIndex:K,oldDraggableIndex:tt,newIndex:Q,newDraggableIndex:nt},t))}var X,Y,U,V,Z,$,q,J,K,Q,tt,nt,it,et,ot,rt,at,ut,st,lt,ct,ft,ht,dt,vt,mt=!1,gt=!1,pt=[],bt=!1,wt=!1,Et=[],yt=!1,St=[],Tt="undefined"!=typeof document,It=f,Ot=s||u?"cssFloat":"float",xt=Tt&&!h&&!f&&"draggable"in document.createElement("div"),Mt=function(){if(Tt){if(u)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),_t=function(t,n){var i=S(t),e=parseInt(i.width)-parseInt(i.paddingLeft)-parseInt(i.paddingRight)-parseInt(i.borderLeftWidth)-parseInt(i.borderRightWidth),o=_(t,0,n),r=_(t,1,n),a=o&&S(o),u=r&&S(r),s=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+x(o).width,l=u&&parseInt(u.marginLeft)+parseInt(u.marginRight)+x(r).width;return"flex"===i.display?"column"===i.flexDirection||"column-reverse"===i.flexDirection?"vertical":"horizontal":"grid"===i.display?i.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal":o&&a.float&&"none"!==a.float?!r||"both"!==u.clear&&u.clear!==("left"===a.float?"left":"right")?"horizontal":"vertical":o&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||s>=e&&"none"===i[Ot]||r&&"none"===i[Ot]&&s+l>e)?"vertical":"horizontal"},Dt=function(t){function n(t,i){return function(e,o,r,a){if(null==t&&(i||e.options.group.name&&o.options.group.name&&e.options.group.name===o.options.group.name))return!0;if(null==t||!1===t)return!1;if(i&&"clone"===t)return t;if("function"==typeof t)return n(t(e,o,r,a),i)(e,o,r,a);var u=(i?e:o).options.group.name;return!0===t||"string"==typeof t&&t===u||t.join&&t.indexOf(u)>-1}}var i={},o=t.group;o&&"object"==e(o)||(o={name:o}),i.name=o.name,i.checkPull=n(o.pull,!0),i.checkPut=n(o.put),i.revertClone=o.revertClone,t.group=i},kt=function(){!Mt&&U&&S(U,"display","none")},jt=function(){!Mt&&U&&S(U,"display","")};Tt&&!h&&document.addEventListener("click",(function(t){if(gt)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),gt=!1,!1}),!0);var Ct=function(t){if(X){var n=(o=(t=t.touches?t.touches[0]:t).clientX,r=t.clientY,pt.some((function(t){var n=t[P].options.emptyInsertThreshold;if(n&&!D(t)){var i=x(t);return o>=i.left-n&&o<=i.right+n&&r>=i.top-n&&r<=i.bottom+n?a=t:void 0}})),a);if(n){var i={};for(var e in t)t.hasOwnProperty(e)&&(i[e]=t[e]);i.target=i.rootEl=n,i.preventDefault=void 0,i.stopPropagation=void 0,n[P]._onDragOver(i)}}var o,r,a},At=function(t){X&&X.parentNode[P]._isOutsideThisEl(t.target)};function zt(t,n){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=n=r({},n),t[P]=this;var e,o,a={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return _t(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,n){t.setData("Text",n.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==zt.supportPointer&&"PointerEvent"in window&&!c,emptyInsertThreshold:5};for(var u in G.initializePlugins(this,t,a),a)!(u in n)&&(n[u]=a[u]);for(var s in Dt(n),this)"_"===s.charAt(0)&&"function"==typeof this[s]&&(this[s]=this[s].bind(this));this.nativeDraggable=!n.forceFallback&&xt,this.nativeDraggable&&(this.options.touchStartThreshold=1),n.supportPointer?v(t,"pointerdown",this._onTapStart):(v(t,"mousedown",this._onTapStart),v(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(v(t,"dragover",this),v(t,"dragenter",this)),pt.push(this.el),n.store&&n.store.get&&this.sort(n.store.get(this)||[]),r(this,(o=[],{captureAnimationState:function(){o=[],this.options.animation&&[].slice.call(this.el.children).forEach((function(t){if("none"!==S(t,"display")&&t!==zt.ghost){o.push({target:t,rect:x(t)});var n=i({},o[o.length-1].rect);if(t.thisAnimationDuration){var e=T(t,!0);e&&(n.top-=e.f,n.left-=e.e)}t.fromRect=n}}))},addAnimationState:function(t){o.push(t)},removeAnimationState:function(t){o.splice(function(t,n){for(var i in t)if(t.hasOwnProperty(i))for(var e in n)if(n.hasOwnProperty(e)&&n[e]===t[i][e])return Number(i);return-1}(o,{target:t}),1)},animateAll:function(t){var n=this;if(!this.options.animation)return clearTimeout(e),void("function"==typeof t&&t());var i=!1,r=0;o.forEach((function(t){var e=0,o=t.target,a=o.fromRect,u=x(o),s=o.prevFromRect,l=o.prevToRect,c=t.rect,f=T(o,!0);f&&(u.top-=f.f,u.left-=f.e),o.toRect=u,o.thisAnimationDuration&&A(s,u)&&!A(a,u)&&(c.top-u.top)/(c.left-u.left)==(a.top-u.top)/(a.left-u.left)&&(e=function(t,n,i,e){return Math.sqrt(Math.pow(n.top-t.top,2)+Math.pow(n.left-t.left,2))/Math.sqrt(Math.pow(n.top-i.top,2)+Math.pow(n.left-i.left,2))*e.animation}(c,s,l,n.options)),A(u,a)||(o.prevFromRect=a,o.prevToRect=u,e||(e=n.options.animation),n.animate(o,c,u,e)),e&&(i=!0,r=Math.max(r,e),clearTimeout(o.animationResetTimer),o.animationResetTimer=setTimeout((function(){o.animationTime=0,o.prevFromRect=null,o.fromRect=null,o.prevToRect=null,o.thisAnimationDuration=null}),e),o.thisAnimationDuration=e)})),clearTimeout(e),i?e=setTimeout((function(){"function"==typeof t&&t()}),r):"function"==typeof t&&t(),o=[]},animate:function(t,n,i,e){if(e){S(t,"transition",""),S(t,"transform","");var o=T(this.el),r=(n.left-i.left)/(o&&o.a||1),a=(n.top-i.top)/(o&&o.d||1);t.animatingX=!!r,t.animatingY=!!a,S(t,"transform","translate3d("+r+"px,"+a+"px,0)"),this.forRepaintDummy=function(t){return t.offsetWidth}(t),S(t,"transition","transform "+e+"ms"+(this.options.easing?" "+this.options.easing:"")),S(t,"transform","translate3d(0,0,0)"),"number"==typeof t.animated&&clearTimeout(t.animated),t.animated=setTimeout((function(){S(t,"transition",""),S(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1}),e)}}}))}function Nt(t,n,i,e,o,r,a,l){var c,f,h=t[P],d=h.options.onMove;return!window.CustomEvent||u||s?(c=document.createEvent("Event")).initEvent("move",!0,!0):c=new CustomEvent("move",{bubbles:!0,cancelable:!0}),c.to=n,c.from=t,c.dragged=i,c.draggedRect=e,c.related=o||n,c.relatedRect=r||x(n),c.willInsertAfter=l,c.originalEvent=a,t.dispatchEvent(c),d&&(f=d.call(h,c,a)),f}function Ft(t){t.draggable=!1}function Pt(){yt=!1}function Bt(t){for(var n=t.tagName+t.className+t.src+t.href+t.textContent,i=n.length,e=0;i--;)e+=n.charCodeAt(i);return e.toString(36)}function Ht(t){return setTimeout(t,0)}function Gt(t){return clearTimeout(t)}zt.prototype={constructor:zt,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(ft=null)},_getDirection:function(t,n){return"function"==typeof this.options.direction?this.options.direction.call(this,t,n,X):this.options.direction},_onTapStart:function(t){if(t.cancelable){var n=this,i=this.el,e=this.options,o=e.preventOnFilter,r=t.type,a=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,u=(a||t).target,s=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||u,l=e.filter;if(function(t){St.length=0;for(var n=t.getElementsByTagName("input"),i=n.length;i--;){var e=n[i];e.checked&&St.push(e)}}(i),!X&&!(/mousedown|pointerdown/.test(r)&&0!==t.button||e.disabled)&&!s.isContentEditable&&(this.nativeDraggable||!c||!u||"SELECT"!==u.tagName.toUpperCase())&&!((u=b(u,e.draggable,i,!1))&&u.animated||$===u)){if(K=k(u),tt=k(u,e.draggable),"function"==typeof l){if(l.call(this,t,u,this))return R({sortable:n,rootEl:s,name:"filter",targetEl:u,toEl:i,fromEl:i}),W("filter",n,{evt:t}),void(o&&t.cancelable&&t.preventDefault())}else if(l&&(l=l.split(",").some((function(e){if(e=b(s,e.trim(),i,!1))return R({sortable:n,rootEl:e,name:"filter",targetEl:u,fromEl:i,toEl:i}),W("filter",n,{evt:t}),!0}))))return void(o&&t.cancelable&&t.preventDefault());e.handle&&!b(s,e.handle,i,!1)||this._prepareDragStart(t,a,u)}}},_prepareDragStart:function(t,n,i){var e,o=this,r=o.el,a=o.options,c=r.ownerDocument;if(i&&!X&&i.parentNode===r){var f=x(i);if(V=r,Y=(X=i).parentNode,Z=X.nextSibling,$=i,it=a.group,zt.dragged=X,st=(ot={target:X,clientX:(n||t).clientX,clientY:(n||t).clientY}).clientX-f.left,lt=ot.clientY-f.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,X.style["will-change"]="all",e=function(){W("delayEnded",o,{evt:t}),zt.eventCanceled?o._onDrop():(o._disableDelayedDragEvents(),!l&&o.nativeDraggable&&(X.draggable=!0),o._triggerDragStart(t,n),R({sortable:o,name:"choose",originalEvent:t}),y(X,a.chosenClass,!0))},a.ignore.split(",").forEach((function(t){I(X,t.trim(),Ft)})),v(c,"dragover",Ct),v(c,"mousemove",Ct),v(c,"touchmove",Ct),v(c,"mouseup",o._onDrop),v(c,"touchend",o._onDrop),v(c,"touchcancel",o._onDrop),l&&this.nativeDraggable&&(this.options.touchStartThreshold=4,X.draggable=!0),W("delayStart",this,{evt:t}),!a.delay||a.delayOnTouchOnly&&!n||this.nativeDraggable&&(s||u))e();else{if(zt.eventCanceled)return void this._onDrop();v(c,"mouseup",o._disableDelayedDrag),v(c,"touchend",o._disableDelayedDrag),v(c,"touchcancel",o._disableDelayedDrag),v(c,"mousemove",o._delayedDragTouchMoveHandler),v(c,"touchmove",o._delayedDragTouchMoveHandler),a.supportPointer&&v(c,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(e,a.delay)}}},_delayedDragTouchMoveHandler:function(t){var n=t.touches?t.touches[0]:t;Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){X&&Ft(X),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;m(t,"mouseup",this._disableDelayedDrag),m(t,"touchend",this._disableDelayedDrag),m(t,"touchcancel",this._disableDelayedDrag),m(t,"mousemove",this._delayedDragTouchMoveHandler),m(t,"touchmove",this._delayedDragTouchMoveHandler),m(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||"touch"==t.pointerType&&t,!this.nativeDraggable||n?v(document,this.options.supportPointer?"pointermove":n?"touchmove":"mousemove",this._onTouchMove):(v(X,"dragend",this),v(V,"dragstart",this._onDragStart));try{document.selection?Ht((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(t){}},_dragStarted:function(t,n){if(mt=!1,V&&X){W("dragStarted",this,{evt:n}),this.nativeDraggable&&v(document,"dragover",At);var i=this.options;!t&&y(X,i.dragClass,!1),y(X,i.ghostClass,!0),zt.active=this,t&&this._appendGhost(),R({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(rt){this._lastX=rt.clientX,this._lastY=rt.clientY,kt();for(var t=document.elementFromPoint(rt.clientX,rt.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(rt.clientX,rt.clientY))!==n;)n=t;if(X.parentNode[P]._isOutsideThisEl(t),n)do{if(n[P]&&n[P]._onDragOver({clientX:rt.clientX,clientY:rt.clientY,target:t,rootEl:n})&&!this.options.dragoverBubble)break;t=n}while(n=n.parentNode);jt()}},_onTouchMove:function(t){if(ot){var n=this.options,i=n.fallbackTolerance,e=n.fallbackOffset,o=t.touches?t.touches[0]:t,r=U&&T(U,!0),a=U&&r&&r.a,u=U&&r&&r.d,s=It&&vt&&j(vt),l=(o.clientX-ot.clientX+e.x)/(a||1)+(s?s[0]-Et[0]:0)/(a||1),c=(o.clientY-ot.clientY+e.y)/(u||1)+(s?s[1]-Et[1]:0)/(u||1);if(!zt.active&&!mt){if(i&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<i)return;this._onDragStart(t,!0)}if(U){r?(r.e+=l-(at||0),r.f+=c-(ut||0)):r={a:1,b:0,c:0,d:1,e:l,f:c};var f="matrix(".concat(r.a,",").concat(r.b,",").concat(r.c,",").concat(r.d,",").concat(r.e,",").concat(r.f,")");S(U,"webkitTransform",f),S(U,"mozTransform",f),S(U,"msTransform",f),S(U,"transform",f),at=l,ut=c,rt=o}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!U){var t=this.options.fallbackOnBody?document.body:V,n=x(X,!0,It,!0,t),i=this.options;if(It){for(vt=t;"static"===S(vt,"position")&&"none"===S(vt,"transform")&&vt!==document;)vt=vt.parentNode;vt!==document.body&&vt!==document.documentElement?(vt===document&&(vt=O()),n.top+=vt.scrollTop,n.left+=vt.scrollLeft):vt=O(),Et=j(vt)}y(U=X.cloneNode(!0),i.ghostClass,!1),y(U,i.fallbackClass,!0),y(U,i.dragClass,!0),S(U,"transition",""),S(U,"transform",""),S(U,"box-sizing","border-box"),S(U,"margin",0),S(U,"top",n.top),S(U,"left",n.left),S(U,"width",n.width),S(U,"height",n.height),S(U,"opacity","0.8"),S(U,"position",It?"absolute":"fixed"),S(U,"zIndex","100000"),S(U,"pointerEvents","none"),zt.ghost=U,t.appendChild(U),S(U,"transform-origin",st/parseInt(U.style.width)*100+"% "+lt/parseInt(U.style.height)*100+"%")}},_onDragStart:function(t,n){var i=this,e=t.dataTransfer,o=i.options;W("dragStart",this,{evt:t}),zt.eventCanceled?this._onDrop():(W("setupClone",this),zt.eventCanceled||((q=F(X)).removeAttribute("id"),q.draggable=!1,q.style["will-change"]="",this._hideClone(),y(q,this.options.chosenClass,!1),zt.clone=q),i.cloneId=Ht((function(){W("clone",i),zt.eventCanceled||(i.options.removeCloneOnHide||V.insertBefore(q,X),i._hideClone(),R({sortable:i,name:"clone"}))})),!n&&y(X,o.dragClass,!0),n?(gt=!0,i._loopId=setInterval(i._emulateDragOver,50)):(m(document,"mouseup",i._onDrop),m(document,"touchend",i._onDrop),m(document,"touchcancel",i._onDrop),e&&(e.effectAllowed="move",o.setData&&o.setData.call(i,e,X)),v(document,"drop",i),S(X,"transform","translateZ(0)")),mt=!0,i._dragStartId=Ht(i._dragStarted.bind(i,n,t)),v(document,"selectstart",i),ct=!0,c&&S(document.body,"user-select","none"))},_onDragOver:function(t){var n,e,o,r,a=this.el,u=t.target,s=this.options,l=s.group,c=zt.active,f=it===l,h=s.sort,d=et||c,v=this,m=!1;if(!yt){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),u=b(u,s.draggable,a,!0),G("dragOver"),zt.eventCanceled)return m;if(X.contains(t.target)||u.animated&&u.animatingX&&u.animatingY||v._ignoreWhileAnimating===u)return $(!1);if(gt=!1,c&&!s.disabled&&(f?h||(o=Y!==V):et===this||(this.lastPutMode=it.checkPull(this,c,X,t))&&l.checkPut(this,c,X,t))){if(r="vertical"===this._getDirection(t,u),n=x(X),G("dragOverValid"),zt.eventCanceled)return m;if(o)return Y=V,L(),this._hideClone(),G("revert"),zt.eventCanceled||(Z?V.insertBefore(X,Z):V.appendChild(X)),$(!0);var g=D(a,s.draggable);if(!g||function(t,n,i){var e=x(D(i.el,i.options.draggable));return n?t.clientX>e.right+10||t.clientX<=e.right&&t.clientY>e.bottom&&t.clientX>=e.left:t.clientX>e.right&&t.clientY>e.top||t.clientX<=e.right&&t.clientY>e.bottom+10}(t,r,this)&&!g.animated){if(g===X)return $(!1);if(g&&a===t.target&&(u=g),u&&(e=x(u)),!1!==Nt(V,a,X,n,u,e,t,!!u))return L(),g&&g.nextSibling?a.insertBefore(X,g.nextSibling):a.appendChild(X),Y=a,q(),$(!0)}else if(g&&function(t,n,i){var e=x(_(i.el,0,i.options,!0));return n?t.clientX<e.left-10||t.clientY<e.top&&t.clientX<e.right:t.clientY<e.top-10||t.clientY<e.bottom&&t.clientX<e.left}(t,r,this)){var p=_(a,0,s,!0);if(p===X)return $(!1);if(e=x(u=p),!1!==Nt(V,a,X,n,u,e,t,!1))return L(),a.insertBefore(X,p),Y=a,q(),$(!0)}else if(u.parentNode===a){e=x(u);var w,E,T,I=X.parentNode!==a,O=!function(t,n,i){var e=i?t.left:t.top,o=i?n.left:n.top;return e===o||(i?t.right:t.bottom)===(i?n.right:n.bottom)||e+(i?t.width:t.height)/2===o+(i?n.width:n.height)/2}(X.animated&&X.toRect||n,u.animated&&u.toRect||e,r),j=r?"top":"left",C=M(u,"top","top")||M(X,"top","top"),A=C?C.scrollTop:void 0;if(ft!==u&&(E=e[j],bt=!1,wt=!O&&s.invertSwap||I),w=function(t,n,i,e,o,r,a,u){var s=e?t.clientY:t.clientX,l=e?i.height:i.width,c=e?i.top:i.left,f=e?i.bottom:i.right,h=!1;if(!a)if(u&&dt<l*o){if(!bt&&(1===ht?s>c+l*r/2:s<f-l*r/2)&&(bt=!0),bt)h=!0;else if(1===ht?s<c+dt:s>f-dt)return-ht}else if(s>c+l*(1-o)/2&&s<f-l*(1-o)/2)return function(t){return k(X)<k(t)?1:-1}(n);return(h=h||a)&&(s<c+l*r/2||s>f-l*r/2)?s>c+l/2?1:-1:0}(t,u,e,r,O?1:s.swapThreshold,null==s.invertedSwapThreshold?s.swapThreshold:s.invertedSwapThreshold,wt,ft===u),0!==w){var z=k(X);do{T=Y.children[z-=w]}while(T&&("none"===S(T,"display")||T===U))}if(0===w||T===u)return $(!1);ft=u,ht=w;var F=u.nextElementSibling,B=!1,H=Nt(V,a,X,n,u,e,t,B=1===w);if(!1!==H)return 1!==H&&-1!==H||(B=1===H),yt=!0,setTimeout(Pt,30),L(),B&&!F?a.appendChild(X):u.parentNode.insertBefore(X,B?F:u),C&&N(C,0,A-C.scrollTop),Y=X.parentNode,void 0===E||wt||(dt=Math.abs(E-x(u)[j])),q(),$(!0)}if(a.contains(X))return $(!1)}return!1}function G(s,l){W(s,v,i({evt:t,isOwner:f,axis:r?"vertical":"horizontal",revert:o,dragRect:n,targetRect:e,canSort:h,fromSortable:d,target:u,completed:$,onMove:function(i,e){return Nt(V,a,X,n,i,x(i),t,e)},changed:q},l))}function L(){G("dragOverAnimationCapture"),v.captureAnimationState(),v!==d&&d.captureAnimationState()}function $(n){return G("dragOverCompleted",{insertion:n}),n&&(f?c._hideClone():c._showClone(v),v!==d&&(y(X,et?et.options.ghostClass:c.options.ghostClass,!1),y(X,s.ghostClass,!0)),et!==v&&v!==zt.active?et=v:v===zt.active&&et&&(et=null),d===v&&(v._ignoreWhileAnimating=u),v.animateAll((function(){G("dragOverAnimationComplete"),v._ignoreWhileAnimating=null})),v!==d&&(d.animateAll(),d._ignoreWhileAnimating=null)),(u===X&&!X.animated||u===a&&!u.animated)&&(ft=null),s.dragoverBubble||t.rootEl||u===document||(X.parentNode[P]._isOutsideThisEl(t.target),!n&&Ct(t)),!s.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),m=!0}function q(){Q=k(X),nt=k(X,s.draggable),R({sortable:v,name:"change",toEl:a,newIndex:Q,newDraggableIndex:nt,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){m(document,"mousemove",this._onTouchMove),m(document,"touchmove",this._onTouchMove),m(document,"pointermove",this._onTouchMove),m(document,"dragover",Ct),m(document,"mousemove",Ct),m(document,"touchmove",Ct)},_offUpEvents:function(){var t=this.el.ownerDocument;m(t,"mouseup",this._onDrop),m(t,"touchend",this._onDrop),m(t,"pointerup",this._onDrop),m(t,"touchcancel",this._onDrop),m(document,"selectstart",this)},_onDrop:function(t){var n=this.el,i=this.options;Q=k(X),nt=k(X,i.draggable),W("drop",this,{evt:t}),Y=X&&X.parentNode,Q=k(X),nt=k(X,i.draggable),zt.eventCanceled||(mt=!1,wt=!1,bt=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Gt(this.cloneId),Gt(this._dragStartId),this.nativeDraggable&&(m(document,"drop",this),m(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),c&&S(document.body,"user-select",""),S(X,"transform",""),t&&(ct&&(t.cancelable&&t.preventDefault(),!i.dropBubble&&t.stopPropagation()),U&&U.parentNode&&U.parentNode.removeChild(U),(V===Y||et&&"clone"!==et.lastPutMode)&&q&&q.parentNode&&q.parentNode.removeChild(q),X&&(this.nativeDraggable&&m(X,"dragend",this),Ft(X),X.style["will-change"]="",ct&&!mt&&y(X,et?et.options.ghostClass:this.options.ghostClass,!1),y(X,this.options.chosenClass,!1),R({sortable:this,name:"unchoose",toEl:Y,newIndex:null,newDraggableIndex:null,originalEvent:t}),V!==Y?(Q>=0&&(R({rootEl:Y,name:"add",toEl:Y,fromEl:V,originalEvent:t}),R({sortable:this,name:"remove",toEl:Y,originalEvent:t}),R({rootEl:Y,name:"sort",toEl:Y,fromEl:V,originalEvent:t}),R({sortable:this,name:"sort",toEl:Y,originalEvent:t})),et&&et.save()):Q!==K&&Q>=0&&(R({sortable:this,name:"update",toEl:Y,originalEvent:t}),R({sortable:this,name:"sort",toEl:Y,originalEvent:t})),zt.active&&(null!=Q&&-1!==Q||(Q=K,nt=tt),R({sortable:this,name:"end",toEl:Y,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){W("nulling",this),V=X=Y=U=Z=q=$=J=ot=rt=ct=Q=nt=K=tt=ft=ht=et=it=zt.dragged=zt.ghost=zt.clone=zt.active=null,St.forEach((function(t){t.checked=!0})),St.length=at=ut=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":X&&(this._onDragOver(t),function(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.cancelable&&t.preventDefault()}(t));break;case"selectstart":t.preventDefault()}},toArray:function(){for(var t,n=[],i=this.el.children,e=0,o=i.length,r=this.options;e<o;e++)b(t=i[e],r.draggable,this.el,!1)&&n.push(t.getAttribute(r.dataIdAttr)||Bt(t));return n},sort:function(t,n){var i={},e=this.el;this.toArray().forEach((function(t,n){var o=e.children[n];b(o,this.options.draggable,e,!1)&&(i[t]=o)}),this),n&&this.captureAnimationState(),t.forEach((function(t){i[t]&&(e.removeChild(i[t]),e.appendChild(i[t]))})),n&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,n){return b(t,n||this.options.draggable,this.el,!1)},option:function(t,n){var i=this.options;if(void 0===n)return i[t];var e=G.modifyOption(this,t,n);i[t]=void 0!==e?e:n,"group"===t&&Dt(i)},destroy:function(){W("destroy",this);var t=this.el;t[P]=null,m(t,"mousedown",this._onTapStart),m(t,"touchstart",this._onTapStart),m(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(m(t,"dragover",this),m(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),(function(t){t.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),pt.splice(pt.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!J){if(W("hideClone",this),zt.eventCanceled)return;S(q,"display","none"),this.options.removeCloneOnHide&&q.parentNode&&q.parentNode.removeChild(q),J=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(J){if(W("showClone",this),zt.eventCanceled)return;X.parentNode!=V||this.options.group.revertClone?Z?V.insertBefore(q,Z):V.appendChild(q):V.insertBefore(q,X),this.options.group.revertClone&&this.animate(X,q),S(q,"display",""),J=!1}}else this._hideClone()}},Tt&&v(document,"touchmove",(function(t){(zt.active||mt)&&t.cancelable&&t.preventDefault()})),zt.utils={on:v,off:m,css:S,find:I,is:function(t,n){return!!b(t,n,t,!1)},extend:function(t,n){if(t&&n)for(var i in n)n.hasOwnProperty(i)&&(t[i]=n[i]);return t},throttle:z,closest:b,toggleClass:y,clone:F,index:k,nextTick:Ht,cancelNextTick:Gt,detectDirection:_t,getChild:_},zt.get=function(t){return t[P]},zt.mount=function(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];n[0].constructor===Array&&(n=n[0]),n.forEach((function(t){if(!t.prototype||!t.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));t.utils&&(zt.utils=i(i({},zt.utils),t.utils)),G.mount(t)}))},zt.create=function(t,n){return new zt(t,n)},zt.version="1.15.0";var Lt,Wt,Rt,Xt,Yt,Ut,Vt=[],Zt=!1;function $t(){Vt.forEach((function(t){clearInterval(t.pid)})),Vt=[]}function qt(){clearInterval(Ut)}var Jt=z((function(t,n,i,e){if(n.scroll){var o,r=(t.touches?t.touches[0]:t).clientX,a=(t.touches?t.touches[0]:t).clientY,u=n.scrollSensitivity,s=n.scrollSpeed,l=O(),c=!1;Wt!==i&&(Wt=i,$t(),o=n.scrollFn,!0===(Lt=n.scroll)&&(Lt=C(i,!0)));var f=0,h=Lt;do{var d=h,v=x(d),m=v.top,g=v.bottom,p=v.left,b=v.right,w=v.width,E=v.height,y=void 0,T=void 0,I=d.scrollWidth,M=d.scrollHeight,_=S(d),D=d.scrollLeft,k=d.scrollTop;d===l?(y=w<I&&("auto"===_.overflowX||"scroll"===_.overflowX||"visible"===_.overflowX),T=E<M&&("auto"===_.overflowY||"scroll"===_.overflowY||"visible"===_.overflowY)):(y=w<I&&("auto"===_.overflowX||"scroll"===_.overflowX),T=E<M&&("auto"===_.overflowY||"scroll"===_.overflowY));var j=y&&(Math.abs(b-r)<=u&&D+w<I)-(Math.abs(p-r)<=u&&!!D),A=T&&(Math.abs(g-a)<=u&&k+E<M)-(Math.abs(m-a)<=u&&!!k);if(!Vt[f])for(var z=0;z<=f;z++)Vt[z]||(Vt[z]={});Vt[f].vx==j&&Vt[f].vy==A&&Vt[f].el===d||(Vt[f].el=d,Vt[f].vx=j,Vt[f].vy=A,clearInterval(Vt[f].pid),0==j&&0==A||(c=!0,Vt[f].pid=setInterval(function(){e&&0===this.layer&&zt.active._onTouchMove(Yt);var n=Vt[this.layer].vy?Vt[this.layer].vy*s:0,i=Vt[this.layer].vx?Vt[this.layer].vx*s:0;"function"==typeof o&&"continue"!==o.call(zt.dragged.parentNode[P],i,n,t,Yt,Vt[this.layer].el)||N(Vt[this.layer].el,i,n)}.bind({layer:f}),24))),f++}while(n.bubbleScroll&&h!==l&&(h=C(h,!1)));Zt=c}}),30),Kt=function(t){var n=t.originalEvent,i=t.putSortable,e=t.dragEl,o=t.dispatchSortableEvent,r=t.unhideGhostForTarget;if(n){var a=i||t.activeSortable;(0,t.hideGhostForTarget)();var u=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,s=document.elementFromPoint(u.clientX,u.clientY);r(),a&&!a.el.contains(s)&&(o("spill"),this.onSpill({dragEl:e,putSortable:i}))}};function Qt(){}function tn(){}Qt.prototype={startIndex:null,dragStart:function(t){this.startIndex=t.oldDraggableIndex},onSpill:function(t){var n=t.dragEl,i=t.putSortable;this.sortable.captureAnimationState(),i&&i.captureAnimationState();var e=_(this.sortable.el,this.startIndex,this.options);e?this.sortable.el.insertBefore(n,e):this.sortable.el.appendChild(n),this.sortable.animateAll(),i&&i.animateAll()},drop:Kt},r(Qt,{pluginName:"revertOnSpill"}),tn.prototype={onSpill:function(t){var n=t.dragEl,i=t.putSortable||this.sortable;i.captureAnimationState(),n.parentNode&&n.parentNode.removeChild(n),i.animateAll()},drop:Kt},r(tn,{pluginName:"removeOnSpill"}),zt.mount(new function(){function t(){for(var t in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this))}return t.prototype={dragStarted:function(t){var n=t.originalEvent;this.sortable.nativeDraggable?v(document,"dragover",this._handleAutoScroll):v(document,this.options.supportPointer?"pointermove":n.touches?"touchmove":"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var n=t.originalEvent;this.options.dragOverBubble||n.rootEl||this._handleAutoScroll(n)},drop:function(){this.sortable.nativeDraggable?m(document,"dragover",this._handleAutoScroll):(m(document,"pointermove",this._handleFallbackAutoScroll),m(document,"touchmove",this._handleFallbackAutoScroll),m(document,"mousemove",this._handleFallbackAutoScroll)),qt(),$t(),clearTimeout(w),w=void 0},nulling:function(){Yt=Wt=Lt=Zt=Ut=Rt=Xt=null,Vt.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,n){var i=this,e=(t.touches?t.touches[0]:t).clientX,o=(t.touches?t.touches[0]:t).clientY,r=document.elementFromPoint(e,o);if(Yt=t,n||this.options.forceAutoScrollFallback||s||u||c){Jt(t,this.options,r,n);var a=C(r,!0);!Zt||Ut&&e===Rt&&o===Xt||(Ut&&qt(),Ut=setInterval((function(){var r=C(document.elementFromPoint(e,o),!0);r!==a&&(a=r,$t()),Jt(t,i.options,r,n)}),10),Rt=e,Xt=o)}else{if(!this.options.bubbleScroll||C(r,!0)===O())return void $t();Jt(t,this.options,C(r,!1),!1)}}},r(t,{pluginName:"scroll",initializeByDefault:!0})}),zt.mount(tn,Qt);
|
13
|
-
/*!
|
14
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
15
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
16
|
-
* v1.6.0
|
17
|
-
*/
|
18
|
-
const nn=new Set,en=new WeakSet;function on(t){if(rn(t),nn.add(t),en.has(t))return;const{group:n,handleSelector:i,dragSelector:e}=t;t.sortable=zt.create(t.el,{dataIdAttr:"id",...!!e&&{draggable:e},...!!n&&{group:{name:n,...!!t.canPull&&{pull:(n,i,e)=>t.canPull({toEl:n.el,fromEl:i.el,dragEl:e})},...!!t.canPut&&{put:(n,i,e)=>t.canPut({toEl:n.el,fromEl:i.el,dragEl:e})}}},handle:i,onStart:n=>{an(t).forEach((t=>en.add(t))),t.onDragStart(n)},onEnd:n=>{an(t).forEach((t=>en.delete(t))),t.onDragEnd(n)},onSort:n=>{t.onDragSort(n)}})}function rn(t){nn.delete(t),en.has(t)||(t.sortable?.destroy(),t.sortable=null)}function an(n){return Array.from(nn).filter((i=>i!==n&&t(n.el,i.el)))}export{on as c,rn as d}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{q as t,c as n}from"./p-6b2f2b85.js";
|
7
|
-
/*!
|
8
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
-
* v1.6.0
|
11
|
-
*/const e="calciteInternalLabelClick",c="calciteInternalLabelConnected",o="calciteInternaLabelDisconnected",s="calcite-label",i=new WeakMap,a=new WeakMap,u=new WeakMap,r=new Set,l=e=>{const{id:c}=e,o=c&&t(e,{selector:`${s}[for="${c}"]`});if(o)return o;const i=n(e,s);return!i||function(t,n){let e;const c="custom-element-ancestor-check",o=c=>{c.stopImmediatePropagation();const o=c.composedPath();e=o.slice(o.indexOf(n),o.indexOf(t))};t.addEventListener(c,o,{once:!0}),n.dispatchEvent(new CustomEvent(c,{composed:!0,bubbles:!0})),t.removeEventListener(c,o);return e.filter((e=>e!==n&&e!==t)).filter((t=>t.tagName?.includes("-"))).length>0}(i,e)?null:i};function f(t){const n=l(t.el);if(i.has(n)||!n&&r.has(t))return;const s=p.bind(t);if(n){t.labelEl=n;const l=h.bind(t);i.set(t.labelEl,l),t.labelEl.addEventListener(e,l),r.delete(t),document.removeEventListener(c,a.get(t)),u.set(t,s),document.addEventListener(o,s)}else r.has(t)||(s(),document.removeEventListener(o,u.get(t)))}function m(t){if(r.delete(t),document.removeEventListener(c,a.get(t)),document.removeEventListener(o,u.get(t)),a.delete(t),u.delete(t),!t.labelEl)return;const n=i.get(t.labelEl);t.labelEl.removeEventListener(e,n),i.delete(t.labelEl)}function d(t){return t.label||t.labelEl?.textContent?.trim()||""}function h(t){this.disabled||this.el.contains(t.detail.sourceEvent.target)||this.onLabelClick(t)}function b(){r.has(this)&&f(this)}function p(){r.add(this);const t=a.get(this)||b.bind(this);a.set(this,t),document.addEventListener(c,t)}export{o as a,f as c,m as d,d as g,c as l}
|