@aquera/nile-elements 0.1.67-beta-2.6 → 0.1.67-beta-2.7
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/demo/index.html +27 -182
- package/dist/{fixture-28d63bc4.cjs.js → fixture-3bfb4490.cjs.js} +2 -2
- package/dist/{fixture-28d63bc4.cjs.js.map → fixture-3bfb4490.cjs.js.map} +1 -1
- package/dist/{fixture-78a015b8.esm.js → fixture-8edec91c.esm.js} +1 -1
- package/dist/index.js +36 -116
- package/dist/nile-accordion/nile-accordian.test.cjs.js +1 -1
- package/dist/nile-accordion/nile-accordian.test.esm.js +1 -1
- package/dist/nile-auto-complete/nile-auto-complete.test.cjs.js +1 -1
- package/dist/nile-auto-complete/nile-auto-complete.test.esm.js +1 -1
- package/dist/nile-avatar/nile-avatar.test.cjs.js +1 -1
- package/dist/nile-avatar/nile-avatar.test.esm.js +1 -1
- package/dist/nile-badge/nile-badge.test.cjs.js +1 -1
- package/dist/nile-badge/nile-badge.test.esm.js +1 -1
- package/dist/nile-button/nile-button.test.cjs.js +1 -1
- package/dist/nile-button/nile-button.test.esm.js +1 -1
- package/dist/nile-button-toggle-group/nile-button-toggle-group.test.cjs.js +1 -1
- package/dist/nile-button-toggle-group/nile-button-toggle-group.test.esm.js +1 -1
- package/dist/nile-calendar/nile-calendar.test.cjs.js +1 -1
- package/dist/nile-calendar/nile-calendar.test.esm.js +1 -1
- package/dist/nile-card/nile-card.test.cjs.js +1 -1
- package/dist/nile-card/nile-card.test.esm.js +1 -1
- package/dist/nile-checkbox/nile-checkbox.test.cjs.js +1 -1
- package/dist/nile-checkbox/nile-checkbox.test.esm.js +1 -1
- package/dist/nile-chip/nile-chip.test.cjs.js +1 -1
- package/dist/nile-chip/nile-chip.test.esm.js +1 -1
- package/dist/nile-code-editor/extensionSetup.cjs.js +3 -3
- package/dist/nile-code-editor/extensionSetup.cjs.js.map +1 -1
- package/dist/nile-code-editor/extensionSetup.esm.js +1 -1
- package/dist/nile-code-editor/nile-code-editor.cjs.js +2 -2
- package/dist/nile-code-editor/nile-code-editor.cjs.js.map +1 -1
- package/dist/nile-code-editor/nile-code-editor.esm.js +2 -2
- package/dist/nile-dialog/nile-dialog.test.cjs.js +1 -1
- package/dist/nile-dialog/nile-dialog.test.esm.js +1 -1
- package/dist/nile-drawer/nile-drawer.test.cjs.js +1 -1
- package/dist/nile-drawer/nile-drawer.test.esm.js +1 -1
- package/dist/nile-dropdown/nile-dropdown.test.cjs.js +1 -1
- package/dist/nile-dropdown/nile-dropdown.test.esm.js +1 -1
- package/dist/nile-empty-state/nile-empty-state.test.cjs.js +1 -1
- package/dist/nile-empty-state/nile-empty-state.test.esm.js +1 -1
- package/dist/nile-error-message/nile-error-message.test.cjs.js +1 -1
- package/dist/nile-error-message/nile-error-message.test.esm.js +1 -1
- package/dist/nile-file-preview/nile-file-preview.test.cjs.js +1 -1
- package/dist/nile-file-preview/nile-file-preview.test.esm.js +1 -1
- package/dist/nile-file-upload/nile-file-upload.test.cjs.js +1 -1
- package/dist/nile-file-upload/nile-file-upload.test.esm.js +1 -1
- package/dist/nile-filter-chip/nile-filter-chip.test.cjs.js +1 -1
- package/dist/nile-filter-chip/nile-filter-chip.test.esm.js +1 -1
- package/dist/nile-form-group/nile-form-group.test.cjs.js +1 -1
- package/dist/nile-form-group/nile-form-group.test.esm.js +1 -1
- package/dist/nile-form-help-text/nile-form-help-text.test.cjs.js +1 -1
- package/dist/nile-form-help-text/nile-form-help-text.test.esm.js +1 -1
- package/dist/nile-hero/nile-hero.test.cjs.js +1 -1
- package/dist/nile-hero/nile-hero.test.esm.js +1 -1
- package/dist/nile-icon/nile-icon.test.cjs.js +1 -1
- package/dist/nile-icon/nile-icon.test.esm.js +1 -1
- package/dist/nile-input/nile-input.test.cjs.js +1 -1
- package/dist/nile-input/nile-input.test.esm.js +1 -1
- package/dist/nile-link/nile-link.test.cjs.js +1 -1
- package/dist/nile-link/nile-link.test.esm.js +1 -1
- package/dist/nile-loader/nile-loader.test.cjs.js +1 -1
- package/dist/nile-loader/nile-loader.test.esm.js +1 -1
- package/dist/nile-popover/nile-popover.test.cjs.js +1 -1
- package/dist/nile-popover/nile-popover.test.esm.js +1 -1
- package/dist/nile-popup/nile-popup.test.cjs.js +1 -1
- package/dist/nile-popup/nile-popup.test.esm.js +1 -1
- package/dist/nile-progress-bar/nile-progress-bar.test.cjs.js +1 -1
- package/dist/nile-progress-bar/nile-progress-bar.test.esm.js +1 -1
- package/dist/nile-radio/nile-radio.test.cjs.js +1 -1
- package/dist/nile-radio/nile-radio.test.esm.js +1 -1
- package/dist/nile-radio-group/nile-radio-group.test.cjs.js +1 -1
- package/dist/nile-radio-group/nile-radio-group.test.esm.js +1 -1
- package/dist/nile-select/nile-select.test.cjs.js +1 -1
- package/dist/nile-select/nile-select.test.esm.js +1 -1
- package/dist/nile-slide-toggle/nile-slide-toggle.test.cjs.js +1 -1
- package/dist/nile-slide-toggle/nile-slide-toggle.test.esm.js +1 -1
- package/dist/nile-tab-group/nile-tab-group.test.cjs.js +1 -1
- package/dist/nile-tab-group/nile-tab-group.test.esm.js +1 -1
- package/dist/nile-table-body/nile-table-body.cjs.js +1 -1
- package/dist/nile-table-body/nile-table-body.cjs.js.map +1 -1
- package/dist/nile-table-body/nile-table-body.esm.js +2 -2
- package/dist/nile-table-row/nile-table-row.cjs.js +1 -1
- package/dist/nile-table-row/nile-table-row.cjs.js.map +1 -1
- package/dist/nile-table-row/nile-table-row.css.cjs.js +1 -1
- package/dist/nile-table-row/nile-table-row.css.cjs.js.map +1 -1
- package/dist/nile-table-row/nile-table-row.css.esm.js +0 -52
- package/dist/nile-table-row/nile-table-row.esm.js +6 -34
- package/dist/nile-textarea/nile-textarea.test.cjs.js +1 -1
- package/dist/nile-textarea/nile-textarea.test.esm.js +1 -1
- package/dist/nile-virtual-select/nile-virtual-select.test.cjs.js +1 -1
- package/dist/nile-virtual-select/nile-virtual-select.test.esm.js +1 -1
- package/dist/src/nile-code-editor/nile-code-editor.d.ts +1 -0
- package/dist/src/nile-code-editor/nile-code-editor.js +9 -1
- package/dist/src/nile-code-editor/nile-code-editor.js.map +1 -1
- package/dist/src/nile-table-body/nile-table-body.d.ts +0 -1
- package/dist/src/nile-table-body/nile-table-body.js +0 -7
- package/dist/src/nile-table-body/nile-table-body.js.map +1 -1
- package/dist/src/nile-table-row/nile-table-row.css.js +0 -52
- package/dist/src/nile-table-row/nile-table-row.css.js.map +1 -1
- package/dist/src/nile-table-row/nile-table-row.d.ts +1 -10
- package/dist/src/nile-table-row/nile-table-row.js +9 -87
- package/dist/src/nile-table-row/nile-table-row.js.map +1 -1
- package/dist/src/nile-table-row-content/index.d.ts +1 -0
- package/dist/src/nile-table-row-content/index.js +2 -0
- package/dist/src/nile-table-row-content/index.js.map +1 -0
- package/dist/src/{nile-group-header/nile-option-header.css.d.ts → nile-table-row-content/nile-table-row-content.css.d.ts} +1 -1
- package/dist/src/nile-table-row-content/nile-table-row-content.css.js +30 -0
- package/dist/src/nile-table-row-content/nile-table-row-content.css.js.map +1 -0
- package/dist/src/{nile-option-header/nile-option-header.d.ts → nile-table-row-content/nile-table-row-content.d.ts} +6 -7
- package/dist/src/nile-table-row-content/nile-table-row-content.js +46 -0
- package/dist/src/nile-table-row-content/nile-table-row-content.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/nile-code-editor/nile-code-editor.ts +15 -1
- package/src/nile-table-body/nile-table-body.ts +0 -4
- package/src/nile-table-row/nile-table-row.css.ts +0 -52
- package/src/nile-table-row/nile-table-row.ts +5 -84
- package/vscode-html-custom-data.json +4 -24
- package/dist/aquera-nile-elements-0.1.57-beta-2.0.tgz +0 -0
- package/dist/axe.min-2b379f29.cjs.js +0 -12
- package/dist/axe.min-2b379f29.cjs.js.map +0 -1
- package/dist/axe.min-c2cd8733.esm.js +0 -12
- package/dist/fixture-324a7ef9.cjs.js +0 -395
- package/dist/fixture-324a7ef9.cjs.js.map +0 -1
- package/dist/fixture-add72f26.esm.js +0 -569
- package/dist/fixture-ba65eb22.esm.js +0 -569
- package/dist/fixture-c1bd203f.cjs.js +0 -395
- package/dist/fixture-c1bd203f.cjs.js.map +0 -1
- package/dist/fixture-cb376a7f.cjs.js +0 -395
- package/dist/fixture-cb376a7f.cjs.js.map +0 -1
- package/dist/fixture-f2693d97.esm.js +0 -569
- package/dist/nile-option-group/index.cjs.js +0 -2
- package/dist/nile-option-group/index.cjs.js.map +0 -1
- package/dist/nile-option-group/index.esm.js +0 -1
- package/dist/nile-option-group/nile-option-group.cjs.js +0 -2
- package/dist/nile-option-group/nile-option-group.cjs.js.map +0 -1
- package/dist/nile-option-group/nile-option-group.css.cjs.js +0 -2
- package/dist/nile-option-group/nile-option-group.css.cjs.js.map +0 -1
- package/dist/nile-option-group/nile-option-group.css.esm.js +0 -46
- package/dist/nile-option-group/nile-option-group.esm.js +0 -14
- package/dist/nile-option-group/nile-option-group.interface.cjs.js +0 -2
- package/dist/nile-option-group/nile-option-group.interface.cjs.js.map +0 -1
- package/dist/nile-option-group/nile-option-group.interface.esm.js +0 -1
- package/dist/nile-select/nile-select.interface.cjs.js +0 -2
- package/dist/nile-select/nile-select.interface.cjs.js.map +0 -1
- package/dist/nile-select/nile-select.interface.esm.js +0 -1
- package/dist/src/internal/expandable-row-helper.d.ts +0 -13
- package/dist/src/internal/expandable-row-helper.js +0 -37
- package/dist/src/internal/expandable-row-helper.js.map +0 -1
- package/dist/src/internal/expandable-row-styles.d.ts +0 -11
- package/dist/src/internal/expandable-row-styles.js +0 -27
- package/dist/src/internal/expandable-row-styles.js.map +0 -1
- package/dist/src/internal/table-expandable-helper.d.ts +0 -0
- package/dist/src/internal/table-expandable-helper.js +0 -2
- package/dist/src/internal/table-expandable-helper.js.map +0 -1
- package/dist/src/internal/table-row-expandable-helper.d.ts +0 -12
- package/dist/src/internal/table-row-expandable-helper.js +0 -32
- package/dist/src/internal/table-row-expandable-helper.js.map +0 -1
- package/dist/src/internal/table-row-expandable-styles.d.ts +0 -11
- package/dist/src/internal/table-row-expandable-styles.js +0 -12
- package/dist/src/internal/table-row-expandable-styles.js.map +0 -1
- package/dist/src/nile-group-header/index.d.ts +0 -1
- package/dist/src/nile-group-header/index.js +0 -2
- package/dist/src/nile-group-header/index.js.map +0 -1
- package/dist/src/nile-group-header/nile-group-header.css.d.ts +0 -12
- package/dist/src/nile-group-header/nile-group-header.css.js +0 -30
- package/dist/src/nile-group-header/nile-group-header.css.js.map +0 -1
- package/dist/src/nile-group-header/nile-group-header.d.ts +0 -19
- package/dist/src/nile-group-header/nile-group-header.js +0 -36
- package/dist/src/nile-group-header/nile-group-header.js.map +0 -1
- package/dist/src/nile-group-header/nile-option-header.css.js +0 -30
- package/dist/src/nile-group-header/nile-option-header.css.js.map +0 -1
- package/dist/src/nile-group-header/nile-option-header.d.ts +0 -33
- package/dist/src/nile-group-header/nile-option-header.js +0 -51
- package/dist/src/nile-group-header/nile-option-header.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-action.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-action.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-action.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-activity.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-activity.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-activity.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-alert-circle.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-alert-circle.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-alert-circle.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-align-center.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-align-center.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-align-center.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-annotation-x.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-annotation-x.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-annotation-x.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-arrow-down.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-arrow-down.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-arrow-down.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-arrow-narrow-down.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-arrow-narrow-down.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-arrow-narrow-down.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-arrow-narrow-left.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-arrow-narrow-left.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-arrow-narrow-left.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-arrow-narrow-right.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-arrow-narrow-right.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-arrow-narrow-right.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-arrow-up.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-arrow-up.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-arrow-up.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-bar-chart-12.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-bar-chart-12.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-bar-chart-12.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-bell-01.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-bell-01.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-bell-01.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-bell-ringing-04.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-bell-ringing-04.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-bell-ringing-04.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-bold-01.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-bold-01.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-bold-01.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-building-01.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-building-01.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-building-01.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-building-05.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-building-05.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-building-05.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-button-loading-blue-animated.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-button-loading-blue-animated.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-button-loading-blue-animated.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-button-loading-blue.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-button-loading-blue.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-button-loading-blue.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-calendar-plus-02.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-calendar-plus-02.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-calendar-plus-02.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-calendar.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-calendar.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-calendar.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-check-circle-broken.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-check-circle-broken.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-check-circle-broken.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-check-circle.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-check-circle.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-check-circle.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-check-square-broken.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-check-square-broken.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-check-square-broken.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-check.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-check.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-check.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-chevron-down.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-chevron-down.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-chevron-down.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-chevron-left.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-chevron-left.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-chevron-left.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-chevron-right.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-chevron-right.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-chevron-right.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-chevron-selector-vertical.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-chevron-selector-vertical.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-chevron-selector-vertical.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-chevron-up-double.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-chevron-up-double.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-chevron-up-double.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-chevron-up.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-chevron-up.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-chevron-up.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-copy-03.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-copy-03.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-copy-03.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-dataflow-04.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-dataflow-04.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-dataflow-04.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-dots-grid.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-dots-grid.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-dots-grid.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-dots-vertical.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-dots-vertical.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-dots-vertical.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-download-01.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-download-01.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-download-01.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-dropdown.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-dropdown.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-dropdown.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-edit-02.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-edit-02.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-edit-02.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-edit-05.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-edit-05.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-edit-05.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-expand-06.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-expand-06.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-expand-06.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-eye-off.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-eye-off.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-eye-off.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-eye.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-eye.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-eye.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-file-02.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-file-02.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-file-02.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-file-06.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-file-06.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-file-06.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-file-check-02.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-file-check-02.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-file-check-02.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-file-question-03.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-file-question-03.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-file-question-03.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-filter-lines.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-filter-lines.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-filter-lines.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-grid-01.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-grid-01.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-grid-01.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-help-circle.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-help-circle.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-help-circle.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-image-03.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-image-03.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-image-03.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-image-user-left.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-image-user-left.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-image-user-left.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-info-circle.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-info-circle.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-info-circle.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-italic-01.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-italic-01.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-italic-01.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-layers-three-01.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-layers-three-01.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-layers-three-01.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-list.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-list.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-list.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-log-out-01.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-log-out-01.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-log-out-01.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-mail-01.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-mail-01.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-mail-01.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-mail-04.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-mail-04.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-mail-04.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-marker-pin-01.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-marker-pin-01.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-marker-pin-01.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-menu-05.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-menu-05.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-menu-05.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-message-text-square-01.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-message-text-square-01.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-message-text-square-01.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-minimize-02.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-minimize-02.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-minimize-02.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-minus.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-minus.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-minus.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-plus.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-plus.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-plus.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-refresh-cw-02.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-refresh-cw-02.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-refresh-cw-02.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-rocket-02.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-rocket-02.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-rocket-02.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-search-lg.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-search-lg.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-search-lg.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-send-01.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-send-01.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-send-01.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-settings-01.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-settings-01.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-settings-01.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-share-04.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-share-04.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-share-04.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-share-06.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-share-06.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-share-06.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-stars-02.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-stars-02.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-stars-02.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-trash-01.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-trash-01.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-trash-01.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-trash-03.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-trash-03.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-trash-03.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-trend-up-01.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-trend-up-01.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-trend-up-01.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-underline-01.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-underline-01.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-underline-01.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-upload-01.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-upload-01.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-upload-01.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-upload-cloud-02.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-upload-cloud-02.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-upload-cloud-02.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-user-01.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-user-01.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-user-01.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-user-check-02-1.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-user-check-02-1.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-user-check-02-1.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-user-check-02.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-user-check-02.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-user-check-02.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-user-plus-02.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-user-plus-02.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-user-plus-02.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-user-right-01.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-user-right-01.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-user-right-01.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-users-01.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-users-01.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-users-01.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-x-circle.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-x-circle.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-x-circle.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-x-close.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-x-close.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-x-close.js.map +0 -1
- package/dist/src/nile-icon/icons/svg/ng-x-square.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-x-square.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-x-square.js.map +0 -1
- package/dist/src/nile-option-group/index.d.ts +0 -1
- package/dist/src/nile-option-group/index.js +0 -2
- package/dist/src/nile-option-group/index.js.map +0 -1
- package/dist/src/nile-option-group/nile-option-group.css.d.ts +0 -12
- package/dist/src/nile-option-group/nile-option-group.css.js +0 -58
- package/dist/src/nile-option-group/nile-option-group.css.js.map +0 -1
- package/dist/src/nile-option-group/nile-option-group.d.ts +0 -23
- package/dist/src/nile-option-group/nile-option-group.interface.d.ts +0 -22
- package/dist/src/nile-option-group/nile-option-group.interface.js +0 -2
- package/dist/src/nile-option-group/nile-option-group.interface.js.map +0 -1
- package/dist/src/nile-option-group/nile-option-group.js +0 -76
- package/dist/src/nile-option-group/nile-option-group.js.map +0 -1
- package/dist/src/nile-option-header/index.d.ts +0 -1
- package/dist/src/nile-option-header/index.js +0 -2
- package/dist/src/nile-option-header/index.js.map +0 -1
- package/dist/src/nile-option-header/nile-option-header.css.d.ts +0 -12
- package/dist/src/nile-option-header/nile-option-header.css.js +0 -30
- package/dist/src/nile-option-header/nile-option-header.css.js.map +0 -1
- package/dist/src/nile-option-header/nile-option-header.js +0 -51
- package/dist/src/nile-option-header/nile-option-header.js.map +0 -1
- package/dist/src/nile-select/nile-select.interface.d.ts +0 -5
- package/dist/src/nile-select/nile-select.interface.js +0 -2
- package/dist/src/nile-select/nile-select.interface.js.map +0 -1
- package/dist/src/nile-table-row/TableRowExpandableHelper.d.ts +0 -9
- package/dist/src/nile-table-row/TableRowExpandableHelper.js +0 -26
- package/dist/src/nile-table-row/TableRowExpandableHelper.js.map +0 -1
- package/dist/src/nile-table-row/helper.ts.d.ts +0 -37
- package/dist/src/nile-table-row/helper.ts.js +0 -105
- package/dist/src/nile-table-row/helper.ts.js.map +0 -1
- package/dist/src/nile-table-row/nile-table-row-expandable.d.ts +0 -37
- package/dist/src/nile-table-row/nile-table-row-expandable.js +0 -105
- package/dist/src/nile-table-row/nile-table-row-expandable.js.map +0 -1
- package/dist/src/nile-table-row-expandable/index.d.ts +0 -1
- package/dist/src/nile-table-row-expandable/index.js +0 -2
- package/dist/src/nile-table-row-expandable/index.js.map +0 -1
- package/dist/src/nile-table-row-expandable/nile-table-row-expandable.css.d.ts +0 -12
- package/dist/src/nile-table-row-expandable/nile-table-row-expandable.css.js +0 -17
- package/dist/src/nile-table-row-expandable/nile-table-row-expandable.css.js.map +0 -1
- package/dist/src/nile-table-row-expandable/nile-table-row-expandable.d.ts +0 -37
- package/dist/src/nile-table-row-expandable/nile-table-row-expandable.js +0 -103
- package/dist/src/nile-table-row-expandable/nile-table-row-expandable.js.map +0 -1
- package/dist/src/nile-tooltip/nile-tooltip-utils.d.ts +0 -18
- package/dist/src/nile-tooltip/nile-tooltip-utils.js +0 -216
- package/dist/src/nile-tooltip/nile-tooltip-utils.js.map +0 -1
- package/dist/src/nile-tooltip/nile-tooltip.test.d.ts +0 -1
- package/dist/src/nile-tooltip/nile-tooltip.test.js +0 -148
- package/dist/src/nile-tooltip/nile-tooltip.test.js.map +0 -1
@@ -1,569 +0,0 @@
|
|
1
|
-
import{html as t}from"lit";import{unsafeHTML as e}from"lit/directives/unsafe-html.js";import{render as n}from"lit/html.js";import{isTemplateResult as i}from"lit/directive-helpers.js";var o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var a=function t(e,n,i){function o(s,c){if(!n[s]){if(!e[s]){if(!c&&r)return r(s);if(a)return a(s,!0);var u=new Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u}var f=n[s]={exports:{}};e[s][0].call(f.exports,(function(t){return o(e[s][1][t]||t)}),f,f.exports,t,e,n,i)}return n[s].exports}for(var a=r,s=0;s<i.length;s++)o(i[s]);return o}({1:[function(t,e,n){e.exports=t("./lib/chai")},{"./lib/chai":2}],2:[function(t,e,n){
|
2
|
-
/*!
|
3
|
-
* chai
|
4
|
-
* Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com>
|
5
|
-
* MIT Licensed
|
6
|
-
*/
|
7
|
-
var i=[];
|
8
|
-
/*!
|
9
|
-
* Chai version
|
10
|
-
*/n.version="4.3.3",
|
11
|
-
/*!
|
12
|
-
* Assertion Error
|
13
|
-
*/
|
14
|
-
n.AssertionError=t("assertion-error");
|
15
|
-
/*!
|
16
|
-
* Utils for plugins (not exported)
|
17
|
-
*/
|
18
|
-
var o=t("./chai/utils");n.use=function(t){return~i.indexOf(t)||(t(n,o),i.push(t)),n
|
19
|
-
/*!
|
20
|
-
* Utility Functions
|
21
|
-
*/},n.util=o;
|
22
|
-
/*!
|
23
|
-
* Configuration
|
24
|
-
*/
|
25
|
-
var r=t("./chai/config");n.config=r;
|
26
|
-
/*!
|
27
|
-
* Primary `Assertion` prototype
|
28
|
-
*/
|
29
|
-
var a=t("./chai/assertion");n.use(a);
|
30
|
-
/*!
|
31
|
-
* Core Assertions
|
32
|
-
*/
|
33
|
-
var s=t("./chai/core/assertions");n.use(s);
|
34
|
-
/*!
|
35
|
-
* Expect interface
|
36
|
-
*/
|
37
|
-
var c=t("./chai/interface/expect");n.use(c);
|
38
|
-
/*!
|
39
|
-
* Should interface
|
40
|
-
*/
|
41
|
-
var u=t("./chai/interface/should");n.use(u);
|
42
|
-
/*!
|
43
|
-
* Assert interface
|
44
|
-
*/
|
45
|
-
var f=t("./chai/interface/assert");n.use(f)},{"./chai/assertion":3,"./chai/config":4,"./chai/core/assertions":5,"./chai/interface/assert":6,"./chai/interface/expect":7,"./chai/interface/should":8,"./chai/utils":23,"assertion-error":34}],3:[function(t,e,n){
|
46
|
-
/*!
|
47
|
-
* chai
|
48
|
-
* http://chaijs.com
|
49
|
-
* Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com>
|
50
|
-
* MIT Licensed
|
51
|
-
*/
|
52
|
-
var i=t("./config");e.exports=function(t,e){
|
53
|
-
/*!
|
54
|
-
* Module dependencies.
|
55
|
-
*/
|
56
|
-
var n=t.AssertionError,o=e.flag;
|
57
|
-
/*!
|
58
|
-
* Module export.
|
59
|
-
*/
|
60
|
-
/*!
|
61
|
-
* Assertion Constructor
|
62
|
-
*
|
63
|
-
* Creates object for chaining.
|
64
|
-
*
|
65
|
-
* `Assertion` objects contain metadata in the form of flags. Three flags can
|
66
|
-
* be assigned during instantiation by passing arguments to this constructor:
|
67
|
-
*
|
68
|
-
* - `object`: This flag contains the target of the assertion. For example, in
|
69
|
-
* the assertion `expect(numKittens).to.equal(7);`, the `object` flag will
|
70
|
-
* contain `numKittens` so that the `equal` assertion can reference it when
|
71
|
-
* needed.
|
72
|
-
*
|
73
|
-
* - `message`: This flag contains an optional custom error message to be
|
74
|
-
* prepended to the error message that's generated by the assertion when it
|
75
|
-
* fails.
|
76
|
-
*
|
77
|
-
* - `ssfi`: This flag stands for "start stack function indicator". It
|
78
|
-
* contains a function reference that serves as the starting point for
|
79
|
-
* removing frames from the stack trace of the error that's created by the
|
80
|
-
* assertion when it fails. The goal is to provide a cleaner stack trace to
|
81
|
-
* end users by removing Chai's internal functions. Note that it only works
|
82
|
-
* in environments that support `Error.captureStackTrace`, and only when
|
83
|
-
* `Chai.config.includeStack` hasn't been set to `false`.
|
84
|
-
*
|
85
|
-
* - `lockSsfi`: This flag controls whether or not the given `ssfi` flag
|
86
|
-
* should retain its current value, even as assertions are chained off of
|
87
|
-
* this object. This is usually set to `true` when creating a new assertion
|
88
|
-
* from within another assertion. It's also temporarily set to `true` before
|
89
|
-
* an overwritten assertion gets called by the overwriting assertion.
|
90
|
-
*
|
91
|
-
* @param {Mixed} obj target of the assertion
|
92
|
-
* @param {String} msg (optional) custom error message
|
93
|
-
* @param {Function} ssfi (optional) starting point for removing stack frames
|
94
|
-
* @param {Boolean} lockSsfi (optional) whether or not the ssfi flag is locked
|
95
|
-
* @api private
|
96
|
-
*/function r(t,n,i,a){return o(this,"ssfi",i||r),o(this,"lockSsfi",a),o(this,"object",t),o(this,"message",n),e.proxify(this)}t.Assertion=r,Object.defineProperty(r,"includeStack",{get:function(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),i.includeStack},set:function(t){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),i.includeStack=t}}),Object.defineProperty(r,"showDiff",{get:function(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),i.showDiff},set:function(t){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),i.showDiff=t}}),r.addProperty=function(t,n){e.addProperty(this.prototype,t,n)},r.addMethod=function(t,n){e.addMethod(this.prototype,t,n)},r.addChainableMethod=function(t,n,i){e.addChainableMethod(this.prototype,t,n,i)},r.overwriteProperty=function(t,n){e.overwriteProperty(this.prototype,t,n)},r.overwriteMethod=function(t,n){e.overwriteMethod(this.prototype,t,n)},r.overwriteChainableMethod=function(t,n,i){e.overwriteChainableMethod(this.prototype,t,n,i)},r.prototype.assert=function(t,r,a,s,c,u){var f=e.test(this,arguments);if(!1!==u&&(u=!0),void 0===s&&void 0===c&&(u=!1),!0!==i.showDiff&&(u=!1),!f){r=e.getMessage(this,arguments);var h={actual:e.getActual(this,arguments),expected:s,showDiff:u},l=e.getOperator(this,arguments);throw l&&(h.operator=l),new n(r,h,i.includeStack?this.assert:o(this,"ssfi"))}},
|
97
|
-
/*!
|
98
|
-
* ### ._obj
|
99
|
-
*
|
100
|
-
* Quick reference to stored `actual` value for plugin developers.
|
101
|
-
*
|
102
|
-
* @api private
|
103
|
-
*/
|
104
|
-
Object.defineProperty(r.prototype,"_obj",{get:function(){return o(this,"object")},set:function(t){o(this,"object",t)}})}},{"./config":4}],4:[function(t,e,n){e.exports={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"]}},{}],5:[function(t,e,n){
|
105
|
-
/*!
|
106
|
-
* chai
|
107
|
-
* http://chaijs.com
|
108
|
-
* Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com>
|
109
|
-
* MIT Licensed
|
110
|
-
*/
|
111
|
-
e.exports=function(t,e){var n=t.Assertion,i=t.AssertionError,o=e.flag;function r(t,n){n&&o(this,"message",n),t=t.toLowerCase();var i=o(this,"object"),r=~["a","e","i","o","u"].indexOf(t.charAt(0))?"an ":"a ";this.assert(t===e.type(i).toLowerCase(),"expected #{this} to be "+r+t,"expected #{this} not to be "+r+t)}function a(t,n){return e.isNaN(t)&&e.isNaN(n)||t===n}function s(){o(this,"contains",!0)}function c(t,r){r&&o(this,"message",r);var s=o(this,"object"),c=e.type(s).toLowerCase(),u=o(this,"message"),f=o(this,"negate"),h=o(this,"ssfi"),l=o(this,"deep"),d=l?"deep ":"";u=u?u+": ":"";var p=!1;switch(c){case"string":p=-1!==s.indexOf(t);break;case"weakset":if(l)throw new i(u+"unable to use .deep.include with WeakSet",void 0,h);p=s.has(t);break;case"map":var w=l?e.eql:a;s.forEach((function(e){p=p||w(e,t)}));break;case"set":l?s.forEach((function(n){p=p||e.eql(n,t)})):p=s.has(t);break;case"array":p=l?s.some((function(n){return e.eql(n,t)})):-1!==s.indexOf(t);break;default:if(t!==Object(t))throw new i(u+"the given combination of arguments ("+c+" and "+e.type(t).toLowerCase()+") is invalid for this assertion. You can use an array, a map, an object, a set, a string, or a weakset instead of a "+e.type(t).toLowerCase(),void 0,h);var b=Object.keys(t),v=null,m=0;if(b.forEach((function(r){var a=new n(s);if(e.transferFlags(this,a,!0),o(a,"lockSsfi",!0),f&&1!==b.length)try{a.property(r,t[r])}catch(t){if(!e.checkError.compatibleConstructor(t,i))throw t;null===v&&(v=t),m++}else a.property(r,t[r])}),this),f&&b.length>1&&m===b.length)throw v;return}this.assert(p,"expected #{this} to "+d+"include "+e.inspect(t),"expected #{this} to not "+d+"include "+e.inspect(t))}function u(){var t=o(this,"object");this.assert(null!=t,"expected #{this} to exist","expected #{this} to not exist")}function f(){var t=o(this,"object"),n=e.type(t);this.assert("Arguments"===n,"expected #{this} to be arguments but got "+n,"expected #{this} to not be arguments")}function h(t,e){e&&o(this,"message",e);var n=o(this,"object");if(o(this,"deep")){var i=o(this,"lockSsfi");o(this,"lockSsfi",!0),this.eql(t),o(this,"lockSsfi",i)}else this.assert(t===n,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",t,this._obj,!0)}function l(t,n){n&&o(this,"message",n),this.assert(e.eql(t,o(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",t,this._obj,!0)}function d(t,r){r&&o(this,"message",r);var a,s=o(this,"object"),c=o(this,"doLength"),u=o(this,"message"),f=u?u+": ":"",h=o(this,"ssfi"),l=e.type(s).toLowerCase(),d=e.type(t).toLowerCase(),p=!0;if(c&&"map"!==l&&"set"!==l&&new n(s,u,h,!0).to.have.property("length"),c||"date"!==l||"date"===d?"number"===d||!c&&"number"!==l?c||"date"===l||"number"===l?p=!1:a=f+"expected "+("string"===l?"'"+s+"'":s)+" to be a number or a date":a=f+"the argument to above must be a number":a=f+"the argument to above must be a date",p)throw new i(a,void 0,h);if(c){var w,b="length";"map"===l||"set"===l?(b="size",w=s.size):w=s.length,this.assert(w>t,"expected #{this} to have a "+b+" above #{exp} but got #{act}","expected #{this} to not have a "+b+" above #{exp}",t,w)}else this.assert(s>t,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",t)}function p(t,r){r&&o(this,"message",r);var a,s=o(this,"object"),c=o(this,"doLength"),u=o(this,"message"),f=u?u+": ":"",h=o(this,"ssfi"),l=e.type(s).toLowerCase(),d=e.type(t).toLowerCase(),p=!0;if(c&&"map"!==l&&"set"!==l&&new n(s,u,h,!0).to.have.property("length"),c||"date"!==l||"date"===d?"number"===d||!c&&"number"!==l?c||"date"===l||"number"===l?p=!1:a=f+"expected "+("string"===l?"'"+s+"'":s)+" to be a number or a date":a=f+"the argument to least must be a number":a=f+"the argument to least must be a date",p)throw new i(a,void 0,h);if(c){var w,b="length";"map"===l||"set"===l?(b="size",w=s.size):w=s.length,this.assert(w>=t,"expected #{this} to have a "+b+" at least #{exp} but got #{act}","expected #{this} to have a "+b+" below #{exp}",t,w)}else this.assert(s>=t,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",t)}function w(t,r){r&&o(this,"message",r);var a,s=o(this,"object"),c=o(this,"doLength"),u=o(this,"message"),f=u?u+": ":"",h=o(this,"ssfi"),l=e.type(s).toLowerCase(),d=e.type(t).toLowerCase(),p=!0;if(c&&"map"!==l&&"set"!==l&&new n(s,u,h,!0).to.have.property("length"),c||"date"!==l||"date"===d?"number"===d||!c&&"number"!==l?c||"date"===l||"number"===l?p=!1:a=f+"expected "+("string"===l?"'"+s+"'":s)+" to be a number or a date":a=f+"the argument to below must be a number":a=f+"the argument to below must be a date",p)throw new i(a,void 0,h);if(c){var w,b="length";"map"===l||"set"===l?(b="size",w=s.size):w=s.length,this.assert(w<t,"expected #{this} to have a "+b+" below #{exp} but got #{act}","expected #{this} to not have a "+b+" below #{exp}",t,w)}else this.assert(s<t,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",t)}function b(t,r){r&&o(this,"message",r);var a,s=o(this,"object"),c=o(this,"doLength"),u=o(this,"message"),f=u?u+": ":"",h=o(this,"ssfi"),l=e.type(s).toLowerCase(),d=e.type(t).toLowerCase(),p=!0;if(c&&"map"!==l&&"set"!==l&&new n(s,u,h,!0).to.have.property("length"),c||"date"!==l||"date"===d?"number"===d||!c&&"number"!==l?c||"date"===l||"number"===l?p=!1:a=f+"expected "+("string"===l?"'"+s+"'":s)+" to be a number or a date":a=f+"the argument to most must be a number":a=f+"the argument to most must be a date",p)throw new i(a,void 0,h);if(c){var w,b="length";"map"===l||"set"===l?(b="size",w=s.size):w=s.length,this.assert(w<=t,"expected #{this} to have a "+b+" at most #{exp} but got #{act}","expected #{this} to have a "+b+" above #{exp}",t,w)}else this.assert(s<=t,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",t)}function v(t,n){n&&o(this,"message",n);var r=o(this,"object"),a=o(this,"ssfi"),s=o(this,"message");try{var c=r instanceof t}catch(n){if(n instanceof TypeError)throw new i((s=s?s+": ":"")+"The instanceof assertion needs a constructor but "+e.type(t)+" was given.",void 0,a);throw n}var u=e.getName(t);null===u&&(u="an unnamed constructor"),this.assert(c,"expected #{this} to be an instance of "+u,"expected #{this} to not be an instance of "+u)}function m(t,n,r){r&&o(this,"message",r);var a=o(this,"nested"),s=o(this,"own"),c=o(this,"message"),u=o(this,"object"),f=o(this,"ssfi"),h=typeof t;if(c=c?c+": ":"",a){if("string"!==h)throw new i(c+"the argument to property must be a string when using nested syntax",void 0,f)}else if("string"!==h&&"number"!==h&&"symbol"!==h)throw new i(c+"the argument to property must be a string, number, or symbol",void 0,f);if(a&&s)throw new i(c+'The "nested" and "own" flags cannot be combined.',void 0,f);if(null==u)throw new i(c+"Target cannot be null or undefined.",void 0,f);var l,d=o(this,"deep"),p=o(this,"negate"),w=a?e.getPathInfo(u,t):null,b=a?w.value:u[t],v="";d&&(v+="deep "),s&&(v+="own "),a&&(v+="nested "),v+="property ",l=s?Object.prototype.hasOwnProperty.call(u,t):a?w.exists:e.hasProperty(u,t),p&&1!==arguments.length||this.assert(l,"expected #{this} to have "+v+e.inspect(t),"expected #{this} to not have "+v+e.inspect(t)),arguments.length>1&&this.assert(l&&(d?e.eql(n,b):n===b),"expected #{this} to have "+v+e.inspect(t)+" of #{exp}, but got #{act}","expected #{this} to not have "+v+e.inspect(t)+" of #{act}",n,b),o(this,"object",b)}function g(t,e,n){o(this,"own",!0),m.apply(this,arguments)}function y(t,n,i){"string"==typeof n&&(i=n,n=null),i&&o(this,"message",i);var r=o(this,"object"),a=Object.getOwnPropertyDescriptor(Object(r),t);a&&n?this.assert(e.eql(n,a),"expected the own property descriptor for "+e.inspect(t)+" on #{this} to match "+e.inspect(n)+", got "+e.inspect(a),"expected the own property descriptor for "+e.inspect(t)+" on #{this} to not match "+e.inspect(n),n,a,!0):this.assert(a,"expected #{this} to have an own property descriptor for "+e.inspect(t),"expected #{this} to not have an own property descriptor for "+e.inspect(t)),o(this,"object",a)}function x(){o(this,"doLength",!0)}function j(t,i){i&&o(this,"message",i);var r,a=o(this,"object"),s=e.type(a).toLowerCase(),c=o(this,"message"),u=o(this,"ssfi"),f="length";switch(s){case"map":case"set":f="size",r=a.size;break;default:new n(a,c,u,!0).to.have.property("length"),r=a.length}this.assert(r==t,"expected #{this} to have a "+f+" of #{exp} but got #{act}","expected #{this} to not have a "+f+" of #{act}",t,r)}function E(t,e){e&&o(this,"message",e);var n=o(this,"object");this.assert(t.exec(n),"expected #{this} to match "+t,"expected #{this} not to match "+t)}function O(t){var n,r,a=o(this,"object"),s=e.type(a),c=e.type(t),u=o(this,"ssfi"),f=o(this,"deep"),h="",l=!0,d=o(this,"message"),p=(d=d?d+": ":"")+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if("Map"===s||"Set"===s)h=f?"deeply ":"",r=[],a.forEach((function(t,e){r.push(e)})),"Array"!==c&&(t=Array.prototype.slice.call(arguments));else{switch(r=e.getOwnEnumerableProperties(a),c){case"Array":if(arguments.length>1)throw new i(p,void 0,u);break;case"Object":if(arguments.length>1)throw new i(p,void 0,u);t=Object.keys(t);break;default:t=Array.prototype.slice.call(arguments)}t=t.map((function(t){return"symbol"==typeof t?t:String(t)}))}if(!t.length)throw new i(d+"keys required",void 0,u);var w=t.length,b=o(this,"any"),v=o(this,"all"),m=t;if(b||v||(v=!0),b&&(l=m.some((function(t){return r.some((function(n){return f?e.eql(t,n):t===n}))}))),v&&(l=m.every((function(t){return r.some((function(n){return f?e.eql(t,n):t===n}))})),o(this,"contains")||(l=l&&t.length==r.length)),w>1){var g=(t=t.map((function(t){return e.inspect(t)}))).pop();v&&(n=t.join(", ")+", and "+g),b&&(n=t.join(", ")+", or "+g)}else n=e.inspect(t[0]);n=(w>1?"keys ":"key ")+n,n=(o(this,"contains")?"contain ":"have ")+n,this.assert(l,"expected #{this} to "+h+n,"expected #{this} to not "+h+n,m.slice(0).sort(e.compareByInspect),r.sort(e.compareByInspect),!0)}function S(t,i,r){r&&o(this,"message",r);var a,s=o(this,"object"),c=o(this,"ssfi"),u=o(this,"message"),f=o(this,"negate")||!1;new n(s,u,c,!0).is.a("function"),(t instanceof RegExp||"string"==typeof t)&&(i=t,t=null);try{s()}catch(t){a=t}var h=void 0===t&&void 0===i,l=Boolean(t&&i),d=!1,p=!1;if(h||!h&&!f){var w="an error";t instanceof Error?w="#{exp}":t&&(w=e.checkError.getConstructorName(t)),this.assert(a,"expected #{this} to throw "+w,"expected #{this} to not throw an error but #{act} was thrown",t&&t.toString(),a instanceof Error?a.toString():"string"==typeof a?a:a&&e.checkError.getConstructorName(a))}if(t&&a&&(t instanceof Error&&e.checkError.compatibleInstance(a,t)===f&&(l&&f?d=!0:this.assert(f,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(a&&!f?" but #{act} was thrown":""),t.toString(),a.toString())),e.checkError.compatibleConstructor(a,t)===f&&(l&&f?d=!0:this.assert(f,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(a?" but #{act} was thrown":""),t instanceof Error?t.toString():t&&e.checkError.getConstructorName(t),a instanceof Error?a.toString():a&&e.checkError.getConstructorName(a)))),a&&null!=i){var b="including";i instanceof RegExp&&(b="matching"),e.checkError.compatibleMessage(a,i)===f&&(l&&f?p=!0:this.assert(f,"expected #{this} to throw error "+b+" #{exp} but got #{act}","expected #{this} to throw error not "+b+" #{exp}",i,e.checkError.getMessage(a)))}d&&p&&this.assert(f,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(a?" but #{act} was thrown":""),t instanceof Error?t.toString():t&&e.checkError.getConstructorName(t),a instanceof Error?a.toString():a&&e.checkError.getConstructorName(a)),o(this,"object",a)}function k(t,n){n&&o(this,"message",n);var i=o(this,"object"),r=o(this,"itself"),a="function"!=typeof i||r?i[t]:i.prototype[t];this.assert("function"==typeof a,"expected #{this} to respond to "+e.inspect(t),"expected #{this} to not respond to "+e.inspect(t))}function A(t,n){n&&o(this,"message",n);var i=t(o(this,"object"));this.assert(i,"expected #{this} to satisfy "+e.objDisplay(t),"expected #{this} to not satisfy"+e.objDisplay(t),!o(this,"negate"),i)}function D(t,e,r){r&&o(this,"message",r);var a=o(this,"object"),s=o(this,"message"),c=o(this,"ssfi");if(new n(a,s,c,!0).is.a("number"),"number"!=typeof t||"number"!=typeof e)throw new i((s=s?s+": ":"")+"the arguments to closeTo or approximately must be numbers"+(void 0===e?", and a delta is required":""),void 0,c);this.assert(Math.abs(a-t)<=e,"expected #{this} to be close to "+t+" +/- "+e,"expected #{this} not to be close to "+t+" +/- "+e)}function T(t,e,i){i&&o(this,"message",i);var r,a=o(this,"object"),s=o(this,"message"),c=o(this,"ssfi");new n(a,s,c,!0).is.a("function"),e?(new n(t,s,c,!0).to.have.property(e),r=t[e]):(new n(t,s,c,!0).is.a("function"),r=t()),a();var u=null==e?t():t[e],f=null==e?r:"."+e;o(this,"deltaMsgObj",f),o(this,"initialDeltaValue",r),o(this,"finalDeltaValue",u),o(this,"deltaBehavior","change"),o(this,"realDelta",u!==r),this.assert(r!==u,"expected "+f+" to change","expected "+f+" to not change")}function M(t,e,i){i&&o(this,"message",i);var r,a=o(this,"object"),s=o(this,"message"),c=o(this,"ssfi");new n(a,s,c,!0).is.a("function"),e?(new n(t,s,c,!0).to.have.property(e),r=t[e]):(new n(t,s,c,!0).is.a("function"),r=t()),new n(r,s,c,!0).is.a("number"),a();var u=null==e?t():t[e],f=null==e?r:"."+e;o(this,"deltaMsgObj",f),o(this,"initialDeltaValue",r),o(this,"finalDeltaValue",u),o(this,"deltaBehavior","increase"),o(this,"realDelta",u-r),this.assert(u-r>0,"expected "+f+" to increase","expected "+f+" to not increase")}function q(t,e,i){i&&o(this,"message",i);var r,a=o(this,"object"),s=o(this,"message"),c=o(this,"ssfi");new n(a,s,c,!0).is.a("function"),e?(new n(t,s,c,!0).to.have.property(e),r=t[e]):(new n(t,s,c,!0).is.a("function"),r=t()),new n(r,s,c,!0).is.a("number"),a();var u=null==e?t():t[e],f=null==e?r:"."+e;o(this,"deltaMsgObj",f),o(this,"initialDeltaValue",r),o(this,"finalDeltaValue",u),o(this,"deltaBehavior","decrease"),o(this,"realDelta",r-u),this.assert(u-r<0,"expected "+f+" to decrease","expected "+f+" to not decrease")}["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach((function(t){n.addProperty(t)})),n.addProperty("not",(function(){o(this,"negate",!0)})),n.addProperty("deep",(function(){o(this,"deep",!0)})),n.addProperty("nested",(function(){o(this,"nested",!0)})),n.addProperty("own",(function(){o(this,"own",!0)})),n.addProperty("ordered",(function(){o(this,"ordered",!0)})),n.addProperty("any",(function(){o(this,"any",!0),o(this,"all",!1)})),n.addProperty("all",(function(){o(this,"all",!0),o(this,"any",!1)})),n.addChainableMethod("an",r),n.addChainableMethod("a",r),n.addChainableMethod("include",c,s),n.addChainableMethod("contain",c,s),n.addChainableMethod("contains",c,s),n.addChainableMethod("includes",c,s),n.addProperty("ok",(function(){this.assert(o(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")})),n.addProperty("true",(function(){this.assert(!0===o(this,"object"),"expected #{this} to be true","expected #{this} to be false",!o(this,"negate"))})),n.addProperty("false",(function(){this.assert(!1===o(this,"object"),"expected #{this} to be false","expected #{this} to be true",!!o(this,"negate"))})),n.addProperty("null",(function(){this.assert(null===o(this,"object"),"expected #{this} to be null","expected #{this} not to be null")})),n.addProperty("undefined",(function(){this.assert(void 0===o(this,"object"),"expected #{this} to be undefined","expected #{this} not to be undefined")})),n.addProperty("NaN",(function(){this.assert(e.isNaN(o(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")})),n.addProperty("exist",u),n.addProperty("exists",u),n.addProperty("empty",(function(){var t,n=o(this,"object"),r=o(this,"ssfi"),a=o(this,"message");switch(a=a?a+": ":"",e.type(n).toLowerCase()){case"array":case"string":t=n.length;break;case"map":case"set":t=n.size;break;case"weakmap":case"weakset":throw new i(a+".empty was passed a weak collection",void 0,r);case"function":var s=a+".empty was passed a function "+e.getName(n);throw new i(s.trim(),void 0,r);default:if(n!==Object(n))throw new i(a+".empty was passed non-string primitive "+e.inspect(n),void 0,r);t=Object.keys(n).length}this.assert(0===t,"expected #{this} to be empty","expected #{this} not to be empty")})),n.addProperty("arguments",f),n.addProperty("Arguments",f),n.addMethod("equal",h),n.addMethod("equals",h),n.addMethod("eq",h),n.addMethod("eql",l),n.addMethod("eqls",l),n.addMethod("above",d),n.addMethod("gt",d),n.addMethod("greaterThan",d),n.addMethod("least",p),n.addMethod("gte",p),n.addMethod("greaterThanOrEqual",p),n.addMethod("below",w),n.addMethod("lt",w),n.addMethod("lessThan",w),n.addMethod("most",b),n.addMethod("lte",b),n.addMethod("lessThanOrEqual",b),n.addMethod("within",(function(t,r,a){a&&o(this,"message",a);var s,c=o(this,"object"),u=o(this,"doLength"),f=o(this,"message"),h=f?f+": ":"",l=o(this,"ssfi"),d=e.type(c).toLowerCase(),p=e.type(t).toLowerCase(),w=e.type(r).toLowerCase(),b=!0,v="date"===p&&"date"===w?t.toUTCString()+".."+r.toUTCString():t+".."+r;if(u&&"map"!==d&&"set"!==d&&new n(c,f,l,!0).to.have.property("length"),u||"date"!==d||"date"===p&&"date"===w?"number"===p&&"number"===w||!u&&"number"!==d?u||"date"===d||"number"===d?b=!1:s=h+"expected "+("string"===d?"'"+c+"'":c)+" to be a number or a date":s=h+"the arguments to within must be numbers":s=h+"the arguments to within must be dates",b)throw new i(s,void 0,l);if(u){var m,g="length";"map"===d||"set"===d?(g="size",m=c.size):m=c.length,this.assert(m>=t&&m<=r,"expected #{this} to have a "+g+" within "+v,"expected #{this} to not have a "+g+" within "+v)}else this.assert(c>=t&&c<=r,"expected #{this} to be within "+v,"expected #{this} to not be within "+v)})),n.addMethod("instanceof",v),n.addMethod("instanceOf",v),n.addMethod("property",m),n.addMethod("ownProperty",g),n.addMethod("haveOwnProperty",g),n.addMethod("ownPropertyDescriptor",y),n.addMethod("haveOwnPropertyDescriptor",y),n.addChainableMethod("length",j,x),n.addChainableMethod("lengthOf",j,x),n.addMethod("match",E),n.addMethod("matches",E),n.addMethod("string",(function(t,i){i&&o(this,"message",i);var r=o(this,"object"),a=o(this,"message"),s=o(this,"ssfi");new n(r,a,s,!0).is.a("string"),this.assert(~r.indexOf(t),"expected #{this} to contain "+e.inspect(t),"expected #{this} to not contain "+e.inspect(t))})),n.addMethod("keys",O),n.addMethod("key",O),n.addMethod("throw",S),n.addMethod("throws",S),n.addMethod("Throw",S),n.addMethod("respondTo",k),n.addMethod("respondsTo",k),n.addProperty("itself",(function(){o(this,"itself",!0)})),n.addMethod("satisfy",A),n.addMethod("satisfies",A),n.addMethod("closeTo",D),n.addMethod("approximately",D),n.addMethod("members",(function(t,i){i&&o(this,"message",i);var r=o(this,"object"),a=o(this,"message"),s=o(this,"ssfi");new n(r,a,s,!0).to.be.an("array"),new n(t,a,s,!0).to.be.an("array");var c,u,f,h=o(this,"contains"),l=o(this,"ordered");h?(u="expected #{this} to be "+(c=l?"an ordered superset":"a superset")+" of #{exp}",f="expected #{this} to not be "+c+" of #{exp}"):(u="expected #{this} to have the same "+(c=l?"ordered members":"members")+" as #{exp}",f="expected #{this} to not have the same "+c+" as #{exp}");var d=o(this,"deep")?e.eql:void 0;this.assert(function(t,e,n,i,o){if(!i){if(t.length!==e.length)return!1;e=e.slice()}return t.every((function(t,r){if(o)return n?n(t,e[r]):t===e[r];if(!n){var a=e.indexOf(t);return-1!==a&&(i||e.splice(a,1),!0)}return e.some((function(o,r){return!!n(t,o)&&(i||e.splice(r,1),!0)}))}))}(t,r,d,h,l),u,f,t,r,!0)})),n.addMethod("oneOf",(function(t,i){i&&o(this,"message",i);var r=o(this,"object"),a=o(this,"message"),s=o(this,"ssfi"),c=o(this,"contains"),u=o(this,"deep");new n(t,a,s,!0).to.be.an("array"),c?this.assert(t.some((function(t){return r.indexOf(t)>-1})),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",t,r):u?this.assert(t.some((function(t){return e.eql(r,t)})),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",t,r):this.assert(t.indexOf(r)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",t,r)})),n.addMethod("change",T),n.addMethod("changes",T),n.addMethod("increase",M),n.addMethod("increases",M),n.addMethod("decrease",q),n.addMethod("decreases",q),n.addMethod("by",(function(t,e){e&&o(this,"message",e);var n,i=o(this,"deltaMsgObj"),r=o(this,"initialDeltaValue"),a=o(this,"finalDeltaValue"),s=o(this,"deltaBehavior"),c=o(this,"realDelta");n="change"===s?Math.abs(a-r)===Math.abs(t):c===Math.abs(t),this.assert(n,"expected "+i+" to "+s+" by "+t,"expected "+i+" to not "+s+" by "+t)})),n.addProperty("extensible",(function(){var t=o(this,"object"),e=t===Object(t)&&Object.isExtensible(t);this.assert(e,"expected #{this} to be extensible","expected #{this} to not be extensible")})),n.addProperty("sealed",(function(){var t=o(this,"object"),e=t!==Object(t)||Object.isSealed(t);this.assert(e,"expected #{this} to be sealed","expected #{this} to not be sealed")})),n.addProperty("frozen",(function(){var t=o(this,"object"),e=t!==Object(t)||Object.isFrozen(t);this.assert(e,"expected #{this} to be frozen","expected #{this} to not be frozen")})),n.addProperty("finite",(function(t){var e=o(this,"object");this.assert("number"==typeof e&&isFinite(e),"expected #{this} to be a finite number","expected #{this} to not be a finite number")}))}},{}],6:[function(t,e,n){
|
112
|
-
/*!
|
113
|
-
* chai
|
114
|
-
* Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com>
|
115
|
-
* MIT Licensed
|
116
|
-
*/
|
117
|
-
e.exports=function(t,e){
|
118
|
-
/*!
|
119
|
-
* Chai dependencies.
|
120
|
-
*/
|
121
|
-
var n=t.Assertion,i=e.flag,o=t.assert=function(e,i){new n(null,null,t.assert,!0).assert(e,i,"[ negation message unavailable ]")};
|
122
|
-
/*!
|
123
|
-
* Module export.
|
124
|
-
*/o.fail=function(e,n,i,r){throw arguments.length<2&&(i=e,e=void 0),i=i||"assert.fail()",new t.AssertionError(i,{actual:e,expected:n,operator:r},o.fail)},o.isOk=function(t,e){new n(t,e,o.isOk,!0).is.ok},o.isNotOk=function(t,e){new n(t,e,o.isNotOk,!0).is.not.ok},o.equal=function(t,e,r){var a=new n(t,r,o.equal,!0);a.assert(e==i(a,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",e,t,!0)},o.notEqual=function(t,e,r){var a=new n(t,r,o.notEqual,!0);a.assert(e!=i(a,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",e,t,!0)},o.strictEqual=function(t,e,i){new n(t,i,o.strictEqual,!0).to.equal(e)},o.notStrictEqual=function(t,e,i){new n(t,i,o.notStrictEqual,!0).to.not.equal(e)},o.deepEqual=o.deepStrictEqual=function(t,e,i){new n(t,i,o.deepEqual,!0).to.eql(e)},o.notDeepEqual=function(t,e,i){new n(t,i,o.notDeepEqual,!0).to.not.eql(e)},o.isAbove=function(t,e,i){new n(t,i,o.isAbove,!0).to.be.above(e)},o.isAtLeast=function(t,e,i){new n(t,i,o.isAtLeast,!0).to.be.least(e)},o.isBelow=function(t,e,i){new n(t,i,o.isBelow,!0).to.be.below(e)},o.isAtMost=function(t,e,i){new n(t,i,o.isAtMost,!0).to.be.most(e)},o.isTrue=function(t,e){new n(t,e,o.isTrue,!0).is.true},o.isNotTrue=function(t,e){new n(t,e,o.isNotTrue,!0).to.not.equal(!0)},o.isFalse=function(t,e){new n(t,e,o.isFalse,!0).is.false},o.isNotFalse=function(t,e){new n(t,e,o.isNotFalse,!0).to.not.equal(!1)},o.isNull=function(t,e){new n(t,e,o.isNull,!0).to.equal(null)},o.isNotNull=function(t,e){new n(t,e,o.isNotNull,!0).to.not.equal(null)},o.isNaN=function(t,e){new n(t,e,o.isNaN,!0).to.be.NaN},o.isNotNaN=function(t,e){new n(t,e,o.isNotNaN,!0).not.to.be.NaN},o.exists=function(t,e){new n(t,e,o.exists,!0).to.exist},o.notExists=function(t,e){new n(t,e,o.notExists,!0).to.not.exist},o.isUndefined=function(t,e){new n(t,e,o.isUndefined,!0).to.equal(void 0)},o.isDefined=function(t,e){new n(t,e,o.isDefined,!0).to.not.equal(void 0)},o.isFunction=function(t,e){new n(t,e,o.isFunction,!0).to.be.a("function")},o.isNotFunction=function(t,e){new n(t,e,o.isNotFunction,!0).to.not.be.a("function")},o.isObject=function(t,e){new n(t,e,o.isObject,!0).to.be.a("object")},o.isNotObject=function(t,e){new n(t,e,o.isNotObject,!0).to.not.be.a("object")},o.isArray=function(t,e){new n(t,e,o.isArray,!0).to.be.an("array")},o.isNotArray=function(t,e){new n(t,e,o.isNotArray,!0).to.not.be.an("array")},o.isString=function(t,e){new n(t,e,o.isString,!0).to.be.a("string")},o.isNotString=function(t,e){new n(t,e,o.isNotString,!0).to.not.be.a("string")},o.isNumber=function(t,e){new n(t,e,o.isNumber,!0).to.be.a("number")},o.isNotNumber=function(t,e){new n(t,e,o.isNotNumber,!0).to.not.be.a("number")},o.isFinite=function(t,e){new n(t,e,o.isFinite,!0).to.be.finite},o.isBoolean=function(t,e){new n(t,e,o.isBoolean,!0).to.be.a("boolean")},o.isNotBoolean=function(t,e){new n(t,e,o.isNotBoolean,!0).to.not.be.a("boolean")},o.typeOf=function(t,e,i){new n(t,i,o.typeOf,!0).to.be.a(e)},o.notTypeOf=function(t,e,i){new n(t,i,o.notTypeOf,!0).to.not.be.a(e)},o.instanceOf=function(t,e,i){new n(t,i,o.instanceOf,!0).to.be.instanceOf(e)},o.notInstanceOf=function(t,e,i){new n(t,i,o.notInstanceOf,!0).to.not.be.instanceOf(e)},o.include=function(t,e,i){new n(t,i,o.include,!0).include(e)},o.notInclude=function(t,e,i){new n(t,i,o.notInclude,!0).not.include(e)},o.deepInclude=function(t,e,i){new n(t,i,o.deepInclude,!0).deep.include(e)},o.notDeepInclude=function(t,e,i){new n(t,i,o.notDeepInclude,!0).not.deep.include(e)},o.nestedInclude=function(t,e,i){new n(t,i,o.nestedInclude,!0).nested.include(e)},o.notNestedInclude=function(t,e,i){new n(t,i,o.notNestedInclude,!0).not.nested.include(e)},o.deepNestedInclude=function(t,e,i){new n(t,i,o.deepNestedInclude,!0).deep.nested.include(e)},o.notDeepNestedInclude=function(t,e,i){new n(t,i,o.notDeepNestedInclude,!0).not.deep.nested.include(e)},o.ownInclude=function(t,e,i){new n(t,i,o.ownInclude,!0).own.include(e)},o.notOwnInclude=function(t,e,i){new n(t,i,o.notOwnInclude,!0).not.own.include(e)},o.deepOwnInclude=function(t,e,i){new n(t,i,o.deepOwnInclude,!0).deep.own.include(e)},o.notDeepOwnInclude=function(t,e,i){new n(t,i,o.notDeepOwnInclude,!0).not.deep.own.include(e)},o.match=function(t,e,i){new n(t,i,o.match,!0).to.match(e)},o.notMatch=function(t,e,i){new n(t,i,o.notMatch,!0).to.not.match(e)},o.property=function(t,e,i){new n(t,i,o.property,!0).to.have.property(e)},o.notProperty=function(t,e,i){new n(t,i,o.notProperty,!0).to.not.have.property(e)},o.propertyVal=function(t,e,i,r){new n(t,r,o.propertyVal,!0).to.have.property(e,i)},o.notPropertyVal=function(t,e,i,r){new n(t,r,o.notPropertyVal,!0).to.not.have.property(e,i)},o.deepPropertyVal=function(t,e,i,r){new n(t,r,o.deepPropertyVal,!0).to.have.deep.property(e,i)},o.notDeepPropertyVal=function(t,e,i,r){new n(t,r,o.notDeepPropertyVal,!0).to.not.have.deep.property(e,i)},o.ownProperty=function(t,e,i){new n(t,i,o.ownProperty,!0).to.have.own.property(e)},o.notOwnProperty=function(t,e,i){new n(t,i,o.notOwnProperty,!0).to.not.have.own.property(e)},o.ownPropertyVal=function(t,e,i,r){new n(t,r,o.ownPropertyVal,!0).to.have.own.property(e,i)},o.notOwnPropertyVal=function(t,e,i,r){new n(t,r,o.notOwnPropertyVal,!0).to.not.have.own.property(e,i)},o.deepOwnPropertyVal=function(t,e,i,r){new n(t,r,o.deepOwnPropertyVal,!0).to.have.deep.own.property(e,i)},o.notDeepOwnPropertyVal=function(t,e,i,r){new n(t,r,o.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(e,i)},o.nestedProperty=function(t,e,i){new n(t,i,o.nestedProperty,!0).to.have.nested.property(e)},o.notNestedProperty=function(t,e,i){new n(t,i,o.notNestedProperty,!0).to.not.have.nested.property(e)},o.nestedPropertyVal=function(t,e,i,r){new n(t,r,o.nestedPropertyVal,!0).to.have.nested.property(e,i)},o.notNestedPropertyVal=function(t,e,i,r){new n(t,r,o.notNestedPropertyVal,!0).to.not.have.nested.property(e,i)},o.deepNestedPropertyVal=function(t,e,i,r){new n(t,r,o.deepNestedPropertyVal,!0).to.have.deep.nested.property(e,i)},o.notDeepNestedPropertyVal=function(t,e,i,r){new n(t,r,o.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(e,i)},o.lengthOf=function(t,e,i){new n(t,i,o.lengthOf,!0).to.have.lengthOf(e)},o.hasAnyKeys=function(t,e,i){new n(t,i,o.hasAnyKeys,!0).to.have.any.keys(e)},o.hasAllKeys=function(t,e,i){new n(t,i,o.hasAllKeys,!0).to.have.all.keys(e)},o.containsAllKeys=function(t,e,i){new n(t,i,o.containsAllKeys,!0).to.contain.all.keys(e)},o.doesNotHaveAnyKeys=function(t,e,i){new n(t,i,o.doesNotHaveAnyKeys,!0).to.not.have.any.keys(e)},o.doesNotHaveAllKeys=function(t,e,i){new n(t,i,o.doesNotHaveAllKeys,!0).to.not.have.all.keys(e)},o.hasAnyDeepKeys=function(t,e,i){new n(t,i,o.hasAnyDeepKeys,!0).to.have.any.deep.keys(e)},o.hasAllDeepKeys=function(t,e,i){new n(t,i,o.hasAllDeepKeys,!0).to.have.all.deep.keys(e)},o.containsAllDeepKeys=function(t,e,i){new n(t,i,o.containsAllDeepKeys,!0).to.contain.all.deep.keys(e)},o.doesNotHaveAnyDeepKeys=function(t,e,i){new n(t,i,o.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(e)},o.doesNotHaveAllDeepKeys=function(t,e,i){new n(t,i,o.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(e)},o.throws=function(t,e,r,a){("string"==typeof e||e instanceof RegExp)&&(r=e,e=null);var s=new n(t,a,o.throws,!0).to.throw(e,r);return i(s,"object")},o.doesNotThrow=function(t,e,i,r){("string"==typeof e||e instanceof RegExp)&&(i=e,e=null),new n(t,r,o.doesNotThrow,!0).to.not.throw(e,i)},o.operator=function(r,a,s,c){var u;switch(a){case"==":u=r==s;break;case"===":u=r===s;break;case">":u=r>s;break;case">=":u=r>=s;break;case"<":u=r<s;break;case"<=":u=r<=s;break;case"!=":u=r!=s;break;case"!==":u=r!==s;break;default:throw c=c?c+": ":c,new t.AssertionError(c+'Invalid operator "'+a+'"',void 0,o.operator)}var f=new n(u,c,o.operator,!0);f.assert(!0===i(f,"object"),"expected "+e.inspect(r)+" to be "+a+" "+e.inspect(s),"expected "+e.inspect(r)+" to not be "+a+" "+e.inspect(s))},o.closeTo=function(t,e,i,r){new n(t,r,o.closeTo,!0).to.be.closeTo(e,i)},o.approximately=function(t,e,i,r){new n(t,r,o.approximately,!0).to.be.approximately(e,i)},o.sameMembers=function(t,e,i){new n(t,i,o.sameMembers,!0).to.have.same.members(e)},o.notSameMembers=function(t,e,i){new n(t,i,o.notSameMembers,!0).to.not.have.same.members(e)},o.sameDeepMembers=function(t,e,i){new n(t,i,o.sameDeepMembers,!0).to.have.same.deep.members(e)},o.notSameDeepMembers=function(t,e,i){new n(t,i,o.notSameDeepMembers,!0).to.not.have.same.deep.members(e)},o.sameOrderedMembers=function(t,e,i){new n(t,i,o.sameOrderedMembers,!0).to.have.same.ordered.members(e)},o.notSameOrderedMembers=function(t,e,i){new n(t,i,o.notSameOrderedMembers,!0).to.not.have.same.ordered.members(e)},o.sameDeepOrderedMembers=function(t,e,i){new n(t,i,o.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(e)},o.notSameDeepOrderedMembers=function(t,e,i){new n(t,i,o.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(e)},o.includeMembers=function(t,e,i){new n(t,i,o.includeMembers,!0).to.include.members(e)},o.notIncludeMembers=function(t,e,i){new n(t,i,o.notIncludeMembers,!0).to.not.include.members(e)},o.includeDeepMembers=function(t,e,i){new n(t,i,o.includeDeepMembers,!0).to.include.deep.members(e)},o.notIncludeDeepMembers=function(t,e,i){new n(t,i,o.notIncludeDeepMembers,!0).to.not.include.deep.members(e)},o.includeOrderedMembers=function(t,e,i){new n(t,i,o.includeOrderedMembers,!0).to.include.ordered.members(e)},o.notIncludeOrderedMembers=function(t,e,i){new n(t,i,o.notIncludeOrderedMembers,!0).to.not.include.ordered.members(e)},o.includeDeepOrderedMembers=function(t,e,i){new n(t,i,o.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(e)},o.notIncludeDeepOrderedMembers=function(t,e,i){new n(t,i,o.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(e)},o.oneOf=function(t,e,i){new n(t,i,o.oneOf,!0).to.be.oneOf(e)},o.changes=function(t,e,i,r){3===arguments.length&&"function"==typeof e&&(r=i,i=null),new n(t,r,o.changes,!0).to.change(e,i)},o.changesBy=function(t,e,i,r,a){if(4===arguments.length&&"function"==typeof e){var s=r;r=i,a=s}else 3===arguments.length&&(r=i,i=null);new n(t,a,o.changesBy,!0).to.change(e,i).by(r)},o.doesNotChange=function(t,e,i,r){return 3===arguments.length&&"function"==typeof e&&(r=i,i=null),new n(t,r,o.doesNotChange,!0).to.not.change(e,i)},o.changesButNotBy=function(t,e,i,r,a){if(4===arguments.length&&"function"==typeof e){var s=r;r=i,a=s}else 3===arguments.length&&(r=i,i=null);new n(t,a,o.changesButNotBy,!0).to.change(e,i).but.not.by(r)},o.increases=function(t,e,i,r){return 3===arguments.length&&"function"==typeof e&&(r=i,i=null),new n(t,r,o.increases,!0).to.increase(e,i)},o.increasesBy=function(t,e,i,r,a){if(4===arguments.length&&"function"==typeof e){var s=r;r=i,a=s}else 3===arguments.length&&(r=i,i=null);new n(t,a,o.increasesBy,!0).to.increase(e,i).by(r)},o.doesNotIncrease=function(t,e,i,r){return 3===arguments.length&&"function"==typeof e&&(r=i,i=null),new n(t,r,o.doesNotIncrease,!0).to.not.increase(e,i)},o.increasesButNotBy=function(t,e,i,r,a){if(4===arguments.length&&"function"==typeof e){var s=r;r=i,a=s}else 3===arguments.length&&(r=i,i=null);new n(t,a,o.increasesButNotBy,!0).to.increase(e,i).but.not.by(r)},o.decreases=function(t,e,i,r){return 3===arguments.length&&"function"==typeof e&&(r=i,i=null),new n(t,r,o.decreases,!0).to.decrease(e,i)},o.decreasesBy=function(t,e,i,r,a){if(4===arguments.length&&"function"==typeof e){var s=r;r=i,a=s}else 3===arguments.length&&(r=i,i=null);new n(t,a,o.decreasesBy,!0).to.decrease(e,i).by(r)},o.doesNotDecrease=function(t,e,i,r){return 3===arguments.length&&"function"==typeof e&&(r=i,i=null),new n(t,r,o.doesNotDecrease,!0).to.not.decrease(e,i)},o.doesNotDecreaseBy=function(t,e,i,r,a){if(4===arguments.length&&"function"==typeof e){var s=r;r=i,a=s}else 3===arguments.length&&(r=i,i=null);return new n(t,a,o.doesNotDecreaseBy,!0).to.not.decrease(e,i).by(r)},o.decreasesButNotBy=function(t,e,i,r,a){if(4===arguments.length&&"function"==typeof e){var s=r;r=i,a=s}else 3===arguments.length&&(r=i,i=null);new n(t,a,o.decreasesButNotBy,!0).to.decrease(e,i).but.not.by(r)},
|
125
|
-
/*!
|
126
|
-
* ### .ifError(object)
|
127
|
-
*
|
128
|
-
* Asserts if value is not a false value, and throws if it is a true value.
|
129
|
-
* This is added to allow for chai to be a drop-in replacement for Node's
|
130
|
-
* assert class.
|
131
|
-
*
|
132
|
-
* var err = new Error('I am a custom error');
|
133
|
-
* assert.ifError(err); // Rethrows err!
|
134
|
-
*
|
135
|
-
* @name ifError
|
136
|
-
* @param {Object} object
|
137
|
-
* @namespace Assert
|
138
|
-
* @api public
|
139
|
-
*/
|
140
|
-
o.ifError=function(t){if(t)throw t},o.isExtensible=function(t,e){new n(t,e,o.isExtensible,!0).to.be.extensible},o.isNotExtensible=function(t,e){new n(t,e,o.isNotExtensible,!0).to.not.be.extensible},o.isSealed=function(t,e){new n(t,e,o.isSealed,!0).to.be.sealed},o.isNotSealed=function(t,e){new n(t,e,o.isNotSealed,!0).to.not.be.sealed},o.isFrozen=function(t,e){new n(t,e,o.isFrozen,!0).to.be.frozen},o.isNotFrozen=function(t,e){new n(t,e,o.isNotFrozen,!0).to.not.be.frozen},o.isEmpty=function(t,e){new n(t,e,o.isEmpty,!0).to.be.empty},o.isNotEmpty=function(t,e){new n(t,e,o.isNotEmpty,!0).to.not.be.empty},
|
141
|
-
/*!
|
142
|
-
* Aliases.
|
143
|
-
*/
|
144
|
-
function t(e,n){return o[n]=o[e],t}("isOk","ok")("isNotOk","notOk")("throws","throw")("throws","Throw")("isExtensible","extensible")("isNotExtensible","notExtensible")("isSealed","sealed")("isNotSealed","notSealed")("isFrozen","frozen")("isNotFrozen","notFrozen")("isEmpty","empty")("isNotEmpty","notEmpty")}},{}],7:[function(t,e,n){
|
145
|
-
/*!
|
146
|
-
* chai
|
147
|
-
* Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com>
|
148
|
-
* MIT Licensed
|
149
|
-
*/
|
150
|
-
e.exports=function(t,e){t.expect=function(e,n){return new t.Assertion(e,n)},t.expect.fail=function(e,n,i,o){throw arguments.length<2&&(i=e,e=void 0),i=i||"expect.fail()",new t.AssertionError(i,{actual:e,expected:n,operator:o},t.expect.fail)}}},{}],8:[function(t,e,n){
|
151
|
-
/*!
|
152
|
-
* chai
|
153
|
-
* Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com>
|
154
|
-
* MIT Licensed
|
155
|
-
*/
|
156
|
-
e.exports=function(t,e){var n=t.Assertion;function i(){Object.defineProperty(Object.prototype,"should",{set:function(t){Object.defineProperty(this,"should",{value:t,enumerable:!0,configurable:!0,writable:!0})},get:function t(){return this instanceof String||this instanceof Number||this instanceof Boolean||"function"==typeof Symbol&&this instanceof Symbol||"function"==typeof BigInt&&this instanceof BigInt?new n(this.valueOf(),null,t):new n(this,null,t)},configurable:!0});var e={fail:function(n,i,o,r){throw arguments.length<2&&(o=n,n=void 0),o=o||"should.fail()",new t.AssertionError(o,{actual:n,expected:i,operator:r},e.fail)},equal:function(t,e,i){new n(t,i).to.equal(e)},Throw:function(t,e,i,o){new n(t,o).to.Throw(e,i)},exist:function(t,e){new n(t,e).to.exist},not:{}};return e.not.equal=function(t,e,i){new n(t,i).to.not.equal(e)},e.not.Throw=function(t,e,i,o){new n(t,o).to.not.Throw(e,i)},e.not.exist=function(t,e){new n(t,e).to.not.exist},e.throw=e.Throw,e.not.throw=e.not.Throw,e}t.should=i,t.Should=i}},{}],9:[function(t,e,n){
|
157
|
-
/*!
|
158
|
-
* Chai - addChainingMethod utility
|
159
|
-
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
|
160
|
-
* MIT Licensed
|
161
|
-
*/
|
162
|
-
/*!
|
163
|
-
* Module dependencies
|
164
|
-
*/
|
165
|
-
var i=t("./addLengthGuard"),o=t("../../chai"),r=t("./flag"),a=t("./proxify"),s=t("./transferFlags"),c="function"==typeof Object.setPrototypeOf,u=function(){},f=Object.getOwnPropertyNames(u).filter((function(t){var e=Object.getOwnPropertyDescriptor(u,t);return"object"!=typeof e||!e.configurable})),h=Function.prototype.call,l=Function.prototype.apply;e.exports=function(t,e,n,u){"function"!=typeof u&&(u=function(){});var d={method:n,chainingBehavior:u};t.t||(t.t={}),t.t[e]=d,Object.defineProperty(t,e,{get:function(){d.chainingBehavior.call(this);var n=function(){r(this,"lockSsfi")||r(this,"ssfi",n);var t=d.method.apply(this,arguments);if(void 0!==t)return t;var e=new o.Assertion;return s(this,e),e};if(i(n,e,!0),c){var u=Object.create(this);u.call=h,u.apply=l,Object.setPrototypeOf(n,u)}else Object.getOwnPropertyNames(t).forEach((function(e){if(-1===f.indexOf(e)){var i=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(n,e,i)}}));return s(this,n),a(n)},configurable:!0})}},{"../../chai":2,"./addLengthGuard":10,"./flag":15,"./proxify":31,"./transferFlags":33}],10:[function(t,e,n){var i=Object.getOwnPropertyDescriptor((function(){}),"length");
|
166
|
-
/*!
|
167
|
-
* Chai - addLengthGuard utility
|
168
|
-
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
|
169
|
-
* MIT Licensed
|
170
|
-
*/e.exports=function(t,e,n){return i.configurable?(Object.defineProperty(t,"length",{get:function(){if(n)throw Error("Invalid Chai property: "+e+'.length. Due to a compatibility issue, "length" cannot directly follow "'+e+'". Use "'+e+'.lengthOf" instead.');throw Error("Invalid Chai property: "+e+'.length. See docs for proper usage of "'+e+'".')}}),t):t}},{}],11:[function(t,e,n){
|
171
|
-
/*!
|
172
|
-
* Chai - addMethod utility
|
173
|
-
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
|
174
|
-
* MIT Licensed
|
175
|
-
*/
|
176
|
-
var i=t("./addLengthGuard"),o=t("../../chai"),r=t("./flag"),a=t("./proxify"),s=t("./transferFlags");e.exports=function(t,e,n){var c=function(){r(this,"lockSsfi")||r(this,"ssfi",c);var t=n.apply(this,arguments);if(void 0!==t)return t;var e=new o.Assertion;return s(this,e),e};i(c,e,!1),t[e]=a(c,e)}},{"../../chai":2,"./addLengthGuard":10,"./flag":15,"./proxify":31,"./transferFlags":33}],12:[function(t,e,n){
|
177
|
-
/*!
|
178
|
-
* Chai - addProperty utility
|
179
|
-
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
|
180
|
-
* MIT Licensed
|
181
|
-
*/
|
182
|
-
var i=t("../../chai"),o=t("./flag"),r=t("./isProxyEnabled"),a=t("./transferFlags");e.exports=function(t,e,n){n=void 0===n?function(){}:n,Object.defineProperty(t,e,{get:function t(){r()||o(this,"lockSsfi")||o(this,"ssfi",t);var e=n.call(this);if(void 0!==e)return e;var s=new i.Assertion;return a(this,s),s},configurable:!0})}},{"../../chai":2,"./flag":15,"./isProxyEnabled":26,"./transferFlags":33}],13:[function(t,e,n){
|
183
|
-
/*!
|
184
|
-
* Chai - compareByInspect utility
|
185
|
-
* Copyright(c) 2011-2016 Jake Luer <jake@alogicalparadox.com>
|
186
|
-
* MIT Licensed
|
187
|
-
*/
|
188
|
-
/*!
|
189
|
-
* Module dependencies
|
190
|
-
*/
|
191
|
-
var i=t("./inspect");e.exports=function(t,e){return i(t)<i(e)?-1:1}},{"./inspect":24}],14:[function(t,e,n){
|
192
|
-
/*!
|
193
|
-
* Chai - expectTypes utility
|
194
|
-
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
|
195
|
-
* MIT Licensed
|
196
|
-
*/
|
197
|
-
var i=t("assertion-error"),o=t("./flag"),r=t("type-detect");e.exports=function(t,e){var n=o(t,"message"),a=o(t,"ssfi");n=n?n+": ":"",t=o(t,"object"),(e=e.map((function(t){return t.toLowerCase()}))).sort();var s=e.map((function(t,n){var i=~["a","e","i","o","u"].indexOf(t.charAt(0))?"an":"a";return(e.length>1&&n===e.length-1?"or ":"")+i+" "+t})).join(", "),c=r(t).toLowerCase();if(!e.some((function(t){return c===t})))throw new i(n+"object tested must be "+s+", but "+c+" given",void 0,a)}},{"./flag":15,"assertion-error":34,"type-detect":39}],15:[function(t,e,n){
|
198
|
-
/*!
|
199
|
-
* Chai - flag utility
|
200
|
-
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
|
201
|
-
* MIT Licensed
|
202
|
-
*/
|
203
|
-
e.exports=function(t,e,n){var i=t.o||(t.o=Object.create(null));if(3!==arguments.length)return i[e];i[e]=n}},{}],16:[function(t,e,n){
|
204
|
-
/*!
|
205
|
-
* Chai - getActual utility
|
206
|
-
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
|
207
|
-
* MIT Licensed
|
208
|
-
*/
|
209
|
-
e.exports=function(t,e){return e.length>4?e[4]:t._obj}},{}],17:[function(t,e,n){
|
210
|
-
/*!
|
211
|
-
* Chai - getEnumerableProperties utility
|
212
|
-
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
|
213
|
-
* MIT Licensed
|
214
|
-
*/
|
215
|
-
e.exports=function(t){var e=[];for(var n in t)e.push(n);return e}},{}],18:[function(t,e,n){
|
216
|
-
/*!
|
217
|
-
* Chai - message composition utility
|
218
|
-
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
|
219
|
-
* MIT Licensed
|
220
|
-
*/
|
221
|
-
/*!
|
222
|
-
* Module dependencies
|
223
|
-
*/
|
224
|
-
var i=t("./flag"),o=t("./getActual"),r=t("./objDisplay");e.exports=function(t,e){var n=i(t,"negate"),a=i(t,"object"),s=e[3],c=o(t,e),u=n?e[2]:e[1],f=i(t,"message");return"function"==typeof u&&(u=u()),u=(u=u||"").replace(/#\{this\}/g,(function(){return r(a)})).replace(/#\{act\}/g,(function(){return r(c)})).replace(/#\{exp\}/g,(function(){return r(s)})),f?f+": "+u:u}},{"./flag":15,"./getActual":16,"./objDisplay":27}],19:[function(t,e,n){var i=t("type-detect"),o=t("./flag");function r(t){var e=i(t);return-1!==["Array","Object","function"].indexOf(e)}e.exports=function(t,e){var n=o(t,"operator"),i=o(t,"negate"),a=e[3],s=i?e[2]:e[1];if(n)return n;if("function"==typeof s&&(s=s()),(s=s||"")&&!/\shave\s/.test(s)){var c=r(a);return/\snot\s/.test(s)?c?"notDeepStrictEqual":"notStrictEqual":c?"deepStrictEqual":"strictEqual"}}},{"./flag":15,"type-detect":39}],20:[function(t,e,n){
|
225
|
-
/*!
|
226
|
-
* Chai - getOwnEnumerableProperties utility
|
227
|
-
* Copyright(c) 2011-2016 Jake Luer <jake@alogicalparadox.com>
|
228
|
-
* MIT Licensed
|
229
|
-
*/
|
230
|
-
/*!
|
231
|
-
* Module dependencies
|
232
|
-
*/
|
233
|
-
var i=t("./getOwnEnumerablePropertySymbols");e.exports=function(t){return Object.keys(t).concat(i(t))}},{"./getOwnEnumerablePropertySymbols":21}],21:[function(t,e,n){
|
234
|
-
/*!
|
235
|
-
* Chai - getOwnEnumerablePropertySymbols utility
|
236
|
-
* Copyright(c) 2011-2016 Jake Luer <jake@alogicalparadox.com>
|
237
|
-
* MIT Licensed
|
238
|
-
*/
|
239
|
-
e.exports=function(t){return"function"!=typeof Object.getOwnPropertySymbols?[]:Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))}},{}],22:[function(t,e,n){
|
240
|
-
/*!
|
241
|
-
* Chai - getProperties utility
|
242
|
-
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
|
243
|
-
* MIT Licensed
|
244
|
-
*/
|
245
|
-
e.exports=function(t){var e=Object.getOwnPropertyNames(t);function n(t){-1===e.indexOf(t)&&e.push(t)}for(var i=Object.getPrototypeOf(t);null!==i;)Object.getOwnPropertyNames(i).forEach(n),i=Object.getPrototypeOf(i);return e}},{}],23:[function(t,e,n){
|
246
|
-
/*!
|
247
|
-
* chai
|
248
|
-
* Copyright(c) 2011 Jake Luer <jake@alogicalparadox.com>
|
249
|
-
* MIT Licensed
|
250
|
-
*/
|
251
|
-
/*!
|
252
|
-
* Dependencies that are used for multiple exports are required here only once
|
253
|
-
*/
|
254
|
-
var i=t("pathval");
|
255
|
-
/*!
|
256
|
-
* test utility
|
257
|
-
*/n.test=t("./test"),
|
258
|
-
/*!
|
259
|
-
* type utility
|
260
|
-
*/
|
261
|
-
n.type=t("type-detect"),
|
262
|
-
/*!
|
263
|
-
* expectTypes utility
|
264
|
-
*/
|
265
|
-
n.expectTypes=t("./expectTypes"),
|
266
|
-
/*!
|
267
|
-
* message utility
|
268
|
-
*/
|
269
|
-
n.getMessage=t("./getMessage"),
|
270
|
-
/*!
|
271
|
-
* actual utility
|
272
|
-
*/
|
273
|
-
n.getActual=t("./getActual"),
|
274
|
-
/*!
|
275
|
-
* Inspect util
|
276
|
-
*/
|
277
|
-
n.inspect=t("./inspect"),
|
278
|
-
/*!
|
279
|
-
* Object Display util
|
280
|
-
*/
|
281
|
-
n.objDisplay=t("./objDisplay"),
|
282
|
-
/*!
|
283
|
-
* Flag utility
|
284
|
-
*/
|
285
|
-
n.flag=t("./flag"),
|
286
|
-
/*!
|
287
|
-
* Flag transferring utility
|
288
|
-
*/
|
289
|
-
n.transferFlags=t("./transferFlags"),
|
290
|
-
/*!
|
291
|
-
* Deep equal utility
|
292
|
-
*/
|
293
|
-
n.eql=t("deep-eql"),
|
294
|
-
/*!
|
295
|
-
* Deep path info
|
296
|
-
*/
|
297
|
-
n.getPathInfo=i.getPathInfo,
|
298
|
-
/*!
|
299
|
-
* Check if a property exists
|
300
|
-
*/
|
301
|
-
n.hasProperty=i.hasProperty,
|
302
|
-
/*!
|
303
|
-
* Function name
|
304
|
-
*/
|
305
|
-
n.getName=t("get-func-name"),
|
306
|
-
/*!
|
307
|
-
* add Property
|
308
|
-
*/
|
309
|
-
n.addProperty=t("./addProperty"),
|
310
|
-
/*!
|
311
|
-
* add Method
|
312
|
-
*/
|
313
|
-
n.addMethod=t("./addMethod"),
|
314
|
-
/*!
|
315
|
-
* overwrite Property
|
316
|
-
*/
|
317
|
-
n.overwriteProperty=t("./overwriteProperty"),
|
318
|
-
/*!
|
319
|
-
* overwrite Method
|
320
|
-
*/
|
321
|
-
n.overwriteMethod=t("./overwriteMethod"),
|
322
|
-
/*!
|
323
|
-
* Add a chainable method
|
324
|
-
*/
|
325
|
-
n.addChainableMethod=t("./addChainableMethod"),
|
326
|
-
/*!
|
327
|
-
* Overwrite chainable method
|
328
|
-
*/
|
329
|
-
n.overwriteChainableMethod=t("./overwriteChainableMethod"),
|
330
|
-
/*!
|
331
|
-
* Compare by inspect method
|
332
|
-
*/
|
333
|
-
n.compareByInspect=t("./compareByInspect"),
|
334
|
-
/*!
|
335
|
-
* Get own enumerable property symbols method
|
336
|
-
*/
|
337
|
-
n.getOwnEnumerablePropertySymbols=t("./getOwnEnumerablePropertySymbols"),
|
338
|
-
/*!
|
339
|
-
* Get own enumerable properties method
|
340
|
-
*/
|
341
|
-
n.getOwnEnumerableProperties=t("./getOwnEnumerableProperties"),
|
342
|
-
/*!
|
343
|
-
* Checks error against a given set of criteria
|
344
|
-
*/
|
345
|
-
n.checkError=t("check-error"),
|
346
|
-
/*!
|
347
|
-
* Proxify util
|
348
|
-
*/
|
349
|
-
n.proxify=t("./proxify"),
|
350
|
-
/*!
|
351
|
-
* addLengthGuard util
|
352
|
-
*/
|
353
|
-
n.addLengthGuard=t("./addLengthGuard"),
|
354
|
-
/*!
|
355
|
-
* isProxyEnabled helper
|
356
|
-
*/
|
357
|
-
n.isProxyEnabled=t("./isProxyEnabled"),
|
358
|
-
/*!
|
359
|
-
* isNaN method
|
360
|
-
*/
|
361
|
-
n.isNaN=t("./isNaN"),
|
362
|
-
/*!
|
363
|
-
* getOperator method
|
364
|
-
*/
|
365
|
-
n.getOperator=t("./getOperator")},{"./addChainableMethod":9,"./addLengthGuard":10,"./addMethod":11,"./addProperty":12,"./compareByInspect":13,"./expectTypes":14,"./flag":15,"./getActual":16,"./getMessage":18,"./getOperator":19,"./getOwnEnumerableProperties":20,"./getOwnEnumerablePropertySymbols":21,"./inspect":24,"./isNaN":25,"./isProxyEnabled":26,"./objDisplay":27,"./overwriteChainableMethod":28,"./overwriteMethod":29,"./overwriteProperty":30,"./proxify":31,"./test":32,"./transferFlags":33,"check-error":35,"deep-eql":36,"get-func-name":37,pathval:38,"type-detect":39}],24:[function(t,e,n){var i=t("get-func-name"),o=t("./getProperties"),r=t("./getEnumerableProperties"),a=t("../config");e.exports=function(t,e,n,i){return c({showHidden:e,seen:[],stylize:function(t){return t}},t,void 0===n?2:n)};var s=function(t){return"object"==typeof HTMLElement?t instanceof HTMLElement:t&&"object"==typeof t&&"nodeType"in t&&1===t.nodeType&&"string"==typeof t.nodeName};function c(t,e,a){if(e&&"function"==typeof e.inspect&&e.inspect!==n.inspect&&(!e.constructor||e.constructor.prototype!==e)){var v=e.inspect(a,t);return"string"!=typeof v&&(v=c(t,v,a)),v}var m=function(t,e){switch(typeof e){case"undefined":return t.stylize("undefined","undefined");case"string":var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string");case"number":return 0===e&&1/e==-1/0?t.stylize("-0","number"):t.stylize(""+e,"number");case"boolean":return t.stylize(""+e,"boolean");case"symbol":return t.stylize(e.toString(),"symbol");case"bigint":return t.stylize(e.toString()+"n","bigint")}if(null===e)return t.stylize("null","null")}(t,e);if(m)return m;if(s(e)){if("outerHTML"in e)return e.outerHTML;try{if(document.xmlVersion)return(new XMLSerializer).serializeToString(e);var g=document.createElementNS("http://www.w3.org/1999/xhtml","_");g.appendChild(e.cloneNode(!1));var y=g.innerHTML.replace("><",">"+e.innerHTML+"<");return g.innerHTML="",y}catch(t){}}var x,j,E=r(e),O=t.showHidden?o(e):E;if(0===O.length||b(e)&&(1===O.length&&"stack"===O[0]||2===O.length&&"description"===O[0]&&"stack"===O[1])){if("function"==typeof e)return j=(x=i(e))?": "+x:"",t.stylize("[Function"+j+"]","special");if(p(e))return t.stylize(RegExp.prototype.toString.call(e),"regexp");if(w(e))return t.stylize(Date.prototype.toUTCString.call(e),"date");if(b(e))return u(e)}var S,k="",A=!1,D=!1,T=["{","}"];if(l(e)&&(D=!0,T=["[","]"]),d(e)&&(A=!0,T=["[","]"]),"function"==typeof e&&(k=" [Function"+(j=(x=i(e))?": "+x:"")+"]"),p(e)&&(k=" "+RegExp.prototype.toString.call(e)),w(e)&&(k=" "+Date.prototype.toUTCString.call(e)),b(e))return u(e);if(0===O.length&&(!A||0==e.length))return T[0]+k+T[1];if(a<0)return p(e)?t.stylize(RegExp.prototype.toString.call(e),"regexp"):t.stylize("[Object]","special");if(t.seen.push(e),A)S=function(t,e,n,i,o){for(var r=[],a=0,s=e.length;a<s;++a)Object.prototype.hasOwnProperty.call(e,String(a))?r.push(h(t,e,n,i,String(a),!0)):r.push("");return o.forEach((function(o){o.match(/^\d+$/)||r.push(h(t,e,n,i,o,!0))})),r}(t,e,a,E,O);else{if(D)return f(e);S=O.map((function(n){return h(t,e,a,E,n,A)}))}return t.seen.pop(),function(t,e,n){return t.reduce((function(t,e){return t+e.length+1}),0)>60?n[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+n[1]:n[0]+e+" "+t.join(", ")+" "+n[1]}(S,k,T)}function u(t){return"["+Error.prototype.toString.call(t)+"]"}function f(t){for(var e="[ ",n=0;n<t.length;++n){if(e.length>=a.truncateThreshold-7){e+="...";break}e+=t[n]+", "}return-1!==(e+=" ]").indexOf(", ]")&&(e=e.replace(", ]"," ]")),e}function h(t,e,n,i,o,r){var a,s,u=Object.getOwnPropertyDescriptor(e,o);if(u&&(u.get?s=u.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):u.set&&(s=t.stylize("[Setter]","special"))),i.indexOf(o)<0&&(a="["+o+"]"),s||(t.seen.indexOf(e[o])<0?(s=c(t,e[o],null===n?null:n-1)).indexOf("\n")>-1&&(s=r?s.split("\n").map((function(t){return" "+t})).join("\n").substr(2):"\n"+s.split("\n").map((function(t){return" "+t})).join("\n")):s=t.stylize("[Circular]","special")),void 0===a){if(r&&o.match(/^\d+$/))return s;(a=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+s}function l(t){return"object"==typeof t&&/\w+Array]$/.test(v(t))}function d(t){return Array.isArray(t)||"object"==typeof t&&"[object Array]"===v(t)}function p(t){return"object"==typeof t&&"[object RegExp]"===v(t)}function w(t){return"object"==typeof t&&"[object Date]"===v(t)}function b(t){return"object"==typeof t&&"[object Error]"===v(t)}function v(t){return Object.prototype.toString.call(t)}},{"../config":4,"./getEnumerableProperties":17,"./getProperties":22,"get-func-name":37}],25:[function(t,e,n){e.exports=Number.isNaN||
|
366
|
-
/*!
|
367
|
-
* Chai - isNaN utility
|
368
|
-
* Copyright(c) 2012-2015 Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
|
369
|
-
* MIT Licensed
|
370
|
-
*/
|
371
|
-
function(t){return t!=t}},{}],26:[function(t,e,n){var i=t("../config");
|
372
|
-
/*!
|
373
|
-
* Chai - isProxyEnabled helper
|
374
|
-
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
|
375
|
-
* MIT Licensed
|
376
|
-
*/e.exports=function(){return i.useProxy&&"undefined"!=typeof Proxy&&"undefined"!=typeof Reflect}},{"../config":4}],27:[function(t,e,n){
|
377
|
-
/*!
|
378
|
-
* Chai - flag utility
|
379
|
-
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
|
380
|
-
* MIT Licensed
|
381
|
-
*/
|
382
|
-
/*!
|
383
|
-
* Module dependencies
|
384
|
-
*/
|
385
|
-
var i=t("./inspect"),o=t("../config");e.exports=function(t){var e=i(t),n=Object.prototype.toString.call(t);if(o.truncateThreshold&&e.length>=o.truncateThreshold){if("[object Function]"===n)return t.name&&""!==t.name?"[Function: "+t.name+"]":"[Function]";if("[object Array]"===n)return"[ Array("+t.length+") ]";if("[object Object]"===n){var r=Object.keys(t);return"{ Object ("+(r.length>2?r.splice(0,2).join(", ")+", ...":r.join(", "))+") }"}return e}return e}},{"../config":4,"./inspect":24}],28:[function(t,e,n){
|
386
|
-
/*!
|
387
|
-
* Chai - overwriteChainableMethod utility
|
388
|
-
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
|
389
|
-
* MIT Licensed
|
390
|
-
*/
|
391
|
-
var i=t("../../chai"),o=t("./transferFlags");e.exports=function(t,e,n,r){var a=t.t[e],s=a.chainingBehavior;a.chainingBehavior=function(){var t=r(s).call(this);if(void 0!==t)return t;var e=new i.Assertion;return o(this,e),e};var c=a.method;a.method=function(){var t=n(c).apply(this,arguments);if(void 0!==t)return t;var e=new i.Assertion;return o(this,e),e}}},{"../../chai":2,"./transferFlags":33}],29:[function(t,e,n){
|
392
|
-
/*!
|
393
|
-
* Chai - overwriteMethod utility
|
394
|
-
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
|
395
|
-
* MIT Licensed
|
396
|
-
*/
|
397
|
-
var i=t("./addLengthGuard"),o=t("../../chai"),r=t("./flag"),a=t("./proxify"),s=t("./transferFlags");e.exports=function(t,e,n){var c=t[e],u=function(){throw new Error(e+" is not a function")};c&&"function"==typeof c&&(u=c);var f=function(){r(this,"lockSsfi")||r(this,"ssfi",f);var t=r(this,"lockSsfi");r(this,"lockSsfi",!0);var e=n(u).apply(this,arguments);if(r(this,"lockSsfi",t),void 0!==e)return e;var i=new o.Assertion;return s(this,i),i};i(f,e,!1),t[e]=a(f,e)}},{"../../chai":2,"./addLengthGuard":10,"./flag":15,"./proxify":31,"./transferFlags":33}],30:[function(t,e,n){
|
398
|
-
/*!
|
399
|
-
* Chai - overwriteProperty utility
|
400
|
-
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
|
401
|
-
* MIT Licensed
|
402
|
-
*/
|
403
|
-
var i=t("../../chai"),o=t("./flag"),r=t("./isProxyEnabled"),a=t("./transferFlags");e.exports=function(t,e,n){var s=Object.getOwnPropertyDescriptor(t,e),c=function(){};s&&"function"==typeof s.get&&(c=s.get),Object.defineProperty(t,e,{get:function t(){r()||o(this,"lockSsfi")||o(this,"ssfi",t);var e=o(this,"lockSsfi");o(this,"lockSsfi",!0);var s=n(c).call(this);if(o(this,"lockSsfi",e),void 0!==s)return s;var u=new i.Assertion;return a(this,u),u},configurable:!0})}},{"../../chai":2,"./flag":15,"./isProxyEnabled":26,"./transferFlags":33}],31:[function(t,e,n){var i=t("../config"),o=t("./flag"),r=t("./getProperties"),a=t("./isProxyEnabled"),s=["__flags","__methods","_obj","assert"];e.exports=function(t,e){return a()?new Proxy(t,{get:function t(n,a){if("string"==typeof a&&-1===i.proxyExcludedKeys.indexOf(a)&&!Reflect.has(n,a)){if(e)throw Error("Invalid Chai property: "+e+"."+a+'. See docs for proper usage of "'+e+'".');var c=null,u=4;throw r(n).forEach((function(t){if(!Object.prototype.hasOwnProperty(t)&&-1===s.indexOf(t)){var e=function(t,e,n){if(Math.abs(t.length-e.length)>=n)return n;for(var i=[],o=0;o<=t.length;o++)i[o]=Array(e.length+1).fill(0),i[o][0]=o;for(var r=0;r<e.length;r++)i[0][r]=r;for(o=1;o<=t.length;o++){var a=t.charCodeAt(o-1);for(r=1;r<=e.length;r++)Math.abs(o-r)>=n?i[o][r]=n:i[o][r]=Math.min(i[o-1][r]+1,i[o][r-1]+1,i[o-1][r-1]+(a===e.charCodeAt(r-1)?0:1))}return i[t.length][e.length]}(a,t,u);e<u&&(c=t,u=e)}})),null!==c?Error("Invalid Chai property: "+a+'. Did you mean "'+c+'"?'):Error("Invalid Chai property: "+a)}return-1!==s.indexOf(a)||o(n,"lockSsfi")||o(n,"ssfi",t),Reflect.get(n,a)}}):t}},{"../config":4,"./flag":15,"./getProperties":22,"./isProxyEnabled":26}],32:[function(t,e,n){
|
404
|
-
/*!
|
405
|
-
* Chai - test utility
|
406
|
-
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
|
407
|
-
* MIT Licensed
|
408
|
-
*/
|
409
|
-
/*!
|
410
|
-
* Module dependencies
|
411
|
-
*/
|
412
|
-
var i=t("./flag");e.exports=function(t,e){var n=i(t,"negate"),o=e[0];return n?!o:o}},{"./flag":15}],33:[function(t,e,n){
|
413
|
-
/*!
|
414
|
-
* Chai - transferFlags utility
|
415
|
-
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
|
416
|
-
* MIT Licensed
|
417
|
-
*/
|
418
|
-
e.exports=function(t,e,n){var i=t.o||(t.o=Object.create(null));for(var o in e.o||(e.o=Object.create(null)),n=3!==arguments.length||n,i)(n||"object"!==o&&"ssfi"!==o&&"lockSsfi"!==o&&"message"!=o)&&(e.o[o]=i[o])}},{}],34:[function(t,e,n){
|
419
|
-
/*!
|
420
|
-
* assertion-error
|
421
|
-
* Copyright(c) 2013 Jake Luer <jake@qualiancy.com>
|
422
|
-
* MIT Licensed
|
423
|
-
*/
|
424
|
-
/*!
|
425
|
-
* Return a function that will copy properties from
|
426
|
-
* one object to another excluding any originally
|
427
|
-
* listed. Returned function will create a new `{}`.
|
428
|
-
*
|
429
|
-
* @param {String} excluded properties ...
|
430
|
-
* @return {Function}
|
431
|
-
*/
|
432
|
-
function i(){var t=[].slice.call(arguments);function e(e,n){Object.keys(n).forEach((function(i){~t.indexOf(i)||(e[i]=n[i])}))}return function(){for(var t=[].slice.call(arguments),n=0,i={};n<t.length;n++)e(i,t[n]);return i}}
|
433
|
-
/*!
|
434
|
-
* Primary Exports
|
435
|
-
*/function o(t,e,n){var r=i("name","message","stack","constructor","toJSON")(e||{});for(var a in this.message=t||"Unspecified AssertionError",this.showDiff=!1,r)this[a]=r[a];if(n=n||o,Error.captureStackTrace)Error.captureStackTrace(this,n);else try{throw new Error}catch(t){this.stack=t.stack}}
|
436
|
-
/*!
|
437
|
-
* Inherit from Error.prototype
|
438
|
-
*/e.exports=o,o.prototype=Object.create(Error.prototype),
|
439
|
-
/*!
|
440
|
-
* Statically set name
|
441
|
-
*/
|
442
|
-
o.prototype.name="AssertionError",
|
443
|
-
/*!
|
444
|
-
* Ensure correct constructor
|
445
|
-
*/
|
446
|
-
o.prototype.constructor=o,o.prototype.toJSON=function(t){var e=i("constructor","toJSON","stack")({name:this.name},this);return!1!==t&&this.stack&&(e.stack=this.stack),e}},{}],35:[function(t,e,n){var i=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\(\/]+)/;function o(t){var e="";if(void 0===t.name){var n=String(t).match(i);n&&(e=n[1])}else e=t.name;return e}e.exports={compatibleInstance:function(t,e){return e instanceof Error&&t===e},compatibleConstructor:function(t,e){return e instanceof Error?t.constructor===e.constructor||t instanceof e.constructor:(e.prototype instanceof Error||e===Error)&&(t.constructor===e||t instanceof e)},compatibleMessage:function(t,e){var n="string"==typeof t?t:t.message;return e instanceof RegExp?e.test(n):"string"==typeof e&&-1!==n.indexOf(e)},getMessage:function(t){var e="";return t&&t.message?e=t.message:"string"==typeof t&&(e=t),e},getConstructorName:function(t){var e=t;return t instanceof Error?e=o(t.constructor):"function"==typeof t&&(e=o(t).trim()||o(new t)),e}}},{}],36:[function(t,e,n){
|
447
|
-
/*!
|
448
|
-
* deep-eql
|
449
|
-
* Copyright(c) 2013 Jake Luer <jake@alogicalparadox.com>
|
450
|
-
* MIT Licensed
|
451
|
-
*/
|
452
|
-
var i=t("type-detect");function o(){this._key="chai/deep-eql__"+Math.random()+Date.now()}o.prototype={get:function(t){return t[this._key]},set:function(t,e){Object.isExtensible(t)&&Object.defineProperty(t,this._key,{value:e,configurable:!0})}};var r="function"==typeof WeakMap?WeakMap:o;
|
453
|
-
/*!
|
454
|
-
* Check to see if the MemoizeMap has recorded a result of the two operands
|
455
|
-
*
|
456
|
-
* @param {Mixed} leftHandOperand
|
457
|
-
* @param {Mixed} rightHandOperand
|
458
|
-
* @param {MemoizeMap} memoizeMap
|
459
|
-
* @returns {Boolean|null} result
|
460
|
-
*/function a(t,e,n){if(!n||b(t)||b(e))return null;var i=n.get(t);if(i){var o=i.get(e);if("boolean"==typeof o)return o}return null}
|
461
|
-
/*!
|
462
|
-
* Set the result of the equality into the MemoizeMap
|
463
|
-
*
|
464
|
-
* @param {Mixed} leftHandOperand
|
465
|
-
* @param {Mixed} rightHandOperand
|
466
|
-
* @param {MemoizeMap} memoizeMap
|
467
|
-
* @param {Boolean} result
|
468
|
-
*/function s(t,e,n,i){if(n&&!b(t)&&!b(e)){var o=n.get(t);o?o.set(e,i):((o=new r).set(e,i),n.set(t,o))}}
|
469
|
-
/*!
|
470
|
-
* Primary Export
|
471
|
-
*/function c(t,e,n){if(n&&n.comparator)return f(t,e,n);var i=u(t,e);return null!==i?i:f(t,e,n)}function u(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e||!b(t)&&!b(e)&&null}
|
472
|
-
/*!
|
473
|
-
* The main logic of the `deepEqual` function.
|
474
|
-
*
|
475
|
-
* @param {Mixed} leftHandOperand
|
476
|
-
* @param {Mixed} rightHandOperand
|
477
|
-
* @param {Object} [options] (optional) Additional options
|
478
|
-
* @param {Array} [options.comparator] (optional) Override default algorithm, determining custom equality.
|
479
|
-
* @param {Array} [options.memoize] (optional) Provide a custom memoization object which will cache the results of
|
480
|
-
complex objects for a speed boost. By passing `false` you can disable memoization, but this will cause circular
|
481
|
-
references to blow the stack.
|
482
|
-
* @return {Boolean} equal match
|
483
|
-
*/function f(t,e,n){(n=n||{}).memoize=!1!==n.memoize&&(n.memoize||new r);var o=n&&n.comparator,c=a(t,e,n.memoize);if(null!==c)return c;var f=a(e,t,n.memoize);if(null!==f)return f;if(o){var l=o(t,e);if(!1===l||!0===l)return s(t,e,n.memoize,l),l;var d=u(t,e);if(null!==d)return d}var p=i(t);if(p!==i(e))return s(t,e,n.memoize,!1),!1;s(t,e,n.memoize,!0);var w=h(t,e,p,n);return s(t,e,n.memoize,w),w}function h(t,e,n,i){switch(n){case"String":case"Number":case"Boolean":case"Date":return c(t.valueOf(),e.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":case"Error":return t===e;case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return l(t,e,i);case"RegExp":
|
484
|
-
/*!
|
485
|
-
* Compare two Regular Expressions for equality.
|
486
|
-
*
|
487
|
-
* @param {RegExp} leftHandOperand
|
488
|
-
* @param {RegExp} rightHandOperand
|
489
|
-
* @return {Boolean} result
|
490
|
-
*/return function(t,e){return t.toString()===e.toString()}
|
491
|
-
/*!
|
492
|
-
* Compare two Sets/Maps for equality. Faster than other equality functions.
|
493
|
-
*
|
494
|
-
* @param {Set} leftHandOperand
|
495
|
-
* @param {Set} rightHandOperand
|
496
|
-
* @param {Object} [options] (Optional)
|
497
|
-
* @return {Boolean} result
|
498
|
-
*/(t,e);case"Generator":
|
499
|
-
/*!
|
500
|
-
* Simple equality for generator objects such as those returned by generator functions.
|
501
|
-
*
|
502
|
-
* @param {Iterable} leftHandOperand
|
503
|
-
* @param {Iterable} rightHandOperand
|
504
|
-
* @param {Object} [options] (Optional)
|
505
|
-
* @return {Boolean} result
|
506
|
-
*/return function(t,e,n){return l(p(t),p(e),n)}
|
507
|
-
/*!
|
508
|
-
* Determine if the given object has an @@iterator function.
|
509
|
-
*
|
510
|
-
* @param {Object} target
|
511
|
-
* @return {Boolean} `true` if the object has an @@iterator function.
|
512
|
-
*/(t,e,i);case"DataView":return l(new Uint8Array(t.buffer),new Uint8Array(e.buffer),i);case"ArrayBuffer":return l(new Uint8Array(t),new Uint8Array(e),i);case"Set":case"Map":return function(t,e,n){if(t.size!==e.size)return!1;if(0===t.size)return!0;var i=[],o=[];return t.forEach((function(t,e){i.push([t,e])})),e.forEach((function(t,e){o.push([t,e])})),l(i.sort(),o.sort(),n)}
|
513
|
-
/*!
|
514
|
-
* Simple equality for flat iterable objects such as Arrays, TypedArrays or Node.js buffers.
|
515
|
-
*
|
516
|
-
* @param {Iterable} leftHandOperand
|
517
|
-
* @param {Iterable} rightHandOperand
|
518
|
-
* @param {Object} [options] (Optional)
|
519
|
-
* @return {Boolean} result
|
520
|
-
*/(t,e,i);default:
|
521
|
-
/*!
|
522
|
-
* Recursively check the equality of two Objects. Once basic sameness has been established it will defer to `deepEqual`
|
523
|
-
* for each enumerable key in the object.
|
524
|
-
*
|
525
|
-
* @param {Mixed} leftHandOperand
|
526
|
-
* @param {Mixed} rightHandOperand
|
527
|
-
* @param {Object} [options] (Optional)
|
528
|
-
* @return {Boolean} result
|
529
|
-
*/return function(t,e,n){var i=w(t),o=w(e);if(i.length&&i.length===o.length)return i.sort(),o.sort(),!1!==l(i,o)&&
|
530
|
-
/*!
|
531
|
-
* Determines if two objects have matching values, given a set of keys. Defers to deepEqual for the equality check of
|
532
|
-
* each key. If any value of the given key is not equal, the function will return false (early).
|
533
|
-
*
|
534
|
-
* @param {Mixed} leftHandOperand
|
535
|
-
* @param {Mixed} rightHandOperand
|
536
|
-
* @param {Array} keys An array of keys to compare the values of leftHandOperand and rightHandOperand against
|
537
|
-
* @param {Object} [options] (Optional)
|
538
|
-
* @return {Boolean} result
|
539
|
-
*/
|
540
|
-
function(t,e,n,i){var o=n.length;if(0===o)return!0;for(var r=0;r<o;r+=1)if(!1===c(t[n[r]],e[n[r]],i))return!1;return!0}(t,e,i,n);var r=d(t),a=d(e);return r.length&&r.length===a.length?(r.sort(),a.sort(),l(r,a,n)):0===i.length&&0===r.length&&0===o.length&&0===a.length}
|
541
|
-
/*!
|
542
|
-
* Returns true if the argument is a primitive.
|
543
|
-
*
|
544
|
-
* This intentionally returns true for all objects that can be compared by reference,
|
545
|
-
* including functions and symbols.
|
546
|
-
*
|
547
|
-
* @param {Mixed} value
|
548
|
-
* @return {Boolean} result
|
549
|
-
*/(t,e,i)}}function l(t,e,n){var i=t.length;if(i!==e.length)return!1;if(0===i)return!0;for(var o=-1;++o<i;)if(!1===c(t[o],e[o],n))return!1;return!0}
|
550
|
-
/*!
|
551
|
-
* Gets all iterator entries from the given Object. If the Object has no @@iterator function, returns an empty array.
|
552
|
-
* This will consume the iterator - which could have side effects depending on the @@iterator implementation.
|
553
|
-
*
|
554
|
-
* @param {Object} target
|
555
|
-
* @returns {Array} an array of entries from the @@iterator function
|
556
|
-
*/
|
557
|
-
function d(t){if(function(t){return"undefined"!=typeof Symbol&&"object"==typeof t&&void 0!==Symbol.iterator&&"function"==typeof t[Symbol.iterator]}(t))try{return p(t[Symbol.iterator]())}catch(t){return[]}return[]}
|
558
|
-
/*!
|
559
|
-
* Gets all entries from a Generator. This will consume the generator - which could have side effects.
|
560
|
-
*
|
561
|
-
* @param {Generator} target
|
562
|
-
* @returns {Array} an array of entries from the Generator.
|
563
|
-
*/function p(t){for(var e=t.next(),n=[e.value];!1===e.done;)e=t.next(),n.push(e.value);return n}
|
564
|
-
/*!
|
565
|
-
* Gets all own and inherited enumerable keys from a target.
|
566
|
-
*
|
567
|
-
* @param {Object} target
|
568
|
-
* @returns {Array} an array of own and inherited enumerable keys from the target.
|
569
|
-
*/function w(t){var e=[];for(var n in t)e.push(n);return e}function b(t){return null===t||"object"!=typeof t}e.exports=c,e.exports.MemoizeMap=r},{"type-detect":39}],37:[function(t,e,n){var i=Function.prototype.toString,o=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\s\(\/]+)/;e.exports=function(t){if("function"!=typeof t)return null;var e="";if(void 0===Function.prototype.name&&void 0===t.name){var n=i.call(t).match(o);n&&(e=n[1])}else e=t.name;return e}},{}],38:[function(t,e,n){function i(t,e){return null!=t&&e in Object(t)}function o(t){return t.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map((function(t){if("constructor"===t||"__proto__"===t||"prototype"===t)return{};var e=/^\[(\d+)\]$/.exec(t);return e?{i:parseFloat(e[1])}:{p:t.replace(/\\([.[\]])/g,"$1")}}))}function r(t,e,n){var i=t,o=null;n=void 0===n?e.length:n;for(var r=0;r<n;r++){var a=e[r];i&&(i=void 0===a.p?i[a.i]:i[a.p],r===n-1&&(o=i))}return o}function a(t,e){var n=o(e),a=n[n.length-1],s={parent:n.length>1?r(t,n,n.length-1):t,name:a.p||a.i,value:r(t,n)};return s.exists=i(s.parent,s.name),s}e.exports={hasProperty:i,getPathInfo:a,getPathValue:function(t,e){return a(t,e).value},setPathValue:function(t,e,n){return function(t,e,n){for(var i=t,o=n.length,r=null,a=0;a<o;a++){var s=null,c=null;if(r=n[a],a===o-1)i[s=void 0===r.p?r.i:r.p]=e;else if(void 0!==r.p&&i[r.p])i=i[r.p];else if(void 0!==r.i&&i[r.i])i=i[r.i];else{var u=n[a+1];s=void 0===r.p?r.i:r.p,c=void 0===u.p?[]:{},i[s]=c,i=i[s]}}}(t,n,o(e)),t}}},{}],39:[function(t,e,n){!function(t,i){"object"==typeof n&&void 0!==e?e.exports=i():t.typeDetect=i()}(this,(function(){var t="function"==typeof Promise,e="object"==typeof self?self:o,n="undefined"!=typeof Symbol,i="undefined"!=typeof Map,r="undefined"!=typeof Set,a="undefined"!=typeof WeakMap,s="undefined"!=typeof WeakSet,c="undefined"!=typeof DataView,u=n&&void 0!==Symbol.iterator,f=n&&void 0!==Symbol.toStringTag,h=r&&"function"==typeof Set.prototype.entries,l=i&&"function"==typeof Map.prototype.entries,d=h&&Object.getPrototypeOf((new Set).entries()),p=l&&Object.getPrototypeOf((new Map).entries()),w=u&&"function"==typeof Array.prototype[Symbol.iterator],b=w&&Object.getPrototypeOf([][Symbol.iterator]()),v=u&&"function"==typeof String.prototype[Symbol.iterator],m=v&&Object.getPrototypeOf(""[Symbol.iterator]());return function(n){var o=typeof n;if("object"!==o)return o;if(null===n)return"null";if(n===e)return"global";if(Array.isArray(n)&&(!1===f||!(Symbol.toStringTag in n)))return"Array";if("object"==typeof window&&null!==window){if("object"==typeof window.location&&n===window.location)return"Location";if("object"==typeof window.document&&n===window.document)return"Document";if("object"==typeof window.navigator){if("object"==typeof window.navigator.mimeTypes&&n===window.navigator.mimeTypes)return"MimeTypeArray";if("object"==typeof window.navigator.plugins&&n===window.navigator.plugins)return"PluginArray"}if(("function"==typeof window.HTMLElement||"object"==typeof window.HTMLElement)&&n instanceof window.HTMLElement){if("BLOCKQUOTE"===n.tagName)return"HTMLQuoteElement";if("TD"===n.tagName)return"HTMLTableDataCellElement";if("TH"===n.tagName)return"HTMLTableHeaderCellElement"}}var u=f&&n[Symbol.toStringTag];if("string"==typeof u)return u;var h=Object.getPrototypeOf(n);return h===RegExp.prototype?"RegExp":h===Date.prototype?"Date":t&&h===Promise.prototype?"Promise":r&&h===Set.prototype?"Set":i&&h===Map.prototype?"Map":s&&h===WeakSet.prototype?"WeakSet":a&&h===WeakMap.prototype?"WeakMap":c&&h===DataView.prototype?"DataView":i&&h===p?"Map Iterator":r&&h===d?"Set Iterator":w&&h===b?"Array Iterator":v&&h===m?"String Iterator":null===h?"Object":Object.prototype.toString.call(n).slice(8,-1)}}))},{}]},{},[1])(1);a.version,a.AssertionError,a.use,a.util,a.config,a.Assertion;var s=a.expect;a.should,a.Should,a.assert;const c=["script","style","svg"],u=["class","id"],f=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"];function h(t,e={}){const n=e.ignoreAttributes?e.ignoreAttributes.filter((t=>"string"==typeof t)):[],i=e.ignoreAttributes?e.ignoreAttributes.filter((t=>"string"!=typeof t)):[],o=[...e.ignoreTags||[],...c],r=e.ignoreChildren||[],a=e.stripEmptyAttributes||u,s=/(&|")/g,h=t=>"&"===t?"&":""";let l="",d=-1;const p=new Set,w=new Set;function b(){return" ".repeat(d)}function v(t){return t instanceof Element?t.getAttribute("data-tag-name")||t.localName:t.nodeName.toLowerCase()}function m(t){const e=v(t);return!o.includes(e)&&!r.includes(e)&&!p.has(t)}function g({name:t,value:e}){return a.includes(t)&&""===e.trim()}function y(t,{name:e,value:n}){return g({name:e,value:n})?"":"class"===e?` class="${function(t){return[...t.classList.values()].sort().join(" ")}(t)}"`:` ${e}="${n.replace(s,h)}"`}const x=(t,e)=>t.name.localeCompare(e.name);function j(t){let e="";const o=Array.from(t.attributes).filter((r=function(t){return function(e){return!(!n.includes(e.name)&&!g(e)&&!i.find((n=>{if(!n.tags||!n.attributes)throw new Error("An object entry to ignoreAttributes should contain a 'tags' and an 'attributes' property.");return n.tags.includes(v(t))&&n.attributes.includes(e.name)})))}}(t),(...t)=>!r(...t))).sort(x);var r;if(1===o.length)e=y(t,o[0]);else if(o.length>1){for(let n=0;n<o.length;n+=1)e+=`\n${b()} ${y(t,o[n])}`;e+=`\n${b()}`}return e}function E(t,e){var n;if("diff-container"!==v(t)&&!o.includes(v(t))&&!w.has(t))if(w.add(t),t instanceof Text)!function(t,e){let n="",i=t;for(;i&&i instanceof Text;)n+=i.nodeValue,i=e.nextSibling();i&&e.previousSibling(),n=n.trim(),""!==n&&(l+=`${b()}${n}\n`)}(t,e);else{if(!(t instanceof Element))throw new Error(`Unknown node type: ${t}`);n=t,l+=`${b()}<${v(n)}${j(n)}>\n`}}function O(t){var e;o.includes(v(t))||t instanceof Element&&("diff-container"===v(e=t)||f.includes(v(e))||(l+=`${b()}</${v(e)}>\n`))}let S;if("string"==typeof t)S=document.createElement("diff-container"),S.innerHTML=t,d=-1;else{if(!(t instanceof Node))throw new Error(`Cannot create diffable HTML from: ${t}`);S=t,d=0}const k=document.createTreeWalker(S,NodeFilter.SHOW_TEXT+NodeFilter.SHOW_ELEMENT,null,!1);for(;k.currentNode;){const t=k.currentNode;if(E(t,k),m(t)&&k.firstChild())d+=1;else{O(t);if(!k.nextSibling()){d-=1;const t=k.parentNode();if(!t)break;p.add(t)}}}return l}const l=new URL(window.location.href).searchParams.get("wtr-session-id");function d(t){return null!=t&&"object"==typeof t}async function p(t,e,n){if("string"!=typeof l)throw new Error("Unable to execute server commands in a browser not controlled by the test runner. Use the debug option from the watch menu to debug in a controlled browser.");let i;try{const t=await import("../../../../../../__web-dev-server__web-socket.js");({sendMessageWaitForResponse:i}=t)}catch(t){throw new Error("Could not setup web socket connection. Are you executing this test through Web Test Runner?")}try{const o=await i({type:"wtr-command",sessionId:l,command:t,payload:e});if(!o.executed){let e;throw e=n?`Unknown command ${t}. Add the ${n} to your config.`:`Unknown command ${t}. Did you install a plugin to handle this command?`,new Error(e)}return o.result}catch(n){throw new Error(`Error while executing command ${t}${e?` with payload ${JSON.stringify(e)}`:""}: ${n.message}`)}}let w,b;const v=/snapshots\[[^\]]+] = (\n)?(?<content>`[^`]*`)/gm;async function m({cache:t=!0}={}){if(t&&b)return b;const e=await p("get-snapshots",void 0,"snapshotPlugin from @web/test-runner-commands");if("string"!=typeof e?.content)throw new Error("Expected a result as string");const n=`${(t=>([...t.matchAll(v)].forEach((({groups:{content:e}})=>{t=t.replaceAll(e,encodeURIComponent(e))})),t))(e.content)}/* ${Math.random()} */`,i=await import(`data:text/javascript;charset=utf-8,${n}`);if(!i||!d(i.snapshots))throw new Error("Expected snapshot result to be a module that exports an object.");return b=i.snapshots,b}function g(t){const e=[];let n;for(n="hook"===t.type?t.ctx.currentTest:t;n&&n.parent;)n.title&&e.push(n.title),n=n.parent;return e.reverse()}function y(...t){switch(t.length){case 2:{const[e,n]=t;return{message:e,options:n}}case 1:{const[n]=t;return(e=n)&&null!==e&&"object"==typeof e&&("ignoreAttributes"in e||"ignoreTags"in e||"ignoreChildren"in e||"stripEmptyAttributes"in e)?{options:n}:{message:n}}default:return{}}var e}let x;async function j(t,e){return x||await async function(){if(window.axe)x=window.axe;else if("function"!=typeof require){if(await import("./axe.min-2720cd56.esm.js").then((function(t){return t.a})),!window.axe)throw new Error("Error importing axe-core/axe.min.js, are you using a bundler or build tool that doesnt handle es modules?");x=window.axe}else x=require("axe-core/axe.min.js")}(),new Promise(((n,i)=>{x.run(t,e,((t,e)=>{t?i(new Error(t)):n(e)}))}))}var E,O={};E={get exports(){return O},set exports(t){O=t}},function(t){E.exports=t}((function(t,e){var n=e.flag,i=function(t){var e;return a(t)?0===t.length?"empty NodeList":(e=Array.prototype.slice.call(t,0,5).map(i).join(", "),t.length>5?e+"... (+"+(t.length-5)+" more)":e):r(t)?(e=t.tagName.toLowerCase(),t.id&&(e+="#"+t.id),t.className&&(e+="."+String(t.className).replace(/\s+/g,".")),Array.prototype.forEach.call(t.attributes,(function(t){"class"!==t.name&&"id"!==t.name&&(e+="["+t.name+(t.value?'="'+t.value+'"]':"]"))})),e):String(t)},o=function(t,o){var r=n(this,"object"),a=r.getAttribute(t);n(this,"negate")&&void 0!==o||this.assert(!!r.attributes[t],"expected "+i(r)+" to have an attribute #{exp}","expected "+i(r)+" not to have an attribute #{exp}",t),void 0!==o&&this.assert(o===a,"expected "+i(r)+" to have an attribute "+e.inspect(t)+" with the value #{exp}, but the value was #{act}","expected "+i(r)+" not to have an attribute "+e.inspect(t)+" with the value #{act}",o,a),n(this,"object",a)},r=function(t){return 1===t.nodeType},a=function(t){return"[object NodeList]"===Object.prototype.toString.call(t)};e.elToString=i,t.Assertion.addMethod("attr",o),t.Assertion.addMethod("attribute",o),t.Assertion.addMethod("class",(function(t){var e=n(this,"object");if(t instanceof RegExp)return this.assert(Array.from(e.classList).some((function(e){return t.test(e)})),"expected "+i(e)+" to have class matching #{exp}","expected "+i(e)+" not to have class matching #{exp}",t);this.assert(e.classList.contains(t),"expected "+i(e)+" to have class #{exp}","expected "+i(e)+" not to have class #{exp}",t)})),t.Assertion.addMethod("id",(function(t){var e=n(this,"object");this.assert(e.id==t,"expected "+i(e)+" to have id #{exp}","expected "+i(e)+" not to have id #{exp}",t)})),t.Assertion.addMethod("html",(function(t){var e=n(this,"object"),o=n(this,"object").innerHTML;n(this,"contains")?this.assert(o.indexOf(t)>=0,"expected #{act} to contain HTML #{exp}","expected #{act} not to contain HTML #{exp}",t,o):this.assert(o===t,"expected "+i(e)+" to have HTML #{exp}, but the HTML was #{act}","expected "+i(e)+" not to have HTML #{exp}",t,o)})),t.Assertion.addChainableMethod("trimmed",null,(function(){n(this,"trim-text",!0)})),t.Assertion.addProperty("rendered",(function(){n(this,"rendered-text",!0)})),t.Assertion.addMethod("text",(function(t){var o,r,s=n(this,"object"),c=n(this,"contains"),u=n(this,"trim-text"),f=n(this,"rendered-text")?"innerText":"textContent";a(s)?(o=Array.prototype.map.call(s,(function(t){return u?t[f].trim():t[f]})),Array.isArray(t)?(r=c?t[n(this,"negate")?"some":"every"]((function(t){return Array.prototype.some.call(s,(function(e){return(u?e[f].trim():e[f])===t}))})):e.eql(o,t),o=o.join(),t=t.join()):(o=o.join(""),r=c?o.indexOf(t)>=0:o===t)):(o=u?s[f].trim():s[f],r=c?o.indexOf(t)>=0:o===t);var h=i(s),l="";u&&(l+="trimmed "),n(this,"rendered-text")&&(l+="rendered "),l+="text",c?this.assert(r,"expected "+h+" to contain #{exp}, but the "+l+" was #{act}","expected "+h+" not to contain #{exp}, but the "+l+" was #{act}",t,o):this.assert(r,"expected "+h+" to have "+l+" #{exp}, but the "+l+" was #{act}","expected "+h+" not to have "+l+" #{exp}",t,o)})),t.Assertion.addMethod("value",(function(t){var e=n(this,"object"),o=n(this,"object").value;this.assert(n(this,"object").value===t,"expected "+i(e)+" to have value #{exp}, but the value was #{act}","expected "+i(e)+" not to have value #{exp}",t,o)})),t.Assertion.overwriteProperty("exist",(function(t){return function(){var e=n(this,"object");a(e)?this.assert(e.length>0,"expected an empty NodeList to have nodes","expected "+i(e)+" to not exist"):t.apply(this,arguments)}})),t.Assertion.overwriteProperty("empty",(function(t){return function(){var e=n(this,"object");r(e)?this.assert(0===e.children.length,"expected "+i(e)+" to be empty","expected "+i(e)+" to not be empty"):a(e)?this.assert(0===e.length,"expected "+i(e)+" to be empty","expected "+i(e)+" to not be empty"):t.apply(this,arguments)}})),t.Assertion.overwriteChainableMethod("length",(function(t){return function(e){var o=n(this,"object");if(a(o)||r(o)){var s=o.children?o.children.length:o.length;this.assert(s===e,"expected "+i(o)+" to have #{exp} children but it had #{act} children","expected "+i(o)+" to not have #{exp} children",e,s)}else t.apply(this,arguments)}}),(function(t){return function(){t.call(this)}})),t.Assertion.overwriteMethod("match",(function(t){return function(e){var o=n(this,"object");r(o)?this.assert(o.matches(e),"expected "+i(o)+" to match #{exp}","expected "+i(o)+" to not match #{exp}",e):a(o)?this.assert(!!o.length&&Array.prototype.every.call(o,(function(t){return t.matches(e)})),"expected "+i(o)+" to match #{exp}","expected "+i(o)+" to not match #{exp}",e):t.apply(this,arguments)}})),t.Assertion.overwriteChainableMethod("contain",(function(t){return function(e){var o=n(this,"object");r(o)?"string"==typeof e?this.assert(!!o.querySelector(e),"expected "+i(o)+" to contain #{exp}","expected "+i(o)+" to not contain #{exp}",e):this.assert(o.contains(e),"expected "+i(o)+" to contain "+i(e),"expected "+i(o)+" to not contain "+i(e)):t.apply(this,arguments)}}),(function(t){return function(){t.call(this)}})),t.Assertion.addMethod("descendant",(function(t){var e=n(this,"object"),o=t;"string"==typeof t?(o=e.querySelector(t),this.assert(!!o,"expected "+i(e)+" to have descendant #{exp}","expected "+i(e)+" to not have descendant #{exp}",t)):this.assert(e.contains(t),"expected "+i(e)+" to contain "+i(t),"expected "+i(e)+" to not contain "+i(t)),n(this,"object",o)})),t.Assertion.addMethod("descendants",(function(t){var e=n(this,"object"),o=e.querySelectorAll(t);this.assert(!!o.length,"expected "+i(e)+" to have descendants #{exp}","expected "+i(e)+" to not have descendants #{exp}",t),n(this,"object",o)})),t.Assertion.addProperty("displayed",(function(){var t=n(this,"object"),e=document.body.contains(t)?window.getComputedStyle(t).display:t.style.display;this.assert("none"!==e,"expected "+i(t)+" to be displayed, but it was not","expected "+i(t)+" to not be displayed, but it was as "+e,e)})),t.Assertion.addProperty("visible",(function(){var t=n(this,"object"),e=document.body.contains(t)?window.getComputedStyle(t).visibility:t.style.visibility;this.assert("hidden"!==e&&"collapse"!==e,"expected "+i(t)+" to be visible, but it was "+("hidden"===e?"hidden":"collapsed"),"expected "+i(t)+" to not be visible, but it was",e)})),t.Assertion.addMethod("tagName",(function(t){var e=n(this,"object"),o=e.tagName;this.assert(o.toUpperCase()===t.toUpperCase(),"expected "+i(e)+" to have tagName "+t+", but it was "+o,"expected "+i(e)+" to not have tagName "+t+", but it was "+o,o)})),t.Assertion.addMethod("style",(function(t,e){var o=n(this,"object"),r=window.getComputedStyle(o).getPropertyValue(t).trim();this.assert(r===e,"expected "+i(o)+" to have style property "+t+" equal to "+e+", but it was equal to "+r,"expected "+i(o)+" to not have style property "+t+" equal to "+e+", but it was equal to "+r,r)})),t.Assertion.overwriteProperty("focus",(function(){return function(){var t=n(this,"object"),e=t.ownerDocument.activeElement;this.assert(t===t.ownerDocument.activeElement,"expected #{this} to have focus","expected #{this} not to have focus",t,e)}})),t.Assertion.overwriteProperty("checked",(function(){return function(){var t=n(this,"object");if(!(t instanceof HTMLInputElement)||"checkbox"!==t.type&&"radio"!==t.type)throw new TypeError(i(t)+" is not a checkbox or radio input");this.assert(t.checked,"expected "+i(t)+" to be checked","expected "+i(t)+" to not be checked")}}))}));var S=O;var k={};!function(t){!function(e){t.exports=e}((function(t,e){var n,i,o,r=Array.prototype.slice;function a(t){return"function"==typeof t&&"function"==typeof t.getCall&&"function"==typeof t.calledWithExactly}function s(t){switch(t){case 1:return"once";case 2:return"twice";case 3:return"thrice";default:return(t||0)+" times"}}function c(t){if(!a(t._obj)&&(!(n=t._obj)||!a(n.proxy)))throw new TypeError(e.inspect(t._obj)+" is not a spy or a call to a spy!");var n}function u(t,e,n,i,o){var r=i?"always have ":"have ";function s(e){return t.printf.apply(t,e)}return n=n||"",a(t.proxy)&&(t=t.proxy),{affirmative:function(){return s(["expected %n to "+r+e+n].concat(o))},negative:function(){return s(["expected %n to not "+r+e].concat(o))}}}function f(n,i,o){e.addProperty(t.Assertion.prototype,n,(function(){c(this);var t=u(this._obj,i,o,!1);this.assert(this._obj[n],t.affirmative,t.negative)}))}function h(t,n,i){return function(){c(this);var o="always"+t[0].toUpperCase()+t.substring(1),a=e.flag(this,"always")&&"function"==typeof this._obj[o],s=a?o:t,f=u(this._obj,n,i,a,r.call(arguments));this.assert(this._obj[s].apply(this._obj,arguments),f.affirmative,f.negative)}}function l(n,i,o,r){var a=h(i,o,r);e.addMethod(t.Assertion.prototype,n,a)}function d(t,e,n){l(t,t,e,n)}e.addProperty(t.Assertion.prototype,"always",(function(){e.flag(this,"always",!0)})),f("called","been called"," at least once, but it was never called"),n="callCount",i="been called exactly %1",o=", but it was called %c%C",e.addMethod(t.Assertion.prototype,n,(function(t){c(this);var e=u(this._obj,i,o,!1,[s(t)]);this.assert(this._obj[n]===t,e.affirmative,e.negative)})),f("calledOnce","been called exactly once",", but it was called %c%C"),f("calledTwice","been called exactly twice",", but it was called %c%C"),f("calledThrice","been called exactly thrice",", but it was called %c%C"),function(n,i,o){var r=h(n,i,o);e.addProperty(t.Assertion.prototype,n,r)}("calledWithNew","been called with new"),d("calledBefore","been called before %1"),d("calledAfter","been called after %1"),d("calledImmediatelyBefore","been called immediately before %1"),d("calledImmediatelyAfter","been called immediately after %1"),d("calledOn","been called with %1 as this",", but it was called with %t instead"),d("calledWith","been called with arguments %*","%D"),d("calledOnceWith","been called exactly once with arguments %*","%D"),d("calledWithExactly","been called with exact arguments %*","%D"),d("calledOnceWithExactly","been called exactly once with exact arguments %*","%D"),d("calledWithMatch","been called with arguments matching %*","%D"),d("returned","returned %1"),l("thrown","threw","thrown %1")}))}({get exports(){return k},set exports(t){k=t}});var A=k;function D(t){return new Promise((e=>{setTimeout(e,t)}))}function T(t,e){return new Promise((n=>{t.addEventListener(e,(function i(o){n(o),t.removeEventListener(e,i)}))}))}function M(t,e,n={}){const{interval:i=50,timeout:o=1e3}=n,{stack:r}=new Error;return new Promise(((n,a)=>{let s;setTimeout((()=>{clearTimeout(s);const t=new Error(e?`Timeout: ${e}`:`waitUntil timed out after ${o}ms`);t.stack=r,a(t)}),o),async function e(){try{await t()?n():s=setTimeout((()=>{e()}),i)}catch(t){a(t)}}()}))}a.use(((t,e)=>{t.Assertion.addProperty("lightDom",(function(){new t.Assertion(this._obj.nodeType).to.equal(1),e.flag(this,"lightDom",!0)})),t.Assertion.addProperty("shadowDom",(function(){new t.Assertion(this._obj.nodeType).to.equal(1),e.flag(this,"shadowDom",!0)})),t.Assertion.addProperty("dom",(function(){new t.Assertion(this._obj.nodeType).to.equal(1),e.flag(this,"dom",!0)}));const n=t=>(t=>{if(window.ShadyCSS&&!1===window.ShadyCSS.nativeShadow){const e=t.tagName.toLowerCase();let n=" ";return Array.prototype.slice.call(t.attributes).forEach((t=>{n+=`${t.name}="${t.value}" `})),n=n.slice(0,-1),`<${e}${n}>${t.innerHTML}</${e}>`}return t.outerHTML})(t),i=t=>t.innerHTML,o=t=>(t=>{if(window.ShadyCSS&&!1===window.ShadyCSS.nativeShadow){const e=t.tagName.toLowerCase(),n=new RegExp(e,"g");let i=t.shadowRoot.innerHTML;return i=i.replace(/style-scope/g,""),i=i.replace(n,""),i=i.replace(/(class=".*?)(\s)*"/g,'$1"'),i=i.replace(/ class="\w?"/g,""),i}return t.shadowRoot.innerHTML})(t),r=(e,n,i,...o)=>{const{message:r,options:a}=y(...o),s=new t.Assertion(h(e,a),r),c=h(n,a);i?s.not.equal(c,r):s.equal(c,r)},a=t=>function(a,...s){if(e.flag(this,"lightDom")||e.flag(this,"shadowDom")||e.flag(this,"dom")){let t;t=e.flag(this,"lightDom")?i(this._obj):e.flag(this,"shadowDom")?o(this._obj):n(this._obj),r(t,a,e.flag(this,"negate"),s[0])}else t.apply(this,[a,...s])};function s(e,n,...i){const o=window.__mocha_context__,r=window.__snapshot__,{message:a,options:s}=y(...i),{index:c}=o;o.index+=1;const u=g(o.runnable),f=h(e,s);if(r.update)r.set(u,c,f,"html");else{const e=r.get(u,c);if(e){const i=r.match(f,h(e.code,s));if(i&&n||!i&&!n)throw new t.AssertionError(a||`Received value does not match stored snapshot ${c}`,{actual:f,expected:e.code,showDiff:!0},t.util.flag(this,"ssfi"))}else r.set(u,c,f,"html")}}async function c(e,n,...i){const{message:o,options:r}=y(...i),a=g(window.__WTR_MOCHA_RUNNER__.test).join(" "),s=h(e,r),c=await async function(t){if(!d(t))throw new Error("You must provide a payload object");if("string"!=typeof t.name)throw new Error("You must provide a snapshot name");return(await m(t))[t.name]}({name:a}),u=await async function(){return w||(w=await p("get-snapshot-config",void 0,"snapshotPlugin from @web/test-runner-commands")),w}();if(c&&!u.updateSnapshots){if(n?c===s:c!==s)throw new t.AssertionError(o||`Snapshot ${a} does not match the saved snapshot on disk`,{actual:s,expected:c,showDiff:!0},t.util.flag(this,"ssfi"))}else c!==s&&await async function(t){if(!d(t))throw new Error("You must provide a payload object");if("string"!=typeof t.name)throw new Error("You must provide a snapshot name");if(void 0!==t.content&&"string"!=typeof t.content)throw new Error("You must provide a snapshot content");return(await m())[t.name]=t.content,p("save-snapshot",t,"snapshotPlugin from @web/test-runner-commands")}({name:a,content:s})}function u(t,e,...n){if(window.__mocha_context__&&window.__snapshot__)return s.call(this,t,e,...n);if(window.__WTR_MOCHA_RUNNER__)return c.call(this,t,e,...n);throw new Error("Could not detect test runner environment. Snapshots require either Web Test Runner with mocha, or Karma with mocha and karma mocha snapshot")}function f(n){const r=t.util.flag(this,"object");let a;return a=e.flag(this,"shadowDom")?o(r):e.flag(this,"lightDom")?i(r):r,u.call(this,a,e.flag(this,"negate"),n)}t.Assertion.overwriteMethod("equals",a),t.Assertion.overwriteMethod("equal",a),t.Assertion.overwriteMethod("eq",a),e.addMethod(t.Assertion.prototype,"equalSnapshot",f),e.addMethod(t.Assertion.prototype,"notEqualSnapshot",f),e.addMethod(t.assert,"equalSnapshot",u),e.addMethod(t.assert,"notEqualSnapshot",u),t.assert.dom={equal(t,e,...i){return r.call(this,n(t),e,!1,...i)},notEqual(t,e,...i){return r.call(this,n(t),e,!0,...i)},equalSnapshot(t,...e){return u.call(this,t,!1,...e)},notEqualSnapshot(t,...e){return u.call(this,t,!0,...e)}},t.assert.lightDom={equal(t,e,...n){return r.call(this,i(t),e,!1,...n)},notEqual(t,e,...n){return r.call(this,i(t),e,!0,...n)},equalSnapshot(t,...e){return u.call(this,i(t),!1,...e)},notEqualSnapshot(t,...e){return u.call(this,i(t),!0,...e)}},t.assert.shadowDom={equal(t,e,...n){return r.call(this,o(t),e,!1,...n)},notEqual(t,e,...n){return r.call(this,o(t),e,!0,...n)},equalSnapshot(t,...e){return u.call(this,o(t),!1,...e)},notEqualSnapshot(t,...e){return u.call(this,o(t),!0,...e)}}})),a.use(((t,e)=>{const{assert:n}=t;e.addMethod(t.Assertion.prototype,"accessible",(function(t){const n=this._obj,i=t||{},o=function(t){if(!t||!t.length)return;const e={};return t.forEach((t=>{e[t]={enabled:!1}})),e}(i.ignoredRules),r={resultTypes:["violations"]};o&&(r.rules=o);let a=i.done?i.done:void 0;if(a||(a=()=>{}),i.ignoredTags){n.parentNode.querySelectorAll(i.ignoredTags.toString()).forEach((t=>t.setAttribute("aria-hidden",!0)))}const s=j(n,r).then((t=>function(t,e,n){const{violations:i}=e;if(i.length&&t)return void n();if(!i.length&&!t)return void n();const o=[];i.length&&(o[o.length]="Accessibility Violations",o[o.length]="---",i.forEach((t=>{o[o.length]=`Rule: ${t.id}`,o[o.length]=`Impact: ${t.impact}`,o[o.length]=`${t.help} (${t.helpUrl})`,t.nodes.forEach((t=>{o[o.length]="",t.target&&(o[o.length]=`Issue target: ${t.target}`),o[o.length]=`Context: ${t.html}`,t.failureSummary&&(o[o.length]=`${t.failureSummary}`)})),o[o.length]="---"})));const r=new Error(o.join("\n"));throw n(r),r}(e.flag(this,"negate"),t,a)));return this.then=s.then.bind(s),this})),n.isAccessible=function(e,n){return new t.Assertion(e).to.be.accessible(n)},n.isNotAccessible=function(e,n){return new t.Assertion(e).not.to.be.accessible(n)}})),a.use(S),a.use(A);const q=t=>"object"==typeof t&&Promise.resolve(t)===t;async function $(t){let e=!1,n=t&&t.updateComplete;return q(n)&&(await n,e=!0),n=!(!t||!t.componentOnReady)&&t.componentOnReady(),q(n)&&(await n,e=!0),e||await new Promise((t=>{requestAnimationFrame((()=>t()))})),window.ShadyDOM&&"function"==typeof window.ShadyDOM.flush&&window.ShadyDOM.flush(),t}const P=[];function N(t=document.createElement("div")){return document.body.appendChild(t),P.push(t),t}function F(){P&&P.forEach((t=>{document.body.removeChild(t)})),P.length=0}function L(t){return i(t)||t instanceof Node||"number"==typeof t||"boolean"==typeof t||"string"==typeof t}function C(t){return null!=(e=t)&&"function"==typeof e[Symbol.iterator]?[...t].every(L):L(t);var e}const R=Object.freeze({ELEMENT_NODE:1,TEXT_NODE:3,COMMENT_NODE:8,DOCUMENT_FRAGMENT_NODE:11}),I=({nodeType:t,textContent:e})=>{switch(t){case R.COMMENT_NODE:return!1;case R.TEXT_NODE:return e.trim();default:return!0}};async function _(t,e={}){const o=function(t,e={},o){const r=N(e.parentNode);if((e.render??n)(e.scopedElements?o(t,e.scopedElements):t,r),i(t))return r.firstElementChild;const[a]=Array.from(r.childNodes).filter(I);return a}(t,e,e.scopedElements?await import("./scopedElementsWrapper-4c29be11.esm.js").then((t=>t.getScopedElementsTemplate)):void 0);if(await $(o),e.scopedElements){const[t]=Array.from(o.shadowRoot.childNodes).filter(I);return await $(t),t}return o}async function U(n,i={}){if(i.scopedElements)return _(t`${e(n)}`,i);const o=function(t,e={}){const n=N(e.parentNode);return n.innerHTML=t,n.children[0]}(n,i);return await $(o),o}async function W(t,e){if("string"==typeof t)return U(t,e);if(e?.render||C(t))return _(t,e);throw new Error("Invalid template provided - string or lit-html TemplateResult is supported")}try{"afterEach"in window&&afterEach((()=>{F()})),"teardown"in window&&teardown((()=>{F()}))}catch(t){}export{s as a,D as b,$ as e,W as f,T as o,M as w};
|