@ionic/core 8.8.9-dev.11780086312.13aac420 → 8.8.9-dev.11780414486.1df2bd72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/index.js +1 -1
- package/components/ion-accordion-group.js +1 -1
- package/components/ion-accordion.js +1 -1
- package/components/ion-action-sheet.js +1 -1
- package/components/ion-alert.js +1 -1
- package/components/ion-app.js +1 -1
- package/components/ion-avatar.js +1 -1
- package/components/ion-back-button.js +1 -1
- package/components/ion-backdrop.js +1 -1
- package/components/ion-badge.js +1 -1
- package/components/ion-breadcrumb.js +1 -1
- package/components/ion-breadcrumbs.js +1 -1
- package/components/ion-button.js +1 -1
- package/components/ion-buttons.js +1 -1
- package/components/ion-card-content.js +1 -1
- package/components/ion-card-header.js +1 -1
- package/components/ion-card-subtitle.js +1 -1
- package/components/ion-card-title.js +1 -1
- package/components/ion-card.js +1 -1
- package/components/ion-checkbox.js +1 -1
- package/components/ion-chip.js +1 -1
- package/components/ion-col.js +1 -1
- package/components/ion-content.js +1 -1
- package/components/ion-datetime-button.js +1 -1
- package/components/ion-datetime.js +1 -1
- package/components/ion-fab-button.js +1 -1
- package/components/ion-fab-list.js +1 -1
- package/components/ion-fab.js +1 -1
- package/components/ion-footer.js +1 -1
- package/components/ion-grid.js +1 -1
- package/components/ion-header.js +1 -1
- package/components/ion-icon.js +1 -1
- package/components/ion-img.js +1 -1
- package/components/ion-infinite-scroll-content.js +1 -1
- package/components/ion-infinite-scroll.js +1 -1
- package/components/ion-input-otp.js +1 -1
- package/components/ion-input-password-toggle.js +1 -1
- package/components/ion-input.js +1 -1
- package/components/ion-item-divider.js +1 -1
- package/components/ion-item-group.js +1 -1
- package/components/ion-item-option.js +1 -1
- package/components/ion-item-options.js +1 -1
- package/components/ion-item-sliding.js +1 -1
- package/components/ion-item.js +1 -1
- package/components/ion-label.js +1 -1
- package/components/ion-list-header.js +1 -1
- package/components/ion-list.js +1 -1
- package/components/ion-loading.js +1 -1
- package/components/ion-menu-button.js +1 -1
- package/components/ion-menu-toggle.js +1 -1
- package/components/ion-menu.js +1 -1
- package/components/ion-modal.js +1 -1
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +1 -1
- package/components/ion-note.js +1 -1
- package/components/ion-picker-column-option.js +1 -1
- package/components/ion-picker-column.js +1 -1
- package/components/ion-picker.js +1 -1
- package/components/ion-popover.js +1 -1
- package/components/ion-progress-bar.js +1 -1
- package/components/ion-radio-group.js +1 -1
- package/components/ion-radio.js +1 -1
- package/components/ion-range.js +1 -1
- package/components/ion-refresher-content.js +1 -1
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +1 -1
- package/components/ion-ripple-effect.js +1 -1
- package/components/ion-route-redirect.js +1 -1
- package/components/ion-route.js +1 -1
- package/components/ion-router-link.js +1 -1
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-router.js +1 -1
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +1 -1
- package/components/ion-segment-button.js +1 -1
- package/components/ion-segment-content.js +1 -1
- package/components/ion-segment-view.js +1 -1
- package/components/ion-segment.js +1 -1
- package/components/ion-select-modal.js +1 -1
- package/components/ion-select-option.js +1 -1
- package/components/ion-select-popover.js +1 -1
- package/components/ion-select.js +1 -1
- package/components/ion-skeleton-text.js +1 -1
- package/components/ion-spinner.js +1 -1
- package/components/ion-split-pane.js +1 -1
- package/components/ion-tab-bar.js +1 -1
- package/components/ion-tab-button.js +1 -1
- package/components/ion-tab.js +1 -1
- package/components/ion-tabs.js +1 -1
- package/components/ion-text.js +1 -1
- package/components/ion-textarea.js +1 -1
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-title.js +1 -1
- package/components/ion-toast.js +1 -1
- package/components/ion-toggle.js +1 -1
- package/components/ion-toolbar.js +1 -1
- package/components/{p-CoA-aqGF.js → p--JUspHvy.js} +1 -1
- package/components/{p-OOMJP0jy.js → p-B8U2xbtx.js} +1 -1
- package/components/{p-B6FQ0cKR.js → p-B9jFTlwE.js} +1 -1
- package/{dist/ionic/p-BvFYtOdE.js → components/p-BAYYcg3o.js} +1 -1
- package/components/{p-B6HaBl3o.js → p-BTPfOxsU.js} +1 -1
- package/{dist/ionic/p-DjriolRs.js → components/p-BT_5jSqG.js} +1 -1
- package/components/{p-DgbT0exM.js → p-Baq1XyAy.js} +1 -1
- package/components/{p-BxwWvu-b.js → p-BhmadOit.js} +1 -1
- package/components/{p-BYDc3hSE.js → p-BirPFsRD.js} +1 -1
- package/components/{p-FBcnjE5W.js → p-BjfgFSSR.js} +1 -1
- package/{dist/ionic/p-DLbbmF9h.js → components/p-BnqQlm7c.js} +1 -1
- package/components/{p-BWUpLAtP.js → p-BtVHN9Na.js} +1 -1
- package/components/{p-vEbVo2hO.js → p-Bz0dSlXZ.js} +1 -1
- package/components/{p-CBzELu-H.js → p-C1aScSTo.js} +1 -1
- package/components/{p-BgwEQWW6.js → p-C4t5ymfq.js} +1 -1
- package/components/p-CHqRYvYm.js +4 -0
- package/components/{p-CWpbvhwY.js → p-CHzfYZbv.js} +1 -1
- package/components/{p-Q1-Xy3As.js → p-CI3ncNZm.js} +1 -1
- package/components/{p-DYdpXONG.js → p-CSZf8_j0.js} +1 -1
- package/components/p-C_xFdyXe.js +4 -0
- package/{dist/ionic/p-C0JvVFMv.js → components/p-Ciz1-FuE.js} +1 -1
- package/components/{p-GCtnx-UP.js → p-Ck2wcXbv.js} +1 -1
- package/components/p-CmR5uXej.js +4 -0
- package/components/p-CtukzcyX.js +4 -0
- package/components/{p-CEmXdzGo.js → p-D5Ubpm7D.js} +1 -1
- package/components/p-D7bSXQD3.js +4 -0
- package/components/{p-CDXBV7oG.js → p-DEBD4LvH.js} +1 -1
- package/components/{p-JQ4ZNN1D.js → p-DH50pr9O.js} +1 -1
- package/components/p-DIE4pXMl.js +4 -0
- package/components/p-DNQI6d-L.js +4 -0
- package/components/{p-CDfQnFrd.js → p-DOFCbuQR.js} +1 -1
- package/components/{p-nPoOPlPt.js → p-DhkITZ-y.js} +1 -1
- package/components/{p-BJu4LSK8.js → p-DmpBvltk.js} +1 -1
- package/components/{p-BR3tZJmu.js → p-DnL1c9_X.js} +1 -1
- package/components/{p-DbISMmiI.js → p-DpV-p5Xs.js} +1 -1
- package/components/{p-YLXPWgVj.js → p-DqLB8yFQ.js} +1 -1
- package/components/{p-BagjAGC0.js → p-DqZAXv2t.js} +1 -1
- package/components/{p-DL2W2mt3.js → p-Dz74mwlk.js} +1 -1
- package/components/p-Sh0ICmPV.js +4 -0
- package/components/p-W5nO8mX_.js +4 -0
- package/components/{p-BeL7B3Bb.js → p-XJWMAP8m.js} +1 -1
- package/components/{p-Bg7NsGS9.js → p-djQLE88P.js} +1 -1
- package/components/p-ijF0iCrA.js +4 -0
- package/components/{p-B8b1Ukl9.js → p-j5IxBIan.js} +1 -1
- package/components/{p-BUbsoBOV.js → p-k_E4tX5Z.js} +1 -1
- package/components/{p-DvOO1fxp.js → p-lE_JGpHD.js} +1 -1
- package/components/{p-DxXmSp9Y.js → p-r0aq7dpt.js} +1 -1
- package/components/{p-SBseW5KJ.js → p-ryqmO0B-.js} +1 -1
- package/components/{p-DrIm1s9R.js → p-wk2QqrAo.js} +1 -1
- package/dist/cjs/{animation-Dg4yiuR2.js → animation-BJq0kcy2.js} +1 -1
- package/dist/cjs/{app-globals-CLI8xCmk.js → app-globals-BlqrqKTN.js} +1 -1
- package/dist/cjs/{button-active-FscMI17-.js → button-active-0mPOKmV2.js} +1 -1
- package/dist/cjs/{config-BukYi_pW.js → config-xninhj0J.js} +1 -1
- package/dist/cjs/{data-BYlBjkMU.js → data-DLTUw-KF.js} +1 -1
- package/dist/cjs/{framework-delegate-CRgp8o_p.js → framework-delegate-BtICZDHr.js} +1 -1
- package/dist/cjs/{hardware-back-button-C4rMJ5uI.js → hardware-back-button-iUuF_76h.js} +1 -1
- package/dist/cjs/{helpers-CxTYJdbT.js → helpers-Cv23MFHM.js} +1 -1
- package/dist/cjs/{index-C845Ti6K.js → index-BERfRao3.js} +4 -4
- package/dist/cjs/{index-MbaBbWXk.js → index-CIrkNXqJ.js} +2 -2
- package/dist/cjs/{index-CqT-2gKy.js → index-Ct7gcRif.js} +67 -23
- package/dist/cjs/{index-YcSftOMz.js → index-D81eLYUM.js} +2 -2
- package/dist/cjs/{index-CFUwM5x_.js → index-aC4x3Fk3.js} +5 -5
- package/dist/cjs/index.cjs.js +12 -12
- package/dist/cjs/{input-shims-CPL2J8F-.js → input-shims-CFLg7uzj.js} +3 -3
- package/dist/cjs/{input.utils-DmeJ8dmo.js → input.utils-DetjmtH2.js} +2 -2
- package/dist/cjs/ion-accordion_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-action-sheet.cjs.entry.js +8 -8
- package/dist/cjs/ion-alert.cjs.entry.js +9 -9
- package/dist/cjs/ion-app_8.cjs.entry.js +12 -12
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-back-button.cjs.entry.js +3 -3
- package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-button_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-card_5.cjs.entry.js +3 -3
- package/dist/cjs/ion-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/ion-chip.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime-button.cjs.entry.js +4 -4
- package/dist/cjs/ion-datetime.cjs.entry.js +7 -7
- package/dist/cjs/ion-fab_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-img.cjs.entry.js +3 -3
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-input-otp.cjs.entry.js +3 -3
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +2 -2
- package/dist/cjs/ion-input.cjs.entry.js +9 -9
- package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-item_8.cjs.entry.js +3 -3
- package/dist/cjs/ion-loading.cjs.entry.js +8 -8
- package/dist/cjs/ion-menu_3.cjs.entry.js +8 -8
- package/dist/cjs/ion-modal.cjs.entry.js +9 -9
- package/dist/cjs/ion-nav_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker-column.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +8 -8
- package/dist/cjs/ion-progress-bar.cjs.entry.js +3 -3
- package/dist/cjs/ion-radio_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-range.cjs.entry.js +4 -4
- package/dist/cjs/ion-refresher_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-reorder_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
- package/dist/cjs/ion-route_4.cjs.entry.js +3 -3
- package/dist/cjs/ion-searchbar.cjs.entry.js +8 -8
- package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment-view.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-select-modal.cjs.entry.js +6 -6
- package/dist/cjs/ion-select_3.cjs.entry.js +7 -7
- package/dist/cjs/ion-spinner.cjs.entry.js +2 -2
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +5 -5
- package/dist/cjs/ion-toast.cjs.entry.js +9 -9
- package/dist/cjs/ion-toggle.cjs.entry.js +5 -5
- package/dist/cjs/{ionic-global-Bc3kJi1Z.js → ionic-global-B-cA6LkY.js} +1 -1
- package/dist/cjs/ionic.cjs.js +5 -5
- package/dist/cjs/{ios.transition-trBiC95R.js → ios.transition-BOSWOaiK.js} +4 -4
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-CUQECuvD.js → md.transition-B8-wBZqt.js} +4 -4
- package/dist/cjs/{notch-controller-sD-lTpdc.js → notch-controller-18PzRGXd.js} +1 -1
- package/dist/cjs/{overlays-DIfHxkst.js → overlays-DSmSrd_4.js} +5 -5
- package/dist/cjs/{status-tap-CCJk5VgT.js → status-tap-BXX8H8_Y.js} +3 -3
- package/dist/cjs/{swipe-back-BGhTQ1CU.js → swipe-back-C0GCB18x.js} +2 -2
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/input/input.js +8 -8
- package/dist/collection/components/searchbar/searchbar.js +9 -9
- package/dist/collection/components/split-pane/split-pane.js +1 -1
- package/dist/docs.json +16 -26
- package/dist/esm/{animation-CnGMT4ji.js → animation-DLJpuoEz.js} +1 -1
- package/dist/esm/{app-globals-DhZjtldk.js → app-globals-D0C5S4hU.js} +1 -1
- package/dist/esm/{button-active-BBx21brx.js → button-active-BSpTQmS9.js} +1 -1
- package/dist/esm/{config-TO1rZH52.js → config-DQCONYYp.js} +1 -1
- package/dist/esm/{data-B9iGR5YO.js → data-DZI70dKr.js} +1 -1
- package/dist/esm/{framework-delegate-CyxE1S_P.js → framework-delegate-FnPGymXL.js} +1 -1
- package/dist/esm/{hardware-back-button-CTe4XmL7.js → hardware-back-button-B93Gru0Y.js} +1 -1
- package/dist/esm/{helpers-Tl8jw6S2.js → helpers-HEqiOzXb.js} +1 -1
- package/dist/esm/{index-BtUdxPjv.js → index-BRHzoo00.js} +2 -2
- package/dist/esm/{index-B-hkiOUh.js → index-B_dQk_WE.js} +4 -4
- package/dist/esm/{index-hW6eNZ3o.js → index-MEDq2S8l.js} +2 -2
- package/dist/esm/{index-B2KwgBLx.js → index-Q6UPU0Ay.js} +5 -5
- package/dist/esm/{index-IGIE5vDm.js → index-tcQvqkiX.js} +67 -23
- package/dist/esm/index.js +12 -12
- package/dist/esm/{input-shims-DbrgeeNb.js → input-shims-D10mwcw1.js} +3 -3
- package/dist/esm/{input.utils-Bxa_DQ7-.js → input.utils-Y6NgW8bw.js} +2 -2
- package/dist/esm/ion-accordion_2.entry.js +3 -3
- package/dist/esm/ion-action-sheet.entry.js +8 -8
- package/dist/esm/ion-alert.entry.js +9 -9
- package/dist/esm/ion-app_8.entry.js +12 -12
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-back-button.entry.js +3 -3
- package/dist/esm/ion-backdrop.entry.js +2 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +3 -3
- package/dist/esm/ion-button_2.entry.js +3 -3
- package/dist/esm/ion-card_5.entry.js +3 -3
- package/dist/esm/ion-checkbox.entry.js +3 -3
- package/dist/esm/ion-chip.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +2 -2
- package/dist/esm/ion-datetime-button.entry.js +4 -4
- package/dist/esm/ion-datetime.entry.js +7 -7
- package/dist/esm/ion-fab_3.entry.js +3 -3
- package/dist/esm/ion-img.entry.js +3 -3
- package/dist/esm/ion-infinite-scroll_2.entry.js +5 -5
- package/dist/esm/ion-input-otp.entry.js +3 -3
- package/dist/esm/ion-input-password-toggle.entry.js +2 -2
- package/dist/esm/ion-input.entry.js +9 -9
- package/dist/esm/ion-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +3 -3
- package/dist/esm/ion-loading.entry.js +8 -8
- package/dist/esm/ion-menu_3.entry.js +8 -8
- package/dist/esm/ion-modal.entry.js +9 -9
- package/dist/esm/ion-nav_2.entry.js +6 -6
- package/dist/esm/ion-picker-column-option.entry.js +3 -3
- package/dist/esm/ion-picker-column.entry.js +3 -3
- package/dist/esm/ion-picker.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +8 -8
- package/dist/esm/ion-progress-bar.entry.js +3 -3
- package/dist/esm/ion-radio_2.entry.js +3 -3
- package/dist/esm/ion-range.entry.js +4 -4
- package/dist/esm/ion-refresher_2.entry.js +6 -6
- package/dist/esm/ion-reorder_2.entry.js +5 -5
- package/dist/esm/ion-ripple-effect.entry.js +2 -2
- package/dist/esm/ion-route_4.entry.js +3 -3
- package/dist/esm/ion-searchbar.entry.js +8 -8
- package/dist/esm/ion-segment-content.entry.js +1 -1
- package/dist/esm/ion-segment-view.entry.js +1 -1
- package/dist/esm/ion-segment_2.entry.js +3 -3
- package/dist/esm/ion-select-modal.entry.js +6 -6
- package/dist/esm/ion-select_3.entry.js +7 -7
- package/dist/esm/ion-spinner.entry.js +2 -2
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +3 -3
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +5 -5
- package/dist/esm/ion-toast.entry.js +9 -9
- package/dist/esm/ion-toggle.entry.js +5 -5
- package/dist/esm/{ionic-global-DfbeLwcV.js → ionic-global-Cp_eT4sZ.js} +1 -1
- package/dist/esm/ionic.js +6 -6
- package/dist/esm/{ios.transition--aMF-pDH.js → ios.transition-ClFrsIrS.js} +4 -4
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-BEVbfm8j.js → md.transition-D0msQmzI.js} +4 -4
- package/dist/esm/{notch-controller-DAcvKU57.js → notch-controller-DKDjU_O7.js} +1 -1
- package/dist/esm/{overlays-BDGzTP3L.js → overlays-DLNOHWNc.js} +5 -5
- package/dist/esm/{status-tap-BfJqFSLF.js → status-tap-Kan2W7sh.js} +3 -3
- package/dist/esm/{swipe-back-BZBFwTQV.js → swipe-back-DQ1q5MgD.js} +2 -2
- package/dist/html.html-data.json +2 -18
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-7fe42b71.entry.js → p-03aa786d.entry.js} +1 -1
- package/dist/ionic/{p-078037da.entry.js → p-06c232a4.entry.js} +1 -1
- package/dist/ionic/{p-18b5d5ff.entry.js → p-11684553.entry.js} +1 -1
- package/dist/ionic/{p-6b97f2a3.entry.js → p-1ae21e4c.entry.js} +1 -1
- package/dist/ionic/{p-a805674e.entry.js → p-20b1a044.entry.js} +1 -1
- package/dist/ionic/{p-e9dd191b.entry.js → p-259d0d98.entry.js} +1 -1
- package/dist/ionic/{p-460fbe5b.entry.js → p-2a6d6565.entry.js} +1 -1
- package/dist/ionic/{p-8a3a936b.entry.js → p-341032b3.entry.js} +1 -1
- package/dist/ionic/p-3e91d32e.entry.js +4 -0
- package/dist/ionic/{p-7f269aff.entry.js → p-441fbb13.entry.js} +1 -1
- package/dist/ionic/{p-f7762013.entry.js → p-4502a274.entry.js} +1 -1
- package/dist/ionic/p-4621c387.entry.js +4 -0
- package/dist/ionic/p-4bb3eb60.entry.js +4 -0
- package/dist/ionic/{p-e663bc5a.entry.js → p-4e92a11f.entry.js} +1 -1
- package/dist/ionic/{p-6af16209.entry.js → p-50e1194a.entry.js} +1 -1
- package/dist/ionic/{p-34b3a309.entry.js → p-51cd1643.entry.js} +1 -1
- package/dist/ionic/{p-5430ae94.entry.js → p-5c3ec490.entry.js} +1 -1
- package/dist/ionic/{p-6a56880f.entry.js → p-627fabd9.entry.js} +1 -1
- package/dist/ionic/{p-fed27c64.entry.js → p-629e4703.entry.js} +1 -1
- package/dist/ionic/{p-6e99ae8d.entry.js → p-76e92a84.entry.js} +1 -1
- package/dist/ionic/{p-1d2163ad.entry.js → p-7a37b3ce.entry.js} +1 -1
- package/dist/ionic/{p-cce0cd26.entry.js → p-7aed7726.entry.js} +1 -1
- package/dist/ionic/{p-4f3a8ccf.entry.js → p-7ebd980c.entry.js} +1 -1
- package/dist/ionic/{p-f17d05e3.entry.js → p-80b44b3c.entry.js} +1 -1
- package/dist/ionic/{p-f5dfb9a3.entry.js → p-81ea5652.entry.js} +1 -1
- package/dist/ionic/{p-23ec35e4.entry.js → p-8c8eee7d.entry.js} +1 -1
- package/dist/ionic/{p-823eccd3.entry.js → p-8d624ee5.entry.js} +1 -1
- package/dist/ionic/{p-87125490.entry.js → p-8d6fd502.entry.js} +1 -1
- package/dist/ionic/{p-b553828c.entry.js → p-9177f4ac.entry.js} +1 -1
- package/dist/ionic/{p-54ac6e6d.entry.js → p-9c6a5a8d.entry.js} +1 -1
- package/dist/ionic/{p-BAt5H1ac.js → p-BGqMS-oh.js} +1 -1
- package/dist/ionic/{p-DB_iPQC-.js → p-BUFIpxKM.js} +1 -1
- package/dist/ionic/{p-CmFz1Mjc.js → p-CFlfIb2g.js} +1 -1
- package/dist/ionic/{p-Csx_Ej2k.js → p-Cg5-OQYy.js} +1 -1
- package/dist/ionic/p-Cx3IXROA.js +4 -0
- package/dist/ionic/p-D4uTWt4-.js +4 -0
- package/{components/p-BS1TtEiJ.js → dist/ionic/p-DAAFkPFT.js} +1 -1
- package/{components/p-ak_d-z48.js → dist/ionic/p-DC3RagnA.js} +1 -1
- package/dist/ionic/{p-CGmVTdWh.js → p-DIuEbVLu.js} +1 -1
- package/dist/ionic/p-DSG2s2Eb.js +4 -0
- package/dist/ionic/{p-DcSNwXfb.js → p-Dfbt-q2k.js} +1 -1
- package/dist/ionic/p-DoJvtrbw.js +4 -0
- package/dist/ionic/{p-gbVXD275.js → p-DzWaWHGc.js} +1 -1
- package/{components/p-D6NJwNJN.js → dist/ionic/p-KjNvRoEp.js} +1 -1
- package/dist/ionic/{p-NFFyoJ4Q.js → p-Nqf6uvGh.js} +1 -1
- package/dist/ionic/p-SNAkTDfm.js +4 -0
- package/{components/p-9VcRUwdB.js → dist/ionic/p-VAemlbDS.js} +1 -1
- package/dist/ionic/{p-B8xlpH8p.js → p-Wk5HzclC.js} +1 -1
- package/dist/ionic/p-a2e51c5d.entry.js +4 -0
- package/dist/ionic/{p-370a60ee.entry.js → p-a3bdcae6.entry.js} +1 -1
- package/dist/ionic/{p-045a6a42.entry.js → p-a44b7536.entry.js} +1 -1
- package/dist/ionic/{p-3b58996c.entry.js → p-a5213260.entry.js} +1 -1
- package/dist/ionic/{p-6da572e7.entry.js → p-a7628bc7.entry.js} +1 -1
- package/dist/ionic/{p-ede28b71.entry.js → p-b1599fca.entry.js} +1 -1
- package/dist/ionic/{p-e0d788e9.entry.js → p-b16be471.entry.js} +1 -1
- package/dist/ionic/{p-b6e0ff03.entry.js → p-b6a7397c.entry.js} +1 -1
- package/dist/ionic/{p-898f9d11.entry.js → p-b9ac1fe0.entry.js} +1 -1
- package/dist/ionic/{p-9833cf63.entry.js → p-c6e49f3f.entry.js} +1 -1
- package/dist/ionic/{p-19adf785.entry.js → p-c93553d2.entry.js} +1 -1
- package/dist/ionic/{p-dc198c3a.entry.js → p-d2c7f046.entry.js} +1 -1
- package/dist/ionic/{p-66494f9b.entry.js → p-d8387b99.entry.js} +1 -1
- package/dist/ionic/{p-0ed06d90.entry.js → p-d8ac9eea.entry.js} +1 -1
- package/dist/ionic/{p-b8f4a31c.entry.js → p-db1b6738.entry.js} +1 -1
- package/dist/ionic/{p-ca31010f.entry.js → p-dfa8d673.entry.js} +1 -1
- package/dist/ionic/{p-e059750f.entry.js → p-ed797c72.entry.js} +1 -1
- package/dist/ionic/{p-4ed63122.entry.js → p-ef93ca92.entry.js} +1 -1
- package/dist/ionic/{p-4c8d8c55.entry.js → p-f09f9642.entry.js} +1 -1
- package/dist/ionic/{p-528d4c1d.entry.js → p-f1c06f82.entry.js} +1 -1
- package/dist/ionic/p-f386f6ae.entry.js +4 -0
- package/dist/ionic/{p-30f5ad9e.entry.js → p-fe4aa1db.entry.js} +1 -1
- package/dist/ionic/p-mjKAFv89.js +4 -0
- package/dist/ionic/p-tcQvqkiX.js +5 -0
- package/{components/p-Cy5XSfIk.js → dist/ionic/p-viFHDgRs.js} +1 -1
- package/dist/ionic/p-xWb6fgfq.js +4 -0
- package/dist/types/components/input/input.d.ts +1 -1
- package/dist/types/components/searchbar/searchbar.d.ts +1 -1
- package/dist/types/components.d.ts +12 -12
- package/dist/types/stencil-public-runtime.d.ts +4 -1
- package/hydrate/index.js +882 -407
- package/hydrate/index.mjs +882 -407
- package/package.json +3 -3
- package/components/p-BJoMtgfR.js +0 -4
- package/components/p-BNAG-aVv.js +0 -4
- package/components/p-C4jPsTQa.js +0 -4
- package/components/p-C59ryAuS.js +0 -4
- package/components/p-CU1SSH8_.js +0 -4
- package/components/p-CgqKJg96.js +0 -4
- package/components/p-CneGxKsZ.js +0 -4
- package/components/p-Csw8xuz4.js +0 -4
- package/components/p-Cz5nLPGT.js +0 -4
- package/dist/ionic/p-4ea520a4.entry.js +0 -4
- package/dist/ionic/p-7f9db51b.entry.js +0 -4
- package/dist/ionic/p-BW_TRJm8.js +0 -4
- package/dist/ionic/p-Bum7H1fw.js +0 -4
- package/dist/ionic/p-BxIcPWoV.js +0 -4
- package/dist/ionic/p-CYbRmDdy.js +0 -4
- package/dist/ionic/p-CtA-yJYy.js +0 -4
- package/dist/ionic/p-D8HJQ1qq.js +0 -4
- package/dist/ionic/p-DtVZDHlS.js +0 -4
- package/dist/ionic/p-IGIE5vDm.js +0 -5
- package/dist/ionic/p-a39db980.entry.js +0 -4
- package/dist/ionic/p-a47ddfb2.entry.js +0 -4
- package/dist/ionic/p-e6cedcd7.entry.js +0 -4
- package/dist/ionic/p-hNN3VvaC.js +0 -4
package/hydrate/index.mjs
CHANGED
|
@@ -396,7 +396,7 @@ const appGlobalScript = initialize || (() => {});
|
|
|
396
396
|
const globalScripts = appGlobalScript;
|
|
397
397
|
|
|
398
398
|
/*
|
|
399
|
-
Stencil Hydrate Platform v4.43.
|
|
399
|
+
Stencil Hydrate Platform v4.43.5 | MIT Licensed | https://stenciljs.com
|
|
400
400
|
*/
|
|
401
401
|
var __create = Object.create;
|
|
402
402
|
var __defProp = Object.defineProperty;
|
|
@@ -431,7 +431,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
431
431
|
__defProp(target, "default", { value: mod, enumerable: true }) ,
|
|
432
432
|
mod
|
|
433
433
|
));
|
|
434
|
-
var __publicField = (obj, key, value) => __defNormalProp(obj, key + "" , value);
|
|
434
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
435
435
|
var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
|
|
436
436
|
var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
|
|
437
437
|
var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
|
|
@@ -673,15 +673,26 @@ var TYPE_CONSTANT = "type";
|
|
|
673
673
|
var VALUE_CONSTANT = "value";
|
|
674
674
|
var SERIALIZED_PREFIX = "serialized:";
|
|
675
675
|
|
|
676
|
+
// src/utils/get-prop-descriptor.ts
|
|
677
|
+
function getPropertyDescriptor(obj, memberName, getOnly) {
|
|
678
|
+
const stopAt = typeof HTMLElement !== "undefined" ? HTMLElement.prototype : null;
|
|
679
|
+
while (obj && obj !== stopAt) {
|
|
680
|
+
const desc = Object.getOwnPropertyDescriptor(obj, memberName);
|
|
681
|
+
if (desc && (!getOnly || desc.get)) return desc;
|
|
682
|
+
obj = Object.getPrototypeOf(obj);
|
|
683
|
+
}
|
|
684
|
+
return void 0;
|
|
685
|
+
}
|
|
686
|
+
|
|
676
687
|
// src/utils/es2022-rewire-class-members.ts
|
|
677
688
|
var reWireGetterSetter = (instance, hostRef) => {
|
|
678
|
-
var
|
|
689
|
+
var _a2;
|
|
679
690
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
680
|
-
const members = Object.entries((
|
|
691
|
+
const members = Object.entries((_a2 = cmpMeta.$members$) != null ? _a2 : {});
|
|
681
692
|
members.map(([memberName, [memberFlags]]) => {
|
|
682
693
|
if ((memberFlags & 31 /* Prop */ || memberFlags & 32 /* State */)) {
|
|
683
694
|
const ogValue = instance[memberName];
|
|
684
|
-
const ogDescriptor = getPropertyDescriptor(Object.getPrototypeOf(instance), memberName) || Object.getOwnPropertyDescriptor(instance, memberName);
|
|
695
|
+
const ogDescriptor = getPropertyDescriptor(Object.getPrototypeOf(instance), memberName, true) || Object.getOwnPropertyDescriptor(instance, memberName);
|
|
685
696
|
if (ogDescriptor) {
|
|
686
697
|
Object.defineProperty(instance, memberName, {
|
|
687
698
|
get() {
|
|
@@ -694,18 +705,14 @@ var reWireGetterSetter = (instance, hostRef) => {
|
|
|
694
705
|
enumerable: true
|
|
695
706
|
});
|
|
696
707
|
}
|
|
697
|
-
|
|
708
|
+
if (hostRef.$instanceValues$.has(memberName)) {
|
|
709
|
+
instance[memberName] = hostRef.$instanceValues$.get(memberName);
|
|
710
|
+
} else if (ogValue !== void 0) {
|
|
711
|
+
instance[memberName] = ogValue;
|
|
712
|
+
}
|
|
698
713
|
}
|
|
699
714
|
});
|
|
700
715
|
};
|
|
701
|
-
function getPropertyDescriptor(obj, memberName) {
|
|
702
|
-
while (obj) {
|
|
703
|
-
const desc = Object.getOwnPropertyDescriptor(obj, memberName);
|
|
704
|
-
if (desc == null ? void 0 : desc.get) return desc;
|
|
705
|
-
obj = Object.getPrototypeOf(obj);
|
|
706
|
-
}
|
|
707
|
-
return void 0;
|
|
708
|
-
}
|
|
709
716
|
|
|
710
717
|
// src/runtime/runtime-constants.ts
|
|
711
718
|
var CONTENT_REF_ID = "r";
|
|
@@ -733,13 +740,13 @@ function createStyleSheetIfNeededAndSupported(styles2) {
|
|
|
733
740
|
// src/utils/shadow-root.ts
|
|
734
741
|
var globalStyleSheet;
|
|
735
742
|
function createShadowRoot(cmpMeta) {
|
|
736
|
-
var
|
|
743
|
+
var _a2;
|
|
737
744
|
const opts = { mode: "open" };
|
|
738
745
|
{
|
|
739
746
|
opts.delegatesFocus = !!(cmpMeta.$flags$ & 16 /* shadowDelegatesFocus */);
|
|
740
747
|
}
|
|
741
748
|
const shadowRoot = this.attachShadow(opts);
|
|
742
|
-
if (globalStyleSheet === void 0) globalStyleSheet = (
|
|
749
|
+
if (globalStyleSheet === void 0) globalStyleSheet = (_a2 = createStyleSheetIfNeededAndSupported()) != null ? _a2 : null;
|
|
743
750
|
if (globalStyleSheet) {
|
|
744
751
|
{
|
|
745
752
|
shadowRoot.adoptedStyleSheets = [...shadowRoot.adoptedStyleSheets, globalStyleSheet];
|
|
@@ -875,8 +882,8 @@ function dispatchSlotChangeEvent(elm) {
|
|
|
875
882
|
elm.dispatchEvent(new CustomEvent("slotchange", { bubbles: false, cancelable: false, composed: false }));
|
|
876
883
|
}
|
|
877
884
|
function findSlotFromSlottedNode(slottedNode, parentHost) {
|
|
878
|
-
var
|
|
879
|
-
parentHost = parentHost || ((
|
|
885
|
+
var _a2;
|
|
886
|
+
parentHost = parentHost || ((_a2 = slottedNode["s-ol"]) == null ? void 0 : _a2.parentElement);
|
|
880
887
|
if (!parentHost) return { slotNode: null, slotName: "" };
|
|
881
888
|
const slotName = slottedNode["s-sn"] = getSlotName(slottedNode) || "";
|
|
882
889
|
const childNodes = internalCall(parentHost, "childNodes");
|
|
@@ -910,8 +917,8 @@ var uniqueTime = (key, measureText) => {
|
|
|
910
917
|
|
|
911
918
|
// src/utils/query-nonce-meta-tag-content.ts
|
|
912
919
|
function queryNonceMetaTagContent(doc) {
|
|
913
|
-
var
|
|
914
|
-
return (_c = (_b = (
|
|
920
|
+
var _a2, _b, _c;
|
|
921
|
+
return (_c = (_b = (_a2 = doc.head) == null ? void 0 : _a2.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
|
|
915
922
|
}
|
|
916
923
|
|
|
917
924
|
// src/runtime/styles.ts
|
|
@@ -924,7 +931,7 @@ var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
|
924
931
|
styles.set(scopeId2, style);
|
|
925
932
|
};
|
|
926
933
|
var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
927
|
-
var
|
|
934
|
+
var _a2;
|
|
928
935
|
const scopeId2 = getScopeId(cmpMeta, mode);
|
|
929
936
|
const style = styles.get(scopeId2);
|
|
930
937
|
if (!win$2.document) {
|
|
@@ -945,7 +952,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
945
952
|
} else if (!appliedStyles.has(scopeId2)) {
|
|
946
953
|
styleElm = win$2.document.createElement("style");
|
|
947
954
|
styleElm.textContent = style;
|
|
948
|
-
const nonce = (
|
|
955
|
+
const nonce = (_a2 = plt.$nonce$) != null ? _a2 : queryNonceMetaTagContent(win$2.document);
|
|
949
956
|
if (nonce != null) {
|
|
950
957
|
styleElm.setAttribute("nonce", nonce);
|
|
951
958
|
}
|
|
@@ -963,7 +970,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
963
970
|
} else if ("host" in styleContainerNode) {
|
|
964
971
|
{
|
|
965
972
|
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
966
|
-
if (existingStyleContainer) {
|
|
973
|
+
if (existingStyleContainer && true) {
|
|
967
974
|
existingStyleContainer.textContent = style + existingStyleContainer.textContent;
|
|
968
975
|
} else {
|
|
969
976
|
styleContainerNode.prepend(styleElm);
|
|
@@ -1131,7 +1138,7 @@ var convertToPrivate = (node) => {
|
|
|
1131
1138
|
|
|
1132
1139
|
// src/runtime/client-hydrate.ts
|
|
1133
1140
|
var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
1134
|
-
var
|
|
1141
|
+
var _a2, _b, _c, _d;
|
|
1135
1142
|
const endHydrate = createTime("hydrateClient", tagName);
|
|
1136
1143
|
const shadowRoot = hostElm.shadowRoot;
|
|
1137
1144
|
const childRenderNodes = [];
|
|
@@ -1178,7 +1185,7 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
1178
1185
|
if (childRenderNode.$tag$ === "slot") {
|
|
1179
1186
|
node["s-cr"] = hostElm["s-cr"];
|
|
1180
1187
|
}
|
|
1181
|
-
} else if (((
|
|
1188
|
+
} else if (((_a2 = childRenderNode.$tag$) == null ? void 0 : _a2.toString().includes("-")) && childRenderNode.$tag$ !== "slot-fb" && !childRenderNode.$elm$.shadowRoot) {
|
|
1182
1189
|
const cmpMeta = getHostRef(childRenderNode.$elm$);
|
|
1183
1190
|
if (cmpMeta) {
|
|
1184
1191
|
const scopeId3 = getScopeId(
|
|
@@ -1525,10 +1532,10 @@ function addSlot(slotName, slotId, childVNode, node, parentVNode, childRenderNod
|
|
|
1525
1532
|
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
1526
1533
|
}
|
|
1527
1534
|
var addSlottedNodes = (slottedNodes, slotNodeId, slotName, slotNode, hostId) => {
|
|
1528
|
-
var
|
|
1535
|
+
var _a2, _b;
|
|
1529
1536
|
let slottedNode = slotNode.nextSibling;
|
|
1530
1537
|
slottedNodes[slotNodeId] = slottedNodes[slotNodeId] || [];
|
|
1531
|
-
if (!slottedNode || ((
|
|
1538
|
+
if (!slottedNode || ((_a2 = slottedNode.nodeValue) == null ? void 0 : _a2.startsWith(SLOT_NODE_ID + "."))) return;
|
|
1532
1539
|
do {
|
|
1533
1540
|
if (slottedNode && ((slottedNode["getAttribute"] && slottedNode.getAttribute("slot") || slottedNode["s-sn"]) === slotName || slotName === "" && !slottedNode["s-sn"] && (!slottedNode["getAttribute"] || !slottedNode.getAttribute("slot")) && (slottedNode.nodeType === 8 /* CommentNode */ || slottedNode.nodeType === 3 /* TextNode */))) {
|
|
1534
1541
|
slottedNode["s-sn"] = slotName;
|
|
@@ -1960,8 +1967,33 @@ var scopeCss = (cssText, scopeId2, commentOriginalSelector) => {
|
|
|
1960
1967
|
var computeMode = (elm) => modeResolutionChain.map((h2) => h2(elm)).find((m) => !!m);
|
|
1961
1968
|
var setMode = (handler) => modeResolutionChain.push(handler);
|
|
1962
1969
|
var getMode = (ref) => {
|
|
1963
|
-
var
|
|
1964
|
-
return (
|
|
1970
|
+
var _a2;
|
|
1971
|
+
return (_a2 = getHostRef(ref)) == null ? void 0 : _a2.$modeName$;
|
|
1972
|
+
};
|
|
1973
|
+
|
|
1974
|
+
// src/runtime/normalize-watchers.ts
|
|
1975
|
+
var normalizeWatchers = (raw) => {
|
|
1976
|
+
if (!raw) return void 0;
|
|
1977
|
+
const keys = Object.keys(raw);
|
|
1978
|
+
if (keys.length === 0) return void 0;
|
|
1979
|
+
let hasLegacy = false;
|
|
1980
|
+
for (const propName of keys) {
|
|
1981
|
+
if (hasLegacy) break;
|
|
1982
|
+
for (const h2 of raw[propName]) {
|
|
1983
|
+
if (typeof h2 === "string") {
|
|
1984
|
+
hasLegacy = true;
|
|
1985
|
+
break;
|
|
1986
|
+
}
|
|
1987
|
+
}
|
|
1988
|
+
}
|
|
1989
|
+
if (!hasLegacy) return raw;
|
|
1990
|
+
const out = {};
|
|
1991
|
+
for (const propName of keys) {
|
|
1992
|
+
out[propName] = raw[propName].map(
|
|
1993
|
+
(h2) => typeof h2 === "string" ? { [h2]: 0 } : h2
|
|
1994
|
+
);
|
|
1995
|
+
}
|
|
1996
|
+
return out;
|
|
1965
1997
|
};
|
|
1966
1998
|
|
|
1967
1999
|
// src/utils/remote-value.ts
|
|
@@ -2060,11 +2092,19 @@ var RemoteValue = class _RemoteValue {
|
|
|
2060
2092
|
};
|
|
2061
2093
|
|
|
2062
2094
|
// src/utils/serialize.ts
|
|
2095
|
+
function decodeBase64Unicode(base64) {
|
|
2096
|
+
const binary = atob(base64);
|
|
2097
|
+
const bytes = new Uint8Array(binary.length);
|
|
2098
|
+
for (let i2 = 0; i2 < binary.length; i2++) {
|
|
2099
|
+
bytes[i2] = binary.charCodeAt(i2);
|
|
2100
|
+
}
|
|
2101
|
+
return new TextDecoder().decode(bytes);
|
|
2102
|
+
}
|
|
2063
2103
|
function deserializeProperty(value) {
|
|
2064
2104
|
if (typeof value !== "string" || !value.startsWith(SERIALIZED_PREFIX)) {
|
|
2065
2105
|
return value;
|
|
2066
2106
|
}
|
|
2067
|
-
return RemoteValue.fromLocalValue(JSON.parse(
|
|
2107
|
+
return RemoteValue.fromLocalValue(JSON.parse(decodeBase64Unicode(value.slice(SERIALIZED_PREFIX.length))));
|
|
2068
2108
|
}
|
|
2069
2109
|
|
|
2070
2110
|
// src/runtime/parse-property-value.ts
|
|
@@ -2090,8 +2130,8 @@ var parsePropertyValue = (propValue, propType, isFormAssociated) => {
|
|
|
2090
2130
|
return propValue;
|
|
2091
2131
|
};
|
|
2092
2132
|
var getElement = (ref) => {
|
|
2093
|
-
var
|
|
2094
|
-
return (
|
|
2133
|
+
var _a2;
|
|
2134
|
+
return (_a2 = getHostRef(ref)) == null ? void 0 : _a2.$hostElement$ ;
|
|
2095
2135
|
};
|
|
2096
2136
|
|
|
2097
2137
|
// src/runtime/event-emitter.ts
|
|
@@ -2316,7 +2356,7 @@ var isSvgMode = false;
|
|
|
2316
2356
|
var refCallbacksToRemove = [];
|
|
2317
2357
|
var refCallbacksToAttach = [];
|
|
2318
2358
|
var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
2319
|
-
var
|
|
2359
|
+
var _a2;
|
|
2320
2360
|
const newVNode2 = newParentVNode.$children$[childIndex];
|
|
2321
2361
|
let i2 = 0;
|
|
2322
2362
|
let elm;
|
|
@@ -2387,7 +2427,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
2387
2427
|
elm["s-sr"] = true;
|
|
2388
2428
|
elm["s-cr"] = contentRef;
|
|
2389
2429
|
elm["s-sn"] = newVNode2.$name$ || "";
|
|
2390
|
-
elm["s-rf"] = (
|
|
2430
|
+
elm["s-rf"] = (_a2 = newVNode2.$attrs$) == null ? void 0 : _a2.ref;
|
|
2391
2431
|
patchSlotNode(elm);
|
|
2392
2432
|
oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];
|
|
2393
2433
|
if (oldVNode && oldVNode.$tag$ === newVNode2.$tag$ && oldParentVNode.$elm$) {
|
|
@@ -2729,12 +2769,12 @@ var insertBefore = (parent, newNode, reference, isInitialLoad) => {
|
|
|
2729
2769
|
}
|
|
2730
2770
|
};
|
|
2731
2771
|
function addRemoveSlotScopedClass(reference, slotNode, newParent, oldParent) {
|
|
2732
|
-
var
|
|
2772
|
+
var _a2, _b;
|
|
2733
2773
|
let scopeId2;
|
|
2734
2774
|
if (reference && typeof slotNode["s-sn"] === "string" && !!slotNode["s-sr"] && reference.parentNode && reference.parentNode["s-sc"] && (scopeId2 = slotNode["s-si"] || reference.parentNode["s-sc"])) {
|
|
2735
2775
|
const scopeName = slotNode["s-sn"];
|
|
2736
2776
|
const hostName = slotNode["s-hn"];
|
|
2737
|
-
(
|
|
2777
|
+
(_a2 = newParent.classList) == null ? void 0 : _a2.add(scopeId2 + "-s");
|
|
2738
2778
|
if (oldParent && ((_b = oldParent.classList) == null ? void 0 : _b.contains(scopeId2 + "-s"))) {
|
|
2739
2779
|
let child = (oldParent.__childNodes || oldParent.childNodes)[0];
|
|
2740
2780
|
let found = false;
|
|
@@ -2750,7 +2790,7 @@ function addRemoveSlotScopedClass(reference, slotNode, newParent, oldParent) {
|
|
|
2750
2790
|
}
|
|
2751
2791
|
}
|
|
2752
2792
|
var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
2753
|
-
var
|
|
2793
|
+
var _a2, _d, _e;
|
|
2754
2794
|
const hostElm = hostRef.$hostElement$;
|
|
2755
2795
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
2756
2796
|
const oldVNode = hostRef.$vnode$ || newVNode(null, null);
|
|
@@ -2806,7 +2846,7 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
2806
2846
|
const nodeToRelocate = relocateData.$nodeToRelocate$;
|
|
2807
2847
|
const slotRefNode = relocateData.$slotRefNode$;
|
|
2808
2848
|
if (nodeToRelocate.nodeType === 1 /* ElementNode */ && isInitialLoad) {
|
|
2809
|
-
nodeToRelocate["s-ih"] = (
|
|
2849
|
+
nodeToRelocate["s-ih"] = (_a2 = nodeToRelocate.hidden) != null ? _a2 : false;
|
|
2810
2850
|
}
|
|
2811
2851
|
if (slotRefNode) {
|
|
2812
2852
|
const parentNodeRef = slotRefNode.parentNode;
|
|
@@ -2866,14 +2906,14 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
2866
2906
|
flushQueuedRefCallbacks();
|
|
2867
2907
|
};
|
|
2868
2908
|
var slotReferenceDebugNode = (slotVNode) => {
|
|
2869
|
-
var
|
|
2870
|
-
return (
|
|
2909
|
+
var _a2;
|
|
2910
|
+
return (_a2 = win$2.document) == null ? void 0 : _a2.createComment(
|
|
2871
2911
|
`<slot${slotVNode.$name$ ? ' name="' + slotVNode.$name$ + '"' : ""}> (host=${hostTagName.toLowerCase()})`
|
|
2872
2912
|
);
|
|
2873
2913
|
};
|
|
2874
2914
|
var originalLocationDebugNode = (nodeToRelocate) => {
|
|
2875
|
-
var
|
|
2876
|
-
return (
|
|
2915
|
+
var _a2;
|
|
2916
|
+
return (_a2 = win$2.document) == null ? void 0 : _a2.createComment(
|
|
2877
2917
|
`org-location for ` + (nodeToRelocate.localName ? `<${nodeToRelocate.localName}> (host=${nodeToRelocate["s-hn"]})` : `[${nodeToRelocate.textContent}]`)
|
|
2878
2918
|
);
|
|
2879
2919
|
};
|
|
@@ -2950,7 +2990,7 @@ var enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then
|
|
|
2950
2990
|
}) : fn();
|
|
2951
2991
|
var isPromisey = (maybePromise) => maybePromise instanceof Promise || maybePromise && maybePromise.then && typeof maybePromise.then === "function";
|
|
2952
2992
|
var updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
2953
|
-
var
|
|
2993
|
+
var _a2;
|
|
2954
2994
|
const elm = hostRef.$hostElement$;
|
|
2955
2995
|
const endUpdate = createTime("update", hostRef.$cmpMeta$.$tagName$);
|
|
2956
2996
|
const rc = elm["s-rc"];
|
|
@@ -2982,7 +3022,7 @@ var updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
|
2982
3022
|
endRender();
|
|
2983
3023
|
endUpdate();
|
|
2984
3024
|
{
|
|
2985
|
-
const childrenPromises = (
|
|
3025
|
+
const childrenPromises = (_a2 = elm["s-p"]) != null ? _a2 : [];
|
|
2986
3026
|
const postUpdate = () => postUpdateComponent(hostRef);
|
|
2987
3027
|
if (childrenPromises.length === 0) {
|
|
2988
3028
|
postUpdate();
|
|
@@ -3056,13 +3096,13 @@ var forceUpdate = (ref) => {
|
|
|
3056
3096
|
return false;
|
|
3057
3097
|
};
|
|
3058
3098
|
var appDidLoad = (who) => {
|
|
3059
|
-
var
|
|
3099
|
+
var _a2;
|
|
3060
3100
|
if (BUILD.asyncQueue) {
|
|
3061
3101
|
plt.$flags$ |= 2 /* appLoaded */;
|
|
3062
3102
|
}
|
|
3063
3103
|
nextTick(() => emitEvent(win$2, "appload", { detail: { namespace: NAMESPACE } }));
|
|
3064
3104
|
{
|
|
3065
|
-
if ((
|
|
3105
|
+
if ((_a2 = plt.$orgLocNodes$) == null ? void 0 : _a2.size) {
|
|
3066
3106
|
plt.$orgLocNodes$.clear();
|
|
3067
3107
|
}
|
|
3068
3108
|
}
|
|
@@ -3078,8 +3118,8 @@ var safeCall$1 = (instance, method, arg, elm) => {
|
|
|
3078
3118
|
return void 0;
|
|
3079
3119
|
};
|
|
3080
3120
|
var addHydratedFlag = (elm) => {
|
|
3081
|
-
var
|
|
3082
|
-
return elm.classList.add((
|
|
3121
|
+
var _a2;
|
|
3122
|
+
return elm.classList.add((_a2 = BUILD.hydratedSelectorName) != null ? _a2 : "hydrated") ;
|
|
3083
3123
|
};
|
|
3084
3124
|
var serverSideConnected = (elm) => {
|
|
3085
3125
|
const children = elm.children;
|
|
@@ -3154,12 +3194,12 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
3154
3194
|
|
|
3155
3195
|
// src/runtime/proxy-component.ts
|
|
3156
3196
|
var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
3157
|
-
var
|
|
3197
|
+
var _a2;
|
|
3158
3198
|
const prototype = Cstr.prototype;
|
|
3159
3199
|
{
|
|
3160
3200
|
{
|
|
3161
3201
|
if (Cstr.watchers && !cmpMeta.$watchers$) {
|
|
3162
|
-
cmpMeta.$watchers$ = Cstr.watchers;
|
|
3202
|
+
cmpMeta.$watchers$ = normalizeWatchers(Cstr.watchers);
|
|
3163
3203
|
}
|
|
3164
3204
|
if (Cstr.deserializers && !cmpMeta.$deserializers$) {
|
|
3165
3205
|
cmpMeta.$deserializers$ = Cstr.deserializers;
|
|
@@ -3168,10 +3208,10 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
3168
3208
|
cmpMeta.$serializers$ = Cstr.serializers;
|
|
3169
3209
|
}
|
|
3170
3210
|
}
|
|
3171
|
-
const members = Object.entries((
|
|
3211
|
+
const members = Object.entries((_a2 = cmpMeta.$members$) != null ? _a2 : {});
|
|
3172
3212
|
members.map(([memberName, [memberFlags]]) => {
|
|
3173
3213
|
if ((memberFlags & 31 /* Prop */ || memberFlags & 32 /* State */)) {
|
|
3174
|
-
const { get: origGetter, set: origSetter } =
|
|
3214
|
+
const { get: origGetter, set: origSetter } = getPropertyDescriptor(prototype, memberName) || {};
|
|
3175
3215
|
if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
|
|
3176
3216
|
if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
|
|
3177
3217
|
if (!origGetter) {
|
|
@@ -3246,7 +3286,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
3246
3286
|
}
|
|
3247
3287
|
if (!Cstr.isProxied) {
|
|
3248
3288
|
{
|
|
3249
|
-
cmpMeta.$watchers$ = Cstr.watchers;
|
|
3289
|
+
cmpMeta.$watchers$ = normalizeWatchers(Cstr.watchers);
|
|
3250
3290
|
cmpMeta.$serializers$ = Cstr.serializers;
|
|
3251
3291
|
cmpMeta.$deserializers$ = Cstr.deserializers;
|
|
3252
3292
|
}
|
|
@@ -3412,11 +3452,11 @@ var addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) =>
|
|
|
3412
3452
|
}
|
|
3413
3453
|
};
|
|
3414
3454
|
var hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
3415
|
-
var
|
|
3455
|
+
var _a2;
|
|
3416
3456
|
try {
|
|
3417
3457
|
{
|
|
3418
3458
|
if (hostRef.$flags$ & 256 /* isListenReady */) {
|
|
3419
|
-
(
|
|
3459
|
+
(_a2 = hostRef.$lazyInstance$) == null ? void 0 : _a2[methodName](ev);
|
|
3420
3460
|
} else {
|
|
3421
3461
|
(hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
|
|
3422
3462
|
}
|
|
@@ -3450,7 +3490,7 @@ var insertVdomAnnotations = (doc, staticComponents) => {
|
|
|
3450
3490
|
const orgLocationNodes = [];
|
|
3451
3491
|
parseVNodeAnnotations(doc, doc.body, docData, orgLocationNodes);
|
|
3452
3492
|
orgLocationNodes.forEach((orgLocationNode) => {
|
|
3453
|
-
var
|
|
3493
|
+
var _a2;
|
|
3454
3494
|
if (orgLocationNode != null && orgLocationNode["s-nr"]) {
|
|
3455
3495
|
const nodeRef = orgLocationNode["s-nr"];
|
|
3456
3496
|
let hostId = nodeRef["s-host-id"];
|
|
@@ -3468,7 +3508,7 @@ var insertVdomAnnotations = (doc, staticComponents) => {
|
|
|
3468
3508
|
}
|
|
3469
3509
|
} else if (nodeRef.nodeType === 3 /* TextNode */) {
|
|
3470
3510
|
if (hostId === 0) {
|
|
3471
|
-
const textContent = (
|
|
3511
|
+
const textContent = (_a2 = nodeRef.nodeValue) == null ? void 0 : _a2.trim();
|
|
3472
3512
|
if (textContent === "") {
|
|
3473
3513
|
orgLocationNode.remove();
|
|
3474
3514
|
return;
|
|
@@ -3498,7 +3538,7 @@ var insertVdomAnnotations = (doc, staticComponents) => {
|
|
|
3498
3538
|
}
|
|
3499
3539
|
};
|
|
3500
3540
|
var parseVNodeAnnotations = (doc, node, docData, orgLocationNodes) => {
|
|
3501
|
-
var
|
|
3541
|
+
var _a2;
|
|
3502
3542
|
if (node == null) {
|
|
3503
3543
|
return;
|
|
3504
3544
|
}
|
|
@@ -3506,7 +3546,7 @@ var parseVNodeAnnotations = (doc, node, docData, orgLocationNodes) => {
|
|
|
3506
3546
|
orgLocationNodes.push(node);
|
|
3507
3547
|
}
|
|
3508
3548
|
if (node.nodeType === 1 /* ElementNode */) {
|
|
3509
|
-
const childNodes = [...Array.from(node.childNodes), ...Array.from(((
|
|
3549
|
+
const childNodes = [...Array.from(node.childNodes), ...Array.from(((_a2 = node.shadowRoot) == null ? void 0 : _a2.childNodes) || [])];
|
|
3510
3550
|
childNodes.forEach((childNode) => {
|
|
3511
3551
|
const hostRef = getHostRef(childNode);
|
|
3512
3552
|
if (hostRef != null && !docData.staticComponents.has(childNode.nodeName.toLowerCase())) {
|
|
@@ -3732,8 +3772,35 @@ var unescape = (s, { windowsPathsNoEscape = false } = {}) => {
|
|
|
3732
3772
|
};
|
|
3733
3773
|
|
|
3734
3774
|
// node_modules/minimatch/dist/esm/ast.js
|
|
3775
|
+
var _a;
|
|
3735
3776
|
var types = /* @__PURE__ */ new Set(["!", "?", "+", "*", "@"]);
|
|
3736
3777
|
var isExtglobType = (c) => types.has(c);
|
|
3778
|
+
var isExtglobAST = (c) => isExtglobType(c.type);
|
|
3779
|
+
var adoptionMap = /* @__PURE__ */ new Map([
|
|
3780
|
+
["!", ["@"]],
|
|
3781
|
+
["?", ["?", "@"]],
|
|
3782
|
+
["@", ["@"]],
|
|
3783
|
+
["*", ["*", "+", "?", "@"]],
|
|
3784
|
+
["+", ["+", "@"]]
|
|
3785
|
+
]);
|
|
3786
|
+
var adoptionWithSpaceMap = /* @__PURE__ */ new Map([
|
|
3787
|
+
["!", ["?"]],
|
|
3788
|
+
["@", ["?"]],
|
|
3789
|
+
["+", ["?", "*"]]
|
|
3790
|
+
]);
|
|
3791
|
+
var adoptionAnyMap = /* @__PURE__ */ new Map([
|
|
3792
|
+
["!", ["?", "@"]],
|
|
3793
|
+
["?", ["?", "@"]],
|
|
3794
|
+
["@", ["?", "@"]],
|
|
3795
|
+
["*", ["*", "+", "?", "@"]],
|
|
3796
|
+
["+", ["+", "@", "?", "*"]]
|
|
3797
|
+
]);
|
|
3798
|
+
var usurpMap = /* @__PURE__ */ new Map([
|
|
3799
|
+
["!", /* @__PURE__ */ new Map([["!", "@"]])],
|
|
3800
|
+
["?", /* @__PURE__ */ new Map([["*", "*"], ["+", "*"]])],
|
|
3801
|
+
["@", /* @__PURE__ */ new Map([["!", "!"], ["?", "?"], ["@", "@"], ["*", "*"], ["+", "+"]])],
|
|
3802
|
+
["+", /* @__PURE__ */ new Map([["?", "*"], ["*", "*"]])]
|
|
3803
|
+
]);
|
|
3737
3804
|
var startNoTraversal = "(?!(?:^|/)\\.\\.?(?:$|/))";
|
|
3738
3805
|
var startNoDot = "(?!\\.)";
|
|
3739
3806
|
var addPatternStart = /* @__PURE__ */ new Set(["[", "."]);
|
|
@@ -3743,8 +3810,8 @@ var regExpEscape = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
|
|
|
3743
3810
|
var qmark = "[^/]";
|
|
3744
3811
|
var star = qmark + "*?";
|
|
3745
3812
|
var starNoEmpty = qmark + "+?";
|
|
3746
|
-
var _root, _hasMagic, _uflag, _parts, _parent, _parentIndex, _negs, _filledNegs, _options, _toString, _emptyExt, _AST_instances, fillNegs_fn, _AST_static, parseAST_fn, partsToRegExp_fn, parseGlob_fn;
|
|
3747
|
-
var
|
|
3813
|
+
var _root, _hasMagic, _uflag, _parts, _parent, _parentIndex, _negs, _filledNegs, _options, _toString, _emptyExt, _AST_instances, fillNegs_fn, _AST_static, parseAST_fn, canAdoptWithSpace_fn, canAdopt_fn, canAdoptType_fn, adoptWithSpace_fn, adopt_fn, canUsurpType_fn, canUsurp_fn, usurp_fn, flatten_fn, partsToRegExp_fn, parseGlob_fn;
|
|
3814
|
+
var AST = class {
|
|
3748
3815
|
constructor(type, parent, options = {}) {
|
|
3749
3816
|
__privateAdd(this, _AST_instances);
|
|
3750
3817
|
__publicField(this, "type");
|
|
@@ -3797,44 +3864,44 @@ var _AST = class _AST {
|
|
|
3797
3864
|
for (const p of parts) {
|
|
3798
3865
|
if (p === "")
|
|
3799
3866
|
continue;
|
|
3800
|
-
if (typeof p !== "string" && !(p instanceof
|
|
3867
|
+
if (typeof p !== "string" && !(p instanceof _a && __privateGet(p, _parent) === this)) {
|
|
3801
3868
|
throw new Error("invalid part: " + p);
|
|
3802
3869
|
}
|
|
3803
3870
|
__privateGet(this, _parts).push(p);
|
|
3804
3871
|
}
|
|
3805
3872
|
}
|
|
3806
3873
|
toJSON() {
|
|
3807
|
-
var
|
|
3874
|
+
var _a2;
|
|
3808
3875
|
const ret = this.type === null ? __privateGet(this, _parts).slice().map((p) => typeof p === "string" ? p : p.toJSON()) : [this.type, ...__privateGet(this, _parts).map((p) => p.toJSON())];
|
|
3809
3876
|
if (this.isStart() && !this.type)
|
|
3810
3877
|
ret.unshift([]);
|
|
3811
|
-
if (this.isEnd() && (this === __privateGet(this, _root) || __privateGet(__privateGet(this, _root), _filledNegs) && ((
|
|
3878
|
+
if (this.isEnd() && (this === __privateGet(this, _root) || __privateGet(__privateGet(this, _root), _filledNegs) && ((_a2 = __privateGet(this, _parent)) == null ? void 0 : _a2.type) === "!")) {
|
|
3812
3879
|
ret.push({});
|
|
3813
3880
|
}
|
|
3814
3881
|
return ret;
|
|
3815
3882
|
}
|
|
3816
3883
|
isStart() {
|
|
3817
|
-
var
|
|
3884
|
+
var _a2;
|
|
3818
3885
|
if (__privateGet(this, _root) === this)
|
|
3819
3886
|
return true;
|
|
3820
|
-
if (!((
|
|
3887
|
+
if (!((_a2 = __privateGet(this, _parent)) == null ? void 0 : _a2.isStart()))
|
|
3821
3888
|
return false;
|
|
3822
3889
|
if (__privateGet(this, _parentIndex) === 0)
|
|
3823
3890
|
return true;
|
|
3824
3891
|
const p = __privateGet(this, _parent);
|
|
3825
3892
|
for (let i2 = 0; i2 < __privateGet(this, _parentIndex); i2++) {
|
|
3826
3893
|
const pp = __privateGet(p, _parts)[i2];
|
|
3827
|
-
if (!(pp instanceof
|
|
3894
|
+
if (!(pp instanceof _a && pp.type === "!")) {
|
|
3828
3895
|
return false;
|
|
3829
3896
|
}
|
|
3830
3897
|
}
|
|
3831
3898
|
return true;
|
|
3832
3899
|
}
|
|
3833
3900
|
isEnd() {
|
|
3834
|
-
var
|
|
3901
|
+
var _a2, _b, _c;
|
|
3835
3902
|
if (__privateGet(this, _root) === this)
|
|
3836
3903
|
return true;
|
|
3837
|
-
if (((
|
|
3904
|
+
if (((_a2 = __privateGet(this, _parent)) == null ? void 0 : _a2.type) === "!")
|
|
3838
3905
|
return true;
|
|
3839
3906
|
if (!((_b = __privateGet(this, _parent)) == null ? void 0 : _b.isEnd()))
|
|
3840
3907
|
return false;
|
|
@@ -3850,16 +3917,16 @@ var _AST = class _AST {
|
|
|
3850
3917
|
this.push(part.clone(this));
|
|
3851
3918
|
}
|
|
3852
3919
|
clone(parent) {
|
|
3853
|
-
const c = new
|
|
3920
|
+
const c = new _a(this.type, parent);
|
|
3854
3921
|
for (const p of __privateGet(this, _parts)) {
|
|
3855
3922
|
c.copyIn(p);
|
|
3856
3923
|
}
|
|
3857
3924
|
return c;
|
|
3858
3925
|
}
|
|
3859
3926
|
static fromGlob(pattern, options = {}) {
|
|
3860
|
-
var
|
|
3861
|
-
const ast = new
|
|
3862
|
-
__privateMethod(
|
|
3927
|
+
var _a2;
|
|
3928
|
+
const ast = new _a(null, void 0, options);
|
|
3929
|
+
__privateMethod(_a2 = _a, _AST_static, parseAST_fn).call(_a2, pattern, ast, 0, options, 0);
|
|
3863
3930
|
return ast;
|
|
3864
3931
|
}
|
|
3865
3932
|
// returns the regular expression if there's magic, or the unescaped
|
|
@@ -3952,15 +4019,17 @@ var _AST = class _AST {
|
|
|
3952
4019
|
// is ^(?!\.), we can just prepend (?!\.) to the pattern (either root
|
|
3953
4020
|
// or start or whatever) and prepend ^ or / at the Regexp construction.
|
|
3954
4021
|
toRegExpSource(allowDot) {
|
|
3955
|
-
var
|
|
4022
|
+
var _a2;
|
|
3956
4023
|
const dot = allowDot != null ? allowDot : !!__privateGet(this, _options).dot;
|
|
3957
|
-
if (__privateGet(this, _root) === this)
|
|
4024
|
+
if (__privateGet(this, _root) === this) {
|
|
4025
|
+
__privateMethod(this, _AST_instances, flatten_fn).call(this);
|
|
3958
4026
|
__privateMethod(this, _AST_instances, fillNegs_fn).call(this);
|
|
3959
|
-
|
|
4027
|
+
}
|
|
4028
|
+
if (!isExtglobAST(this)) {
|
|
3960
4029
|
const noEmpty = this.isStart() && this.isEnd();
|
|
3961
4030
|
const src = __privateGet(this, _parts).map((p) => {
|
|
3962
|
-
var
|
|
3963
|
-
const [re, _, hasMagic, uflag] = typeof p === "string" ? __privateMethod(
|
|
4031
|
+
var _a3;
|
|
4032
|
+
const [re, _, hasMagic, uflag] = typeof p === "string" ? __privateMethod(_a3 = _a, _AST_static, parseGlob_fn).call(_a3, p, __privateGet(this, _hasMagic), noEmpty) : p.toRegExpSource(allowDot);
|
|
3964
4033
|
__privateSet(this, _hasMagic, __privateGet(this, _hasMagic) || hasMagic);
|
|
3965
4034
|
__privateSet(this, _uflag, __privateGet(this, _uflag) || uflag);
|
|
3966
4035
|
return re;
|
|
@@ -3983,7 +4052,7 @@ var _AST = class _AST {
|
|
|
3983
4052
|
}
|
|
3984
4053
|
}
|
|
3985
4054
|
let end = "";
|
|
3986
|
-
if (this.isEnd() && __privateGet(__privateGet(this, _root), _filledNegs) && ((
|
|
4055
|
+
if (this.isEnd() && __privateGet(__privateGet(this, _root), _filledNegs) && ((_a2 = __privateGet(this, _parent)) == null ? void 0 : _a2.type) === "!") {
|
|
3987
4056
|
end = "(?:$|\\/)";
|
|
3988
4057
|
}
|
|
3989
4058
|
const final2 = start2 + src + end;
|
|
@@ -3999,12 +4068,13 @@ var _AST = class _AST {
|
|
|
3999
4068
|
let body = __privateMethod(this, _AST_instances, partsToRegExp_fn).call(this, dot);
|
|
4000
4069
|
if (this.isStart() && this.isEnd() && !body && this.type !== "!") {
|
|
4001
4070
|
const s = this.toString();
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4071
|
+
const me = this;
|
|
4072
|
+
__privateSet(me, _parts, [s]);
|
|
4073
|
+
me.type = null;
|
|
4074
|
+
__privateSet(me, _hasMagic, void 0);
|
|
4005
4075
|
return [s, unescape(this.toString()), false, false];
|
|
4006
4076
|
}
|
|
4007
|
-
let bodyDotAllowed = !repeated || allowDot || dot ||
|
|
4077
|
+
let bodyDotAllowed = !repeated || allowDot || dot || !startNoDot ? "" : __privateMethod(this, _AST_instances, partsToRegExp_fn).call(this, true);
|
|
4008
4078
|
if (bodyDotAllowed === body) {
|
|
4009
4079
|
bodyDotAllowed = "";
|
|
4010
4080
|
}
|
|
@@ -4070,8 +4140,9 @@ fillNegs_fn = function() {
|
|
|
4070
4140
|
return this;
|
|
4071
4141
|
};
|
|
4072
4142
|
_AST_static = new WeakSet();
|
|
4073
|
-
parseAST_fn = function(str, ast, pos, opt) {
|
|
4074
|
-
var
|
|
4143
|
+
parseAST_fn = function(str, ast, pos, opt, extDepth) {
|
|
4144
|
+
var _a2, _b, _c, _d, _e;
|
|
4145
|
+
const maxDepth = (_a2 = opt.maxExtglobRecursion) != null ? _a2 : 2;
|
|
4075
4146
|
let escaping = false;
|
|
4076
4147
|
let inBrace = false;
|
|
4077
4148
|
let braceStart = -1;
|
|
@@ -4103,11 +4174,12 @@ parseAST_fn = function(str, ast, pos, opt) {
|
|
|
4103
4174
|
acc2 += c;
|
|
4104
4175
|
continue;
|
|
4105
4176
|
}
|
|
4106
|
-
|
|
4177
|
+
const doRecurse = !opt.noext && isExtglobType(c) && str.charAt(i3) === "(" && extDepth <= maxDepth;
|
|
4178
|
+
if (doRecurse) {
|
|
4107
4179
|
ast.push(acc2);
|
|
4108
4180
|
acc2 = "";
|
|
4109
|
-
const ext2 = new
|
|
4110
|
-
i3 = __privateMethod(
|
|
4181
|
+
const ext2 = new _a(c, ast);
|
|
4182
|
+
i3 = __privateMethod(_b = _a, _AST_static, parseAST_fn).call(_b, str, ext2, i3, opt, extDepth + 1);
|
|
4111
4183
|
ast.push(ext2);
|
|
4112
4184
|
continue;
|
|
4113
4185
|
}
|
|
@@ -4117,7 +4189,7 @@ parseAST_fn = function(str, ast, pos, opt) {
|
|
|
4117
4189
|
return i3;
|
|
4118
4190
|
}
|
|
4119
4191
|
let i2 = pos + 1;
|
|
4120
|
-
let part = new
|
|
4192
|
+
let part = new _a(null, ast);
|
|
4121
4193
|
const parts = [];
|
|
4122
4194
|
let acc = "";
|
|
4123
4195
|
while (i2 < str.length) {
|
|
@@ -4144,19 +4216,22 @@ parseAST_fn = function(str, ast, pos, opt) {
|
|
|
4144
4216
|
acc += c;
|
|
4145
4217
|
continue;
|
|
4146
4218
|
}
|
|
4147
|
-
|
|
4219
|
+
const doRecurse = isExtglobType(c) && str.charAt(i2) === "(" && /* c8 ignore start - the maxDepth is sufficient here */
|
|
4220
|
+
(extDepth <= maxDepth || ast && __privateMethod(_c = ast, _AST_instances, canAdoptType_fn).call(_c, c));
|
|
4221
|
+
if (doRecurse) {
|
|
4222
|
+
const depthAdd = ast && __privateMethod(_d = ast, _AST_instances, canAdoptType_fn).call(_d, c) ? 0 : 1;
|
|
4148
4223
|
part.push(acc);
|
|
4149
4224
|
acc = "";
|
|
4150
|
-
const ext2 = new
|
|
4225
|
+
const ext2 = new _a(c, part);
|
|
4151
4226
|
part.push(ext2);
|
|
4152
|
-
i2 = __privateMethod(
|
|
4227
|
+
i2 = __privateMethod(_e = _a, _AST_static, parseAST_fn).call(_e, str, ext2, i2, opt, extDepth + depthAdd);
|
|
4153
4228
|
continue;
|
|
4154
4229
|
}
|
|
4155
4230
|
if (c === "|") {
|
|
4156
4231
|
part.push(acc);
|
|
4157
4232
|
acc = "";
|
|
4158
4233
|
parts.push(part);
|
|
4159
|
-
part = new
|
|
4234
|
+
part = new _a(null, ast);
|
|
4160
4235
|
continue;
|
|
4161
4236
|
}
|
|
4162
4237
|
if (c === ")") {
|
|
@@ -4175,6 +4250,100 @@ parseAST_fn = function(str, ast, pos, opt) {
|
|
|
4175
4250
|
__privateSet(ast, _parts, [str.substring(pos - 1)]);
|
|
4176
4251
|
return i2;
|
|
4177
4252
|
};
|
|
4253
|
+
canAdoptWithSpace_fn = function(child) {
|
|
4254
|
+
return __privateMethod(this, _AST_instances, canAdopt_fn).call(this, child, adoptionWithSpaceMap);
|
|
4255
|
+
};
|
|
4256
|
+
canAdopt_fn = function(child, map2 = adoptionMap) {
|
|
4257
|
+
if (!child || typeof child !== "object" || child.type !== null || __privateGet(child, _parts).length !== 1 || this.type === null) {
|
|
4258
|
+
return false;
|
|
4259
|
+
}
|
|
4260
|
+
const gc = __privateGet(child, _parts)[0];
|
|
4261
|
+
if (!gc || typeof gc !== "object" || gc.type === null) {
|
|
4262
|
+
return false;
|
|
4263
|
+
}
|
|
4264
|
+
return __privateMethod(this, _AST_instances, canAdoptType_fn).call(this, gc.type, map2);
|
|
4265
|
+
};
|
|
4266
|
+
canAdoptType_fn = function(c, map2 = adoptionAnyMap) {
|
|
4267
|
+
var _a2;
|
|
4268
|
+
return !!((_a2 = map2.get(this.type)) == null ? void 0 : _a2.includes(c));
|
|
4269
|
+
};
|
|
4270
|
+
adoptWithSpace_fn = function(child, index) {
|
|
4271
|
+
const gc = __privateGet(child, _parts)[0];
|
|
4272
|
+
const blank = new _a(null, gc, this.options);
|
|
4273
|
+
__privateGet(blank, _parts).push("");
|
|
4274
|
+
gc.push(blank);
|
|
4275
|
+
__privateMethod(this, _AST_instances, adopt_fn).call(this, child, index);
|
|
4276
|
+
};
|
|
4277
|
+
adopt_fn = function(child, index) {
|
|
4278
|
+
const gc = __privateGet(child, _parts)[0];
|
|
4279
|
+
__privateGet(this, _parts).splice(index, 1, ...__privateGet(gc, _parts));
|
|
4280
|
+
for (const p of __privateGet(gc, _parts)) {
|
|
4281
|
+
if (typeof p === "object")
|
|
4282
|
+
__privateSet(p, _parent, this);
|
|
4283
|
+
}
|
|
4284
|
+
__privateSet(this, _toString, void 0);
|
|
4285
|
+
};
|
|
4286
|
+
canUsurpType_fn = function(c) {
|
|
4287
|
+
const m = usurpMap.get(this.type);
|
|
4288
|
+
return !!(m == null ? void 0 : m.has(c));
|
|
4289
|
+
};
|
|
4290
|
+
canUsurp_fn = function(child) {
|
|
4291
|
+
if (!child || typeof child !== "object" || child.type !== null || __privateGet(child, _parts).length !== 1 || this.type === null || __privateGet(this, _parts).length !== 1) {
|
|
4292
|
+
return false;
|
|
4293
|
+
}
|
|
4294
|
+
const gc = __privateGet(child, _parts)[0];
|
|
4295
|
+
if (!gc || typeof gc !== "object" || gc.type === null) {
|
|
4296
|
+
return false;
|
|
4297
|
+
}
|
|
4298
|
+
return __privateMethod(this, _AST_instances, canUsurpType_fn).call(this, gc.type);
|
|
4299
|
+
};
|
|
4300
|
+
usurp_fn = function(child) {
|
|
4301
|
+
const m = usurpMap.get(this.type);
|
|
4302
|
+
const gc = __privateGet(child, _parts)[0];
|
|
4303
|
+
const nt = m == null ? void 0 : m.get(gc.type);
|
|
4304
|
+
if (!nt)
|
|
4305
|
+
return false;
|
|
4306
|
+
__privateSet(this, _parts, __privateGet(gc, _parts));
|
|
4307
|
+
for (const p of __privateGet(this, _parts)) {
|
|
4308
|
+
if (typeof p === "object")
|
|
4309
|
+
__privateSet(p, _parent, this);
|
|
4310
|
+
}
|
|
4311
|
+
this.type = nt;
|
|
4312
|
+
__privateSet(this, _toString, void 0);
|
|
4313
|
+
__privateSet(this, _emptyExt, false);
|
|
4314
|
+
};
|
|
4315
|
+
flatten_fn = function() {
|
|
4316
|
+
var _a2, _b;
|
|
4317
|
+
if (!isExtglobAST(this)) {
|
|
4318
|
+
for (const p of __privateGet(this, _parts)) {
|
|
4319
|
+
if (typeof p === "object")
|
|
4320
|
+
__privateMethod(_a2 = p, _AST_instances, flatten_fn).call(_a2);
|
|
4321
|
+
}
|
|
4322
|
+
} else {
|
|
4323
|
+
let iterations = 0;
|
|
4324
|
+
let done = false;
|
|
4325
|
+
do {
|
|
4326
|
+
done = true;
|
|
4327
|
+
for (let i2 = 0; i2 < __privateGet(this, _parts).length; i2++) {
|
|
4328
|
+
const c = __privateGet(this, _parts)[i2];
|
|
4329
|
+
if (typeof c === "object") {
|
|
4330
|
+
__privateMethod(_b = c, _AST_instances, flatten_fn).call(_b);
|
|
4331
|
+
if (__privateMethod(this, _AST_instances, canAdopt_fn).call(this, c)) {
|
|
4332
|
+
done = false;
|
|
4333
|
+
__privateMethod(this, _AST_instances, adopt_fn).call(this, c, i2);
|
|
4334
|
+
} else if (__privateMethod(this, _AST_instances, canAdoptWithSpace_fn).call(this, c)) {
|
|
4335
|
+
done = false;
|
|
4336
|
+
__privateMethod(this, _AST_instances, adoptWithSpace_fn).call(this, c, i2);
|
|
4337
|
+
} else if (__privateMethod(this, _AST_instances, canUsurp_fn).call(this, c)) {
|
|
4338
|
+
done = false;
|
|
4339
|
+
__privateMethod(this, _AST_instances, usurp_fn).call(this, c);
|
|
4340
|
+
}
|
|
4341
|
+
}
|
|
4342
|
+
}
|
|
4343
|
+
} while (!done && ++iterations < 10);
|
|
4344
|
+
}
|
|
4345
|
+
__privateSet(this, _toString, void 0);
|
|
4346
|
+
};
|
|
4178
4347
|
partsToRegExp_fn = function(dot) {
|
|
4179
4348
|
return __privateGet(this, _parts).map((p) => {
|
|
4180
4349
|
if (typeof p === "string") {
|
|
@@ -4189,11 +4358,13 @@ parseGlob_fn = function(glob, hasMagic, noEmpty = false) {
|
|
|
4189
4358
|
let escaping = false;
|
|
4190
4359
|
let re = "";
|
|
4191
4360
|
let uflag = false;
|
|
4361
|
+
let inStar = false;
|
|
4192
4362
|
for (let i2 = 0; i2 < glob.length; i2++) {
|
|
4193
4363
|
const c = glob.charAt(i2);
|
|
4194
4364
|
if (escaping) {
|
|
4195
4365
|
escaping = false;
|
|
4196
4366
|
re += (reSpecials.has(c) ? "\\" : "") + c;
|
|
4367
|
+
inStar = false;
|
|
4197
4368
|
continue;
|
|
4198
4369
|
}
|
|
4199
4370
|
if (c === "\\") {
|
|
@@ -4211,16 +4382,19 @@ parseGlob_fn = function(glob, hasMagic, noEmpty = false) {
|
|
|
4211
4382
|
uflag = uflag || needUflag;
|
|
4212
4383
|
i2 += consumed - 1;
|
|
4213
4384
|
hasMagic = hasMagic || magic;
|
|
4385
|
+
inStar = false;
|
|
4214
4386
|
continue;
|
|
4215
4387
|
}
|
|
4216
4388
|
}
|
|
4217
4389
|
if (c === "*") {
|
|
4218
|
-
if (
|
|
4219
|
-
|
|
4220
|
-
|
|
4221
|
-
|
|
4390
|
+
if (inStar)
|
|
4391
|
+
continue;
|
|
4392
|
+
inStar = true;
|
|
4393
|
+
re += noEmpty && /^[*]+$/.test(glob) ? starNoEmpty : star;
|
|
4222
4394
|
hasMagic = true;
|
|
4223
4395
|
continue;
|
|
4396
|
+
} else {
|
|
4397
|
+
inStar = false;
|
|
4224
4398
|
}
|
|
4225
4399
|
if (c === "?") {
|
|
4226
4400
|
re += qmark;
|
|
@@ -4231,8 +4405,8 @@ parseGlob_fn = function(glob, hasMagic, noEmpty = false) {
|
|
|
4231
4405
|
}
|
|
4232
4406
|
return [re, unescape(glob), !!hasMagic, uflag];
|
|
4233
4407
|
};
|
|
4234
|
-
__privateAdd(
|
|
4235
|
-
|
|
4408
|
+
__privateAdd(AST, _AST_static);
|
|
4409
|
+
_a = AST;
|
|
4236
4410
|
|
|
4237
4411
|
// node_modules/minimatch/dist/esm/escape.js
|
|
4238
4412
|
var escape = (s, { windowsPathsNoEscape = false } = {}) => {
|
|
@@ -4371,28 +4545,33 @@ var match = (list, pattern, options = {}) => {
|
|
|
4371
4545
|
minimatch.match = match;
|
|
4372
4546
|
var globMagic = /[?*]|[+@!]\(.*?\)|\[|\]/;
|
|
4373
4547
|
var regExpEscape2 = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
|
|
4548
|
+
var _Minimatch_instances, matchGlobstar_fn, matchGlobStarBodySections_fn, matchOne_fn;
|
|
4374
4549
|
var Minimatch = class {
|
|
4375
|
-
options;
|
|
4376
|
-
set;
|
|
4377
|
-
pattern;
|
|
4378
|
-
windowsPathsNoEscape;
|
|
4379
|
-
nonegate;
|
|
4380
|
-
negate;
|
|
4381
|
-
comment;
|
|
4382
|
-
empty;
|
|
4383
|
-
preserveMultipleSlashes;
|
|
4384
|
-
partial;
|
|
4385
|
-
globSet;
|
|
4386
|
-
globParts;
|
|
4387
|
-
nocase;
|
|
4388
|
-
isWindows;
|
|
4389
|
-
platform;
|
|
4390
|
-
windowsNoMagicRoot;
|
|
4391
|
-
regexp;
|
|
4392
4550
|
constructor(pattern, options = {}) {
|
|
4551
|
+
__privateAdd(this, _Minimatch_instances);
|
|
4552
|
+
__publicField(this, "options");
|
|
4553
|
+
__publicField(this, "set");
|
|
4554
|
+
__publicField(this, "pattern");
|
|
4555
|
+
__publicField(this, "windowsPathsNoEscape");
|
|
4556
|
+
__publicField(this, "nonegate");
|
|
4557
|
+
__publicField(this, "negate");
|
|
4558
|
+
__publicField(this, "comment");
|
|
4559
|
+
__publicField(this, "empty");
|
|
4560
|
+
__publicField(this, "preserveMultipleSlashes");
|
|
4561
|
+
__publicField(this, "partial");
|
|
4562
|
+
__publicField(this, "globSet");
|
|
4563
|
+
__publicField(this, "globParts");
|
|
4564
|
+
__publicField(this, "nocase");
|
|
4565
|
+
__publicField(this, "isWindows");
|
|
4566
|
+
__publicField(this, "platform");
|
|
4567
|
+
__publicField(this, "windowsNoMagicRoot");
|
|
4568
|
+
__publicField(this, "maxGlobstarRecursion");
|
|
4569
|
+
__publicField(this, "regexp");
|
|
4570
|
+
var _a2;
|
|
4393
4571
|
assertValidPattern(pattern);
|
|
4394
4572
|
options = options || {};
|
|
4395
4573
|
this.options = options;
|
|
4574
|
+
this.maxGlobstarRecursion = (_a2 = options.maxGlobstarRecursion) != null ? _a2 : 200;
|
|
4396
4575
|
this.pattern = pattern;
|
|
4397
4576
|
this.platform = options.platform || defaultPlatform;
|
|
4398
4577
|
this.isWindows = this.platform === "win32";
|
|
@@ -4660,10 +4839,11 @@ var Minimatch = class {
|
|
|
4660
4839
|
for (let i2 = 0; i2 < globParts.length - 1; i2++) {
|
|
4661
4840
|
for (let j = i2 + 1; j < globParts.length; j++) {
|
|
4662
4841
|
const matched = this.partsMatch(globParts[i2], globParts[j], !this.preserveMultipleSlashes);
|
|
4663
|
-
if (
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4842
|
+
if (matched) {
|
|
4843
|
+
globParts[i2] = [];
|
|
4844
|
+
globParts[j] = matched;
|
|
4845
|
+
break;
|
|
4846
|
+
}
|
|
4667
4847
|
}
|
|
4668
4848
|
}
|
|
4669
4849
|
return globParts.filter((gs) => gs.length);
|
|
@@ -4724,7 +4904,8 @@ var Minimatch = class {
|
|
|
4724
4904
|
// out of pattern, then that's fine, as long as all
|
|
4725
4905
|
// the parts match.
|
|
4726
4906
|
matchOne(file, pattern, partial = false) {
|
|
4727
|
-
|
|
4907
|
+
let fileStartIndex = 0;
|
|
4908
|
+
let patternStartIndex = 0;
|
|
4728
4909
|
if (this.isWindows) {
|
|
4729
4910
|
const fileDrive = typeof file[0] === "string" && /^[a-z]:$/i.test(file[0]);
|
|
4730
4911
|
const fileUNC = !fileDrive && file[0] === "" && file[1] === "" && file[2] === "?" && /^[a-z]:$/i.test(file[3]);
|
|
@@ -4733,14 +4914,14 @@ var Minimatch = class {
|
|
|
4733
4914
|
const fdi = fileUNC ? 3 : fileDrive ? 0 : void 0;
|
|
4734
4915
|
const pdi = patternUNC ? 3 : patternDrive ? 0 : void 0;
|
|
4735
4916
|
if (typeof fdi === "number" && typeof pdi === "number") {
|
|
4736
|
-
const [fd, pd] = [
|
|
4917
|
+
const [fd, pd] = [
|
|
4918
|
+
file[fdi],
|
|
4919
|
+
pattern[pdi]
|
|
4920
|
+
];
|
|
4737
4921
|
if (fd.toLowerCase() === pd.toLowerCase()) {
|
|
4738
4922
|
pattern[pdi] = fd;
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
} else if (fdi > pdi) {
|
|
4742
|
-
file = file.slice(fdi);
|
|
4743
|
-
}
|
|
4923
|
+
patternStartIndex = pdi;
|
|
4924
|
+
fileStartIndex = fdi;
|
|
4744
4925
|
}
|
|
4745
4926
|
}
|
|
4746
4927
|
}
|
|
@@ -4748,71 +4929,10 @@ var Minimatch = class {
|
|
|
4748
4929
|
if (optimizationLevel >= 2) {
|
|
4749
4930
|
file = this.levelTwoFileOptimize(file);
|
|
4750
4931
|
}
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
for (var fi = 0, pi = 0, fl = file.length, pl = pattern.length; fi < fl && pi < pl; fi++, pi++) {
|
|
4754
|
-
this.debug("matchOne loop");
|
|
4755
|
-
var p = pattern[pi];
|
|
4756
|
-
var f = file[fi];
|
|
4757
|
-
this.debug(pattern, p, f);
|
|
4758
|
-
if (p === false) {
|
|
4759
|
-
return false;
|
|
4760
|
-
}
|
|
4761
|
-
if (p === GLOBSTAR) {
|
|
4762
|
-
this.debug("GLOBSTAR", [pattern, p, f]);
|
|
4763
|
-
var fr = fi;
|
|
4764
|
-
var pr = pi + 1;
|
|
4765
|
-
if (pr === pl) {
|
|
4766
|
-
this.debug("** at the end");
|
|
4767
|
-
for (; fi < fl; fi++) {
|
|
4768
|
-
if (file[fi] === "." || file[fi] === ".." || !options.dot && file[fi].charAt(0) === ".")
|
|
4769
|
-
return false;
|
|
4770
|
-
}
|
|
4771
|
-
return true;
|
|
4772
|
-
}
|
|
4773
|
-
while (fr < fl) {
|
|
4774
|
-
var swallowee = file[fr];
|
|
4775
|
-
this.debug("\nglobstar while", file, fr, pattern, pr, swallowee);
|
|
4776
|
-
if (this.matchOne(file.slice(fr), pattern.slice(pr), partial)) {
|
|
4777
|
-
this.debug("globstar found match!", fr, fl, swallowee);
|
|
4778
|
-
return true;
|
|
4779
|
-
} else {
|
|
4780
|
-
if (swallowee === "." || swallowee === ".." || !options.dot && swallowee.charAt(0) === ".") {
|
|
4781
|
-
this.debug("dot detected!", file, fr, pattern, pr);
|
|
4782
|
-
break;
|
|
4783
|
-
}
|
|
4784
|
-
this.debug("globstar swallow a segment, and continue");
|
|
4785
|
-
fr++;
|
|
4786
|
-
}
|
|
4787
|
-
}
|
|
4788
|
-
if (partial) {
|
|
4789
|
-
this.debug("\n>>> no match, partial?", file, fr, pattern, pr);
|
|
4790
|
-
if (fr === fl) {
|
|
4791
|
-
return true;
|
|
4792
|
-
}
|
|
4793
|
-
}
|
|
4794
|
-
return false;
|
|
4795
|
-
}
|
|
4796
|
-
let hit;
|
|
4797
|
-
if (typeof p === "string") {
|
|
4798
|
-
hit = f === p;
|
|
4799
|
-
this.debug("string match", p, f, hit);
|
|
4800
|
-
} else {
|
|
4801
|
-
hit = p.test(f);
|
|
4802
|
-
this.debug("pattern match", p, f, hit);
|
|
4803
|
-
}
|
|
4804
|
-
if (!hit)
|
|
4805
|
-
return false;
|
|
4806
|
-
}
|
|
4807
|
-
if (fi === fl && pi === pl) {
|
|
4808
|
-
return true;
|
|
4809
|
-
} else if (fi === fl) {
|
|
4810
|
-
return partial;
|
|
4811
|
-
} else if (pi === pl) {
|
|
4812
|
-
return fi === fl - 1 && file[fi] === "";
|
|
4813
|
-
} else {
|
|
4814
|
-
throw new Error("wtf?");
|
|
4932
|
+
if (pattern.includes(GLOBSTAR)) {
|
|
4933
|
+
return __privateMethod(this, _Minimatch_instances, matchGlobstar_fn).call(this, file, pattern, partial, fileStartIndex, patternStartIndex);
|
|
4815
4934
|
}
|
|
4935
|
+
return __privateMethod(this, _Minimatch_instances, matchOne_fn).call(this, file, pattern, partial, fileStartIndex, patternStartIndex);
|
|
4816
4936
|
}
|
|
4817
4937
|
braceExpand() {
|
|
4818
4938
|
return braceExpand(this.pattern, this.options);
|
|
@@ -4951,6 +5071,135 @@ var Minimatch = class {
|
|
|
4951
5071
|
return minimatch.defaults(def).Minimatch;
|
|
4952
5072
|
}
|
|
4953
5073
|
};
|
|
5074
|
+
_Minimatch_instances = new WeakSet();
|
|
5075
|
+
matchGlobstar_fn = function(file, pattern, partial, fileIndex, patternIndex) {
|
|
5076
|
+
const firstgs = pattern.indexOf(GLOBSTAR, patternIndex);
|
|
5077
|
+
const lastgs = pattern.lastIndexOf(GLOBSTAR);
|
|
5078
|
+
const [head, body, tail] = partial ? [
|
|
5079
|
+
pattern.slice(patternIndex, firstgs),
|
|
5080
|
+
pattern.slice(firstgs + 1),
|
|
5081
|
+
[]
|
|
5082
|
+
] : [
|
|
5083
|
+
pattern.slice(patternIndex, firstgs),
|
|
5084
|
+
pattern.slice(firstgs + 1, lastgs),
|
|
5085
|
+
pattern.slice(lastgs + 1)
|
|
5086
|
+
];
|
|
5087
|
+
if (head.length) {
|
|
5088
|
+
const fileHead = file.slice(fileIndex, fileIndex + head.length);
|
|
5089
|
+
if (!__privateMethod(this, _Minimatch_instances, matchOne_fn).call(this, fileHead, head, partial, 0, 0))
|
|
5090
|
+
return false;
|
|
5091
|
+
fileIndex += head.length;
|
|
5092
|
+
}
|
|
5093
|
+
let fileTailMatch = 0;
|
|
5094
|
+
if (tail.length) {
|
|
5095
|
+
if (tail.length + fileIndex > file.length)
|
|
5096
|
+
return false;
|
|
5097
|
+
let tailStart = file.length - tail.length;
|
|
5098
|
+
if (__privateMethod(this, _Minimatch_instances, matchOne_fn).call(this, file, tail, partial, tailStart, 0)) {
|
|
5099
|
+
fileTailMatch = tail.length;
|
|
5100
|
+
} else {
|
|
5101
|
+
if (file[file.length - 1] !== "" || fileIndex + tail.length === file.length) {
|
|
5102
|
+
return false;
|
|
5103
|
+
}
|
|
5104
|
+
tailStart--;
|
|
5105
|
+
if (!__privateMethod(this, _Minimatch_instances, matchOne_fn).call(this, file, tail, partial, tailStart, 0))
|
|
5106
|
+
return false;
|
|
5107
|
+
fileTailMatch = tail.length + 1;
|
|
5108
|
+
}
|
|
5109
|
+
}
|
|
5110
|
+
if (!body.length) {
|
|
5111
|
+
let sawSome = !!fileTailMatch;
|
|
5112
|
+
for (let i3 = fileIndex; i3 < file.length - fileTailMatch; i3++) {
|
|
5113
|
+
const f = String(file[i3]);
|
|
5114
|
+
sawSome = true;
|
|
5115
|
+
if (f === "." || f === ".." || !this.options.dot && f.startsWith(".")) {
|
|
5116
|
+
return false;
|
|
5117
|
+
}
|
|
5118
|
+
}
|
|
5119
|
+
return partial || sawSome;
|
|
5120
|
+
}
|
|
5121
|
+
const bodySegments = [[[], 0]];
|
|
5122
|
+
let currentBody = bodySegments[0];
|
|
5123
|
+
let nonGsParts = 0;
|
|
5124
|
+
const nonGsPartsSums = [0];
|
|
5125
|
+
for (const b of body) {
|
|
5126
|
+
if (b === GLOBSTAR) {
|
|
5127
|
+
nonGsPartsSums.push(nonGsParts);
|
|
5128
|
+
currentBody = [[], 0];
|
|
5129
|
+
bodySegments.push(currentBody);
|
|
5130
|
+
} else {
|
|
5131
|
+
currentBody[0].push(b);
|
|
5132
|
+
nonGsParts++;
|
|
5133
|
+
}
|
|
5134
|
+
}
|
|
5135
|
+
let i2 = bodySegments.length - 1;
|
|
5136
|
+
const fileLength = file.length - fileTailMatch;
|
|
5137
|
+
for (const b of bodySegments) {
|
|
5138
|
+
b[1] = fileLength - (nonGsPartsSums[i2--] + b[0].length);
|
|
5139
|
+
}
|
|
5140
|
+
return !!__privateMethod(this, _Minimatch_instances, matchGlobStarBodySections_fn).call(this, file, bodySegments, fileIndex, 0, partial, 0, !!fileTailMatch);
|
|
5141
|
+
};
|
|
5142
|
+
matchGlobStarBodySections_fn = function(file, bodySegments, fileIndex, bodyIndex, partial, globStarDepth, sawTail) {
|
|
5143
|
+
const bs = bodySegments[bodyIndex];
|
|
5144
|
+
if (!bs) {
|
|
5145
|
+
for (let i2 = fileIndex; i2 < file.length; i2++) {
|
|
5146
|
+
sawTail = true;
|
|
5147
|
+
const f = file[i2];
|
|
5148
|
+
if (f === "." || f === ".." || !this.options.dot && f.startsWith(".")) {
|
|
5149
|
+
return false;
|
|
5150
|
+
}
|
|
5151
|
+
}
|
|
5152
|
+
return sawTail;
|
|
5153
|
+
}
|
|
5154
|
+
const [body, after] = bs;
|
|
5155
|
+
while (fileIndex <= after) {
|
|
5156
|
+
const m = __privateMethod(this, _Minimatch_instances, matchOne_fn).call(this, file.slice(0, fileIndex + body.length), body, partial, fileIndex, 0);
|
|
5157
|
+
if (m && globStarDepth < this.maxGlobstarRecursion) {
|
|
5158
|
+
const sub = __privateMethod(this, _Minimatch_instances, matchGlobStarBodySections_fn).call(this, file, bodySegments, fileIndex + body.length, bodyIndex + 1, partial, globStarDepth + 1, sawTail);
|
|
5159
|
+
if (sub !== false)
|
|
5160
|
+
return sub;
|
|
5161
|
+
}
|
|
5162
|
+
const f = file[fileIndex];
|
|
5163
|
+
if (f === "." || f === ".." || !this.options.dot && f.startsWith(".")) {
|
|
5164
|
+
return false;
|
|
5165
|
+
}
|
|
5166
|
+
fileIndex++;
|
|
5167
|
+
}
|
|
5168
|
+
return partial || null;
|
|
5169
|
+
};
|
|
5170
|
+
matchOne_fn = function(file, pattern, partial, fileIndex, patternIndex) {
|
|
5171
|
+
let fi;
|
|
5172
|
+
let pi;
|
|
5173
|
+
let pl;
|
|
5174
|
+
let fl;
|
|
5175
|
+
for (fi = fileIndex, pi = patternIndex, fl = file.length, pl = pattern.length; fi < fl && pi < pl; fi++, pi++) {
|
|
5176
|
+
this.debug("matchOne loop");
|
|
5177
|
+
let p = pattern[pi];
|
|
5178
|
+
let f = file[fi];
|
|
5179
|
+
this.debug(pattern, p, f);
|
|
5180
|
+
if (p === false || p === GLOBSTAR)
|
|
5181
|
+
return false;
|
|
5182
|
+
let hit;
|
|
5183
|
+
if (typeof p === "string") {
|
|
5184
|
+
hit = f === p;
|
|
5185
|
+
this.debug("string match", p, f, hit);
|
|
5186
|
+
} else {
|
|
5187
|
+
hit = p.test(f);
|
|
5188
|
+
this.debug("pattern match", p, f, hit);
|
|
5189
|
+
}
|
|
5190
|
+
if (!hit)
|
|
5191
|
+
return false;
|
|
5192
|
+
}
|
|
5193
|
+
if (fi === fl && pi === pl) {
|
|
5194
|
+
return true;
|
|
5195
|
+
} else if (fi === fl) {
|
|
5196
|
+
return partial;
|
|
5197
|
+
} else if (pi === pl) {
|
|
5198
|
+
return fi === fl - 1 && file[fi] === "";
|
|
5199
|
+
} else {
|
|
5200
|
+
throw new Error("wtf?");
|
|
5201
|
+
}
|
|
5202
|
+
};
|
|
4954
5203
|
minimatch.AST = AST;
|
|
4955
5204
|
minimatch.Minimatch = Minimatch;
|
|
4956
5205
|
minimatch.escape = escape;
|
|
@@ -5024,7 +5273,7 @@ function proxyHostElement(elm, cstr) {
|
|
|
5024
5273
|
const hostRef = getHostRef(elm);
|
|
5025
5274
|
const members = Object.entries(cmpMeta.$members$);
|
|
5026
5275
|
members.forEach(([memberName, [memberFlags, metaAttributeName]]) => {
|
|
5027
|
-
var
|
|
5276
|
+
var _a2, _b;
|
|
5028
5277
|
if (memberFlags & 31 /* Prop */) {
|
|
5029
5278
|
const attributeName = metaAttributeName || memberName;
|
|
5030
5279
|
const attrValue = elm.getAttribute(attributeName);
|
|
@@ -5032,7 +5281,7 @@ function proxyHostElement(elm, cstr) {
|
|
|
5032
5281
|
let attrPropVal;
|
|
5033
5282
|
const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(cstr.prototype, memberName) || {};
|
|
5034
5283
|
if (attrValue != null) {
|
|
5035
|
-
if ((
|
|
5284
|
+
if ((_a2 = cmpMeta.$deserializers$) == null ? void 0 : _a2[memberName]) {
|
|
5036
5285
|
for (const deserializer of cmpMeta.$deserializers$[memberName]) {
|
|
5037
5286
|
const [[methodName]] = Object.entries(deserializer);
|
|
5038
5287
|
attrPropVal = cstr.prototype[methodName](attrValue, memberName);
|
|
@@ -5065,8 +5314,8 @@ function proxyHostElement(elm, cstr) {
|
|
|
5065
5314
|
Object.defineProperty(elm, memberName, getterSetterDescriptor);
|
|
5066
5315
|
Object.defineProperty(elm, metaAttributeName, getterSetterDescriptor);
|
|
5067
5316
|
hostRef.$fetchedCbList$.push(() => {
|
|
5068
|
-
var
|
|
5069
|
-
if (!((
|
|
5317
|
+
var _a3;
|
|
5318
|
+
if (!((_a3 = hostRef == null ? void 0 : hostRef.$instanceValues$) == null ? void 0 : _a3.has(memberName))) {
|
|
5070
5319
|
setValue(
|
|
5071
5320
|
elm,
|
|
5072
5321
|
memberName,
|
|
@@ -5079,11 +5328,11 @@ function proxyHostElement(elm, cstr) {
|
|
|
5079
5328
|
} else if (memberFlags & 64 /* Method */) {
|
|
5080
5329
|
Object.defineProperty(elm, memberName, {
|
|
5081
5330
|
value(...args) {
|
|
5082
|
-
var
|
|
5331
|
+
var _a3;
|
|
5083
5332
|
const ref = getHostRef(this);
|
|
5084
|
-
return (
|
|
5085
|
-
var
|
|
5086
|
-
return (
|
|
5333
|
+
return (_a3 = ref == null ? void 0 : ref.$onInstancePromise$) == null ? void 0 : _a3.then(() => {
|
|
5334
|
+
var _a4;
|
|
5335
|
+
return (_a4 = ref == null ? void 0 : ref.$lazyInstance$) == null ? void 0 : _a4[memberName](...args);
|
|
5087
5336
|
}).catch((e) => {
|
|
5088
5337
|
consoleError(e, this);
|
|
5089
5338
|
});
|
|
@@ -5094,8 +5343,8 @@ function proxyHostElement(elm, cstr) {
|
|
|
5094
5343
|
}
|
|
5095
5344
|
}
|
|
5096
5345
|
function componentOnReady$1() {
|
|
5097
|
-
var
|
|
5098
|
-
return (
|
|
5346
|
+
var _a2;
|
|
5347
|
+
return (_a2 = getHostRef(this)) == null ? void 0 : _a2.$onReadyPromise$;
|
|
5099
5348
|
}
|
|
5100
5349
|
function forceUpdate2() {
|
|
5101
5350
|
}
|
|
@@ -19045,7 +19294,7 @@ class Input {
|
|
|
19045
19294
|
/**
|
|
19046
19295
|
* Whether auto correction should be enabled when the user is entering/editing the text value.
|
|
19047
19296
|
*/
|
|
19048
|
-
this.autocorrect =
|
|
19297
|
+
this.autocorrect = false;
|
|
19049
19298
|
/**
|
|
19050
19299
|
* Sets the [`autofocus` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus) on the native input element.
|
|
19051
19300
|
*
|
|
@@ -19502,7 +19751,7 @@ class Input {
|
|
|
19502
19751
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
19503
19752
|
*/
|
|
19504
19753
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
19505
|
-
return (hAsync(Host, { key: '
|
|
19754
|
+
return (hAsync(Host, { key: '6a05f61339d8045285d5820c2508296cc842c210', class: createColorClasses$1(this.color, {
|
|
19506
19755
|
[mode]: true,
|
|
19507
19756
|
'has-value': hasValue,
|
|
19508
19757
|
'has-focus': hasFocus,
|
|
@@ -19513,14 +19762,14 @@ class Input {
|
|
|
19513
19762
|
'in-item': inItem,
|
|
19514
19763
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
19515
19764
|
'input-disabled': disabled,
|
|
19516
|
-
}) }, hAsync("label", { key: '
|
|
19765
|
+
}) }, hAsync("label", { key: 'b546d66f53ea25082494e3a4cb0ce7532ee649d7', class: "input-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), hAsync("div", { key: '6af832f2b25fadee7a49adb999166dbc97565e2d', class: "native-wrapper", onClick: this.onLabelClick }, hAsync("slot", { key: 'e7a8895038a8d2503f646acfda20c6c1a99c2839', name: "start" }), hAsync("input", Object.assign({ key: 'ce85703e0434a6322bb4275a924e3cd91c79fa20', class: "native-input", ref: (input) => (this.nativeInput = input), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect ? 'on' : 'off', autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, min: this.min, max: this.max, minLength: this.minlength, maxLength: this.maxlength, multiple: this.multiple, name: this.name, pattern: this.pattern, placeholder: this.placeholder || '', readOnly: readonly, required: this.required, spellcheck: this.spellcheck, step: this.step, type: this.type, value: value, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeydown, onCompositionstart: this.onCompositionStart, onCompositionend: this.onCompositionEnd, "aria-describedby": this.getHintTextID(), "aria-invalid": this.isInvalid ? 'true' : undefined, "aria-labelledby": this.getLabelledById() }, this.inheritedAttributes)), this.clearInput && !readonly && !disabled && (hAsync("button", { key: '1e59589fc89a37d7830dc915b4c19d26a8f568c7', "aria-label": "reset", type: "button", class: "input-clear-icon", onPointerDown: (ev) => {
|
|
19517
19766
|
/**
|
|
19518
19767
|
* This prevents mobile browsers from
|
|
19519
19768
|
* blurring the input when the clear
|
|
19520
19769
|
* button is activated.
|
|
19521
19770
|
*/
|
|
19522
19771
|
ev.preventDefault();
|
|
19523
|
-
}, onClick: this.clearTextInput }, hAsync("ion-icon", { key: '
|
|
19772
|
+
}, onClick: this.clearTextInput }, hAsync("ion-icon", { key: '7d443c5061bf6436d3b77a2444676c679b3e62e4', "aria-hidden": "true", icon: clearIconData }))), hAsync("slot", { key: '5516f88d46886348217570ec1fadda0b79b63c01', name: "end" })), shouldRenderHighlight && hAsync("div", { key: '2a1fdb7e7c974654dfbb3afb4fbfd9204e9d9092', class: "input-highlight" })), this.renderBottomContent()));
|
|
19524
19773
|
}
|
|
19525
19774
|
get el() { return getElement(this); }
|
|
19526
19775
|
static get watchers() { return {
|
|
@@ -19548,7 +19797,7 @@ class Input {
|
|
|
19548
19797
|
"color": [513],
|
|
19549
19798
|
"autocapitalize": [1],
|
|
19550
19799
|
"autocomplete": [1],
|
|
19551
|
-
"autocorrect": [
|
|
19800
|
+
"autocorrect": [4],
|
|
19552
19801
|
"autofocus": [4],
|
|
19553
19802
|
"clearInput": [4, "clear-input"],
|
|
19554
19803
|
"clearInputIcon": [1, "clear-input-icon"],
|
|
@@ -33294,7 +33543,7 @@ class ReorderGroup {
|
|
|
33294
33543
|
}
|
|
33295
33544
|
let amount = 0;
|
|
33296
33545
|
if (posY < this.scrollElTop) {
|
|
33297
|
-
amount = -
|
|
33546
|
+
amount = -SCROLL_JUMP;
|
|
33298
33547
|
}
|
|
33299
33548
|
else if (posY > this.scrollElBottom) {
|
|
33300
33549
|
amount = SCROLL_JUMP;
|
|
@@ -34695,7 +34944,7 @@ class Searchbar {
|
|
|
34695
34944
|
/**
|
|
34696
34945
|
* Set the input's autocorrect property.
|
|
34697
34946
|
*/
|
|
34698
|
-
this.autocorrect =
|
|
34947
|
+
this.autocorrect = false;
|
|
34699
34948
|
/**
|
|
34700
34949
|
* Set the cancel button icon. Only applies to `md` mode.
|
|
34701
34950
|
* Defaults to `arrow-back-sharp`.
|
|
@@ -35095,8 +35344,8 @@ class Searchbar {
|
|
|
35095
35344
|
const clearIcon = this.clearIcon || (mode === 'ios' ? closeCircle : closeSharp);
|
|
35096
35345
|
const searchIcon = this.searchIcon || (mode === 'ios' ? searchOutline : searchSharp);
|
|
35097
35346
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
35098
|
-
const cancelButton = this.showCancelButton !== 'never' && (hAsync("button", { key: '
|
|
35099
|
-
return (hAsync(Host, { key: '
|
|
35347
|
+
const cancelButton = this.showCancelButton !== 'never' && (hAsync("button", { key: '870c9284441fdf431056ac944ac93afa7cb1ee96', "aria-label": cancelButtonText, "aria-hidden": shouldShowCancelButton ? undefined : 'true', type: "button", tabIndex: mode === 'ios' && !shouldShowCancelButton ? -1 : undefined, onMouseDown: this.onCancelSearchbar, onTouchStart: this.onCancelSearchbar, class: "searchbar-cancel-button" }, hAsync("div", { key: '730e33f44c5ec6eee898ea6612fdba337de354e3', "aria-hidden": "true" }, mode === 'md' ? (hAsync("ion-icon", { "aria-hidden": "true", mode: mode, icon: this.cancelButtonIcon, lazy: false })) : (cancelButtonText))));
|
|
35348
|
+
return (hAsync(Host, { key: 'd898b9f9768ec7119a3ad4be8350d8a3cfb32ba6', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses$1(this.color, {
|
|
35100
35349
|
[mode]: true,
|
|
35101
35350
|
'searchbar-animated': animated,
|
|
35102
35351
|
'searchbar-disabled': this.disabled,
|
|
@@ -35106,14 +35355,14 @@ class Searchbar {
|
|
|
35106
35355
|
'searchbar-has-focus': this.focused,
|
|
35107
35356
|
'searchbar-should-show-clear': this.shouldShowClearButton(),
|
|
35108
35357
|
'searchbar-should-show-cancel': this.shouldShowCancelButton(),
|
|
35109
|
-
}) }, hAsync("div", { key: '
|
|
35358
|
+
}) }, hAsync("div", { key: 'a0b49cce6241b7e79834de7cbb1d1076f9d42a21', class: "searchbar-input-container" }, hAsync("input", Object.assign({ key: '8ad5e659f8ed675fa5559f9e5dfcdf99cfcb8bcf', "aria-label": "search text", disabled: this.disabled, ref: (el) => (this.nativeInput = el), class: "searchbar-input", inputMode: this.inputmode, enterKeyHint: this.enterkeyhint, name: this.name, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, minLength: this.minlength, maxLength: this.maxlength, placeholder: this.placeholder, type: this.type, value: this.getValue(), autoCapitalize: autocapitalize === 'default' ? undefined : autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect ? 'on' : 'off', spellcheck: this.spellcheck }, this.inheritedAttributes)), mode === 'md' && cancelButton, hAsync("ion-icon", { key: '09f26831a519bb6639115f827b2b8985ae51e4b9', "aria-hidden": "true", mode: mode, icon: searchIcon, lazy: false, class: "searchbar-search-icon" }), hAsync("button", { key: 'd70ccda51cb79e51577648fcca3b274c6fa20a4f', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
|
|
35110
35359
|
/**
|
|
35111
35360
|
* This prevents mobile browsers from
|
|
35112
35361
|
* blurring the input when the clear
|
|
35113
35362
|
* button is activated.
|
|
35114
35363
|
*/
|
|
35115
35364
|
ev.preventDefault();
|
|
35116
|
-
}, onClick: () => this.onClearInput(true) }, hAsync("ion-icon", { key: '
|
|
35365
|
+
}, onClick: () => this.onClearInput(true) }, hAsync("ion-icon", { key: '428dcb1c0ffef947e24771b060288da47e67b6bd', "aria-hidden": "true", mode: mode, icon: clearIcon, lazy: false, class: "searchbar-clear-icon" }))), mode === 'ios' && cancelButton));
|
|
35117
35366
|
}
|
|
35118
35367
|
get el() { return getElement(this); }
|
|
35119
35368
|
static get watchers() { return {
|
|
@@ -35145,7 +35394,7 @@ class Searchbar {
|
|
|
35145
35394
|
"animated": [4],
|
|
35146
35395
|
"autocapitalize": [1],
|
|
35147
35396
|
"autocomplete": [1],
|
|
35148
|
-
"autocorrect": [
|
|
35397
|
+
"autocorrect": [4],
|
|
35149
35398
|
"cancelButtonIcon": [1, "cancel-button-icon"],
|
|
35150
35399
|
"cancelButtonText": [1, "cancel-button-text"],
|
|
35151
35400
|
"clearIcon": [1, "clear-icon"],
|
|
@@ -38833,7 +39082,7 @@ const createSwipeToDismissGesture = (el, toastPosition, onDismiss) => {
|
|
|
38833
39082
|
* consider when the threshold is a negative in the event the
|
|
38834
39083
|
* user drags up (since the deltaY will also be negative).
|
|
38835
39084
|
*/
|
|
38836
|
-
shouldDismiss = threshold >= DISMISS_THRESHOLD / 2 || threshold <= -
|
|
39085
|
+
shouldDismiss = threshold >= DISMISS_THRESHOLD / 2 || threshold <= -DISMISS_THRESHOLD / 2;
|
|
38837
39086
|
/**
|
|
38838
39087
|
* Since we are replacing the keyframes
|
|
38839
39088
|
* below the animation always starts from
|
|
@@ -39738,10 +39987,10 @@ class Toggle {
|
|
|
39738
39987
|
}
|
|
39739
39988
|
const shouldToggle = (rtl, checked, deltaX, margin) => {
|
|
39740
39989
|
if (checked) {
|
|
39741
|
-
return (!rtl && margin > deltaX) || (rtl &&
|
|
39990
|
+
return (!rtl && margin > deltaX) || (rtl && -margin < deltaX);
|
|
39742
39991
|
}
|
|
39743
39992
|
else {
|
|
39744
|
-
return (!rtl &&
|
|
39993
|
+
return (!rtl && -margin < deltaX) || (rtl && margin > deltaX);
|
|
39745
39994
|
}
|
|
39746
39995
|
};
|
|
39747
39996
|
let toggleIds = 0;
|
|
@@ -40888,7 +41137,7 @@ var NAMESPACE = (
|
|
|
40888
41137
|
);
|
|
40889
41138
|
|
|
40890
41139
|
/*
|
|
40891
|
-
Stencil Hydrate Runner v4.43.
|
|
41140
|
+
Stencil Hydrate Runner v4.43.5 | MIT Licensed | https://stenciljs.com
|
|
40892
41141
|
*/
|
|
40893
41142
|
var __create = Object.create;
|
|
40894
41143
|
var __defProp = Object.defineProperty;
|
|
@@ -42219,11 +42468,11 @@ var fromCodePoint = (
|
|
|
42219
42468
|
}
|
|
42220
42469
|
);
|
|
42221
42470
|
function replaceCodePoint(codePoint) {
|
|
42222
|
-
var
|
|
42471
|
+
var _a3;
|
|
42223
42472
|
if (codePoint >= 55296 && codePoint <= 57343 || codePoint > 1114111) {
|
|
42224
42473
|
return 65533;
|
|
42225
42474
|
}
|
|
42226
|
-
return (
|
|
42475
|
+
return (_a3 = decodeMap.get(codePoint)) !== null && _a3 !== void 0 ? _a3 : codePoint;
|
|
42227
42476
|
}
|
|
42228
42477
|
|
|
42229
42478
|
// node_modules/entities/lib/esm/decode.js
|
|
@@ -42420,9 +42669,9 @@ var EntityDecoder = class {
|
|
|
42420
42669
|
* @returns The number of characters that were consumed.
|
|
42421
42670
|
*/
|
|
42422
42671
|
emitNumericEntity(lastCp, expectedLength) {
|
|
42423
|
-
var
|
|
42672
|
+
var _a3;
|
|
42424
42673
|
if (this.consumed <= expectedLength) {
|
|
42425
|
-
(
|
|
42674
|
+
(_a3 = this.errors) === null || _a3 === void 0 ? void 0 : _a3.absenceOfDigitsInNumericCharacterReference(this.consumed);
|
|
42426
42675
|
return 0;
|
|
42427
42676
|
}
|
|
42428
42677
|
if (lastCp === CharCodes.SEMI) {
|
|
@@ -42482,11 +42731,11 @@ var EntityDecoder = class {
|
|
|
42482
42731
|
* @returns The number of characters consumed.
|
|
42483
42732
|
*/
|
|
42484
42733
|
emitNotTerminatedNamedEntity() {
|
|
42485
|
-
var
|
|
42734
|
+
var _a3;
|
|
42486
42735
|
const { result, decodeTree } = this;
|
|
42487
42736
|
const valueLength = (decodeTree[result] & BinTrieFlags.VALUE_LENGTH) >> 14;
|
|
42488
42737
|
this.emitNamedEntityData(result, valueLength, this.consumed);
|
|
42489
|
-
(
|
|
42738
|
+
(_a3 = this.errors) === null || _a3 === void 0 ? void 0 : _a3.missingSemicolonAfterCharacterReference();
|
|
42490
42739
|
return this.consumed;
|
|
42491
42740
|
}
|
|
42492
42741
|
/**
|
|
@@ -42514,7 +42763,7 @@ var EntityDecoder = class {
|
|
|
42514
42763
|
* @returns The number of characters consumed.
|
|
42515
42764
|
*/
|
|
42516
42765
|
end() {
|
|
42517
|
-
var
|
|
42766
|
+
var _a3;
|
|
42518
42767
|
switch (this.state) {
|
|
42519
42768
|
case EntityDecoderState.NamedEntity: {
|
|
42520
42769
|
return this.result !== 0 && (this.decodeMode !== DecodingMode.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
|
|
@@ -42527,7 +42776,7 @@ var EntityDecoder = class {
|
|
|
42527
42776
|
return this.emitNumericEntity(0, 3);
|
|
42528
42777
|
}
|
|
42529
42778
|
case EntityDecoderState.NumericStart: {
|
|
42530
|
-
(
|
|
42779
|
+
(_a3 = this.errors) === null || _a3 === void 0 ? void 0 : _a3.absenceOfDigitsInNumericCharacterReference(this.consumed);
|
|
42531
42780
|
return 0;
|
|
42532
42781
|
}
|
|
42533
42782
|
case EntityDecoderState.EntityStart: {
|
|
@@ -43008,8 +43257,8 @@ var TAG_NAME_TO_ID = /* @__PURE__ */ new Map([
|
|
|
43008
43257
|
[TAG_NAMES.XMP, TAG_ID.XMP]
|
|
43009
43258
|
]);
|
|
43010
43259
|
function getTagID(tagName) {
|
|
43011
|
-
var
|
|
43012
|
-
return (
|
|
43260
|
+
var _a3;
|
|
43261
|
+
return (_a3 = TAG_NAME_TO_ID.get(tagName)) !== null && _a3 !== void 0 ? _a3 : TAG_ID.UNKNOWN;
|
|
43013
43262
|
}
|
|
43014
43263
|
var $ = TAG_ID;
|
|
43015
43264
|
var SPECIAL_ELEMENTS = {
|
|
@@ -43276,8 +43525,8 @@ var Tokenizer = class {
|
|
|
43276
43525
|
}
|
|
43277
43526
|
//Errors
|
|
43278
43527
|
_err(code, cpOffset = 0) {
|
|
43279
|
-
var
|
|
43280
|
-
(_b = (
|
|
43528
|
+
var _a3, _b;
|
|
43529
|
+
(_b = (_a3 = this.handler).onParseError) === null || _b === void 0 ? void 0 : _b.call(_a3, this.preprocessor.getError(code, cpOffset));
|
|
43281
43530
|
}
|
|
43282
43531
|
// NOTE: `offset` may never run across line boundaries.
|
|
43283
43532
|
getCurrentLocation(offset) {
|
|
@@ -43419,13 +43668,13 @@ var Tokenizer = class {
|
|
|
43419
43668
|
this.currentLocation = this.getCurrentLocation(0);
|
|
43420
43669
|
}
|
|
43421
43670
|
_leaveAttrName() {
|
|
43422
|
-
var
|
|
43671
|
+
var _a3;
|
|
43423
43672
|
var _b;
|
|
43424
43673
|
const token = this.currentToken;
|
|
43425
43674
|
if (getTokenAttr(token, this.currentAttr.name) === null) {
|
|
43426
43675
|
token.attrs.push(this.currentAttr);
|
|
43427
43676
|
if (token.location && this.currentLocation) {
|
|
43428
|
-
const attrLocations = (
|
|
43677
|
+
const attrLocations = (_a3 = (_b = token.location).attrs) !== null && _a3 !== void 0 ? _a3 : _b.attrs = /* @__PURE__ */ Object.create(null);
|
|
43429
43678
|
attrLocations[this.currentAttr.name] = this.currentLocation;
|
|
43430
43679
|
this._leaveAttrValue();
|
|
43431
43680
|
}
|
|
@@ -46773,10 +47022,10 @@ var Parser = class {
|
|
|
46773
47022
|
//Errors
|
|
46774
47023
|
/** @internal */
|
|
46775
47024
|
_err(token, code, beforeToken) {
|
|
46776
|
-
var
|
|
47025
|
+
var _a3;
|
|
46777
47026
|
if (!this.onParseError)
|
|
46778
47027
|
return;
|
|
46779
|
-
const loc = (
|
|
47028
|
+
const loc = (_a3 = token.location) !== null && _a3 !== void 0 ? _a3 : BASE_LOC;
|
|
46780
47029
|
const err2 = {
|
|
46781
47030
|
code,
|
|
46782
47031
|
startLine: loc.startLine,
|
|
@@ -46791,18 +47040,18 @@ var Parser = class {
|
|
|
46791
47040
|
//Stack events
|
|
46792
47041
|
/** @internal */
|
|
46793
47042
|
onItemPush(node, tid, isTop) {
|
|
46794
|
-
var
|
|
46795
|
-
(_b = (
|
|
47043
|
+
var _a3, _b;
|
|
47044
|
+
(_b = (_a3 = this.treeAdapter).onItemPush) === null || _b === void 0 ? void 0 : _b.call(_a3, node);
|
|
46796
47045
|
if (isTop && this.openElements.stackTop > 0)
|
|
46797
47046
|
this._setContextModes(node, tid);
|
|
46798
47047
|
}
|
|
46799
47048
|
/** @internal */
|
|
46800
47049
|
onItemPop(node, isTop) {
|
|
46801
|
-
var
|
|
47050
|
+
var _a3, _b;
|
|
46802
47051
|
if (this.options.sourceCodeLocationInfo) {
|
|
46803
47052
|
this._setEndLocation(node, this.currentToken);
|
|
46804
47053
|
}
|
|
46805
|
-
(_b = (
|
|
47054
|
+
(_b = (_a3 = this.treeAdapter).onItemPop) === null || _b === void 0 ? void 0 : _b.call(_a3, node, this.openElements.current);
|
|
46806
47055
|
if (isTop) {
|
|
46807
47056
|
let current;
|
|
46808
47057
|
let currentTagId;
|
|
@@ -48876,9 +49125,9 @@ function eofInBody(p, token) {
|
|
|
48876
49125
|
}
|
|
48877
49126
|
}
|
|
48878
49127
|
function endTagInText(p, token) {
|
|
48879
|
-
var
|
|
49128
|
+
var _a3;
|
|
48880
49129
|
if (token.tagID === TAG_ID.SCRIPT) {
|
|
48881
|
-
(
|
|
49130
|
+
(_a3 = p.scriptHandler) === null || _a3 === void 0 ? void 0 : _a3.call(p, p.openElements.current);
|
|
48882
49131
|
}
|
|
48883
49132
|
p.openElements.pop();
|
|
48884
49133
|
p.insertionMode = p.originalInsertionMode;
|
|
@@ -49540,7 +49789,7 @@ function startTagAfterBody(p, token) {
|
|
|
49540
49789
|
}
|
|
49541
49790
|
}
|
|
49542
49791
|
function endTagAfterBody(p, token) {
|
|
49543
|
-
var
|
|
49792
|
+
var _a3;
|
|
49544
49793
|
if (token.tagID === TAG_ID.HTML) {
|
|
49545
49794
|
if (!p.fragmentContext) {
|
|
49546
49795
|
p.insertionMode = InsertionMode.AFTER_AFTER_BODY;
|
|
@@ -49548,7 +49797,7 @@ function endTagAfterBody(p, token) {
|
|
|
49548
49797
|
if (p.options.sourceCodeLocationInfo && p.openElements.tagIDs[0] === TAG_ID.HTML) {
|
|
49549
49798
|
p._setEndLocation(p.openElements.items[0], token);
|
|
49550
49799
|
const bodyElement = p.openElements.items[1];
|
|
49551
|
-
if (bodyElement && !((
|
|
49800
|
+
if (bodyElement && !((_a3 = p.treeAdapter.getNodeSourceCodeLocation(bodyElement)) === null || _a3 === void 0 ? void 0 : _a3.endTag)) {
|
|
49552
49801
|
p._setEndLocation(bodyElement, token);
|
|
49553
49802
|
}
|
|
49554
49803
|
}
|
|
@@ -51412,7 +51661,7 @@ function serializeNodeToHtml(elm, serializationOptions = {}) {
|
|
|
51412
51661
|
}
|
|
51413
51662
|
var shadowRootTag = "mock:shadow-root";
|
|
51414
51663
|
function* streamToHtml(node, opts, output) {
|
|
51415
|
-
var
|
|
51664
|
+
var _a3, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;
|
|
51416
51665
|
const isShadowRoot = node.nodeType === 11 /* DOCUMENT_FRAGMENT_NODE */;
|
|
51417
51666
|
if (node.nodeType === 1 /* ELEMENT_NODE */ || isShadowRoot) {
|
|
51418
51667
|
const tagName = isShadowRoot ? shadowRootTag : getTagName(node);
|
|
@@ -51421,7 +51670,7 @@ function* streamToHtml(node, opts, output) {
|
|
|
51421
51670
|
}
|
|
51422
51671
|
const ignoreTag = opts.excludeTags != null && opts.excludeTags.includes(tagName);
|
|
51423
51672
|
if (ignoreTag === false) {
|
|
51424
|
-
const isWithinWhitespaceSensitiveNode = opts.newLines || ((
|
|
51673
|
+
const isWithinWhitespaceSensitiveNode = opts.newLines || ((_a3 = opts.indentSpaces) != null ? _a3 : 0) > 0 ? isWithinWhitespaceSensitive(node) : false;
|
|
51425
51674
|
if (opts.newLines && !isWithinWhitespaceSensitiveNode) {
|
|
51426
51675
|
yield "\n";
|
|
51427
51676
|
output.currentLineWidth = 0;
|
|
@@ -51940,9 +52189,7 @@ var MockNode2 = class {
|
|
|
51940
52189
|
const firstChild = this.firstChild;
|
|
51941
52190
|
items.forEach((item) => {
|
|
51942
52191
|
const isNode = typeof item === "object" && item !== null && "nodeType" in item;
|
|
51943
|
-
|
|
51944
|
-
this.insertBefore(isNode ? item : this.ownerDocument.createTextNode(String(item)), firstChild);
|
|
51945
|
-
}
|
|
52192
|
+
this.insertBefore(isNode ? item : this.ownerDocument.createTextNode(String(item)), firstChild);
|
|
51946
52193
|
});
|
|
51947
52194
|
}
|
|
51948
52195
|
cloneNode(deep) {
|
|
@@ -51991,8 +52238,8 @@ var MockNode2 = class {
|
|
|
51991
52238
|
return null;
|
|
51992
52239
|
}
|
|
51993
52240
|
get nodeValue() {
|
|
51994
|
-
var
|
|
51995
|
-
return (
|
|
52241
|
+
var _a3;
|
|
52242
|
+
return (_a3 = this._nodeValue) != null ? _a3 : "";
|
|
51996
52243
|
}
|
|
51997
52244
|
set nodeValue(value) {
|
|
51998
52245
|
this._nodeValue = value;
|
|
@@ -52052,8 +52299,8 @@ var MockNode2 = class {
|
|
|
52052
52299
|
return null;
|
|
52053
52300
|
}
|
|
52054
52301
|
get textContent() {
|
|
52055
|
-
var
|
|
52056
|
-
return (
|
|
52302
|
+
var _a3;
|
|
52303
|
+
return (_a3 = this._nodeValue) != null ? _a3 : "";
|
|
52057
52304
|
}
|
|
52058
52305
|
set textContent(value) {
|
|
52059
52306
|
this._nodeValue = String(value);
|
|
@@ -52112,9 +52359,9 @@ var MockElement = class extends MockNode2 {
|
|
|
52112
52359
|
addEventListener(this, type, handler);
|
|
52113
52360
|
}
|
|
52114
52361
|
attachShadow(_opts) {
|
|
52115
|
-
var
|
|
52362
|
+
var _a3;
|
|
52116
52363
|
const shadowRoot = this.ownerDocument.createDocumentFragment();
|
|
52117
|
-
shadowRoot.delegatesFocus = (
|
|
52364
|
+
shadowRoot.delegatesFocus = (_a3 = _opts.delegatesFocus) != null ? _a3 : false;
|
|
52118
52365
|
this.shadowRoot = shadowRoot;
|
|
52119
52366
|
return shadowRoot;
|
|
52120
52367
|
}
|
|
@@ -52185,6 +52432,9 @@ var MockElement = class extends MockNode2 {
|
|
|
52185
52432
|
get part() {
|
|
52186
52433
|
return new MockTokenList(this, "part");
|
|
52187
52434
|
}
|
|
52435
|
+
set part(value) {
|
|
52436
|
+
this.setAttributeNS(null, "part", String(value));
|
|
52437
|
+
}
|
|
52188
52438
|
click() {
|
|
52189
52439
|
dispatchEvent(this, new MockEvent("click", { bubbles: true, cancelable: true, composed: true }));
|
|
52190
52440
|
}
|
|
@@ -52287,8 +52537,8 @@ var MockElement = class extends MockNode2 {
|
|
|
52287
52537
|
});
|
|
52288
52538
|
}
|
|
52289
52539
|
set innerHTML(html) {
|
|
52290
|
-
var
|
|
52291
|
-
if (NON_ESCAPABLE_CONTENT.has((
|
|
52540
|
+
var _a3;
|
|
52541
|
+
if (NON_ESCAPABLE_CONTENT.has((_a3 = this.nodeName) != null ? _a3 : "") === true) {
|
|
52292
52542
|
setTextContent(this, html);
|
|
52293
52543
|
} else {
|
|
52294
52544
|
for (let i = this.childNodes.length - 1; i >= 0; i--) {
|
|
@@ -52531,8 +52781,8 @@ var MockElement = class extends MockNode2 {
|
|
|
52531
52781
|
this.setAttributeNS(null, "tabindex", value);
|
|
52532
52782
|
}
|
|
52533
52783
|
get tagName() {
|
|
52534
|
-
var
|
|
52535
|
-
return (
|
|
52784
|
+
var _a3;
|
|
52785
|
+
return (_a3 = this.nodeName) != null ? _a3 : "";
|
|
52536
52786
|
}
|
|
52537
52787
|
set tagName(value) {
|
|
52538
52788
|
this.nodeName = value;
|
|
@@ -52754,11 +53004,11 @@ function getElementsByClassName(elm, classNames, foundElms) {
|
|
|
52754
53004
|
}
|
|
52755
53005
|
}
|
|
52756
53006
|
function getElementsByTagName(elm, tagName, foundElms) {
|
|
52757
|
-
var
|
|
53007
|
+
var _a3;
|
|
52758
53008
|
const children = elm.children;
|
|
52759
53009
|
for (let i = 0, ii = children.length; i < ii; i++) {
|
|
52760
53010
|
const childElm = children[i];
|
|
52761
|
-
if (tagName === "*" || ((
|
|
53011
|
+
if (tagName === "*" || ((_a3 = childElm.nodeName) != null ? _a3 : "").toLowerCase() === tagName) {
|
|
52762
53012
|
foundElms.push(childElm);
|
|
52763
53013
|
}
|
|
52764
53014
|
getElementsByTagName(childElm, tagName, foundElms);
|
|
@@ -52795,8 +53045,8 @@ var MockHTMLElement = class extends MockElement {
|
|
|
52795
53045
|
super(ownerDocument, typeof nodeName === "string" ? nodeName.toUpperCase() : null);
|
|
52796
53046
|
}
|
|
52797
53047
|
get tagName() {
|
|
52798
|
-
var
|
|
52799
|
-
return (
|
|
53048
|
+
var _a3;
|
|
53049
|
+
return (_a3 = this.nodeName) != null ? _a3 : "";
|
|
52800
53050
|
}
|
|
52801
53051
|
set tagName(value) {
|
|
52802
53052
|
this.nodeName = value;
|
|
@@ -53254,10 +53504,10 @@ var MockLabelElement = class extends MockHTMLElement {
|
|
|
53254
53504
|
this.setAttributeNS(null, "for", value);
|
|
53255
53505
|
}
|
|
53256
53506
|
get control() {
|
|
53257
|
-
var
|
|
53507
|
+
var _a3, _b;
|
|
53258
53508
|
const forAttr = this.htmlFor;
|
|
53259
53509
|
if (forAttr) {
|
|
53260
|
-
return (_b = (
|
|
53510
|
+
return (_b = (_a3 = this.ownerDocument) == null ? void 0 : _a3.getElementById(forAttr)) != null ? _b : null;
|
|
53261
53511
|
}
|
|
53262
53512
|
const labelableSelector = 'button, input:not([type="hidden"]), meter, output, progress, select, textarea';
|
|
53263
53513
|
return this.querySelector(labelableSelector);
|
|
@@ -55765,18 +56015,34 @@ var RemoteValue = class _RemoteValue {
|
|
|
55765
56015
|
};
|
|
55766
56016
|
|
|
55767
56017
|
// src/utils/serialize.ts
|
|
56018
|
+
function encodeBase64Unicode(str) {
|
|
56019
|
+
const utf8Bytes = new TextEncoder().encode(str);
|
|
56020
|
+
let binary = "";
|
|
56021
|
+
for (let i = 0; i < utf8Bytes.length; i++) {
|
|
56022
|
+
binary += String.fromCharCode(utf8Bytes[i]);
|
|
56023
|
+
}
|
|
56024
|
+
return btoa(binary);
|
|
56025
|
+
}
|
|
56026
|
+
function decodeBase64Unicode(base64) {
|
|
56027
|
+
const binary = atob(base64);
|
|
56028
|
+
const bytes = new Uint8Array(binary.length);
|
|
56029
|
+
for (let i = 0; i < binary.length; i++) {
|
|
56030
|
+
bytes[i] = binary.charCodeAt(i);
|
|
56031
|
+
}
|
|
56032
|
+
return new TextDecoder().decode(bytes);
|
|
56033
|
+
}
|
|
55768
56034
|
function serializeProperty(value) {
|
|
55769
56035
|
if (["string", "boolean", "undefined"].includes(typeof value) || typeof value === "number" && value !== Infinity && value !== -Infinity && !isNaN(value)) {
|
|
55770
56036
|
return value;
|
|
55771
56037
|
}
|
|
55772
56038
|
const arg = LocalValue.getArgument(value);
|
|
55773
|
-
return SERIALIZED_PREFIX +
|
|
56039
|
+
return SERIALIZED_PREFIX + encodeBase64Unicode(JSON.stringify(arg));
|
|
55774
56040
|
}
|
|
55775
56041
|
function deserializeProperty(value) {
|
|
55776
56042
|
if (typeof value !== "string" || !value.startsWith(SERIALIZED_PREFIX)) {
|
|
55777
56043
|
return value;
|
|
55778
56044
|
}
|
|
55779
|
-
return RemoteValue.fromLocalValue(JSON.parse(
|
|
56045
|
+
return RemoteValue.fromLocalValue(JSON.parse(decodeBase64Unicode(value.slice(SERIALIZED_PREFIX.length))));
|
|
55780
56046
|
}
|
|
55781
56047
|
var CAPTURE_EVENT_SUFFIX = "Capture";
|
|
55782
56048
|
var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
|
|
@@ -55970,8 +56236,35 @@ var unescape = (s, { windowsPathsNoEscape = false } = {}) => {
|
|
|
55970
56236
|
};
|
|
55971
56237
|
|
|
55972
56238
|
// node_modules/minimatch/dist/esm/ast.js
|
|
56239
|
+
var _a2;
|
|
55973
56240
|
var types = /* @__PURE__ */ new Set(["!", "?", "+", "*", "@"]);
|
|
55974
56241
|
var isExtglobType = (c) => types.has(c);
|
|
56242
|
+
var isExtglobAST = (c) => isExtglobType(c.type);
|
|
56243
|
+
var adoptionMap = /* @__PURE__ */ new Map([
|
|
56244
|
+
["!", ["@"]],
|
|
56245
|
+
["?", ["?", "@"]],
|
|
56246
|
+
["@", ["@"]],
|
|
56247
|
+
["*", ["*", "+", "?", "@"]],
|
|
56248
|
+
["+", ["+", "@"]]
|
|
56249
|
+
]);
|
|
56250
|
+
var adoptionWithSpaceMap = /* @__PURE__ */ new Map([
|
|
56251
|
+
["!", ["?"]],
|
|
56252
|
+
["@", ["?"]],
|
|
56253
|
+
["+", ["?", "*"]]
|
|
56254
|
+
]);
|
|
56255
|
+
var adoptionAnyMap = /* @__PURE__ */ new Map([
|
|
56256
|
+
["!", ["?", "@"]],
|
|
56257
|
+
["?", ["?", "@"]],
|
|
56258
|
+
["@", ["?", "@"]],
|
|
56259
|
+
["*", ["*", "+", "?", "@"]],
|
|
56260
|
+
["+", ["+", "@", "?", "*"]]
|
|
56261
|
+
]);
|
|
56262
|
+
var usurpMap = /* @__PURE__ */ new Map([
|
|
56263
|
+
["!", /* @__PURE__ */ new Map([["!", "@"]])],
|
|
56264
|
+
["?", /* @__PURE__ */ new Map([["*", "*"], ["+", "*"]])],
|
|
56265
|
+
["@", /* @__PURE__ */ new Map([["!", "!"], ["?", "?"], ["@", "@"], ["*", "*"], ["+", "+"]])],
|
|
56266
|
+
["+", /* @__PURE__ */ new Map([["?", "*"], ["*", "*"]])]
|
|
56267
|
+
]);
|
|
55975
56268
|
var startNoTraversal = "(?!(?:^|/)\\.\\.?(?:$|/))";
|
|
55976
56269
|
var startNoDot = "(?!\\.)";
|
|
55977
56270
|
var addPatternStart = /* @__PURE__ */ new Set(["[", "."]);
|
|
@@ -55981,8 +56274,8 @@ var regExpEscape = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
|
|
|
55981
56274
|
var qmark = "[^/]";
|
|
55982
56275
|
var star = qmark + "*?";
|
|
55983
56276
|
var starNoEmpty = qmark + "+?";
|
|
55984
|
-
var _root, _hasMagic, _uflag, _parts, _parent, _parentIndex, _negs, _filledNegs, _options, _toString, _emptyExt, _AST_instances, fillNegs_fn, _AST_static, parseAST_fn, partsToRegExp_fn, parseGlob_fn;
|
|
55985
|
-
var
|
|
56277
|
+
var _root, _hasMagic, _uflag, _parts, _parent, _parentIndex, _negs, _filledNegs, _options, _toString, _emptyExt, _AST_instances, fillNegs_fn, _AST_static, parseAST_fn, canAdoptWithSpace_fn, canAdopt_fn, canAdoptType_fn, adoptWithSpace_fn, adopt_fn, canUsurpType_fn, canUsurp_fn, usurp_fn, flatten_fn, partsToRegExp_fn, parseGlob_fn;
|
|
56278
|
+
var AST = class {
|
|
55986
56279
|
constructor(type, parent, options = {}) {
|
|
55987
56280
|
__privateAdd(this, _AST_instances);
|
|
55988
56281
|
__publicField(this, "type");
|
|
@@ -56035,44 +56328,44 @@ var _AST = class _AST {
|
|
|
56035
56328
|
for (const p of parts) {
|
|
56036
56329
|
if (p === "")
|
|
56037
56330
|
continue;
|
|
56038
|
-
if (typeof p !== "string" && !(p instanceof
|
|
56331
|
+
if (typeof p !== "string" && !(p instanceof _a2 && __privateGet(p, _parent) === this)) {
|
|
56039
56332
|
throw new Error("invalid part: " + p);
|
|
56040
56333
|
}
|
|
56041
56334
|
__privateGet(this, _parts).push(p);
|
|
56042
56335
|
}
|
|
56043
56336
|
}
|
|
56044
56337
|
toJSON() {
|
|
56045
|
-
var
|
|
56338
|
+
var _a3;
|
|
56046
56339
|
const ret = this.type === null ? __privateGet(this, _parts).slice().map((p) => typeof p === "string" ? p : p.toJSON()) : [this.type, ...__privateGet(this, _parts).map((p) => p.toJSON())];
|
|
56047
56340
|
if (this.isStart() && !this.type)
|
|
56048
56341
|
ret.unshift([]);
|
|
56049
|
-
if (this.isEnd() && (this === __privateGet(this, _root) || __privateGet(__privateGet(this, _root), _filledNegs) && ((
|
|
56342
|
+
if (this.isEnd() && (this === __privateGet(this, _root) || __privateGet(__privateGet(this, _root), _filledNegs) && ((_a3 = __privateGet(this, _parent)) == null ? void 0 : _a3.type) === "!")) {
|
|
56050
56343
|
ret.push({});
|
|
56051
56344
|
}
|
|
56052
56345
|
return ret;
|
|
56053
56346
|
}
|
|
56054
56347
|
isStart() {
|
|
56055
|
-
var
|
|
56348
|
+
var _a3;
|
|
56056
56349
|
if (__privateGet(this, _root) === this)
|
|
56057
56350
|
return true;
|
|
56058
|
-
if (!((
|
|
56351
|
+
if (!((_a3 = __privateGet(this, _parent)) == null ? void 0 : _a3.isStart()))
|
|
56059
56352
|
return false;
|
|
56060
56353
|
if (__privateGet(this, _parentIndex) === 0)
|
|
56061
56354
|
return true;
|
|
56062
56355
|
const p = __privateGet(this, _parent);
|
|
56063
56356
|
for (let i = 0; i < __privateGet(this, _parentIndex); i++) {
|
|
56064
56357
|
const pp = __privateGet(p, _parts)[i];
|
|
56065
|
-
if (!(pp instanceof
|
|
56358
|
+
if (!(pp instanceof _a2 && pp.type === "!")) {
|
|
56066
56359
|
return false;
|
|
56067
56360
|
}
|
|
56068
56361
|
}
|
|
56069
56362
|
return true;
|
|
56070
56363
|
}
|
|
56071
56364
|
isEnd() {
|
|
56072
|
-
var
|
|
56365
|
+
var _a3, _b, _c;
|
|
56073
56366
|
if (__privateGet(this, _root) === this)
|
|
56074
56367
|
return true;
|
|
56075
|
-
if (((
|
|
56368
|
+
if (((_a3 = __privateGet(this, _parent)) == null ? void 0 : _a3.type) === "!")
|
|
56076
56369
|
return true;
|
|
56077
56370
|
if (!((_b = __privateGet(this, _parent)) == null ? void 0 : _b.isEnd()))
|
|
56078
56371
|
return false;
|
|
@@ -56088,16 +56381,16 @@ var _AST = class _AST {
|
|
|
56088
56381
|
this.push(part.clone(this));
|
|
56089
56382
|
}
|
|
56090
56383
|
clone(parent) {
|
|
56091
|
-
const c = new
|
|
56384
|
+
const c = new _a2(this.type, parent);
|
|
56092
56385
|
for (const p of __privateGet(this, _parts)) {
|
|
56093
56386
|
c.copyIn(p);
|
|
56094
56387
|
}
|
|
56095
56388
|
return c;
|
|
56096
56389
|
}
|
|
56097
56390
|
static fromGlob(pattern, options = {}) {
|
|
56098
|
-
var
|
|
56099
|
-
const ast = new
|
|
56100
|
-
__privateMethod(
|
|
56391
|
+
var _a3;
|
|
56392
|
+
const ast = new _a2(null, void 0, options);
|
|
56393
|
+
__privateMethod(_a3 = _a2, _AST_static, parseAST_fn).call(_a3, pattern, ast, 0, options, 0);
|
|
56101
56394
|
return ast;
|
|
56102
56395
|
}
|
|
56103
56396
|
// returns the regular expression if there's magic, or the unescaped
|
|
@@ -56190,15 +56483,17 @@ var _AST = class _AST {
|
|
|
56190
56483
|
// is ^(?!\.), we can just prepend (?!\.) to the pattern (either root
|
|
56191
56484
|
// or start or whatever) and prepend ^ or / at the Regexp construction.
|
|
56192
56485
|
toRegExpSource(allowDot) {
|
|
56193
|
-
var
|
|
56486
|
+
var _a3;
|
|
56194
56487
|
const dot = allowDot != null ? allowDot : !!__privateGet(this, _options).dot;
|
|
56195
|
-
if (__privateGet(this, _root) === this)
|
|
56488
|
+
if (__privateGet(this, _root) === this) {
|
|
56489
|
+
__privateMethod(this, _AST_instances, flatten_fn).call(this);
|
|
56196
56490
|
__privateMethod(this, _AST_instances, fillNegs_fn).call(this);
|
|
56197
|
-
|
|
56491
|
+
}
|
|
56492
|
+
if (!isExtglobAST(this)) {
|
|
56198
56493
|
const noEmpty = this.isStart() && this.isEnd();
|
|
56199
56494
|
const src = __privateGet(this, _parts).map((p) => {
|
|
56200
|
-
var
|
|
56201
|
-
const [re, _, hasMagic, uflag] = typeof p === "string" ? __privateMethod(
|
|
56495
|
+
var _a4;
|
|
56496
|
+
const [re, _, hasMagic, uflag] = typeof p === "string" ? __privateMethod(_a4 = _a2, _AST_static, parseGlob_fn).call(_a4, p, __privateGet(this, _hasMagic), noEmpty) : p.toRegExpSource(allowDot);
|
|
56202
56497
|
__privateSet(this, _hasMagic, __privateGet(this, _hasMagic) || hasMagic);
|
|
56203
56498
|
__privateSet(this, _uflag, __privateGet(this, _uflag) || uflag);
|
|
56204
56499
|
return re;
|
|
@@ -56221,7 +56516,7 @@ var _AST = class _AST {
|
|
|
56221
56516
|
}
|
|
56222
56517
|
}
|
|
56223
56518
|
let end = "";
|
|
56224
|
-
if (this.isEnd() && __privateGet(__privateGet(this, _root), _filledNegs) && ((
|
|
56519
|
+
if (this.isEnd() && __privateGet(__privateGet(this, _root), _filledNegs) && ((_a3 = __privateGet(this, _parent)) == null ? void 0 : _a3.type) === "!") {
|
|
56225
56520
|
end = "(?:$|\\/)";
|
|
56226
56521
|
}
|
|
56227
56522
|
const final2 = start2 + src + end;
|
|
@@ -56237,9 +56532,10 @@ var _AST = class _AST {
|
|
|
56237
56532
|
let body = __privateMethod(this, _AST_instances, partsToRegExp_fn).call(this, dot);
|
|
56238
56533
|
if (this.isStart() && this.isEnd() && !body && this.type !== "!") {
|
|
56239
56534
|
const s = this.toString();
|
|
56240
|
-
|
|
56241
|
-
|
|
56242
|
-
|
|
56535
|
+
const me = this;
|
|
56536
|
+
__privateSet(me, _parts, [s]);
|
|
56537
|
+
me.type = null;
|
|
56538
|
+
__privateSet(me, _hasMagic, void 0);
|
|
56243
56539
|
return [s, unescape(this.toString()), false, false];
|
|
56244
56540
|
}
|
|
56245
56541
|
let bodyDotAllowed = !repeated || allowDot || dot || !startNoDot ? "" : __privateMethod(this, _AST_instances, partsToRegExp_fn).call(this, true);
|
|
@@ -56308,8 +56604,9 @@ fillNegs_fn = function() {
|
|
|
56308
56604
|
return this;
|
|
56309
56605
|
};
|
|
56310
56606
|
_AST_static = new WeakSet();
|
|
56311
|
-
parseAST_fn = function(str, ast, pos, opt) {
|
|
56312
|
-
var
|
|
56607
|
+
parseAST_fn = function(str, ast, pos, opt, extDepth) {
|
|
56608
|
+
var _a3, _b, _c, _d, _e;
|
|
56609
|
+
const maxDepth = (_a3 = opt.maxExtglobRecursion) != null ? _a3 : 2;
|
|
56313
56610
|
let escaping = false;
|
|
56314
56611
|
let inBrace = false;
|
|
56315
56612
|
let braceStart = -1;
|
|
@@ -56341,11 +56638,12 @@ parseAST_fn = function(str, ast, pos, opt) {
|
|
|
56341
56638
|
acc2 += c;
|
|
56342
56639
|
continue;
|
|
56343
56640
|
}
|
|
56344
|
-
|
|
56641
|
+
const doRecurse = !opt.noext && isExtglobType(c) && str.charAt(i2) === "(" && extDepth <= maxDepth;
|
|
56642
|
+
if (doRecurse) {
|
|
56345
56643
|
ast.push(acc2);
|
|
56346
56644
|
acc2 = "";
|
|
56347
|
-
const ext2 = new
|
|
56348
|
-
i2 = __privateMethod(
|
|
56645
|
+
const ext2 = new _a2(c, ast);
|
|
56646
|
+
i2 = __privateMethod(_b = _a2, _AST_static, parseAST_fn).call(_b, str, ext2, i2, opt, extDepth + 1);
|
|
56349
56647
|
ast.push(ext2);
|
|
56350
56648
|
continue;
|
|
56351
56649
|
}
|
|
@@ -56355,7 +56653,7 @@ parseAST_fn = function(str, ast, pos, opt) {
|
|
|
56355
56653
|
return i2;
|
|
56356
56654
|
}
|
|
56357
56655
|
let i = pos + 1;
|
|
56358
|
-
let part = new
|
|
56656
|
+
let part = new _a2(null, ast);
|
|
56359
56657
|
const parts = [];
|
|
56360
56658
|
let acc = "";
|
|
56361
56659
|
while (i < str.length) {
|
|
@@ -56382,19 +56680,22 @@ parseAST_fn = function(str, ast, pos, opt) {
|
|
|
56382
56680
|
acc += c;
|
|
56383
56681
|
continue;
|
|
56384
56682
|
}
|
|
56385
|
-
|
|
56683
|
+
const doRecurse = isExtglobType(c) && str.charAt(i) === "(" && /* c8 ignore start - the maxDepth is sufficient here */
|
|
56684
|
+
(extDepth <= maxDepth || ast && __privateMethod(_c = ast, _AST_instances, canAdoptType_fn).call(_c, c));
|
|
56685
|
+
if (doRecurse) {
|
|
56686
|
+
const depthAdd = ast && __privateMethod(_d = ast, _AST_instances, canAdoptType_fn).call(_d, c) ? 0 : 1;
|
|
56386
56687
|
part.push(acc);
|
|
56387
56688
|
acc = "";
|
|
56388
|
-
const ext2 = new
|
|
56689
|
+
const ext2 = new _a2(c, part);
|
|
56389
56690
|
part.push(ext2);
|
|
56390
|
-
i = __privateMethod(
|
|
56691
|
+
i = __privateMethod(_e = _a2, _AST_static, parseAST_fn).call(_e, str, ext2, i, opt, extDepth + depthAdd);
|
|
56391
56692
|
continue;
|
|
56392
56693
|
}
|
|
56393
56694
|
if (c === "|") {
|
|
56394
56695
|
part.push(acc);
|
|
56395
56696
|
acc = "";
|
|
56396
56697
|
parts.push(part);
|
|
56397
|
-
part = new
|
|
56698
|
+
part = new _a2(null, ast);
|
|
56398
56699
|
continue;
|
|
56399
56700
|
}
|
|
56400
56701
|
if (c === ")") {
|
|
@@ -56413,6 +56714,100 @@ parseAST_fn = function(str, ast, pos, opt) {
|
|
|
56413
56714
|
__privateSet(ast, _parts, [str.substring(pos - 1)]);
|
|
56414
56715
|
return i;
|
|
56415
56716
|
};
|
|
56717
|
+
canAdoptWithSpace_fn = function(child) {
|
|
56718
|
+
return __privateMethod(this, _AST_instances, canAdopt_fn).call(this, child, adoptionWithSpaceMap);
|
|
56719
|
+
};
|
|
56720
|
+
canAdopt_fn = function(child, map2 = adoptionMap) {
|
|
56721
|
+
if (!child || typeof child !== "object" || child.type !== null || __privateGet(child, _parts).length !== 1 || this.type === null) {
|
|
56722
|
+
return false;
|
|
56723
|
+
}
|
|
56724
|
+
const gc = __privateGet(child, _parts)[0];
|
|
56725
|
+
if (!gc || typeof gc !== "object" || gc.type === null) {
|
|
56726
|
+
return false;
|
|
56727
|
+
}
|
|
56728
|
+
return __privateMethod(this, _AST_instances, canAdoptType_fn).call(this, gc.type, map2);
|
|
56729
|
+
};
|
|
56730
|
+
canAdoptType_fn = function(c, map2 = adoptionAnyMap) {
|
|
56731
|
+
var _a3;
|
|
56732
|
+
return !!((_a3 = map2.get(this.type)) == null ? void 0 : _a3.includes(c));
|
|
56733
|
+
};
|
|
56734
|
+
adoptWithSpace_fn = function(child, index) {
|
|
56735
|
+
const gc = __privateGet(child, _parts)[0];
|
|
56736
|
+
const blank = new _a2(null, gc, this.options);
|
|
56737
|
+
__privateGet(blank, _parts).push("");
|
|
56738
|
+
gc.push(blank);
|
|
56739
|
+
__privateMethod(this, _AST_instances, adopt_fn).call(this, child, index);
|
|
56740
|
+
};
|
|
56741
|
+
adopt_fn = function(child, index) {
|
|
56742
|
+
const gc = __privateGet(child, _parts)[0];
|
|
56743
|
+
__privateGet(this, _parts).splice(index, 1, ...__privateGet(gc, _parts));
|
|
56744
|
+
for (const p of __privateGet(gc, _parts)) {
|
|
56745
|
+
if (typeof p === "object")
|
|
56746
|
+
__privateSet(p, _parent, this);
|
|
56747
|
+
}
|
|
56748
|
+
__privateSet(this, _toString, void 0);
|
|
56749
|
+
};
|
|
56750
|
+
canUsurpType_fn = function(c) {
|
|
56751
|
+
const m = usurpMap.get(this.type);
|
|
56752
|
+
return !!(m == null ? void 0 : m.has(c));
|
|
56753
|
+
};
|
|
56754
|
+
canUsurp_fn = function(child) {
|
|
56755
|
+
if (!child || typeof child !== "object" || child.type !== null || __privateGet(child, _parts).length !== 1 || this.type === null || __privateGet(this, _parts).length !== 1) {
|
|
56756
|
+
return false;
|
|
56757
|
+
}
|
|
56758
|
+
const gc = __privateGet(child, _parts)[0];
|
|
56759
|
+
if (!gc || typeof gc !== "object" || gc.type === null) {
|
|
56760
|
+
return false;
|
|
56761
|
+
}
|
|
56762
|
+
return __privateMethod(this, _AST_instances, canUsurpType_fn).call(this, gc.type);
|
|
56763
|
+
};
|
|
56764
|
+
usurp_fn = function(child) {
|
|
56765
|
+
const m = usurpMap.get(this.type);
|
|
56766
|
+
const gc = __privateGet(child, _parts)[0];
|
|
56767
|
+
const nt = m == null ? void 0 : m.get(gc.type);
|
|
56768
|
+
if (!nt)
|
|
56769
|
+
return false;
|
|
56770
|
+
__privateSet(this, _parts, __privateGet(gc, _parts));
|
|
56771
|
+
for (const p of __privateGet(this, _parts)) {
|
|
56772
|
+
if (typeof p === "object")
|
|
56773
|
+
__privateSet(p, _parent, this);
|
|
56774
|
+
}
|
|
56775
|
+
this.type = nt;
|
|
56776
|
+
__privateSet(this, _toString, void 0);
|
|
56777
|
+
__privateSet(this, _emptyExt, false);
|
|
56778
|
+
};
|
|
56779
|
+
flatten_fn = function() {
|
|
56780
|
+
var _a3, _b;
|
|
56781
|
+
if (!isExtglobAST(this)) {
|
|
56782
|
+
for (const p of __privateGet(this, _parts)) {
|
|
56783
|
+
if (typeof p === "object")
|
|
56784
|
+
__privateMethod(_a3 = p, _AST_instances, flatten_fn).call(_a3);
|
|
56785
|
+
}
|
|
56786
|
+
} else {
|
|
56787
|
+
let iterations = 0;
|
|
56788
|
+
let done = false;
|
|
56789
|
+
do {
|
|
56790
|
+
done = true;
|
|
56791
|
+
for (let i = 0; i < __privateGet(this, _parts).length; i++) {
|
|
56792
|
+
const c = __privateGet(this, _parts)[i];
|
|
56793
|
+
if (typeof c === "object") {
|
|
56794
|
+
__privateMethod(_b = c, _AST_instances, flatten_fn).call(_b);
|
|
56795
|
+
if (__privateMethod(this, _AST_instances, canAdopt_fn).call(this, c)) {
|
|
56796
|
+
done = false;
|
|
56797
|
+
__privateMethod(this, _AST_instances, adopt_fn).call(this, c, i);
|
|
56798
|
+
} else if (__privateMethod(this, _AST_instances, canAdoptWithSpace_fn).call(this, c)) {
|
|
56799
|
+
done = false;
|
|
56800
|
+
__privateMethod(this, _AST_instances, adoptWithSpace_fn).call(this, c, i);
|
|
56801
|
+
} else if (__privateMethod(this, _AST_instances, canUsurp_fn).call(this, c)) {
|
|
56802
|
+
done = false;
|
|
56803
|
+
__privateMethod(this, _AST_instances, usurp_fn).call(this, c);
|
|
56804
|
+
}
|
|
56805
|
+
}
|
|
56806
|
+
}
|
|
56807
|
+
} while (!done && ++iterations < 10);
|
|
56808
|
+
}
|
|
56809
|
+
__privateSet(this, _toString, void 0);
|
|
56810
|
+
};
|
|
56416
56811
|
partsToRegExp_fn = function(dot) {
|
|
56417
56812
|
return __privateGet(this, _parts).map((p) => {
|
|
56418
56813
|
if (typeof p === "string") {
|
|
@@ -56427,11 +56822,13 @@ parseGlob_fn = function(glob, hasMagic, noEmpty = false) {
|
|
|
56427
56822
|
let escaping = false;
|
|
56428
56823
|
let re = "";
|
|
56429
56824
|
let uflag = false;
|
|
56825
|
+
let inStar = false;
|
|
56430
56826
|
for (let i = 0; i < glob.length; i++) {
|
|
56431
56827
|
const c = glob.charAt(i);
|
|
56432
56828
|
if (escaping) {
|
|
56433
56829
|
escaping = false;
|
|
56434
56830
|
re += (reSpecials.has(c) ? "\\" : "") + c;
|
|
56831
|
+
inStar = false;
|
|
56435
56832
|
continue;
|
|
56436
56833
|
}
|
|
56437
56834
|
if (c === "\\") {
|
|
@@ -56449,16 +56846,19 @@ parseGlob_fn = function(glob, hasMagic, noEmpty = false) {
|
|
|
56449
56846
|
uflag = uflag || needUflag;
|
|
56450
56847
|
i += consumed - 1;
|
|
56451
56848
|
hasMagic = hasMagic || magic;
|
|
56849
|
+
inStar = false;
|
|
56452
56850
|
continue;
|
|
56453
56851
|
}
|
|
56454
56852
|
}
|
|
56455
56853
|
if (c === "*") {
|
|
56456
|
-
if (
|
|
56457
|
-
|
|
56458
|
-
|
|
56459
|
-
|
|
56854
|
+
if (inStar)
|
|
56855
|
+
continue;
|
|
56856
|
+
inStar = true;
|
|
56857
|
+
re += noEmpty && /^[*]+$/.test(glob) ? starNoEmpty : star;
|
|
56460
56858
|
hasMagic = true;
|
|
56461
56859
|
continue;
|
|
56860
|
+
} else {
|
|
56861
|
+
inStar = false;
|
|
56462
56862
|
}
|
|
56463
56863
|
if (c === "?") {
|
|
56464
56864
|
re += qmark;
|
|
@@ -56469,8 +56869,8 @@ parseGlob_fn = function(glob, hasMagic, noEmpty = false) {
|
|
|
56469
56869
|
}
|
|
56470
56870
|
return [re, unescape(glob), !!hasMagic, uflag];
|
|
56471
56871
|
};
|
|
56472
|
-
__privateAdd(
|
|
56473
|
-
|
|
56872
|
+
__privateAdd(AST, _AST_static);
|
|
56873
|
+
_a2 = AST;
|
|
56474
56874
|
|
|
56475
56875
|
// node_modules/minimatch/dist/esm/escape.js
|
|
56476
56876
|
var escape = (s, { windowsPathsNoEscape = false } = {}) => {
|
|
@@ -56609,28 +57009,33 @@ var match = (list, pattern, options = {}) => {
|
|
|
56609
57009
|
minimatch.match = match;
|
|
56610
57010
|
var globMagic = /[?*]|[+@!]\(.*?\)|\[|\]/;
|
|
56611
57011
|
var regExpEscape2 = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
|
|
57012
|
+
var _Minimatch_instances, matchGlobstar_fn, matchGlobStarBodySections_fn, matchOne_fn;
|
|
56612
57013
|
var Minimatch = class {
|
|
56613
|
-
options;
|
|
56614
|
-
set;
|
|
56615
|
-
pattern;
|
|
56616
|
-
windowsPathsNoEscape;
|
|
56617
|
-
nonegate;
|
|
56618
|
-
negate;
|
|
56619
|
-
comment;
|
|
56620
|
-
empty;
|
|
56621
|
-
preserveMultipleSlashes;
|
|
56622
|
-
partial;
|
|
56623
|
-
globSet;
|
|
56624
|
-
globParts;
|
|
56625
|
-
nocase;
|
|
56626
|
-
isWindows;
|
|
56627
|
-
platform;
|
|
56628
|
-
windowsNoMagicRoot;
|
|
56629
|
-
regexp;
|
|
56630
57014
|
constructor(pattern, options = {}) {
|
|
57015
|
+
__privateAdd(this, _Minimatch_instances);
|
|
57016
|
+
__publicField(this, "options");
|
|
57017
|
+
__publicField(this, "set");
|
|
57018
|
+
__publicField(this, "pattern");
|
|
57019
|
+
__publicField(this, "windowsPathsNoEscape");
|
|
57020
|
+
__publicField(this, "nonegate");
|
|
57021
|
+
__publicField(this, "negate");
|
|
57022
|
+
__publicField(this, "comment");
|
|
57023
|
+
__publicField(this, "empty");
|
|
57024
|
+
__publicField(this, "preserveMultipleSlashes");
|
|
57025
|
+
__publicField(this, "partial");
|
|
57026
|
+
__publicField(this, "globSet");
|
|
57027
|
+
__publicField(this, "globParts");
|
|
57028
|
+
__publicField(this, "nocase");
|
|
57029
|
+
__publicField(this, "isWindows");
|
|
57030
|
+
__publicField(this, "platform");
|
|
57031
|
+
__publicField(this, "windowsNoMagicRoot");
|
|
57032
|
+
__publicField(this, "maxGlobstarRecursion");
|
|
57033
|
+
__publicField(this, "regexp");
|
|
57034
|
+
var _a3;
|
|
56631
57035
|
assertValidPattern(pattern);
|
|
56632
57036
|
options = options || {};
|
|
56633
57037
|
this.options = options;
|
|
57038
|
+
this.maxGlobstarRecursion = (_a3 = options.maxGlobstarRecursion) != null ? _a3 : 200;
|
|
56634
57039
|
this.pattern = pattern;
|
|
56635
57040
|
this.platform = options.platform || defaultPlatform;
|
|
56636
57041
|
this.isWindows = this.platform === "win32";
|
|
@@ -56898,10 +57303,11 @@ var Minimatch = class {
|
|
|
56898
57303
|
for (let i = 0; i < globParts.length - 1; i++) {
|
|
56899
57304
|
for (let j = i + 1; j < globParts.length; j++) {
|
|
56900
57305
|
const matched = this.partsMatch(globParts[i], globParts[j], !this.preserveMultipleSlashes);
|
|
56901
|
-
if (
|
|
56902
|
-
|
|
56903
|
-
|
|
56904
|
-
|
|
57306
|
+
if (matched) {
|
|
57307
|
+
globParts[i] = [];
|
|
57308
|
+
globParts[j] = matched;
|
|
57309
|
+
break;
|
|
57310
|
+
}
|
|
56905
57311
|
}
|
|
56906
57312
|
}
|
|
56907
57313
|
return globParts.filter((gs) => gs.length);
|
|
@@ -56962,7 +57368,8 @@ var Minimatch = class {
|
|
|
56962
57368
|
// out of pattern, then that's fine, as long as all
|
|
56963
57369
|
// the parts match.
|
|
56964
57370
|
matchOne(file, pattern, partial = false) {
|
|
56965
|
-
|
|
57371
|
+
let fileStartIndex = 0;
|
|
57372
|
+
let patternStartIndex = 0;
|
|
56966
57373
|
if (this.isWindows) {
|
|
56967
57374
|
const fileDrive = typeof file[0] === "string" && /^[a-z]:$/i.test(file[0]);
|
|
56968
57375
|
const fileUNC = !fileDrive && file[0] === "" && file[1] === "" && file[2] === "?" && /^[a-z]:$/i.test(file[3]);
|
|
@@ -56971,14 +57378,14 @@ var Minimatch = class {
|
|
|
56971
57378
|
const fdi = fileUNC ? 3 : fileDrive ? 0 : void 0;
|
|
56972
57379
|
const pdi = patternUNC ? 3 : patternDrive ? 0 : void 0;
|
|
56973
57380
|
if (typeof fdi === "number" && typeof pdi === "number") {
|
|
56974
|
-
const [fd, pd] = [
|
|
57381
|
+
const [fd, pd] = [
|
|
57382
|
+
file[fdi],
|
|
57383
|
+
pattern[pdi]
|
|
57384
|
+
];
|
|
56975
57385
|
if (fd.toLowerCase() === pd.toLowerCase()) {
|
|
56976
57386
|
pattern[pdi] = fd;
|
|
56977
|
-
|
|
56978
|
-
|
|
56979
|
-
} else if (fdi > pdi) {
|
|
56980
|
-
file = file.slice(fdi);
|
|
56981
|
-
}
|
|
57387
|
+
patternStartIndex = pdi;
|
|
57388
|
+
fileStartIndex = fdi;
|
|
56982
57389
|
}
|
|
56983
57390
|
}
|
|
56984
57391
|
}
|
|
@@ -56986,71 +57393,10 @@ var Minimatch = class {
|
|
|
56986
57393
|
if (optimizationLevel >= 2) {
|
|
56987
57394
|
file = this.levelTwoFileOptimize(file);
|
|
56988
57395
|
}
|
|
56989
|
-
|
|
56990
|
-
|
|
56991
|
-
for (var fi = 0, pi = 0, fl = file.length, pl = pattern.length; fi < fl && pi < pl; fi++, pi++) {
|
|
56992
|
-
this.debug("matchOne loop");
|
|
56993
|
-
var p = pattern[pi];
|
|
56994
|
-
var f = file[fi];
|
|
56995
|
-
this.debug(pattern, p, f);
|
|
56996
|
-
if (p === false) {
|
|
56997
|
-
return false;
|
|
56998
|
-
}
|
|
56999
|
-
if (p === GLOBSTAR) {
|
|
57000
|
-
this.debug("GLOBSTAR", [pattern, p, f]);
|
|
57001
|
-
var fr = fi;
|
|
57002
|
-
var pr = pi + 1;
|
|
57003
|
-
if (pr === pl) {
|
|
57004
|
-
this.debug("** at the end");
|
|
57005
|
-
for (; fi < fl; fi++) {
|
|
57006
|
-
if (file[fi] === "." || file[fi] === ".." || !options.dot && file[fi].charAt(0) === ".")
|
|
57007
|
-
return false;
|
|
57008
|
-
}
|
|
57009
|
-
return true;
|
|
57010
|
-
}
|
|
57011
|
-
while (fr < fl) {
|
|
57012
|
-
var swallowee = file[fr];
|
|
57013
|
-
this.debug("\nglobstar while", file, fr, pattern, pr, swallowee);
|
|
57014
|
-
if (this.matchOne(file.slice(fr), pattern.slice(pr), partial)) {
|
|
57015
|
-
this.debug("globstar found match!", fr, fl, swallowee);
|
|
57016
|
-
return true;
|
|
57017
|
-
} else {
|
|
57018
|
-
if (swallowee === "." || swallowee === ".." || !options.dot && swallowee.charAt(0) === ".") {
|
|
57019
|
-
this.debug("dot detected!", file, fr, pattern, pr);
|
|
57020
|
-
break;
|
|
57021
|
-
}
|
|
57022
|
-
this.debug("globstar swallow a segment, and continue");
|
|
57023
|
-
fr++;
|
|
57024
|
-
}
|
|
57025
|
-
}
|
|
57026
|
-
if (partial) {
|
|
57027
|
-
this.debug("\n>>> no match, partial?", file, fr, pattern, pr);
|
|
57028
|
-
if (fr === fl) {
|
|
57029
|
-
return true;
|
|
57030
|
-
}
|
|
57031
|
-
}
|
|
57032
|
-
return false;
|
|
57033
|
-
}
|
|
57034
|
-
let hit;
|
|
57035
|
-
if (typeof p === "string") {
|
|
57036
|
-
hit = f === p;
|
|
57037
|
-
this.debug("string match", p, f, hit);
|
|
57038
|
-
} else {
|
|
57039
|
-
hit = p.test(f);
|
|
57040
|
-
this.debug("pattern match", p, f, hit);
|
|
57041
|
-
}
|
|
57042
|
-
if (!hit)
|
|
57043
|
-
return false;
|
|
57044
|
-
}
|
|
57045
|
-
if (fi === fl && pi === pl) {
|
|
57046
|
-
return true;
|
|
57047
|
-
} else if (fi === fl) {
|
|
57048
|
-
return partial;
|
|
57049
|
-
} else if (pi === pl) {
|
|
57050
|
-
return fi === fl - 1 && file[fi] === "";
|
|
57051
|
-
} else {
|
|
57052
|
-
throw new Error("wtf?");
|
|
57396
|
+
if (pattern.includes(GLOBSTAR)) {
|
|
57397
|
+
return __privateMethod(this, _Minimatch_instances, matchGlobstar_fn).call(this, file, pattern, partial, fileStartIndex, patternStartIndex);
|
|
57053
57398
|
}
|
|
57399
|
+
return __privateMethod(this, _Minimatch_instances, matchOne_fn).call(this, file, pattern, partial, fileStartIndex, patternStartIndex);
|
|
57054
57400
|
}
|
|
57055
57401
|
braceExpand() {
|
|
57056
57402
|
return braceExpand(this.pattern, this.options);
|
|
@@ -57189,6 +57535,135 @@ var Minimatch = class {
|
|
|
57189
57535
|
return minimatch.defaults(def).Minimatch;
|
|
57190
57536
|
}
|
|
57191
57537
|
};
|
|
57538
|
+
_Minimatch_instances = new WeakSet();
|
|
57539
|
+
matchGlobstar_fn = function(file, pattern, partial, fileIndex, patternIndex) {
|
|
57540
|
+
const firstgs = pattern.indexOf(GLOBSTAR, patternIndex);
|
|
57541
|
+
const lastgs = pattern.lastIndexOf(GLOBSTAR);
|
|
57542
|
+
const [head, body, tail] = partial ? [
|
|
57543
|
+
pattern.slice(patternIndex, firstgs),
|
|
57544
|
+
pattern.slice(firstgs + 1),
|
|
57545
|
+
[]
|
|
57546
|
+
] : [
|
|
57547
|
+
pattern.slice(patternIndex, firstgs),
|
|
57548
|
+
pattern.slice(firstgs + 1, lastgs),
|
|
57549
|
+
pattern.slice(lastgs + 1)
|
|
57550
|
+
];
|
|
57551
|
+
if (head.length) {
|
|
57552
|
+
const fileHead = file.slice(fileIndex, fileIndex + head.length);
|
|
57553
|
+
if (!__privateMethod(this, _Minimatch_instances, matchOne_fn).call(this, fileHead, head, partial, 0, 0))
|
|
57554
|
+
return false;
|
|
57555
|
+
fileIndex += head.length;
|
|
57556
|
+
}
|
|
57557
|
+
let fileTailMatch = 0;
|
|
57558
|
+
if (tail.length) {
|
|
57559
|
+
if (tail.length + fileIndex > file.length)
|
|
57560
|
+
return false;
|
|
57561
|
+
let tailStart = file.length - tail.length;
|
|
57562
|
+
if (__privateMethod(this, _Minimatch_instances, matchOne_fn).call(this, file, tail, partial, tailStart, 0)) {
|
|
57563
|
+
fileTailMatch = tail.length;
|
|
57564
|
+
} else {
|
|
57565
|
+
if (file[file.length - 1] !== "" || fileIndex + tail.length === file.length) {
|
|
57566
|
+
return false;
|
|
57567
|
+
}
|
|
57568
|
+
tailStart--;
|
|
57569
|
+
if (!__privateMethod(this, _Minimatch_instances, matchOne_fn).call(this, file, tail, partial, tailStart, 0))
|
|
57570
|
+
return false;
|
|
57571
|
+
fileTailMatch = tail.length + 1;
|
|
57572
|
+
}
|
|
57573
|
+
}
|
|
57574
|
+
if (!body.length) {
|
|
57575
|
+
let sawSome = !!fileTailMatch;
|
|
57576
|
+
for (let i2 = fileIndex; i2 < file.length - fileTailMatch; i2++) {
|
|
57577
|
+
const f = String(file[i2]);
|
|
57578
|
+
sawSome = true;
|
|
57579
|
+
if (f === "." || f === ".." || !this.options.dot && f.startsWith(".")) {
|
|
57580
|
+
return false;
|
|
57581
|
+
}
|
|
57582
|
+
}
|
|
57583
|
+
return partial || sawSome;
|
|
57584
|
+
}
|
|
57585
|
+
const bodySegments = [[[], 0]];
|
|
57586
|
+
let currentBody = bodySegments[0];
|
|
57587
|
+
let nonGsParts = 0;
|
|
57588
|
+
const nonGsPartsSums = [0];
|
|
57589
|
+
for (const b of body) {
|
|
57590
|
+
if (b === GLOBSTAR) {
|
|
57591
|
+
nonGsPartsSums.push(nonGsParts);
|
|
57592
|
+
currentBody = [[], 0];
|
|
57593
|
+
bodySegments.push(currentBody);
|
|
57594
|
+
} else {
|
|
57595
|
+
currentBody[0].push(b);
|
|
57596
|
+
nonGsParts++;
|
|
57597
|
+
}
|
|
57598
|
+
}
|
|
57599
|
+
let i = bodySegments.length - 1;
|
|
57600
|
+
const fileLength = file.length - fileTailMatch;
|
|
57601
|
+
for (const b of bodySegments) {
|
|
57602
|
+
b[1] = fileLength - (nonGsPartsSums[i--] + b[0].length);
|
|
57603
|
+
}
|
|
57604
|
+
return !!__privateMethod(this, _Minimatch_instances, matchGlobStarBodySections_fn).call(this, file, bodySegments, fileIndex, 0, partial, 0, !!fileTailMatch);
|
|
57605
|
+
};
|
|
57606
|
+
matchGlobStarBodySections_fn = function(file, bodySegments, fileIndex, bodyIndex, partial, globStarDepth, sawTail) {
|
|
57607
|
+
const bs = bodySegments[bodyIndex];
|
|
57608
|
+
if (!bs) {
|
|
57609
|
+
for (let i = fileIndex; i < file.length; i++) {
|
|
57610
|
+
sawTail = true;
|
|
57611
|
+
const f = file[i];
|
|
57612
|
+
if (f === "." || f === ".." || !this.options.dot && f.startsWith(".")) {
|
|
57613
|
+
return false;
|
|
57614
|
+
}
|
|
57615
|
+
}
|
|
57616
|
+
return sawTail;
|
|
57617
|
+
}
|
|
57618
|
+
const [body, after] = bs;
|
|
57619
|
+
while (fileIndex <= after) {
|
|
57620
|
+
const m = __privateMethod(this, _Minimatch_instances, matchOne_fn).call(this, file.slice(0, fileIndex + body.length), body, partial, fileIndex, 0);
|
|
57621
|
+
if (m && globStarDepth < this.maxGlobstarRecursion) {
|
|
57622
|
+
const sub = __privateMethod(this, _Minimatch_instances, matchGlobStarBodySections_fn).call(this, file, bodySegments, fileIndex + body.length, bodyIndex + 1, partial, globStarDepth + 1, sawTail);
|
|
57623
|
+
if (sub !== false)
|
|
57624
|
+
return sub;
|
|
57625
|
+
}
|
|
57626
|
+
const f = file[fileIndex];
|
|
57627
|
+
if (f === "." || f === ".." || !this.options.dot && f.startsWith(".")) {
|
|
57628
|
+
return false;
|
|
57629
|
+
}
|
|
57630
|
+
fileIndex++;
|
|
57631
|
+
}
|
|
57632
|
+
return partial || null;
|
|
57633
|
+
};
|
|
57634
|
+
matchOne_fn = function(file, pattern, partial, fileIndex, patternIndex) {
|
|
57635
|
+
let fi;
|
|
57636
|
+
let pi;
|
|
57637
|
+
let pl;
|
|
57638
|
+
let fl;
|
|
57639
|
+
for (fi = fileIndex, pi = patternIndex, fl = file.length, pl = pattern.length; fi < fl && pi < pl; fi++, pi++) {
|
|
57640
|
+
this.debug("matchOne loop");
|
|
57641
|
+
let p = pattern[pi];
|
|
57642
|
+
let f = file[fi];
|
|
57643
|
+
this.debug(pattern, p, f);
|
|
57644
|
+
if (p === false || p === GLOBSTAR)
|
|
57645
|
+
return false;
|
|
57646
|
+
let hit;
|
|
57647
|
+
if (typeof p === "string") {
|
|
57648
|
+
hit = f === p;
|
|
57649
|
+
this.debug("string match", p, f, hit);
|
|
57650
|
+
} else {
|
|
57651
|
+
hit = p.test(f);
|
|
57652
|
+
this.debug("pattern match", p, f, hit);
|
|
57653
|
+
}
|
|
57654
|
+
if (!hit)
|
|
57655
|
+
return false;
|
|
57656
|
+
}
|
|
57657
|
+
if (fi === fl && pi === pl) {
|
|
57658
|
+
return true;
|
|
57659
|
+
} else if (fi === fl) {
|
|
57660
|
+
return partial;
|
|
57661
|
+
} else if (pi === pl) {
|
|
57662
|
+
return fi === fl - 1 && file[fi] === "";
|
|
57663
|
+
} else {
|
|
57664
|
+
throw new Error("wtf?");
|
|
57665
|
+
}
|
|
57666
|
+
};
|
|
57192
57667
|
minimatch.AST = AST;
|
|
57193
57668
|
minimatch.Minimatch = Minimatch;
|
|
57194
57669
|
minimatch.escape = escape;
|
|
@@ -57259,7 +57734,7 @@ var isJsFile = lowerPathParam((p) => p.endsWith(".js") || p.endsWith(".mjs") ||
|
|
|
57259
57734
|
|
|
57260
57735
|
// src/compiler/html/canonical-link.ts
|
|
57261
57736
|
var updateCanonicalLink = (doc, href) => {
|
|
57262
|
-
var
|
|
57737
|
+
var _a3;
|
|
57263
57738
|
let canonicalLinkElm = doc.head.querySelector('link[rel="canonical"]');
|
|
57264
57739
|
if (typeof href === "string") {
|
|
57265
57740
|
if (canonicalLinkElm == null) {
|
|
@@ -57272,7 +57747,7 @@ var updateCanonicalLink = (doc, href) => {
|
|
|
57272
57747
|
if (canonicalLinkElm != null) {
|
|
57273
57748
|
const existingHref = canonicalLinkElm.getAttribute("href");
|
|
57274
57749
|
if (!existingHref) {
|
|
57275
|
-
(
|
|
57750
|
+
(_a3 = canonicalLinkElm.parentNode) == null ? void 0 : _a3.removeChild(canonicalLinkElm);
|
|
57276
57751
|
}
|
|
57277
57752
|
}
|
|
57278
57753
|
}
|
|
@@ -57784,7 +58259,7 @@ var serializeCss = (stylesheet, serializeOpts) => {
|
|
|
57784
58259
|
return out.join("");
|
|
57785
58260
|
};
|
|
57786
58261
|
var serializeCssVisitNode = (opts, node, index, len) => {
|
|
57787
|
-
var
|
|
58262
|
+
var _a3;
|
|
57788
58263
|
const nodeType = node.type;
|
|
57789
58264
|
if (nodeType === 4 /* Declaration */) {
|
|
57790
58265
|
return serializeCssDeclaration(node, index, len);
|
|
@@ -57793,7 +58268,7 @@ var serializeCssVisitNode = (opts, node, index, len) => {
|
|
|
57793
58268
|
return serializeCssRule(opts, node);
|
|
57794
58269
|
}
|
|
57795
58270
|
if (nodeType === 1 /* Comment */) {
|
|
57796
|
-
if (((
|
|
58271
|
+
if (((_a3 = node.comment) == null ? void 0 : _a3[0]) === "!") {
|
|
57797
58272
|
return `/*${node.comment}*/`;
|
|
57798
58273
|
} else {
|
|
57799
58274
|
return "";
|
|
@@ -57841,10 +58316,10 @@ var serializeCssVisitNode = (opts, node, index, len) => {
|
|
|
57841
58316
|
return "";
|
|
57842
58317
|
};
|
|
57843
58318
|
var serializeCssRule = (opts, node) => {
|
|
57844
|
-
var
|
|
58319
|
+
var _a3, _b;
|
|
57845
58320
|
const decls = node.declarations;
|
|
57846
58321
|
const usedSelectors = opts.usedSelectors;
|
|
57847
|
-
const selectors = (_b = (
|
|
58322
|
+
const selectors = (_b = (_a3 = node.selectors) == null ? void 0 : _a3.slice()) != null ? _b : [];
|
|
57848
58323
|
const hasDecls = decls != null && decls.length > 0;
|
|
57849
58324
|
const hasNestedRules = node.rules != null && node.rules.length > 0;
|
|
57850
58325
|
if (!hasDecls && !hasNestedRules) {
|
|
@@ -57948,8 +58423,8 @@ var serializeCssKeyframes = (opts, node) => {
|
|
|
57948
58423
|
return "@" + (node.vendor || "") + "keyframes " + node.name + "{" + keyframesCss + "}";
|
|
57949
58424
|
};
|
|
57950
58425
|
var serializeCssKeyframe = (opts, node) => {
|
|
57951
|
-
var
|
|
57952
|
-
return ((_b = (
|
|
58426
|
+
var _a3, _b;
|
|
58427
|
+
return ((_b = (_a3 = node.values) == null ? void 0 : _a3.join(",")) != null ? _b : "") + "{" + serializeCssMapVisit(opts, node.declarations) + "}";
|
|
57953
58428
|
};
|
|
57954
58429
|
var serializeCssFontFace = (opts, node) => {
|
|
57955
58430
|
const fontCss = serializeCssMapVisit(opts, node.declarations);
|
|
@@ -57973,8 +58448,8 @@ var serializeCssContainer = (opts, node) => {
|
|
|
57973
58448
|
return "@container " + removeMediaWhitespace(node.media) + "{" + containerCss + "}";
|
|
57974
58449
|
};
|
|
57975
58450
|
var serializeCssPage = (opts, node) => {
|
|
57976
|
-
var
|
|
57977
|
-
const sel = (_b = (
|
|
58451
|
+
var _a3, _b;
|
|
58452
|
+
const sel = (_b = (_a3 = node.selectors) == null ? void 0 : _a3.join(", ")) != null ? _b : "";
|
|
57978
58453
|
return "@page " + sel + "{" + serializeCssMapVisit(opts, node.declarations) + "}";
|
|
57979
58454
|
};
|
|
57980
58455
|
var serializeCssDocument = (opts, node) => {
|
|
@@ -58021,10 +58496,10 @@ var removeSelectorWhitespace = (selector) => {
|
|
|
58021
58496
|
return rtn;
|
|
58022
58497
|
};
|
|
58023
58498
|
var removeMediaWhitespace = (media) => {
|
|
58024
|
-
var
|
|
58499
|
+
var _a3;
|
|
58025
58500
|
let rtn = "";
|
|
58026
58501
|
let char = "";
|
|
58027
|
-
media = (
|
|
58502
|
+
media = (_a3 = media == null ? void 0 : media.trim()) != null ? _a3 : "";
|
|
58028
58503
|
for (let i = 0, l = media.length; i < l; i++) {
|
|
58029
58504
|
char = media[i];
|
|
58030
58505
|
if (CSS_WS_REG.test(char)) {
|