Plugin Directory

Changeset 3040157

Timestamp:
02/23/2024 10:59:29 AM (6 months ago)
Author:
anand.au14
Message:

1.2 Released

Location:
frontend-product-editor/trunk
Files:
2 added
5 deleted
15 edited

Legend:

Unmodified
Added
Removed
  • frontend-product-editor/trunk/build/css/admin.css

    r2978520 r3040157  
    1 .el-form{--el-form-label-font-size:var(--el-font-size-base)}.el-form--label-left .el-form-item__label{justify-content:flex-start}.el-form--label-top .el-form-item{display:block}.el-form--label-top .el-form-item .el-form-item__label{display:block;height:auto;text-align:left;margin-bottom:8px;line-height:22px}.el-form--inline .el-form-item{display:inline-flex;vertical-align:middle;margin-right:32px}.el-form--inline.el-form--label-top{display:flex;flex-wrap:wrap}.el-form--inline.el-form--label-top .el-form-item{display:block}.el-form--large.el-form--label-top .el-form-item .el-form-item__label{margin-bottom:12px;line-height:22px}.el-form--default.el-form--label-top .el-form-item .el-form-item__label{margin-bottom:8px;line-height:22px}.el-form--small.el-form--label-top .el-form-item .el-form-item__label{margin-bottom:4px;line-height:20px}.el-form-item{display:flex;--font-size:14px;margin-bottom:18px}.el-form-item .el-form-item{margin-bottom:0}.el-form-item .el-input__validateIcon{display:none}.el-form-item--large{--font-size:14px;--el-form-label-font-size:var(--font-size);margin-bottom:22px}.el-form-item--large .el-form-item__label{height:40px;line-height:40px}.el-form-item--large .el-form-item__content{line-height:40px}.el-form-item--large .el-form-item__error{padding-top:4px}.el-form-item--default{--font-size:14px;--el-form-label-font-size:var(--font-size);margin-bottom:18px}.el-form-item--default .el-form-item__label{height:32px;line-height:32px}.el-form-item--default .el-form-item__content{line-height:32px}.el-form-item--default .el-form-item__error{padding-top:2px}.el-form-item--small{--font-size:12px;--el-form-label-font-size:var(--font-size);margin-bottom:18px}.el-form-item--small .el-form-item__label{height:24px;line-height:24px}.el-form-item--small .el-form-item__content{line-height:24px}.el-form-item--small .el-form-item__error{padding-top:2px}.el-form-item__label-wrap{display:flex}.el-form-item__label{display:inline-flex;justify-content:flex-end;align-items:flex-start;flex:0 0 auto;font-size:var(--el-form-label-font-size);color:var(--el-text-color-regular);height:32px;line-height:32px;padding:0 12px 0 0;box-sizing:border-box}.el-form-item__content{display:flex;flex-wrap:wrap;align-items:center;flex:1;line-height:32px;position:relative;font-size:var(--font-size);min-width:0}.el-form-item__content .el-input-group{vertical-align:top}.el-form-item__error{color:var(--el-color-danger);font-size:12px;line-height:1;padding-top:2px;position:absolute;top:100%;left:0}.el-form-item__error--inline{position:relative;top:auto;left:auto;display:inline-block;margin-left:10px}.el-form-item.is-required:not(.is-no-asterisk).asterisk-left>.el-form-item__label-wrap>.el-form-item__label:before,.el-form-item.is-required:not(.is-no-asterisk).asterisk-left>.el-form-item__label:before{content:"*";color:var(--el-color-danger);margin-right:4px}.el-form-item.is-required:not(.is-no-asterisk).asterisk-right>.el-form-item__label-wrap>.el-form-item__label:after,.el-form-item.is-required:not(.is-no-asterisk).asterisk-right>.el-form-item__label:after{content:"*";color:var(--el-color-danger);margin-left:4px}.el-form-item.is-error .el-select-v2__wrapper,.el-form-item.is-error .el-select-v2__wrapper:focus,.el-form-item.is-error .el-textarea__inner,.el-form-item.is-error .el-textarea__inner:focus{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-form-item.is-error .el-input__wrapper{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-form-item.is-error .el-input-group__append .el-input__wrapper,.el-form-item.is-error .el-input-group__prepend .el-input__wrapper{box-shadow:0 0 0 1px transparent inset}.el-form-item.is-error .el-input__validateIcon{color:var(--el-color-danger)}.el-form-item--feedback .el-input__validateIcon{display:inline-flex}#fpe-admin-settings{margin-left:-20px}#fpe-admin-settings .wpv-fpe-header{background:#FFF;padding:0 40px;height:60px;display:flex;align-items:center;font-size:14px;font-weight:600}#fpe-admin-settings .wpv-fpe-header .wpv-fpe-branding{display:flex;align-items:center;gap:10px;font-size:18px}#fpe-admin-settings .wpv-fpe-header .wpv-fpe-branding svg{width:32px;height:auto}#fpe-admin-settings .wpv-fpe-body{padding:40px;max-width:800px;margin:40px auto;background:#FFF;border-radius:5px}#fpe-admin-settings .el-input__inner{background:none;border:none}#fpe-admin-settings .el-input__inner:focus{border:none;outline:none;box-shadow:none}#fpe-admin-settings .fpe-coming-soon{background-color:#409eff;color:#fff;padding:4px 8px;border-radius:5px;font-size:12px;line-height:1.2;margin-left:10px}
     1.el-form{--el-form-label-font-size:var(--el-font-size-base)}.el-form--label-left .el-form-item__label{justify-content:flex-start}.el-form--label-top .el-form-item{display:block}.el-form--label-top .el-form-item .el-form-item__label{display:block;height:auto;text-align:left;margin-bottom:8px;line-height:22px}.el-form--inline .el-form-item{display:inline-flex;vertical-align:middle;margin-right:32px}.el-form--inline.el-form--label-top{display:flex;flex-wrap:wrap}.el-form--inline.el-form--label-top .el-form-item{display:block}.el-form--large.el-form--label-top .el-form-item .el-form-item__label{margin-bottom:12px;line-height:22px}.el-form--default.el-form--label-top .el-form-item .el-form-item__label{margin-bottom:8px;line-height:22px}.el-form--small.el-form--label-top .el-form-item .el-form-item__label{margin-bottom:4px;line-height:20px}.el-form-item{display:flex;--font-size:14px;margin-bottom:18px}.el-form-item .el-form-item{margin-bottom:0}.el-form-item .el-input__validateIcon{display:none}.el-form-item--large{--font-size:14px;--el-form-label-font-size:var(--font-size);margin-bottom:22px}.el-form-item--large .el-form-item__label{height:40px;line-height:40px}.el-form-item--large .el-form-item__content{line-height:40px}.el-form-item--large .el-form-item__error{padding-top:4px}.el-form-item--default{--font-size:14px;--el-form-label-font-size:var(--font-size);margin-bottom:18px}.el-form-item--default .el-form-item__label{height:32px;line-height:32px}.el-form-item--default .el-form-item__content{line-height:32px}.el-form-item--default .el-form-item__error{padding-top:2px}.el-form-item--small{--font-size:12px;--el-form-label-font-size:var(--font-size);margin-bottom:18px}.el-form-item--small .el-form-item__label{height:24px;line-height:24px}.el-form-item--small .el-form-item__content{line-height:24px}.el-form-item--small .el-form-item__error{padding-top:2px}.el-form-item__label-wrap{display:flex}.el-form-item__label{display:inline-flex;justify-content:flex-end;align-items:flex-start;flex:0 0 auto;font-size:var(--el-form-label-font-size);color:var(--el-text-color-regular);height:32px;line-height:32px;padding:0 12px 0 0;box-sizing:border-box}.el-form-item__content{display:flex;flex-wrap:wrap;align-items:center;flex:1;line-height:32px;position:relative;font-size:var(--font-size);min-width:0}.el-form-item__content .el-input-group{vertical-align:top}.el-form-item__error{color:var(--el-color-danger);font-size:12px;line-height:1;padding-top:2px;position:absolute;top:100%;left:0}.el-form-item__error--inline{position:relative;top:auto;left:auto;display:inline-block;margin-left:10px}.el-form-item.is-required:not(.is-no-asterisk).asterisk-left>.el-form-item__label-wrap>.el-form-item__label:before,.el-form-item.is-required:not(.is-no-asterisk).asterisk-left>.el-form-item__label:before{content:"*";color:var(--el-color-danger);margin-right:4px}.el-form-item.is-required:not(.is-no-asterisk).asterisk-right>.el-form-item__label-wrap>.el-form-item__label:after,.el-form-item.is-required:not(.is-no-asterisk).asterisk-right>.el-form-item__label:after{content:"*";color:var(--el-color-danger);margin-left:4px}.el-form-item.is-error .el-select-v2__wrapper,.el-form-item.is-error .el-select-v2__wrapper:focus,.el-form-item.is-error .el-textarea__inner,.el-form-item.is-error .el-textarea__inner:focus{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-form-item.is-error .el-input__wrapper{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-form-item.is-error .el-input-group__append .el-input__wrapper,.el-form-item.is-error .el-input-group__prepend .el-input__wrapper{box-shadow:0 0 0 1px transparent inset}.el-form-item.is-error .el-input__validateIcon{color:var(--el-color-danger)}.el-form-item--feedback .el-input__validateIcon{display:inline-flex}px}
  • frontend-product-editor/trunk/build/css/main.css

    r2978520 r3040157  
    1 @charset "UTF-8";.el-drawer{--el-drawer-bg-color:var(--el-dialog-bg-color, var(--el-bg-color));--el-drawer-padding-primary:var(--el-dialog-padding-primary, 20px)}.el-drawer{position:absolute;box-sizing:border-box;background-color:var(--el-drawer-bg-color);display:flex;flex-direction:column;box-shadow:var(--el-box-shadow-dark);overflow:hidden;transition:all var(--el-transition-duration)}.el-drawer .rtl,.el-drawer .ltr,.el-drawer .ttb,.el-drawer .btt{transform:translate(0)}.el-drawer__sr-focus:focus{outline:0!important}.el-drawer__header{align-items:center;color:#72767b;display:flex;margin-bottom:32px;padding:var(--el-drawer-padding-primary);padding-bottom:0}.el-drawer__header>:first-child{flex:1}.el-drawer__title{margin:0;flex:1;line-height:inherit;font-size:1rem}.el-drawer__footer{padding:var(--el-drawer-padding-primary);padding-top:10px;text-align:right}.el-drawer__close-btn{display:inline-flex;border:none;cursor:pointer;font-size:var(--el-font-size-extra-large);color:inherit;background-color:transparent;outline:0}.el-drawer__close-btn:focus i,.el-drawer__close-btn:hover i{color:var(--el-color-primary)}.el-drawer__body{flex:1;padding:var(--el-drawer-padding-primary);overflow:auto}.el-drawer__body>*{box-sizing:border-box}.el-drawer.ltr,.el-drawer.rtl{height:100%;top:0;bottom:0}.el-drawer.btt,.el-drawer.ttb{width:100%;left:0;right:0}.el-drawer.ltr{left:0}.el-drawer.rtl{right:0}.el-drawer.ttb{top:0}.el-drawer.btt{bottom:0}.el-drawer-fade-enter-active,.el-drawer-fade-leave-active{transition:all var(--el-transition-duration)}.el-drawer-fade-enter-active,.el-drawer-fade-enter-from,.el-drawer-fade-enter-to,.el-drawer-fade-leave-active,.el-drawer-fade-leave-from,.el-drawer-fade-leave-to{overflow:hidden!important}.el-drawer-fade-enter-from,.el-drawer-fade-leave-to{opacity:0}.el-drawer-fade-enter-to,.el-drawer-fade-leave-from{opacity:1}.el-drawer-fade-enter-from .rtl,.el-drawer-fade-leave-to .rtl{transform:translate(100%)}.el-drawer-fade-enter-from .ltr,.el-drawer-fade-leave-to .ltr{transform:translate(-100%)}.el-drawer-fade-enter-from .ttb,.el-drawer-fade-leave-to .ttb{transform:translateY(-100%)}.el-drawer-fade-enter-from .btt,.el-drawer-fade-leave-to .btt{transform:translateY(100%)}.el-overlay{position:fixed;inset:0;z-index:2000;height:100%;background-color:var(--el-overlay-color-lighter);overflow:auto}.el-overlay .el-overlay-root{height:0}.el-collapse{--el-collapse-border-color:var(--el-border-color-lighter);--el-collapse-header-height:48px;--el-collapse-header-bg-color:var(--el-fill-color-blank);--el-collapse-header-text-color:var(--el-text-color-primary);--el-collapse-header-font-size:13px;--el-collapse-content-bg-color:var(--el-fill-color-blank);--el-collapse-content-font-size:13px;--el-collapse-content-text-color:var(--el-text-color-primary);border-top:1px solid var(--el-collapse-border-color);border-bottom:1px solid var(--el-collapse-border-color)}.el-collapse-item.is-disabled .el-collapse-item__header{color:var(--el-text-color-disabled);cursor:not-allowed}.el-collapse-item__header{display:flex;align-items:center;height:var(--el-collapse-header-height);line-height:var(--el-collapse-header-height);background-color:var(--el-collapse-header-bg-color);color:var(--el-collapse-header-text-color);cursor:pointer;border-bottom:1px solid var(--el-collapse-border-color);font-size:var(--el-collapse-header-font-size);font-weight:500;transition:border-bottom-color var(--el-transition-duration);outline:0}.el-collapse-item__arrow{margin:0 8px 0 auto;transition:transform var(--el-transition-duration);font-weight:300}.el-collapse-item__arrow.is-active{transform:rotate(90deg)}.el-collapse-item__header.focusing:focus:not(:hover){color:var(--el-color-primary)}.el-collapse-item__header.is-active{border-bottom-color:transparent}.el-collapse-item__wrap{will-change:height;background-color:var(--el-collapse-content-bg-color);overflow:hidden;box-sizing:border-box;border-bottom:1px solid var(--el-collapse-border-color)}.el-collapse-item__content{padding-bottom:25px;font-size:var(--el-collapse-content-font-size);color:var(--el-collapse-content-text-color);line-height:1.7692307692}.el-collapse-item:last-child{margin-bottom:-1px}.el-autocomplete{position:relative;display:inline-block}.el-autocomplete__popper.el-popper{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light);box-shadow:var(--el-box-shadow-light)}.el-autocomplete__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-autocomplete__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-autocomplete__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-autocomplete__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-autocomplete__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-autocomplete-suggestion{border-radius:var(--el-border-radius-base);box-sizing:border-box}.el-autocomplete-suggestion__wrap{max-height:280px;padding:10px 0;box-sizing:border-box}.el-autocomplete-suggestion__list{margin:0;padding:0}.el-autocomplete-suggestion li{padding:0 20px;margin:0;line-height:34px;cursor:pointer;color:var(--el-text-color-regular);font-size:var(--el-font-size-base);list-style:none;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.el-autocomplete-suggestion li:hover,.el-autocomplete-suggestion li.highlighted{background-color:var(--el-fill-color-light)}.el-autocomplete-suggestion li.divider{margin-top:6px;border-top:1px solid var(--el-color-black)}.el-autocomplete-suggestion li.divider:last-child{margin-bottom:-6px}.el-autocomplete-suggestion.is-loading li{text-align:center;height:100px;line-height:100px;font-size:20px;color:var(--el-text-color-secondary)}.el-autocomplete-suggestion.is-loading li:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-autocomplete-suggestion.is-loading li:hover{background-color:var(--el-bg-color-overlay)}.el-autocomplete-suggestion.is-loading .el-icon-loading{vertical-align:middle}.el-tree{--el-tree-node-hover-bg-color:var(--el-fill-color-light);--el-tree-text-color:var(--el-text-color-regular);--el-tree-expand-icon-color:var(--el-text-color-placeholder)}.el-tree{position:relative;cursor:default;background:var(--el-fill-color-blank);color:var(--el-tree-text-color);font-size:var(--el-font-size-base)}.el-tree__empty-block{position:relative;min-height:60px;text-align:center;width:100%;height:100%}.el-tree__empty-text{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:var(--el-text-color-secondary);font-size:var(--el-font-size-base)}.el-tree__drop-indicator{position:absolute;left:0;right:0;height:1px;background-color:var(--el-color-primary)}.el-tree-node{white-space:nowrap;outline:0}.el-tree-node:focus>.el-tree-node__content{background-color:var(--el-tree-node-hover-bg-color)}.el-tree-node.is-drop-inner>.el-tree-node__content .el-tree-node__label{background-color:var(--el-color-primary);color:#fff}.el-tree-node__content{display:flex;align-items:center;height:26px;cursor:pointer}.el-tree-node__content>.el-tree-node__expand-icon{padding:6px;box-sizing:content-box}.el-tree-node__content>label.el-checkbox{margin-right:8px}.el-tree-node__content:hover{background-color:var(--el-tree-node-hover-bg-color)}.el-tree.is-dragging .el-tree-node__content{cursor:move}.el-tree.is-dragging .el-tree-node__content *{pointer-events:none}.el-tree.is-dragging.is-drop-not-allow .el-tree-node__content{cursor:not-allowed}.el-tree-node__expand-icon{cursor:pointer;color:var(--el-tree-expand-icon-color);font-size:12px;transform:rotate(0);transition:transform var(--el-transition-duration) ease-in-out}.el-tree-node__expand-icon.expanded{transform:rotate(90deg)}.el-tree-node__expand-icon.is-leaf{color:transparent;cursor:default}.el-tree-node__expand-icon.is-hidden{visibility:hidden}.el-tree-node__loading-icon{margin-right:8px;font-size:var(--el-font-size-base);color:var(--el-tree-expand-icon-color)}.el-tree-node>.el-tree-node__children{overflow:hidden;background-color:transparent}.el-tree-node.is-expanded>.el-tree-node__children{display:block}.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{background-color:var(--el-color-primary-light-9)}.el-checkbox{--el-checkbox-font-size:14px;--el-checkbox-font-weight:var(--el-font-weight-primary);--el-checkbox-text-color:var(--el-text-color-regular);--el-checkbox-input-height:14px;--el-checkbox-input-width:14px;--el-checkbox-border-radius:var(--el-border-radius-small);--el-checkbox-bg-color:var(--el-fill-color-blank);--el-checkbox-input-border:var(--el-border);--el-checkbox-disabled-border-color:var(--el-border-color);--el-checkbox-disabled-input-fill:var(--el-fill-color-light);--el-checkbox-disabled-icon-color:var(--el-text-color-placeholder);--el-checkbox-disabled-checked-input-fill:var(--el-border-color-extra-light);--el-checkbox-disabled-checked-input-border-color:var(--el-border-color);--el-checkbox-disabled-checked-icon-color:var(--el-text-color-placeholder);--el-checkbox-checked-text-color:var(--el-color-primary);--el-checkbox-checked-input-border-color:var(--el-color-primary);--el-checkbox-checked-bg-color:var(--el-color-primary);--el-checkbox-checked-icon-color:var(--el-color-white);--el-checkbox-input-border-color-hover:var(--el-color-primary)}.el-checkbox{color:var(--el-checkbox-text-color);font-weight:var(--el-checkbox-font-weight);font-size:var(--el-font-size-base);position:relative;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin-right:30px;height:32px}.el-checkbox.is-disabled{cursor:not-allowed}.el-checkbox.is-bordered{padding:0 15px 0 9px;border-radius:var(--el-border-radius-base);border:var(--el-border);box-sizing:border-box}.el-checkbox.is-bordered.is-checked{border-color:var(--el-color-primary)}.el-checkbox.is-bordered.is-disabled{border-color:var(--el-border-color-lighter)}.el-checkbox.is-bordered.el-checkbox--large{padding:0 19px 0 11px;border-radius:var(--el-border-radius-base)}.el-checkbox.is-bordered.el-checkbox--large .el-checkbox__label{font-size:var(--el-font-size-base)}.el-checkbox.is-bordered.el-checkbox--large .el-checkbox__inner{height:14px;width:14px}.el-checkbox.is-bordered.el-checkbox--small{padding:0 11px 0 7px;border-radius:calc(var(--el-border-radius-base) - 1px)}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__label{font-size:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner{height:12px;width:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner:after{height:6px;width:2px}.el-checkbox input:focus-visible+.el-checkbox__inner{outline:2px solid var(--el-checkbox-input-border-color-hover);outline-offset:1px;border-radius:var(--el-checkbox-border-radius)}.el-checkbox__input{white-space:nowrap;cursor:pointer;outline:0;display:inline-flex;position:relative}.el-checkbox__input.is-disabled .el-checkbox__inner{background-color:var(--el-checkbox-disabled-input-fill);border-color:var(--el-checkbox-disabled-border-color);cursor:not-allowed}.el-checkbox__input.is-disabled .el-checkbox__inner:after{cursor:not-allowed;border-color:var(--el-checkbox-disabled-icon-color)}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{background-color:var(--el-checkbox-disabled-checked-input-fill);border-color:var(--el-checkbox-disabled-checked-input-border-color)}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner:after{border-color:var(--el-checkbox-disabled-checked-icon-color)}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner{background-color:var(--el-checkbox-disabled-checked-input-fill);border-color:var(--el-checkbox-disabled-checked-input-border-color)}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner:before{background-color:var(--el-checkbox-disabled-checked-icon-color);border-color:var(--el-checkbox-disabled-checked-icon-color)}.el-checkbox__input.is-disabled+span.el-checkbox__label{color:var(--el-disabled-text-color);cursor:not-allowed}.el-checkbox__input.is-checked .el-checkbox__inner{background-color:var(--el-checkbox-checked-bg-color);border-color:var(--el-checkbox-checked-input-border-color)}.el-checkbox__input.is-checked .el-checkbox__inner:after{transform:rotate(45deg) scaleY(1)}.el-checkbox__input.is-checked+.el-checkbox__label{color:var(--el-checkbox-checked-text-color)}.el-checkbox__input.is-focus:not(.is-checked) .el-checkbox__original:not(:focus-visible){border-color:var(--el-checkbox-input-border-color-hover)}.el-checkbox__input.is-indeterminate .el-checkbox__inner{background-color:var(--el-checkbox-checked-bg-color);border-color:var(--el-checkbox-checked-input-border-color)}.el-checkbox__input.is-indeterminate .el-checkbox__inner:before{content:"";position:absolute;display:block;background-color:var(--el-checkbox-checked-icon-color);height:2px;transform:scale(.5);left:0;right:0;top:5px}.el-checkbox__input.is-indeterminate .el-checkbox__inner:after{display:none}.el-checkbox__inner{display:inline-block;position:relative;border:var(--el-checkbox-input-border);border-radius:var(--el-checkbox-border-radius);box-sizing:border-box;width:var(--el-checkbox-input-width);height:var(--el-checkbox-input-height);background-color:var(--el-checkbox-bg-color);z-index:var(--el-index-normal);transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46),outline .25s cubic-bezier(.71,-.46,.29,1.46)}.el-checkbox__inner:hover{border-color:var(--el-checkbox-input-border-color-hover)}.el-checkbox__inner:after{box-sizing:content-box;content:"";border:1px solid var(--el-checkbox-checked-icon-color);border-left:0;border-top:0;height:7px;left:4px;position:absolute;top:1px;transform:rotate(45deg) scaleY(0);width:3px;transition:transform .15s ease-in 50ms;transform-origin:center}.el-checkbox__original{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.el-checkbox__label{display:inline-block;padding-left:8px;line-height:1;font-size:var(--el-checkbox-font-size)}.el-checkbox.el-checkbox--large{height:40px}.el-checkbox.el-checkbox--large .el-checkbox__label{font-size:14px}.el-checkbox.el-checkbox--large .el-checkbox__inner{width:14px;height:14px}.el-checkbox.el-checkbox--small{height:24px}.el-checkbox.el-checkbox--small .el-checkbox__label{font-size:12px}.el-checkbox.el-checkbox--small .el-checkbox__inner{width:12px;height:12px}.el-checkbox.el-checkbox--small .el-checkbox__input.is-indeterminate .el-checkbox__inner:before{top:4px}.el-checkbox.el-checkbox--small .el-checkbox__inner:after{width:2px;height:6px}.el-checkbox:last-of-type{margin-right:0}.el-icon-loading{-webkit-animation:rotating 2s linear infinite;animation:rotating 2s linear infinite}.el-icon--right{margin-left:5px}.el-icon--left{margin-right:5px}@-webkit-keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.el-icon{--color:inherit;height:1em;width:1em;line-height:1em;display:inline-flex;justify-content:center;align-items:center;position:relative;fill:currentColor;color:var(--color);font-size:inherit}.el-icon.is-loading{-webkit-animation:rotating 2s linear infinite;animation:rotating 2s linear infinite}.el-icon svg{height:1em;width:1em}:root{--fpe-color-white: #ffffff;--fpe-color-black: #000000;--fpe-color-primary-rgb: 64, 158, 255;--fpe-color-success-rgb: 103, 194, 58;--fpe-color-warning-rgb: 230, 162, 60;--fpe-color-danger-rgb: 245, 108, 108;--fpe-color-error-rgb: 245, 108, 108;--fpe-color-info-rgb: 144, 147, 153;--fpe-font-size-extra-large: 20px;--fpe-font-size-large: 18px;--fpe-font-size-medium: 16px;--fpe-font-size-base: 14px;--fpe-font-size-small: 13px;--fpe-font-size-extra-small: 12px;--fpe-font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微��雅黑", Arial, sans-serif;--fpe-font-weight-primary: 500;--fpe-font-line-height-primary: 24px;--fpe-index-normal: 1;--fpe-index-top: 1000;--fpe-index-popper: 2000;--fpe-border-radius-base: 4px;--fpe-border-radius-small: 2px;--fpe-border-radius-round: 20px;--fpe-border-radius-circle: 100%;--fpe-transition-duration: .3s;--fpe-transition-duration-fast: .2s;--fpe-transition-function-ease-in-out-bezier: cubic-bezier(.645, .045, .355, 1);--fpe-transition-function-fast-bezier: cubic-bezier(.23, 1, .32, 1);--fpe-transition-all: all var(--fpe-transition-duration) var(--fpe-transition-function-ease-in-out-bezier);--fpe-transition-fade: opacity var(--fpe-transition-duration) var(--fpe-transition-function-fast-bezier);--fpe-transition-md-fade: transform var(--fpe-transition-duration) var(--fpe-transition-function-fast-bezier), opacity var(--fpe-transition-duration) var(--fpe-transition-function-fast-bezier);--fpe-transition-fade-linear: opacity var(--fpe-transition-duration-fast) linear;--fpe-transition-border: border-color var(--fpe-transition-duration-fast) var(--fpe-transition-function-ease-in-out-bezier);--fpe-transition-box-shadow: box-shadow var(--fpe-transition-duration-fast) var(--fpe-transition-function-ease-in-out-bezier);--fpe-transition-color: color var(--fpe-transition-duration-fast) var(--fpe-transition-function-ease-in-out-bezier);--fpe-component-size-large: 40px;--fpe-component-size: 32px;--fpe-component-size-small: 24px}:root{color-scheme:light;--fpe-color-white: #ffffff;--fpe-color-black: #000000;--fpe-color-primary: #409eff;--fpe-color-primary-light-3: #79bbff;--fpe-color-primary-light-5: #a0cfff;--fpe-color-primary-light-7: #c6e2ff;--fpe-color-primary-light-8: #d9ecff;--fpe-color-primary-light-9: #ecf5ff;--fpe-color-primary-dark-2: #337ecc;--fpe-color-success: #67c23a;--fpe-color-success-light-3: #95d475;--fpe-color-success-light-5: #b3e19d;--fpe-color-success-light-7: #d1edc4;--fpe-color-success-light-8: #e1f3d8;--fpe-color-success-light-9: #f0f9eb;--fpe-color-success-dark-2: #529b2e;--fpe-color-warning: #e6a23c;--fpe-color-warning-light-3: #eebe77;--fpe-color-warning-light-5: #f3d19e;--fpe-color-warning-light-7: #f8e3c5;--fpe-color-warning-light-8: #faecd8;--fpe-color-warning-light-9: #fdf6ec;--fpe-color-warning-dark-2: #b88230;--fpe-color-danger: #f56c6c;--fpe-color-danger-light-3: #f89898;--fpe-color-danger-light-5: #fab6b6;--fpe-color-danger-light-7: #fcd3d3;--fpe-color-danger-light-8: #fde2e2;--fpe-color-danger-light-9: #fef0f0;--fpe-color-danger-dark-2: #c45656;--fpe-color-error: #f56c6c;--fpe-color-error-light-3: #f89898;--fpe-color-error-light-5: #fab6b6;--fpe-color-error-light-7: #fcd3d3;--fpe-color-error-light-8: #fde2e2;--fpe-color-error-light-9: #fef0f0;--fpe-color-error-dark-2: #c45656;--fpe-color-info: #909399;--fpe-color-info-light-3: #b1b3b8;--fpe-color-info-light-5: #c8c9cc;--fpe-color-info-light-7: #dedfe0;--fpe-color-info-light-8: #e9e9eb;--fpe-color-info-light-9: #f4f4f5;--fpe-color-info-dark-2: #73767a;--fpe-bg-color: #ffffff;--fpe-bg-color-page: #f2f3f5;--fpe-bg-color-overlay: #ffffff;--fpe-text-color-primary: #303133;--fpe-text-color-regular: #606266;--fpe-text-color-secondary: #909399;--fpe-text-color-placeholder: #a8abb2;--fpe-text-color-disabled: #c0c4cc;--fpe-border-color: #dcdfe6;--fpe-border-color-light: #e4e7ed;--fpe-border-color-lighter: #ebeef5;--fpe-border-color-extra-light: #f2f6fc;--fpe-border-color-dark: #d4d7de;--fpe-border-color-darker: #cdd0d6;--fpe-fill-color: #f0f2f5;--fpe-fill-color-light: #f5f7fa;--fpe-fill-color-lighter: #fafafa;--fpe-fill-color-extra-light: #fafcff;--fpe-fill-color-dark: #ebedf0;--fpe-fill-color-darker: #e6e8eb;--fpe-fill-color-blank: #ffffff;--fpe-box-shadow: 0px 12px 32px 4px rgba(0, 0, 0, .04), 0px 8px 20px rgba(0, 0, 0, .08);--fpe-box-shadow-light: 0px 0px 12px rgba(0, 0, 0, .12);--fpe-box-shadow-lighter: 0px 0px 6px rgba(0, 0, 0, .12);--fpe-box-shadow-dark: 0px 16px 48px 16px rgba(0, 0, 0, .08), 0px 12px 32px rgba(0, 0, 0, .12), 0px 8px 16px -8px rgba(0, 0, 0, .16);--fpe-disabled-bg-color: var(--fpe-fill-color-light);--fpe-disabled-text-color: var(--fpe-text-color-placeholder);--fpe-disabled-border-color: var(--fpe-border-color-light);--fpe-overlay-color: rgba(0, 0, 0, .8);--fpe-overlay-color-light: rgba(0, 0, 0, .7);--fpe-overlay-color-lighter: rgba(0, 0, 0, .5);--fpe-mask-color: rgba(255, 255, 255, .9);--fpe-mask-color-extra-light: rgba(255, 255, 255, .3);--fpe-border-width: 1px;--fpe-border-style: solid;--fpe-border-color-hover: var(--fpe-text-color-disabled);--fpe-border: var(--fpe-border-width) var(--fpe-border-style) var(--fpe-border-color);--fpe-svg-monochrome-grey: var(--fpe-border-color)}.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--fpe-transition-fade-linear)}.fpe-fade-in-linear-enter-active,.fpe-fade-in-linear-leave-active{transition:var(--fpe-transition-fade-linear)}.fpe-fade-in-linear-enter-from,.fpe-fade-in-linear-leave-to{opacity:0}.fpe-fade-in-enter-active,.fpe-fade-in-leave-active{transition:all var(--fpe-transition-duration) cubic-bezier(.55,0,.1,1)}.fpe-fade-in-enter-from,.fpe-fade-in-leave-active{opacity:0}.fpe-zoom-in-center-enter-active,.fpe-zoom-in-center-leave-active{transition:all var(--fpe-transition-duration) cubic-bezier(.55,0,.1,1)}.fpe-zoom-in-center-enter-from,.fpe-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.fpe-zoom-in-top-enter-active,.fpe-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transition:var(--fpe-transition-md-fade);transform-origin:center top}.fpe-zoom-in-top-enter-active[data-popper-placement^=top],.fpe-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:center bottom}.fpe-zoom-in-top-enter-from,.fpe-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.fpe-zoom-in-bottom-enter-active,.fpe-zoom-in-bottom-leave-active{opacity:1;transform:scaleY(1);transition:var(--fpe-transition-md-fade);transform-origin:center bottom}.fpe-zoom-in-bottom-enter-from,.fpe-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.fpe-zoom-in-left-enter-active,.fpe-zoom-in-left-leave-active{opacity:1;transform:scale(1);transition:var(--fpe-transition-md-fade);transform-origin:top left}.fpe-zoom-in-left-enter-from,.fpe-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:var(--fpe-transition-duration) height ease-in-out,var(--fpe-transition-duration) padding-top ease-in-out,var(--fpe-transition-duration) padding-bottom ease-in-out}.fpe-collapse-transition-leave-active,.fpe-collapse-transition-enter-active{transition:var(--fpe-transition-duration) max-height ease-in-out,var(--fpe-transition-duration) padding-top ease-in-out,var(--fpe-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--fpe-transition-duration) width ease-in-out,var(--fpe-transition-duration) padding-left ease-in-out,var(--fpe-transition-duration) padding-right ease-in-out}.fpe-list-enter-active,.fpe-list-leave-active{transition:all 1s}.fpe-list-enter-from,.fpe-list-leave-to{opacity:0;transform:translateY(-30px)}.fpe-list-leave-active{position:absolute!important}.fpe-opacity-transition{transition:opacity var(--fpe-transition-duration) cubic-bezier(.55,0,.1,1)}.fpe-textarea{--fpe-input-text-color: var(--fpe-text-color-regular);--fpe-input-border: var(--fpe-border);--fpe-input-hover-border: var(--fpe-border-color-hover);--fpe-input-focus-border: var(--fpe-color-primary);--fpe-input-transparent-border: 0 0 0 1px transparent inset;--fpe-input-border-color: var(--fpe-border-color);--fpe-input-border-radius: var(--fpe-border-radius-base);--fpe-input-bg-color: var(--fpe-fill-color-blank);--fpe-input-icon-color: var(--fpe-text-color-placeholder);--fpe-input-placeholder-color: var(--fpe-text-color-placeholder);--fpe-input-hover-border-color: var(--fpe-border-color-hover);--fpe-input-clear-hover-color: var(--fpe-text-color-secondary);--fpe-input-focus-border-color: var(--fpe-color-primary)}.fpe-textarea{position:relative;display:inline-block;width:100%;vertical-align:bottom;font-size:var(--fpe-font-size-base)}.fpe-textarea__inner{position:relative;display:block;resize:vertical;padding:5px 11px;line-height:1.5;box-sizing:border-box;width:100%;font-size:inherit;font-family:inherit;color:var(--fpe-input-text-color, var(--fpe-text-color-regular));background-color:var(--fpe-input-bg-color, var(--fpe-fill-color-blank));background-image:none;-webkit-appearance:none;box-shadow:0 0 0 1px var(--fpe-input-border-color, var(--fpe-border-color)) inset;border-radius:var(--fpe-input-border-radius, var(--fpe-border-radius-base));transition:var(--fpe-transition-box-shadow);border:none}.fpe-textarea__inner::placeholder{color:var(--fpe-input-placeholder-color, var(--fpe-text-color-placeholder))}.fpe-textarea__inner:hover{box-shadow:0 0 0 1px var(--fpe-input-hover-border-color) inset}.fpe-textarea__inner:focus{outline:none;box-shadow:0 0 0 1px var(--fpe-input-focus-border-color) inset}.fpe-textarea .fpe-input__count{color:var(--fpe-color-info);background:var(--fpe-fill-color-blank);position:absolute;font-size:12px;line-height:14px;bottom:5px;right:10px}.fpe-textarea.is-disabled .fpe-textarea__inner{background-color:var(--fpe-disabled-bg-color);border-color:var(--fpe-disabled-border-color);color:var(--fpe-disabled-text-color);cursor:not-allowed}.fpe-textarea.is-disabled .fpe-textarea__inner::placeholder{color:var(--fpe-text-color-placeholder)}.fpe-textarea.is-exceed .fpe-textarea__inner{box-shadow:0 0 0 1px var(--fpe-color-danger) inset}.fpe-textarea.is-exceed .fpe-input__count{color:var(--fpe-color-danger)}.fpe-input{--fpe-input-text-color: var(--fpe-text-color-regular);--fpe-input-border: var(--fpe-border);--fpe-input-hover-border: var(--fpe-border-color-hover);--fpe-input-focus-border: var(--fpe-color-primary);--fpe-input-transparent-border: 0 0 0 1px transparent inset;--fpe-input-border-color: var(--fpe-border-color);--fpe-input-border-radius: var(--fpe-border-radius-base);--fpe-input-bg-color: var(--fpe-fill-color-blank);--fpe-input-icon-color: var(--fpe-text-color-placeholder);--fpe-input-placeholder-color: var(--fpe-text-color-placeholder);--fpe-input-hover-border-color: var(--fpe-border-color-hover);--fpe-input-clear-hover-color: var(--fpe-text-color-secondary);--fpe-input-focus-border-color: var(--fpe-color-primary)}.fpe-input{--fpe-input-height: var(--fpe-component-size);position:relative;font-size:var(--fpe-font-size-base);display:inline-flex;width:100%;line-height:var(--fpe-input-height);box-sizing:border-box;vertical-align:middle}.fpe-input::-webkit-scrollbar{z-index:11;width:6px}.fpe-input::-webkit-scrollbar:horizontal{height:6px}.fpe-input::-webkit-scrollbar-thumb{border-radius:5px;width:6px;background:var(--fpe-text-color-disabled)}.fpe-input::-webkit-scrollbar-corner{background:var(--fpe-fill-color-blank)}.fpe-input::-webkit-scrollbar-track{background:var(--fpe-fill-color-blank)}.fpe-input::-webkit-scrollbar-track-piece{background:var(--fpe-fill-color-blank);width:6px}.fpe-input .fpe-input__clear,.fpe-input .fpe-input__password{color:var(--fpe-input-icon-color);font-size:14px;cursor:pointer}.fpe-input .fpe-input__clear:hover,.fpe-input .fpe-input__password:hover{color:var(--fpe-input-clear-hover-color)}.fpe-input .fpe-input__count{height:100%;display:inline-flex;align-items:center;color:var(--fpe-color-info);font-size:12px}.fpe-input .fpe-input__count .fpe-input__count-inner{background:var(--fpe-fill-color-blank);line-height:initial;display:inline-block;padding-left:8px}.fpe-input__wrapper{display:inline-flex;flex-grow:1;align-items:center;justify-content:center;padding:1px 11px;background-color:var(--fpe-input-bg-color, var(--fpe-fill-color-blank));background-image:none;border-radius:var(--fpe-input-border-radius, var(--fpe-border-radius-base));transition:var(--fpe-transition-box-shadow);transform:translateZ(0);box-shadow:0 0 0 1px var(--fpe-input-border-color, var(--fpe-border-color)) inset}.fpe-input__wrapper:hover{box-shadow:0 0 0 1px var(--fpe-input-hover-border-color) inset}.fpe-input__wrapper.is-focus{box-shadow:0 0 0 1px var(--fpe-input-focus-border-color) inset}.fpe-input__inner{--fpe-input-inner-height: calc(var(--fpe-input-height, 32px) - 2px);width:100%;flex-grow:1;-webkit-appearance:none;color:var(--fpe-input-text-color, var(--fpe-text-color-regular));font-size:inherit;height:var(--fpe-input-inner-height);line-height:var(--fpe-input-inner-height);padding:0;outline:none;border:none;background:none;box-sizing:border-box}.fpe-input__inner:focus{outline:none}.fpe-input__inner::placeholder{color:var(--fpe-input-placeholder-color, var(--fpe-text-color-placeholder))}.fpe-input__inner[type=password]::-ms-reveal{display:none}.fpe-input__prefix{display:inline-flex;white-space:nowrap;flex-shrink:0;flex-wrap:nowrap;height:100%;text-align:center;color:var(--fpe-input-icon-color, var(--fpe-text-color-placeholder));transition:all var(--fpe-transition-duration);pointer-events:none}.fpe-input__prefix-inner{pointer-events:all;display:inline-flex;align-items:center;justify-content:center}.fpe-input__prefix-inner>:last-child{margin-right:8px}.fpe-input__prefix-inner>:first-child,.fpe-input__prefix-inner>:first-child.fpe-input__icon{margin-left:0}.fpe-input__suffix{display:inline-flex;white-space:nowrap;flex-shrink:0;flex-wrap:nowrap;height:100%;text-align:center;color:var(--fpe-input-icon-color, var(--fpe-text-color-placeholder));transition:all var(--fpe-transition-duration);pointer-events:none}.fpe-input__suffix-inner{pointer-events:all;display:inline-flex;align-items:center;justify-content:center}.fpe-input__suffix-inner>:first-child{margin-left:8px}.fpe-input .fpe-input__icon{height:inherit;line-height:inherit;display:flex;justify-content:center;align-items:center;transition:all var(--fpe-transition-duration);margin-left:8px}.fpe-input__validateIcon{pointer-events:none}.fpe-input.is-active .fpe-input__wrapper{box-shadow:0 0 0 1px var(--fpe-input-focus-color, ) inset}.fpe-input.is-disabled{cursor:not-allowed}.fpe-input.is-disabled .fpe-input__wrapper{background-color:var(--fpe-disabled-bg-color);box-shadow:0 0 0 1px var(--fpe-disabled-border-color) inset}.fpe-input.is-disabled .fpe-input__inner{color:var(--fpe-disabled-text-color);-webkit-text-fill-color:var(--fpe-disabled-text-color);cursor:not-allowed}.fpe-input.is-disabled .fpe-input__inner::placeholder{color:var(--fpe-text-color-placeholder)}.fpe-input.is-disabled .fpe-input__icon{cursor:not-allowed}.fpe-input.is-exceed .fpe-input__wrapper{box-shadow:0 0 0 1px var(--fpe-color-danger) inset}.fpe-input.is-exceed .fpe-input__suffix .fpe-input__count{color:var(--fpe-color-danger)}.fpe-input--large{--fpe-input-height: var(--fpe-component-size-large);font-size:14px}.fpe-input--large .fpe-input__wrapper{padding:1px 15px}.fpe-input--large .fpe-input__inner{--fpe-input-inner-height: calc(var(--fpe-input-height, 40px) - 2px)}.fpe-input--small{--fpe-input-height: var(--fpe-component-size-small);font-size:12px}.fpe-input--small .fpe-input__wrapper{padding:1px 7px}.fpe-input--small .fpe-input__inner{--fpe-input-inner-height: calc(var(--fpe-input-height, 24px) - 2px)}.fpe-input-group{display:inline-flex;width:100%;align-items:stretch}.fpe-input-group__append,.fpe-input-group__prepend{background-color:var(--fpe-fill-color-light);color:var(--fpe-color-info);position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:100%;border-radius:var(--fpe-input-border-radius);padding:0 20px;white-space:nowrap}.fpe-input-group__append:focus,.fpe-input-group__prepend:focus{outline:none}.fpe-input-group__append .fpe-select,.fpe-input-group__append .fpe-button,.fpe-input-group__prepend .fpe-select,.fpe-input-group__prepend .fpe-button{display:inline-block;margin:0 -20px}.fpe-input-group__append button.fpe-button,.fpe-input-group__append button.fpe-button:hover,.fpe-input-group__append div.fpe-select .fpe-input__wrapper,.fpe-input-group__append div.fpe-select:hover .fpe-input__wrapper,.fpe-input-group__prepend button.fpe-button,.fpe-input-group__prepend button.fpe-button:hover,.fpe-input-group__prepend div.fpe-select .fpe-input__wrapper,.fpe-input-group__prepend div.fpe-select:hover .fpe-input__wrapper{border-color:transparent;background-color:transparent;color:inherit}.fpe-input-group__append .fpe-button,.fpe-input-group__append .fpe-input,.fpe-input-group__prepend .fpe-button,.fpe-input-group__prepend .fpe-input{font-size:inherit}.fpe-input-group__prepend{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0;box-shadow:1px 0 0 0 var(--fpe-input-border-color) inset,0 1px 0 0 var(--fpe-input-border-color) inset,0 -1px 0 0 var(--fpe-input-border-color) inset}.fpe-input-group__append{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0;box-shadow:0 1px 0 0 var(--fpe-input-border-color) inset,0 -1px 0 0 var(--fpe-input-border-color) inset,-1px 0 0 0 var(--fpe-input-border-color) inset}.fpe-input-group--prepend>.fpe-input__wrapper{border-top-left-radius:0;border-bottom-left-radius:0}.fpe-input-group--prepend .fpe-input-group__prepend .fpe-select .fpe-input .fpe-input__inner{box-shadow:none!important}.fpe-input-group--prepend .fpe-input-group__prepend .fpe-select .fpe-input .fpe-input__wrapper{border-top-right-radius:0;border-bottom-right-radius:0;box-shadow:1px 0 0 0 var(--fpe-input-border-color) inset,0 1px 0 0 var(--fpe-input-border-color) inset,0 -1px 0 0 var(--fpe-input-border-color) inset}.fpe-input-group--prepend .fpe-input-group__prepend .fpe-select .fpe-input.is-focus .fpe-input__inner{box-shadow:none!important}.fpe-input-group--prepend .fpe-input-group__prepend .fpe-select .fpe-input.is-focus .fpe-input__wrapper{box-shadow:1px 0 0 0 var(--fpe-input-focus-border-color) inset,1px 0 0 0 var(--fpe-input-focus-border-color),0 1px 0 0 var(--fpe-input-focus-border-color) inset,0 -1px 0 0 var(--fpe-input-focus-border-color) inset!important;z-index:2}.fpe-input-group--prepend .fpe-input-group__prepend .fpe-select .fpe-input.is-focus .fpe-input__wrapper:focus{outline:none;z-index:2;box-shadow:1px 0 0 0 var(--fpe-input-focus-border-color) inset,1px 0 0 0 var(--fpe-input-focus-border-color),0 1px 0 0 var(--fpe-input-focus-border-color) inset,0 -1px 0 0 var(--fpe-input-focus-border-color) inset!important}.fpe-input-group--prepend .fpe-input-group__prepend .fpe-select:hover .fpe-input__inner{box-shadow:none!important}.fpe-input-group--prepend .fpe-input-group__prepend .fpe-select:hover .fpe-input__wrapper{z-index:1;box-shadow:1px 0 0 0 var(--fpe-input-hover-border-color) inset,1px 0 0 0 var(--fpe-input-hover-border-color),0 1px 0 0 var(--fpe-input-hover-border-color) inset,0 -1px 0 0 var(--fpe-input-hover-border-color) inset!important}.fpe-input-group--append>.fpe-input__wrapper{border-top-right-radius:0;border-bottom-right-radius:0}.fpe-input-group--append .fpe-input-group__append .fpe-select .fpe-input .fpe-input__inner{box-shadow:none!important}.fpe-input-group--append .fpe-input-group__append .fpe-select .fpe-input .fpe-input__wrapper{border-top-left-radius:0;border-bottom-left-radius:0;box-shadow:0 1px 0 0 var(--fpe-input-border-color) inset,0 -1px 0 0 var(--fpe-input-border-color) inset,-1px 0 0 0 var(--fpe-input-border-color) inset}.fpe-input-group--append .fpe-input-group__append .fpe-select .fpe-input.is-focus .fpe-input__inner{box-shadow:none!important}.fpe-input-group--append .fpe-input-group__append .fpe-select .fpe-input.is-focus .fpe-input__wrapper{z-index:2;box-shadow:-1px 0 0 0 var(--fpe-input-focus-border-color),-1px 0 0 0 var(--fpe-input-focus-border-color) inset,0 1px 0 0 var(--fpe-input-focus-border-color) inset,0 -1px 0 0 var(--fpe-input-focus-border-color) inset!important}.fpe-input-group--append .fpe-input-group__append .fpe-select:hover .fpe-input__inner{box-shadow:none!important}.fpe-input-group--append .fpe-input-group__append .fpe-select:hover .fpe-input__wrapper{z-index:1;box-shadow:-1px 0 0 0 var(--fpe-input-hover-border-color),-1px 0 0 0 var(--fpe-input-hover-border-color) inset,0 1px 0 0 var(--fpe-input-hover-border-color) inset,0 -1px 0 0 var(--fpe-input-hover-border-color) inset!important}.fpe-tag{--fpe-tag-font-size: 12px;--fpe-tag-border-radius: 4px;--fpe-tag-border-radius-rounded: 9999px}.fpe-tag{--fpe-tag-bg-color: var(--fpe-color-primary-light-9);--fpe-tag-border-color: var(--fpe-color-primary-light-8);--fpe-tag-hover-color: var(--fpe-color-primary);--fpe-tag-text-color: var(--fpe-color-primary);background-color:var(--fpe-tag-bg-color);border-color:var(--fpe-tag-border-color);color:var(--fpe-tag-text-color);display:inline-flex;justify-content:center;align-items:center;height:24px;padding:0 9px;font-size:var(--fpe-tag-font-size);line-height:1;border-width:1px;border-style:solid;border-radius:var(--fpe-tag-border-radius);box-sizing:border-box;white-space:nowrap;--fpe-icon-size: 14px}.fpe-tag.fpe-tag--primary{--fpe-tag-bg-color: var(--fpe-color-primary-light-9);--fpe-tag-border-color: var(--fpe-color-primary-light-8);--fpe-tag-hover-color: var(--fpe-color-primary)}.fpe-tag.fpe-tag--success{--fpe-tag-bg-color: var(--fpe-color-success-light-9);--fpe-tag-border-color: var(--fpe-color-success-light-8);--fpe-tag-hover-color: var(--fpe-color-success)}.fpe-tag.fpe-tag--warning{--fpe-tag-bg-color: var(--fpe-color-warning-light-9);--fpe-tag-border-color: var(--fpe-color-warning-light-8);--fpe-tag-hover-color: var(--fpe-color-warning)}.fpe-tag.fpe-tag--danger{--fpe-tag-bg-color: var(--fpe-color-danger-light-9);--fpe-tag-border-color: var(--fpe-color-danger-light-8);--fpe-tag-hover-color: var(--fpe-color-danger)}.fpe-tag.fpe-tag--error{--fpe-tag-bg-color: var(--fpe-color-error-light-9);--fpe-tag-border-color: var(--fpe-color-error-light-8);--fpe-tag-hover-color: var(--fpe-color-error)}.fpe-tag.fpe-tag--info{--fpe-tag-bg-color: var(--fpe-color-info-light-9);--fpe-tag-border-color: var(--fpe-color-info-light-8);--fpe-tag-hover-color: var(--fpe-color-info)}.fpe-tag.fpe-tag--primary{--fpe-tag-text-color: var(--fpe-color-primary)}.fpe-tag.fpe-tag--success{--fpe-tag-text-color: var(--fpe-color-success)}.fpe-tag.fpe-tag--warning{--fpe-tag-text-color: var(--fpe-color-warning)}.fpe-tag.fpe-tag--danger{--fpe-tag-text-color: var(--fpe-color-danger)}.fpe-tag.fpe-tag--error{--fpe-tag-text-color: var(--fpe-color-error)}.fpe-tag.fpe-tag--info{--fpe-tag-text-color: var(--fpe-color-info)}.fpe-tag.is-hit{border-color:var(--fpe-color-primary)}.fpe-tag.is-round{border-radius:var(--fpe-tag-border-radius-rounded)}.fpe-tag .fpe-tag__close{color:var(--fpe-tag-text-color)}.fpe-tag .fpe-tag__close:hover{color:var(--fpe-color-white);background-color:var(--fpe-tag-hover-color)}.fpe-tag .fpe-icon{border-radius:50%;cursor:pointer;font-size:calc(var(--fpe-icon-size) - 2px);height:var(--fpe-icon-size);width:var(--fpe-icon-size)}.fpe-tag .fpe-tag__close{margin-left:6px}.fpe-tag--dark{--fpe-tag-bg-color: var(--fpe-color-primary);--fpe-tag-border-color: var(--fpe-color-primary);--fpe-tag-hover-color: var(--fpe-color-primary-light-3);--fpe-tag-text-color: var(--fpe-color-white)}.fpe-tag--dark.fpe-tag--primary{--fpe-tag-bg-color: var(--fpe-color-primary);--fpe-tag-border-color: var(--fpe-color-primary);--fpe-tag-hover-color: var(--fpe-color-primary-light-3)}.fpe-tag--dark.fpe-tag--success{--fpe-tag-bg-color: var(--fpe-color-success);--fpe-tag-border-color: var(--fpe-color-success);--fpe-tag-hover-color: var(--fpe-color-success-light-3)}.fpe-tag--dark.fpe-tag--warning{--fpe-tag-bg-color: var(--fpe-color-warning);--fpe-tag-border-color: var(--fpe-color-warning);--fpe-tag-hover-color: var(--fpe-color-warning-light-3)}.fpe-tag--dark.fpe-tag--danger{--fpe-tag-bg-color: var(--fpe-color-danger);--fpe-tag-border-color: var(--fpe-color-danger);--fpe-tag-hover-color: var(--fpe-color-danger-light-3)}.fpe-tag--dark.fpe-tag--error{--fpe-tag-bg-color: var(--fpe-color-error);--fpe-tag-border-color: var(--fpe-color-error);--fpe-tag-hover-color: var(--fpe-color-error-light-3)}.fpe-tag--dark.fpe-tag--info{--fpe-tag-bg-color: var(--fpe-color-info);--fpe-tag-border-color: var(--fpe-color-info);--fpe-tag-hover-color: var(--fpe-color-info-light-3)}.fpe-tag--dark.fpe-tag--primary,.fpe-tag--dark.fpe-tag--success,.fpe-tag--dark.fpe-tag--warning,.fpe-tag--dark.fpe-tag--danger,.fpe-tag--dark.fpe-tag--error,.fpe-tag--dark.fpe-tag--info{--fpe-tag-text-color: var(--fpe-color-white)}.fpe-tag--plain{--fpe-tag-border-color: var(--fpe-color-primary-light-5);--fpe-tag-hover-color: var(--fpe-color-primary);--fpe-tag-bg-color: var(--fpe-fill-color-blank)}.fpe-tag--plain.fpe-tag--primary{--fpe-tag-bg-color: var(--fpe-fill-color-blank);--fpe-tag-border-color: var(--fpe-color-primary-light-5);--fpe-tag-hover-color: var(--fpe-color-primary)}.fpe-tag--plain.fpe-tag--success{--fpe-tag-bg-color: var(--fpe-fill-color-blank);--fpe-tag-border-color: var(--fpe-color-success-light-5);--fpe-tag-hover-color: var(--fpe-color-success)}.fpe-tag--plain.fpe-tag--warning{--fpe-tag-bg-color: var(--fpe-fill-color-blank);--fpe-tag-border-color: var(--fpe-color-warning-light-5);--fpe-tag-hover-color: var(--fpe-color-warning)}.fpe-tag--plain.fpe-tag--danger{--fpe-tag-bg-color: var(--fpe-fill-color-blank);--fpe-tag-border-color: var(--fpe-color-danger-light-5);--fpe-tag-hover-color: var(--fpe-color-danger)}.fpe-tag--plain.fpe-tag--error{--fpe-tag-bg-color: var(--fpe-fill-color-blank);--fpe-tag-border-color: var(--fpe-color-error-light-5);--fpe-tag-hover-color: var(--fpe-color-error)}.fpe-tag--plain.fpe-tag--info{--fpe-tag-bg-color: var(--fpe-fill-color-blank);--fpe-tag-border-color: var(--fpe-color-info-light-5);--fpe-tag-hover-color: var(--fpe-color-info)}.fpe-tag.is-closable{padding-right:5px}.fpe-tag--large{padding:0 11px;height:32px;--fpe-icon-size: 16px}.fpe-tag--large .fpe-tag__close{margin-left:8px}.fpe-tag--large.is-closable{padding-right:7px}.fpe-tag--small{padding:0 7px;height:20px;--fpe-icon-size: 12px}.fpe-tag--small .fpe-tag__close{margin-left:4px}.fpe-tag--small.is-closable{padding-right:3px}.fpe-tag--small .fpe-icon-close{transform:scale(.8)}.fpe-tag.fpe-tag--primary.is-hit{border-color:var(--fpe-color-primary)}.fpe-tag.fpe-tag--success.is-hit{border-color:var(--fpe-color-success)}.fpe-tag.fpe-tag--warning.is-hit{border-color:var(--fpe-color-warning)}.fpe-tag.fpe-tag--danger.is-hit{border-color:var(--fpe-color-danger)}.fpe-tag.fpe-tag--error.is-hit{border-color:var(--fpe-color-error)}.fpe-tag.fpe-tag--info.is-hit{border-color:var(--fpe-color-info)}.fpe-select-dropdown__item{font-size:var(--fpe-font-size-base);padding:0 32px 0 20px;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--fpe-text-color-regular);height:34px;line-height:34px;box-sizing:border-box;cursor:pointer}.fpe-select-dropdown__item.is-disabled{color:var(--fpe-text-color-placeholder);cursor:not-allowed}.fpe-select-dropdown__item.hover,.fpe-select-dropdown__item:hover{background-color:var(--fpe-fill-color-light)}.fpe-select-dropdown__item.selected{color:var(--fpe-color-primary);font-weight:700}.fpe-select-group{margin:0;padding:0}.fpe-select-group__wrap{position:relative;list-style:none;margin:0;padding:0}.fpe-select-group__wrap:not(:last-of-type){padding-bottom:24px}.fpe-select-group__wrap:not(:last-of-type):after{content:"";position:absolute;display:block;left:20px;right:20px;bottom:12px;height:1px;background:var(--fpe-border-color-light)}.fpe-select-group__split-dash{position:absolute;left:20px;right:20px;height:1px;background:var(--fpe-border-color-light)}.fpe-select-group__title{padding-left:20px;font-size:12px;color:var(--fpe-color-info);line-height:30px}.fpe-select-group .fpe-select-dropdown__item{padding-left:20px}.fpe-scrollbar{--fpe-scrollbar-opacity: .3;--fpe-scrollbar-bg-color: var(--fpe-text-color-secondary);--fpe-scrollbar-hover-opacity: .5;--fpe-scrollbar-hover-bg-color: var(--fpe-text-color-secondary)}.fpe-scrollbar{overflow:hidden;position:relative;height:100%}.fpe-scrollbar__wrap{overflow:auto;height:100%}.fpe-scrollbar__wrap--hidden-default{scrollbar-width:none}.fpe-scrollbar__wrap--hidden-default::-webkit-scrollbar{display:none}.fpe-scrollbar__thumb{position:relative;display:block;width:0;height:0;cursor:pointer;border-radius:inherit;background-color:var(--fpe-scrollbar-bg-color, var(--fpe-text-color-secondary));transition:var(--fpe-transition-duration) background-color;opacity:var(--fpe-scrollbar-opacity, .3)}.fpe-scrollbar__thumb:hover{background-color:var(--fpe-scrollbar-hover-bg-color, var(--fpe-text-color-secondary));opacity:var(--fpe-scrollbar-hover-opacity, .5)}.fpe-scrollbar__bar{position:absolute;right:2px;bottom:2px;z-index:1;border-radius:4px}.fpe-scrollbar__bar.is-vertical{width:6px;top:2px}.fpe-scrollbar__bar.is-vertical>div{width:100%}.fpe-scrollbar__bar.is-horizontal{height:6px;left:2px}.fpe-scrollbar__bar.is-horizontal>div{height:100%}.fpe-scrollbar-fade-enter-active{transition:opacity .34s ease-out}.fpe-scrollbar-fade-leave-active{transition:opacity .12s ease-out}.fpe-scrollbar-fade-enter-from,.fpe-scrollbar-fade-leave-active{opacity:0}.fpe-popper{--fpe-popper-border-radius: var(--fpe-popover-border-radius, 4px)}.fpe-popper{position:absolute;border-radius:var(--fpe-popper-border-radius);padding:5px 11px;z-index:2000;font-size:12px;line-height:20px;min-width:10px;word-wrap:break-word;visibility:visible}.fpe-popper.is-dark{color:var(--fpe-bg-color);background:var(--fpe-text-color-primary);border:1px solid var(--fpe-text-color-primary)}.fpe-popper.is-dark .fpe-popper__arrow:before{border:1px solid var(--fpe-text-color-primary);background:var(--fpe-text-color-primary);right:0}.fpe-popper.is-light{background:var(--fpe-bg-color-overlay);border:1px solid var(--fpe-border-color-light)}.fpe-popper.is-light .fpe-popper__arrow:before{border:1px solid var(--fpe-border-color-light);background:var(--fpe-bg-color-overlay);right:0}.fpe-popper.is-pure{padding:0}.fpe-popper__arrow{position:absolute;width:10px;height:10px;z-index:-1}.fpe-popper__arrow:before{position:absolute;width:10px;height:10px;z-index:-1;content:" ";transform:rotate(45deg);background:var(--fpe-text-color-primary);box-sizing:border-box}.fpe-popper[data-popper-placement^=top]>.fpe-popper__arrow{bottom:-5px}.fpe-popper[data-popper-placement^=top]>.fpe-popper__arrow:before{border-bottom-right-radius:2px}.fpe-popper[data-popper-placement^=bottom]>.fpe-popper__arrow{top:-5px}.fpe-popper[data-popper-placement^=bottom]>.fpe-popper__arrow:before{border-top-left-radius:2px}.fpe-popper[data-popper-placement^=left]>.fpe-popper__arrow{right:-5px}.fpe-popper[data-popper-placement^=left]>.fpe-popper__arrow:before{border-top-right-radius:2px}.fpe-popper[data-popper-placement^=right]>.fpe-popper__arrow{left:-5px}.fpe-popper[data-popper-placement^=right]>.fpe-popper__arrow:before{border-bottom-left-radius:2px}.fpe-popper[data-popper-placement^=top] .fpe-popper__arrow:before{border-top-color:transparent!important;border-left-color:transparent!important}.fpe-popper[data-popper-placement^=bottom] .fpe-popper__arrow:before{border-bottom-color:transparent!important;border-right-color:transparent!important}.fpe-popper[data-popper-placement^=left] .fpe-popper__arrow:before{border-left-color:transparent!important;border-bottom-color:transparent!important}.fpe-popper[data-popper-placement^=right] .fpe-popper__arrow:before{border-right-color:transparent!important;border-top-color:transparent!important}.fpe-select-dropdown{z-index:calc(var(--fpe-index-top) + 1);border-radius:var(--fpe-border-radius-base);box-sizing:border-box}.fpe-select-dropdown.is-multiple .fpe-select-dropdown__item.selected{color:var(--fpe-color-primary);background-color:var(--fpe-bg-color-overlay)}.fpe-select-dropdown.is-multiple .fpe-select-dropdown__item.selected.hover{background-color:var(--fpe-fill-color-light)}.fpe-select-dropdown.is-multiple .fpe-select-dropdown__item.selected:after{content:"";position:absolute;top:50%;right:20px;border-top:none;border-right:none;background-repeat:no-repeat;background-position:center;background-color:var(--fpe-color-primary);mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask-size:100% 100%;-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;-webkit-mask-size:100% 100%;transform:translateY(-50%);width:12px;height:12px}.fpe-select-dropdown.is-multiple .fpe-select-dropdown__item.selected.is-disabled:after{background-color:var(--fpe-text-color-disabled)}.fpe-select-dropdown .fpe-select-dropdown__option-item.is-selected:after{content:"";position:absolute;top:50%;right:20px;border-top:none;border-right:none;background-repeat:no-repeat;background-position:center;background-color:var(--fpe-color-primary);mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask-size:100% 100%;-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;-webkit-mask-size:100% 100%;transform:translateY(-50%);width:12px;height:12px}.fpe-select-dropdown .fpe-scrollbar.is-empty .fpe-select-dropdown__list{padding:0}.fpe-select-dropdown .fpe-select-dropdown__item.is-disabled:hover{background-color:unset}.fpe-select-dropdown .fpe-select-dropdown__item.is-disabled.selected{color:var(--fpe-text-color-disabled)}.fpe-select-dropdown__empty{padding:10px 0;margin:0;text-align:center;color:var(--fpe-text-color-secondary);font-size:var(--fpe-select-font-size)}.fpe-select-dropdown__wrap{max-height:274px}.fpe-select-dropdown__list{list-style:none;padding:6px 0;margin:0;box-sizing:border-box}.fpe-select{--fpe-select-border-color-hover: var(--fpe-border-color-hover);--fpe-select-disabled-border: var(--fpe-disabled-border-color);--fpe-select-font-size: var(--fpe-font-size-base);--fpe-select-close-hover-color: var(--fpe-text-color-secondary);--fpe-select-input-color: var(--fpe-text-color-placeholder);--fpe-select-multiple-input-color: var(--fpe-text-color-regular);--fpe-select-input-focus-border-color: var(--fpe-color-primary);--fpe-select-input-font-size: 14px}.fpe-select{display:inline-block;position:relative;vertical-align:middle;line-height:32px}.fpe-select__popper.fpe-popper{background:var(--fpe-bg-color-overlay);border:1px solid var(--fpe-border-color-light);box-shadow:var(--fpe-box-shadow-light)}.fpe-select__popper.fpe-popper .fpe-popper__arrow:before{border:1px solid var(--fpe-border-color-light)}.fpe-select__popper.fpe-popper[data-popper-placement^=top] .fpe-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.fpe-select__popper.fpe-popper[data-popper-placement^=bottom] .fpe-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.fpe-select__popper.fpe-popper[data-popper-placement^=left] .fpe-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.fpe-select__popper.fpe-popper[data-popper-placement^=right] .fpe-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.fpe-select .fpe-select-tags-wrapper.has-prefix{margin-left:6px}.fpe-select--large{line-height:40px}.fpe-select--large .fpe-select-tags-wrapper.has-prefix{margin-left:8px}.fpe-select--small{line-height:24px}.fpe-select--small .fpe-select-tags-wrapper.has-prefix{margin-left:4px}.fpe-select .fpe-select__tags>span{display:inline-block}.fpe-select:hover:not(.fpe-select--disabled) .fpe-input__wrapper{box-shadow:0 0 0 1px var(--fpe-select-border-color-hover) inset}.fpe-select .fpe-select__tags-text{display:inline-block;line-height:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fpe-select .fpe-input__wrapper{cursor:pointer}.fpe-select .fpe-input__wrapper.is-focus{box-shadow:0 0 0 1px var(--fpe-select-input-focus-border-color) inset!important}.fpe-select .fpe-input__inner{cursor:pointer}.fpe-select .fpe-input{display:flex}.fpe-select .fpe-input .fpe-select__caret{color:var(--fpe-select-input-color);font-size:var(--fpe-select-input-font-size);transition:transform var(--fpe-transition-duration);transform:rotate(0);cursor:pointer}.fpe-select .fpe-input .fpe-select__caret.is-reverse{transform:rotate(-180deg)}.fpe-select .fpe-input .fpe-select__caret.is-show-close{font-size:var(--fpe-select-font-size);text-align:center;transform:rotate(0);border-radius:var(--fpe-border-radius-circle);color:var(--fpe-select-input-color);transition:var(--fpe-transition-color)}.fpe-select .fpe-input .fpe-select__caret.is-show-close:hover{color:var(--fpe-select-close-hover-color)}.fpe-select .fpe-input .fpe-select__caret.fpe-icon{position:relative;height:inherit;z-index:2}.fpe-select .fpe-input.is-disabled .fpe-input__wrapper{cursor:not-allowed}.fpe-select .fpe-input.is-disabled .fpe-input__wrapper:hover{box-shadow:0 0 0 1px var(--fpe-select-disabled-border) inset}.fpe-select .fpe-input.is-disabled .fpe-input__inner,.fpe-select .fpe-input.is-disabled .fpe-select__caret{cursor:not-allowed}.fpe-select .fpe-input.is-focus .fpe-input__wrapper{box-shadow:0 0 0 1px var(--fpe-select-input-focus-border-color) inset!important}.fpe-select__input{border:none;outline:none;padding:0;margin-left:15px;color:var(--fpe-select-multiple-input-color);font-size:var(--fpe-select-font-size);appearance:none;height:28px;background-color:transparent}.fpe-select__input.is-disabled{cursor:not-allowed}.fpe-select__input--iOS{position:absolute;left:0;top:0;z-index:6}.fpe-select__input.is-small{height:14px}.fpe-select__close{cursor:pointer;position:absolute;top:8px;z-index:var(--fpe-index-top);right:25px;color:var(--fpe-select-input-color);line-height:18px;font-size:var(--fpe-select-input-font-size)}.fpe-select__close:hover{color:var(--fpe-select-close-hover-color)}.fpe-select__tags{position:absolute;line-height:normal;top:50%;transform:translateY(-50%);white-space:normal;z-index:var(--fpe-index-normal);display:flex;align-items:center;flex-wrap:wrap;cursor:pointer}.fpe-select__tags .fpe-tag{box-sizing:border-box;border-color:transparent;margin:2px 6px 2px 0}.fpe-select__tags .fpe-tag:last-child{margin-right:0}.fpe-select__tags .fpe-tag .fpe-icon-close{background-color:var(--fpe-text-color-placeholder);right:-7px;top:0;color:#fff}.fpe-select__tags .fpe-tag .fpe-icon-close:hover{background-color:var(--fpe-text-color-secondary)}.fpe-select__tags .fpe-tag .fpe-icon-close:before{display:block;transform:translateY(.5px)}.fpe-select__tags .fpe-tag--info{background-color:var(--fpe-fill-color)}.fpe-select__tags.is-disabled{cursor:not-allowed}.fpe-select__collapse-tags{white-space:normal;z-index:var(--fpe-index-normal);display:flex;align-items:center;flex-wrap:wrap;cursor:pointer}.fpe-select__collapse-tags .fpe-tag{box-sizing:border-box;border-color:transparent;margin:2px 6px 2px 0}.fpe-select__collapse-tags .fpe-tag:last-child{margin-right:0}.fpe-select__collapse-tags .fpe-tag .fpe-icon-close{background-color:var(--fpe-text-color-placeholder);right:-7px;top:0;color:#fff}.fpe-select__collapse-tags .fpe-tag .fpe-icon-close:hover{background-color:var(--fpe-text-color-secondary)}.fpe-select__collapse-tags .fpe-tag .fpe-icon-close:before{display:block;transform:translateY(.5px)}.fpe-select__collapse-tags .fpe-tag--info{background-color:var(--fpe-fill-color)}.fpe-select__collapse-tag{line-height:inherit;height:inherit;display:flex}.el-date-table{font-size:12px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.el-date-table.is-week-mode .el-date-table__row:hover .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table.is-week-mode .el-date-table__row:hover td.available:hover{color:var(--el-datepicker-text-color)}.el-date-table.is-week-mode .el-date-table__row:hover td:first-child .el-date-table-cell{margin-left:5px;border-top-left-radius:15px;border-bottom-left-radius:15px}.el-date-table.is-week-mode .el-date-table__row:hover td:last-child .el-date-table-cell{margin-right:5px;border-top-right-radius:15px;border-bottom-right-radius:15px}.el-date-table.is-week-mode .el-date-table__row.current .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table td{width:32px;height:30px;padding:4px 0;box-sizing:border-box;text-align:center;cursor:pointer;position:relative}.el-date-table td .el-date-table-cell{height:30px;padding:3px 0;box-sizing:border-box}.el-date-table td .el-date-table-cell .el-date-table-cell__text{width:24px;height:24px;display:block;margin:0 auto;line-height:24px;position:absolute;left:50%;transform:translate(-50%);border-radius:50%}.el-date-table td.next-month,.el-date-table td.prev-month{color:var(--el-datepicker-off-text-color)}.el-date-table td.today{position:relative}.el-date-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:700}.el-date-table td.today.end-date .el-date-table-cell__text,.el-date-table td.today.start-date .el-date-table-cell__text{color:#fff}.el-date-table td.available:hover{color:var(--el-datepicker-hover-text-color)}.el-date-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-date-table td.current:not(.disabled) .el-date-table-cell__text{color:#fff;background-color:var(--el-datepicker-active-color)}.el-date-table td.current:not(.disabled):focus-visible .el-date-table-cell__text{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.el-date-table td.end-date .el-date-table-cell,.el-date-table td.start-date .el-date-table-cell{color:#fff}.el-date-table td.end-date .el-date-table-cell__text,.el-date-table td.start-date .el-date-table-cell__text{background-color:var(--el-datepicker-active-color)}.el-date-table td.start-date .el-date-table-cell{margin-left:5px;border-top-left-radius:15px;border-bottom-left-radius:15px}.el-date-table td.end-date .el-date-table-cell{margin-right:5px;border-top-right-radius:15px;border-bottom-right-radius:15px}.el-date-table td.disabled .el-date-table-cell{background-color:var(--el-fill-color-light);opacity:1;cursor:not-allowed;color:var(--el-text-color-placeholder)}.el-date-table td.selected .el-date-table-cell{margin-left:5px;margin-right:5px;background-color:var(--el-datepicker-inrange-bg-color);border-radius:15px}.el-date-table td.selected .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-date-table td.selected .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff;border-radius:15px}.el-date-table td.week{font-size:80%;color:var(--el-datepicker-header-text-color)}.el-date-table td:focus{outline:0}.el-date-table th{padding:5px;color:var(--el-datepicker-header-text-color);font-weight:400;border-bottom:solid 1px var(--el-border-color-lighter)}.el-month-table{font-size:12px;margin:-1px;border-collapse:collapse}.el-month-table td{text-align:center;padding:8px 0;cursor:pointer}.el-month-table td div{height:48px;padding:6px 0;box-sizing:border-box}.el-month-table td.today .cell{color:var(--el-color-primary);font-weight:700}.el-month-table td.today.end-date .cell,.el-month-table td.today.start-date .cell{color:#fff}.el-month-table td.disabled .cell{background-color:var(--el-fill-color-light);cursor:not-allowed;color:var(--el-text-color-placeholder)}.el-month-table td.disabled .cell:hover{color:var(--el-text-color-placeholder)}.el-month-table td .cell{width:60px;height:36px;display:block;line-height:36px;color:var(--el-datepicker-text-color);margin:0 auto;border-radius:18px}.el-month-table td .cell:hover{color:var(--el-datepicker-hover-text-color)}.el-month-table td.in-range div{background-color:var(--el-datepicker-inrange-bg-color)}.el-month-table td.in-range div:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-month-table td.end-date div,.el-month-table td.start-date div{color:#fff}.el-month-table td.end-date .cell,.el-month-table td.start-date .cell{color:#fff;background-color:var(--el-datepicker-active-color)}.el-month-table td.start-date div{border-top-left-radius:24px;border-bottom-left-radius:24px}.el-month-table td.end-date div{border-top-right-radius:24px;border-bottom-right-radius:24px}.el-month-table td.current:not(.disabled) .cell{color:var(--el-datepicker-active-color)}.el-month-table td:focus-visible{outline:0}.el-month-table td:focus-visible .cell{outline:2px solid var(--el-datepicker-active-color)}.el-year-table{font-size:12px;margin:-1px;border-collapse:collapse}.el-year-table .el-icon{color:var(--el-datepicker-icon-color)}.el-year-table td{text-align:center;padding:20px 3px;cursor:pointer}.el-year-table td.today .cell{color:var(--el-color-primary);font-weight:700}.el-year-table td.disabled .cell{background-color:var(--el-fill-color-light);cursor:not-allowed;color:var(--el-text-color-placeholder)}.el-year-table td.disabled .cell:hover{color:var(--el-text-color-placeholder)}.el-year-table td .cell{width:48px;height:36px;display:block;line-height:36px;color:var(--el-datepicker-text-color);border-radius:18px;margin:0 auto}.el-year-table td .cell:hover{color:var(--el-datepicker-hover-text-color)}.el-year-table td.current:not(.disabled) .cell{color:var(--el-datepicker-active-color)}.el-year-table td:focus-visible{outline:0}.el-year-table td:focus-visible .cell{outline:2px solid var(--el-datepicker-active-color)}.el-time-spinner.has-seconds .el-time-spinner__wrapper{width:33.3%}.el-time-spinner__wrapper{max-height:192px;overflow:auto;display:inline-block;width:50%;vertical-align:top;position:relative}.el-time-spinner__wrapper.el-scrollbar__wrap:not(.el-scrollbar__wrap--hidden-default){padding-bottom:15px}.el-time-spinner__wrapper.is-arrow{box-sizing:border-box;text-align:center;overflow:hidden}.el-time-spinner__wrapper.is-arrow .el-time-spinner__list{transform:translateY(-32px)}.el-time-spinner__wrapper.is-arrow .el-time-spinner__item:hover:not(.is-disabled):not(.is-active){background:var(--el-fill-color-light);cursor:default}.el-time-spinner__arrow{font-size:12px;color:var(--el-text-color-secondary);position:absolute;left:0;width:100%;z-index:var(--el-index-normal);text-align:center;height:30px;line-height:30px;cursor:pointer}.el-time-spinner__arrow:hover{color:var(--el-color-primary)}.el-time-spinner__arrow.arrow-up{top:10px}.el-time-spinner__arrow.arrow-down{bottom:10px}.el-time-spinner__input.el-input{width:70%}.el-time-spinner__input.el-input .el-input__inner{padding:0;text-align:center}.el-time-spinner__list{padding:0;margin:0;list-style:none;text-align:center}.el-time-spinner__list:after,.el-time-spinner__list:before{content:"";display:block;width:100%;height:80px}.el-time-spinner__item{height:32px;line-height:32px;font-size:12px;color:var(--el-text-color-regular)}.el-time-spinner__item:hover:not(.is-disabled):not(.is-active){background:var(--el-fill-color-light);cursor:pointer}.el-time-spinner__item.is-active:not(.is-disabled){color:var(--el-text-color-primary);font-weight:700}.el-time-spinner__item.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.fade-in-linear-enter-from,.fade-in-linear-leave-to{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.el-fade-in-linear-enter-from,.el-fade-in-linear-leave-to{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-fade-in-enter-from,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter-from,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transition:var(--el-transition-md-fade);transform-origin:center top}.el-zoom-in-top-enter-active[data-popper-placement^=top],.el-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:center bottom}.el-zoom-in-top-enter-from,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transform:scaleY(1);transition:var(--el-transition-md-fade);transform-origin:center bottom}.el-zoom-in-bottom-enter-from,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transform:scale(1);transition:var(--el-transition-md-fade);transform-origin:top left}.el-zoom-in-left-enter-from,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:var(--el-transition-duration) height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.el-collapse-transition-enter-active,.el-collapse-transition-leave-active{transition:var(--el-transition-duration) max-height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--el-transition-duration) width ease-in-out,var(--el-transition-duration) padding-left ease-in-out,var(--el-transition-duration) padding-right ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter-from,.el-list-leave-to{opacity:0;transform:translateY(-30px)}.el-list-leave-active{position:absolute!important}.el-opacity-transition{transition:opacity var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-picker__popper{--el-datepicker-border-color:var(--el-disabled-border-color)}.el-picker__popper.el-popper{background:var(--el-bg-color-overlay);border:1px solid var(--el-datepicker-border-color);box-shadow:var(--el-box-shadow-light)}.el-picker__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-datepicker-border-color)}.el-picker__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-picker__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-picker__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-picker__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-date-editor{--el-date-editor-width:220px;--el-date-editor-monthrange-width:300px;--el-date-editor-daterange-width:350px;--el-date-editor-datetimerange-width:400px;--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);position:relative;display:inline-block;text-align:left}.el-date-editor.el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset}.el-date-editor.el-input__wrapper:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-date-editor.el-input,.el-date-editor.el-input__wrapper{width:var(--el-date-editor-width);height:var(--el-input-height,var(--el-component-size))}.el-date-editor--monthrange{--el-date-editor-width:var(--el-date-editor-monthrange-width)}.el-date-editor--daterange,.el-date-editor--timerange{--el-date-editor-width:var(--el-date-editor-daterange-width)}.el-date-editor--datetimerange{--el-date-editor-width:var(--el-date-editor-datetimerange-width)}.el-date-editor--dates .el-input__wrapper{text-overflow:ellipsis;white-space:nowrap}.el-date-editor .close-icon,.el-date-editor .clear-icon{cursor:pointer}.el-date-editor .clear-icon:hover{color:var(--el-text-color-secondary)}.el-date-editor .el-range__icon{height:inherit;font-size:14px;color:var(--el-text-color-placeholder);float:left}.el-date-editor .el-range__icon svg{vertical-align:middle}.el-date-editor .el-range-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;outline:0;display:inline-block;height:30px;line-height:30px;margin:0;padding:0;width:39%;text-align:center;font-size:var(--el-font-size-base);color:var(--el-text-color-regular);background-color:transparent}.el-date-editor .el-range-input::-moz-placeholder{color:var(--el-text-color-placeholder)}.el-date-editor .el-range-input:-ms-input-placeholder{color:var(--el-text-color-placeholder)}.el-date-editor .el-range-input::placeholder{color:var(--el-text-color-placeholder)}.el-date-editor .el-range-separator{flex:1;display:inline-flex;justify-content:center;align-items:center;height:100%;padding:0 5px;margin:0;font-size:14px;word-break:keep-all;color:var(--el-text-color-primary)}.el-date-editor .el-range__close-icon{font-size:14px;color:var(--el-text-color-placeholder);height:inherit;width:unset;cursor:pointer}.el-date-editor .el-range__close-icon:hover{color:var(--el-text-color-secondary)}.el-date-editor .el-range__close-icon svg{vertical-align:middle}.el-date-editor .el-range__close-icon--hidden{opacity:0;visibility:hidden}.el-range-editor.el-input__wrapper{display:inline-flex;align-items:center;padding:0 10px}.el-range-editor.is-active,.el-range-editor.is-active:hover{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-range-editor--large{line-height:var(--el-component-size-large)}.el-range-editor--large.el-input__wrapper{height:var(--el-component-size-large)}.el-range-editor--large .el-range-separator{line-height:40px;font-size:14px}.el-range-editor--large .el-range-input{height:38px;line-height:38px;font-size:14px}.el-range-editor--small{line-height:var(--el-component-size-small)}.el-range-editor--small.el-input__wrapper{height:var(--el-component-size-small)}.el-range-editor--small .el-range-separator{line-height:24px;font-size:12px}.el-range-editor--small .el-range-input{height:22px;line-height:22px;font-size:12px}.el-range-editor.is-disabled{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-range-editor.is-disabled:focus,.el-range-editor.is-disabled:hover{border-color:var(--el-disabled-border-color)}.el-range-editor.is-disabled input{background-color:var(--el-disabled-bg-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-range-editor.is-disabled input::-moz-placeholder{color:var(--el-text-color-placeholder)}.el-range-editor.is-disabled input:-ms-input-placeholder{color:var(--el-text-color-placeholder)}.el-range-editor.is-disabled input::placeholder{color:var(--el-text-color-placeholder)}.el-range-editor.is-disabled .el-range-separator{color:var(--el-disabled-text-color)}.el-picker-panel{color:var(--el-text-color-regular);background:var(--el-bg-color-overlay);border-radius:var(--el-border-radius-base);line-height:30px}.el-picker-panel .el-time-panel{margin:5px 0;border:solid 1px var(--el-datepicker-border-color);background-color:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-picker-panel__body-wrapper:after,.el-picker-panel__body:after{content:"";display:table;clear:both}.el-picker-panel__content{position:relative;margin:15px}.el-picker-panel__footer{border-top:1px solid var(--el-datepicker-inner-border-color);padding:4px 12px;text-align:right;background-color:var(--el-bg-color-overlay);position:relative;font-size:0}.el-picker-panel__shortcut{display:block;width:100%;border:0;background-color:transparent;line-height:28px;font-size:14px;color:var(--el-datepicker-text-color);padding-left:12px;text-align:left;outline:0;cursor:pointer}.el-picker-panel__shortcut:hover{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__shortcut.active{background-color:#e6f1fe;color:var(--el-datepicker-active-color)}.el-picker-panel__btn{border:1px solid var(--el-fill-color-darker);color:var(--el-text-color-primary);line-height:24px;border-radius:2px;padding:0 20px;cursor:pointer;background-color:transparent;outline:0;font-size:12px}.el-picker-panel__btn[disabled]{color:var(--el-text-color-disabled);cursor:not-allowed}.el-picker-panel__icon-btn{font-size:12px;color:var(--el-datepicker-icon-color);border:0;background:0 0;cursor:pointer;outline:0;margin-top:8px}.el-picker-panel__icon-btn:hover{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__icon-btn:focus-visible{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__icon-btn.is-disabled{color:var(--el-text-color-disabled)}.el-picker-panel__icon-btn.is-disabled:hover{cursor:not-allowed}.el-picker-panel__icon-btn .el-icon{cursor:pointer;font-size:inherit}.el-picker-panel__link-btn{vertical-align:middle}.el-picker-panel [slot=sidebar],.el-picker-panel__sidebar{position:absolute;top:0;bottom:0;width:110px;border-right:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;padding-top:6px;background-color:var(--el-bg-color-overlay);overflow:auto}.el-picker-panel [slot=sidebar]+.el-picker-panel__body,.el-picker-panel__sidebar+.el-picker-panel__body{margin-left:110px}.el-date-picker{--el-datepicker-text-color:var(--el-text-color-regular);--el-datepicker-off-text-color:var(--el-text-color-placeholder);--el-datepicker-header-text-color:var(--el-text-color-regular);--el-datepicker-icon-color:var(--el-text-color-primary);--el-datepicker-border-color:var(--el-disabled-border-color);--el-datepicker-inner-border-color:var(--el-border-color-light);--el-datepicker-inrange-bg-color:var(--el-border-color-extra-light);--el-datepicker-inrange-hover-bg-color:var(--el-border-color-extra-light);--el-datepicker-active-color:var(--el-color-primary);--el-datepicker-hover-text-color:var(--el-color-primary)}.el-date-picker{width:322px}.el-date-picker.has-sidebar.has-time{width:434px}.el-date-picker.has-sidebar{width:438px}.el-date-picker.has-time .el-picker-panel__body-wrapper{position:relative}.el-date-picker .el-picker-panel__content{width:292px}.el-date-picker table{table-layout:fixed;width:100%}.el-date-picker__editor-wrap{position:relative;display:table-cell;padding:0 5px}.el-date-picker__time-header{position:relative;border-bottom:1px solid var(--el-datepicker-inner-border-color);font-size:12px;padding:8px 5px 5px;display:table;width:100%;box-sizing:border-box}.el-date-picker__header{margin:12px;text-align:center}.el-date-picker__header--bordered{margin-bottom:0;padding-bottom:12px;border-bottom:solid 1px var(--el-border-color-lighter)}.el-date-picker__header--bordered+.el-picker-panel__content{margin-top:0}.el-date-picker__header-label{font-size:16px;font-weight:500;padding:0 5px;line-height:22px;text-align:center;cursor:pointer;color:var(--el-text-color-regular)}.el-date-picker__header-label:hover{color:var(--el-datepicker-hover-text-color)}.el-date-picker__header-label:focus-visible{outline:0;color:var(--el-datepicker-hover-text-color)}.el-date-picker__header-label.active{color:var(--el-datepicker-active-color)}.el-date-picker__prev-btn{float:left}.el-date-picker__next-btn{float:right}.el-date-picker__time-wrap{padding:10px;text-align:center}.el-date-picker__time-label{float:left;cursor:pointer;line-height:30px;margin-left:10px}.el-date-picker .el-time-panel{position:absolute}.el-date-range-picker{--el-datepicker-text-color:var(--el-text-color-regular);--el-datepicker-off-text-color:var(--el-text-color-placeholder);--el-datepicker-header-text-color:var(--el-text-color-regular);--el-datepicker-icon-color:var(--el-text-color-primary);--el-datepicker-border-color:var(--el-disabled-border-color);--el-datepicker-inner-border-color:var(--el-border-color-light);--el-datepicker-inrange-bg-color:var(--el-border-color-extra-light);--el-datepicker-inrange-hover-bg-color:var(--el-border-color-extra-light);--el-datepicker-active-color:var(--el-color-primary);--el-datepicker-hover-text-color:var(--el-color-primary)}.el-date-range-picker{width:646px}.el-date-range-picker.has-sidebar{width:756px}.el-date-range-picker.has-time .el-picker-panel__body-wrapper{position:relative}.el-date-range-picker table{table-layout:fixed;width:100%}.el-date-range-picker .el-picker-panel__body{min-width:513px}.el-date-range-picker .el-picker-panel__content{margin:0}.el-date-range-picker__header{position:relative;text-align:center;height:28px}.el-date-range-picker__header [class*=arrow-left]{float:left}.el-date-range-picker__header [class*=arrow-right]{float:right}.el-date-range-picker__header div{font-size:16px;font-weight:500;margin-right:50px}.el-date-range-picker__content{float:left;width:50%;box-sizing:border-box;margin:0;padding:16px}.el-date-range-picker__content.is-left{border-right:1px solid var(--el-datepicker-inner-border-color)}.el-date-range-picker__content .el-date-range-picker__header div{margin-left:50px;margin-right:50px}.el-date-range-picker__editors-wrap{box-sizing:border-box;display:table-cell}.el-date-range-picker__editors-wrap.is-right{text-align:right}.el-date-range-picker__time-header{position:relative;border-bottom:1px solid var(--el-datepicker-inner-border-color);font-size:12px;padding:8px 5px 5px;display:table;width:100%;box-sizing:border-box}.el-date-range-picker__time-header>.el-icon-arrow-right{font-size:20px;vertical-align:middle;display:table-cell;color:var(--el-datepicker-icon-color)}.el-date-range-picker__time-picker-wrap{position:relative;display:table-cell;padding:0 5px}.el-date-range-picker__time-picker-wrap .el-picker-panel{position:absolute;top:13px;right:0;z-index:1;background:#fff}.el-date-range-picker__time-picker-wrap .el-time-panel{position:absolute}.el-time-range-picker{width:354px;overflow:visible}.el-time-range-picker__content{position:relative;text-align:center;padding:10px;z-index:1}.el-time-range-picker__cell{box-sizing:border-box;margin:0;padding:4px 7px 7px;width:50%;display:inline-block}.el-time-range-picker__header{margin-bottom:5px;text-align:center;font-size:14px}.el-time-range-picker__body{border-radius:2px;border:1px solid var(--el-datepicker-border-color)}.el-time-panel{border-radius:2px;position:relative;width:180px;left:0;z-index:var(--el-index-top);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;box-sizing:content-box}.el-time-panel__content{font-size:0;position:relative;overflow:hidden}.el-time-panel__content:after,.el-time-panel__content:before{content:"";top:50%;position:absolute;margin-top:-16px;height:32px;z-index:-1;left:0;right:0;box-sizing:border-box;padding-top:6px;text-align:left}.el-time-panel__content:after{left:50%;margin-left:12%;margin-right:12%}.el-time-panel__content:before{padding-left:50%;margin-right:12%;margin-left:12%;border-top:1px solid var(--el-border-color-light);border-bottom:1px solid var(--el-border-color-light)}.el-time-panel__content.has-seconds:after{left:66.6666666667%}.el-time-panel__content.has-seconds:before{padding-left:33.3333333333%}.el-time-panel__footer{border-top:1px solid var(--el-timepicker-inner-border-color,var(--el-border-color-light));padding:4px;height:36px;line-height:25px;text-align:right;box-sizing:border-box}.el-time-panel__btn{border:none;line-height:28px;padding:0 5px;margin:0 5px;cursor:pointer;background-color:transparent;outline:0;font-size:12px;color:var(--el-text-color-primary)}.el-time-panel__btn.confirm{font-weight:800;color:var(--el-timepicker-active-color,var(--el-color-primary))}.el-input-number{position:relative;display:inline-flex;width:150px;line-height:30px}.el-input-number .el-input__wrapper{padding-left:42px;padding-right:42px}.el-input-number .el-input__inner{-webkit-appearance:none;-moz-appearance:textfield;text-align:center;line-height:1}.el-input-number .el-input__inner::-webkit-inner-spin-button,.el-input-number .el-input__inner::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.el-input-number__decrease,.el-input-number__increase{display:flex;justify-content:center;align-items:center;height:auto;position:absolute;z-index:1;top:1px;bottom:1px;width:32px;background:var(--el-fill-color-light);color:var(--el-text-color-regular);cursor:pointer;font-size:13px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.el-input-number__decrease:hover,.el-input-number__increase:hover{color:var(--el-color-primary)}.el-input-number__decrease:hover~.el-input:not(.is-disabled) .el-input_wrapper,.el-input-number__increase:hover~.el-input:not(.is-disabled) .el-input_wrapper{box-shadow:0 0 0 1px var(--el-input-focus-border-color,var(--el-color-primary)) inset}.el-input-number__decrease.is-disabled,.el-input-number__increase.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-input-number__increase{right:1px;border-radius:0 var(--el-border-radius-base) var(--el-border-radius-base) 0;border-left:var(--el-border)}.el-input-number__decrease{left:1px;border-radius:var(--el-border-radius-base) 0 0 var(--el-border-radius-base);border-right:var(--el-border)}.el-input-number.is-disabled .el-input-number__decrease,.el-input-number.is-disabled .el-input-number__increase{border-color:var(--el-disabled-border-color);color:var(--el-disabled-border-color)}.el-input-number.is-disabled .el-input-number__decrease:hover,.el-input-number.is-disabled .el-input-number__increase:hover{color:var(--el-disabled-border-color);cursor:not-allowed}.el-input-number--large{width:180px;line-height:38px}.el-input-number--large .el-input-number__decrease,.el-input-number--large .el-input-number__increase{width:40px;font-size:14px}.el-input-number--large .el-input__wrapper{padding-left:47px;padding-right:47px}.el-input-number--small{width:120px;line-height:22px}.el-input-number--small .el-input-number__decrease,.el-input-number--small .el-input-number__increase{width:24px;font-size:12px}.el-input-number--small .el-input__wrapper{padding-left:31px;padding-right:31px}.el-input-number--small .el-input-number__decrease [class*=el-icon],.el-input-number--small .el-input-number__increase [class*=el-icon]{transform:scale(.9)}.el-input-number.is-without-controls .el-input__wrapper{padding-left:15px;padding-right:15px}.el-input-number.is-controls-right .el-input__wrapper{padding-left:15px;padding-right:42px}.el-input-number.is-controls-right .el-input-number__decrease,.el-input-number.is-controls-right .el-input-number__increase{--el-input-number-controls-height:15px;height:var(--el-input-number-controls-height);line-height:var(--el-input-number-controls-height)}.el-input-number.is-controls-right .el-input-number__decrease [class*=el-icon],.el-input-number.is-controls-right .el-input-number__increase [class*=el-icon]{transform:scale(.8)}.el-input-number.is-controls-right .el-input-number__increase{bottom:auto;left:auto;border-radius:0 var(--el-border-radius-base) 0 0;border-bottom:var(--el-border)}.el-input-number.is-controls-right .el-input-number__decrease{right:1px;top:auto;left:auto;border-right:none;border-left:var(--el-border);border-radius:0 0 var(--el-border-radius-base) 0}.el-input-number.is-controls-right[class*=large] [class*=decrease],.el-input-number.is-controls-right[class*=large] [class*=increase]{--el-input-number-controls-height:19px}.el-input-number.is-controls-right[class*=small] [class*=decrease],.el-input-number.is-controls-right[class*=small] [class*=increase]{--el-input-number-controls-height:11px}.fpe-button{--fpe-button-font-weight: var(--fpe-font-weight-primary);--fpe-button-border-color: var(--fpe-border-color);--fpe-button-bg-color: var(--fpe-fill-color-blank);--fpe-button-text-color: var(--fpe-text-color-regular);--fpe-button-disabled-text-color: var(--fpe-disabled-text-color);--fpe-button-disabled-bg-color: var(--fpe-fill-color-blank);--fpe-button-disabled-border-color: var(--fpe-border-color-light);--fpe-button-divide-border-color: rgba(255, 255, 255, .5);--fpe-button-hover-text-color: var(--fpe-color-primary);--fpe-button-hover-bg-color: var(--fpe-color-primary-light-9);--fpe-button-hover-border-color: var(--fpe-color-primary-light-7);--fpe-button-active-text-color: var(--fpe-button-hover-text-color);--fpe-button-active-border-color: var(--fpe-color-primary);--fpe-button-active-bg-color: var(--fpe-button-hover-bg-color);--fpe-button-outline-color: var(--fpe-color-primary-light-5);--fpe-button-hover-link-text-color: var(--fpe-color-info);--fpe-button-active-color: var(--fpe-text-color-primary)}.fpe-button{display:inline-flex;justify-content:center;align-items:center;line-height:1;height:32px;white-space:nowrap;cursor:pointer;color:var(--fpe-button-text-color);text-align:center;box-sizing:border-box;outline:none;transition:.1s;font-weight:var(--fpe-button-font-weight);user-select:none;vertical-align:middle;-webkit-appearance:none;background-color:var(--fpe-button-bg-color);border:var(--fpe-border);border-color:var(--fpe-button-border-color);padding:8px 15px;font-size:var(--fpe-font-size-base);border-radius:var(--fpe-border-radius-base)}.fpe-button:hover,.fpe-button:focus{color:var(--fpe-button-hover-text-color);border-color:var(--fpe-button-hover-border-color);background-color:var(--fpe-button-hover-bg-color);outline:none}.fpe-button:active{color:var(--fpe-button-active-text-color);border-color:var(--fpe-button-active-border-color);background-color:var(--fpe-button-active-bg-color);outline:none}.fpe-button:focus-visible{outline:2px solid var(--fpe-button-outline-color);outline-offset:1px}.fpe-button>span{display:inline-flex;align-items:center}.fpe-button+.fpe-button{margin-left:12px}.fpe-button.is-round{padding:8px 15px}.fpe-button::-moz-focus-inner{border:0}.fpe-button [class*=fpe-icon]+span{margin-left:6px}.fpe-button [class*=fpe-icon] svg{vertical-align:bottom}.fpe-button.is-plain{--fpe-button-hover-text-color: var(--fpe-color-primary);--fpe-button-hover-bg-color: var(--fpe-fill-color-blank);--fpe-button-hover-border-color: var(--fpe-color-primary)}.fpe-button.is-active{color:var(--fpe-button-active-text-color);border-color:var(--fpe-button-active-border-color);background-color:var(--fpe-button-active-bg-color);outline:none}.fpe-button.is-disabled,.fpe-button.is-disabled:hover,.fpe-button.is-disabled:focus{color:var(--fpe-button-disabled-text-color);cursor:not-allowed;background-image:none;background-color:var(--fpe-button-disabled-bg-color);border-color:var(--fpe-button-disabled-border-color)}.fpe-button.is-loading{position:relative;pointer-events:none}.fpe-button.is-loading:before{z-index:1;pointer-events:none;content:"";position:absolute;inset:-1px;border-radius:inherit;background-color:var(--fpe-mask-color-extra-light)}.fpe-button.is-round{border-radius:var(--fpe-border-radius-round)}.fpe-button.is-circle{border-radius:50%;padding:8px}.fpe-button.is-text{color:var(--fpe-button-text-color);border:0 solid transparent;background-color:transparent}.fpe-button.is-text.is-disabled{color:var(--fpe-button-disabled-text-color);background-color:transparent!important}.fpe-button.is-text:not(.is-disabled):hover,.fpe-button.is-text:not(.is-disabled):focus{background-color:var(--fpe-fill-color-light)}.fpe-button.is-text:not(.is-disabled):focus-visible{outline:2px solid var(--fpe-button-outline-color);outline-offset:1px}.fpe-button.is-text:not(.is-disabled):active{background-color:var(--fpe-fill-color)}.fpe-button.is-text:not(.is-disabled).is-has-bg{background-color:var(--fpe-fill-color-light)}.fpe-button.is-text:not(.is-disabled).is-has-bg:hover,.fpe-button.is-text:not(.is-disabled).is-has-bg:focus{background-color:var(--fpe-fill-color)}.fpe-button.is-text:not(.is-disabled).is-has-bg:active{background-color:var(--fpe-fill-color-dark)}.fpe-button__text--expand{letter-spacing:.3em;margin-right:-.3em}.fpe-button.is-link{border-color:transparent;color:var(--fpe-button-text-color);background:transparent;padding:2px;height:auto}.fpe-button.is-link:hover,.fpe-button.is-link:focus{color:var(--fpe-button-hover-link-text-color)}.fpe-button.is-link.is-disabled{color:var(--fpe-button-disabled-text-color);background-color:transparent!important;border-color:transparent!important}.fpe-button.is-link:not(.is-disabled):hover,.fpe-button.is-link:not(.is-disabled):focus{border-color:transparent;background-color:transparent}.fpe-button.is-link:not(.is-disabled):active{color:var(--fpe-button-active-color);border-color:transparent;background-color:transparent}.fpe-button--text{border-color:transparent;background:transparent;color:var(--fpe-color-primary);padding-left:0;padding-right:0}.fpe-button--text.is-disabled{color:var(--fpe-button-disabled-text-color);background-color:transparent!important;border-color:transparent!important}.fpe-button--text:not(.is-disabled):hover,.fpe-button--text:not(.is-disabled):focus{color:var(--fpe-color-primary-light-3);border-color:transparent;background-color:transparent}.fpe-button--text:not(.is-disabled):active{color:var(--fpe-color-primary-dark-2);border-color:transparent;background-color:transparent}.fpe-button__link--expand{letter-spacing:.3em;margin-right:-.3em}.fpe-button--primary{--fpe-button-text-color: var(--fpe-color-white);--fpe-button-bg-color: var(--fpe-color-primary);--fpe-button-border-color: var(--fpe-color-primary);--fpe-button-outline-color: var(--fpe-color-primary-light-5);--fpe-button-active-color: var(--fpe-color-primary-dark-2);--fpe-button-hover-text-color: var(--fpe-color-white);--fpe-button-hover-link-text-color: var(--fpe-color-primary-light-5);--fpe-button-hover-bg-color: var(--fpe-color-primary-light-3);--fpe-button-hover-border-color: var(--fpe-color-primary-light-3);--fpe-button-active-bg-color: var(--fpe-color-primary-dark-2);--fpe-button-active-border-color: var(--fpe-color-primary-dark-2);--fpe-button-disabled-text-color: var(--fpe-color-white);--fpe-button-disabled-bg-color: var(--fpe-color-primary-light-5);--fpe-button-disabled-border-color: var(--fpe-color-primary-light-5)}.fpe-button--primary.is-plain,.fpe-button--primary.is-text,.fpe-button--primary.is-link{--fpe-button-text-color: var(--fpe-color-primary);--fpe-button-bg-color: var(--fpe-color-primary-light-9);--fpe-button-border-color: var(--fpe-color-primary-light-5);--fpe-button-hover-text-color: var(--fpe-color-white);--fpe-button-hover-bg-color: var(--fpe-color-primary);--fpe-button-hover-border-color: var(--fpe-color-primary);--fpe-button-active-text-color: var(--fpe-color-white)}.fpe-button--primary.is-plain.is-disabled,.fpe-button--primary.is-plain.is-disabled:hover,.fpe-button--primary.is-plain.is-disabled:focus,.fpe-button--primary.is-plain.is-disabled:active,.fpe-button--primary.is-text.is-disabled,.fpe-button--primary.is-text.is-disabled:hover,.fpe-button--primary.is-text.is-disabled:focus,.fpe-button--primary.is-text.is-disabled:active,.fpe-button--primary.is-link.is-disabled,.fpe-button--primary.is-link.is-disabled:hover,.fpe-button--primary.is-link.is-disabled:focus,.fpe-button--primary.is-link.is-disabled:active{color:var(--fpe-color-primary-light-5);background-color:var(--fpe-color-primary-light-9);border-color:var(--fpe-color-primary-light-8)}.fpe-button--success{--fpe-button-text-color: var(--fpe-color-white);--fpe-button-bg-color: var(--fpe-color-success);--fpe-button-border-color: var(--fpe-color-success);--fpe-button-outline-color: var(--fpe-color-success-light-5);--fpe-button-active-color: var(--fpe-color-success-dark-2);--fpe-button-hover-text-color: var(--fpe-color-white);--fpe-button-hover-link-text-color: var(--fpe-color-success-light-5);--fpe-button-hover-bg-color: var(--fpe-color-success-light-3);--fpe-button-hover-border-color: var(--fpe-color-success-light-3);--fpe-button-active-bg-color: var(--fpe-color-success-dark-2);--fpe-button-active-border-color: var(--fpe-color-success-dark-2);--fpe-button-disabled-text-color: var(--fpe-color-white);--fpe-button-disabled-bg-color: var(--fpe-color-success-light-5);--fpe-button-disabled-border-color: var(--fpe-color-success-light-5)}.fpe-button--success.is-plain,.fpe-button--success.is-text,.fpe-button--success.is-link{--fpe-button-text-color: var(--fpe-color-success);--fpe-button-bg-color: var(--fpe-color-success-light-9);--fpe-button-border-color: var(--fpe-color-success-light-5);--fpe-button-hover-text-color: var(--fpe-color-white);--fpe-button-hover-bg-color: var(--fpe-color-success);--fpe-button-hover-border-color: var(--fpe-color-success);--fpe-button-active-text-color: var(--fpe-color-white)}.fpe-button--success.is-plain.is-disabled,.fpe-button--success.is-plain.is-disabled:hover,.fpe-button--success.is-plain.is-disabled:focus,.fpe-button--success.is-plain.is-disabled:active,.fpe-button--success.is-text.is-disabled,.fpe-button--success.is-text.is-disabled:hover,.fpe-button--success.is-text.is-disabled:focus,.fpe-button--success.is-text.is-disabled:active,.fpe-button--success.is-link.is-disabled,.fpe-button--success.is-link.is-disabled:hover,.fpe-button--success.is-link.is-disabled:focus,.fpe-button--success.is-link.is-disabled:active{color:var(--fpe-color-success-light-5);background-color:var(--fpe-color-success-light-9);border-color:var(--fpe-color-success-light-8)}.fpe-button--warning{--fpe-button-text-color: var(--fpe-color-white);--fpe-button-bg-color: var(--fpe-color-warning);--fpe-button-border-color: var(--fpe-color-warning);--fpe-button-outline-color: var(--fpe-color-warning-light-5);--fpe-button-active-color: var(--fpe-color-warning-dark-2);--fpe-button-hover-text-color: var(--fpe-color-white);--fpe-button-hover-link-text-color: var(--fpe-color-warning-light-5);--fpe-button-hover-bg-color: var(--fpe-color-warning-light-3);--fpe-button-hover-border-color: var(--fpe-color-warning-light-3);--fpe-button-active-bg-color: var(--fpe-color-warning-dark-2);--fpe-button-active-border-color: var(--fpe-color-warning-dark-2);--fpe-button-disabled-text-color: var(--fpe-color-white);--fpe-button-disabled-bg-color: var(--fpe-color-warning-light-5);--fpe-button-disabled-border-color: var(--fpe-color-warning-light-5)}.fpe-button--warning.is-plain,.fpe-button--warning.is-text,.fpe-button--warning.is-link{--fpe-button-text-color: var(--fpe-color-warning);--fpe-button-bg-color: var(--fpe-color-warning-light-9);--fpe-button-border-color: var(--fpe-color-warning-light-5);--fpe-button-hover-text-color: var(--fpe-color-white);--fpe-button-hover-bg-color: var(--fpe-color-warning);--fpe-button-hover-border-color: var(--fpe-color-warning);--fpe-button-active-text-color: var(--fpe-color-white)}.fpe-button--warning.is-plain.is-disabled,.fpe-button--warning.is-plain.is-disabled:hover,.fpe-button--warning.is-plain.is-disabled:focus,.fpe-button--warning.is-plain.is-disabled:active,.fpe-button--warning.is-text.is-disabled,.fpe-button--warning.is-text.is-disabled:hover,.fpe-button--warning.is-text.is-disabled:focus,.fpe-button--warning.is-text.is-disabled:active,.fpe-button--warning.is-link.is-disabled,.fpe-button--warning.is-link.is-disabled:hover,.fpe-button--warning.is-link.is-disabled:focus,.fpe-button--warning.is-link.is-disabled:active{color:var(--fpe-color-warning-light-5);background-color:var(--fpe-color-warning-light-9);border-color:var(--fpe-color-warning-light-8)}.fpe-button--danger{--fpe-button-text-color: var(--fpe-color-white);--fpe-button-bg-color: var(--fpe-color-danger);--fpe-button-border-color: var(--fpe-color-danger);--fpe-button-outline-color: var(--fpe-color-danger-light-5);--fpe-button-active-color: var(--fpe-color-danger-dark-2);--fpe-button-hover-text-color: var(--fpe-color-white);--fpe-button-hover-link-text-color: var(--fpe-color-danger-light-5);--fpe-button-hover-bg-color: var(--fpe-color-danger-light-3);--fpe-button-hover-border-color: var(--fpe-color-danger-light-3);--fpe-button-active-bg-color: var(--fpe-color-danger-dark-2);--fpe-button-active-border-color: var(--fpe-color-danger-dark-2);--fpe-button-disabled-text-color: var(--fpe-color-white);--fpe-button-disabled-bg-color: var(--fpe-color-danger-light-5);--fpe-button-disabled-border-color: var(--fpe-color-danger-light-5)}.fpe-button--danger.is-plain,.fpe-button--danger.is-text,.fpe-button--danger.is-link{--fpe-button-text-color: var(--fpe-color-danger);--fpe-button-bg-color: var(--fpe-color-danger-light-9);--fpe-button-border-color: var(--fpe-color-danger-light-5);--fpe-button-hover-text-color: var(--fpe-color-white);--fpe-button-hover-bg-color: var(--fpe-color-danger);--fpe-button-hover-border-color: var(--fpe-color-danger);--fpe-button-active-text-color: var(--fpe-color-white)}.fpe-button--danger.is-plain.is-disabled,.fpe-button--danger.is-plain.is-disabled:hover,.fpe-button--danger.is-plain.is-disabled:focus,.fpe-button--danger.is-plain.is-disabled:active,.fpe-button--danger.is-text.is-disabled,.fpe-button--danger.is-text.is-disabled:hover,.fpe-button--danger.is-text.is-disabled:focus,.fpe-button--danger.is-text.is-disabled:active,.fpe-button--danger.is-link.is-disabled,.fpe-button--danger.is-link.is-disabled:hover,.fpe-button--danger.is-link.is-disabled:focus,.fpe-button--danger.is-link.is-disabled:active{color:var(--fpe-color-danger-light-5);background-color:var(--fpe-color-danger-light-9);border-color:var(--fpe-color-danger-light-8)}.fpe-button--info{--fpe-button-text-color: var(--fpe-color-white);--fpe-button-bg-color: var(--fpe-color-info);--fpe-button-border-color: var(--fpe-color-info);--fpe-button-outline-color: var(--fpe-color-info-light-5);--fpe-button-active-color: var(--fpe-color-info-dark-2);--fpe-button-hover-text-color: var(--fpe-color-white);--fpe-button-hover-link-text-color: var(--fpe-color-info-light-5);--fpe-button-hover-bg-color: var(--fpe-color-info-light-3);--fpe-button-hover-border-color: var(--fpe-color-info-light-3);--fpe-button-active-bg-color: var(--fpe-color-info-dark-2);--fpe-button-active-border-color: var(--fpe-color-info-dark-2);--fpe-button-disabled-text-color: var(--fpe-color-white);--fpe-button-disabled-bg-color: var(--fpe-color-info-light-5);--fpe-button-disabled-border-color: var(--fpe-color-info-light-5)}.fpe-button--info.is-plain,.fpe-button--info.is-text,.fpe-button--info.is-link{--fpe-button-text-color: var(--fpe-color-info);--fpe-button-bg-color: var(--fpe-color-info-light-9);--fpe-button-border-color: var(--fpe-color-info-light-5);--fpe-button-hover-text-color: var(--fpe-color-white);--fpe-button-hover-bg-color: var(--fpe-color-info);--fpe-button-hover-border-color: var(--fpe-color-info);--fpe-button-active-text-color: var(--fpe-color-white)}.fpe-button--info.is-plain.is-disabled,.fpe-button--info.is-plain.is-disabled:hover,.fpe-button--info.is-plain.is-disabled:focus,.fpe-button--info.is-plain.is-disabled:active,.fpe-button--info.is-text.is-disabled,.fpe-button--info.is-text.is-disabled:hover,.fpe-button--info.is-text.is-disabled:focus,.fpe-button--info.is-text.is-disabled:active,.fpe-button--info.is-link.is-disabled,.fpe-button--info.is-link.is-disabled:hover,.fpe-button--info.is-link.is-disabled:focus,.fpe-button--info.is-link.is-disabled:active{color:var(--fpe-color-info-light-5);background-color:var(--fpe-color-info-light-9);border-color:var(--fpe-color-info-light-8)}.fpe-button--large{--fpe-button-size: 40px;height:var(--fpe-button-size);padding:12px 19px;font-size:var(--fpe-font-size-base);border-radius:var(--fpe-border-radius-base)}.fpe-button--large [class*=fpe-icon]+span{margin-left:8px}.fpe-button--large.is-round{padding:12px 19px}.fpe-button--large.is-circle{width:var(--fpe-button-size);padding:12px}.fpe-button--small{--fpe-button-size: 24px;height:var(--fpe-button-size);padding:5px 11px;font-size:12px;border-radius:calc(var(--fpe-border-radius-base) - 1px)}.fpe-button--small [class*=fpe-icon]+span{margin-left:4px}.fpe-button--small.is-round{padding:5px 11px}.fpe-button--small.is-circle{width:var(--fpe-button-size);padding:5px}.fpe-icon-loading{animation:rotating 2s linear infinite}.fpe-icon--right{margin-left:5px}.fpe-icon--left{margin-right:5px}@keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.fpe-icon{--color: inherit;height:1em;width:1em;line-height:1em;display:inline-flex;justify-content:center;align-items:center;position:relative;fill:currentColor;color:var(--color);font-size:inherit}.fpe-icon.is-loading{animation:rotating 2s linear infinite}.fpe-icon svg{height:1em;width:1em}.resizable-content{height:100%;display:flex;flex-direction:column}.resizable-body{overflow-y:auto;flex:1}:root{--el-color-primary: #9E77Ed}body.archive .fpe-panel-trigger{display:none}body .fpe-panel-overlay{position:fixed;top:0;left:0;width:100%;height:100%;--tw-bg-opacity: .5;background-color:rgba(0,0,0,var(--tw-bg-opacity));z-index:1499;justify-content:center;align-items:center}body .fpe-panel-overlay img{width:40px}body .fpe-panel-overlay{display:none}body.fpe-panel-open .fpe-panel-overlay{display:block}body .fpe-panel-trigger{position:fixed;right:0;top:50%;cursor:pointer;transition:all .2s;width:50px;height:50px;justify-content:center;display:flex;transform:translateY(-50%);--tw-bg-opacity: 1;border-radius:5px 0 0 5px;z-index:1500;background-color:#9e77ed;border:none}body .fpe-panel-trigger:hover,body .fpe-panel-trigger:active{background-color:#7f56d9;border-color:#7f56d9}body .fpe-panel-trigger i{color:#fff;font-size:20px}.admin-bar .fpe-panel{height:calc(100% - 30px);top:30px}body.fpe-panel-open .storefront-handheld-footer-bar{z-index:999}.fpe-panel{min-width:400px;height:100%;box-shadow:var(--el-box-shadow-dark);background:#FFF}.fpe-panel .el-drawer__close-btn{padding:0}.fpe-panel .fpe-panel-header{padding:20px;background-color:#9e77ed;color:#fff;font-weight:500;margin-bottom:0;display:flex;align-items:center}.fpe-panel .fpe-panel-header span{flex:1}.fpe-panel .fpe-panel-header button{padding:0;background:none}.fpe-panel .fpe-panel-header .el-drawer__close{color:#fff;cursor:pointer;border:none}.fpe-panel .panel-body{flex:1;overflow:auto}.fpe-panel .el-drawer__body{padding:0}.fpe-panel .el-collapse-item__header{padding:0 20px;font-size:15px;font-weight:600}.fpe-panel .el-collapse-item__content{padding:0 20px 20px;display:flex;flex-direction:column;gap:15px}.fpe-panel .el-collapse-item__content .fpe-only-sku{display:flex;flex-direction:column;gap:15px}.fpe-panel .el-collapse-item__content .fpe-field-wrapper{display:flex;flex-direction:column}.fpe-panel .el-collapse-item__content .fpe-field-wrapper label{display:flex;gap:5px;align-items:center;font-size:15px;margin:0 0 .5em}.fpe-panel .el-collapse-item__content .fpe-field-wrapper.fpe-field-inline{flex-direction:row;align-items:center;gap:10px}.fpe-panel .el-collapse-item__content .fpe-field-wrapper.fpe-field-inline label{margin-bottom:0}.fpe-panel .el-collapse-item__content .fpe-field-wrapper.fpe_sale_schedule{flex-direction:row;align-items:center;gap:10px}.fpe-panel .el-collapse-item__content .fpe-field-wrapper.fpe_sale_schedule label{margin-bottom:0}.fpe-panel .el-collapse-item__content .fpe-field-wrapper .el-input.fpe_error{--el-border-color:red}.fpe-panel .el-collapse-item__content .fpe-field-wrapper .error{color:red}.fpe-panel .el-collapse-item__content .fpe-field-wrapper.fpe-inline-switcher{flex-direction:row-reverse;justify-content:flex-end;gap:5px;align-items:center}.fpe-panel .el-collapse-item__content .fpe-field-wrapper.fpe-inline-switcher label{margin:0}.fpe-panel .el-collapse-item__content .fpe-field-wrapper .fpe-cat-tree-wrapper{border:1px solid #ebeef5;padding:10px 5px;max-height:200px;overflow:scroll}.fpe-panel .el-collapse-item__content .fpe-field-wrapper .fpe-dimension-fields{display:flex;flex-direction:row;gap:5px}.fpe-panel .el-collapse-item__content .fpe-field-wrapper .el-input-number.is-controls-right .el-input-number__decrease,.fpe-panel .el-collapse-item__content .fpe-field-wrapper .el-input-number.is-controls-right .el-input-number__increase{--el-input-number-controls-height:20px}.fpe-panel .el-collapse-item__content .el-input__inner{border:none;height:40px;padding:0;background:none;font-size:15px;box-shadow:none}.fpe-panel .el-collapse-item__content input.el-select__input{border:none;height:40px;padding:0;background:none;font-size:15px}.fpe-panel .el-collapse-item__content label.el-checkbox{margin:0 8px 0 0}.fpe-panel .el-collapse-item__content .fpe-sale-dates{display:flex;gap:5px;margin-bottom:10px}.fpe-panel .panel-footer{border-top:1px solid #ebeef5;padding:20px;text-align:right}.fpe-panel .panel-footer .el-button--primary{border-color:#9e77ed;background-color:#9e77ed}.fpe-panel .panel-footer .el-button--primary:hover{background-color:#7f56d9;border-color:#7f56d9}.fpe-panel .panel-footer .fpe-cancel:hover{border-color:#e9d7fe;color:#9e77ed;background-color:#f4ebff}@media (max-width: 768px){.fpe-panel{width:100%!important;min-width:auto}}.fpe-upload-media{text-decoration:underline}.fpe-preview-images{display:flex;flex-direction:row;gap:8px;margin-top:8px;flex-wrap:wrap}.fpe-preview-images div{width:60px;position:relative}.fpe-preview-images div .el-icon{position:absolute;top:-5px;right:-5px;color:#f56c6c;cursor:pointer}.fpe-download-files{display:flex;flex-direction:column;gap:8px}.fpe-download-files .el-tree-node__content{height:auto}.fpe-download-files .el-tree-node__content .el-tree-node__expand-icon{color:#303133;cursor:pointer;background:none}.fpe-download-files .el-tree-node__content .fpe-download-file{display:flex;flex-direction:row;gap:5px;width:100%;max-width:800px;align-items:center}.fpe-add-download-row{width:100px;margin-top:10px}.fpe-product-attributes .el-collapse{border-left:1px solid #ebeef5;border-right:1px solid #ebeef5}.fpe-product-attributes .fpe-remove-attribute{width:fit-content}.fpe-product-attributes .fpe-add-new-attribute{margin-bottom:10px}.fpe-attributes{gap:10px;display:flex;flex-direction:column}.fpe-attributes .fpe-attribute-header{padding:10px;border-bottom:1px solid #ebeef5;display:flex;justify-content:space-between;align-items:center;width:100%}.fpe-attributes .fpe-attribute-header .fpe-attribute-name{font-weight:600;font-size:15px}.fpe-attributes .fpe-attribute-header .el-icon{display:inline!important}.fpe-attributes .el-tree-node__content{height:auto;flex-wrap:wrap;border:1px solid #ebeef5;background:#FFF}.fpe-attributes .el-tree-node__content:hover{background:#FFF}.fpe-attributes .el-tree-node__content>.el-icon{display:none}.fpe-attributes .fpe-remove-attribute{width:fit-content;margin-top:10px}.fpe-attributes .fpe-attribute-form{width:100%;padding:10px}a.fpe-at{position:absolute;top:10px;right:10px;width:30px;height:30px;border-radius:50%;padding:8px;color:#fff;background:#000;z-index:999;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease}a.fpe-at:hover{background:#9e77ed}a.fpe-at svg{fill:#fff}.fpe-pro-cta{background:#9e77ed;padding:20px;border-radius:5px;display:flex;flex-direction:column;gap:10px}.fpe-pro-cta h3{font-size:16px;margin-bottom:0;color:#fff}.fpe-pro-cta .fpe-pro-cta-actions{display:flex;align-items:center}.fpe-pro-cta a.fpe-pro-upgrade{margin-right:10px;padding:10px 15px;background-color:#fff;color:#000;text-decoration:none;font-weight:700}.fpe-pro-cta a.fpe-pro-upgrade:hover{background-color:#fff;color:#000}.fpe-pro-cta a{color:#fff;text-decoration:underline}.fpe-pro-cta a:hover{color:#fff}.fpe-dummy-item .el-collapse-item__header .fpe-pro-lock{margin-left:10px}
     1@charset "UTF-8";.el-drawer{--el-drawer-bg-color:var(--el-dialog-bg-color, var(--el-bg-color));--el-drawer-padding-primary:var(--el-dialog-padding-primary, 20px)}.el-drawer{position:absolute;box-sizing:border-box;background-color:var(--el-drawer-bg-color);display:flex;flex-direction:column;box-shadow:var(--el-box-shadow-dark);overflow:hidden;transition:all var(--el-transition-duration)}.el-drawer .rtl,.el-drawer .ltr,.el-drawer .ttb,.el-drawer .btt{transform:translate(0)}.el-drawer__sr-focus:focus{outline:0!important}.el-drawer__header{align-items:center;color:#72767b;display:flex;margin-bottom:32px;padding:var(--el-drawer-padding-primary);padding-bottom:0}.el-drawer__header>:first-child{flex:1}.el-drawer__title{margin:0;flex:1;line-height:inherit;font-size:1rem}.el-drawer__footer{padding:var(--el-drawer-padding-primary);padding-top:10px;text-align:right}.el-drawer__close-btn{display:inline-flex;border:none;cursor:pointer;font-size:var(--el-font-size-extra-large);color:inherit;background-color:transparent;outline:0}.el-drawer__close-btn:focus i,.el-drawer__close-btn:hover i{color:var(--el-color-primary)}.el-drawer__body{flex:1;padding:var(--el-drawer-padding-primary);overflow:auto}.el-drawer__body>*{box-sizing:border-box}.el-drawer.ltr,.el-drawer.rtl{height:100%;top:0;bottom:0}.el-drawer.btt,.el-drawer.ttb{width:100%;left:0;right:0}.el-drawer.ltr{left:0}.el-drawer.rtl{right:0}.el-drawer.ttb{top:0}.el-drawer.btt{bottom:0}.el-drawer-fade-enter-active,.el-drawer-fade-leave-active{transition:all var(--el-transition-duration)}.el-drawer-fade-enter-active,.el-drawer-fade-enter-from,.el-drawer-fade-enter-to,.el-drawer-fade-leave-active,.el-drawer-fade-leave-from,.el-drawer-fade-leave-to{overflow:hidden!important}.el-drawer-fade-enter-from,.el-drawer-fade-leave-to{opacity:0}.el-drawer-fade-enter-to,.el-drawer-fade-leave-from{opacity:1}.el-drawer-fade-enter-from .rtl,.el-drawer-fade-leave-to .rtl{transform:translate(100%)}.el-drawer-fade-enter-from .ltr,.el-drawer-fade-leave-to .ltr{transform:translate(-100%)}.el-drawer-fade-enter-from .ttb,.el-drawer-fade-leave-to .ttb{transform:translateY(-100%)}.el-drawer-fade-enter-from .btt,.el-drawer-fade-leave-to .btt{transform:translateY(100%)}.el-overlay{position:fixed;inset:0;z-index:2000;height:100%;background-color:var(--el-overlay-color-lighter);overflow:auto}.el-overlay .el-overlay-root{height:0}.el-collapse{--el-collapse-border-color:var(--el-border-color-lighter);--el-collapse-header-height:48px;--el-collapse-header-bg-color:var(--el-fill-color-blank);--el-collapse-header-text-color:var(--el-text-color-primary);--el-collapse-header-font-size:13px;--el-collapse-content-bg-color:var(--el-fill-color-blank);--el-collapse-content-font-size:13px;--el-collapse-content-text-color:var(--el-text-color-primary);border-top:1px solid var(--el-collapse-border-color);border-bottom:1px solid var(--el-collapse-border-color)}.el-collapse-item.is-disabled .el-collapse-item__header{color:var(--el-text-color-disabled);cursor:not-allowed}.el-collapse-item__header{display:flex;align-items:center;height:var(--el-collapse-header-height);line-height:var(--el-collapse-header-height);background-color:var(--el-collapse-header-bg-color);color:var(--el-collapse-header-text-color);cursor:pointer;border-bottom:1px solid var(--el-collapse-border-color);font-size:var(--el-collapse-header-font-size);font-weight:500;transition:border-bottom-color var(--el-transition-duration);outline:0}.el-collapse-item__arrow{margin:0 8px 0 auto;transition:transform var(--el-transition-duration);font-weight:300}.el-collapse-item__arrow.is-active{transform:rotate(90deg)}.el-collapse-item__header.focusing:focus:not(:hover){color:var(--el-color-primary)}.el-collapse-item__header.is-active{border-bottom-color:transparent}.el-collapse-item__wrap{will-change:height;background-color:var(--el-collapse-content-bg-color);overflow:hidden;box-sizing:border-box;border-bottom:1px solid var(--el-collapse-border-color)}.el-collapse-item__content{padding-bottom:25px;font-size:var(--el-collapse-content-font-size);color:var(--el-collapse-content-text-color);line-height:1.7692307692}.el-collapse-item:last-child{margin-bottom:-1px}.el-autocomplete{position:relative;display:inline-block}.el-autocomplete__popper.el-popper{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light);box-shadow:var(--el-box-shadow-light)}.el-autocomplete__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-autocomplete__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-autocomplete__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-autocomplete__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-autocomplete__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-autocomplete-suggestion{border-radius:var(--el-border-radius-base);box-sizing:border-box}.el-autocomplete-suggestion__wrap{max-height:280px;padding:10px 0;box-sizing:border-box}.el-autocomplete-suggestion__list{margin:0;padding:0}.el-autocomplete-suggestion li{padding:0 20px;margin:0;line-height:34px;cursor:pointer;color:var(--el-text-color-regular);font-size:var(--el-font-size-base);list-style:none;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.el-autocomplete-suggestion li:hover,.el-autocomplete-suggestion li.highlighted{background-color:var(--el-fill-color-light)}.el-autocomplete-suggestion li.divider{margin-top:6px;border-top:1px solid var(--el-color-black)}.el-autocomplete-suggestion li.divider:last-child{margin-bottom:-6px}.el-autocomplete-suggestion.is-loading li{text-align:center;height:100px;line-height:100px;font-size:20px;color:var(--el-text-color-secondary)}.el-autocomplete-suggestion.is-loading li:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-autocomplete-suggestion.is-loading li:hover{background-color:var(--el-bg-color-overlay)}.el-autocomplete-suggestion.is-loading .el-icon-loading{vertical-align:middle}.el-tree{--el-tree-node-hover-bg-color:var(--el-fill-color-light);--el-tree-text-color:var(--el-text-color-regular);--el-tree-expand-icon-color:var(--el-text-color-placeholder)}.el-tree{position:relative;cursor:default;background:var(--el-fill-color-blank);color:var(--el-tree-text-color);font-size:var(--el-font-size-base)}.el-tree__empty-block{position:relative;min-height:60px;text-align:center;width:100%;height:100%}.el-tree__empty-text{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:var(--el-text-color-secondary);font-size:var(--el-font-size-base)}.el-tree__drop-indicator{position:absolute;left:0;right:0;height:1px;background-color:var(--el-color-primary)}.el-tree-node{white-space:nowrap;outline:0}.el-tree-node:focus>.el-tree-node__content{background-color:var(--el-tree-node-hover-bg-color)}.el-tree-node.is-drop-inner>.el-tree-node__content .el-tree-node__label{background-color:var(--el-color-primary);color:#fff}.el-tree-node__content{display:flex;align-items:center;height:26px;cursor:pointer}.el-tree-node__content>.el-tree-node__expand-icon{padding:6px;box-sizing:content-box}.el-tree-node__content>label.el-checkbox{margin-right:8px}.el-tree-node__content:hover{background-color:var(--el-tree-node-hover-bg-color)}.el-tree.is-dragging .el-tree-node__content{cursor:move}.el-tree.is-dragging .el-tree-node__content *{pointer-events:none}.el-tree.is-dragging.is-drop-not-allow .el-tree-node__content{cursor:not-allowed}.el-tree-node__expand-icon{cursor:pointer;color:var(--el-tree-expand-icon-color);font-size:12px;transform:rotate(0);transition:transform var(--el-transition-duration) ease-in-out}.el-tree-node__expand-icon.expanded{transform:rotate(90deg)}.el-tree-node__expand-icon.is-leaf{color:transparent;cursor:default}.el-tree-node__expand-icon.is-hidden{visibility:hidden}.el-tree-node__loading-icon{margin-right:8px;font-size:var(--el-font-size-base);color:var(--el-tree-expand-icon-color)}.el-tree-node>.el-tree-node__children{overflow:hidden;background-color:transparent}.el-tree-node.is-expanded>.el-tree-node__children{display:block}.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{background-color:var(--el-color-primary-light-9)}.el-checkbox{--el-checkbox-font-size:14px;--el-checkbox-font-weight:var(--el-font-weight-primary);--el-checkbox-text-color:var(--el-text-color-regular);--el-checkbox-input-height:14px;--el-checkbox-input-width:14px;--el-checkbox-border-radius:var(--el-border-radius-small);--el-checkbox-bg-color:var(--el-fill-color-blank);--el-checkbox-input-border:var(--el-border);--el-checkbox-disabled-border-color:var(--el-border-color);--el-checkbox-disabled-input-fill:var(--el-fill-color-light);--el-checkbox-disabled-icon-color:var(--el-text-color-placeholder);--el-checkbox-disabled-checked-input-fill:var(--el-border-color-extra-light);--el-checkbox-disabled-checked-input-border-color:var(--el-border-color);--el-checkbox-disabled-checked-icon-color:var(--el-text-color-placeholder);--el-checkbox-checked-text-color:var(--el-color-primary);--el-checkbox-checked-input-border-color:var(--el-color-primary);--el-checkbox-checked-bg-color:var(--el-color-primary);--el-checkbox-checked-icon-color:var(--el-color-white);--el-checkbox-input-border-color-hover:var(--el-color-primary)}.el-checkbox{color:var(--el-checkbox-text-color);font-weight:var(--el-checkbox-font-weight);font-size:var(--el-font-size-base);position:relative;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin-right:30px;height:32px}.el-checkbox.is-disabled{cursor:not-allowed}.el-checkbox.is-bordered{padding:0 15px 0 9px;border-radius:var(--el-border-radius-base);border:var(--el-border);box-sizing:border-box}.el-checkbox.is-bordered.is-checked{border-color:var(--el-color-primary)}.el-checkbox.is-bordered.is-disabled{border-color:var(--el-border-color-lighter)}.el-checkbox.is-bordered.el-checkbox--large{padding:0 19px 0 11px;border-radius:var(--el-border-radius-base)}.el-checkbox.is-bordered.el-checkbox--large .el-checkbox__label{font-size:var(--el-font-size-base)}.el-checkbox.is-bordered.el-checkbox--large .el-checkbox__inner{height:14px;width:14px}.el-checkbox.is-bordered.el-checkbox--small{padding:0 11px 0 7px;border-radius:calc(var(--el-border-radius-base) - 1px)}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__label{font-size:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner{height:12px;width:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner:after{height:6px;width:2px}.el-checkbox input:focus-visible+.el-checkbox__inner{outline:2px solid var(--el-checkbox-input-border-color-hover);outline-offset:1px;border-radius:var(--el-checkbox-border-radius)}.el-checkbox__input{white-space:nowrap;cursor:pointer;outline:0;display:inline-flex;position:relative}.el-checkbox__input.is-disabled .el-checkbox__inner{background-color:var(--el-checkbox-disabled-input-fill);border-color:var(--el-checkbox-disabled-border-color);cursor:not-allowed}.el-checkbox__input.is-disabled .el-checkbox__inner:after{cursor:not-allowed;border-color:var(--el-checkbox-disabled-icon-color)}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{background-color:var(--el-checkbox-disabled-checked-input-fill);border-color:var(--el-checkbox-disabled-checked-input-border-color)}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner:after{border-color:var(--el-checkbox-disabled-checked-icon-color)}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner{background-color:var(--el-checkbox-disabled-checked-input-fill);border-color:var(--el-checkbox-disabled-checked-input-border-color)}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner:before{background-color:var(--el-checkbox-disabled-checked-icon-color);border-color:var(--el-checkbox-disabled-checked-icon-color)}.el-checkbox__input.is-disabled+span.el-checkbox__label{color:var(--el-disabled-text-color);cursor:not-allowed}.el-checkbox__input.is-checked .el-checkbox__inner{background-color:var(--el-checkbox-checked-bg-color);border-color:var(--el-checkbox-checked-input-border-color)}.el-checkbox__input.is-checked .el-checkbox__inner:after{transform:rotate(45deg) scaleY(1)}.el-checkbox__input.is-checked+.el-checkbox__label{color:var(--el-checkbox-checked-text-color)}.el-checkbox__input.is-focus:not(.is-checked) .el-checkbox__original:not(:focus-visible){border-color:var(--el-checkbox-input-border-color-hover)}.el-checkbox__input.is-indeterminate .el-checkbox__inner{background-color:var(--el-checkbox-checked-bg-color);border-color:var(--el-checkbox-checked-input-border-color)}.el-checkbox__input.is-indeterminate .el-checkbox__inner:before{content:"";position:absolute;display:block;background-color:var(--el-checkbox-checked-icon-color);height:2px;transform:scale(.5);left:0;right:0;top:5px}.el-checkbox__input.is-indeterminate .el-checkbox__inner:after{display:none}.el-checkbox__inner{display:inline-block;position:relative;border:var(--el-checkbox-input-border);border-radius:var(--el-checkbox-border-radius);box-sizing:border-box;width:var(--el-checkbox-input-width);height:var(--el-checkbox-input-height);background-color:var(--el-checkbox-bg-color);z-index:var(--el-index-normal);transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46),outline .25s cubic-bezier(.71,-.46,.29,1.46)}.el-checkbox__inner:hover{border-color:var(--el-checkbox-input-border-color-hover)}.el-checkbox__inner:after{box-sizing:content-box;content:"";border:1px solid var(--el-checkbox-checked-icon-color);border-left:0;border-top:0;height:7px;left:4px;position:absolute;top:1px;transform:rotate(45deg) scaleY(0);width:3px;transition:transform .15s ease-in 50ms;transform-origin:center}.el-checkbox__original{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.el-checkbox__label{display:inline-block;padding-left:8px;line-height:1;font-size:var(--el-checkbox-font-size)}.el-checkbox.el-checkbox--large{height:40px}.el-checkbox.el-checkbox--large .el-checkbox__label{font-size:14px}.el-checkbox.el-checkbox--large .el-checkbox__inner{width:14px;height:14px}.el-checkbox.el-checkbox--small{height:24px}.el-checkbox.el-checkbox--small .el-checkbox__label{font-size:12px}.el-checkbox.el-checkbox--small .el-checkbox__inner{width:12px;height:12px}.el-checkbox.el-checkbox--small .el-checkbox__input.is-indeterminate .el-checkbox__inner:before{top:4px}.el-checkbox.el-checkbox--small .el-checkbox__inner:after{width:2px;height:6px}.el-checkbox:last-of-type{margin-right:0}.el-icon-loading{-webkit-animation:rotating 2s linear infinite;animation:rotating 2s linear infinite}.el-icon--right{margin-left:5px}.el-icon--left{margin-right:5px}@-webkit-keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.el-icon{--color:inherit;height:1em;width:1em;line-height:1em;display:inline-flex;justify-content:center;align-items:center;position:relative;fill:currentColor;color:var(--color);font-size:inherit}.el-icon.is-loading{-webkit-animation:rotating 2s linear infinite;animation:rotating 2s linear infinite}.el-icon svg{height:1em;width:1em}:root{--fpe-color-white: #ffffff;--fpe-color-black: #000000;--fpe-color-primary-rgb: 64, 158, 255;--fpe-color-success-rgb: 103, 194, 58;--fpe-color-warning-rgb: 230, 162, 60;--fpe-color-danger-rgb: 245, 108, 108;--fpe-color-error-rgb: 245, 108, 108;--fpe-color-info-rgb: 144, 147, 153;--fpe-font-size-extra-large: 20px;--fpe-font-size-large: 18px;--fpe-font-size-medium: 16px;--fpe-font-size-base: 14px;--fpe-font-size-small: 13px;--fpe-font-size-extra-small: 12px;--fpe-font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;--fpe-font-weight-primary: 500;--fpe-font-line-height-primary: 24px;--fpe-index-normal: 1;--fpe-index-top: 1000;--fpe-index-popper: 2000;--fpe-border-radius-base: 4px;--fpe-border-radius-small: 2px;--fpe-border-radius-round: 20px;--fpe-border-radius-circle: 100%;--fpe-transition-duration: .3s;--fpe-transition-duration-fast: .2s;--fpe-transition-function-ease-in-out-bezier: cubic-bezier(.645, .045, .355, 1);--fpe-transition-function-fast-bezier: cubic-bezier(.23, 1, .32, 1);--fpe-transition-all: all var(--fpe-transition-duration) var(--fpe-transition-function-ease-in-out-bezier);--fpe-transition-fade: opacity var(--fpe-transition-duration) var(--fpe-transition-function-fast-bezier);--fpe-transition-md-fade: transform var(--fpe-transition-duration) var(--fpe-transition-function-fast-bezier), opacity var(--fpe-transition-duration) var(--fpe-transition-function-fast-bezier);--fpe-transition-fade-linear: opacity var(--fpe-transition-duration-fast) linear;--fpe-transition-border: border-color var(--fpe-transition-duration-fast) var(--fpe-transition-function-ease-in-out-bezier);--fpe-transition-box-shadow: box-shadow var(--fpe-transition-duration-fast) var(--fpe-transition-function-ease-in-out-bezier);--fpe-transition-color: color var(--fpe-transition-duration-fast) var(--fpe-transition-function-ease-in-out-bezier);--fpe-component-size-large: 40px;--fpe-component-size: 32px;--fpe-component-size-small: 24px}:root{color-scheme:light;--fpe-color-white: #ffffff;--fpe-color-black: #000000;--fpe-color-primary: #409eff;--fpe-color-primary-light-3: #79bbff;--fpe-color-primary-light-5: #a0cfff;--fpe-color-primary-light-7: #c6e2ff;--fpe-color-primary-light-8: #d9ecff;--fpe-color-primary-light-9: #ecf5ff;--fpe-color-primary-dark-2: #337ecc;--fpe-color-success: #67c23a;--fpe-color-success-light-3: #95d475;--fpe-color-success-light-5: #b3e19d;--fpe-color-success-light-7: #d1edc4;--fpe-color-success-light-8: #e1f3d8;--fpe-color-success-light-9: #f0f9eb;--fpe-color-success-dark-2: #529b2e;--fpe-color-warning: #e6a23c;--fpe-color-warning-light-3: #eebe77;--fpe-color-warning-light-5: #f3d19e;--fpe-color-warning-light-7: #f8e3c5;--fpe-color-warning-light-8: #faecd8;--fpe-color-warning-light-9: #fdf6ec;--fpe-color-warning-dark-2: #b88230;--fpe-color-danger: #f56c6c;--fpe-color-danger-light-3: #f89898;--fpe-color-danger-light-5: #fab6b6;--fpe-color-danger-light-7: #fcd3d3;--fpe-color-danger-light-8: #fde2e2;--fpe-color-danger-light-9: #fef0f0;--fpe-color-danger-dark-2: #c45656;--fpe-color-error: #f56c6c;--fpe-color-error-light-3: #f89898;--fpe-color-error-light-5: #fab6b6;--fpe-color-error-light-7: #fcd3d3;--fpe-color-error-light-8: #fde2e2;--fpe-color-error-light-9: #fef0f0;--fpe-color-error-dark-2: #c45656;--fpe-color-info: #909399;--fpe-color-info-light-3: #b1b3b8;--fpe-color-info-light-5: #c8c9cc;--fpe-color-info-light-7: #dedfe0;--fpe-color-info-light-8: #e9e9eb;--fpe-color-info-light-9: #f4f4f5;--fpe-color-info-dark-2: #73767a;--fpe-bg-color: #ffffff;--fpe-bg-color-page: #f2f3f5;--fpe-bg-color-overlay: #ffffff;--fpe-text-color-primary: #303133;--fpe-text-color-regular: #606266;--fpe-text-color-secondary: #909399;--fpe-text-color-placeholder: #a8abb2;--fpe-text-color-disabled: #c0c4cc;--fpe-border-color: #dcdfe6;--fpe-border-color-light: #e4e7ed;--fpe-border-color-lighter: #ebeef5;--fpe-border-color-extra-light: #f2f6fc;--fpe-border-color-dark: #d4d7de;--fpe-border-color-darker: #cdd0d6;--fpe-fill-color: #f0f2f5;--fpe-fill-color-light: #f5f7fa;--fpe-fill-color-lighter: #fafafa;--fpe-fill-color-extra-light: #fafcff;--fpe-fill-color-dark: #ebedf0;--fpe-fill-color-darker: #e6e8eb;--fpe-fill-color-blank: #ffffff;--fpe-box-shadow: 0px 12px 32px 4px rgba(0, 0, 0, .04), 0px 8px 20px rgba(0, 0, 0, .08);--fpe-box-shadow-light: 0px 0px 12px rgba(0, 0, 0, .12);--fpe-box-shadow-lighter: 0px 0px 6px rgba(0, 0, 0, .12);--fpe-box-shadow-dark: 0px 16px 48px 16px rgba(0, 0, 0, .08), 0px 12px 32px rgba(0, 0, 0, .12), 0px 8px 16px -8px rgba(0, 0, 0, .16);--fpe-disabled-bg-color: var(--fpe-fill-color-light);--fpe-disabled-text-color: var(--fpe-text-color-placeholder);--fpe-disabled-border-color: var(--fpe-border-color-light);--fpe-overlay-color: rgba(0, 0, 0, .8);--fpe-overlay-color-light: rgba(0, 0, 0, .7);--fpe-overlay-color-lighter: rgba(0, 0, 0, .5);--fpe-mask-color: rgba(255, 255, 255, .9);--fpe-mask-color-extra-light: rgba(255, 255, 255, .3);--fpe-border-width: 1px;--fpe-border-style: solid;--fpe-border-color-hover: var(--fpe-text-color-disabled);--fpe-border: var(--fpe-border-width) var(--fpe-border-style) var(--fpe-border-color);--fpe-svg-monochrome-grey: var(--fpe-border-color)}.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--fpe-transition-fade-linear)}.fpe-fade-in-linear-enter-active,.fpe-fade-in-linear-leave-active{transition:var(--fpe-transition-fade-linear)}.fpe-fade-in-linear-enter-from,.fpe-fade-in-linear-leave-to{opacity:0}.fpe-fade-in-enter-active,.fpe-fade-in-leave-active{transition:all var(--fpe-transition-duration) cubic-bezier(.55,0,.1,1)}.fpe-fade-in-enter-from,.fpe-fade-in-leave-active{opacity:0}.fpe-zoom-in-center-enter-active,.fpe-zoom-in-center-leave-active{transition:all var(--fpe-transition-duration) cubic-bezier(.55,0,.1,1)}.fpe-zoom-in-center-enter-from,.fpe-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.fpe-zoom-in-top-enter-active,.fpe-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transition:var(--fpe-transition-md-fade);transform-origin:center top}.fpe-zoom-in-top-enter-active[data-popper-placement^=top],.fpe-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:center bottom}.fpe-zoom-in-top-enter-from,.fpe-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.fpe-zoom-in-bottom-enter-active,.fpe-zoom-in-bottom-leave-active{opacity:1;transform:scaleY(1);transition:var(--fpe-transition-md-fade);transform-origin:center bottom}.fpe-zoom-in-bottom-enter-from,.fpe-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.fpe-zoom-in-left-enter-active,.fpe-zoom-in-left-leave-active{opacity:1;transform:scale(1);transition:var(--fpe-transition-md-fade);transform-origin:top left}.fpe-zoom-in-left-enter-from,.fpe-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:var(--fpe-transition-duration) height ease-in-out,var(--fpe-transition-duration) padding-top ease-in-out,var(--fpe-transition-duration) padding-bottom ease-in-out}.fpe-collapse-transition-leave-active,.fpe-collapse-transition-enter-active{transition:var(--fpe-transition-duration) max-height ease-in-out,var(--fpe-transition-duration) padding-top ease-in-out,var(--fpe-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--fpe-transition-duration) width ease-in-out,var(--fpe-transition-duration) padding-left ease-in-out,var(--fpe-transition-duration) padding-right ease-in-out}.fpe-list-enter-active,.fpe-list-leave-active{transition:all 1s}.fpe-list-enter-from,.fpe-list-leave-to{opacity:0;transform:translateY(-30px)}.fpe-list-leave-active{position:absolute!important}.fpe-opacity-transition{transition:opacity var(--fpe-transition-duration) cubic-bezier(.55,0,.1,1)}.fpe-textarea{--fpe-input-text-color: var(--fpe-text-color-regular);--fpe-input-border: var(--fpe-border);--fpe-input-hover-border: var(--fpe-border-color-hover);--fpe-input-focus-border: var(--fpe-color-primary);--fpe-input-transparent-border: 0 0 0 1px transparent inset;--fpe-input-border-color: var(--fpe-border-color);--fpe-input-border-radius: var(--fpe-border-radius-base);--fpe-input-bg-color: var(--fpe-fill-color-blank);--fpe-input-icon-color: var(--fpe-text-color-placeholder);--fpe-input-placeholder-color: var(--fpe-text-color-placeholder);--fpe-input-hover-border-color: var(--fpe-border-color-hover);--fpe-input-clear-hover-color: var(--fpe-text-color-secondary);--fpe-input-focus-border-color: var(--fpe-color-primary)}.fpe-textarea{position:relative;display:inline-block;width:100%;vertical-align:bottom;font-size:var(--fpe-font-size-base)}.fpe-textarea__inner{position:relative;display:block;resize:vertical;padding:5px 11px;line-height:1.5;box-sizing:border-box;width:100%;font-size:inherit;font-family:inherit;color:var(--fpe-input-text-color, var(--fpe-text-color-regular));background-color:var(--fpe-input-bg-color, var(--fpe-fill-color-blank));background-image:none;-webkit-appearance:none;box-shadow:0 0 0 1px var(--fpe-input-border-color, var(--fpe-border-color)) inset;border-radius:var(--fpe-input-border-radius, var(--fpe-border-radius-base));transition:var(--fpe-transition-box-shadow);border:none}.fpe-textarea__inner::placeholder{color:var(--fpe-input-placeholder-color, var(--fpe-text-color-placeholder))}.fpe-textarea__inner:hover{box-shadow:0 0 0 1px var(--fpe-input-hover-border-color) inset}.fpe-textarea__inner:focus{outline:none;box-shadow:0 0 0 1px var(--fpe-input-focus-border-color) inset}.fpe-textarea .fpe-input__count{color:var(--fpe-color-info);background:var(--fpe-fill-color-blank);position:absolute;font-size:12px;line-height:14px;bottom:5px;right:10px}.fpe-textarea.is-disabled .fpe-textarea__inner{background-color:var(--fpe-disabled-bg-color);border-color:var(--fpe-disabled-border-color);color:var(--fpe-disabled-text-color);cursor:not-allowed}.fpe-textarea.is-disabled .fpe-textarea__inner::placeholder{color:var(--fpe-text-color-placeholder)}.fpe-textarea.is-exceed .fpe-textarea__inner{box-shadow:0 0 0 1px var(--fpe-color-danger) inset}.fpe-textarea.is-exceed .fpe-input__count{color:var(--fpe-color-danger)}.fpe-input{--fpe-input-text-color: var(--fpe-text-color-regular);--fpe-input-border: var(--fpe-border);--fpe-input-hover-border: var(--fpe-border-color-hover);--fpe-input-focus-border: var(--fpe-color-primary);--fpe-input-transparent-border: 0 0 0 1px transparent inset;--fpe-input-border-color: var(--fpe-border-color);--fpe-input-border-radius: var(--fpe-border-radius-base);--fpe-input-bg-color: var(--fpe-fill-color-blank);--fpe-input-icon-color: var(--fpe-text-color-placeholder);--fpe-input-placeholder-color: var(--fpe-text-color-placeholder);--fpe-input-hover-border-color: var(--fpe-border-color-hover);--fpe-input-clear-hover-color: var(--fpe-text-color-secondary);--fpe-input-focus-border-color: var(--fpe-color-primary)}.fpe-input{--fpe-input-height: var(--fpe-component-size);position:relative;font-size:var(--fpe-font-size-base);display:inline-flex;width:100%;line-height:var(--fpe-input-height);box-sizing:border-box;vertical-align:middle}.fpe-input::-webkit-scrollbar{z-index:11;width:6px}.fpe-input::-webkit-scrollbar:horizontal{height:6px}.fpe-input::-webkit-scrollbar-thumb{border-radius:5px;width:6px;background:var(--fpe-text-color-disabled)}.fpe-input::-webkit-scrollbar-corner{background:var(--fpe-fill-color-blank)}.fpe-input::-webkit-scrollbar-track{background:var(--fpe-fill-color-blank)}.fpe-input::-webkit-scrollbar-track-piece{background:var(--fpe-fill-color-blank);width:6px}.fpe-input .fpe-input__clear,.fpe-input .fpe-input__password{color:var(--fpe-input-icon-color);font-size:14px;cursor:pointer}.fpe-input .fpe-input__clear:hover,.fpe-input .fpe-input__password:hover{color:var(--fpe-input-clear-hover-color)}.fpe-input .fpe-input__count{height:100%;display:inline-flex;align-items:center;color:var(--fpe-color-info);font-size:12px}.fpe-input .fpe-input__count .fpe-input__count-inner{background:var(--fpe-fill-color-blank);line-height:initial;display:inline-block;padding-left:8px}.fpe-input__wrapper{display:inline-flex;flex-grow:1;align-items:center;justify-content:center;padding:1px 11px;background-color:var(--fpe-input-bg-color, var(--fpe-fill-color-blank));background-image:none;border-radius:var(--fpe-input-border-radius, var(--fpe-border-radius-base));transition:var(--fpe-transition-box-shadow);transform:translateZ(0);box-shadow:0 0 0 1px var(--fpe-input-border-color, var(--fpe-border-color)) inset}.fpe-input__wrapper:hover{box-shadow:0 0 0 1px var(--fpe-input-hover-border-color) inset}.fpe-input__wrapper.is-focus{box-shadow:0 0 0 1px var(--fpe-input-focus-border-color) inset}.fpe-input__inner{--fpe-input-inner-height: calc(var(--fpe-input-height, 32px) - 2px);width:100%;flex-grow:1;-webkit-appearance:none;color:var(--fpe-input-text-color, var(--fpe-text-color-regular));font-size:inherit;height:var(--fpe-input-inner-height);line-height:var(--fpe-input-inner-height);padding:0;outline:none;border:none;background:none;box-sizing:border-box}.fpe-input__inner:focus{outline:none}.fpe-input__inner::placeholder{color:var(--fpe-input-placeholder-color, var(--fpe-text-color-placeholder))}.fpe-input__inner[type=password]::-ms-reveal{display:none}.fpe-input__prefix{display:inline-flex;white-space:nowrap;flex-shrink:0;flex-wrap:nowrap;height:100%;text-align:center;color:var(--fpe-input-icon-color, var(--fpe-text-color-placeholder));transition:all var(--fpe-transition-duration);pointer-events:none}.fpe-input__prefix-inner{pointer-events:all;display:inline-flex;align-items:center;justify-content:center}.fpe-input__prefix-inner>:last-child{margin-right:8px}.fpe-input__prefix-inner>:first-child,.fpe-input__prefix-inner>:first-child.fpe-input__icon{margin-left:0}.fpe-input__suffix{display:inline-flex;white-space:nowrap;flex-shrink:0;flex-wrap:nowrap;height:100%;text-align:center;color:var(--fpe-input-icon-color, var(--fpe-text-color-placeholder));transition:all var(--fpe-transition-duration);pointer-events:none}.fpe-input__suffix-inner{pointer-events:all;display:inline-flex;align-items:center;justify-content:center}.fpe-input__suffix-inner>:first-child{margin-left:8px}.fpe-input .fpe-input__icon{height:inherit;line-height:inherit;display:flex;justify-content:center;align-items:center;transition:all var(--fpe-transition-duration);margin-left:8px}.fpe-input__validateIcon{pointer-events:none}.fpe-input.is-active .fpe-input__wrapper{box-shadow:0 0 0 1px var(--fpe-input-focus-color, ) inset}.fpe-input.is-disabled{cursor:not-allowed}.fpe-input.is-disabled .fpe-input__wrapper{background-color:var(--fpe-disabled-bg-color);box-shadow:0 0 0 1px var(--fpe-disabled-border-color) inset}.fpe-input.is-disabled .fpe-input__inner{color:var(--fpe-disabled-text-color);-webkit-text-fill-color:var(--fpe-disabled-text-color);cursor:not-allowed}.fpe-input.is-disabled .fpe-input__inner::placeholder{color:var(--fpe-text-color-placeholder)}.fpe-input.is-disabled .fpe-input__icon{cursor:not-allowed}.fpe-input.is-exceed .fpe-input__wrapper{box-shadow:0 0 0 1px var(--fpe-color-danger) inset}.fpe-input.is-exceed .fpe-input__suffix .fpe-input__count{color:var(--fpe-color-danger)}.fpe-input--large{--fpe-input-height: var(--fpe-component-size-large);font-size:14px}.fpe-input--large .fpe-input__wrapper{padding:1px 15px}.fpe-input--large .fpe-input__inner{--fpe-input-inner-height: calc(var(--fpe-input-height, 40px) - 2px)}.fpe-input--small{--fpe-input-height: var(--fpe-component-size-small);font-size:12px}.fpe-input--small .fpe-input__wrapper{padding:1px 7px}.fpe-input--small .fpe-input__inner{--fpe-input-inner-height: calc(var(--fpe-input-height, 24px) - 2px)}.fpe-input-group{display:inline-flex;width:100%;align-items:stretch}.fpe-input-group__append,.fpe-input-group__prepend{background-color:var(--fpe-fill-color-light);color:var(--fpe-color-info);position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:100%;border-radius:var(--fpe-input-border-radius);padding:0 20px;white-space:nowrap}.fpe-input-group__append:focus,.fpe-input-group__prepend:focus{outline:none}.fpe-input-group__append .fpe-select,.fpe-input-group__append .fpe-button,.fpe-input-group__prepend .fpe-select,.fpe-input-group__prepend .fpe-button{display:inline-block;margin:0 -20px}.fpe-input-group__append button.fpe-button,.fpe-input-group__append button.fpe-button:hover,.fpe-input-group__append div.fpe-select .fpe-input__wrapper,.fpe-input-group__append div.fpe-select:hover .fpe-input__wrapper,.fpe-input-group__prepend button.fpe-button,.fpe-input-group__prepend button.fpe-button:hover,.fpe-input-group__prepend div.fpe-select .fpe-input__wrapper,.fpe-input-group__prepend div.fpe-select:hover .fpe-input__wrapper{border-color:transparent;background-color:transparent;color:inherit}.fpe-input-group__append .fpe-button,.fpe-input-group__append .fpe-input,.fpe-input-group__prepend .fpe-button,.fpe-input-group__prepend .fpe-input{font-size:inherit}.fpe-input-group__prepend{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0;box-shadow:1px 0 0 0 var(--fpe-input-border-color) inset,0 1px 0 0 var(--fpe-input-border-color) inset,0 -1px 0 0 var(--fpe-input-border-color) inset}.fpe-input-group__append{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0;box-shadow:0 1px 0 0 var(--fpe-input-border-color) inset,0 -1px 0 0 var(--fpe-input-border-color) inset,-1px 0 0 0 var(--fpe-input-border-color) inset}.fpe-input-group--prepend>.fpe-input__wrapper{border-top-left-radius:0;border-bottom-left-radius:0}.fpe-input-group--prepend .fpe-input-group__prepend .fpe-select .fpe-input .fpe-input__inner{box-shadow:none!important}.fpe-input-group--prepend .fpe-input-group__prepend .fpe-select .fpe-input .fpe-input__wrapper{border-top-right-radius:0;border-bottom-right-radius:0;box-shadow:1px 0 0 0 var(--fpe-input-border-color) inset,0 1px 0 0 var(--fpe-input-border-color) inset,0 -1px 0 0 var(--fpe-input-border-color) inset}.fpe-input-group--prepend .fpe-input-group__prepend .fpe-select .fpe-input.is-focus .fpe-input__inner{box-shadow:none!important}.fpe-input-group--prepend .fpe-input-group__prepend .fpe-select .fpe-input.is-focus .fpe-input__wrapper{box-shadow:1px 0 0 0 var(--fpe-input-focus-border-color) inset,1px 0 0 0 var(--fpe-input-focus-border-color),0 1px 0 0 var(--fpe-input-focus-border-color) inset,0 -1px 0 0 var(--fpe-input-focus-border-color) inset!important;z-index:2}.fpe-input-group--prepend .fpe-input-group__prepend .fpe-select .fpe-input.is-focus .fpe-input__wrapper:focus{outline:none;z-index:2;box-shadow:1px 0 0 0 var(--fpe-input-focus-border-color) inset,1px 0 0 0 var(--fpe-input-focus-border-color),0 1px 0 0 var(--fpe-input-focus-border-color) inset,0 -1px 0 0 var(--fpe-input-focus-border-color) inset!important}.fpe-input-group--prepend .fpe-input-group__prepend .fpe-select:hover .fpe-input__inner{box-shadow:none!important}.fpe-input-group--prepend .fpe-input-group__prepend .fpe-select:hover .fpe-input__wrapper{z-index:1;box-shadow:1px 0 0 0 var(--fpe-input-hover-border-color) inset,1px 0 0 0 var(--fpe-input-hover-border-color),0 1px 0 0 var(--fpe-input-hover-border-color) inset,0 -1px 0 0 var(--fpe-input-hover-border-color) inset!important}.fpe-input-group--append>.fpe-input__wrapper{border-top-right-radius:0;border-bottom-right-radius:0}.fpe-input-group--append .fpe-input-group__append .fpe-select .fpe-input .fpe-input__inner{box-shadow:none!important}.fpe-input-group--append .fpe-input-group__append .fpe-select .fpe-input .fpe-input__wrapper{border-top-left-radius:0;border-bottom-left-radius:0;box-shadow:0 1px 0 0 var(--fpe-input-border-color) inset,0 -1px 0 0 var(--fpe-input-border-color) inset,-1px 0 0 0 var(--fpe-input-border-color) inset}.fpe-input-group--append .fpe-input-group__append .fpe-select .fpe-input.is-focus .fpe-input__inner{box-shadow:none!important}.fpe-input-group--append .fpe-input-group__append .fpe-select .fpe-input.is-focus .fpe-input__wrapper{z-index:2;box-shadow:-1px 0 0 0 var(--fpe-input-focus-border-color),-1px 0 0 0 var(--fpe-input-focus-border-color) inset,0 1px 0 0 var(--fpe-input-focus-border-color) inset,0 -1px 0 0 var(--fpe-input-focus-border-color) inset!important}.fpe-input-group--append .fpe-input-group__append .fpe-select:hover .fpe-input__inner{box-shadow:none!important}.fpe-input-group--append .fpe-input-group__append .fpe-select:hover .fpe-input__wrapper{z-index:1;box-shadow:-1px 0 0 0 var(--fpe-input-hover-border-color),-1px 0 0 0 var(--fpe-input-hover-border-color) inset,0 1px 0 0 var(--fpe-input-hover-border-color) inset,0 -1px 0 0 var(--fpe-input-hover-border-color) inset!important}.fpe-tag{--fpe-tag-font-size: 12px;--fpe-tag-border-radius: 4px;--fpe-tag-border-radius-rounded: 9999px}.fpe-tag{--fpe-tag-bg-color: var(--fpe-color-primary-light-9);--fpe-tag-border-color: var(--fpe-color-primary-light-8);--fpe-tag-hover-color: var(--fpe-color-primary);--fpe-tag-text-color: var(--fpe-color-primary);background-color:var(--fpe-tag-bg-color);border-color:var(--fpe-tag-border-color);color:var(--fpe-tag-text-color);display:inline-flex;justify-content:center;align-items:center;height:24px;padding:0 9px;font-size:var(--fpe-tag-font-size);line-height:1;border-width:1px;border-style:solid;border-radius:var(--fpe-tag-border-radius);box-sizing:border-box;white-space:nowrap;--fpe-icon-size: 14px}.fpe-tag.fpe-tag--primary{--fpe-tag-bg-color: var(--fpe-color-primary-light-9);--fpe-tag-border-color: var(--fpe-color-primary-light-8);--fpe-tag-hover-color: var(--fpe-color-primary)}.fpe-tag.fpe-tag--success{--fpe-tag-bg-color: var(--fpe-color-success-light-9);--fpe-tag-border-color: var(--fpe-color-success-light-8);--fpe-tag-hover-color: var(--fpe-color-success)}.fpe-tag.fpe-tag--warning{--fpe-tag-bg-color: var(--fpe-color-warning-light-9);--fpe-tag-border-color: var(--fpe-color-warning-light-8);--fpe-tag-hover-color: var(--fpe-color-warning)}.fpe-tag.fpe-tag--danger{--fpe-tag-bg-color: var(--fpe-color-danger-light-9);--fpe-tag-border-color: var(--fpe-color-danger-light-8);--fpe-tag-hover-color: var(--fpe-color-danger)}.fpe-tag.fpe-tag--error{--fpe-tag-bg-color: var(--fpe-color-error-light-9);--fpe-tag-border-color: var(--fpe-color-error-light-8);--fpe-tag-hover-color: var(--fpe-color-error)}.fpe-tag.fpe-tag--info{--fpe-tag-bg-color: var(--fpe-color-info-light-9);--fpe-tag-border-color: var(--fpe-color-info-light-8);--fpe-tag-hover-color: var(--fpe-color-info)}.fpe-tag.fpe-tag--primary{--fpe-tag-text-color: var(--fpe-color-primary)}.fpe-tag.fpe-tag--success{--fpe-tag-text-color: var(--fpe-color-success)}.fpe-tag.fpe-tag--warning{--fpe-tag-text-color: var(--fpe-color-warning)}.fpe-tag.fpe-tag--danger{--fpe-tag-text-color: var(--fpe-color-danger)}.fpe-tag.fpe-tag--error{--fpe-tag-text-color: var(--fpe-color-error)}.fpe-tag.fpe-tag--info{--fpe-tag-text-color: var(--fpe-color-info)}.fpe-tag.is-hit{border-color:var(--fpe-color-primary)}.fpe-tag.is-round{border-radius:var(--fpe-tag-border-radius-rounded)}.fpe-tag .fpe-tag__close{color:var(--fpe-tag-text-color)}.fpe-tag .fpe-tag__close:hover{color:var(--fpe-color-white);background-color:var(--fpe-tag-hover-color)}.fpe-tag .fpe-icon{border-radius:50%;cursor:pointer;font-size:calc(var(--fpe-icon-size) - 2px);height:var(--fpe-icon-size);width:var(--fpe-icon-size)}.fpe-tag .fpe-tag__close{margin-left:6px}.fpe-tag--dark{--fpe-tag-bg-color: var(--fpe-color-primary);--fpe-tag-border-color: var(--fpe-color-primary);--fpe-tag-hover-color: var(--fpe-color-primary-light-3);--fpe-tag-text-color: var(--fpe-color-white)}.fpe-tag--dark.fpe-tag--primary{--fpe-tag-bg-color: var(--fpe-color-primary);--fpe-tag-border-color: var(--fpe-color-primary);--fpe-tag-hover-color: var(--fpe-color-primary-light-3)}.fpe-tag--dark.fpe-tag--success{--fpe-tag-bg-color: var(--fpe-color-success);--fpe-tag-border-color: var(--fpe-color-success);--fpe-tag-hover-color: var(--fpe-color-success-light-3)}.fpe-tag--dark.fpe-tag--warning{--fpe-tag-bg-color: var(--fpe-color-warning);--fpe-tag-border-color: var(--fpe-color-warning);--fpe-tag-hover-color: var(--fpe-color-warning-light-3)}.fpe-tag--dark.fpe-tag--danger{--fpe-tag-bg-color: var(--fpe-color-danger);--fpe-tag-border-color: var(--fpe-color-danger);--fpe-tag-hover-color: var(--fpe-color-danger-light-3)}.fpe-tag--dark.fpe-tag--error{--fpe-tag-bg-color: var(--fpe-color-error);--fpe-tag-border-color: var(--fpe-color-error);--fpe-tag-hover-color: var(--fpe-color-error-light-3)}.fpe-tag--dark.fpe-tag--info{--fpe-tag-bg-color: var(--fpe-color-info);--fpe-tag-border-color: var(--fpe-color-info);--fpe-tag-hover-color: var(--fpe-color-info-light-3)}.fpe-tag--dark.fpe-tag--primary,.fpe-tag--dark.fpe-tag--success,.fpe-tag--dark.fpe-tag--warning,.fpe-tag--dark.fpe-tag--danger,.fpe-tag--dark.fpe-tag--error,.fpe-tag--dark.fpe-tag--info{--fpe-tag-text-color: var(--fpe-color-white)}.fpe-tag--plain{--fpe-tag-border-color: var(--fpe-color-primary-light-5);--fpe-tag-hover-color: var(--fpe-color-primary);--fpe-tag-bg-color: var(--fpe-fill-color-blank)}.fpe-tag--plain.fpe-tag--primary{--fpe-tag-bg-color: var(--fpe-fill-color-blank);--fpe-tag-border-color: var(--fpe-color-primary-light-5);--fpe-tag-hover-color: var(--fpe-color-primary)}.fpe-tag--plain.fpe-tag--success{--fpe-tag-bg-color: var(--fpe-fill-color-blank);--fpe-tag-border-color: var(--fpe-color-success-light-5);--fpe-tag-hover-color: var(--fpe-color-success)}.fpe-tag--plain.fpe-tag--warning{--fpe-tag-bg-color: var(--fpe-fill-color-blank);--fpe-tag-border-color: var(--fpe-color-warning-light-5);--fpe-tag-hover-color: var(--fpe-color-warning)}.fpe-tag--plain.fpe-tag--danger{--fpe-tag-bg-color: var(--fpe-fill-color-blank);--fpe-tag-border-color: var(--fpe-color-danger-light-5);--fpe-tag-hover-color: var(--fpe-color-danger)}.fpe-tag--plain.fpe-tag--error{--fpe-tag-bg-color: var(--fpe-fill-color-blank);--fpe-tag-border-color: var(--fpe-color-error-light-5);--fpe-tag-hover-color: var(--fpe-color-error)}.fpe-tag--plain.fpe-tag--info{--fpe-tag-bg-color: var(--fpe-fill-color-blank);--fpe-tag-border-color: var(--fpe-color-info-light-5);--fpe-tag-hover-color: var(--fpe-color-info)}.fpe-tag.is-closable{padding-right:5px}.fpe-tag--large{padding:0 11px;height:32px;--fpe-icon-size: 16px}.fpe-tag--large .fpe-tag__close{margin-left:8px}.fpe-tag--large.is-closable{padding-right:7px}.fpe-tag--small{padding:0 7px;height:20px;--fpe-icon-size: 12px}.fpe-tag--small .fpe-tag__close{margin-left:4px}.fpe-tag--small.is-closable{padding-right:3px}.fpe-tag--small .fpe-icon-close{transform:scale(.8)}.fpe-tag.fpe-tag--primary.is-hit{border-color:var(--fpe-color-primary)}.fpe-tag.fpe-tag--success.is-hit{border-color:var(--fpe-color-success)}.fpe-tag.fpe-tag--warning.is-hit{border-color:var(--fpe-color-warning)}.fpe-tag.fpe-tag--danger.is-hit{border-color:var(--fpe-color-danger)}.fpe-tag.fpe-tag--error.is-hit{border-color:var(--fpe-color-error)}.fpe-tag.fpe-tag--info.is-hit{border-color:var(--fpe-color-info)}.fpe-select-dropdown__item{font-size:var(--fpe-font-size-base);padding:0 32px 0 20px;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--fpe-text-color-regular);height:34px;line-height:34px;box-sizing:border-box;cursor:pointer}.fpe-select-dropdown__item.is-disabled{color:var(--fpe-text-color-placeholder);cursor:not-allowed}.fpe-select-dropdown__item.hover,.fpe-select-dropdown__item:hover{background-color:var(--fpe-fill-color-light)}.fpe-select-dropdown__item.selected{color:var(--fpe-color-primary);font-weight:700}.fpe-select-group{margin:0;padding:0}.fpe-select-group__wrap{position:relative;list-style:none;margin:0;padding:0}.fpe-select-group__wrap:not(:last-of-type){padding-bottom:24px}.fpe-select-group__wrap:not(:last-of-type):after{content:"";position:absolute;display:block;left:20px;right:20px;bottom:12px;height:1px;background:var(--fpe-border-color-light)}.fpe-select-group__split-dash{position:absolute;left:20px;right:20px;height:1px;background:var(--fpe-border-color-light)}.fpe-select-group__title{padding-left:20px;font-size:12px;color:var(--fpe-color-info);line-height:30px}.fpe-select-group .fpe-select-dropdown__item{padding-left:20px}.fpe-scrollbar{--fpe-scrollbar-opacity: .3;--fpe-scrollbar-bg-color: var(--fpe-text-color-secondary);--fpe-scrollbar-hover-opacity: .5;--fpe-scrollbar-hover-bg-color: var(--fpe-text-color-secondary)}.fpe-scrollbar{overflow:hidden;position:relative;height:100%}.fpe-scrollbar__wrap{overflow:auto;height:100%}.fpe-scrollbar__wrap--hidden-default{scrollbar-width:none}.fpe-scrollbar__wrap--hidden-default::-webkit-scrollbar{display:none}.fpe-scrollbar__thumb{position:relative;display:block;width:0;height:0;cursor:pointer;border-radius:inherit;background-color:var(--fpe-scrollbar-bg-color, var(--fpe-text-color-secondary));transition:var(--fpe-transition-duration) background-color;opacity:var(--fpe-scrollbar-opacity, .3)}.fpe-scrollbar__thumb:hover{background-color:var(--fpe-scrollbar-hover-bg-color, var(--fpe-text-color-secondary));opacity:var(--fpe-scrollbar-hover-opacity, .5)}.fpe-scrollbar__bar{position:absolute;right:2px;bottom:2px;z-index:1;border-radius:4px}.fpe-scrollbar__bar.is-vertical{width:6px;top:2px}.fpe-scrollbar__bar.is-vertical>div{width:100%}.fpe-scrollbar__bar.is-horizontal{height:6px;left:2px}.fpe-scrollbar__bar.is-horizontal>div{height:100%}.fpe-scrollbar-fade-enter-active{transition:opacity .34s ease-out}.fpe-scrollbar-fade-leave-active{transition:opacity .12s ease-out}.fpe-scrollbar-fade-enter-from,.fpe-scrollbar-fade-leave-active{opacity:0}.fpe-popper{--fpe-popper-border-radius: var(--fpe-popover-border-radius, 4px)}.fpe-popper{position:absolute;border-radius:var(--fpe-popper-border-radius);padding:5px 11px;z-index:2000;font-size:12px;line-height:20px;min-width:10px;word-wrap:break-word;visibility:visible}.fpe-popper.is-dark{color:var(--fpe-bg-color);background:var(--fpe-text-color-primary);border:1px solid var(--fpe-text-color-primary)}.fpe-popper.is-dark .fpe-popper__arrow:before{border:1px solid var(--fpe-text-color-primary);background:var(--fpe-text-color-primary);right:0}.fpe-popper.is-light{background:var(--fpe-bg-color-overlay);border:1px solid var(--fpe-border-color-light)}.fpe-popper.is-light .fpe-popper__arrow:before{border:1px solid var(--fpe-border-color-light);background:var(--fpe-bg-color-overlay);right:0}.fpe-popper.is-pure{padding:0}.fpe-popper__arrow{position:absolute;width:10px;height:10px;z-index:-1}.fpe-popper__arrow:before{position:absolute;width:10px;height:10px;z-index:-1;content:" ";transform:rotate(45deg);background:var(--fpe-text-color-primary);box-sizing:border-box}.fpe-popper[data-popper-placement^=top]>.fpe-popper__arrow{bottom:-5px}.fpe-popper[data-popper-placement^=top]>.fpe-popper__arrow:before{border-bottom-right-radius:2px}.fpe-popper[data-popper-placement^=bottom]>.fpe-popper__arrow{top:-5px}.fpe-popper[data-popper-placement^=bottom]>.fpe-popper__arrow:before{border-top-left-radius:2px}.fpe-popper[data-popper-placement^=left]>.fpe-popper__arrow{right:-5px}.fpe-popper[data-popper-placement^=left]>.fpe-popper__arrow:before{border-top-right-radius:2px}.fpe-popper[data-popper-placement^=right]>.fpe-popper__arrow{left:-5px}.fpe-popper[data-popper-placement^=right]>.fpe-popper__arrow:before{border-bottom-left-radius:2px}.fpe-popper[data-popper-placement^=top] .fpe-popper__arrow:before{border-top-color:transparent!important;border-left-color:transparent!important}.fpe-popper[data-popper-placement^=bottom] .fpe-popper__arrow:before{border-bottom-color:transparent!important;border-right-color:transparent!important}.fpe-popper[data-popper-placement^=left] .fpe-popper__arrow:before{border-left-color:transparent!important;border-bottom-color:transparent!important}.fpe-popper[data-popper-placement^=right] .fpe-popper__arrow:before{border-right-color:transparent!important;border-top-color:transparent!important}.fpe-select-dropdown{z-index:calc(var(--fpe-index-top) + 1);border-radius:var(--fpe-border-radius-base);box-sizing:border-box}.fpe-select-dropdown.is-multiple .fpe-select-dropdown__item.selected{color:var(--fpe-color-primary);background-color:var(--fpe-bg-color-overlay)}.fpe-select-dropdown.is-multiple .fpe-select-dropdown__item.selected.hover{background-color:var(--fpe-fill-color-light)}.fpe-select-dropdown.is-multiple .fpe-select-dropdown__item.selected:after{content:"";position:absolute;top:50%;right:20px;border-top:none;border-right:none;background-repeat:no-repeat;background-position:center;background-color:var(--fpe-color-primary);mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask-size:100% 100%;-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;-webkit-mask-size:100% 100%;transform:translateY(-50%);width:12px;height:12px}.fpe-select-dropdown.is-multiple .fpe-select-dropdown__item.selected.is-disabled:after{background-color:var(--fpe-text-color-disabled)}.fpe-select-dropdown .fpe-select-dropdown__option-item.is-selected:after{content:"";position:absolute;top:50%;right:20px;border-top:none;border-right:none;background-repeat:no-repeat;background-position:center;background-color:var(--fpe-color-primary);mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask-size:100% 100%;-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;-webkit-mask-size:100% 100%;transform:translateY(-50%);width:12px;height:12px}.fpe-select-dropdown .fpe-scrollbar.is-empty .fpe-select-dropdown__list{padding:0}.fpe-select-dropdown .fpe-select-dropdown__item.is-disabled:hover{background-color:unset}.fpe-select-dropdown .fpe-select-dropdown__item.is-disabled.selected{color:var(--fpe-text-color-disabled)}.fpe-select-dropdown__empty{padding:10px 0;margin:0;text-align:center;color:var(--fpe-text-color-secondary);font-size:var(--fpe-select-font-size)}.fpe-select-dropdown__wrap{max-height:274px}.fpe-select-dropdown__list{list-style:none;padding:6px 0;margin:0;box-sizing:border-box}.fpe-select{--fpe-select-border-color-hover: var(--fpe-border-color-hover);--fpe-select-disabled-border: var(--fpe-disabled-border-color);--fpe-select-font-size: var(--fpe-font-size-base);--fpe-select-close-hover-color: var(--fpe-text-color-secondary);--fpe-select-input-color: var(--fpe-text-color-placeholder);--fpe-select-multiple-input-color: var(--fpe-text-color-regular);--fpe-select-input-focus-border-color: var(--fpe-color-primary);--fpe-select-input-font-size: 14px}.fpe-select{display:inline-block;position:relative;vertical-align:middle;line-height:32px}.fpe-select__popper.fpe-popper{background:var(--fpe-bg-color-overlay);border:1px solid var(--fpe-border-color-light);box-shadow:var(--fpe-box-shadow-light)}.fpe-select__popper.fpe-popper .fpe-popper__arrow:before{border:1px solid var(--fpe-border-color-light)}.fpe-select__popper.fpe-popper[data-popper-placement^=top] .fpe-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.fpe-select__popper.fpe-popper[data-popper-placement^=bottom] .fpe-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.fpe-select__popper.fpe-popper[data-popper-placement^=left] .fpe-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.fpe-select__popper.fpe-popper[data-popper-placement^=right] .fpe-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.fpe-select .fpe-select-tags-wrapper.has-prefix{margin-left:6px}.fpe-select--large{line-height:40px}.fpe-select--large .fpe-select-tags-wrapper.has-prefix{margin-left:8px}.fpe-select--small{line-height:24px}.fpe-select--small .fpe-select-tags-wrapper.has-prefix{margin-left:4px}.fpe-select .fpe-select__tags>span{display:inline-block}.fpe-select:hover:not(.fpe-select--disabled) .fpe-input__wrapper{box-shadow:0 0 0 1px var(--fpe-select-border-color-hover) inset}.fpe-select .fpe-select__tags-text{display:inline-block;line-height:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fpe-select .fpe-input__wrapper{cursor:pointer}.fpe-select .fpe-input__wrapper.is-focus{box-shadow:0 0 0 1px var(--fpe-select-input-focus-border-color) inset!important}.fpe-select .fpe-input__inner{cursor:pointer}.fpe-select .fpe-input{display:flex}.fpe-select .fpe-input .fpe-select__caret{color:var(--fpe-select-input-color);font-size:var(--fpe-select-input-font-size);transition:transform var(--fpe-transition-duration);transform:rotate(0);cursor:pointer}.fpe-select .fpe-input .fpe-select__caret.is-reverse{transform:rotate(-180deg)}.fpe-select .fpe-input .fpe-select__caret.is-show-close{font-size:var(--fpe-select-font-size);text-align:center;transform:rotate(0);border-radius:var(--fpe-border-radius-circle);color:var(--fpe-select-input-color);transition:var(--fpe-transition-color)}.fpe-select .fpe-input .fpe-select__caret.is-show-close:hover{color:var(--fpe-select-close-hover-color)}.fpe-select .fpe-input .fpe-select__caret.fpe-icon{position:relative;height:inherit;z-index:2}.fpe-select .fpe-input.is-disabled .fpe-input__wrapper{cursor:not-allowed}.fpe-select .fpe-input.is-disabled .fpe-input__wrapper:hover{box-shadow:0 0 0 1px var(--fpe-select-disabled-border) inset}.fpe-select .fpe-input.is-disabled .fpe-input__inner,.fpe-select .fpe-input.is-disabled .fpe-select__caret{cursor:not-allowed}.fpe-select .fpe-input.is-focus .fpe-input__wrapper{box-shadow:0 0 0 1px var(--fpe-select-input-focus-border-color) inset!important}.fpe-select__input{border:none;outline:none;padding:0;margin-left:15px;color:var(--fpe-select-multiple-input-color);font-size:var(--fpe-select-font-size);appearance:none;height:28px;background-color:transparent}.fpe-select__input.is-disabled{cursor:not-allowed}.fpe-select__input--iOS{position:absolute;left:0;top:0;z-index:6}.fpe-select__input.is-small{height:14px}.fpe-select__close{cursor:pointer;position:absolute;top:8px;z-index:var(--fpe-index-top);right:25px;color:var(--fpe-select-input-color);line-height:18px;font-size:var(--fpe-select-input-font-size)}.fpe-select__close:hover{color:var(--fpe-select-close-hover-color)}.fpe-select__tags{position:absolute;line-height:normal;top:50%;transform:translateY(-50%);white-space:normal;z-index:var(--fpe-index-normal);display:flex;align-items:center;flex-wrap:wrap;cursor:pointer}.fpe-select__tags .fpe-tag{box-sizing:border-box;border-color:transparent;margin:2px 6px 2px 0}.fpe-select__tags .fpe-tag:last-child{margin-right:0}.fpe-select__tags .fpe-tag .fpe-icon-close{background-color:var(--fpe-text-color-placeholder);right:-7px;top:0;color:#fff}.fpe-select__tags .fpe-tag .fpe-icon-close:hover{background-color:var(--fpe-text-color-secondary)}.fpe-select__tags .fpe-tag .fpe-icon-close:before{display:block;transform:translateY(.5px)}.fpe-select__tags .fpe-tag--info{background-color:var(--fpe-fill-color)}.fpe-select__tags.is-disabled{cursor:not-allowed}.fpe-select__collapse-tags{white-space:normal;z-index:var(--fpe-index-normal);display:flex;align-items:center;flex-wrap:wrap;cursor:pointer}.fpe-select__collapse-tags .fpe-tag{box-sizing:border-box;border-color:transparent;margin:2px 6px 2px 0}.fpe-select__collapse-tags .fpe-tag:last-child{margin-right:0}.fpe-select__collapse-tags .fpe-tag .fpe-icon-close{background-color:var(--fpe-text-color-placeholder);right:-7px;top:0;color:#fff}.fpe-select__collapse-tags .fpe-tag .fpe-icon-close:hover{background-color:var(--fpe-text-color-secondary)}.fpe-select__collapse-tags .fpe-tag .fpe-icon-close:before{display:block;transform:translateY(.5px)}.fpe-select__collapse-tags .fpe-tag--info{background-color:var(--fpe-fill-color)}.fpe-select__collapse-tag{line-height:inherit;height:inherit;display:flex}.el-date-table{font-size:12px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.el-date-table.is-week-mode .el-date-table__row:hover .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table.is-week-mode .el-date-table__row:hover td.available:hover{color:var(--el-datepicker-text-color)}.el-date-table.is-week-mode .el-date-table__row:hover td:first-child .el-date-table-cell{margin-left:5px;border-top-left-radius:15px;border-bottom-left-radius:15px}.el-date-table.is-week-mode .el-date-table__row:hover td:last-child .el-date-table-cell{margin-right:5px;border-top-right-radius:15px;border-bottom-right-radius:15px}.el-date-table.is-week-mode .el-date-table__row.current .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table td{width:32px;height:30px;padding:4px 0;box-sizing:border-box;text-align:center;cursor:pointer;position:relative}.el-date-table td .el-date-table-cell{height:30px;padding:3px 0;box-sizing:border-box}.el-date-table td .el-date-table-cell .el-date-table-cell__text{width:24px;height:24px;display:block;margin:0 auto;line-height:24px;position:absolute;left:50%;transform:translate(-50%);border-radius:50%}.el-date-table td.next-month,.el-date-table td.prev-month{color:var(--el-datepicker-off-text-color)}.el-date-table td.today{position:relative}.el-date-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:700}.el-date-table td.today.end-date .el-date-table-cell__text,.el-date-table td.today.start-date .el-date-table-cell__text{color:#fff}.el-date-table td.available:hover{color:var(--el-datepicker-hover-text-color)}.el-date-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-date-table td.current:not(.disabled) .el-date-table-cell__text{color:#fff;background-color:var(--el-datepicker-active-color)}.el-date-table td.current:not(.disabled):focus-visible .el-date-table-cell__text{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.el-date-table td.end-date .el-date-table-cell,.el-date-table td.start-date .el-date-table-cell{color:#fff}.el-date-table td.end-date .el-date-table-cell__text,.el-date-table td.start-date .el-date-table-cell__text{background-color:var(--el-datepicker-active-color)}.el-date-table td.start-date .el-date-table-cell{margin-left:5px;border-top-left-radius:15px;border-bottom-left-radius:15px}.el-date-table td.end-date .el-date-table-cell{margin-right:5px;border-top-right-radius:15px;border-bottom-right-radius:15px}.el-date-table td.disabled .el-date-table-cell{background-color:var(--el-fill-color-light);opacity:1;cursor:not-allowed;color:var(--el-text-color-placeholder)}.el-date-table td.selected .el-date-table-cell{margin-left:5px;margin-right:5px;background-color:var(--el-datepicker-inrange-bg-color);border-radius:15px}.el-date-table td.selected .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-date-table td.selected .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff;border-radius:15px}.el-date-table td.week{font-size:80%;color:var(--el-datepicker-header-text-color)}.el-date-table td:focus{outline:0}.el-date-table th{padding:5px;color:var(--el-datepicker-header-text-color);font-weight:400;border-bottom:solid 1px var(--el-border-color-lighter)}.el-month-table{font-size:12px;margin:-1px;border-collapse:collapse}.el-month-table td{text-align:center;padding:8px 0;cursor:pointer}.el-month-table td div{height:48px;padding:6px 0;box-sizing:border-box}.el-month-table td.today .cell{color:var(--el-color-primary);font-weight:700}.el-month-table td.today.end-date .cell,.el-month-table td.today.start-date .cell{color:#fff}.el-month-table td.disabled .cell{background-color:var(--el-fill-color-light);cursor:not-allowed;color:var(--el-text-color-placeholder)}.el-month-table td.disabled .cell:hover{color:var(--el-text-color-placeholder)}.el-month-table td .cell{width:60px;height:36px;display:block;line-height:36px;color:var(--el-datepicker-text-color);margin:0 auto;border-radius:18px}.el-month-table td .cell:hover{color:var(--el-datepicker-hover-text-color)}.el-month-table td.in-range div{background-color:var(--el-datepicker-inrange-bg-color)}.el-month-table td.in-range div:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-month-table td.end-date div,.el-month-table td.start-date div{color:#fff}.el-month-table td.end-date .cell,.el-month-table td.start-date .cell{color:#fff;background-color:var(--el-datepicker-active-color)}.el-month-table td.start-date div{border-top-left-radius:24px;border-bottom-left-radius:24px}.el-month-table td.end-date div{border-top-right-radius:24px;border-bottom-right-radius:24px}.el-month-table td.current:not(.disabled) .cell{color:var(--el-datepicker-active-color)}.el-month-table td:focus-visible{outline:0}.el-month-table td:focus-visible .cell{outline:2px solid var(--el-datepicker-active-color)}.el-year-table{font-size:12px;margin:-1px;border-collapse:collapse}.el-year-table .el-icon{color:var(--el-datepicker-icon-color)}.el-year-table td{text-align:center;padding:20px 3px;cursor:pointer}.el-year-table td.today .cell{color:var(--el-color-primary);font-weight:700}.el-year-table td.disabled .cell{background-color:var(--el-fill-color-light);cursor:not-allowed;color:var(--el-text-color-placeholder)}.el-year-table td.disabled .cell:hover{color:var(--el-text-color-placeholder)}.el-year-table td .cell{width:48px;height:36px;display:block;line-height:36px;color:var(--el-datepicker-text-color);border-radius:18px;margin:0 auto}.el-year-table td .cell:hover{color:var(--el-datepicker-hover-text-color)}.el-year-table td.current:not(.disabled) .cell{color:var(--el-datepicker-active-color)}.el-year-table td:focus-visible{outline:0}.el-year-table td:focus-visible .cell{outline:2px solid var(--el-datepicker-active-color)}.el-time-spinner.has-seconds .el-time-spinner__wrapper{width:33.3%}.el-time-spinner__wrapper{max-height:192px;overflow:auto;display:inline-block;width:50%;vertical-align:top;position:relative}.el-time-spinner__wrapper.el-scrollbar__wrap:not(.el-scrollbar__wrap--hidden-default){padding-bottom:15px}.el-time-spinner__wrapper.is-arrow{box-sizing:border-box;text-align:center;overflow:hidden}.el-time-spinner__wrapper.is-arrow .el-time-spinner__list{transform:translateY(-32px)}.el-time-spinner__wrapper.is-arrow .el-time-spinner__item:hover:not(.is-disabled):not(.is-active){background:var(--el-fill-color-light);cursor:default}.el-time-spinner__arrow{font-size:12px;color:var(--el-text-color-secondary);position:absolute;left:0;width:100%;z-index:var(--el-index-normal);text-align:center;height:30px;line-height:30px;cursor:pointer}.el-time-spinner__arrow:hover{color:var(--el-color-primary)}.el-time-spinner__arrow.arrow-up{top:10px}.el-time-spinner__arrow.arrow-down{bottom:10px}.el-time-spinner__input.el-input{width:70%}.el-time-spinner__input.el-input .el-input__inner{padding:0;text-align:center}.el-time-spinner__list{padding:0;margin:0;list-style:none;text-align:center}.el-time-spinner__list:after,.el-time-spinner__list:before{content:"";display:block;width:100%;height:80px}.el-time-spinner__item{height:32px;line-height:32px;font-size:12px;color:var(--el-text-color-regular)}.el-time-spinner__item:hover:not(.is-disabled):not(.is-active){background:var(--el-fill-color-light);cursor:pointer}.el-time-spinner__item.is-active:not(.is-disabled){color:var(--el-text-color-primary);font-weight:700}.el-time-spinner__item.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.fade-in-linear-enter-from,.fade-in-linear-leave-to{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.el-fade-in-linear-enter-from,.el-fade-in-linear-leave-to{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-fade-in-enter-from,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter-from,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transition:var(--el-transition-md-fade);transform-origin:center top}.el-zoom-in-top-enter-active[data-popper-placement^=top],.el-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:center bottom}.el-zoom-in-top-enter-from,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transform:scaleY(1);transition:var(--el-transition-md-fade);transform-origin:center bottom}.el-zoom-in-bottom-enter-from,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transform:scale(1);transition:var(--el-transition-md-fade);transform-origin:top left}.el-zoom-in-left-enter-from,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:var(--el-transition-duration) height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.el-collapse-transition-enter-active,.el-collapse-transition-leave-active{transition:var(--el-transition-duration) max-height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--el-transition-duration) width ease-in-out,var(--el-transition-duration) padding-left ease-in-out,var(--el-transition-duration) padding-right ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter-from,.el-list-leave-to{opacity:0;transform:translateY(-30px)}.el-list-leave-active{position:absolute!important}.el-opacity-transition{transition:opacity var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-picker__popper{--el-datepicker-border-color:var(--el-disabled-border-color)}.el-picker__popper.el-popper{background:var(--el-bg-color-overlay);border:1px solid var(--el-datepicker-border-color);box-shadow:var(--el-box-shadow-light)}.el-picker__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-datepicker-border-color)}.el-picker__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-picker__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-picker__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-picker__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-date-editor{--el-date-editor-width:220px;--el-date-editor-monthrange-width:300px;--el-date-editor-daterange-width:350px;--el-date-editor-datetimerange-width:400px;--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);position:relative;display:inline-block;text-align:left}.el-date-editor.el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset}.el-date-editor.el-input__wrapper:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-date-editor.el-input,.el-date-editor.el-input__wrapper{width:var(--el-date-editor-width);height:var(--el-input-height,var(--el-component-size))}.el-date-editor--monthrange{--el-date-editor-width:var(--el-date-editor-monthrange-width)}.el-date-editor--daterange,.el-date-editor--timerange{--el-date-editor-width:var(--el-date-editor-daterange-width)}.el-date-editor--datetimerange{--el-date-editor-width:var(--el-date-editor-datetimerange-width)}.el-date-editor--dates .el-input__wrapper{text-overflow:ellipsis;white-space:nowrap}.el-date-editor .close-icon,.el-date-editor .clear-icon{cursor:pointer}.el-date-editor .clear-icon:hover{color:var(--el-text-color-secondary)}.el-date-editor .el-range__icon{height:inherit;font-size:14px;color:var(--el-text-color-placeholder);float:left}.el-date-editor .el-range__icon svg{vertical-align:middle}.el-date-editor .el-range-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;outline:0;display:inline-block;height:30px;line-height:30px;margin:0;padding:0;width:39%;text-align:center;font-size:var(--el-font-size-base);color:var(--el-text-color-regular);background-color:transparent}.el-date-editor .el-range-input::-moz-placeholder{color:var(--el-text-color-placeholder)}.el-date-editor .el-range-input:-ms-input-placeholder{color:var(--el-text-color-placeholder)}.el-date-editor .el-range-input::placeholder{color:var(--el-text-color-placeholder)}.el-date-editor .el-range-separator{flex:1;display:inline-flex;justify-content:center;align-items:center;height:100%;padding:0 5px;margin:0;font-size:14px;word-break:keep-all;color:var(--el-text-color-primary)}.el-date-editor .el-range__close-icon{font-size:14px;color:var(--el-text-color-placeholder);height:inherit;width:unset;cursor:pointer}.el-date-editor .el-range__close-icon:hover{color:var(--el-text-color-secondary)}.el-date-editor .el-range__close-icon svg{vertical-align:middle}.el-date-editor .el-range__close-icon--hidden{opacity:0;visibility:hidden}.el-range-editor.el-input__wrapper{display:inline-flex;align-items:center;padding:0 10px}.el-range-editor.is-active,.el-range-editor.is-active:hover{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-range-editor--large{line-height:var(--el-component-size-large)}.el-range-editor--large.el-input__wrapper{height:var(--el-component-size-large)}.el-range-editor--large .el-range-separator{line-height:40px;font-size:14px}.el-range-editor--large .el-range-input{height:38px;line-height:38px;font-size:14px}.el-range-editor--small{line-height:var(--el-component-size-small)}.el-range-editor--small.el-input__wrapper{height:var(--el-component-size-small)}.el-range-editor--small .el-range-separator{line-height:24px;font-size:12px}.el-range-editor--small .el-range-input{height:22px;line-height:22px;font-size:12px}.el-range-editor.is-disabled{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-range-editor.is-disabled:focus,.el-range-editor.is-disabled:hover{border-color:var(--el-disabled-border-color)}.el-range-editor.is-disabled input{background-color:var(--el-disabled-bg-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-range-editor.is-disabled input::-moz-placeholder{color:var(--el-text-color-placeholder)}.el-range-editor.is-disabled input:-ms-input-placeholder{color:var(--el-text-color-placeholder)}.el-range-editor.is-disabled input::placeholder{color:var(--el-text-color-placeholder)}.el-range-editor.is-disabled .el-range-separator{color:var(--el-disabled-text-color)}.el-picker-panel{color:var(--el-text-color-regular);background:var(--el-bg-color-overlay);border-radius:var(--el-border-radius-base);line-height:30px}.el-picker-panel .el-time-panel{margin:5px 0;border:solid 1px var(--el-datepicker-border-color);background-color:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-picker-panel__body-wrapper:after,.el-picker-panel__body:after{content:"";display:table;clear:both}.el-picker-panel__content{position:relative;margin:15px}.el-picker-panel__footer{border-top:1px solid var(--el-datepicker-inner-border-color);padding:4px 12px;text-align:right;background-color:var(--el-bg-color-overlay);position:relative;font-size:0}.el-picker-panel__shortcut{display:block;width:100%;border:0;background-color:transparent;line-height:28px;font-size:14px;color:var(--el-datepicker-text-color);padding-left:12px;text-align:left;outline:0;cursor:pointer}.el-picker-panel__shortcut:hover{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__shortcut.active{background-color:#e6f1fe;color:var(--el-datepicker-active-color)}.el-picker-panel__btn{border:1px solid var(--el-fill-color-darker);color:var(--el-text-color-primary);line-height:24px;border-radius:2px;padding:0 20px;cursor:pointer;background-color:transparent;outline:0;font-size:12px}.el-picker-panel__btn[disabled]{color:var(--el-text-color-disabled);cursor:not-allowed}.el-picker-panel__icon-btn{font-size:12px;color:var(--el-datepicker-icon-color);border:0;background:0 0;cursor:pointer;outline:0;margin-top:8px}.el-picker-panel__icon-btn:hover{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__icon-btn:focus-visible{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__icon-btn.is-disabled{color:var(--el-text-color-disabled)}.el-picker-panel__icon-btn.is-disabled:hover{cursor:not-allowed}.el-picker-panel__icon-btn .el-icon{cursor:pointer;font-size:inherit}.el-picker-panel__link-btn{vertical-align:middle}.el-picker-panel [slot=sidebar],.el-picker-panel__sidebar{position:absolute;top:0;bottom:0;width:110px;border-right:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;padding-top:6px;background-color:var(--el-bg-color-overlay);overflow:auto}.el-picker-panel [slot=sidebar]+.el-picker-panel__body,.el-picker-panel__sidebar+.el-picker-panel__body{margin-left:110px}.el-date-picker{--el-datepicker-text-color:var(--el-text-color-regular);--el-datepicker-off-text-color:var(--el-text-color-placeholder);--el-datepicker-header-text-color:var(--el-text-color-regular);--el-datepicker-icon-color:var(--el-text-color-primary);--el-datepicker-border-color:var(--el-disabled-border-color);--el-datepicker-inner-border-color:var(--el-border-color-light);--el-datepicker-inrange-bg-color:var(--el-border-color-extra-light);--el-datepicker-inrange-hover-bg-color:var(--el-border-color-extra-light);--el-datepicker-active-color:var(--el-color-primary);--el-datepicker-hover-text-color:var(--el-color-primary)}.el-date-picker{width:322px}.el-date-picker.has-sidebar.has-time{width:434px}.el-date-picker.has-sidebar{width:438px}.el-date-picker.has-time .el-picker-panel__body-wrapper{position:relative}.el-date-picker .el-picker-panel__content{width:292px}.el-date-picker table{table-layout:fixed;width:100%}.el-date-picker__editor-wrap{position:relative;display:table-cell;padding:0 5px}.el-date-picker__time-header{position:relative;border-bottom:1px solid var(--el-datepicker-inner-border-color);font-size:12px;padding:8px 5px 5px;display:table;width:100%;box-sizing:border-box}.el-date-picker__header{margin:12px;text-align:center}.el-date-picker__header--bordered{margin-bottom:0;padding-bottom:12px;border-bottom:solid 1px var(--el-border-color-lighter)}.el-date-picker__header--bordered+.el-picker-panel__content{margin-top:0}.el-date-picker__header-label{font-size:16px;font-weight:500;padding:0 5px;line-height:22px;text-align:center;cursor:pointer;color:var(--el-text-color-regular)}.el-date-picker__header-label:hover{color:var(--el-datepicker-hover-text-color)}.el-date-picker__header-label:focus-visible{outline:0;color:var(--el-datepicker-hover-text-color)}.el-date-picker__header-label.active{color:var(--el-datepicker-active-color)}.el-date-picker__prev-btn{float:left}.el-date-picker__next-btn{float:right}.el-date-picker__time-wrap{padding:10px;text-align:center}.el-date-picker__time-label{float:left;cursor:pointer;line-height:30px;margin-left:10px}.el-date-picker .el-time-panel{position:absolute}.el-date-range-picker{--el-datepicker-text-color:var(--el-text-color-regular);--el-datepicker-off-text-color:var(--el-text-color-placeholder);--el-datepicker-header-text-color:var(--el-text-color-regular);--el-datepicker-icon-color:var(--el-text-color-primary);--el-datepicker-border-color:var(--el-disabled-border-color);--el-datepicker-inner-border-color:var(--el-border-color-light);--el-datepicker-inrange-bg-color:var(--el-border-color-extra-light);--el-datepicker-inrange-hover-bg-color:var(--el-border-color-extra-light);--el-datepicker-active-color:var(--el-color-primary);--el-datepicker-hover-text-color:var(--el-color-primary)}.el-date-range-picker{width:646px}.el-date-range-picker.has-sidebar{width:756px}.el-date-range-picker.has-time .el-picker-panel__body-wrapper{position:relative}.el-date-range-picker table{table-layout:fixed;width:100%}.el-date-range-picker .el-picker-panel__body{min-width:513px}.el-date-range-picker .el-picker-panel__content{margin:0}.el-date-range-picker__header{position:relative;text-align:center;height:28px}.el-date-range-picker__header [class*=arrow-left]{float:left}.el-date-range-picker__header [class*=arrow-right]{float:right}.el-date-range-picker__header div{font-size:16px;font-weight:500;margin-right:50px}.el-date-range-picker__content{float:left;width:50%;box-sizing:border-box;margin:0;padding:16px}.el-date-range-picker__content.is-left{border-right:1px solid var(--el-datepicker-inner-border-color)}.el-date-range-picker__content .el-date-range-picker__header div{margin-left:50px;margin-right:50px}.el-date-range-picker__editors-wrap{box-sizing:border-box;display:table-cell}.el-date-range-picker__editors-wrap.is-right{text-align:right}.el-date-range-picker__time-header{position:relative;border-bottom:1px solid var(--el-datepicker-inner-border-color);font-size:12px;padding:8px 5px 5px;display:table;width:100%;box-sizing:border-box}.el-date-range-picker__time-header>.el-icon-arrow-right{font-size:20px;vertical-align:middle;display:table-cell;color:var(--el-datepicker-icon-color)}.el-date-range-picker__time-picker-wrap{position:relative;display:table-cell;padding:0 5px}.el-date-range-picker__time-picker-wrap .el-picker-panel{position:absolute;top:13px;right:0;z-index:1;background:#fff}.el-date-range-picker__time-picker-wrap .el-time-panel{position:absolute}.el-time-range-picker{width:354px;overflow:visible}.el-time-range-picker__content{position:relative;text-align:center;padding:10px;z-index:1}.el-time-range-picker__cell{box-sizing:border-box;margin:0;padding:4px 7px 7px;width:50%;display:inline-block}.el-time-range-picker__header{margin-bottom:5px;text-align:center;font-size:14px}.el-time-range-picker__body{border-radius:2px;border:1px solid var(--el-datepicker-border-color)}.el-time-panel{border-radius:2px;position:relative;width:180px;left:0;z-index:var(--el-index-top);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;box-sizing:content-box}.el-time-panel__content{font-size:0;position:relative;overflow:hidden}.el-time-panel__content:after,.el-time-panel__content:before{content:"";top:50%;position:absolute;margin-top:-16px;height:32px;z-index:-1;left:0;right:0;box-sizing:border-box;padding-top:6px;text-align:left}.el-time-panel__content:after{left:50%;margin-left:12%;margin-right:12%}.el-time-panel__content:before{padding-left:50%;margin-right:12%;margin-left:12%;border-top:1px solid var(--el-border-color-light);border-bottom:1px solid var(--el-border-color-light)}.el-time-panel__content.has-seconds:after{left:66.6666666667%}.el-time-panel__content.has-seconds:before{padding-left:33.3333333333%}.el-time-panel__footer{border-top:1px solid var(--el-timepicker-inner-border-color,var(--el-border-color-light));padding:4px;height:36px;line-height:25px;text-align:right;box-sizing:border-box}.el-time-panel__btn{border:none;line-height:28px;padding:0 5px;margin:0 5px;cursor:pointer;background-color:transparent;outline:0;font-size:12px;color:var(--el-text-color-primary)}.el-time-panel__btn.confirm{font-weight:800;color:var(--el-timepicker-active-color,var(--el-color-primary))}.el-input-number{position:relative;display:inline-flex;width:150px;line-height:30px}.el-input-number .el-input__wrapper{padding-left:42px;padding-right:42px}.el-input-number .el-input__inner{-webkit-appearance:none;-moz-appearance:textfield;text-align:center;line-height:1}.el-input-number .el-input__inner::-webkit-inner-spin-button,.el-input-number .el-input__inner::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.el-input-number__decrease,.el-input-number__increase{display:flex;justify-content:center;align-items:center;height:auto;position:absolute;z-index:1;top:1px;bottom:1px;width:32px;background:var(--el-fill-color-light);color:var(--el-text-color-regular);cursor:pointer;font-size:13px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.el-input-number__decrease:hover,.el-input-number__increase:hover{color:var(--el-color-primary)}.el-input-number__decrease:hover~.el-input:not(.is-disabled) .el-input_wrapper,.el-input-number__increase:hover~.el-input:not(.is-disabled) .el-input_wrapper{box-shadow:0 0 0 1px var(--el-input-focus-border-color,var(--el-color-primary)) inset}.el-input-number__decrease.is-disabled,.el-input-number__increase.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-input-number__increase{right:1px;border-radius:0 var(--el-border-radius-base) var(--el-border-radius-base) 0;border-left:var(--el-border)}.el-input-number__decrease{left:1px;border-radius:var(--el-border-radius-base) 0 0 var(--el-border-radius-base);border-right:var(--el-border)}.el-input-number.is-disabled .el-input-number__decrease,.el-input-number.is-disabled .el-input-number__increase{border-color:var(--el-disabled-border-color);color:var(--el-disabled-border-color)}.el-input-number.is-disabled .el-input-number__decrease:hover,.el-input-number.is-disabled .el-input-number__increase:hover{color:var(--el-disabled-border-color);cursor:not-allowed}.el-input-number--large{width:180px;line-height:38px}.el-input-number--large .el-input-number__decrease,.el-input-number--large .el-input-number__increase{width:40px;font-size:14px}.el-input-number--large .el-input__wrapper{padding-left:47px;padding-right:47px}.el-input-number--small{width:120px;line-height:22px}.el-input-number--small .el-input-number__decrease,.el-input-number--small .el-input-number__increase{width:24px;font-size:12px}.el-input-number--small .el-input__wrapper{padding-left:31px;padding-right:31px}.el-input-number--small .el-input-number__decrease [class*=el-icon],.el-input-number--small .el-input-number__increase [class*=el-icon]{transform:scale(.9)}.el-input-number.is-without-controls .el-input__wrapper{padding-left:15px;padding-right:15px}.el-input-number.is-controls-right .el-input__wrapper{padding-left:15px;padding-right:42px}.el-input-number.is-controls-right .el-input-number__decrease,.el-input-number.is-controls-right .el-input-number__increase{--el-input-number-controls-height:15px;height:var(--el-input-number-controls-height);line-height:var(--el-input-number-controls-height)}.el-input-number.is-controls-right .el-input-number__decrease [class*=el-icon],.el-input-number.is-controls-right .el-input-number__increase [class*=el-icon]{transform:scale(.8)}.el-input-number.is-controls-right .el-input-number__increase{bottom:auto;left:auto;border-radius:0 var(--el-border-radius-base) 0 0;border-bottom:var(--el-border)}.el-input-number.is-controls-right .el-input-number__decrease{right:1px;top:auto;left:auto;border-right:none;border-left:var(--el-border);border-radius:0 0 var(--el-border-radius-base) 0}.el-input-number.is-controls-right[class*=large] [class*=decrease],.el-input-number.is-controls-right[class*=large] [class*=increase]{--el-input-number-controls-height:19px}.el-input-number.is-controls-right[class*=small] [class*=decrease],.el-input-number.is-controls-right[class*=small] [class*=increase]{--el-input-number-controls-height:11px}.fpe-button{--fpe-button-font-weight: var(--fpe-font-weight-primary);--fpe-button-border-color: var(--fpe-border-color);--fpe-button-bg-color: var(--fpe-fill-color-blank);--fpe-button-text-color: var(--fpe-text-color-regular);--fpe-button-disabled-text-color: var(--fpe-disabled-text-color);--fpe-button-disabled-bg-color: var(--fpe-fill-color-blank);--fpe-button-disabled-border-color: var(--fpe-border-color-light);--fpe-button-divide-border-color: rgba(255, 255, 255, .5);--fpe-button-hover-text-color: var(--fpe-color-primary);--fpe-button-hover-bg-color: var(--fpe-color-primary-light-9);--fpe-button-hover-border-color: var(--fpe-color-primary-light-7);--fpe-button-active-text-color: var(--fpe-button-hover-text-color);--fpe-button-active-border-color: var(--fpe-color-primary);--fpe-button-active-bg-color: var(--fpe-button-hover-bg-color);--fpe-button-outline-color: var(--fpe-color-primary-light-5);--fpe-button-hover-link-text-color: var(--fpe-color-info);--fpe-button-active-color: var(--fpe-text-color-primary)}.fpe-button{display:inline-flex;justify-content:center;align-items:center;line-height:1;height:32px;white-space:nowrap;cursor:pointer;color:var(--fpe-button-text-color);text-align:center;box-sizing:border-box;outline:none;transition:.1s;font-weight:var(--fpe-button-font-weight);user-select:none;vertical-align:middle;-webkit-appearance:none;background-color:var(--fpe-button-bg-color);border:var(--fpe-border);border-color:var(--fpe-button-border-color);padding:8px 15px;font-size:var(--fpe-font-size-base);border-radius:var(--fpe-border-radius-base)}.fpe-button:hover,.fpe-button:focus{color:var(--fpe-button-hover-text-color);border-color:var(--fpe-button-hover-border-color);background-color:var(--fpe-button-hover-bg-color);outline:none}.fpe-button:active{color:var(--fpe-button-active-text-color);border-color:var(--fpe-button-active-border-color);background-color:var(--fpe-button-active-bg-color);outline:none}.fpe-button:focus-visible{outline:2px solid var(--fpe-button-outline-color);outline-offset:1px}.fpe-button>span{display:inline-flex;align-items:center}.fpe-button+.fpe-button{margin-left:12px}.fpe-button.is-round{padding:8px 15px}.fpe-button::-moz-focus-inner{border:0}.fpe-button [class*=fpe-icon]+span{margin-left:6px}.fpe-button [class*=fpe-icon] svg{vertical-align:bottom}.fpe-button.is-plain{--fpe-button-hover-text-color: var(--fpe-color-primary);--fpe-button-hover-bg-color: var(--fpe-fill-color-blank);--fpe-button-hover-border-color: var(--fpe-color-primary)}.fpe-button.is-active{color:var(--fpe-button-active-text-color);border-color:var(--fpe-button-active-border-color);background-color:var(--fpe-button-active-bg-color);outline:none}.fpe-button.is-disabled,.fpe-button.is-disabled:hover,.fpe-button.is-disabled:focus{color:var(--fpe-button-disabled-text-color);cursor:not-allowed;background-image:none;background-color:var(--fpe-button-disabled-bg-color);border-color:var(--fpe-button-disabled-border-color)}.fpe-button.is-loading{position:relative;pointer-events:none}.fpe-button.is-loading:before{z-index:1;pointer-events:none;content:"";position:absolute;inset:-1px;border-radius:inherit;background-color:var(--fpe-mask-color-extra-light)}.fpe-button.is-round{border-radius:var(--fpe-border-radius-round)}.fpe-button.is-circle{border-radius:50%;padding:8px}.fpe-button.is-text{color:var(--fpe-button-text-color);border:0 solid transparent;background-color:transparent}.fpe-button.is-text.is-disabled{color:var(--fpe-button-disabled-text-color);background-color:transparent!important}.fpe-button.is-text:not(.is-disabled):hover,.fpe-button.is-text:not(.is-disabled):focus{background-color:var(--fpe-fill-color-light)}.fpe-button.is-text:not(.is-disabled):focus-visible{outline:2px solid var(--fpe-button-outline-color);outline-offset:1px}.fpe-button.is-text:not(.is-disabled):active{background-color:var(--fpe-fill-color)}.fpe-button.is-text:not(.is-disabled).is-has-bg{background-color:var(--fpe-fill-color-light)}.fpe-button.is-text:not(.is-disabled).is-has-bg:hover,.fpe-button.is-text:not(.is-disabled).is-has-bg:focus{background-color:var(--fpe-fill-color)}.fpe-button.is-text:not(.is-disabled).is-has-bg:active{background-color:var(--fpe-fill-color-dark)}.fpe-button__text--expand{letter-spacing:.3em;margin-right:-.3em}.fpe-button.is-link{border-color:transparent;color:var(--fpe-button-text-color);background:transparent;padding:2px;height:auto}.fpe-button.is-link:hover,.fpe-button.is-link:focus{color:var(--fpe-button-hover-link-text-color)}.fpe-button.is-link.is-disabled{color:var(--fpe-button-disabled-text-color);background-color:transparent!important;border-color:transparent!important}.fpe-button.is-link:not(.is-disabled):hover,.fpe-button.is-link:not(.is-disabled):focus{border-color:transparent;background-color:transparent}.fpe-button.is-link:not(.is-disabled):active{color:var(--fpe-button-active-color);border-color:transparent;background-color:transparent}.fpe-button--text{border-color:transparent;background:transparent;color:var(--fpe-color-primary);padding-left:0;padding-right:0}.fpe-button--text.is-disabled{color:var(--fpe-button-disabled-text-color);background-color:transparent!important;border-color:transparent!important}.fpe-button--text:not(.is-disabled):hover,.fpe-button--text:not(.is-disabled):focus{color:var(--fpe-color-primary-light-3);border-color:transparent;background-color:transparent}.fpe-button--text:not(.is-disabled):active{color:var(--fpe-color-primary-dark-2);border-color:transparent;background-color:transparent}.fpe-button__link--expand{letter-spacing:.3em;margin-right:-.3em}.fpe-button--primary{--fpe-button-text-color: var(--fpe-color-white);--fpe-button-bg-color: var(--fpe-color-primary);--fpe-button-border-color: var(--fpe-color-primary);--fpe-button-outline-color: var(--fpe-color-primary-light-5);--fpe-button-active-color: var(--fpe-color-primary-dark-2);--fpe-button-hover-text-color: var(--fpe-color-white);--fpe-button-hover-link-text-color: var(--fpe-color-primary-light-5);--fpe-button-hover-bg-color: var(--fpe-color-primary-light-3);--fpe-button-hover-border-color: var(--fpe-color-primary-light-3);--fpe-button-active-bg-color: var(--fpe-color-primary-dark-2);--fpe-button-active-border-color: var(--fpe-color-primary-dark-2);--fpe-button-disabled-text-color: var(--fpe-color-white);--fpe-button-disabled-bg-color: var(--fpe-color-primary-light-5);--fpe-button-disabled-border-color: var(--fpe-color-primary-light-5)}.fpe-button--primary.is-plain,.fpe-button--primary.is-text,.fpe-button--primary.is-link{--fpe-button-text-color: var(--fpe-color-primary);--fpe-button-bg-color: var(--fpe-color-primary-light-9);--fpe-button-border-color: var(--fpe-color-primary-light-5);--fpe-button-hover-text-color: var(--fpe-color-white);--fpe-button-hover-bg-color: var(--fpe-color-primary);--fpe-button-hover-border-color: var(--fpe-color-primary);--fpe-button-active-text-color: var(--fpe-color-white)}.fpe-button--primary.is-plain.is-disabled,.fpe-button--primary.is-plain.is-disabled:hover,.fpe-button--primary.is-plain.is-disabled:focus,.fpe-button--primary.is-plain.is-disabled:active,.fpe-button--primary.is-text.is-disabled,.fpe-button--primary.is-text.is-disabled:hover,.fpe-button--primary.is-text.is-disabled:focus,.fpe-button--primary.is-text.is-disabled:active,.fpe-button--primary.is-link.is-disabled,.fpe-button--primary.is-link.is-disabled:hover,.fpe-button--primary.is-link.is-disabled:focus,.fpe-button--primary.is-link.is-disabled:active{color:var(--fpe-color-primary-light-5);background-color:var(--fpe-color-primary-light-9);border-color:var(--fpe-color-primary-light-8)}.fpe-button--success{--fpe-button-text-color: var(--fpe-color-white);--fpe-button-bg-color: var(--fpe-color-success);--fpe-button-border-color: var(--fpe-color-success);--fpe-button-outline-color: var(--fpe-color-success-light-5);--fpe-button-active-color: var(--fpe-color-success-dark-2);--fpe-button-hover-text-color: var(--fpe-color-white);--fpe-button-hover-link-text-color: var(--fpe-color-success-light-5);--fpe-button-hover-bg-color: var(--fpe-color-success-light-3);--fpe-button-hover-border-color: var(--fpe-color-success-light-3);--fpe-button-active-bg-color: var(--fpe-color-success-dark-2);--fpe-button-active-border-color: var(--fpe-color-success-dark-2);--fpe-button-disabled-text-color: var(--fpe-color-white);--fpe-button-disabled-bg-color: var(--fpe-color-success-light-5);--fpe-button-disabled-border-color: var(--fpe-color-success-light-5)}.fpe-button--success.is-plain,.fpe-button--success.is-text,.fpe-button--success.is-link{--fpe-button-text-color: var(--fpe-color-success);--fpe-button-bg-color: var(--fpe-color-success-light-9);--fpe-button-border-color: var(--fpe-color-success-light-5);--fpe-button-hover-text-color: var(--fpe-color-white);--fpe-button-hover-bg-color: var(--fpe-color-success);--fpe-button-hover-border-color: var(--fpe-color-success);--fpe-button-active-text-color: var(--fpe-color-white)}.fpe-button--success.is-plain.is-disabled,.fpe-button--success.is-plain.is-disabled:hover,.fpe-button--success.is-plain.is-disabled:focus,.fpe-button--success.is-plain.is-disabled:active,.fpe-button--success.is-text.is-disabled,.fpe-button--success.is-text.is-disabled:hover,.fpe-button--success.is-text.is-disabled:focus,.fpe-button--success.is-text.is-disabled:active,.fpe-button--success.is-link.is-disabled,.fpe-button--success.is-link.is-disabled:hover,.fpe-button--success.is-link.is-disabled:focus,.fpe-button--success.is-link.is-disabled:active{color:var(--fpe-color-success-light-5);background-color:var(--fpe-color-success-light-9);border-color:var(--fpe-color-success-light-8)}.fpe-button--warning{--fpe-button-text-color: var(--fpe-color-white);--fpe-button-bg-color: var(--fpe-color-warning);--fpe-button-border-color: var(--fpe-color-warning);--fpe-button-outline-color: var(--fpe-color-warning-light-5);--fpe-button-active-color: var(--fpe-color-warning-dark-2);--fpe-button-hover-text-color: var(--fpe-color-white);--fpe-button-hover-link-text-color: var(--fpe-color-warning-light-5);--fpe-button-hover-bg-color: var(--fpe-color-warning-light-3);--fpe-button-hover-border-color: var(--fpe-color-warning-light-3);--fpe-button-active-bg-color: var(--fpe-color-warning-dark-2);--fpe-button-active-border-color: var(--fpe-color-warning-dark-2);--fpe-button-disabled-text-color: var(--fpe-color-white);--fpe-button-disabled-bg-color: var(--fpe-color-warning-light-5);--fpe-button-disabled-border-color: var(--fpe-color-warning-light-5)}.fpe-button--warning.is-plain,.fpe-button--warning.is-text,.fpe-button--warning.is-link{--fpe-button-text-color: var(--fpe-color-warning);--fpe-button-bg-color: var(--fpe-color-warning-light-9);--fpe-button-border-color: var(--fpe-color-warning-light-5);--fpe-button-hover-text-color: var(--fpe-color-white);--fpe-button-hover-bg-color: var(--fpe-color-warning);--fpe-button-hover-border-color: var(--fpe-color-warning);--fpe-button-active-text-color: var(--fpe-color-white)}.fpe-button--warning.is-plain.is-disabled,.fpe-button--warning.is-plain.is-disabled:hover,.fpe-button--warning.is-plain.is-disabled:focus,.fpe-button--warning.is-plain.is-disabled:active,.fpe-button--warning.is-text.is-disabled,.fpe-button--warning.is-text.is-disabled:hover,.fpe-button--warning.is-text.is-disabled:focus,.fpe-button--warning.is-text.is-disabled:active,.fpe-button--warning.is-link.is-disabled,.fpe-button--warning.is-link.is-disabled:hover,.fpe-button--warning.is-link.is-disabled:focus,.fpe-button--warning.is-link.is-disabled:active{color:var(--fpe-color-warning-light-5);background-color:var(--fpe-color-warning-light-9);border-color:var(--fpe-color-warning-light-8)}.fpe-button--danger{--fpe-button-text-color: var(--fpe-color-white);--fpe-button-bg-color: var(--fpe-color-danger);--fpe-button-border-color: var(--fpe-color-danger);--fpe-button-outline-color: var(--fpe-color-danger-light-5);--fpe-button-active-color: var(--fpe-color-danger-dark-2);--fpe-button-hover-text-color: var(--fpe-color-white);--fpe-button-hover-link-text-color: var(--fpe-color-danger-light-5);--fpe-button-hover-bg-color: var(--fpe-color-danger-light-3);--fpe-button-hover-border-color: var(--fpe-color-danger-light-3);--fpe-button-active-bg-color: var(--fpe-color-danger-dark-2);--fpe-button-active-border-color: var(--fpe-color-danger-dark-2);--fpe-button-disabled-text-color: var(--fpe-color-white);--fpe-button-disabled-bg-color: var(--fpe-color-danger-light-5);--fpe-button-disabled-border-color: var(--fpe-color-danger-light-5)}.fpe-button--danger.is-plain,.fpe-button--danger.is-text,.fpe-button--danger.is-link{--fpe-button-text-color: var(--fpe-color-danger);--fpe-button-bg-color: var(--fpe-color-danger-light-9);--fpe-button-border-color: var(--fpe-color-danger-light-5);--fpe-button-hover-text-color: var(--fpe-color-white);--fpe-button-hover-bg-color: var(--fpe-color-danger);--fpe-button-hover-border-color: var(--fpe-color-danger);--fpe-button-active-text-color: var(--fpe-color-white)}.fpe-button--danger.is-plain.is-disabled,.fpe-button--danger.is-plain.is-disabled:hover,.fpe-button--danger.is-plain.is-disabled:focus,.fpe-button--danger.is-plain.is-disabled:active,.fpe-button--danger.is-text.is-disabled,.fpe-button--danger.is-text.is-disabled:hover,.fpe-button--danger.is-text.is-disabled:focus,.fpe-button--danger.is-text.is-disabled:active,.fpe-button--danger.is-link.is-disabled,.fpe-button--danger.is-link.is-disabled:hover,.fpe-button--danger.is-link.is-disabled:focus,.fpe-button--danger.is-link.is-disabled:active{color:var(--fpe-color-danger-light-5);background-color:var(--fpe-color-danger-light-9);border-color:var(--fpe-color-danger-light-8)}.fpe-button--info{--fpe-button-text-color: var(--fpe-color-white);--fpe-button-bg-color: var(--fpe-color-info);--fpe-button-border-color: var(--fpe-color-info);--fpe-button-outline-color: var(--fpe-color-info-light-5);--fpe-button-active-color: var(--fpe-color-info-dark-2);--fpe-button-hover-text-color: var(--fpe-color-white);--fpe-button-hover-link-text-color: var(--fpe-color-info-light-5);--fpe-button-hover-bg-color: var(--fpe-color-info-light-3);--fpe-button-hover-border-color: var(--fpe-color-info-light-3);--fpe-button-active-bg-color: var(--fpe-color-info-dark-2);--fpe-button-active-border-color: var(--fpe-color-info-dark-2);--fpe-button-disabled-text-color: var(--fpe-color-white);--fpe-button-disabled-bg-color: var(--fpe-color-info-light-5);--fpe-button-disabled-border-color: var(--fpe-color-info-light-5)}.fpe-button--info.is-plain,.fpe-button--info.is-text,.fpe-button--info.is-link{--fpe-button-text-color: var(--fpe-color-info);--fpe-button-bg-color: var(--fpe-color-info-light-9);--fpe-button-border-color: var(--fpe-color-info-light-5);--fpe-button-hover-text-color: var(--fpe-color-white);--fpe-button-hover-bg-color: var(--fpe-color-info);--fpe-button-hover-border-color: var(--fpe-color-info);--fpe-button-active-text-color: var(--fpe-color-white)}.fpe-button--info.is-plain.is-disabled,.fpe-button--info.is-plain.is-disabled:hover,.fpe-button--info.is-plain.is-disabled:focus,.fpe-button--info.is-plain.is-disabled:active,.fpe-button--info.is-text.is-disabled,.fpe-button--info.is-text.is-disabled:hover,.fpe-button--info.is-text.is-disabled:focus,.fpe-button--info.is-text.is-disabled:active,.fpe-button--info.is-link.is-disabled,.fpe-button--info.is-link.is-disabled:hover,.fpe-button--info.is-link.is-disabled:focus,.fpe-button--info.is-link.is-disabled:active{color:var(--fpe-color-info-light-5);background-color:var(--fpe-color-info-light-9);border-color:var(--fpe-color-info-light-8)}.fpe-button--large{--fpe-button-size: 40px;height:var(--fpe-button-size);padding:12px 19px;font-size:var(--fpe-font-size-base);border-radius:var(--fpe-border-radius-base)}.fpe-button--large [class*=fpe-icon]+span{margin-left:8px}.fpe-button--large.is-round{padding:12px 19px}.fpe-button--large.is-circle{width:var(--fpe-button-size);padding:12px}.fpe-button--small{--fpe-button-size: 24px;height:var(--fpe-button-size);padding:5px 11px;font-size:12px;border-radius:calc(var(--fpe-border-radius-base) - 1px)}.fpe-button--small [class*=fpe-icon]+span{margin-left:4px}.fpe-button--small.is-round{padding:5px 11px}.fpe-button--small.is-circle{width:var(--fpe-button-size);padding:5px}.fpe-icon-loading{animation:rotating 2s linear infinite}.fpe-icon--right{margin-left:5px}.fpe-icon--left{margin-right:5px}@keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.fpe-icon{--color: inherit;height:1em;width:1em;line-height:1em;display:inline-flex;justify-content:center;align-items:center;position:relative;fill:currentColor;color:var(--color);font-size:inherit}.fpe-icon.is-loading{animation:rotating 2s linear infinite}.fpe-icon svg{height:1em;width:1em}.resizable-content{height:100%;display:flex;flex-direction:column}.resizable-body{overflow-y:auto;flex:1}:root{--el-color-primary: ;padding:20px;border-radius:5px;display:flex;flex-direction:column;gap:10px}.fpe-pro-cta h3{font-size:16px;margin-bottom:0;color:#fff}.fpe-pro-cta .fpe-pro-cta-actions{display:flex;align-items:center}.fpe-pro-cta a.fpe-pro-upgrade{margin-right:10px;padding:10px 15px;background-color:#fff;color:#000;text-decoration:none;font-weight:700}.fpe-pro-cta a.fpe-pro-upgrade:hover{background-color:#fff;color:#000}.fpe-pro-cta a{color:#fff;text-decoration:underline}.fpe-pro-cta a:hover{color:#fff}.fpe-dummy-item .el-collapse-item__header .fpe-pro-lock{margin-left:10px}
  • frontend-product-editor/trunk/build/js/admin.js

    r2978520 r3040157  
    1 var zt=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports);import{cN as Le,cO as Gt,cP as gt,cQ as vt,cR as Kt,cS as Yt,cT as Jt,cU as mt,cV as Xt,cW as yt,cX as kt,bv as Ht,cY as Qt,cZ as Ge,bs as Ke,c_ as ht,c$ as Me,d0 as me,d1 as bt,bt as er,d2 as tr,d3 as rr,d4 as nr,bC as Ve,bD as Oe,bJ as ir,c4 as Ae,c6 as wt,d5 as _t,aB as z,l as j,cd as qe,D as se,bS as Ft,bM as Ie,bf as ye,bO as ar,av as xt,az as Re,aZ as Ct,d6 as Ne,at as M,p as U,aF as pe,ad as ee,b0 as v,bX as Ot,bZ as At,a0 as he,cx as Ee,d7 as sr,am as qt,ai as Et,as as or,d8 as lr,y as S,F as H,ac as St,b5 as fr,d9 as ur,da as dr,db as Ye,dc as xe,bk as L,n as k,aI as cr,af as Je,x as Be,aU as Xe,o as ke,q as C,d as pr,bG as gr,ca as vr,cy as mr,cz as yr,cA as hr,cE as He,cC as le,aE as fe,cD as ue,cl as br,aX as wr,m as _r,cM as Fr}from"../assets/base-e7524bac.js";var ra=zt((re,ne)=>{var Qe=Object.create,xr=function(){function r(){}return function(e){if(!Le(e))return{};if(Qe)return Qe(e);r.prototype=e;var t=new r;return r.prototype=void 0,t}}();const Cr=xr;function Or(r,e){var t=-1,n=r.length;for(e||(e=Array(n));++t<n;)e[t]=r[t];return e}function Ar(r,e){for(var t=-1,n=r==null?0:r.length;++t<n&&e(r[t],t,r)!==!1;);return r}function be(r,e,t,n){var i=!t;t||(t={});for(var s=-1,a=e.length;++s<a;){var o=e[s],l=n?n(t[o],r[o],o,t,r):void 0;l===void 0&&(l=r[o]),i?Gt(t,o,l):gt(t,o,l)}return t}function qr(r){var e=[];if(r!=null)for(var t in Object(r))e.push(t);return e}var Er=Object.prototype,Sr=Er.hasOwnProperty;function jr(r){if(!Le(r))return qr(r);var e=vt(r),t=[];for(var n in r)n=="constructor"&&(e||!Sr.call(r,n))||t.push(n);return t}function We(r){return Kt(r)?Yt(r,!0):jr(r)}var Tr=Jt(Object.getPrototypeOf,Object);const jt=Tr;function Pr(r,e){return r&&be(e,mt(e),r)}function $r(r,e){return r&&be(e,We(e),r)}var Tt=typeof re=="object"&&re&&!re.nodeType&&re,et=Tt&&typeof ne=="object"&&ne&&!ne.nodeType&&ne,Lr=et&&et.exports===Tt,tt=Lr?Xt.Buffer:void 0,rt=tt?tt.allocUnsafe:void 0;function Mr(r,e){if(e)return r.slice();var t=r.length,n=rt?rt(t):new r.constructor(t);return r.copy(n),n}function Vr(r,e){return be(r,yt(r),e)}var Ir=Object.getOwnPropertySymbols,Rr=Ir?function(r){for(var e=[];r;)Ht(e,yt(r)),r=jt(r);return e}:kt;const Pt=Rr;function Nr(r,e){return be(r,Pt(r),e)}function Br(r){return Qt(r,We,Pt)}var Wr=Object.prototype,Ur=Wr.hasOwnProperty;function Dr(r){var e=r.length,t=new r.constructor(e);return e&&typeof r[0]=="string"&&Ur.call(r,"index")&&(t.index=r.index,t.input=r.input),t}function Ue(r){var e=new r.constructor(r.byteLength);return new Ge(e).set(new Ge(r)),e}function Zr(r,e){var t=e?Ue(r.buffer):r.buffer;return new r.constructor(t,r.byteOffset,r.byteLength)}var zr=/\w*$/;function Gr(r){var e=new r.constructor(r.source,zr.exec(r));return e.lastIndex=r.lastIndex,e}var nt=Ke?Ke.prototype:void 0,it=nt?nt.valueOf:void 0;function Kr(r){return it?Object(it.call(r)):{}}function Yr(r,e){var t=e?Ue(r.buffer):r.buffer;return new r.constructor(t,r.byteOffset,r.length)}var Jr="[object Boolean]",Xr="[object Date]",kr="[object Map]",Hr="[object Number]",Qr="[object RegExp]",en="[object Set]",tn="[object String]",rn="[object Symbol]",nn="[object ArrayBuffer]",an="[object DataView]",sn="[object Float32Array]",on="[object Float64Array]",ln="[object Int8Array]",fn="[object Int16Array]",un="[object Int32Array]",dn="[object Uint8Array]",cn="[object Uint8ClampedArray]",pn="[object Uint16Array]",gn="[object Uint32Array]";function vn(r,e,t){var n=r.constructor;switch(e){case nn:return Ue(r);case Jr:case Xr:return new n(+r);case an:return Zr(r,t);case sn:case on:case ln:case fn:case un:case dn:case cn:case pn:case gn:return Yr(r,t);case kr:return new n;case Hr:case tn:return new n(r);case Qr:return Gr(r);case en:return new n;case rn:return Kr(r)}}function mn(r){return typeof r.constructor=="function"&&!vt(r)?Cr(jt(r)):{}}var yn="[object Map]";function hn(r){return ht(r)&&Me(r)==yn}var at=me&&me.isMap,bn=at?bt(at):hn;const wn=bn;var _n="[object Set]";function Fn(r){return ht(r)&&Me(r)==_n}var st=me&&me.isSet,xn=st?bt(st):Fn;const Cn=xn;var On=1,An=2,qn=4,$t="[object Arguments]",En="[object Array]",Sn="[object Boolean]",jn="[object Date]",Tn="[object Error]",Lt="[object Function]",Pn="[object GeneratorFunction]",$n="[object Map]",Ln="[object Number]",Mt="[object Object]",Mn="[object RegExp]",Vn="[object Set]",In="[object String]",Rn="[object Symbol]",Nn="[object WeakMap]",Bn="[object ArrayBuffer]",Wn="[object DataView]",Un="[object Float32Array]",Dn="[object Float64Array]",Zn="[object Int8Array]",zn="[object Int16Array]",Gn="[object Int32Array]",Kn="[object Uint8Array]",Yn="[object Uint8ClampedArray]",Jn="[object Uint16Array]",Xn="[object Uint32Array]",O={};O[$t]=O[En]=O[Bn]=O[Wn]=O[Sn]=O[jn]=O[Un]=O[Dn]=O[Zn]=O[zn]=O[Gn]=O[$n]=O[Ln]=O[Mt]=O[Mn]=O[Vn]=O[In]=O[Rn]=O[Kn]=O[Yn]=O[Jn]=O[Xn]=!0;O[Tn]=O[Lt]=O[Nn]=!1;function ge(r,e,t,n,i,s){var a,o=e&On,l=e&An,_=e&qn;if(t&&(a=i?t(r,n,i,s):t(r)),a!==void 0)return a;if(!Le(r))return r;var u=er(r);if(u){if(a=Dr(r),!o)return Or(r,a)}else{var d=Me(r),m=d==Lt||d==Pn;if(tr(r))return Mr(r,o);if(d==Mt||d==$t||m&&!i){if(a=l||m?{}:mn(r),!o)return l?Nr(r,$r(a,r)):Vr(r,Pr(a,r))}else{if(!O[d])return i?r:{};a=vn(r,d,o)}}s||(s=new rr);var q=s.get(r);if(q)return q;s.set(r,a),Cn(r)?r.forEach(function(y){a.add(ge(y,e,t,y,r,s))}):wn(r)&&r.forEach(function(y,f){a.set(f,ge(y,e,t,f,r,s))});var E=_?l?Br:nr:l?We:mt,p=u?void 0:E(r);return Ar(p||r,function(y,f){p&&(f=y,y=r[f]),gt(a,f,ge(y,e,t,f,r,s))}),a}var kn=4;function ot(r){return ge(r,kn)}const Hn=Ve({size:{type:String,values:_t},disabled:Boolean}),Qn=Ve({...Hn,model:Object,rules:{type:Oe(Object)},labelPosition:{type:String,values:["left","right","top"],default:"right"},requireAsteriskPosition:{type:String,values:["left","right"],default:"left"},labelWidth:{type:[String,Number],default:""},labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:{type:Boolean,default:!1},scrollToError:Boolean,scrollIntoViewOptions:{type:[Object,Boolean]}}),ei={validate:(r,e,t)=>(ir(r)||Ae(r))&&wt(e)&&Ae(t)};function ti(){const r=z([]),e=j(()=>{if(!r.value.length)return"0";const s=Math.max(...r.value);return s?`${s}px`:""});function t(s){const a=r.value.indexOf(s);return a===-1&&e.value,a}function n(s,a){if(s&&a){const o=t(a);r.value.splice(o,1,s)}else s&&r.value.push(s)}function i(s){const a=t(s);a>-1&&r.value.splice(a,1)}return{autoLabelWidth:e,registerLabelWidth:n,deregisterLabelWidth:i}}const de=(r,e)=>{const t=qe(e);return t.length>0?r.filter(n=>n.prop&&t.includes(n.prop)):r},ri="ElForm",ni=se({name:ri}),ii=se({...ni,props:Qn,emits:ei,setup(r,{expose:e,emit:t}){const n=r,i=[],s=Ft(),a=Ie("form"),o=j(()=>{const{labelPosition:h,inline:c}=n;return[a.b(),a.m(s.value||"default"),{[a.m(`label-${h}`)]:h,[a.m("inline")]:c}]}),l=h=>{i.push(h)},_=h=>{h.prop&&i.splice(i.indexOf(h),1)},u=(h=[])=>{n.model&&de(i,h).forEach(c=>c.resetField())},d=(h=[])=>{de(i,h).forEach(c=>c.clearValidate())},m=j(()=>!!n.model),q=h=>{if(i.length===0)return[];const c=de(i,h);return c.length?c:[]},E=async h=>y(void 0,h),p=async(h=[])=>{if(!m.value)return!1;const c=q(h);if(c.length===0)return!0;let w={};for(const x of c)try{await x.validate("")}catch(A){w={...w,...A}}return Object.keys(w).length===0?!0:Promise.reject(w)},y=async(h=[],c)=>{const w=!At(c);try{const x=await p(h);return x===!0&&c?.(x),x}catch(x){if(x instanceof Error)throw x;const A=x;return n.scrollToError&&f(Object.keys(A)[0]),c?.(!1,A),w&&Promise.reject(A)}},f=h=>{var c;const w=de(i,h)[0];w&&((c=w.$el)==null||c.scrollIntoView(n.scrollIntoViewOptions))};return ye(()=>n.rules,()=>{n.validateOnRuleChange&&E().catch(h=>ar())},{deep:!0}),xt(Ne,Re({...Ct(n),emit:t,resetFields:u,clearValidate:d,validateField:y,addField:l,removeField:_,...ti()})),e({validate:E,validateField:y,resetFields:u,clearValidate:d,scrollToField:f}),(h,c)=>(M(),U("form",{class:ee(v(o))},[pe(h.$slots,"default")],2))}});var ai=Ot(ii,[["__file","/home/runner/work/element-plus/element-plus/packages/components/form/src/form.vue"]]);function G(){return G=Object.assign?Object.assign.bind():function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r},G.apply(this,arguments)}function si(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,ae(r,e)}function Se(r){return Se=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Se(r)}function ae(r,e){return ae=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},ae(r,e)}function oi(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ve(r,e,t){return oi()?ve=Reflect.construct.bind():ve=function(i,s,a){var o=[null];o.push.apply(o,s);var l=Function.bind.apply(i,o),_=new l;return a&&ae(_,a.prototype),_},ve.apply(null,arguments)}function li(r){return Function.toString.call(r).indexOf("[native code]")!==-1}function je(r){var e=typeof Map=="function"?new Map:void 0;return je=function(n){if(n===null||!li(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e<"u"){if(e.has(n))return e.get(n);e.set(n,i)}function i(){return ve(n,arguments,Se(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),ae(i,n)},je(r)}var fi=/%[sdj%]/g,ui=function(){};typeof process<"u"&&process.env;function Te(r){if(!r||!r.length)return null;var e={};return r.forEach(function(t){var n=t.field;e[n]=e[n]||[],e[n].push(t)}),e}function I(r){for(var e=arguments.length,t=new Array(e>1?e-1:0),n=1;n<e;n++)t[n-1]=arguments[n];var i=0,s=t.length;if(typeof r=="function")return r.apply(null,t);if(typeof r=="string"){var a=r.replace(fi,function(o){if(o==="%%")return"%";if(i>=s)return o;switch(o){case"%s":return String(t[i++]);case"%d":return Number(t[i++]);case"%j":try{return JSON.stringify(t[i++])}catch{return"[Circular]"}break;default:return o}});return a}return r}function di(r){return r==="string"||r==="url"||r==="hex"||r==="email"||r==="date"||r==="pattern"}function T(r,e){return!!(r==null||e==="array"&&Array.isArray(r)&&!r.length||di(e)&&typeof r=="string"&&!r)}function ci(r,e,t){var n=[],i=0,s=r.length;function a(o){n.push.apply(n,o||[]),i++,i===s&&t(n)}r.forEach(function(o){e(o,a)})}function lt(r,e,t){var n=0,i=r.length;function s(a){if(a&&a.length){t(a);return}var o=n;n=n+1,o<i?e(r[o],s):t([])}s([])}function pi(r){var e=[];return Object.keys(r).forEach(function(t){e.push.apply(e,r[t]||[])}),e}var ft=function(r){si(e,r);function e(t,n){var i;return i=r.call(this,"Async Validation Error")||this,i.errors=t,i.fields=n,i}return e}(je(Error));function gi(r,e,t,n,i){if(e.first){var s=new Promise(function(m,q){var E=function(f){return n(f),f.length?q(new ft(f,Te(f))):m(i)},p=pi(r);lt(p,t,E)});return s.catch(function(m){return m}),s}var a=e.firstFields===!0?Object.keys(r):e.firstFields||[],o=Object.keys(r),l=o.length,_=0,u=[],d=new Promise(function(m,q){var E=function(y){if(u.push.apply(u,y),_++,_===l)return n(u),u.length?q(new ft(u,Te(u))):m(i)};o.length||(n(u),m(i)),o.forEach(function(p){var y=r[p];a.indexOf(p)!==-1?lt(y,t,E):ci(y,t,E)})});return d.catch(function(m){return m}),d}function vi(r){return!!(r&&r.message!==void 0)}function mi(r,e){for(var t=r,n=0;n<e.length;n++){if(t==null)return t;t=t[e[n]]}return t}function ut(r,e){return function(t){var n;return r.fullFields?n=mi(e,r.fullFields):n=e[t.field||r.fullField],vi(t)?(t.field=t.field||r.fullField,t.fieldValue=n,t):{message:typeof t=="function"?t():t,fieldValue:n,field:t.field||r.fullField}}}function dt(r,e){if(e){for(var t in e)if(e.hasOwnProperty(t)){var n=e[t];typeof n=="object"&&typeof r[t]=="object"?r[t]=G({},r[t],n):r[t]=n}}return r}var Vt=function(e,t,n,i,s,a){e.required&&(!n.hasOwnProperty(e.field)||T(t,a||e.type))&&i.push(I(s.messages.required,e.fullField))},yi=function(e,t,n,i,s){(/^\s+$/.test(t)||t==="")&&i.push(I(s.messages.whitespace,e.fullField))},ce,hi=function(){if(ce)return ce;var r="[a-fA-F\\d:]",e=function(w){return w&&w.includeBoundaries?"(?:(?<=\\s|^)(?="+r+")|(?<="+r+")(?=\\s|$))":""},t="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",n="[a-fA-F\\d]{1,4}",i=(`
     1var =(`
    22(?:
    33(?:`+n+":){7}(?:"+n+`|:)|                                    // 1:2:3:4:5:6:7::  1:2:3:4:5:6:7:8
    4 (?:`+n+":){6}(?:"+t+"|:"+n+`|:)|                             // 1:2:3:4:5:6::    1:2:3:4:5:6::8   1:2:3:4:5:6::8  1:2:3:4:5:6::1.2.3.4
    5 (?:`+n+":){5}(?::"+t+"|(?::"+n+`){1,2}|:)|                   // 1:2:3:4:5::      1:2:3:4:5::7:8   1:2:3:4:5::8    1:2:3:4:5::7:1.2.3.4
    6 (?:`+n+":){4}(?:(?::"+n+"){0,1}:"+t+"|(?::"+n+`){1,3}|:)| // 1:2:3:4::        1:2:3:4::6:7:8   1:2:3:4::8      1:2:3:4::6:7:1.2.3.4
    7 (?:`+n+":){3}(?:(?::"+n+"){0,2}:"+t+"|(?::"+n+`){1,4}|:)| // 1:2:3::          1:2:3::5:6:7:8   1:2:3::8        1:2:3::5:6:7:1.2.3.4
    8 (?:`+n+":){2}(?:(?::"+n+"){0,3}:"+t+"|(?::"+n+`){1,5}|:)| // 1:2::            1:2::4:5:6:7:8   1:2::8          1:2::4:5:6:7:1.2.3.4
    9 (?:`+n+":){1}(?:(?::"+n+"){0,4}:"+t+"|(?::"+n+`){1,6}|:)| // 1::              1::3:4:5:6:7:8   1::8            1::3:4:5:6:7:1.2.3.4
    10 (?::(?:(?::`+n+"){0,5}:"+t+"|(?::"+n+`){1,7}|:))             // ::2:3:4:5:6:7:8  ::2:3:4:5:6:7:8  ::8             ::1.2.3.4
     4(?:`+n+":){6}(?:"++"|:"+n+`|:)|                             // 1:2:3:4:5:6::    1:2:3:4:5:6::8   1:2:3:4:5:6::8  1:2:3:4:5:6::1.2.3.4
     5(?:`+n+":){5}(?::"++"|(?::"+n+`){1,2}|:)|                   // 1:2:3:4:5::      1:2:3:4:5::7:8   1:2:3:4:5::8    1:2:3:4:5::7:1.2.3.4
     6(?:`+n+":){4}(?:(?::"+n+"){0,1}:"++"|(?::"+n+`){1,3}|:)| // 1:2:3:4::        1:2:3:4::6:7:8   1:2:3:4::8      1:2:3:4::6:7:1.2.3.4
     7(?:`+n+":){3}(?:(?::"+n+"){0,2}:"++"|(?::"+n+`){1,4}|:)| // 1:2:3::          1:2:3::5:6:7:8   1:2:3::8        1:2:3::5:6:7:1.2.3.4
     8(?:`+n+":){2}(?:(?::"+n+"){0,3}:"++"|(?::"+n+`){1,5}|:)| // 1:2::            1:2::4:5:6:7:8   1:2::8          1:2::4:5:6:7:1.2.3.4
     9(?:`+n+":){1}(?:(?::"+n+"){0,4}:"++"|(?::"+n+`){1,6}|:)| // 1::              1::3:4:5:6:7:8   1::8            1::3:4:5:6:7:1.2.3.4
     10(?::(?:(?::`+n+"){0,5}:"++"|(?::"+n+`){1,7}|:))             // ::2:3:4:5:6:7:8  ::2:3:4:5:6:7:8  ::8             ::1.2.3.4
    1111)(?:%[0-9a-zA-Z]{1,})?                                             // %eth0            %1
    12 `).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),s=new RegExp("(?:^"+t+"$)|(?:^"+i+"$)"),a=new RegExp("^"+t+"$"),o=new RegExp("^"+i+"$"),l=function(w){return w&&w.exact?s:new RegExp("(?:"+e(w)+t+e(w)+")|(?:"+e(w)+i+e(w)+")","g")};l.v4=function(c){return c&&c.exact?a:new RegExp(""+e(c)+t+e(c),"g")},l.v6=function(c){return c&&c.exact?o:new RegExp(""+e(c)+i+e(c),"g")};var _="(?:(?:[a-z]+:)?//)",u="(?:\\S+(?::\\S*)?@)?",d=l.v4().source,m=l.v6().source,q="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",E="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",p="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",y="(?::\\d{2,5})?",f='(?:[/?#][^\\s"]*)?',h="(?:"+_+"|www\\.)"+u+"(?:localhost|"+d+"|"+m+"|"+q+E+p+")"+y+f;return ce=new RegExp("(?:^"+h+"$)","i"),ce},ct={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},te={integer:function(e){return te.number(e)&&parseInt(e,10)===e},float:function(e){return te.number(e)&&!te.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch{return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!te.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&e.length<=320&&!!e.match(ct.email)},url:function(e){return typeof e=="string"&&e.length<=2048&&!!e.match(hi())},hex:function(e){return typeof e=="string"&&!!e.match(ct.hex)}},bi=function(e,t,n,i,s){if(e.required&&t===void 0){Vt(e,t,n,i,s);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],o=e.type;a.indexOf(o)>-1?te[o](t)||i.push(I(s.messages.types[o],e.fullField,e.type)):o&&typeof t!==e.type&&i.push(I(s.messages.types[o],e.fullField,e.type))},wi=function(e,t,n,i,s){var a=typeof e.len=="number",o=typeof e.min=="number",l=typeof e.max=="number",_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,u=t,d=null,m=typeof t=="number",q=typeof t=="string",E=Array.isArray(t);if(m?d="number":q?d="string":E&&(d="array"),!d)return!1;E&&(u=t.length),q&&(u=t.replace(_,"_").length),a?u!==e.len&&i.push(I(s.messages[d].len,e.fullField,e.len)):o&&!l&&u<e.min?i.push(I(s.messages[d].min,e.fullField,e.min)):l&&!o&&u>e.max?i.push(I(s.messages[d].max,e.fullField,e.max)):o&&l&&(u<e.min||u>e.max)&&i.push(I(s.messages[d].range,e.fullField,e.min,e.max))},X="enum",_i=function(e,t,n,i,s){e[X]=Array.isArray(e[X])?e[X]:[],e[X].indexOf(t)===-1&&i.push(I(s.messages[X],e.fullField,e[X].join(", ")))},Fi=function(e,t,n,i,s){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||i.push(I(s.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var a=new RegExp(e.pattern);a.test(t)||i.push(I(s.messages.pattern.mismatch,e.fullField,t,e.pattern))}}},b={required:Vt,whitespace:yi,type:bi,range:wi,enum:_i,pattern:Fi},xi=function(e,t,n,i,s){var a=[],o=e.required||!e.required&&i.hasOwnProperty(e.field);if(o){if(T(t,"string")&&!e.required)return n();b.required(e,t,i,a,s,"string"),T(t,"string")||(b.type(e,t,i,a,s),b.range(e,t,i,a,s),b.pattern(e,t,i,a,s),e.whitespace===!0&&b.whitespace(e,t,i,a,s))}n(a)},Ci=function(e,t,n,i,s){var a=[],o=e.required||!e.required&&i.hasOwnProperty(e.field);if(o){if(T(t)&&!e.required)return n();b.required(e,t,i,a,s),t!==void 0&&b.type(e,t,i,a,s)}n(a)},Oi=function(e,t,n,i,s){var a=[],o=e.required||!e.required&&i.hasOwnProperty(e.field);if(o){if(t===""&&(t=void 0),T(t)&&!e.required)return n();b.required(e,t,i,a,s),t!==void 0&&(b.type(e,t,i,a,s),b.range(e,t,i,a,s))}n(a)},Ai=function(e,t,n,i,s){var a=[],o=e.required||!e.required&&i.hasOwnProperty(e.field);if(o){if(T(t)&&!e.required)return n();b.required(e,t,i,a,s),t!==void 0&&b.type(e,t,i,a,s)}n(a)},qi=function(e,t,n,i,s){var a=[],o=e.required||!e.required&&i.hasOwnProperty(e.field);if(o){if(T(t)&&!e.required)return n();b.required(e,t,i,a,s),T(t)||b.type(e,t,i,a,s)}n(a)},Ei=function(e,t,n,i,s){var a=[],o=e.required||!e.required&&i.hasOwnProperty(e.field);if(o){if(T(t)&&!e.required)return n();b.required(e,t,i,a,s),t!==void 0&&(b.type(e,t,i,a,s),b.range(e,t,i,a,s))}n(a)},Si=function(e,t,n,i,s){var a=[],o=e.required||!e.required&&i.hasOwnProperty(e.field);if(o){if(T(t)&&!e.required)return n();b.required(e,t,i,a,s),t!==void 0&&(b.type(e,t,i,a,s),b.range(e,t,i,a,s))}n(a)},ji=function(e,t,n,i,s){var a=[],o=e.required||!e.required&&i.hasOwnProperty(e.field);if(o){if(t==null&&!e.required)return n();b.required(e,t,i,a,s,"array"),t!=null&&(b.type(e,t,i,a,s),b.range(e,t,i,a,s))}n(a)},Ti=function(e,t,n,i,s){var a=[],o=e.required||!e.required&&i.hasOwnProperty(e.field);if(o){if(T(t)&&!e.required)return n();b.required(e,t,i,a,s),t!==void 0&&b.type(e,t,i,a,s)}n(a)},Pi="enum",$i=function(e,t,n,i,s){var a=[],o=e.required||!e.required&&i.hasOwnProperty(e.field);if(o){if(T(t)&&!e.required)return n();b.required(e,t,i,a,s),t!==void 0&&b[Pi](e,t,i,a,s)}n(a)},Li=function(e,t,n,i,s){var a=[],o=e.required||!e.required&&i.hasOwnProperty(e.field);if(o){if(T(t,"string")&&!e.required)return n();b.required(e,t,i,a,s),T(t,"string")||b.pattern(e,t,i,a,s)}n(a)},Mi=function(e,t,n,i,s){var a=[],o=e.required||!e.required&&i.hasOwnProperty(e.field);if(o){if(T(t,"date")&&!e.required)return n();if(b.required(e,t,i,a,s),!T(t,"date")){var l;t instanceof Date?l=t:l=new Date(t),b.type(e,l,i,a,s),l&&b.range(e,l.getTime(),i,a,s)}}n(a)},Vi=function(e,t,n,i,s){var a=[],o=Array.isArray(t)?"array":typeof t;b.required(e,t,i,a,s,o),n(a)},Ce=function(e,t,n,i,s){var a=e.type,o=[],l=e.required||!e.required&&i.hasOwnProperty(e.field);if(l){if(T(t,a)&&!e.required)return n();b.required(e,t,i,o,s,a),T(t,a)||b.type(e,t,i,o,s)}n(o)},Ii=function(e,t,n,i,s){var a=[],o=e.required||!e.required&&i.hasOwnProperty(e.field);if(o){if(T(t)&&!e.required)return n();b.required(e,t,i,a,s)}n(a)},ie={string:xi,method:Ci,number:Oi,boolean:Ai,regexp:qi,integer:Ei,float:Si,array:ji,object:Ti,enum:$i,pattern:Li,date:Mi,url:Ce,hex:Ce,email:Ce,required:Vi,any:Ii};function Pe(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var $e=Pe(),oe=function(){function r(t){this.rules=null,this._messages=$e,this.define(t)}var e=r.prototype;return e.define=function(n){var i=this;if(!n)throw new Error("Cannot configure a schema with no rules");if(typeof n!="object"||Array.isArray(n))throw new Error("Rules must be an object");this.rules={},Object.keys(n).forEach(function(s){var a=n[s];i.rules[s]=Array.isArray(a)?a:[a]})},e.messages=function(n){return n&&(this._messages=dt(Pe(),n)),this._messages},e.validate=function(n,i,s){var a=this;i===void 0&&(i={}),s===void 0&&(s=function(){});var o=n,l=i,_=s;if(typeof l=="function"&&(_=l,l={}),!this.rules||Object.keys(this.rules).length===0)return _&&_(null,o),Promise.resolve(o);function u(p){var y=[],f={};function h(w){if(Array.isArray(w)){var x;y=(x=y).concat.apply(x,w)}else y.push(w)}for(var c=0;c<p.length;c++)h(p[c]);y.length?(f=Te(y),_(y,f)):_(null,o)}if(l.messages){var d=this.messages();d===$e&&(d=Pe()),dt(d,l.messages),l.messages=d}else l.messages=this.messages();var m={},q=l.keys||Object.keys(this.rules);q.forEach(function(p){var y=a.rules[p],f=o[p];y.forEach(function(h){var c=h;typeof c.transform=="function"&&(o===n&&(o=G({},o)),f=o[p]=c.transform(f)),typeof c=="function"?c={validator:c}:c=G({},c),c.validator=a.getValidationMethod(c),c.validator&&(c.field=p,c.fullField=c.fullField||p,c.type=a.getType(c),m[p]=m[p]||[],m[p].push({rule:c,value:f,source:o,field:p}))})});var E={};return gi(m,l,function(p,y){var f=p.rule,h=(f.type==="object"||f.type==="array")&&(typeof f.fields=="object"||typeof f.defaultField=="object");h=h&&(f.required||!f.required&&p.value),f.field=p.field;function c(A,N){return G({},N,{fullField:f.fullField+"."+A,fullFields:f.fullFields?[].concat(f.fullFields,[A]):[A]})}function w(A){A===void 0&&(A=[]);var N=Array.isArray(A)?A:[A];!l.suppressWarning&&N.length&&r.warning("async-validator:",N),N.length&&f.message!==void 0&&(N=[].concat(f.message));var V=N.map(ut(f,o));if(l.first&&V.length)return E[f.field]=1,y(V);if(!h)y(V);else{if(f.required&&!p.value)return f.message!==void 0?V=[].concat(f.message).map(ut(f,o)):l.error&&(V=[l.error(f,I(l.messages.required,f.field))]),y(V);var D={};f.defaultField&&Object.keys(p.value).map(function(B){D[B]=f.defaultField}),D=G({},D,p.rule.fields);var Q={};Object.keys(D).forEach(function(B){var R=D[B],we=Array.isArray(R)?R:[R];Q[B]=we.map(c.bind(null,B))});var K=new r(Q);K.messages(l.messages),p.rule.options&&(p.rule.options.messages=l.messages,p.rule.options.error=l.error),K.validate(p.value,p.rule.options||l,function(B){var R=[];V&&V.length&&R.push.apply(R,V),B&&B.length&&R.push.apply(R,B),y(R.length?R:null)})}}var x;if(f.asyncValidator)x=f.asyncValidator(f,p.value,w,p.source,l);else if(f.validator){try{x=f.validator(f,p.value,w,p.source,l)}catch(A){console.error?.(A),l.suppressValidatorError||setTimeout(function(){throw A},0),w(A.message)}x===!0?w():x===!1?w(typeof f.message=="function"?f.message(f.fullField||f.field):f.message||(f.fullField||f.field)+" fails"):x instanceof Array?w(x):x instanceof Error&&w(x.message)}x&&x.then&&x.then(function(){return w()},function(A){return w(A)})},function(p){u(p)},o)},e.getType=function(n){if(n.type===void 0&&n.pattern instanceof RegExp&&(n.type="pattern"),typeof n.validator!="function"&&n.type&&!ie.hasOwnProperty(n.type))throw new Error(I("Unknown rule type %s",n.type));return n.type||"string"},e.getValidationMethod=function(n){if(typeof n.validator=="function")return n.validator;var i=Object.keys(n),s=i.indexOf("message");return s!==-1&&i.splice(s,1),i.length===1&&i[0]==="required"?ie.required:ie[this.getType(n)]||void 0},r}();oe.register=function(e,t){if(typeof t!="function")throw new Error("Cannot register a validator by type, validator is not a function");ie[e]=t};oe.warning=ui;oe.messages=$e;oe.validators=ie;const Ri=["","error","validating","success"],Ni=Ve({label:String,labelWidth:{type:[String,Number],default:""},prop:{type:Oe([String,Array])},required:{type:Boolean,default:void 0},rules:{type:Oe([Object,Array])},error:String,validateStatus:{type:String,values:Ri},for:String,inlineMessage:{type:[String,Boolean],default:""},showMessage:{type:Boolean,default:!0},size:{type:String,values:_t}}),pt="ElLabelWrap";var Bi=se({name:pt,props:{isAutoWidth:Boolean,updateAll:Boolean},setup(r,{slots:e}){const t=he(Ne,void 0),n=he(Ee);n||sr(pt,"usage: <el-form-item><label-wrap /></el-form-item>");const i=Ie("form"),s=z(),a=z(0),o=()=>{var u;if((u=s.value)!=null&&u.firstElementChild){const d=window.getComputedStyle(s.value.firstElementChild).width;return Math.ceil(Number.parseFloat(d))}else return 0},l=(u="update")=>{St(()=>{e.default&&r.isAutoWidth&&(u==="update"?a.value=o():u==="remove"&&t?.deregisterLabelWidth(a.value))})},_=()=>l("update");return qt(()=>{_()}),Et(()=>{l("remove")}),or(()=>_()),ye(a,(u,d)=>{r.updateAll&&t?.registerLabelWidth(u,d)}),lr(j(()=>{var u,d;return(d=(u=s.value)==null?void 0:u.firstElementChild)!=null?d:null}),_),()=>{var u,d;if(!e)return null;const{isAutoWidth:m}=r;if(m){const q=t?.autoLabelWidth,E=n?.hasLabel,p={};if(E&&q&&q!=="auto"){const y=Math.max(0,Number.parseInt(q,10)-a.value),f=t.labelPosition==="left"?"marginRight":"marginLeft";y&&(p[f]=`${y}px`)}return S("div",{ref:s,class:[i.be("item","label-wrap")],style:p},[(u=e.default)==null?void 0:u.call(e)])}else return S(H,{ref:s},[(d=e.default)==null?void 0:d.call(e)])}}});const Wi=["role","aria-labelledby"],Ui=se({name:"ElFormItem"}),Di=se({...Ui,props:Ni,setup(r,{expose:e}){const t=r,n=fr(),i=he(Ne,void 0),s=he(Ee,void 0),a=Ft(void 0,{formItem:!1}),o=Ie("form-item"),l=ur().value,_=z([]),u=z(""),d=dr(u,100),m=z(""),q=z();let E,p=!1;const y=j(()=>{if(i?.labelPosition==="top")return{};const g=Ye(t.labelWidth||i?.labelWidth||"");return g?{width:g}:{}}),f=j(()=>{if(i?.labelPosition==="top"||i?.inline)return{};if(!t.label&&!t.labelWidth&&D)return{};const g=Ye(t.labelWidth||i?.labelWidth||"");return!t.label&&!n.label?{marginLeft:g}:{}}),h=j(()=>[o.b(),o.m(a.value),o.is("error",u.value==="error"),o.is("validating",u.value==="validating"),o.is("success",u.value==="success"),o.is("required",we.value||t.required),o.is("no-asterisk",i?.hideRequiredAsterisk),i?.requireAsteriskPosition==="right"?"asterisk-right":"asterisk-left",{[o.m("feedback")]:i?.statusIcon}]),c=j(()=>wt(t.inlineMessage)?t.inlineMessage:i?.inlineMessage||!1),w=j(()=>[o.e("error"),{[o.em("error","inline")]:c.value}]),x=j(()=>t.prop?Ae(t.prop)?t.prop:t.prop.join("."):""),A=j(()=>!!(t.label||n.label)),N=j(()=>t.for||_.value.length===1?_.value[0]:void 0),V=j(()=>!N.value&&A.value),D=!!s,Q=j(()=>{const g=i?.model;if(!(!g||!t.prop))return xe(g,t.prop).value}),K=j(()=>{const{required:g}=t,F=[];t.rules&&F.push(...qe(t.rules));const $=i?.rules;if($&&t.prop){const P=xe($,t.prop).value;P&&F.push(...qe(P))}if(g!==void 0){const P=F.map((W,J)=>[W,J]).filter(([W])=>Object.keys(W).includes("required"));if(P.length>0)for(const[W,J]of P)W.required!==g&&(F[J]={...W,required:g});else F.push({required:g})}return F}),B=j(()=>K.value.length>0),R=g=>K.value.filter($=>!$.trigger||!g?!0:Array.isArray($.trigger)?$.trigger.includes(g):$.trigger===g).map(({trigger:$,...P})=>P),we=j(()=>K.value.some(g=>g.required)),Nt=j(()=>{var g;return d.value==="error"&&t.showMessage&&((g=i?.showMessage)!=null?g:!0)}),De=j(()=>`${t.label||""}${i?.labelSuffix||""}`),Y=g=>{u.value=g},Bt=g=>{var F,$;const{errors:P,fields:W}=g;(!P||!W)&&console.error(g),Y("error"),m.value=P?($=(F=P?.[0])==null?void 0:F.message)!=null?$:`${t.prop} is required`:"",i?.emit("validate",t.prop,!1,m.value)},Wt=()=>{Y("success"),i?.emit("validate",t.prop,!0,"")},Ut=async g=>{const F=x.value;return new oe({[F]:g}).validate({[F]:Q.value},{firstFields:!0}).then(()=>(Wt(),!0)).catch(P=>(Bt(P),Promise.reject(P)))},Ze=async(g,F)=>{if(p||!t.prop)return!1;const $=At(F);if(!B.value)return F?.(!1),!1;const P=R(g);return P.length===0?(F?.(!0),!0):(Y("validating"),Ut(P).then(()=>(F?.(!0),!0)).catch(W=>{const{fields:J}=W;return F?.(!1,J),$?!1:Promise.reject(J)}))},_e=()=>{Y(""),m.value="",p=!1},ze=async()=>{const g=i?.model;if(!g||!t.prop)return;const F=xe(g,t.prop);p=!0,F.value=ot(E),await St(),_e(),p=!1},Dt=g=>{_.value.includes(g)||_.value.push(g)},Zt=g=>{_.value=_.value.filter(F=>F!==g)};ye(()=>t.error,g=>{m.value=g||"",Y(g?"error":"")},{immediate:!0}),ye(()=>t.validateStatus,g=>Y(g||""));const Fe=Re({...Ct(t),$el:q,size:a,validateState:u,labelId:l,inputIds:_,isGroup:V,hasLabel:A,addInputId:Dt,removeInputId:Zt,resetField:ze,clearValidate:_e,validate:Ze});return xt(Ee,Fe),qt(()=>{t.prop&&(i?.addField(Fe),E=ot(Q.value))}),Et(()=>{i?.removeField(Fe)}),e({size:a,validateMessage:m,validateState:u,validate:Ze,clearValidate:_e,resetField:ze}),(g,F)=>{var $;return M(),U("div",{ref_key:"formItemRef",ref:q,class:ee(v(h)),role:v(V)?"group":void 0,"aria-labelledby":v(V)?v(l):void 0},[S(v(Bi),{"is-auto-width":v(y).width==="auto","update-all":(($=v(i))==null?void 0:$.labelWidth)==="auto"},{default:L(()=>[v(A)?(M(),k(cr(v(N)?"label":"div"),{key:0,id:v(l),for:v(N),class:ee(v(o).e("label")),style:Je(v(y))},{default:L(()=>[pe(g.$slots,"label",{label:v(De)},()=>[Be(Xe(v(De)),1)])]),_:3},8,["id","for","class","style"])):ke("v-if",!0)]),_:3},8,["is-auto-width","update-all"]),C("div",{class:ee(v(o).e("content")),style:Je(v(f))},[pe(g.$slots,"default"),S(pr,{name:`${v(o).namespace.value}-zoom-in-top`},{default:L(()=>[v(Nt)?pe(g.$slots,"error",{key:0,error:m.value},()=>[C("div",{class:ee(v(w))},Xe(m.value),3)]):ke("v-if",!0)]),_:3},8,["name"])],6)],10,Wi)}}});var It=Ot(Di,[["__file","/home/runner/work/element-plus/element-plus/packages/components/form/src/form-item.vue"]]);const Zi=gr(ai,{FormItem:It}),Z=vr(It),zi=(r,e)=>{const t=r.__vccOpts||r;for(const[n,i]of e)t[n]=i;return t},Gi={},Ki={class:"wpv-fpe-header"},Yi=C("div",{class:"wpv-fpe-branding"},[C("svg",{width:"370px",height:"454px",viewBox:"0 0 370 454",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[C("g",{id:"Page-1",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[C("g",{id:"Artboard",transform:"translate(0.000000, -2.000000)","fill-rule":"nonzero"},[C("g",{id:"final-logo-fpe-(1)"},[C("g",{id:"g208441",transform:"translate(0.000000, 116.000000)",fill:"#000000"},[C("rect",{id:"rect185558",x:"0.01219",y:"0.92981",width:"26.494368",height:"338.7352"}),C("rect",{id:"rect185981",transform:"translate(169.379870, 326.417654) rotate(90.000000) translate(-169.379870, -326.417654) ",x:"156.132686",y:"157.050054",width:"26.494368",height:"338.7352"}),C("path",{d:"M338.8805,123.48244 L338.851,326.44729 C338.85,333.78612 332.94274,339.69443 325.60372,339.69443 C318.26488,339.69443 312.35657,335.19131 312.35657,327.85231 L312.7224,172.85548 L338.8805,123.48244 Z",id:"rect185983"}),C("path",{d:"M116.74523,27.42403 L13.259346,27.42403 C5.920487,27.42403 0.012201,21.51586 0.012201,14.17689 C0.012201,6.83788 5.920487,0.92975 13.259346,0.92975 L130.25468,0.92975 L116.74523,27.42403 Z",id:"rect186183"})]),C("g",{id:"pencil-man",transform:"translate(28.696569, 0.191824)"},[C("g",{id:"face",transform:"translate(213.957938, 137.756172) rotate(-1.000000) translate(-213.957938, -137.756172) translate(86.561065, 2.421799)"},[C("path",{d:"M121.201657,12.2479431 C128.663354,33.0091146 135.846263,45.0530907 148.894642,58.6810636 C155.553223,65.6353957 161.532899,71.1651502 162.182575,70.9693745 C162.832386,70.7734743 163.926539,66.9037394 164.614366,62.369895 C166.006257,53.1909728 173.657028,37.4420205 177.879883,35.0624638 C179.928097,33.9080286 180.742519,35.4780475 181.11551,41.2994205 C181.892832,53.4403955 192.270613,82.9263979 196.580054,85.2395917 C197.266634,85.6081272 198.799246,83.0917889 199.985966,79.6476733 C202.18441,73.2670637 213.174461,62.6446172 216.005177,64.1641589 C216.837054,64.6107597 217.350186,68.4827806 217.145738,72.7691073 C216.753178,80.9972255 220.24032,99.7152685 223.520143,107.198852 L240.589805,116.272975 C253.493055,123.13098 258.391591,139.151289 251.531889,152.05364 C251.531625,152.054169 251.53136,152.054698 251.529244,152.054434 L188.507124,270.571539 L0.13541687,170.421277 L63.157586,51.9041797 C70.0195653,39.0038876 86.0390514,34.1062385 98.94164,40.9638945 L112.263437,48.046687 C113.261837,47.2122759 113.225145,43.9089583 112.759848,35.9963372 C112.22153,26.8423307 114.328346,3.04397274 115.943609,0.0357757937 C116.229851,-0.497648779 118.596226,4.99790978 121.201657,12.2479431 Z",id:"Combined-Shape",fill:"#000000"}),C("path",{d:"M204.232097,196.263332 C213.961977,178.064893 228.763213,150.650684 228.763213,150.650684 C232.109835,144.228485 231.32107,134.25645 222.016743,129.270388 L161.043676,96.5420597 L100.07072,63.8138003 C93.7139523,60.3381596 84.1426689,59.1289291 77.8859214,70.852799 L52.5679822,118.084657 L29.0767581,161.841149 L104.276677,202.205878 L179.632714,242.279379 L204.232097,196.263332 Z",id:"path26891-9",fill:"#FFFFFF"}),C("path",{d:"M71.4678918,118.317935 C69.6741121,112.366643 70.2456226,110.306685 77.3692404,97.03732 C83.9285469,84.8193117 86.2820103,81.8979439 91.3481858,79.6867046 C97.3601699,77.0622999 97.7312507,77.183958 119.718472,88.9860149 C140.747693,100.27382 142.088741,101.285758 143.625402,107.02642 C144.520725,110.371264 144.541976,114.433087 143.672225,116.052424 C142.541115,118.159301 143.581901,119.796683 147.332381,121.80985 C151.24165,123.908199 153.007944,123.812738 154.285046,121.433636 C155.226918,119.679679 158.734269,117.512146 162.079615,116.616828 C167.660477,115.123067 169.977285,115.96349 190.195991,126.816171 C211.91886,138.476221 212.246218,138.73569 213.379796,145.189406 C214.336021,150.633238 213.201364,154.208798 206.642139,166.426942 C199.518355,179.696132 198.116907,181.310521 192.165103,183.104274 C185.906111,184.990328 184.530458,184.529363 164.768195,173.921685 C146.363492,164.042678 143.654188,162.049942 141.301751,156.662076 C139.07178,151.554149 139.38847,149.181704 143.263272,141.963829 C147.772452,133.564803 147.757047,133.288446 142.643438,130.543669 C137.529465,127.798635 137.290687,127.938714 132.781729,136.337692 C128.906705,143.555567 127.104168,145.130288 121.614214,146.094411 C115.82361,147.111295 112.665506,145.954917 94.2606662,136.07545 C74.4984054,125.46786 73.3537703,124.576209 71.4672832,118.317763 L71.4678918,118.317935 Z",id:"path26893-2",fill:"#000000"}),C("path",{d:"M120.270091,196.983639 C113.430609,194.797805 107.585173,192.422717 107.165496,192.052387 C94.7931137,183.564517 80.4555282,172.138383 73.8816458,157.549843 C72.4477523,150.479425 79.4521727,154.389099 88.9846655,165.979878 C101.896144,181.679226 121.761947,192.388122 142.00163,194.559322 C157.86956,196.261667 160.628571,197.259615 158.813953,200.639773 C156.971352,204.071715 136.458313,202.157423 120.270091,196.983639",id:"path26895-9",fill:"#000000"}),C("path",{d:"M186.9743,175.47444 C189.642155,175.813117 191.856918,173.010455 198.07723,161.423517 C204.297709,149.836707 205.410173,146.442301 203.653631,144.4061 C199.517331,139.61113 167.659424,123.590506 164.283682,124.60803 C162.416255,125.170688 158.409291,130.519825 154.75202,137.332141 C146.03824,153.562794 146.776023,155.263348 167.313473,166.28699 C176.293987,171.107511 185.141233,175.241802 186.9743,175.47444 L186.9743,175.47444 Z",id:"path26897-1",fill:"#FFFFFF"}),C("path",{d:"M118.629529,137.825783 C122.317003,137.825783 124.016081,135.899671 129.791834,125.141213 C133.840414,117.600186 136.210639,111.143906 135.633696,109.229656 C134.616209,105.854186 103.658282,88.1571468 97.3759073,87.359682 C94.7366727,87.0247169 92.5426366,89.7326267 86.8291978,100.374912 C82.4684994,108.497662 79.9986933,115.08715 80.5857217,117.034457 C81.8015351,121.067831 112.450611,137.81789 118.629529,137.825783 Z",id:"path26899-2",fill:"#FFFFFF"}),C("path",{d:"M164.360458,146.833189 C164.300612,145.855458 166.093588,144.173462 168.344176,143.095282 C175.917921,139.467086 190.253041,150.846725 186.624278,157.606278 C185.668468,159.386337 184.534808,158.85264 181.235038,155.069863 C178.126033,151.505095 175.445074,150.065122 170.762473,149.44552 C167.300646,148.98673 164.419834,147.811427 164.36021,146.833826 L164.360458,146.833189 Z",id:"path26901-5",fill:"#000000"}),C("path",{d:"M95.8767068,108.67233 C100.026971,100.942006 118.198269,108.369485 118.186202,117.791236 C118.172332,123.859913 116.862041,123.87288 111.613943,117.856065 C108.264244,114.015833 105.635514,112.566602 100.875887,111.935912 C95.7544904,111.257319 94.8176326,110.645698 95.876847,108.672584 L95.8767068,108.67233 Z",id:"path26903-7",fill:"#000000"})]),C("g",{id:"new-pencil",transform:"translate(136.396077, 313.903147) rotate(27.000000) translate(-136.396077, -313.903147) translate(29.636703, 223.547939)"},[C("polygon",{id:"path204308",fill:"#000000",points:"71.114718 120.337459 106.672077 120.337459 142.229436 120.337459 106.672077 180.50619"}),C("polygon",{id:"path204310",fill:"#0000DE",points:"60.173991 103.927806 0 0 106.672077 0 213.344154 0 153.170163 103.927806 106.672077 103.927806"})])])])])])]),Be(" Frontend Product Editor ")],-1),Ji=[Yi];function Xi(r,e){return M(),U("div",Ki,Ji)}const ki=zi(Gi,[["render",Xi]]),Hi=mr("fpe-settings",{state:()=>({settings:fpe.settings,isUpdating:!1,nonce:fpe.security,ajax_url:fpe.ajax_url}),actions:{updateSettings(r){this.isUpdating=!0;const{ajax_url:e,security:t}=fpe;yr.post(`${e}?action=fpe_settings&fpe_nonce=${t}`,{settings:this.settings,action:"fpe_settings_update"}).then(function(n){n.data.success&&window.location.reload()}).catch(function(n){this.isUpdating=!1})}}}),Qi={__name:"form",setup(r){const e=Hi(),{isUpdating:t,settings:n}=hr(e),i=Re(n.value),s=fpe.tabs,a=fpe.trigger_options,o=fpe.all_roles,l=fpe.product_types;return(_,u)=>(M(),k(v(Zi),{model:i,class:"wpv-fpe-form","label-width":"250px","label-position":"left"},{default:L(()=>[S(v(Z),{label:"Tabs Collapsed by default"},{default:L(()=>[S(v(He),{modelValue:i.tabs_collapsed,"onUpdate:modelValue":u[0]||(u[0]=d=>i.tabs_collapsed=d)},null,8,["modelValue"])]),_:1}),S(v(Z),{label:"Default Tab"},{default:L(()=>[S(v(le),{modelValue:i.default_tab,"onUpdate:modelValue":u[1]||(u[1]=d=>i.default_tab=d)},{default:L(()=>[(M(!0),U(H,null,fe(v(s),(d,m)=>(M(),k(v(ue),{key:m,label:d,value:m},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),S(v(Z),{label:"Trigger Options"},{default:L(()=>[S(v(le),{modelValue:i.trigger_option,"onUpdate:modelValue":u[2]||(u[2]=d=>i.trigger_option=d)},{default:L(()=>[(M(!0),U(H,null,fe(v(a),(d,m)=>(M(),k(v(ue),{key:m,label:d,value:m},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),S(v(Z),{label:"Allowed User Roles"},{default:L(()=>[S(v(le),{modelValue:i.allowed_user_roles,"onUpdate:modelValue":u[3]||(u[3]=d=>i.allowed_user_roles=d),multiple:""},{default:L(()=>[(M(!0),U(H,null,fe(v(o),(d,m)=>(M(),k(v(ue),{key:m,label:d,value:m},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),S(v(Z),{label:"Edit from Archives"},{default:L(()=>[S(v(He),{modelValue:i.edit_from_archives,"onUpdate:modelValue":u[4]||(u[4]=d=>i.edit_from_archives=d)},null,8,["modelValue"])]),_:1}),S(v(Z),{label:"Product Types"},{default:L(()=>[S(v(le),{modelValue:i.allowed_product_types,"onUpdate:modelValue":u[5]||(u[5]=d=>i.allowed_product_types=d),multiple:""},{default:L(()=>[(M(!0),U(H,null,fe(v(l),(d,m)=>(M(),k(v(ue),{key:m,label:d.label,value:m,disabled:d.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["modelValue"])]),_:1}),S(v(Z),null,{default:L(()=>[S(v(br),{loading:v(t),type:"primary",onClick:u[6]||(u[6]=d=>v(e).updateSettings(wr(i)))},{default:L(()=>[Be("Save Settings")]),_:1},8,["loading"])]),_:1})]),_:1},8,["model"]))}},ea={class:"wpv-fpe-body"},ta={__name:"settings",setup(r){return(e,t)=>(M(),U(H,null,[S(ki),C("div",ea,[S(Qi)])],64))}},Rt=_r(ta);Rt.use(Fr());Rt.mount("#fpe-admin-settings")});export default ra();
     12`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),();
    1313//# sourceMappingURL=admin.js.map
  • frontend-product-editor/trunk/build/js/admin.js.map

    r2978520 r3040157  
    1 {"version":3,"file":"admin.js","sources":["../../node_modules/lodash-es/_baseCreate.js","../../node_modules/lodash-es/_copyArray.js","../../node_modules/lodash-es/_arrayEach.js","../../node_modules/lodash-es/_copyObject.js","../../node_modules/lodash-es/_nativeKeysIn.js","../../node_modules/lodash-es/_baseKeysIn.js","../../node_modules/lodash-es/keysIn.js","../../node_modules/lodash-es/_getPrototype.js","../../node_modules/lodash-es/_baseAssign.js","../../node_modules/lodash-es/_baseAssignIn.js","../../node_modules/lodash-es/_cloneBuffer.js","../../node_modules/lodash-es/_copySymbols.js","../../node_modules/lodash-es/_getSymbolsIn.js","../../node_modules/lodash-es/_copySymbolsIn.js","../../node_modules/lodash-es/_getAllKeysIn.js","../../node_modules/lodash-es/_initCloneArray.js","../../node_modules/lodash-es/_cloneArrayBuffer.js","../../node_modules/lodash-es/_cloneDataView.js","../../node_modules/lodash-es/_cloneRegExp.js","../../node_modules/lodash-es/_cloneSymbol.js","../../node_modules/lodash-es/_cloneTypedArray.js","../../node_modules/lodash-es/_initCloneByTag.js","../../node_modules/lodash-es/_initCloneObject.js","../../node_modules/lodash-es/_baseIsMap.js","../../node_modules/lodash-es/isMap.js","../../node_modules/lodash-es/_baseIsSet.js","../../node_modules/lodash-es/isSet.js","../../node_modules/lodash-es/_baseClone.js","../../node_modules/lodash-es/clone.js","../../node_modules/element-plus/es/components/form/src/form.mjs","../../node_modules/element-plus/es/components/form/src/utils.mjs","../../node_modules/element-plus/es/components/form/src/form2.mjs","../../node_modules/async-validator/dist-web/index.js","../../node_modules/element-plus/es/components/form/src/form-item.mjs","../../node_modules/element-plus/es/components/form/src/form-label-wrap.mjs","../../node_modules/element-plus/es/components/form/src/form-item2.mjs","../../node_modules/element-plus/es/components/form/index.mjs","../../src/admin/header.vue","../../src/stores/fpe-settings.js","../../src/admin/form.vue","../../src/admin.js"],"sourcesContent":["import isObject from './isObject.js';\n\n/** Built-in value references. */\nvar objectCreate = Object.create;\n\n/**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\nvar baseCreate = (function() {\n  function object() {}\n  return function(proto) {\n    if (!isObject(proto)) {\n      return {};\n    }\n    if (objectCreate) {\n      return objectCreate(proto);\n    }\n    object.prototype = proto;\n    var result = new object;\n    object.prototype = undefined;\n    return result;\n  };\n}());\n\nexport default baseCreate;\n","/**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\nfunction copyArray(source, array) {\n  var index = -1,\n      length = source.length;\n\n  array || (array = Array(length));\n  while (++index < length) {\n    array[index] = source[index];\n  }\n  return array;\n}\n\nexport default copyArray;\n","/**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\nfunction arrayEach(array, iteratee) {\n  var index = -1,\n      length = array == null ? 0 : array.length;\n\n  while (++index < length) {\n    if (iteratee(array[index], index, array) === false) {\n      break;\n    }\n  }\n  return array;\n}\n\nexport default arrayEach;\n","import assignValue from './_assignValue.js';\nimport baseAssignValue from './_baseAssignValue.js';\n\n/**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\nfunction copyObject(source, props, object, customizer) {\n  var isNew = !object;\n  object || (object = {});\n\n  var index = -1,\n      length = props.length;\n\n  while (++index < length) {\n    var key = props[index];\n\n    var newValue = customizer\n      ? customizer(object[key], source[key], key, object, source)\n      : undefined;\n\n    if (newValue === undefined) {\n      newValue = source[key];\n    }\n    if (isNew) {\n      baseAssignValue(object, key, newValue);\n    } else {\n      assignValue(object, key, newValue);\n    }\n  }\n  return object;\n}\n\nexport default copyObject;\n","/**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction nativeKeysIn(object) {\n  var result = [];\n  if (object != null) {\n    for (var key in Object(object)) {\n      result.push(key);\n    }\n  }\n  return result;\n}\n\nexport default nativeKeysIn;\n","import isObject from './isObject.js';\nimport isPrototype from './_isPrototype.js';\nimport nativeKeysIn from './_nativeKeysIn.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeysIn(object) {\n  if (!isObject(object)) {\n    return nativeKeysIn(object);\n  }\n  var isProto = isPrototype(object),\n      result = [];\n\n  for (var key in object) {\n    if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n      result.push(key);\n    }\n  }\n  return result;\n}\n\nexport default baseKeysIn;\n","import arrayLikeKeys from './_arrayLikeKeys.js';\nimport baseKeysIn from './_baseKeysIn.js';\nimport isArrayLike from './isArrayLike.js';\n\n/**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n *   this.a = 1;\n *   this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\nfunction keysIn(object) {\n  return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n}\n\nexport default keysIn;\n","import overArg from './_overArg.js';\n\n/** Built-in value references. */\nvar getPrototype = overArg(Object.getPrototypeOf, Object);\n\nexport default getPrototype;\n","import copyObject from './_copyObject.js';\nimport keys from './keys.js';\n\n/**\n * The base implementation of `_.assign` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssign(object, source) {\n  return object && copyObject(source, keys(source), object);\n}\n\nexport default baseAssign;\n","import copyObject from './_copyObject.js';\nimport keysIn from './keysIn.js';\n\n/**\n * The base implementation of `_.assignIn` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssignIn(object, source) {\n  return object && copyObject(source, keysIn(source), object);\n}\n\nexport default baseAssignIn;\n","import root from './_root.js';\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n    allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;\n\n/**\n * Creates a clone of  `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\nfunction cloneBuffer(buffer, isDeep) {\n  if (isDeep) {\n    return buffer.slice();\n  }\n  var length = buffer.length,\n      result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n  buffer.copy(result);\n  return result;\n}\n\nexport default cloneBuffer;\n","import copyObject from './_copyObject.js';\nimport getSymbols from './_getSymbols.js';\n\n/**\n * Copies own symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbols(source, object) {\n  return copyObject(source, getSymbols(source), object);\n}\n\nexport default copySymbols;\n","import arrayPush from './_arrayPush.js';\nimport getPrototype from './_getPrototype.js';\nimport getSymbols from './_getSymbols.js';\nimport stubArray from './stubArray.js';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own and inherited enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {\n  var result = [];\n  while (object) {\n    arrayPush(result, getSymbols(object));\n    object = getPrototype(object);\n  }\n  return result;\n};\n\nexport default getSymbolsIn;\n","import copyObject from './_copyObject.js';\nimport getSymbolsIn from './_getSymbolsIn.js';\n\n/**\n * Copies own and inherited symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbolsIn(source, object) {\n  return copyObject(source, getSymbolsIn(source), object);\n}\n\nexport default copySymbolsIn;\n","import baseGetAllKeys from './_baseGetAllKeys.js';\nimport getSymbolsIn from './_getSymbolsIn.js';\nimport keysIn from './keysIn.js';\n\n/**\n * Creates an array of own and inherited enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeysIn(object) {\n  return baseGetAllKeys(object, keysIn, getSymbolsIn);\n}\n\nexport default getAllKeysIn;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Initializes an array clone.\n *\n * @private\n * @param {Array} array The array to clone.\n * @returns {Array} Returns the initialized clone.\n */\nfunction initCloneArray(array) {\n  var length = array.length,\n      result = new array.constructor(length);\n\n  // Add properties assigned by `RegExp#exec`.\n  if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n    result.index = array.index;\n    result.input = array.input;\n  }\n  return result;\n}\n\nexport default initCloneArray;\n","import Uint8Array from './_Uint8Array.js';\n\n/**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\nfunction cloneArrayBuffer(arrayBuffer) {\n  var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n  new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n  return result;\n}\n\nexport default cloneArrayBuffer;\n","import cloneArrayBuffer from './_cloneArrayBuffer.js';\n\n/**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\nfunction cloneDataView(dataView, isDeep) {\n  var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n  return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n}\n\nexport default cloneDataView;\n","/** Used to match `RegExp` flags from their coerced string values. */\nvar reFlags = /\\w*$/;\n\n/**\n * Creates a clone of `regexp`.\n *\n * @private\n * @param {Object} regexp The regexp to clone.\n * @returns {Object} Returns the cloned regexp.\n */\nfunction cloneRegExp(regexp) {\n  var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n  result.lastIndex = regexp.lastIndex;\n  return result;\n}\n\nexport default cloneRegExp;\n","import Symbol from './_Symbol.js';\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n    symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * Creates a clone of the `symbol` object.\n *\n * @private\n * @param {Object} symbol The symbol object to clone.\n * @returns {Object} Returns the cloned symbol object.\n */\nfunction cloneSymbol(symbol) {\n  return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n}\n\nexport default cloneSymbol;\n","import cloneArrayBuffer from './_cloneArrayBuffer.js';\n\n/**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\nfunction cloneTypedArray(typedArray, isDeep) {\n  var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n  return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\n\nexport default cloneTypedArray;\n","import cloneArrayBuffer from './_cloneArrayBuffer.js';\nimport cloneDataView from './_cloneDataView.js';\nimport cloneRegExp from './_cloneRegExp.js';\nimport cloneSymbol from './_cloneSymbol.js';\nimport cloneTypedArray from './_cloneTypedArray.js';\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n    dateTag = '[object Date]',\n    mapTag = '[object Map]',\n    numberTag = '[object Number]',\n    regexpTag = '[object RegExp]',\n    setTag = '[object Set]',\n    stringTag = '[object String]',\n    symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n    dataViewTag = '[object DataView]',\n    float32Tag = '[object Float32Array]',\n    float64Tag = '[object Float64Array]',\n    int8Tag = '[object Int8Array]',\n    int16Tag = '[object Int16Array]',\n    int32Tag = '[object Int32Array]',\n    uint8Tag = '[object Uint8Array]',\n    uint8ClampedTag = '[object Uint8ClampedArray]',\n    uint16Tag = '[object Uint16Array]',\n    uint32Tag = '[object Uint32Array]';\n\n/**\n * Initializes an object clone based on its `toStringTag`.\n *\n * **Note:** This function only supports cloning values with tags of\n * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.\n *\n * @private\n * @param {Object} object The object to clone.\n * @param {string} tag The `toStringTag` of the object to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneByTag(object, tag, isDeep) {\n  var Ctor = object.constructor;\n  switch (tag) {\n    case arrayBufferTag:\n      return cloneArrayBuffer(object);\n\n    case boolTag:\n    case dateTag:\n      return new Ctor(+object);\n\n    case dataViewTag:\n      return cloneDataView(object, isDeep);\n\n    case float32Tag: case float64Tag:\n    case int8Tag: case int16Tag: case int32Tag:\n    case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n      return cloneTypedArray(object, isDeep);\n\n    case mapTag:\n      return new Ctor;\n\n    case numberTag:\n    case stringTag:\n      return new Ctor(object);\n\n    case regexpTag:\n      return cloneRegExp(object);\n\n    case setTag:\n      return new Ctor;\n\n    case symbolTag:\n      return cloneSymbol(object);\n  }\n}\n\nexport default initCloneByTag;\n","import baseCreate from './_baseCreate.js';\nimport getPrototype from './_getPrototype.js';\nimport isPrototype from './_isPrototype.js';\n\n/**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneObject(object) {\n  return (typeof object.constructor == 'function' && !isPrototype(object))\n    ? baseCreate(getPrototype(object))\n    : {};\n}\n\nexport default initCloneObject;\n","import getTag from './_getTag.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]';\n\n/**\n * The base implementation of `_.isMap` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n */\nfunction baseIsMap(value) {\n  return isObjectLike(value) && getTag(value) == mapTag;\n}\n\nexport default baseIsMap;\n","import baseIsMap from './_baseIsMap.js';\nimport baseUnary from './_baseUnary.js';\nimport nodeUtil from './_nodeUtil.js';\n\n/* Node.js helper references. */\nvar nodeIsMap = nodeUtil && nodeUtil.isMap;\n\n/**\n * Checks if `value` is classified as a `Map` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n * @example\n *\n * _.isMap(new Map);\n * // => true\n *\n * _.isMap(new WeakMap);\n * // => false\n */\nvar isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\nexport default isMap;\n","import getTag from './_getTag.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar setTag = '[object Set]';\n\n/**\n * The base implementation of `_.isSet` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n */\nfunction baseIsSet(value) {\n  return isObjectLike(value) && getTag(value) == setTag;\n}\n\nexport default baseIsSet;\n","import baseIsSet from './_baseIsSet.js';\nimport baseUnary from './_baseUnary.js';\nimport nodeUtil from './_nodeUtil.js';\n\n/* Node.js helper references. */\nvar nodeIsSet = nodeUtil && nodeUtil.isSet;\n\n/**\n * Checks if `value` is classified as a `Set` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n * @example\n *\n * _.isSet(new Set);\n * // => true\n *\n * _.isSet(new WeakSet);\n * // => false\n */\nvar isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\nexport default isSet;\n","import Stack from './_Stack.js';\nimport arrayEach from './_arrayEach.js';\nimport assignValue from './_assignValue.js';\nimport baseAssign from './_baseAssign.js';\nimport baseAssignIn from './_baseAssignIn.js';\nimport cloneBuffer from './_cloneBuffer.js';\nimport copyArray from './_copyArray.js';\nimport copySymbols from './_copySymbols.js';\nimport copySymbolsIn from './_copySymbolsIn.js';\nimport getAllKeys from './_getAllKeys.js';\nimport getAllKeysIn from './_getAllKeysIn.js';\nimport getTag from './_getTag.js';\nimport initCloneArray from './_initCloneArray.js';\nimport initCloneByTag from './_initCloneByTag.js';\nimport initCloneObject from './_initCloneObject.js';\nimport isArray from './isArray.js';\nimport isBuffer from './isBuffer.js';\nimport isMap from './isMap.js';\nimport isObject from './isObject.js';\nimport isSet from './isSet.js';\nimport keys from './keys.js';\nimport keysIn from './keysIn.js';\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n    CLONE_FLAT_FLAG = 2,\n    CLONE_SYMBOLS_FLAG = 4;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n    arrayTag = '[object Array]',\n    boolTag = '[object Boolean]',\n    dateTag = '[object Date]',\n    errorTag = '[object Error]',\n    funcTag = '[object Function]',\n    genTag = '[object GeneratorFunction]',\n    mapTag = '[object Map]',\n    numberTag = '[object Number]',\n    objectTag = '[object Object]',\n    regexpTag = '[object RegExp]',\n    setTag = '[object Set]',\n    stringTag = '[object String]',\n    symbolTag = '[object Symbol]',\n    weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n    dataViewTag = '[object DataView]',\n    float32Tag = '[object Float32Array]',\n    float64Tag = '[object Float64Array]',\n    int8Tag = '[object Int8Array]',\n    int16Tag = '[object Int16Array]',\n    int32Tag = '[object Int32Array]',\n    uint8Tag = '[object Uint8Array]',\n    uint8ClampedTag = '[object Uint8ClampedArray]',\n    uint16Tag = '[object Uint16Array]',\n    uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values supported by `_.clone`. */\nvar cloneableTags = {};\ncloneableTags[argsTag] = cloneableTags[arrayTag] =\ncloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\ncloneableTags[boolTag] = cloneableTags[dateTag] =\ncloneableTags[float32Tag] = cloneableTags[float64Tag] =\ncloneableTags[int8Tag] = cloneableTags[int16Tag] =\ncloneableTags[int32Tag] = cloneableTags[mapTag] =\ncloneableTags[numberTag] = cloneableTags[objectTag] =\ncloneableTags[regexpTag] = cloneableTags[setTag] =\ncloneableTags[stringTag] = cloneableTags[symbolTag] =\ncloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\ncloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\ncloneableTags[errorTag] = cloneableTags[funcTag] =\ncloneableTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n * traversed objects.\n *\n * @private\n * @param {*} value The value to clone.\n * @param {boolean} bitmask The bitmask flags.\n *  1 - Deep clone\n *  2 - Flatten inherited properties\n *  4 - Clone symbols\n * @param {Function} [customizer] The function to customize cloning.\n * @param {string} [key] The key of `value`.\n * @param {Object} [object] The parent object of `value`.\n * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n * @returns {*} Returns the cloned value.\n */\nfunction baseClone(value, bitmask, customizer, key, object, stack) {\n  var result,\n      isDeep = bitmask & CLONE_DEEP_FLAG,\n      isFlat = bitmask & CLONE_FLAT_FLAG,\n      isFull = bitmask & CLONE_SYMBOLS_FLAG;\n\n  if (customizer) {\n    result = object ? customizer(value, key, object, stack) : customizer(value);\n  }\n  if (result !== undefined) {\n    return result;\n  }\n  if (!isObject(value)) {\n    return value;\n  }\n  var isArr = isArray(value);\n  if (isArr) {\n    result = initCloneArray(value);\n    if (!isDeep) {\n      return copyArray(value, result);\n    }\n  } else {\n    var tag = getTag(value),\n        isFunc = tag == funcTag || tag == genTag;\n\n    if (isBuffer(value)) {\n      return cloneBuffer(value, isDeep);\n    }\n    if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n      result = (isFlat || isFunc) ? {} : initCloneObject(value);\n      if (!isDeep) {\n        return isFlat\n          ? copySymbolsIn(value, baseAssignIn(result, value))\n          : copySymbols(value, baseAssign(result, value));\n      }\n    } else {\n      if (!cloneableTags[tag]) {\n        return object ? value : {};\n      }\n      result = initCloneByTag(value, tag, isDeep);\n    }\n  }\n  // Check for circular references and return its corresponding clone.\n  stack || (stack = new Stack);\n  var stacked = stack.get(value);\n  if (stacked) {\n    return stacked;\n  }\n  stack.set(value, result);\n\n  if (isSet(value)) {\n    value.forEach(function(subValue) {\n      result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));\n    });\n  } else if (isMap(value)) {\n    value.forEach(function(subValue, key) {\n      result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n    });\n  }\n\n  var keysFunc = isFull\n    ? (isFlat ? getAllKeysIn : getAllKeys)\n    : (isFlat ? keysIn : keys);\n\n  var props = isArr ? undefined : keysFunc(value);\n  arrayEach(props || value, function(subValue, key) {\n    if (props) {\n      key = subValue;\n      subValue = value[key];\n    }\n    // Recursively populate clone (susceptible to call stack limits).\n    assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));\n  });\n  return result;\n}\n\nexport default baseClone;\n","import baseClone from './_baseClone.js';\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_SYMBOLS_FLAG = 4;\n\n/**\n * Creates a shallow clone of `value`.\n *\n * **Note:** This method is loosely based on the\n * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm)\n * and supports cloning arrays, array buffers, booleans, date objects, maps,\n * numbers, `Object` objects, regexes, sets, strings, symbols, and typed\n * arrays. The own enumerable properties of `arguments` objects are cloned\n * as plain objects. An empty object is returned for uncloneable values such\n * as error objects, functions, DOM nodes, and WeakMaps.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to clone.\n * @returns {*} Returns the cloned value.\n * @see _.cloneDeep\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var shallow = _.clone(objects);\n * console.log(shallow[0] === objects[0]);\n * // => true\n */\nfunction clone(value) {\n  return baseClone(value, CLONE_SYMBOLS_FLAG);\n}\n\nexport default clone;\n","import '../../../constants/index.mjs';\nimport '../../../utils/index.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { componentSizes } from '../../../constants/size.mjs';\nimport { isArray, isString } from '@vue/shared';\nimport { isBoolean } from '../../../utils/types.mjs';\n\nconst formMetaProps = buildProps({\n  size: {\n    type: String,\n    values: componentSizes\n  },\n  disabled: Boolean\n});\nconst formProps = buildProps({\n  ...formMetaProps,\n  model: Object,\n  rules: {\n    type: definePropType(Object)\n  },\n  labelPosition: {\n    type: String,\n    values: [\"left\", \"right\", \"top\"],\n    default: \"right\"\n  },\n  requireAsteriskPosition: {\n    type: String,\n    values: [\"left\", \"right\"],\n    default: \"left\"\n  },\n  labelWidth: {\n    type: [String, Number],\n    default: \"\"\n  },\n  labelSuffix: {\n    type: String,\n    default: \"\"\n  },\n  inline: Boolean,\n  inlineMessage: Boolean,\n  statusIcon: Boolean,\n  showMessage: {\n    type: Boolean,\n    default: true\n  },\n  validateOnRuleChange: {\n    type: Boolean,\n    default: true\n  },\n  hideRequiredAsterisk: {\n    type: Boolean,\n    default: false\n  },\n  scrollToError: Boolean,\n  scrollIntoViewOptions: {\n    type: [Object, Boolean]\n  }\n});\nconst formEmits = {\n  validate: (prop, isValid, message) => (isArray(prop) || isString(prop)) && isBoolean(isValid) && isString(message)\n};\n\nexport { formEmits, formProps };\n//# sourceMappingURL=form.mjs.map\n","import { ref, computed } from 'vue';\nimport '../../../utils/index.mjs';\nimport { debugWarn } from '../../../utils/error.mjs';\nimport { castArray } from 'lodash-unified';\n\nconst SCOPE = \"ElForm\";\nfunction useFormLabelWidth() {\n  const potentialLabelWidthArr = ref([]);\n  const autoLabelWidth = computed(() => {\n    if (!potentialLabelWidthArr.value.length)\n      return \"0\";\n    const max = Math.max(...potentialLabelWidthArr.value);\n    return max ? `${max}px` : \"\";\n  });\n  function getLabelWidthIndex(width) {\n    const index = potentialLabelWidthArr.value.indexOf(width);\n    if (index === -1 && autoLabelWidth.value === \"0\") {\n      debugWarn(SCOPE, `unexpected width ${width}`);\n    }\n    return index;\n  }\n  function registerLabelWidth(val, oldVal) {\n    if (val && oldVal) {\n      const index = getLabelWidthIndex(oldVal);\n      potentialLabelWidthArr.value.splice(index, 1, val);\n    } else if (val) {\n      potentialLabelWidthArr.value.push(val);\n    }\n  }\n  function deregisterLabelWidth(val) {\n    const index = getLabelWidthIndex(val);\n    if (index > -1) {\n      potentialLabelWidthArr.value.splice(index, 1);\n    }\n  }\n  return {\n    autoLabelWidth,\n    registerLabelWidth,\n    deregisterLabelWidth\n  };\n}\nconst filterFields = (fields, props) => {\n  const normalized = castArray(props);\n  return normalized.length > 0 ? fields.filter((field) => field.prop && normalized.includes(field.prop)) : fields;\n};\n\nexport { filterFields, useFormLabelWidth };\n//# sourceMappingURL=utils.mjs.map\n","import { defineComponent, computed, watch, provide, reactive, toRefs, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from 'vue';\nimport '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport './hooks/index.mjs';\nimport { formContextKey } from './constants.mjs';\nimport { formProps, formEmits } from './form.mjs';\nimport { filterFields, useFormLabelWidth } from './utils.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useFormSize } from './hooks/use-form-common-props.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { debugWarn } from '../../../utils/error.mjs';\nimport { isFunction } from '@vue/shared';\n\nconst COMPONENT_NAME = \"ElForm\";\nconst __default__ = defineComponent({\n  name: COMPONENT_NAME\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  ...__default__,\n  props: formProps,\n  emits: formEmits,\n  setup(__props, { expose, emit }) {\n    const props = __props;\n    const fields = [];\n    const formSize = useFormSize();\n    const ns = useNamespace(\"form\");\n    const formClasses = computed(() => {\n      const { labelPosition, inline } = props;\n      return [\n        ns.b(),\n        ns.m(formSize.value || \"default\"),\n        {\n          [ns.m(`label-${labelPosition}`)]: labelPosition,\n          [ns.m(\"inline\")]: inline\n        }\n      ];\n    });\n    const addField = (field) => {\n      fields.push(field);\n    };\n    const removeField = (field) => {\n      if (field.prop) {\n        fields.splice(fields.indexOf(field), 1);\n      }\n    };\n    const resetFields = (properties = []) => {\n      if (!props.model) {\n        debugWarn(COMPONENT_NAME, \"model is required for resetFields to work.\");\n        return;\n      }\n      filterFields(fields, properties).forEach((field) => field.resetField());\n    };\n    const clearValidate = (props2 = []) => {\n      filterFields(fields, props2).forEach((field) => field.clearValidate());\n    };\n    const isValidatable = computed(() => {\n      const hasModel = !!props.model;\n      if (!hasModel) {\n        debugWarn(COMPONENT_NAME, \"model is required for validate to work.\");\n      }\n      return hasModel;\n    });\n    const obtainValidateFields = (props2) => {\n      if (fields.length === 0)\n        return [];\n      const filteredFields = filterFields(fields, props2);\n      if (!filteredFields.length) {\n        debugWarn(COMPONENT_NAME, \"please pass correct props!\");\n        return [];\n      }\n      return filteredFields;\n    };\n    const validate = async (callback) => validateField(void 0, callback);\n    const doValidateField = async (props2 = []) => {\n      if (!isValidatable.value)\n        return false;\n      const fields2 = obtainValidateFields(props2);\n      if (fields2.length === 0)\n        return true;\n      let validationErrors = {};\n      for (const field of fields2) {\n        try {\n          await field.validate(\"\");\n        } catch (fields3) {\n          validationErrors = {\n            ...validationErrors,\n            ...fields3\n          };\n        }\n      }\n      if (Object.keys(validationErrors).length === 0)\n        return true;\n      return Promise.reject(validationErrors);\n    };\n    const validateField = async (modelProps = [], callback) => {\n      const shouldThrow = !isFunction(callback);\n      try {\n        const result = await doValidateField(modelProps);\n        if (result === true) {\n          callback == null ? void 0 : callback(result);\n        }\n        return result;\n      } catch (e) {\n        if (e instanceof Error)\n          throw e;\n        const invalidFields = e;\n        if (props.scrollToError) {\n          scrollToField(Object.keys(invalidFields)[0]);\n        }\n        callback == null ? void 0 : callback(false, invalidFields);\n        return shouldThrow && Promise.reject(invalidFields);\n      }\n    };\n    const scrollToField = (prop) => {\n      var _a;\n      const field = filterFields(fields, prop)[0];\n      if (field) {\n        (_a = field.$el) == null ? void 0 : _a.scrollIntoView(props.scrollIntoViewOptions);\n      }\n    };\n    watch(() => props.rules, () => {\n      if (props.validateOnRuleChange) {\n        validate().catch((err) => debugWarn(err));\n      }\n    }, { deep: true });\n    provide(formContextKey, reactive({\n      ...toRefs(props),\n      emit,\n      resetFields,\n      clearValidate,\n      validateField,\n      addField,\n      removeField,\n      ...useFormLabelWidth()\n    }));\n    expose({\n      validate,\n      validateField,\n      resetFields,\n      clearValidate,\n      scrollToField\n    });\n    return (_ctx, _cache) => {\n      return openBlock(), createElementBlock(\"form\", {\n        class: normalizeClass(unref(formClasses))\n      }, [\n        renderSlot(_ctx.$slots, \"default\")\n      ], 2);\n    };\n  }\n});\nvar Form = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/form/src/form.vue\"]]);\n\nexport { Form as default };\n//# sourceMappingURL=form2.mjs.map\n","function _extends() {\n  _extends = Object.assign ? Object.assign.bind() : function (target) {\n    for (var i = 1; i < arguments.length; i++) {\n      var source = arguments[i];\n\n      for (var key in source) {\n        if (Object.prototype.hasOwnProperty.call(source, key)) {\n          target[key] = source[key];\n        }\n      }\n    }\n\n    return target;\n  };\n  return _extends.apply(this, arguments);\n}\n\nfunction _inheritsLoose(subClass, superClass) {\n  subClass.prototype = Object.create(superClass.prototype);\n  subClass.prototype.constructor = subClass;\n\n  _setPrototypeOf(subClass, superClass);\n}\n\nfunction _getPrototypeOf(o) {\n  _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n    return o.__proto__ || Object.getPrototypeOf(o);\n  };\n  return _getPrototypeOf(o);\n}\n\nfunction _setPrototypeOf(o, p) {\n  _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n    o.__proto__ = p;\n    return o;\n  };\n  return _setPrototypeOf(o, p);\n}\n\nfunction _isNativeReflectConstruct() {\n  if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n  if (Reflect.construct.sham) return false;\n  if (typeof Proxy === \"function\") return true;\n\n  try {\n    Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n    return true;\n  } catch (e) {\n    return false;\n  }\n}\n\nfunction _construct(Parent, args, Class) {\n  if (_isNativeReflectConstruct()) {\n    _construct = Reflect.construct.bind();\n  } else {\n    _construct = function _construct(Parent, args, Class) {\n      var a = [null];\n      a.push.apply(a, args);\n      var Constructor = Function.bind.apply(Parent, a);\n      var instance = new Constructor();\n      if (Class) _setPrototypeOf(instance, Class.prototype);\n      return instance;\n    };\n  }\n\n  return _construct.apply(null, arguments);\n}\n\nfunction _isNativeFunction(fn) {\n  return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n}\n\nfunction _wrapNativeSuper(Class) {\n  var _cache = typeof Map === \"function\" ? new Map() : undefined;\n\n  _wrapNativeSuper = function _wrapNativeSuper(Class) {\n    if (Class === null || !_isNativeFunction(Class)) return Class;\n\n    if (typeof Class !== \"function\") {\n      throw new TypeError(\"Super expression must either be null or a function\");\n    }\n\n    if (typeof _cache !== \"undefined\") {\n      if (_cache.has(Class)) return _cache.get(Class);\n\n      _cache.set(Class, Wrapper);\n    }\n\n    function Wrapper() {\n      return _construct(Class, arguments, _getPrototypeOf(this).constructor);\n    }\n\n    Wrapper.prototype = Object.create(Class.prototype, {\n      constructor: {\n        value: Wrapper,\n        enumerable: false,\n        writable: true,\n        configurable: true\n      }\n    });\n    return _setPrototypeOf(Wrapper, Class);\n  };\n\n  return _wrapNativeSuper(Class);\n}\n\n/* eslint no-console:0 */\nvar formatRegExp = /%[sdj%]/g;\nvar warning = function warning() {}; // don't print warning message when in production env or node runtime\n\nif (typeof process !== 'undefined' && process.env && process.env.NODE_ENV !== 'production' && typeof window !== 'undefined' && typeof document !== 'undefined') {\n  warning = function warning(type, errors) {\n    if (typeof console !== 'undefined' && console.warn && typeof ASYNC_VALIDATOR_NO_WARNING === 'undefined') {\n      if (errors.every(function (e) {\n        return typeof e === 'string';\n      })) {\n        console.warn(type, errors);\n      }\n    }\n  };\n}\n\nfunction convertFieldsError(errors) {\n  if (!errors || !errors.length) return null;\n  var fields = {};\n  errors.forEach(function (error) {\n    var field = error.field;\n    fields[field] = fields[field] || [];\n    fields[field].push(error);\n  });\n  return fields;\n}\nfunction format(template) {\n  for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n    args[_key - 1] = arguments[_key];\n  }\n\n  var i = 0;\n  var len = args.length;\n\n  if (typeof template === 'function') {\n    return template.apply(null, args);\n  }\n\n  if (typeof template === 'string') {\n    var str = template.replace(formatRegExp, function (x) {\n      if (x === '%%') {\n        return '%';\n      }\n\n      if (i >= len) {\n        return x;\n      }\n\n      switch (x) {\n        case '%s':\n          return String(args[i++]);\n\n        case '%d':\n          return Number(args[i++]);\n\n        case '%j':\n          try {\n            return JSON.stringify(args[i++]);\n          } catch (_) {\n            return '[Circular]';\n          }\n\n          break;\n\n        default:\n          return x;\n      }\n    });\n    return str;\n  }\n\n  return template;\n}\n\nfunction isNativeStringType(type) {\n  return type === 'string' || type === 'url' || type === 'hex' || type === 'email' || type === 'date' || type === 'pattern';\n}\n\nfunction isEmptyValue(value, type) {\n  if (value === undefined || value === null) {\n    return true;\n  }\n\n  if (type === 'array' && Array.isArray(value) && !value.length) {\n    return true;\n  }\n\n  if (isNativeStringType(type) && typeof value === 'string' && !value) {\n    return true;\n  }\n\n  return false;\n}\n\nfunction asyncParallelArray(arr, func, callback) {\n  var results = [];\n  var total = 0;\n  var arrLength = arr.length;\n\n  function count(errors) {\n    results.push.apply(results, errors || []);\n    total++;\n\n    if (total === arrLength) {\n      callback(results);\n    }\n  }\n\n  arr.forEach(function (a) {\n    func(a, count);\n  });\n}\n\nfunction asyncSerialArray(arr, func, callback) {\n  var index = 0;\n  var arrLength = arr.length;\n\n  function next(errors) {\n    if (errors && errors.length) {\n      callback(errors);\n      return;\n    }\n\n    var original = index;\n    index = index + 1;\n\n    if (original < arrLength) {\n      func(arr[original], next);\n    } else {\n      callback([]);\n    }\n  }\n\n  next([]);\n}\n\nfunction flattenObjArr(objArr) {\n  var ret = [];\n  Object.keys(objArr).forEach(function (k) {\n    ret.push.apply(ret, objArr[k] || []);\n  });\n  return ret;\n}\n\nvar AsyncValidationError = /*#__PURE__*/function (_Error) {\n  _inheritsLoose(AsyncValidationError, _Error);\n\n  function AsyncValidationError(errors, fields) {\n    var _this;\n\n    _this = _Error.call(this, 'Async Validation Error') || this;\n    _this.errors = errors;\n    _this.fields = fields;\n    return _this;\n  }\n\n  return AsyncValidationError;\n}( /*#__PURE__*/_wrapNativeSuper(Error));\nfunction asyncMap(objArr, option, func, callback, source) {\n  if (option.first) {\n    var _pending = new Promise(function (resolve, reject) {\n      var next = function next(errors) {\n        callback(errors);\n        return errors.length ? reject(new AsyncValidationError(errors, convertFieldsError(errors))) : resolve(source);\n      };\n\n      var flattenArr = flattenObjArr(objArr);\n      asyncSerialArray(flattenArr, func, next);\n    });\n\n    _pending[\"catch\"](function (e) {\n      return e;\n    });\n\n    return _pending;\n  }\n\n  var firstFields = option.firstFields === true ? Object.keys(objArr) : option.firstFields || [];\n  var objArrKeys = Object.keys(objArr);\n  var objArrLength = objArrKeys.length;\n  var total = 0;\n  var results = [];\n  var pending = new Promise(function (resolve, reject) {\n    var next = function next(errors) {\n      results.push.apply(results, errors);\n      total++;\n\n      if (total === objArrLength) {\n        callback(results);\n        return results.length ? reject(new AsyncValidationError(results, convertFieldsError(results))) : resolve(source);\n      }\n    };\n\n    if (!objArrKeys.length) {\n      callback(results);\n      resolve(source);\n    }\n\n    objArrKeys.forEach(function (key) {\n      var arr = objArr[key];\n\n      if (firstFields.indexOf(key) !== -1) {\n        asyncSerialArray(arr, func, next);\n      } else {\n        asyncParallelArray(arr, func, next);\n      }\n    });\n  });\n  pending[\"catch\"](function (e) {\n    return e;\n  });\n  return pending;\n}\n\nfunction isErrorObj(obj) {\n  return !!(obj && obj.message !== undefined);\n}\n\nfunction getValue(value, path) {\n  var v = value;\n\n  for (var i = 0; i < path.length; i++) {\n    if (v == undefined) {\n      return v;\n    }\n\n    v = v[path[i]];\n  }\n\n  return v;\n}\n\nfunction complementError(rule, source) {\n  return function (oe) {\n    var fieldValue;\n\n    if (rule.fullFields) {\n      fieldValue = getValue(source, rule.fullFields);\n    } else {\n      fieldValue = source[oe.field || rule.fullField];\n    }\n\n    if (isErrorObj(oe)) {\n      oe.field = oe.field || rule.fullField;\n      oe.fieldValue = fieldValue;\n      return oe;\n    }\n\n    return {\n      message: typeof oe === 'function' ? oe() : oe,\n      fieldValue: fieldValue,\n      field: oe.field || rule.fullField\n    };\n  };\n}\nfunction deepMerge(target, source) {\n  if (source) {\n    for (var s in source) {\n      if (source.hasOwnProperty(s)) {\n        var value = source[s];\n\n        if (typeof value === 'object' && typeof target[s] === 'object') {\n          target[s] = _extends({}, target[s], value);\n        } else {\n          target[s] = value;\n        }\n      }\n    }\n  }\n\n  return target;\n}\n\nvar required$1 = function required(rule, value, source, errors, options, type) {\n  if (rule.required && (!source.hasOwnProperty(rule.field) || isEmptyValue(value, type || rule.type))) {\n    errors.push(format(options.messages.required, rule.fullField));\n  }\n};\n\n/**\n *  Rule for validating whitespace.\n *\n *  @param rule The validation rule.\n *  @param value The value of the field on the source object.\n *  @param source The source object being validated.\n *  @param errors An array of errors that this rule may add\n *  validation errors to.\n *  @param options The validation options.\n *  @param options.messages The validation messages.\n */\n\nvar whitespace = function whitespace(rule, value, source, errors, options) {\n  if (/^\\s+$/.test(value) || value === '') {\n    errors.push(format(options.messages.whitespace, rule.fullField));\n  }\n};\n\n// https://github.com/kevva/url-regex/blob/master/index.js\nvar urlReg;\nvar getUrlRegex = (function () {\n  if (urlReg) {\n    return urlReg;\n  }\n\n  var word = '[a-fA-F\\\\d:]';\n\n  var b = function b(options) {\n    return options && options.includeBoundaries ? \"(?:(?<=\\\\s|^)(?=\" + word + \")|(?<=\" + word + \")(?=\\\\s|$))\" : '';\n  };\n\n  var v4 = '(?:25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]\\\\d|\\\\d)(?:\\\\.(?:25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]\\\\d|\\\\d)){3}';\n  var v6seg = '[a-fA-F\\\\d]{1,4}';\n  var v6 = (\"\\n(?:\\n(?:\" + v6seg + \":){7}(?:\" + v6seg + \"|:)|                                    // 1:2:3:4:5:6:7::  1:2:3:4:5:6:7:8\\n(?:\" + v6seg + \":){6}(?:\" + v4 + \"|:\" + v6seg + \"|:)|                             // 1:2:3:4:5:6::    1:2:3:4:5:6::8   1:2:3:4:5:6::8  1:2:3:4:5:6::1.2.3.4\\n(?:\" + v6seg + \":){5}(?::\" + v4 + \"|(?::\" + v6seg + \"){1,2}|:)|                   // 1:2:3:4:5::      1:2:3:4:5::7:8   1:2:3:4:5::8    1:2:3:4:5::7:1.2.3.4\\n(?:\" + v6seg + \":){4}(?:(?::\" + v6seg + \"){0,1}:\" + v4 + \"|(?::\" + v6seg + \"){1,3}|:)| // 1:2:3:4::        1:2:3:4::6:7:8   1:2:3:4::8      1:2:3:4::6:7:1.2.3.4\\n(?:\" + v6seg + \":){3}(?:(?::\" + v6seg + \"){0,2}:\" + v4 + \"|(?::\" + v6seg + \"){1,4}|:)| // 1:2:3::          1:2:3::5:6:7:8   1:2:3::8        1:2:3::5:6:7:1.2.3.4\\n(?:\" + v6seg + \":){2}(?:(?::\" + v6seg + \"){0,3}:\" + v4 + \"|(?::\" + v6seg + \"){1,5}|:)| // 1:2::            1:2::4:5:6:7:8   1:2::8          1:2::4:5:6:7:1.2.3.4\\n(?:\" + v6seg + \":){1}(?:(?::\" + v6seg + \"){0,4}:\" + v4 + \"|(?::\" + v6seg + \"){1,6}|:)| // 1::              1::3:4:5:6:7:8   1::8            1::3:4:5:6:7:1.2.3.4\\n(?::(?:(?::\" + v6seg + \"){0,5}:\" + v4 + \"|(?::\" + v6seg + \"){1,7}|:))             // ::2:3:4:5:6:7:8  ::2:3:4:5:6:7:8  ::8             ::1.2.3.4\\n)(?:%[0-9a-zA-Z]{1,})?                                             // %eth0            %1\\n\").replace(/\\s*\\/\\/.*$/gm, '').replace(/\\n/g, '').trim(); // Pre-compile only the exact regexes because adding a global flag make regexes stateful\n\n  var v46Exact = new RegExp(\"(?:^\" + v4 + \"$)|(?:^\" + v6 + \"$)\");\n  var v4exact = new RegExp(\"^\" + v4 + \"$\");\n  var v6exact = new RegExp(\"^\" + v6 + \"$\");\n\n  var ip = function ip(options) {\n    return options && options.exact ? v46Exact : new RegExp(\"(?:\" + b(options) + v4 + b(options) + \")|(?:\" + b(options) + v6 + b(options) + \")\", 'g');\n  };\n\n  ip.v4 = function (options) {\n    return options && options.exact ? v4exact : new RegExp(\"\" + b(options) + v4 + b(options), 'g');\n  };\n\n  ip.v6 = function (options) {\n    return options && options.exact ? v6exact : new RegExp(\"\" + b(options) + v6 + b(options), 'g');\n  };\n\n  var protocol = \"(?:(?:[a-z]+:)?//)\";\n  var auth = '(?:\\\\S+(?::\\\\S*)?@)?';\n  var ipv4 = ip.v4().source;\n  var ipv6 = ip.v6().source;\n  var host = \"(?:(?:[a-z\\\\u00a1-\\\\uffff0-9][-_]*)*[a-z\\\\u00a1-\\\\uffff0-9]+)\";\n  var domain = \"(?:\\\\.(?:[a-z\\\\u00a1-\\\\uffff0-9]-*)*[a-z\\\\u00a1-\\\\uffff0-9]+)*\";\n  var tld = \"(?:\\\\.(?:[a-z\\\\u00a1-\\\\uffff]{2,}))\";\n  var port = '(?::\\\\d{2,5})?';\n  var path = '(?:[/?#][^\\\\s\"]*)?';\n  var regex = \"(?:\" + protocol + \"|www\\\\.)\" + auth + \"(?:localhost|\" + ipv4 + \"|\" + ipv6 + \"|\" + host + domain + tld + \")\" + port + path;\n  urlReg = new RegExp(\"(?:^\" + regex + \"$)\", 'i');\n  return urlReg;\n});\n\n/* eslint max-len:0 */\n\nvar pattern$2 = {\n  // http://emailregex.com/\n  email: /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]+\\.)+[a-zA-Z\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]{2,}))$/,\n  // url: new RegExp(\n  //   '^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\\\S+(?::\\\\S*)?@)?(?:(?:(?:[1-9]\\\\d?|1\\\\d\\\\d|2[01]\\\\d|22[0-3])(?:\\\\.(?:1?\\\\d{1,2}|2[0-4]\\\\d|25[0-5])){2}(?:\\\\.(?:[0-9]\\\\d?|1\\\\d\\\\d|2[0-4]\\\\d|25[0-4]))|(?:(?:[a-z\\\\u00a1-\\\\uffff0-9]+-*)*[a-z\\\\u00a1-\\\\uffff0-9]+)(?:\\\\.(?:[a-z\\\\u00a1-\\\\uffff0-9]+-*)*[a-z\\\\u00a1-\\\\uffff0-9]+)*(?:\\\\.(?:[a-z\\\\u00a1-\\\\uffff]{2,})))|localhost)(?::\\\\d{2,5})?(?:(/|\\\\?|#)[^\\\\s]*)?$',\n  //   'i',\n  // ),\n  hex: /^#?([a-f0-9]{6}|[a-f0-9]{3})$/i\n};\nvar types = {\n  integer: function integer(value) {\n    return types.number(value) && parseInt(value, 10) === value;\n  },\n  \"float\": function float(value) {\n    return types.number(value) && !types.integer(value);\n  },\n  array: function array(value) {\n    return Array.isArray(value);\n  },\n  regexp: function regexp(value) {\n    if (value instanceof RegExp) {\n      return true;\n    }\n\n    try {\n      return !!new RegExp(value);\n    } catch (e) {\n      return false;\n    }\n  },\n  date: function date(value) {\n    return typeof value.getTime === 'function' && typeof value.getMonth === 'function' && typeof value.getYear === 'function' && !isNaN(value.getTime());\n  },\n  number: function number(value) {\n    if (isNaN(value)) {\n      return false;\n    }\n\n    return typeof value === 'number';\n  },\n  object: function object(value) {\n    return typeof value === 'object' && !types.array(value);\n  },\n  method: function method(value) {\n    return typeof value === 'function';\n  },\n  email: function email(value) {\n    return typeof value === 'string' && value.length <= 320 && !!value.match(pattern$2.email);\n  },\n  url: function url(value) {\n    return typeof value === 'string' && value.length <= 2048 && !!value.match(getUrlRegex());\n  },\n  hex: function hex(value) {\n    return typeof value === 'string' && !!value.match(pattern$2.hex);\n  }\n};\n\nvar type$1 = function type(rule, value, source, errors, options) {\n  if (rule.required && value === undefined) {\n    required$1(rule, value, source, errors, options);\n    return;\n  }\n\n  var custom = ['integer', 'float', 'array', 'regexp', 'object', 'method', 'email', 'number', 'date', 'url', 'hex'];\n  var ruleType = rule.type;\n\n  if (custom.indexOf(ruleType) > -1) {\n    if (!types[ruleType](value)) {\n      errors.push(format(options.messages.types[ruleType], rule.fullField, rule.type));\n    } // straight typeof check\n\n  } else if (ruleType && typeof value !== rule.type) {\n    errors.push(format(options.messages.types[ruleType], rule.fullField, rule.type));\n  }\n};\n\nvar range = function range(rule, value, source, errors, options) {\n  var len = typeof rule.len === 'number';\n  var min = typeof rule.min === 'number';\n  var max = typeof rule.max === 'number'; // 正则匹配码点范围从U+010000一直到U+10FFFF的文字(补充平面Supplementary Plane)\n\n  var spRegexp = /[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/g;\n  var val = value;\n  var key = null;\n  var num = typeof value === 'number';\n  var str = typeof value === 'string';\n  var arr = Array.isArray(value);\n\n  if (num) {\n    key = 'number';\n  } else if (str) {\n    key = 'string';\n  } else if (arr) {\n    key = 'array';\n  } // if the value is not of a supported type for range validation\n  // the validation rule rule should use the\n  // type property to also test for a particular type\n\n\n  if (!key) {\n    return false;\n  }\n\n  if (arr) {\n    val = value.length;\n  }\n\n  if (str) {\n    // 处理码点大于U+010000的文字length属性不准确的bug,如\"𠮷𠮷𠮷\".lenght !== 3\n    val = value.replace(spRegexp, '_').length;\n  }\n\n  if (len) {\n    if (val !== rule.len) {\n      errors.push(format(options.messages[key].len, rule.fullField, rule.len));\n    }\n  } else if (min && !max && val < rule.min) {\n    errors.push(format(options.messages[key].min, rule.fullField, rule.min));\n  } else if (max && !min && val > rule.max) {\n    errors.push(format(options.messages[key].max, rule.fullField, rule.max));\n  } else if (min && max && (val < rule.min || val > rule.max)) {\n    errors.push(format(options.messages[key].range, rule.fullField, rule.min, rule.max));\n  }\n};\n\nvar ENUM$1 = 'enum';\n\nvar enumerable$1 = function enumerable(rule, value, source, errors, options) {\n  rule[ENUM$1] = Array.isArray(rule[ENUM$1]) ? rule[ENUM$1] : [];\n\n  if (rule[ENUM$1].indexOf(value) === -1) {\n    errors.push(format(options.messages[ENUM$1], rule.fullField, rule[ENUM$1].join(', ')));\n  }\n};\n\nvar pattern$1 = function pattern(rule, value, source, errors, options) {\n  if (rule.pattern) {\n    if (rule.pattern instanceof RegExp) {\n      // if a RegExp instance is passed, reset `lastIndex` in case its `global`\n      // flag is accidentally set to `true`, which in a validation scenario\n      // is not necessary and the result might be misleading\n      rule.pattern.lastIndex = 0;\n\n      if (!rule.pattern.test(value)) {\n        errors.push(format(options.messages.pattern.mismatch, rule.fullField, value, rule.pattern));\n      }\n    } else if (typeof rule.pattern === 'string') {\n      var _pattern = new RegExp(rule.pattern);\n\n      if (!_pattern.test(value)) {\n        errors.push(format(options.messages.pattern.mismatch, rule.fullField, value, rule.pattern));\n      }\n    }\n  }\n};\n\nvar rules = {\n  required: required$1,\n  whitespace: whitespace,\n  type: type$1,\n  range: range,\n  \"enum\": enumerable$1,\n  pattern: pattern$1\n};\n\nvar string = function string(rule, value, callback, source, options) {\n  var errors = [];\n  var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n  if (validate) {\n    if (isEmptyValue(value, 'string') && !rule.required) {\n      return callback();\n    }\n\n    rules.required(rule, value, source, errors, options, 'string');\n\n    if (!isEmptyValue(value, 'string')) {\n      rules.type(rule, value, source, errors, options);\n      rules.range(rule, value, source, errors, options);\n      rules.pattern(rule, value, source, errors, options);\n\n      if (rule.whitespace === true) {\n        rules.whitespace(rule, value, source, errors, options);\n      }\n    }\n  }\n\n  callback(errors);\n};\n\nvar method = function method(rule, value, callback, source, options) {\n  var errors = [];\n  var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n  if (validate) {\n    if (isEmptyValue(value) && !rule.required) {\n      return callback();\n    }\n\n    rules.required(rule, value, source, errors, options);\n\n    if (value !== undefined) {\n      rules.type(rule, value, source, errors, options);\n    }\n  }\n\n  callback(errors);\n};\n\nvar number = function number(rule, value, callback, source, options) {\n  var errors = [];\n  var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n  if (validate) {\n    if (value === '') {\n      value = undefined;\n    }\n\n    if (isEmptyValue(value) && !rule.required) {\n      return callback();\n    }\n\n    rules.required(rule, value, source, errors, options);\n\n    if (value !== undefined) {\n      rules.type(rule, value, source, errors, options);\n      rules.range(rule, value, source, errors, options);\n    }\n  }\n\n  callback(errors);\n};\n\nvar _boolean = function _boolean(rule, value, callback, source, options) {\n  var errors = [];\n  var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n  if (validate) {\n    if (isEmptyValue(value) && !rule.required) {\n      return callback();\n    }\n\n    rules.required(rule, value, source, errors, options);\n\n    if (value !== undefined) {\n      rules.type(rule, value, source, errors, options);\n    }\n  }\n\n  callback(errors);\n};\n\nvar regexp = function regexp(rule, value, callback, source, options) {\n  var errors = [];\n  var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n  if (validate) {\n    if (isEmptyValue(value) && !rule.required) {\n      return callback();\n    }\n\n    rules.required(rule, value, source, errors, options);\n\n    if (!isEmptyValue(value)) {\n      rules.type(rule, value, source, errors, options);\n    }\n  }\n\n  callback(errors);\n};\n\nvar integer = function integer(rule, value, callback, source, options) {\n  var errors = [];\n  var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n  if (validate) {\n    if (isEmptyValue(value) && !rule.required) {\n      return callback();\n    }\n\n    rules.required(rule, value, source, errors, options);\n\n    if (value !== undefined) {\n      rules.type(rule, value, source, errors, options);\n      rules.range(rule, value, source, errors, options);\n    }\n  }\n\n  callback(errors);\n};\n\nvar floatFn = function floatFn(rule, value, callback, source, options) {\n  var errors = [];\n  var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n  if (validate) {\n    if (isEmptyValue(value) && !rule.required) {\n      return callback();\n    }\n\n    rules.required(rule, value, source, errors, options);\n\n    if (value !== undefined) {\n      rules.type(rule, value, source, errors, options);\n      rules.range(rule, value, source, errors, options);\n    }\n  }\n\n  callback(errors);\n};\n\nvar array = function array(rule, value, callback, source, options) {\n  var errors = [];\n  var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n  if (validate) {\n    if ((value === undefined || value === null) && !rule.required) {\n      return callback();\n    }\n\n    rules.required(rule, value, source, errors, options, 'array');\n\n    if (value !== undefined && value !== null) {\n      rules.type(rule, value, source, errors, options);\n      rules.range(rule, value, source, errors, options);\n    }\n  }\n\n  callback(errors);\n};\n\nvar object = function object(rule, value, callback, source, options) {\n  var errors = [];\n  var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n  if (validate) {\n    if (isEmptyValue(value) && !rule.required) {\n      return callback();\n    }\n\n    rules.required(rule, value, source, errors, options);\n\n    if (value !== undefined) {\n      rules.type(rule, value, source, errors, options);\n    }\n  }\n\n  callback(errors);\n};\n\nvar ENUM = 'enum';\n\nvar enumerable = function enumerable(rule, value, callback, source, options) {\n  var errors = [];\n  var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n  if (validate) {\n    if (isEmptyValue(value) && !rule.required) {\n      return callback();\n    }\n\n    rules.required(rule, value, source, errors, options);\n\n    if (value !== undefined) {\n      rules[ENUM](rule, value, source, errors, options);\n    }\n  }\n\n  callback(errors);\n};\n\nvar pattern = function pattern(rule, value, callback, source, options) {\n  var errors = [];\n  var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n  if (validate) {\n    if (isEmptyValue(value, 'string') && !rule.required) {\n      return callback();\n    }\n\n    rules.required(rule, value, source, errors, options);\n\n    if (!isEmptyValue(value, 'string')) {\n      rules.pattern(rule, value, source, errors, options);\n    }\n  }\n\n  callback(errors);\n};\n\nvar date = function date(rule, value, callback, source, options) {\n  // console.log('integer rule called %j', rule);\n  var errors = [];\n  var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field); // console.log('validate on %s value', value);\n\n  if (validate) {\n    if (isEmptyValue(value, 'date') && !rule.required) {\n      return callback();\n    }\n\n    rules.required(rule, value, source, errors, options);\n\n    if (!isEmptyValue(value, 'date')) {\n      var dateObject;\n\n      if (value instanceof Date) {\n        dateObject = value;\n      } else {\n        dateObject = new Date(value);\n      }\n\n      rules.type(rule, dateObject, source, errors, options);\n\n      if (dateObject) {\n        rules.range(rule, dateObject.getTime(), source, errors, options);\n      }\n    }\n  }\n\n  callback(errors);\n};\n\nvar required = function required(rule, value, callback, source, options) {\n  var errors = [];\n  var type = Array.isArray(value) ? 'array' : typeof value;\n  rules.required(rule, value, source, errors, options, type);\n  callback(errors);\n};\n\nvar type = function type(rule, value, callback, source, options) {\n  var ruleType = rule.type;\n  var errors = [];\n  var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n  if (validate) {\n    if (isEmptyValue(value, ruleType) && !rule.required) {\n      return callback();\n    }\n\n    rules.required(rule, value, source, errors, options, ruleType);\n\n    if (!isEmptyValue(value, ruleType)) {\n      rules.type(rule, value, source, errors, options);\n    }\n  }\n\n  callback(errors);\n};\n\nvar any = function any(rule, value, callback, source, options) {\n  var errors = [];\n  var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n  if (validate) {\n    if (isEmptyValue(value) && !rule.required) {\n      return callback();\n    }\n\n    rules.required(rule, value, source, errors, options);\n  }\n\n  callback(errors);\n};\n\nvar validators = {\n  string: string,\n  method: method,\n  number: number,\n  \"boolean\": _boolean,\n  regexp: regexp,\n  integer: integer,\n  \"float\": floatFn,\n  array: array,\n  object: object,\n  \"enum\": enumerable,\n  pattern: pattern,\n  date: date,\n  url: type,\n  hex: type,\n  email: type,\n  required: required,\n  any: any\n};\n\nfunction newMessages() {\n  return {\n    \"default\": 'Validation error on field %s',\n    required: '%s is required',\n    \"enum\": '%s must be one of %s',\n    whitespace: '%s cannot be empty',\n    date: {\n      format: '%s date %s is invalid for format %s',\n      parse: '%s date could not be parsed, %s is invalid ',\n      invalid: '%s date %s is invalid'\n    },\n    types: {\n      string: '%s is not a %s',\n      method: '%s is not a %s (function)',\n      array: '%s is not an %s',\n      object: '%s is not an %s',\n      number: '%s is not a %s',\n      date: '%s is not a %s',\n      \"boolean\": '%s is not a %s',\n      integer: '%s is not an %s',\n      \"float\": '%s is not a %s',\n      regexp: '%s is not a valid %s',\n      email: '%s is not a valid %s',\n      url: '%s is not a valid %s',\n      hex: '%s is not a valid %s'\n    },\n    string: {\n      len: '%s must be exactly %s characters',\n      min: '%s must be at least %s characters',\n      max: '%s cannot be longer than %s characters',\n      range: '%s must be between %s and %s characters'\n    },\n    number: {\n      len: '%s must equal %s',\n      min: '%s cannot be less than %s',\n      max: '%s cannot be greater than %s',\n      range: '%s must be between %s and %s'\n    },\n    array: {\n      len: '%s must be exactly %s in length',\n      min: '%s cannot be less than %s in length',\n      max: '%s cannot be greater than %s in length',\n      range: '%s must be between %s and %s in length'\n    },\n    pattern: {\n      mismatch: '%s value %s does not match pattern %s'\n    },\n    clone: function clone() {\n      var cloned = JSON.parse(JSON.stringify(this));\n      cloned.clone = this.clone;\n      return cloned;\n    }\n  };\n}\nvar messages = newMessages();\n\n/**\n *  Encapsulates a validation schema.\n *\n *  @param descriptor An object declaring validation rules\n *  for this schema.\n */\n\nvar Schema = /*#__PURE__*/function () {\n  // ========================= Static =========================\n  // ======================== Instance ========================\n  function Schema(descriptor) {\n    this.rules = null;\n    this._messages = messages;\n    this.define(descriptor);\n  }\n\n  var _proto = Schema.prototype;\n\n  _proto.define = function define(rules) {\n    var _this = this;\n\n    if (!rules) {\n      throw new Error('Cannot configure a schema with no rules');\n    }\n\n    if (typeof rules !== 'object' || Array.isArray(rules)) {\n      throw new Error('Rules must be an object');\n    }\n\n    this.rules = {};\n    Object.keys(rules).forEach(function (name) {\n      var item = rules[name];\n      _this.rules[name] = Array.isArray(item) ? item : [item];\n    });\n  };\n\n  _proto.messages = function messages(_messages) {\n    if (_messages) {\n      this._messages = deepMerge(newMessages(), _messages);\n    }\n\n    return this._messages;\n  };\n\n  _proto.validate = function validate(source_, o, oc) {\n    var _this2 = this;\n\n    if (o === void 0) {\n      o = {};\n    }\n\n    if (oc === void 0) {\n      oc = function oc() {};\n    }\n\n    var source = source_;\n    var options = o;\n    var callback = oc;\n\n    if (typeof options === 'function') {\n      callback = options;\n      options = {};\n    }\n\n    if (!this.rules || Object.keys(this.rules).length === 0) {\n      if (callback) {\n        callback(null, source);\n      }\n\n      return Promise.resolve(source);\n    }\n\n    function complete(results) {\n      var errors = [];\n      var fields = {};\n\n      function add(e) {\n        if (Array.isArray(e)) {\n          var _errors;\n\n          errors = (_errors = errors).concat.apply(_errors, e);\n        } else {\n          errors.push(e);\n        }\n      }\n\n      for (var i = 0; i < results.length; i++) {\n        add(results[i]);\n      }\n\n      if (!errors.length) {\n        callback(null, source);\n      } else {\n        fields = convertFieldsError(errors);\n        callback(errors, fields);\n      }\n    }\n\n    if (options.messages) {\n      var messages$1 = this.messages();\n\n      if (messages$1 === messages) {\n        messages$1 = newMessages();\n      }\n\n      deepMerge(messages$1, options.messages);\n      options.messages = messages$1;\n    } else {\n      options.messages = this.messages();\n    }\n\n    var series = {};\n    var keys = options.keys || Object.keys(this.rules);\n    keys.forEach(function (z) {\n      var arr = _this2.rules[z];\n      var value = source[z];\n      arr.forEach(function (r) {\n        var rule = r;\n\n        if (typeof rule.transform === 'function') {\n          if (source === source_) {\n            source = _extends({}, source);\n          }\n\n          value = source[z] = rule.transform(value);\n        }\n\n        if (typeof rule === 'function') {\n          rule = {\n            validator: rule\n          };\n        } else {\n          rule = _extends({}, rule);\n        } // Fill validator. Skip if nothing need to validate\n\n\n        rule.validator = _this2.getValidationMethod(rule);\n\n        if (!rule.validator) {\n          return;\n        }\n\n        rule.field = z;\n        rule.fullField = rule.fullField || z;\n        rule.type = _this2.getType(rule);\n        series[z] = series[z] || [];\n        series[z].push({\n          rule: rule,\n          value: value,\n          source: source,\n          field: z\n        });\n      });\n    });\n    var errorFields = {};\n    return asyncMap(series, options, function (data, doIt) {\n      var rule = data.rule;\n      var deep = (rule.type === 'object' || rule.type === 'array') && (typeof rule.fields === 'object' || typeof rule.defaultField === 'object');\n      deep = deep && (rule.required || !rule.required && data.value);\n      rule.field = data.field;\n\n      function addFullField(key, schema) {\n        return _extends({}, schema, {\n          fullField: rule.fullField + \".\" + key,\n          fullFields: rule.fullFields ? [].concat(rule.fullFields, [key]) : [key]\n        });\n      }\n\n      function cb(e) {\n        if (e === void 0) {\n          e = [];\n        }\n\n        var errorList = Array.isArray(e) ? e : [e];\n\n        if (!options.suppressWarning && errorList.length) {\n          Schema.warning('async-validator:', errorList);\n        }\n\n        if (errorList.length && rule.message !== undefined) {\n          errorList = [].concat(rule.message);\n        } // Fill error info\n\n\n        var filledErrors = errorList.map(complementError(rule, source));\n\n        if (options.first && filledErrors.length) {\n          errorFields[rule.field] = 1;\n          return doIt(filledErrors);\n        }\n\n        if (!deep) {\n          doIt(filledErrors);\n        } else {\n          // if rule is required but the target object\n          // does not exist fail at the rule level and don't\n          // go deeper\n          if (rule.required && !data.value) {\n            if (rule.message !== undefined) {\n              filledErrors = [].concat(rule.message).map(complementError(rule, source));\n            } else if (options.error) {\n              filledErrors = [options.error(rule, format(options.messages.required, rule.field))];\n            }\n\n            return doIt(filledErrors);\n          }\n\n          var fieldsSchema = {};\n\n          if (rule.defaultField) {\n            Object.keys(data.value).map(function (key) {\n              fieldsSchema[key] = rule.defaultField;\n            });\n          }\n\n          fieldsSchema = _extends({}, fieldsSchema, data.rule.fields);\n          var paredFieldsSchema = {};\n          Object.keys(fieldsSchema).forEach(function (field) {\n            var fieldSchema = fieldsSchema[field];\n            var fieldSchemaList = Array.isArray(fieldSchema) ? fieldSchema : [fieldSchema];\n            paredFieldsSchema[field] = fieldSchemaList.map(addFullField.bind(null, field));\n          });\n          var schema = new Schema(paredFieldsSchema);\n          schema.messages(options.messages);\n\n          if (data.rule.options) {\n            data.rule.options.messages = options.messages;\n            data.rule.options.error = options.error;\n          }\n\n          schema.validate(data.value, data.rule.options || options, function (errs) {\n            var finalErrors = [];\n\n            if (filledErrors && filledErrors.length) {\n              finalErrors.push.apply(finalErrors, filledErrors);\n            }\n\n            if (errs && errs.length) {\n              finalErrors.push.apply(finalErrors, errs);\n            }\n\n            doIt(finalErrors.length ? finalErrors : null);\n          });\n        }\n      }\n\n      var res;\n\n      if (rule.asyncValidator) {\n        res = rule.asyncValidator(rule, data.value, cb, data.source, options);\n      } else if (rule.validator) {\n        try {\n          res = rule.validator(rule, data.value, cb, data.source, options);\n        } catch (error) {\n          console.error == null ? void 0 : console.error(error); // rethrow to report error\n\n          if (!options.suppressValidatorError) {\n            setTimeout(function () {\n              throw error;\n            }, 0);\n          }\n\n          cb(error.message);\n        }\n\n        if (res === true) {\n          cb();\n        } else if (res === false) {\n          cb(typeof rule.message === 'function' ? rule.message(rule.fullField || rule.field) : rule.message || (rule.fullField || rule.field) + \" fails\");\n        } else if (res instanceof Array) {\n          cb(res);\n        } else if (res instanceof Error) {\n          cb(res.message);\n        }\n      }\n\n      if (res && res.then) {\n        res.then(function () {\n          return cb();\n        }, function (e) {\n          return cb(e);\n        });\n      }\n    }, function (results) {\n      complete(results);\n    }, source);\n  };\n\n  _proto.getType = function getType(rule) {\n    if (rule.type === undefined && rule.pattern instanceof RegExp) {\n      rule.type = 'pattern';\n    }\n\n    if (typeof rule.validator !== 'function' && rule.type && !validators.hasOwnProperty(rule.type)) {\n      throw new Error(format('Unknown rule type %s', rule.type));\n    }\n\n    return rule.type || 'string';\n  };\n\n  _proto.getValidationMethod = function getValidationMethod(rule) {\n    if (typeof rule.validator === 'function') {\n      return rule.validator;\n    }\n\n    var keys = Object.keys(rule);\n    var messageIndex = keys.indexOf('message');\n\n    if (messageIndex !== -1) {\n      keys.splice(messageIndex, 1);\n    }\n\n    if (keys.length === 1 && keys[0] === 'required') {\n      return validators.required;\n    }\n\n    return validators[this.getType(rule)] || undefined;\n  };\n\n  return Schema;\n}();\n\nSchema.register = function register(type, validator) {\n  if (typeof validator !== 'function') {\n    throw new Error('Cannot register a validator by type, validator is not a function');\n  }\n\n  validators[type] = validator;\n};\n\nSchema.warning = warning;\nSchema.messages = messages;\nSchema.validators = validators;\n\nexport { Schema as default };\n//# sourceMappingURL=index.js.map\n","import '../../../constants/index.mjs';\nimport '../../../utils/index.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { componentSizes } from '../../../constants/size.mjs';\n\nconst formItemValidateStates = [\n  \"\",\n  \"error\",\n  \"validating\",\n  \"success\"\n];\nconst formItemProps = buildProps({\n  label: String,\n  labelWidth: {\n    type: [String, Number],\n    default: \"\"\n  },\n  prop: {\n    type: definePropType([String, Array])\n  },\n  required: {\n    type: Boolean,\n    default: void 0\n  },\n  rules: {\n    type: definePropType([Object, Array])\n  },\n  error: String,\n  validateStatus: {\n    type: String,\n    values: formItemValidateStates\n  },\n  for: String,\n  inlineMessage: {\n    type: [String, Boolean],\n    default: \"\"\n  },\n  showMessage: {\n    type: Boolean,\n    default: true\n  },\n  size: {\n    type: String,\n    values: componentSizes\n  }\n});\n\nexport { formItemProps, formItemValidateStates };\n//# sourceMappingURL=form-item.mjs.map\n","import { defineComponent, inject, ref, nextTick, onMounted, onBeforeUnmount, onUpdated, watch, computed, createVNode, Fragment } from 'vue';\nimport { useResizeObserver } from '@vueuse/core';\nimport '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport { formContextKey, formItemContextKey } from './constants.mjs';\nimport { throwError } from '../../../utils/error.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst COMPONENT_NAME = \"ElLabelWrap\";\nvar FormLabelWrap = defineComponent({\n  name: COMPONENT_NAME,\n  props: {\n    isAutoWidth: Boolean,\n    updateAll: Boolean\n  },\n  setup(props, {\n    slots\n  }) {\n    const formContext = inject(formContextKey, void 0);\n    const formItemContext = inject(formItemContextKey);\n    if (!formItemContext)\n      throwError(COMPONENT_NAME, \"usage: <el-form-item><label-wrap /></el-form-item>\");\n    const ns = useNamespace(\"form\");\n    const el = ref();\n    const computedWidth = ref(0);\n    const getLabelWidth = () => {\n      var _a;\n      if ((_a = el.value) == null ? void 0 : _a.firstElementChild) {\n        const width = window.getComputedStyle(el.value.firstElementChild).width;\n        return Math.ceil(Number.parseFloat(width));\n      } else {\n        return 0;\n      }\n    };\n    const updateLabelWidth = (action = \"update\") => {\n      nextTick(() => {\n        if (slots.default && props.isAutoWidth) {\n          if (action === \"update\") {\n            computedWidth.value = getLabelWidth();\n          } else if (action === \"remove\") {\n            formContext == null ? void 0 : formContext.deregisterLabelWidth(computedWidth.value);\n          }\n        }\n      });\n    };\n    const updateLabelWidthFn = () => updateLabelWidth(\"update\");\n    onMounted(() => {\n      updateLabelWidthFn();\n    });\n    onBeforeUnmount(() => {\n      updateLabelWidth(\"remove\");\n    });\n    onUpdated(() => updateLabelWidthFn());\n    watch(computedWidth, (val, oldVal) => {\n      if (props.updateAll) {\n        formContext == null ? void 0 : formContext.registerLabelWidth(val, oldVal);\n      }\n    });\n    useResizeObserver(computed(() => {\n      var _a, _b;\n      return (_b = (_a = el.value) == null ? void 0 : _a.firstElementChild) != null ? _b : null;\n    }), updateLabelWidthFn);\n    return () => {\n      var _a, _b;\n      if (!slots)\n        return null;\n      const {\n        isAutoWidth\n      } = props;\n      if (isAutoWidth) {\n        const autoLabelWidth = formContext == null ? void 0 : formContext.autoLabelWidth;\n        const hasLabel = formItemContext == null ? void 0 : formItemContext.hasLabel;\n        const style = {};\n        if (hasLabel && autoLabelWidth && autoLabelWidth !== \"auto\") {\n          const marginWidth = Math.max(0, Number.parseInt(autoLabelWidth, 10) - computedWidth.value);\n          const marginPosition = formContext.labelPosition === \"left\" ? \"marginRight\" : \"marginLeft\";\n          if (marginWidth) {\n            style[marginPosition] = `${marginWidth}px`;\n          }\n        }\n        return createVNode(\"div\", {\n          \"ref\": el,\n          \"class\": [ns.be(\"item\", \"label-wrap\")],\n          \"style\": style\n        }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);\n      } else {\n        return createVNode(Fragment, {\n          \"ref\": el\n        }, [(_b = slots.default) == null ? void 0 : _b.call(slots)]);\n      }\n    };\n  }\n});\n\nexport { FormLabelWrap as default };\n//# sourceMappingURL=form-label-wrap.mjs.map\n","import { defineComponent, useSlots, inject, ref, computed, nextTick, watch, reactive, toRefs, provide, onMounted, onBeforeUnmount, openBlock, createElementBlock, normalizeClass, unref, createVNode, withCtx, createBlock, resolveDynamicComponent, normalizeStyle, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createElementVNode, TransitionGroup } from 'vue';\nimport AsyncValidator from 'async-validator';\nimport { castArray, clone } from 'lodash-unified';\nimport { refDebounced } from '@vueuse/core';\nimport '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport './hooks/index.mjs';\nimport { formItemProps } from './form-item.mjs';\nimport FormLabelWrap from './form-label-wrap.mjs';\nimport { formContextKey, formItemContextKey } from './constants.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useFormSize } from './hooks/use-form-common-props.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { useId } from '../../../hooks/use-id/index.mjs';\nimport { addUnit } from '../../../utils/dom/style.mjs';\nimport { isBoolean } from '../../../utils/types.mjs';\nimport { isString, isFunction } from '@vue/shared';\nimport { getProp } from '../../../utils/objects.mjs';\n\nconst _hoisted_1 = [\"role\", \"aria-labelledby\"];\nconst __default__ = defineComponent({\n  name: \"ElFormItem\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  ...__default__,\n  props: formItemProps,\n  setup(__props, { expose }) {\n    const props = __props;\n    const slots = useSlots();\n    const formContext = inject(formContextKey, void 0);\n    const parentFormItemContext = inject(formItemContextKey, void 0);\n    const _size = useFormSize(void 0, { formItem: false });\n    const ns = useNamespace(\"form-item\");\n    const labelId = useId().value;\n    const inputIds = ref([]);\n    const validateState = ref(\"\");\n    const validateStateDebounced = refDebounced(validateState, 100);\n    const validateMessage = ref(\"\");\n    const formItemRef = ref();\n    let initialValue = void 0;\n    let isResettingField = false;\n    const labelStyle = computed(() => {\n      if ((formContext == null ? void 0 : formContext.labelPosition) === \"top\") {\n        return {};\n      }\n      const labelWidth = addUnit(props.labelWidth || (formContext == null ? void 0 : formContext.labelWidth) || \"\");\n      if (labelWidth)\n        return { width: labelWidth };\n      return {};\n    });\n    const contentStyle = computed(() => {\n      if ((formContext == null ? void 0 : formContext.labelPosition) === \"top\" || (formContext == null ? void 0 : formContext.inline)) {\n        return {};\n      }\n      if (!props.label && !props.labelWidth && isNested) {\n        return {};\n      }\n      const labelWidth = addUnit(props.labelWidth || (formContext == null ? void 0 : formContext.labelWidth) || \"\");\n      if (!props.label && !slots.label) {\n        return { marginLeft: labelWidth };\n      }\n      return {};\n    });\n    const formItemClasses = computed(() => [\n      ns.b(),\n      ns.m(_size.value),\n      ns.is(\"error\", validateState.value === \"error\"),\n      ns.is(\"validating\", validateState.value === \"validating\"),\n      ns.is(\"success\", validateState.value === \"success\"),\n      ns.is(\"required\", isRequired.value || props.required),\n      ns.is(\"no-asterisk\", formContext == null ? void 0 : formContext.hideRequiredAsterisk),\n      (formContext == null ? void 0 : formContext.requireAsteriskPosition) === \"right\" ? \"asterisk-right\" : \"asterisk-left\",\n      { [ns.m(\"feedback\")]: formContext == null ? void 0 : formContext.statusIcon }\n    ]);\n    const _inlineMessage = computed(() => isBoolean(props.inlineMessage) ? props.inlineMessage : (formContext == null ? void 0 : formContext.inlineMessage) || false);\n    const validateClasses = computed(() => [\n      ns.e(\"error\"),\n      { [ns.em(\"error\", \"inline\")]: _inlineMessage.value }\n    ]);\n    const propString = computed(() => {\n      if (!props.prop)\n        return \"\";\n      return isString(props.prop) ? props.prop : props.prop.join(\".\");\n    });\n    const hasLabel = computed(() => {\n      return !!(props.label || slots.label);\n    });\n    const labelFor = computed(() => {\n      return props.for || inputIds.value.length === 1 ? inputIds.value[0] : void 0;\n    });\n    const isGroup = computed(() => {\n      return !labelFor.value && hasLabel.value;\n    });\n    const isNested = !!parentFormItemContext;\n    const fieldValue = computed(() => {\n      const model = formContext == null ? void 0 : formContext.model;\n      if (!model || !props.prop) {\n        return;\n      }\n      return getProp(model, props.prop).value;\n    });\n    const normalizedRules = computed(() => {\n      const { required } = props;\n      const rules = [];\n      if (props.rules) {\n        rules.push(...castArray(props.rules));\n      }\n      const formRules = formContext == null ? void 0 : formContext.rules;\n      if (formRules && props.prop) {\n        const _rules = getProp(formRules, props.prop).value;\n        if (_rules) {\n          rules.push(...castArray(_rules));\n        }\n      }\n      if (required !== void 0) {\n        const requiredRules = rules.map((rule, i) => [rule, i]).filter(([rule]) => Object.keys(rule).includes(\"required\"));\n        if (requiredRules.length > 0) {\n          for (const [rule, i] of requiredRules) {\n            if (rule.required === required)\n              continue;\n            rules[i] = { ...rule, required };\n          }\n        } else {\n          rules.push({ required });\n        }\n      }\n      return rules;\n    });\n    const validateEnabled = computed(() => normalizedRules.value.length > 0);\n    const getFilteredRule = (trigger) => {\n      const rules = normalizedRules.value;\n      return rules.filter((rule) => {\n        if (!rule.trigger || !trigger)\n          return true;\n        if (Array.isArray(rule.trigger)) {\n          return rule.trigger.includes(trigger);\n        } else {\n          return rule.trigger === trigger;\n        }\n      }).map(({ trigger: trigger2, ...rule }) => rule);\n    };\n    const isRequired = computed(() => normalizedRules.value.some((rule) => rule.required));\n    const shouldShowError = computed(() => {\n      var _a;\n      return validateStateDebounced.value === \"error\" && props.showMessage && ((_a = formContext == null ? void 0 : formContext.showMessage) != null ? _a : true);\n    });\n    const currentLabel = computed(() => `${props.label || \"\"}${(formContext == null ? void 0 : formContext.labelSuffix) || \"\"}`);\n    const setValidationState = (state) => {\n      validateState.value = state;\n    };\n    const onValidationFailed = (error) => {\n      var _a, _b;\n      const { errors, fields } = error;\n      if (!errors || !fields) {\n        console.error(error);\n      }\n      setValidationState(\"error\");\n      validateMessage.value = errors ? (_b = (_a = errors == null ? void 0 : errors[0]) == null ? void 0 : _a.message) != null ? _b : `${props.prop} is required` : \"\";\n      formContext == null ? void 0 : formContext.emit(\"validate\", props.prop, false, validateMessage.value);\n    };\n    const onValidationSucceeded = () => {\n      setValidationState(\"success\");\n      formContext == null ? void 0 : formContext.emit(\"validate\", props.prop, true, \"\");\n    };\n    const doValidate = async (rules) => {\n      const modelName = propString.value;\n      const validator = new AsyncValidator({\n        [modelName]: rules\n      });\n      return validator.validate({ [modelName]: fieldValue.value }, { firstFields: true }).then(() => {\n        onValidationSucceeded();\n        return true;\n      }).catch((err) => {\n        onValidationFailed(err);\n        return Promise.reject(err);\n      });\n    };\n    const validate = async (trigger, callback) => {\n      if (isResettingField || !props.prop) {\n        return false;\n      }\n      const hasCallback = isFunction(callback);\n      if (!validateEnabled.value) {\n        callback == null ? void 0 : callback(false);\n        return false;\n      }\n      const rules = getFilteredRule(trigger);\n      if (rules.length === 0) {\n        callback == null ? void 0 : callback(true);\n        return true;\n      }\n      setValidationState(\"validating\");\n      return doValidate(rules).then(() => {\n        callback == null ? void 0 : callback(true);\n        return true;\n      }).catch((err) => {\n        const { fields } = err;\n        callback == null ? void 0 : callback(false, fields);\n        return hasCallback ? false : Promise.reject(fields);\n      });\n    };\n    const clearValidate = () => {\n      setValidationState(\"\");\n      validateMessage.value = \"\";\n      isResettingField = false;\n    };\n    const resetField = async () => {\n      const model = formContext == null ? void 0 : formContext.model;\n      if (!model || !props.prop)\n        return;\n      const computedValue = getProp(model, props.prop);\n      isResettingField = true;\n      computedValue.value = clone(initialValue);\n      await nextTick();\n      clearValidate();\n      isResettingField = false;\n    };\n    const addInputId = (id) => {\n      if (!inputIds.value.includes(id)) {\n        inputIds.value.push(id);\n      }\n    };\n    const removeInputId = (id) => {\n      inputIds.value = inputIds.value.filter((listId) => listId !== id);\n    };\n    watch(() => props.error, (val) => {\n      validateMessage.value = val || \"\";\n      setValidationState(val ? \"error\" : \"\");\n    }, { immediate: true });\n    watch(() => props.validateStatus, (val) => setValidationState(val || \"\"));\n    const context = reactive({\n      ...toRefs(props),\n      $el: formItemRef,\n      size: _size,\n      validateState,\n      labelId,\n      inputIds,\n      isGroup,\n      hasLabel,\n      addInputId,\n      removeInputId,\n      resetField,\n      clearValidate,\n      validate\n    });\n    provide(formItemContextKey, context);\n    onMounted(() => {\n      if (props.prop) {\n        formContext == null ? void 0 : formContext.addField(context);\n        initialValue = clone(fieldValue.value);\n      }\n    });\n    onBeforeUnmount(() => {\n      formContext == null ? void 0 : formContext.removeField(context);\n    });\n    expose({\n      size: _size,\n      validateMessage,\n      validateState,\n      validate,\n      clearValidate,\n      resetField\n    });\n    return (_ctx, _cache) => {\n      var _a;\n      return openBlock(), createElementBlock(\"div\", {\n        ref_key: \"formItemRef\",\n        ref: formItemRef,\n        class: normalizeClass(unref(formItemClasses)),\n        role: unref(isGroup) ? \"group\" : void 0,\n        \"aria-labelledby\": unref(isGroup) ? unref(labelId) : void 0\n      }, [\n        createVNode(unref(FormLabelWrap), {\n          \"is-auto-width\": unref(labelStyle).width === \"auto\",\n          \"update-all\": ((_a = unref(formContext)) == null ? void 0 : _a.labelWidth) === \"auto\"\n        }, {\n          default: withCtx(() => [\n            unref(hasLabel) ? (openBlock(), createBlock(resolveDynamicComponent(unref(labelFor) ? \"label\" : \"div\"), {\n              key: 0,\n              id: unref(labelId),\n              for: unref(labelFor),\n              class: normalizeClass(unref(ns).e(\"label\")),\n              style: normalizeStyle(unref(labelStyle))\n            }, {\n              default: withCtx(() => [\n                renderSlot(_ctx.$slots, \"label\", { label: unref(currentLabel) }, () => [\n                  createTextVNode(toDisplayString(unref(currentLabel)), 1)\n                ])\n              ]),\n              _: 3\n            }, 8, [\"id\", \"for\", \"class\", \"style\"])) : createCommentVNode(\"v-if\", true)\n          ]),\n          _: 3\n        }, 8, [\"is-auto-width\", \"update-all\"]),\n        createElementVNode(\"div\", {\n          class: normalizeClass(unref(ns).e(\"content\")),\n          style: normalizeStyle(unref(contentStyle))\n        }, [\n          renderSlot(_ctx.$slots, \"default\"),\n          createVNode(TransitionGroup, {\n            name: `${unref(ns).namespace.value}-zoom-in-top`\n          }, {\n            default: withCtx(() => [\n              unref(shouldShowError) ? renderSlot(_ctx.$slots, \"error\", {\n                key: 0,\n                error: validateMessage.value\n              }, () => [\n                createElementVNode(\"div\", {\n                  class: normalizeClass(unref(validateClasses))\n                }, toDisplayString(validateMessage.value), 3)\n              ]) : createCommentVNode(\"v-if\", true)\n            ]),\n            _: 3\n          }, 8, [\"name\"])\n        ], 6)\n      ], 10, _hoisted_1);\n    };\n  }\n});\nvar FormItem = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/form/src/form-item.vue\"]]);\n\nexport { FormItem as default };\n//# sourceMappingURL=form-item2.mjs.map\n","import '../../utils/index.mjs';\nimport Form from './src/form2.mjs';\nimport FormItem from './src/form-item2.mjs';\nexport { formEmits, formProps } from './src/form.mjs';\nexport { formItemProps, formItemValidateStates } from './src/form-item.mjs';\nimport './src/types.mjs';\nexport { formContextKey, formItemContextKey } from './src/constants.mjs';\nimport './src/hooks/index.mjs';\nimport { withInstall, withNoopInstall } from '../../utils/vue/install.mjs';\nexport { useDisabled, useFormDisabled, useFormSize, useSize } from './src/hooks/use-form-common-props.mjs';\nexport { useFormItem, useFormItemInputId } from './src/hooks/use-form-item.mjs';\n\nconst ElForm = withInstall(Form, {\n  FormItem\n});\nconst ElFormItem = withNoopInstall(FormItem);\n\nexport { ElForm, ElFormItem, ElForm as default };\n//# sourceMappingURL=index.mjs.map\n","<template>\n\n    <div class=\"wpv-fpe-header\">\n        <div class=\"wpv-fpe-branding\">\n            <svg width=\"370px\" height=\"454px\" viewBox=\"0 0 370 454\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n    <g id=\"Page-1\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n        <g id=\"Artboard\" transform=\"translate(0.000000, -2.000000)\" fill-rule=\"nonzero\">\n            <g id=\"final-logo-fpe-(1)\">\n                <g id=\"g208441\" transform=\"translate(0.000000, 116.000000)\" fill=\"#000000\">\n                    <rect id=\"rect185558\" x=\"0.01219\" y=\"0.92981\" width=\"26.494368\" height=\"338.7352\"></rect>\n                    <rect id=\"rect185981\" transform=\"translate(169.379870, 326.417654) rotate(90.000000) translate(-169.379870, -326.417654) \" x=\"156.132686\" y=\"157.050054\" width=\"26.494368\" height=\"338.7352\"></rect>\n                    <path d=\"M338.8805,123.48244 L338.851,326.44729 C338.85,333.78612 332.94274,339.69443 325.60372,339.69443 C318.26488,339.69443 312.35657,335.19131 312.35657,327.85231 L312.7224,172.85548 L338.8805,123.48244 Z\" id=\"rect185983\"></path>\n                    <path d=\"M116.74523,27.42403 L13.259346,27.42403 C5.920487,27.42403 0.012201,21.51586 0.012201,14.17689 C0.012201,6.83788 5.920487,0.92975 13.259346,0.92975 L130.25468,0.92975 L116.74523,27.42403 Z\" id=\"rect186183\"></path>\n                </g>\n                <g id=\"pencil-man\" transform=\"translate(28.696569, 0.191824)\">\n                    <g id=\"face\" transform=\"translate(213.957938, 137.756172) rotate(-1.000000) translate(-213.957938, -137.756172) translate(86.561065, 2.421799)\">\n                        <path d=\"M121.201657,12.2479431 C128.663354,33.0091146 135.846263,45.0530907 148.894642,58.6810636 C155.553223,65.6353957 161.532899,71.1651502 162.182575,70.9693745 C162.832386,70.7734743 163.926539,66.9037394 164.614366,62.369895 C166.006257,53.1909728 173.657028,37.4420205 177.879883,35.0624638 C179.928097,33.9080286 180.742519,35.4780475 181.11551,41.2994205 C181.892832,53.4403955 192.270613,82.9263979 196.580054,85.2395917 C197.266634,85.6081272 198.799246,83.0917889 199.985966,79.6476733 C202.18441,73.2670637 213.174461,62.6446172 216.005177,64.1641589 C216.837054,64.6107597 217.350186,68.4827806 217.145738,72.7691073 C216.753178,80.9972255 220.24032,99.7152685 223.520143,107.198852 L240.589805,116.272975 C253.493055,123.13098 258.391591,139.151289 251.531889,152.05364 C251.531625,152.054169 251.53136,152.054698 251.529244,152.054434 L188.507124,270.571539 L0.13541687,170.421277 L63.157586,51.9041797 C70.0195653,39.0038876 86.0390514,34.1062385 98.94164,40.9638945 L112.263437,48.046687 C113.261837,47.2122759 113.225145,43.9089583 112.759848,35.9963372 C112.22153,26.8423307 114.328346,3.04397274 115.943609,0.0357757937 C116.229851,-0.497648779 118.596226,4.99790978 121.201657,12.2479431 Z\" id=\"Combined-Shape\" fill=\"#000000\"></path>\n                        <path d=\"M204.232097,196.263332 C213.961977,178.064893 228.763213,150.650684 228.763213,150.650684 C232.109835,144.228485 231.32107,134.25645 222.016743,129.270388 L161.043676,96.5420597 L100.07072,63.8138003 C93.7139523,60.3381596 84.1426689,59.1289291 77.8859214,70.852799 L52.5679822,118.084657 L29.0767581,161.841149 L104.276677,202.205878 L179.632714,242.279379 L204.232097,196.263332 Z\" id=\"path26891-9\" fill=\"#FFFFFF\"></path>\n                        <path d=\"M71.4678918,118.317935 C69.6741121,112.366643 70.2456226,110.306685 77.3692404,97.03732 C83.9285469,84.8193117 86.2820103,81.8979439 91.3481858,79.6867046 C97.3601699,77.0622999 97.7312507,77.183958 119.718472,88.9860149 C140.747693,100.27382 142.088741,101.285758 143.625402,107.02642 C144.520725,110.371264 144.541976,114.433087 143.672225,116.052424 C142.541115,118.159301 143.581901,119.796683 147.332381,121.80985 C151.24165,123.908199 153.007944,123.812738 154.285046,121.433636 C155.226918,119.679679 158.734269,117.512146 162.079615,116.616828 C167.660477,115.123067 169.977285,115.96349 190.195991,126.816171 C211.91886,138.476221 212.246218,138.73569 213.379796,145.189406 C214.336021,150.633238 213.201364,154.208798 206.642139,166.426942 C199.518355,179.696132 198.116907,181.310521 192.165103,183.104274 C185.906111,184.990328 184.530458,184.529363 164.768195,173.921685 C146.363492,164.042678 143.654188,162.049942 141.301751,156.662076 C139.07178,151.554149 139.38847,149.181704 143.263272,141.963829 C147.772452,133.564803 147.757047,133.288446 142.643438,130.543669 C137.529465,127.798635 137.290687,127.938714 132.781729,136.337692 C128.906705,143.555567 127.104168,145.130288 121.614214,146.094411 C115.82361,147.111295 112.665506,145.954917 94.2606662,136.07545 C74.4984054,125.46786 73.3537703,124.576209 71.4672832,118.317763 L71.4678918,118.317935 Z\" id=\"path26893-2\" fill=\"#000000\"></path>\n                        <path d=\"M120.270091,196.983639 C113.430609,194.797805 107.585173,192.422717 107.165496,192.052387 C94.7931137,183.564517 80.4555282,172.138383 73.8816458,157.549843 C72.4477523,150.479425 79.4521727,154.389099 88.9846655,165.979878 C101.896144,181.679226 121.761947,192.388122 142.00163,194.559322 C157.86956,196.261667 160.628571,197.259615 158.813953,200.639773 C156.971352,204.071715 136.458313,202.157423 120.270091,196.983639\" id=\"path26895-9\" fill=\"#000000\"></path>\n                        <path d=\"M186.9743,175.47444 C189.642155,175.813117 191.856918,173.010455 198.07723,161.423517 C204.297709,149.836707 205.410173,146.442301 203.653631,144.4061 C199.517331,139.61113 167.659424,123.590506 164.283682,124.60803 C162.416255,125.170688 158.409291,130.519825 154.75202,137.332141 C146.03824,153.562794 146.776023,155.263348 167.313473,166.28699 C176.293987,171.107511 185.141233,175.241802 186.9743,175.47444 L186.9743,175.47444 Z\" id=\"path26897-1\" fill=\"#FFFFFF\"></path>\n                        <path d=\"M118.629529,137.825783 C122.317003,137.825783 124.016081,135.899671 129.791834,125.141213 C133.840414,117.600186 136.210639,111.143906 135.633696,109.229656 C134.616209,105.854186 103.658282,88.1571468 97.3759073,87.359682 C94.7366727,87.0247169 92.5426366,89.7326267 86.8291978,100.374912 C82.4684994,108.497662 79.9986933,115.08715 80.5857217,117.034457 C81.8015351,121.067831 112.450611,137.81789 118.629529,137.825783 Z\" id=\"path26899-2\" fill=\"#FFFFFF\"></path>\n                        <path d=\"M164.360458,146.833189 C164.300612,145.855458 166.093588,144.173462 168.344176,143.095282 C175.917921,139.467086 190.253041,150.846725 186.624278,157.606278 C185.668468,159.386337 184.534808,158.85264 181.235038,155.069863 C178.126033,151.505095 175.445074,150.065122 170.762473,149.44552 C167.300646,148.98673 164.419834,147.811427 164.36021,146.833826 L164.360458,146.833189 Z\" id=\"path26901-5\" fill=\"#000000\"></path>\n                        <path d=\"M95.8767068,108.67233 C100.026971,100.942006 118.198269,108.369485 118.186202,117.791236 C118.172332,123.859913 116.862041,123.87288 111.613943,117.856065 C108.264244,114.015833 105.635514,112.566602 100.875887,111.935912 C95.7544904,111.257319 94.8176326,110.645698 95.876847,108.672584 L95.8767068,108.67233 Z\" id=\"path26903-7\" fill=\"#000000\"></path>\n                    </g>\n                    <g id=\"new-pencil\" transform=\"translate(136.396077, 313.903147) rotate(27.000000) translate(-136.396077, -313.903147) translate(29.636703, 223.547939)\">\n                        <polygon id=\"path204308\" fill=\"#000000\" points=\"71.114718 120.337459 106.672077 120.337459 142.229436 120.337459 106.672077 180.50619\"></polygon>\n                        <polygon id=\"path204310\" fill=\"#0000DE\" points=\"60.173991 103.927806 0 0 106.672077 0 213.344154 0 153.170163 103.927806 106.672077 103.927806\"></polygon>\n                    </g>\n                </g>\n            </g>\n        </g>\n    </g>\n</svg>\n            Frontend Product Editor\n        </div>\n    </div>\n\n</template>","import { defineStore } from 'pinia'\nimport  axios  from \"axios\";\n\nexport const useSettingsStore = defineStore('fpe-settings', {\n\n    state: () => ({\n        settings: fpe.settings,\n        isUpdating: false,\n        nonce: fpe.security,\n        ajax_url: fpe.ajax_url,\n    }),\n    actions: {\n        updateSettings(data){\n            this.isUpdating = true;\n            \n            const { ajax_url, security } = fpe;\n            axios.post(`${ajax_url}?action=fpe_settings&fpe_nonce=${security}`, {\n                settings: this.settings,\n                action: 'fpe_settings_update'\n            })\n            .then( function (response) {\n                if(response.data.success){\n                    window.location.reload();\n                }\n            })\n            .catch(function (error){\n                this.isUpdating = false;\n            })\n        }\n    }\n});\n\n","<script setup>\nimport { reactive, toRaw } from 'vue';\nimport { ElForm, ElSwitch, ElFormItem, ElSelect, ElOption, ElButton } from 'element-plus';\nimport { useSettingsStore } from '../stores/fpe-settings'\nimport { storeToRefs } from 'pinia'\n\nconst store = useSettingsStore();\nconst { isUpdating, settings } = storeToRefs(store);\n\nconst form = reactive( settings.value );\nconst tabs = fpe.tabs;\nconst trigger_options = fpe.trigger_options;\nconst all_roles = fpe.all_roles;\nconst product_types = fpe.product_types\n\n</script>\n\n<template>\n    <ElForm :model=\"form\" class=\"wpv-fpe-form\" label-width=\"250px\" label-position=\"left\">\n        <ElFormItem label=\"Tabs Collapsed by default\">\n            <ElSwitch v-model=\"form.tabs_collapsed\" />\n        </ElFormItem>\n\n        <ElFormItem label=\"Default Tab\">\n            <ElSelect v-model=\"form.default_tab\">\n                <el-option\n                    v-for=\"( item, index ) in tabs\"\n                    :key=\"index\"\n                    :label=\"item\"\n                    :value=\"index\"\n                />\n            </ElSelect>\n        </ElFormItem>\n\n        <ElFormItem label=\"Trigger Options\">\n            <ElSelect v-model=\"form.trigger_option\">\n                <el-option\n                    v-for=\"( item, index ) in trigger_options\"\n                    :key=\"index\"\n                    :label=\"item\"\n                    :value=\"index\"\n                />\n            </ElSelect>\n        </ElFormItem>\n        \n        <ElFormItem label=\"Allowed User Roles\">\n            <ElSelect v-model=\"form.allowed_user_roles\" multiple>\n                <el-option\n                    v-for=\"( item, index ) in all_roles\"\n                    :key=\"index\"\n                    :label=\"item\"\n                    :value=\"index\"\n                />\n            </ElSelect>    \n        </ElFormItem>\n\n        <ElFormItem label=\"Edit from Archives\">\n            <ElSwitch v-model=\"form.edit_from_archives\" />\n        </ElFormItem>\n\n        <ElFormItem label=\"Product Types\">\n            <ElSelect v-model=\"form.allowed_product_types\" multiple>\n                <el-option\n                    v-for=\"( item, index ) in product_types\"\n                    :key=\"index\"\n                    :label=\"item.label\"\n                    :value=\"index\"\n                    :disabled=\"item.disabled\"\n                />\n            </ElSelect>\n        </ElFormItem>\n\n        <ElFormItem>\n            <el-button :loading=\"isUpdating\" type=\"primary\" @click=\"store.updateSettings(toRaw(form))\">Save Settings</el-button>\n        </ElFormItem>\n    </ElForm>\n</template>","import { createApp } from \"vue\";\nimport { createPinia } from \"pinia\";\nimport Settings from \"./admin/settings.vue\";\n\nimport \"./assets/admin.scss\";\nimport \"./assets/base.scss\";\n\nconst app = createApp(Settings);\n\n\napp.use(createPinia());\napp.mount(\"#fpe-admin-settings\");\n"],"names":["objectCreate","baseCreate","object","proto","isObject","result","baseCreate$1","copyArray","source","array","index","length","arrayEach","iteratee","copyObject","props","customizer","isNew","key","newValue","baseAssignValue","assignValue","nativeKeysIn","objectProto","hasOwnProperty","baseKeysIn","isProto","isPrototype","keysIn","isArrayLike","arrayLikeKeys","getPrototype","overArg","getPrototype$1","baseAssign","keys","baseAssignIn","freeExports","exports","freeModule","module","moduleExports","Buffer","root","allocUnsafe","cloneBuffer","buffer","isDeep","copySymbols","getSymbols","nativeGetSymbols","getSymbolsIn","arrayPush","stubArray","getSymbolsIn$1","copySymbolsIn","getAllKeysIn","baseGetAllKeys","initCloneArray","cloneArrayBuffer","arrayBuffer","Uint8Array","cloneDataView","dataView","reFlags","cloneRegExp","regexp","symbolProto","Symbol","symbolValueOf","cloneSymbol","symbol","cloneTypedArray","typedArray","boolTag","dateTag","mapTag","numberTag","regexpTag","setTag","stringTag","symbolTag","arrayBufferTag","dataViewTag","float32Tag","float64Tag","int8Tag","int16Tag","int32Tag","uint8Tag","uint8ClampedTag","uint16Tag","uint32Tag","initCloneByTag","tag","Ctor","initCloneObject","baseIsMap","value","isObjectLike","getTag","nodeIsMap","nodeUtil","isMap","baseUnary","isMap$1","baseIsSet","nodeIsSet","isSet","isSet$1","CLONE_DEEP_FLAG","CLONE_FLAT_FLAG","CLONE_SYMBOLS_FLAG","argsTag","arrayTag","errorTag","funcTag","genTag","objectTag","weakMapTag","cloneableTags","baseClone","bitmask","stack","isFlat","isFull","isArr","isArray","isFunc","isBuffer","Stack","stacked","subValue","keysFunc","getAllKeys","clone","formMetaProps","buildProps","componentSizes","formProps","definePropType","formEmits","prop","isValid","message","isString","isBoolean","useFormLabelWidth","potentialLabelWidthArr","ref","autoLabelWidth","computed","max","getLabelWidthIndex","width","registerLabelWidth","val","oldVal","deregisterLabelWidth","filterFields","fields","normalized","castArray","field","COMPONENT_NAME","__default__","defineComponent","_sfc_main","__props","expose","emit","formSize","useFormSize","ns","useNamespace","formClasses","labelPosition","inline","addField","removeField","resetFields","properties","clearValidate","props2","isValidatable","obtainValidateFields","filteredFields","validate","callback","validateField","doValidateField","fields2","validationErrors","fields3","modelProps","shouldThrow","isFunction","e","invalidFields","scrollToField","_a","watch","err","debugWarn","provide","formContextKey","reactive","toRefs","_ctx","_cache","openBlock","createElementBlock","normalizeClass","unref","renderSlot","Form","_export_sfc","_extends","target","i","_inheritsLoose","subClass","superClass","_setPrototypeOf","_getPrototypeOf","o","p","_isNativeReflectConstruct","_construct","Parent","args","Class","a","Constructor","instance","_isNativeFunction","fn","_wrapNativeSuper","Wrapper","formatRegExp","warning","convertFieldsError","errors","error","format","template","_len","_key","len","str","x","isNativeStringType","type","isEmptyValue","asyncParallelArray","arr","func","results","total","arrLength","count","asyncSerialArray","next","original","flattenObjArr","objArr","ret","k","AsyncValidationError","_Error","_this","asyncMap","option","_pending","resolve","reject","flattenArr","firstFields","objArrKeys","objArrLength","pending","isErrorObj","obj","getValue","path","v","complementError","rule","oe","fieldValue","deepMerge","s","required$1","options","whitespace","urlReg","getUrlRegex","word","b","v4","v6seg","v6","v46Exact","v4exact","v6exact","ip","protocol","auth","ipv4","ipv6","host","domain","tld","port","regex","pattern$2","types","type$1","custom","ruleType","range","min","spRegexp","num","ENUM$1","enumerable$1","pattern$1","_pattern","rules","string","method","number","_boolean","integer","floatFn","ENUM","enumerable","pattern","date","dateObject","required","any","validators","newMessages","cloned","messages","Schema","descriptor","_proto","name","item","_messages","source_","oc","_this2","complete","add","_errors","messages$1","series","z","r","errorFields","data","doIt","deep","addFullField","schema","cb","errorList","filledErrors","fieldsSchema","paredFieldsSchema","fieldSchema","fieldSchemaList","errs","finalErrors","res","messageIndex","validator","formItemValidateStates","formItemProps","FormLabelWrap","slots","formContext","inject","formItemContext","formItemContextKey","throwError","el","computedWidth","getLabelWidth","updateLabelWidth","action","nextTick","updateLabelWidthFn","onMounted","onBeforeUnmount","onUpdated","useResizeObserver","_b","isAutoWidth","hasLabel","style","marginWidth","marginPosition","createVNode","Fragment","_hoisted_1","useSlots","parentFormItemContext","_size","labelId","useId","inputIds","validateState","validateStateDebounced","refDebounced","validateMessage","formItemRef","initialValue","isResettingField","labelStyle","labelWidth","addUnit","contentStyle","isNested","formItemClasses","isRequired","_inlineMessage","validateClasses","propString","labelFor","isGroup","model","getProp","normalizedRules","formRules","_rules","requiredRules","validateEnabled","getFilteredRule","trigger","trigger2","shouldShowError","currentLabel","setValidationState","state","onValidationFailed","onValidationSucceeded","doValidate","modelName","AsyncValidator","hasCallback","resetField","computedValue","addInputId","id","removeInputId","listId","context","withCtx","createBlock","resolveDynamicComponent","normalizeStyle","createTextVNode","toDisplayString","createCommentVNode","createElementVNode","TransitionGroup","FormItem","ElForm","withInstall","ElFormItem","withNoopInstall","_createElementVNode","_sfc_render","useSettingsStore","defineStore","ajax_url","security","axios","response","store","isUpdating","settings","storeToRefs","app","createApp","Settings","createPinia"],"mappings":"m2BAGA,IAAIA,GAAe,OAAO,OAUtBC,GAAc,UAAW,CAC3B,SAASC,GAAS,CAAE,CACpB,OAAO,SAASC,EAAO,CACrB,GAAI,CAACC,GAASD,CAAK,EACjB,MAAO,GAET,GAAIH,GACF,OAAOA,GAAaG,CAAK,EAE3BD,EAAO,UAAYC,EACnB,IAAIE,EAAS,IAAIH,EACjB,OAAAA,EAAO,UAAY,OACZG,CACX,CACA,EAAC,EAED,MAAAC,GAAeL,GCrBf,SAASM,GAAUC,EAAQC,EAAO,CAChC,IAAIC,EAAQ,GACRC,EAASH,EAAO,OAGpB,IADAC,IAAUA,EAAQ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QAAS,CACL,eAAenH,EAAK,CAChB,KAAK,WAAa,GAElB,KAAM,CAAE,SAAAoH,EAAU,SAAAC,CAAU,EAAG,IAC/BC,GAAM,KAAK,GAAGF,mCAA0CC,IAAY,CAChE,SAAU,KAAK,SACf,OAAQ,qBACxB,CAAa,EACA,KAAM,SAAUE,EAAU,CACpBA,EAAS,KAAK,SACb,OAAO,SAAS,QAEpC,CAAa,EACA,MAAM,SAAU/O,EAAM,CACnB,KAAK,WAAa,EAClC,CAAa,CACJ,CACJ,CACL,CAAC,ECrBD5E,GAAA,CACA,OAAA,OACA,MAAAC,EAAA,CAEA,MAAA2T,EAAAN,GAAA,EACA,CAAA,WAAAO,EAAA,SAAAC,CAAA,EAAAC,GAAAH,CAAA,0mECPMI,GAAMC,GAAUC,EAAQ,EAG9BF,GAAI,IAAIG,GAAW,CAAE,EACrBH,GAAI,MAAM,qBAAqB","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36]}
     1{"version":3,"file":"admin.js","sources":["../../node_modules/]}
  • frontend-product-editor/trunk/build/js/front.js

    r2978520 r3040157  
    1 import{B as xb,C as Sb,E as Db,F as Le,K as $b,R as Nb,S as Eb,a as Mb,T as Ab,b as Tb,c as Gl,d as Ib,V as Pb,e as Ob,f as Vb,g as Rb,h as Lb,i as Bb,j as zb,k as Fb,l as ue,m as Gu,n as be,o as ke,p as j,q as z,r as Ub,s as Kb,t as Wb,u as Hb,v as Yb,w as Gb,x as st,y as W,z as qb,A as Zb,D as Ye,G as Xb,H as Jb,I as Qb,J as jb,L as e_,M as t_,N as n_,O as r_,P as _r,Q as a_,U as i_,W as l_,X as Il,Y as s_,Z as o_,_ as u_,$ as d_,a0 as kt,a1 as c_,a2 as f_,a3 as h_,a4 as p_,a5 as na,a6 as v_,a7 as m_,a8 as g_,a9 as b_,aa as __,ab as ci,ac as At,ad as Y,ae as y_,af as ra,ag as w_,ah as k_,ai as C_,aj as x_,ak as S_,al as D_,am as ar,an as $_,ao as N_,ap as E_,aq as M_,ar as A_,as as ql,at as T,au as T_,av as $n,aw as I_,ax as P_,ay as O_,az as fi,aA as V_,aB as ce,aC as R_,aD as L_,aE as et,aF as Ft,aG as tr,aH as B_,aI as nr,aJ as z_,aK as F_,aL as U_,aM as K_,aN as W_,aO as H_,aP as Y_,aQ as Pl,aR as G_,aS as q_,aT as Z_,aU as _e,aV as X_,aW as qu,aX as Ol,aY as br,aZ as Zu,a_ as J_,a$ as Q_,b0 as a,b1 as Zl,b2 as j_,b3 as ey,b4 as ty,b5 as sa,b6 as ny,b7 as aa,b8 as ry,b9 as ay,ba as iy,bb as Xu,bc as hn,bd as ly,be as sy,bf as nt,bg as oy,bh as uy,bi as dy,bj as cy,bk as fe,bl as fy,bm as dt,bn as pn,bo as hy,bp as pt,bq as py,br as Eu,bs as Mu,bt as Ju,bu as Qu,bv as vy,bw as ju,bx as my,by as gy,bz as by,bA as _y,bB as yy,bC as yt,bD as He,bE as oa,bF as wy,bG as hi,bH as ed,bI as Au,bJ as _t,bK as ky,bL as vn,bM as ot,bN as ua,bO as Vr,bP as td,bQ as Cy,bR as xy,bS as li,bT as Sy,bU as mt,bV as Ze,bW as nd,bX as St,bY as at,bZ as Rr,b_ as Dy,b$ as $y,c0 as rd,c1 as ad,c2 as rr,c3 as xn,c4 as si,c5 as en,c6 as Vl,c7 as id,c8 as ld,c9 as sd,ca as Xl,cb as Ny,cc as pi,cd as Tu,ce as ea,cf as od,cg as Ey,ch as Rl,ci as ia,cj as Ll,ck as la,cl as Yt,cm as ti,cn as ta,co as My,cp as ud,cq as Bl,cr as Nl,cs as Ay,ct as Ty,cu as Iy,cv as Py,cw as Oy,cx as Vy,cy as Ry,cz as Cn,cA as In,cB as Ly,cC as Sn,cD as Dn,cE as oi,cF as By,cG as zy,cH as Fy,cI as Uy,cJ as Ky,cK as Wy,cL as Hy,cM as Yy}from"../assets/base-e7524bac.js";const Gy=()=>{},qy=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:xb,Comment:Sb,EffectScope:Db,Fragment:Le,KeepAlive:$b,ReactiveEffect:Nb,Static:Eb,Suspense:Mb,Teleport:Ab,Text:Tb,Transition:Gl,TransitionGroup:Ib,VueElement:Pb,assertNumber:Ob,callWithAsyncErrorHandling:Vb,callWithErrorHandling:Rb,camelize:Lb,capitalize:Bb,cloneVNode:zb,compatUtils:Fb,compile:Gy,computed:ue,createApp:Gu,createBlock:be,createCommentVNode:ke,createElementBlock:j,createElementVNode:z,createHydrationRenderer:Ub,createPropsRestProxy:Kb,createRenderer:Wb,createSSRApp:Hb,createSlots:Yb,createStaticVNode:Gb,createTextVNode:st,createVNode:W,customRef:qb,defineAsyncComponent:Zb,defineComponent:Ye,defineCustomElement:Xb,defineEmits:Jb,defineExpose:Qb,defineProps:jb,defineSSRCustomElement:e_,get devtools(){return t_},effect:n_,effectScope:r_,getCurrentInstance:_r,getCurrentScope:a_,getTransitionRawChildren:i_,guardReactiveProps:l_,h:Il,handleError:s_,hydrate:o_,initCustomFormatter:u_,initDirectivesForSSR:d_,inject:kt,isMemoSame:c_,isProxy:f_,isReactive:h_,isReadonly:p_,isRef:na,isRuntimeOnly:v_,isShallow:m_,isVNode:g_,markRaw:b_,mergeDefaults:__,mergeProps:ci,nextTick:At,normalizeClass:Y,normalizeProps:y_,normalizeStyle:ra,onActivated:w_,onBeforeMount:k_,onBeforeUnmount:C_,onBeforeUpdate:x_,onDeactivated:S_,onErrorCaptured:D_,onMounted:ar,onRenderTracked:$_,onRenderTriggered:N_,onScopeDispose:E_,onServerPrefetch:M_,onUnmounted:A_,onUpdated:ql,openBlock:T,popScopeId:T_,provide:$n,proxyRefs:I_,pushScopeId:P_,queuePostFlushCb:O_,reactive:fi,readonly:V_,ref:ce,registerRuntimeCompiler:R_,render:L_,renderList:et,renderSlot:Ft,resolveComponent:tr,resolveDirective:B_,resolveDynamicComponent:nr,resolveFilter:z_,resolveTransitionHooks:F_,setBlockTracking:U_,setDevtoolsHook:K_,setTransitionHooks:W_,shallowReactive:H_,shallowReadonly:Y_,shallowRef:Pl,ssrContextKey:G_,ssrUtils:q_,stop:Z_,toDisplayString:_e,toHandlerKey:X_,toHandlers:qu,toRaw:Ol,toRef:br,toRefs:Zu,transformVNodeArgs:J_,triggerRef:Q_,unref:a,useAttrs:Zl,useCssModule:j_,useCssVars:ey,useSSRContext:ty,useSlots:sa,useTransitionState:ny,vModelCheckbox:aa,vModelDynamic:ry,vModelRadio:ay,vModelSelect:iy,vModelText:Xu,vShow:hn,version:ly,warn:sy,watch:nt,watchEffect:oy,watchPostEffect:uy,watchSyncEffect:dy,withAsyncContext:cy,withCtx:fe,withDefaults:fy,withDirectives:dt,withKeys:pn,withMemo:hy,withModifiers:pt,withScopeId:py},Symbol.toStringTag,{value:"Module"}));function Zy(o){return o}function Xy(o,s,r){switch(r.length){case 0:return o.call(s);case 1:return o.call(s,r[0]);case 2:return o.call(s,r[0],r[1]);case 3:return o.call(s,r[0],r[1],r[2])}return o.apply(s,r)}var Jy=800,Qy=16,jy=Date.now;function e0(o){var s=0,r=0;return function(){var i=jy(),u=Qy-(i-r);if(r=i,u>0){if(++s>=Jy)return arguments[0]}else s=0;return o.apply(void 0,arguments)}}function t0(o){return function(){return o}}var n0=Eu?function(o,s){return Eu(o,"toString",{configurable:!0,enumerable:!1,value:t0(s),writable:!0})}:Zy;const r0=n0;var a0=e0(r0);const i0=a0;var Iu=Math.max;function l0(o,s,r){return s=Iu(s===void 0?o.length-1:s,0),function(){for(var i=arguments,u=-1,c=Iu(i.length-s,0),g=Array(c);++u<c;)g[u]=i[s+u];u=-1;for(var h=Array(s+1);++u<s;)h[u]=i[u];return h[s]=r(g),Xy(o,this,h)}}var Pu=Mu?Mu.isConcatSpreadable:void 0;function s0(o){return Ju(o)||Qu(o)||!!(Pu&&o&&o[Pu])}function dd(o,s,r,i,u){var c=-1,g=o.length;for(r||(r=s0),u||(u=[]);++c<g;){var h=o[c];s>0&&r(h)?s>1?dd(h,s-1,r,i,u):vy(u,h):i||(u[u.length]=h)}return u}function cd(o){var s=o==null?0:o.length;return s?dd(o,1):[]}function o0(o){return i0(l0(o,void 0,cd),o+"")}function u0(o,s){return o!=null&&s in Object(o)}function d0(o,s,r){s=ju(s,o);for(var i=-1,u=s.length,c=!1;++i<u;){var g=my(s[i]);if(!(c=o!=null&&r(o,g)))break;o=o[g]}return c||++i!=u?c:(u=o==null?0:o.length,!!u&&gy(u)&&by(g,u)&&(Ju(o)||Qu(o)))}function c0(o,s){return o!=null&&d0(o,s,u0)}function f0(o,s,r){for(var i=-1,u=s.length,c={};++i<u;){var g=s[i],h=_y(o,g);r(h,g)&&yy(c,ju(g,o),h)}return c}function h0(o,s){return f0(o,s,function(r,i){return c0(o,i)})}var p0=o0(function(o,s){return o==null?{}:h0(o,s)});const v0=p0,m0=["year","month","date","dates","week","datetime","datetimerange","daterange","monthrange"],mr=o=>!o&&o!==0?[]:Array.isArray(o)?o:[o],fd=()=>Math.floor(Math.random()*1e4),g0=yt({a11y:{type:Boolean,default:!0},locale:{type:He(Object)},size:oa,button:{type:He(Object)},experimentalFeatures:{type:He(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:He(Object)},zIndex:Number,namespace:{type:String,default:"el"}}),b0={},_0=Ye({name:"ElConfigProvider",props:g0,setup(o,{slots:s}){nt(()=>o.message,i=>{Object.assign(b0,i??{})},{immediate:!0,deep:!0});const r=wy(o);return()=>Ft(s,"default",{config:r?.value})}}),y0=hi(_0);var zt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Pn(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}function w0(o){if(o.__esModule)return o;var s=o.default;if(typeof s=="function"){var r=function i(){if(this instanceof i){var u=[null];u.push.apply(u,arguments);var c=Function.bind.apply(s,u);return new c}return s.apply(this,arguments)};r.prototype=s.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(o).forEach(function(i){var u=Object.getOwnPropertyDescriptor(o,i);Object.defineProperty(r,i,u.get?u:{enumerable:!0,get:function(){return o[i]}})}),r}var hd={exports:{}};(function(o,s){(function(r,i){o.exports=i()})(zt,function(){var r=1e3,i=6e4,u=36e5,c="millisecond",g="second",h="minute",m="hour",p="day",y="week",_="month",C="quarter",b="year",D="date",x="Invalid Date",M=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,F=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,L={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(N){var A=["th","st","nd","rd"],B=N%100;return"["+N+(A[(B-20)%10]||A[B]||A[0])+"]"}},k=function(N,A,B){var X=String(N);return!X||X.length>=A?N:""+Array(A+1-X.length).join(B)+N},G={s:k,z:function(N){var A=-N.utcOffset(),B=Math.abs(A),X=Math.floor(B/60),S=B%60;return(A<=0?"+":"-")+k(X,2,"0")+":"+k(S,2,"0")},m:function N(A,B){if(A.date()<B.date())return-N(B,A);var X=12*(B.year()-A.year())+(B.month()-A.month()),S=A.clone().add(X,_),R=B-S<0,E=A.clone().add(X+(R?-1:1),_);return+(-(X+(B-S)/(R?S-E:E-S))||0)},a:function(N){return N<0?Math.ceil(N)||0:Math.floor(N)},p:function(N){return{M:_,y:b,w:y,d:p,D,h:m,m:h,s:g,ms:c,Q:C}[N]||String(N||"").toLowerCase().replace(/s$/,"")},u:function(N){return N===void 0}},ne="en",re={};re[ne]=L;var oe=function(N){return N instanceof ge},de=function N(A,B,X){var S;if(!A)return ne;if(typeof A=="string"){var R=A.toLowerCase();re[R]&&(S=R),B&&(re[R]=B,S=R);var E=A.split("-");if(!S&&E.length>1)return N(E[0])}else{var U=A.name;re[U]=A,S=U}return!X&&S&&(ne=S),S||!X&&ne},Z=function(N,A){if(oe(N))return N.clone();var B=typeof A=="object"?A:{};return B.date=N,B.args=arguments,new ge(B)},ae=G;ae.l=de,ae.i=oe,ae.w=function(N,A){return Z(N,{locale:A.$L,utc:A.$u,x:A.$x,$offset:A.$offset})};var ge=function(){function N(B){this.$L=de(B.locale,null,!0),this.parse(B)}var A=N.prototype;return A.parse=function(B){this.$d=function(X){var S=X.date,R=X.utc;if(S===null)return new Date(NaN);if(ae.u(S))return new Date;if(S instanceof Date)return new Date(S);if(typeof S=="string"&&!/Z$/i.test(S)){var E=S.match(M);if(E){var U=E[2]-1||0,J=(E[7]||"0").substring(0,3);return R?new Date(Date.UTC(E[1],U,E[3]||1,E[4]||0,E[5]||0,E[6]||0,J)):new Date(E[1],U,E[3]||1,E[4]||0,E[5]||0,E[6]||0,J)}}return new Date(S)}(B),this.$x=B.x||{},this.init()},A.init=function(){var B=this.$d;this.$y=B.getFullYear(),this.$M=B.getMonth(),this.$D=B.getDate(),this.$W=B.getDay(),this.$H=B.getHours(),this.$m=B.getMinutes(),this.$s=B.getSeconds(),this.$ms=B.getMilliseconds()},A.$utils=function(){return ae},A.isValid=function(){return this.$d.toString()!==x},A.isSame=function(B,X){var S=Z(B);return this.startOf(X)<=S&&S<=this.endOf(X)},A.isAfter=function(B,X){return Z(B)<this.startOf(X)},A.isBefore=function(B,X){return this.endOf(X)<Z(B)},A.$g=function(B,X,S){return ae.u(B)?this[X]:this.set(S,B)},A.unix=function(){return Math.floor(this.valueOf()/1e3)},A.valueOf=function(){return this.$d.getTime()},A.startOf=function(B,X){var S=this,R=!!ae.u(X)||X,E=ae.p(B),U=function(Ae,Te){var Pe=ae.w(S.$u?Date.UTC(S.$y,Te,Ae):new Date(S.$y,Te,Ae),S);return R?Pe:Pe.endOf(p)},J=function(Ae,Te){return ae.w(S.toDate()[Ae].apply(S.toDate("s"),(R?[0,0,0,0]:[23,59,59,999]).slice(Te)),S)},V=this.$W,ie=this.$M,ye=this.$D,Ce="set"+(this.$u?"UTC":"");switch(E){case b:return R?U(1,0):U(31,11);case _:return R?U(1,ie):U(0,ie+1);case y:var Se=this.$locale().weekStart||0,We=(V<Se?V+7:V)-Se;return U(R?ye-We:ye+(6-We),ie);case p:case D:return J(Ce+"Hours",0);case m:return J(Ce+"Minutes",1);case h:return J(Ce+"Seconds",2);case g:return J(Ce+"Milliseconds",3);default:return this.clone()}},A.endOf=function(B){return this.startOf(B,!1)},A.$set=function(B,X){var S,R=ae.p(B),E="set"+(this.$u?"UTC":""),U=(S={},S[p]=E+"Date",S[D]=E+"Date",S[_]=E+"Month",S[b]=E+"FullYear",S[m]=E+"Hours",S[h]=E+"Minutes",S[g]=E+"Seconds",S[c]=E+"Milliseconds",S)[R],J=R===p?this.$D+(X-this.$W):X;if(R===_||R===b){var V=this.clone().set(D,1);V.$d[U](J),V.init(),this.$d=V.set(D,Math.min(this.$D,V.daysInMonth())).$d}else U&&this.$d[U](J);return this.init(),this},A.set=function(B,X){return this.clone().$set(B,X)},A.get=function(B){return this[ae.p(B)]()},A.add=function(B,X){var S,R=this;B=Number(B);var E=ae.p(X),U=function(ie){var ye=Z(R);return ae.w(ye.date(ye.date()+Math.round(ie*B)),R)};if(E===_)return this.set(_,this.$M+B);if(E===b)return this.set(b,this.$y+B);if(E===p)return U(1);if(E===y)return U(7);var J=(S={},S[h]=i,S[m]=u,S[g]=r,S)[E]||1,V=this.$d.getTime()+B*J;return ae.w(V,this)},A.subtract=function(B,X){return this.add(-1*B,X)},A.format=function(B){var X=this,S=this.$locale();if(!this.isValid())return S.invalidDate||x;var R=B||"YYYY-MM-DDTHH:mm:ssZ",E=ae.z(this),U=this.$H,J=this.$m,V=this.$M,ie=S.weekdays,ye=S.months,Ce=function(Te,Pe,ct,Xe){return Te&&(Te[Pe]||Te(X,R))||ct[Pe].slice(0,Xe)},Se=function(Te){return ae.s(U%12||12,Te,"0")},We=S.meridiem||function(Te,Pe,ct){var Xe=Te<12?"AM":"PM";return ct?Xe.toLowerCase():Xe},Ae={YY:String(this.$y).slice(-2),YYYY:this.$y,M:V+1,MM:ae.s(V+1,2,"0"),MMM:Ce(S.monthsShort,V,ye,3),MMMM:Ce(ye,V),D:this.$D,DD:ae.s(this.$D,2,"0"),d:String(this.$W),dd:Ce(S.weekdaysMin,this.$W,ie,2),ddd:Ce(S.weekdaysShort,this.$W,ie,3),dddd:ie[this.$W],H:String(U),HH:ae.s(U,2,"0"),h:Se(1),hh:Se(2),a:We(U,J,!0),A:We(U,J,!1),m:String(J),mm:ae.s(J,2,"0"),s:String(this.$s),ss:ae.s(this.$s,2,"0"),SSS:ae.s(this.$ms,3,"0"),Z:E};return R.replace(F,function(Te,Pe){return Pe||Ae[Te]||E.replace(":","")})},A.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},A.diff=function(B,X,S){var R,E=ae.p(X),U=Z(B),J=(U.utcOffset()-this.utcOffset())*i,V=this-U,ie=ae.m(this,U);return ie=(R={},R[b]=ie/12,R[_]=ie,R[C]=ie/3,R[y]=(V-J)/6048e5,R[p]=(V-J)/864e5,R[m]=V/u,R[h]=V/i,R[g]=V/r,R)[E]||V,S?ie:ae.a(ie)},A.daysInMonth=function(){return this.endOf(_).$D},A.$locale=function(){return re[this.$L]},A.locale=function(B,X){if(!B)return this.$L;var S=this.clone(),R=de(B,X,!0);return R&&(S.$L=R),S},A.clone=function(){return ae.w(this.$d,this)},A.toDate=function(){return new Date(this.valueOf())},A.toJSON=function(){return this.isValid()?this.toISOString():null},A.toISOString=function(){return this.$d.toISOString()},A.toString=function(){return this.$d.toUTCString()},N}(),pe=ge.prototype;return Z.prototype=pe,[["$ms",c],["$s",g],["$m",h],["$H",m],["$W",p],["$M",_],["$y",b],["$D",D]].forEach(function(N){pe[N[1]]=function(A){return this.$g(A,N[0],N[1])}}),Z.extend=function(N,A){return N.$i||(N(A,ge,Z),N.$i=!0),Z},Z.locale=de,Z.isDayjs=oe,Z.unix=function(N){return Z(1e3*N)},Z.en=re[ne],Z.Ls=re,Z.p={},Z})})(hd);var k0=hd.exports;const Ee=Pn(k0);var pd={exports:{}};(function(o,s){(function(r,i){o.exports=i()})(zt,function(){var r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},i=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,u=/\d\d/,c=/\d\d?/,g=/\d*[^-_:/,()\s\d]+/,h={},m=function(x){return(x=+x)+(x>68?1900:2e3)},p=function(x){return function(M){this[x]=+M}},y=[/[+-]\d\d:?(\d\d)?|Z/,function(x){(this.zone||(this.zone={})).offset=function(M){if(!M||M==="Z")return 0;var F=M.match(/([+-]|\d\d)/g),L=60*F[1]+(+F[2]||0);return L===0?0:F[0]==="+"?-L:L}(x)}],_=function(x){var M=h[x];return M&&(M.indexOf?M:M.s.concat(M.f))},C=function(x,M){var F,L=h.meridiem;if(L){for(var k=1;k<=24;k+=1)if(x.indexOf(L(k,0,M))>-1){F=k>12;break}}else F=x===(M?"pm":"PM");return F},b={A:[g,function(x){this.afternoon=C(x,!1)}],a:[g,function(x){this.afternoon=C(x,!0)}],S:[/\d/,function(x){this.milliseconds=100*+x}],SS:[u,function(x){this.milliseconds=10*+x}],SSS:[/\d{3}/,function(x){this.milliseconds=+x}],s:[c,p("seconds")],ss:[c,p("seconds")],m:[c,p("minutes")],mm:[c,p("minutes")],H:[c,p("hours")],h:[c,p("hours")],HH:[c,p("hours")],hh:[c,p("hours")],D:[c,p("day")],DD:[u,p("day")],Do:[g,function(x){var M=h.ordinal,F=x.match(/\d+/);if(this.day=F[0],M)for(var L=1;L<=31;L+=1)M(L).replace(/\[|\]/g,"")===x&&(this.day=L)}],M:[c,p("month")],MM:[u,p("month")],MMM:[g,function(x){var M=_("months"),F=(_("monthsShort")||M.map(function(L){return L.slice(0,3)})).indexOf(x)+1;if(F<1)throw new Error;this.month=F%12||F}],MMMM:[g,function(x){var M=_("months").indexOf(x)+1;if(M<1)throw new Error;this.month=M%12||M}],Y:[/[+-]?\d+/,p("year")],YY:[u,function(x){this.year=m(x)}],YYYY:[/\d{4}/,p("year")],Z:y,ZZ:y};function D(x){var M,F;M=x,F=h&&h.formats;for(var L=(x=M.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(Z,ae,ge){var pe=ge&&ge.toUpperCase();return ae||F[ge]||r[ge]||F[pe].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(N,A,B){return A||B.slice(1)})})).match(i),k=L.length,G=0;G<k;G+=1){var ne=L[G],re=b[ne],oe=re&&re[0],de=re&&re[1];L[G]=de?{regex:oe,parser:de}:ne.replace(/^\[|\]$/g,"")}return function(Z){for(var ae={},ge=0,pe=0;ge<k;ge+=1){var N=L[ge];if(typeof N=="string")pe+=N.length;else{var A=N.regex,B=N.parser,X=Z.slice(pe),S=A.exec(X)[0];B.call(ae,S),Z=Z.replace(S,"")}}return function(R){var E=R.afternoon;if(E!==void 0){var U=R.hours;E?U<12&&(R.hours+=12):U===12&&(R.hours=0),delete R.afternoon}}(ae),ae}}return function(x,M,F){F.p.customParseFormat=!0,x&&x.parseTwoDigitYear&&(m=x.parseTwoDigitYear);var L=M.prototype,k=L.parse;L.parse=function(G){var ne=G.date,re=G.utc,oe=G.args;this.$u=re;var de=oe[1];if(typeof de=="string"){var Z=oe[2]===!0,ae=oe[3]===!0,ge=Z||ae,pe=oe[2];ae&&(pe=oe[2]),h=this.$locale(),!Z&&pe&&(h=F.Ls[pe]),this.$d=function(X,S,R){try{if(["x","X"].indexOf(S)>-1)return new Date((S==="X"?1e3:1)*X);var E=D(S)(X),U=E.year,J=E.month,V=E.day,ie=E.hours,ye=E.minutes,Ce=E.seconds,Se=E.milliseconds,We=E.zone,Ae=new Date,Te=V||(U||J?1:Ae.getDate()),Pe=U||Ae.getFullYear(),ct=0;U&&!J||(ct=J>0?J-1:Ae.getMonth());var Xe=ie||0,Dt=ye||0,Je=Ce||0,Pt=Se||0;return We?new Date(Date.UTC(Pe,ct,Te,Xe,Dt,Je,Pt+60*We.offset*1e3)):R?new Date(Date.UTC(Pe,ct,Te,Xe,Dt,Je,Pt)):new Date(Pe,ct,Te,Xe,Dt,Je,Pt)}catch{return new Date("")}}(ne,de,re),this.init(),pe&&pe!==!0&&(this.$L=this.locale(pe).$L),ge&&ne!=this.format(de)&&(this.$d=new Date("")),h={}}else if(de instanceof Array)for(var N=de.length,A=1;A<=N;A+=1){oe[1]=de[A-1];var B=F.apply(this,oe);if(B.isValid()){this.$d=B.$d,this.$L=B.$L,this.init();break}A===N&&(this.$d=new Date(""))}else k.call(this,G)}}})})(pd);var C0=pd.exports;const x0=Pn(C0),Ou=["hours","minutes","seconds"],Vu="HH:mm:ss",Pr="YYYY-MM-DD",S0={date:Pr,dates:Pr,week:"gggg[w]ww",year:"YYYY",month:"YYYY-MM",datetime:`${Pr} ${Vu}`,monthrange:"YYYY-MM",daterange:Pr,datetimerange:`${Pr} ${Vu}`},El=(o,s)=>[o>0?o-1:void 0,o,o<s?o+1:void 0],vd=o=>Array.from(Array.from({length:o}).keys()),md=o=>o.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim(),gd=o=>o.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?Y{2,4}/g,"").trim(),Ru=function(o,s){const r=Au(o),i=Au(s);return r&&i?o.getTime()===s.getTime():!r&&!i?o===s:!1},Lu=function(o,s){const r=_t(o),i=_t(s);return r&&i?o.length!==s.length?!1:o.every((u,c)=>Ru(u,s[c])):!r&&!i?Ru(o,s):!1},Bu=function(o,s,r){const i=ed(s)||s==="x"?Ee(o).locale(r):Ee(o,s).locale(r);return i.isValid()?i:void 0},zu=function(o,s,r){return ed(s)?o:s==="x"?+o:Ee(o).locale(r).format(s)},Ml=(o,s)=>{var r;const i=[],u=s?.();for(let c=0;c<o;c++)i.push((r=u?.includes(c))!=null?r:!1);return i},bd=yt({disabledHours:{type:He(Function)},disabledMinutes:{type:He(Function)},disabledSeconds:{type:He(Function)}}),D0=yt({visible:Boolean,actualVisible:{type:Boolean,default:void 0},format:{type:String,default:""}}),_d=yt({id:{type:He([Array,String])},name:{type:He([Array,String]),default:""},popperClass:{type:String,default:""},format:String,valueFormat:String,type:{type:String,default:""},clearable:{type:Boolean,default:!0},clearIcon:{type:He([String,Object]),default:ky},editable:{type:Boolean,default:!0},prefixIcon:{type:He([String,Object]),default:""},size:oa,readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placeholder:{type:String,default:""},popperOptions:{type:He(Object),default:()=>({})},modelValue:{type:He([Date,Array,String,Number]),default:""},rangeSeparator:{type:String,default:"-"},startPlaceholder:String,endPlaceholder:String,defaultValue:{type:He([Date,Array])},defaultTime:{type:He([Date,Array])},isRange:{type:Boolean,default:!1},...bd,disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:{type:Boolean,default:!1},label:{type:String,default:void 0},tabindex:{type:He([String,Number]),default:0},validateEvent:{type:Boolean,default:!0},unlinkPanels:Boolean}),$0=["id","name","placeholder","value","disabled","readonly"],N0=["id","name","placeholder","value","disabled","readonly"],E0=Ye({name:"Picker"}),M0=Ye({...E0,props:_d,emits:["update:modelValue","change","focus","blur","calendar-change","panel-change","visible-change","keydown"],setup(o,{expose:s,emit:r}){const i=o,{lang:u}=vn(),c=ot("date"),g=ot("input"),h=ot("range"),{form:m,formItem:p}=ua(),y=kt("ElPopperOptions",{}),_=ce(),C=ce(),b=ce(!1),D=ce(!1),x=ce(null);let M=!1,F=!1;nt(b,P=>{P?At(()=>{P&&(x.value=i.modelValue)}):(Ie.value=null,At(()=>{L(i.modelValue)}))});const L=(P,H)=>{(H||!Lu(P,x.value))&&(r("change",P),i.validateEvent&&p?.validate("change").catch(se=>Vr()))},k=P=>{if(!Lu(i.modelValue,P)){let H;_t(P)?H=P.map(se=>zu(se,i.valueFormat,u.value)):P&&(H=zu(P,i.valueFormat,u.value)),r("update:modelValue",P&&H,u.value)}},G=P=>{r("keydown",P)},ne=ue(()=>{if(C.value){const P=Dt.value?C.value:C.value.$el;return Array.from(P.querySelectorAll("input"))}return[]}),re=(P,H,se)=>{const he=ne.value;he.length&&(!se||se==="min"?(he[0].setSelectionRange(P,H),he[0].focus()):se==="max"&&(he[1].setSelectionRange(P,H),he[1].focus()))},oe=()=>{B(!0,!0),At(()=>{F=!1})},de=(P="",H=!1)=>{H||(F=!0),b.value=H;let se;_t(P)?se=P.map(he=>he.toDate()):se=P&&P.toDate(),Ie.value=null,k(se)},Z=()=>{D.value=!0},ae=()=>{r("visible-change",!0)},ge=P=>{P?.key===at.esc&&B(!0,!0)},pe=()=>{D.value=!1,b.value=!1,F=!1,r("visible-change",!1)},N=()=>{b.value=!0},A=()=>{b.value=!1},B=(P=!0,H=!1)=>{F=H;const[se,he]=a(ne);let ft=se;!P&&Dt.value&&(ft=he),ft&&ft.focus()},X=P=>{i.readonly||E.value||b.value||F||(b.value=!0,r("focus",P))};let S;const R=P=>{const H=async()=>{setTimeout(()=>{var se;S===H&&(!((se=_.value)!=null&&se.isFocusInsideContent()&&!M)&&ne.value.filter(he=>he.contains(document.activeElement)).length===0&&(mn(),b.value=!1,r("blur",P),i.validateEvent&&p?.validate("blur").catch(he=>Vr())),M=!1)},0)};S=H,H()},E=ue(()=>i.disabled||m?.disabled),U=ue(()=>{let P;if(Ae.value?Ge.value.getDefaultValue&&(P=Ge.value.getDefaultValue()):_t(i.modelValue)?P=i.modelValue.map(H=>Bu(H,i.valueFormat,u.value)):P=Bu(i.modelValue,i.valueFormat,u.value),Ge.value.getRangeAvailableTime){const H=Ge.value.getRangeAvailableTime(P);td(H,P)||(P=H,k(_t(P)?P.map(se=>se.toDate()):P.toDate()))}return _t(P)&&P.some(H=>!H)&&(P=[]),P}),J=ue(()=>{if(!Ge.value.panelReady)return"";const P=$t(U.value);return _t(Ie.value)?[Ie.value[0]||P&&P[0]||"",Ie.value[1]||P&&P[1]||""]:Ie.value!==null?Ie.value:!ie.value&&Ae.value||!b.value&&Ae.value?"":P?ye.value?P.join(", "):P:""}),V=ue(()=>i.type.includes("time")),ie=ue(()=>i.type.startsWith("time")),ye=ue(()=>i.type==="dates"),Ce=ue(()=>i.prefixIcon||(V.value?Cy:xy)),Se=ce(!1),We=P=>{i.readonly||E.value||Se.value&&(P.stopPropagation(),oe(),k(null),L(null,!0),Se.value=!1,b.value=!1,Ge.value.handleClear&&Ge.value.handleClear())},Ae=ue(()=>{const{modelValue:P}=i;return!P||_t(P)&&!P.filter(Boolean).length}),Te=async P=>{var H;i.readonly||E.value||(((H=P.target)==null?void 0:H.tagName)!=="INPUT"||ne.value.includes(document.activeElement))&&(b.value=!0)},Pe=()=>{i.readonly||E.value||!Ae.value&&i.clearable&&(Se.value=!0)},ct=()=>{Se.value=!1},Xe=P=>{var H;i.readonly||E.value||(((H=P.touches[0].target)==null?void 0:H.tagName)!=="INPUT"||ne.value.includes(document.activeElement))&&(b.value=!0)},Dt=ue(()=>i.type.includes("range")),Je=li(),Pt=ue(()=>{var P,H;return(H=(P=a(_))==null?void 0:P.popperRef)==null?void 0:H.contentRef}),tn=ue(()=>{var P;return a(Dt)?a(C):(P=a(C))==null?void 0:P.$el});Sy(tn,P=>{const H=a(Pt),se=a(tn);H&&(P.target===H||P.composedPath().includes(H))||P.target===se||P.composedPath().includes(se)||(b.value=!1)});const Ie=ce(null),mn=()=>{if(Ie.value){const P=Ot(J.value);P&&wt(P)&&(k(_t(P)?P.map(H=>H.toDate()):P.toDate()),Ie.value=null)}Ie.value===""&&(k(null),L(null),Ie.value=null)},Ot=P=>P?Ge.value.parseUserInput(P):null,$t=P=>P?Ge.value.formatToString(P):null,wt=P=>Ge.value.isValidValue(P),nn=async P=>{if(i.readonly||E.value)return;const{code:H}=P;if(G(P),H===at.esc){b.value===!0&&(b.value=!1,P.preventDefault(),P.stopPropagation());return}if(H===at.down&&(Ge.value.handleFocusPicker&&(P.preventDefault(),P.stopPropagation()),b.value===!1&&(b.value=!0,await At()),Ge.value.handleFocusPicker)){Ge.value.handleFocusPicker();return}if(H===at.tab){M=!0;return}if(H===at.enter||H===at.numpadEnter){(Ie.value===null||Ie.value===""||wt(Ot(J.value)))&&(mn(),b.value=!1),P.stopPropagation();return}if(Ie.value){P.stopPropagation();return}Ge.value.handleKeydownInput&&Ge.value.handleKeydownInput(P)},gn=P=>{Ie.value=P,b.value||(b.value=!0)},En=P=>{const H=P.target;Ie.value?Ie.value=[H.value,Ie.value[1]]:Ie.value=[H.value,null]},Vt=P=>{const H=P.target;Ie.value?Ie.value=[Ie.value[0],H.value]:Ie.value=[null,H.value]},Wn=()=>{var P;const H=Ie.value,se=Ot(H&&H[0]),he=a(U);if(se&&se.isValid()){Ie.value=[$t(se),((P=J.value)==null?void 0:P[1])||null];const ft=[se,he&&(he[1]||null)];wt(ft)&&(k(ft),Ie.value=null)}},rn=()=>{var P;const H=a(Ie),se=Ot(H&&H[1]),he=a(U);if(se&&se.isValid()){Ie.value=[((P=a(J))==null?void 0:P[0])||null,$t(se)];const ft=[he&&he[0],se];wt(ft)&&(k(ft),Ie.value=null)}},Ge=ce({}),Q=P=>{Ge.value[P[0]]=P[1],Ge.value.panelReady=!0},ve=P=>{r("calendar-change",P)},Me=(P,H,se)=>{r("panel-change",P,H,se)};return $n("EP_PICKER_BASE",{props:i}),s({focus:B,handleFocusInput:X,handleBlurInput:R,handleOpen:N,handleClose:A,onPick:de}),(P,H)=>(T(),be(a(nd),ci({ref_key:"refPopper",ref:_,visible:b.value,effect:"light",pure:"",trigger:"click"},P.$attrs,{role:"dialog",teleported:"",transition:`${a(c).namespace.value}-zoom-in-top`,"popper-class":[`${a(c).namespace.value}-picker__popper`,P.popperClass],"popper-options":a(y),"fallback-placements":["bottom","top","right","left"],"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"hide-after":0,persistent:"",onBeforeShow:Z,onShow:ae,onHide:pe}),{default:fe(()=>[a(Dt)?(T(),j("div",{key:1,ref_key:"inputRef",ref:C,class:Y([a(c).b("editor"),a(c).bm("editor",P.type),a(g).e("wrapper"),a(c).is("disabled",a(E)),a(c).is("active",b.value),a(h).b("editor"),a(Je)?a(h).bm("editor",a(Je)):"",P.$attrs.class]),style:ra(P.$attrs.style),onClick:X,onMouseenter:Pe,onMouseleave:ct,onTouchstart:Xe,onKeydown:nn},[a(Ce)?(T(),be(a(Ze),{key:0,class:Y([a(g).e("icon"),a(h).e("icon")]),onMousedown:pt(Te,["prevent"]),onTouchstart:Xe},{default:fe(()=>[(T(),be(nr(a(Ce))))]),_:1},8,["class","onMousedown"])):ke("v-if",!0),z("input",{id:P.id&&P.id[0],autocomplete:"off",name:P.name&&P.name[0],placeholder:P.startPlaceholder,value:a(J)&&a(J)[0],disabled:a(E),readonly:!P.editable||P.readonly,class:Y(a(h).b("input")),onMousedown:Te,onInput:En,onChange:Wn,onFocus:X,onBlur:R},null,42,$0),Ft(P.$slots,"range-separator",{},()=>[z("span",{class:Y(a(h).b("separator"))},_e(P.rangeSeparator),3)]),z("input",{id:P.id&&P.id[1],autocomplete:"off",name:P.name&&P.name[1],placeholder:P.endPlaceholder,value:a(J)&&a(J)[1],disabled:a(E),readonly:!P.editable||P.readonly,class:Y(a(h).b("input")),onMousedown:Te,onFocus:X,onBlur:R,onInput:Vt,onChange:rn},null,42,N0),P.clearIcon?(T(),be(a(Ze),{key:1,class:Y([a(g).e("icon"),a(h).e("close-icon"),{[a(h).e("close-icon--hidden")]:!Se.value}]),onClick:We},{default:fe(()=>[(T(),be(nr(P.clearIcon)))]),_:1},8,["class"])):ke("v-if",!0)],38)):(T(),be(a(mt),{key:0,id:P.id,ref_key:"inputRef",ref:C,"container-role":"combobox","model-value":a(J),name:P.name,size:a(Je),disabled:a(E),placeholder:P.placeholder,class:Y([a(c).b("editor"),a(c).bm("editor",P.type),P.$attrs.class]),style:ra(P.$attrs.style),readonly:!P.editable||P.readonly||a(ye)||P.type==="week",label:P.label,tabindex:P.tabindex,"validate-event":!1,onInput:gn,onFocus:X,onBlur:R,onKeydown:nn,onChange:mn,onMousedown:Te,onMouseenter:Pe,onMouseleave:ct,onTouchstart:Xe,onClick:H[0]||(H[0]=pt(()=>{},["stop"]))},{prefix:fe(()=>[a(Ce)?(T(),be(a(Ze),{key:0,class:Y(a(g).e("icon")),onMousedown:pt(Te,["prevent"]),onTouchstart:Xe},{default:fe(()=>[(T(),be(nr(a(Ce))))]),_:1},8,["class","onMousedown"])):ke("v-if",!0)]),suffix:fe(()=>[Se.value&&P.clearIcon?(T(),be(a(Ze),{key:0,class:Y(`${a(g).e("icon")} clear-icon`),onClick:pt(We,["stop"])},{default:fe(()=>[(T(),be(nr(P.clearIcon)))]),_:1},8,["class","onClick"])):ke("v-if",!0)]),_:1},8,["id","model-value","name","size","disabled","placeholder","class","style","readonly","label","tabindex","onKeydown"]))]),content:fe(()=>[Ft(P.$slots,"default",{visible:b.value,actualVisible:D.value,parsedValue:a(U),format:P.format,unlinkPanels:P.unlinkPanels,type:P.type,defaultValue:P.defaultValue,onPick:de,onSelectRange:re,onSetPickerOption:Q,onCalendarChange:ve,onPanelChange:Me,onKeydown:ge,onMousedown:H[1]||(H[1]=pt(()=>{},["stop"]))})]),_:3},16,["visible","transition","popper-class","popper-options"]))}});var A0=St(M0,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/common/picker.vue"]]);const T0=yt({...D0,datetimeRole:String,parsedValue:{type:He(Object)}}),I0=({getAvailableHours:o,getAvailableMinutes:s,getAvailableSeconds:r})=>{const i=(g,h,m,p)=>{const y={hour:o,minute:s,second:r};let _=g;return["hour","minute","second"].forEach(C=>{if(y[C]){let b;const D=y[C];switch(C){case"minute":{b=D(_.hour(),h,p);break}case"second":{b=D(_.hour(),_.minute(),h,p);break}default:{b=D(h,p);break}}if(b?.length&&!b.includes(_[C]())){const x=m?0:b.length-1;_=_[C](b[x])}}}),_},u={};return{timePickerOptions:u,getAvailableTime:i,onSetOption:([g,h])=>{u[g]=h}}},Al=o=>{const s=(i,u)=>i||u,r=i=>i!==!0;return o.map(s).filter(r)},yd=(o,s,r)=>({getHoursList:(g,h)=>Ml(24,o&&(()=>o?.(g,h))),getMinutesList:(g,h,m)=>Ml(60,s&&(()=>s?.(g,h,m))),getSecondsList:(g,h,m,p)=>Ml(60,r&&(()=>r?.(g,h,m,p)))}),P0=(o,s,r)=>{const{getHoursList:i,getMinutesList:u,getSecondsList:c}=yd(o,s,r);return{getAvailableHours:(p,y)=>Al(i(p,y)),getAvailableMinutes:(p,y,_)=>Al(u(p,y,_)),getAvailableSeconds:(p,y,_,C)=>Al(c(p,y,_,C))}},O0=o=>{const s=ce(o.parsedValue);return nt(()=>o.visible,r=>{r||(s.value=o.parsedValue)}),s},V0=100,R0=600,ui={beforeMount(o,s){const r=s.value,{interval:i=V0,delay:u=R0}=Rr(r)?{}:r;let c,g;const h=()=>Rr(r)?r():r.handler(),m=()=>{g&&(clearTimeout(g),g=void 0),c&&(clearInterval(c),c=void 0)};o.addEventListener("mousedown",p=>{p.button===0&&(m(),h(),document.addEventListener("mouseup",()=>m(),{once:!0}),g=setTimeout(()=>{c=setInterval(()=>{h()},i)},u))})}},L0=yt({role:{type:String,required:!0},spinnerDate:{type:He(Object),required:!0},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:He(String),default:""},...bd}),B0=["onClick"],z0=["onMouseenter"],F0=Ye({__name:"basic-time-spinner",props:L0,emits:["change","select-range","set-option"],setup(o,{emit:s}){const r=o,i=ot("time"),{getHoursList:u,getMinutesList:c,getSecondsList:g}=yd(r.disabledHours,r.disabledMinutes,r.disabledSeconds);let h=!1;const m=ce(),p=ce(),y=ce(),_=ce(),C={hours:p,minutes:y,seconds:_},b=ue(()=>r.showSeconds?Ou:Ou.slice(0,2)),D=ue(()=>{const{spinnerDate:E}=r,U=E.hour(),J=E.minute(),V=E.second();return{hours:U,minutes:J,seconds:V}}),x=ue(()=>{const{hours:E,minutes:U}=a(D);return{hours:u(r.role),minutes:c(E,r.role),seconds:g(E,U,r.role)}}),M=ue(()=>{const{hours:E,minutes:U,seconds:J}=a(D);return{hours:El(E,23),minutes:El(U,59),seconds:El(J,59)}}),F=Dy(E=>{h=!1,G(E)},200),L=E=>{if(!!!r.amPmMode)return"";const J=r.amPmMode==="A";let V=E<12?" am":" pm";return J&&(V=V.toUpperCase()),V},k=E=>{let U;switch(E){case"hours":U=[0,2];break;case"minutes":U=[3,5];break;case"seconds":U=[6,8];break}const[J,V]=U;s("select-range",J,V),m.value=E},G=E=>{oe(E,a(D)[E])},ne=()=>{G("hours"),G("minutes"),G("seconds")},re=E=>E.querySelector(`.${i.namespace.value}-scrollbar__wrap`),oe=(E,U)=>{if(r.arrowControl)return;const J=a(C[E]);J&&J.$el&&(re(J.$el).scrollTop=Math.max(0,U*de(E)))},de=E=>{const U=a(C[E]);return U?.$el.querySelector("li").offsetHeight||0},Z=()=>{ge(1)},ae=()=>{ge(-1)},ge=E=>{m.value||k("hours");const U=m.value,J=a(D)[U],V=m.value==="hours"?24:60,ie=pe(U,J,E,V);N(U,ie),oe(U,ie),At(()=>k(U))},pe=(E,U,J,V)=>{let ie=(U+J+V)%V;const ye=a(x)[E];for(;ye[ie]&&ie!==U;)ie=(ie+J+V)%V;return ie},N=(E,U)=>{if(a(x)[E][U])return;const{hours:ie,minutes:ye,seconds:Ce}=a(D);let Se;switch(E){case"hours":Se=r.spinnerDate.hour(U).minute(ye).second(Ce);break;case"minutes":Se=r.spinnerDate.hour(ie).minute(U).second(Ce);break;case"seconds":Se=r.spinnerDate.hour(ie).minute(ye).second(U);break}s("change",Se)},A=(E,{value:U,disabled:J})=>{J||(N(E,U),k(E),oe(E,U))},B=E=>{h=!0,F(E);const U=Math.min(Math.round((re(a(C[E]).$el).scrollTop-(X(E)*.5-10)/de(E)+3)/de(E)),E==="hours"?23:59);N(E,U)},X=E=>a(C[E]).$el.offsetHeight,S=()=>{const E=U=>{const J=a(C[U]);J&&J.$el&&(re(J.$el).onscroll=()=>{B(U)})};E("hours"),E("minutes"),E("seconds")};ar(()=>{At(()=>{!r.arrowControl&&S(),ne(),r.role==="start"&&k("hours")})});const R=(E,U)=>{C[U].value=E};return s("set-option",[`${r.role}_scrollDown`,ge]),s("set-option",[`${r.role}_emitSelectRange`,k]),nt(()=>r.spinnerDate,()=>{h||ne()}),(E,U)=>(T(),j("div",{class:Y([a(i).b("spinner"),{"has-seconds":E.showSeconds}])},[E.arrowControl?ke("v-if",!0):(T(!0),j(Le,{key:0},et(a(b),J=>(T(),be(a($y),{key:J,ref_for:!0,ref:V=>R(V,J),class:Y(a(i).be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":a(i).be("spinner","list"),noresize:"",tag:"ul",onMouseenter:V=>k(J),onMousemove:V=>G(J)},{default:fe(()=>[(T(!0),j(Le,null,et(a(x)[J],(V,ie)=>(T(),j("li",{key:ie,class:Y([a(i).be("spinner","item"),a(i).is("active",ie===a(D)[J]),a(i).is("disabled",V)]),onClick:ye=>A(J,{value:ie,disabled:V})},[J==="hours"?(T(),j(Le,{key:0},[st(_e(("0"+(E.amPmMode?ie%12||12:ie)).slice(-2))+_e(L(ie)),1)],64)):(T(),j(Le,{key:1},[st(_e(("0"+ie).slice(-2)),1)],64))],10,B0))),128))]),_:2},1032,["class","view-class","onMouseenter","onMousemove"]))),128)),E.arrowControl?(T(!0),j(Le,{key:1},et(a(b),J=>(T(),j("div",{key:J,class:Y([a(i).be("spinner","wrapper"),a(i).is("arrow")]),onMouseenter:V=>k(J)},[dt((T(),be(a(Ze),{class:Y(["arrow-up",a(i).be("spinner","arrow")])},{default:fe(()=>[W(a(rd))]),_:1},8,["class"])),[[a(ui),ae]]),dt((T(),be(a(Ze),{class:Y(["arrow-down",a(i).be("spinner","arrow")])},{default:fe(()=>[W(a(ad))]),_:1},8,["class"])),[[a(ui),Z]]),z("ul",{class:Y(a(i).be("spinner","list"))},[(T(!0),j(Le,null,et(a(M)[J],(V,ie)=>(T(),j("li",{key:ie,class:Y([a(i).be("spinner","item"),a(i).is("active",V===a(D)[J]),a(i).is("disabled",a(x)[J][V])])},[typeof V=="number"?(T(),j(Le,{key:0},[J==="hours"?(T(),j(Le,{key:0},[st(_e(("0"+(E.amPmMode?V%12||12:V)).slice(-2))+_e(L(V)),1)],64)):(T(),j(Le,{key:1},[st(_e(("0"+V).slice(-2)),1)],64))],64)):ke("v-if",!0)],2))),128))],2)],42,z0))),128)):ke("v-if",!0)],2))}});var U0=St(F0,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/basic-time-spinner.vue"]]);const K0=Ye({__name:"panel-time-pick",props:T0,emits:["pick","select-range","set-picker-option"],setup(o,{emit:s}){const r=o,i=kt("EP_PICKER_BASE"),{arrowControl:u,disabledHours:c,disabledMinutes:g,disabledSeconds:h,defaultValue:m}=i.props,{getAvailableHours:p,getAvailableMinutes:y,getAvailableSeconds:_}=P0(c,g,h),C=ot("time"),{t:b,lang:D}=vn(),x=ce([0,2]),M=O0(r),F=ue(()=>rr(r.actualVisible)?`${C.namespace.value}-zoom-in-top`:""),L=ue(()=>r.format.includes("ss")),k=ue(()=>r.format.includes("A")?"A":r.format.includes("a")?"a":""),G=R=>{const E=Ee(R).locale(D.value),U=A(E);return E.isSame(U)},ne=()=>{s("pick",M.value,!1)},re=(R=!1,E=!1)=>{E||s("pick",r.parsedValue,R)},oe=R=>{if(!r.visible)return;const E=A(R).millisecond(0);s("pick",E,!0)},de=(R,E)=>{s("select-range",R,E),x.value=[R,E]},Z=R=>{const E=[0,3].concat(L.value?[6]:[]),U=["hours","minutes"].concat(L.value?["seconds"]:[]),V=(E.indexOf(x.value[0])+R+E.length)%E.length;ge.start_emitSelectRange(U[V])},ae=R=>{const E=R.code,{left:U,right:J,up:V,down:ie}=at;if([U,J].includes(E)){Z(E===U?-1:1),R.preventDefault();return}if([V,ie].includes(E)){const ye=E===V?-1:1;ge.start_scrollDown(ye),R.preventDefault();return}},{timePickerOptions:ge,onSetOption:pe,getAvailableTime:N}=I0({getAvailableHours:p,getAvailableMinutes:y,getAvailableSeconds:_}),A=R=>N(R,r.datetimeRole||"",!0),B=R=>R?Ee(R,r.format).locale(D.value):null,X=R=>R?R.format(r.format):null,S=()=>Ee(m).locale(D.value);return s("set-picker-option",["isValidValue",G]),s("set-picker-option",["formatToString",X]),s("set-picker-option",["parseUserInput",B]),s("set-picker-option",["handleKeydownInput",ae]),s("set-picker-option",["getRangeAvailableTime",A]),s("set-picker-option",["getDefaultValue",S]),(R,E)=>(T(),be(Gl,{name:a(F)},{default:fe(()=>[R.actualVisible||R.visible?(T(),j("div",{key:0,class:Y(a(C).b("panel"))},[z("div",{class:Y([a(C).be("panel","content"),{"has-seconds":a(L)}])},[W(U0,{ref:"spinner",role:R.datetimeRole||"start","arrow-control":a(u),"show-seconds":a(L),"am-pm-mode":a(k),"spinner-date":R.parsedValue,"disabled-hours":a(c),"disabled-minutes":a(g),"disabled-seconds":a(h),onChange:oe,onSetOption:a(pe),onSelectRange:de},null,8,["role","arrow-control","show-seconds","am-pm-mode","spinner-date","disabled-hours","disabled-minutes","disabled-seconds","onSetOption"])],2),z("div",{class:Y(a(C).be("panel","footer"))},[z("button",{type:"button",class:Y([a(C).be("panel","btn"),"cancel"]),onClick:ne},_e(a(b)("el.datepicker.cancel")),3),z("button",{type:"button",class:Y([a(C).be("panel","btn"),"confirm"]),onClick:E[0]||(E[0]=U=>re())},_e(a(b)("el.datepicker.confirm")),3)],2)],2)):ke("v-if",!0)]),_:1},8,["name"]))}});var zl=St(K0,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/panel-time-pick.vue"]]),wd={exports:{}};(function(o,s){(function(r,i){o.exports=i()})(zt,function(){return function(r,i,u){var c=i.prototype,g=function(_){return _&&(_.indexOf?_:_.s)},h=function(_,C,b,D,x){var M=_.name?_:_.$locale(),F=g(M[C]),L=g(M[b]),k=F||L.map(function(ne){return ne.slice(0,D)});if(!x)return k;var G=M.weekStart;return k.map(function(ne,re){return k[(re+(G||0))%7]})},m=function(){return u.Ls[u.locale()]},p=function(_,C){return _.formats[C]||function(b){return b.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(D,x,M){return x||M.slice(1)})}(_.formats[C.toUpperCase()])},y=function(){var _=this;return{months:function(C){return C?C.format("MMMM"):h(_,"months")},monthsShort:function(C){return C?C.format("MMM"):h(_,"monthsShort","months",3)},firstDayOfWeek:function(){return _.$locale().weekStart||0},weekdays:function(C){return C?C.format("dddd"):h(_,"weekdays")},weekdaysMin:function(C){return C?C.format("dd"):h(_,"weekdaysMin","weekdays",2)},weekdaysShort:function(C){return C?C.format("ddd"):h(_,"weekdaysShort","weekdays",3)},longDateFormat:function(C){return p(_.$locale(),C)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};c.localeData=function(){return y.bind(this)()},u.localeData=function(){var _=m();return{firstDayOfWeek:function(){return _.weekStart||0},weekdays:function(){return u.weekdays()},weekdaysShort:function(){return u.weekdaysShort()},weekdaysMin:function(){return u.weekdaysMin()},months:function(){return u.months()},monthsShort:function(){return u.monthsShort()},longDateFormat:function(C){return p(_,C)},meridiem:_.meridiem,ordinal:_.ordinal}},u.months=function(){return h(m(),"months")},u.monthsShort=function(){return h(m(),"monthsShort","months",3)},u.weekdays=function(_){return h(m(),"weekdays",null,null,_)},u.weekdaysShort=function(_){return h(m(),"weekdaysShort","weekdays",3,_)},u.weekdaysMin=function(_){return h(m(),"weekdaysMin","weekdays",2,_)}}})})(wd);var W0=wd.exports;const H0=Pn(W0),kd={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object]},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},controls:{type:String,default:void 0},border:Boolean,size:oa,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0}},Cd={[xn]:o=>si(o)||en(o)||Vl(o),change:o=>si(o)||en(o)||Vl(o)},Lr=Symbol("checkboxGroupContextKey"),Y0=({model:o,isChecked:s})=>{const r=kt(Lr,void 0),i=ue(()=>{var c,g;const h=(c=r?.max)==null?void 0:c.value,m=(g=r?.min)==null?void 0:g.value;return!rr(h)&&o.value.length>=h&&!s.value||!rr(m)&&o.value.length<=m&&s.value});return{isDisabled:id(ue(()=>r?.disabled.value||i.value)),isLimitDisabled:i}},G0=(o,{model:s,isLimitExceeded:r,hasOwnLabel:i,isDisabled:u,isLabeledByFormItem:c})=>{const g=kt(Lr,void 0),{formItem:h}=ua(),{emit:m}=_r();function p(D){var x,M;return D===o.trueLabel||D===!0?(x=o.trueLabel)!=null?x:!0:(M=o.falseLabel)!=null?M:!1}function y(D,x){m("change",p(D),x)}function _(D){if(r.value)return;const x=D.target;m("change",p(x.checked),D)}async function C(D){r.value||!i.value&&!u.value&&c.value&&(D.composedPath().some(F=>F.tagName==="LABEL")||(s.value=p([!1,o.falseLabel].includes(s.value)),await At(),y(s.value,D)))}const b=ue(()=>g?.validateEvent||o.validateEvent);return nt(()=>o.modelValue,()=>{b.value&&h?.validate("change").catch(D=>Vr())}),{handleChange:_,onClickRoot:C}},q0=o=>{const s=ce(!1),{emit:r}=_r(),i=kt(Lr,void 0),u=ue(()=>rr(i)===!1),c=ce(!1);return{model:ue({get(){var h,m;return u.value?(h=i?.modelValue)==null?void 0:h.value:(m=o.modelValue)!=null?m:s.value},set(h){var m,p;u.value&&_t(h)?(c.value=((m=i?.max)==null?void 0:m.value)!==void 0&&h.length>i?.max.value,c.value===!1&&((p=i?.changeEvent)==null||p.call(i,h))):(r(xn,h),s.value=h)}}),isGroup:u,isLimitExceeded:c}},Z0=(o,s,{model:r})=>{const i=kt(Lr,void 0),u=ce(!1),c=ue(()=>{const p=r.value;return Vl(p)?p:_t(p)?ld(o.label)?p.map(Ol).some(y=>td(y,o.label)):p.map(Ol).includes(o.label):p!=null?p===o.trueLabel:!!p}),g=li(ue(()=>{var p;return(p=i?.size)==null?void 0:p.value}),{prop:!0}),h=li(ue(()=>{var p;return(p=i?.size)==null?void 0:p.value})),m=ue(()=>!!(s.default||o.label));return{checkboxButtonSize:g,isChecked:c,isFocused:u,checkboxSize:h,hasOwnLabel:m}},X0=(o,{model:s})=>{function r(){_t(s.value)&&!s.value.includes(o.label)?s.value.push(o.label):s.value=o.trueLabel||!0}o.checked&&r()},xd=(o,s)=>{const{formItem:r}=ua(),{model:i,isGroup:u,isLimitExceeded:c}=q0(o),{isFocused:g,isChecked:h,checkboxButtonSize:m,checkboxSize:p,hasOwnLabel:y}=Z0(o,s,{model:i}),{isDisabled:_}=Y0({model:i,isChecked:h}),{inputId:C,isLabeledByFormItem:b}=sd(o,{formItemContext:r,disableIdGeneration:y,disableIdManagement:u}),{handleChange:D,onClickRoot:x}=G0(o,{model:i,isLimitExceeded:c,hasOwnLabel:y,isDisabled:_,isLabeledByFormItem:b});return X0(o,{model:i}),{inputId:C,isLabeledByFormItem:b,isChecked:h,isDisabled:_,isFocused:g,checkboxButtonSize:m,checkboxSize:p,hasOwnLabel:y,model:i,handleChange:D,onClickRoot:x}},J0=["tabindex","role","aria-checked"],Q0=["id","aria-hidden","name","tabindex","disabled","true-value","false-value"],j0=["id","aria-hidden","disabled","value","name","tabindex"],e1=Ye({name:"ElCheckbox"}),t1=Ye({...e1,props:kd,emits:Cd,setup(o){const s=o,r=sa(),{inputId:i,isLabeledByFormItem:u,isChecked:c,isDisabled:g,isFocused:h,checkboxSize:m,hasOwnLabel:p,model:y,handleChange:_,onClickRoot:C}=xd(s,r),b=ot("checkbox"),D=ue(()=>[b.b(),b.m(m.value),b.is("disabled",g.value),b.is("bordered",s.border),b.is("checked",c.value)]),x=ue(()=>[b.e("input"),b.is("disabled",g.value),b.is("checked",c.value),b.is("indeterminate",s.indeterminate),b.is("focus",h.value)]);return(M,F)=>(T(),be(nr(!a(p)&&a(u)?"span":"label"),{class:Y(a(D)),"aria-controls":M.indeterminate?M.controls:null,onClick:a(C)},{default:fe(()=>[z("span",{class:Y(a(x)),tabindex:M.indeterminate?0:void 0,role:M.indeterminate?"checkbox":void 0,"aria-checked":M.indeterminate?"mixed":void 0},[M.trueLabel||M.falseLabel?dt((T(),j("input",{key:0,id:a(i),"onUpdate:modelValue":F[0]||(F[0]=L=>na(y)?y.value=L:null),class:Y(a(b).e("original")),type:"checkbox","aria-hidden":M.indeterminate?"true":"false",name:M.name,tabindex:M.tabindex,disabled:a(g),"true-value":M.trueLabel,"false-value":M.falseLabel,onChange:F[1]||(F[1]=(...L)=>a(_)&&a(_)(...L)),onFocus:F[2]||(F[2]=L=>h.value=!0),onBlur:F[3]||(F[3]=L=>h.value=!1)},null,42,Q0)),[[aa,a(y)]]):dt((T(),j("input",{key:1,id:a(i),"onUpdate:modelValue":F[4]||(F[4]=L=>na(y)?y.value=L:null),class:Y(a(b).e("original")),type:"checkbox","aria-hidden":M.indeterminate?"true":"false",disabled:a(g),value:M.label,name:M.name,tabindex:M.tabindex,onChange:F[5]||(F[5]=(...L)=>a(_)&&a(_)(...L)),onFocus:F[6]||(F[6]=L=>h.value=!0),onBlur:F[7]||(F[7]=L=>h.value=!1)},null,42,j0)),[[aa,a(y)]]),z("span",{class:Y(a(b).e("inner"))},null,2)],10,J0),a(p)?(T(),j("span",{key:0,class:Y(a(b).e("label"))},[Ft(M.$slots,"default"),M.$slots.default?ke("v-if",!0):(T(),j(Le,{key:0},[st(_e(M.label),1)],64))],2)):ke("v-if",!0)]),_:3},8,["class","aria-controls","onClick"]))}});var n1=St(t1,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox.vue"]]);const r1=["name","tabindex","disabled","true-value","false-value"],a1=["name","tabindex","disabled","value"],i1=Ye({name:"ElCheckboxButton"}),l1=Ye({...i1,props:kd,emits:Cd,setup(o){const s=o,r=sa(),{isFocused:i,isChecked:u,isDisabled:c,checkboxButtonSize:g,model:h,handleChange:m}=xd(s,r),p=kt(Lr,void 0),y=ot("checkbox"),_=ue(()=>{var b,D,x,M;const F=(D=(b=p?.fill)==null?void 0:b.value)!=null?D:"";return{backgroundColor:F,borderColor:F,color:(M=(x=p?.textColor)==null?void 0:x.value)!=null?M:"",boxShadow:F?`-1px 0 0 0 ${F}`:void 0}}),C=ue(()=>[y.b("button"),y.bm("button",g.value),y.is("disabled",c.value),y.is("checked",u.value),y.is("focus",i.value)]);return(b,D)=>(T(),j("label",{class:Y(a(C))},[b.trueLabel||b.falseLabel?dt((T(),j("input",{key:0,"onUpdate:modelValue":D[0]||(D[0]=x=>na(h)?h.value=x:null),class:Y(a(y).be("button","original")),type:"checkbox",name:b.name,tabindex:b.tabindex,disabled:a(c),"true-value":b.trueLabel,"false-value":b.falseLabel,onChange:D[1]||(D[1]=(...x)=>a(m)&&a(m)(...x)),onFocus:D[2]||(D[2]=x=>i.value=!0),onBlur:D[3]||(D[3]=x=>i.value=!1)},null,42,r1)),[[aa,a(h)]]):dt((T(),j("input",{key:1,"onUpdate:modelValue":D[4]||(D[4]=x=>na(h)?h.value=x:null),class:Y(a(y).be("button","original")),type:"checkbox",name:b.name,tabindex:b.tabindex,disabled:a(c),value:b.label,onChange:D[5]||(D[5]=(...x)=>a(m)&&a(m)(...x)),onFocus:D[6]||(D[6]=x=>i.value=!0),onBlur:D[7]||(D[7]=x=>i.value=!1)},null,42,a1)),[[aa,a(h)]]),b.$slots.default||b.label?(T(),j("span",{key:2,class:Y(a(y).be("button","inner")),style:ra(a(u)?a(_):void 0)},[Ft(b.$slots,"default",{},()=>[st(_e(b.label),1)])],6)):ke("v-if",!0)],2))}});var Sd=St(l1,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-button.vue"]]);const s1=yt({modelValue:{type:He(Array),default:()=>[]},disabled:Boolean,min:Number,max:Number,size:oa,label:String,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0}}),o1={[xn]:o=>_t(o),change:o=>_t(o)},u1=Ye({name:"ElCheckboxGroup"}),d1=Ye({...u1,props:s1,emits:o1,setup(o,{emit:s}){const r=o,i=ot("checkbox"),{formItem:u}=ua(),{inputId:c,isLabeledByFormItem:g}=sd(r,{formItemContext:u}),h=async p=>{s(xn,p),await At(),s("change",p)},m=ue({get(){return r.modelValue},set(p){h(p)}});return $n(Lr,{...v0(Zu(r),["size","min","max","disabled","validateEvent","fill","textColor"]),modelValue:m,changeEvent:h}),nt(()=>r.modelValue,()=>{r.validateEvent&&u?.validate("change").catch(p=>Vr())}),(p,y)=>{var _;return T(),be(nr(p.tag),{id:a(c),class:Y(a(i).b("group")),role:"group","aria-label":a(g)?void 0:p.label||"checkbox-group","aria-labelledby":a(g)?(_=a(u))==null?void 0:_.labelId:void 0},{default:fe(()=>[Ft(p.$slots,"default")]),_:3},8,["id","class","aria-label","aria-labelledby"])}}});var Dd=St(d1,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-group.vue"]]);const $d=hi(n1,{CheckboxButton:Sd,CheckboxGroup:Dd});Xl(Sd);Xl(Dd);const Fu=o=>typeof en(o),c1=yt({accordion:Boolean,modelValue:{type:He([Array,String,Number]),default:()=>Ny([])}}),f1={[xn]:Fu,[pi]:Fu},Nd=Symbol("collapseContextKey"),h1=(o,s)=>{const r=ce(Tu(o.modelValue)),i=c=>{r.value=c;const g=o.accordion?r.value[0]:r.value;s(xn,g),s(pi,g)},u=c=>{if(o.accordion)i([r.value[0]===c?"":c]);else{const g=[...r.value],h=g.indexOf(c);h>-1?g.splice(h,1):g.push(c),i(g)}};return nt(()=>o.modelValue,()=>r.value=Tu(o.modelValue),{deep:!0}),$n(Nd,{activeNames:r,handleItemClick:u}),{activeNames:r,setActiveNames:i}},p1=()=>{const o=ot("collapse");return{rootKls:ue(()=>o.b())}},v1=Ye({name:"ElCollapse"}),m1=Ye({...v1,props:c1,emits:f1,setup(o,{expose:s,emit:r}){const i=o,{activeNames:u,setActiveNames:c}=h1(i,r),{rootKls:g}=p1();return s({activeNames:u,setActiveNames:c}),(h,m)=>(T(),j("div",{class:Y(a(g)),role:"tablist","aria-multiselectable":"true"},[Ft(h.$slots,"default")],2))}});var g1=St(m1,[["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse/src/collapse.vue"]]);const b1=Ye({name:"ElCollapseTransition"}),_1=Ye({...b1,setup(o){const s=ot("collapse-transition"),r={beforeEnter(i){i.dataset||(i.dataset={}),i.dataset.oldPaddingTop=i.style.paddingTop,i.dataset.oldPaddingBottom=i.style.paddingBottom,i.style.maxHeight=0,i.style.paddingTop=0,i.style.paddingBottom=0},enter(i){i.dataset.oldOverflow=i.style.overflow,i.scrollHeight!==0?(i.style.maxHeight=`${i.scrollHeight}px`,i.style.paddingTop=i.dataset.oldPaddingTop,i.style.paddingBottom=i.dataset.oldPaddingBottom):(i.style.maxHeight=0,i.style.paddingTop=i.dataset.oldPaddingTop,i.style.paddingBottom=i.dataset.oldPaddingBottom),i.style.overflow="hidden"},afterEnter(i){i.style.maxHeight="",i.style.overflow=i.dataset.oldOverflow},beforeLeave(i){i.dataset||(i.dataset={}),i.dataset.oldPaddingTop=i.style.paddingTop,i.dataset.oldPaddingBottom=i.style.paddingBottom,i.dataset.oldOverflow=i.style.overflow,i.style.maxHeight=`${i.scrollHeight}px`,i.style.overflow="hidden"},leave(i){i.scrollHeight!==0&&(i.style.maxHeight=0,i.style.paddingTop=0,i.style.paddingBottom=0)},afterLeave(i){i.style.maxHeight="",i.style.overflow=i.dataset.oldOverflow,i.style.paddingTop=i.dataset.oldPaddingTop,i.style.paddingBottom=i.dataset.oldPaddingBottom}};return(i,u)=>(T(),be(Gl,ci({name:a(s).b()},qu(r)),{default:fe(()=>[Ft(i.$slots,"default")]),_:3},16,["name"]))}});var ni=St(_1,[["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse-transition/src/collapse-transition.vue"]]);ni.install=o=>{o.component(ni.name,ni)};const Ed=ni,y1=yt({title:{type:String,default:""},name:{type:He([String,Number]),default:()=>fd()},disabled:Boolean}),w1=o=>{const s=kt(Nd),r=ce(!1),i=ce(!1),u=ce(fd()),c=ue(()=>s?.activeNames.value.includes(o.name));return{focusing:r,id:u,isActive:c,handleFocus:()=>{setTimeout(()=>{i.value?i.value=!1:r.value=!0},50)},handleHeaderClick:()=>{o.disabled||(s?.handleItemClick(o.name),r.value=!1,i.value=!0)},handleEnterClick:()=>{s?.handleItemClick(o.name)}}},k1=(o,{focusing:s,isActive:r,id:i})=>{const u=ot("collapse"),c=ue(()=>[u.b("item"),u.is("active",a(r)),u.is("disabled",o.disabled)]),g=ue(()=>[u.be("item","header"),u.is("active",a(r)),{focusing:a(s)&&!o.disabled}]),h=ue(()=>[u.be("item","arrow"),u.is("active",a(r))]),m=ue(()=>u.be("item","wrap")),p=ue(()=>u.be("item","content")),y=ue(()=>u.b(`content-${a(i)}`)),_=ue(()=>u.b(`head-${a(i)}`));return{arrowKls:h,headKls:g,rootKls:c,itemWrapperKls:m,itemContentKls:p,scopedContentId:y,scopedHeadId:_}},C1=["aria-expanded","aria-controls","aria-describedby"],x1=["id","tabindex"],S1=["id","aria-hidden","aria-labelledby"],D1=Ye({name:"ElCollapseItem"}),$1=Ye({...D1,props:y1,setup(o,{expose:s}){const r=o,{focusing:i,id:u,isActive:c,handleFocus:g,handleHeaderClick:h,handleEnterClick:m}=w1(r),{arrowKls:p,headKls:y,rootKls:_,itemWrapperKls:C,itemContentKls:b,scopedContentId:D,scopedHeadId:x}=k1(r,{focusing:i,isActive:c,id:u});return s({isActive:c}),(M,F)=>(T(),j("div",{class:Y(a(_))},[z("div",{role:"tab","aria-expanded":a(c),"aria-controls":a(D),"aria-describedby":a(D)},[z("div",{id:a(x),class:Y(a(y)),role:"button",tabindex:M.disabled?-1:0,onClick:F[0]||(F[0]=(...L)=>a(h)&&a(h)(...L)),onKeypress:F[1]||(F[1]=pn(pt((...L)=>a(m)&&a(m)(...L),["stop","prevent"]),["space","enter"])),onFocus:F[2]||(F[2]=(...L)=>a(g)&&a(g)(...L)),onBlur:F[3]||(F[3]=L=>i.value=!1)},[Ft(M.$slots,"title",{},()=>[st(_e(M.title),1)]),W(a(Ze),{class:Y(a(p))},{default:fe(()=>[W(a(ea))]),_:1},8,["class"])],42,x1)],8,C1),W(a(Ed),null,{default:fe(()=>[dt(z("div",{id:a(D),class:Y(a(C)),role:"tabpanel","aria-hidden":!a(c),"aria-labelledby":a(x)},[z("div",{class:Y(a(b))},[Ft(M.$slots,"default")],2)],10,S1),[[hn,a(c)]])]),_:3})],2))}});var Md=St($1,[["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse/src/collapse-item.vue"]]);const N1=hi(g1,{CollapseItem:Md}),ir=Xl(Md);var Ad={exports:{}};(function(o,s){(function(r,i){o.exports=i()})(zt,function(){return function(r,i){var u=i.prototype,c=u.format;u.format=function(g){var h=this,m=this.$locale();if(!this.isValid())return c.bind(this)(g);var p=this.$utils(),y=(g||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(_){switch(_){case"Q":return Math.ceil((h.$M+1)/3);case"Do":return m.ordinal(h.$D);case"gggg":return h.weekYear();case"GGGG":return h.isoWeekYear();case"wo":return m.ordinal(h.week(),"W");case"w":case"ww":return p.s(h.week(),_==="w"?1:2,"0");case"W":case"WW":return p.s(h.isoWeek(),_==="W"?1:2,"0");case"k":case"kk":return p.s(String(h.$H===0?24:h.$H),_==="k"?1:2,"0");case"X":return Math.floor(h.$d.getTime()/1e3);case"x":return h.$d.getTime();case"z":return"["+h.offsetName()+"]";case"zzz":return"["+h.offsetName("long")+"]";default:return _}});return c.bind(this)(y)}}})})(Ad);var E1=Ad.exports;const M1=Pn(E1);var Td={exports:{}};(function(o,s){(function(r,i){o.exports=i()})(zt,function(){var r="week",i="year";return function(u,c,g){var h=c.prototype;h.week=function(m){if(m===void 0&&(m=null),m!==null)return this.add(7*(m-this.week()),"day");var p=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var y=g(this).startOf(i).add(1,i).date(p),_=g(this).endOf(r);if(y.isBefore(_))return 1}var C=g(this).startOf(i).date(p).startOf(r).subtract(1,"millisecond"),b=this.diff(C,r,!0);return b<0?g(this).startOf("week").week():Math.ceil(b)},h.weeks=function(m){return m===void 0&&(m=null),this.week(m)}}})})(Td);var A1=Td.exports;const T1=Pn(A1);var Id={exports:{}};(function(o,s){(function(r,i){o.exports=i()})(zt,function(){return function(r,i){i.prototype.weekYear=function(){var u=this.month(),c=this.week(),g=this.year();return c===1&&u===11?g+1:u===0&&c>=52?g-1:g}}})})(Id);var I1=Id.exports;const P1=Pn(I1);var Pd={exports:{}};(function(o,s){(function(r,i){o.exports=i()})(zt,function(){return function(r,i,u){i.prototype.dayOfYear=function(c){var g=Math.round((u(this).startOf("day")-u(this).startOf("year"))/864e5)+1;return c==null?g:this.add(c-g,"day")}}})})(Pd);var O1=Pd.exports;const V1=Pn(O1);var Od={exports:{}};(function(o,s){(function(r,i){o.exports=i()})(zt,function(){return function(r,i){i.prototype.isSameOrAfter=function(u,c){return this.isSame(u,c)||this.isAfter(u,c)}}})})(Od);var R1=Od.exports;const L1=Pn(R1);var Vd={exports:{}};(function(o,s){(function(r,i){o.exports=i()})(zt,function(){return function(r,i){i.prototype.isSameOrBefore=function(u,c){return this.isSame(u,c)||this.isBefore(u,c)}}})})(Vd);var B1=Vd.exports;const z1=Pn(B1),Jl=Symbol(),F1=yt({..._d,type:{type:He(String),default:"date"}}),U1=["date","dates","year","month","week","range"],Ql=yt({disabledDate:{type:He(Function)},date:{type:He(Object),required:!0},minDate:{type:He(Object)},maxDate:{type:He(Object)},parsedValue:{type:He([Object,Array])},rangeState:{type:He(Object),default:()=>({endDate:null,selecting:!1})}}),Rd=yt({type:{type:He(String),required:!0,values:m0}}),Ld=yt({unlinkPanels:Boolean,parsedValue:{type:He(Array)}}),Bd=o=>({type:String,values:U1,default:o}),K1=yt({...Rd,parsedValue:{type:He([Object,Array])},visible:{type:Boolean},format:{type:String,default:""}}),W1=yt({...Ql,cellClassName:{type:He(Function)},showWeekNumber:Boolean,selectionMode:Bd("date")}),Fl=o=>{if(!_t(o))return!1;const[s,r]=o;return Ee.isDayjs(s)&&Ee.isDayjs(r)&&s.isSameOrBefore(r)},zd=(o,{lang:s,unit:r,unlinkPanels:i})=>{let u;if(_t(o)){let[c,g]=o.map(h=>Ee(h).locale(s));return i||(g=c.add(1,r)),[c,g]}else o?u=Ee(o):u=Ee();return u=u.locale(s),[u,u.add(1,r)]},H1=(o,s,{columnIndexOffset:r,startDate:i,nextEndDate:u,now:c,unit:g,relativeDateGetter:h,setCellMetadata:m,setRowMetadata:p})=>{for(let y=0;y<o.row;y++){const _=s[y];for(let C=0;C<o.column;C++){let b=_[C+r];b||(b={row:y,column:C,type:"normal",inRange:!1,start:!1,end:!1});const D=y*o.column+C,x=h(D);b.dayjs=x,b.date=x.toDate(),b.timestamp=x.valueOf(),b.type="normal",b.inRange=!!(i&&x.isSameOrAfter(i,g)&&u&&x.isSameOrBefore(u,g))||!!(i&&x.isSameOrBefore(i,g)&&u&&x.isSameOrAfter(u,g)),i?.isSameOrAfter(u)?(b.start=!!u&&x.isSame(u,g),b.end=i&&x.isSame(i,g)):(b.start=!!i&&x.isSame(i,g),b.end=!!u&&x.isSame(u,g)),x.isSame(c,g)&&(b.type="today"),m?.(b,{rowIndex:y,columnIndex:C}),_[C+r]=b}p?.(_)}},Y1=yt({cell:{type:He(Object)}});var G1=Ye({name:"ElDatePickerCell",props:Y1,setup(o){const s=ot("date-table-cell"),{slots:r}=kt(Jl);return()=>{const{cell:i}=o;if(r.default){const u=r.default(i).filter(c=>c.patchFlag!==-2&&c.type.toString()!=="Symbol(Comment)");if(u.length)return u}return W("div",{class:s.b()},[W("span",{class:s.e("text")},[i?.text])])}}});const q1=["aria-label","onMousedown"],Z1={key:0,scope:"col"},X1=["aria-label"],J1=["aria-current","aria-selected","tabindex"],Q1=Ye({__name:"basic-date-table",props:W1,emits:["changerange","pick","select"],setup(o,{expose:s,emit:r}){const i=o,u=ot("date-table"),{t:c,lang:g}=vn(),h=ce(),m=ce(),p=ce(),y=ce(),_=ce([[],[],[],[],[],[]]);let C=!1;const b=i.date.$locale().weekStart||7,D=i.date.locale("en").localeData().weekdaysShort().map(V=>V.toLowerCase()),x=ue(()=>b>3?7-b:-b),M=ue(()=>{const V=i.date.startOf("month");return V.subtract(V.day()||7,"day")}),F=ue(()=>D.concat(D).slice(b,b+7)),L=ue(()=>cd(de.value).some(V=>V.isCurrent)),k=ue(()=>{const V=i.date.startOf("month"),ie=V.day()||7,ye=V.daysInMonth(),Ce=V.subtract(1,"month").daysInMonth();return{startOfMonthDay:ie,dateCountOfMonth:ye,dateCountOfLastMonth:Ce}}),G=ue(()=>i.selectionMode==="dates"?mr(i.parsedValue):[]),ne=(V,{count:ie,rowIndex:ye,columnIndex:Ce})=>{const{startOfMonthDay:Se,dateCountOfMonth:We,dateCountOfLastMonth:Ae}=a(k),Te=a(x);if(ye>=0&&ye<=1){const Pe=Se+Te<0?7+Se+Te:Se+Te;if(Ce+ye*7>=Pe)return V.text=ie,!0;V.text=Ae-(Pe-Ce%7)+1+ye*7,V.type="prev-month"}else return ie<=We?V.text=ie:(V.text=ie-We,V.type="next-month"),!0;return!1},re=(V,{columnIndex:ie,rowIndex:ye},Ce)=>{const{disabledDate:Se,cellClassName:We}=i,Ae=a(G),Te=ne(V,{count:Ce,rowIndex:ye,columnIndex:ie}),Pe=V.dayjs.toDate();return V.selected=Ae.find(ct=>ct.valueOf()===V.dayjs.valueOf()),V.isSelected=!!V.selected,V.isCurrent=ge(V),V.disabled=Se?.(Pe),V.customClass=We?.(Pe),Te},oe=V=>{if(i.selectionMode==="week"){const[ie,ye]=i.showWeekNumber?[1,7]:[0,6],Ce=J(V[ie+1]);V[ie].inRange=Ce,V[ie].start=Ce,V[ye].inRange=Ce,V[ye].end=Ce}},de=ue(()=>{const{minDate:V,maxDate:ie,rangeState:ye,showWeekNumber:Ce}=i,Se=x.value,We=_.value,Ae="day";let Te=1;if(Ce)for(let Pe=0;Pe<6;Pe++)We[Pe][0]||(We[Pe][0]={type:"week",text:M.value.add(Pe*7+1,Ae).week()});return H1({row:6,column:7},We,{startDate:V,columnIndexOffset:Ce?1:0,nextEndDate:ye.endDate||ie||ye.selecting&&V||null,now:Ee().locale(a(g)).startOf(Ae),unit:Ae,relativeDateGetter:Pe=>M.value.add(Pe-Se,Ae),setCellMetadata:(...Pe)=>{re(...Pe,Te)&&(Te+=1)},setRowMetadata:oe}),We});nt(()=>i.date,async()=>{var V,ie;(V=h.value)!=null&&V.contains(document.activeElement)&&(await At(),(ie=m.value)==null||ie.focus())});const Z=async()=>{var V;(V=m.value)==null||V.focus()},ae=(V="")=>["normal","today"].includes(V),ge=V=>i.selectionMode==="date"&&ae(V.type)&&pe(V,i.parsedValue),pe=(V,ie)=>ie?Ee(ie).locale(g.value).isSame(i.date.date(Number(V.text)),"day"):!1,N=V=>{const ie=[];return ae(V.type)&&!V.disabled?(ie.push("available"),V.type==="today"&&ie.push("today")):ie.push(V.type),ge(V)&&ie.push("current"),V.inRange&&(ae(V.type)||i.selectionMode==="week")&&(ie.push("in-range"),V.start&&ie.push("start-date"),V.end&&ie.push("end-date")),V.disabled&&ie.push("disabled"),V.selected&&ie.push("selected"),V.customClass&&ie.push(V.customClass),ie.join(" ")},A=(V,ie)=>{const ye=V*7+(ie-(i.showWeekNumber?1:0))-x.value;return M.value.add(ye,"day")},B=V=>{var ie;if(!i.rangeState.selecting)return;let ye=V.target;if(ye.tagName==="SPAN"&&(ye=(ie=ye.parentNode)==null?void 0:ie.parentNode),ye.tagName==="DIV"&&(ye=ye.parentNode),ye.tagName!=="TD")return;const Ce=ye.parentNode.rowIndex-1,Se=ye.cellIndex;de.value[Ce][Se].disabled||(Ce!==p.value||Se!==y.value)&&(p.value=Ce,y.value=Se,r("changerange",{selecting:!0,endDate:A(Ce,Se)}))},X=V=>!L.value&&V?.text===1&&V.type==="normal"||V.isCurrent,S=V=>{C||L.value||i.selectionMode!=="date"||U(V,!0)},R=V=>{V.target.closest("td")&&(C=!0)},E=V=>{V.target.closest("td")&&(C=!1)},U=(V,ie=!1)=>{const ye=V.target.closest("td");if(!ye)return;const Ce=ye.parentNode.rowIndex-1,Se=ye.cellIndex,We=de.value[Ce][Se];if(We.disabled||We.type==="week")return;const Ae=A(Ce,Se);if(i.selectionMode==="range")!i.rangeState.selecting||!i.minDate?(r("pick",{minDate:Ae,maxDate:null}),r("select",!0)):(Ae>=i.minDate?r("pick",{minDate:i.minDate,maxDate:Ae}):r("pick",{minDate:Ae,maxDate:i.minDate}),r("select",!1));else if(i.selectionMode==="date")r("pick",Ae,ie);else if(i.selectionMode==="week"){const Te=Ae.week(),Pe=`${Ae.year()}w${Te}`;r("pick",{year:Ae.year(),week:Te,value:Pe,date:Ae.startOf("week")})}else if(i.selectionMode==="dates"){const Te=We.selected?mr(i.parsedValue).filter(Pe=>Pe?.valueOf()!==Ae.valueOf()):mr(i.parsedValue).concat([Ae]);r("pick",Te)}},J=V=>{if(i.selectionMode!=="week")return!1;let ie=i.date.startOf("day");if(V.type==="prev-month"&&(ie=ie.subtract(1,"month")),V.type==="next-month"&&(ie=ie.add(1,"month")),ie=ie.date(Number.parseInt(V.text,10)),i.parsedValue&&!Array.isArray(i.parsedValue)){const ye=(i.parsedValue.day()-b+7)%7-1;return i.parsedValue.subtract(ye,"day").isSame(ie,"day")}return!1};return s({focus:Z}),(V,ie)=>(T(),j("table",{role:"grid","aria-label":a(c)("el.datepicker.dateTablePrompt"),cellspacing:"0",cellpadding:"0",class:Y([a(u).b(),{"is-week-mode":V.selectionMode==="week"}]),onClick:U,onMousemove:B,onMousedown:pt(R,["prevent"]),onMouseup:E},[z("tbody",{ref_key:"tbodyRef",ref:h},[z("tr",null,[V.showWeekNumber?(T(),j("th",Z1,_e(a(c)("el.datepicker.week")),1)):ke("v-if",!0),(T(!0),j(Le,null,et(a(F),(ye,Ce)=>(T(),j("th",{key:Ce,scope:"col","aria-label":a(c)("el.datepicker.weeksFull."+ye)},_e(a(c)("el.datepicker.weeks."+ye)),9,X1))),128))]),(T(!0),j(Le,null,et(a(de),(ye,Ce)=>(T(),j("tr",{key:Ce,class:Y([a(u).e("row"),{current:J(ye[1])}])},[(T(!0),j(Le,null,et(ye,(Se,We)=>(T(),j("td",{key:`${Ce}.${We}`,ref_for:!0,ref:Ae=>X(Se)&&(m.value=Ae),class:Y(N(Se)),"aria-current":Se.isCurrent?"date":void 0,"aria-selected":Se.isCurrent,tabindex:X(Se)?0:-1,onFocus:S},[W(a(G1),{cell:Se},null,8,["cell"])],42,J1))),128))],2))),128))],512)],42,q1))}});var Ul=St(Q1,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-date-table.vue"]]);const j1=yt({...Ql,selectionMode:Bd("month")}),ew=["aria-label"],tw=["aria-selected","aria-label","tabindex","onKeydown"],nw={class:"cell"},rw=Ye({__name:"basic-month-table",props:j1,emits:["changerange","pick","select"],setup(o,{expose:s,emit:r}){const i=o,u=(G,ne,re)=>{const oe=Ee().locale(re).startOf("month").month(ne).year(G),de=oe.daysInMonth();return vd(de).map(Z=>oe.add(Z,"day").toDate())},c=ot("month-table"),{t:g,lang:h}=vn(),m=ce(),p=ce(),y=ce(i.date.locale("en").localeData().monthsShort().map(G=>G.toLowerCase())),_=ce([[],[],[]]),C=ce(),b=ce(),D=ue(()=>{var G,ne;const re=_.value,oe=Ee().locale(h.value).startOf("month");for(let de=0;de<3;de++){const Z=re[de];for(let ae=0;ae<4;ae++){const ge=Z[ae]||(Z[ae]={row:de,column:ae,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1});ge.type="normal";const pe=de*4+ae,N=i.date.startOf("year").month(pe),A=i.rangeState.endDate||i.maxDate||i.rangeState.selecting&&i.minDate||null;ge.inRange=!!(i.minDate&&N.isSameOrAfter(i.minDate,"month")&&A&&N.isSameOrBefore(A,"month"))||!!(i.minDate&&N.isSameOrBefore(i.minDate,"month")&&A&&N.isSameOrAfter(A,"month")),(G=i.minDate)!=null&&G.isSameOrAfter(A)?(ge.start=!!(A&&N.isSame(A,"month")),ge.end=i.minDate&&N.isSame(i.minDate,"month")):(ge.start=!!(i.minDate&&N.isSame(i.minDate,"month")),ge.end=!!(A&&N.isSame(A,"month"))),oe.isSame(N)&&(ge.type="today"),ge.text=pe,ge.disabled=((ne=i.disabledDate)==null?void 0:ne.call(i,N.toDate()))||!1}}return re}),x=()=>{var G;(G=p.value)==null||G.focus()},M=G=>{const ne={},re=i.date.year(),oe=new Date,de=G.text;return ne.disabled=i.disabledDate?u(re,de,h.value).every(i.disabledDate):!1,ne.current=mr(i.parsedValue).findIndex(Z=>Ee.isDayjs(Z)&&Z.year()===re&&Z.month()===de)>=0,ne.today=oe.getFullYear()===re&&oe.getMonth()===de,G.inRange&&(ne["in-range"]=!0,G.start&&(ne["start-date"]=!0),G.end&&(ne["end-date"]=!0)),ne},F=G=>{const ne=i.date.year(),re=G.text;return mr(i.date).findIndex(oe=>oe.year()===ne&&oe.month()===re)>=0},L=G=>{var ne;if(!i.rangeState.selecting)return;let re=G.target;if(re.tagName==="A"&&(re=(ne=re.parentNode)==null?void 0:ne.parentNode),re.tagName==="DIV"&&(re=re.parentNode),re.tagName!=="TD")return;const oe=re.parentNode.rowIndex,de=re.cellIndex;D.value[oe][de].disabled||(oe!==C.value||de!==b.value)&&(C.value=oe,b.value=de,r("changerange",{selecting:!0,endDate:i.date.startOf("year").month(oe*4+de)}))},k=G=>{var ne;const re=(ne=G.target)==null?void 0:ne.closest("td");if(re?.tagName!=="TD"||od(re,"disabled"))return;const oe=re.cellIndex,Z=re.parentNode.rowIndex*4+oe,ae=i.date.startOf("year").month(Z);i.selectionMode==="range"?i.rangeState.selecting?(i.minDate&&ae>=i.minDate?r("pick",{minDate:i.minDate,maxDate:ae}):r("pick",{minDate:ae,maxDate:i.minDate}),r("select",!1)):(r("pick",{minDate:ae,maxDate:null}),r("select",!0)):r("pick",Z)};return nt(()=>i.date,async()=>{var G,ne;(G=m.value)!=null&&G.contains(document.activeElement)&&(await At(),(ne=p.value)==null||ne.focus())}),s({focus:x}),(G,ne)=>(T(),j("table",{role:"grid","aria-label":a(g)("el.datepicker.monthTablePrompt"),class:Y(a(c).b()),onClick:k,onMousemove:L},[z("tbody",{ref_key:"tbodyRef",ref:m},[(T(!0),j(Le,null,et(a(D),(re,oe)=>(T(),j("tr",{key:oe},[(T(!0),j(Le,null,et(re,(de,Z)=>(T(),j("td",{key:Z,ref_for:!0,ref:ae=>F(de)&&(p.value=ae),class:Y(M(de)),"aria-selected":`${F(de)}`,"aria-label":a(g)(`el.datepicker.month${+de.text+1}`),tabindex:F(de)?0:-1,onKeydown:[pn(pt(k,["prevent","stop"]),["space"]),pn(pt(k,["prevent","stop"]),["enter"])]},[z("div",null,[z("span",nw,_e(a(g)("el.datepicker.months."+y.value[de.text])),1)])],42,tw))),128))]))),128))],512)],42,ew))}});var Kl=St(rw,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-month-table.vue"]]);const{date:aw,disabledDate:iw,parsedValue:lw}=Ql,sw=yt({date:aw,disabledDate:iw,parsedValue:lw}),ow=["aria-label"],uw=["aria-selected","tabindex","onKeydown"],dw={class:"cell"},cw={key:1},fw=Ye({__name:"basic-year-table",props:sw,emits:["pick"],setup(o,{expose:s,emit:r}){const i=o,u=(x,M)=>{const F=Ee(String(x)).locale(M).startOf("year"),k=F.endOf("year").dayOfYear();return vd(k).map(G=>F.add(G,"day").toDate())},c=ot("year-table"),{t:g,lang:h}=vn(),m=ce(),p=ce(),y=ue(()=>Math.floor(i.date.year()/10)*10),_=()=>{var x;(x=p.value)==null||x.focus()},C=x=>{const M={},F=Ee().locale(h.value);return M.disabled=i.disabledDate?u(x,h.value).every(i.disabledDate):!1,M.current=mr(i.parsedValue).findIndex(L=>L.year()===x)>=0,M.today=F.year()===x,M},b=x=>x===y.value&&i.date.year()<y.value&&i.date.year()>y.value+9||mr(i.date).findIndex(M=>M.year()===x)>=0,D=x=>{const F=x.target.closest("td");if(F&&F.textContent){if(od(F,"disabled"))return;const L=F.textContent||F.innerText;r("pick",Number(L))}};return nt(()=>i.date,async()=>{var x,M;(x=m.value)!=null&&x.contains(document.activeElement)&&(await At(),(M=p.value)==null||M.focus())}),s({focus:_}),(x,M)=>(T(),j("table",{role:"grid","aria-label":a(g)("el.datepicker.yearTablePrompt"),class:Y(a(c).b()),onClick:D},[z("tbody",{ref_key:"tbodyRef",ref:m},[(T(),j(Le,null,et(3,(F,L)=>z("tr",{key:L},[(T(),j(Le,null,et(4,(k,G)=>(T(),j(Le,{key:L+"_"+G},[L*4+G<10?(T(),j("td",{key:0,ref_for:!0,ref:ne=>b(a(y)+L*4+G)&&(p.value=ne),class:Y(["available",C(a(y)+L*4+G)]),"aria-selected":`${b(a(y)+L*4+G)}`,tabindex:b(a(y)+L*4+G)?0:-1,onKeydown:[pn(pt(D,["prevent","stop"]),["space"]),pn(pt(D,["prevent","stop"]),["enter"])]},[z("span",dw,_e(a(y)+L*4+G),1)],42,uw)):(T(),j("td",cw))],64))),64))])),64))],512)],10,ow))}});var hw=St(fw,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-year-table.vue"]]);const pw=["onClick"],vw=["aria-label"],mw=["aria-label"],gw=["aria-label"],bw=["aria-label"],_w=Ye({__name:"panel-date-pick",props:K1,emits:["pick","set-picker-option","panel-change"],setup(o,{emit:s}){const r=o,i=(Q,ve,Me)=>!0,u=ot("picker-panel"),c=ot("date-picker"),g=Zl(),h=sa(),{t:m,lang:p}=vn(),y=kt("EP_PICKER_BASE"),_=kt(Ey),{shortcuts:C,disabledDate:b,cellClassName:D,defaultTime:x,arrowControl:M}=y.props,F=br(y.props,"defaultValue"),L=ce(),k=ce(Ee().locale(p.value)),G=ce(!1),ne=ue(()=>Ee(x).locale(p.value)),re=ue(()=>k.value.month()),oe=ue(()=>k.value.year()),de=ce([]),Z=ce(null),ae=ce(null),ge=Q=>de.value.length>0?i(Q,de.value,r.format||"HH:mm:ss"):!0,pe=Q=>x&&!Xe.value&&!G.value?ne.value.year(Q.year()).month(Q.month()).date(Q.date()):Se.value?Q.millisecond(0):Q.startOf("day"),N=(Q,...ve)=>{if(!Q)s("pick",Q,...ve);else if(_t(Q)){const Me=Q.map(pe);s("pick",Me,...ve)}else s("pick",pe(Q),...ve);Z.value=null,ae.value=null,G.value=!1},A=(Q,ve)=>{if(U.value==="date"){Q=Q;let Me=r.parsedValue?r.parsedValue.year(Q.year()).month(Q.month()).date(Q.date()):Q;ge(Me)||(Me=de.value[0][0].year(Q.year()).month(Q.month()).date(Q.date())),k.value=Me,N(Me,Se.value||ve)}else U.value==="week"?N(Q.date):U.value==="dates"&&N(Q,!0)},B=Q=>{const ve=Q?"add":"subtract";k.value=k.value[ve](1,"month"),Ge("month")},X=Q=>{const ve=k.value,Me=Q?"add":"subtract";k.value=S.value==="year"?ve[Me](10,"year"):ve[Me](1,"year"),Ge("year")},S=ce("date"),R=ue(()=>{const Q=m("el.datepicker.year");if(S.value==="year"){const ve=Math.floor(oe.value/10)*10;return Q?`${ve} ${Q} - ${ve+9} ${Q}`:`${ve} - ${ve+9}`}return`${oe.value} ${Q}`}),E=Q=>{const ve=Rr(Q.value)?Q.value():Q.value;if(ve){N(Ee(ve).locale(p.value));return}Q.onClick&&Q.onClick({attrs:g,slots:h,emit:s})},U=ue(()=>{const{type:Q}=r;return["week","month","year","dates"].includes(Q)?Q:"date"}),J=ue(()=>U.value==="date"?S.value:U.value),V=ue(()=>!!C.length),ie=async Q=>{k.value=k.value.startOf("month").month(Q),U.value==="month"?N(k.value,!1):(S.value="date",["month","year","date","week"].includes(U.value)&&(N(k.value,!0),await At(),Vt())),Ge("month")},ye=async Q=>{U.value==="year"?(k.value=k.value.startOf("year").year(Q),N(k.value,!1)):(k.value=k.value.year(Q),S.value="month",["month","year","date","week"].includes(U.value)&&(N(k.value,!0),await At(),Vt())),Ge("year")},Ce=async Q=>{S.value=Q,await At(),Vt()},Se=ue(()=>r.type==="datetime"||r.type==="datetimerange"),We=ue(()=>Se.value||U.value==="dates"),Ae=()=>{if(U.value==="dates")N(r.parsedValue);else{let Q=r.parsedValue;if(!Q){const ve=Ee(x).locale(p.value),Me=En();Q=ve.year(Me.year()).month(Me.month()).date(Me.date())}k.value=Q,N(Q)}},Te=()=>{const ve=Ee().locale(p.value).toDate();G.value=!0,(!b||!b(ve))&&ge(ve)&&(k.value=Ee().locale(p.value),N(k.value))},Pe=ue(()=>gd(r.format)),ct=ue(()=>md(r.format)),Xe=ue(()=>{if(ae.value)return ae.value;if(!(!r.parsedValue&&!F.value))return(r.parsedValue||k.value).format(Pe.value)}),Dt=ue(()=>{if(Z.value)return Z.value;if(!(!r.parsedValue&&!F.value))return(r.parsedValue||k.value).format(ct.value)}),Je=ce(!1),Pt=()=>{Je.value=!0},tn=()=>{Je.value=!1},Ie=Q=>({hour:Q.hour(),minute:Q.minute(),second:Q.second(),year:Q.year(),month:Q.month(),date:Q.date()}),mn=(Q,ve,Me)=>{const{hour:P,minute:H,second:se}=Ie(Q),he=r.parsedValue?r.parsedValue.hour(P).minute(H).second(se):Q;k.value=he,N(k.value,!0),Me||(Je.value=ve)},Ot=Q=>{const ve=Ee(Q,Pe.value).locale(p.value);if(ve.isValid()&&ge(ve)){const{year:Me,month:P,date:H}=Ie(k.value);k.value=ve.year(Me).month(P).date(H),ae.value=null,Je.value=!1,N(k.value,!0)}},$t=Q=>{const ve=Ee(Q,ct.value).locale(p.value);if(ve.isValid()){if(b&&b(ve.toDate()))return;const{hour:Me,minute:P,second:H}=Ie(k.value);k.value=ve.hour(Me).minute(P).second(H),Z.value=null,N(k.value,!0)}},wt=Q=>Ee.isDayjs(Q)&&Q.isValid()&&(b?!b(Q.toDate()):!0),nn=Q=>U.value==="dates"?Q.map(ve=>ve.format(r.format)):Q.format(r.format),gn=Q=>Ee(Q,r.format).locale(p.value),En=()=>{const Q=Ee(F.value).locale(p.value);if(!F.value){const ve=ne.value;return Ee().hour(ve.hour()).minute(ve.minute()).second(ve.second()).locale(p.value)}return Q},Vt=async()=>{var Q;["week","month","year","date"].includes(U.value)&&((Q=L.value)==null||Q.focus(),U.value==="week"&&rn(at.down))},Wn=Q=>{const{code:ve}=Q;[at.up,at.down,at.left,at.right,at.home,at.end,at.pageUp,at.pageDown].includes(ve)&&(rn(ve),Q.stopPropagation(),Q.preventDefault()),[at.enter,at.space,at.numpadEnter].includes(ve)&&Z.value===null&&ae.value===null&&(Q.preventDefault(),N(k.value,!1))},rn=Q=>{var ve;const{up:Me,down:P,left:H,right:se,home:he,end:ft,pageUp:bn,pageDown:Hn}=at,vi={year:{[Me]:-4,[P]:4,[H]:-1,[se]:1,offset:(Qe,Gt)=>Qe.setFullYear(Qe.getFullYear()+Gt)},month:{[Me]:-4,[P]:4,[H]:-1,[se]:1,offset:(Qe,Gt)=>Qe.setMonth(Qe.getMonth()+Gt)},week:{[Me]:-1,[P]:1,[H]:-1,[se]:1,offset:(Qe,Gt)=>Qe.setDate(Qe.getDate()+Gt*7)},date:{[Me]:-7,[P]:7,[H]:-1,[se]:1,[he]:Qe=>-Qe.getDay(),[ft]:Qe=>-Qe.getDay()+6,[bn]:Qe=>-new Date(Qe.getFullYear(),Qe.getMonth(),0).getDate(),[Hn]:Qe=>new Date(Qe.getFullYear(),Qe.getMonth()+1,0).getDate(),offset:(Qe,Gt)=>Qe.setDate(Qe.getDate()+Gt)}},lr=k.value.toDate();for(;Math.abs(k.value.diff(lr,"year",!0))<1;){const Qe=vi[J.value];if(!Qe)return;if(Qe.offset(lr,Rr(Qe[Q])?Qe[Q](lr):(ve=Qe[Q])!=null?ve:0),b&&b(lr))break;const Gt=Ee(lr).locale(p.value);k.value=Gt,s("pick",Gt,!0);break}},Ge=Q=>{s("panel-change",k.value.toDate(),Q,S.value)};return nt(()=>U.value,Q=>{if(["month","year"].includes(Q)){S.value=Q;return}S.value="date"},{immediate:!0}),nt(()=>S.value,()=>{_?.updatePopper()}),nt(()=>F.value,Q=>{Q&&(k.value=En())},{immediate:!0}),nt(()=>r.parsedValue,Q=>{if(Q){if(U.value==="dates"||Array.isArray(Q))return;k.value=Q}else k.value=En()},{immediate:!0}),s("set-picker-option",["isValidValue",wt]),s("set-picker-option",["formatToString",nn]),s("set-picker-option",["parseUserInput",gn]),s("set-picker-option",["handleFocusPicker",Vt]),(Q,ve)=>(T(),j("div",{class:Y([a(u).b(),a(c).b(),{"has-sidebar":Q.$slots.sidebar||a(V),"has-time":a(Se)}])},[z("div",{class:Y(a(u).e("body-wrapper"))},[Ft(Q.$slots,"sidebar",{class:Y(a(u).e("sidebar"))}),a(V)?(T(),j("div",{key:0,class:Y(a(u).e("sidebar"))},[(T(!0),j(Le,null,et(a(C),(Me,P)=>(T(),j("button",{key:P,type:"button",class:Y(a(u).e("shortcut")),onClick:H=>E(Me)},_e(Me.text),11,pw))),128))],2)):ke("v-if",!0),z("div",{class:Y(a(u).e("body"))},[a(Se)?(T(),j("div",{key:0,class:Y(a(c).e("time-header"))},[z("span",{class:Y(a(c).e("editor-wrap"))},[W(a(mt),{placeholder:a(m)("el.datepicker.selectDate"),"model-value":a(Dt),size:"small","validate-event":!1,onInput:ve[0]||(ve[0]=Me=>Z.value=Me),onChange:$t},null,8,["placeholder","model-value"])],2),dt((T(),j("span",{class:Y(a(c).e("editor-wrap"))},[W(a(mt),{placeholder:a(m)("el.datepicker.selectTime"),"model-value":a(Xe),size:"small","validate-event":!1,onFocus:Pt,onInput:ve[1]||(ve[1]=Me=>ae.value=Me),onChange:Ot},null,8,["placeholder","model-value"]),W(a(zl),{visible:Je.value,format:a(Pe),"time-arrow-control":a(M),"parsed-value":k.value,onPick:mn},null,8,["visible","format","time-arrow-control","parsed-value"])],2)),[[a(Rl),tn]])],2)):ke("v-if",!0),dt(z("div",{class:Y([a(c).e("header"),(S.value==="year"||S.value==="month")&&a(c).e("header--bordered")])},[z("span",{class:Y(a(c).e("prev-btn"))},[z("button",{type:"button","aria-label":a(m)("el.datepicker.prevYear"),class:Y(["d-arrow-left",a(u).e("icon-btn")]),onClick:ve[2]||(ve[2]=Me=>X(!1))},[W(a(Ze),null,{default:fe(()=>[W(a(ia))]),_:1})],10,vw),dt(z("button",{type:"button","aria-label":a(m)("el.datepicker.prevMonth"),class:Y([a(u).e("icon-btn"),"arrow-left"]),onClick:ve[3]||(ve[3]=Me=>B(!1))},[W(a(Ze),null,{default:fe(()=>[W(a(Ll))]),_:1})],10,mw),[[hn,S.value==="date"]])],2),z("span",{role:"button",class:Y(a(c).e("header-label")),"aria-live":"polite",tabindex:"0",onKeydown:ve[4]||(ve[4]=pn(Me=>Ce("year"),["enter"])),onClick:ve[5]||(ve[5]=Me=>Ce("year"))},_e(a(R)),35),dt(z("span",{role:"button","aria-live":"polite",tabindex:"0",class:Y([a(c).e("header-label"),{active:S.value==="month"}]),onKeydown:ve[6]||(ve[6]=pn(Me=>Ce("month"),["enter"])),onClick:ve[7]||(ve[7]=Me=>Ce("month"))},_e(a(m)(`el.datepicker.month${a(re)+1}`)),35),[[hn,S.value==="date"]]),z("span",{class:Y(a(c).e("next-btn"))},[dt(z("button",{type:"button","aria-label":a(m)("el.datepicker.nextMonth"),class:Y([a(u).e("icon-btn"),"arrow-right"]),onClick:ve[8]||(ve[8]=Me=>B(!0))},[W(a(Ze),null,{default:fe(()=>[W(a(ea))]),_:1})],10,gw),[[hn,S.value==="date"]]),z("button",{type:"button","aria-label":a(m)("el.datepicker.nextYear"),class:Y([a(u).e("icon-btn"),"d-arrow-right"]),onClick:ve[9]||(ve[9]=Me=>X(!0))},[W(a(Ze),null,{default:fe(()=>[W(a(la))]),_:1})],10,bw)],2)],2),[[hn,S.value!=="time"]]),z("div",{class:Y(a(u).e("content")),onKeydown:Wn},[S.value==="date"?(T(),be(Ul,{key:0,ref_key:"currentViewRef",ref:L,"selection-mode":a(U),date:k.value,"parsed-value":Q.parsedValue,"disabled-date":a(b),"cell-class-name":a(D),onPick:A},null,8,["selection-mode","date","parsed-value","disabled-date","cell-class-name"])):ke("v-if",!0),S.value==="year"?(T(),be(hw,{key:1,ref_key:"currentViewRef",ref:L,date:k.value,"disabled-date":a(b),"parsed-value":Q.parsedValue,onPick:ye},null,8,["date","disabled-date","parsed-value"])):ke("v-if",!0),S.value==="month"?(T(),be(Kl,{key:2,ref_key:"currentViewRef",ref:L,date:k.value,"parsed-value":Q.parsedValue,"disabled-date":a(b),onPick:ie},null,8,["date","parsed-value","disabled-date"])):ke("v-if",!0)],34)],2)],2),dt(z("div",{class:Y(a(u).e("footer"))},[dt(W(a(Yt),{text:"",size:"small",class:Y(a(u).e("link-btn")),onClick:Te},{default:fe(()=>[st(_e(a(m)("el.datepicker.now")),1)]),_:1},8,["class"]),[[hn,a(U)!=="dates"]]),W(a(Yt),{plain:"",size:"small",class:Y(a(u).e("link-btn")),onClick:Ae},{default:fe(()=>[st(_e(a(m)("el.datepicker.confirm")),1)]),_:1},8,["class"])],2),[[hn,a(We)&&S.value==="date"]])],2))}});var yw=St(_w,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-date-pick.vue"]]);const ww=yt({...Rd,...Ld}),kw=o=>{const{emit:s}=_r(),r=Zl(),i=sa();return c=>{const g=Rr(c.value)?c.value():c.value;if(g){s("pick",[Ee(g[0]).locale(o.value),Ee(g[1]).locale(o.value)]);return}c.onClick&&c.onClick({attrs:r,slots:i,emit:s})}},Fd=(o,{defaultValue:s,leftDate:r,rightDate:i,unit:u,onParsedValueChanged:c})=>{const{emit:g}=_r(),{pickerNs:h}=kt(Jl),m=ot("date-range-picker"),{t:p,lang:y}=vn(),_=kw(y),C=ce(),b=ce(),D=ce({endDate:null,selecting:!1}),x=k=>{D.value=k},M=(k=!1)=>{const G=a(C),ne=a(b);Fl([G,ne])&&g("pick",[G,ne],k)},F=k=>{D.value.selecting=k,k||(D.value.endDate=null)},L=()=>{const[k,G]=zd(a(s),{lang:a(y),unit:u,unlinkPanels:o.unlinkPanels});C.value=void 0,b.value=void 0,r.value=k,i.value=G};return nt(s,k=>{k&&L()},{immediate:!0}),nt(()=>o.parsedValue,k=>{if(_t(k)&&k.length===2){const[G,ne]=k;C.value=G,r.value=G,b.value=ne,c(a(C),a(b))}else L()},{immediate:!0}),{minDate:C,maxDate:b,rangeState:D,lang:y,ppNs:h,drpNs:m,handleChangeRange:x,handleRangeConfirm:M,handleShortcutClick:_,onSelect:F,t:p}},Cw=["onClick"],xw=["disabled"],Sw=["disabled"],Dw=["disabled"],$w=["disabled"],Qa="month",Nw=Ye({__name:"panel-date-range",props:ww,emits:["pick","set-picker-option","calendar-change","panel-change"],setup(o,{emit:s}){const r=o,i=kt("EP_PICKER_BASE"),{disabledDate:u,cellClassName:c,format:g,defaultTime:h,arrowControl:m,clearable:p}=i.props,y=br(i.props,"shortcuts"),_=br(i.props,"defaultValue"),{lang:C}=vn(),b=ce(Ee().locale(C.value)),D=ce(Ee().locale(C.value).add(1,Qa)),{minDate:x,maxDate:M,rangeState:F,ppNs:L,drpNs:k,handleChangeRange:G,handleRangeConfirm:ne,handleShortcutClick:re,onSelect:oe,t:de}=Fd(r,{defaultValue:_,leftDate:b,rightDate:D,unit:Qa,onParsedValueChanged:P}),Z=ce({min:null,max:null}),ae=ce({min:null,max:null}),ge=ue(()=>`${b.value.year()} ${de("el.datepicker.year")} ${de(`el.datepicker.month${b.value.month()+1}`)}`),pe=ue(()=>`${D.value.year()} ${de("el.datepicker.year")} ${de(`el.datepicker.month${D.value.month()+1}`)}`),N=ue(()=>b.value.year()),A=ue(()=>b.value.month()),B=ue(()=>D.value.year()),X=ue(()=>D.value.month()),S=ue(()=>!!y.value.length),R=ue(()=>Z.value.min!==null?Z.value.min:x.value?x.value.format(ie.value):""),E=ue(()=>Z.value.max!==null?Z.value.max:M.value||x.value?(M.value||x.value).format(ie.value):""),U=ue(()=>ae.value.min!==null?ae.value.min:x.value?x.value.format(V.value):""),J=ue(()=>ae.value.max!==null?ae.value.max:M.value||x.value?(M.value||x.value).format(V.value):""),V=ue(()=>gd(g)),ie=ue(()=>md(g)),ye=()=>{b.value=b.value.subtract(1,"year"),r.unlinkPanels||(D.value=b.value.add(1,"month")),Xe("year")},Ce=()=>{b.value=b.value.subtract(1,"month"),r.unlinkPanels||(D.value=b.value.add(1,"month")),Xe("month")},Se=()=>{r.unlinkPanels?D.value=D.value.add(1,"year"):(b.value=b.value.add(1,"year"),D.value=b.value.add(1,"month")),Xe("year")},We=()=>{r.unlinkPanels?D.value=D.value.add(1,"month"):(b.value=b.value.add(1,"month"),D.value=b.value.add(1,"month")),Xe("month")},Ae=()=>{b.value=b.value.add(1,"year"),Xe("year")},Te=()=>{b.value=b.value.add(1,"month"),Xe("month")},Pe=()=>{D.value=D.value.subtract(1,"year"),Xe("year")},ct=()=>{D.value=D.value.subtract(1,"month"),Xe("month")},Xe=H=>{s("panel-change",[b.value.toDate(),D.value.toDate()],H)},Dt=ue(()=>{const H=(A.value+1)%12,se=A.value+1>=12?1:0;return r.unlinkPanels&&new Date(N.value+se,H)<new Date(B.value,X.value)}),Je=ue(()=>r.unlinkPanels&&B.value*12+X.value-(N.value*12+A.value+1)>=12),Pt=ue(()=>!(x.value&&M.value&&!F.value.selecting&&Fl([x.value,M.value]))),tn=ue(()=>r.type==="datetime"||r.type==="datetimerange"),Ie=(H,se)=>{if(H)return h?Ee(h[se]||h).locale(C.value).year(H.year()).month(H.month()).date(H.date()):H},mn=(H,se=!0)=>{const he=H.minDate,ft=H.maxDate,bn=Ie(he,0),Hn=Ie(ft,1);M.value===Hn&&x.value===bn||(s("calendar-change",[he.toDate(),ft&&ft.toDate()]),M.value=Hn,x.value=bn,!(!se||tn.value)&&ne())},Ot=ce(!1),$t=ce(!1),wt=()=>{Ot.value=!1},nn=()=>{$t.value=!1},gn=(H,se)=>{Z.value[se]=H;const he=Ee(H,ie.value).locale(C.value);if(he.isValid()){if(u&&u(he.toDate()))return;se==="min"?(b.value=he,x.value=(x.value||b.value).year(he.year()).month(he.month()).date(he.date()),r.unlinkPanels||(D.value=he.add(1,"month"),M.value=x.value.add(1,"month"))):(D.value=he,M.value=(M.value||D.value).year(he.year()).month(he.month()).date(he.date()),r.unlinkPanels||(b.value=he.subtract(1,"month"),x.value=M.value.subtract(1,"month")))}},En=(H,se)=>{Z.value[se]=null},Vt=(H,se)=>{ae.value[se]=H;const he=Ee(H,V.value).locale(C.value);he.isValid()&&(se==="min"?(Ot.value=!0,x.value=(x.value||b.value).hour(he.hour()).minute(he.minute()).second(he.second()),(!M.value||M.value.isBefore(x.value))&&(M.value=x.value)):($t.value=!0,M.value=(M.value||D.value).hour(he.hour()).minute(he.minute()).second(he.second()),D.value=M.value,M.value&&M.value.isBefore(x.value)&&(x.value=M.value)))},Wn=(H,se)=>{ae.value[se]=null,se==="min"?(b.value=x.value,Ot.value=!1):(D.value=M.value,$t.value=!1)},rn=(H,se,he)=>{ae.value.min||(H&&(b.value=H,x.value=(x.value||b.value).hour(H.hour()).minute(H.minute()).second(H.second())),he||(Ot.value=se),(!M.value||M.value.isBefore(x.value))&&(M.value=x.value,D.value=H))},Ge=(H,se,he)=>{ae.value.max||(H&&(D.value=H,M.value=(M.value||D.value).hour(H.hour()).minute(H.minute()).second(H.second())),he||($t.value=se),M.value&&M.value.isBefore(x.value)&&(x.value=M.value))},Q=()=>{b.value=zd(a(_),{lang:a(C),unit:"month",unlinkPanels:r.unlinkPanels})[0],D.value=b.value.add(1,"month"),s("pick",null)},ve=H=>_t(H)?H.map(se=>se.format(g)):H.format(g),Me=H=>_t(H)?H.map(se=>Ee(se,g).locale(C.value)):Ee(H,g).locale(C.value);function P(H,se){if(r.unlinkPanels&&se){const he=H?.year()||0,ft=H?.month()||0,bn=se.year(),Hn=se.month();D.value=he===bn&&ft===Hn?se.add(1,Qa):se}else D.value=b.value.add(1,Qa),se&&(D.value=D.value.hour(se.hour()).minute(se.minute()).second(se.second()))}return s("set-picker-option",["isValidValue",Fl]),s("set-picker-option",["parseUserInput",Me]),s("set-picker-option",["formatToString",ve]),s("set-picker-option",["handleClear",Q]),(H,se)=>(T(),j("div",{class:Y([a(L).b(),a(k).b(),{"has-sidebar":H.$slots.sidebar||a(S),"has-time":a(tn)}])},[z("div",{class:Y(a(L).e("body-wrapper"))},[Ft(H.$slots,"sidebar",{class:Y(a(L).e("sidebar"))}),a(S)?(T(),j("div",{key:0,class:Y(a(L).e("sidebar"))},[(T(!0),j(Le,null,et(a(y),(he,ft)=>(T(),j("button",{key:ft,type:"button",class:Y(a(L).e("shortcut")),onClick:bn=>a(re)(he)},_e(he.text),11,Cw))),128))],2)):ke("v-if",!0),z("div",{class:Y(a(L).e("body"))},[a(tn)?(T(),j("div",{key:0,class:Y(a(k).e("time-header"))},[z("span",{class:Y(a(k).e("editors-wrap"))},[z("span",{class:Y(a(k).e("time-picker-wrap"))},[W(a(mt),{size:"small",disabled:a(F).selecting,placeholder:a(de)("el.datepicker.startDate"),class:Y(a(k).e("editor")),"model-value":a(R),"validate-event":!1,onInput:se[0]||(se[0]=he=>gn(he,"min")),onChange:se[1]||(se[1]=he=>En(he,"min"))},null,8,["disabled","placeholder","class","model-value"])],2),dt((T(),j("span",{class:Y(a(k).e("time-picker-wrap"))},[W(a(mt),{size:"small",class:Y(a(k).e("editor")),disabled:a(F).selecting,placeholder:a(de)("el.datepicker.startTime"),"model-value":a(U),"validate-event":!1,onFocus:se[2]||(se[2]=he=>Ot.value=!0),onInput:se[3]||(se[3]=he=>Vt(he,"min")),onChange:se[4]||(se[4]=he=>Wn(he,"min"))},null,8,["class","disabled","placeholder","model-value"]),W(a(zl),{visible:Ot.value,format:a(V),"datetime-role":"start","time-arrow-control":a(m),"parsed-value":b.value,onPick:rn},null,8,["visible","format","time-arrow-control","parsed-value"])],2)),[[a(Rl),wt]])],2),z("span",null,[W(a(Ze),null,{default:fe(()=>[W(a(ea))]),_:1})]),z("span",{class:Y([a(k).e("editors-wrap"),"is-right"])},[z("span",{class:Y(a(k).e("time-picker-wrap"))},[W(a(mt),{size:"small",class:Y(a(k).e("editor")),disabled:a(F).selecting,placeholder:a(de)("el.datepicker.endDate"),"model-value":a(E),readonly:!a(x),"validate-event":!1,onInput:se[5]||(se[5]=he=>gn(he,"max")),onChange:se[6]||(se[6]=he=>En(he,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"])],2),dt((T(),j("span",{class:Y(a(k).e("time-picker-wrap"))},[W(a(mt),{size:"small",class:Y(a(k).e("editor")),disabled:a(F).selecting,placeholder:a(de)("el.datepicker.endTime"),"model-value":a(J),readonly:!a(x),"validate-event":!1,onFocus:se[7]||(se[7]=he=>a(x)&&($t.value=!0)),onInput:se[8]||(se[8]=he=>Vt(he,"max")),onChange:se[9]||(se[9]=he=>Wn(he,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"]),W(a(zl),{"datetime-role":"end",visible:$t.value,format:a(V),"time-arrow-control":a(m),"parsed-value":D.value,onPick:Ge},null,8,["visible","format","time-arrow-control","parsed-value"])],2)),[[a(Rl),nn]])],2)],2)):ke("v-if",!0),z("div",{class:Y([[a(L).e("content"),a(k).e("content")],"is-left"])},[z("div",{class:Y(a(k).e("header"))},[z("button",{type:"button",class:Y([a(L).e("icon-btn"),"d-arrow-left"]),onClick:ye},[W(a(Ze),null,{default:fe(()=>[W(a(ia))]),_:1})],2),z("button",{type:"button",class:Y([a(L).e("icon-btn"),"arrow-left"]),onClick:Ce},[W(a(Ze),null,{default:fe(()=>[W(a(Ll))]),_:1})],2),H.unlinkPanels?(T(),j("button",{key:0,type:"button",disabled:!a(Je),class:Y([[a(L).e("icon-btn"),{"is-disabled":!a(Je)}],"d-arrow-right"]),onClick:Ae},[W(a(Ze),null,{default:fe(()=>[W(a(la))]),_:1})],10,xw)):ke("v-if",!0),H.unlinkPanels?(T(),j("button",{key:1,type:"button",disabled:!a(Dt),class:Y([[a(L).e("icon-btn"),{"is-disabled":!a(Dt)}],"arrow-right"]),onClick:Te},[W(a(Ze),null,{default:fe(()=>[W(a(ea))]),_:1})],10,Sw)):ke("v-if",!0),z("div",null,_e(a(ge)),1)],2),W(Ul,{"selection-mode":"range",date:b.value,"min-date":a(x),"max-date":a(M),"range-state":a(F),"disabled-date":a(u),"cell-class-name":a(c),onChangerange:a(G),onPick:mn,onSelect:a(oe)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2),z("div",{class:Y([[a(L).e("content"),a(k).e("content")],"is-right"])},[z("div",{class:Y(a(k).e("header"))},[H.unlinkPanels?(T(),j("button",{key:0,type:"button",disabled:!a(Je),class:Y([[a(L).e("icon-btn"),{"is-disabled":!a(Je)}],"d-arrow-left"]),onClick:Pe},[W(a(Ze),null,{default:fe(()=>[W(a(ia))]),_:1})],10,Dw)):ke("v-if",!0),H.unlinkPanels?(T(),j("button",{key:1,type:"button",disabled:!a(Dt),class:Y([[a(L).e("icon-btn"),{"is-disabled":!a(Dt)}],"arrow-left"]),onClick:ct},[W(a(Ze),null,{default:fe(()=>[W(a(Ll))]),_:1})],10,$w)):ke("v-if",!0),z("button",{type:"button",class:Y([a(L).e("icon-btn"),"d-arrow-right"]),onClick:Se},[W(a(Ze),null,{default:fe(()=>[W(a(la))]),_:1})],2),z("button",{type:"button",class:Y([a(L).e("icon-btn"),"arrow-right"]),onClick:We},[W(a(Ze),null,{default:fe(()=>[W(a(ea))]),_:1})],2),z("div",null,_e(a(pe)),1)],2),W(Ul,{"selection-mode":"range",date:D.value,"min-date":a(x),"max-date":a(M),"range-state":a(F),"disabled-date":a(u),"cell-class-name":a(c),onChangerange:a(G),onPick:mn,onSelect:a(oe)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2)],2)],2),a(tn)?(T(),j("div",{key:0,class:Y(a(L).e("footer"))},[a(p)?(T(),be(a(Yt),{key:0,text:"",size:"small",class:Y(a(L).e("link-btn")),onClick:Q},{default:fe(()=>[st(_e(a(de)("el.datepicker.clear")),1)]),_:1},8,["class"])):ke("v-if",!0),W(a(Yt),{plain:"",size:"small",class:Y(a(L).e("link-btn")),disabled:a(Pt),onClick:se[10]||(se[10]=he=>a(ne)(!1))},{default:fe(()=>[st(_e(a(de)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])],2)):ke("v-if",!0)],2))}});var Ew=St(Nw,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-date-range.vue"]]);const Mw=yt({...Ld}),Aw=["pick","set-picker-option"],Tw=({unlinkPanels:o,leftDate:s,rightDate:r})=>{const{t:i}=vn(),u=()=>{s.value=s.value.subtract(1,"year"),o.value||(r.value=r.value.subtract(1,"year"))},c=()=>{o.value||(s.value=s.value.add(1,"year")),r.value=r.value.add(1,"year")},g=()=>{s.value=s.value.add(1,"year")},h=()=>{r.value=r.value.subtract(1,"year")},m=ue(()=>`${s.value.year()} ${i("el.datepicker.year")}`),p=ue(()=>`${r.value.year()} ${i("el.datepicker.year")}`),y=ue(()=>s.value.year()),_=ue(()=>r.value.year()===s.value.year()?s.value.year()+1:r.value.year());return{leftPrevYear:u,rightNextYear:c,leftNextYear:g,rightPrevYear:h,leftLabel:m,rightLabel:p,leftYear:y,rightYear:_}},Iw=["onClick"],Pw=["disabled"],Ow=["disabled"],ja="year",Vw=Ye({name:"DatePickerMonthRange"}),Rw=Ye({...Vw,props:Mw,emits:Aw,setup(o,{emit:s}){const r=o,{lang:i}=vn(),u=kt("EP_PICKER_BASE"),{shortcuts:c,disabledDate:g,format:h}=u.props,m=br(u.props,"defaultValue"),p=ce(Ee().locale(i.value)),y=ce(Ee().locale(i.value).add(1,ja)),{minDate:_,maxDate:C,rangeState:b,ppNs:D,drpNs:x,handleChangeRange:M,handleRangeConfirm:F,handleShortcutClick:L,onSelect:k}=Fd(r,{defaultValue:m,leftDate:p,rightDate:y,unit:ja,onParsedValueChanged:X}),G=ue(()=>!!c.length),{leftPrevYear:ne,rightNextYear:re,leftNextYear:oe,rightPrevYear:de,leftLabel:Z,rightLabel:ae,leftYear:ge,rightYear:pe}=Tw({unlinkPanels:br(r,"unlinkPanels"),leftDate:p,rightDate:y}),N=ue(()=>r.unlinkPanels&&pe.value>ge.value+1),A=(S,R=!0)=>{const E=S.minDate,U=S.maxDate;C.value===U&&_.value===E||(C.value=U,_.value=E,R&&F())},B=S=>S.map(R=>R.format(h));function X(S,R){if(r.unlinkPanels&&R){const E=S?.year()||0,U=R.year();y.value=E===U?R.add(1,ja):R}else y.value=p.value.add(1,ja)}return s("set-picker-option",["formatToString",B]),(S,R)=>(T(),j("div",{class:Y([a(D).b(),a(x).b(),{"has-sidebar":!!S.$slots.sidebar||a(G)}])},[z("div",{class:Y(a(D).e("body-wrapper"))},[Ft(S.$slots,"sidebar",{class:Y(a(D).e("sidebar"))}),a(G)?(T(),j("div",{key:0,class:Y(a(D).e("sidebar"))},[(T(!0),j(Le,null,et(a(c),(E,U)=>(T(),j("button",{key:U,type:"button",class:Y(a(D).e("shortcut")),onClick:J=>a(L)(E)},_e(E.text),11,Iw))),128))],2)):ke("v-if",!0),z("div",{class:Y(a(D).e("body"))},[z("div",{class:Y([[a(D).e("content"),a(x).e("content")],"is-left"])},[z("div",{class:Y(a(x).e("header"))},[z("button",{type:"button",class:Y([a(D).e("icon-btn"),"d-arrow-left"]),onClick:R[0]||(R[0]=(...E)=>a(ne)&&a(ne)(...E))},[W(a(Ze),null,{default:fe(()=>[W(a(ia))]),_:1})],2),S.unlinkPanels?(T(),j("button",{key:0,type:"button",disabled:!a(N),class:Y([[a(D).e("icon-btn"),{[a(D).is("disabled")]:!a(N)}],"d-arrow-right"]),onClick:R[1]||(R[1]=(...E)=>a(oe)&&a(oe)(...E))},[W(a(Ze),null,{default:fe(()=>[W(a(la))]),_:1})],10,Pw)):ke("v-if",!0),z("div",null,_e(a(Z)),1)],2),W(Kl,{"selection-mode":"range",date:p.value,"min-date":a(_),"max-date":a(C),"range-state":a(b),"disabled-date":a(g),onChangerange:a(M),onPick:A,onSelect:a(k)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2),z("div",{class:Y([[a(D).e("content"),a(x).e("content")],"is-right"])},[z("div",{class:Y(a(x).e("header"))},[S.unlinkPanels?(T(),j("button",{key:0,type:"button",disabled:!a(N),class:Y([[a(D).e("icon-btn"),{"is-disabled":!a(N)}],"d-arrow-left"]),onClick:R[2]||(R[2]=(...E)=>a(de)&&a(de)(...E))},[W(a(Ze),null,{default:fe(()=>[W(a(ia))]),_:1})],10,Ow)):ke("v-if",!0),z("button",{type:"button",class:Y([a(D).e("icon-btn"),"d-arrow-right"]),onClick:R[3]||(R[3]=(...E)=>a(re)&&a(re)(...E))},[W(a(Ze),null,{default:fe(()=>[W(a(la))]),_:1})],2),z("div",null,_e(a(ae)),1)],2),W(Kl,{"selection-mode":"range",date:y.value,"min-date":a(_),"max-date":a(C),"range-state":a(b),"disabled-date":a(g),onChangerange:a(M),onPick:A,onSelect:a(k)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2)],2)],2)],2))}});var Lw=St(Rw,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-month-range.vue"]]);const Bw=function(o){switch(o){case"daterange":case"datetimerange":return Ew;case"monthrange":return Lw;default:return yw}};Ee.extend(H0);Ee.extend(M1);Ee.extend(x0);Ee.extend(T1);Ee.extend(P1);Ee.extend(V1);Ee.extend(L1);Ee.extend(z1);var zw=Ye({name:"ElDatePicker",install:null,props:F1,emits:["update:modelValue"],setup(o,{expose:s,emit:r,slots:i}){const u=ot("picker-panel");$n("ElPopperOptions",fi(br(o,"popperOptions"))),$n(Jl,{slots:i,pickerNs:u});const c=ce();s({focus:(m=!0)=>{var p;(p=c.value)==null||p.focus(m)},handleOpen:()=>{var m;(m=c.value)==null||m.handleOpen()},handleClose:()=>{var m;(m=c.value)==null||m.handleClose()}});const h=m=>{r("update:modelValue",m)};return()=>{var m;const p=(m=o.format)!=null?m:S0[o.type]||Pr,y=Bw(o.type);return W(A0,ci(o,{format:p,type:o.type,ref:c,"onUpdate:modelValue":h}),{default:_=>W(y,_,null),"range-separator":i["range-separator"]})}}});const ri=zw;ri.install=o=>{o.component(ri.name,ri)};const Uu=ri,Fw=yt({id:{type:String,default:void 0},step:{type:Number,default:1},stepStrictly:Boolean,max:{type:Number,default:Number.POSITIVE_INFINITY},min:{type:Number,default:Number.NEGATIVE_INFINITY},modelValue:Number,readonly:Boolean,disabled:Boolean,size:oa,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},valueOnClear:{type:[String,Number,null],validator:o=>o===null||en(o)||["min","max"].includes(o),default:null},name:String,label:String,placeholder:String,precision:{type:Number,validator:o=>o>=0&&o===Number.parseInt(`${o}`,10)},validateEvent:{type:Boolean,default:!0}}),Uw={[pi]:(o,s)=>s!==o,blur:o=>o instanceof FocusEvent,focus:o=>o instanceof FocusEvent,[ti]:o=>en(o)||ta(o),[xn]:o=>en(o)||ta(o)},Kw=["aria-label","onKeydown"],Ww=["aria-label","onKeydown"],Hw=Ye({name:"ElInputNumber"}),Yw=Ye({...Hw,props:Fw,emits:Uw,setup(o,{expose:s,emit:r}){const i=o,{t:u}=vn(),c=ot("input-number"),g=ce(),h=fi({currentValue:i.modelValue,userInput:null}),{formItem:m}=ua(),p=ue(()=>en(i.modelValue)&&i.modelValue<=i.min),y=ue(()=>en(i.modelValue)&&i.modelValue>=i.max),_=ue(()=>{const N=F(i.step);return rr(i.precision)?Math.max(F(i.modelValue),N):(N>i.precision,i.precision)}),C=ue(()=>i.controls&&i.controlsPosition==="right"),b=li(),D=id(),x=ue(()=>{if(h.userInput!==null)return h.userInput;let N=h.currentValue;if(ta(N))return"";if(en(N)){if(Number.isNaN(N))return"";rr(i.precision)||(N=N.toFixed(i.precision))}return N}),M=(N,A)=>{if(rr(A)&&(A=_.value),A===0)return Math.round(N);let B=String(N);const X=B.indexOf(".");if(X===-1||!B.replace(".","").split("")[X+A])return N;const E=B.length;return B.charAt(E-1)==="5"&&(B=`${B.slice(0,Math.max(0,E-1))}6`),Number.parseFloat(Number(B).toFixed(A))},F=N=>{if(ta(N))return 0;const A=N.toString(),B=A.indexOf(".");let X=0;return B!==-1&&(X=A.length-B-1),X},L=(N,A=1)=>en(N)?M(N+i.step*A):h.currentValue,k=()=>{if(i.readonly||D.value||y.value)return;const N=Number(x.value)||0,A=L(N);re(A),r(ti,h.currentValue)},G=()=>{if(i.readonly||D.value||p.value)return;const N=Number(x.value)||0,A=L(N,-1);re(A),r(ti,h.currentValue)},ne=(N,A)=>{const{max:B,min:X,step:S,precision:R,stepStrictly:E,valueOnClear:U}=i;let J=Number(N);if(ta(N)||Number.isNaN(J))return null;if(N===""){if(U===null)return null;J=si(U)?{min:X,max:B}[U]:U}return E&&(J=M(Math.round(J/S)*S,R)),rr(R)||(J=M(J,R)),(J>B||J<X)&&(J=J>B?B:X,A&&r(xn,J)),J},re=(N,A=!0)=>{var B;const X=h.currentValue,S=ne(N);if(!A){r(xn,S);return}X!==S&&(h.userInput=null,r(xn,S),r(pi,S,X),i.validateEvent&&((B=m?.validate)==null||B.call(m,"change").catch(R=>Vr())),h.currentValue=S)},oe=N=>{h.userInput=N;const A=N===""?null:Number(N);r(ti,A),re(A,!1)},de=N=>{const A=N!==""?Number(N):"";(en(A)&&!Number.isNaN(A)||N==="")&&re(A),h.userInput=null},Z=()=>{var N,A;(A=(N=g.value)==null?void 0:N.focus)==null||A.call(N)},ae=()=>{var N,A;(A=(N=g.value)==null?void 0:N.blur)==null||A.call(N)},ge=N=>{r("focus",N)},pe=N=>{var A;r("blur",N),i.validateEvent&&((A=m?.validate)==null||A.call(m,"blur").catch(B=>Vr()))};return nt(()=>i.modelValue,N=>{const A=ne(h.userInput),B=ne(N,!0);!en(A)&&(!A||A!==B)&&(h.currentValue=B,h.userInput=null)},{immediate:!0}),ar(()=>{var N;const{min:A,max:B,modelValue:X}=i,S=(N=g.value)==null?void 0:N.input;if(S.setAttribute("role","spinbutton"),Number.isFinite(B)?S.setAttribute("aria-valuemax",String(B)):S.removeAttribute("aria-valuemax"),Number.isFinite(A)?S.setAttribute("aria-valuemin",String(A)):S.removeAttribute("aria-valuemin"),S.setAttribute("aria-valuenow",String(h.currentValue)),S.setAttribute("aria-disabled",String(D.value)),!en(X)&&X!=null){let R=Number(X);Number.isNaN(R)&&(R=null),r(xn,R)}}),ql(()=>{var N;const A=(N=g.value)==null?void 0:N.input;A?.setAttribute("aria-valuenow",`${h.currentValue}`)}),s({focus:Z,blur:ae}),(N,A)=>(T(),j("div",{class:Y([a(c).b(),a(c).m(a(b)),a(c).is("disabled",a(D)),a(c).is("without-controls",!N.controls),a(c).is("controls-right",a(C))]),onDragstart:A[1]||(A[1]=pt(()=>{},["prevent"]))},[N.controls?dt((T(),j("span",{key:0,role:"button","aria-label":a(u)("el.inputNumber.decrease"),class:Y([a(c).e("decrease"),a(c).is("disabled",a(p))]),onKeydown:pn(G,["enter"])},[W(a(Ze),null,{default:fe(()=>[a(C)?(T(),be(a(ad),{key:0})):(T(),be(a(My),{key:1}))]),_:1})],42,Kw)),[[a(ui),G]]):ke("v-if",!0),N.controls?dt((T(),j("span",{key:1,role:"button","aria-label":a(u)("el.inputNumber.increase"),class:Y([a(c).e("increase"),a(c).is("disabled",a(y))]),onKeydown:pn(k,["enter"])},[W(a(Ze),null,{default:fe(()=>[a(C)?(T(),be(a(rd),{key:0})):(T(),be(a(ud),{key:1}))]),_:1})],42,Ww)),[[a(ui),k]]):ke("v-if",!0),W(a(mt),{id:N.id,ref_key:"input",ref:g,type:"number",step:N.step,"model-value":a(x),placeholder:N.placeholder,readonly:N.readonly,disabled:a(D),size:a(b),max:N.max,min:N.min,name:N.name,label:N.label,"validate-event":!1,onWheel:A[0]||(A[0]=pt(()=>{},["prevent"])),onKeydown:[pn(pt(k,["prevent"]),["up"]),pn(pt(G,["prevent"]),["down"])],onBlur:pe,onFocus:ge,onInput:oe,onChange:de},null,8,["id","step","model-value","placeholder","readonly","disabled","size","max","min","name","label","onKeydown"])],34))}});var Gw=St(Yw,[["__file","/home/runner/work/element-plus/element-plus/packages/components/input-number/src/input-number.vue"]]);const Ku=hi(Gw),Or="$treeNodeId",Wu=function(o,s){!s||s[Or]||Object.defineProperty(s,Or,{value:o.id,enumerable:!1,configurable:!1,writable:!1})},jl=function(o,s){return o?s[o]:s[Or]},Wl=(o,s,r)=>{const i=o.value.currentNode;r();const u=o.value.currentNode;i!==u&&s("current-change",u?u.data:null,u)},Hl=o=>{let s=!0,r=!0,i=!0;for(let u=0,c=o.length;u<c;u++){const g=o[u];(g.checked!==!0||g.indeterminate)&&(s=!1,g.disabled||(i=!1)),(g.checked!==!1||g.indeterminate)&&(r=!1)}return{all:s,none:r,allWithoutDisable:i,half:!s&&!r}},ai=function(o){if(o.childNodes.length===0||o.loading)return;const{all:s,none:r,half:i}=Hl(o.childNodes);s?(o.checked=!0,o.indeterminate=!1):i?(o.checked=!1,o.indeterminate=!0):r&&(o.checked=!1,o.indeterminate=!1);const u=o.parent;!u||u.level===0||o.store.checkStrictly||ai(u)},ei=function(o,s){const r=o.store.props,i=o.data||{},u=r[s];if(typeof u=="function")return u(i,o);if(typeof u=="string")return i[u];if(typeof u>"u"){const c=i[s];return c===void 0?"":c}};let qw=0;class gr{constructor(s){this.id=qw++,this.text=null,this.checked=!1,this.indeterminate=!1,this.data=null,this.expanded=!1,this.parent=null,this.visible=!0,this.isCurrent=!1,this.canFocus=!1;for(const r in s)Bl(s,r)&&(this[r]=s[r]);this.level=0,this.loaded=!1,this.childNodes=[],this.loading=!1,this.parent&&(this.level=this.parent.level+1)}initialize(){const s=this.store;if(!s)throw new Error("[Node]store is required!");s.registerNode(this);const r=s.props;if(r&&typeof r.isLeaf<"u"){const c=ei(this,"isLeaf");typeof c=="boolean"&&(this.isLeafByUser=c)}if(s.lazy!==!0&&this.data?(this.setData(this.data),s.defaultExpandAll&&(this.expanded=!0,this.canFocus=!0)):this.level>0&&s.lazy&&s.defaultExpandAll&&this.expand(),Array.isArray(this.data)||Wu(this,this.data),!this.data)return;const i=s.defaultExpandedKeys,u=s.key;u&&i&&i.includes(this.key)&&this.expand(null,s.autoExpandParent),u&&s.currentNodeKey!==void 0&&this.key===s.currentNodeKey&&(s.currentNode=this,s.currentNode.isCurrent=!0),s.lazy&&s._initDefaultCheckedNode(this),this.updateLeafState(),this.parent&&(this.level===1||this.parent.expanded===!0)&&(this.canFocus=!0)}setData(s){Array.isArray(s)||Wu(this,s),this.data=s,this.childNodes=[];let r;this.level===0&&Array.isArray(this.data)?r=this.data:r=ei(this,"children")||[];for(let i=0,u=r.length;i<u;i++)this.insertChild({data:r[i]})}get label(){return ei(this,"label")}get key(){const s=this.store.key;return this.data?this.data[s]:null}get disabled(){return ei(this,"disabled")}get nextSibling(){const s=this.parent;if(s){const r=s.childNodes.indexOf(this);if(r>-1)return s.childNodes[r+1]}return null}get previousSibling(){const s=this.parent;if(s){const r=s.childNodes.indexOf(this);if(r>-1)return r>0?s.childNodes[r-1]:null}return null}contains(s,r=!0){return(this.childNodes||[]).some(i=>i===s||r&&i.contains(s))}remove(){const s=this.parent;s&&s.removeChild(this)}insertChild(s,r,i){if(!s)throw new Error("InsertChild error: child is required.");if(!(s instanceof gr)){if(!i){const u=this.getChildren(!0);u.includes(s.data)||(typeof r>"u"||r<0?u.push(s.data):u.splice(r,0,s.data))}Object.assign(s,{parent:this,store:this.store}),s=fi(new gr(s)),s instanceof gr&&s.initialize()}s.level=this.level+1,typeof r>"u"||r<0?this.childNodes.push(s):this.childNodes.splice(r,0,s),this.updateLeafState()}insertBefore(s,r){let i;r&&(i=this.childNodes.indexOf(r)),this.insertChild(s,i)}insertAfter(s,r){let i;r&&(i=this.childNodes.indexOf(r),i!==-1&&(i+=1)),this.insertChild(s,i)}removeChild(s){const r=this.getChildren()||[],i=r.indexOf(s.data);i>-1&&r.splice(i,1);const u=this.childNodes.indexOf(s);u>-1&&(this.store&&this.store.deregisterNode(s),s.parent=null,this.childNodes.splice(u,1)),this.updateLeafState()}removeChildByData(s){let r=null;for(let i=0;i<this.childNodes.length;i++)if(this.childNodes[i].data===s){r=this.childNodes[i];break}r&&this.removeChild(r)}expand(s,r){const i=()=>{if(r){let u=this.parent;for(;u.level>0;)u.expanded=!0,u=u.parent}this.expanded=!0,s&&s(),this.childNodes.forEach(u=>{u.canFocus=!0})};this.shouldLoadData()?this.loadData(u=>{Array.isArray(u)&&(this.checked?this.setChecked(!0,!0):this.store.checkStrictly||ai(this),i())}):i()}doCreateChildren(s,r={}){s.forEach(i=>{this.insertChild(Object.assign({data:i},r),void 0,!0)})}collapse(){this.expanded=!1,this.childNodes.forEach(s=>{s.canFocus=!1})}shouldLoadData(){return this.store.lazy===!0&&this.store.load&&!this.loaded}updateLeafState(){if(this.store.lazy===!0&&this.loaded!==!0&&typeof this.isLeafByUser<"u"){this.isLeaf=this.isLeafByUser;return}const s=this.childNodes;if(!this.store.lazy||this.store.lazy===!0&&this.loaded===!0){this.isLeaf=!s||s.length===0;return}this.isLeaf=!1}setChecked(s,r,i,u){if(this.indeterminate=s==="half",this.checked=s===!0,this.store.checkStrictly)return;if(!(this.shouldLoadData()&&!this.store.checkDescendants)){const{all:g,allWithoutDisable:h}=Hl(this.childNodes);!this.isLeaf&&!g&&h&&(this.checked=!1,s=!1);const m=()=>{if(r){const p=this.childNodes;for(let C=0,b=p.length;C<b;C++){const D=p[C];u=u||s!==!1;const x=D.disabled?D.checked:u;D.setChecked(x,r,!0,u)}const{half:y,all:_}=Hl(p);_||(this.checked=_,this.indeterminate=y)}};if(this.shouldLoadData()){this.loadData(()=>{m(),ai(this)},{checked:s!==!1});return}else m()}const c=this.parent;!c||c.level===0||i||ai(c)}getChildren(s=!1){if(this.level===0)return this.data;const r=this.data;if(!r)return null;const i=this.store.props;let u="children";return i&&(u=i.children||"children"),r[u]===void 0&&(r[u]=null),s&&!r[u]&&(r[u]=[]),r[u]}updateChildren(){const s=this.getChildren()||[],r=this.childNodes.map(c=>c.data),i={},u=[];s.forEach((c,g)=>{const h=c[Or];!!h&&r.findIndex(p=>p[Or]===h)>=0?i[h]={index:g,data:c}:u.push({index:g,data:c})}),this.store.lazy||r.forEach(c=>{i[c[Or]]||this.removeChildByData(c)}),u.forEach(({index:c,data:g})=>{this.insertChild({data:g},c)}),this.updateLeafState()}loadData(s,r={}){if(this.store.lazy===!0&&this.store.load&&!this.loaded&&(!this.loading||Object.keys(r).length)){this.loading=!0;const i=u=>{this.childNodes=[],this.doCreateChildren(u,r),this.loaded=!0,this.loading=!1,this.updateLeafState(),s&&s.call(this,u)};this.store.load(this,i)}else s&&s.call(this)}}class Zw{constructor(s){this.currentNode=null,this.currentNodeKey=null;for(const r in s)Bl(s,r)&&(this[r]=s[r]);this.nodesMap={}}initialize(){if(this.root=new gr({data:this.data,store:this}),this.root.initialize(),this.lazy&&this.load){const s=this.load;s(this.root,r=>{this.root.doCreateChildren(r),this._initDefaultCheckedNodes()})}else this._initDefaultCheckedNodes()}filter(s){const r=this.filterNodeMethod,i=this.lazy,u=function(c){const g=c.root?c.root.childNodes:c.childNodes;if(g.forEach(h=>{h.visible=r.call(h,s,h.data,h),u(h)}),!c.visible&&g.length){let h=!0;h=!g.some(m=>m.visible),c.root?c.root.visible=h===!1:c.visible=h===!1}s&&c.visible&&!c.isLeaf&&!i&&c.expand()};u(this)}setData(s){s!==this.root.data?(this.root.setData(s),this._initDefaultCheckedNodes()):this.root.updateChildren()}getNode(s){if(s instanceof gr)return s;const r=ld(s)?jl(this.key,s):s;return this.nodesMap[r]||null}insertBefore(s,r){const i=this.getNode(r);i.parent.insertBefore({data:s},i)}insertAfter(s,r){const i=this.getNode(r);i.parent.insertAfter({data:s},i)}remove(s){const r=this.getNode(s);r&&r.parent&&(r===this.currentNode&&(this.currentNode=null),r.parent.removeChild(r))}append(s,r){const i=r?this.getNode(r):this.root;i&&i.insertChild({data:s})}_initDefaultCheckedNodes(){const s=this.defaultCheckedKeys||[],r=this.nodesMap;s.forEach(i=>{const u=r[i];u&&u.setChecked(!0,!this.checkStrictly)})}_initDefaultCheckedNode(s){(this.defaultCheckedKeys||[]).includes(s.key)&&s.setChecked(!0,!this.checkStrictly)}setDefaultCheckedKey(s){s!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=s,this._initDefaultCheckedNodes())}registerNode(s){const r=this.key;!s||!s.data||(r?s.key!==void 0&&(this.nodesMap[s.key]=s):this.nodesMap[s.id]=s)}deregisterNode(s){!this.key||!s||!s.data||(s.childNodes.forEach(i=>{this.deregisterNode(i)}),delete this.nodesMap[s.key])}getCheckedNodes(s=!1,r=!1){const i=[],u=function(c){(c.root?c.root.childNodes:c.childNodes).forEach(h=>{(h.checked||r&&h.indeterminate)&&(!s||s&&h.isLeaf)&&i.push(h.data),u(h)})};return u(this),i}getCheckedKeys(s=!1){return this.getCheckedNodes(s).map(r=>(r||{})[this.key])}getHalfCheckedNodes(){const s=[],r=function(i){(i.root?i.root.childNodes:i.childNodes).forEach(c=>{c.indeterminate&&s.push(c.data),r(c)})};return r(this),s}getHalfCheckedKeys(){return this.getHalfCheckedNodes().map(s=>(s||{})[this.key])}_getAllNodes(){const s=[],r=this.nodesMap;for(const i in r)Bl(r,i)&&s.push(r[i]);return s}updateChildren(s,r){const i=this.nodesMap[s];if(!i)return;const u=i.childNodes;for(let c=u.length-1;c>=0;c--){const g=u[c];this.remove(g.data)}for(let c=0,g=r.length;c<g;c++){const h=r[c];this.append(h,i.data)}}_setCheckedKeys(s,r=!1,i){const u=this._getAllNodes().sort((h,m)=>m.level-h.level),c=Object.create(null),g=Object.keys(i);u.forEach(h=>h.setChecked(!1,!1));for(let h=0,m=u.length;h<m;h++){const p=u[h],y=p.data[s].toString();if(!g.includes(y)){p.checked&&!c[y]&&p.setChecked(!1,!1);continue}let C=p.parent;for(;C&&C.level>0;)c[C.data[s]]=!0,C=C.parent;if(p.isLeaf||this.checkStrictly){p.setChecked(!0,!1);continue}if(p.setChecked(!0,!0),r){p.setChecked(!1,!1);const b=function(D){D.childNodes.forEach(M=>{M.isLeaf||M.setChecked(!1,!1),b(M)})};b(p)}}}setCheckedNodes(s,r=!1){const i=this.key,u={};s.forEach(c=>{u[(c||{})[i]]=!0}),this._setCheckedKeys(i,r,u)}setCheckedKeys(s,r=!1){this.defaultCheckedKeys=s;const i=this.key,u={};s.forEach(c=>{u[c]=!0}),this._setCheckedKeys(i,r,u)}setDefaultExpandedKeys(s){s=s||[],this.defaultExpandedKeys=s,s.forEach(r=>{const i=this.getNode(r);i&&i.expand(null,this.autoExpandParent)})}setChecked(s,r,i){const u=this.getNode(s);u&&u.setChecked(!!r,i)}getCurrentNode(){return this.currentNode}setCurrentNode(s){const r=this.currentNode;r&&(r.isCurrent=!1),this.currentNode=s,this.currentNode.isCurrent=!0}setUserCurrentNode(s,r=!0){const i=s[this.key],u=this.nodesMap[i];this.setCurrentNode(u),r&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0)}setCurrentNodeKey(s,r=!0){if(s==null){this.currentNode&&(this.currentNode.isCurrent=!1),this.currentNode=null;return}const i=this.getNode(s);i&&(this.setCurrentNode(i),r&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0))}}const Xw=Ye({name:"ElTreeNodeContent",props:{node:{type:Object,required:!0},renderContent:Function},setup(o){const s=ot("tree"),r=kt("NodeInstance"),i=kt("RootTree");return()=>{const u=o.node,{data:c,store:g}=u;return o.renderContent?o.renderContent(Il,{_self:r,node:u,data:c,store:g}):i.ctx.slots.default?i.ctx.slots.default({node:u,data:c}):Il("span",{class:s.be("node","label")},[u.label])}}});var Jw=St(Xw,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tree/src/tree-node-content.vue"]]);function Ud(o){const s=kt("TreeNodeMap",null),r={treeNodeExpand:i=>{o.node!==i&&o.node.collapse()},children:[]};return s&&s.children.push(r),$n("TreeNodeMap",r),{broadcastExpanded:i=>{if(o.accordion)for(const u of r.children)u.treeNodeExpand(i)}}}const Kd=Symbol("dragEvents");function Qw({props:o,ctx:s,el$:r,dropIndicator$:i,store:u}){const c=ot("tree"),g=ce({showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0,dropType:null});return $n(Kd,{treeNodeDragStart:({event:y,treeNode:_})=>{if(typeof o.allowDrag=="function"&&!o.allowDrag(_.node))return y.preventDefault(),!1;y.dataTransfer.effectAllowed="move";try{y.dataTransfer.setData("text/plain","")}catch{}g.value.draggingNode=_,s.emit("node-drag-start",_.node,y)},treeNodeDragOver:({event:y,treeNode:_})=>{const C=_,b=g.value.dropNode;b&&b!==C&&Nl(b.$el,c.is("drop-inner"));const D=g.value.draggingNode;if(!D||!C)return;let x=!0,M=!0,F=!0,L=!0;typeof o.allowDrop=="function"&&(x=o.allowDrop(D.node,C.node,"prev"),L=M=o.allowDrop(D.node,C.node,"inner"),F=o.allowDrop(D.node,C.node,"next")),y.dataTransfer.dropEffect=M||x||F?"move":"none",(x||M||F)&&b!==C&&(b&&s.emit("node-drag-leave",D.node,b.node,y),s.emit("node-drag-enter",D.node,C.node,y)),(x||M||F)&&(g.value.dropNode=C),C.node.nextSibling===D.node&&(F=!1),C.node.previousSibling===D.node&&(x=!1),C.node.contains(D.node,!1)&&(M=!1),(D.node===C.node||D.node.contains(C.node))&&(x=!1,M=!1,F=!1);const k=C.$el.getBoundingClientRect(),G=r.value.getBoundingClientRect();let ne;const re=x?M?.25:F?.45:1:-1,oe=F?M?.75:x?.55:0:1;let de=-9999;const Z=y.clientY-k.top;Z<k.height*re?ne="before":Z>k.height*oe?ne="after":M?ne="inner":ne="none";const ae=C.$el.querySelector(`.${c.be("node","expand-icon")}`).getBoundingClientRect(),ge=i.value;ne==="before"?de=ae.top-G.top:ne==="after"&&(de=ae.bottom-G.top),ge.style.top=`${de}px`,ge.style.left=`${ae.right-G.left}px`,ne==="inner"?Ay(C.$el,c.is("drop-inner")):Nl(C.$el,c.is("drop-inner")),g.value.showDropIndicator=ne==="before"||ne==="after",g.value.allowDrop=g.value.showDropIndicator||L,g.value.dropType=ne,s.emit("node-drag-over",D.node,C.node,y)},treeNodeDragEnd:y=>{const{draggingNode:_,dropType:C,dropNode:b}=g.value;if(y.preventDefault(),y.dataTransfer.dropEffect="move",_&&b){const D={data:_.node.data};C!=="none"&&_.node.remove(),C==="before"?b.node.parent.insertBefore(D,b.node):C==="after"?b.node.parent.insertAfter(D,b.node):C==="inner"&&b.node.insertChild(D),C!=="none"&&u.value.registerNode(D),Nl(b.$el,c.is("drop-inner")),s.emit("node-drag-end",_.node,b.node,C,y),C!=="none"&&s.emit("node-drop",_.node,b.node,C,y)}_&&!b&&s.emit("node-drag-end",_.node,null,C,y),g.value.showDropIndicator=!1,g.value.draggingNode=null,g.value.dropNode=null,g.value.allowDrop=!0}}),{dragState:g}}const jw=Ye({name:"ElTreeNode",components:{ElCollapseTransition:Ed,ElCheckbox:$d,NodeContent:Jw,ElIcon:Ze,Loading:Ty},props:{node:{type:gr,default:()=>({})},props:{type:Object,default:()=>({})},accordion:Boolean,renderContent:Function,renderAfterExpand:Boolean,showCheckbox:{type:Boolean,default:!1}},emits:["node-expand"],setup(o,s){const r=ot("tree"),{broadcastExpanded:i}=Ud(o),u=kt("RootTree"),c=ce(!1),g=ce(!1),h=ce(null),m=ce(null),p=ce(null),y=kt(Kd),_=_r();$n("NodeInstance",_),o.node.expanded&&(c.value=!0,g.value=!0);const C=u.props.children||"children";nt(()=>{const Z=o.node.data[C];return Z&&[...Z]},()=>{o.node.updateChildren()}),nt(()=>o.node.indeterminate,Z=>{x(o.node.checked,Z)}),nt(()=>o.node.checked,Z=>{x(Z,o.node.indeterminate)}),nt(()=>o.node.expanded,Z=>{At(()=>c.value=Z),Z&&(g.value=!0)});const b=Z=>jl(u.props.nodeKey,Z.data),D=Z=>{const ae=o.props.class;if(!ae)return{};let ge;if(Rr(ae)){const{data:pe}=Z;ge=ae(pe,Z)}else ge=ae;return si(ge)?{[ge]:!0}:ge},x=(Z,ae)=>{(h.value!==Z||m.value!==ae)&&u.ctx.emit("check-change",o.node.data,Z,ae),h.value=Z,m.value=ae},M=Z=>{Wl(u.store,u.ctx.emit,()=>u.store.value.setCurrentNode(o.node)),u.currentNode.value=o.node,u.props.expandOnClickNode&&L(),u.props.checkOnClickNode&&!o.node.disabled&&k(null,{target:{checked:!o.node.checked}}),u.ctx.emit("node-click",o.node.data,o.node,_,Z)},F=Z=>{u.instance.vnode.props.onNodeContextmenu&&(Z.stopPropagation(),Z.preventDefault()),u.ctx.emit("node-contextmenu",Z,o.node.data,o.node,_)},L=()=>{o.node.isLeaf||(c.value?(u.ctx.emit("node-collapse",o.node.data,o.node,_),o.node.collapse()):(o.node.expand(),s.emit("node-expand",o.node.data,o.node,_)))},k=(Z,ae)=>{o.node.setChecked(ae.target.checked,!u.props.checkStrictly),At(()=>{const ge=u.store.value;u.ctx.emit("check",o.node.data,{checkedNodes:ge.getCheckedNodes(),checkedKeys:ge.getCheckedKeys(),halfCheckedNodes:ge.getHalfCheckedNodes(),halfCheckedKeys:ge.getHalfCheckedKeys()})})};return{ns:r,node$:p,tree:u,expanded:c,childNodeRendered:g,oldChecked:h,oldIndeterminate:m,getNodeKey:b,getNodeClass:D,handleSelectChange:x,handleClick:M,handleContextMenu:F,handleExpandIconClick:L,handleCheckChange:k,handleChildNodeExpand:(Z,ae,ge)=>{i(ae),u.ctx.emit("node-expand",Z,ae,ge)},handleDragStart:Z=>{u.props.draggable&&y.treeNodeDragStart({event:Z,treeNode:o})},handleDragOver:Z=>{Z.preventDefault(),u.props.draggable&&y.treeNodeDragOver({event:Z,treeNode:{$el:p.value,node:o.node}})},handleDrop:Z=>{Z.preventDefault()},handleDragEnd:Z=>{u.props.draggable&&y.treeNodeDragEnd(Z)},CaretRight:Iy}}}),ek=["aria-expanded","aria-disabled","aria-checked","draggable","data-key"],tk=["aria-expanded"];function nk(o,s,r,i,u,c){const g=tr("el-icon"),h=tr("el-checkbox"),m=tr("loading"),p=tr("node-content"),y=tr("el-tree-node"),_=tr("el-collapse-transition");return dt((T(),j("div",{ref:"node$",class:Y([o.ns.b("node"),o.ns.is("expanded",o.expanded),o.ns.is("current",o.node.isCurrent),o.ns.is("hidden",!o.node.visible),o.ns.is("focusable",!o.node.disabled),o.ns.is("checked",!o.node.disabled&&o.node.checked),o.getNodeClass(o.node)]),role:"treeitem",tabindex:"-1","aria-expanded":o.expanded,"aria-disabled":o.node.disabled,"aria-checked":o.node.checked,draggable:o.tree.props.draggable,"data-key":o.getNodeKey(o.node),onClick:s[1]||(s[1]=pt((...C)=>o.handleClick&&o.handleClick(...C),["stop"])),onContextmenu:s[2]||(s[2]=(...C)=>o.handleContextMenu&&o.handleContextMenu(...C)),onDragstart:s[3]||(s[3]=pt((...C)=>o.handleDragStart&&o.handleDragStart(...C),["stop"])),onDragover:s[4]||(s[4]=pt((...C)=>o.handleDragOver&&o.handleDragOver(...C),["stop"])),onDragend:s[5]||(s[5]=pt((...C)=>o.handleDragEnd&&o.handleDragEnd(...C),["stop"])),onDrop:s[6]||(s[6]=pt((...C)=>o.handleDrop&&o.handleDrop(...C),["stop"]))},[z("div",{class:Y(o.ns.be("node","content")),style:ra({paddingLeft:(o.node.level-1)*o.tree.props.indent+"px"})},[o.tree.props.icon||o.CaretRight?(T(),be(g,{key:0,class:Y([o.ns.be("node","expand-icon"),o.ns.is("leaf",o.node.isLeaf),{expanded:!o.node.isLeaf&&o.expanded}]),onClick:pt(o.handleExpandIconClick,["stop"])},{default:fe(()=>[(T(),be(nr(o.tree.props.icon||o.CaretRight)))]),_:1},8,["class","onClick"])):ke("v-if",!0),o.showCheckbox?(T(),be(h,{key:1,"model-value":o.node.checked,indeterminate:o.node.indeterminate,disabled:!!o.node.disabled,onClick:s[0]||(s[0]=pt(()=>{},["stop"])),onChange:o.handleCheckChange},null,8,["model-value","indeterminate","disabled","onChange"])):ke("v-if",!0),o.node.loading?(T(),be(g,{key:2,class:Y([o.ns.be("node","loading-icon"),o.ns.is("loading")])},{default:fe(()=>[W(m)]),_:1},8,["class"])):ke("v-if",!0),W(p,{node:o.node,"render-content":o.renderContent},null,8,["node","render-content"])],6),W(_,null,{default:fe(()=>[!o.renderAfterExpand||o.childNodeRendered?dt((T(),j("div",{key:0,class:Y(o.ns.be("node","children")),role:"group","aria-expanded":o.expanded},[(T(!0),j(Le,null,et(o.node.childNodes,C=>(T(),be(y,{key:o.getNodeKey(C),"render-content":o.renderContent,"render-after-expand":o.renderAfterExpand,"show-checkbox":o.showCheckbox,node:C,accordion:o.accordion,props:o.props,onNodeExpand:o.handleChildNodeExpand},null,8,["render-content","render-after-expand","show-checkbox","node","accordion","props","onNodeExpand"]))),128))],10,tk)),[[hn,o.expanded]]):ke("v-if",!0)]),_:1})],42,ek)),[[hn,o.node.visible]])}var rk=St(jw,[["render",nk],["__file","/home/runner/work/element-plus/element-plus/packages/components/tree/src/tree-node.vue"]]);function ak({el$:o},s){const r=ot("tree"),i=Pl([]),u=Pl([]);ar(()=>{g()}),ql(()=>{i.value=Array.from(o.value.querySelectorAll("[role=treeitem]")),u.value=Array.from(o.value.querySelectorAll("input[type=checkbox]"))}),nt(u,h=>{h.forEach(m=>{m.setAttribute("tabindex","-1")})}),Py(o,"keydown",h=>{const m=h.target;if(!m.className.includes(r.b("node")))return;const p=h.code;i.value=Array.from(o.value.querySelectorAll(`.${r.is("focusable")}[role=treeitem]`));const y=i.value.indexOf(m);let _;if([at.up,at.down].includes(p)){if(h.preventDefault(),p===at.up){_=y===-1?0:y!==0?y-1:i.value.length-1;const b=_;for(;!s.value.getNode(i.value[_].dataset.key).canFocus;){if(_--,_===b){_=-1;break}_<0&&(_=i.value.length-1)}}else{_=y===-1?0:y<i.value.length-1?y+1:0;const b=_;for(;!s.value.getNode(i.value[_].dataset.key).canFocus;){if(_++,_===b){_=-1;break}_>=i.value.length&&(_=0)}}_!==-1&&i.value[_].focus()}[at.left,at.right].includes(p)&&(h.preventDefault(),m.click());const C=m.querySelector('[type="checkbox"]');[at.enter,at.space].includes(p)&&C&&(h.preventDefault(),C.click())});const g=()=>{var h;i.value=Array.from(o.value.querySelectorAll(`.${r.is("focusable")}[role=treeitem]`)),u.value=Array.from(o.value.querySelectorAll("input[type=checkbox]"));const m=o.value.querySelectorAll(`.${r.is("checked")}[role=treeitem]`);if(m.length){m[0].setAttribute("tabindex","0");return}(h=i.value[0])==null||h.setAttribute("tabindex","0")}}const ik=Ye({name:"ElTree",components:{ElTreeNode:rk},props:{data:{type:Array,default:()=>[]},emptyText:{type:String},renderAfterExpand:{type:Boolean,default:!0},nodeKey:String,checkStrictly:Boolean,defaultExpandAll:Boolean,expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkDescendants:{type:Boolean,default:!1},autoExpandParent:{type:Boolean,default:!0},defaultCheckedKeys:Array,defaultExpandedKeys:Array,currentNodeKey:[String,Number],renderContent:Function,showCheckbox:{type:Boolean,default:!1},draggable:{type:Boolean,default:!1},allowDrag:Function,allowDrop:Function,props:{type:Object,default:()=>({children:"children",label:"label",disabled:"disabled"})},lazy:{type:Boolean,default:!1},highlightCurrent:Boolean,load:Function,filterNodeMethod:Function,accordion:Boolean,indent:{type:Number,default:18},icon:{type:Oy}},emits:["check-change","current-change","node-click","node-contextmenu","node-collapse","node-expand","check","node-drag-start","node-drag-end","node-drop","node-drag-leave","node-drag-enter","node-drag-over"],setup(o,s){const{t:r}=vn(),i=ot("tree"),u=ce(new Zw({key:o.nodeKey,data:o.data,lazy:o.lazy,props:o.props,load:o.load,currentNodeKey:o.currentNodeKey,checkStrictly:o.checkStrictly,checkDescendants:o.checkDescendants,defaultCheckedKeys:o.defaultCheckedKeys,defaultExpandedKeys:o.defaultExpandedKeys,autoExpandParent:o.autoExpandParent,defaultExpandAll:o.defaultExpandAll,filterNodeMethod:o.filterNodeMethod}));u.value.initialize();const c=ce(u.value.root),g=ce(null),h=ce(null),m=ce(null),{broadcastExpanded:p}=Ud(o),{dragState:y}=Qw({props:o,ctx:s,el$:h,dropIndicator$:m,store:u});ak({el$:h},u);const _=ue(()=>{const{childNodes:S}=c.value;return!S||S.length===0||S.every(({visible:R})=>!R)});nt(()=>o.currentNodeKey,S=>{u.value.setCurrentNodeKey(S)}),nt(()=>o.defaultCheckedKeys,S=>{u.value.setDefaultCheckedKey(S)}),nt(()=>o.defaultExpandedKeys,S=>{u.value.setDefaultExpandedKeys(S)}),nt(()=>o.data,S=>{u.value.setData(S)},{deep:!0}),nt(()=>o.checkStrictly,S=>{u.value.checkStrictly=S});const C=S=>{if(!o.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");u.value.filter(S)},b=S=>jl(o.nodeKey,S.data),D=S=>{if(!o.nodeKey)throw new Error("[Tree] nodeKey is required in getNodePath");const R=u.value.getNode(S);if(!R)return[];const E=[R.data];let U=R.parent;for(;U&&U!==c.value;)E.push(U.data),U=U.parent;return E.reverse()},x=(S,R)=>u.value.getCheckedNodes(S,R),M=S=>u.value.getCheckedKeys(S),F=()=>{const S=u.value.getCurrentNode();return S?S.data:null},L=()=>{if(!o.nodeKey)throw new Error("[Tree] nodeKey is required in getCurrentKey");const S=F();return S?S[o.nodeKey]:null},k=(S,R)=>{if(!o.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedNodes");u.value.setCheckedNodes(S,R)},G=(S,R)=>{if(!o.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedKeys");u.value.setCheckedKeys(S,R)},ne=(S,R,E)=>{u.value.setChecked(S,R,E)},re=()=>u.value.getHalfCheckedNodes(),oe=()=>u.value.getHalfCheckedKeys(),de=(S,R=!0)=>{if(!o.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentNode");Wl(u,s.emit,()=>u.value.setUserCurrentNode(S,R))},Z=(S,R=!0)=>{if(!o.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentKey");Wl(u,s.emit,()=>u.value.setCurrentNodeKey(S,R))},ae=S=>u.value.getNode(S),ge=S=>{u.value.remove(S)},pe=(S,R)=>{u.value.append(S,R)},N=(S,R)=>{u.value.insertBefore(S,R)},A=(S,R)=>{u.value.insertAfter(S,R)},B=(S,R,E)=>{p(R),s.emit("node-expand",S,R,E)},X=(S,R)=>{if(!o.nodeKey)throw new Error("[Tree] nodeKey is required in updateKeyChild");u.value.updateChildren(S,R)};return $n("RootTree",{ctx:s,props:o,store:u,root:c,currentNode:g,instance:_r()}),$n(Vy,void 0),{ns:i,store:u,root:c,currentNode:g,dragState:y,el$:h,dropIndicator$:m,isEmpty:_,filter:C,getNodeKey:b,getNodePath:D,getCheckedNodes:x,getCheckedKeys:M,getCurrentNode:F,getCurrentKey:L,setCheckedNodes:k,setCheckedKeys:G,setChecked:ne,getHalfCheckedNodes:re,getHalfCheckedKeys:oe,setCurrentNode:de,setCurrentKey:Z,t:r,getNode:ae,remove:ge,append:pe,insertBefore:N,insertAfter:A,handleNodeExpand:B,updateKeyChildren:X}}});function lk(o,s,r,i,u,c){const g=tr("el-tree-node");return T(),j("div",{ref:"el$",class:Y([o.ns.b(),o.ns.is("dragging",!!o.dragState.draggingNode),o.ns.is("drop-not-allow",!o.dragState.allowDrop),o.ns.is("drop-inner",o.dragState.dropType==="inner"),{[o.ns.m("highlight-current")]:o.highlightCurrent}]),role:"tree"},[(T(!0),j(Le,null,et(o.root.childNodes,h=>(T(),be(g,{key:o.getNodeKey(h),node:h,props:o.props,accordion:o.accordion,"render-after-expand":o.renderAfterExpand,"show-checkbox":o.showCheckbox,"render-content":o.renderContent,onNodeExpand:o.handleNodeExpand},null,8,["node","props","accordion","render-after-expand","show-checkbox","render-content","onNodeExpand"]))),128)),o.isEmpty?(T(),j("div",{key:0,class:Y(o.ns.e("empty-block"))},[Ft(o.$slots,"empty",{},()=>{var h;return[z("span",{class:Y(o.ns.e("empty-text"))},_e((h=o.emptyText)!=null?h:o.t("el.tree.emptyText")),3)]})],2)):ke("v-if",!0),dt(z("div",{ref:"dropIndicator$",class:Y(o.ns.e("drop-indicator"))},null,2),[[hn,o.dragState.showDropIndicator]])],2)}var ii=St(ik,[["render",lk],["__file","/home/runner/work/element-plus/element-plus/packages/components/tree/src/tree.vue"]]);ii.install=o=>{o.component(ii.name,ii)};const sk=ii,es=sk;const Nn=Ry("product",{state:()=>({product:fpe.product,data_sets:fpe.data_sets,openPanel:!1,isUpdating:!1,tax_enabled:fpe.tax_enabled,strings:fpe.strings,manage_stocks:fpe.manage_stocks,tags:[],panelWidth:localStorage.getItem("fpe_panel_width")||"400px"}),actions:{updateProduct(){this.isUpdating=!0;const{ajax_url:o,security:s,product_id:r,edit_mode:i}=fpe,u=this;Cn.post(`${o}?action=fpe_product_update&fpe_nonce=${s}`,{product:this.product,product_id:r,edit_mode:i,action:"fpe_product_update"}).then(function(c){c.data.success&&(i==="archive"?window.location.reload():window.location.href=c.data.product_url,u.isUpdating=!1)}).catch(function(c){console.log("Error updating product",c)})},togglePanel(){this.product=fpe.product,this.openPanel=!this.openPanel},updatePanelSize(o){this.panelWidth=o.width,localStorage.setItem("fpe_panel_width",o.width+"px")},async getTags(o){const{ajax_url:s}=fpe,r=this;await Cn.post(`${s}?action=ajax-tag-search&tax=product_tag&q=${o}&number=20`,{}).then(function(i){i.data.length&&(r.tags=i.data.split(`
    2 `))}).catch(function(i){console.log(i)})},async getProducts(o){const{ajax_url:s}=fpe,r=this;await Cn.post(`${s}?action=fpe_search_products&q=${o}&current=${this.product.id}`,{}).then(function(i){r.tags=i.data}).catch(function(i){console.log(i)})},async getUpsellProductsByIds(o){const{ajax_url:s,security:r}=fpe,i=this;await Cn.post(`${s}?action=fpe_get_products&fpe_nonce=${r}`,{ids:o}).then(function(u){i.product.upsell_ids=u.data}).catch(function(u){console.log(u)})},async getCrossSellProductsByIds(o){const{ajax_url:s,security:r}=fpe,i=this;await Cn.post(`${s}?action=fpe_get_products&fpe_nonce=${r}`,{ids:o}).then(function(u){i.product.cross_sell_ids=u.data}).catch(function(u){console.log(u)})},async getGroupedProductsByIds(o){const{ajax_url:s,security:r}=fpe,i=this;await Cn.post(`${s}?action=fpe_get_products&fpe_nonce=${r}`,{ids:o}).then(function(u){i.product.grouped_products=u.data}).catch(function(u){console.log(u)})},async getAttributeTermsById(o,s){const{ajax_url:r,security:i}=fpe,u=this;await Cn.post(`${r}?action=fpe_get_attribute_terms&fpe_nonce=${i}`,{attribute:o,ids:s}).then(function(c){u.tags=c.data}).catch(function(c){console.log(c)})}}}),ok={__name:"panel-footer",setup(o){const s=Nn(),{isUpdating:r,strings:i}=In(s);return ce(fpe.editor_config.pro||!1),(u,c)=>(T(),j(Le,null,[W(a(Yt),{class:"fpe-cancel",onClick:a(s).togglePanel},{default:fe(()=>[st(_e(a(i).cancel_button),1)]),_:1},8,["onClick"]),W(a(Yt),{loading:a(r),class:"fpe-update",type:"primary",onClick:a(s).updateProduct},{default:fe(()=>[st(_e(a(i).update_button),1)]),_:1},8,["loading","onClick"])],64))}};var Wd={exports:{}};const uk=w0(qy);(function(o,s){(function(r,i){o.exports=i(uk)})(typeof self<"u"?self:zt,function(r){return function(){var i={365:function(h,m,p){p.r(m);var y=p(81),_=p.n(y),C=p(645),b=p.n(C),D=b()(_());D.push([h.id,".resizable-component[data-v-3de5149f]{position:relative}.resizable-component>.resizable-r[data-v-3de5149f]{z-index:90;cursor:e-resize;top:0;height:100%}.resizable-component>.resizable-r[data-v-3de5149f],.resizable-component>.resizable-rb[data-v-3de5149f]{display:block;position:absolute;touch-action:none;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:12px;right:-6px}.resizable-component>.resizable-rb[data-v-3de5149f]{cursor:se-resize;height:12px;bottom:-6px;z-index:91}.resizable-component>.resizable-b[data-v-3de5149f]{z-index:90;cursor:s-resize;width:100%;left:0}.resizable-component>.resizable-b[data-v-3de5149f],.resizable-component>.resizable-lb[data-v-3de5149f]{display:block;position:absolute;touch-action:none;user-select:none;-moz-user-select:none;-webkit-user-select:none;height:12px;bottom:-6px}.resizable-component>.resizable-lb[data-v-3de5149f]{cursor:sw-resize;width:12px;left:-6px;z-index:91}.resizable-component>.resizable-l[data-v-3de5149f]{z-index:90;cursor:w-resize;height:100%;top:0}.resizable-component>.resizable-l[data-v-3de5149f],.resizable-component>.resizable-lt[data-v-3de5149f]{display:block;position:absolute;touch-action:none;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:12px;left:-6px}.resizable-component>.resizable-lt[data-v-3de5149f]{cursor:nw-resize;height:12px;top:-6px;z-index:91}.resizable-component>.resizable-t[data-v-3de5149f]{z-index:90;cursor:n-resize;width:100%;left:0}.resizable-component>.resizable-rt[data-v-3de5149f],.resizable-component>.resizable-t[data-v-3de5149f]{display:block;position:absolute;touch-action:none;user-select:none;-moz-user-select:none;-webkit-user-select:none;height:12px;top:-6px}.resizable-component>.resizable-rt[data-v-3de5149f]{cursor:ne-resize;width:12px;right:-6px;z-index:91}",""]),m.default=D},645:function(h){h.exports=function(m){var p=[];return p.toString=function(){return this.map(function(y){var _="",C=typeof y[5]<"u";return y[4]&&(_+="@supports (".concat(y[4],") {")),y[2]&&(_+="@media ".concat(y[2]," {")),C&&(_+="@layer".concat(y[5].length>0?" ".concat(y[5]):""," {")),_+=m(y),C&&(_+="}"),y[2]&&(_+="}"),y[4]&&(_+="}"),_}).join("")},p.i=function(y,_,C,b,D){typeof y=="string"&&(y=[[null,y,void 0]]);var x={};if(C)for(var M=0;M<this.length;M++){var F=this[M][0];F!=null&&(x[F]=!0)}for(var L=0;L<y.length;L++){var k=[].concat(y[L]);C&&x[k[0]]||(typeof D<"u"&&(typeof k[5]>"u"||(k[1]="@layer".concat(k[5].length>0?" ".concat(k[5]):""," {").concat(k[1],"}")),k[5]=D),_&&(k[2]&&(k[1]="@media ".concat(k[2]," {").concat(k[1],"}")),k[2]=_),b&&(k[4]?(k[1]="@supports (".concat(k[4],") {").concat(k[1],"}"),k[4]=b):k[4]="".concat(b)),p.push(k))}},p}},81:function(h){h.exports=function(m){return m[1]}},82:function(h,m){m.Z=(p,y)=>{const _=p.__vccOpts||p;for(const[C,b]of y)_[C]=b;return _}},733:function(h,m,p){var y=p(365);y.__esModule&&(y=y.default),typeof y=="string"&&(y=[[h.id,y,""]]),y.locals&&(h.exports=y.locals);var _=p(650).Z;_("833bf5a8",y,!0,{sourceMap:!1,shadowMode:!1})},650:function(h,m,p){function y(pe,N){for(var A=[],B={},X=0;X<N.length;X++){var S=N[X],R=S[0],E=S[1],U=S[2],J=S[3],V={id:pe+":"+X,css:E,media:U,sourceMap:J};B[R]?B[R].parts.push(V):A.push(B[R]={id:R,parts:[V]})}return A}p.d(m,{Z:function(){return ne}});var _=typeof document<"u";if(typeof DEBUG<"u"&&DEBUG&&!_)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var C={},b=_&&(document.head||document.getElementsByTagName("head")[0]),D=null,x=0,M=!1,F=function(){},L=null,k="data-vue-ssr-id",G=typeof navigator<"u"&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function ne(pe,N,A,B){M=A,L=B||{};var X=y(pe,N);return re(X),function(S){for(var R=[],E=0;E<X.length;E++){var U=X[E],J=C[U.id];J.refs--,R.push(J)}for(S?(X=y(pe,S),re(X)):X=[],E=0;E<R.length;E++)if(J=R[E],J.refs===0){for(var V=0;V<J.parts.length;V++)J.parts[V]();delete C[J.id]}}}function re(pe){for(var N=0;N<pe.length;N++){var A=pe[N],B=C[A.id];if(B){B.refs++;for(var X=0;X<B.parts.length;X++)B.parts[X](A.parts[X]);for(;X<A.parts.length;X++)B.parts.push(de(A.parts[X]));B.parts.length>A.parts.length&&(B.parts.length=A.parts.length)}else{var S=[];for(X=0;X<A.parts.length;X++)S.push(de(A.parts[X]));C[A.id]={id:A.id,refs:1,parts:S}}}}function oe(){var pe=document.createElement("style");return pe.type="text/css",b.appendChild(pe),pe}function de(pe){var N,A,B=document.querySelector("style["+k+'~="'+pe.id+'"]');if(B){if(M)return F;B.parentNode.removeChild(B)}if(G){var X=x++;B=D||(D=oe()),N=ae.bind(null,B,X,!1),A=ae.bind(null,B,X,!0)}else B=oe(),N=ge.bind(null,B),A=function(){B.parentNode.removeChild(B)};return N(pe),function(S){if(S){if(S.css===pe.css&&S.media===pe.media&&S.sourceMap===pe.sourceMap)return;N(pe=S)}else A()}}var Z=function(){var pe=[];return function(N,A){return pe[N]=A,pe.filter(Boolean).join(`
     1import{B as xb,C as Sb,E as Db,F as Le,K as $b,R as Nb,S as Eb,a as Mb,T as Ab,b as Tb,c as Gl,d as Ib,V as Pb,e as Ob,f as Vb,g as Rb,h as Lb,i as Bb,j as zb,k as Fb,l as ue,m as Gu,n as be,o as ke,p as j,q as z,r as Ub,s as Kb,t as Wb,u as Hb,v as Yb,w as Gb,x as st,y as W,z as qb,A as Zb,D as Ye,G as Xb,H as Jb,I as Qb,J as jb,L as e_,M as t_,N as n_,O as r_,P as _r,Q as a_,U as i_,W as l_,X as Il,Y as s_,Z as o_,_ as u_,$ as d_,a0 as kt,a1 as c_,a2 as f_,a3 as h_,a4 as p_,a5 as na,a6 as v_,a7 as m_,a8 as g_,a9 as b_,aa as __,ab as ci,ac as At,ad as Y,ae as y_,af as ra,ag as w_,ah as k_,ai as C_,aj as x_,ak as S_,al as D_,am as ar,an as $_,ao as N_,ap as E_,aq as M_,ar as A_,as as ql,at as T,au as T_,av as $n,aw as I_,ax as P_,ay as O_,az as fi,aA as V_,aB as ce,aC as R_,aD as L_,aE as et,aF as Ft,aG as tr,aH as B_,aI as nr,aJ as z_,aK as F_,aL as U_,aM as K_,aN as W_,aO as H_,aP as Y_,aQ as Pl,aR as G_,aS as q_,aT as Z_,aU as _e,aV as X_,aW as qu,aX as Ol,aY as br,aZ as Zu,a_ as J_,a$ as Q_,b0 as a,b1 as Zl,b2 as j_,b3 as ey,b4 as ty,b5 as sa,b6 as ny,b7 as aa,b8 as ry,b9 as ay,ba as iy,bb as Xu,bc as hn,bd as ly,be as sy,bf as nt,bg as oy,bh as uy,bi as dy,bj as cy,bk as fe,bl as fy,bm as dt,bn as pn,bo as hy,bp as pt,bq as py,br as Eu,bs as Mu,bt as Ju,bu as Qu,bv as vy,bw as ju,bx as my,by as gy,bz as by,bA as _y,bB as yy,bC as yt,bD as He,bE as oa,bF as wy,bG as hi,bH as ed,bI as Au,bJ as _t,bK as ky,bL as vn,bM as ot,bN as ua,bO as Vr,bP as td,bQ as Cy,bR as xy,bS as li,bT as Sy,bU as mt,bV as Ze,bW as nd,bX as St,bY as at,bZ as Rr,b_ as Dy,b$ as $y,c0 as rd,c1 as ad,c2 as rr,c3 as xn,c4 as si,c5 as en,c6 as Vl,c7 as id,c8 as ld,c9 as sd,ca as Xl,cb as Ny,cc as pi,cd as Tu,ce as ea,cf as od,cg as Ey,ch as Rl,ci as ia,cj as Ll,ck as la,cl as Yt,cm as ti,cn as ta,co as My,cp as ud,cq as Bl,cr as Nl,cs as Ay,ct as Ty,cu as Iy,cv as Py,cw as Oy,cx as Vy,cy as Ry,cz as Cn,cA as In,cB as Ly,cC as Sn,cD as Dn,cE as oi,cF as By,cG as zy,cH as Fy,cI as Uy,cJ as Ky,cK as Wy,cL as Hy,cM as Yy}from"../assets/base-}&number=20`,{}).then(function(i){i.data.length&&(r.tags=i.data.split(`
     2`))}).catch(function(i){console.log(i)})},async getProducts(.appendChild(pe),pe}function de(pe){var N,A,B=document.querySelector("style["+k+'~="'+pe.id+'"]');if(B){if(M)return F;B.parentNode.removeChild(B)}if(G){var X=x++;B=D||(D=oe()),N=ae.bind(null,B,X,!1),A=ae.bind(null,B,X,!0)}else B=oe(),N=ge.bind(null,B),A=function(){B.parentNode.removeChild(B)};return N(pe),function(S){if(S){if(S.css===pe.css&&S.media===pe.media&&S.sourceMap===pe.sourceMap)return;N(pe=S)}else A()}}var Z=function(){var pe=[];return function(N,A){return pe[N]=A,pe.filter(Boolean).join(`
    33`)}}();function ae(pe,N,A,B){var X=A?"":B.css;if(pe.styleSheet)pe.styleSheet.cssText=Z(N,X);else{var S=document.createTextNode(X),R=pe.childNodes;R[N]&&pe.removeChild(R[N]),R.length?pe.insertBefore(S,R[N]):pe.appendChild(S)}}function ge(pe,N){var A=N.css,B=N.media,X=N.sourceMap;if(B&&pe.setAttribute("media",B),L.ssrId&&pe.setAttribute(k,N.id),X&&(A+=`
    44/*# sourceURL=`+X.sources[0]+" */",A+=`
    5 /*# sourceMappingURL=data:application/json;base64,`+btoa(unescape(encodeURIComponent(JSON.stringify(X))))+" */"),pe.styleSheet)pe.styleSheet.cssText=A;else{for(;pe.firstChild;)pe.removeChild(pe.firstChild);pe.appendChild(document.createTextNode(A))}}},203:function(h){h.exports=r}},u={};function c(h){var m=u[h];if(m!==void 0)return m.exports;var p=u[h]={id:h,exports:{}};return i[h](p,p.exports,c),p.exports}(function(){c.n=function(h){var m=h&&h.__esModule?function(){return h.default}:function(){return h};return c.d(m,{a:m}),m}})(),function(){c.d=function(h,m){for(var p in m)c.o(m,p)&&!c.o(h,p)&&Object.defineProperty(h,p,{enumerable:!0,get:m[p]})}}(),function(){c.o=function(h,m){return Object.prototype.hasOwnProperty.call(h,m)}}(),function(){c.r=function(h){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(h,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(h,"__esModule",{value:!0})}}(),function(){c.p=""}();var g={};return function(){if(c.r(g),c.d(g,{default:function(){return L}}),typeof window<"u"){var h=window.document.currentScript,m=h&&h.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);m&&(c.p=m[1])}var p=c(203);function y(k,G,ne,re,oe,de){return(0,p.openBlock)(),(0,p.createElementBlock)("div",{ref:"parent",class:"resizable-component",style:(0,p.normalizeStyle)(de.style)},[(0,p.renderSlot)(k.$slots,"default",{},void 0,!0),((0,p.openBlock)(!0),(0,p.createElementBlock)(p.Fragment,null,(0,p.renderList)(ne.active,Z=>(0,p.withDirectives)(((0,p.openBlock)(),(0,p.createElementBlock)("div",{key:Z,class:(0,p.normalizeClass)("resizable-"+Z)},null,2)),[[p.vShow,!ne.maximize]])),128))],4)}const _={"resizable-r":{bit:1,cursor:"e-resize"},"resizable-rb":{bit:3,cursor:"se-resize"},"resizable-b":{bit:2,cursor:"s-resize"},"resizable-lb":{bit:6,cursor:"sw-resize"},"resizable-l":{bit:4,cursor:"w-resize"},"resizable-lt":{bit:12,cursor:"nw-resize"},"resizable-t":{bit:8,cursor:"n-resize"},"resizable-rt":{bit:9,cursor:"ne-resize"},"drag-el":{bit:15,cursor:"pointer"}},C={l:1,t:2,w:4,h:8};var b={name:"VResizable",props:{width:{default:void 0,type:[Number,String]},minWidth:{default:0,type:Number},maxWidth:{default:void 0,type:Number},height:{default:void 0,type:[Number,String]},minHeight:{default:0,type:Number},maxHeight:{default:void 0,type:Number},left:{default:0,type:[Number,String]},top:{default:0,type:[Number,String]},active:{default:()=>["r","rb","b","lb","l","lt","t","rt"],validator:k=>["r","rb","b","lb","l","lt","t","rt"].filter(G=>k.indexOf(G)!==-1).length===k.length,type:Array},fitParent:{default:!1,type:Boolean},dragSelector:{default:void 0,type:String},maximize:{default:!1,type:Boolean},disableAttributes:{default:()=>[],validator:k=>["l","t","w","h"].filter(G=>k.indexOf(G)!==-1).length===k.length,type:Array}},emits:["mount","destroy","resize:start","resize:move","resize:end","drag:start","drag:move","drag:end","maximize"],data(){return{w:this.width,h:this.height,minW:this.minWidth,minH:this.minHeight,maxW:this.maxWidth,maxH:this.maxHeight,l:this.left,t:this.top,mouseX:0,mouseY:0,offsetX:0,offsetY:0,parent:{width:0,height:0},resizeState:0,dragElements:[],dragState:!1,calcMap:15}},computed:{style(){return{...this.calcMap&C.w&&{width:typeof this.w=="number"?this.w+"px":this.w},...this.calcMap&C.h&&{height:typeof this.h=="number"?this.h+"px":this.h},...this.calcMap&C.l&&{left:typeof this.l=="number"?this.l+"px":this.l},...this.calcMap&C.t&&{top:typeof this.t=="number"?this.t+"px":this.t}}}},watch:{maxWidth(k){this.maxW=k},maxHeight(k){this.maxH=k},minWidth(k){this.minW=k},minHeight(k){this.minH=k},width(k){typeof k=="number"&&(this.w=k)},height(k){typeof k=="number"&&(this.h=k)},left(k){typeof k=="number"&&(this.l=k)},top(k){typeof k=="number"&&(this.t=k)},dragSelector(k){this.setupDragElements(k)},maximize(k){this.setMaximize(k),this.emitEvent("maximize",{state:k})}},mounted(){this.width?this.width!=="auto"&&typeof this.width!="number"&&(this.w=this.$el.clientWidth):this.w=this.$el.parentElement.clientWidth,this.height?this.height!=="auto"&&typeof this.height!="number"&&(this.h=this.$el.clientHeight):this.h=this.$el.parentElement.clientHeight,typeof this.left!="number"&&(this.l=this.$el.offsetLeft-this.$el.parentElement.offsetLeft),typeof this.top!="number"&&(this.t=this.$el.offsetTop-this.$el.parentElement.offsetTop),this.minW&&this.w<this.minW&&(this.w=this.minW),this.minH&&this.h<this.minH&&(this.h=this.minH),this.maxW&&this.w>this.maxW&&(this.w=this.maxW),this.maxH&&this.h>this.maxH&&(this.h=this.maxH),this.setMaximize(this.maximize),this.setupDragElements(this.dragSelector),this.disableAttributes.forEach(k=>{switch(k){case"l":this.calcMap&=~C.l;break;case"t":this.calcMap&=~C.t;break;case"w":this.calcMap&=~C.w;break;case"h":this.calcMap&=~C.h}}),document.documentElement.addEventListener("mousemove",this.handleMove,!0),document.documentElement.addEventListener("mousedown",this.handleDown,!0),document.documentElement.addEventListener("mouseup",this.handleUp,!0),document.documentElement.addEventListener("touchmove",this.handleMove,!0),document.documentElement.addEventListener("touchstart",this.handleDown,!0),document.documentElement.addEventListener("touchend",this.handleUp,!0),this.emitEvent("mount")},beforeUnmount(){document.documentElement.removeEventListener("mousemove",this.handleMove,!0),document.documentElement.removeEventListener("mousedown",this.handleDown,!0),document.documentElement.removeEventListener("mouseup",this.handleUp,!0),document.documentElement.removeEventListener("touchmove",this.handleMove,!0),document.documentElement.removeEventListener("touchstart",this.handleDown,!0),document.documentElement.removeEventListener("touchend",this.handleUp,!0),this.emitEvent("destroy")},methods:{setMaximize(k){const G=this.$el.parentElement;k?(this.prevState={w:this.w,h:this.h,l:this.l,t:this.t},this.t=this.l=0,this.w=G.clientWidth,this.h=G.clientHeight):this.restoreSize()},restoreSize(){this.prevState&&(this.l=this.prevState.l,this.t=this.prevState.t,this.h=this.prevState.h,this.w=this.prevState.w)},setupDragElements(k){this.$el.querySelectorAll(".drag-el").forEach(re=>{re.classList.remove("drag-el")});const ne=this.$el.querySelectorAll(k);ne.forEach(re=>{re.classList.add("drag-el")}),this.dragElements=Array.prototype.slice.call(ne)},emitEvent(k,G){this.$emit(k,{eventName:k,left:this.l,top:this.t,width:this.w,height:this.h,cmp:this,...G})},handleMove(k){if(this.resizeState!==0){let G,ne;if(this.dragState||(isNaN(this.w)&&(this.w=this.$el.clientWidth),isNaN(this.h)&&(this.h=this.$el.clientHeight)),k.touches&&k.touches.length>=0?(G=k.touches[0].clientY,ne=k.touches[0].clientX):(G=k.clientY,ne=k.clientX),this.maximize&&this.prevState){const Z=this.parent.width,ae=this.parent.height;this.restoreSize(),this.prevState=void 0,this.t=G>ae/2?ae-this.h:0,this.l=ne>Z/2?Z-this.w:0,this.emitEvent("maximize",{state:!1})}let re=ne-this.mouseX+this.offsetX,oe=G-this.mouseY+this.offsetY;if(this.$el.getBoundingClientRect){const Z=this.$el.getBoundingClientRect(),ae=Z.width/this.$el.offsetWidth||1,ge=Z.height/this.$el.offsetHeight||1;re/=ae,oe/=ge}this.offsetX=this.offsetY=0,this.resizeState&_["resizable-r"].bit&&(!this.dragState&&this.w+re<this.minW?this.offsetX=re-(re=this.minW-this.w):!this.dragState&&this.maxW&&this.w+re>this.maxW&&(!this.fitParent||this.w+this.l<this.parent.width)?this.offsetX=re-(re=this.maxW-this.w):this.fitParent&&this.l+this.w+re>this.parent.width&&(this.offsetX=re-(re=this.parent.width-this.l-this.w)),this.calcMap&C.w&&(this.w+=this.dragState?0:re)),this.resizeState&_["resizable-b"].bit&&(!this.dragState&&this.h+oe<this.minH?this.offsetY=oe-(oe=this.minH-this.h):!this.dragState&&this.maxH&&this.h+oe>this.maxH&&(!this.fitParent||this.h+this.t<this.parent.height)?this.offsetY=oe-(oe=this.maxH-this.h):this.fitParent&&this.t+this.h+oe>this.parent.height&&(this.offsetY=oe-(oe=this.parent.height-this.t-this.h)),this.calcMap&C.h&&(this.h+=this.dragState?0:oe)),this.resizeState&_["resizable-l"].bit&&(!this.dragState&&this.w-re<this.minW?this.offsetX=re-(re=this.w-this.minW):!this.dragState&&this.maxW&&this.w-re>this.maxW&&this.l>=0?this.offsetX=re-(re=this.w-this.maxW):this.fitParent&&this.l+re<0&&(this.offsetX=re-(re=-this.l)),this.calcMap&C.l&&(this.l+=re),this.calcMap&C.w&&(this.w-=this.dragState?0:re)),this.resizeState&_["resizable-t"].bit&&(!this.dragState&&this.h-oe<this.minH?this.offsetY=oe-(oe=this.h-this.minH):!this.dragState&&this.maxH&&this.h-oe>this.maxH&&this.t>=0?this.offsetY=oe-(oe=this.h-this.maxH):this.fitParent&&this.t+oe<0&&(this.offsetY=oe-(oe=-this.t)),this.calcMap&C.t&&(this.t+=oe),this.calcMap&C.h&&(this.h-=this.dragState?0:oe)),this.mouseX=ne,this.mouseY=G;const de=this.dragState?"drag:move":"resize:move";this.emitEvent(de)}},handleDown(k){if(!k.target.closest||k.target.closest(".resizable-component")===this.$refs.parent){for(let G in _)if(this.$el.contains(k.target)&&(k.target.closest&&k.target.closest(`.${G}`)||k.target.classList.contains(G))){G==="drag-el"&&(this.dragState=!0),document.body.style.cursor=_[G].cursor,k.touches&&k.touches.length>=1?(this.mouseX=k.touches[0].clientX,this.mouseY=k.touches[0].clientY):(k.preventDefault&&k.preventDefault(),this.mouseX=k.clientX,this.mouseY=k.clientY),this.offsetX=this.offsetY=0,this.resizeState=_[G].bit,this.parent.height=this.$el.parentElement.clientHeight,this.parent.width=this.$el.parentElement.clientWidth;const ne=this.dragState?"drag:start":"resize:start";this.emitEvent(ne);break}}},handleUp(){if(this.resizeState!==0){this.resizeState=0,document.body.style.cursor="";const k=this.dragState?"drag:end":"resize:end";this.emitEvent(k),this.dragState=!1}}}},D=(c(733),c(82)),M=(0,D.Z)(b,[["render",y],["__scopeId","data-v-3de5149f"]]),F=M,L=F}(),g}()})})(Wd);var dk=Wd.exports;const ck=Pn(dk);const fk=["id"],Hu={__name:"wysiwyg",props:["value","editor_id"],emits:["update:modelValue"],setup(o,{emit:s}){const r=o,i=u=>{s("update:modelValue",u.target.value)};return(u,c)=>(T(),j("div",null,[dt((T(),j("textarea",{"onUpdate:modelValue":c[0]||(c[0]=g=>r.value=g),id:r.editor_id,key:r.editor_id,onInput:i},null,40,fk)),[[Xu,r.value]])]))}};var di={exports:{}};/**
     5/*# sourceMappingURL=data:application/json;base64,`+btoa(unescape(encodeURIComponent(JSON.stringify(X))))+" */"),pe.styleSheet)pe.styleSheet.cssText=A;else{for(;pe.firstChild;)pe.removeChild(pe.firstChild);pe.appendChild(document.createTextNode(A))}}},203:function(h){h.exports=r}},u={};function c(h){var m=u[h];if(m!==void 0)return m.exports;var p=u[h]={id:h,exports:{}};return i[h](p,p.exports,c),p.exports}(function(){c.n=function(h){var m=h&&h.__esModule?function(){return h.default}:function(){return h};return c.d(m,{a:m}),m}})(),function(){c.d=function(h,m){for(var p in m)c.o(m,p)&&!c.o(h,p)&&Object.defineProperty(h,p,{enumerable:!0,get:m[p]})}}(),function(){c.o=function(h,m){return Object.prototype.hasOwnProperty.call(h,m)}}(),function(){c.r=function(h){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(h,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(h,"__esModule",{value:!0})}}(),function(){c.p=""}();var g={};return function(){if(c.r(g),c.d(g,{default:function(){return L}}),typeof window<"u"){var h=window.document.currentScript,m=h&&h.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);m&&(c.p=m[1])}var p=c(203);function y(k,G,ne,re,oe,de){return(0,p.openBlock)(),(0,p.createElementBlock)("div",{ref:"parent",class:"resizable-component",style:(0,p.normalizeStyle)(de.style)},[(0,p.renderSlot)(k.$slots,"default",{},void 0,!0),((0,p.openBlock)(!0),(0,p.createElementBlock)(p.Fragment,null,(0,p.renderList)(ne.active,Z=>(0,p.withDirectives)(((0,p.openBlock)(),(0,p.createElementBlock)("div",{key:Z,class:(0,p.normalizeClass)("resizable-"+Z)},null,2)),[[p.vShow,!ne.maximize]])),128))],4)}const ("update:modelValue",u.target.value)};return(u,c)=>(T(),j("div",null,[dt((T(),j("textarea",{"onUpdate:modelValue":c[0]||(c[0]=g=>r.value=g),id:r.editor_id,key:r.editor_id,onInput:i},null,40,fk)),[[Xu,r.value]])]))}};var di={exports:{}};/**
    66 * @license
    77 * Lodash <https://lodash.com/>
     
    1010 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
    1111 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
    12  */di.exports;(function(o,s){(function(){var r,i="4.17.21",u=200,c="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",g="Expected a function",h="Invalid `variable` option passed into `_.template`",m="__lodash_hash_undefined__",p=500,y="__lodash_placeholder__",_=1,C=2,b=4,D=1,x=2,M=1,F=2,L=4,k=8,G=16,ne=32,re=64,oe=128,de=256,Z=512,ae=30,ge="...",pe=800,N=16,A=1,B=2,X=3,S=1/0,R=9007199254740991,E=17976931348623157e292,U=0/0,J=4294967295,V=J-1,ie=J>>>1,ye=[["ary",oe],["bind",M],["bindKey",F],["curry",k],["curryRight",G],["flip",Z],["partial",ne],["partialRight",re],["rearg",de]],Ce="[object Arguments]",Se="[object Array]",We="[object AsyncFunction]",Ae="[object Boolean]",Te="[object Date]",Pe="[object DOMException]",ct="[object Error]",Xe="[object Function]",Dt="[object GeneratorFunction]",Je="[object Map]",Pt="[object Number]",tn="[object Null]",Ie="[object Object]",mn="[object Promise]",Ot="[object Proxy]",$t="[object RegExp]",wt="[object Set]",nn="[object String]",gn="[object Symbol]",En="[object Undefined]",Vt="[object WeakMap]",Wn="[object WeakSet]",rn="[object ArrayBuffer]",Ge="[object DataView]",Q="[object Float32Array]",ve="[object Float64Array]",Me="[object Int8Array]",P="[object Int16Array]",H="[object Int32Array]",se="[object Uint8Array]",he="[object Uint8ClampedArray]",ft="[object Uint16Array]",bn="[object Uint32Array]",Hn=/\b__p \+= '';/g,vi=/\b(__p \+=) '' \+/g,lr=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Qe=/&(?:amp|lt|gt|quot|#39);/g,Gt=/[&<>"']/g,Yd=RegExp(Qe.source),Gd=RegExp(Gt.source),qd=/<%-([\s\S]+?)%>/g,Zd=/<%([\s\S]+?)%>/g,ts=/<%=([\s\S]+?)%>/g,Xd=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Jd=/^\w*$/,Qd=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,mi=/[\\^$.*+?()[\]{}|]/g,jd=RegExp(mi.source),gi=/^\s+/,ec=/\s/,tc=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,nc=/\{\n\/\* \[wrapped with (.+)\] \*/,rc=/,? & /,ac=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ic=/[()=,{}\[\]\/\s]/,lc=/\\(\\)?/g,sc=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ns=/\w*$/,oc=/^[-+]0x[0-9a-f]+$/i,uc=/^0b[01]+$/i,dc=/^\[object .+?Constructor\]$/,cc=/^0o[0-7]+$/i,fc=/^(?:0|[1-9]\d*)$/,hc=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,da=/($^)/,pc=/['\n\r\u2028\u2029\\]/g,ca="\\ud800-\\udfff",vc="\\u0300-\\u036f",mc="\\ufe20-\\ufe2f",gc="\\u20d0-\\u20ff",rs=vc+mc+gc,as="\\u2700-\\u27bf",is="a-z\\xdf-\\xf6\\xf8-\\xff",bc="\\xac\\xb1\\xd7\\xf7",_c="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",yc="\\u2000-\\u206f",wc=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ls="A-Z\\xc0-\\xd6\\xd8-\\xde",ss="\\ufe0e\\ufe0f",os=bc+_c+yc+wc,bi="['’]",kc="["+ca+"]",us="["+os+"]",fa="["+rs+"]",ds="\\d+",Cc="["+as+"]",cs="["+is+"]",fs="[^"+ca+os+ds+as+is+ls+"]",_i="\\ud83c[\\udffb-\\udfff]",xc="(?:"+fa+"|"+_i+")",hs="[^"+ca+"]",yi="(?:\\ud83c[\\udde6-\\uddff]){2}",wi="[\\ud800-\\udbff][\\udc00-\\udfff]",yr="["+ls+"]",ps="\\u200d",vs="(?:"+cs+"|"+fs+")",Sc="(?:"+yr+"|"+fs+")",ms="(?:"+bi+"(?:d|ll|m|re|s|t|ve))?",gs="(?:"+bi+"(?:D|LL|M|RE|S|T|VE))?",bs=xc+"?",_s="["+ss+"]?",Dc="(?:"+ps+"(?:"+[hs,yi,wi].join("|")+")"+_s+bs+")*",$c="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Nc="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ys=_s+bs+Dc,Ec="(?:"+[Cc,yi,wi].join("|")+")"+ys,Mc="(?:"+[hs+fa+"?",fa,yi,wi,kc].join("|")+")",Ac=RegExp(bi,"g"),Tc=RegExp(fa,"g"),ki=RegExp(_i+"(?="+_i+")|"+Mc+ys,"g"),Ic=RegExp([yr+"?"+cs+"+"+ms+"(?="+[us,yr,"$"].join("|")+")",Sc+"+"+gs+"(?="+[us,yr+vs,"$"].join("|")+")",yr+"?"+vs+"+"+ms,yr+"+"+gs,Nc,$c,ds,Ec].join("|"),"g"),Pc=RegExp("["+ps+ca+rs+ss+"]"),Oc=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Vc=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Rc=-1,lt={};lt[Q]=lt[ve]=lt[Me]=lt[P]=lt[H]=lt[se]=lt[he]=lt[ft]=lt[bn]=!0,lt[Ce]=lt[Se]=lt[rn]=lt[Ae]=lt[Ge]=lt[Te]=lt[ct]=lt[Xe]=lt[Je]=lt[Pt]=lt[Ie]=lt[$t]=lt[wt]=lt[nn]=lt[Vt]=!1;var it={};it[Ce]=it[Se]=it[rn]=it[Ge]=it[Ae]=it[Te]=it[Q]=it[ve]=it[Me]=it[P]=it[H]=it[Je]=it[Pt]=it[Ie]=it[$t]=it[wt]=it[nn]=it[gn]=it[se]=it[he]=it[ft]=it[bn]=!0,it[ct]=it[Xe]=it[Vt]=!1;var Lc={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"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kc=parseInt,ws=typeof zt=="object"&&zt&&zt.Object===Object&&zt,Wc=typeof self=="object"&&self&&self.Object===Object&&self,Et=ws||Wc||Function("return this")(),Ci=s&&!s.nodeType&&s,sr=Ci&&!0&&o&&!o.nodeType&&o,ks=sr&&sr.exports===Ci,xi=ks&&ws.process,an=function(){try{var I=sr&&sr.require&&sr.require("util").types;return I||xi&&xi.binding&&xi.binding("util")}catch{}}(),Cs=an&&an.isArrayBuffer,xs=an&&an.isDate,Ss=an&&an.isMap,Ds=an&&an.isRegExp,$s=an&&an.isSet,Ns=an&&an.isTypedArray;function qt(I,q,K){switch(K.length){case 0:return I.call(q);case 1:return I.call(q,K[0]);case 2:return I.call(q,K[0],K[1]);case 3:return I.call(q,K[0],K[1],K[2])}return I.apply(q,K)}function Hc(I,q,K,we){for(var Oe=-1,qe=I==null?0:I.length;++Oe<qe;){var Ct=I[Oe];q(we,Ct,K(Ct),I)}return we}function ln(I,q){for(var K=-1,we=I==null?0:I.length;++K<we&&q(I[K],K,I)!==!1;);return I}function Yc(I,q){for(var K=I==null?0:I.length;K--&&q(I[K],K,I)!==!1;);return I}function Es(I,q){for(var K=-1,we=I==null?0:I.length;++K<we;)if(!q(I[K],K,I))return!1;return!0}function Yn(I,q){for(var K=-1,we=I==null?0:I.length,Oe=0,qe=[];++K<we;){var Ct=I[K];q(Ct,K,I)&&(qe[Oe++]=Ct)}return qe}function ha(I,q){var K=I==null?0:I.length;return!!K&&wr(I,q,0)>-1}function Si(I,q,K){for(var we=-1,Oe=I==null?0:I.length;++we<Oe;)if(K(q,I[we]))return!0;return!1}function ut(I,q){for(var K=-1,we=I==null?0:I.length,Oe=Array(we);++K<we;)Oe[K]=q(I[K],K,I);return Oe}function Gn(I,q){for(var K=-1,we=q.length,Oe=I.length;++K<we;)I[Oe+K]=q[K];return I}function Di(I,q,K,we){var Oe=-1,qe=I==null?0:I.length;for(we&&qe&&(K=I[++Oe]);++Oe<qe;)K=q(K,I[Oe],Oe,I);return K}function Gc(I,q,K,we){var Oe=I==null?0:I.length;for(we&&Oe&&(K=I[--Oe]);Oe--;)K=q(K,I[Oe],Oe,I);return K}function $i(I,q){for(var K=-1,we=I==null?0:I.length;++K<we;)if(q(I[K],K,I))return!0;return!1}var qc=Ni("length");function Zc(I){return I.split("")}function Xc(I){return I.match(ac)||[]}function Ms(I,q,K){var we;return K(I,function(Oe,qe,Ct){if(q(Oe,qe,Ct))return we=qe,!1}),we}function pa(I,q,K,we){for(var Oe=I.length,qe=K+(we?1:-1);we?qe--:++qe<Oe;)if(q(I[qe],qe,I))return qe;return-1}function wr(I,q,K){return q===q?uf(I,q,K):pa(I,As,K)}function Jc(I,q,K,we){for(var Oe=K-1,qe=I.length;++Oe<qe;)if(we(I[Oe],q))return Oe;return-1}function As(I){return I!==I}function Ts(I,q){var K=I==null?0:I.length;return K?Mi(I,q)/K:U}function Ni(I){return function(q){return q==null?r:q[I]}}function Ei(I){return function(q){return I==null?r:I[q]}}function Is(I,q,K,we,Oe){return Oe(I,function(qe,Ct,rt){K=we?(we=!1,qe):q(K,qe,Ct,rt)}),K}function Qc(I,q){var K=I.length;for(I.sort(q);K--;)I[K]=I[K].value;return I}function Mi(I,q){for(var K,we=-1,Oe=I.length;++we<Oe;){var qe=q(I[we]);qe!==r&&(K=K===r?qe:K+qe)}return K}function Ai(I,q){for(var K=-1,we=Array(I);++K<I;)we[K]=q(K);return we}function jc(I,q){return ut(q,function(K){return[K,I[K]]})}function Ps(I){return I&&I.slice(0,Ls(I)+1).replace(gi,"")}function Zt(I){return function(q){return I(q)}}function Ti(I,q){return ut(q,function(K){return I[K]})}function Br(I,q){return I.has(q)}function Os(I,q){for(var K=-1,we=I.length;++K<we&&wr(q,I[K],0)>-1;);return K}function Vs(I,q){for(var K=I.length;K--&&wr(q,I[K],0)>-1;);return K}function ef(I,q){for(var K=I.length,we=0;K--;)I[K]===q&&++we;return we}var tf=Ei(Lc),nf=Ei(Bc);function rf(I){return"\\"+Fc[I]}function af(I,q){return I==null?r:I[q]}function kr(I){return Pc.test(I)}function lf(I){return Oc.test(I)}function sf(I){for(var q,K=[];!(q=I.next()).done;)K.push(q.value);return K}function Ii(I){var q=-1,K=Array(I.size);return I.forEach(function(we,Oe){K[++q]=[Oe,we]}),K}function Rs(I,q){return function(K){return I(q(K))}}function qn(I,q){for(var K=-1,we=I.length,Oe=0,qe=[];++K<we;){var Ct=I[K];(Ct===q||Ct===y)&&(I[K]=y,qe[Oe++]=K)}return qe}function va(I){var q=-1,K=Array(I.size);return I.forEach(function(we){K[++q]=we}),K}function of(I){var q=-1,K=Array(I.size);return I.forEach(function(we){K[++q]=[we,we]}),K}function uf(I,q,K){for(var we=K-1,Oe=I.length;++we<Oe;)if(I[we]===q)return we;return-1}function df(I,q,K){for(var we=K+1;we--;)if(I[we]===q)return we;return we}function Cr(I){return kr(I)?ff(I):qc(I)}function _n(I){return kr(I)?hf(I):Zc(I)}function Ls(I){for(var q=I.length;q--&&ec.test(I.charAt(q)););return q}var cf=Ei(zc);function ff(I){for(var q=ki.lastIndex=0;ki.test(I);)++q;return q}function hf(I){return I.match(ki)||[]}function pf(I){return I.match(Ic)||[]}var vf=function I(q){q=q==null?Et:xr.defaults(Et.Object(),q,xr.pick(Et,Vc));var K=q.Array,we=q.Date,Oe=q.Error,qe=q.Function,Ct=q.Math,rt=q.Object,Pi=q.RegExp,mf=q.String,sn=q.TypeError,ma=K.prototype,gf=qe.prototype,Sr=rt.prototype,ga=q["__core-js_shared__"],ba=gf.toString,tt=Sr.hasOwnProperty,bf=0,Bs=function(){var e=/[^.]+$/.exec(ga&&ga.keys&&ga.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),_a=Sr.toString,_f=ba.call(rt),yf=Et._,wf=Pi("^"+ba.call(tt).replace(mi,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ya=ks?q.Buffer:r,Zn=q.Symbol,wa=q.Uint8Array,zs=ya?ya.allocUnsafe:r,ka=Rs(rt.getPrototypeOf,rt),Fs=rt.create,Us=Sr.propertyIsEnumerable,Ca=ma.splice,Ks=Zn?Zn.isConcatSpreadable:r,zr=Zn?Zn.iterator:r,or=Zn?Zn.toStringTag:r,xa=function(){try{var e=hr(rt,"defineProperty");return e({},"",{}),e}catch{}}(),kf=q.clearTimeout!==Et.clearTimeout&&q.clearTimeout,Cf=we&&we.now!==Et.Date.now&&we.now,xf=q.setTimeout!==Et.setTimeout&&q.setTimeout,Sa=Ct.ceil,Da=Ct.floor,Oi=rt.getOwnPropertySymbols,Sf=ya?ya.isBuffer:r,Ws=q.isFinite,Df=ma.join,$f=Rs(rt.keys,rt),xt=Ct.max,Tt=Ct.min,Nf=we.now,Ef=q.parseInt,Hs=Ct.random,Mf=ma.reverse,Vi=hr(q,"DataView"),Fr=hr(q,"Map"),Ri=hr(q,"Promise"),Dr=hr(q,"Set"),Ur=hr(q,"WeakMap"),Kr=hr(rt,"create"),$a=Ur&&new Ur,$r={},Af=pr(Vi),Tf=pr(Fr),If=pr(Ri),Pf=pr(Dr),Of=pr(Ur),Na=Zn?Zn.prototype:r,Wr=Na?Na.valueOf:r,Ys=Na?Na.toString:r;function f(e){if(vt(e)&&!Ve(e)&&!(e instanceof Ue)){if(e instanceof on)return e;if(tt.call(e,"__wrapped__"))return qo(e)}return new on(e)}var Nr=function(){function e(){}return function(t){if(!ht(t))return{};if(Fs)return Fs(t);e.prototype=t;var n=new e;return e.prototype=r,n}}();function Ea(){}function on(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=r}f.templateSettings={escape:qd,evaluate:Zd,interpolate:ts,variable:"",imports:{_:f}},f.prototype=Ea.prototype,f.prototype.constructor=f,on.prototype=Nr(Ea.prototype),on.prototype.constructor=on;function Ue(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=J,this.__views__=[]}function Vf(){var e=new Ue(this.__wrapped__);return e.__actions__=Ut(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ut(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ut(this.__views__),e}function Rf(){if(this.__filtered__){var e=new Ue(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function Lf(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ve(e),l=t<0,d=n?e.length:0,v=Xh(0,d,this.__views__),w=v.start,$=v.end,O=$-w,ee=l?$:w-1,te=this.__iteratees__,le=te.length,me=0,xe=Tt(O,this.__takeCount__);if(!n||!l&&d==O&&xe==O)return go(e,this.__actions__);var $e=[];e:for(;O--&&me<xe;){ee+=t;for(var Be=-1,Ne=e[ee];++Be<le;){var Fe=te[Be],Ke=Fe.iteratee,Qt=Fe.type,Bt=Ke(Ne);if(Qt==B)Ne=Bt;else if(!Bt){if(Qt==A)continue e;break e}}$e[me++]=Ne}return $e}Ue.prototype=Nr(Ea.prototype),Ue.prototype.constructor=Ue;function ur(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var l=e[t];this.set(l[0],l[1])}}function Bf(){this.__data__=Kr?Kr(null):{},this.size=0}function zf(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function Ff(e){var t=this.__data__;if(Kr){var n=t[e];return n===m?r:n}return tt.call(t,e)?t[e]:r}function Uf(e){var t=this.__data__;return Kr?t[e]!==r:tt.call(t,e)}function Kf(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Kr&&t===r?m:t,this}ur.prototype.clear=Bf,ur.prototype.delete=zf,ur.prototype.get=Ff,ur.prototype.has=Uf,ur.prototype.set=Kf;function On(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var l=e[t];this.set(l[0],l[1])}}function Wf(){this.__data__=[],this.size=0}function Hf(e){var t=this.__data__,n=Ma(t,e);if(n<0)return!1;var l=t.length-1;return n==l?t.pop():Ca.call(t,n,1),--this.size,!0}function Yf(e){var t=this.__data__,n=Ma(t,e);return n<0?r:t[n][1]}function Gf(e){return Ma(this.__data__,e)>-1}function qf(e,t){var n=this.__data__,l=Ma(n,e);return l<0?(++this.size,n.push([e,t])):n[l][1]=t,this}On.prototype.clear=Wf,On.prototype.delete=Hf,On.prototype.get=Yf,On.prototype.has=Gf,On.prototype.set=qf;function Vn(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var l=e[t];this.set(l[0],l[1])}}function Zf(){this.size=0,this.__data__={hash:new ur,map:new(Fr||On),string:new ur}}function Xf(e){var t=Ua(this,e).delete(e);return this.size-=t?1:0,t}function Jf(e){return Ua(this,e).get(e)}function Qf(e){return Ua(this,e).has(e)}function jf(e,t){var n=Ua(this,e),l=n.size;return n.set(e,t),this.size+=n.size==l?0:1,this}Vn.prototype.clear=Zf,Vn.prototype.delete=Xf,Vn.prototype.get=Jf,Vn.prototype.has=Qf,Vn.prototype.set=jf;function dr(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new Vn;++t<n;)this.add(e[t])}function eh(e){return this.__data__.set(e,m),this}function th(e){return this.__data__.has(e)}dr.prototype.add=dr.prototype.push=eh,dr.prototype.has=th;function yn(e){var t=this.__data__=new On(e);this.size=t.size}function nh(){this.__data__=new On,this.size=0}function rh(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function ah(e){return this.__data__.get(e)}function ih(e){return this.__data__.has(e)}function lh(e,t){var n=this.__data__;if(n instanceof On){var l=n.__data__;if(!Fr||l.length<u-1)return l.push([e,t]),this.size=++n.size,this;n=this.__data__=new Vn(l)}return n.set(e,t),this.size=n.size,this}yn.prototype.clear=nh,yn.prototype.delete=rh,yn.prototype.get=ah,yn.prototype.has=ih,yn.prototype.set=lh;function Gs(e,t){var n=Ve(e),l=!n&&vr(e),d=!n&&!l&&er(e),v=!n&&!l&&!d&&Tr(e),w=n||l||d||v,$=w?Ai(e.length,mf):[],O=$.length;for(var ee in e)(t||tt.call(e,ee))&&!(w&&(ee=="length"||d&&(ee=="offset"||ee=="parent")||v&&(ee=="buffer"||ee=="byteLength"||ee=="byteOffset")||zn(ee,O)))&&$.push(ee);return $}function qs(e){var t=e.length;return t?e[qi(0,t-1)]:r}function sh(e,t){return Ka(Ut(e),cr(t,0,e.length))}function oh(e){return Ka(Ut(e))}function Li(e,t,n){(n!==r&&!wn(e[t],n)||n===r&&!(t in e))&&Rn(e,t,n)}function Hr(e,t,n){var l=e[t];(!(tt.call(e,t)&&wn(l,n))||n===r&&!(t in e))&&Rn(e,t,n)}function Ma(e,t){for(var n=e.length;n--;)if(wn(e[n][0],t))return n;return-1}function uh(e,t,n,l){return Xn(e,function(d,v,w){t(l,d,n(d),w)}),l}function Zs(e,t){return e&&An(t,Nt(t),e)}function dh(e,t){return e&&An(t,Wt(t),e)}function Rn(e,t,n){t=="__proto__"&&xa?xa(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Bi(e,t){for(var n=-1,l=t.length,d=K(l),v=e==null;++n<l;)d[n]=v?r:_l(e,t[n]);return d}function cr(e,t,n){return e===e&&(n!==r&&(e=e<=n?e:n),t!==r&&(e=e>=t?e:t)),e}function un(e,t,n,l,d,v){var w,$=t&_,O=t&C,ee=t&b;if(n&&(w=d?n(e,l,d,v):n(e)),w!==r)return w;if(!ht(e))return e;var te=Ve(e);if(te){if(w=Qh(e),!$)return Ut(e,w)}else{var le=It(e),me=le==Xe||le==Dt;if(er(e))return yo(e,$);if(le==Ie||le==Ce||me&&!d){if(w=O||me?{}:Bo(e),!$)return O?Fh(e,dh(w,e)):zh(e,Zs(w,e))}else{if(!it[le])return d?e:{};w=jh(e,le,$)}}v||(v=new yn);var xe=v.get(e);if(xe)return xe;v.set(e,w),pu(e)?e.forEach(function(Ne){w.add(un(Ne,t,n,Ne,e,v))}):fu(e)&&e.forEach(function(Ne,Fe){w.set(Fe,un(Ne,t,n,Fe,e,v))});var $e=ee?O?il:al:O?Wt:Nt,Be=te?r:$e(e);return ln(Be||e,function(Ne,Fe){Be&&(Fe=Ne,Ne=e[Fe]),Hr(w,Fe,un(Ne,t,n,Fe,e,v))}),w}function ch(e){var t=Nt(e);return function(n){return Xs(n,e,t)}}function Xs(e,t,n){var l=n.length;if(e==null)return!l;for(e=rt(e);l--;){var d=n[l],v=t[d],w=e[d];if(w===r&&!(d in e)||!v(w))return!1}return!0}function Js(e,t,n){if(typeof e!="function")throw new sn(g);return Qr(function(){e.apply(r,n)},t)}function Yr(e,t,n,l){var d=-1,v=ha,w=!0,$=e.length,O=[],ee=t.length;if(!$)return O;n&&(t=ut(t,Zt(n))),l?(v=Si,w=!1):t.length>=u&&(v=Br,w=!1,t=new dr(t));e:for(;++d<$;){var te=e[d],le=n==null?te:n(te);if(te=l||te!==0?te:0,w&&le===le){for(var me=ee;me--;)if(t[me]===le)continue e;O.push(te)}else v(t,le,l)||O.push(te)}return O}var Xn=So(Mn),Qs=So(Fi,!0);function fh(e,t){var n=!0;return Xn(e,function(l,d,v){return n=!!t(l,d,v),n}),n}function Aa(e,t,n){for(var l=-1,d=e.length;++l<d;){var v=e[l],w=t(v);if(w!=null&&($===r?w===w&&!Jt(w):n(w,$)))var $=w,O=v}return O}function hh(e,t,n,l){var d=e.length;for(n=Re(n),n<0&&(n=-n>d?0:d+n),l=l===r||l>d?d:Re(l),l<0&&(l+=d),l=n>l?0:mu(l);n<l;)e[n++]=t;return e}function js(e,t){var n=[];return Xn(e,function(l,d,v){t(l,d,v)&&n.push(l)}),n}function Mt(e,t,n,l,d){var v=-1,w=e.length;for(n||(n=tp),d||(d=[]);++v<w;){var $=e[v];t>0&&n($)?t>1?Mt($,t-1,n,l,d):Gn(d,$):l||(d[d.length]=$)}return d}var zi=Do(),eo=Do(!0);function Mn(e,t){return e&&zi(e,t,Nt)}function Fi(e,t){return e&&eo(e,t,Nt)}function Ta(e,t){return Yn(t,function(n){return Fn(e[n])})}function fr(e,t){t=Qn(t,e);for(var n=0,l=t.length;e!=null&&n<l;)e=e[Tn(t[n++])];return n&&n==l?e:r}function to(e,t,n){var l=t(e);return Ve(e)?l:Gn(l,n(e))}function Rt(e){return e==null?e===r?En:tn:or&&or in rt(e)?Zh(e):op(e)}function Ui(e,t){return e>t}function ph(e,t){return e!=null&&tt.call(e,t)}function vh(e,t){return e!=null&&t in rt(e)}function mh(e,t,n){return e>=Tt(t,n)&&e<xt(t,n)}function Ki(e,t,n){for(var l=n?Si:ha,d=e[0].length,v=e.length,w=v,$=K(v),O=1/0,ee=[];w--;){var te=e[w];w&&t&&(te=ut(te,Zt(t))),O=Tt(te.length,O),$[w]=!n&&(t||d>=120&&te.length>=120)?new dr(w&&te):r}te=e[0];var le=-1,me=$[0];e:for(;++le<d&&ee.length<O;){var xe=te[le],$e=t?t(xe):xe;if(xe=n||xe!==0?xe:0,!(me?Br(me,$e):l(ee,$e,n))){for(w=v;--w;){var Be=$[w];if(!(Be?Br(Be,$e):l(e[w],$e,n)))continue e}me&&me.push($e),ee.push(xe)}}return ee}function gh(e,t,n,l){return Mn(e,function(d,v,w){t(l,n(d),v,w)}),l}function Gr(e,t,n){t=Qn(t,e),e=Ko(e,t);var l=e==null?e:e[Tn(cn(t))];return l==null?r:qt(l,e,n)}function no(e){return vt(e)&&Rt(e)==Ce}function bh(e){return vt(e)&&Rt(e)==rn}function _h(e){return vt(e)&&Rt(e)==Te}function qr(e,t,n,l,d){return e===t?!0:e==null||t==null||!vt(e)&&!vt(t)?e!==e&&t!==t:yh(e,t,n,l,qr,d)}function yh(e,t,n,l,d,v){var w=Ve(e),$=Ve(t),O=w?Se:It(e),ee=$?Se:It(t);O=O==Ce?Ie:O,ee=ee==Ce?Ie:ee;var te=O==Ie,le=ee==Ie,me=O==ee;if(me&&er(e)){if(!er(t))return!1;w=!0,te=!1}if(me&&!te)return v||(v=new yn),w||Tr(e)?Vo(e,t,n,l,d,v):Gh(e,t,O,n,l,d,v);if(!(n&D)){var xe=te&&tt.call(e,"__wrapped__"),$e=le&&tt.call(t,"__wrapped__");if(xe||$e){var Be=xe?e.value():e,Ne=$e?t.value():t;return v||(v=new yn),d(Be,Ne,n,l,v)}}return me?(v||(v=new yn),qh(e,t,n,l,d,v)):!1}function wh(e){return vt(e)&&It(e)==Je}function Wi(e,t,n,l){var d=n.length,v=d,w=!l;if(e==null)return!v;for(e=rt(e);d--;){var $=n[d];if(w&&$[2]?$[1]!==e[$[0]]:!($[0]in e))return!1}for(;++d<v;){$=n[d];var O=$[0],ee=e[O],te=$[1];if(w&&$[2]){if(ee===r&&!(O in e))return!1}else{var le=new yn;if(l)var me=l(ee,te,O,e,t,le);if(!(me===r?qr(te,ee,D|x,l,le):me))return!1}}return!0}function ro(e){if(!ht(e)||rp(e))return!1;var t=Fn(e)?wf:dc;return t.test(pr(e))}function kh(e){return vt(e)&&Rt(e)==$t}function Ch(e){return vt(e)&&It(e)==wt}function xh(e){return vt(e)&&Za(e.length)&&!!lt[Rt(e)]}function ao(e){return typeof e=="function"?e:e==null?Ht:typeof e=="object"?Ve(e)?so(e[0],e[1]):lo(e):$u(e)}function Hi(e){if(!Jr(e))return $f(e);var t=[];for(var n in rt(e))tt.call(e,n)&&n!="constructor"&&t.push(n);return t}function Sh(e){if(!ht(e))return sp(e);var t=Jr(e),n=[];for(var l in e)l=="constructor"&&(t||!tt.call(e,l))||n.push(l);return n}function Yi(e,t){return e<t}function io(e,t){var n=-1,l=Kt(e)?K(e.length):[];return Xn(e,function(d,v,w){l[++n]=t(d,v,w)}),l}function lo(e){var t=sl(e);return t.length==1&&t[0][2]?Fo(t[0][0],t[0][1]):function(n){return n===e||Wi(n,e,t)}}function so(e,t){return ul(e)&&zo(t)?Fo(Tn(e),t):function(n){var l=_l(n,e);return l===r&&l===t?yl(n,e):qr(t,l,D|x)}}function Ia(e,t,n,l,d){e!==t&&zi(t,function(v,w){if(d||(d=new yn),ht(v))Dh(e,t,w,n,Ia,l,d);else{var $=l?l(cl(e,w),v,w+"",e,t,d):r;$===r&&($=v),Li(e,w,$)}},Wt)}function Dh(e,t,n,l,d,v,w){var $=cl(e,n),O=cl(t,n),ee=w.get(O);if(ee){Li(e,n,ee);return}var te=v?v($,O,n+"",e,t,w):r,le=te===r;if(le){var me=Ve(O),xe=!me&&er(O),$e=!me&&!xe&&Tr(O);te=O,me||xe||$e?Ve($)?te=$:gt($)?te=Ut($):xe?(le=!1,te=yo(O,!0)):$e?(le=!1,te=wo(O,!0)):te=[]:jr(O)||vr(O)?(te=$,vr($)?te=gu($):(!ht($)||Fn($))&&(te=Bo(O))):le=!1}le&&(w.set(O,te),d(te,O,l,v,w),w.delete(O)),Li(e,n,te)}function oo(e,t){var n=e.length;if(n)return t+=t<0?n:0,zn(t,n)?e[t]:r}function uo(e,t,n){t.length?t=ut(t,function(v){return Ve(v)?function(w){return fr(w,v.length===1?v[0]:v)}:v}):t=[Ht];var l=-1;t=ut(t,Zt(De()));var d=io(e,function(v,w,$){var O=ut(t,function(ee){return ee(v)});return{criteria:O,index:++l,value:v}});return Qc(d,function(v,w){return Bh(v,w,n)})}function $h(e,t){return co(e,t,function(n,l){return yl(e,l)})}function co(e,t,n){for(var l=-1,d=t.length,v={};++l<d;){var w=t[l],$=fr(e,w);n($,w)&&Zr(v,Qn(w,e),$)}return v}function Nh(e){return function(t){return fr(t,e)}}function Gi(e,t,n,l){var d=l?Jc:wr,v=-1,w=t.length,$=e;for(e===t&&(t=Ut(t)),n&&($=ut(e,Zt(n)));++v<w;)for(var O=0,ee=t[v],te=n?n(ee):ee;(O=d($,te,O,l))>-1;)$!==e&&Ca.call($,O,1),Ca.call(e,O,1);return e}function fo(e,t){for(var n=e?t.length:0,l=n-1;n--;){var d=t[n];if(n==l||d!==v){var v=d;zn(d)?Ca.call(e,d,1):Ji(e,d)}}return e}function qi(e,t){return e+Da(Hs()*(t-e+1))}function Eh(e,t,n,l){for(var d=-1,v=xt(Sa((t-e)/(n||1)),0),w=K(v);v--;)w[l?v:++d]=e,e+=n;return w}function Zi(e,t){var n="";if(!e||t<1||t>R)return n;do t%2&&(n+=e),t=Da(t/2),t&&(e+=e);while(t);return n}function ze(e,t){return fl(Uo(e,t,Ht),e+"")}function Mh(e){return qs(Ir(e))}function Ah(e,t){var n=Ir(e);return Ka(n,cr(t,0,n.length))}function Zr(e,t,n,l){if(!ht(e))return e;t=Qn(t,e);for(var d=-1,v=t.length,w=v-1,$=e;$!=null&&++d<v;){var O=Tn(t[d]),ee=n;if(O==="__proto__"||O==="constructor"||O==="prototype")return e;if(d!=w){var te=$[O];ee=l?l(te,O,$):r,ee===r&&(ee=ht(te)?te:zn(t[d+1])?[]:{})}Hr($,O,ee),$=$[O]}return e}var ho=$a?function(e,t){return $a.set(e,t),e}:Ht,Th=xa?function(e,t){return xa(e,"toString",{configurable:!0,enumerable:!1,value:kl(t),writable:!0})}:Ht;function Ih(e){return Ka(Ir(e))}function dn(e,t,n){var l=-1,d=e.length;t<0&&(t=-t>d?0:d+t),n=n>d?d:n,n<0&&(n+=d),d=t>n?0:n-t>>>0,t>>>=0;for(var v=K(d);++l<d;)v[l]=e[l+t];return v}function Ph(e,t){var n;return Xn(e,function(l,d,v){return n=t(l,d,v),!n}),!!n}function Pa(e,t,n){var l=0,d=e==null?l:e.length;if(typeof t=="number"&&t===t&&d<=ie){for(;l<d;){var v=l+d>>>1,w=e[v];w!==null&&!Jt(w)&&(n?w<=t:w<t)?l=v+1:d=v}return d}return Xi(e,t,Ht,n)}function Xi(e,t,n,l){var d=0,v=e==null?0:e.length;if(v===0)return 0;t=n(t);for(var w=t!==t,$=t===null,O=Jt(t),ee=t===r;d<v;){var te=Da((d+v)/2),le=n(e[te]),me=le!==r,xe=le===null,$e=le===le,Be=Jt(le);if(w)var Ne=l||$e;else ee?Ne=$e&&(l||me):$?Ne=$e&&me&&(l||!xe):O?Ne=$e&&me&&!xe&&(l||!Be):xe||Be?Ne=!1:Ne=l?le<=t:le<t;Ne?d=te+1:v=te}return Tt(v,V)}function po(e,t){for(var n=-1,l=e.length,d=0,v=[];++n<l;){var w=e[n],$=t?t(w):w;if(!n||!wn($,O)){var O=$;v[d++]=w===0?0:w}}return v}function vo(e){return typeof e=="number"?e:Jt(e)?U:+e}function Xt(e){if(typeof e=="string")return e;if(Ve(e))return ut(e,Xt)+"";if(Jt(e))return Ys?Ys.call(e):"";var t=e+"";return t=="0"&&1/e==-S?"-0":t}function Jn(e,t,n){var l=-1,d=ha,v=e.length,w=!0,$=[],O=$;if(n)w=!1,d=Si;else if(v>=u){var ee=t?null:Hh(e);if(ee)return va(ee);w=!1,d=Br,O=new dr}else O=t?[]:$;e:for(;++l<v;){var te=e[l],le=t?t(te):te;if(te=n||te!==0?te:0,w&&le===le){for(var me=O.length;me--;)if(O[me]===le)continue e;t&&O.push(le),$.push(te)}else d(O,le,n)||(O!==$&&O.push(le),$.push(te))}return $}function Ji(e,t){return t=Qn(t,e),e=Ko(e,t),e==null||delete e[Tn(cn(t))]}function mo(e,t,n,l){return Zr(e,t,n(fr(e,t)),l)}function Oa(e,t,n,l){for(var d=e.length,v=l?d:-1;(l?v--:++v<d)&&t(e[v],v,e););return n?dn(e,l?0:v,l?v+1:d):dn(e,l?v+1:0,l?d:v)}function go(e,t){var n=e;return n instanceof Ue&&(n=n.value()),Di(t,function(l,d){return d.func.apply(d.thisArg,Gn([l],d.args))},n)}function Qi(e,t,n){var l=e.length;if(l<2)return l?Jn(e[0]):[];for(var d=-1,v=K(l);++d<l;)for(var w=e[d],$=-1;++$<l;)$!=d&&(v[d]=Yr(v[d]||w,e[$],t,n));return Jn(Mt(v,1),t,n)}function bo(e,t,n){for(var l=-1,d=e.length,v=t.length,w={};++l<d;){var $=l<v?t[l]:r;n(w,e[l],$)}return w}function ji(e){return gt(e)?e:[]}function el(e){return typeof e=="function"?e:Ht}function Qn(e,t){return Ve(e)?e:ul(e,t)?[e]:Go(je(e))}var Oh=ze;function jn(e,t,n){var l=e.length;return n=n===r?l:n,!t&&n>=l?e:dn(e,t,n)}var _o=kf||function(e){return Et.clearTimeout(e)};function yo(e,t){if(t)return e.slice();var n=e.length,l=zs?zs(n):new e.constructor(n);return e.copy(l),l}function tl(e){var t=new e.constructor(e.byteLength);return new wa(t).set(new wa(e)),t}function Vh(e,t){var n=t?tl(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Rh(e){var t=new e.constructor(e.source,ns.exec(e));return t.lastIndex=e.lastIndex,t}function Lh(e){return Wr?rt(Wr.call(e)):{}}function wo(e,t){var n=t?tl(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function ko(e,t){if(e!==t){var n=e!==r,l=e===null,d=e===e,v=Jt(e),w=t!==r,$=t===null,O=t===t,ee=Jt(t);if(!$&&!ee&&!v&&e>t||v&&w&&O&&!$&&!ee||l&&w&&O||!n&&O||!d)return 1;if(!l&&!v&&!ee&&e<t||ee&&n&&d&&!l&&!v||$&&n&&d||!w&&d||!O)return-1}return 0}function Bh(e,t,n){for(var l=-1,d=e.criteria,v=t.criteria,w=d.length,$=n.length;++l<w;){var O=ko(d[l],v[l]);if(O){if(l>=$)return O;var ee=n[l];return O*(ee=="desc"?-1:1)}}return e.index-t.index}function Co(e,t,n,l){for(var d=-1,v=e.length,w=n.length,$=-1,O=t.length,ee=xt(v-w,0),te=K(O+ee),le=!l;++$<O;)te[$]=t[$];for(;++d<w;)(le||d<v)&&(te[n[d]]=e[d]);for(;ee--;)te[$++]=e[d++];return te}function xo(e,t,n,l){for(var d=-1,v=e.length,w=-1,$=n.length,O=-1,ee=t.length,te=xt(v-$,0),le=K(te+ee),me=!l;++d<te;)le[d]=e[d];for(var xe=d;++O<ee;)le[xe+O]=t[O];for(;++w<$;)(me||d<v)&&(le[xe+n[w]]=e[d++]);return le}function Ut(e,t){var n=-1,l=e.length;for(t||(t=K(l));++n<l;)t[n]=e[n];return t}function An(e,t,n,l){var d=!n;n||(n={});for(var v=-1,w=t.length;++v<w;){var $=t[v],O=l?l(n[$],e[$],$,n,e):r;O===r&&(O=e[$]),d?Rn(n,$,O):Hr(n,$,O)}return n}function zh(e,t){return An(e,ol(e),t)}function Fh(e,t){return An(e,Ro(e),t)}function Va(e,t){return function(n,l){var d=Ve(n)?Hc:uh,v=t?t():{};return d(n,e,De(l,2),v)}}function Er(e){return ze(function(t,n){var l=-1,d=n.length,v=d>1?n[d-1]:r,w=d>2?n[2]:r;for(v=e.length>3&&typeof v=="function"?(d--,v):r,w&&Lt(n[0],n[1],w)&&(v=d<3?r:v,d=1),t=rt(t);++l<d;){var $=n[l];$&&e(t,$,l,v)}return t})}function So(e,t){return function(n,l){if(n==null)return n;if(!Kt(n))return e(n,l);for(var d=n.length,v=t?d:-1,w=rt(n);(t?v--:++v<d)&&l(w[v],v,w)!==!1;);return n}}function Do(e){return function(t,n,l){for(var d=-1,v=rt(t),w=l(t),$=w.length;$--;){var O=w[e?$:++d];if(n(v[O],O,v)===!1)break}return t}}function Uh(e,t,n){var l=t&M,d=Xr(e);function v(){var w=this&&this!==Et&&this instanceof v?d:e;return w.apply(l?n:this,arguments)}return v}function $o(e){return function(t){t=je(t);var n=kr(t)?_n(t):r,l=n?n[0]:t.charAt(0),d=n?jn(n,1).join(""):t.slice(1);return l[e]()+d}}function Mr(e){return function(t){return Di(Su(xu(t).replace(Ac,"")),e,"")}}function Xr(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Nr(e.prototype),l=e.apply(n,t);return ht(l)?l:n}}function Kh(e,t,n){var l=Xr(e);function d(){for(var v=arguments.length,w=K(v),$=v,O=Ar(d);$--;)w[$]=arguments[$];var ee=v<3&&w[0]!==O&&w[v-1]!==O?[]:qn(w,O);if(v-=ee.length,v<n)return To(e,t,Ra,d.placeholder,r,w,ee,r,r,n-v);var te=this&&this!==Et&&this instanceof d?l:e;return qt(te,this,w)}return d}function No(e){return function(t,n,l){var d=rt(t);if(!Kt(t)){var v=De(n,3);t=Nt(t),n=function($){return v(d[$],$,d)}}var w=e(t,n,l);return w>-1?d[v?t[w]:w]:r}}function Eo(e){return Bn(function(t){var n=t.length,l=n,d=on.prototype.thru;for(e&&t.reverse();l--;){var v=t[l];if(typeof v!="function")throw new sn(g);if(d&&!w&&Fa(v)=="wrapper")var w=new on([],!0)}for(l=w?l:n;++l<n;){v=t[l];var $=Fa(v),O=$=="wrapper"?ll(v):r;O&&dl(O[0])&&O[1]==(oe|k|ne|de)&&!O[4].length&&O[9]==1?w=w[Fa(O[0])].apply(w,O[3]):w=v.length==1&&dl(v)?w[$]():w.thru(v)}return function(){var ee=arguments,te=ee[0];if(w&&ee.length==1&&Ve(te))return w.plant(te).value();for(var le=0,me=n?t[le].apply(this,ee):te;++le<n;)me=t[le].call(this,me);return me}})}function Ra(e,t,n,l,d,v,w,$,O,ee){var te=t&oe,le=t&M,me=t&F,xe=t&(k|G),$e=t&Z,Be=me?r:Xr(e);function Ne(){for(var Fe=arguments.length,Ke=K(Fe),Qt=Fe;Qt--;)Ke[Qt]=arguments[Qt];if(xe)var Bt=Ar(Ne),jt=ef(Ke,Bt);if(l&&(Ke=Co(Ke,l,d,xe)),v&&(Ke=xo(Ke,v,w,xe)),Fe-=jt,xe&&Fe<ee){var bt=qn(Ke,Bt);return To(e,t,Ra,Ne.placeholder,n,Ke,bt,$,O,ee-Fe)}var kn=le?n:this,Kn=me?kn[e]:e;return Fe=Ke.length,$?Ke=up(Ke,$):$e&&Fe>1&&Ke.reverse(),te&&O<Fe&&(Ke.length=O),this&&this!==Et&&this instanceof Ne&&(Kn=Be||Xr(Kn)),Kn.apply(kn,Ke)}return Ne}function Mo(e,t){return function(n,l){return gh(n,e,t(l),{})}}function La(e,t){return function(n,l){var d;if(n===r&&l===r)return t;if(n!==r&&(d=n),l!==r){if(d===r)return l;typeof n=="string"||typeof l=="string"?(n=Xt(n),l=Xt(l)):(n=vo(n),l=vo(l)),d=e(n,l)}return d}}function nl(e){return Bn(function(t){return t=ut(t,Zt(De())),ze(function(n){var l=this;return e(t,function(d){return qt(d,l,n)})})})}function Ba(e,t){t=t===r?" ":Xt(t);var n=t.length;if(n<2)return n?Zi(t,e):t;var l=Zi(t,Sa(e/Cr(t)));return kr(t)?jn(_n(l),0,e).join(""):l.slice(0,e)}function Wh(e,t,n,l){var d=t&M,v=Xr(e);function w(){for(var $=-1,O=arguments.length,ee=-1,te=l.length,le=K(te+O),me=this&&this!==Et&&this instanceof w?v:e;++ee<te;)le[ee]=l[ee];for(;O--;)le[ee++]=arguments[++$];return qt(me,d?n:this,le)}return w}function Ao(e){return function(t,n,l){return l&&typeof l!="number"&&Lt(t,n,l)&&(n=l=r),t=Un(t),n===r?(n=t,t=0):n=Un(n),l=l===r?t<n?1:-1:Un(l),Eh(t,n,l,e)}}function za(e){return function(t,n){return typeof t=="string"&&typeof n=="string"||(t=fn(t),n=fn(n)),e(t,n)}}function To(e,t,n,l,d,v,w,$,O,ee){var te=t&k,le=te?w:r,me=te?r:w,xe=te?v:r,$e=te?r:v;t|=te?ne:re,t&=~(te?re:ne),t&L||(t&=~(M|F));var Be=[e,t,d,xe,le,$e,me,$,O,ee],Ne=n.apply(r,Be);return dl(e)&&Wo(Ne,Be),Ne.placeholder=l,Ho(Ne,e,t)}function rl(e){var t=Ct[e];return function(n,l){if(n=fn(n),l=l==null?0:Tt(Re(l),292),l&&Ws(n)){var d=(je(n)+"e").split("e"),v=t(d[0]+"e"+(+d[1]+l));return d=(je(v)+"e").split("e"),+(d[0]+"e"+(+d[1]-l))}return t(n)}}var Hh=Dr&&1/va(new Dr([,-0]))[1]==S?function(e){return new Dr(e)}:Sl;function Io(e){return function(t){var n=It(t);return n==Je?Ii(t):n==wt?of(t):jc(t,e(t))}}function Ln(e,t,n,l,d,v,w,$){var O=t&F;if(!O&&typeof e!="function")throw new sn(g);var ee=l?l.length:0;if(ee||(t&=~(ne|re),l=d=r),w=w===r?w:xt(Re(w),0),$=$===r?$:Re($),ee-=d?d.length:0,t&re){var te=l,le=d;l=d=r}var me=O?r:ll(e),xe=[e,t,n,l,d,te,le,v,w,$];if(me&&lp(xe,me),e=xe[0],t=xe[1],n=xe[2],l=xe[3],d=xe[4],$=xe[9]=xe[9]===r?O?0:e.length:xt(xe[9]-ee,0),!$&&t&(k|G)&&(t&=~(k|G)),!t||t==M)var $e=Uh(e,t,n);else t==k||t==G?$e=Kh(e,t,$):(t==ne||t==(M|ne))&&!d.length?$e=Wh(e,t,n,l):$e=Ra.apply(r,xe);var Be=me?ho:Wo;return Ho(Be($e,xe),e,t)}function Po(e,t,n,l){return e===r||wn(e,Sr[n])&&!tt.call(l,n)?t:e}function Oo(e,t,n,l,d,v){return ht(e)&&ht(t)&&(v.set(t,e),Ia(e,t,r,Oo,v),v.delete(t)),e}function Yh(e){return jr(e)?r:e}function Vo(e,t,n,l,d,v){var w=n&D,$=e.length,O=t.length;if($!=O&&!(w&&O>$))return!1;var ee=v.get(e),te=v.get(t);if(ee&&te)return ee==t&&te==e;var le=-1,me=!0,xe=n&x?new dr:r;for(v.set(e,t),v.set(t,e);++le<$;){var $e=e[le],Be=t[le];if(l)var Ne=w?l(Be,$e,le,t,e,v):l($e,Be,le,e,t,v);if(Ne!==r){if(Ne)continue;me=!1;break}if(xe){if(!$i(t,function(Fe,Ke){if(!Br(xe,Ke)&&($e===Fe||d($e,Fe,n,l,v)))return xe.push(Ke)})){me=!1;break}}else if(!($e===Be||d($e,Be,n,l,v))){me=!1;break}}return v.delete(e),v.delete(t),me}function Gh(e,t,n,l,d,v,w){switch(n){case Ge:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case rn:return!(e.byteLength!=t.byteLength||!v(new wa(e),new wa(t)));case Ae:case Te:case Pt:return wn(+e,+t);case ct:return e.name==t.name&&e.message==t.message;case $t:case nn:return e==t+"";case Je:var $=Ii;case wt:var O=l&D;if($||($=va),e.size!=t.size&&!O)return!1;var ee=w.get(e);if(ee)return ee==t;l|=x,w.set(e,t);var te=Vo($(e),$(t),l,d,v,w);return w.delete(e),te;case gn:if(Wr)return Wr.call(e)==Wr.call(t)}return!1}function qh(e,t,n,l,d,v){var w=n&D,$=al(e),O=$.length,ee=al(t),te=ee.length;if(O!=te&&!w)return!1;for(var le=O;le--;){var me=$[le];if(!(w?me in t:tt.call(t,me)))return!1}var xe=v.get(e),$e=v.get(t);if(xe&&$e)return xe==t&&$e==e;var Be=!0;v.set(e,t),v.set(t,e);for(var Ne=w;++le<O;){me=$[le];var Fe=e[me],Ke=t[me];if(l)var Qt=w?l(Ke,Fe,me,t,e,v):l(Fe,Ke,me,e,t,v);if(!(Qt===r?Fe===Ke||d(Fe,Ke,n,l,v):Qt)){Be=!1;break}Ne||(Ne=me=="constructor")}if(Be&&!Ne){var Bt=e.constructor,jt=t.constructor;Bt!=jt&&"constructor"in e&&"constructor"in t&&!(typeof Bt=="function"&&Bt instanceof Bt&&typeof jt=="function"&&jt instanceof jt)&&(Be=!1)}return v.delete(e),v.delete(t),Be}function Bn(e){return fl(Uo(e,r,Jo),e+"")}function al(e){return to(e,Nt,ol)}function il(e){return to(e,Wt,Ro)}var ll=$a?function(e){return $a.get(e)}:Sl;function Fa(e){for(var t=e.name+"",n=$r[t],l=tt.call($r,t)?n.length:0;l--;){var d=n[l],v=d.func;if(v==null||v==e)return d.name}return t}function Ar(e){var t=tt.call(f,"placeholder")?f:e;return t.placeholder}function De(){var e=f.iteratee||Cl;return e=e===Cl?ao:e,arguments.length?e(arguments[0],arguments[1]):e}function Ua(e,t){var n=e.__data__;return np(t)?n[typeof t=="string"?"string":"hash"]:n.map}function sl(e){for(var t=Nt(e),n=t.length;n--;){var l=t[n],d=e[l];t[n]=[l,d,zo(d)]}return t}function hr(e,t){var n=af(e,t);return ro(n)?n:r}function Zh(e){var t=tt.call(e,or),n=e[or];try{e[or]=r;var l=!0}catch{}var d=_a.call(e);return l&&(t?e[or]=n:delete e[or]),d}var ol=Oi?function(e){return e==null?[]:(e=rt(e),Yn(Oi(e),function(t){return Us.call(e,t)}))}:Dl,Ro=Oi?function(e){for(var t=[];e;)Gn(t,ol(e)),e=ka(e);return t}:Dl,It=Rt;(Vi&&It(new Vi(new ArrayBuffer(1)))!=Ge||Fr&&It(new Fr)!=Je||Ri&&It(Ri.resolve())!=mn||Dr&&It(new Dr)!=wt||Ur&&It(new Ur)!=Vt)&&(It=function(e){var t=Rt(e),n=t==Ie?e.constructor:r,l=n?pr(n):"";if(l)switch(l){case Af:return Ge;case Tf:return Je;case If:return mn;case Pf:return wt;case Of:return Vt}return t});function Xh(e,t,n){for(var l=-1,d=n.length;++l<d;){var v=n[l],w=v.size;switch(v.type){case"drop":e+=w;break;case"dropRight":t-=w;break;case"take":t=Tt(t,e+w);break;case"takeRight":e=xt(e,t-w);break}}return{start:e,end:t}}function Jh(e){var t=e.match(nc);return t?t[1].split(rc):[]}function Lo(e,t,n){t=Qn(t,e);for(var l=-1,d=t.length,v=!1;++l<d;){var w=Tn(t[l]);if(!(v=e!=null&&n(e,w)))break;e=e[w]}return v||++l!=d?v:(d=e==null?0:e.length,!!d&&Za(d)&&zn(w,d)&&(Ve(e)||vr(e)))}function Qh(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&tt.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function Bo(e){return typeof e.constructor=="function"&&!Jr(e)?Nr(ka(e)):{}}function jh(e,t,n){var l=e.constructor;switch(t){case rn:return tl(e);case Ae:case Te:return new l(+e);case Ge:return Vh(e,n);case Q:case ve:case Me:case P:case H:case se:case he:case ft:case bn:return wo(e,n);case Je:return new l;case Pt:case nn:return new l(e);case $t:return Rh(e);case wt:return new l;case gn:return Lh(e)}}function ep(e,t){var n=t.length;if(!n)return e;var l=n-1;return t[l]=(n>1?"& ":"")+t[l],t=t.join(n>2?", ":" "),e.replace(tc,`{
     12 */di.exports;(function(;if(n&&(w=d?n(e,l,d,v):n(e)),w!==r)return w;if(!ht(e))return e;var te=Ve(e);if(te){if(w=Qh(e),!$)return Ut(e,w)}else{var le=It(e),me=le==Xe||le==Dt;if(er(e))return yo(e,$);if(le==Ie||le==Ce||me&&!d){if(w=O||me?{}:Bo(e),!$)return O?Fh(e,dh(w,e)):zh(e,Zs(w,e))}else{if(!it[le])return d?e:{};w=jh(e,le,$)}}v||(v=new yn);var xe=v.get(e);if(xe)return xe;v.set(e,w),pu(e)?e.forEach(function(Ne){w.add(un(Ne,t,n,Ne,e,v))}):fu(e)&&e.forEach(function(Ne,Fe){w.set(Fe,un(Ne,t,n,Fe,e,v))});var $e=ee?O?il:al:O?Wt:Nt,Be=te?r:$e(e);return ln(Be||e,function(Ne,Fe){Be&&(Fe=Ne,Ne=e[Fe]),Hr(w,Fe,un(Ne,t,n,Fe,e,v))}),w}function ch(e){var t=Nt(e);return function(n){return Xs(n,e,t)}}function Xs(e,t,n){var l=n.length;if(e==null)return!l;for(e=rt(e);l--;){var d=n[l],v=t[d],w=e[d];if(w===r&&!(d in e)||!v(w))return!1}return!0}function Js(e,t,n){if(typeof e!="function")throw new sn(g);return Qr(function(){e.apply(r,n)},t)}function Yr(e,t,n,l){var d=-1,v=ha,w=!0,$=e.length,O=[],ee=t.length;if(!$)return O;n&&(t=ut(t,Zt(n))),l?(v=Si,w=!1):t.length>=u&&(v=Br,w=!1,t=new dr(t));e:for(;++d<$;){var te=e[d],le=n==null?te:n(te);if(te=l||te!==0?te:0,w&&le===le){for(var me=ee;me--;)if(t[me]===le)continue e;O.push(te)}else v(t,le,l)||O.push(te)}return O}var Xn=So(Mn),Qs=So(Fi,!0);function fh(e,t){var n=!0;return Xn(e,function(l,d,v){return n=!!t(l,d,v),n}),n}function Aa(e,t,n){for(var l=-1,d=e.length;++l<d;){var v=e[l],w=t(v);if(w!=null&&($===r?w===w&&!Jt(w):n(w,$)))var $=w,O=v}return O}function hh(e,t,n,l){var d=e.length;for(n=Re(n),n<0&&(n=-n>d?0:d+n),l=l===r||l>d?d:Re(l),l<0&&(l+=d),l=n>l?0:mu(l);n<l;)e[n++]=t;return e}function js(e,t){var n=[];return Xn(e,function(l,d,v){t(l,d,v)&&n.push(l)}),n}function Mt(e,t,n,l,d){var v=-1,w=e.length;for(n||(n=tp),d||(d=[]);++v<w;){var $=e[v];t>0&&n($)?t>1?Mt($,t-1,n,l,d):Gn(d,$):l||(d[d.length]=$)}return d}var zi=Do(),eo=Do(!0);function Mn(e,t){return e&&zi(e,t,Nt)}function Fi(e,t){return e&&eo(e,t,Nt)}function Ta(e,t){return Yn(t,function(n){return Fn(e[n])})}function fr(e,t){t=Qn(t,e);for(var n=0,l=t.length;e!=null&&n<l;)e=e[Tn(t[n++])];return n&&n==l?e:r}function to(e,t,n){var l=t(e);return Ve(e)?l:Gn(l,n(e))}function Rt(e){return e==null?e===r?En:tn:or&&or in rt(e)?Zh(e):op(e)}function Ui(e,t){return e>t}function ph(e,t){return e!=null&&tt.call(e,t)}function vh(e,t){return e!=null&&t in rt(e)}function mh(e,t,n){return e>=Tt(t,n)&&e<xt(t,n)}function Ki(e,t,n){for(var l=n?Si:ha,d=e[0].length,v=e.length,w=v,$=K(v),O=1/0,ee=[];w--;){var te=e[w];w&&t&&(te=ut(te,Zt(t))),O=Tt(te.length,O),$[w]=!n&&(t||d>=120&&te.length>=120)?new dr(w&&te):r}te=e[0];var le=-1,me=$[0];e:for(;++le<d&&ee.length<O;){var xe=te[le],$e=t?t(xe):xe;if(xe=n||xe!==0?xe:0,!(me?Br(me,$e):l(ee,$e,n))){for(w=v;--w;){var Be=$[w];if(!(Be?Br(Be,$e):l(e[w],$e,n)))continue e}me&&me.push($e),ee.push(xe)}}return ee}function gh(e,t,n,l){return Mn(e,function(d,v,w){t(l,n(d),v,w)}),l}function Gr(e,t,n){t=Qn(t,e),e=Ko(e,t);var l=e==null?e:e[Tn(cn(t))];return l==null?r:qt(l,e,n)}function no(e){return vt(e)&&Rt(e)==Ce}function bh(e){return vt(e)&&Rt(e)==rn}function _h(e){return vt(e)&&Rt(e)==Te}function qr(e,t,n,l,d){return e===t?!0:e==null||t==null||!vt(e)&&!vt(t)?e!==e&&t!==t:yh(e,t,n,l,qr,d)}function yh(e,t,n,l,d,v){var w=Ve(e),$=Ve(t),O=w?Se:It(e),ee=$?Se:It(t);O=O==Ce?Ie:O,ee=ee==Ce?Ie:ee;var te=O==Ie,le=ee==Ie,me=O==ee;if(me&&er(e)){if(!er(t))return!1;w=!0,te=!1}if(me&&!te)return v||(v=new yn),w||Tr(e)?Vo(e,t,n,l,d,v):Gh(e,t,O,n,l,d,v);if(!(n&D)){var xe=te&&tt.call(e,"__wrapped__"),$e=le&&tt.call(t,"__wrapped__");if(xe||$e){var Be=xe?e.value():e,Ne=$e?t.value():t;return v||(v=new yn),d(Be,Ne,n,l,v)}}return me?(v||(v=new yn),qh(e,t,n,l,d,v)):!1}function wh(e){return vt(e)&&It(e)==Je}function Wi(e,t,n,l){var d=n.length,v=d,w=!l;if(e==null)return!v;for(e=rt(e);d--;){var $=n[d];if(w&&$[2]?$[1]!==e[$[0]]:!($[0]in e))return!1}for(;++d<v;){$=n[d];var O=$[0],ee=e[O],te=$[1];if(w&&$[2]){if(ee===r&&!(O in e))return!1}else{var le=new yn;if(l)var me=l(ee,te,O,e,t,le);if(!(me===r?qr(te,ee,D|x,l,le):me))return!1}}return!0}function ro(e){if(!ht(e)||rp(e))return!1;var t=Fn(e)?wf:dc;return t.test(pr(e))}function kh(e){return vt(e)&&Rt(e)==$t}function Ch(e){return vt(e)&&It(e)==wt}function xh(e){return vt(e)&&Za(e.length)&&!!lt[Rt(e)]}function ao(e){return typeof e=="function"?e:e==null?Ht:typeof e=="object"?Ve(e)?so(e[0],e[1]):lo(e):$u(e)}function Hi(e){if(!Jr(e))return $f(e);var t=[];for(var n in rt(e))tt.call(e,n)&&n!="constructor"&&t.push(n);return t}function Sh(e){if(!ht(e))return sp(e);var t=Jr(e),n=[];for(var l in e)l=="constructor"&&(t||!tt.call(e,l))||n.push(l);return n}function Yi(e,t){return e<t}function io(e,t){var n=-1,l=Kt(e)?K(e.length):[];return Xn(e,function(d,v,w){l[++n]=t(d,v,w)}),l}function lo(e){var t=sl(e);return t.length==1&&t[0][2]?Fo(t[0][0],t[0][1]):function(n){return n===e||Wi(n,e,t)}}function so(e,t){return ul(e)&&zo(t)?Fo(Tn(e),t):function(n){var l=_l(n,e);return l===r&&l===t?yl(n,e):qr(t,l,D|x)}}function Ia(e,t,n,l,d){e!==t&&zi(t,function(v,w){if(d||(d=new yn),ht(v))Dh(e,t,w,n,Ia,l,d);else{var $=l?l(cl(e,w),v,w+"",e,t,d):r;$===r&&($=v),Li(e,w,$)}},Wt)}function Dh(e,t,n,l,d,v,w){var $=cl(e,n),O=cl(t,n),ee=w.get(O);if(ee){Li(e,n,ee);return}var te=v?v($,O,n+"",e,t,w):r,le=te===r;if(le){var me=Ve(O),xe=!me&&er(O),$e=!me&&!xe&&Tr(O);te=O,me||xe||$e?Ve($)?te=$:gt($)?te=Ut($):xe?(le=!1,te=yo(O,!0)):$e?(le=!1,te=wo(O,!0)):te=[]:jr(O)||vr(O)?(te=$,vr($)?te=gu($):(!ht($)||Fn($))&&(te=Bo(O))):le=!1}le&&(w.set(O,te),d(te,O,l,v,w),w.delete(O)),Li(e,n,te)}function oo(e,t){var n=e.length;if(n)return t+=t<0?n:0,zn(t,n)?e[t]:r}function uo(e,t,n){t.length?t=ut(t,function(v){return Ve(v)?function(w){return fr(w,v.length===1?v[0]:v)}:v}):t=[Ht];var l=-1;t=ut(t,Zt(De()));var d=io(e,function(v,w,$){var O=ut(t,function(ee){return ee(v)});return{criteria:O,index:++l,value:v}});return Qc(d,function(v,w){return Bh(v,w,n)})}function $h(e,t){return co(e,t,function(n,l){return yl(e,l)})}function co(e,t,n){for(var l=-1,d=t.length,v={};++l<d;){var w=t[l],$=fr(e,w);n($,w)&&Zr(v,Qn(w,e),$)}return v}function Nh(e){return function(t){return fr(t,e)}}function Gi(e,t,n,l){var d=l?Jc:wr,v=-1,w=t.length,$=e;for(e===t&&(t=Ut(t)),n&&($=ut(e,Zt(n)));++v<w;)for(var O=0,ee=t[v],te=n?n(ee):ee;(O=d($,te,O,l))>-1;)$!==e&&Ca.call($,O,1),Ca.call(e,O,1);return e}function fo(e,t){for(var n=e?t.length:0,l=n-1;n--;){var d=t[n];if(n==l||d!==v){var v=d;zn(d)?Ca.call(e,d,1):Ji(e,d)}}return e}function qi(e,t){return e+Da(Hs()*(t-e+1))}function Eh(e,t,n,l){for(var d=-1,v=xt(Sa((t-e)/(n||1)),0),w=K(v);v--;)w[l?v:++d]=e,e+=n;return w}function Zi(e,t){var n="";if(!e||t<1||t>R)return n;do t%2&&(n+=e),t=Da(t/2),t&&(e+=e);while(t);return n}function ze(e,t){return fl(Uo(e,t,Ht),e+"")}function Mh(e){return qs(Ir(e))}function Ah(e,t){var n=Ir(e);return Ka(n,cr(t,0,n.length))}function Zr(e,t,n,l){if(!ht(e))return e;t=Qn(t,e);for(var d=-1,v=t.length,w=v-1,$=e;$!=null&&++d<v;){var O=Tn(t[d]),ee=n;if(O==="__proto__"||O==="constructor"||O==="prototype")return e;if(d!=w){var te=$[O];ee=l?l(te,O,$):r,ee===r&&(ee=ht(te)?te:zn(t[d+1])?[]:{})}Hr($,O,ee),$=$[O]}return e}var ho=$a?function(e,t){return $a.set(e,t),e}:Ht,Th=xa?function(e,t){return xa(e,"toString",{configurable:!0,enumerable:!1,value:kl(t),writable:!0})}:Ht;function Ih(e){return Ka(Ir(e))}function dn(e,t,n){var l=-1,d=e.length;t<0&&(t=-t>d?0:d+t),n=n>d?d:n,n<0&&(n+=d),d=t>n?0:n-t>>>0,t>>>=0;for(var v=K(d);++l<d;)v[l]=e[l+t];return v}function Ph(e,t){var n;return Xn(e,function(l,d,v){return n=t(l,d,v),!n}),!!n}function Pa(e,t,n){var l=0,d=e==null?l:e.length;if(typeof t=="number"&&t===t&&d<=ie){for(;l<d;){var v=l+d>>>1,w=e[v];w!==null&&!Jt(w)&&(n?w<=t:w<t)?l=v+1:d=v}return d}return Xi(e,t,Ht,n)}function Xi(e,t,n,l){var d=0,v=e==null?0:e.length;if(v===0)return 0;t=n(t);for(var w=t!==t,$=t===null,O=Jt(t),ee=t===r;d<v;){var te=Da((d+v)/2),le=n(e[te]),me=le!==r,xe=le===null,$e=le===le,Be=Jt(le);if(w)var Ne=l||$e;else ee?Ne=$e&&(l||me):$?Ne=$e&&me&&(l||!xe):O?Ne=$e&&me&&!xe&&(l||!Be):xe||Be?Ne=!1:Ne=l?le<=t:le<t;Ne?d=te+1:v=te}return Tt(v,V)}function po(e,t){for(var n=-1,l=e.length,d=0,v=[];++n<l;){var w=e[n],$=t?t(w):w;if(!n||!wn($,O)){var O=$;v[d++]=w===0?0:w}}return v}function vo(e){return typeof e=="number"?e:Jt(e)?U:+e}function Xt(e){if(typeof e=="string")return e;if(Ve(e))return ut(e,Xt)+"";if(Jt(e))return Ys?Ys.call(e):"";var t=e+"";return t=="0"&&1/e==-S?"-0":t}function Jn(e,t,n){var l=-1,d=ha,v=e.length,w=!0,$=[],O=$;if(n)w=!1,d=Si;else if(v>=u){var ee=t?null:Hh(e);if(ee)return va(ee);w=!1,d=Br,O=new dr}else O=t?[]:$;e:for(;++l<v;){var te=e[l],le=t?t(te):te;if(te=n||te!==0?te:0,w&&le===le){for(var me=O.length;me--;)if(O[me]===le)continue e;t&&O.push(le),$.push(te)}else d(O,le,n)||(O!==$&&O.push(le),$.push(te))}return $}function Ji(e,t){return t=Qn(t,e),e=Ko(e,t),e==null||delete e[Tn(cn(t))]}function mo(e,t,n,l){return Zr(e,t,n(fr(e,t)),l)}function Oa(e,t,n,l){for(var d=e.length,v=l?d:-1;(l?v--:++v<d)&&t(e[v],v,e););return n?dn(e,l?0:v,l?v+1:d):dn(e,l?v+1:0,l?d:v)}function go(e,t){var n=e;return n instanceof Ue&&(n=n.value()),Di(t,function(l,d){return d.func.apply(d.thisArg,Gn([l],d.args))},n)}function Qi(e,t,n){var l=e.length;if(l<2)return l?Jn(e[0]):[];for(var d=-1,v=K(l);++d<l;)for(var w=e[d],$=-1;++$<l;)$!=d&&(v[d]=Yr(v[d]||w,e[$],t,n));return Jn(Mt(v,1),t,n)}function bo(e,t,n){for(var l=-1,d=e.length,v=t.length,w={};++l<d;){var $=l<v?t[l]:r;n(w,e[l],$)}return w}function ji(e){return gt(e)?e:[]}function el(e){return typeof e=="function"?e:Ht}function Qn(e,t){return Ve(e)?e:ul(e,t)?[e]:Go(je(e))}var Oh=ze;function jn(e,t,n){var l=e.length;return n=n===r?l:n,!t&&n>=l?e:dn(e,t,n)}var _o=kf||function(e){return Et.clearTimeout(e)};function yo(e,t){if(t)return e.slice();var n=e.length,l=zs?zs(n):new e.constructor(n);return e.copy(l),l}function tl(e){var t=new e.constructor(e.byteLength);return new wa(t).set(new wa(e)),t}function Vh(e,t){var n=t?tl(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Rh(e){var t=new e.constructor(e.source,ns.exec(e));return t.lastIndex=e.lastIndex,t}function Lh(e){return Wr?rt(Wr.call(e)):{}}function wo(e,t){var n=t?tl(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function ko(e,t){if(e!==t){var n=e!==r,l=e===null,d=e===e,v=Jt(e),w=t!==r,$=t===null,O=t===t,ee=Jt(t);if(!$&&!ee&&!v&&e>t||v&&w&&O&&!$&&!ee||l&&w&&O||!n&&O||!d)return 1;if(!l&&!v&&!ee&&e<t||ee&&n&&d&&!l&&!v||$&&n&&d||!w&&d||!O)return-1}return 0}function Bh(e,t,n){for(var l=-1,d=e.criteria,v=t.criteria,w=d.length,$=n.length;++l<w;){var O=ko(d[l],v[l]);if(O){if(l>=$)return O;var ee=n[l];return O*(ee=="desc"?-1:1)}}return e.index-t.index}function Co(e,t,n,l){for(var d=-1,v=e.length,w=n.length,$=-1,O=t.length,ee=xt(v-w,0),te=K(O+ee),le=!l;++$<O;)te[$]=t[$];for(;++d<w;)(le||d<v)&&(te[n[d]]=e[d]);for(;ee--;)te[$++]=e[d++];return te}function xo(e,t,n,l){for(var d=-1,v=e.length,w=-1,$=n.length,O=-1,ee=t.length,te=xt(v-$,0),le=K(te+ee),me=!l;++d<te;)le[d]=e[d];for(var xe=d;++O<ee;)le[xe+O]=t[O];for(;++w<$;)(me||d<v)&&(le[xe+n[w]]=e[d++]);return le}function Ut(e,t){var n=-1,l=e.length;for(t||(t=K(l));++n<l;)t[n]=e[n];return t}function An(e,t,n,l){var d=!n;n||(n={});for(var v=-1,w=t.length;++v<w;){var $=t[v],O=l?l(n[$],e[$],$,n,e):r;O===r&&(O=e[$]),d?Rn(n,$,O):Hr(n,$,O)}return n}function zh(e,t){return An(e,ol(e),t)}function Fh(e,t){return An(e,Ro(e),t)}function Va(e,t){return function(n,l){var d=Ve(n)?Hc:uh,v=t?t():{};return d(n,e,De(l,2),v)}}function Er(e){return ze(function(t,n){var l=-1,d=n.length,v=d>1?n[d-1]:r,w=d>2?n[2]:r;for(v=e.length>3&&typeof v=="function"?(d--,v):r,w&&Lt(n[0],n[1],w)&&(v=d<3?r:v,d=1),t=rt(t);++l<d;){var $=n[l];$&&e(t,$,l,v)}return t})}function So(e,t){return function(n,l){if(n==null)return n;if(!Kt(n))return e(n,l);for(var d=n.length,v=t?d:-1,w=rt(n);(t?v--:++v<d)&&l(w[v],v,w)!==!1;);return n}}function Do(e){return function(t,n,l){for(var d=-1,v=rt(t),w=l(t),$=w.length;$--;){var O=w[e?$:++d];if(n(v[O],O,v)===!1)break}return t}}function Uh(e,t,n){var l=t&M,d=Xr(e);function v(){var w=this&&this!==Et&&this instanceof v?d:e;return w.apply(l?n:this,arguments)}return v}function $o(e){return function(t){t=je(t);var n=kr(t)?_n(t):r,l=n?n[0]:t.charAt(0),d=n?jn(n,1).join(""):t.slice(1);return l[e]()+d}}function Mr(e){return function(t){return Di(Su(xu(t).replace(Ac,"")),e,"")}}function Xr(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Nr(e.prototype),l=e.apply(n,t);return ht(l)?l:n}}function Kh(e,t,n){var l=Xr(e);function d(){for(var v=arguments.length,w=K(v),$=v,O=Ar(d);$--;)w[$]=arguments[$];var ee=v<3&&w[0]!==O&&w[v-1]!==O?[]:qn(w,O);if(v-=ee.length,v<n)return To(e,t,Ra,d.placeholder,r,w,ee,r,r,n-v);var te=this&&this!==Et&&this instanceof d?l:e;return qt(te,this,w)}return d}function No(e){return function(t,n,l){var d=rt(t);if(!Kt(t)){var v=De(n,3);t=Nt(t),n=function($){return v(d[$],$,d)}}var w=e(t,n,l);return w>-1?d[v?t[w]:w]:r}}function Eo(e){return Bn(function(t){var n=t.length,l=n,d=on.prototype.thru;for(e&&t.reverse();l--;){var v=t[l];if(typeof v!="function")throw new sn(g);if(d&&!w&&Fa(v)=="wrapper")var w=new on([],!0)}for(l=w?l:n;++l<n;){v=t[l];var $=Fa(v),O=$=="wrapper"?ll(v):r;O&&dl(O[0])&&O[1]==(oe|k|ne|de)&&!O[4].length&&O[9]==1?w=w[Fa(O[0])].apply(w,O[3]):w=v.length==1&&dl(v)?w[$]():w.thru(v)}return function(){var ee=arguments,te=ee[0];if(w&&ee.length==1&&Ve(te))return w.plant(te).value();for(var le=0,me=n?t[le].apply(this,ee):te;++le<n;)me=t[le].call(this,me);return me}})}function Ra(e,t,n,l,d,v,w,$,O,ee){var te=t&oe,le=t&M,me=t&F,xe=t&(k|G),$e=t&Z,Be=me?r:Xr(e);function Ne(){for(var Fe=arguments.length,Ke=K(Fe),Qt=Fe;Qt--;)Ke[Qt]=arguments[Qt];if(xe)var Bt=Ar(Ne),jt=ef(Ke,Bt);if(l&&(Ke=Co(Ke,l,d,xe)),v&&(Ke=xo(Ke,v,w,xe)),Fe-=jt,xe&&Fe<ee){var bt=qn(Ke,Bt);return To(e,t,Ra,Ne.placeholder,n,Ke,bt,$,O,ee-Fe)}var kn=le?n:this,Kn=me?kn[e]:e;return Fe=Ke.length,$?Ke=up(Ke,$):$e&&Fe>1&&Ke.reverse(),te&&O<Fe&&(Ke.length=O),this&&this!==Et&&this instanceof Ne&&(Kn=Be||Xr(Kn)),Kn.apply(kn,Ke)}return Ne}function Mo(e,t){return function(n,l){return gh(n,e,t(l),{})}}function La(e,t){return function(n,l){var d;if(n===r&&l===r)return t;if(n!==r&&(d=n),l!==r){if(d===r)return l;typeof n=="string"||typeof l=="string"?(n=Xt(n),l=Xt(l)):(n=vo(n),l=vo(l)),d=e(n,l)}return d}}function nl(e){return Bn(function(t){return t=ut(t,Zt(De())),ze(function(n){var l=this;return e(t,function(d){return qt(d,l,n)})})})}function Ba(e,t){t=t===r?" ":Xt(t);var n=t.length;if(n<2)return n?Zi(t,e):t;var l=Zi(t,Sa(e/Cr(t)));return kr(t)?jn(_n(l),0,e).join(""):l.slice(0,e)}function Wh(e,t,n,l){var d=t&M,v=Xr(e);function w(){for(var $=-1,O=arguments.length,ee=-1,te=l.length,le=K(te+O),me=this&&this!==Et&&this instanceof w?v:e;++ee<te;)le[ee]=l[ee];for(;O--;)le[ee++]=arguments[++$];return qt(me,d?n:this,le)}return w}function Ao(e){return function(t,n,l){return l&&typeof l!="number"&&Lt(t,n,l)&&(n=l=r),t=Un(t),n===r?(n=t,t=0):n=Un(n),l=l===r?t<n?1:-1:Un(l),Eh(t,n,l,e)}}function za(e){return function(t,n){return typeof t=="string"&&typeof n=="string"||(t=fn(t),n=fn(n)),e(t,n)}}function To(e,t,n,l,d,v,w,$,O,ee){var te=t&k,le=te?w:r,me=te?r:w,xe=te?v:r,$e=te?r:v;t|=te?ne:re,t&=~(te?re:ne),t&L||(t&=~(M|F));var Be=[e,t,d,xe,le,$e,me,$,O,ee],Ne=n.apply(r,Be);return dl(e)&&Wo(Ne,Be),Ne.placeholder=l,Ho(Ne,e,t)}function rl(e){var t=Ct[e];return function(n,l){if(n=fn(n),l=l==null?0:Tt(Re(l),292),l&&Ws(n)){var d=(je(n)+"e").split("e"),v=t(d[0]+"e"+(+d[1]+l));return d=(je(v)+"e").split("e"),+(d[0]+"e"+(+d[1]-l))}return t(n)}}var Hh=Dr&&1/va(new Dr([,-0]))[1]==S?function(e){return new Dr(e)}:Sl;function Io(e){return function(t){var n=It(t);return n==Je?Ii(t):n==wt?of(t):jc(t,e(t))}}function Ln(e,t,n,l,d,v,w,$){var O=t&F;if(!O&&typeof e!="function")throw new sn(g);var ee=l?l.length:0;if(ee||(t&=~(ne|re),l=d=r),w=w===r?w:xt(Re(w),0),$=$===r?$:Re($),ee-=d?d.length:0,t&re){var te=l,le=d;l=d=r}var me=O?r:ll(e),xe=[e,t,n,l,d,te,le,v,w,$];if(me&&lp(xe,me),e=xe[0],t=xe[1],n=xe[2],l=xe[3],d=xe[4],$=xe[9]=xe[9]===r?O?0:e.length:xt(xe[9]-ee,0),!$&&t&(k|G)&&(t&=~(k|G)),!t||t==M)var $e=Uh(e,t,n);else t==k||t==G?$e=Kh(e,t,$):(t==ne||t==(M|ne))&&!d.length?$e=Wh(e,t,n,l):$e=Ra.apply(r,xe);var Be=me?ho:Wo;return Ho(Be($e,xe),e,t)}function Po(e,t,n,l){return e===r||wn(e,Sr[n])&&!tt.call(l,n)?t:e}function Oo(e,t,n,l,d,v){return ht(e)&&ht(t)&&(v.set(t,e),Ia(e,t,r,Oo,v),v.delete(t)),e}function Yh(e){return jr(e)?r:e}function Vo(e,t,n,l,d,v){var w=n&D,$=e.length,O=t.length;if($!=O&&!(w&&O>$))return!1;var ee=v.get(e),te=v.get(t);if(ee&&te)return ee==t&&te==e;var le=-1,me=!0,xe=n&x?new dr:r;for(v.set(e,t),v.set(t,e);++le<$;){var $e=e[le],Be=t[le];if(l)var Ne=w?l(Be,$e,le,t,e,v):l($e,Be,le,e,t,v);if(Ne!==r){if(Ne)continue;me=!1;break}if(xe){if(!$i(t,function(Fe,Ke){if(!Br(xe,Ke)&&($e===Fe||d($e,Fe,n,l,v)))return xe.push(Ke)})){me=!1;break}}else if(!($e===Be||d($e,Be,n,l,v))){me=!1;break}}return v.delete(e),v.delete(t),me}function Gh(e,t,n,l,d,v,w){switch(n){case Ge:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case rn:return!(e.byteLength!=t.byteLength||!v(new wa(e),new wa(t)));case Ae:case Te:case Pt:return wn(+e,+t);case ct:return e.name==t.name&&e.message==t.message;case $t:case nn:return e==t+"";case Je:var $=Ii;case wt:var O=l&D;if($||($=va),e.size!=t.size&&!O)return!1;var ee=w.get(e);if(ee)return ee==t;l|=x,w.set(e,t);var te=Vo($(e),$(t),l,d,v,w);return w.delete(e),te;case gn:if(Wr)return Wr.call(e)==Wr.call(t)}return!1}function qh(e,t,n,l,d,v){var w=n&D,$=al(e),O=$.length,ee=al(t),te=ee.length;if(O!=te&&!w)return!1;for(var le=O;le--;){var me=$[le];if(!(w?me in t:tt.call(t,me)))return!1}var xe=v.get(e),$e=v.get(t);if(xe&&$e)return xe==t&&$e==e;var Be=!0;v.set(e,t),v.set(t,e);for(var Ne=w;++le<O;){me=$[le];var Fe=e[me],Ke=t[me];if(l)var Qt=w?l(Ke,Fe,me,t,e,v):l(Fe,Ke,me,e,t,v);if(!(Qt===r?Fe===Ke||d(Fe,Ke,n,l,v):Qt)){Be=!1;break}Ne||(Ne=me=="constructor")}if(Be&&!Ne){var Bt=e.constructor,jt=t.constructor;Bt!=jt&&"constructor"in e&&"constructor"in t&&!(typeof Bt=="function"&&Bt instanceof Bt&&typeof jt=="function"&&jt instanceof jt)&&(Be=!1)}return v.delete(e),v.delete(t),Be}function Bn(e){return fl(Uo(e,r,Jo),e+"")}function al(e){return to(e,Nt,ol)}function il(e){return to(e,Wt,Ro)}var ll=$a?function(e){return $a.get(e)}:Sl;function Fa(e){for(var t=e.name+"",n=$r[t],l=tt.call($r,t)?n.length:0;l--;){var d=n[l],v=d.func;if(v==null||v==e)return d.name}return t}function Ar(e){var t=tt.call(f,"placeholder")?f:e;return t.placeholder}function De(){var e=f.iteratee||Cl;return e=e===Cl?ao:e,arguments.length?e(arguments[0],arguments[1]):e}function Ua(e,t){var n=e.__data__;return np(t)?n[typeof t=="string"?"string":"hash"]:n.map}function sl(e){for(var t=Nt(e),n=t.length;n--;){var l=t[n],d=e[l];t[n]=[l,d,zo(d)]}return t}function hr(e,t){var n=af(e,t);return ro(n)?n:r}function Zh(e){var t=tt.call(e,or),n=e[or];try{e[or]=r;var l=!0}catch{}var d=_a.call(e);return l&&(t?e[or]=n:delete e[or]),d}var ol=Oi?function(e){return e==null?[]:(e=rt(e),Yn(Oi(e),function(t){return Us.call(e,t)}))}:Dl,Ro=Oi?function(e){for(var t=[];e;)Gn(t,ol(e)),e=ka(e);return t}:Dl,It=Rt;(Vi&&It(new Vi(new ArrayBuffer(1)))!=Ge||Fr&&It(new Fr)!=Je||Ri&&It(Ri.resolve())!=mn||Dr&&It(new Dr)!=wt||Ur&&It(new Ur)!=Vt)&&(It=function(e){var t=Rt(e),n=t==Ie?e.constructor:r,l=n?pr(n):"";if(l)switch(l){case Af:return Ge;case Tf:return Je;case If:return mn;case Pf:return wt;case Of:return Vt}return t});function Xh(e,t,n){for(var l=-1,d=n.length;++l<d;){var v=n[l],w=v.size;switch(v.type){case"drop":e+=w;break;case"dropRight":t-=w;break;case"take":t=Tt(t,e+w);break;case"takeRight":e=xt(e,t-w);break}}return{start:e,end:t}}function Jh(e){var t=e.match(nc);return t?t[1].split(rc):[]}function Lo(e,t,n){t=Qn(t,e);for(var l=-1,d=t.length,v=!1;++l<d;){var w=Tn(t[l]);if(!(v=e!=null&&n(e,w)))break;e=e[w]}return v||++l!=d?v:(d=e==null?0:e.length,!!d&&Za(d)&&zn(w,d)&&(Ve(e)||vr(e)))}function Qh(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&tt.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function Bo(e){return typeof e.constructor=="function"&&!Jr(e)?Nr(ka(e)):{}}function jh(e,t,n){var l=e.constructor;switch(t){case rn:return tl(e);case Ae:case Te:return new l(+e);case Ge:return Vh(e,n);case Q:case ve:case Me:case P:case H:case se:case he:case ft:case bn:return wo(e,n);case Je:return new l;case Pt:case nn:return new l(e);case $t:return Rh(e);case wt:return new l;case gn:return Lh(e)}}function ep(e,t){var n=t.length;if(!n)return e;var l=n-1;return t[l]=(n>1?"& ":"")+t[l],t=t.join(n>2?", ":" "),e.replace(tc,`{
    1313/* [wrapped with `+t+`] */
    14 `)}function tp(e){return Ve(e)||vr(e)||!!(Ks&&e&&e[Ks])}function zn(e,t){var n=typeof e;return t=t??R,!!t&&(n=="number"||n!="symbol"&&fc.test(e))&&e>-1&&e%1==0&&e<t}function Lt(e,t,n){if(!ht(n))return!1;var l=typeof t;return(l=="number"?Kt(n)&&zn(t,n.length):l=="string"&&t in n)?wn(n[t],e):!1}function ul(e,t){if(Ve(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||Jt(e)?!0:Jd.test(e)||!Xd.test(e)||t!=null&&e in rt(t)}function np(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function dl(e){var t=Fa(e),n=f[t];if(typeof n!="function"||!(t in Ue.prototype))return!1;if(e===n)return!0;var l=ll(n);return!!l&&e===l[0]}function rp(e){return!!Bs&&Bs in e}var ap=ga?Fn:$l;function Jr(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Sr;return e===n}function zo(e){return e===e&&!ht(e)}function Fo(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==r||e in rt(n))}}function ip(e){var t=Ga(e,function(l){return n.size===p&&n.clear(),l}),n=t.cache;return t}function lp(e,t){var n=e[1],l=t[1],d=n|l,v=d<(M|F|oe),w=l==oe&&n==k||l==oe&&n==de&&e[7].length<=t[8]||l==(oe|de)&&t[7].length<=t[8]&&n==k;if(!(v||w))return e;l&M&&(e[2]=t[2],d|=n&M?0:L);var $=t[3];if($){var O=e[3];e[3]=O?Co(O,$,t[4]):$,e[4]=O?qn(e[3],y):t[4]}return $=t[5],$&&(O=e[5],e[5]=O?xo(O,$,t[6]):$,e[6]=O?qn(e[5],y):t[6]),$=t[7],$&&(e[7]=$),l&oe&&(e[8]=e[8]==null?t[8]:Tt(e[8],t[8])),e[9]==null&&(e[9]=t[9]),e[0]=t[0],e[1]=d,e}function sp(e){var t=[];if(e!=null)for(var n in rt(e))t.push(n);return t}function op(e){return _a.call(e)}function Uo(e,t,n){return t=xt(t===r?e.length-1:t,0),function(){for(var l=arguments,d=-1,v=xt(l.length-t,0),w=K(v);++d<v;)w[d]=l[t+d];d=-1;for(var $=K(t+1);++d<t;)$[d]=l[d];return $[t]=n(w),qt(e,this,$)}}function Ko(e,t){return t.length<2?e:fr(e,dn(t,0,-1))}function up(e,t){for(var n=e.length,l=Tt(t.length,n),d=Ut(e);l--;){var v=t[l];e[l]=zn(v,n)?d[v]:r}return e}function cl(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var Wo=Yo(ho),Qr=xf||function(e,t){return Et.setTimeout(e,t)},fl=Yo(Th);function Ho(e,t,n){var l=t+"";return fl(e,ep(l,dp(Jh(l),n)))}function Yo(e){var t=0,n=0;return function(){var l=Nf(),d=N-(l-n);if(n=l,d>0){if(++t>=pe)return arguments[0]}else t=0;return e.apply(r,arguments)}}function Ka(e,t){var n=-1,l=e.length,d=l-1;for(t=t===r?l:t;++n<t;){var v=qi(n,d),w=e[v];e[v]=e[n],e[n]=w}return e.length=t,e}var Go=ip(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Qd,function(n,l,d,v){t.push(d?v.replace(lc,"$1"):l||n)}),t});function Tn(e){if(typeof e=="string"||Jt(e))return e;var t=e+"";return t=="0"&&1/e==-S?"-0":t}function pr(e){if(e!=null){try{return ba.call(e)}catch{}try{return e+""}catch{}}return""}function dp(e,t){return ln(ye,function(n){var l="_."+n[0];t&n[1]&&!ha(e,l)&&e.push(l)}),e.sort()}function qo(e){if(e instanceof Ue)return e.clone();var t=new on(e.__wrapped__,e.__chain__);return t.__actions__=Ut(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function cp(e,t,n){(n?Lt(e,t,n):t===r)?t=1:t=xt(Re(t),0);var l=e==null?0:e.length;if(!l||t<1)return[];for(var d=0,v=0,w=K(Sa(l/t));d<l;)w[v++]=dn(e,d,d+=t);return w}function fp(e){for(var t=-1,n=e==null?0:e.length,l=0,d=[];++t<n;){var v=e[t];v&&(d[l++]=v)}return d}function hp(){var e=arguments.length;if(!e)return[];for(var t=K(e-1),n=arguments[0],l=e;l--;)t[l-1]=arguments[l];return Gn(Ve(n)?Ut(n):[n],Mt(t,1))}var pp=ze(function(e,t){return gt(e)?Yr(e,Mt(t,1,gt,!0)):[]}),vp=ze(function(e,t){var n=cn(t);return gt(n)&&(n=r),gt(e)?Yr(e,Mt(t,1,gt,!0),De(n,2)):[]}),mp=ze(function(e,t){var n=cn(t);return gt(n)&&(n=r),gt(e)?Yr(e,Mt(t,1,gt,!0),r,n):[]});function gp(e,t,n){var l=e==null?0:e.length;return l?(t=n||t===r?1:Re(t),dn(e,t<0?0:t,l)):[]}function bp(e,t,n){var l=e==null?0:e.length;return l?(t=n||t===r?1:Re(t),t=l-t,dn(e,0,t<0?0:t)):[]}function _p(e,t){return e&&e.length?Oa(e,De(t,3),!0,!0):[]}function yp(e,t){return e&&e.length?Oa(e,De(t,3),!0):[]}function kp(e,t,n,l){var d=e==null?0:e.length;return d?(n&&typeof n!="number"&&Lt(e,t,n)&&(n=0,l=d),hh(e,t,n,l)):[]}function Zo(e,t,n){var l=e==null?0:e.length;if(!l)return-1;var d=n==null?0:Re(n);return d<0&&(d=xt(l+d,0)),pa(e,De(t,3),d)}function Xo(e,t,n){var l=e==null?0:e.length;if(!l)return-1;var d=l-1;return n!==r&&(d=Re(n),d=n<0?xt(l+d,0):Tt(d,l-1)),pa(e,De(t,3),d,!0)}function Jo(e){var t=e==null?0:e.length;return t?Mt(e,1):[]}function Cp(e){var t=e==null?0:e.length;return t?Mt(e,S):[]}function xp(e,t){var n=e==null?0:e.length;return n?(t=t===r?1:Re(t),Mt(e,t)):[]}function Sp(e){for(var t=-1,n=e==null?0:e.length,l={};++t<n;){var d=e[t];l[d[0]]=d[1]}return l}function Qo(e){return e&&e.length?e[0]:r}function Dp(e,t,n){var l=e==null?0:e.length;if(!l)return-1;var d=n==null?0:Re(n);return d<0&&(d=xt(l+d,0)),wr(e,t,d)}function $p(e){var t=e==null?0:e.length;return t?dn(e,0,-1):[]}var Np=ze(function(e){var t=ut(e,ji);return t.length&&t[0]===e[0]?Ki(t):[]}),Ep=ze(function(e){var t=cn(e),n=ut(e,ji);return t===cn(n)?t=r:n.pop(),n.length&&n[0]===e[0]?Ki(n,De(t,2)):[]}),Mp=ze(function(e){var t=cn(e),n=ut(e,ji);return t=typeof t=="function"?t:r,t&&n.pop(),n.length&&n[0]===e[0]?Ki(n,r,t):[]});function Ap(e,t){return e==null?"":Df.call(e,t)}function cn(e){var t=e==null?0:e.length;return t?e[t-1]:r}function Tp(e,t,n){var l=e==null?0:e.length;if(!l)return-1;var d=l;return n!==r&&(d=Re(n),d=d<0?xt(l+d,0):Tt(d,l-1)),t===t?df(e,t,d):pa(e,As,d,!0)}function Ip(e,t){return e&&e.length?oo(e,Re(t)):r}var Pp=ze(jo);function jo(e,t){return e&&e.length&&t&&t.length?Gi(e,t):e}function Op(e,t,n){return e&&e.length&&t&&t.length?Gi(e,t,De(n,2)):e}function Vp(e,t,n){return e&&e.length&&t&&t.length?Gi(e,t,r,n):e}var Rp=Bn(function(e,t){var n=e==null?0:e.length,l=Bi(e,t);return fo(e,ut(t,function(d){return zn(d,n)?+d:d}).sort(ko)),l});function Lp(e,t){var n=[];if(!(e&&e.length))return n;var l=-1,d=[],v=e.length;for(t=De(t,3);++l<v;){var w=e[l];t(w,l,e)&&(n.push(w),d.push(l))}return fo(e,d),n}function hl(e){return e==null?e:Mf.call(e)}function Bp(e,t,n){var l=e==null?0:e.length;return l?(n&&typeof n!="number"&&Lt(e,t,n)?(t=0,n=l):(t=t==null?0:Re(t),n=n===r?l:Re(n)),dn(e,t,n)):[]}function zp(e,t){return Pa(e,t)}function Fp(e,t,n){return Xi(e,t,De(n,2))}function Up(e,t){var n=e==null?0:e.length;if(n){var l=Pa(e,t);if(l<n&&wn(e[l],t))return l}return-1}function Kp(e,t){return Pa(e,t,!0)}function Wp(e,t,n){return Xi(e,t,De(n,2),!0)}function Hp(e,t){var n=e==null?0:e.length;if(n){var l=Pa(e,t,!0)-1;if(wn(e[l],t))return l}return-1}function Yp(e){return e&&e.length?po(e):[]}function Gp(e,t){return e&&e.length?po(e,De(t,2)):[]}function qp(e){var t=e==null?0:e.length;return t?dn(e,1,t):[]}function Zp(e,t,n){return e&&e.length?(t=n||t===r?1:Re(t),dn(e,0,t<0?0:t)):[]}function Xp(e,t,n){var l=e==null?0:e.length;return l?(t=n||t===r?1:Re(t),t=l-t,dn(e,t<0?0:t,l)):[]}function Jp(e,t){return e&&e.length?Oa(e,De(t,3),!1,!0):[]}function Qp(e,t){return e&&e.length?Oa(e,De(t,3)):[]}var jp=ze(function(e){return Jn(Mt(e,1,gt,!0))}),ev=ze(function(e){var t=cn(e);return gt(t)&&(t=r),Jn(Mt(e,1,gt,!0),De(t,2))}),tv=ze(function(e){var t=cn(e);return t=typeof t=="function"?t:r,Jn(Mt(e,1,gt,!0),r,t)});function nv(e){return e&&e.length?Jn(e):[]}function rv(e,t){return e&&e.length?Jn(e,De(t,2)):[]}function av(e,t){return t=typeof t=="function"?t:r,e&&e.length?Jn(e,r,t):[]}function pl(e){if(!(e&&e.length))return[];var t=0;return e=Yn(e,function(n){if(gt(n))return t=xt(n.length,t),!0}),Ai(t,function(n){return ut(e,Ni(n))})}function eu(e,t){if(!(e&&e.length))return[];var n=pl(e);return t==null?n:ut(n,function(l){return qt(t,r,l)})}var iv=ze(function(e,t){return gt(e)?Yr(e,t):[]}),lv=ze(function(e){return Qi(Yn(e,gt))}),sv=ze(function(e){var t=cn(e);return gt(t)&&(t=r),Qi(Yn(e,gt),De(t,2))}),ov=ze(function(e){var t=cn(e);return t=typeof t=="function"?t:r,Qi(Yn(e,gt),r,t)}),uv=ze(pl);function dv(e,t){return bo(e||[],t||[],Hr)}function cv(e,t){return bo(e||[],t||[],Zr)}var fv=ze(function(e){var t=e.length,n=t>1?e[t-1]:r;return n=typeof n=="function"?(e.pop(),n):r,eu(e,n)});function tu(e){var t=f(e);return t.__chain__=!0,t}function hv(e,t){return t(e),e}function Wa(e,t){return t(e)}var pv=Bn(function(e){var t=e.length,n=t?e[0]:0,l=this.__wrapped__,d=function(v){return Bi(v,e)};return t>1||this.__actions__.length||!(l instanceof Ue)||!zn(n)?this.thru(d):(l=l.slice(n,+n+(t?1:0)),l.__actions__.push({func:Wa,args:[d],thisArg:r}),new on(l,this.__chain__).thru(function(v){return t&&!v.length&&v.push(r),v}))});function vv(){return tu(this)}function mv(){return new on(this.value(),this.__chain__)}function gv(){this.__values__===r&&(this.__values__=vu(this.value()));var e=this.__index__>=this.__values__.length,t=e?r:this.__values__[this.__index__++];return{done:e,value:t}}function bv(){return this}function _v(e){for(var t,n=this;n instanceof Ea;){var l=qo(n);l.__index__=0,l.__values__=r,t?d.__wrapped__=l:t=l;var d=l;n=n.__wrapped__}return d.__wrapped__=e,t}function yv(){var e=this.__wrapped__;if(e instanceof Ue){var t=e;return this.__actions__.length&&(t=new Ue(this)),t=t.reverse(),t.__actions__.push({func:Wa,args:[hl],thisArg:r}),new on(t,this.__chain__)}return this.thru(hl)}function wv(){return go(this.__wrapped__,this.__actions__)}var kv=Va(function(e,t,n){tt.call(e,n)?++e[n]:Rn(e,n,1)});function Cv(e,t,n){var l=Ve(e)?Es:fh;return n&&Lt(e,t,n)&&(t=r),l(e,De(t,3))}function xv(e,t){var n=Ve(e)?Yn:js;return n(e,De(t,3))}var Sv=No(Zo),Dv=No(Xo);function $v(e,t){return Mt(Ha(e,t),1)}function Nv(e,t){return Mt(Ha(e,t),S)}function Ev(e,t,n){return n=n===r?1:Re(n),Mt(Ha(e,t),n)}function nu(e,t){var n=Ve(e)?ln:Xn;return n(e,De(t,3))}function ru(e,t){var n=Ve(e)?Yc:Qs;return n(e,De(t,3))}var Mv=Va(function(e,t,n){tt.call(e,n)?e[n].push(t):Rn(e,n,[t])});function Av(e,t,n,l){e=Kt(e)?e:Ir(e),n=n&&!l?Re(n):0;var d=e.length;return n<0&&(n=xt(d+n,0)),Xa(e)?n<=d&&e.indexOf(t,n)>-1:!!d&&wr(e,t,n)>-1}var Tv=ze(function(e,t,n){var l=-1,d=typeof t=="function",v=Kt(e)?K(e.length):[];return Xn(e,function(w){v[++l]=d?qt(t,w,n):Gr(w,t,n)}),v}),Iv=Va(function(e,t,n){Rn(e,n,t)});function Ha(e,t){var n=Ve(e)?ut:io;return n(e,De(t,3))}function Pv(e,t,n,l){return e==null?[]:(Ve(t)||(t=t==null?[]:[t]),n=l?r:n,Ve(n)||(n=n==null?[]:[n]),uo(e,t,n))}var Ov=Va(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]});function Vv(e,t,n){var l=Ve(e)?Di:Is,d=arguments.length<3;return l(e,De(t,4),n,d,Xn)}function Rv(e,t,n){var l=Ve(e)?Gc:Is,d=arguments.length<3;return l(e,De(t,4),n,d,Qs)}function Lv(e,t){var n=Ve(e)?Yn:js;return n(e,qa(De(t,3)))}function Bv(e){var t=Ve(e)?qs:Mh;return t(e)}function zv(e,t,n){(n?Lt(e,t,n):t===r)?t=1:t=Re(t);var l=Ve(e)?sh:Ah;return l(e,t)}function Fv(e){var t=Ve(e)?oh:Ih;return t(e)}function Uv(e){if(e==null)return 0;if(Kt(e))return Xa(e)?Cr(e):e.length;var t=It(e);return t==Je||t==wt?e.size:Hi(e).length}function Kv(e,t,n){var l=Ve(e)?$i:Ph;return n&&Lt(e,t,n)&&(t=r),l(e,De(t,3))}var Wv=ze(function(e,t){if(e==null)return[];var n=t.length;return n>1&&Lt(e,t[0],t[1])?t=[]:n>2&&Lt(t[0],t[1],t[2])&&(t=[t[0]]),uo(e,Mt(t,1),[])}),Ya=Cf||function(){return Et.Date.now()};function Hv(e,t){if(typeof t!="function")throw new sn(g);return e=Re(e),function(){if(--e<1)return t.apply(this,arguments)}}function au(e,t,n){return t=n?r:t,t=e&&t==null?e.length:t,Ln(e,oe,r,r,r,r,t)}function iu(e,t){var n;if(typeof t!="function")throw new sn(g);return e=Re(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=r),n}}var vl=ze(function(e,t,n){var l=M;if(n.length){var d=qn(n,Ar(vl));l|=ne}return Ln(e,l,t,n,d)}),lu=ze(function(e,t,n){var l=M|F;if(n.length){var d=qn(n,Ar(lu));l|=ne}return Ln(t,l,e,n,d)});function su(e,t,n){t=n?r:t;var l=Ln(e,k,r,r,r,r,r,t);return l.placeholder=su.placeholder,l}function ou(e,t,n){t=n?r:t;var l=Ln(e,G,r,r,r,r,r,t);return l.placeholder=ou.placeholder,l}function uu(e,t,n){var l,d,v,w,$,O,ee=0,te=!1,le=!1,me=!0;if(typeof e!="function")throw new sn(g);t=fn(t)||0,ht(n)&&(te=!!n.leading,le="maxWait"in n,v=le?xt(fn(n.maxWait)||0,t):v,me="trailing"in n?!!n.trailing:me);function xe(bt){var kn=l,Kn=d;return l=d=r,ee=bt,w=e.apply(Kn,kn),w}function $e(bt){return ee=bt,$=Qr(Fe,t),te?xe(bt):w}function Be(bt){var kn=bt-O,Kn=bt-ee,Nu=t-kn;return le?Tt(Nu,v-Kn):Nu}function Ne(bt){var kn=bt-O,Kn=bt-ee;return O===r||kn>=t||kn<0||le&&Kn>=v}function Fe(){var bt=Ya();if(Ne(bt))return Ke(bt);$=Qr(Fe,Be(bt))}function Ke(bt){return $=r,me&&l?xe(bt):(l=d=r,w)}function Qt(){$!==r&&_o($),ee=0,l=O=d=$=r}function Bt(){return $===r?w:Ke(Ya())}function jt(){var bt=Ya(),kn=Ne(bt);if(l=arguments,d=this,O=bt,kn){if($===r)return $e(O);if(le)return _o($),$=Qr(Fe,t),xe(O)}return $===r&&($=Qr(Fe,t)),w}return jt.cancel=Qt,jt.flush=Bt,jt}var Yv=ze(function(e,t){return Js(e,1,t)}),Gv=ze(function(e,t,n){return Js(e,fn(t)||0,n)});function qv(e){return Ln(e,Z)}function Ga(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new sn(g);var n=function(){var l=arguments,d=t?t.apply(this,l):l[0],v=n.cache;if(v.has(d))return v.get(d);var w=e.apply(this,l);return n.cache=v.set(d,w)||v,w};return n.cache=new(Ga.Cache||Vn),n}Ga.Cache=Vn;function qa(e){if(typeof e!="function")throw new sn(g);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function Zv(e){return iu(2,e)}var Xv=Oh(function(e,t){t=t.length==1&&Ve(t[0])?ut(t[0],Zt(De())):ut(Mt(t,1),Zt(De()));var n=t.length;return ze(function(l){for(var d=-1,v=Tt(l.length,n);++d<v;)l[d]=t[d].call(this,l[d]);return qt(e,this,l)})}),ml=ze(function(e,t){var n=qn(t,Ar(ml));return Ln(e,ne,r,t,n)}),du=ze(function(e,t){var n=qn(t,Ar(du));return Ln(e,re,r,t,n)}),Jv=Bn(function(e,t){return Ln(e,de,r,r,r,t)});function Qv(e,t){if(typeof e!="function")throw new sn(g);return t=t===r?t:Re(t),ze(e,t)}function jv(e,t){if(typeof e!="function")throw new sn(g);return t=t==null?0:xt(Re(t),0),ze(function(n){var l=n[t],d=jn(n,0,t);return l&&Gn(d,l),qt(e,this,d)})}function em(e,t,n){var l=!0,d=!0;if(typeof e!="function")throw new sn(g);return ht(n)&&(l="leading"in n?!!n.leading:l,d="trailing"in n?!!n.trailing:d),uu(e,t,{leading:l,maxWait:t,trailing:d})}function tm(e){return au(e,1)}function nm(e,t){return ml(el(t),e)}function rm(){if(!arguments.length)return[];var e=arguments[0];return Ve(e)?e:[e]}function am(e){return un(e,b)}function im(e,t){return t=typeof t=="function"?t:r,un(e,b,t)}function lm(e){return un(e,_|b)}function sm(e,t){return t=typeof t=="function"?t:r,un(e,_|b,t)}function om(e,t){return t==null||Xs(e,t,Nt(t))}function wn(e,t){return e===t||e!==e&&t!==t}var um=za(Ui),dm=za(function(e,t){return e>=t}),vr=no(function(){return arguments}())?no:function(e){return vt(e)&&tt.call(e,"callee")&&!Us.call(e,"callee")},Ve=K.isArray,cm=Cs?Zt(Cs):bh;function Kt(e){return e!=null&&Za(e.length)&&!Fn(e)}function gt(e){return vt(e)&&Kt(e)}function fm(e){return e===!0||e===!1||vt(e)&&Rt(e)==Ae}var er=Sf||$l,hm=xs?Zt(xs):_h;function pm(e){return vt(e)&&e.nodeType===1&&!jr(e)}function vm(e){if(e==null)return!0;if(Kt(e)&&(Ve(e)||typeof e=="string"||typeof e.splice=="function"||er(e)||Tr(e)||vr(e)))return!e.length;var t=It(e);if(t==Je||t==wt)return!e.size;if(Jr(e))return!Hi(e).length;for(var n in e)if(tt.call(e,n))return!1;return!0}function mm(e,t){return qr(e,t)}function gm(e,t,n){n=typeof n=="function"?n:r;var l=n?n(e,t):r;return l===r?qr(e,t,r,n):!!l}function gl(e){if(!vt(e))return!1;var t=Rt(e);return t==ct||t==Pe||typeof e.message=="string"&&typeof e.name=="string"&&!jr(e)}function bm(e){return typeof e=="number"&&Ws(e)}function Fn(e){if(!ht(e))return!1;var t=Rt(e);return t==Xe||t==Dt||t==We||t==Ot}function cu(e){return typeof e=="number"&&e==Re(e)}function Za(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=R}function ht(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function vt(e){return e!=null&&typeof e=="object"}var fu=Ss?Zt(Ss):wh;function _m(e,t){return e===t||Wi(e,t,sl(t))}function ym(e,t,n){return n=typeof n=="function"?n:r,Wi(e,t,sl(t),n)}function wm(e){return hu(e)&&e!=+e}function km(e){if(ap(e))throw new Oe(c);return ro(e)}function Cm(e){return e===null}function xm(e){return e==null}function hu(e){return typeof e=="number"||vt(e)&&Rt(e)==Pt}function jr(e){if(!vt(e)||Rt(e)!=Ie)return!1;var t=ka(e);if(t===null)return!0;var n=tt.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&ba.call(n)==_f}var bl=Ds?Zt(Ds):kh;function Sm(e){return cu(e)&&e>=-R&&e<=R}var pu=$s?Zt($s):Ch;function Xa(e){return typeof e=="string"||!Ve(e)&&vt(e)&&Rt(e)==nn}function Jt(e){return typeof e=="symbol"||vt(e)&&Rt(e)==gn}var Tr=Ns?Zt(Ns):xh;function Dm(e){return e===r}function $m(e){return vt(e)&&It(e)==Vt}function Nm(e){return vt(e)&&Rt(e)==Wn}var Em=za(Yi),Mm=za(function(e,t){return e<=t});function vu(e){if(!e)return[];if(Kt(e))return Xa(e)?_n(e):Ut(e);if(zr&&e[zr])return sf(e[zr]());var t=It(e),n=t==Je?Ii:t==wt?va:Ir;return n(e)}function Un(e){if(!e)return e===0?e:0;if(e=fn(e),e===S||e===-S){var t=e<0?-1:1;return t*E}return e===e?e:0}function Re(e){var t=Un(e),n=t%1;return t===t?n?t-n:t:0}function mu(e){return e?cr(Re(e),0,J):0}function fn(e){if(typeof e=="number")return e;if(Jt(e))return U;if(ht(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ht(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Ps(e);var n=uc.test(e);return n||cc.test(e)?Kc(e.slice(2),n?2:8):oc.test(e)?U:+e}function gu(e){return An(e,Wt(e))}function Am(e){return e?cr(Re(e),-R,R):e===0?e:0}function je(e){return e==null?"":Xt(e)}var Tm=Er(function(e,t){if(Jr(t)||Kt(t)){An(t,Nt(t),e);return}for(var n in t)tt.call(t,n)&&Hr(e,n,t[n])}),bu=Er(function(e,t){An(t,Wt(t),e)}),Ja=Er(function(e,t,n,l){An(t,Wt(t),e,l)}),Im=Er(function(e,t,n,l){An(t,Nt(t),e,l)}),Pm=Bn(Bi);function Om(e,t){var n=Nr(e);return t==null?n:Zs(n,t)}var Vm=ze(function(e,t){e=rt(e);var n=-1,l=t.length,d=l>2?t[2]:r;for(d&&Lt(t[0],t[1],d)&&(l=1);++n<l;)for(var v=t[n],w=Wt(v),$=-1,O=w.length;++$<O;){var ee=w[$],te=e[ee];(te===r||wn(te,Sr[ee])&&!tt.call(e,ee))&&(e[ee]=v[ee])}return e}),Rm=ze(function(e){return e.push(r,Oo),qt(_u,r,e)});function Lm(e,t){return Ms(e,De(t,3),Mn)}function Bm(e,t){return Ms(e,De(t,3),Fi)}function zm(e,t){return e==null?e:zi(e,De(t,3),Wt)}function Fm(e,t){return e==null?e:eo(e,De(t,3),Wt)}function Um(e,t){return e&&Mn(e,De(t,3))}function Km(e,t){return e&&Fi(e,De(t,3))}function Wm(e){return e==null?[]:Ta(e,Nt(e))}function Hm(e){return e==null?[]:Ta(e,Wt(e))}function _l(e,t,n){var l=e==null?r:fr(e,t);return l===r?n:l}function Ym(e,t){return e!=null&&Lo(e,t,ph)}function yl(e,t){return e!=null&&Lo(e,t,vh)}var Gm=Mo(function(e,t,n){t!=null&&typeof t.toString!="function"&&(t=_a.call(t)),e[t]=n},kl(Ht)),qm=Mo(function(e,t,n){t!=null&&typeof t.toString!="function"&&(t=_a.call(t)),tt.call(e,t)?e[t].push(n):e[t]=[n]},De),Zm=ze(Gr);function Nt(e){return Kt(e)?Gs(e):Hi(e)}function Wt(e){return Kt(e)?Gs(e,!0):Sh(e)}function Xm(e,t){var n={};return t=De(t,3),Mn(e,function(l,d,v){Rn(n,t(l,d,v),l)}),n}function Jm(e,t){var n={};return t=De(t,3),Mn(e,function(l,d,v){Rn(n,d,t(l,d,v))}),n}var Qm=Er(function(e,t,n){Ia(e,t,n)}),_u=Er(function(e,t,n,l){Ia(e,t,n,l)}),jm=Bn(function(e,t){var n={};if(e==null)return n;var l=!1;t=ut(t,function(v){return v=Qn(v,e),l||(l=v.length>1),v}),An(e,il(e),n),l&&(n=un(n,_|C|b,Yh));for(var d=t.length;d--;)Ji(n,t[d]);return n});function eg(e,t){return yu(e,qa(De(t)))}var tg=Bn(function(e,t){return e==null?{}:$h(e,t)});function yu(e,t){if(e==null)return{};var n=ut(il(e),function(l){return[l]});return t=De(t),co(e,n,function(l,d){return t(l,d[0])})}function ng(e,t,n){t=Qn(t,e);var l=-1,d=t.length;for(d||(d=1,e=r);++l<d;){var v=e==null?r:e[Tn(t[l])];v===r&&(l=d,v=n),e=Fn(v)?v.call(e):v}return e}function rg(e,t,n){return e==null?e:Zr(e,t,n)}function ag(e,t,n,l){return l=typeof l=="function"?l:r,e==null?e:Zr(e,t,n,l)}var wu=Io(Nt),ku=Io(Wt);function ig(e,t,n){var l=Ve(e),d=l||er(e)||Tr(e);if(t=De(t,4),n==null){var v=e&&e.constructor;d?n=l?new v:[]:ht(e)?n=Fn(v)?Nr(ka(e)):{}:n={}}return(d?ln:Mn)(e,function(w,$,O){return t(n,w,$,O)}),n}function lg(e,t){return e==null?!0:Ji(e,t)}function sg(e,t,n){return e==null?e:mo(e,t,el(n))}function og(e,t,n,l){return l=typeof l=="function"?l:r,e==null?e:mo(e,t,el(n),l)}function Ir(e){return e==null?[]:Ti(e,Nt(e))}function ug(e){return e==null?[]:Ti(e,Wt(e))}function dg(e,t,n){return n===r&&(n=t,t=r),n!==r&&(n=fn(n),n=n===n?n:0),t!==r&&(t=fn(t),t=t===t?t:0),cr(fn(e),t,n)}function cg(e,t,n){return t=Un(t),n===r?(n=t,t=0):n=Un(n),e=fn(e),mh(e,t,n)}function fg(e,t,n){if(n&&typeof n!="boolean"&&Lt(e,t,n)&&(t=n=r),n===r&&(typeof t=="boolean"?(n=t,t=r):typeof e=="boolean"&&(n=e,e=r)),e===r&&t===r?(e=0,t=1):(e=Un(e),t===r?(t=e,e=0):t=Un(t)),e>t){var l=e;e=t,t=l}if(n||e%1||t%1){var d=Hs();return Tt(e+d*(t-e+Uc("1e-"+((d+"").length-1))),t)}return qi(e,t)}var hg=Mr(function(e,t,n){return t=t.toLowerCase(),e+(n?Cu(t):t)});function Cu(e){return wl(je(e).toLowerCase())}function xu(e){return e=je(e),e&&e.replace(hc,tf).replace(Tc,"")}function pg(e,t,n){e=je(e),t=Xt(t);var l=e.length;n=n===r?l:cr(Re(n),0,l);var d=n;return n-=t.length,n>=0&&e.slice(n,d)==t}function vg(e){return e=je(e),e&&Gd.test(e)?e.replace(Gt,nf):e}function mg(e){return e=je(e),e&&jd.test(e)?e.replace(mi,"\\$&"):e}var gg=Mr(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),bg=Mr(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),_g=$o("toLowerCase");function yg(e,t,n){e=je(e),t=Re(t);var l=t?Cr(e):0;if(!t||l>=t)return e;var d=(t-l)/2;return Ba(Da(d),n)+e+Ba(Sa(d),n)}function wg(e,t,n){e=je(e),t=Re(t);var l=t?Cr(e):0;return t&&l<t?e+Ba(t-l,n):e}function kg(e,t,n){e=je(e),t=Re(t);var l=t?Cr(e):0;return t&&l<t?Ba(t-l,n)+e:e}function Cg(e,t,n){return n||t==null?t=0:t&&(t=+t),Ef(je(e).replace(gi,""),t||0)}function xg(e,t,n){return(n?Lt(e,t,n):t===r)?t=1:t=Re(t),Zi(je(e),t)}function Sg(){var e=arguments,t=je(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var Dg=Mr(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()});function $g(e,t,n){return n&&typeof n!="number"&&Lt(e,t,n)&&(t=n=r),n=n===r?J:n>>>0,n?(e=je(e),e&&(typeof t=="string"||t!=null&&!bl(t))&&(t=Xt(t),!t&&kr(e))?jn(_n(e),0,n):e.split(t,n)):[]}var Ng=Mr(function(e,t,n){return e+(n?" ":"")+wl(t)});function Eg(e,t,n){return e=je(e),n=n==null?0:cr(Re(n),0,e.length),t=Xt(t),e.slice(n,n+t.length)==t}function Mg(e,t,n){var l=f.templateSettings;n&&Lt(e,t,n)&&(t=r),e=je(e),t=Ja({},t,l,Po);var d=Ja({},t.imports,l.imports,Po),v=Nt(d),w=Ti(d,v),$,O,ee=0,te=t.interpolate||da,le="__p += '",me=Pi((t.escape||da).source+"|"+te.source+"|"+(te===ts?sc:da).source+"|"+(t.evaluate||da).source+"|$","g"),xe="//# sourceURL="+(tt.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Rc+"]")+`
     14`)}function tp(e){return Ve(e)||vr(e)||!!(Ks&&e&&e[Ks])}function zn(e,t){var n=typeof e;return t=t??R,!!t&&(n=="number"||n!="symbol"&&fc.test(e))&&e>-1&&e%1==0&&e<t}function Lt(e,t,n){if(!ht(n))return!1;var l=typeof t;return(l=="number"?Kt(n)&&zn(t,n.length):l=="string"&&t in n)?wn(n[t],e):!1}function ul(e,t){if(Ve(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||Jt(e)?!0:Jd.test(e)||!Xd.test(e)||t!=null&&e in rt(t)}function np(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function dl(e){var t=Fa(e),n=f[t];if(typeof n!="function"||!(t in Ue.prototype))return!1;if(e===n)return!0;var l=ll(n);return!!l&&e===l[0]}function rp(e){return!!Bs&&Bs in e}var ap=ga?Fn:$l;function Jr(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Sr;return e===n}function zo(e){return e===e&&!ht(e)}function Fo(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==r||e in rt(n))}}function ip(e){var t=Ga(e,function(l){return n.size===p&&n.clear(),l}),n=t.cache;return t}function lp(e,t){var n=e[1],l=t[1],d=n|l,v=d<(M|F|oe),w=l==oe&&n==k||l==oe&&n==de&&e[7].length<=t[8]||l==(oe|de)&&t[7].length<=t[8]&&n==k;if(!(v||w))return e;l&M&&(e[2]=t[2],d|=n&M?0:L);var $=t[3];if($){var O=e[3];e[3]=O?Co(O,$,t[4]):$,e[4]=O?qn(e[3],y):t[4]}return $=t[5],$&&(O=e[5],e[5]=O?xo(O,$,t[6]):$,e[6]=O?qn(e[5],y):t[6]),$=t[7],$&&(e[7]=$),l&oe&&(e[8]=e[8]==null?t[8]:Tt(e[8],t[8])),e[9]==null&&(e[9]=t[9]),e[0]=t[0],e[1]=d,e}function sp(e){var t=[];if(e!=null)for(var n in rt(e))t.push(n);return t}function op(e){return _a.call(e)}function Uo(e,t,n){return t=xt(t===r?e.length-1:t,0),function(){for(var l=arguments,d=-1,v=xt(l.length-t,0),w=K(v);++d<v;)w[d]=l[t+d];d=-1;for(var $=K(t+1);++d<t;)$[d]=l[d];return $[t]=n(w),qt(e,this,$)}}function Ko(e,t){return t.length<2?e:fr(e,dn(t,0,-1))}function up(e,t){for(var n=e.length,l=Tt(t.length,n),d=Ut(e);l--;){var v=t[l];e[l]=zn(v,n)?d[v]:r}return e}function cl(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var Wo=Yo(ho),Qr=xf||function(e,t){return Et.setTimeout(e,t)},fl=Yo(Th);function Ho(e,t,n){var l=t+"";return fl(e,ep(l,dp(Jh(l),n)))}function Yo(e){var t=0,n=0;return function(){var l=Nf(),d=N-(l-n);if(n=l,d>0){if(++t>=pe)return arguments[0]}else t=0;return e.apply(r,arguments)}}function Ka(e,t){var n=-1,l=e.length,d=l-1;for(t=t===r?l:t;++n<t;){var v=qi(n,d),w=e[v];e[v]=e[n],e[n]=w}return e.length=t,e}var Go=ip(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Qd,function(n,l,d,v){t.push(d?v.replace(lc,"$1"):l||n)}),t});function Tn(e){if(typeof e=="string"||Jt(e))return e;var t=e+"";return t=="0"&&1/e==-S?"-0":t}function pr(e){if(e!=null){try{return ba.call(e)}catch{}try{return e+""}catch{}}return""}function dp(e,t){return ln(ye,function(n){var l="_."+n[0];t&n[1]&&!ha(e,l)&&e.push(l)}),e.sort()}function qo(e){if(e instanceof Ue)return e.clone();var t=new on(e.__wrapped__,e.__chain__);return t.__actions__=Ut(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function cp(e,t,n){(n?Lt(e,t,n):t===r)?t=1:t=xt(Re(t),0);var l=e==null?0:e.length;if(!l||t<1)return[];for(var d=0,v=0,w=K(Sa(l/t));d<l;)w[v++]=dn(e,d,d+=t);return w}function fp(e){for(var t=-1,n=e==null?0:e.length,l=0,d=[];++t<n;){var v=e[t];v&&(d[l++]=v)}return d}function hp(){var e=arguments.length;if(!e)return[];for(var t=K(e-1),n=arguments[0],l=e;l--;)t[l-1]=arguments[l];return Gn(Ve(n)?Ut(n):[n],Mt(t,1))}var pp=ze(function(e,t){return gt(e)?Yr(e,Mt(t,1,gt,!0)):[]}),vp=ze(function(e,t){var n=cn(t);return gt(n)&&(n=r),gt(e)?Yr(e,Mt(t,1,gt,!0),De(n,2)):[]}),mp=ze(function(e,t){var n=cn(t);return gt(n)&&(n=r),gt(e)?Yr(e,Mt(t,1,gt,!0),r,n):[]});function gp(e,t,n){var l=e==null?0:e.length;return l?(t=n||t===r?1:Re(t),dn(e,t<0?0:t,l)):[]}function bp(e,t,n){var l=e==null?0:e.length;return l?(t=n||t===r?1:Re(t),t=l-t,dn(e,0,t<0?0:t)):[]}function _p(e,t){return e&&e.length?Oa(e,De(t,3),!0,!0):[]}function yp(e,t){return e&&e.length?Oa(e,De(t,3),!0):[]}function kp(e,t,n,l){var d=e==null?0:e.length;return d?(n&&typeof n!="number"&&Lt(e,t,n)&&(n=0,l=d),hh(e,t,n,l)):[]}function Zo(e,t,n){var l=e==null?0:e.length;if(!l)return-1;var d=n==null?0:Re(n);return d<0&&(d=xt(l+d,0)),pa(e,De(t,3),d)}function Xo(e,t,n){var l=e==null?0:e.length;if(!l)return-1;var d=l-1;return n!==r&&(d=Re(n),d=n<0?xt(l+d,0):Tt(d,l-1)),pa(e,De(t,3),d,!0)}function Jo(e){var t=e==null?0:e.length;return t?Mt(e,1):[]}function Cp(e){var t=e==null?0:e.length;return t?Mt(e,S):[]}function xp(e,t){var n=e==null?0:e.length;return n?(t=t===r?1:Re(t),Mt(e,t)):[]}function Sp(e){for(var t=-1,n=e==null?0:e.length,l={};++t<n;){var d=e[t];l[d[0]]=d[1]}return l}function Qo(e){return e&&e.length?e[0]:r}function Dp(e,t,n){var l=e==null?0:e.length;if(!l)return-1;var d=n==null?0:Re(n);return d<0&&(d=xt(l+d,0)),wr(e,t,d)}function $p(e){var t=e==null?0:e.length;return t?dn(e,0,-1):[]}var Np=ze(function(e){var t=ut(e,ji);return t.length&&t[0]===e[0]?Ki(t):[]}),Ep=ze(function(e){var t=cn(e),n=ut(e,ji);return t===cn(n)?t=r:n.pop(),n.length&&n[0]===e[0]?Ki(n,De(t,2)):[]}),Mp=ze(function(e){var t=cn(e),n=ut(e,ji);return t=typeof t=="function"?t:r,t&&n.pop(),n.length&&n[0]===e[0]?Ki(n,r,t):[]});function Ap(e,t){return e==null?"":Df.call(e,t)}function cn(e){var t=e==null?0:e.length;return t?e[t-1]:r}function Tp(e,t,n){var l=e==null?0:e.length;if(!l)return-1;var d=l;return n!==r&&(d=Re(n),d=d<0?xt(l+d,0):Tt(d,l-1)),t===t?df(e,t,d):pa(e,As,d,!0)}function Ip(e,t){return e&&e.length?oo(e,Re(t)):r}var Pp=ze(jo);function jo(e,t){return e&&e.length&&t&&t.length?Gi(e,t):e}function Op(e,t,n){return e&&e.length&&t&&t.length?Gi(e,t,De(n,2)):e}function Vp(e,t,n){return e&&e.length&&t&&t.length?Gi(e,t,r,n):e}var Rp=Bn(function(e,t){var n=e==null?0:e.length,l=Bi(e,t);return fo(e,ut(t,function(d){return zn(d,n)?+d:d}).sort(ko)),l});function Lp(e,t){var n=[];if(!(e&&e.length))return n;var l=-1,d=[],v=e.length;for(t=De(t,3);++l<v;){var w=e[l];t(w,l,e)&&(n.push(w),d.push(l))}return fo(e,d),n}function hl(e){return e==null?e:Mf.call(e)}function Bp(e,t,n){var l=e==null?0:e.length;return l?(n&&typeof n!="number"&&Lt(e,t,n)?(t=0,n=l):(t=t==null?0:Re(t),n=n===r?l:Re(n)),dn(e,t,n)):[]}function zp(e,t){return Pa(e,t)}function Fp(e,t,n){return Xi(e,t,De(n,2))}function Up(e,t){var n=e==null?0:e.length;if(n){var l=Pa(e,t);if(l<n&&wn(e[l],t))return l}return-1}function Kp(e,t){return Pa(e,t,!0)}function Wp(e,t,n){return Xi(e,t,De(n,2),!0)}function Hp(e,t){var n=e==null?0:e.length;if(n){var l=Pa(e,t,!0)-1;if(wn(e[l],t))return l}return-1}function Yp(e){return e&&e.length?po(e):[]}function Gp(e,t){return e&&e.length?po(e,De(t,2)):[]}function qp(e){var t=e==null?0:e.length;return t?dn(e,1,t):[]}function Zp(e,t,n){return e&&e.length?(t=n||t===r?1:Re(t),dn(e,0,t<0?0:t)):[]}function Xp(e,t,n){var l=e==null?0:e.length;return l?(t=n||t===r?1:Re(t),t=l-t,dn(e,t<0?0:t,l)):[]}function Jp(e,t){return e&&e.length?Oa(e,De(t,3),!1,!0):[]}function Qp(e,t){return e&&e.length?Oa(e,De(t,3)):[]}var jp=ze(function(e){return Jn(Mt(e,1,gt,!0))}),ev=ze(function(e){var t=cn(e);return gt(t)&&(t=r),Jn(Mt(e,1,gt,!0),De(t,2))}),tv=ze(function(e){var t=cn(e);return t=typeof t=="function"?t:r,Jn(Mt(e,1,gt,!0),r,t)});function nv(e){return e&&e.length?Jn(e):[]}function rv(e,t){return e&&e.length?Jn(e,De(t,2)):[]}function av(e,t){return t=typeof t=="function"?t:r,e&&e.length?Jn(e,r,t):[]}function pl(e){if(!(e&&e.length))return[];var t=0;return e=Yn(e,function(n){if(gt(n))return t=xt(n.length,t),!0}),Ai(t,function(n){return ut(e,Ni(n))})}function eu(e,t){if(!(e&&e.length))return[];var n=pl(e);return t==null?n:ut(n,function(l){return qt(t,r,l)})}var iv=ze(function(e,t){return gt(e)?Yr(e,t):[]}),lv=ze(function(e){return Qi(Yn(e,gt))}),sv=ze(function(e){var t=cn(e);return gt(t)&&(t=r),Qi(Yn(e,gt),De(t,2))}),ov=ze(function(e){var t=cn(e);return t=typeof t=="function"?t:r,Qi(Yn(e,gt),r,t)}),uv=ze(pl);function dv(e,t){return bo(e||[],t||[],Hr)}function cv(e,t){return bo(e||[],t||[],Zr)}var fv=ze(function(e){var t=e.length,n=t>1?e[t-1]:r;return n=typeof n=="function"?(e.pop(),n):r,eu(e,n)});function tu(e){var t=f(e);return t.__chain__=!0,t}function hv(e,t){return t(e),e}function Wa(e,t){return t(e)}var pv=Bn(function(e){var t=e.length,n=t?e[0]:0,l=this.__wrapped__,d=function(v){return Bi(v,e)};return t>1||this.__actions__.length||!(l instanceof Ue)||!zn(n)?this.thru(d):(l=l.slice(n,+n+(t?1:0)),l.__actions__.push({func:Wa,args:[d],thisArg:r}),new on(l,this.__chain__).thru(function(v){return t&&!v.length&&v.push(r),v}))});function vv(){return tu(this)}function mv(){return new on(this.value(),this.__chain__)}function gv(){this.__values__===r&&(this.__values__=vu(this.value()));var e=this.__index__>=this.__values__.length,t=e?r:this.__values__[this.__index__++];return{done:e,value:t}}function bv(){return this}function _v(e){for(var t,n=this;n instanceof Ea;){var l=qo(n);l.__index__=0,l.__values__=r,t?d.__wrapped__=l:t=l;var d=l;n=n.__wrapped__}return d.__wrapped__=e,t}function yv(){var e=this.__wrapped__;if(e instanceof Ue){var t=e;return this.__actions__.length&&(t=new Ue(this)),t=t.reverse(),t.__actions__.push({func:Wa,args:[hl],thisArg:r}),new on(t,this.__chain__)}return this.thru(hl)}function wv(){return go(this.__wrapped__,this.__actions__)}var kv=Va(function(e,t,n){tt.call(e,n)?++e[n]:Rn(e,n,1)});function Cv(e,t,n){var l=Ve(e)?Es:fh;return n&&Lt(e,t,n)&&(t=r),l(e,De(t,3))}function xv(e,t){var n=Ve(e)?Yn:js;return n(e,De(t,3))}var Sv=No(Zo),Dv=No(Xo);function $v(e,t){return Mt(Ha(e,t),1)}function Nv(e,t){return Mt(Ha(e,t),S)}function Ev(e,t,n){return n=n===r?1:Re(n),Mt(Ha(e,t),n)}function nu(e,t){var n=Ve(e)?ln:Xn;return n(e,De(t,3))}function ru(e,t){var n=Ve(e)?Yc:Qs;return n(e,De(t,3))}var Mv=Va(function(e,t,n){tt.call(e,n)?e[n].push(t):Rn(e,n,[t])});function Av(e,t,n,l){e=Kt(e)?e:Ir(e),n=n&&!l?Re(n):0;var d=e.length;return n<0&&(n=xt(d+n,0)),Xa(e)?n<=d&&e.indexOf(t,n)>-1:!!d&&wr(e,t,n)>-1}var Tv=ze(function(e,t,n){var l=-1,d=typeof t=="function",v=Kt(e)?K(e.length):[];return Xn(e,function(w){v[++l]=d?qt(t,w,n):Gr(w,t,n)}),v}),Iv=Va(function(e,t,n){Rn(e,n,t)});function Ha(e,t){var n=Ve(e)?ut:io;return n(e,De(t,3))}function Pv(e,t,n,l){return e==null?[]:(Ve(t)||(t=t==null?[]:[t]),n=l?r:n,Ve(n)||(n=n==null?[]:[n]),uo(e,t,n))}var Ov=Va(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]});function Vv(e,t,n){var l=Ve(e)?Di:Is,d=arguments.length<3;return l(e,De(t,4),n,d,Xn)}function Rv(e,t,n){var l=Ve(e)?Gc:Is,d=arguments.length<3;return l(e,De(t,4),n,d,Qs)}function Lv(e,t){var n=Ve(e)?Yn:js;return n(e,qa(De(t,3)))}function Bv(e){var t=Ve(e)?qs:Mh;return t(e)}function zv(e,t,n){(n?Lt(e,t,n):t===r)?t=1:t=Re(t);var l=Ve(e)?sh:Ah;return l(e,t)}function Fv(e){var t=Ve(e)?oh:Ih;return t(e)}function Uv(e){if(e==null)return 0;if(Kt(e))return Xa(e)?Cr(e):e.length;var t=It(e);return t==Je||t==wt?e.size:Hi(e).length}function Kv(e,t,n){var l=Ve(e)?$i:Ph;return n&&Lt(e,t,n)&&(t=r),l(e,De(t,3))}var Wv=ze(function(e,t){if(e==null)return[];var n=t.length;return n>1&&Lt(e,t[0],t[1])?t=[]:n>2&&Lt(t[0],t[1],t[2])&&(t=[t[0]]),uo(e,Mt(t,1),[])}),Ya=Cf||function(){return Et.Date.now()};function Hv(e,t){if(typeof t!="function")throw new sn(g);return e=Re(e),function(){if(--e<1)return t.apply(this,arguments)}}function au(e,t,n){return t=n?r:t,t=e&&t==null?e.length:t,Ln(e,oe,r,r,r,r,t)}function iu(e,t){var n;if(typeof t!="function")throw new sn(g);return e=Re(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=r),n}}var vl=ze(function(e,t,n){var l=M;if(n.length){var d=qn(n,Ar(vl));l|=ne}return Ln(e,l,t,n,d)}),lu=ze(function(e,t,n){var l=M|F;if(n.length){var d=qn(n,Ar(lu));l|=ne}return Ln(t,l,e,n,d)});function su(e,t,n){t=n?r:t;var l=Ln(e,k,r,r,r,r,r,t);return l.placeholder=su.placeholder,l}function ou(e,t,n){t=n?r:t;var l=Ln(e,G,r,r,r,r,r,t);return l.placeholder=ou.placeholder,l}function uu(e,t,n){var l,d,v,w,$,O,ee=0,te=!1,le=!1,me=!0;if(typeof e!="function")throw new sn(g);t=fn(t)||0,ht(n)&&(te=!!n.leading,le="maxWait"in n,v=le?xt(fn(n.maxWait)||0,t):v,me="trailing"in n?!!n.trailing:me);function xe(bt){var kn=l,Kn=d;return l=d=r,ee=bt,w=e.apply(Kn,kn),w}function $e(bt){return ee=bt,$=Qr(Fe,t),te?xe(bt):w}function Be(bt){var kn=bt-O,Kn=bt-ee,Nu=t-kn;return le?Tt(Nu,v-Kn):Nu}function Ne(bt){var kn=bt-O,Kn=bt-ee;return O===r||kn>=t||kn<0||le&&Kn>=v}function Fe(){var bt=Ya();if(Ne(bt))return Ke(bt);$=Qr(Fe,Be(bt))}function Ke(bt){return $=r,me&&l?xe(bt):(l=d=r,w)}function Qt(){$!==r&&_o($),ee=0,l=O=d=$=r}function Bt(){return $===r?w:Ke(Ya())}function jt(){var bt=Ya(),kn=Ne(bt);if(l=arguments,d=this,O=bt,kn){if($===r)return $e(O);if(le)return _o($),$=Qr(Fe,t),xe(O)}return $===r&&($=Qr(Fe,t)),w}return jt.cancel=Qt,jt.flush=Bt,jt}var Yv=ze(function(e,t){return Js(e,1,t)}),Gv=ze(function(e,t,n){return Js(e,fn(t)||0,n)});function qv(e){return Ln(e,Z)}function Ga(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new sn(g);var n=function(){var l=arguments,d=t?t.apply(this,l):l[0],v=n.cache;if(v.has(d))return v.get(d);var w=e.apply(this,l);return n.cache=v.set(d,w)||v,w};return n.cache=new(Ga.Cache||Vn),n}Ga.Cache=Vn;function qa(e){if(typeof e!="function")throw new sn(g);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function Zv(e){return iu(2,e)}var Xv=Oh(function(e,t){t=t.length==1&&Ve(t[0])?ut(t[0],Zt(De())):ut(Mt(t,1),Zt(De()));var n=t.length;return ze(function(l){for(var d=-1,v=Tt(l.length,n);++d<v;)l[d]=t[d].call(this,l[d]);return qt(e,this,l)})}),ml=ze(function(e,t){var n=qn(t,Ar(ml));return Ln(e,ne,r,t,n)}),du=ze(function(e,t){var n=qn(t,Ar(du));return Ln(e,re,r,t,n)}),Jv=Bn(function(e,t){return Ln(e,de,r,r,r,t)});function Qv(e,t){if(typeof e!="function")throw new sn(g);return t=t===r?t:Re(t),ze(e,t)}function jv(e,t){if(typeof e!="function")throw new sn(g);return t=t==null?0:xt(Re(t),0),ze(function(n){var l=n[t],d=jn(n,0,t);return l&&Gn(d,l),qt(e,this,d)})}function em(e,t,n){var l=!0,d=!0;if(typeof e!="function")throw new sn(g);return ht(n)&&(l="leading"in n?!!n.leading:l,d="trailing"in n?!!n.trailing:d),uu(e,t,{leading:l,maxWait:t,trailing:d})}function tm(e){return au(e,1)}function nm(e,t){return ml(el(t),e)}function rm(){if(!arguments.length)return[];var e=arguments[0];return Ve(e)?e:[e]}function am(e){return un(e,,Yh));for(var d=t.length;d--;)Ji(n,t[d]);return n});function eg(e,t){return yu(e,qa(De(t)))}var tg=Bn(function(e,t){return e==null?{}:$h(e,t)});function yu(e,t){if(e==null)return{};var n=ut(il(e),function(l){return[l]});return t=De(t),co(e,n,function(l,d){return t(l,d[0])})}function ng(e,t,n){t=Qn(t,e);var l=-1,d=t.length;for(d||(d=1,e=r);++l<d;){var v=e==null?r:e[Tn(t[l])];v===r&&(l=d,v=n),e=Fn(v)?v.call(e):v}return e}function rg(e,t,n){return e==null?e:Zr(e,t,n)}function ag(e,t,n,l){return l=typeof l=="function"?l:r,e==null?e:Zr(e,t,n,l)}var wu=Io(Nt),ku=Io(Wt);function ig(e,t,n){var l=Ve(e),d=l||er(e)||Tr(e);if(t=De(t,4),n==null){var v=e&&e.constructor;d?n=l?new v:[]:ht(e)?n=Fn(v)?Nr(ka(e)):{}:n={}}return(d?ln:Mn)(e,function(w,$,O){return t(n,w,$,O)}),n}function lg(e,t){return e==null?!0:Ji(e,t)}function sg(e,t,n){return e==null?e:mo(e,t,el(n))}function og(e,t,n,l){return l=typeof l=="function"?l:r,e==null?e:mo(e,t,el(n),l)}function Ir(e){return e==null?[]:Ti(e,Nt(e))}function ug(e){return e==null?[]:Ti(e,Wt(e))}function dg(e,t,n){return n===r&&(n=t,t=r),n!==r&&(n=fn(n),n=n===n?n:0),t!==r&&(t=fn(t),t=t===t?t:0),cr(fn(e),t,n)}function cg(e,t,n){return t=Un(t),n===r?(n=t,t=0):n=Un(n),e=fn(e),mh(e,t,n)}function fg(e,t,n){if(n&&typeof n!="boolean"&&Lt(e,t,n)&&(t=n=r),n===r&&(typeof t=="boolean"?(n=t,t=r):typeof e=="boolean"&&(n=e,e=r)),e===r&&t===r?(e=0,t=1):(e=Un(e),t===r?(t=e,e=0):t=Un(t)),e>t){var l=e;e=t,t=l}if(n||e%1||t%1){var d=Hs();return Tt(e+d*(t-e+Uc("1e-"+((d+"").length-1))),t)}return qi(e,t)}var hg=Mr(function(e,t,n){return t=t.toLowerCase(),e+(n?Cu(t):t)});function Cu(e){return wl(je(e).toLowerCase())}function xu(e){return e=je(e),e&&e.replace(hc,tf).replace(Tc,"")}function pg(e,t,n){e=je(e),t=Xt(t);var l=e.length;n=n===r?l:cr(Re(n),0,l);var d=n;return n-=t.length,n>=0&&e.slice(n,d)==t}function vg(e){return e=je(e),e&&Gd.test(e)?e.replace(Gt,nf):e}function mg(e){return e=je(e),e&&jd.test(e)?e.replace(mi,"\\$&"):e}var gg=Mr(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),bg=Mr(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),_g=$o("toLowerCase");function yg(e,t,n){e=je(e),t=Re(t);var l=t?Cr(e):0;if(!t||l>=t)return e;var d=(t-l)/2;return Ba(Da(d),n)+e+Ba(Sa(d),n)}function wg(e,t,n){e=je(e),t=Re(t);var l=t?Cr(e):0;return t&&l<t?e+Ba(t-l,n):e}function kg(e,t,n){e=je(e),t=Re(t);var l=t?Cr(e):0;return t&&l<t?Ba(t-l,n)+e:e}function Cg(e,t,n){return n||t==null?t=0:t&&(t=+t),Ef(je(e).replace(gi,""),t||0)}function xg(e,t,n){return(n?Lt(e,t,n):t===r)?t=1:t=Re(t),Zi(je(e),t)}function Sg(){var e=arguments,t=je(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var Dg=Mr(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()});function $g(e,t,n){return n&&typeof n!="number"&&Lt(e,t,n)&&(t=n=r),n=n===r?J:n>>>0,n?(e=je(e),e&&(typeof t=="string"||t!=null&&!bl(t))&&(t=Xt(t),!t&&kr(e))?jn(_n(e),0,n):e.split(t,n)):[]}var Ng=Mr(function(e,t,n){return e+(n?" ":"")+wl(t)});function Eg(e,t,n){return e=je(e),n=n==null?0:cr(Re(n),0,e.length),t=Xt(t),e.slice(n,n+t.length)==t}function Mg(e,t,n){var l=f.templateSettings;n&&Lt(e,t,n)&&(t=r),e=je(e),t=Ja({},t,l,Po);var d=Ja({},t.imports,l.imports,Po),v=Nt(d),w=Ti(d,v),$,O,ee=0,te=t.interpolate||da,le="__p += '",me=Pi((t.escape||da).source+"|"+te.source+"|"+(te===ts?sc:da).source+"|"+(t.evaluate||da).source+"|$","g"),xe="//# sourceURL="+(tt.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Rc+"]")+`
    1515`;e.replace(me,function(Ne,Fe,Ke,Qt,Bt,jt){return Ke||(Ke=Qt),le+=e.slice(ee,jt).replace(pc,rf),Fe&&($=!0,le+=`' +
    1616__e(`+Fe+`) +
     
    2929`:`;
    3030`)+le+`return __p
    31 }`;var Be=Du(function(){return qe(v,xe+"return "+le).apply(r,w)});if(Be.source=le,gl(Be))throw Be;return Be}function Ag(e){return je(e).toLowerCase()}function Tg(e){return je(e).toUpperCase()}function Ig(e,t,n){if(e=je(e),e&&(n||t===r))return Ps(e);if(!e||!(t=Xt(t)))return e;var l=_n(e),d=_n(t),v=Os(l,d),w=Vs(l,d)+1;return jn(l,v,w).join("")}function Pg(e,t,n){if(e=je(e),e&&(n||t===r))return e.slice(0,Ls(e)+1);if(!e||!(t=Xt(t)))return e;var l=_n(e),d=Vs(l,_n(t))+1;return jn(l,0,d).join("")}function Og(e,t,n){if(e=je(e),e&&(n||t===r))return e.replace(gi,"");if(!e||!(t=Xt(t)))return e;var l=_n(e),d=Os(l,_n(t));return jn(l,d).join("")}function Vg(e,t){var n=ae,l=ge;if(ht(t)){var d="separator"in t?t.separator:d;n="length"in t?Re(t.length):n,l="omission"in t?Xt(t.omission):l}e=je(e);var v=e.length;if(kr(e)){var w=_n(e);v=w.length}if(n>=v)return e;var $=n-Cr(l);if($<1)return l;var O=w?jn(w,0,$).join(""):e.slice(0,$);if(d===r)return O+l;if(w&&($+=O.length-$),bl(d)){if(e.slice($).search(d)){var ee,te=O;for(d.global||(d=Pi(d.source,je(ns.exec(d))+"g")),d.lastIndex=0;ee=d.exec(te);)var le=ee.index;O=O.slice(0,le===r?$:le)}}else if(e.indexOf(Xt(d),$)!=$){var me=O.lastIndexOf(d);me>-1&&(O=O.slice(0,me))}return O+l}function Rg(e){return e=je(e),e&&Yd.test(e)?e.replace(Qe,cf):e}var Lg=Mr(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),wl=$o("toUpperCase");function Su(e,t,n){return e=je(e),t=n?r:t,t===r?lf(e)?pf(e):Xc(e):e.match(t)||[]}var Du=ze(function(e,t){try{return qt(e,r,t)}catch(n){return gl(n)?n:new Oe(n)}}),Bg=Bn(function(e,t){return ln(t,function(n){n=Tn(n),Rn(e,n,vl(e[n],e))}),e});function zg(e){var t=e==null?0:e.length,n=De();return e=t?ut(e,function(l){if(typeof l[1]!="function")throw new sn(g);return[n(l[0]),l[1]]}):[],ze(function(l){for(var d=-1;++d<t;){var v=e[d];if(qt(v[0],this,l))return qt(v[1],this,l)}})}function Fg(e){return ch(un(e,_))}function kl(e){return function(){return e}}function Ug(e,t){return e==null||e!==e?t:e}var Kg=Eo(),Wg=Eo(!0);function Ht(e){return e}function Cl(e){return ao(typeof e=="function"?e:un(e,_))}function Hg(e){return lo(un(e,_))}function Yg(e,t){return so(e,un(t,_))}var Gg=ze(function(e,t){return function(n){return Gr(n,e,t)}}),qg=ze(function(e,t){return function(n){return Gr(e,n,t)}});function xl(e,t,n){var l=Nt(t),d=Ta(t,l);n==null&&!(ht(t)&&(d.length||!l.length))&&(n=t,t=e,e=this,d=Ta(t,Nt(t)));var v=!(ht(n)&&"chain"in n)||!!n.chain,w=Fn(e);return ln(d,function($){var O=t[$];e[$]=O,w&&(e.prototype[$]=function(){var ee=this.__chain__;if(v||ee){var te=e(this.__wrapped__),le=te.__actions__=Ut(this.__actions__);return le.push({func:O,args:arguments,thisArg:e}),te.__chain__=ee,te}return O.apply(e,Gn([this.value()],arguments))})}),e}function Zg(){return Et._===this&&(Et._=yf),this}function Sl(){}function Xg(e){return e=Re(e),ze(function(t){return oo(t,e)})}var Jg=nl(ut),Qg=nl(Es),jg=nl($i);function $u(e){return ul(e)?Ni(Tn(e)):Nh(e)}function eb(e){return function(t){return e==null?r:fr(e,t)}}var tb=Ao(),nb=Ao(!0);function Dl(){return[]}function $l(){return!1}function rb(){return{}}function ab(){return""}function ib(){return!0}function lb(e,t){if(e=Re(e),e<1||e>R)return[];var n=J,l=Tt(e,J);t=De(t),e-=J;for(var d=Ai(l,t);++n<e;)t(n);return d}function sb(e){return Ve(e)?ut(e,Tn):Jt(e)?[e]:Ut(Go(je(e)))}function ob(e){var t=++bf;return je(e)+t}var ub=La(function(e,t){return e+t},0),db=rl("ceil"),cb=La(function(e,t){return e/t},1),fb=rl("floor");function hb(e){return e&&e.length?Aa(e,Ht,Ui):r}function pb(e,t){return e&&e.length?Aa(e,De(t,2),Ui):r}function vb(e){return Ts(e,Ht)}function mb(e,t){return Ts(e,De(t,2))}function gb(e){return e&&e.length?Aa(e,Ht,Yi):r}function bb(e,t){return e&&e.length?Aa(e,De(t,2),Yi):r}var _b=La(function(e,t){return e*t},1),yb=rl("round"),wb=La(function(e,t){return e-t},0);function kb(e){return e&&e.length?Mi(e,Ht):0}function Cb(e,t){return e&&e.length?Mi(e,De(t,2)):0}return f.after=Hv,f.ary=au,f.assign=Tm,f.assignIn=bu,f.assignInWith=Ja,f.assignWith=Im,f.at=Pm,f.before=iu,f.bind=vl,f.bindAll=Bg,f.bindKey=lu,f.castArray=rm,f.chain=tu,f.chunk=cp,f.compact=fp,f.concat=hp,f.cond=zg,f.conforms=Fg,f.constant=kl,f.countBy=kv,f.create=Om,f.curry=su,f.curryRight=ou,f.debounce=uu,f.defaults=Vm,f.defaultsDeep=Rm,f.defer=Yv,f.delay=Gv,f.difference=pp,f.differenceBy=vp,f.differenceWith=mp,f.drop=gp,f.dropRight=bp,f.dropRightWhile=_p,f.dropWhile=yp,f.fill=kp,f.filter=xv,f.flatMap=$v,f.flatMapDeep=Nv,f.flatMapDepth=Ev,f.flatten=Jo,f.flattenDeep=Cp,f.flattenDepth=xp,f.flip=qv,f.flow=Kg,f.flowRight=Wg,f.fromPairs=Sp,f.functions=Wm,f.functionsIn=Hm,f.groupBy=Mv,f.initial=$p,f.intersection=Np,f.intersectionBy=Ep,f.intersectionWith=Mp,f.invert=Gm,f.invertBy=qm,f.invokeMap=Tv,f.iteratee=Cl,f.keyBy=Iv,f.keys=Nt,f.keysIn=Wt,f.map=Ha,f.mapKeys=Xm,f.mapValues=Jm,f.matches=Hg,f.matchesProperty=Yg,f.memoize=Ga,f.merge=Qm,f.mergeWith=_u,f.method=Gg,f.methodOf=qg,f.mixin=xl,f.negate=qa,f.nthArg=Xg,f.omit=jm,f.omitBy=eg,f.once=Zv,f.orderBy=Pv,f.over=Jg,f.overArgs=Xv,f.overEvery=Qg,f.overSome=jg,f.partial=ml,f.partialRight=du,f.partition=Ov,f.pick=tg,f.pickBy=yu,f.property=$u,f.propertyOf=eb,f.pull=Pp,f.pullAll=jo,f.pullAllBy=Op,f.pullAllWith=Vp,f.pullAt=Rp,f.range=tb,f.rangeRight=nb,f.rearg=Jv,f.reject=Lv,f.remove=Lp,f.rest=Qv,f.reverse=hl,f.sampleSize=zv,f.set=rg,f.setWith=ag,f.shuffle=Fv,f.slice=Bp,f.sortBy=Wv,f.sortedUniq=Yp,f.sortedUniqBy=Gp,f.split=$g,f.spread=jv,f.tail=qp,f.take=Zp,f.takeRight=Xp,f.takeRightWhile=Jp,f.takeWhile=Qp,f.tap=hv,f.throttle=em,f.thru=Wa,f.toArray=vu,f.toPairs=wu,f.toPairsIn=ku,f.toPath=sb,f.toPlainObject=gu,f.transform=ig,f.unary=tm,f.union=jp,f.unionBy=ev,f.unionWith=tv,f.uniq=nv,f.uniqBy=rv,f.uniqWith=av,f.unset=lg,f.unzip=pl,f.unzipWith=eu,f.update=sg,f.updateWith=og,f.values=Ir,f.valuesIn=ug,f.without=iv,f.words=Su,f.wrap=nm,f.xor=lv,f.xorBy=sv,f.xorWith=ov,f.zip=uv,f.zipObject=dv,f.zipObjectDeep=cv,f.zipWith=fv,f.entries=wu,f.entriesIn=ku,f.extend=bu,f.extendWith=Ja,xl(f,f),f.add=ub,f.attempt=Du,f.camelCase=hg,f.capitalize=Cu,f.ceil=db,f.clamp=dg,f.clone=am,f.cloneDeep=lm,f.cloneDeepWith=sm,f.cloneWith=im,f.conformsTo=om,f.deburr=xu,f.defaultTo=Ug,f.divide=cb,f.endsWith=pg,f.eq=wn,f.escape=vg,f.escapeRegExp=mg,f.every=Cv,f.find=Sv,f.findIndex=Zo,f.findKey=Lm,f.findLast=Dv,f.findLastIndex=Xo,f.findLastKey=Bm,f.floor=fb,f.forEach=nu,f.forEachRight=ru,f.forIn=zm,f.forInRight=Fm,f.forOwn=Um,f.forOwnRight=Km,f.get=_l,f.gt=um,f.gte=dm,f.has=Ym,f.hasIn=yl,f.head=Qo,f.identity=Ht,f.includes=Av,f.indexOf=Dp,f.inRange=cg,f.invoke=Zm,f.isArguments=vr,f.isArray=Ve,f.isArrayBuffer=cm,f.isArrayLike=Kt,f.isArrayLikeObject=gt,f.isBoolean=fm,f.isBuffer=er,f.isDate=hm,f.isElement=pm,f.isEmpty=vm,f.isEqual=mm,f.isEqualWith=gm,f.isError=gl,f.isFinite=bm,f.isFunction=Fn,f.isInteger=cu,f.isLength=Za,f.isMap=fu,f.isMatch=_m,f.isMatchWith=ym,f.isNaN=wm,f.isNative=km,f.isNil=xm,f.isNull=Cm,f.isNumber=hu,f.isObject=ht,f.isObjectLike=vt,f.isPlainObject=jr,f.isRegExp=bl,f.isSafeInteger=Sm,f.isSet=pu,f.isString=Xa,f.isSymbol=Jt,f.isTypedArray=Tr,f.isUndefined=Dm,f.isWeakMap=$m,f.isWeakSet=Nm,f.join=Ap,f.kebabCase=gg,f.last=cn,f.lastIndexOf=Tp,f.lowerCase=bg,f.lowerFirst=_g,f.lt=Em,f.lte=Mm,f.max=hb,f.maxBy=pb,f.mean=vb,f.meanBy=mb,f.min=gb,f.minBy=bb,f.stubArray=Dl,f.stubFalse=$l,f.stubObject=rb,f.stubString=ab,f.stubTrue=ib,f.multiply=_b,f.nth=Ip,f.noConflict=Zg,f.noop=Sl,f.now=Ya,f.pad=yg,f.padEnd=wg,f.padStart=kg,f.parseInt=Cg,f.random=fg,f.reduce=Vv,f.reduceRight=Rv,f.repeat=xg,f.replace=Sg,f.result=ng,f.round=yb,f.runInContext=I,f.sample=Bv,f.size=Uv,f.snakeCase=Dg,f.some=Kv,f.sortedIndex=zp,f.sortedIndexBy=Fp,f.sortedIndexOf=Up,f.sortedLastIndex=Kp,f.sortedLastIndexBy=Wp,f.sortedLastIndexOf=Hp,f.startCase=Ng,f.startsWith=Eg,f.subtract=wb,f.sum=kb,f.sumBy=Cb,f.template=Mg,f.times=lb,f.toFinite=Un,f.toInteger=Re,f.toLength=mu,f.toLower=Ag,f.toNumber=fn,f.toSafeInteger=Am,f.toString=je,f.toUpper=Tg,f.trim=Ig,f.trimEnd=Pg,f.trimStart=Og,f.truncate=Vg,f.unescape=Rg,f.uniqueId=ob,f.upperCase=Lg,f.upperFirst=wl,f.each=nu,f.eachRight=ru,f.first=Qo,xl(f,function(){var e={};return Mn(f,function(t,n){tt.call(f.prototype,n)||(e[n]=t)}),e}(),{chain:!1}),f.VERSION=i,ln(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){f[e].placeholder=f}),ln(["drop","take"],function(e,t){Ue.prototype[e]=function(n){n=n===r?1:xt(Re(n),0);var l=this.__filtered__&&!t?new Ue(this):this.clone();return l.__filtered__?l.__takeCount__=Tt(n,l.__takeCount__):l.__views__.push({size:Tt(n,J),type:e+(l.__dir__<0?"Right":"")}),l},Ue.prototype[e+"Right"]=function(n){return this.reverse()[e](n).reverse()}}),ln(["filter","map","takeWhile"],function(e,t){var n=t+1,l=n==A||n==X;Ue.prototype[e]=function(d){var v=this.clone();return v.__iteratees__.push({iteratee:De(d,3),type:n}),v.__filtered__=v.__filtered__||l,v}}),ln(["head","last"],function(e,t){var n="take"+(t?"Right":"");Ue.prototype[e]=function(){return this[n](1).value()[0]}}),ln(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");Ue.prototype[e]=function(){return this.__filtered__?new Ue(this):this[n](1)}}),Ue.prototype.compact=function(){return this.filter(Ht)},Ue.prototype.find=function(e){return this.filter(e).head()},Ue.prototype.findLast=function(e){return this.reverse().find(e)},Ue.prototype.invokeMap=ze(function(e,t){return typeof e=="function"?new Ue(this):this.map(function(n){return Gr(n,e,t)})}),Ue.prototype.reject=function(e){return this.filter(qa(De(e)))},Ue.prototype.slice=function(e,t){e=Re(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Ue(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==r&&(t=Re(t),n=t<0?n.dropRight(-t):n.take(t-e)),n)},Ue.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Ue.prototype.toArray=function(){return this.take(J)},Mn(Ue.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),l=/^(?:head|last)$/.test(t),d=f[l?"take"+(t=="last"?"Right":""):t],v=l||/^find/.test(t);d&&(f.prototype[t]=function(){var w=this.__wrapped__,$=l?[1]:arguments,O=w instanceof Ue,ee=$[0],te=O||Ve(w),le=function(Fe){var Ke=d.apply(f,Gn([Fe],$));return l&&me?Ke[0]:Ke};te&&n&&typeof ee=="function"&&ee.length!=1&&(O=te=!1);var me=this.__chain__,xe=!!this.__actions__.length,$e=v&&!me,Be=O&&!xe;if(!v&&te){w=Be?w:new Ue(this);var Ne=e.apply(w,$);return Ne.__actions__.push({func:Wa,args:[le],thisArg:r}),new on(Ne,me)}return $e&&Be?e.apply(this,$):(Ne=this.thru(le),$e?l?Ne.value()[0]:Ne.value():Ne)})}),ln(["pop","push","shift","sort","splice","unshift"],function(e){var t=ma[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",l=/^(?:pop|shift)$/.test(e);f.prototype[e]=function(){var d=arguments;if(l&&!this.__chain__){var v=this.value();return t.apply(Ve(v)?v:[],d)}return this[n](function(w){return t.apply(Ve(w)?w:[],d)})}}),Mn(Ue.prototype,function(e,t){var n=f[t];if(n){var l=n.name+"";tt.call($r,l)||($r[l]=[]),$r[l].push({name:t,func:n})}}),$r[Ra(r,F).name]=[{name:"wrapper",func:r}],Ue.prototype.clone=Vf,Ue.prototype.reverse=Rf,Ue.prototype.value=Lf,f.prototype.at=pv,f.prototype.chain=vv,f.prototype.commit=mv,f.prototype.next=gv,f.prototype.plant=_v,f.prototype.reverse=yv,f.prototype.toJSON=f.prototype.valueOf=f.prototype.value=wv,f.prototype.first=f.prototype.head,zr&&(f.prototype[zr]=bv),f},xr=vf();sr?((sr.exports=xr)._=xr,Ci._=xr):Et._=xr}).call(zt)})(di,di.exports);di.exports;const hk=["loading"],pk=["src","alt"],Yu={__name:"media-uploader",props:["modelValue","multiple","label"],emits:["update:modelValue"],setup(o,{emit:s}){const r=o,i=ce([]),u=ce(!1);ar(()=>{const h=r.modelValue;!r.multiple&&h===""||r.multiple&&h.length===0||(u.value=!0,Cn.get("/wp-json/wp/v2/media",{params:{include:h,per_page:100}}).then(m=>{const p=[];for(let y in m.data)p[y]={id:m.data[y].id,url:m.data[y].media_details.sizes.full.source_url,alt:m.data[y].alt_text};i.value=p,u.value=!1}).catch(m=>{u.value=!1}))});const c=()=>{const h=wp.media({title:"Select Product Image",button:{text:"Select Product Image"},multiple:r.multiple});h.on("select",()=>{const m=h.state().get("selection").toJSON();r.multiple?i.value=[...i.value,...m]:i.value=m;let p=[];for(let y in m)p=[...p,m[y].id];r.multiple?(p=[...p,...r.modelValue],s("update:modelValue",p)):(p.length?p=p[0]:p="",s("update:modelValue",p))}),h.open()},g=h=>{const m=i.value,p=m.findIndex(_=>_.id===h);m.splice(p,1),i.value=m;let y=[];for(let _ in m)y=[...y,m[_].id];r.multiple||(y.length?y=y[0]:y=""),s("update:modelValue",y)};return(h,m)=>(T(),j(Le,null,[z("a",{href:"#",class:"fpe-upload-media",onClick:c},_e(r.label),1),z("div",{class:"fpe-preview-images",loading:u.value},[(T(!0),j(Le,null,et(i.value,p=>(T(),j("div",{key:p.id},[z("img",{src:p.url,alt:p.alt},null,8,pk),W(a(Ze),{onClick:y=>g(p.id)},{default:fe(()=>[W(a(Ly))]),_:2},1032,["onClick"])]))),128))],8,hk)],64))}},vk={class:"fpe-field-wrapper"},mk={class:"fpe-field-wrapper"},gk={class:"fpe-field-wrapper"},bk={class:"fpe-field-wrapper"},_k={class:"fpe-field-wrapper fpe-inline-switcher"},yk={class:"fpe-field-wrapper"},wk={class:"fpe-cat-tree-wrapper"},kk={class:"fpe-field-wrapper"},Ck={key:0,class:"fpe-field-wrapper"},xk={key:1,class:"fpe-field-wrapper"},Sk={key:2,class:"fpe-field-wrapper"},Dk={key:3,class:"fpe-field-wrapper"},$k={__name:"general",setup(o){const s=Nn(),{product:r,data_sets:i,strings:u,tags:c}=In(s),g=ce(fpe?.editor_config.pro||!1),h=(p,y)=>{r.value.categories=y.checkedKeys},m=async p=>{s.getTags(p)};return console.log(fpe.editor_config),(p,y)=>(T(),be(a(ir),{title:a(u).section_title_general,name:"general"},{default:fe(()=>[z("div",vk,[z("label",null,_e(a(u).label_product_name),1),W(a(mt),{modelValue:a(r).name,"onUpdate:modelValue":y[0]||(y[0]=_=>a(r).name=_)},null,8,["modelValue"])]),z("div",mk,[z("label",null,_e(a(u).label_description),1),W(Hu,{modelValue:a(r).description,"onUpdate:modelValue":y[1]||(y[1]=_=>a(r).description=_),value:a(r).description,class:"fpe-editor",editor_id:"fpe_description"},null,8,["modelValue","value"])]),z("div",gk,[z("label",null,_e(a(u).label_short_description),1),W(Hu,{modelValue:a(r).short_description,"onUpdate:modelValue":y[2]||(y[2]=_=>a(r).short_description=_),value:a(r).short_description,class:"fpe-editor",editor_id:"fpe_short_description"},null,8,["modelValue","value"])]),z("div",bk,[z("label",null,_e(a(u).label_catalog_visibility),1),W(a(Sn),{modelValue:a(r).catalog_visibility,"onUpdate:modelValue":y[3]||(y[3]=_=>a(r).catalog_visibility=_)},{default:fe(()=>[(T(!0),j(Le,null,et(Object.entries(a(i).catalog_visibility),(_,C)=>(T(),be(a(Dn),{key:_[0],label:_[1],value:_[0]},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),z("div",_k,[z("label",null,_e(a(u).label_is_featured),1),W(a(oi),{modelValue:a(r).featured,"onUpdate:modelValue":y[4]||(y[4]=_=>a(r).featured=_)},null,8,["modelValue"])]),z("div",yk,[z("label",null,_e(a(u).label_category),1),z("div",wk,[W(a(es),{data:a(i).product_categories,"show-checkbox":!0,"node-key":"id","default-checked-keys":a(r).categories,"check-strictly":!0,"default-expand-all":!0,onCheck:h},null,8,["data","default-checked-keys"])])]),z("div",kk,[z("label",null,_e(a(u).label_tags),1),W(a(Sn),{modelValue:a(r).tags,"onUpdate:modelValue":y[5]||(y[5]=_=>a(r).tags=_),multiple:"",filterable:"",remote:"","reserve-keyword":"",placeholder:"Please enter a keyword","remote-method":m},{default:fe(()=>[(T(!0),j(Le,null,et(a(c),_=>(T(),be(a(Dn),{label:_,value:_},null,8,["label","value"]))),256))]),_:1},8,["modelValue"])]),g.value?(T(),j("div",Ck,[z("label",null,_e(a(u).label_upload_image),1),W(Yu,{multiple:!1,modelValue:a(r).image_id,"onUpdate:modelValue":y[6]||(y[6]=_=>a(r).image_id=_),label:"Upload Product Image"},null,8,["modelValue"])])):ke("",!0),g.value?(T(),j("div",xk,[z("label",null,_e(a(u).label_upload_gallery_images),1),W(Yu,{multiple:!0,modelValue:a(r).gallery_image_ids,"onUpdate:modelValue":y[7]||(y[7]=_=>a(r).gallery_image_ids=_),label:"Upload Gallery Images"},null,8,["modelValue"])])):ke("",!0),a(r).type=="external"?(T(),j("div",Sk,[z("label",null,_e(a(u).label_product_url),1),W(a(mt),{modelValue:a(r).product_url,"onUpdate:modelValue":y[8]||(y[8]=_=>a(r).product_url=_)},null,8,["modelValue"])])):ke("",!0),a(r).type=="external"?(T(),j("div",Dk,[z("label",null,_e(a(u).label_button_text),1),W(a(mt),{modelValue:a(r).button_text,"onUpdate:modelValue":y[9]||(y[9]=_=>a(r).button_text=_)},null,8,["modelValue"])])):ke("",!0)]),_:1},8,["title"]))}};const Nk={class:"fpe-field-wrapper"},Ek=["innerHTML"],Mk=["innerHTML"],Ak={class:"fpe-field-wrapper"},Tk=["innerHTML"],Ik=["innerHTML"],Pk={class:"fpe-field-wrapper fpe_sale_schedule"},Ok={key:0,class:"fpe-sale-dates"},Vk={key:1,class:"fpe-field-wrapper"},Rk={key:2,class:"fpe-field-wrapper"},Lk={__name:"price",setup(o){const s=Nn(),{product:r,data_sets:i,tax_enabled:u,strings:c}=In(s),g=ce(!1),h=ce(!1),m=ce(!1),p=ce("");(r.value.date_on_sale_from!=""||r.value.date_on_sale_to!="")&&(g.value=!0),r.date_on_sale_from;const y=D=>{const x=new Date(D),M=new Date(r.value.date_on_sale_from);return!(x>=M)},_=D=>{/^\d*\.?\d*$/.test(D)?h.value=!1:h.value=!0},C=D=>{/^\d*\.?\d*$/.test(D)?D>=parseFloat(r.value.regular_price)?(m.value=!0,p.value=c.value.validation_error_sale_price_higher):(m.value=!1,p.value=""):(m.value=!0,p.value=c.value.validation_error_decimal)},b=D=>{D==!1&&(r.value.date_on_sale_from="",r.value.date_on_sale_to="")};return(D,x)=>{const M=Dn,F=Sn;return a(r).type!="grouped"?(T(),be(a(ir),{key:0,title:a(c).section_title_price,name:"pricing"},{default:fe(()=>[z("div",Nk,[z("label",{innerHTML:a(c).label_regular_price},null,8,Ek),W(a(mt),{class:Y({fpe_error:h.value}),modelValue:a(r).regular_price,"onUpdate:modelValue":x[0]||(x[0]=L=>a(r).regular_price=L),onInput:_},null,8,["class","modelValue"]),h.value?(T(),j("div",{key:0,class:"error",innerHTML:a(c).validation_error_decimal},null,8,Mk)):ke("",!0)]),z("div",Ak,[z("label",{innerHTML:a(c).label_sale_price},null,8,Tk),W(a(mt),{modelValue:a(r).sale_price,"onUpdate:modelValue":x[1]||(x[1]=L=>a(r).sale_price=L),class:Y({fpe_error:m.value}),onInput:C},null,8,["modelValue","class"]),m.value?(T(),j("div",{key:0,class:"error",innerHTML:p.value},null,8,Ik)):ke("",!0)]),z("div",Pk,[z("label",null,_e(a(c).label_schedule_sale),1),W(a($d),{modelValue:g.value,"onUpdate:modelValue":x[2]||(x[2]=L=>g.value=L),onChange:b},null,8,["modelValue"])]),g.value?(T(),j("div",Ok,[g.value?(T(),be(a(Uu),{key:0,class:Y(D.fpe-D.date-D.start),modelValue:a(r).date_on_sale_from,"onUpdate:modelValue":x[3]||(x[3]=L=>a(r).date_on_sale_from=L),placeholder:a(c).placeholder_start_date,"value-format":"YYYY-MM-DD"},null,8,["class","modelValue","placeholder"])):ke("",!0),g.value?(T(),be(a(Uu),{key:1,class:Y(D.fpe-D.date-D.end),modelValue:a(r).date_on_sale_to,"onUpdate:modelValue":x[4]||(x[4]=L=>a(r).date_on_sale_to=L),placeholder:a(c).placeholder_end_date,"disabled-date":y,"value-format":"YYYY-MM-DD"},null,8,["class","modelValue","placeholder"])):ke("",!0)])):ke("",!0),a(u)?(T(),j("div",Vk,[z("label",null,_e(a(c).label_tax_status),1),W(F,{modelValue:a(r).tax_status,"onUpdate:modelValue":x[5]||(x[5]=L=>a(r).tax_status=L)},{default:fe(()=>[(T(!0),j(Le,null,et(Object.entries(a(i).tax_statuses),(L,k)=>(T(),be(M,{key:L[0],label:L[1],value:L[0]},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])])):ke("",!0),a(u)?(T(),j("div",Rk,[z("label",null,_e(a(c).label_tax_class),1),W(F,{modelValue:a(r).tax_class,"onUpdate:modelValue":x[6]||(x[6]=L=>a(r).tax_class=L)},{default:fe(()=>[(T(!0),j(Le,null,et(Object.entries(a(i).tax_classes),(L,k)=>(T(),be(M,{key:L[0],label:L[1],value:L[0]},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])])):ke("",!0)]),_:1},8,["title"])):ke("",!0)}}};const Yl={__name:"info",props:["tooltip_text"],setup(o){const s=o;return(r,i)=>(T(),be(a(nd),{class:"box-item",effect:"dark",content:s.tooltip_text,placement:"top"},{default:fe(()=>[W(a(Ze),null,{default:fe(()=>[W(a(By))]),_:1})]),_:1},8,["content"]))}},Bk={class:"fpe-field-wrapper"},zk={key:0,class:"fpe-only-sku"},Fk={key:0,class:"fpe-field-wrapper fpe-inline-switcher fpe-manage-stocks"},Uk={key:1,class:"fpe-field-wrapper"},Kk={key:2,class:"fpe-field-wrapper"},Wk={key:3,class:"fpe-field-wrapper"},Hk={class:"fpe-field-wrapper"},Yk={key:4,class:"fpe-field-wrapper fpe-inline-switcher"},Gk={__name:"inventory",setup(o){const s=Nn(),{product:r,data_sets:i,manage_stocks:u,strings:c}=In(s);return(g,h)=>(T(),be(a(ir),{title:a(c).section_title_inventory,name:"inventory"},{default:fe(()=>[z("div",Bk,[z("label",null,_e(a(c).label_sku),1),W(a(mt),{modelValue:a(r).sku,"onUpdate:modelValue":h[0]||(h[0]=m=>a(r).sku=m)},null,8,["modelValue"])]),a(r).type=="grouped"||a(r).type=="external"?ke("",!0):(T(),j("div",zk,[a(u)?(T(),j("div",Fk,[z("label",null,[st(_e(a(c).label_manage_stocks)+" ",1),W(Yl,{tooltip_text:a(c).tooltip_manage_stocks},null,8,["tooltip_text"])]),W(a(oi),{modelValue:a(r).manage_stocks,"onUpdate:modelValue":h[1]||(h[1]=m=>a(r).manage_stocks=m)},null,8,["modelValue"])])):ke("",!0),a(r).manage_stocks?(T(),j("div",Uk,[z("label",null,_e(a(c).label_stock_quantity),1),W(a(Ku),{"controls-position":"right",modelValue:a(r).stock_quantity,"onUpdate:modelValue":h[2]||(h[2]=m=>a(r).stock_quantity=m)},null,8,["modelValue"])])):ke("",!0),a(r).manage_stocks?(T(),j("div",Kk,[z("label",null,_e(a(c).label_allow_backorders),1),W(a(Sn),{modelValue:a(r).backorders,"onUpdate:modelValue":h[3]||(h[3]=m=>a(r).backorders=m)},{default:fe(()=>[(T(!0),j(Le,null,et(Object.entries(a(i).backorder_options),(m,p)=>(T(),be(a(Dn),{key:m[0],label:m[1],value:m[0]},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])])):ke("",!0),a(r).manage_stocks?(T(),j("div",Wk,[z("label",null,[st(_e(a(c).label_low_stock_threshold)+" ",1),W(Yl,{tooltip_text:a(i).low_stock_threshold},null,8,["tooltip_text"])]),W(a(Ku),{modelValue:a(r).low_stock_amount,"onUpdate:modelValue":h[4]||(h[4]=m=>a(r).low_stock_amount=m),"controls-position":"right",min:"0"},null,8,["modelValue"])])):ke("",!0),z("div",Hk,[z("label",null,_e(a(c).label_stock_status),1),W(a(Sn),{modelValue:a(r).stock_status,"onUpdate:modelValue":h[5]||(h[5]=m=>a(r).stock_status=m)},{default:fe(()=>[(T(!0),j(Le,null,et(Object.entries(a(i).stock_statuses),(m,p)=>(T(),be(a(Dn),{key:m[0],label:m[1],value:m[0]},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),a(r).type=="simple"?(T(),j("div",Yk,[z("label",null,_e(a(c).label_sold_individually),1),W(a(oi),{modelValue:a(r).sold_individually,"onUpdate:modelValue":h[6]||(h[6]=m=>a(r).sold_individually=m)},null,8,["modelValue"])])):ke("",!0)]))]),_:1},8,["title"]))}},qk={class:"fpe-field-wrapper"},Zk={class:"fpe-field-wrapper fpe-dimensions"},Xk={class:"fpe-dimension-fields"},Jk={class:"fpe-field-wrapper"},Qk={__name:"shipping",setup(o){const s=Nn(),{product:r,data_sets:i,strings:u}=In(s),c=ce(!1);return(r.value.type=="simple"||r.value.type=="variable")&&(r.value.type=="simple"&&r.value.virtual==!0?c.value=!1:c.value=!0),(g,h)=>{const m=Yl;return c.value?(T(),be(a(ir),{key:0,title:a(u).section_title_shipping,name:"shipping"},{default:fe(()=>[z("div",qk,[z("label",null,_e(a(u).label_weight),1),W(a(mt),{modelValue:a(r).weight,"onUpdate:modelValue":h[0]||(h[0]=p=>a(r).weight=p)},null,8,["modelValue"])]),z("div",Zk,[z("label",null,[st(_e(a(u).label_dimensions)+" ",1),W(m,{tooltip_text:a(u).tooltip_dimensions},null,8,["tooltip_text"])]),z("div",Xk,[W(a(mt),{modelValue:a(r).length,"onUpdate:modelValue":h[1]||(h[1]=p=>a(r).length=p)},null,8,["modelValue"]),W(a(mt),{modelValue:a(r).width,"onUpdate:modelValue":h[2]||(h[2]=p=>a(r).width=p)},null,8,["modelValue"]),W(a(mt),{modelValue:a(r).height,"onUpdate:modelValue":h[3]||(h[3]=p=>a(r).height=p)},null,8,["modelValue"])])]),z("div",Jk,[z("label",null,_e(a(u).label_shipping_class),1),W(a(Sn),{modelValue:a(r).shipping_class_id,"onUpdate:modelValue":h[4]||(h[4]=p=>a(r).shipping_class_id=p)},{default:fe(()=>[(T(!0),j(Le,null,et(Object.entries(a(i).shipping_classes),(p,y)=>(T(),be(a(Dn),{key:p[0],label:p[1],value:p[0]},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])])]),_:1},8,["title"])):ke("",!0)}}},jk={class:"fpe-field-wrapper"},eC={key:0,class:"fpe-field-wrapper"},tC={key:1,class:"fpe-field-wrapper"},nC={__name:"linked-products",setup(o){const s=Nn(),{product:r,strings:i,tags:u}=In(s),c=ce(i.value.no_data_text),g=async h=>{if(h.length<3){c.value="Please enter 3 or more characters";return}c.value="No matching products found",s.getProducts(h)};return ar(()=>{r.value.upsell_ids.length>0&&s.getUpsellProductsByIds(r.value.upsell_ids),r.value.cross_sell_ids.length>0&&s.getCrossSellProductsByIds(r.value.cross_sell_ids),r.value.grouped_products.length>0&&s.getGroupedProductsByIds(r.value.grouped_products)}),(h,m)=>(T(),be(a(ir),{title:a(i).section_title_linked_products,name:"linked_products"},{default:fe(()=>[z("div",jk,[z("label",null,_e(a(i).label_upsell_products),1),W(a(Sn),{modelValue:a(r).upsell_ids,"onUpdate:modelValue":m[0]||(m[0]=p=>a(r).upsell_ids=p),multiple:"",filterable:"",remote:"","reserve-keyword":"","no-data-text":c.value,placeholder:"Please enter a keyword","remote-method":g,"value-key":"value"},{default:fe(()=>[(T(!0),j(Le,null,et(a(u),(p,y)=>(T(),be(a(Dn),{label:p.label,value:p},null,8,["label","value"]))),256))]),_:1},8,["modelValue","no-data-text"])]),a(r).type=="simple"?(T(),j("div",eC,[z("label",null,_e(a(i).label_crosssell_products),1),W(a(Sn),{modelValue:a(r).cross_sell_ids,"onUpdate:modelValue":m[1]||(m[1]=p=>a(r).cross_sell_ids=p),multiple:"",filterable:"",remote:"","reserve-keyword":"",placeholder:"Please enter a keyword","remote-method":g,"value-key":"value"},{default:fe(()=>[(T(!0),j(Le,null,et(a(u),(p,y)=>(T(),be(a(Dn),{label:p.label,value:p},null,8,["label","value"]))),256))]),_:1},8,["modelValue"])])):ke("",!0),a(r).type=="grouped"?(T(),j("div",tC,[z("label",null,_e(a(i).label_grouped_products),1),W(a(Sn),{modelValue:a(r).grouped_products,"onUpdate:modelValue":m[2]||(m[2]=p=>a(r).grouped_products=p),multiple:"",filterable:"",remote:"","reserve-keyword":"",placeholder:"Please enter a keyword","remote-method":g,"value-key":"value"},{default:fe(()=>[(T(!0),j(Le,null,et(a(u),(p,y)=>(T(),be(a(Dn),{label:p.label,value:p},null,8,["label","value"]))),256))]),_:1},8,["modelValue"])])):ke("",!0)]),_:1},8,["title"]))}};const rC={class:"fpe-download-file"},aC={__name:"download-file",props:["modelValue","data","node","product"],setup(o){const s=o,r=()=>{const i=wp.media({title:"Select Product File",button:{text:"Select Product File"},multiple:!1});i.on("select",()=>{const u=i.state().get("selection").first().toJSON();s.data.file=u.url,s.data.name=u.title}),i.open()};return(i,u)=>{const c=mt,g=Yt,h=Yt;return T(),j("span",rC,[W(c,{modelValue:s.data.name,"onUpdate:modelValue":u[0]||(u[0]=m=>s.data.name=m)},null,8,["modelValue"]),W(c,{modelValue:s.data.file,"onUpdate:modelValue":u[1]||(u[1]=m=>s.data.file=m)},null,8,["modelValue"]),W(g,{type:"primary",size:"large",onClick:r},{default:fe(()=>[st("Choose File")]),_:1}),W(h,{type:"danger",icon:a(zy),circle:"",onClick:u[2]||(u[2]=m=>i.$emit("ondelete",s.node.id))},null,8,["icon"])])}}},iC={class:"fpe-field-wrapper"},lC={class:"fpe-field-wrapper"},sC={class:"fpe-field-wrapper"},oC={__name:"downloads",setup(o){const s=Nn(),{product:r,data_sets:i,strings:u}=In(s),c=ce(!1);r.value.type=="simple"&&r.value.downloadable==!0&&fpe.editor_config.pro&&(c.value=!0);const g=h=>{const m=r.value.downloads.findIndex(p=>p.$treeNodeId===h);r.value.downloads.splice(m,1)};return(h,m)=>c.value?(T(),be(a(ir),{key:0,title:a(u).section_title_downloads,name:"downloads"},{default:fe(()=>[z("div",iC,[z("label",null,_e(a(u).label_downloadable_files),1),W(a(es),{data:a(r).downloads,"node-key":"hash","default-expand-all":"","expand-on-click-node":!1,draggable:"",class:"fpe-download-files",icon:a(Fy)},{default:fe(({node:p,data:y})=>[W(aC,{modelValue:a(r).downloads,"onUpdate:modelValue":m[0]||(m[0]=_=>a(r).downloads=_),node:p,data:y,product:a(r),onOndelete:g},null,8,["modelValue","node","data","product"])]),_:1},8,["data","icon"]),W(a(Yt),{class:"fpe-add-download-row",type:"plain",icon:a(ud),onClick:m[1]||(m[1]=p=>a(r).downloads.push({}))},{default:fe(()=>[st("Add File")]),_:1},8,["icon"])]),z("div",lC,[z("label",null,_e(a(u).label_download_limit),1),W(a(mt),{type:"number",modelValue:a(r).download_limit,"onUpdate:modelValue":m[2]||(m[2]=p=>a(r).download_limit=p)},null,8,["modelValue"])]),z("div",sC,[z("label",null,_e(a(u).label_download_expiry),1),W(a(mt),{type:"number",modelValue:a(r).download_expiry,"onUpdate:modelValue":m[3]||(m[3]=p=>a(r).download_expiry=p)},null,8,["modelValue"])])]),_:1},8,["title"])):ke("",!0)}};const uC={class:"fpe-attribute-name"},dC={key:0,class:"fpe-attribute-form"},cC={class:"fpe-field-wrapper fpe-field-inline"},fC={key:0},hC={class:"fpe-field-wrapper fpe-field-inline"},pC=z("label",null,"Visible on Product Page",-1),vC={class:"fpe-field-wrapper"},mC=z("label",null,"Value(s)",-1),gC={key:2,class:"fpe-attribute-actions"},bC={__name:"product-attribute",props:["attribute","node"],setup(o){const s=o;Nn();const r=ce([]),i=ce(s.attribute.options.join("|")),u=ce(!1),c=h=>{const{ajax_url:m,security:p}=fpe;Cn.post(`${m}?action=fpe_search_attribute_terms&fpe_nonce=${p}`,{attribute:s.attribute.name,query:h}).then(function(y){r.value=y.data}).catch(function(y){console.error(y)})},g=()=>{const{ajax_url:h,security:m}=fpe;Cn.post(`${h}?action=fpe_get_attribute_terms&fpe_nonce=${m}`,{attribute:s.attribute.name}).then(function(p){s.attribute.options=p.data}).catch(function(p){console.error(p)})};return ar(()=>{if(s.attribute.is_taxonomy&&s.attribute.options.length){const{ajax_url:h,security:m}=fpe;Cn.post(`${h}?action=fpe_get_attribute_terms&fpe_nonce=${m}`,{attribute:s.attribute.name,term_ids:s.attribute.options}).then(function(p){s.attribute.options=p.data}).catch(function(p){console.error(p)})}}),(h,m)=>{const p=Ze,y=mt,_=Dn,C=Sn;return T(),j(Le,null,[z("div",{class:"fpe-attribute-header",onClick:m[0]||(m[0]=b=>u.value=!u.value)},[z("span",uC,_e(o.attribute.label||o.attribute.name),1),W(p,{class:"fpe-attribute-icon"},{default:fe(()=>[u.value?ke("",!0):(T(),be(a(Uy),{key:0})),u.value?(T(),be(a(Ky),{key:1})):ke("",!0)]),_:1})]),u.value?(T(),j("div",dC,[z("div",cC,[z("label",null,[st("Attribute Name"),s.attribute.is_taxonomy?(T(),j("span",fC,": "+_e(s.attribute.label),1)):ke("",!0)]),s.attribute.is_taxonomy?ke("",!0):(T(),be(y,{key:0,modelValue:s.attribute.name,"onUpdate:modelValue":m[1]||(m[1]=b=>s.attribute.name=b)},null,8,["modelValue"]))]),z("div",hC,[pC,W(a(oi),{modelValue:s.attribute.visible,"onUpdate:modelValue":m[2]||(m[2]=b=>s.attribute.visible=b)},null,8,["modelValue"])]),z("div",vC,[mC,s.attribute.is_taxonomy?ke("",!0):(T(),be(y,{key:0,type:"textarea",modelValue:i.value,"onUpdate:modelValue":m[3]||(m[3]=b=>i.value=b),onInput:m[4]||(m[4]=b=>{s.attribute.options=i.value.split("|")})},null,8,["modelValue"])),s.attribute.is_taxonomy?(T(),be(C,{key:1,modelValue:s.attribute.options,"onUpdate:modelValue":m[5]||(m[5]=b=>s.attribute.options=b),multiple:"",filterable:"",remote:"","reserve-keyword":"",placeholder:"Please enter a keyword","remote-method":c},{default:fe(()=>[(T(!0),j(Le,null,et(r.value,(b,D)=>(T(),be(_,{label:b,value:D},null,8,["label","value"]))),256))]),_:1},8,["modelValue"])):ke("",!0),s.attribute.is_taxonomy?(T(),j("div",gC,[W(a(Yt),{type:"text",onClick:g},{default:fe(()=>[st("Select All")]),_:1}),W(a(Yt),{type:"text",onClick:m[6]||(m[6]=b=>s.attribute.options=[])},{default:fe(()=>[st("Select None")]),_:1})])):ke("",!0)]),W(a(Yt),{class:"fpe-remove-attribute",type:"danger",icon:h.Delete,onClick:m[7]||(m[7]=b=>h.$emit("ondelete",s.attribute.name))},{default:fe(()=>[st("Remove")]),_:1},8,["icon"])])):ke("",!0)],64)}}},_C={class:"fpe-product-attributes"},yC={class:"fpe-field-wrapper fpe-field-inline fpe-add-new-attribute"},wC={__name:"attributes",setup(o){const s=Nn(),{strings:r,product:i,data_sets:u}=In(s);ce(null);const c=ce("fpe_custom"),g=()=>{if(c.value!==""){if(c.value==="fpe_custom")i.value.attributes.push({id:0,is_taxonomy:!1,label:"",name:"New Attribute",value:"",visible:!0,variation:!1,options:[],position:0});else{if(i.value.attributes.find(y=>y.name===c.value))return;const p=u.value.attribute_taxonomies.find(y=>y.name_with_prefix===c.value);i.value.attributes.push({label:p.label,name:p.name_with_prefix,value:"",visible:!0,variation:!1,options:[],position:0,is_taxonomy:!0})}c.value="fpe_custom"}},h=p=>{const y=i.value.attributes.findIndex(_=>_.name===p);i.value.attributes.splice(y,1)},m=(p,y,_)=>_!=="inner";return(p,y)=>{const _=Dn;return T(),be(a(ir),{title:a(r).section_title_attributes,name:"attributes"},{default:fe(()=>[z("div",_C,[z("div",yC,[W(a(Sn),{modelValue:c.value,"onUpdate:modelValue":y[0]||(y[0]=C=>c.value=C),onChange:p.new_attribute_change},{default:fe(()=>[W(_,{key:"fpe_custom",value:"fpe_custom",label:"Custom Attribute"}),(T(!0),j(Le,null,et(a(u).attribute_taxonomies,C=>(T(),be(_,{key:C.name,label:C.label,value:C.name_with_prefix,disabled:a(i).attributes.find(b=>b.name===C.name_with_prefix)},null,8,["label","value","disabled"]))),128))]),_:1},8,["modelValue","onChange"]),W(a(Yt),{class:"fpe-add-attribute",size:"large",type:"primary",plain:"",onClick:g},{default:fe(()=>[st("Add Attribute")]),_:1})]),W(a(es),{data:a(i).attributes,"node-key":"hash","default-expand-all":"","expand-on-click-node":!1,draggable:"",class:"fpe-attributes",icon:p.DCaret,"allow-drop":m},{default:fe(({node:C,data:b})=>[W(bC,{attribute:b,node:C,onOndelete:h},null,8,["attribute","node"])]),_:1},8,["data","icon"])])]),_:1},8,["title"])}}},kC=z("div",{class:"fpe-pro-cta"},[z("h3",null,"Upgrade now to unlock all the pro features"),z("div",{class:"fpe-pro-cta-actions"},[z("a",{class:"fpe-pro-upgrade",href:"https://wpvibes.link/go/fpe-pricing/",target:"_blank"},"Upgrade to Pro"),z("a",{href:"https://wpvibes.link/go/fpe-feature-compare/",target:"_blank"},"View Pro Features")])],-1),Tl={__name:"dummy",props:["title","name"],setup(o){return(s,r)=>(T(),be(a(ir),{title:o.title,class:"fpe-dummy-item"},{title:fe(()=>[st(_e(o.title)+" ",1),W(a(Ze),{color:"#F56C6C",class:"fpe-pro-lock"},{default:fe(()=>[W(a(Wy))]),_:1})]),default:fe(()=>[kC]),_:1},8,["title"]))}},CC={__name:"form",setup(o){const s=ce("general"),r=fpe.strings,i=ce(fpe.editor_config.pro||!1);if(fpe.editor_config.tabs_collapsed)s.value="";else{const u=fpe.editor_config.default_tab||"general";s.value=u}return(u,c)=>(T(),be(a(N1),{modelValue:s.value,"onUpdate:modelValue":c[0]||(c[0]=g=>s.value=g),onChange:u.handleChange,accordion:""},{default:fe(()=>[W($k),W(Lk),W(Gk),W(Qk),i.value?(T(),be(nC,{key:0})):(T(),be(Tl,{key:1,title:a(r).section_title_linked_products},null,8,["title"])),i.value?(T(),be(oC,{key:2})):(T(),be(Tl,{key:3,title:a(r).section_title_downloads},null,8,["title"])),i.value?(T(),be(wC,{key:4})):(T(),be(Tl,{key:5,title:a(r).section_title_attributes},null,8,["title"]))]),_:1},8,["modelValue","onChange"]))}};const xC={class:"resizable-content"},SC={class:"fpe-panel-header"},DC={class:"header-title"},$C=z("i",{class:"el-icon el-drawer__close"},[z("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[z("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})])],-1),NC=[$C],EC={class:"panel-body"},MC={class:"panel-footer"},AC=z("div",{class:"fpe-panel-overlay"},null,-1),TC={__name:"drawer",setup(o){const s=Nn(),{openPanel:r,strings:i,panelWidth:u,product:c,isUpdating:g}=In(s),h=ce(["l"]),m=!!document.getElementById("wpadminbar"),p=ce(m?document.getElementById("wpadminbar").offsetHeight:0),y=ce(window.innerHeight-p.value);return window.addEventListener("resize",function(){p.value=m?document.getElementById("wpadminbar").offsetHeight:0,y.value=window.innerHeight-p.value}),ar(()=>{document.querySelectorAll(".fpe-editor").forEach(function(C){const D=C.querySelector("textarea").getAttribute("id");wp.editor.remove(D),wp.editor.initialize(D,{tinymce:{wpautop:!0,plugins:"charmap colorpicker hr lists paste tabfocus textcolor fullscreen wordpress wpautoresize wpeditimage wpemoji wpgallery wplink wptextpattern",toolbar1:"formatselect,bold,italic,bullist,numlist,blockquote,alignleft,aligncenter,alignright,link,wp_more,spellchecker,fullscreen,wp_adv,listbuttons",toolbar2:"styleselect,strikethrough,hr,forecolor,pastetext,removeformat,charmap,outdent,indent,undo,redo,wp_help",textarea_rows:20,init_instance_callback:function(F){F.on("Change",function(L){L.target.id=="fpe_description"&&(c.value.description=F.getContent()),L.target.id=="fpe_short_description"&&(c.value.short_description=F.getContent())})}},quicktags:!0,mediaButtons:!0}),C.querySelector(".insert-media").addEventListener("click",function(F){var L=jQuery(F.currentTarget),k=L.data("editor"),G={frame:"post",state:"insert",title:wp.media.view.l10n.addMedia,multiple:!0};L.hasClass("gallery")&&(G.state="gallery",G.title=wp.media.view.l10n.createGalleryTitle),wp.media.editor.open(k,G)}),C.querySelectorAll(".wp-switch-editor").forEach(function(F){F.addEventListener("click",function(L){L.preventDefault(),window.switchEditors.go(D)})})}),document.body.classList.add("fpe-panel-open")}),(_,C)=>{const b=ok;return T(),j(Le,null,[W(a(ck),{active:h.value,class:"fpe-panel","onResize:end":a(s).updatePanelSize,height:y.value,top:p.value,width:a(u),style:{position:"fixed",left:"unset",right:"0","z-index":"2000",cursor:"unset"}},{default:fe(()=>[z("div",xC,[z("header",SC,[z("span",DC,"Update Product ("+_e(a(c).name)+")",1),z("button",{"aria-label":"Close this dialog",onClick:C[0]||(C[0]=(...D)=>a(s).togglePanel&&a(s).togglePanel(...D)),type:"button"},NC)]),z("div",EC,[W(CC)]),z("div",MC,[W(b)])])]),_:1},8,["active","onResize:end","height","top","width"]),AC],64)}}},IC={__name:"App",setup(o){const s=Nn(),{openPanel:r,strings:i,product:u}=In(s),c=ce(!0);return fpe.editor_config?.show_trigger_button==!1&&(c.value=!1),nt(r,g=>{g||document.body.classList.remove("fpe-panel-open")}),(g,h)=>(T(),be(a(y0),{namespace:"el"},{default:fe(()=>[dt(W(a(Yt),{type:"primary",class:"fpe-panel-trigger",icon:a(Hy),style:{"margin-left":"16px"},onClick:a(s).togglePanel},null,8,["icon","onClick"]),[[hn,c.value]]),a(r)?(T(),be(TC,{key:0})):ke("",!0)]),_:1}))}};const Hd=Gu(IC);Hd.use(Yy());Hd.mount("#fpe-root");
     31}`;var Be=Du(function(){return qe(v,xe+"return "+le).apply(r,w)});if(Be.source=le,gl(Be))throw Be;return Be}function Ag(e){return je(e).toLowerCase()}function Tg(e){return je(e).toUpperCase()}function Ig(e,t,n){if(e=je(e),e&&(n||t===r))return Ps(e);if(!e||!(t=Xt(t)))return e;var l=_n(e),d=_n(t),v=Os(l,d),w=Vs(l,d)+1;return jn(l,v,w).join("")}function Pg(e,t,n){if(e=je(e),e&&(n||t===r))return e.slice(0,Ls(e)+1);if(!e||!(t=Xt(t)))return e;var l=_n(e),d=Vs(l,_n(t))+1;return jn(l,0,d).join("")}function Og(e,t,n){if(e=je(e),e&&(n||t===r))return e.replace(gi,"");if(!e||!(t=Xt(t)))return e;var l=_n(e),d=Os(l,_n(t));return jn(l,d).join("")}function Vg(e,t){var n=ae,l=ge;if(ht(t)){var d="separator"in t?t.separator:d;n="length"in t?Re(t.length):n,l="omission"in t?Xt(t.omission):l}e=je(e);var v=e.length;if(kr(e)){var w=_n(e);v=w.length}if(n>=v)return e;var $=n-Cr(l);if($<1)return l;var O=w?jn(w,0,$).join(""):e.slice(0,$);if(d===r)return O+l;if(w&&($+=O.length-$),bl(d)){if(e.slice($).search(d)){var ee,te=O;for(d.global||(d=Pi(d.source,je(ns.exec(d))+"g")),d.lastIndex=0;ee=d.exec(te);)var le=ee.index;O=O.slice(0,le===r?$:le)}}else if(e.indexOf(Xt(d),$)!=$){var me=O.lastIndexOf(d);me>-1&&(O=O.slice(0,me))}return O+l}function Rg(e){return e=je(e),e&&Yd.test(e)?e.replace(Qe,cf):e}var Lg=Mr(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),wl=$o("toUpperCase");function Su(e,t,n){return e=je(e),t=n?r:t,t===r?lf(e)?pf(e):Xc(e):e.match(t)||[]}var Du=ze(function(e,t){try{return qt(e,r,t)}catch(n){return gl(n)?n:new Oe(n)}}),Bg=Bn(function(e,t){return ln(t,function(n){n=Tn(n),Rn(e,n,vl(e[n],e))}),e});function zg(e){var t=e==null?0:e.length,n=De();return e=t?ut(e,function(l){if(typeof l[1]!="function")throw new sn(g);return[n(l[0]),l[1]]}):[],ze(function(l){for(var d=-1;++d<t;){var v=e[d];if(qt(v[0],this,l))return qt(v[1],this,l)}})}function Fg(e){return ch(un(e,C);Hd.use(Yy());Hd.mount("#fpe-root");
    3232//# sourceMappingURL=front.js.map
  • frontend-product-editor/trunk/build/js/front.js.map

    r2978520 r3040157  
    1 {"version":3,"file":"front.js","sources":["../../node_modules/vue/dist/vue.runtime.esm-bundler.js","../../node_modules/lodash-es/identity.js","../../node_modules/lodash-es/_apply.js","../../node_modules/lodash-es/_shortOut.js","../../node_modules/lodash-es/constant.js","../../node_modules/lodash-es/_baseSetToString.js","../../node_modules/lodash-es/_setToString.js","../../node_modules/lodash-es/_overRest.js","../../node_modules/lodash-es/_isFlattenable.js","../../node_modules/lodash-es/_baseFlatten.js","../../node_modules/lodash-es/flatten.js","../../node_modules/lodash-es/_flatRest.js","../../node_modules/lodash-es/_baseHasIn.js","../../node_modules/lodash-es/_hasPath.js","../../node_modules/lodash-es/hasIn.js","../../node_modules/lodash-es/_basePickBy.js","../../node_modules/lodash-es/_basePick.js","../../node_modules/lodash-es/pick.js","../../node_modules/element-plus/es/constants/date.mjs","../../node_modules/element-plus/es/utils/arrays.mjs","../../node_modules/element-plus/es/utils/rand.mjs","../../node_modules/element-plus/es/components/config-provider/src/config-provider-props.mjs","../../node_modules/element-plus/es/components/config-provider/src/config-provider.mjs","../../node_modules/element-plus/es/components/config-provider/index.mjs","../../node_modules/dayjs/dayjs.min.js","../../node_modules/dayjs/plugin/customParseFormat.js","../../node_modules/element-plus/es/components/time-picker/src/constants.mjs","../../node_modules/element-plus/es/components/time-picker/src/utils.mjs","../../node_modules/element-plus/es/components/time-picker/src/props/shared.mjs","../../node_modules/element-plus/es/components/time-picker/src/common/props.mjs","../../node_modules/element-plus/es/components/time-picker/src/common/picker.mjs","../../node_modules/element-plus/es/components/time-picker/src/props/panel-time-picker.mjs","../../node_modules/element-plus/es/components/time-picker/src/composables/use-time-panel.mjs","../../node_modules/element-plus/es/components/time-picker/src/composables/use-time-picker.mjs","../../node_modules/element-plus/es/directives/repeat-click/index.mjs","../../node_modules/element-plus/es/components/time-picker/src/props/basic-time-spinner.mjs","../../node_modules/element-plus/es/components/time-picker/src/time-picker-com/basic-time-spinner.mjs","../../node_modules/element-plus/es/components/time-picker/src/time-picker-com/panel-time-pick.mjs","../../node_modules/dayjs/plugin/localeData.js","../../node_modules/element-plus/es/components/checkbox/src/checkbox.mjs","../../node_modules/element-plus/es/components/checkbox/src/constants.mjs","../../node_modules/element-plus/es/components/checkbox/src/composables/use-checkbox-disabled.mjs","../../node_modules/element-plus/es/components/checkbox/src/composables/use-checkbox-event.mjs","../../node_modules/element-plus/es/components/checkbox/src/composables/use-checkbox-model.mjs","../../node_modules/element-plus/es/components/checkbox/src/composables/use-checkbox-status.mjs","../../node_modules/element-plus/es/components/checkbox/src/composables/use-checkbox.mjs","../../node_modules/element-plus/es/components/checkbox/src/checkbox2.mjs","../../node_modules/element-plus/es/components/checkbox/src/checkbox-button.mjs","../../node_modules/element-plus/es/components/checkbox/src/checkbox-group.mjs","../../node_modules/element-plus/es/components/checkbox/src/checkbox-group2.mjs","../../node_modules/element-plus/es/components/checkbox/index.mjs","../../node_modules/element-plus/es/components/collapse/src/collapse.mjs","../../node_modules/element-plus/es/components/collapse/src/constants.mjs","../../node_modules/element-plus/es/components/collapse/src/use-collapse.mjs","../../node_modules/element-plus/es/components/collapse/src/collapse2.mjs","../../node_modules/element-plus/es/components/collapse-transition/src/collapse-transition.mjs","../../node_modules/element-plus/es/components/collapse-transition/index.mjs","../../node_modules/element-plus/es/components/collapse/src/collapse-item.mjs","../../node_modules/element-plus/es/components/collapse/src/use-collapse-item.mjs","../../node_modules/element-plus/es/components/collapse/src/collapse-item2.mjs","../../node_modules/element-plus/es/components/collapse/index.mjs","../../node_modules/dayjs/plugin/advancedFormat.js","../../node_modules/dayjs/plugin/weekOfYear.js","../../node_modules/dayjs/plugin/weekYear.js","../../node_modules/dayjs/plugin/dayOfYear.js","../../node_modules/dayjs/plugin/isSameOrAfter.js","../../node_modules/dayjs/plugin/isSameOrBefore.js","../../node_modules/element-plus/es/components/date-picker/src/constants.mjs","../../node_modules/element-plus/es/components/date-picker/src/props/date-picker.mjs","../../node_modules/element-plus/es/components/date-picker/src/props/shared.mjs","../../node_modules/element-plus/es/components/date-picker/src/props/panel-date-pick.mjs","../../node_modules/element-plus/es/components/date-picker/src/props/basic-date-table.mjs","../../node_modules/element-plus/es/components/date-picker/src/utils.mjs","../../node_modules/element-plus/es/components/date-picker/src/props/basic-cell.mjs","../../node_modules/element-plus/es/components/date-picker/src/date-picker-com/basic-cell-render.mjs","../../node_modules/element-plus/es/components/date-picker/src/date-picker-com/basic-date-table.mjs","../../node_modules/element-plus/es/components/date-picker/src/props/basic-month-table.mjs","../../node_modules/element-plus/es/components/date-picker/src/date-picker-com/basic-month-table.mjs","../../node_modules/element-plus/es/components/date-picker/src/props/basic-year-table.mjs","../../node_modules/element-plus/es/components/date-picker/src/date-picker-com/basic-year-table.mjs","../../node_modules/element-plus/es/components/date-picker/src/date-picker-com/panel-date-pick.mjs","../../node_modules/element-plus/es/components/date-picker/src/props/panel-date-range.mjs","../../node_modules/element-plus/es/components/date-picker/src/composables/use-shortcut.mjs","../../node_modules/element-plus/es/components/date-picker/src/composables/use-range-picker.mjs","../../node_modules/element-plus/es/components/date-picker/src/date-picker-com/panel-date-range.mjs","../../node_modules/element-plus/es/components/date-picker/src/props/panel-month-range.mjs","../../node_modules/element-plus/es/components/date-picker/src/composables/use-month-range-header.mjs","../../node_modules/element-plus/es/components/date-picker/src/date-picker-com/panel-month-range.mjs","../../node_modules/element-plus/es/components/date-picker/src/panel-utils.mjs","../../node_modules/element-plus/es/components/date-picker/src/date-picker.mjs","../../node_modules/element-plus/es/components/date-picker/index.mjs","../../node_modules/element-plus/es/components/input-number/src/input-number.mjs","../../node_modules/element-plus/es/components/input-number/src/input-number2.mjs","../../node_modules/element-plus/es/components/input-number/index.mjs","../../node_modules/element-plus/es/components/tree/src/model/util.mjs","../../node_modules/element-plus/es/components/tree/src/model/node.mjs","../../node_modules/element-plus/es/components/tree/src/model/tree-store.mjs","../../node_modules/element-plus/es/components/tree/src/tree-node-content.mjs","../../node_modules/element-plus/es/components/tree/src/model/useNodeExpandEventBroadcast.mjs","../../node_modules/element-plus/es/components/tree/src/model/useDragNode.mjs","../../node_modules/element-plus/es/components/tree/src/tree-node.mjs","../../node_modules/element-plus/es/components/tree/src/model/useKeydown.mjs","../../node_modules/element-plus/es/components/tree/src/tree.mjs","../../node_modules/element-plus/es/components/tree/index.mjs","../../src/stores/fpe.js","../../src/components/panel-footer.vue","../../node_modules/vue-resizable/dist/vue-resizable.umd.min.js","../../src/components/utility/wysiwyg.vue","../../node_modules/lodash/lodash.js","../../src/components/utility/media-uploader.vue","../../src/components/field-groups/general.vue","../../src/components/field-groups/price.vue","../../src/components/utility/info.vue","../../src/components/field-groups/shipping.vue","../../src/components/field-groups/linked-products.vue","../../src/components/utility/download-file.vue","../../src/components/field-groups/downloads.vue","../../src/components/utility/product-attribute.vue","../../src/components/field-groups/attributes.vue","../../src/components/field-groups/dummy.vue","../../src/components/form.vue","../../src/components/utility/drawer.vue","../../src/App.vue","../../src/main.js"],"sourcesContent":["import { initCustomFormatter, warn } from '@vue/runtime-dom';\nexport * from '@vue/runtime-dom';\n\nfunction initDev() {\n    {\n        initCustomFormatter();\n    }\n}\n\n// This entry exports the runtime only, and is built as\nif ((process.env.NODE_ENV !== 'production')) {\n    initDev();\n}\nconst compile = () => {\n    if ((process.env.NODE_ENV !== 'production')) {\n        warn(`Runtime compilation is not supported in this build of Vue.` +\n            (` Configure your bundler to alias \"vue\" to \"vue/dist/vue.esm-bundler.js\".`\n                ) /* should not happen */);\n    }\n};\n\nexport { compile };\n","/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n  return value;\n}\n\nexport default identity;\n","/**\n * A faster alternative to `Function#apply`, this function invokes `func`\n * with the `this` binding of `thisArg` and the arguments of `args`.\n *\n * @private\n * @param {Function} func The function to invoke.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} args The arguments to invoke `func` with.\n * @returns {*} Returns the result of `func`.\n */\nfunction apply(func, thisArg, args) {\n  switch (args.length) {\n    case 0: return func.call(thisArg);\n    case 1: return func.call(thisArg, args[0]);\n    case 2: return func.call(thisArg, args[0], args[1]);\n    case 3: return func.call(thisArg, args[0], args[1], args[2]);\n  }\n  return func.apply(thisArg, args);\n}\n\nexport default apply;\n","/** Used to detect hot functions by number of calls within a span of milliseconds. */\nvar HOT_COUNT = 800,\n    HOT_SPAN = 16;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeNow = Date.now;\n\n/**\n * Creates a function that'll short out and invoke `identity` instead\n * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n * milliseconds.\n *\n * @private\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new shortable function.\n */\nfunction shortOut(func) {\n  var count = 0,\n      lastCalled = 0;\n\n  return function() {\n    var stamp = nativeNow(),\n        remaining = HOT_SPAN - (stamp - lastCalled);\n\n    lastCalled = stamp;\n    if (remaining > 0) {\n      if (++count >= HOT_COUNT) {\n        return arguments[0];\n      }\n    } else {\n      count = 0;\n    }\n    return func.apply(undefined, arguments);\n  };\n}\n\nexport default shortOut;\n","/**\n * Creates a function that returns `value`.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {*} value The value to return from the new function.\n * @returns {Function} Returns the new constant function.\n * @example\n *\n * var objects = _.times(2, _.constant({ 'a': 1 }));\n *\n * console.log(objects);\n * // => [{ 'a': 1 }, { 'a': 1 }]\n *\n * console.log(objects[0] === objects[1]);\n * // => true\n */\nfunction constant(value) {\n  return function() {\n    return value;\n  };\n}\n\nexport default constant;\n","import constant from './constant.js';\nimport defineProperty from './_defineProperty.js';\nimport identity from './identity.js';\n\n/**\n * The base implementation of `setToString` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar baseSetToString = !defineProperty ? identity : function(func, string) {\n  return defineProperty(func, 'toString', {\n    'configurable': true,\n    'enumerable': false,\n    'value': constant(string),\n    'writable': true\n  });\n};\n\nexport default baseSetToString;\n","import baseSetToString from './_baseSetToString.js';\nimport shortOut from './_shortOut.js';\n\n/**\n * Sets the `toString` method of `func` to return `string`.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar setToString = shortOut(baseSetToString);\n\nexport default setToString;\n","import apply from './_apply.js';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * A specialized version of `baseRest` which transforms the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @param {Function} transform The rest array transform.\n * @returns {Function} Returns the new function.\n */\nfunction overRest(func, start, transform) {\n  start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n  return function() {\n    var args = arguments,\n        index = -1,\n        length = nativeMax(args.length - start, 0),\n        array = Array(length);\n\n    while (++index < length) {\n      array[index] = args[start + index];\n    }\n    index = -1;\n    var otherArgs = Array(start + 1);\n    while (++index < start) {\n      otherArgs[index] = args[index];\n    }\n    otherArgs[start] = transform(array);\n    return apply(func, this, otherArgs);\n  };\n}\n\nexport default overRest;\n","import Symbol from './_Symbol.js';\nimport isArguments from './isArguments.js';\nimport isArray from './isArray.js';\n\n/** Built-in value references. */\nvar spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined;\n\n/**\n * Checks if `value` is a flattenable `arguments` object or array.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.\n */\nfunction isFlattenable(value) {\n  return isArray(value) || isArguments(value) ||\n    !!(spreadableSymbol && value && value[spreadableSymbol]);\n}\n\nexport default isFlattenable;\n","import arrayPush from './_arrayPush.js';\nimport isFlattenable from './_isFlattenable.js';\n\n/**\n * The base implementation of `_.flatten` with support for restricting flattening.\n *\n * @private\n * @param {Array} array The array to flatten.\n * @param {number} depth The maximum recursion depth.\n * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.\n * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.\n * @param {Array} [result=[]] The initial result value.\n * @returns {Array} Returns the new flattened array.\n */\nfunction baseFlatten(array, depth, predicate, isStrict, result) {\n  var index = -1,\n      length = array.length;\n\n  predicate || (predicate = isFlattenable);\n  result || (result = []);\n\n  while (++index < length) {\n    var value = array[index];\n    if (depth > 0 && predicate(value)) {\n      if (depth > 1) {\n        // Recursively flatten arrays (susceptible to call stack limits).\n        baseFlatten(value, depth - 1, predicate, isStrict, result);\n      } else {\n        arrayPush(result, value);\n      }\n    } else if (!isStrict) {\n      result[result.length] = value;\n    }\n  }\n  return result;\n}\n\nexport default baseFlatten;\n","import baseFlatten from './_baseFlatten.js';\n\n/**\n * Flattens `array` a single level deep.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flatten([1, [2, [3, [4]], 5]]);\n * // => [1, 2, [3, [4]], 5]\n */\nfunction flatten(array) {\n  var length = array == null ? 0 : array.length;\n  return length ? baseFlatten(array, 1) : [];\n}\n\nexport default flatten;\n","import flatten from './flatten.js';\nimport overRest from './_overRest.js';\nimport setToString from './_setToString.js';\n\n/**\n * A specialized version of `baseRest` which flattens the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\nfunction flatRest(func) {\n  return setToString(overRest(func, undefined, flatten), func + '');\n}\n\nexport default flatRest;\n","/**\n * The base implementation of `_.hasIn` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\nfunction baseHasIn(object, key) {\n  return object != null && key in Object(object);\n}\n\nexport default baseHasIn;\n","import castPath from './_castPath.js';\nimport isArguments from './isArguments.js';\nimport isArray from './isArray.js';\nimport isIndex from './_isIndex.js';\nimport isLength from './isLength.js';\nimport toKey from './_toKey.js';\n\n/**\n * Checks if `path` exists on `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @param {Function} hasFunc The function to check properties.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n */\nfunction hasPath(object, path, hasFunc) {\n  path = castPath(path, object);\n\n  var index = -1,\n      length = path.length,\n      result = false;\n\n  while (++index < length) {\n    var key = toKey(path[index]);\n    if (!(result = object != null && hasFunc(object, key))) {\n      break;\n    }\n    object = object[key];\n  }\n  if (result || ++index != length) {\n    return result;\n  }\n  length = object == null ? 0 : object.length;\n  return !!length && isLength(length) && isIndex(key, length) &&\n    (isArray(object) || isArguments(object));\n}\n\nexport default hasPath;\n","import baseHasIn from './_baseHasIn.js';\nimport hasPath from './_hasPath.js';\n\n/**\n * Checks if `path` is a direct or inherited property of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.hasIn(object, 'a');\n * // => true\n *\n * _.hasIn(object, 'a.b');\n * // => true\n *\n * _.hasIn(object, ['a', 'b']);\n * // => true\n *\n * _.hasIn(object, 'b');\n * // => false\n */\nfunction hasIn(object, path) {\n  return object != null && hasPath(object, path, baseHasIn);\n}\n\nexport default hasIn;\n","import baseGet from './_baseGet.js';\nimport baseSet from './_baseSet.js';\nimport castPath from './_castPath.js';\n\n/**\n * The base implementation of  `_.pickBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @param {Function} predicate The function invoked per property.\n * @returns {Object} Returns the new object.\n */\nfunction basePickBy(object, paths, predicate) {\n  var index = -1,\n      length = paths.length,\n      result = {};\n\n  while (++index < length) {\n    var path = paths[index],\n        value = baseGet(object, path);\n\n    if (predicate(value, path)) {\n      baseSet(result, castPath(path, object), value);\n    }\n  }\n  return result;\n}\n\nexport default basePickBy;\n","import basePickBy from './_basePickBy.js';\nimport hasIn from './hasIn.js';\n\n/**\n * The base implementation of `_.pick` without support for individual\n * property identifiers.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @returns {Object} Returns the new object.\n */\nfunction basePick(object, paths) {\n  return basePickBy(object, paths, function(value, path) {\n    return hasIn(object, path);\n  });\n}\n\nexport default basePick;\n","import basePick from './_basePick.js';\nimport flatRest from './_flatRest.js';\n\n/**\n * Creates an object composed of the picked `object` properties.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.pick(object, ['a', 'c']);\n * // => { 'a': 1, 'c': 3 }\n */\nvar pick = flatRest(function(object, paths) {\n  return object == null ? {} : basePick(object, paths);\n});\n\nexport default pick;\n","const datePickTypes = [\n  \"year\",\n  \"month\",\n  \"date\",\n  \"dates\",\n  \"week\",\n  \"datetime\",\n  \"datetimerange\",\n  \"daterange\",\n  \"monthrange\"\n];\nconst WEEK_DAYS = [\n  \"sun\",\n  \"mon\",\n  \"tue\",\n  \"wed\",\n  \"thu\",\n  \"fri\",\n  \"sat\"\n];\n\nexport { WEEK_DAYS, datePickTypes };\n//# sourceMappingURL=date.mjs.map\n","export { castArray as ensureArray } from 'lodash-unified';\n\nconst unique = (arr) => [...new Set(arr)];\nconst castArray = (arr) => {\n  if (!arr && arr !== 0)\n    return [];\n  return Array.isArray(arr) ? arr : [arr];\n};\n\nexport { castArray, unique };\n//# sourceMappingURL=arrays.mjs.map\n","const generateId = () => Math.floor(Math.random() * 1e4);\nconst getRandomInt = (max) => Math.floor(Math.random() * Math.floor(max));\n\nexport { generateId, getRandomInt };\n//# sourceMappingURL=rand.mjs.map\n","import '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { useSizeProp } from '../../../hooks/use-size/index.mjs';\n\nconst configProviderProps = buildProps({\n  a11y: {\n    type: Boolean,\n    default: true\n  },\n  locale: {\n    type: definePropType(Object)\n  },\n  size: useSizeProp,\n  button: {\n    type: definePropType(Object)\n  },\n  experimentalFeatures: {\n    type: definePropType(Object)\n  },\n  keyboardNavigation: {\n    type: Boolean,\n    default: true\n  },\n  message: {\n    type: definePropType(Object)\n  },\n  zIndex: Number,\n  namespace: {\n    type: String,\n    default: \"el\"\n  }\n});\n\nexport { configProviderProps };\n//# sourceMappingURL=config-provider-props.mjs.map\n","import { defineComponent, watch, renderSlot } from 'vue';\nimport { provideGlobalConfig } from './hooks/use-global-config.mjs';\nimport { configProviderProps } from './config-provider-props.mjs';\n\nconst messageConfig = {};\nconst ConfigProvider = defineComponent({\n  name: \"ElConfigProvider\",\n  props: configProviderProps,\n  setup(props, { slots }) {\n    watch(() => props.message, (val) => {\n      Object.assign(messageConfig, val != null ? val : {});\n    }, { immediate: true, deep: true });\n    const config = provideGlobalConfig(props);\n    return () => renderSlot(slots, \"default\", { config: config == null ? void 0 : config.value });\n  }\n});\n\nexport { ConfigProvider as default, messageConfig };\n//# sourceMappingURL=config-provider.mjs.map\n","import '../../utils/index.mjs';\nimport ConfigProvider from './src/config-provider.mjs';\nexport { messageConfig } from './src/config-provider.mjs';\nexport { configProviderProps } from './src/config-provider-props.mjs';\nexport { configProviderContextKey } from './src/constants.mjs';\nexport { provideGlobalConfig, useGlobalComponentSettings, useGlobalConfig } from './src/hooks/use-global-config.mjs';\nimport { withInstall } from '../../utils/vue/install.mjs';\n\nconst ElConfigProvider = withInstall(ConfigProvider);\n\nexport { ElConfigProvider, ElConfigProvider as default };\n//# sourceMappingURL=index.mjs.map\n","!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=e():\"function\"==typeof define&&define.amd?define(e):(t=\"undefined\"!=typeof globalThis?globalThis:t||self).dayjs=e()}(this,(function(){\"use strict\";var t=1e3,e=6e4,n=36e5,r=\"millisecond\",i=\"second\",s=\"minute\",u=\"hour\",a=\"day\",o=\"week\",f=\"month\",h=\"quarter\",c=\"year\",d=\"date\",l=\"Invalid Date\",$=/^(\\d{4})[-/]?(\\d{1,2})?[-/]?(\\d{0,2})[Tt\\s]*(\\d{1,2})?:?(\\d{1,2})?:?(\\d{1,2})?[.:]?(\\d+)?$/,y=/\\[([^\\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:\"en\",weekdays:\"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday\".split(\"_\"),months:\"January_February_March_April_May_June_July_August_September_October_November_December\".split(\"_\"),ordinal:function(t){var e=[\"th\",\"st\",\"nd\",\"rd\"],n=t%100;return\"[\"+t+(e[(n-20)%10]||e[n]||e[0])+\"]\"}},m=function(t,e,n){var r=String(t);return!r||r.length>=e?t:\"\"+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?\"+\":\"-\")+m(r,2,\"0\")+\":\"+m(i,2,\"0\")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,f),s=n-i<0,u=e.clone().add(r+(s?-1:1),f);return+(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:f,y:c,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:h}[t]||String(t||\"\").toLowerCase().replace(/s$/,\"\")},u:function(t){return void 0===t}},g=\"en\",D={};D[g]=M;var p=function(t){return t instanceof _},S=function t(e,n,r){var i;if(!e)return g;if(\"string\"==typeof e){var s=e.toLowerCase();D[s]&&(i=s),n&&(D[s]=n,i=s);var u=e.split(\"-\");if(!i&&u.length>1)return t(u[0])}else{var a=e.name;D[a]=e,i=a}return!r&&i&&(g=i),i||!r&&g},w=function(t,e){if(p(t))return t.clone();var n=\"object\"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},O=v;O.l=S,O.i=p,O.w=function(t,e){return w(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=S(t.locale,null,!0),this.parse(t)}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(O.u(e))return new Date;if(e instanceof Date)return new Date(e);if(\"string\"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||\"0\").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return O},m.isValid=function(){return!(this.$d.toString()===l)},m.isSame=function(t,e){var n=w(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return w(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<w(t)},m.$g=function(t,e,n){return O.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!O.u(e)||e,h=O.p(t),l=function(t,e){var i=O.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},$=function(t,e){return O.w(n.toDate()[t].apply(n.toDate(\"s\"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,v=\"set\"+(this.$u?\"UTC\":\"\");switch(h){case c:return r?l(1,0):l(31,11);case f:return r?l(1,M):l(0,M+1);case o:var g=this.$locale().weekStart||0,D=(y<g?y+7:y)-g;return l(r?m-D:m+(6-D),M);case a:case d:return $(v+\"Hours\",0);case u:return $(v+\"Minutes\",1);case s:return $(v+\"Seconds\",2);case i:return $(v+\"Milliseconds\",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var n,o=O.p(t),h=\"set\"+(this.$u?\"UTC\":\"\"),l=(n={},n[a]=h+\"Date\",n[d]=h+\"Date\",n[f]=h+\"Month\",n[c]=h+\"FullYear\",n[u]=h+\"Hours\",n[s]=h+\"Minutes\",n[i]=h+\"Seconds\",n[r]=h+\"Milliseconds\",n)[o],$=o===a?this.$D+(e-this.$W):e;if(o===f||o===c){var y=this.clone().set(d,1);y.$d[l]($),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d}else l&&this.$d[l]($);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[O.p(t)]()},m.add=function(r,h){var d,l=this;r=Number(r);var $=O.p(h),y=function(t){var e=w(l);return O.w(e.date(e.date()+Math.round(t*r)),l)};if($===f)return this.set(f,this.$M+r);if($===c)return this.set(c,this.$y+r);if($===a)return y(1);if($===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[$]||1,m=this.$d.getTime()+r*M;return O.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||l;var r=t||\"YYYY-MM-DDTHH:mm:ssZ\",i=O.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,f=n.months,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].slice(0,s)},c=function(t){return O.s(s%12||12,t,\"0\")},d=n.meridiem||function(t,e,n){var r=t<12?\"AM\":\"PM\";return n?r.toLowerCase():r},$={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:O.s(a+1,2,\"0\"),MMM:h(n.monthsShort,a,f,3),MMMM:h(f,a),D:this.$D,DD:O.s(this.$D,2,\"0\"),d:String(this.$W),dd:h(n.weekdaysMin,this.$W,o,2),ddd:h(n.weekdaysShort,this.$W,o,3),dddd:o[this.$W],H:String(s),HH:O.s(s,2,\"0\"),h:c(1),hh:c(2),a:d(s,u,!0),A:d(s,u,!1),m:String(u),mm:O.s(u,2,\"0\"),s:String(this.$s),ss:O.s(this.$s,2,\"0\"),SSS:O.s(this.$ms,3,\"0\"),Z:i};return r.replace(y,(function(t,e){return e||$[t]||i.replace(\":\",\"\")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,l){var $,y=O.p(d),M=w(r),m=(M.utcOffset()-this.utcOffset())*e,v=this-M,g=O.m(this,M);return g=($={},$[c]=g/12,$[f]=g,$[h]=g/3,$[o]=(v-m)/6048e5,$[a]=(v-m)/864e5,$[u]=v/n,$[s]=v/e,$[i]=v/t,$)[y]||v,l?g:O.a(g)},m.daysInMonth=function(){return this.endOf(f).$D},m.$locale=function(){return D[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=S(t,e,!0);return r&&(n.$L=r),n},m.clone=function(){return O.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),T=_.prototype;return w.prototype=T,[[\"$ms\",r],[\"$s\",i],[\"$m\",s],[\"$H\",u],[\"$W\",a],[\"$M\",f],[\"$y\",c],[\"$D\",d]].forEach((function(t){T[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),w.extend=function(t,e){return t.$i||(t(e,_,w),t.$i=!0),w},w.locale=S,w.isDayjs=p,w.unix=function(t){return w(1e3*t)},w.en=D[g],w.Ls=D,w.p={},w}));","!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define(t):(e=\"undefined\"!=typeof globalThis?globalThis:e||self).dayjs_plugin_customParseFormat=t()}(this,(function(){\"use strict\";var e={LTS:\"h:mm:ss A\",LT:\"h:mm A\",L:\"MM/DD/YYYY\",LL:\"MMMM D, YYYY\",LLL:\"MMMM D, YYYY h:mm A\",LLLL:\"dddd, MMMM D, YYYY h:mm A\"},t=/(\\[[^[]*\\])|([-_:/.,()\\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\\d\\d/,r=/\\d\\d?/,i=/\\d*[^-_:/,()\\s\\d]+/,o={},s=function(e){return(e=+e)+(e>68?1900:2e3)};var a=function(e){return function(t){this[e]=+t}},f=[/[+-]\\d\\d:?(\\d\\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if(\"Z\"===e)return 0;var t=e.match(/([+-]|\\d\\d)/g),n=60*t[1]+(+t[2]||0);return 0===n?0:\"+\"===t[0]?-n:n}(e)}],h=function(e){var t=o[e];return t&&(t.indexOf?t:t.s.concat(t.f))},u=function(e,t){var n,r=o.meridiem;if(r){for(var i=1;i<=24;i+=1)if(e.indexOf(r(i,0,t))>-1){n=i>12;break}}else n=e===(t?\"pm\":\"PM\");return n},d={A:[i,function(e){this.afternoon=u(e,!1)}],a:[i,function(e){this.afternoon=u(e,!0)}],S:[/\\d/,function(e){this.milliseconds=100*+e}],SS:[n,function(e){this.milliseconds=10*+e}],SSS:[/\\d{3}/,function(e){this.milliseconds=+e}],s:[r,a(\"seconds\")],ss:[r,a(\"seconds\")],m:[r,a(\"minutes\")],mm:[r,a(\"minutes\")],H:[r,a(\"hours\")],h:[r,a(\"hours\")],HH:[r,a(\"hours\")],hh:[r,a(\"hours\")],D:[r,a(\"day\")],DD:[n,a(\"day\")],Do:[i,function(e){var t=o.ordinal,n=e.match(/\\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\\[|\\]/g,\"\")===e&&(this.day=r)}],M:[r,a(\"month\")],MM:[n,a(\"month\")],MMM:[i,function(e){var t=h(\"months\"),n=(h(\"monthsShort\")||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[i,function(e){var t=h(\"months\").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\\d+/,a(\"year\")],YY:[n,function(e){this.year=s(e)}],YYYY:[/\\d{4}/,a(\"year\")],Z:f,ZZ:f};function c(n){var r,i;r=n,i=o&&o.formats;for(var s=(n=r.replace(/(\\[[^\\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var o=r&&r.toUpperCase();return n||i[r]||e[r]||i[o].replace(/(\\[[^\\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),a=s.length,f=0;f<a;f+=1){var h=s[f],u=d[h],c=u&&u[0],l=u&&u[1];s[f]=l?{regex:c,parser:l}:h.replace(/^\\[|\\]$/g,\"\")}return function(e){for(var t={},n=0,r=0;n<a;n+=1){var i=s[n];if(\"string\"==typeof i)r+=i.length;else{var o=i.regex,f=i.parser,h=e.slice(r),u=o.exec(h)[0];f.call(t,u),e=e.replace(u,\"\")}}return function(e){var t=e.afternoon;if(void 0!==t){var n=e.hours;t?n<12&&(e.hours+=12):12===n&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,n){n.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(s=e.parseTwoDigitYear);var r=t.prototype,i=r.parse;r.parse=function(e){var t=e.date,r=e.utc,s=e.args;this.$u=r;var a=s[1];if(\"string\"==typeof a){var f=!0===s[2],h=!0===s[3],u=f||h,d=s[2];h&&(d=s[2]),o=this.$locale(),!f&&d&&(o=n.Ls[d]),this.$d=function(e,t,n){try{if([\"x\",\"X\"].indexOf(t)>-1)return new Date((\"X\"===t?1e3:1)*e);var r=c(t)(e),i=r.year,o=r.month,s=r.day,a=r.hours,f=r.minutes,h=r.seconds,u=r.milliseconds,d=r.zone,l=new Date,m=s||(i||o?1:l.getDate()),M=i||l.getFullYear(),Y=0;i&&!o||(Y=o>0?o-1:l.getMonth());var p=a||0,v=f||0,D=h||0,g=u||0;return d?new Date(Date.UTC(M,Y,m,p,v,D,g+60*d.offset*1e3)):n?new Date(Date.UTC(M,Y,m,p,v,D,g)):new Date(M,Y,m,p,v,D,g)}catch(e){return new Date(\"\")}}(t,a,r),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(a)&&(this.$d=new Date(\"\")),o={}}else if(a instanceof Array)for(var l=a.length,m=1;m<=l;m+=1){s[1]=a[m-1];var M=n.apply(this,s);if(M.isValid()){this.$d=M.$d,this.$L=M.$L,this.init();break}m===l&&(this.$d=new Date(\"\"))}else i.call(this,e)}}}));","const timeUnits = [\"hours\", \"minutes\", \"seconds\"];\nconst DEFAULT_FORMATS_TIME = \"HH:mm:ss\";\nconst DEFAULT_FORMATS_DATE = \"YYYY-MM-DD\";\nconst DEFAULT_FORMATS_DATEPICKER = {\n  date: DEFAULT_FORMATS_DATE,\n  dates: DEFAULT_FORMATS_DATE,\n  week: \"gggg[w]ww\",\n  year: \"YYYY\",\n  month: \"YYYY-MM\",\n  datetime: `${DEFAULT_FORMATS_DATE} ${DEFAULT_FORMATS_TIME}`,\n  monthrange: \"YYYY-MM\",\n  daterange: DEFAULT_FORMATS_DATE,\n  datetimerange: `${DEFAULT_FORMATS_DATE} ${DEFAULT_FORMATS_TIME}`\n};\n\nexport { DEFAULT_FORMATS_DATE, DEFAULT_FORMATS_DATEPICKER, DEFAULT_FORMATS_TIME, timeUnits };\n//# sourceMappingURL=constants.mjs.map\n","import dayjs from 'dayjs';\nimport '../../../utils/index.mjs';\nimport { isDate, isArray } from '@vue/shared';\nimport { isEmpty } from '../../../utils/types.mjs';\n\nconst buildTimeList = (value, bound) => {\n  return [\n    value > 0 ? value - 1 : void 0,\n    value,\n    value < bound ? value + 1 : void 0\n  ];\n};\nconst rangeArr = (n) => Array.from(Array.from({ length: n }).keys());\nconst extractDateFormat = (format) => {\n  return format.replace(/\\W?m{1,2}|\\W?ZZ/g, \"\").replace(/\\W?h{1,2}|\\W?s{1,3}|\\W?a/gi, \"\").trim();\n};\nconst extractTimeFormat = (format) => {\n  return format.replace(/\\W?D{1,2}|\\W?Do|\\W?d{1,4}|\\W?M{1,4}|\\W?Y{2,4}/g, \"\").trim();\n};\nconst dateEquals = function(a, b) {\n  const aIsDate = isDate(a);\n  const bIsDate = isDate(b);\n  if (aIsDate && bIsDate) {\n    return a.getTime() === b.getTime();\n  }\n  if (!aIsDate && !bIsDate) {\n    return a === b;\n  }\n  return false;\n};\nconst valueEquals = function(a, b) {\n  const aIsArray = isArray(a);\n  const bIsArray = isArray(b);\n  if (aIsArray && bIsArray) {\n    if (a.length !== b.length) {\n      return false;\n    }\n    return a.every((item, index) => dateEquals(item, b[index]));\n  }\n  if (!aIsArray && !bIsArray) {\n    return dateEquals(a, b);\n  }\n  return false;\n};\nconst parseDate = function(date, format, lang) {\n  const day = isEmpty(format) || format === \"x\" ? dayjs(date).locale(lang) : dayjs(date, format).locale(lang);\n  return day.isValid() ? day : void 0;\n};\nconst formatter = function(date, format, lang) {\n  if (isEmpty(format))\n    return date;\n  if (format === \"x\")\n    return +date;\n  return dayjs(date).locale(lang).format(format);\n};\nconst makeList = (total, method) => {\n  var _a;\n  const arr = [];\n  const disabledArr = method == null ? void 0 : method();\n  for (let i = 0; i < total; i++) {\n    arr.push((_a = disabledArr == null ? void 0 : disabledArr.includes(i)) != null ? _a : false);\n  }\n  return arr;\n};\n\nexport { buildTimeList, dateEquals, extractDateFormat, extractTimeFormat, formatter, makeList, parseDate, rangeArr, valueEquals };\n//# sourceMappingURL=utils.mjs.map\n","import '../../../../utils/index.mjs';\nimport { buildProps, definePropType } from '../../../../utils/vue/props/runtime.mjs';\n\nconst disabledTimeListsProps = buildProps({\n  disabledHours: {\n    type: definePropType(Function)\n  },\n  disabledMinutes: {\n    type: definePropType(Function)\n  },\n  disabledSeconds: {\n    type: definePropType(Function)\n  }\n});\nconst timePanelSharedProps = buildProps({\n  visible: Boolean,\n  actualVisible: {\n    type: Boolean,\n    default: void 0\n  },\n  format: {\n    type: String,\n    default: \"\"\n  }\n});\n\nexport { disabledTimeListsProps, timePanelSharedProps };\n//# sourceMappingURL=shared.mjs.map\n","import '../../../../utils/index.mjs';\nimport '../../../../hooks/index.mjs';\nimport { CircleClose } from '@element-plus/icons-vue';\nimport { disabledTimeListsProps } from '../props/shared.mjs';\nimport { buildProps, definePropType } from '../../../../utils/vue/props/runtime.mjs';\nimport { useSizeProp } from '../../../../hooks/use-size/index.mjs';\n\nconst timePickerDefaultProps = buildProps({\n  id: {\n    type: definePropType([Array, String])\n  },\n  name: {\n    type: definePropType([Array, String]),\n    default: \"\"\n  },\n  popperClass: {\n    type: String,\n    default: \"\"\n  },\n  format: String,\n  valueFormat: String,\n  type: {\n    type: String,\n    default: \"\"\n  },\n  clearable: {\n    type: Boolean,\n    default: true\n  },\n  clearIcon: {\n    type: definePropType([String, Object]),\n    default: CircleClose\n  },\n  editable: {\n    type: Boolean,\n    default: true\n  },\n  prefixIcon: {\n    type: definePropType([String, Object]),\n    default: \"\"\n  },\n  size: useSizeProp,\n  readonly: {\n    type: Boolean,\n    default: false\n  },\n  disabled: {\n    type: Boolean,\n    default: false\n  },\n  placeholder: {\n    type: String,\n    default: \"\"\n  },\n  popperOptions: {\n    type: definePropType(Object),\n    default: () => ({})\n  },\n  modelValue: {\n    type: definePropType([Date, Array, String, Number]),\n    default: \"\"\n  },\n  rangeSeparator: {\n    type: String,\n    default: \"-\"\n  },\n  startPlaceholder: String,\n  endPlaceholder: String,\n  defaultValue: {\n    type: definePropType([Date, Array])\n  },\n  defaultTime: {\n    type: definePropType([Date, Array])\n  },\n  isRange: {\n    type: Boolean,\n    default: false\n  },\n  ...disabledTimeListsProps,\n  disabledDate: {\n    type: Function\n  },\n  cellClassName: {\n    type: Function\n  },\n  shortcuts: {\n    type: Array,\n    default: () => []\n  },\n  arrowControl: {\n    type: Boolean,\n    default: false\n  },\n  label: {\n    type: String,\n    default: void 0\n  },\n  tabindex: {\n    type: definePropType([String, Number]),\n    default: 0\n  },\n  validateEvent: {\n    type: Boolean,\n    default: true\n  },\n  unlinkPanels: Boolean\n});\n\nexport { timePickerDefaultProps };\n//# sourceMappingURL=props.mjs.map\n","import { defineComponent, inject, ref, watch, nextTick, computed, unref, provide, openBlock, createBlock, mergeProps, withCtx, normalizeClass, normalizeStyle, withModifiers, resolveDynamicComponent, createCommentVNode, createElementBlock, createElementVNode, renderSlot, toDisplayString } from 'vue';\nimport { isEqual } from 'lodash-unified';\nimport { onClickOutside } from '@vueuse/core';\nimport '../../../../hooks/index.mjs';\nimport '../../../form/index.mjs';\nimport { ElInput } from '../../../input/index.mjs';\nimport { ElIcon } from '../../../icon/index.mjs';\nimport { ElTooltip } from '../../../tooltip/index.mjs';\nimport '../../../../utils/index.mjs';\nimport '../../../../constants/index.mjs';\nimport { Clock, Calendar } from '@element-plus/icons-vue';\nimport { valueEquals, formatter, parseDate } from '../utils.mjs';\nimport { timePickerDefaultProps } from './props.mjs';\nimport _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useLocale } from '../../../../hooks/use-locale/index.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\nimport { useFormItem } from '../../../form/src/hooks/use-form-item.mjs';\nimport { debugWarn } from '../../../../utils/error.mjs';\nimport { isArray } from '@vue/shared';\nimport { EVENT_CODE } from '../../../../constants/aria.mjs';\nimport { useFormSize } from '../../../form/src/hooks/use-form-common-props.mjs';\n\nconst _hoisted_1 = [\"id\", \"name\", \"placeholder\", \"value\", \"disabled\", \"readonly\"];\nconst _hoisted_2 = [\"id\", \"name\", \"placeholder\", \"value\", \"disabled\", \"readonly\"];\nconst __default__ = defineComponent({\n  name: \"Picker\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  ...__default__,\n  props: timePickerDefaultProps,\n  emits: [\n    \"update:modelValue\",\n    \"change\",\n    \"focus\",\n    \"blur\",\n    \"calendar-change\",\n    \"panel-change\",\n    \"visible-change\",\n    \"keydown\"\n  ],\n  setup(__props, { expose, emit }) {\n    const props = __props;\n    const { lang } = useLocale();\n    const nsDate = useNamespace(\"date\");\n    const nsInput = useNamespace(\"input\");\n    const nsRange = useNamespace(\"range\");\n    const { form, formItem } = useFormItem();\n    const elPopperOptions = inject(\"ElPopperOptions\", {});\n    const refPopper = ref();\n    const inputRef = ref();\n    const pickerVisible = ref(false);\n    const pickerActualVisible = ref(false);\n    const valueOnOpen = ref(null);\n    let hasJustTabExitedInput = false;\n    let ignoreFocusEvent = false;\n    watch(pickerVisible, (val) => {\n      if (!val) {\n        userInput.value = null;\n        nextTick(() => {\n          emitChange(props.modelValue);\n        });\n      } else {\n        nextTick(() => {\n          if (val) {\n            valueOnOpen.value = props.modelValue;\n          }\n        });\n      }\n    });\n    const emitChange = (val, isClear) => {\n      if (isClear || !valueEquals(val, valueOnOpen.value)) {\n        emit(\"change\", val);\n        props.validateEvent && (formItem == null ? void 0 : formItem.validate(\"change\").catch((err) => debugWarn(err)));\n      }\n    };\n    const emitInput = (input) => {\n      if (!valueEquals(props.modelValue, input)) {\n        let formatted;\n        if (isArray(input)) {\n          formatted = input.map((item) => formatter(item, props.valueFormat, lang.value));\n        } else if (input) {\n          formatted = formatter(input, props.valueFormat, lang.value);\n        }\n        emit(\"update:modelValue\", input ? formatted : input, lang.value);\n      }\n    };\n    const emitKeydown = (e) => {\n      emit(\"keydown\", e);\n    };\n    const refInput = computed(() => {\n      if (inputRef.value) {\n        const _r = isRangeInput.value ? inputRef.value : inputRef.value.$el;\n        return Array.from(_r.querySelectorAll(\"input\"));\n      }\n      return [];\n    });\n    const setSelectionRange = (start, end, pos) => {\n      const _inputs = refInput.value;\n      if (!_inputs.length)\n        return;\n      if (!pos || pos === \"min\") {\n        _inputs[0].setSelectionRange(start, end);\n        _inputs[0].focus();\n      } else if (pos === \"max\") {\n        _inputs[1].setSelectionRange(start, end);\n        _inputs[1].focus();\n      }\n    };\n    const focusOnInputBox = () => {\n      focus(true, true);\n      nextTick(() => {\n        ignoreFocusEvent = false;\n      });\n    };\n    const onPick = (date = \"\", visible = false) => {\n      if (!visible) {\n        ignoreFocusEvent = true;\n      }\n      pickerVisible.value = visible;\n      let result;\n      if (isArray(date)) {\n        result = date.map((_) => _.toDate());\n      } else {\n        result = date ? date.toDate() : date;\n      }\n      userInput.value = null;\n      emitInput(result);\n    };\n    const onBeforeShow = () => {\n      pickerActualVisible.value = true;\n    };\n    const onShow = () => {\n      emit(\"visible-change\", true);\n    };\n    const onKeydownPopperContent = (event) => {\n      if ((event == null ? void 0 : event.key) === EVENT_CODE.esc) {\n        focus(true, true);\n      }\n    };\n    const onHide = () => {\n      pickerActualVisible.value = false;\n      pickerVisible.value = false;\n      ignoreFocusEvent = false;\n      emit(\"visible-change\", false);\n    };\n    const handleOpen = () => {\n      pickerVisible.value = true;\n    };\n    const handleClose = () => {\n      pickerVisible.value = false;\n    };\n    const focus = (focusStartInput = true, isIgnoreFocusEvent = false) => {\n      ignoreFocusEvent = isIgnoreFocusEvent;\n      const [leftInput, rightInput] = unref(refInput);\n      let input = leftInput;\n      if (!focusStartInput && isRangeInput.value) {\n        input = rightInput;\n      }\n      if (input) {\n        input.focus();\n      }\n    };\n    const handleFocusInput = (e) => {\n      if (props.readonly || pickerDisabled.value || pickerVisible.value || ignoreFocusEvent) {\n        return;\n      }\n      pickerVisible.value = true;\n      emit(\"focus\", e);\n    };\n    let currentHandleBlurDeferCallback = void 0;\n    const handleBlurInput = (e) => {\n      const handleBlurDefer = async () => {\n        setTimeout(() => {\n          var _a;\n          if (currentHandleBlurDeferCallback === handleBlurDefer) {\n            if (!(((_a = refPopper.value) == null ? void 0 : _a.isFocusInsideContent()) && !hasJustTabExitedInput) && refInput.value.filter((input) => {\n              return input.contains(document.activeElement);\n            }).length === 0) {\n              handleChange();\n              pickerVisible.value = false;\n              emit(\"blur\", e);\n              props.validateEvent && (formItem == null ? void 0 : formItem.validate(\"blur\").catch((err) => debugWarn(err)));\n            }\n            hasJustTabExitedInput = false;\n          }\n        }, 0);\n      };\n      currentHandleBlurDeferCallback = handleBlurDefer;\n      handleBlurDefer();\n    };\n    const pickerDisabled = computed(() => {\n      return props.disabled || (form == null ? void 0 : form.disabled);\n    });\n    const parsedValue = computed(() => {\n      let dayOrDays;\n      if (valueIsEmpty.value) {\n        if (pickerOptions.value.getDefaultValue) {\n          dayOrDays = pickerOptions.value.getDefaultValue();\n        }\n      } else {\n        if (isArray(props.modelValue)) {\n          dayOrDays = props.modelValue.map((d) => parseDate(d, props.valueFormat, lang.value));\n        } else {\n          dayOrDays = parseDate(props.modelValue, props.valueFormat, lang.value);\n        }\n      }\n      if (pickerOptions.value.getRangeAvailableTime) {\n        const availableResult = pickerOptions.value.getRangeAvailableTime(dayOrDays);\n        if (!isEqual(availableResult, dayOrDays)) {\n          dayOrDays = availableResult;\n          emitInput(isArray(dayOrDays) ? dayOrDays.map((_) => _.toDate()) : dayOrDays.toDate());\n        }\n      }\n      if (isArray(dayOrDays) && dayOrDays.some((day) => !day)) {\n        dayOrDays = [];\n      }\n      return dayOrDays;\n    });\n    const displayValue = computed(() => {\n      if (!pickerOptions.value.panelReady)\n        return \"\";\n      const formattedValue = formatDayjsToString(parsedValue.value);\n      if (isArray(userInput.value)) {\n        return [\n          userInput.value[0] || formattedValue && formattedValue[0] || \"\",\n          userInput.value[1] || formattedValue && formattedValue[1] || \"\"\n        ];\n      } else if (userInput.value !== null) {\n        return userInput.value;\n      }\n      if (!isTimePicker.value && valueIsEmpty.value)\n        return \"\";\n      if (!pickerVisible.value && valueIsEmpty.value)\n        return \"\";\n      if (formattedValue) {\n        return isDatesPicker.value ? formattedValue.join(\", \") : formattedValue;\n      }\n      return \"\";\n    });\n    const isTimeLikePicker = computed(() => props.type.includes(\"time\"));\n    const isTimePicker = computed(() => props.type.startsWith(\"time\"));\n    const isDatesPicker = computed(() => props.type === \"dates\");\n    const triggerIcon = computed(() => props.prefixIcon || (isTimeLikePicker.value ? Clock : Calendar));\n    const showClose = ref(false);\n    const onClearIconClick = (event) => {\n      if (props.readonly || pickerDisabled.value)\n        return;\n      if (showClose.value) {\n        event.stopPropagation();\n        focusOnInputBox();\n        emitInput(null);\n        emitChange(null, true);\n        showClose.value = false;\n        pickerVisible.value = false;\n        pickerOptions.value.handleClear && pickerOptions.value.handleClear();\n      }\n    };\n    const valueIsEmpty = computed(() => {\n      const { modelValue } = props;\n      return !modelValue || isArray(modelValue) && !modelValue.filter(Boolean).length;\n    });\n    const onMouseDownInput = async (event) => {\n      var _a;\n      if (props.readonly || pickerDisabled.value)\n        return;\n      if (((_a = event.target) == null ? void 0 : _a.tagName) !== \"INPUT\" || refInput.value.includes(document.activeElement)) {\n        pickerVisible.value = true;\n      }\n    };\n    const onMouseEnter = () => {\n      if (props.readonly || pickerDisabled.value)\n        return;\n      if (!valueIsEmpty.value && props.clearable) {\n        showClose.value = true;\n      }\n    };\n    const onMouseLeave = () => {\n      showClose.value = false;\n    };\n    const onTouchStartInput = (event) => {\n      var _a;\n      if (props.readonly || pickerDisabled.value)\n        return;\n      if (((_a = event.touches[0].target) == null ? void 0 : _a.tagName) !== \"INPUT\" || refInput.value.includes(document.activeElement)) {\n        pickerVisible.value = true;\n      }\n    };\n    const isRangeInput = computed(() => {\n      return props.type.includes(\"range\");\n    });\n    const pickerSize = useFormSize();\n    const popperEl = computed(() => {\n      var _a, _b;\n      return (_b = (_a = unref(refPopper)) == null ? void 0 : _a.popperRef) == null ? void 0 : _b.contentRef;\n    });\n    const actualInputRef = computed(() => {\n      var _a;\n      if (unref(isRangeInput)) {\n        return unref(inputRef);\n      }\n      return (_a = unref(inputRef)) == null ? void 0 : _a.$el;\n    });\n    onClickOutside(actualInputRef, (e) => {\n      const unrefedPopperEl = unref(popperEl);\n      const inputEl = unref(actualInputRef);\n      if (unrefedPopperEl && (e.target === unrefedPopperEl || e.composedPath().includes(unrefedPopperEl)) || e.target === inputEl || e.composedPath().includes(inputEl))\n        return;\n      pickerVisible.value = false;\n    });\n    const userInput = ref(null);\n    const handleChange = () => {\n      if (userInput.value) {\n        const value = parseUserInputToDayjs(displayValue.value);\n        if (value) {\n          if (isValidValue(value)) {\n            emitInput(isArray(value) ? value.map((_) => _.toDate()) : value.toDate());\n            userInput.value = null;\n          }\n        }\n      }\n      if (userInput.value === \"\") {\n        emitInput(null);\n        emitChange(null);\n        userInput.value = null;\n      }\n    };\n    const parseUserInputToDayjs = (value) => {\n      if (!value)\n        return null;\n      return pickerOptions.value.parseUserInput(value);\n    };\n    const formatDayjsToString = (value) => {\n      if (!value)\n        return null;\n      return pickerOptions.value.formatToString(value);\n    };\n    const isValidValue = (value) => {\n      return pickerOptions.value.isValidValue(value);\n    };\n    const handleKeydownInput = async (event) => {\n      if (props.readonly || pickerDisabled.value)\n        return;\n      const { code } = event;\n      emitKeydown(event);\n      if (code === EVENT_CODE.esc) {\n        if (pickerVisible.value === true) {\n          pickerVisible.value = false;\n          event.preventDefault();\n          event.stopPropagation();\n        }\n        return;\n      }\n      if (code === EVENT_CODE.down) {\n        if (pickerOptions.value.handleFocusPicker) {\n          event.preventDefault();\n          event.stopPropagation();\n        }\n        if (pickerVisible.value === false) {\n          pickerVisible.value = true;\n          await nextTick();\n        }\n        if (pickerOptions.value.handleFocusPicker) {\n          pickerOptions.value.handleFocusPicker();\n          return;\n        }\n      }\n      if (code === EVENT_CODE.tab) {\n        hasJustTabExitedInput = true;\n        return;\n      }\n      if (code === EVENT_CODE.enter || code === EVENT_CODE.numpadEnter) {\n        if (userInput.value === null || userInput.value === \"\" || isValidValue(parseUserInputToDayjs(displayValue.value))) {\n          handleChange();\n          pickerVisible.value = false;\n        }\n        event.stopPropagation();\n        return;\n      }\n      if (userInput.value) {\n        event.stopPropagation();\n        return;\n      }\n      if (pickerOptions.value.handleKeydownInput) {\n        pickerOptions.value.handleKeydownInput(event);\n      }\n    };\n    const onUserInput = (e) => {\n      userInput.value = e;\n      if (!pickerVisible.value) {\n        pickerVisible.value = true;\n      }\n    };\n    const handleStartInput = (event) => {\n      const target = event.target;\n      if (userInput.value) {\n        userInput.value = [target.value, userInput.value[1]];\n      } else {\n        userInput.value = [target.value, null];\n      }\n    };\n    const handleEndInput = (event) => {\n      const target = event.target;\n      if (userInput.value) {\n        userInput.value = [userInput.value[0], target.value];\n      } else {\n        userInput.value = [null, target.value];\n      }\n    };\n    const handleStartChange = () => {\n      var _a;\n      const values = userInput.value;\n      const value = parseUserInputToDayjs(values && values[0]);\n      const parsedVal = unref(parsedValue);\n      if (value && value.isValid()) {\n        userInput.value = [\n          formatDayjsToString(value),\n          ((_a = displayValue.value) == null ? void 0 : _a[1]) || null\n        ];\n        const newValue = [value, parsedVal && (parsedVal[1] || null)];\n        if (isValidValue(newValue)) {\n          emitInput(newValue);\n          userInput.value = null;\n        }\n      }\n    };\n    const handleEndChange = () => {\n      var _a;\n      const values = unref(userInput);\n      const value = parseUserInputToDayjs(values && values[1]);\n      const parsedVal = unref(parsedValue);\n      if (value && value.isValid()) {\n        userInput.value = [\n          ((_a = unref(displayValue)) == null ? void 0 : _a[0]) || null,\n          formatDayjsToString(value)\n        ];\n        const newValue = [parsedVal && parsedVal[0], value];\n        if (isValidValue(newValue)) {\n          emitInput(newValue);\n          userInput.value = null;\n        }\n      }\n    };\n    const pickerOptions = ref({});\n    const onSetPickerOption = (e) => {\n      pickerOptions.value[e[0]] = e[1];\n      pickerOptions.value.panelReady = true;\n    };\n    const onCalendarChange = (e) => {\n      emit(\"calendar-change\", e);\n    };\n    const onPanelChange = (value, mode, view) => {\n      emit(\"panel-change\", value, mode, view);\n    };\n    provide(\"EP_PICKER_BASE\", {\n      props\n    });\n    expose({\n      focus,\n      handleFocusInput,\n      handleBlurInput,\n      handleOpen,\n      handleClose,\n      onPick\n    });\n    return (_ctx, _cache) => {\n      return openBlock(), createBlock(unref(ElTooltip), mergeProps({\n        ref_key: \"refPopper\",\n        ref: refPopper,\n        visible: pickerVisible.value,\n        effect: \"light\",\n        pure: \"\",\n        trigger: \"click\"\n      }, _ctx.$attrs, {\n        role: \"dialog\",\n        teleported: \"\",\n        transition: `${unref(nsDate).namespace.value}-zoom-in-top`,\n        \"popper-class\": [`${unref(nsDate).namespace.value}-picker__popper`, _ctx.popperClass],\n        \"popper-options\": unref(elPopperOptions),\n        \"fallback-placements\": [\"bottom\", \"top\", \"right\", \"left\"],\n        \"gpu-acceleration\": false,\n        \"stop-popper-mouse-event\": false,\n        \"hide-after\": 0,\n        persistent: \"\",\n        onBeforeShow,\n        onShow,\n        onHide\n      }), {\n        default: withCtx(() => [\n          !unref(isRangeInput) ? (openBlock(), createBlock(unref(ElInput), {\n            key: 0,\n            id: _ctx.id,\n            ref_key: \"inputRef\",\n            ref: inputRef,\n            \"container-role\": \"combobox\",\n            \"model-value\": unref(displayValue),\n            name: _ctx.name,\n            size: unref(pickerSize),\n            disabled: unref(pickerDisabled),\n            placeholder: _ctx.placeholder,\n            class: normalizeClass([unref(nsDate).b(\"editor\"), unref(nsDate).bm(\"editor\", _ctx.type), _ctx.$attrs.class]),\n            style: normalizeStyle(_ctx.$attrs.style),\n            readonly: !_ctx.editable || _ctx.readonly || unref(isDatesPicker) || _ctx.type === \"week\",\n            label: _ctx.label,\n            tabindex: _ctx.tabindex,\n            \"validate-event\": false,\n            onInput: onUserInput,\n            onFocus: handleFocusInput,\n            onBlur: handleBlurInput,\n            onKeydown: handleKeydownInput,\n            onChange: handleChange,\n            onMousedown: onMouseDownInput,\n            onMouseenter: onMouseEnter,\n            onMouseleave: onMouseLeave,\n            onTouchstart: onTouchStartInput,\n            onClick: _cache[0] || (_cache[0] = withModifiers(() => {\n            }, [\"stop\"]))\n          }, {\n            prefix: withCtx(() => [\n              unref(triggerIcon) ? (openBlock(), createBlock(unref(ElIcon), {\n                key: 0,\n                class: normalizeClass(unref(nsInput).e(\"icon\")),\n                onMousedown: withModifiers(onMouseDownInput, [\"prevent\"]),\n                onTouchstart: onTouchStartInput\n              }, {\n                default: withCtx(() => [\n                  (openBlock(), createBlock(resolveDynamicComponent(unref(triggerIcon))))\n                ]),\n                _: 1\n              }, 8, [\"class\", \"onMousedown\"])) : createCommentVNode(\"v-if\", true)\n            ]),\n            suffix: withCtx(() => [\n              showClose.value && _ctx.clearIcon ? (openBlock(), createBlock(unref(ElIcon), {\n                key: 0,\n                class: normalizeClass(`${unref(nsInput).e(\"icon\")} clear-icon`),\n                onClick: withModifiers(onClearIconClick, [\"stop\"])\n              }, {\n                default: withCtx(() => [\n                  (openBlock(), createBlock(resolveDynamicComponent(_ctx.clearIcon)))\n                ]),\n                _: 1\n              }, 8, [\"class\", \"onClick\"])) : createCommentVNode(\"v-if\", true)\n            ]),\n            _: 1\n          }, 8, [\"id\", \"model-value\", \"name\", \"size\", \"disabled\", \"placeholder\", \"class\", \"style\", \"readonly\", \"label\", \"tabindex\", \"onKeydown\"])) : (openBlock(), createElementBlock(\"div\", {\n            key: 1,\n            ref_key: \"inputRef\",\n            ref: inputRef,\n            class: normalizeClass([\n              unref(nsDate).b(\"editor\"),\n              unref(nsDate).bm(\"editor\", _ctx.type),\n              unref(nsInput).e(\"wrapper\"),\n              unref(nsDate).is(\"disabled\", unref(pickerDisabled)),\n              unref(nsDate).is(\"active\", pickerVisible.value),\n              unref(nsRange).b(\"editor\"),\n              unref(pickerSize) ? unref(nsRange).bm(\"editor\", unref(pickerSize)) : \"\",\n              _ctx.$attrs.class\n            ]),\n            style: normalizeStyle(_ctx.$attrs.style),\n            onClick: handleFocusInput,\n            onMouseenter: onMouseEnter,\n            onMouseleave: onMouseLeave,\n            onTouchstart: onTouchStartInput,\n            onKeydown: handleKeydownInput\n          }, [\n            unref(triggerIcon) ? (openBlock(), createBlock(unref(ElIcon), {\n              key: 0,\n              class: normalizeClass([unref(nsInput).e(\"icon\"), unref(nsRange).e(\"icon\")]),\n              onMousedown: withModifiers(onMouseDownInput, [\"prevent\"]),\n              onTouchstart: onTouchStartInput\n            }, {\n              default: withCtx(() => [\n                (openBlock(), createBlock(resolveDynamicComponent(unref(triggerIcon))))\n              ]),\n              _: 1\n            }, 8, [\"class\", \"onMousedown\"])) : createCommentVNode(\"v-if\", true),\n            createElementVNode(\"input\", {\n              id: _ctx.id && _ctx.id[0],\n              autocomplete: \"off\",\n              name: _ctx.name && _ctx.name[0],\n              placeholder: _ctx.startPlaceholder,\n              value: unref(displayValue) && unref(displayValue)[0],\n              disabled: unref(pickerDisabled),\n              readonly: !_ctx.editable || _ctx.readonly,\n              class: normalizeClass(unref(nsRange).b(\"input\")),\n              onMousedown: onMouseDownInput,\n              onInput: handleStartInput,\n              onChange: handleStartChange,\n              onFocus: handleFocusInput,\n              onBlur: handleBlurInput\n            }, null, 42, _hoisted_1),\n            renderSlot(_ctx.$slots, \"range-separator\", {}, () => [\n              createElementVNode(\"span\", {\n                class: normalizeClass(unref(nsRange).b(\"separator\"))\n              }, toDisplayString(_ctx.rangeSeparator), 3)\n            ]),\n            createElementVNode(\"input\", {\n              id: _ctx.id && _ctx.id[1],\n              autocomplete: \"off\",\n              name: _ctx.name && _ctx.name[1],\n              placeholder: _ctx.endPlaceholder,\n              value: unref(displayValue) && unref(displayValue)[1],\n              disabled: unref(pickerDisabled),\n              readonly: !_ctx.editable || _ctx.readonly,\n              class: normalizeClass(unref(nsRange).b(\"input\")),\n              onMousedown: onMouseDownInput,\n              onFocus: handleFocusInput,\n              onBlur: handleBlurInput,\n              onInput: handleEndInput,\n              onChange: handleEndChange\n            }, null, 42, _hoisted_2),\n            _ctx.clearIcon ? (openBlock(), createBlock(unref(ElIcon), {\n              key: 1,\n              class: normalizeClass([\n                unref(nsInput).e(\"icon\"),\n                unref(nsRange).e(\"close-icon\"),\n                {\n                  [unref(nsRange).e(\"close-icon--hidden\")]: !showClose.value\n                }\n              ]),\n              onClick: onClearIconClick\n            }, {\n              default: withCtx(() => [\n                (openBlock(), createBlock(resolveDynamicComponent(_ctx.clearIcon)))\n              ]),\n              _: 1\n            }, 8, [\"class\"])) : createCommentVNode(\"v-if\", true)\n          ], 38))\n        ]),\n        content: withCtx(() => [\n          renderSlot(_ctx.$slots, \"default\", {\n            visible: pickerVisible.value,\n            actualVisible: pickerActualVisible.value,\n            parsedValue: unref(parsedValue),\n            format: _ctx.format,\n            unlinkPanels: _ctx.unlinkPanels,\n            type: _ctx.type,\n            defaultValue: _ctx.defaultValue,\n            onPick,\n            onSelectRange: setSelectionRange,\n            onSetPickerOption,\n            onCalendarChange,\n            onPanelChange,\n            onKeydown: onKeydownPopperContent,\n            onMousedown: _cache[1] || (_cache[1] = withModifiers(() => {\n            }, [\"stop\"]))\n          })\n        ]),\n        _: 3\n      }, 16, [\"visible\", \"transition\", \"popper-class\", \"popper-options\"]);\n    };\n  }\n});\nvar CommonPicker = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/common/picker.vue\"]]);\n\nexport { CommonPicker as default };\n//# sourceMappingURL=picker.mjs.map\n","import '../../../../utils/index.mjs';\nimport { timePanelSharedProps } from './shared.mjs';\nimport { buildProps, definePropType } from '../../../../utils/vue/props/runtime.mjs';\n\nconst panelTimePickerProps = buildProps({\n  ...timePanelSharedProps,\n  datetimeRole: String,\n  parsedValue: {\n    type: definePropType(Object)\n  }\n});\n\nexport { panelTimePickerProps };\n//# sourceMappingURL=panel-time-picker.mjs.map\n","const useTimePanel = ({\n  getAvailableHours,\n  getAvailableMinutes,\n  getAvailableSeconds\n}) => {\n  const getAvailableTime = (date, role, first, compareDate) => {\n    const availableTimeGetters = {\n      hour: getAvailableHours,\n      minute: getAvailableMinutes,\n      second: getAvailableSeconds\n    };\n    let result = date;\n    [\"hour\", \"minute\", \"second\"].forEach((type) => {\n      if (availableTimeGetters[type]) {\n        let availableTimeSlots;\n        const method = availableTimeGetters[type];\n        switch (type) {\n          case \"minute\": {\n            availableTimeSlots = method(result.hour(), role, compareDate);\n            break;\n          }\n          case \"second\": {\n            availableTimeSlots = method(result.hour(), result.minute(), role, compareDate);\n            break;\n          }\n          default: {\n            availableTimeSlots = method(role, compareDate);\n            break;\n          }\n        }\n        if ((availableTimeSlots == null ? void 0 : availableTimeSlots.length) && !availableTimeSlots.includes(result[type]())) {\n          const pos = first ? 0 : availableTimeSlots.length - 1;\n          result = result[type](availableTimeSlots[pos]);\n        }\n      }\n    });\n    return result;\n  };\n  const timePickerOptions = {};\n  const onSetOption = ([key, val]) => {\n    timePickerOptions[key] = val;\n  };\n  return {\n    timePickerOptions,\n    getAvailableTime,\n    onSetOption\n  };\n};\n\nexport { useTimePanel };\n//# sourceMappingURL=use-time-panel.mjs.map\n","import { ref, watch } from 'vue';\nimport { makeList } from '../utils.mjs';\n\nconst makeAvailableArr = (disabledList) => {\n  const trueOrNumber = (isDisabled, index) => isDisabled || index;\n  const getNumber = (predicate) => predicate !== true;\n  return disabledList.map(trueOrNumber).filter(getNumber);\n};\nconst getTimeLists = (disabledHours, disabledMinutes, disabledSeconds) => {\n  const getHoursList = (role, compare) => {\n    return makeList(24, disabledHours && (() => disabledHours == null ? void 0 : disabledHours(role, compare)));\n  };\n  const getMinutesList = (hour, role, compare) => {\n    return makeList(60, disabledMinutes && (() => disabledMinutes == null ? void 0 : disabledMinutes(hour, role, compare)));\n  };\n  const getSecondsList = (hour, minute, role, compare) => {\n    return makeList(60, disabledSeconds && (() => disabledSeconds == null ? void 0 : disabledSeconds(hour, minute, role, compare)));\n  };\n  return {\n    getHoursList,\n    getMinutesList,\n    getSecondsList\n  };\n};\nconst buildAvailableTimeSlotGetter = (disabledHours, disabledMinutes, disabledSeconds) => {\n  const { getHoursList, getMinutesList, getSecondsList } = getTimeLists(disabledHours, disabledMinutes, disabledSeconds);\n  const getAvailableHours = (role, compare) => {\n    return makeAvailableArr(getHoursList(role, compare));\n  };\n  const getAvailableMinutes = (hour, role, compare) => {\n    return makeAvailableArr(getMinutesList(hour, role, compare));\n  };\n  const getAvailableSeconds = (hour, minute, role, compare) => {\n    return makeAvailableArr(getSecondsList(hour, minute, role, compare));\n  };\n  return {\n    getAvailableHours,\n    getAvailableMinutes,\n    getAvailableSeconds\n  };\n};\nconst useOldValue = (props) => {\n  const oldValue = ref(props.parsedValue);\n  watch(() => props.visible, (val) => {\n    if (!val) {\n      oldValue.value = props.parsedValue;\n    }\n  });\n  return oldValue;\n};\n\nexport { buildAvailableTimeSlotGetter, getTimeLists, useOldValue };\n//# sourceMappingURL=use-time-picker.mjs.map\n","import '../../utils/index.mjs';\nimport { isFunction } from '@vue/shared';\n\nconst REPEAT_INTERVAL = 100;\nconst REPEAT_DELAY = 600;\nconst vRepeatClick = {\n  beforeMount(el, binding) {\n    const value = binding.value;\n    const { interval = REPEAT_INTERVAL, delay = REPEAT_DELAY } = isFunction(value) ? {} : value;\n    let intervalId;\n    let delayId;\n    const handler = () => isFunction(value) ? value() : value.handler();\n    const clear = () => {\n      if (delayId) {\n        clearTimeout(delayId);\n        delayId = void 0;\n      }\n      if (intervalId) {\n        clearInterval(intervalId);\n        intervalId = void 0;\n      }\n    };\n    el.addEventListener(\"mousedown\", (evt) => {\n      if (evt.button !== 0)\n        return;\n      clear();\n      handler();\n      document.addEventListener(\"mouseup\", () => clear(), {\n        once: true\n      });\n      delayId = setTimeout(() => {\n        intervalId = setInterval(() => {\n          handler();\n        }, interval);\n      }, delay);\n    });\n  }\n};\n\nexport { REPEAT_DELAY, REPEAT_INTERVAL, vRepeatClick };\n//# sourceMappingURL=index.mjs.map\n","import '../../../../utils/index.mjs';\nimport { disabledTimeListsProps } from './shared.mjs';\nimport { buildProps, definePropType } from '../../../../utils/vue/props/runtime.mjs';\n\nconst basicTimeSpinnerProps = buildProps({\n  role: {\n    type: String,\n    required: true\n  },\n  spinnerDate: {\n    type: definePropType(Object),\n    required: true\n  },\n  showSeconds: {\n    type: Boolean,\n    default: true\n  },\n  arrowControl: Boolean,\n  amPmMode: {\n    type: definePropType(String),\n    default: \"\"\n  },\n  ...disabledTimeListsProps\n});\n\nexport { basicTimeSpinnerProps };\n//# sourceMappingURL=basic-time-spinner.mjs.map\n","import { defineComponent, ref, computed, unref, nextTick, onMounted, watch, openBlock, createElementBlock, normalizeClass, Fragment, renderList, createBlock, withCtx, createTextVNode, toDisplayString, createCommentVNode, withDirectives, createVNode, createElementVNode } from 'vue';\nimport { debounce } from 'lodash-unified';\nimport '../../../../directives/index.mjs';\nimport { ElScrollbar } from '../../../scrollbar/index.mjs';\nimport { ElIcon } from '../../../icon/index.mjs';\nimport { ArrowUp, ArrowDown } from '@element-plus/icons-vue';\nimport '../../../../hooks/index.mjs';\nimport { timeUnits } from '../constants.mjs';\nimport { buildTimeList } from '../utils.mjs';\nimport { basicTimeSpinnerProps } from '../props/basic-time-spinner.mjs';\nimport { getTimeLists } from '../composables/use-time-picker.mjs';\nimport _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\nimport { vRepeatClick } from '../../../../directives/repeat-click/index.mjs';\n\nconst _hoisted_1 = [\"onClick\"];\nconst _hoisted_2 = [\"onMouseenter\"];\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  __name: \"basic-time-spinner\",\n  props: basicTimeSpinnerProps,\n  emits: [\"change\", \"select-range\", \"set-option\"],\n  setup(__props, { emit }) {\n    const props = __props;\n    const ns = useNamespace(\"time\");\n    const { getHoursList, getMinutesList, getSecondsList } = getTimeLists(props.disabledHours, props.disabledMinutes, props.disabledSeconds);\n    let isScrolling = false;\n    const currentScrollbar = ref();\n    const listHoursRef = ref();\n    const listMinutesRef = ref();\n    const listSecondsRef = ref();\n    const listRefsMap = {\n      hours: listHoursRef,\n      minutes: listMinutesRef,\n      seconds: listSecondsRef\n    };\n    const spinnerItems = computed(() => {\n      return props.showSeconds ? timeUnits : timeUnits.slice(0, 2);\n    });\n    const timePartials = computed(() => {\n      const { spinnerDate } = props;\n      const hours = spinnerDate.hour();\n      const minutes = spinnerDate.minute();\n      const seconds = spinnerDate.second();\n      return { hours, minutes, seconds };\n    });\n    const timeList = computed(() => {\n      const { hours, minutes } = unref(timePartials);\n      return {\n        hours: getHoursList(props.role),\n        minutes: getMinutesList(hours, props.role),\n        seconds: getSecondsList(hours, minutes, props.role)\n      };\n    });\n    const arrowControlTimeList = computed(() => {\n      const { hours, minutes, seconds } = unref(timePartials);\n      return {\n        hours: buildTimeList(hours, 23),\n        minutes: buildTimeList(minutes, 59),\n        seconds: buildTimeList(seconds, 59)\n      };\n    });\n    const debouncedResetScroll = debounce((type) => {\n      isScrolling = false;\n      adjustCurrentSpinner(type);\n    }, 200);\n    const getAmPmFlag = (hour) => {\n      const shouldShowAmPm = !!props.amPmMode;\n      if (!shouldShowAmPm)\n        return \"\";\n      const isCapital = props.amPmMode === \"A\";\n      let content = hour < 12 ? \" am\" : \" pm\";\n      if (isCapital)\n        content = content.toUpperCase();\n      return content;\n    };\n    const emitSelectRange = (type) => {\n      let range;\n      switch (type) {\n        case \"hours\":\n          range = [0, 2];\n          break;\n        case \"minutes\":\n          range = [3, 5];\n          break;\n        case \"seconds\":\n          range = [6, 8];\n          break;\n      }\n      const [left, right] = range;\n      emit(\"select-range\", left, right);\n      currentScrollbar.value = type;\n    };\n    const adjustCurrentSpinner = (type) => {\n      adjustSpinner(type, unref(timePartials)[type]);\n    };\n    const adjustSpinners = () => {\n      adjustCurrentSpinner(\"hours\");\n      adjustCurrentSpinner(\"minutes\");\n      adjustCurrentSpinner(\"seconds\");\n    };\n    const getScrollbarElement = (el) => el.querySelector(`.${ns.namespace.value}-scrollbar__wrap`);\n    const adjustSpinner = (type, value) => {\n      if (props.arrowControl)\n        return;\n      const scrollbar = unref(listRefsMap[type]);\n      if (scrollbar && scrollbar.$el) {\n        getScrollbarElement(scrollbar.$el).scrollTop = Math.max(0, value * typeItemHeight(type));\n      }\n    };\n    const typeItemHeight = (type) => {\n      const scrollbar = unref(listRefsMap[type]);\n      return (scrollbar == null ? void 0 : scrollbar.$el.querySelector(\"li\").offsetHeight) || 0;\n    };\n    const onIncrement = () => {\n      scrollDown(1);\n    };\n    const onDecrement = () => {\n      scrollDown(-1);\n    };\n    const scrollDown = (step) => {\n      if (!currentScrollbar.value) {\n        emitSelectRange(\"hours\");\n      }\n      const label = currentScrollbar.value;\n      const now = unref(timePartials)[label];\n      const total = currentScrollbar.value === \"hours\" ? 24 : 60;\n      const next = findNextUnDisabled(label, now, step, total);\n      modifyDateField(label, next);\n      adjustSpinner(label, next);\n      nextTick(() => emitSelectRange(label));\n    };\n    const findNextUnDisabled = (type, now, step, total) => {\n      let next = (now + step + total) % total;\n      const list = unref(timeList)[type];\n      while (list[next] && next !== now) {\n        next = (next + step + total) % total;\n      }\n      return next;\n    };\n    const modifyDateField = (type, value) => {\n      const list = unref(timeList)[type];\n      const isDisabled = list[value];\n      if (isDisabled)\n        return;\n      const { hours, minutes, seconds } = unref(timePartials);\n      let changeTo;\n      switch (type) {\n        case \"hours\":\n          changeTo = props.spinnerDate.hour(value).minute(minutes).second(seconds);\n          break;\n        case \"minutes\":\n          changeTo = props.spinnerDate.hour(hours).minute(value).second(seconds);\n          break;\n        case \"seconds\":\n          changeTo = props.spinnerDate.hour(hours).minute(minutes).second(value);\n          break;\n      }\n      emit(\"change\", changeTo);\n    };\n    const handleClick = (type, { value, disabled }) => {\n      if (!disabled) {\n        modifyDateField(type, value);\n        emitSelectRange(type);\n        adjustSpinner(type, value);\n      }\n    };\n    const handleScroll = (type) => {\n      isScrolling = true;\n      debouncedResetScroll(type);\n      const value = Math.min(Math.round((getScrollbarElement(unref(listRefsMap[type]).$el).scrollTop - (scrollBarHeight(type) * 0.5 - 10) / typeItemHeight(type) + 3) / typeItemHeight(type)), type === \"hours\" ? 23 : 59);\n      modifyDateField(type, value);\n    };\n    const scrollBarHeight = (type) => {\n      return unref(listRefsMap[type]).$el.offsetHeight;\n    };\n    const bindScrollEvent = () => {\n      const bindFunction = (type) => {\n        const scrollbar = unref(listRefsMap[type]);\n        if (scrollbar && scrollbar.$el) {\n          getScrollbarElement(scrollbar.$el).onscroll = () => {\n            handleScroll(type);\n          };\n        }\n      };\n      bindFunction(\"hours\");\n      bindFunction(\"minutes\");\n      bindFunction(\"seconds\");\n    };\n    onMounted(() => {\n      nextTick(() => {\n        !props.arrowControl && bindScrollEvent();\n        adjustSpinners();\n        if (props.role === \"start\")\n          emitSelectRange(\"hours\");\n      });\n    });\n    const setRef = (scrollbar, type) => {\n      listRefsMap[type].value = scrollbar;\n    };\n    emit(\"set-option\", [`${props.role}_scrollDown`, scrollDown]);\n    emit(\"set-option\", [`${props.role}_emitSelectRange`, emitSelectRange]);\n    watch(() => props.spinnerDate, () => {\n      if (isScrolling)\n        return;\n      adjustSpinners();\n    });\n    return (_ctx, _cache) => {\n      return openBlock(), createElementBlock(\"div\", {\n        class: normalizeClass([unref(ns).b(\"spinner\"), { \"has-seconds\": _ctx.showSeconds }])\n      }, [\n        !_ctx.arrowControl ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(unref(spinnerItems), (item) => {\n          return openBlock(), createBlock(unref(ElScrollbar), {\n            key: item,\n            ref_for: true,\n            ref: (scrollbar) => setRef(scrollbar, item),\n            class: normalizeClass(unref(ns).be(\"spinner\", \"wrapper\")),\n            \"wrap-style\": \"max-height: inherit;\",\n            \"view-class\": unref(ns).be(\"spinner\", \"list\"),\n            noresize: \"\",\n            tag: \"ul\",\n            onMouseenter: ($event) => emitSelectRange(item),\n            onMousemove: ($event) => adjustCurrentSpinner(item)\n          }, {\n            default: withCtx(() => [\n              (openBlock(true), createElementBlock(Fragment, null, renderList(unref(timeList)[item], (disabled, key) => {\n                return openBlock(), createElementBlock(\"li\", {\n                  key,\n                  class: normalizeClass([\n                    unref(ns).be(\"spinner\", \"item\"),\n                    unref(ns).is(\"active\", key === unref(timePartials)[item]),\n                    unref(ns).is(\"disabled\", disabled)\n                  ]),\n                  onClick: ($event) => handleClick(item, { value: key, disabled })\n                }, [\n                  item === \"hours\" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [\n                    createTextVNode(toDisplayString((\"0\" + (_ctx.amPmMode ? key % 12 || 12 : key)).slice(-2)) + toDisplayString(getAmPmFlag(key)), 1)\n                  ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [\n                    createTextVNode(toDisplayString((\"0\" + key).slice(-2)), 1)\n                  ], 64))\n                ], 10, _hoisted_1);\n              }), 128))\n            ]),\n            _: 2\n          }, 1032, [\"class\", \"view-class\", \"onMouseenter\", \"onMousemove\"]);\n        }), 128)) : createCommentVNode(\"v-if\", true),\n        _ctx.arrowControl ? (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(unref(spinnerItems), (item) => {\n          return openBlock(), createElementBlock(\"div\", {\n            key: item,\n            class: normalizeClass([unref(ns).be(\"spinner\", \"wrapper\"), unref(ns).is(\"arrow\")]),\n            onMouseenter: ($event) => emitSelectRange(item)\n          }, [\n            withDirectives((openBlock(), createBlock(unref(ElIcon), {\n              class: normalizeClass([\"arrow-up\", unref(ns).be(\"spinner\", \"arrow\")])\n            }, {\n              default: withCtx(() => [\n                createVNode(unref(ArrowUp))\n              ]),\n              _: 1\n            }, 8, [\"class\"])), [\n              [unref(vRepeatClick), onDecrement]\n            ]),\n            withDirectives((openBlock(), createBlock(unref(ElIcon), {\n              class: normalizeClass([\"arrow-down\", unref(ns).be(\"spinner\", \"arrow\")])\n            }, {\n              default: withCtx(() => [\n                createVNode(unref(ArrowDown))\n              ]),\n              _: 1\n            }, 8, [\"class\"])), [\n              [unref(vRepeatClick), onIncrement]\n            ]),\n            createElementVNode(\"ul\", {\n              class: normalizeClass(unref(ns).be(\"spinner\", \"list\"))\n            }, [\n              (openBlock(true), createElementBlock(Fragment, null, renderList(unref(arrowControlTimeList)[item], (time, key) => {\n                return openBlock(), createElementBlock(\"li\", {\n                  key,\n                  class: normalizeClass([\n                    unref(ns).be(\"spinner\", \"item\"),\n                    unref(ns).is(\"active\", time === unref(timePartials)[item]),\n                    unref(ns).is(\"disabled\", unref(timeList)[item][time])\n                  ])\n                }, [\n                  typeof time === \"number\" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [\n                    item === \"hours\" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [\n                      createTextVNode(toDisplayString((\"0\" + (_ctx.amPmMode ? time % 12 || 12 : time)).slice(-2)) + toDisplayString(getAmPmFlag(time)), 1)\n                    ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [\n                      createTextVNode(toDisplayString((\"0\" + time).slice(-2)), 1)\n                    ], 64))\n                  ], 64)) : createCommentVNode(\"v-if\", true)\n                ], 2);\n              }), 128))\n            ], 2)\n          ], 42, _hoisted_2);\n        }), 128)) : createCommentVNode(\"v-if\", true)\n      ], 2);\n    };\n  }\n});\nvar TimeSpinner = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/basic-time-spinner.vue\"]]);\n\nexport { TimeSpinner as default };\n//# sourceMappingURL=basic-time-spinner.mjs.map\n","import { defineComponent, inject, ref, computed, openBlock, createBlock, Transition, unref, withCtx, createElementBlock, normalizeClass, createElementVNode, createVNode, toDisplayString, createCommentVNode } from 'vue';\nimport dayjs from 'dayjs';\nimport '../../../../constants/index.mjs';\nimport '../../../../hooks/index.mjs';\nimport '../../../../utils/index.mjs';\nimport { panelTimePickerProps } from '../props/panel-time-picker.mjs';\nimport { useTimePanel } from '../composables/use-time-panel.mjs';\nimport { buildAvailableTimeSlotGetter, useOldValue } from '../composables/use-time-picker.mjs';\nimport TimeSpinner from './basic-time-spinner.mjs';\nimport _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\nimport { useLocale } from '../../../../hooks/use-locale/index.mjs';\nimport { isUndefined } from '../../../../utils/types.mjs';\nimport { EVENT_CODE } from '../../../../constants/aria.mjs';\n\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  __name: \"panel-time-pick\",\n  props: panelTimePickerProps,\n  emits: [\"pick\", \"select-range\", \"set-picker-option\"],\n  setup(__props, { emit }) {\n    const props = __props;\n    const pickerBase = inject(\"EP_PICKER_BASE\");\n    const {\n      arrowControl,\n      disabledHours,\n      disabledMinutes,\n      disabledSeconds,\n      defaultValue\n    } = pickerBase.props;\n    const { getAvailableHours, getAvailableMinutes, getAvailableSeconds } = buildAvailableTimeSlotGetter(disabledHours, disabledMinutes, disabledSeconds);\n    const ns = useNamespace(\"time\");\n    const { t, lang } = useLocale();\n    const selectionRange = ref([0, 2]);\n    const oldValue = useOldValue(props);\n    const transitionName = computed(() => {\n      return isUndefined(props.actualVisible) ? `${ns.namespace.value}-zoom-in-top` : \"\";\n    });\n    const showSeconds = computed(() => {\n      return props.format.includes(\"ss\");\n    });\n    const amPmMode = computed(() => {\n      if (props.format.includes(\"A\"))\n        return \"A\";\n      if (props.format.includes(\"a\"))\n        return \"a\";\n      return \"\";\n    });\n    const isValidValue = (_date) => {\n      const parsedDate = dayjs(_date).locale(lang.value);\n      const result = getRangeAvailableTime(parsedDate);\n      return parsedDate.isSame(result);\n    };\n    const handleCancel = () => {\n      emit(\"pick\", oldValue.value, false);\n    };\n    const handleConfirm = (visible = false, first = false) => {\n      if (first)\n        return;\n      emit(\"pick\", props.parsedValue, visible);\n    };\n    const handleChange = (_date) => {\n      if (!props.visible) {\n        return;\n      }\n      const result = getRangeAvailableTime(_date).millisecond(0);\n      emit(\"pick\", result, true);\n    };\n    const setSelectionRange = (start, end) => {\n      emit(\"select-range\", start, end);\n      selectionRange.value = [start, end];\n    };\n    const changeSelectionRange = (step) => {\n      const list = [0, 3].concat(showSeconds.value ? [6] : []);\n      const mapping = [\"hours\", \"minutes\"].concat(showSeconds.value ? [\"seconds\"] : []);\n      const index = list.indexOf(selectionRange.value[0]);\n      const next = (index + step + list.length) % list.length;\n      timePickerOptions[\"start_emitSelectRange\"](mapping[next]);\n    };\n    const handleKeydown = (event) => {\n      const code = event.code;\n      const { left, right, up, down } = EVENT_CODE;\n      if ([left, right].includes(code)) {\n        const step = code === left ? -1 : 1;\n        changeSelectionRange(step);\n        event.preventDefault();\n        return;\n      }\n      if ([up, down].includes(code)) {\n        const step = code === up ? -1 : 1;\n        timePickerOptions[\"start_scrollDown\"](step);\n        event.preventDefault();\n        return;\n      }\n    };\n    const { timePickerOptions, onSetOption, getAvailableTime } = useTimePanel({\n      getAvailableHours,\n      getAvailableMinutes,\n      getAvailableSeconds\n    });\n    const getRangeAvailableTime = (date) => {\n      return getAvailableTime(date, props.datetimeRole || \"\", true);\n    };\n    const parseUserInput = (value) => {\n      if (!value)\n        return null;\n      return dayjs(value, props.format).locale(lang.value);\n    };\n    const formatToString = (value) => {\n      if (!value)\n        return null;\n      return value.format(props.format);\n    };\n    const getDefaultValue = () => {\n      return dayjs(defaultValue).locale(lang.value);\n    };\n    emit(\"set-picker-option\", [\"isValidValue\", isValidValue]);\n    emit(\"set-picker-option\", [\"formatToString\", formatToString]);\n    emit(\"set-picker-option\", [\"parseUserInput\", parseUserInput]);\n    emit(\"set-picker-option\", [\"handleKeydownInput\", handleKeydown]);\n    emit(\"set-picker-option\", [\"getRangeAvailableTime\", getRangeAvailableTime]);\n    emit(\"set-picker-option\", [\"getDefaultValue\", getDefaultValue]);\n    return (_ctx, _cache) => {\n      return openBlock(), createBlock(Transition, { name: unref(transitionName) }, {\n        default: withCtx(() => [\n          _ctx.actualVisible || _ctx.visible ? (openBlock(), createElementBlock(\"div\", {\n            key: 0,\n            class: normalizeClass(unref(ns).b(\"panel\"))\n          }, [\n            createElementVNode(\"div\", {\n              class: normalizeClass([unref(ns).be(\"panel\", \"content\"), { \"has-seconds\": unref(showSeconds) }])\n            }, [\n              createVNode(TimeSpinner, {\n                ref: \"spinner\",\n                role: _ctx.datetimeRole || \"start\",\n                \"arrow-control\": unref(arrowControl),\n                \"show-seconds\": unref(showSeconds),\n                \"am-pm-mode\": unref(amPmMode),\n                \"spinner-date\": _ctx.parsedValue,\n                \"disabled-hours\": unref(disabledHours),\n                \"disabled-minutes\": unref(disabledMinutes),\n                \"disabled-seconds\": unref(disabledSeconds),\n                onChange: handleChange,\n                onSetOption: unref(onSetOption),\n                onSelectRange: setSelectionRange\n              }, null, 8, [\"role\", \"arrow-control\", \"show-seconds\", \"am-pm-mode\", \"spinner-date\", \"disabled-hours\", \"disabled-minutes\", \"disabled-seconds\", \"onSetOption\"])\n            ], 2),\n            createElementVNode(\"div\", {\n              class: normalizeClass(unref(ns).be(\"panel\", \"footer\"))\n            }, [\n              createElementVNode(\"button\", {\n                type: \"button\",\n                class: normalizeClass([unref(ns).be(\"panel\", \"btn\"), \"cancel\"]),\n                onClick: handleCancel\n              }, toDisplayString(unref(t)(\"el.datepicker.cancel\")), 3),\n              createElementVNode(\"button\", {\n                type: \"button\",\n                class: normalizeClass([unref(ns).be(\"panel\", \"btn\"), \"confirm\"]),\n                onClick: _cache[0] || (_cache[0] = ($event) => handleConfirm())\n              }, toDisplayString(unref(t)(\"el.datepicker.confirm\")), 3)\n            ], 2)\n          ], 2)) : createCommentVNode(\"v-if\", true)\n        ]),\n        _: 1\n      }, 8, [\"name\"]);\n    };\n  }\n});\nvar TimePickPanel = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/panel-time-pick.vue\"]]);\n\nexport { TimePickPanel as default };\n//# sourceMappingURL=panel-time-pick.mjs.map\n","!function(n,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=e():\"function\"==typeof define&&define.amd?define(e):(n=\"undefined\"!=typeof globalThis?globalThis:n||self).dayjs_plugin_localeData=e()}(this,(function(){\"use strict\";return function(n,e,t){var r=e.prototype,o=function(n){return n&&(n.indexOf?n:n.s)},u=function(n,e,t,r,u){var i=n.name?n:n.$locale(),a=o(i[e]),s=o(i[t]),f=a||s.map((function(n){return n.slice(0,r)}));if(!u)return f;var d=i.weekStart;return f.map((function(n,e){return f[(e+(d||0))%7]}))},i=function(){return t.Ls[t.locale()]},a=function(n,e){return n.formats[e]||function(n){return n.replace(/(\\[[^\\]]+])|(MMMM|MM|DD|dddd)/g,(function(n,e,t){return e||t.slice(1)}))}(n.formats[e.toUpperCase()])},s=function(){var n=this;return{months:function(e){return e?e.format(\"MMMM\"):u(n,\"months\")},monthsShort:function(e){return e?e.format(\"MMM\"):u(n,\"monthsShort\",\"months\",3)},firstDayOfWeek:function(){return n.$locale().weekStart||0},weekdays:function(e){return e?e.format(\"dddd\"):u(n,\"weekdays\")},weekdaysMin:function(e){return e?e.format(\"dd\"):u(n,\"weekdaysMin\",\"weekdays\",2)},weekdaysShort:function(e){return e?e.format(\"ddd\"):u(n,\"weekdaysShort\",\"weekdays\",3)},longDateFormat:function(e){return a(n.$locale(),e)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return s.bind(this)()},t.localeData=function(){var n=i();return{firstDayOfWeek:function(){return n.weekStart||0},weekdays:function(){return t.weekdays()},weekdaysShort:function(){return t.weekdaysShort()},weekdaysMin:function(){return t.weekdaysMin()},months:function(){return t.months()},monthsShort:function(){return t.monthsShort()},longDateFormat:function(e){return a(n,e)},meridiem:n.meridiem,ordinal:n.ordinal}},t.months=function(){return u(i(),\"months\")},t.monthsShort=function(){return u(i(),\"monthsShort\",\"months\",3)},t.weekdays=function(n){return u(i(),\"weekdays\",null,null,n)},t.weekdaysShort=function(n){return u(i(),\"weekdaysShort\",\"weekdays\",3,n)},t.weekdaysMin=function(n){return u(i(),\"weekdaysMin\",\"weekdays\",2,n)}}}));","import '../../../constants/index.mjs';\nimport '../../../hooks/index.mjs';\nimport '../../../utils/index.mjs';\nimport { useSizeProp } from '../../../hooks/use-size/index.mjs';\nimport { UPDATE_MODEL_EVENT } from '../../../constants/event.mjs';\nimport { isString } from '@vue/shared';\nimport { isNumber, isBoolean } from '../../../utils/types.mjs';\n\nconst checkboxProps = {\n  modelValue: {\n    type: [Number, String, Boolean],\n    default: void 0\n  },\n  label: {\n    type: [String, Boolean, Number, Object]\n  },\n  indeterminate: Boolean,\n  disabled: Boolean,\n  checked: Boolean,\n  name: {\n    type: String,\n    default: void 0\n  },\n  trueLabel: {\n    type: [String, Number],\n    default: void 0\n  },\n  falseLabel: {\n    type: [String, Number],\n    default: void 0\n  },\n  id: {\n    type: String,\n    default: void 0\n  },\n  controls: {\n    type: String,\n    default: void 0\n  },\n  border: Boolean,\n  size: useSizeProp,\n  tabindex: [String, Number],\n  validateEvent: {\n    type: Boolean,\n    default: true\n  }\n};\nconst checkboxEmits = {\n  [UPDATE_MODEL_EVENT]: (val) => isString(val) || isNumber(val) || isBoolean(val),\n  change: (val) => isString(val) || isNumber(val) || isBoolean(val)\n};\n\nexport { checkboxEmits, checkboxProps };\n//# sourceMappingURL=checkbox.mjs.map\n","const checkboxGroupContextKey = Symbol(\"checkboxGroupContextKey\");\n\nexport { checkboxGroupContextKey };\n//# sourceMappingURL=constants.mjs.map\n","import { inject, computed } from 'vue';\nimport '../../../form/index.mjs';\nimport '../../../../utils/index.mjs';\nimport { checkboxGroupContextKey } from '../constants.mjs';\nimport { isUndefined } from '../../../../utils/types.mjs';\nimport { useFormDisabled } from '../../../form/src/hooks/use-form-common-props.mjs';\n\nconst useCheckboxDisabled = ({\n  model,\n  isChecked\n}) => {\n  const checkboxGroup = inject(checkboxGroupContextKey, void 0);\n  const isLimitDisabled = computed(() => {\n    var _a, _b;\n    const max = (_a = checkboxGroup == null ? void 0 : checkboxGroup.max) == null ? void 0 : _a.value;\n    const min = (_b = checkboxGroup == null ? void 0 : checkboxGroup.min) == null ? void 0 : _b.value;\n    return !isUndefined(max) && model.value.length >= max && !isChecked.value || !isUndefined(min) && model.value.length <= min && isChecked.value;\n  });\n  const isDisabled = useFormDisabled(computed(() => (checkboxGroup == null ? void 0 : checkboxGroup.disabled.value) || isLimitDisabled.value));\n  return {\n    isDisabled,\n    isLimitDisabled\n  };\n};\n\nexport { useCheckboxDisabled };\n//# sourceMappingURL=use-checkbox-disabled.mjs.map\n","import { inject, getCurrentInstance, nextTick, computed, watch } from 'vue';\nimport '../../../form/index.mjs';\nimport '../../../../utils/index.mjs';\nimport { checkboxGroupContextKey } from '../constants.mjs';\nimport { useFormItem } from '../../../form/src/hooks/use-form-item.mjs';\nimport { debugWarn } from '../../../../utils/error.mjs';\n\nconst useCheckboxEvent = (props, {\n  model,\n  isLimitExceeded,\n  hasOwnLabel,\n  isDisabled,\n  isLabeledByFormItem\n}) => {\n  const checkboxGroup = inject(checkboxGroupContextKey, void 0);\n  const { formItem } = useFormItem();\n  const { emit } = getCurrentInstance();\n  function getLabeledValue(value) {\n    var _a, _b;\n    return value === props.trueLabel || value === true ? (_a = props.trueLabel) != null ? _a : true : (_b = props.falseLabel) != null ? _b : false;\n  }\n  function emitChangeEvent(checked, e) {\n    emit(\"change\", getLabeledValue(checked), e);\n  }\n  function handleChange(e) {\n    if (isLimitExceeded.value)\n      return;\n    const target = e.target;\n    emit(\"change\", getLabeledValue(target.checked), e);\n  }\n  async function onClickRoot(e) {\n    if (isLimitExceeded.value)\n      return;\n    if (!hasOwnLabel.value && !isDisabled.value && isLabeledByFormItem.value) {\n      const eventTargets = e.composedPath();\n      const hasLabel = eventTargets.some((item) => item.tagName === \"LABEL\");\n      if (!hasLabel) {\n        model.value = getLabeledValue([false, props.falseLabel].includes(model.value));\n        await nextTick();\n        emitChangeEvent(model.value, e);\n      }\n    }\n  }\n  const validateEvent = computed(() => (checkboxGroup == null ? void 0 : checkboxGroup.validateEvent) || props.validateEvent);\n  watch(() => props.modelValue, () => {\n    if (validateEvent.value) {\n      formItem == null ? void 0 : formItem.validate(\"change\").catch((err) => debugWarn(err));\n    }\n  });\n  return {\n    handleChange,\n    onClickRoot\n  };\n};\n\nexport { useCheckboxEvent };\n//# sourceMappingURL=use-checkbox-event.mjs.map\n","import { ref, getCurrentInstance, inject, computed } from 'vue';\nimport '../../../../utils/index.mjs';\nimport '../../../../constants/index.mjs';\nimport { checkboxGroupContextKey } from '../constants.mjs';\nimport { isUndefined } from '../../../../utils/types.mjs';\nimport { isArray } from '@vue/shared';\nimport { UPDATE_MODEL_EVENT } from '../../../../constants/event.mjs';\n\nconst useCheckboxModel = (props) => {\n  const selfModel = ref(false);\n  const { emit } = getCurrentInstance();\n  const checkboxGroup = inject(checkboxGroupContextKey, void 0);\n  const isGroup = computed(() => isUndefined(checkboxGroup) === false);\n  const isLimitExceeded = ref(false);\n  const model = computed({\n    get() {\n      var _a, _b;\n      return isGroup.value ? (_a = checkboxGroup == null ? void 0 : checkboxGroup.modelValue) == null ? void 0 : _a.value : (_b = props.modelValue) != null ? _b : selfModel.value;\n    },\n    set(val) {\n      var _a, _b;\n      if (isGroup.value && isArray(val)) {\n        isLimitExceeded.value = ((_a = checkboxGroup == null ? void 0 : checkboxGroup.max) == null ? void 0 : _a.value) !== void 0 && val.length > (checkboxGroup == null ? void 0 : checkboxGroup.max.value);\n        isLimitExceeded.value === false && ((_b = checkboxGroup == null ? void 0 : checkboxGroup.changeEvent) == null ? void 0 : _b.call(checkboxGroup, val));\n      } else {\n        emit(UPDATE_MODEL_EVENT, val);\n        selfModel.value = val;\n      }\n    }\n  });\n  return {\n    model,\n    isGroup,\n    isLimitExceeded\n  };\n};\n\nexport { useCheckboxModel };\n//# sourceMappingURL=use-checkbox-model.mjs.map\n","import { inject, ref, computed, toRaw } from 'vue';\nimport { isEqual } from 'lodash-unified';\nimport '../../../form/index.mjs';\nimport '../../../../utils/index.mjs';\nimport { checkboxGroupContextKey } from '../constants.mjs';\nimport { isBoolean } from '../../../../utils/types.mjs';\nimport { isArray, isObject } from '@vue/shared';\nimport { useFormSize } from '../../../form/src/hooks/use-form-common-props.mjs';\n\nconst useCheckboxStatus = (props, slots, { model }) => {\n  const checkboxGroup = inject(checkboxGroupContextKey, void 0);\n  const isFocused = ref(false);\n  const isChecked = computed(() => {\n    const value = model.value;\n    if (isBoolean(value)) {\n      return value;\n    } else if (isArray(value)) {\n      if (isObject(props.label)) {\n        return value.map(toRaw).some((o) => isEqual(o, props.label));\n      } else {\n        return value.map(toRaw).includes(props.label);\n      }\n    } else if (value !== null && value !== void 0) {\n      return value === props.trueLabel;\n    } else {\n      return !!value;\n    }\n  });\n  const checkboxButtonSize = useFormSize(computed(() => {\n    var _a;\n    return (_a = checkboxGroup == null ? void 0 : checkboxGroup.size) == null ? void 0 : _a.value;\n  }), {\n    prop: true\n  });\n  const checkboxSize = useFormSize(computed(() => {\n    var _a;\n    return (_a = checkboxGroup == null ? void 0 : checkboxGroup.size) == null ? void 0 : _a.value;\n  }));\n  const hasOwnLabel = computed(() => {\n    return !!(slots.default || props.label);\n  });\n  return {\n    checkboxButtonSize,\n    isChecked,\n    isFocused,\n    checkboxSize,\n    hasOwnLabel\n  };\n};\n\nexport { useCheckboxStatus };\n//# sourceMappingURL=use-checkbox-status.mjs.map\n","import '../../../form/index.mjs';\nimport '../../../../utils/index.mjs';\nimport { useCheckboxDisabled } from './use-checkbox-disabled.mjs';\nimport { useCheckboxEvent } from './use-checkbox-event.mjs';\nimport { useCheckboxModel } from './use-checkbox-model.mjs';\nimport { useCheckboxStatus } from './use-checkbox-status.mjs';\nimport { isArray } from '@vue/shared';\nimport { useFormItem, useFormItemInputId } from '../../../form/src/hooks/use-form-item.mjs';\n\nconst setStoreValue = (props, { model }) => {\n  function addToStore() {\n    if (isArray(model.value) && !model.value.includes(props.label)) {\n      model.value.push(props.label);\n    } else {\n      model.value = props.trueLabel || true;\n    }\n  }\n  props.checked && addToStore();\n};\nconst useCheckbox = (props, slots) => {\n  const { formItem: elFormItem } = useFormItem();\n  const { model, isGroup, isLimitExceeded } = useCheckboxModel(props);\n  const {\n    isFocused,\n    isChecked,\n    checkboxButtonSize,\n    checkboxSize,\n    hasOwnLabel\n  } = useCheckboxStatus(props, slots, { model });\n  const { isDisabled } = useCheckboxDisabled({ model, isChecked });\n  const { inputId, isLabeledByFormItem } = useFormItemInputId(props, {\n    formItemContext: elFormItem,\n    disableIdGeneration: hasOwnLabel,\n    disableIdManagement: isGroup\n  });\n  const { handleChange, onClickRoot } = useCheckboxEvent(props, {\n    model,\n    isLimitExceeded,\n    hasOwnLabel,\n    isDisabled,\n    isLabeledByFormItem\n  });\n  setStoreValue(props, { model });\n  return {\n    inputId,\n    isLabeledByFormItem,\n    isChecked,\n    isDisabled,\n    isFocused,\n    checkboxButtonSize,\n    checkboxSize,\n    hasOwnLabel,\n    model,\n    handleChange,\n    onClickRoot\n  };\n};\n\nexport { useCheckbox };\n//# sourceMappingURL=use-checkbox.mjs.map\n","import { defineComponent, useSlots, computed, openBlock, createBlock, resolveDynamicComponent, unref, normalizeClass, withCtx, createElementVNode, withDirectives, createElementBlock, isRef, vModelCheckbox, renderSlot, Fragment, createTextVNode, toDisplayString, createCommentVNode } from 'vue';\nimport '../../../hooks/index.mjs';\nimport { checkboxProps, checkboxEmits } from './checkbox.mjs';\nimport './composables/index.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useCheckbox } from './composables/use-checkbox.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst _hoisted_1 = [\"tabindex\", \"role\", \"aria-checked\"];\nconst _hoisted_2 = [\"id\", \"aria-hidden\", \"name\", \"tabindex\", \"disabled\", \"true-value\", \"false-value\"];\nconst _hoisted_3 = [\"id\", \"aria-hidden\", \"disabled\", \"value\", \"name\", \"tabindex\"];\nconst __default__ = defineComponent({\n  name: \"ElCheckbox\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  ...__default__,\n  props: checkboxProps,\n  emits: checkboxEmits,\n  setup(__props) {\n    const props = __props;\n    const slots = useSlots();\n    const {\n      inputId,\n      isLabeledByFormItem,\n      isChecked,\n      isDisabled,\n      isFocused,\n      checkboxSize,\n      hasOwnLabel,\n      model,\n      handleChange,\n      onClickRoot\n    } = useCheckbox(props, slots);\n    const ns = useNamespace(\"checkbox\");\n    const compKls = computed(() => {\n      return [\n        ns.b(),\n        ns.m(checkboxSize.value),\n        ns.is(\"disabled\", isDisabled.value),\n        ns.is(\"bordered\", props.border),\n        ns.is(\"checked\", isChecked.value)\n      ];\n    });\n    const spanKls = computed(() => {\n      return [\n        ns.e(\"input\"),\n        ns.is(\"disabled\", isDisabled.value),\n        ns.is(\"checked\", isChecked.value),\n        ns.is(\"indeterminate\", props.indeterminate),\n        ns.is(\"focus\", isFocused.value)\n      ];\n    });\n    return (_ctx, _cache) => {\n      return openBlock(), createBlock(resolveDynamicComponent(!unref(hasOwnLabel) && unref(isLabeledByFormItem) ? \"span\" : \"label\"), {\n        class: normalizeClass(unref(compKls)),\n        \"aria-controls\": _ctx.indeterminate ? _ctx.controls : null,\n        onClick: unref(onClickRoot)\n      }, {\n        default: withCtx(() => [\n          createElementVNode(\"span\", {\n            class: normalizeClass(unref(spanKls)),\n            tabindex: _ctx.indeterminate ? 0 : void 0,\n            role: _ctx.indeterminate ? \"checkbox\" : void 0,\n            \"aria-checked\": _ctx.indeterminate ? \"mixed\" : void 0\n          }, [\n            _ctx.trueLabel || _ctx.falseLabel ? withDirectives((openBlock(), createElementBlock(\"input\", {\n              key: 0,\n              id: unref(inputId),\n              \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event) => isRef(model) ? model.value = $event : null),\n              class: normalizeClass(unref(ns).e(\"original\")),\n              type: \"checkbox\",\n              \"aria-hidden\": _ctx.indeterminate ? \"true\" : \"false\",\n              name: _ctx.name,\n              tabindex: _ctx.tabindex,\n              disabled: unref(isDisabled),\n              \"true-value\": _ctx.trueLabel,\n              \"false-value\": _ctx.falseLabel,\n              onChange: _cache[1] || (_cache[1] = (...args) => unref(handleChange) && unref(handleChange)(...args)),\n              onFocus: _cache[2] || (_cache[2] = ($event) => isFocused.value = true),\n              onBlur: _cache[3] || (_cache[3] = ($event) => isFocused.value = false)\n            }, null, 42, _hoisted_2)), [\n              [vModelCheckbox, unref(model)]\n            ]) : withDirectives((openBlock(), createElementBlock(\"input\", {\n              key: 1,\n              id: unref(inputId),\n              \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event) => isRef(model) ? model.value = $event : null),\n              class: normalizeClass(unref(ns).e(\"original\")),\n              type: \"checkbox\",\n              \"aria-hidden\": _ctx.indeterminate ? \"true\" : \"false\",\n              disabled: unref(isDisabled),\n              value: _ctx.label,\n              name: _ctx.name,\n              tabindex: _ctx.tabindex,\n              onChange: _cache[5] || (_cache[5] = (...args) => unref(handleChange) && unref(handleChange)(...args)),\n              onFocus: _cache[6] || (_cache[6] = ($event) => isFocused.value = true),\n              onBlur: _cache[7] || (_cache[7] = ($event) => isFocused.value = false)\n            }, null, 42, _hoisted_3)), [\n              [vModelCheckbox, unref(model)]\n            ]),\n            createElementVNode(\"span\", {\n              class: normalizeClass(unref(ns).e(\"inner\"))\n            }, null, 2)\n          ], 10, _hoisted_1),\n          unref(hasOwnLabel) ? (openBlock(), createElementBlock(\"span\", {\n            key: 0,\n            class: normalizeClass(unref(ns).e(\"label\"))\n          }, [\n            renderSlot(_ctx.$slots, \"default\"),\n            !_ctx.$slots.default ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [\n              createTextVNode(toDisplayString(_ctx.label), 1)\n            ], 64)) : createCommentVNode(\"v-if\", true)\n          ], 2)) : createCommentVNode(\"v-if\", true)\n        ]),\n        _: 3\n      }, 8, [\"class\", \"aria-controls\", \"onClick\"]);\n    };\n  }\n});\nvar Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox.vue\"]]);\n\nexport { Checkbox as default };\n//# sourceMappingURL=checkbox2.mjs.map\n","import { defineComponent, useSlots, inject, computed, openBlock, createElementBlock, normalizeClass, unref, withDirectives, isRef, vModelCheckbox, normalizeStyle, renderSlot, createTextVNode, toDisplayString, createCommentVNode } from 'vue';\nimport '../../../hooks/index.mjs';\nimport { checkboxGroupContextKey } from './constants.mjs';\nimport './composables/index.mjs';\nimport { checkboxProps, checkboxEmits } from './checkbox.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useCheckbox } from './composables/use-checkbox.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst _hoisted_1 = [\"name\", \"tabindex\", \"disabled\", \"true-value\", \"false-value\"];\nconst _hoisted_2 = [\"name\", \"tabindex\", \"disabled\", \"value\"];\nconst __default__ = defineComponent({\n  name: \"ElCheckboxButton\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  ...__default__,\n  props: checkboxProps,\n  emits: checkboxEmits,\n  setup(__props) {\n    const props = __props;\n    const slots = useSlots();\n    const {\n      isFocused,\n      isChecked,\n      isDisabled,\n      checkboxButtonSize,\n      model,\n      handleChange\n    } = useCheckbox(props, slots);\n    const checkboxGroup = inject(checkboxGroupContextKey, void 0);\n    const ns = useNamespace(\"checkbox\");\n    const activeStyle = computed(() => {\n      var _a, _b, _c, _d;\n      const fillValue = (_b = (_a = checkboxGroup == null ? void 0 : checkboxGroup.fill) == null ? void 0 : _a.value) != null ? _b : \"\";\n      return {\n        backgroundColor: fillValue,\n        borderColor: fillValue,\n        color: (_d = (_c = checkboxGroup == null ? void 0 : checkboxGroup.textColor) == null ? void 0 : _c.value) != null ? _d : \"\",\n        boxShadow: fillValue ? `-1px 0 0 0 ${fillValue}` : void 0\n      };\n    });\n    const labelKls = computed(() => {\n      return [\n        ns.b(\"button\"),\n        ns.bm(\"button\", checkboxButtonSize.value),\n        ns.is(\"disabled\", isDisabled.value),\n        ns.is(\"checked\", isChecked.value),\n        ns.is(\"focus\", isFocused.value)\n      ];\n    });\n    return (_ctx, _cache) => {\n      return openBlock(), createElementBlock(\"label\", {\n        class: normalizeClass(unref(labelKls))\n      }, [\n        _ctx.trueLabel || _ctx.falseLabel ? withDirectives((openBlock(), createElementBlock(\"input\", {\n          key: 0,\n          \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event) => isRef(model) ? model.value = $event : null),\n          class: normalizeClass(unref(ns).be(\"button\", \"original\")),\n          type: \"checkbox\",\n          name: _ctx.name,\n          tabindex: _ctx.tabindex,\n          disabled: unref(isDisabled),\n          \"true-value\": _ctx.trueLabel,\n          \"false-value\": _ctx.falseLabel,\n          onChange: _cache[1] || (_cache[1] = (...args) => unref(handleChange) && unref(handleChange)(...args)),\n          onFocus: _cache[2] || (_cache[2] = ($event) => isFocused.value = true),\n          onBlur: _cache[3] || (_cache[3] = ($event) => isFocused.value = false)\n        }, null, 42, _hoisted_1)), [\n          [vModelCheckbox, unref(model)]\n        ]) : withDirectives((openBlock(), createElementBlock(\"input\", {\n          key: 1,\n          \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event) => isRef(model) ? model.value = $event : null),\n          class: normalizeClass(unref(ns).be(\"button\", \"original\")),\n          type: \"checkbox\",\n          name: _ctx.name,\n          tabindex: _ctx.tabindex,\n          disabled: unref(isDisabled),\n          value: _ctx.label,\n          onChange: _cache[5] || (_cache[5] = (...args) => unref(handleChange) && unref(handleChange)(...args)),\n          onFocus: _cache[6] || (_cache[6] = ($event) => isFocused.value = true),\n          onBlur: _cache[7] || (_cache[7] = ($event) => isFocused.value = false)\n        }, null, 42, _hoisted_2)), [\n          [vModelCheckbox, unref(model)]\n        ]),\n        _ctx.$slots.default || _ctx.label ? (openBlock(), createElementBlock(\"span\", {\n          key: 2,\n          class: normalizeClass(unref(ns).be(\"button\", \"inner\")),\n          style: normalizeStyle(unref(isChecked) ? unref(activeStyle) : void 0)\n        }, [\n          renderSlot(_ctx.$slots, \"default\", {}, () => [\n            createTextVNode(toDisplayString(_ctx.label), 1)\n          ])\n        ], 6)) : createCommentVNode(\"v-if\", true)\n      ], 2);\n    };\n  }\n});\nvar CheckboxButton = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-button.vue\"]]);\n\nexport { CheckboxButton as default };\n//# sourceMappingURL=checkbox-button.mjs.map\n","import '../../../constants/index.mjs';\nimport '../../../hooks/index.mjs';\nimport '../../../utils/index.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { useSizeProp } from '../../../hooks/use-size/index.mjs';\nimport { UPDATE_MODEL_EVENT } from '../../../constants/event.mjs';\nimport { isArray } from '@vue/shared';\n\nconst checkboxGroupProps = buildProps({\n  modelValue: {\n    type: definePropType(Array),\n    default: () => []\n  },\n  disabled: Boolean,\n  min: Number,\n  max: Number,\n  size: useSizeProp,\n  label: String,\n  fill: String,\n  textColor: String,\n  tag: {\n    type: String,\n    default: \"div\"\n  },\n  validateEvent: {\n    type: Boolean,\n    default: true\n  }\n});\nconst checkboxGroupEmits = {\n  [UPDATE_MODEL_EVENT]: (val) => isArray(val),\n  change: (val) => isArray(val)\n};\n\nexport { checkboxGroupEmits, checkboxGroupProps };\n//# sourceMappingURL=checkbox-group.mjs.map\n","import { defineComponent, nextTick, computed, provide, toRefs, watch, openBlock, createBlock, resolveDynamicComponent, unref, normalizeClass, withCtx, renderSlot } from 'vue';\nimport { pick } from 'lodash-unified';\nimport '../../../constants/index.mjs';\nimport '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport '../../form/index.mjs';\nimport { checkboxGroupProps, checkboxGroupEmits } from './checkbox-group.mjs';\nimport { checkboxGroupContextKey } from './constants.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { useFormItem, useFormItemInputId } from '../../form/src/hooks/use-form-item.mjs';\nimport { UPDATE_MODEL_EVENT } from '../../../constants/event.mjs';\nimport { debugWarn } from '../../../utils/error.mjs';\n\nconst __default__ = defineComponent({\n  name: \"ElCheckboxGroup\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  ...__default__,\n  props: checkboxGroupProps,\n  emits: checkboxGroupEmits,\n  setup(__props, { emit }) {\n    const props = __props;\n    const ns = useNamespace(\"checkbox\");\n    const { formItem } = useFormItem();\n    const { inputId: groupId, isLabeledByFormItem } = useFormItemInputId(props, {\n      formItemContext: formItem\n    });\n    const changeEvent = async (value) => {\n      emit(UPDATE_MODEL_EVENT, value);\n      await nextTick();\n      emit(\"change\", value);\n    };\n    const modelValue = computed({\n      get() {\n        return props.modelValue;\n      },\n      set(val) {\n        changeEvent(val);\n      }\n    });\n    provide(checkboxGroupContextKey, {\n      ...pick(toRefs(props), [\n        \"size\",\n        \"min\",\n        \"max\",\n        \"disabled\",\n        \"validateEvent\",\n        \"fill\",\n        \"textColor\"\n      ]),\n      modelValue,\n      changeEvent\n    });\n    watch(() => props.modelValue, () => {\n      if (props.validateEvent) {\n        formItem == null ? void 0 : formItem.validate(\"change\").catch((err) => debugWarn(err));\n      }\n    });\n    return (_ctx, _cache) => {\n      var _a;\n      return openBlock(), createBlock(resolveDynamicComponent(_ctx.tag), {\n        id: unref(groupId),\n        class: normalizeClass(unref(ns).b(\"group\")),\n        role: \"group\",\n        \"aria-label\": !unref(isLabeledByFormItem) ? _ctx.label || \"checkbox-group\" : void 0,\n        \"aria-labelledby\": unref(isLabeledByFormItem) ? (_a = unref(formItem)) == null ? void 0 : _a.labelId : void 0\n      }, {\n        default: withCtx(() => [\n          renderSlot(_ctx.$slots, \"default\")\n        ]),\n        _: 3\n      }, 8, [\"id\", \"class\", \"aria-label\", \"aria-labelledby\"]);\n    };\n  }\n});\nvar CheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-group.vue\"]]);\n\nexport { CheckboxGroup as default };\n//# sourceMappingURL=checkbox-group2.mjs.map\n","import '../../utils/index.mjs';\nimport Checkbox from './src/checkbox2.mjs';\nimport CheckboxButton from './src/checkbox-button.mjs';\nimport CheckboxGroup from './src/checkbox-group2.mjs';\nexport { checkboxGroupEmits, checkboxGroupProps } from './src/checkbox-group.mjs';\nexport { checkboxEmits, checkboxProps } from './src/checkbox.mjs';\nexport { checkboxGroupContextKey } from './src/constants.mjs';\nimport { withInstall, withNoopInstall } from '../../utils/vue/install.mjs';\n\nconst ElCheckbox = withInstall(Checkbox, {\n  CheckboxButton,\n  CheckboxGroup\n});\nconst ElCheckboxButton = withNoopInstall(CheckboxButton);\nconst ElCheckboxGroup = withNoopInstall(CheckboxGroup);\n\nexport { ElCheckbox, ElCheckboxButton, ElCheckboxGroup, ElCheckbox as default };\n//# sourceMappingURL=index.mjs.map\n","import '../../../utils/index.mjs';\nimport '../../../constants/index.mjs';\nimport { isNumber } from '../../../utils/types.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { mutable } from '../../../utils/typescript.mjs';\nimport { UPDATE_MODEL_EVENT, CHANGE_EVENT } from '../../../constants/event.mjs';\n\nconst emitChangeFn = (value) => typeof isNumber(value);\nconst collapseProps = buildProps({\n  accordion: Boolean,\n  modelValue: {\n    type: definePropType([Array, String, Number]),\n    default: () => mutable([])\n  }\n});\nconst collapseEmits = {\n  [UPDATE_MODEL_EVENT]: emitChangeFn,\n  [CHANGE_EVENT]: emitChangeFn\n};\n\nexport { collapseEmits, collapseProps, emitChangeFn };\n//# sourceMappingURL=collapse.mjs.map\n","const collapseContextKey = Symbol(\"collapseContextKey\");\n\nexport { collapseContextKey };\n//# sourceMappingURL=constants.mjs.map\n","import { ref, watch, provide, computed } from 'vue';\nimport '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport '../../../constants/index.mjs';\nimport { collapseContextKey } from './constants.mjs';\nimport { castArray } from 'lodash-unified';\nimport { UPDATE_MODEL_EVENT, CHANGE_EVENT } from '../../../constants/event.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst useCollapse = (props, emit) => {\n  const activeNames = ref(castArray(props.modelValue));\n  const setActiveNames = (_activeNames) => {\n    activeNames.value = _activeNames;\n    const value = props.accordion ? activeNames.value[0] : activeNames.value;\n    emit(UPDATE_MODEL_EVENT, value);\n    emit(CHANGE_EVENT, value);\n  };\n  const handleItemClick = (name) => {\n    if (props.accordion) {\n      setActiveNames([activeNames.value[0] === name ? \"\" : name]);\n    } else {\n      const _activeNames = [...activeNames.value];\n      const index = _activeNames.indexOf(name);\n      if (index > -1) {\n        _activeNames.splice(index, 1);\n      } else {\n        _activeNames.push(name);\n      }\n      setActiveNames(_activeNames);\n    }\n  };\n  watch(() => props.modelValue, () => activeNames.value = castArray(props.modelValue), { deep: true });\n  provide(collapseContextKey, {\n    activeNames,\n    handleItemClick\n  });\n  return {\n    activeNames,\n    setActiveNames\n  };\n};\nconst useCollapseDOM = () => {\n  const ns = useNamespace(\"collapse\");\n  const rootKls = computed(() => ns.b());\n  return {\n    rootKls\n  };\n};\n\nexport { useCollapse, useCollapseDOM };\n//# sourceMappingURL=use-collapse.mjs.map\n","import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from 'vue';\nimport { collapseProps, collapseEmits } from './collapse.mjs';\nimport { useCollapse, useCollapseDOM } from './use-collapse.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\n\nconst __default__ = defineComponent({\n  name: \"ElCollapse\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  ...__default__,\n  props: collapseProps,\n  emits: collapseEmits,\n  setup(__props, { expose, emit }) {\n    const props = __props;\n    const { activeNames, setActiveNames } = useCollapse(props, emit);\n    const { rootKls } = useCollapseDOM();\n    expose({\n      activeNames,\n      setActiveNames\n    });\n    return (_ctx, _cache) => {\n      return openBlock(), createElementBlock(\"div\", {\n        class: normalizeClass(unref(rootKls)),\n        role: \"tablist\",\n        \"aria-multiselectable\": \"true\"\n      }, [\n        renderSlot(_ctx.$slots, \"default\")\n      ], 2);\n    };\n  }\n});\nvar Collapse = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/collapse/src/collapse.vue\"]]);\n\nexport { Collapse as default };\n//# sourceMappingURL=collapse2.mjs.map\n","import { defineComponent, openBlock, createBlock, Transition, mergeProps, unref, toHandlers, withCtx, renderSlot } from 'vue';\nimport '../../../hooks/index.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst __default__ = defineComponent({\n  name: \"ElCollapseTransition\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  ...__default__,\n  setup(__props) {\n    const ns = useNamespace(\"collapse-transition\");\n    const on = {\n      beforeEnter(el) {\n        if (!el.dataset)\n          el.dataset = {};\n        el.dataset.oldPaddingTop = el.style.paddingTop;\n        el.dataset.oldPaddingBottom = el.style.paddingBottom;\n        el.style.maxHeight = 0;\n        el.style.paddingTop = 0;\n        el.style.paddingBottom = 0;\n      },\n      enter(el) {\n        el.dataset.oldOverflow = el.style.overflow;\n        if (el.scrollHeight !== 0) {\n          el.style.maxHeight = `${el.scrollHeight}px`;\n          el.style.paddingTop = el.dataset.oldPaddingTop;\n          el.style.paddingBottom = el.dataset.oldPaddingBottom;\n        } else {\n          el.style.maxHeight = 0;\n          el.style.paddingTop = el.dataset.oldPaddingTop;\n          el.style.paddingBottom = el.dataset.oldPaddingBottom;\n        }\n        el.style.overflow = \"hidden\";\n      },\n      afterEnter(el) {\n        el.style.maxHeight = \"\";\n        el.style.overflow = el.dataset.oldOverflow;\n      },\n      beforeLeave(el) {\n        if (!el.dataset)\n          el.dataset = {};\n        el.dataset.oldPaddingTop = el.style.paddingTop;\n        el.dataset.oldPaddingBottom = el.style.paddingBottom;\n        el.dataset.oldOverflow = el.style.overflow;\n        el.style.maxHeight = `${el.scrollHeight}px`;\n        el.style.overflow = \"hidden\";\n      },\n      leave(el) {\n        if (el.scrollHeight !== 0) {\n          el.style.maxHeight = 0;\n          el.style.paddingTop = 0;\n          el.style.paddingBottom = 0;\n        }\n      },\n      afterLeave(el) {\n        el.style.maxHeight = \"\";\n        el.style.overflow = el.dataset.oldOverflow;\n        el.style.paddingTop = el.dataset.oldPaddingTop;\n        el.style.paddingBottom = el.dataset.oldPaddingBottom;\n      }\n    };\n    return (_ctx, _cache) => {\n      return openBlock(), createBlock(Transition, mergeProps({\n        name: unref(ns).b()\n      }, toHandlers(on)), {\n        default: withCtx(() => [\n          renderSlot(_ctx.$slots, \"default\")\n        ]),\n        _: 3\n      }, 16, [\"name\"]);\n    };\n  }\n});\nvar CollapseTransition = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/collapse-transition/src/collapse-transition.vue\"]]);\n\nexport { CollapseTransition as default };\n//# sourceMappingURL=collapse-transition.mjs.map\n","import CollapseTransition from './src/collapse-transition.mjs';\n\nCollapseTransition.install = (app) => {\n  app.component(CollapseTransition.name, CollapseTransition);\n};\nconst _CollapseTransition = CollapseTransition;\nconst ElCollapseTransition = _CollapseTransition;\n\nexport { ElCollapseTransition, _CollapseTransition as default };\n//# sourceMappingURL=index.mjs.map\n","import '../../../utils/index.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { generateId } from '../../../utils/rand.mjs';\n\nconst collapseItemProps = buildProps({\n  title: {\n    type: String,\n    default: \"\"\n  },\n  name: {\n    type: definePropType([String, Number]),\n    default: () => generateId()\n  },\n  disabled: Boolean\n});\n\nexport { collapseItemProps };\n//# sourceMappingURL=collapse-item.mjs.map\n","import { inject, ref, computed, unref } from 'vue';\nimport '../../../hooks/index.mjs';\nimport '../../../utils/index.mjs';\nimport { collapseContextKey } from './constants.mjs';\nimport { generateId } from '../../../utils/rand.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst useCollapseItem = (props) => {\n  const collapse = inject(collapseContextKey);\n  const focusing = ref(false);\n  const isClick = ref(false);\n  const id = ref(generateId());\n  const isActive = computed(() => collapse == null ? void 0 : collapse.activeNames.value.includes(props.name));\n  const handleFocus = () => {\n    setTimeout(() => {\n      if (!isClick.value) {\n        focusing.value = true;\n      } else {\n        isClick.value = false;\n      }\n    }, 50);\n  };\n  const handleHeaderClick = () => {\n    if (props.disabled)\n      return;\n    collapse == null ? void 0 : collapse.handleItemClick(props.name);\n    focusing.value = false;\n    isClick.value = true;\n  };\n  const handleEnterClick = () => {\n    collapse == null ? void 0 : collapse.handleItemClick(props.name);\n  };\n  return {\n    focusing,\n    id,\n    isActive,\n    handleFocus,\n    handleHeaderClick,\n    handleEnterClick\n  };\n};\nconst useCollapseItemDOM = (props, { focusing, isActive, id }) => {\n  const ns = useNamespace(\"collapse\");\n  const rootKls = computed(() => [\n    ns.b(\"item\"),\n    ns.is(\"active\", unref(isActive)),\n    ns.is(\"disabled\", props.disabled)\n  ]);\n  const headKls = computed(() => [\n    ns.be(\"item\", \"header\"),\n    ns.is(\"active\", unref(isActive)),\n    { focusing: unref(focusing) && !props.disabled }\n  ]);\n  const arrowKls = computed(() => [\n    ns.be(\"item\", \"arrow\"),\n    ns.is(\"active\", unref(isActive))\n  ]);\n  const itemWrapperKls = computed(() => ns.be(\"item\", \"wrap\"));\n  const itemContentKls = computed(() => ns.be(\"item\", \"content\"));\n  const scopedContentId = computed(() => ns.b(`content-${unref(id)}`));\n  const scopedHeadId = computed(() => ns.b(`head-${unref(id)}`));\n  return {\n    arrowKls,\n    headKls,\n    rootKls,\n    itemWrapperKls,\n    itemContentKls,\n    scopedContentId,\n    scopedHeadId\n  };\n};\n\nexport { useCollapseItem, useCollapseItemDOM };\n//# sourceMappingURL=use-collapse-item.mjs.map\n","import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, withKeys, withModifiers, renderSlot, createTextVNode, toDisplayString, createVNode, withCtx, withDirectives, vShow } from 'vue';\nimport _CollapseTransition from '../../collapse-transition/index.mjs';\nimport { ElIcon } from '../../icon/index.mjs';\nimport { ArrowRight } from '@element-plus/icons-vue';\nimport { collapseItemProps } from './collapse-item.mjs';\nimport { useCollapseItem, useCollapseItemDOM } from './use-collapse-item.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\n\nconst _hoisted_1 = [\"aria-expanded\", \"aria-controls\", \"aria-describedby\"];\nconst _hoisted_2 = [\"id\", \"tabindex\"];\nconst _hoisted_3 = [\"id\", \"aria-hidden\", \"aria-labelledby\"];\nconst __default__ = defineComponent({\n  name: \"ElCollapseItem\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  ...__default__,\n  props: collapseItemProps,\n  setup(__props, { expose }) {\n    const props = __props;\n    const {\n      focusing,\n      id,\n      isActive,\n      handleFocus,\n      handleHeaderClick,\n      handleEnterClick\n    } = useCollapseItem(props);\n    const {\n      arrowKls,\n      headKls,\n      rootKls,\n      itemWrapperKls,\n      itemContentKls,\n      scopedContentId,\n      scopedHeadId\n    } = useCollapseItemDOM(props, { focusing, isActive, id });\n    expose({\n      isActive\n    });\n    return (_ctx, _cache) => {\n      return openBlock(), createElementBlock(\"div\", {\n        class: normalizeClass(unref(rootKls))\n      }, [\n        createElementVNode(\"div\", {\n          role: \"tab\",\n          \"aria-expanded\": unref(isActive),\n          \"aria-controls\": unref(scopedContentId),\n          \"aria-describedby\": unref(scopedContentId)\n        }, [\n          createElementVNode(\"div\", {\n            id: unref(scopedHeadId),\n            class: normalizeClass(unref(headKls)),\n            role: \"button\",\n            tabindex: _ctx.disabled ? -1 : 0,\n            onClick: _cache[0] || (_cache[0] = (...args) => unref(handleHeaderClick) && unref(handleHeaderClick)(...args)),\n            onKeypress: _cache[1] || (_cache[1] = withKeys(withModifiers((...args) => unref(handleEnterClick) && unref(handleEnterClick)(...args), [\"stop\", \"prevent\"]), [\"space\", \"enter\"])),\n            onFocus: _cache[2] || (_cache[2] = (...args) => unref(handleFocus) && unref(handleFocus)(...args)),\n            onBlur: _cache[3] || (_cache[3] = ($event) => focusing.value = false)\n          }, [\n            renderSlot(_ctx.$slots, \"title\", {}, () => [\n              createTextVNode(toDisplayString(_ctx.title), 1)\n            ]),\n            createVNode(unref(ElIcon), {\n              class: normalizeClass(unref(arrowKls))\n            }, {\n              default: withCtx(() => [\n                createVNode(unref(ArrowRight))\n              ]),\n              _: 1\n            }, 8, [\"class\"])\n          ], 42, _hoisted_2)\n        ], 8, _hoisted_1),\n        createVNode(unref(_CollapseTransition), null, {\n          default: withCtx(() => [\n            withDirectives(createElementVNode(\"div\", {\n              id: unref(scopedContentId),\n              class: normalizeClass(unref(itemWrapperKls)),\n              role: \"tabpanel\",\n              \"aria-hidden\": !unref(isActive),\n              \"aria-labelledby\": unref(scopedHeadId)\n            }, [\n              createElementVNode(\"div\", {\n                class: normalizeClass(unref(itemContentKls))\n              }, [\n                renderSlot(_ctx.$slots, \"default\")\n              ], 2)\n            ], 10, _hoisted_3), [\n              [vShow, unref(isActive)]\n            ])\n          ]),\n          _: 3\n        })\n      ], 2);\n    };\n  }\n});\nvar CollapseItem = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/collapse/src/collapse-item.vue\"]]);\n\nexport { CollapseItem as default };\n//# sourceMappingURL=collapse-item2.mjs.map\n","import '../../utils/index.mjs';\nimport Collapse from './src/collapse2.mjs';\nimport CollapseItem from './src/collapse-item2.mjs';\nexport { collapseEmits, collapseProps, emitChangeFn } from './src/collapse.mjs';\nexport { collapseItemProps } from './src/collapse-item.mjs';\nexport { collapseContextKey } from './src/constants.mjs';\nimport { withInstall, withNoopInstall } from '../../utils/vue/install.mjs';\n\nconst ElCollapse = withInstall(Collapse, {\n  CollapseItem\n});\nconst ElCollapseItem = withNoopInstall(CollapseItem);\n\nexport { ElCollapse, ElCollapseItem, ElCollapse as default };\n//# sourceMappingURL=index.mjs.map\n","!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define(t):(e=\"undefined\"!=typeof globalThis?globalThis:e||self).dayjs_plugin_advancedFormat=t()}(this,(function(){\"use strict\";return function(e,t){var r=t.prototype,n=r.format;r.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return n.bind(this)(e);var s=this.$utils(),a=(e||\"YYYY-MM-DDTHH:mm:ssZ\").replace(/\\[([^\\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(e){switch(e){case\"Q\":return Math.ceil((t.$M+1)/3);case\"Do\":return r.ordinal(t.$D);case\"gggg\":return t.weekYear();case\"GGGG\":return t.isoWeekYear();case\"wo\":return r.ordinal(t.week(),\"W\");case\"w\":case\"ww\":return s.s(t.week(),\"w\"===e?1:2,\"0\");case\"W\":case\"WW\":return s.s(t.isoWeek(),\"W\"===e?1:2,\"0\");case\"k\":case\"kk\":return s.s(String(0===t.$H?24:t.$H),\"k\"===e?1:2,\"0\");case\"X\":return Math.floor(t.$d.getTime()/1e3);case\"x\":return t.$d.getTime();case\"z\":return\"[\"+t.offsetName()+\"]\";case\"zzz\":return\"[\"+t.offsetName(\"long\")+\"]\";default:return e}}));return n.bind(this)(a)}}}));","!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define(t):(e=\"undefined\"!=typeof globalThis?globalThis:e||self).dayjs_plugin_weekOfYear=t()}(this,(function(){\"use strict\";var e=\"week\",t=\"year\";return function(i,n,r){var f=n.prototype;f.week=function(i){if(void 0===i&&(i=null),null!==i)return this.add(7*(i-this.week()),\"day\");var n=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var f=r(this).startOf(t).add(1,t).date(n),s=r(this).endOf(e);if(f.isBefore(s))return 1}var a=r(this).startOf(t).date(n).startOf(e).subtract(1,\"millisecond\"),o=this.diff(a,e,!0);return o<0?r(this).startOf(\"week\").week():Math.ceil(o)},f.weeks=function(e){return void 0===e&&(e=null),this.week(e)}}}));","!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define(t):(e=\"undefined\"!=typeof globalThis?globalThis:e||self).dayjs_plugin_weekYear=t()}(this,(function(){\"use strict\";return function(e,t){t.prototype.weekYear=function(){var e=this.month(),t=this.week(),n=this.year();return 1===t&&11===e?n+1:0===e&&t>=52?n-1:n}}}));","!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define(t):(e=\"undefined\"!=typeof globalThis?globalThis:e||self).dayjs_plugin_dayOfYear=t()}(this,(function(){\"use strict\";return function(e,t,n){t.prototype.dayOfYear=function(e){var t=Math.round((n(this).startOf(\"day\")-n(this).startOf(\"year\"))/864e5)+1;return null==e?t:this.add(e-t,\"day\")}}}));","!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define(t):(e=\"undefined\"!=typeof globalThis?globalThis:e||self).dayjs_plugin_isSameOrAfter=t()}(this,(function(){\"use strict\";return function(e,t){t.prototype.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)}}}));","!function(e,i){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=i():\"function\"==typeof define&&define.amd?define(i):(e=\"undefined\"!=typeof globalThis?globalThis:e||self).dayjs_plugin_isSameOrBefore=i()}(this,(function(){\"use strict\";return function(e,i){i.prototype.isSameOrBefore=function(e,i){return this.isSame(e,i)||this.isBefore(e,i)}}}));","const ROOT_PICKER_INJECTION_KEY = Symbol();\n\nexport { ROOT_PICKER_INJECTION_KEY };\n//# sourceMappingURL=constants.mjs.map\n","import '../../../time-picker/index.mjs';\nimport '../../../../utils/index.mjs';\nimport { buildProps, definePropType } from '../../../../utils/vue/props/runtime.mjs';\nimport { timePickerDefaultProps } from '../../../time-picker/src/common/props.mjs';\n\nconst datePickerProps = buildProps({\n  ...timePickerDefaultProps,\n  type: {\n    type: definePropType(String),\n    default: \"date\"\n  }\n});\n\nexport { datePickerProps };\n//# sourceMappingURL=date-picker.mjs.map\n","import '../../../../utils/index.mjs';\nimport '../../../../constants/index.mjs';\nimport { buildProps, definePropType } from '../../../../utils/vue/props/runtime.mjs';\nimport { datePickTypes } from '../../../../constants/date.mjs';\nimport { isArray } from '@vue/shared';\n\nconst selectionModes = [\"date\", \"dates\", \"year\", \"month\", \"week\", \"range\"];\nconst datePickerSharedProps = buildProps({\n  disabledDate: {\n    type: definePropType(Function)\n  },\n  date: {\n    type: definePropType(Object),\n    required: true\n  },\n  minDate: {\n    type: definePropType(Object)\n  },\n  maxDate: {\n    type: definePropType(Object)\n  },\n  parsedValue: {\n    type: definePropType([Object, Array])\n  },\n  rangeState: {\n    type: definePropType(Object),\n    default: () => ({\n      endDate: null,\n      selecting: false\n    })\n  }\n});\nconst panelSharedProps = buildProps({\n  type: {\n    type: definePropType(String),\n    required: true,\n    values: datePickTypes\n  }\n});\nconst panelRangeSharedProps = buildProps({\n  unlinkPanels: Boolean,\n  parsedValue: {\n    type: definePropType(Array)\n  }\n});\nconst selectionModeWithDefault = (mode) => {\n  return {\n    type: String,\n    values: selectionModes,\n    default: mode\n  };\n};\nconst rangePickerSharedEmits = {\n  pick: (range) => isArray(range)\n};\n\nexport { datePickerSharedProps, panelRangeSharedProps, panelSharedProps, rangePickerSharedEmits, selectionModeWithDefault };\n//# sourceMappingURL=shared.mjs.map\n","import '../../../../utils/index.mjs';\nimport { panelSharedProps } from './shared.mjs';\nimport { buildProps, definePropType } from '../../../../utils/vue/props/runtime.mjs';\n\nconst panelDatePickProps = buildProps({\n  ...panelSharedProps,\n  parsedValue: {\n    type: definePropType([Object, Array])\n  },\n  visible: {\n    type: Boolean\n  },\n  format: {\n    type: String,\n    default: \"\"\n  }\n});\n\nexport { panelDatePickProps };\n//# sourceMappingURL=panel-date-pick.mjs.map\n","import '../../../../utils/index.mjs';\nimport { datePickerSharedProps, selectionModeWithDefault } from './shared.mjs';\nimport { buildProps, definePropType } from '../../../../utils/vue/props/runtime.mjs';\n\nconst basicDateTableProps = buildProps({\n  ...datePickerSharedProps,\n  cellClassName: {\n    type: definePropType(Function)\n  },\n  showWeekNumber: Boolean,\n  selectionMode: selectionModeWithDefault(\"date\")\n});\n\nexport { basicDateTableProps };\n//# sourceMappingURL=basic-date-table.mjs.map\n","import dayjs from 'dayjs';\nimport '../../../utils/index.mjs';\nimport { isArray } from '@vue/shared';\n\nconst isValidRange = (range) => {\n  if (!isArray(range))\n    return false;\n  const [left, right] = range;\n  return dayjs.isDayjs(left) && dayjs.isDayjs(right) && left.isSameOrBefore(right);\n};\nconst getDefaultValue = (defaultValue, { lang, unit, unlinkPanels }) => {\n  let start;\n  if (isArray(defaultValue)) {\n    let [left, right] = defaultValue.map((d) => dayjs(d).locale(lang));\n    if (!unlinkPanels) {\n      right = left.add(1, unit);\n    }\n    return [left, right];\n  } else if (defaultValue) {\n    start = dayjs(defaultValue);\n  } else {\n    start = dayjs();\n  }\n  start = start.locale(lang);\n  return [start, start.add(1, unit)];\n};\nconst buildPickerTable = (dimension, rows, {\n  columnIndexOffset,\n  startDate,\n  nextEndDate,\n  now,\n  unit,\n  relativeDateGetter,\n  setCellMetadata,\n  setRowMetadata\n}) => {\n  for (let rowIndex = 0; rowIndex < dimension.row; rowIndex++) {\n    const row = rows[rowIndex];\n    for (let columnIndex = 0; columnIndex < dimension.column; columnIndex++) {\n      let cell = row[columnIndex + columnIndexOffset];\n      if (!cell) {\n        cell = {\n          row: rowIndex,\n          column: columnIndex,\n          type: \"normal\",\n          inRange: false,\n          start: false,\n          end: false\n        };\n      }\n      const index = rowIndex * dimension.column + columnIndex;\n      const nextStartDate = relativeDateGetter(index);\n      cell.dayjs = nextStartDate;\n      cell.date = nextStartDate.toDate();\n      cell.timestamp = nextStartDate.valueOf();\n      cell.type = \"normal\";\n      cell.inRange = !!(startDate && nextStartDate.isSameOrAfter(startDate, unit) && nextEndDate && nextStartDate.isSameOrBefore(nextEndDate, unit)) || !!(startDate && nextStartDate.isSameOrBefore(startDate, unit) && nextEndDate && nextStartDate.isSameOrAfter(nextEndDate, unit));\n      if (startDate == null ? void 0 : startDate.isSameOrAfter(nextEndDate)) {\n        cell.start = !!nextEndDate && nextStartDate.isSame(nextEndDate, unit);\n        cell.end = startDate && nextStartDate.isSame(startDate, unit);\n      } else {\n        cell.start = !!startDate && nextStartDate.isSame(startDate, unit);\n        cell.end = !!nextEndDate && nextStartDate.isSame(nextEndDate, unit);\n      }\n      const isToday = nextStartDate.isSame(now, unit);\n      if (isToday) {\n        cell.type = \"today\";\n      }\n      setCellMetadata == null ? void 0 : setCellMetadata(cell, { rowIndex, columnIndex });\n      row[columnIndex + columnIndexOffset] = cell;\n    }\n    setRowMetadata == null ? void 0 : setRowMetadata(row);\n  }\n};\n\nexport { buildPickerTable, getDefaultValue, isValidRange };\n//# sourceMappingURL=utils.mjs.map\n","import '../../../../utils/index.mjs';\nimport { buildProps, definePropType } from '../../../../utils/vue/props/runtime.mjs';\n\nconst basicCellProps = buildProps({\n  cell: {\n    type: definePropType(Object)\n  }\n});\n\nexport { basicCellProps };\n//# sourceMappingURL=basic-cell.mjs.map\n","import { defineComponent, inject, createVNode } from 'vue';\nimport '../../../../hooks/index.mjs';\nimport { ROOT_PICKER_INJECTION_KEY } from '../constants.mjs';\nimport { basicCellProps } from '../props/basic-cell.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\n\nvar ElDatePickerCell = defineComponent({\n  name: \"ElDatePickerCell\",\n  props: basicCellProps,\n  setup(props) {\n    const ns = useNamespace(\"date-table-cell\");\n    const {\n      slots\n    } = inject(ROOT_PICKER_INJECTION_KEY);\n    return () => {\n      const {\n        cell\n      } = props;\n      if (slots.default) {\n        const list = slots.default(cell).filter((item) => {\n          return item.patchFlag !== -2 && item.type.toString() !== \"Symbol(Comment)\";\n        });\n        if (list.length) {\n          return list;\n        }\n      }\n      return createVNode(\"div\", {\n        \"class\": ns.b()\n      }, [createVNode(\"span\", {\n        \"class\": ns.e(\"text\")\n      }, [cell == null ? void 0 : cell.text])]);\n    };\n  }\n});\n\nexport { ElDatePickerCell as default };\n//# sourceMappingURL=basic-cell-render.mjs.map\n","import { defineComponent, ref, computed, unref, watch, nextTick, openBlock, createElementBlock, normalizeClass, withModifiers, createElementVNode, toDisplayString, createCommentVNode, Fragment, renderList, createVNode } from 'vue';\nimport dayjs from 'dayjs';\nimport { flatten } from 'lodash-unified';\nimport '../../../../hooks/index.mjs';\nimport '../../../../utils/index.mjs';\nimport { basicDateTableProps } from '../props/basic-date-table.mjs';\nimport { buildPickerTable } from '../utils.mjs';\nimport ElDatePickerCell from './basic-cell-render.mjs';\nimport _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\nimport { useLocale } from '../../../../hooks/use-locale/index.mjs';\nimport { castArray } from '../../../../utils/arrays.mjs';\n\nconst _hoisted_1 = [\"aria-label\", \"onMousedown\"];\nconst _hoisted_2 = {\n  key: 0,\n  scope: \"col\"\n};\nconst _hoisted_3 = [\"aria-label\"];\nconst _hoisted_4 = [\"aria-current\", \"aria-selected\", \"tabindex\"];\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  __name: \"basic-date-table\",\n  props: basicDateTableProps,\n  emits: [\"changerange\", \"pick\", \"select\"],\n  setup(__props, { expose, emit }) {\n    const props = __props;\n    const ns = useNamespace(\"date-table\");\n    const { t, lang } = useLocale();\n    const tbodyRef = ref();\n    const currentCellRef = ref();\n    const lastRow = ref();\n    const lastColumn = ref();\n    const tableRows = ref([[], [], [], [], [], []]);\n    let focusWithClick = false;\n    const firstDayOfWeek = props.date.$locale().weekStart || 7;\n    const WEEKS_CONSTANT = props.date.locale(\"en\").localeData().weekdaysShort().map((_) => _.toLowerCase());\n    const offsetDay = computed(() => {\n      return firstDayOfWeek > 3 ? 7 - firstDayOfWeek : -firstDayOfWeek;\n    });\n    const startDate = computed(() => {\n      const startDayOfMonth = props.date.startOf(\"month\");\n      return startDayOfMonth.subtract(startDayOfMonth.day() || 7, \"day\");\n    });\n    const WEEKS = computed(() => {\n      return WEEKS_CONSTANT.concat(WEEKS_CONSTANT).slice(firstDayOfWeek, firstDayOfWeek + 7);\n    });\n    const hasCurrent = computed(() => {\n      return flatten(rows.value).some((row) => {\n        return row.isCurrent;\n      });\n    });\n    const days = computed(() => {\n      const startOfMonth = props.date.startOf(\"month\");\n      const startOfMonthDay = startOfMonth.day() || 7;\n      const dateCountOfMonth = startOfMonth.daysInMonth();\n      const dateCountOfLastMonth = startOfMonth.subtract(1, \"month\").daysInMonth();\n      return {\n        startOfMonthDay,\n        dateCountOfMonth,\n        dateCountOfLastMonth\n      };\n    });\n    const selectedDate = computed(() => {\n      return props.selectionMode === \"dates\" ? castArray(props.parsedValue) : [];\n    });\n    const setDateText = (cell, {\n      count,\n      rowIndex,\n      columnIndex\n    }) => {\n      const { startOfMonthDay, dateCountOfMonth, dateCountOfLastMonth } = unref(days);\n      const offset = unref(offsetDay);\n      if (rowIndex >= 0 && rowIndex <= 1) {\n        const numberOfDaysFromPreviousMonth = startOfMonthDay + offset < 0 ? 7 + startOfMonthDay + offset : startOfMonthDay + offset;\n        if (columnIndex + rowIndex * 7 >= numberOfDaysFromPreviousMonth) {\n          cell.text = count;\n          return true;\n        } else {\n          cell.text = dateCountOfLastMonth - (numberOfDaysFromPreviousMonth - columnIndex % 7) + 1 + rowIndex * 7;\n          cell.type = \"prev-month\";\n        }\n      } else {\n        if (count <= dateCountOfMonth) {\n          cell.text = count;\n        } else {\n          cell.text = count - dateCountOfMonth;\n          cell.type = \"next-month\";\n        }\n        return true;\n      }\n      return false;\n    };\n    const setCellMetadata = (cell, {\n      columnIndex,\n      rowIndex\n    }, count) => {\n      const { disabledDate, cellClassName } = props;\n      const _selectedDate = unref(selectedDate);\n      const shouldIncrement = setDateText(cell, { count, rowIndex, columnIndex });\n      const cellDate = cell.dayjs.toDate();\n      cell.selected = _selectedDate.find((d) => d.valueOf() === cell.dayjs.valueOf());\n      cell.isSelected = !!cell.selected;\n      cell.isCurrent = isCurrent(cell);\n      cell.disabled = disabledDate == null ? void 0 : disabledDate(cellDate);\n      cell.customClass = cellClassName == null ? void 0 : cellClassName(cellDate);\n      return shouldIncrement;\n    };\n    const setRowMetadata = (row) => {\n      if (props.selectionMode === \"week\") {\n        const [start, end] = props.showWeekNumber ? [1, 7] : [0, 6];\n        const isActive = isWeekActive(row[start + 1]);\n        row[start].inRange = isActive;\n        row[start].start = isActive;\n        row[end].inRange = isActive;\n        row[end].end = isActive;\n      }\n    };\n    const rows = computed(() => {\n      const { minDate, maxDate, rangeState, showWeekNumber } = props;\n      const offset = offsetDay.value;\n      const rows_ = tableRows.value;\n      const dateUnit = \"day\";\n      let count = 1;\n      if (showWeekNumber) {\n        for (let rowIndex = 0; rowIndex < 6; rowIndex++) {\n          if (!rows_[rowIndex][0]) {\n            rows_[rowIndex][0] = {\n              type: \"week\",\n              text: startDate.value.add(rowIndex * 7 + 1, dateUnit).week()\n            };\n          }\n        }\n      }\n      buildPickerTable({ row: 6, column: 7 }, rows_, {\n        startDate: minDate,\n        columnIndexOffset: showWeekNumber ? 1 : 0,\n        nextEndDate: rangeState.endDate || maxDate || rangeState.selecting && minDate || null,\n        now: dayjs().locale(unref(lang)).startOf(dateUnit),\n        unit: dateUnit,\n        relativeDateGetter: (idx) => startDate.value.add(idx - offset, dateUnit),\n        setCellMetadata: (...args) => {\n          if (setCellMetadata(...args, count)) {\n            count += 1;\n          }\n        },\n        setRowMetadata\n      });\n      return rows_;\n    });\n    watch(() => props.date, async () => {\n      var _a, _b;\n      if ((_a = tbodyRef.value) == null ? void 0 : _a.contains(document.activeElement)) {\n        await nextTick();\n        (_b = currentCellRef.value) == null ? void 0 : _b.focus();\n      }\n    });\n    const focus = async () => {\n      var _a;\n      (_a = currentCellRef.value) == null ? void 0 : _a.focus();\n    };\n    const isNormalDay = (type = \"\") => {\n      return [\"normal\", \"today\"].includes(type);\n    };\n    const isCurrent = (cell) => {\n      return props.selectionMode === \"date\" && isNormalDay(cell.type) && cellMatchesDate(cell, props.parsedValue);\n    };\n    const cellMatchesDate = (cell, date) => {\n      if (!date)\n        return false;\n      return dayjs(date).locale(lang.value).isSame(props.date.date(Number(cell.text)), \"day\");\n    };\n    const getCellClasses = (cell) => {\n      const classes = [];\n      if (isNormalDay(cell.type) && !cell.disabled) {\n        classes.push(\"available\");\n        if (cell.type === \"today\") {\n          classes.push(\"today\");\n        }\n      } else {\n        classes.push(cell.type);\n      }\n      if (isCurrent(cell)) {\n        classes.push(\"current\");\n      }\n      if (cell.inRange && (isNormalDay(cell.type) || props.selectionMode === \"week\")) {\n        classes.push(\"in-range\");\n        if (cell.start) {\n          classes.push(\"start-date\");\n        }\n        if (cell.end) {\n          classes.push(\"end-date\");\n        }\n      }\n      if (cell.disabled) {\n        classes.push(\"disabled\");\n      }\n      if (cell.selected) {\n        classes.push(\"selected\");\n      }\n      if (cell.customClass) {\n        classes.push(cell.customClass);\n      }\n      return classes.join(\" \");\n    };\n    const getDateOfCell = (row, column) => {\n      const offsetFromStart = row * 7 + (column - (props.showWeekNumber ? 1 : 0)) - offsetDay.value;\n      return startDate.value.add(offsetFromStart, \"day\");\n    };\n    const handleMouseMove = (event) => {\n      var _a;\n      if (!props.rangeState.selecting)\n        return;\n      let target = event.target;\n      if (target.tagName === \"SPAN\") {\n        target = (_a = target.parentNode) == null ? void 0 : _a.parentNode;\n      }\n      if (target.tagName === \"DIV\") {\n        target = target.parentNode;\n      }\n      if (target.tagName !== \"TD\")\n        return;\n      const row = target.parentNode.rowIndex - 1;\n      const column = target.cellIndex;\n      if (rows.value[row][column].disabled)\n        return;\n      if (row !== lastRow.value || column !== lastColumn.value) {\n        lastRow.value = row;\n        lastColumn.value = column;\n        emit(\"changerange\", {\n          selecting: true,\n          endDate: getDateOfCell(row, column)\n        });\n      }\n    };\n    const isSelectedCell = (cell) => {\n      return !hasCurrent.value && (cell == null ? void 0 : cell.text) === 1 && cell.type === \"normal\" || cell.isCurrent;\n    };\n    const handleFocus = (event) => {\n      if (focusWithClick || hasCurrent.value || props.selectionMode !== \"date\")\n        return;\n      handlePickDate(event, true);\n    };\n    const handleMouseDown = (event) => {\n      const target = event.target.closest(\"td\");\n      if (!target)\n        return;\n      focusWithClick = true;\n    };\n    const handleMouseUp = (event) => {\n      const target = event.target.closest(\"td\");\n      if (!target)\n        return;\n      focusWithClick = false;\n    };\n    const handlePickDate = (event, isKeyboardMovement = false) => {\n      const target = event.target.closest(\"td\");\n      if (!target)\n        return;\n      const row = target.parentNode.rowIndex - 1;\n      const column = target.cellIndex;\n      const cell = rows.value[row][column];\n      if (cell.disabled || cell.type === \"week\")\n        return;\n      const newDate = getDateOfCell(row, column);\n      if (props.selectionMode === \"range\") {\n        if (!props.rangeState.selecting || !props.minDate) {\n          emit(\"pick\", { minDate: newDate, maxDate: null });\n          emit(\"select\", true);\n        } else {\n          if (newDate >= props.minDate) {\n            emit(\"pick\", { minDate: props.minDate, maxDate: newDate });\n          } else {\n            emit(\"pick\", { minDate: newDate, maxDate: props.minDate });\n          }\n          emit(\"select\", false);\n        }\n      } else if (props.selectionMode === \"date\") {\n        emit(\"pick\", newDate, isKeyboardMovement);\n      } else if (props.selectionMode === \"week\") {\n        const weekNumber = newDate.week();\n        const value = `${newDate.year()}w${weekNumber}`;\n        emit(\"pick\", {\n          year: newDate.year(),\n          week: weekNumber,\n          value,\n          date: newDate.startOf(\"week\")\n        });\n      } else if (props.selectionMode === \"dates\") {\n        const newValue = cell.selected ? castArray(props.parsedValue).filter((d) => (d == null ? void 0 : d.valueOf()) !== newDate.valueOf()) : castArray(props.parsedValue).concat([newDate]);\n        emit(\"pick\", newValue);\n      }\n    };\n    const isWeekActive = (cell) => {\n      if (props.selectionMode !== \"week\")\n        return false;\n      let newDate = props.date.startOf(\"day\");\n      if (cell.type === \"prev-month\") {\n        newDate = newDate.subtract(1, \"month\");\n      }\n      if (cell.type === \"next-month\") {\n        newDate = newDate.add(1, \"month\");\n      }\n      newDate = newDate.date(Number.parseInt(cell.text, 10));\n      if (props.parsedValue && !Array.isArray(props.parsedValue)) {\n        const dayOffset = (props.parsedValue.day() - firstDayOfWeek + 7) % 7 - 1;\n        const weekDate = props.parsedValue.subtract(dayOffset, \"day\");\n        return weekDate.isSame(newDate, \"day\");\n      }\n      return false;\n    };\n    expose({\n      focus\n    });\n    return (_ctx, _cache) => {\n      return openBlock(), createElementBlock(\"table\", {\n        role: \"grid\",\n        \"aria-label\": unref(t)(\"el.datepicker.dateTablePrompt\"),\n        cellspacing: \"0\",\n        cellpadding: \"0\",\n        class: normalizeClass([unref(ns).b(), { \"is-week-mode\": _ctx.selectionMode === \"week\" }]),\n        onClick: handlePickDate,\n        onMousemove: handleMouseMove,\n        onMousedown: withModifiers(handleMouseDown, [\"prevent\"]),\n        onMouseup: handleMouseUp\n      }, [\n        createElementVNode(\"tbody\", {\n          ref_key: \"tbodyRef\",\n          ref: tbodyRef\n        }, [\n          createElementVNode(\"tr\", null, [\n            _ctx.showWeekNumber ? (openBlock(), createElementBlock(\"th\", _hoisted_2, toDisplayString(unref(t)(\"el.datepicker.week\")), 1)) : createCommentVNode(\"v-if\", true),\n            (openBlock(true), createElementBlock(Fragment, null, renderList(unref(WEEKS), (week, key) => {\n              return openBlock(), createElementBlock(\"th\", {\n                key,\n                scope: \"col\",\n                \"aria-label\": unref(t)(\"el.datepicker.weeksFull.\" + week)\n              }, toDisplayString(unref(t)(\"el.datepicker.weeks.\" + week)), 9, _hoisted_3);\n            }), 128))\n          ]),\n          (openBlock(true), createElementBlock(Fragment, null, renderList(unref(rows), (row, rowKey) => {\n            return openBlock(), createElementBlock(\"tr\", {\n              key: rowKey,\n              class: normalizeClass([unref(ns).e(\"row\"), { current: isWeekActive(row[1]) }])\n            }, [\n              (openBlock(true), createElementBlock(Fragment, null, renderList(row, (cell, columnKey) => {\n                return openBlock(), createElementBlock(\"td\", {\n                  key: `${rowKey}.${columnKey}`,\n                  ref_for: true,\n                  ref: (el) => isSelectedCell(cell) && (currentCellRef.value = el),\n                  class: normalizeClass(getCellClasses(cell)),\n                  \"aria-current\": cell.isCurrent ? \"date\" : void 0,\n                  \"aria-selected\": cell.isCurrent,\n                  tabindex: isSelectedCell(cell) ? 0 : -1,\n                  onFocus: handleFocus\n                }, [\n                  createVNode(unref(ElDatePickerCell), { cell }, null, 8, [\"cell\"])\n                ], 42, _hoisted_4);\n              }), 128))\n            ], 2);\n          }), 128))\n        ], 512)\n      ], 42, _hoisted_1);\n    };\n  }\n});\nvar DateTable = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-date-table.vue\"]]);\n\nexport { DateTable as default };\n//# sourceMappingURL=basic-date-table.mjs.map\n","import '../../../../utils/index.mjs';\nimport { datePickerSharedProps, selectionModeWithDefault } from './shared.mjs';\nimport { buildProps } from '../../../../utils/vue/props/runtime.mjs';\n\nconst basicMonthTableProps = buildProps({\n  ...datePickerSharedProps,\n  selectionMode: selectionModeWithDefault(\"month\")\n});\n\nexport { basicMonthTableProps };\n//# sourceMappingURL=basic-month-table.mjs.map\n","import { defineComponent, ref, computed, watch, nextTick, openBlock, createElementBlock, unref, normalizeClass, createElementVNode, Fragment, renderList, withKeys, withModifiers, toDisplayString } from 'vue';\nimport dayjs from 'dayjs';\nimport '../../../../hooks/index.mjs';\nimport '../../../time-picker/index.mjs';\nimport '../../../../utils/index.mjs';\nimport { basicMonthTableProps } from '../props/basic-month-table.mjs';\nimport _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';\nimport { rangeArr } from '../../../time-picker/src/utils.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\nimport { useLocale } from '../../../../hooks/use-locale/index.mjs';\nimport { castArray } from '../../../../utils/arrays.mjs';\nimport { hasClass } from '../../../../utils/dom/style.mjs';\n\nconst _hoisted_1 = [\"aria-label\"];\nconst _hoisted_2 = [\"aria-selected\", \"aria-label\", \"tabindex\", \"onKeydown\"];\nconst _hoisted_3 = { class: \"cell\" };\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  __name: \"basic-month-table\",\n  props: basicMonthTableProps,\n  emits: [\"changerange\", \"pick\", \"select\"],\n  setup(__props, { expose, emit }) {\n    const props = __props;\n    const datesInMonth = (year, month, lang2) => {\n      const firstDay = dayjs().locale(lang2).startOf(\"month\").month(month).year(year);\n      const numOfDays = firstDay.daysInMonth();\n      return rangeArr(numOfDays).map((n) => firstDay.add(n, \"day\").toDate());\n    };\n    const ns = useNamespace(\"month-table\");\n    const { t, lang } = useLocale();\n    const tbodyRef = ref();\n    const currentCellRef = ref();\n    const months = ref(props.date.locale(\"en\").localeData().monthsShort().map((_) => _.toLowerCase()));\n    const tableRows = ref([\n      [],\n      [],\n      []\n    ]);\n    const lastRow = ref();\n    const lastColumn = ref();\n    const rows = computed(() => {\n      var _a, _b;\n      const rows2 = tableRows.value;\n      const now = dayjs().locale(lang.value).startOf(\"month\");\n      for (let i = 0; i < 3; i++) {\n        const row = rows2[i];\n        for (let j = 0; j < 4; j++) {\n          const cell = row[j] || (row[j] = {\n            row: i,\n            column: j,\n            type: \"normal\",\n            inRange: false,\n            start: false,\n            end: false,\n            text: -1,\n            disabled: false\n          });\n          cell.type = \"normal\";\n          const index = i * 4 + j;\n          const calTime = props.date.startOf(\"year\").month(index);\n          const calEndDate = props.rangeState.endDate || props.maxDate || props.rangeState.selecting && props.minDate || null;\n          cell.inRange = !!(props.minDate && calTime.isSameOrAfter(props.minDate, \"month\") && calEndDate && calTime.isSameOrBefore(calEndDate, \"month\")) || !!(props.minDate && calTime.isSameOrBefore(props.minDate, \"month\") && calEndDate && calTime.isSameOrAfter(calEndDate, \"month\"));\n          if ((_a = props.minDate) == null ? void 0 : _a.isSameOrAfter(calEndDate)) {\n            cell.start = !!(calEndDate && calTime.isSame(calEndDate, \"month\"));\n            cell.end = props.minDate && calTime.isSame(props.minDate, \"month\");\n          } else {\n            cell.start = !!(props.minDate && calTime.isSame(props.minDate, \"month\"));\n            cell.end = !!(calEndDate && calTime.isSame(calEndDate, \"month\"));\n          }\n          const isToday = now.isSame(calTime);\n          if (isToday) {\n            cell.type = \"today\";\n          }\n          cell.text = index;\n          cell.disabled = ((_b = props.disabledDate) == null ? void 0 : _b.call(props, calTime.toDate())) || false;\n        }\n      }\n      return rows2;\n    });\n    const focus = () => {\n      var _a;\n      (_a = currentCellRef.value) == null ? void 0 : _a.focus();\n    };\n    const getCellStyle = (cell) => {\n      const style = {};\n      const year = props.date.year();\n      const today = new Date();\n      const month = cell.text;\n      style.disabled = props.disabledDate ? datesInMonth(year, month, lang.value).every(props.disabledDate) : false;\n      style.current = castArray(props.parsedValue).findIndex((date) => dayjs.isDayjs(date) && date.year() === year && date.month() === month) >= 0;\n      style.today = today.getFullYear() === year && today.getMonth() === month;\n      if (cell.inRange) {\n        style[\"in-range\"] = true;\n        if (cell.start) {\n          style[\"start-date\"] = true;\n        }\n        if (cell.end) {\n          style[\"end-date\"] = true;\n        }\n      }\n      return style;\n    };\n    const isSelectedCell = (cell) => {\n      const year = props.date.year();\n      const month = cell.text;\n      return castArray(props.date).findIndex((date) => date.year() === year && date.month() === month) >= 0;\n    };\n    const handleMouseMove = (event) => {\n      var _a;\n      if (!props.rangeState.selecting)\n        return;\n      let target = event.target;\n      if (target.tagName === \"A\") {\n        target = (_a = target.parentNode) == null ? void 0 : _a.parentNode;\n      }\n      if (target.tagName === \"DIV\") {\n        target = target.parentNode;\n      }\n      if (target.tagName !== \"TD\")\n        return;\n      const row = target.parentNode.rowIndex;\n      const column = target.cellIndex;\n      if (rows.value[row][column].disabled)\n        return;\n      if (row !== lastRow.value || column !== lastColumn.value) {\n        lastRow.value = row;\n        lastColumn.value = column;\n        emit(\"changerange\", {\n          selecting: true,\n          endDate: props.date.startOf(\"year\").month(row * 4 + column)\n        });\n      }\n    };\n    const handleMonthTableClick = (event) => {\n      var _a;\n      const target = (_a = event.target) == null ? void 0 : _a.closest(\"td\");\n      if ((target == null ? void 0 : target.tagName) !== \"TD\")\n        return;\n      if (hasClass(target, \"disabled\"))\n        return;\n      const column = target.cellIndex;\n      const row = target.parentNode.rowIndex;\n      const month = row * 4 + column;\n      const newDate = props.date.startOf(\"year\").month(month);\n      if (props.selectionMode === \"range\") {\n        if (!props.rangeState.selecting) {\n          emit(\"pick\", { minDate: newDate, maxDate: null });\n          emit(\"select\", true);\n        } else {\n          if (props.minDate && newDate >= props.minDate) {\n            emit(\"pick\", { minDate: props.minDate, maxDate: newDate });\n          } else {\n            emit(\"pick\", { minDate: newDate, maxDate: props.minDate });\n          }\n          emit(\"select\", false);\n        }\n      } else {\n        emit(\"pick\", month);\n      }\n    };\n    watch(() => props.date, async () => {\n      var _a, _b;\n      if ((_a = tbodyRef.value) == null ? void 0 : _a.contains(document.activeElement)) {\n        await nextTick();\n        (_b = currentCellRef.value) == null ? void 0 : _b.focus();\n      }\n    });\n    expose({\n      focus\n    });\n    return (_ctx, _cache) => {\n      return openBlock(), createElementBlock(\"table\", {\n        role: \"grid\",\n        \"aria-label\": unref(t)(\"el.datepicker.monthTablePrompt\"),\n        class: normalizeClass(unref(ns).b()),\n        onClick: handleMonthTableClick,\n        onMousemove: handleMouseMove\n      }, [\n        createElementVNode(\"tbody\", {\n          ref_key: \"tbodyRef\",\n          ref: tbodyRef\n        }, [\n          (openBlock(true), createElementBlock(Fragment, null, renderList(unref(rows), (row, key) => {\n            return openBlock(), createElementBlock(\"tr\", { key }, [\n              (openBlock(true), createElementBlock(Fragment, null, renderList(row, (cell, key_) => {\n                return openBlock(), createElementBlock(\"td\", {\n                  key: key_,\n                  ref_for: true,\n                  ref: (el) => isSelectedCell(cell) && (currentCellRef.value = el),\n                  class: normalizeClass(getCellStyle(cell)),\n                  \"aria-selected\": `${isSelectedCell(cell)}`,\n                  \"aria-label\": unref(t)(`el.datepicker.month${+cell.text + 1}`),\n                  tabindex: isSelectedCell(cell) ? 0 : -1,\n                  onKeydown: [\n                    withKeys(withModifiers(handleMonthTableClick, [\"prevent\", \"stop\"]), [\"space\"]),\n                    withKeys(withModifiers(handleMonthTableClick, [\"prevent\", \"stop\"]), [\"enter\"])\n                  ]\n                }, [\n                  createElementVNode(\"div\", null, [\n                    createElementVNode(\"span\", _hoisted_3, toDisplayString(unref(t)(\"el.datepicker.months.\" + months.value[cell.text])), 1)\n                  ])\n                ], 42, _hoisted_2);\n              }), 128))\n            ]);\n          }), 128))\n        ], 512)\n      ], 42, _hoisted_1);\n    };\n  }\n});\nvar MonthTable = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-month-table.vue\"]]);\n\nexport { MonthTable as default };\n//# sourceMappingURL=basic-month-table.mjs.map\n","import '../../../../utils/index.mjs';\nimport { datePickerSharedProps } from './shared.mjs';\nimport { buildProps } from '../../../../utils/vue/props/runtime.mjs';\n\nconst { date, disabledDate, parsedValue } = datePickerSharedProps;\nconst basicYearTableProps = buildProps({\n  date,\n  disabledDate,\n  parsedValue\n});\n\nexport { basicYearTableProps };\n//# sourceMappingURL=basic-year-table.mjs.map\n","import { defineComponent, ref, computed, watch, nextTick, openBlock, createElementBlock, unref, normalizeClass, createElementVNode, Fragment, renderList, withKeys, withModifiers, toDisplayString } from 'vue';\nimport dayjs from 'dayjs';\nimport '../../../../hooks/index.mjs';\nimport '../../../time-picker/index.mjs';\nimport '../../../../utils/index.mjs';\nimport { basicYearTableProps } from '../props/basic-year-table.mjs';\nimport _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';\nimport { rangeArr } from '../../../time-picker/src/utils.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\nimport { useLocale } from '../../../../hooks/use-locale/index.mjs';\nimport { castArray } from '../../../../utils/arrays.mjs';\nimport { hasClass } from '../../../../utils/dom/style.mjs';\n\nconst _hoisted_1 = [\"aria-label\"];\nconst _hoisted_2 = [\"aria-selected\", \"tabindex\", \"onKeydown\"];\nconst _hoisted_3 = { class: \"cell\" };\nconst _hoisted_4 = { key: 1 };\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  __name: \"basic-year-table\",\n  props: basicYearTableProps,\n  emits: [\"pick\"],\n  setup(__props, { expose, emit }) {\n    const props = __props;\n    const datesInYear = (year, lang2) => {\n      const firstDay = dayjs(String(year)).locale(lang2).startOf(\"year\");\n      const lastDay = firstDay.endOf(\"year\");\n      const numOfDays = lastDay.dayOfYear();\n      return rangeArr(numOfDays).map((n) => firstDay.add(n, \"day\").toDate());\n    };\n    const ns = useNamespace(\"year-table\");\n    const { t, lang } = useLocale();\n    const tbodyRef = ref();\n    const currentCellRef = ref();\n    const startYear = computed(() => {\n      return Math.floor(props.date.year() / 10) * 10;\n    });\n    const focus = () => {\n      var _a;\n      (_a = currentCellRef.value) == null ? void 0 : _a.focus();\n    };\n    const getCellKls = (year) => {\n      const kls = {};\n      const today = dayjs().locale(lang.value);\n      kls.disabled = props.disabledDate ? datesInYear(year, lang.value).every(props.disabledDate) : false;\n      kls.current = castArray(props.parsedValue).findIndex((d) => d.year() === year) >= 0;\n      kls.today = today.year() === year;\n      return kls;\n    };\n    const isSelectedCell = (year) => {\n      return year === startYear.value && props.date.year() < startYear.value && props.date.year() > startYear.value + 9 || castArray(props.date).findIndex((date) => date.year() === year) >= 0;\n    };\n    const handleYearTableClick = (event) => {\n      const clickTarget = event.target;\n      const target = clickTarget.closest(\"td\");\n      if (target && target.textContent) {\n        if (hasClass(target, \"disabled\"))\n          return;\n        const year = target.textContent || target.innerText;\n        emit(\"pick\", Number(year));\n      }\n    };\n    watch(() => props.date, async () => {\n      var _a, _b;\n      if ((_a = tbodyRef.value) == null ? void 0 : _a.contains(document.activeElement)) {\n        await nextTick();\n        (_b = currentCellRef.value) == null ? void 0 : _b.focus();\n      }\n    });\n    expose({\n      focus\n    });\n    return (_ctx, _cache) => {\n      return openBlock(), createElementBlock(\"table\", {\n        role: \"grid\",\n        \"aria-label\": unref(t)(\"el.datepicker.yearTablePrompt\"),\n        class: normalizeClass(unref(ns).b()),\n        onClick: handleYearTableClick\n      }, [\n        createElementVNode(\"tbody\", {\n          ref_key: \"tbodyRef\",\n          ref: tbodyRef\n        }, [\n          (openBlock(), createElementBlock(Fragment, null, renderList(3, (_, i) => {\n            return createElementVNode(\"tr\", { key: i }, [\n              (openBlock(), createElementBlock(Fragment, null, renderList(4, (__, j) => {\n                return openBlock(), createElementBlock(Fragment, {\n                  key: i + \"_\" + j\n                }, [\n                  i * 4 + j < 10 ? (openBlock(), createElementBlock(\"td\", {\n                    key: 0,\n                    ref_for: true,\n                    ref: (el) => isSelectedCell(unref(startYear) + i * 4 + j) && (currentCellRef.value = el),\n                    class: normalizeClass([\"available\", getCellKls(unref(startYear) + i * 4 + j)]),\n                    \"aria-selected\": `${isSelectedCell(unref(startYear) + i * 4 + j)}`,\n                    tabindex: isSelectedCell(unref(startYear) + i * 4 + j) ? 0 : -1,\n                    onKeydown: [\n                      withKeys(withModifiers(handleYearTableClick, [\"prevent\", \"stop\"]), [\"space\"]),\n                      withKeys(withModifiers(handleYearTableClick, [\"prevent\", \"stop\"]), [\"enter\"])\n                    ]\n                  }, [\n                    createElementVNode(\"span\", _hoisted_3, toDisplayString(unref(startYear) + i * 4 + j), 1)\n                  ], 42, _hoisted_2)) : (openBlock(), createElementBlock(\"td\", _hoisted_4))\n                ], 64);\n              }), 64))\n            ]);\n          }), 64))\n        ], 512)\n      ], 10, _hoisted_1);\n    };\n  }\n});\nvar YearTable = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-year-table.vue\"]]);\n\nexport { YearTable as default };\n//# sourceMappingURL=basic-year-table.mjs.map\n","import { defineComponent, useAttrs, useSlots, inject, toRef, ref, computed, nextTick, watch, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, renderSlot, Fragment, renderList, toDisplayString, createCommentVNode, createVNode, withDirectives, withCtx, vShow, withKeys, createBlock, createTextVNode } from 'vue';\nimport dayjs from 'dayjs';\nimport { ElButton } from '../../../button/index.mjs';\nimport '../../../../directives/index.mjs';\nimport '../../../../hooks/index.mjs';\nimport { ElInput } from '../../../input/index.mjs';\nimport '../../../time-picker/index.mjs';\nimport { ElIcon } from '../../../icon/index.mjs';\nimport '../../../../utils/index.mjs';\nimport '../../../../constants/index.mjs';\nimport { DArrowLeft, ArrowLeft, ArrowRight, DArrowRight } from '@element-plus/icons-vue';\nimport '../../../tooltip/index.mjs';\nimport { panelDatePickProps } from '../props/panel-date-pick.mjs';\nimport DateTable from './basic-date-table.mjs';\nimport MonthTable from './basic-month-table.mjs';\nimport YearTable from './basic-year-table.mjs';\nimport _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\nimport { useLocale } from '../../../../hooks/use-locale/index.mjs';\nimport { TOOLTIP_INJECTION_KEY } from '../../../tooltip/src/constants.mjs';\nimport { isArray, isFunction } from '@vue/shared';\nimport { extractTimeFormat, extractDateFormat } from '../../../time-picker/src/utils.mjs';\nimport { EVENT_CODE } from '../../../../constants/aria.mjs';\nimport TimePickPanel from '../../../time-picker/src/time-picker-com/panel-time-pick.mjs';\nimport ClickOutside from '../../../../directives/click-outside/index.mjs';\n\nconst _hoisted_1 = [\"onClick\"];\nconst _hoisted_2 = [\"aria-label\"];\nconst _hoisted_3 = [\"aria-label\"];\nconst _hoisted_4 = [\"aria-label\"];\nconst _hoisted_5 = [\"aria-label\"];\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  __name: \"panel-date-pick\",\n  props: panelDatePickProps,\n  emits: [\"pick\", \"set-picker-option\", \"panel-change\"],\n  setup(__props, { emit: contextEmit }) {\n    const props = __props;\n    const timeWithinRange = (_, __, ___) => true;\n    const ppNs = useNamespace(\"picker-panel\");\n    const dpNs = useNamespace(\"date-picker\");\n    const attrs = useAttrs();\n    const slots = useSlots();\n    const { t, lang } = useLocale();\n    const pickerBase = inject(\"EP_PICKER_BASE\");\n    const popper = inject(TOOLTIP_INJECTION_KEY);\n    const { shortcuts, disabledDate, cellClassName, defaultTime, arrowControl } = pickerBase.props;\n    const defaultValue = toRef(pickerBase.props, \"defaultValue\");\n    const currentViewRef = ref();\n    const innerDate = ref(dayjs().locale(lang.value));\n    const isChangeToNow = ref(false);\n    const defaultTimeD = computed(() => {\n      return dayjs(defaultTime).locale(lang.value);\n    });\n    const month = computed(() => {\n      return innerDate.value.month();\n    });\n    const year = computed(() => {\n      return innerDate.value.year();\n    });\n    const selectableRange = ref([]);\n    const userInputDate = ref(null);\n    const userInputTime = ref(null);\n    const checkDateWithinRange = (date) => {\n      return selectableRange.value.length > 0 ? timeWithinRange(date, selectableRange.value, props.format || \"HH:mm:ss\") : true;\n    };\n    const formatEmit = (emitDayjs) => {\n      if (defaultTime && !visibleTime.value && !isChangeToNow.value) {\n        return defaultTimeD.value.year(emitDayjs.year()).month(emitDayjs.month()).date(emitDayjs.date());\n      }\n      if (showTime.value)\n        return emitDayjs.millisecond(0);\n      return emitDayjs.startOf(\"day\");\n    };\n    const emit = (value, ...args) => {\n      if (!value) {\n        contextEmit(\"pick\", value, ...args);\n      } else if (isArray(value)) {\n        const dates = value.map(formatEmit);\n        contextEmit(\"pick\", dates, ...args);\n      } else {\n        contextEmit(\"pick\", formatEmit(value), ...args);\n      }\n      userInputDate.value = null;\n      userInputTime.value = null;\n      isChangeToNow.value = false;\n    };\n    const handleDatePick = (value, keepOpen) => {\n      if (selectionMode.value === \"date\") {\n        value = value;\n        let newDate = props.parsedValue ? props.parsedValue.year(value.year()).month(value.month()).date(value.date()) : value;\n        if (!checkDateWithinRange(newDate)) {\n          newDate = selectableRange.value[0][0].year(value.year()).month(value.month()).date(value.date());\n        }\n        innerDate.value = newDate;\n        emit(newDate, showTime.value || keepOpen);\n      } else if (selectionMode.value === \"week\") {\n        emit(value.date);\n      } else if (selectionMode.value === \"dates\") {\n        emit(value, true);\n      }\n    };\n    const moveByMonth = (forward) => {\n      const action = forward ? \"add\" : \"subtract\";\n      innerDate.value = innerDate.value[action](1, \"month\");\n      handlePanelChange(\"month\");\n    };\n    const moveByYear = (forward) => {\n      const currentDate = innerDate.value;\n      const action = forward ? \"add\" : \"subtract\";\n      innerDate.value = currentView.value === \"year\" ? currentDate[action](10, \"year\") : currentDate[action](1, \"year\");\n      handlePanelChange(\"year\");\n    };\n    const currentView = ref(\"date\");\n    const yearLabel = computed(() => {\n      const yearTranslation = t(\"el.datepicker.year\");\n      if (currentView.value === \"year\") {\n        const startYear = Math.floor(year.value / 10) * 10;\n        if (yearTranslation) {\n          return `${startYear} ${yearTranslation} - ${startYear + 9} ${yearTranslation}`;\n        }\n        return `${startYear} - ${startYear + 9}`;\n      }\n      return `${year.value} ${yearTranslation}`;\n    });\n    const handleShortcutClick = (shortcut) => {\n      const shortcutValue = isFunction(shortcut.value) ? shortcut.value() : shortcut.value;\n      if (shortcutValue) {\n        emit(dayjs(shortcutValue).locale(lang.value));\n        return;\n      }\n      if (shortcut.onClick) {\n        shortcut.onClick({\n          attrs,\n          slots,\n          emit: contextEmit\n        });\n      }\n    };\n    const selectionMode = computed(() => {\n      const { type } = props;\n      if ([\"week\", \"month\", \"year\", \"dates\"].includes(type))\n        return type;\n      return \"date\";\n    });\n    const keyboardMode = computed(() => {\n      return selectionMode.value === \"date\" ? currentView.value : selectionMode.value;\n    });\n    const hasShortcuts = computed(() => !!shortcuts.length);\n    const handleMonthPick = async (month2) => {\n      innerDate.value = innerDate.value.startOf(\"month\").month(month2);\n      if (selectionMode.value === \"month\") {\n        emit(innerDate.value, false);\n      } else {\n        currentView.value = \"date\";\n        if ([\"month\", \"year\", \"date\", \"week\"].includes(selectionMode.value)) {\n          emit(innerDate.value, true);\n          await nextTick();\n          handleFocusPicker();\n        }\n      }\n      handlePanelChange(\"month\");\n    };\n    const handleYearPick = async (year2) => {\n      if (selectionMode.value === \"year\") {\n        innerDate.value = innerDate.value.startOf(\"year\").year(year2);\n        emit(innerDate.value, false);\n      } else {\n        innerDate.value = innerDate.value.year(year2);\n        currentView.value = \"month\";\n        if ([\"month\", \"year\", \"date\", \"week\"].includes(selectionMode.value)) {\n          emit(innerDate.value, true);\n          await nextTick();\n          handleFocusPicker();\n        }\n      }\n      handlePanelChange(\"year\");\n    };\n    const showPicker = async (view) => {\n      currentView.value = view;\n      await nextTick();\n      handleFocusPicker();\n    };\n    const showTime = computed(() => props.type === \"datetime\" || props.type === \"datetimerange\");\n    const footerVisible = computed(() => {\n      return showTime.value || selectionMode.value === \"dates\";\n    });\n    const onConfirm = () => {\n      if (selectionMode.value === \"dates\") {\n        emit(props.parsedValue);\n      } else {\n        let result = props.parsedValue;\n        if (!result) {\n          const defaultTimeD2 = dayjs(defaultTime).locale(lang.value);\n          const defaultValueD = getDefaultValue();\n          result = defaultTimeD2.year(defaultValueD.year()).month(defaultValueD.month()).date(defaultValueD.date());\n        }\n        innerDate.value = result;\n        emit(result);\n      }\n    };\n    const changeToNow = () => {\n      const now = dayjs().locale(lang.value);\n      const nowDate = now.toDate();\n      isChangeToNow.value = true;\n      if ((!disabledDate || !disabledDate(nowDate)) && checkDateWithinRange(nowDate)) {\n        innerDate.value = dayjs().locale(lang.value);\n        emit(innerDate.value);\n      }\n    };\n    const timeFormat = computed(() => {\n      return extractTimeFormat(props.format);\n    });\n    const dateFormat = computed(() => {\n      return extractDateFormat(props.format);\n    });\n    const visibleTime = computed(() => {\n      if (userInputTime.value)\n        return userInputTime.value;\n      if (!props.parsedValue && !defaultValue.value)\n        return;\n      return (props.parsedValue || innerDate.value).format(timeFormat.value);\n    });\n    const visibleDate = computed(() => {\n      if (userInputDate.value)\n        return userInputDate.value;\n      if (!props.parsedValue && !defaultValue.value)\n        return;\n      return (props.parsedValue || innerDate.value).format(dateFormat.value);\n    });\n    const timePickerVisible = ref(false);\n    const onTimePickerInputFocus = () => {\n      timePickerVisible.value = true;\n    };\n    const handleTimePickClose = () => {\n      timePickerVisible.value = false;\n    };\n    const getUnits = (date) => {\n      return {\n        hour: date.hour(),\n        minute: date.minute(),\n        second: date.second(),\n        year: date.year(),\n        month: date.month(),\n        date: date.date()\n      };\n    };\n    const handleTimePick = (value, visible, first) => {\n      const { hour, minute, second } = getUnits(value);\n      const newDate = props.parsedValue ? props.parsedValue.hour(hour).minute(minute).second(second) : value;\n      innerDate.value = newDate;\n      emit(innerDate.value, true);\n      if (!first) {\n        timePickerVisible.value = visible;\n      }\n    };\n    const handleVisibleTimeChange = (value) => {\n      const newDate = dayjs(value, timeFormat.value).locale(lang.value);\n      if (newDate.isValid() && checkDateWithinRange(newDate)) {\n        const { year: year2, month: month2, date } = getUnits(innerDate.value);\n        innerDate.value = newDate.year(year2).month(month2).date(date);\n        userInputTime.value = null;\n        timePickerVisible.value = false;\n        emit(innerDate.value, true);\n      }\n    };\n    const handleVisibleDateChange = (value) => {\n      const newDate = dayjs(value, dateFormat.value).locale(lang.value);\n      if (newDate.isValid()) {\n        if (disabledDate && disabledDate(newDate.toDate())) {\n          return;\n        }\n        const { hour, minute, second } = getUnits(innerDate.value);\n        innerDate.value = newDate.hour(hour).minute(minute).second(second);\n        userInputDate.value = null;\n        emit(innerDate.value, true);\n      }\n    };\n    const isValidValue = (date) => {\n      return dayjs.isDayjs(date) && date.isValid() && (disabledDate ? !disabledDate(date.toDate()) : true);\n    };\n    const formatToString = (value) => {\n      if (selectionMode.value === \"dates\") {\n        return value.map((_) => _.format(props.format));\n      }\n      return value.format(props.format);\n    };\n    const parseUserInput = (value) => {\n      return dayjs(value, props.format).locale(lang.value);\n    };\n    const getDefaultValue = () => {\n      const parseDate = dayjs(defaultValue.value).locale(lang.value);\n      if (!defaultValue.value) {\n        const defaultTimeDValue = defaultTimeD.value;\n        return dayjs().hour(defaultTimeDValue.hour()).minute(defaultTimeDValue.minute()).second(defaultTimeDValue.second()).locale(lang.value);\n      }\n      return parseDate;\n    };\n    const handleFocusPicker = async () => {\n      var _a;\n      if ([\"week\", \"month\", \"year\", \"date\"].includes(selectionMode.value)) {\n        (_a = currentViewRef.value) == null ? void 0 : _a.focus();\n        if (selectionMode.value === \"week\") {\n          handleKeyControl(EVENT_CODE.down);\n        }\n      }\n    };\n    const handleKeydownTable = (event) => {\n      const { code } = event;\n      const validCode = [\n        EVENT_CODE.up,\n        EVENT_CODE.down,\n        EVENT_CODE.left,\n        EVENT_CODE.right,\n        EVENT_CODE.home,\n        EVENT_CODE.end,\n        EVENT_CODE.pageUp,\n        EVENT_CODE.pageDown\n      ];\n      if (validCode.includes(code)) {\n        handleKeyControl(code);\n        event.stopPropagation();\n        event.preventDefault();\n      }\n      if ([EVENT_CODE.enter, EVENT_CODE.space, EVENT_CODE.numpadEnter].includes(code) && userInputDate.value === null && userInputTime.value === null) {\n        event.preventDefault();\n        emit(innerDate.value, false);\n      }\n    };\n    const handleKeyControl = (code) => {\n      var _a;\n      const { up, down, left, right, home, end, pageUp, pageDown } = EVENT_CODE;\n      const mapping = {\n        year: {\n          [up]: -4,\n          [down]: 4,\n          [left]: -1,\n          [right]: 1,\n          offset: (date, step) => date.setFullYear(date.getFullYear() + step)\n        },\n        month: {\n          [up]: -4,\n          [down]: 4,\n          [left]: -1,\n          [right]: 1,\n          offset: (date, step) => date.setMonth(date.getMonth() + step)\n        },\n        week: {\n          [up]: -1,\n          [down]: 1,\n          [left]: -1,\n          [right]: 1,\n          offset: (date, step) => date.setDate(date.getDate() + step * 7)\n        },\n        date: {\n          [up]: -7,\n          [down]: 7,\n          [left]: -1,\n          [right]: 1,\n          [home]: (date) => -date.getDay(),\n          [end]: (date) => -date.getDay() + 6,\n          [pageUp]: (date) => -new Date(date.getFullYear(), date.getMonth(), 0).getDate(),\n          [pageDown]: (date) => new Date(date.getFullYear(), date.getMonth() + 1, 0).getDate(),\n          offset: (date, step) => date.setDate(date.getDate() + step)\n        }\n      };\n      const newDate = innerDate.value.toDate();\n      while (Math.abs(innerDate.value.diff(newDate, \"year\", true)) < 1) {\n        const map = mapping[keyboardMode.value];\n        if (!map)\n          return;\n        map.offset(newDate, isFunction(map[code]) ? map[code](newDate) : (_a = map[code]) != null ? _a : 0);\n        if (disabledDate && disabledDate(newDate)) {\n          break;\n        }\n        const result = dayjs(newDate).locale(lang.value);\n        innerDate.value = result;\n        contextEmit(\"pick\", result, true);\n        break;\n      }\n    };\n    const handlePanelChange = (mode) => {\n      contextEmit(\"panel-change\", innerDate.value.toDate(), mode, currentView.value);\n    };\n    watch(() => selectionMode.value, (val) => {\n      if ([\"month\", \"year\"].includes(val)) {\n        currentView.value = val;\n        return;\n      }\n      currentView.value = \"date\";\n    }, { immediate: true });\n    watch(() => currentView.value, () => {\n      popper == null ? void 0 : popper.updatePopper();\n    });\n    watch(() => defaultValue.value, (val) => {\n      if (val) {\n        innerDate.value = getDefaultValue();\n      }\n    }, { immediate: true });\n    watch(() => props.parsedValue, (val) => {\n      if (val) {\n        if (selectionMode.value === \"dates\")\n          return;\n        if (Array.isArray(val))\n          return;\n        innerDate.value = val;\n      } else {\n        innerDate.value = getDefaultValue();\n      }\n    }, { immediate: true });\n    contextEmit(\"set-picker-option\", [\"isValidValue\", isValidValue]);\n    contextEmit(\"set-picker-option\", [\"formatToString\", formatToString]);\n    contextEmit(\"set-picker-option\", [\"parseUserInput\", parseUserInput]);\n    contextEmit(\"set-picker-option\", [\"handleFocusPicker\", handleFocusPicker]);\n    return (_ctx, _cache) => {\n      return openBlock(), createElementBlock(\"div\", {\n        class: normalizeClass([\n          unref(ppNs).b(),\n          unref(dpNs).b(),\n          {\n            \"has-sidebar\": _ctx.$slots.sidebar || unref(hasShortcuts),\n            \"has-time\": unref(showTime)\n          }\n        ])\n      }, [\n        createElementVNode(\"div\", {\n          class: normalizeClass(unref(ppNs).e(\"body-wrapper\"))\n        }, [\n          renderSlot(_ctx.$slots, \"sidebar\", {\n            class: normalizeClass(unref(ppNs).e(\"sidebar\"))\n          }),\n          unref(hasShortcuts) ? (openBlock(), createElementBlock(\"div\", {\n            key: 0,\n            class: normalizeClass(unref(ppNs).e(\"sidebar\"))\n          }, [\n            (openBlock(true), createElementBlock(Fragment, null, renderList(unref(shortcuts), (shortcut, key) => {\n              return openBlock(), createElementBlock(\"button\", {\n                key,\n                type: \"button\",\n                class: normalizeClass(unref(ppNs).e(\"shortcut\")),\n                onClick: ($event) => handleShortcutClick(shortcut)\n              }, toDisplayString(shortcut.text), 11, _hoisted_1);\n            }), 128))\n          ], 2)) : createCommentVNode(\"v-if\", true),\n          createElementVNode(\"div\", {\n            class: normalizeClass(unref(ppNs).e(\"body\"))\n          }, [\n            unref(showTime) ? (openBlock(), createElementBlock(\"div\", {\n              key: 0,\n              class: normalizeClass(unref(dpNs).e(\"time-header\"))\n            }, [\n              createElementVNode(\"span\", {\n                class: normalizeClass(unref(dpNs).e(\"editor-wrap\"))\n              }, [\n                createVNode(unref(ElInput), {\n                  placeholder: unref(t)(\"el.datepicker.selectDate\"),\n                  \"model-value\": unref(visibleDate),\n                  size: \"small\",\n                  \"validate-event\": false,\n                  onInput: _cache[0] || (_cache[0] = (val) => userInputDate.value = val),\n                  onChange: handleVisibleDateChange\n                }, null, 8, [\"placeholder\", \"model-value\"])\n              ], 2),\n              withDirectives((openBlock(), createElementBlock(\"span\", {\n                class: normalizeClass(unref(dpNs).e(\"editor-wrap\"))\n              }, [\n                createVNode(unref(ElInput), {\n                  placeholder: unref(t)(\"el.datepicker.selectTime\"),\n                  \"model-value\": unref(visibleTime),\n                  size: \"small\",\n                  \"validate-event\": false,\n                  onFocus: onTimePickerInputFocus,\n                  onInput: _cache[1] || (_cache[1] = (val) => userInputTime.value = val),\n                  onChange: handleVisibleTimeChange\n                }, null, 8, [\"placeholder\", \"model-value\"]),\n                createVNode(unref(TimePickPanel), {\n                  visible: timePickerVisible.value,\n                  format: unref(timeFormat),\n                  \"time-arrow-control\": unref(arrowControl),\n                  \"parsed-value\": innerDate.value,\n                  onPick: handleTimePick\n                }, null, 8, [\"visible\", \"format\", \"time-arrow-control\", \"parsed-value\"])\n              ], 2)), [\n                [unref(ClickOutside), handleTimePickClose]\n              ])\n            ], 2)) : createCommentVNode(\"v-if\", true),\n            withDirectives(createElementVNode(\"div\", {\n              class: normalizeClass([\n                unref(dpNs).e(\"header\"),\n                (currentView.value === \"year\" || currentView.value === \"month\") && unref(dpNs).e(\"header--bordered\")\n              ])\n            }, [\n              createElementVNode(\"span\", {\n                class: normalizeClass(unref(dpNs).e(\"prev-btn\"))\n              }, [\n                createElementVNode(\"button\", {\n                  type: \"button\",\n                  \"aria-label\": unref(t)(`el.datepicker.prevYear`),\n                  class: normalizeClass([\"d-arrow-left\", unref(ppNs).e(\"icon-btn\")]),\n                  onClick: _cache[2] || (_cache[2] = ($event) => moveByYear(false))\n                }, [\n                  createVNode(unref(ElIcon), null, {\n                    default: withCtx(() => [\n                      createVNode(unref(DArrowLeft))\n                    ]),\n                    _: 1\n                  })\n                ], 10, _hoisted_2),\n                withDirectives(createElementVNode(\"button\", {\n                  type: \"button\",\n                  \"aria-label\": unref(t)(`el.datepicker.prevMonth`),\n                  class: normalizeClass([unref(ppNs).e(\"icon-btn\"), \"arrow-left\"]),\n                  onClick: _cache[3] || (_cache[3] = ($event) => moveByMonth(false))\n                }, [\n                  createVNode(unref(ElIcon), null, {\n                    default: withCtx(() => [\n                      createVNode(unref(ArrowLeft))\n                    ]),\n                    _: 1\n                  })\n                ], 10, _hoisted_3), [\n                  [vShow, currentView.value === \"date\"]\n                ])\n              ], 2),\n              createElementVNode(\"span\", {\n                role: \"button\",\n                class: normalizeClass(unref(dpNs).e(\"header-label\")),\n                \"aria-live\": \"polite\",\n                tabindex: \"0\",\n                onKeydown: _cache[4] || (_cache[4] = withKeys(($event) => showPicker(\"year\"), [\"enter\"])),\n                onClick: _cache[5] || (_cache[5] = ($event) => showPicker(\"year\"))\n              }, toDisplayString(unref(yearLabel)), 35),\n              withDirectives(createElementVNode(\"span\", {\n                role: \"button\",\n                \"aria-live\": \"polite\",\n                tabindex: \"0\",\n                class: normalizeClass([\n                  unref(dpNs).e(\"header-label\"),\n                  { active: currentView.value === \"month\" }\n                ]),\n                onKeydown: _cache[6] || (_cache[6] = withKeys(($event) => showPicker(\"month\"), [\"enter\"])),\n                onClick: _cache[7] || (_cache[7] = ($event) => showPicker(\"month\"))\n              }, toDisplayString(unref(t)(`el.datepicker.month${unref(month) + 1}`)), 35), [\n                [vShow, currentView.value === \"date\"]\n              ]),\n              createElementVNode(\"span\", {\n                class: normalizeClass(unref(dpNs).e(\"next-btn\"))\n              }, [\n                withDirectives(createElementVNode(\"button\", {\n                  type: \"button\",\n                  \"aria-label\": unref(t)(`el.datepicker.nextMonth`),\n                  class: normalizeClass([unref(ppNs).e(\"icon-btn\"), \"arrow-right\"]),\n                  onClick: _cache[8] || (_cache[8] = ($event) => moveByMonth(true))\n                }, [\n                  createVNode(unref(ElIcon), null, {\n                    default: withCtx(() => [\n                      createVNode(unref(ArrowRight))\n                    ]),\n                    _: 1\n                  })\n                ], 10, _hoisted_4), [\n                  [vShow, currentView.value === \"date\"]\n                ]),\n                createElementVNode(\"button\", {\n                  type: \"button\",\n                  \"aria-label\": unref(t)(`el.datepicker.nextYear`),\n                  class: normalizeClass([unref(ppNs).e(\"icon-btn\"), \"d-arrow-right\"]),\n                  onClick: _cache[9] || (_cache[9] = ($event) => moveByYear(true))\n                }, [\n                  createVNode(unref(ElIcon), null, {\n                    default: withCtx(() => [\n                      createVNode(unref(DArrowRight))\n                    ]),\n                    _: 1\n                  })\n                ], 10, _hoisted_5)\n              ], 2)\n            ], 2), [\n              [vShow, currentView.value !== \"time\"]\n            ]),\n            createElementVNode(\"div\", {\n              class: normalizeClass(unref(ppNs).e(\"content\")),\n              onKeydown: handleKeydownTable\n            }, [\n              currentView.value === \"date\" ? (openBlock(), createBlock(DateTable, {\n                key: 0,\n                ref_key: \"currentViewRef\",\n                ref: currentViewRef,\n                \"selection-mode\": unref(selectionMode),\n                date: innerDate.value,\n                \"parsed-value\": _ctx.parsedValue,\n                \"disabled-date\": unref(disabledDate),\n                \"cell-class-name\": unref(cellClassName),\n                onPick: handleDatePick\n              }, null, 8, [\"selection-mode\", \"date\", \"parsed-value\", \"disabled-date\", \"cell-class-name\"])) : createCommentVNode(\"v-if\", true),\n              currentView.value === \"year\" ? (openBlock(), createBlock(YearTable, {\n                key: 1,\n                ref_key: \"currentViewRef\",\n                ref: currentViewRef,\n                date: innerDate.value,\n                \"disabled-date\": unref(disabledDate),\n                \"parsed-value\": _ctx.parsedValue,\n                onPick: handleYearPick\n              }, null, 8, [\"date\", \"disabled-date\", \"parsed-value\"])) : createCommentVNode(\"v-if\", true),\n              currentView.value === \"month\" ? (openBlock(), createBlock(MonthTable, {\n                key: 2,\n                ref_key: \"currentViewRef\",\n                ref: currentViewRef,\n                date: innerDate.value,\n                \"parsed-value\": _ctx.parsedValue,\n                \"disabled-date\": unref(disabledDate),\n                onPick: handleMonthPick\n              }, null, 8, [\"date\", \"parsed-value\", \"disabled-date\"])) : createCommentVNode(\"v-if\", true)\n            ], 34)\n          ], 2)\n        ], 2),\n        withDirectives(createElementVNode(\"div\", {\n          class: normalizeClass(unref(ppNs).e(\"footer\"))\n        }, [\n          withDirectives(createVNode(unref(ElButton), {\n            text: \"\",\n            size: \"small\",\n            class: normalizeClass(unref(ppNs).e(\"link-btn\")),\n            onClick: changeToNow\n          }, {\n            default: withCtx(() => [\n              createTextVNode(toDisplayString(unref(t)(\"el.datepicker.now\")), 1)\n            ]),\n            _: 1\n          }, 8, [\"class\"]), [\n            [vShow, unref(selectionMode) !== \"dates\"]\n          ]),\n          createVNode(unref(ElButton), {\n            plain: \"\",\n            size: \"small\",\n            class: normalizeClass(unref(ppNs).e(\"link-btn\")),\n            onClick: onConfirm\n          }, {\n            default: withCtx(() => [\n              createTextVNode(toDisplayString(unref(t)(\"el.datepicker.confirm\")), 1)\n            ]),\n            _: 1\n          }, 8, [\"class\"])\n        ], 2), [\n          [vShow, unref(footerVisible) && currentView.value === \"date\"]\n        ])\n      ], 2);\n    };\n  }\n});\nvar DatePickPanel = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-date-pick.vue\"]]);\n\nexport { DatePickPanel as default };\n//# sourceMappingURL=panel-date-pick.mjs.map\n","import '../../../../utils/index.mjs';\nimport { panelSharedProps, panelRangeSharedProps } from './shared.mjs';\nimport { buildProps } from '../../../../utils/vue/props/runtime.mjs';\n\nconst panelDateRangeProps = buildProps({\n  ...panelSharedProps,\n  ...panelRangeSharedProps\n});\n\nexport { panelDateRangeProps };\n//# sourceMappingURL=panel-date-range.mjs.map\n","import { getCurrentInstance, useAttrs, useSlots } from 'vue';\nimport dayjs from 'dayjs';\nimport '../../../../utils/index.mjs';\nimport { isFunction } from '@vue/shared';\n\nconst useShortcut = (lang) => {\n  const { emit } = getCurrentInstance();\n  const attrs = useAttrs();\n  const slots = useSlots();\n  const handleShortcutClick = (shortcut) => {\n    const shortcutValues = isFunction(shortcut.value) ? shortcut.value() : shortcut.value;\n    if (shortcutValues) {\n      emit(\"pick\", [\n        dayjs(shortcutValues[0]).locale(lang.value),\n        dayjs(shortcutValues[1]).locale(lang.value)\n      ]);\n      return;\n    }\n    if (shortcut.onClick) {\n      shortcut.onClick({\n        attrs,\n        slots,\n        emit\n      });\n    }\n  };\n  return handleShortcutClick;\n};\n\nexport { useShortcut };\n//# sourceMappingURL=use-shortcut.mjs.map\n","import { getCurrentInstance, inject, ref, unref, watch } from 'vue';\nimport '../../../../utils/index.mjs';\nimport '../../../../hooks/index.mjs';\nimport { isValidRange, getDefaultValue } from '../utils.mjs';\nimport { ROOT_PICKER_INJECTION_KEY } from '../constants.mjs';\nimport { useShortcut } from './use-shortcut.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\nimport { useLocale } from '../../../../hooks/use-locale/index.mjs';\nimport { isArray } from '@vue/shared';\n\nconst useRangePicker = (props, {\n  defaultValue,\n  leftDate,\n  rightDate,\n  unit,\n  onParsedValueChanged\n}) => {\n  const { emit } = getCurrentInstance();\n  const { pickerNs } = inject(ROOT_PICKER_INJECTION_KEY);\n  const drpNs = useNamespace(\"date-range-picker\");\n  const { t, lang } = useLocale();\n  const handleShortcutClick = useShortcut(lang);\n  const minDate = ref();\n  const maxDate = ref();\n  const rangeState = ref({\n    endDate: null,\n    selecting: false\n  });\n  const handleChangeRange = (val) => {\n    rangeState.value = val;\n  };\n  const handleRangeConfirm = (visible = false) => {\n    const _minDate = unref(minDate);\n    const _maxDate = unref(maxDate);\n    if (isValidRange([_minDate, _maxDate])) {\n      emit(\"pick\", [_minDate, _maxDate], visible);\n    }\n  };\n  const onSelect = (selecting) => {\n    rangeState.value.selecting = selecting;\n    if (!selecting) {\n      rangeState.value.endDate = null;\n    }\n  };\n  const restoreDefault = () => {\n    const [start, end] = getDefaultValue(unref(defaultValue), {\n      lang: unref(lang),\n      unit,\n      unlinkPanels: props.unlinkPanels\n    });\n    minDate.value = void 0;\n    maxDate.value = void 0;\n    leftDate.value = start;\n    rightDate.value = end;\n  };\n  watch(defaultValue, (val) => {\n    if (val) {\n      restoreDefault();\n    }\n  }, { immediate: true });\n  watch(() => props.parsedValue, (parsedValue) => {\n    if (isArray(parsedValue) && parsedValue.length === 2) {\n      const [start, end] = parsedValue;\n      minDate.value = start;\n      leftDate.value = start;\n      maxDate.value = end;\n      onParsedValueChanged(unref(minDate), unref(maxDate));\n    } else {\n      restoreDefault();\n    }\n  }, { immediate: true });\n  return {\n    minDate,\n    maxDate,\n    rangeState,\n    lang,\n    ppNs: pickerNs,\n    drpNs,\n    handleChangeRange,\n    handleRangeConfirm,\n    handleShortcutClick,\n    onSelect,\n    t\n  };\n};\n\nexport { useRangePicker };\n//# sourceMappingURL=use-range-picker.mjs.map\n","import { defineComponent, inject, toRef, ref, computed, unref, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, Fragment, renderList, toDisplayString, createCommentVNode, createVNode, withDirectives, withCtx, createBlock, createTextVNode } from 'vue';\nimport dayjs from 'dayjs';\nimport '../../../../directives/index.mjs';\nimport '../../../../utils/index.mjs';\nimport '../../../../hooks/index.mjs';\nimport { ElButton } from '../../../button/index.mjs';\nimport { ElInput } from '../../../input/index.mjs';\nimport '../../../time-picker/index.mjs';\nimport { ElIcon } from '../../../icon/index.mjs';\nimport { ArrowRight, DArrowLeft, ArrowLeft, DArrowRight } from '@element-plus/icons-vue';\nimport { panelDateRangeProps } from '../props/panel-date-range.mjs';\nimport { useRangePicker } from '../composables/use-range-picker.mjs';\nimport { isValidRange, getDefaultValue } from '../utils.mjs';\nimport DateTable from './basic-date-table.mjs';\nimport _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useLocale } from '../../../../hooks/use-locale/index.mjs';\nimport { extractTimeFormat, extractDateFormat } from '../../../time-picker/src/utils.mjs';\nimport { isArray } from '@vue/shared';\nimport TimePickPanel from '../../../time-picker/src/time-picker-com/panel-time-pick.mjs';\nimport ClickOutside from '../../../../directives/click-outside/index.mjs';\n\nconst _hoisted_1 = [\"onClick\"];\nconst _hoisted_2 = [\"disabled\"];\nconst _hoisted_3 = [\"disabled\"];\nconst _hoisted_4 = [\"disabled\"];\nconst _hoisted_5 = [\"disabled\"];\nconst unit = \"month\";\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  __name: \"panel-date-range\",\n  props: panelDateRangeProps,\n  emits: [\n    \"pick\",\n    \"set-picker-option\",\n    \"calendar-change\",\n    \"panel-change\"\n  ],\n  setup(__props, { emit }) {\n    const props = __props;\n    const pickerBase = inject(\"EP_PICKER_BASE\");\n    const {\n      disabledDate,\n      cellClassName,\n      format,\n      defaultTime,\n      arrowControl,\n      clearable\n    } = pickerBase.props;\n    const shortcuts = toRef(pickerBase.props, \"shortcuts\");\n    const defaultValue = toRef(pickerBase.props, \"defaultValue\");\n    const { lang } = useLocale();\n    const leftDate = ref(dayjs().locale(lang.value));\n    const rightDate = ref(dayjs().locale(lang.value).add(1, unit));\n    const {\n      minDate,\n      maxDate,\n      rangeState,\n      ppNs,\n      drpNs,\n      handleChangeRange,\n      handleRangeConfirm,\n      handleShortcutClick,\n      onSelect,\n      t\n    } = useRangePicker(props, {\n      defaultValue,\n      leftDate,\n      rightDate,\n      unit,\n      onParsedValueChanged\n    });\n    const dateUserInput = ref({\n      min: null,\n      max: null\n    });\n    const timeUserInput = ref({\n      min: null,\n      max: null\n    });\n    const leftLabel = computed(() => {\n      return `${leftDate.value.year()} ${t(\"el.datepicker.year\")} ${t(`el.datepicker.month${leftDate.value.month() + 1}`)}`;\n    });\n    const rightLabel = computed(() => {\n      return `${rightDate.value.year()} ${t(\"el.datepicker.year\")} ${t(`el.datepicker.month${rightDate.value.month() + 1}`)}`;\n    });\n    const leftYear = computed(() => {\n      return leftDate.value.year();\n    });\n    const leftMonth = computed(() => {\n      return leftDate.value.month();\n    });\n    const rightYear = computed(() => {\n      return rightDate.value.year();\n    });\n    const rightMonth = computed(() => {\n      return rightDate.value.month();\n    });\n    const hasShortcuts = computed(() => !!shortcuts.value.length);\n    const minVisibleDate = computed(() => {\n      if (dateUserInput.value.min !== null)\n        return dateUserInput.value.min;\n      if (minDate.value)\n        return minDate.value.format(dateFormat.value);\n      return \"\";\n    });\n    const maxVisibleDate = computed(() => {\n      if (dateUserInput.value.max !== null)\n        return dateUserInput.value.max;\n      if (maxDate.value || minDate.value)\n        return (maxDate.value || minDate.value).format(dateFormat.value);\n      return \"\";\n    });\n    const minVisibleTime = computed(() => {\n      if (timeUserInput.value.min !== null)\n        return timeUserInput.value.min;\n      if (minDate.value)\n        return minDate.value.format(timeFormat.value);\n      return \"\";\n    });\n    const maxVisibleTime = computed(() => {\n      if (timeUserInput.value.max !== null)\n        return timeUserInput.value.max;\n      if (maxDate.value || minDate.value)\n        return (maxDate.value || minDate.value).format(timeFormat.value);\n      return \"\";\n    });\n    const timeFormat = computed(() => {\n      return extractTimeFormat(format);\n    });\n    const dateFormat = computed(() => {\n      return extractDateFormat(format);\n    });\n    const leftPrevYear = () => {\n      leftDate.value = leftDate.value.subtract(1, \"year\");\n      if (!props.unlinkPanels) {\n        rightDate.value = leftDate.value.add(1, \"month\");\n      }\n      handlePanelChange(\"year\");\n    };\n    const leftPrevMonth = () => {\n      leftDate.value = leftDate.value.subtract(1, \"month\");\n      if (!props.unlinkPanels) {\n        rightDate.value = leftDate.value.add(1, \"month\");\n      }\n      handlePanelChange(\"month\");\n    };\n    const rightNextYear = () => {\n      if (!props.unlinkPanels) {\n        leftDate.value = leftDate.value.add(1, \"year\");\n        rightDate.value = leftDate.value.add(1, \"month\");\n      } else {\n        rightDate.value = rightDate.value.add(1, \"year\");\n      }\n      handlePanelChange(\"year\");\n    };\n    const rightNextMonth = () => {\n      if (!props.unlinkPanels) {\n        leftDate.value = leftDate.value.add(1, \"month\");\n        rightDate.value = leftDate.value.add(1, \"month\");\n      } else {\n        rightDate.value = rightDate.value.add(1, \"month\");\n      }\n      handlePanelChange(\"month\");\n    };\n    const leftNextYear = () => {\n      leftDate.value = leftDate.value.add(1, \"year\");\n      handlePanelChange(\"year\");\n    };\n    const leftNextMonth = () => {\n      leftDate.value = leftDate.value.add(1, \"month\");\n      handlePanelChange(\"month\");\n    };\n    const rightPrevYear = () => {\n      rightDate.value = rightDate.value.subtract(1, \"year\");\n      handlePanelChange(\"year\");\n    };\n    const rightPrevMonth = () => {\n      rightDate.value = rightDate.value.subtract(1, \"month\");\n      handlePanelChange(\"month\");\n    };\n    const handlePanelChange = (mode) => {\n      emit(\"panel-change\", [leftDate.value.toDate(), rightDate.value.toDate()], mode);\n    };\n    const enableMonthArrow = computed(() => {\n      const nextMonth = (leftMonth.value + 1) % 12;\n      const yearOffset = leftMonth.value + 1 >= 12 ? 1 : 0;\n      return props.unlinkPanels && new Date(leftYear.value + yearOffset, nextMonth) < new Date(rightYear.value, rightMonth.value);\n    });\n    const enableYearArrow = computed(() => {\n      return props.unlinkPanels && rightYear.value * 12 + rightMonth.value - (leftYear.value * 12 + leftMonth.value + 1) >= 12;\n    });\n    const btnDisabled = computed(() => {\n      return !(minDate.value && maxDate.value && !rangeState.value.selecting && isValidRange([minDate.value, maxDate.value]));\n    });\n    const showTime = computed(() => props.type === \"datetime\" || props.type === \"datetimerange\");\n    const formatEmit = (emitDayjs, index) => {\n      if (!emitDayjs)\n        return;\n      if (defaultTime) {\n        const defaultTimeD = dayjs(defaultTime[index] || defaultTime).locale(lang.value);\n        return defaultTimeD.year(emitDayjs.year()).month(emitDayjs.month()).date(emitDayjs.date());\n      }\n      return emitDayjs;\n    };\n    const handleRangePick = (val, close = true) => {\n      const min_ = val.minDate;\n      const max_ = val.maxDate;\n      const minDate_ = formatEmit(min_, 0);\n      const maxDate_ = formatEmit(max_, 1);\n      if (maxDate.value === maxDate_ && minDate.value === minDate_) {\n        return;\n      }\n      emit(\"calendar-change\", [min_.toDate(), max_ && max_.toDate()]);\n      maxDate.value = maxDate_;\n      minDate.value = minDate_;\n      if (!close || showTime.value)\n        return;\n      handleRangeConfirm();\n    };\n    const minTimePickerVisible = ref(false);\n    const maxTimePickerVisible = ref(false);\n    const handleMinTimeClose = () => {\n      minTimePickerVisible.value = false;\n    };\n    const handleMaxTimeClose = () => {\n      maxTimePickerVisible.value = false;\n    };\n    const handleDateInput = (value, type) => {\n      dateUserInput.value[type] = value;\n      const parsedValueD = dayjs(value, dateFormat.value).locale(lang.value);\n      if (parsedValueD.isValid()) {\n        if (disabledDate && disabledDate(parsedValueD.toDate())) {\n          return;\n        }\n        if (type === \"min\") {\n          leftDate.value = parsedValueD;\n          minDate.value = (minDate.value || leftDate.value).year(parsedValueD.year()).month(parsedValueD.month()).date(parsedValueD.date());\n          if (!props.unlinkPanels) {\n            rightDate.value = parsedValueD.add(1, \"month\");\n            maxDate.value = minDate.value.add(1, \"month\");\n          }\n        } else {\n          rightDate.value = parsedValueD;\n          maxDate.value = (maxDate.value || rightDate.value).year(parsedValueD.year()).month(parsedValueD.month()).date(parsedValueD.date());\n          if (!props.unlinkPanels) {\n            leftDate.value = parsedValueD.subtract(1, \"month\");\n            minDate.value = maxDate.value.subtract(1, \"month\");\n          }\n        }\n      }\n    };\n    const handleDateChange = (_, type) => {\n      dateUserInput.value[type] = null;\n    };\n    const handleTimeInput = (value, type) => {\n      timeUserInput.value[type] = value;\n      const parsedValueD = dayjs(value, timeFormat.value).locale(lang.value);\n      if (parsedValueD.isValid()) {\n        if (type === \"min\") {\n          minTimePickerVisible.value = true;\n          minDate.value = (minDate.value || leftDate.value).hour(parsedValueD.hour()).minute(parsedValueD.minute()).second(parsedValueD.second());\n          if (!maxDate.value || maxDate.value.isBefore(minDate.value)) {\n            maxDate.value = minDate.value;\n          }\n        } else {\n          maxTimePickerVisible.value = true;\n          maxDate.value = (maxDate.value || rightDate.value).hour(parsedValueD.hour()).minute(parsedValueD.minute()).second(parsedValueD.second());\n          rightDate.value = maxDate.value;\n          if (maxDate.value && maxDate.value.isBefore(minDate.value)) {\n            minDate.value = maxDate.value;\n          }\n        }\n      }\n    };\n    const handleTimeChange = (value, type) => {\n      timeUserInput.value[type] = null;\n      if (type === \"min\") {\n        leftDate.value = minDate.value;\n        minTimePickerVisible.value = false;\n      } else {\n        rightDate.value = maxDate.value;\n        maxTimePickerVisible.value = false;\n      }\n    };\n    const handleMinTimePick = (value, visible, first) => {\n      if (timeUserInput.value.min)\n        return;\n      if (value) {\n        leftDate.value = value;\n        minDate.value = (minDate.value || leftDate.value).hour(value.hour()).minute(value.minute()).second(value.second());\n      }\n      if (!first) {\n        minTimePickerVisible.value = visible;\n      }\n      if (!maxDate.value || maxDate.value.isBefore(minDate.value)) {\n        maxDate.value = minDate.value;\n        rightDate.value = value;\n      }\n    };\n    const handleMaxTimePick = (value, visible, first) => {\n      if (timeUserInput.value.max)\n        return;\n      if (value) {\n        rightDate.value = value;\n        maxDate.value = (maxDate.value || rightDate.value).hour(value.hour()).minute(value.minute()).second(value.second());\n      }\n      if (!first) {\n        maxTimePickerVisible.value = visible;\n      }\n      if (maxDate.value && maxDate.value.isBefore(minDate.value)) {\n        minDate.value = maxDate.value;\n      }\n    };\n    const handleClear = () => {\n      leftDate.value = getDefaultValue(unref(defaultValue), {\n        lang: unref(lang),\n        unit: \"month\",\n        unlinkPanels: props.unlinkPanels\n      })[0];\n      rightDate.value = leftDate.value.add(1, \"month\");\n      emit(\"pick\", null);\n    };\n    const formatToString = (value) => {\n      return isArray(value) ? value.map((_) => _.format(format)) : value.format(format);\n    };\n    const parseUserInput = (value) => {\n      return isArray(value) ? value.map((_) => dayjs(_, format).locale(lang.value)) : dayjs(value, format).locale(lang.value);\n    };\n    function onParsedValueChanged(minDate2, maxDate2) {\n      if (props.unlinkPanels && maxDate2) {\n        const minDateYear = (minDate2 == null ? void 0 : minDate2.year()) || 0;\n        const minDateMonth = (minDate2 == null ? void 0 : minDate2.month()) || 0;\n        const maxDateYear = maxDate2.year();\n        const maxDateMonth = maxDate2.month();\n        rightDate.value = minDateYear === maxDateYear && minDateMonth === maxDateMonth ? maxDate2.add(1, unit) : maxDate2;\n      } else {\n        rightDate.value = leftDate.value.add(1, unit);\n        if (maxDate2) {\n          rightDate.value = rightDate.value.hour(maxDate2.hour()).minute(maxDate2.minute()).second(maxDate2.second());\n        }\n      }\n    }\n    emit(\"set-picker-option\", [\"isValidValue\", isValidRange]);\n    emit(\"set-picker-option\", [\"parseUserInput\", parseUserInput]);\n    emit(\"set-picker-option\", [\"formatToString\", formatToString]);\n    emit(\"set-picker-option\", [\"handleClear\", handleClear]);\n    return (_ctx, _cache) => {\n      return openBlock(), createElementBlock(\"div\", {\n        class: normalizeClass([\n          unref(ppNs).b(),\n          unref(drpNs).b(),\n          {\n            \"has-sidebar\": _ctx.$slots.sidebar || unref(hasShortcuts),\n            \"has-time\": unref(showTime)\n          }\n        ])\n      }, [\n        createElementVNode(\"div\", {\n          class: normalizeClass(unref(ppNs).e(\"body-wrapper\"))\n        }, [\n          renderSlot(_ctx.$slots, \"sidebar\", {\n            class: normalizeClass(unref(ppNs).e(\"sidebar\"))\n          }),\n          unref(hasShortcuts) ? (openBlock(), createElementBlock(\"div\", {\n            key: 0,\n            class: normalizeClass(unref(ppNs).e(\"sidebar\"))\n          }, [\n            (openBlock(true), createElementBlock(Fragment, null, renderList(unref(shortcuts), (shortcut, key) => {\n              return openBlock(), createElementBlock(\"button\", {\n                key,\n                type: \"button\",\n                class: normalizeClass(unref(ppNs).e(\"shortcut\")),\n                onClick: ($event) => unref(handleShortcutClick)(shortcut)\n              }, toDisplayString(shortcut.text), 11, _hoisted_1);\n            }), 128))\n          ], 2)) : createCommentVNode(\"v-if\", true),\n          createElementVNode(\"div\", {\n            class: normalizeClass(unref(ppNs).e(\"body\"))\n          }, [\n            unref(showTime) ? (openBlock(), createElementBlock(\"div\", {\n              key: 0,\n              class: normalizeClass(unref(drpNs).e(\"time-header\"))\n            }, [\n              createElementVNode(\"span\", {\n                class: normalizeClass(unref(drpNs).e(\"editors-wrap\"))\n              }, [\n                createElementVNode(\"span\", {\n                  class: normalizeClass(unref(drpNs).e(\"time-picker-wrap\"))\n                }, [\n                  createVNode(unref(ElInput), {\n                    size: \"small\",\n                    disabled: unref(rangeState).selecting,\n                    placeholder: unref(t)(\"el.datepicker.startDate\"),\n                    class: normalizeClass(unref(drpNs).e(\"editor\")),\n                    \"model-value\": unref(minVisibleDate),\n                    \"validate-event\": false,\n                    onInput: _cache[0] || (_cache[0] = (val) => handleDateInput(val, \"min\")),\n                    onChange: _cache[1] || (_cache[1] = (val) => handleDateChange(val, \"min\"))\n                  }, null, 8, [\"disabled\", \"placeholder\", \"class\", \"model-value\"])\n                ], 2),\n                withDirectives((openBlock(), createElementBlock(\"span\", {\n                  class: normalizeClass(unref(drpNs).e(\"time-picker-wrap\"))\n                }, [\n                  createVNode(unref(ElInput), {\n                    size: \"small\",\n                    class: normalizeClass(unref(drpNs).e(\"editor\")),\n                    disabled: unref(rangeState).selecting,\n                    placeholder: unref(t)(\"el.datepicker.startTime\"),\n                    \"model-value\": unref(minVisibleTime),\n                    \"validate-event\": false,\n                    onFocus: _cache[2] || (_cache[2] = ($event) => minTimePickerVisible.value = true),\n                    onInput: _cache[3] || (_cache[3] = (val) => handleTimeInput(val, \"min\")),\n                    onChange: _cache[4] || (_cache[4] = (val) => handleTimeChange(val, \"min\"))\n                  }, null, 8, [\"class\", \"disabled\", \"placeholder\", \"model-value\"]),\n                  createVNode(unref(TimePickPanel), {\n                    visible: minTimePickerVisible.value,\n                    format: unref(timeFormat),\n                    \"datetime-role\": \"start\",\n                    \"time-arrow-control\": unref(arrowControl),\n                    \"parsed-value\": leftDate.value,\n                    onPick: handleMinTimePick\n                  }, null, 8, [\"visible\", \"format\", \"time-arrow-control\", \"parsed-value\"])\n                ], 2)), [\n                  [unref(ClickOutside), handleMinTimeClose]\n                ])\n              ], 2),\n              createElementVNode(\"span\", null, [\n                createVNode(unref(ElIcon), null, {\n                  default: withCtx(() => [\n                    createVNode(unref(ArrowRight))\n                  ]),\n                  _: 1\n                })\n              ]),\n              createElementVNode(\"span\", {\n                class: normalizeClass([unref(drpNs).e(\"editors-wrap\"), \"is-right\"])\n              }, [\n                createElementVNode(\"span\", {\n                  class: normalizeClass(unref(drpNs).e(\"time-picker-wrap\"))\n                }, [\n                  createVNode(unref(ElInput), {\n                    size: \"small\",\n                    class: normalizeClass(unref(drpNs).e(\"editor\")),\n                    disabled: unref(rangeState).selecting,\n                    placeholder: unref(t)(\"el.datepicker.endDate\"),\n                    \"model-value\": unref(maxVisibleDate),\n                    readonly: !unref(minDate),\n                    \"validate-event\": false,\n                    onInput: _cache[5] || (_cache[5] = (val) => handleDateInput(val, \"max\")),\n                    onChange: _cache[6] || (_cache[6] = (val) => handleDateChange(val, \"max\"))\n                  }, null, 8, [\"class\", \"disabled\", \"placeholder\", \"model-value\", \"readonly\"])\n                ], 2),\n                withDirectives((openBlock(), createElementBlock(\"span\", {\n                  class: normalizeClass(unref(drpNs).e(\"time-picker-wrap\"))\n                }, [\n                  createVNode(unref(ElInput), {\n                    size: \"small\",\n                    class: normalizeClass(unref(drpNs).e(\"editor\")),\n                    disabled: unref(rangeState).selecting,\n                    placeholder: unref(t)(\"el.datepicker.endTime\"),\n                    \"model-value\": unref(maxVisibleTime),\n                    readonly: !unref(minDate),\n                    \"validate-event\": false,\n                    onFocus: _cache[7] || (_cache[7] = ($event) => unref(minDate) && (maxTimePickerVisible.value = true)),\n                    onInput: _cache[8] || (_cache[8] = (val) => handleTimeInput(val, \"max\")),\n                    onChange: _cache[9] || (_cache[9] = (val) => handleTimeChange(val, \"max\"))\n                  }, null, 8, [\"class\", \"disabled\", \"placeholder\", \"model-value\", \"readonly\"]),\n                  createVNode(unref(TimePickPanel), {\n                    \"datetime-role\": \"end\",\n                    visible: maxTimePickerVisible.value,\n                    format: unref(timeFormat),\n                    \"time-arrow-control\": unref(arrowControl),\n                    \"parsed-value\": rightDate.value,\n                    onPick: handleMaxTimePick\n                  }, null, 8, [\"visible\", \"format\", \"time-arrow-control\", \"parsed-value\"])\n                ], 2)), [\n                  [unref(ClickOutside), handleMaxTimeClose]\n                ])\n              ], 2)\n            ], 2)) : createCommentVNode(\"v-if\", true),\n            createElementVNode(\"div\", {\n              class: normalizeClass([[unref(ppNs).e(\"content\"), unref(drpNs).e(\"content\")], \"is-left\"])\n            }, [\n              createElementVNode(\"div\", {\n                class: normalizeClass(unref(drpNs).e(\"header\"))\n              }, [\n                createElementVNode(\"button\", {\n                  type: \"button\",\n                  class: normalizeClass([unref(ppNs).e(\"icon-btn\"), \"d-arrow-left\"]),\n                  onClick: leftPrevYear\n                }, [\n                  createVNode(unref(ElIcon), null, {\n                    default: withCtx(() => [\n                      createVNode(unref(DArrowLeft))\n                    ]),\n                    _: 1\n                  })\n                ], 2),\n                createElementVNode(\"button\", {\n                  type: \"button\",\n                  class: normalizeClass([unref(ppNs).e(\"icon-btn\"), \"arrow-left\"]),\n                  onClick: leftPrevMonth\n                }, [\n                  createVNode(unref(ElIcon), null, {\n                    default: withCtx(() => [\n                      createVNode(unref(ArrowLeft))\n                    ]),\n                    _: 1\n                  })\n                ], 2),\n                _ctx.unlinkPanels ? (openBlock(), createElementBlock(\"button\", {\n                  key: 0,\n                  type: \"button\",\n                  disabled: !unref(enableYearArrow),\n                  class: normalizeClass([[unref(ppNs).e(\"icon-btn\"), { \"is-disabled\": !unref(enableYearArrow) }], \"d-arrow-right\"]),\n                  onClick: leftNextYear\n                }, [\n                  createVNode(unref(ElIcon), null, {\n                    default: withCtx(() => [\n                      createVNode(unref(DArrowRight))\n                    ]),\n                    _: 1\n                  })\n                ], 10, _hoisted_2)) : createCommentVNode(\"v-if\", true),\n                _ctx.unlinkPanels ? (openBlock(), createElementBlock(\"button\", {\n                  key: 1,\n                  type: \"button\",\n                  disabled: !unref(enableMonthArrow),\n                  class: normalizeClass([[\n                    unref(ppNs).e(\"icon-btn\"),\n                    { \"is-disabled\": !unref(enableMonthArrow) }\n                  ], \"arrow-right\"]),\n                  onClick: leftNextMonth\n                }, [\n                  createVNode(unref(ElIcon), null, {\n                    default: withCtx(() => [\n                      createVNode(unref(ArrowRight))\n                    ]),\n                    _: 1\n                  })\n                ], 10, _hoisted_3)) : createCommentVNode(\"v-if\", true),\n                createElementVNode(\"div\", null, toDisplayString(unref(leftLabel)), 1)\n              ], 2),\n              createVNode(DateTable, {\n                \"selection-mode\": \"range\",\n                date: leftDate.value,\n                \"min-date\": unref(minDate),\n                \"max-date\": unref(maxDate),\n                \"range-state\": unref(rangeState),\n                \"disabled-date\": unref(disabledDate),\n                \"cell-class-name\": unref(cellClassName),\n                onChangerange: unref(handleChangeRange),\n                onPick: handleRangePick,\n                onSelect: unref(onSelect)\n              }, null, 8, [\"date\", \"min-date\", \"max-date\", \"range-state\", \"disabled-date\", \"cell-class-name\", \"onChangerange\", \"onSelect\"])\n            ], 2),\n            createElementVNode(\"div\", {\n              class: normalizeClass([[unref(ppNs).e(\"content\"), unref(drpNs).e(\"content\")], \"is-right\"])\n            }, [\n              createElementVNode(\"div\", {\n                class: normalizeClass(unref(drpNs).e(\"header\"))\n              }, [\n                _ctx.unlinkPanels ? (openBlock(), createElementBlock(\"button\", {\n                  key: 0,\n                  type: \"button\",\n                  disabled: !unref(enableYearArrow),\n                  class: normalizeClass([[unref(ppNs).e(\"icon-btn\"), { \"is-disabled\": !unref(enableYearArrow) }], \"d-arrow-left\"]),\n                  onClick: rightPrevYear\n                }, [\n                  createVNode(unref(ElIcon), null, {\n                    default: withCtx(() => [\n                      createVNode(unref(DArrowLeft))\n                    ]),\n                    _: 1\n                  })\n                ], 10, _hoisted_4)) : createCommentVNode(\"v-if\", true),\n                _ctx.unlinkPanels ? (openBlock(), createElementBlock(\"button\", {\n                  key: 1,\n                  type: \"button\",\n                  disabled: !unref(enableMonthArrow),\n                  class: normalizeClass([[\n                    unref(ppNs).e(\"icon-btn\"),\n                    { \"is-disabled\": !unref(enableMonthArrow) }\n                  ], \"arrow-left\"]),\n                  onClick: rightPrevMonth\n                }, [\n                  createVNode(unref(ElIcon), null, {\n                    default: withCtx(() => [\n                      createVNode(unref(ArrowLeft))\n                    ]),\n                    _: 1\n                  })\n                ], 10, _hoisted_5)) : createCommentVNode(\"v-if\", true),\n                createElementVNode(\"button\", {\n                  type: \"button\",\n                  class: normalizeClass([unref(ppNs).e(\"icon-btn\"), \"d-arrow-right\"]),\n                  onClick: rightNextYear\n                }, [\n                  createVNode(unref(ElIcon), null, {\n                    default: withCtx(() => [\n                      createVNode(unref(DArrowRight))\n                    ]),\n                    _: 1\n                  })\n                ], 2),\n                createElementVNode(\"button\", {\n                  type: \"button\",\n                  class: normalizeClass([unref(ppNs).e(\"icon-btn\"), \"arrow-right\"]),\n                  onClick: rightNextMonth\n                }, [\n                  createVNode(unref(ElIcon), null, {\n                    default: withCtx(() => [\n                      createVNode(unref(ArrowRight))\n                    ]),\n                    _: 1\n                  })\n                ], 2),\n                createElementVNode(\"div\", null, toDisplayString(unref(rightLabel)), 1)\n              ], 2),\n              createVNode(DateTable, {\n                \"selection-mode\": \"range\",\n                date: rightDate.value,\n                \"min-date\": unref(minDate),\n                \"max-date\": unref(maxDate),\n                \"range-state\": unref(rangeState),\n                \"disabled-date\": unref(disabledDate),\n                \"cell-class-name\": unref(cellClassName),\n                onChangerange: unref(handleChangeRange),\n                onPick: handleRangePick,\n                onSelect: unref(onSelect)\n              }, null, 8, [\"date\", \"min-date\", \"max-date\", \"range-state\", \"disabled-date\", \"cell-class-name\", \"onChangerange\", \"onSelect\"])\n            ], 2)\n          ], 2)\n        ], 2),\n        unref(showTime) ? (openBlock(), createElementBlock(\"div\", {\n          key: 0,\n          class: normalizeClass(unref(ppNs).e(\"footer\"))\n        }, [\n          unref(clearable) ? (openBlock(), createBlock(unref(ElButton), {\n            key: 0,\n            text: \"\",\n            size: \"small\",\n            class: normalizeClass(unref(ppNs).e(\"link-btn\")),\n            onClick: handleClear\n          }, {\n            default: withCtx(() => [\n              createTextVNode(toDisplayString(unref(t)(\"el.datepicker.clear\")), 1)\n            ]),\n            _: 1\n          }, 8, [\"class\"])) : createCommentVNode(\"v-if\", true),\n          createVNode(unref(ElButton), {\n            plain: \"\",\n            size: \"small\",\n            class: normalizeClass(unref(ppNs).e(\"link-btn\")),\n            disabled: unref(btnDisabled),\n            onClick: _cache[10] || (_cache[10] = ($event) => unref(handleRangeConfirm)(false))\n          }, {\n            default: withCtx(() => [\n              createTextVNode(toDisplayString(unref(t)(\"el.datepicker.confirm\")), 1)\n            ]),\n            _: 1\n          }, 8, [\"class\", \"disabled\"])\n        ], 2)) : createCommentVNode(\"v-if\", true)\n      ], 2);\n    };\n  }\n});\nvar DateRangePickPanel = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-date-range.vue\"]]);\n\nexport { DateRangePickPanel as default };\n//# sourceMappingURL=panel-date-range.mjs.map\n","import '../../../../utils/index.mjs';\nimport { panelRangeSharedProps } from './shared.mjs';\nimport { buildProps } from '../../../../utils/vue/props/runtime.mjs';\n\nconst panelMonthRangeProps = buildProps({\n  ...panelRangeSharedProps\n});\nconst panelMonthRangeEmits = [\"pick\", \"set-picker-option\"];\n\nexport { panelMonthRangeEmits, panelMonthRangeProps };\n//# sourceMappingURL=panel-month-range.mjs.map\n","import { computed } from 'vue';\nimport '../../../../hooks/index.mjs';\nimport { useLocale } from '../../../../hooks/use-locale/index.mjs';\n\nconst useMonthRangeHeader = ({\n  unlinkPanels,\n  leftDate,\n  rightDate\n}) => {\n  const { t } = useLocale();\n  const leftPrevYear = () => {\n    leftDate.value = leftDate.value.subtract(1, \"year\");\n    if (!unlinkPanels.value) {\n      rightDate.value = rightDate.value.subtract(1, \"year\");\n    }\n  };\n  const rightNextYear = () => {\n    if (!unlinkPanels.value) {\n      leftDate.value = leftDate.value.add(1, \"year\");\n    }\n    rightDate.value = rightDate.value.add(1, \"year\");\n  };\n  const leftNextYear = () => {\n    leftDate.value = leftDate.value.add(1, \"year\");\n  };\n  const rightPrevYear = () => {\n    rightDate.value = rightDate.value.subtract(1, \"year\");\n  };\n  const leftLabel = computed(() => {\n    return `${leftDate.value.year()} ${t(\"el.datepicker.year\")}`;\n  });\n  const rightLabel = computed(() => {\n    return `${rightDate.value.year()} ${t(\"el.datepicker.year\")}`;\n  });\n  const leftYear = computed(() => {\n    return leftDate.value.year();\n  });\n  const rightYear = computed(() => {\n    return rightDate.value.year() === leftDate.value.year() ? leftDate.value.year() + 1 : rightDate.value.year();\n  });\n  return {\n    leftPrevYear,\n    rightNextYear,\n    leftNextYear,\n    rightPrevYear,\n    leftLabel,\n    rightLabel,\n    leftYear,\n    rightYear\n  };\n};\n\nexport { useMonthRangeHeader };\n//# sourceMappingURL=use-month-range-header.mjs.map\n","import { defineComponent, inject, toRef, ref, computed, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, renderSlot, Fragment, renderList, toDisplayString, createCommentVNode, createVNode, withCtx } from 'vue';\nimport dayjs from 'dayjs';\nimport { ElIcon } from '../../../icon/index.mjs';\nimport '../../../../hooks/index.mjs';\nimport { DArrowLeft, DArrowRight } from '@element-plus/icons-vue';\nimport { panelMonthRangeProps, panelMonthRangeEmits } from '../props/panel-month-range.mjs';\nimport { useMonthRangeHeader } from '../composables/use-month-range-header.mjs';\nimport { useRangePicker } from '../composables/use-range-picker.mjs';\nimport MonthTable from './basic-month-table.mjs';\nimport _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useLocale } from '../../../../hooks/use-locale/index.mjs';\n\nconst _hoisted_1 = [\"onClick\"];\nconst _hoisted_2 = [\"disabled\"];\nconst _hoisted_3 = [\"disabled\"];\nconst unit = \"year\";\nconst __default__ = defineComponent({\n  name: \"DatePickerMonthRange\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  ...__default__,\n  props: panelMonthRangeProps,\n  emits: panelMonthRangeEmits,\n  setup(__props, { emit }) {\n    const props = __props;\n    const { lang } = useLocale();\n    const pickerBase = inject(\"EP_PICKER_BASE\");\n    const { shortcuts, disabledDate, format } = pickerBase.props;\n    const defaultValue = toRef(pickerBase.props, \"defaultValue\");\n    const leftDate = ref(dayjs().locale(lang.value));\n    const rightDate = ref(dayjs().locale(lang.value).add(1, unit));\n    const {\n      minDate,\n      maxDate,\n      rangeState,\n      ppNs,\n      drpNs,\n      handleChangeRange,\n      handleRangeConfirm,\n      handleShortcutClick,\n      onSelect\n    } = useRangePicker(props, {\n      defaultValue,\n      leftDate,\n      rightDate,\n      unit,\n      onParsedValueChanged\n    });\n    const hasShortcuts = computed(() => !!shortcuts.length);\n    const {\n      leftPrevYear,\n      rightNextYear,\n      leftNextYear,\n      rightPrevYear,\n      leftLabel,\n      rightLabel,\n      leftYear,\n      rightYear\n    } = useMonthRangeHeader({\n      unlinkPanels: toRef(props, \"unlinkPanels\"),\n      leftDate,\n      rightDate\n    });\n    const enableYearArrow = computed(() => {\n      return props.unlinkPanels && rightYear.value > leftYear.value + 1;\n    });\n    const handleRangePick = (val, close = true) => {\n      const minDate_ = val.minDate;\n      const maxDate_ = val.maxDate;\n      if (maxDate.value === maxDate_ && minDate.value === minDate_) {\n        return;\n      }\n      maxDate.value = maxDate_;\n      minDate.value = minDate_;\n      if (!close)\n        return;\n      handleRangeConfirm();\n    };\n    const formatToString = (days) => {\n      return days.map((day) => day.format(format));\n    };\n    function onParsedValueChanged(minDate2, maxDate2) {\n      if (props.unlinkPanels && maxDate2) {\n        const minDateYear = (minDate2 == null ? void 0 : minDate2.year()) || 0;\n        const maxDateYear = maxDate2.year();\n        rightDate.value = minDateYear === maxDateYear ? maxDate2.add(1, unit) : maxDate2;\n      } else {\n        rightDate.value = leftDate.value.add(1, unit);\n      }\n    }\n    emit(\"set-picker-option\", [\"formatToString\", formatToString]);\n    return (_ctx, _cache) => {\n      return openBlock(), createElementBlock(\"div\", {\n        class: normalizeClass([\n          unref(ppNs).b(),\n          unref(drpNs).b(),\n          {\n            \"has-sidebar\": Boolean(_ctx.$slots.sidebar) || unref(hasShortcuts)\n          }\n        ])\n      }, [\n        createElementVNode(\"div\", {\n          class: normalizeClass(unref(ppNs).e(\"body-wrapper\"))\n        }, [\n          renderSlot(_ctx.$slots, \"sidebar\", {\n            class: normalizeClass(unref(ppNs).e(\"sidebar\"))\n          }),\n          unref(hasShortcuts) ? (openBlock(), createElementBlock(\"div\", {\n            key: 0,\n            class: normalizeClass(unref(ppNs).e(\"sidebar\"))\n          }, [\n            (openBlock(true), createElementBlock(Fragment, null, renderList(unref(shortcuts), (shortcut, key) => {\n              return openBlock(), createElementBlock(\"button\", {\n                key,\n                type: \"button\",\n                class: normalizeClass(unref(ppNs).e(\"shortcut\")),\n                onClick: ($event) => unref(handleShortcutClick)(shortcut)\n              }, toDisplayString(shortcut.text), 11, _hoisted_1);\n            }), 128))\n          ], 2)) : createCommentVNode(\"v-if\", true),\n          createElementVNode(\"div\", {\n            class: normalizeClass(unref(ppNs).e(\"body\"))\n          }, [\n            createElementVNode(\"div\", {\n              class: normalizeClass([[unref(ppNs).e(\"content\"), unref(drpNs).e(\"content\")], \"is-left\"])\n            }, [\n              createElementVNode(\"div\", {\n                class: normalizeClass(unref(drpNs).e(\"header\"))\n              }, [\n                createElementVNode(\"button\", {\n                  type: \"button\",\n                  class: normalizeClass([unref(ppNs).e(\"icon-btn\"), \"d-arrow-left\"]),\n                  onClick: _cache[0] || (_cache[0] = (...args) => unref(leftPrevYear) && unref(leftPrevYear)(...args))\n                }, [\n                  createVNode(unref(ElIcon), null, {\n                    default: withCtx(() => [\n                      createVNode(unref(DArrowLeft))\n                    ]),\n                    _: 1\n                  })\n                ], 2),\n                _ctx.unlinkPanels ? (openBlock(), createElementBlock(\"button\", {\n                  key: 0,\n                  type: \"button\",\n                  disabled: !unref(enableYearArrow),\n                  class: normalizeClass([[\n                    unref(ppNs).e(\"icon-btn\"),\n                    { [unref(ppNs).is(\"disabled\")]: !unref(enableYearArrow) }\n                  ], \"d-arrow-right\"]),\n                  onClick: _cache[1] || (_cache[1] = (...args) => unref(leftNextYear) && unref(leftNextYear)(...args))\n                }, [\n                  createVNode(unref(ElIcon), null, {\n                    default: withCtx(() => [\n                      createVNode(unref(DArrowRight))\n                    ]),\n                    _: 1\n                  })\n                ], 10, _hoisted_2)) : createCommentVNode(\"v-if\", true),\n                createElementVNode(\"div\", null, toDisplayString(unref(leftLabel)), 1)\n              ], 2),\n              createVNode(MonthTable, {\n                \"selection-mode\": \"range\",\n                date: leftDate.value,\n                \"min-date\": unref(minDate),\n                \"max-date\": unref(maxDate),\n                \"range-state\": unref(rangeState),\n                \"disabled-date\": unref(disabledDate),\n                onChangerange: unref(handleChangeRange),\n                onPick: handleRangePick,\n                onSelect: unref(onSelect)\n              }, null, 8, [\"date\", \"min-date\", \"max-date\", \"range-state\", \"disabled-date\", \"onChangerange\", \"onSelect\"])\n            ], 2),\n            createElementVNode(\"div\", {\n              class: normalizeClass([[unref(ppNs).e(\"content\"), unref(drpNs).e(\"content\")], \"is-right\"])\n            }, [\n              createElementVNode(\"div\", {\n                class: normalizeClass(unref(drpNs).e(\"header\"))\n              }, [\n                _ctx.unlinkPanels ? (openBlock(), createElementBlock(\"button\", {\n                  key: 0,\n                  type: \"button\",\n                  disabled: !unref(enableYearArrow),\n                  class: normalizeClass([[unref(ppNs).e(\"icon-btn\"), { \"is-disabled\": !unref(enableYearArrow) }], \"d-arrow-left\"]),\n                  onClick: _cache[2] || (_cache[2] = (...args) => unref(rightPrevYear) && unref(rightPrevYear)(...args))\n                }, [\n                  createVNode(unref(ElIcon), null, {\n                    default: withCtx(() => [\n                      createVNode(unref(DArrowLeft))\n                    ]),\n                    _: 1\n                  })\n                ], 10, _hoisted_3)) : createCommentVNode(\"v-if\", true),\n                createElementVNode(\"button\", {\n                  type: \"button\",\n                  class: normalizeClass([unref(ppNs).e(\"icon-btn\"), \"d-arrow-right\"]),\n                  onClick: _cache[3] || (_cache[3] = (...args) => unref(rightNextYear) && unref(rightNextYear)(...args))\n                }, [\n                  createVNode(unref(ElIcon), null, {\n                    default: withCtx(() => [\n                      createVNode(unref(DArrowRight))\n                    ]),\n                    _: 1\n                  })\n                ], 2),\n                createElementVNode(\"div\", null, toDisplayString(unref(rightLabel)), 1)\n              ], 2),\n              createVNode(MonthTable, {\n                \"selection-mode\": \"range\",\n                date: rightDate.value,\n                \"min-date\": unref(minDate),\n                \"max-date\": unref(maxDate),\n                \"range-state\": unref(rangeState),\n                \"disabled-date\": unref(disabledDate),\n                onChangerange: unref(handleChangeRange),\n                onPick: handleRangePick,\n                onSelect: unref(onSelect)\n              }, null, 8, [\"date\", \"min-date\", \"max-date\", \"range-state\", \"disabled-date\", \"onChangerange\", \"onSelect\"])\n            ], 2)\n          ], 2)\n        ], 2)\n      ], 2);\n    };\n  }\n});\nvar MonthRangePickPanel = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-month-range.vue\"]]);\n\nexport { MonthRangePickPanel as default };\n//# sourceMappingURL=panel-month-range.mjs.map\n","import DatePickPanel from './date-picker-com/panel-date-pick.mjs';\nimport DateRangePickPanel from './date-picker-com/panel-date-range.mjs';\nimport MonthRangePickPanel from './date-picker-com/panel-month-range.mjs';\n\nconst getPanel = function(type) {\n  switch (type) {\n    case \"daterange\":\n    case \"datetimerange\": {\n      return DateRangePickPanel;\n    }\n    case \"monthrange\": {\n      return MonthRangePickPanel;\n    }\n    default: {\n      return DatePickPanel;\n    }\n  }\n};\n\nexport { getPanel };\n//# sourceMappingURL=panel-utils.mjs.map\n","import { defineComponent, provide, reactive, toRef, ref, createVNode, mergeProps } from 'vue';\nimport dayjs from 'dayjs';\nimport customParseFormat from 'dayjs/plugin/customParseFormat.js';\nimport advancedFormat from 'dayjs/plugin/advancedFormat.js';\nimport localeData from 'dayjs/plugin/localeData.js';\nimport weekOfYear from 'dayjs/plugin/weekOfYear.js';\nimport weekYear from 'dayjs/plugin/weekYear.js';\nimport dayOfYear from 'dayjs/plugin/dayOfYear.js';\nimport isSameOrAfter from 'dayjs/plugin/isSameOrAfter.js';\nimport isSameOrBefore from 'dayjs/plugin/isSameOrBefore.js';\nimport '../../../hooks/index.mjs';\nimport '../../time-picker/index.mjs';\nimport { ROOT_PICKER_INJECTION_KEY } from './constants.mjs';\nimport { datePickerProps } from './props/date-picker.mjs';\nimport { getPanel } from './panel-utils.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { DEFAULT_FORMATS_DATEPICKER, DEFAULT_FORMATS_DATE } from '../../time-picker/src/constants.mjs';\nimport CommonPicker from '../../time-picker/src/common/picker.mjs';\n\ndayjs.extend(localeData);\ndayjs.extend(advancedFormat);\ndayjs.extend(customParseFormat);\ndayjs.extend(weekOfYear);\ndayjs.extend(weekYear);\ndayjs.extend(dayOfYear);\ndayjs.extend(isSameOrAfter);\ndayjs.extend(isSameOrBefore);\nvar DatePicker = defineComponent({\n  name: \"ElDatePicker\",\n  install: null,\n  props: datePickerProps,\n  emits: [\"update:modelValue\"],\n  setup(props, {\n    expose,\n    emit,\n    slots\n  }) {\n    const ns = useNamespace(\"picker-panel\");\n    provide(\"ElPopperOptions\", reactive(toRef(props, \"popperOptions\")));\n    provide(ROOT_PICKER_INJECTION_KEY, {\n      slots,\n      pickerNs: ns\n    });\n    const commonPicker = ref();\n    const refProps = {\n      focus: (focusStartInput = true) => {\n        var _a;\n        (_a = commonPicker.value) == null ? void 0 : _a.focus(focusStartInput);\n      },\n      handleOpen: () => {\n        var _a;\n        (_a = commonPicker.value) == null ? void 0 : _a.handleOpen();\n      },\n      handleClose: () => {\n        var _a;\n        (_a = commonPicker.value) == null ? void 0 : _a.handleClose();\n      }\n    };\n    expose(refProps);\n    const onModelValueUpdated = (val) => {\n      emit(\"update:modelValue\", val);\n    };\n    return () => {\n      var _a;\n      const format = (_a = props.format) != null ? _a : DEFAULT_FORMATS_DATEPICKER[props.type] || DEFAULT_FORMATS_DATE;\n      const Component = getPanel(props.type);\n      return createVNode(CommonPicker, mergeProps(props, {\n        \"format\": format,\n        \"type\": props.type,\n        \"ref\": commonPicker,\n        \"onUpdate:modelValue\": onModelValueUpdated\n      }), {\n        default: (scopedProps) => createVNode(Component, scopedProps, null),\n        \"range-separator\": slots[\"range-separator\"]\n      });\n    };\n  }\n});\n\nexport { DatePicker as default };\n//# sourceMappingURL=date-picker.mjs.map\n","import DatePicker from './src/date-picker.mjs';\nexport { ROOT_PICKER_INJECTION_KEY } from './src/constants.mjs';\nexport { datePickerProps } from './src/props/date-picker.mjs';\n\nconst _DatePicker = DatePicker;\n_DatePicker.install = (app) => {\n  app.component(_DatePicker.name, _DatePicker);\n};\nconst ElDatePicker = _DatePicker;\n\nexport { ElDatePicker, _DatePicker as default };\n//# sourceMappingURL=index.mjs.map\n","import { isNil } from 'lodash-unified';\nimport '../../../hooks/index.mjs';\nimport '../../../utils/index.mjs';\nimport '../../../constants/index.mjs';\nimport { buildProps } from '../../../utils/vue/props/runtime.mjs';\nimport { useSizeProp } from '../../../hooks/use-size/index.mjs';\nimport { isNumber } from '../../../utils/types.mjs';\nimport { CHANGE_EVENT, INPUT_EVENT, UPDATE_MODEL_EVENT } from '../../../constants/event.mjs';\n\nconst inputNumberProps = buildProps({\n  id: {\n    type: String,\n    default: void 0\n  },\n  step: {\n    type: Number,\n    default: 1\n  },\n  stepStrictly: Boolean,\n  max: {\n    type: Number,\n    default: Number.POSITIVE_INFINITY\n  },\n  min: {\n    type: Number,\n    default: Number.NEGATIVE_INFINITY\n  },\n  modelValue: Number,\n  readonly: Boolean,\n  disabled: Boolean,\n  size: useSizeProp,\n  controls: {\n    type: Boolean,\n    default: true\n  },\n  controlsPosition: {\n    type: String,\n    default: \"\",\n    values: [\"\", \"right\"]\n  },\n  valueOnClear: {\n    type: [String, Number, null],\n    validator: (val) => val === null || isNumber(val) || [\"min\", \"max\"].includes(val),\n    default: null\n  },\n  name: String,\n  label: String,\n  placeholder: String,\n  precision: {\n    type: Number,\n    validator: (val) => val >= 0 && val === Number.parseInt(`${val}`, 10)\n  },\n  validateEvent: {\n    type: Boolean,\n    default: true\n  }\n});\nconst inputNumberEmits = {\n  [CHANGE_EVENT]: (cur, prev) => prev !== cur,\n  blur: (e) => e instanceof FocusEvent,\n  focus: (e) => e instanceof FocusEvent,\n  [INPUT_EVENT]: (val) => isNumber(val) || isNil(val),\n  [UPDATE_MODEL_EVENT]: (val) => isNumber(val) || isNil(val)\n};\n\nexport { inputNumberEmits, inputNumberProps };\n//# sourceMappingURL=input-number.mjs.map\n","import { defineComponent, ref, reactive, computed, watch, onMounted, onUpdated, openBlock, createElementBlock, normalizeClass, unref, withModifiers, withDirectives, withKeys, createVNode, withCtx, createBlock, createCommentVNode } from 'vue';\nimport { isNil } from 'lodash-unified';\nimport { ElInput } from '../../input/index.mjs';\nimport { ElIcon } from '../../icon/index.mjs';\nimport '../../form/index.mjs';\nimport '../../../directives/index.mjs';\nimport '../../../hooks/index.mjs';\nimport '../../../utils/index.mjs';\nimport { ArrowDown, Minus, ArrowUp, Plus } from '@element-plus/icons-vue';\nimport '../../../constants/index.mjs';\nimport { inputNumberProps, inputNumberEmits } from './input-number.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useLocale } from '../../../hooks/use-locale/index.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { useFormItem } from '../../form/src/hooks/use-form-item.mjs';\nimport { isNumber, isUndefined } from '../../../utils/types.mjs';\nimport { debugWarn } from '../../../utils/error.mjs';\nimport { useFormSize, useFormDisabled } from '../../form/src/hooks/use-form-common-props.mjs';\nimport { INPUT_EVENT, UPDATE_MODEL_EVENT, CHANGE_EVENT } from '../../../constants/event.mjs';\nimport { isString } from '@vue/shared';\nimport { vRepeatClick } from '../../../directives/repeat-click/index.mjs';\n\nconst _hoisted_1 = [\"aria-label\", \"onKeydown\"];\nconst _hoisted_2 = [\"aria-label\", \"onKeydown\"];\nconst __default__ = defineComponent({\n  name: \"ElInputNumber\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  ...__default__,\n  props: inputNumberProps,\n  emits: inputNumberEmits,\n  setup(__props, { expose, emit }) {\n    const props = __props;\n    const { t } = useLocale();\n    const ns = useNamespace(\"input-number\");\n    const input = ref();\n    const data = reactive({\n      currentValue: props.modelValue,\n      userInput: null\n    });\n    const { formItem } = useFormItem();\n    const minDisabled = computed(() => isNumber(props.modelValue) && props.modelValue <= props.min);\n    const maxDisabled = computed(() => isNumber(props.modelValue) && props.modelValue >= props.max);\n    const numPrecision = computed(() => {\n      const stepPrecision = getPrecision(props.step);\n      if (!isUndefined(props.precision)) {\n        if (stepPrecision > props.precision) {\n          debugWarn(\"InputNumber\", \"precision should not be less than the decimal places of step\");\n        }\n        return props.precision;\n      } else {\n        return Math.max(getPrecision(props.modelValue), stepPrecision);\n      }\n    });\n    const controlsAtRight = computed(() => {\n      return props.controls && props.controlsPosition === \"right\";\n    });\n    const inputNumberSize = useFormSize();\n    const inputNumberDisabled = useFormDisabled();\n    const displayValue = computed(() => {\n      if (data.userInput !== null) {\n        return data.userInput;\n      }\n      let currentValue = data.currentValue;\n      if (isNil(currentValue))\n        return \"\";\n      if (isNumber(currentValue)) {\n        if (Number.isNaN(currentValue))\n          return \"\";\n        if (!isUndefined(props.precision)) {\n          currentValue = currentValue.toFixed(props.precision);\n        }\n      }\n      return currentValue;\n    });\n    const toPrecision = (num, pre) => {\n      if (isUndefined(pre))\n        pre = numPrecision.value;\n      if (pre === 0)\n        return Math.round(num);\n      let snum = String(num);\n      const pointPos = snum.indexOf(\".\");\n      if (pointPos === -1)\n        return num;\n      const nums = snum.replace(\".\", \"\").split(\"\");\n      const datum = nums[pointPos + pre];\n      if (!datum)\n        return num;\n      const length = snum.length;\n      if (snum.charAt(length - 1) === \"5\") {\n        snum = `${snum.slice(0, Math.max(0, length - 1))}6`;\n      }\n      return Number.parseFloat(Number(snum).toFixed(pre));\n    };\n    const getPrecision = (value) => {\n      if (isNil(value))\n        return 0;\n      const valueString = value.toString();\n      const dotPosition = valueString.indexOf(\".\");\n      let precision = 0;\n      if (dotPosition !== -1) {\n        precision = valueString.length - dotPosition - 1;\n      }\n      return precision;\n    };\n    const ensurePrecision = (val, coefficient = 1) => {\n      if (!isNumber(val))\n        return data.currentValue;\n      return toPrecision(val + props.step * coefficient);\n    };\n    const increase = () => {\n      if (props.readonly || inputNumberDisabled.value || maxDisabled.value)\n        return;\n      const value = Number(displayValue.value) || 0;\n      const newVal = ensurePrecision(value);\n      setCurrentValue(newVal);\n      emit(INPUT_EVENT, data.currentValue);\n    };\n    const decrease = () => {\n      if (props.readonly || inputNumberDisabled.value || minDisabled.value)\n        return;\n      const value = Number(displayValue.value) || 0;\n      const newVal = ensurePrecision(value, -1);\n      setCurrentValue(newVal);\n      emit(INPUT_EVENT, data.currentValue);\n    };\n    const verifyValue = (value, update) => {\n      const { max, min, step, precision, stepStrictly, valueOnClear } = props;\n      let newVal = Number(value);\n      if (isNil(value) || Number.isNaN(newVal)) {\n        return null;\n      }\n      if (value === \"\") {\n        if (valueOnClear === null) {\n          return null;\n        }\n        newVal = isString(valueOnClear) ? { min, max }[valueOnClear] : valueOnClear;\n      }\n      if (stepStrictly) {\n        newVal = toPrecision(Math.round(newVal / step) * step, precision);\n      }\n      if (!isUndefined(precision)) {\n        newVal = toPrecision(newVal, precision);\n      }\n      if (newVal > max || newVal < min) {\n        newVal = newVal > max ? max : min;\n        update && emit(UPDATE_MODEL_EVENT, newVal);\n      }\n      return newVal;\n    };\n    const setCurrentValue = (value, emitChange = true) => {\n      var _a;\n      const oldVal = data.currentValue;\n      const newVal = verifyValue(value);\n      if (!emitChange) {\n        emit(UPDATE_MODEL_EVENT, newVal);\n        return;\n      }\n      if (oldVal === newVal)\n        return;\n      data.userInput = null;\n      emit(UPDATE_MODEL_EVENT, newVal);\n      emit(CHANGE_EVENT, newVal, oldVal);\n      if (props.validateEvent) {\n        (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, \"change\").catch((err) => debugWarn(err));\n      }\n      data.currentValue = newVal;\n    };\n    const handleInput = (value) => {\n      data.userInput = value;\n      const newVal = value === \"\" ? null : Number(value);\n      emit(INPUT_EVENT, newVal);\n      setCurrentValue(newVal, false);\n    };\n    const handleInputChange = (value) => {\n      const newVal = value !== \"\" ? Number(value) : \"\";\n      if (isNumber(newVal) && !Number.isNaN(newVal) || value === \"\") {\n        setCurrentValue(newVal);\n      }\n      data.userInput = null;\n    };\n    const focus = () => {\n      var _a, _b;\n      (_b = (_a = input.value) == null ? void 0 : _a.focus) == null ? void 0 : _b.call(_a);\n    };\n    const blur = () => {\n      var _a, _b;\n      (_b = (_a = input.value) == null ? void 0 : _a.blur) == null ? void 0 : _b.call(_a);\n    };\n    const handleFocus = (event) => {\n      emit(\"focus\", event);\n    };\n    const handleBlur = (event) => {\n      var _a;\n      emit(\"blur\", event);\n      if (props.validateEvent) {\n        (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, \"blur\").catch((err) => debugWarn(err));\n      }\n    };\n    watch(() => props.modelValue, (value) => {\n      const userInput = verifyValue(data.userInput);\n      const newValue = verifyValue(value, true);\n      if (!isNumber(userInput) && (!userInput || userInput !== newValue)) {\n        data.currentValue = newValue;\n        data.userInput = null;\n      }\n    }, { immediate: true });\n    onMounted(() => {\n      var _a;\n      const { min, max, modelValue } = props;\n      const innerInput = (_a = input.value) == null ? void 0 : _a.input;\n      innerInput.setAttribute(\"role\", \"spinbutton\");\n      if (Number.isFinite(max)) {\n        innerInput.setAttribute(\"aria-valuemax\", String(max));\n      } else {\n        innerInput.removeAttribute(\"aria-valuemax\");\n      }\n      if (Number.isFinite(min)) {\n        innerInput.setAttribute(\"aria-valuemin\", String(min));\n      } else {\n        innerInput.removeAttribute(\"aria-valuemin\");\n      }\n      innerInput.setAttribute(\"aria-valuenow\", String(data.currentValue));\n      innerInput.setAttribute(\"aria-disabled\", String(inputNumberDisabled.value));\n      if (!isNumber(modelValue) && modelValue != null) {\n        let val = Number(modelValue);\n        if (Number.isNaN(val)) {\n          val = null;\n        }\n        emit(UPDATE_MODEL_EVENT, val);\n      }\n    });\n    onUpdated(() => {\n      var _a;\n      const innerInput = (_a = input.value) == null ? void 0 : _a.input;\n      innerInput == null ? void 0 : innerInput.setAttribute(\"aria-valuenow\", `${data.currentValue}`);\n    });\n    expose({\n      focus,\n      blur\n    });\n    return (_ctx, _cache) => {\n      return openBlock(), createElementBlock(\"div\", {\n        class: normalizeClass([\n          unref(ns).b(),\n          unref(ns).m(unref(inputNumberSize)),\n          unref(ns).is(\"disabled\", unref(inputNumberDisabled)),\n          unref(ns).is(\"without-controls\", !_ctx.controls),\n          unref(ns).is(\"controls-right\", unref(controlsAtRight))\n        ]),\n        onDragstart: _cache[1] || (_cache[1] = withModifiers(() => {\n        }, [\"prevent\"]))\n      }, [\n        _ctx.controls ? withDirectives((openBlock(), createElementBlock(\"span\", {\n          key: 0,\n          role: \"button\",\n          \"aria-label\": unref(t)(\"el.inputNumber.decrease\"),\n          class: normalizeClass([unref(ns).e(\"decrease\"), unref(ns).is(\"disabled\", unref(minDisabled))]),\n          onKeydown: withKeys(decrease, [\"enter\"])\n        }, [\n          createVNode(unref(ElIcon), null, {\n            default: withCtx(() => [\n              unref(controlsAtRight) ? (openBlock(), createBlock(unref(ArrowDown), { key: 0 })) : (openBlock(), createBlock(unref(Minus), { key: 1 }))\n            ]),\n            _: 1\n          })\n        ], 42, _hoisted_1)), [\n          [unref(vRepeatClick), decrease]\n        ]) : createCommentVNode(\"v-if\", true),\n        _ctx.controls ? withDirectives((openBlock(), createElementBlock(\"span\", {\n          key: 1,\n          role: \"button\",\n          \"aria-label\": unref(t)(\"el.inputNumber.increase\"),\n          class: normalizeClass([unref(ns).e(\"increase\"), unref(ns).is(\"disabled\", unref(maxDisabled))]),\n          onKeydown: withKeys(increase, [\"enter\"])\n        }, [\n          createVNode(unref(ElIcon), null, {\n            default: withCtx(() => [\n              unref(controlsAtRight) ? (openBlock(), createBlock(unref(ArrowUp), { key: 0 })) : (openBlock(), createBlock(unref(Plus), { key: 1 }))\n            ]),\n            _: 1\n          })\n        ], 42, _hoisted_2)), [\n          [unref(vRepeatClick), increase]\n        ]) : createCommentVNode(\"v-if\", true),\n        createVNode(unref(ElInput), {\n          id: _ctx.id,\n          ref_key: \"input\",\n          ref: input,\n          type: \"number\",\n          step: _ctx.step,\n          \"model-value\": unref(displayValue),\n          placeholder: _ctx.placeholder,\n          readonly: _ctx.readonly,\n          disabled: unref(inputNumberDisabled),\n          size: unref(inputNumberSize),\n          max: _ctx.max,\n          min: _ctx.min,\n          name: _ctx.name,\n          label: _ctx.label,\n          \"validate-event\": false,\n          onWheel: _cache[0] || (_cache[0] = withModifiers(() => {\n          }, [\"prevent\"])),\n          onKeydown: [\n            withKeys(withModifiers(increase, [\"prevent\"]), [\"up\"]),\n            withKeys(withModifiers(decrease, [\"prevent\"]), [\"down\"])\n          ],\n          onBlur: handleBlur,\n          onFocus: handleFocus,\n          onInput: handleInput,\n          onChange: handleInputChange\n        }, null, 8, [\"id\", \"step\", \"model-value\", \"placeholder\", \"readonly\", \"disabled\", \"size\", \"max\", \"min\", \"name\", \"label\", \"onKeydown\"])\n      ], 34);\n    };\n  }\n});\nvar InputNumber = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/input-number/src/input-number.vue\"]]);\n\nexport { InputNumber as default };\n//# sourceMappingURL=input-number2.mjs.map\n","import '../../utils/index.mjs';\nimport InputNumber from './src/input-number2.mjs';\nexport { inputNumberEmits, inputNumberProps } from './src/input-number.mjs';\nimport { withInstall } from '../../utils/vue/install.mjs';\n\nconst ElInputNumber = withInstall(InputNumber);\n\nexport { ElInputNumber, ElInputNumber as default };\n//# sourceMappingURL=index.mjs.map\n","const NODE_KEY = \"$treeNodeId\";\nconst markNodeData = function(node, data) {\n  if (!data || data[NODE_KEY])\n    return;\n  Object.defineProperty(data, NODE_KEY, {\n    value: node.id,\n    enumerable: false,\n    configurable: false,\n    writable: false\n  });\n};\nconst getNodeKey = function(key, data) {\n  if (!key)\n    return data[NODE_KEY];\n  return data[key];\n};\nconst handleCurrentChange = (store, emit, setCurrent) => {\n  const preCurrentNode = store.value.currentNode;\n  setCurrent();\n  const currentNode = store.value.currentNode;\n  if (preCurrentNode === currentNode)\n    return;\n  emit(\"current-change\", currentNode ? currentNode.data : null, currentNode);\n};\n\nexport { NODE_KEY, getNodeKey, handleCurrentChange, markNodeData };\n//# sourceMappingURL=util.mjs.map\n","import { reactive } from 'vue';\nimport '../../../../utils/index.mjs';\nimport { markNodeData, NODE_KEY } from './util.mjs';\nimport { hasOwn } from '@vue/shared';\n\nconst getChildState = (node) => {\n  let all = true;\n  let none = true;\n  let allWithoutDisable = true;\n  for (let i = 0, j = node.length; i < j; i++) {\n    const n = node[i];\n    if (n.checked !== true || n.indeterminate) {\n      all = false;\n      if (!n.disabled) {\n        allWithoutDisable = false;\n      }\n    }\n    if (n.checked !== false || n.indeterminate) {\n      none = false;\n    }\n  }\n  return { all, none, allWithoutDisable, half: !all && !none };\n};\nconst reInitChecked = function(node) {\n  if (node.childNodes.length === 0 || node.loading)\n    return;\n  const { all, none, half } = getChildState(node.childNodes);\n  if (all) {\n    node.checked = true;\n    node.indeterminate = false;\n  } else if (half) {\n    node.checked = false;\n    node.indeterminate = true;\n  } else if (none) {\n    node.checked = false;\n    node.indeterminate = false;\n  }\n  const parent = node.parent;\n  if (!parent || parent.level === 0)\n    return;\n  if (!node.store.checkStrictly) {\n    reInitChecked(parent);\n  }\n};\nconst getPropertyFromData = function(node, prop) {\n  const props = node.store.props;\n  const data = node.data || {};\n  const config = props[prop];\n  if (typeof config === \"function\") {\n    return config(data, node);\n  } else if (typeof config === \"string\") {\n    return data[config];\n  } else if (typeof config === \"undefined\") {\n    const dataProp = data[prop];\n    return dataProp === void 0 ? \"\" : dataProp;\n  }\n};\nlet nodeIdSeed = 0;\nclass Node {\n  constructor(options) {\n    this.id = nodeIdSeed++;\n    this.text = null;\n    this.checked = false;\n    this.indeterminate = false;\n    this.data = null;\n    this.expanded = false;\n    this.parent = null;\n    this.visible = true;\n    this.isCurrent = false;\n    this.canFocus = false;\n    for (const name in options) {\n      if (hasOwn(options, name)) {\n        this[name] = options[name];\n      }\n    }\n    this.level = 0;\n    this.loaded = false;\n    this.childNodes = [];\n    this.loading = false;\n    if (this.parent) {\n      this.level = this.parent.level + 1;\n    }\n  }\n  initialize() {\n    const store = this.store;\n    if (!store) {\n      throw new Error(\"[Node]store is required!\");\n    }\n    store.registerNode(this);\n    const props = store.props;\n    if (props && typeof props.isLeaf !== \"undefined\") {\n      const isLeaf = getPropertyFromData(this, \"isLeaf\");\n      if (typeof isLeaf === \"boolean\") {\n        this.isLeafByUser = isLeaf;\n      }\n    }\n    if (store.lazy !== true && this.data) {\n      this.setData(this.data);\n      if (store.defaultExpandAll) {\n        this.expanded = true;\n        this.canFocus = true;\n      }\n    } else if (this.level > 0 && store.lazy && store.defaultExpandAll) {\n      this.expand();\n    }\n    if (!Array.isArray(this.data)) {\n      markNodeData(this, this.data);\n    }\n    if (!this.data)\n      return;\n    const defaultExpandedKeys = store.defaultExpandedKeys;\n    const key = store.key;\n    if (key && defaultExpandedKeys && defaultExpandedKeys.includes(this.key)) {\n      this.expand(null, store.autoExpandParent);\n    }\n    if (key && store.currentNodeKey !== void 0 && this.key === store.currentNodeKey) {\n      store.currentNode = this;\n      store.currentNode.isCurrent = true;\n    }\n    if (store.lazy) {\n      store._initDefaultCheckedNode(this);\n    }\n    this.updateLeafState();\n    if (this.parent && (this.level === 1 || this.parent.expanded === true))\n      this.canFocus = true;\n  }\n  setData(data) {\n    if (!Array.isArray(data)) {\n      markNodeData(this, data);\n    }\n    this.data = data;\n    this.childNodes = [];\n    let children;\n    if (this.level === 0 && Array.isArray(this.data)) {\n      children = this.data;\n    } else {\n      children = getPropertyFromData(this, \"children\") || [];\n    }\n    for (let i = 0, j = children.length; i < j; i++) {\n      this.insertChild({ data: children[i] });\n    }\n  }\n  get label() {\n    return getPropertyFromData(this, \"label\");\n  }\n  get key() {\n    const nodeKey = this.store.key;\n    if (this.data)\n      return this.data[nodeKey];\n    return null;\n  }\n  get disabled() {\n    return getPropertyFromData(this, \"disabled\");\n  }\n  get nextSibling() {\n    const parent = this.parent;\n    if (parent) {\n      const index = parent.childNodes.indexOf(this);\n      if (index > -1) {\n        return parent.childNodes[index + 1];\n      }\n    }\n    return null;\n  }\n  get previousSibling() {\n    const parent = this.parent;\n    if (parent) {\n      const index = parent.childNodes.indexOf(this);\n      if (index > -1) {\n        return index > 0 ? parent.childNodes[index - 1] : null;\n      }\n    }\n    return null;\n  }\n  contains(target, deep = true) {\n    return (this.childNodes || []).some((child) => child === target || deep && child.contains(target));\n  }\n  remove() {\n    const parent = this.parent;\n    if (parent) {\n      parent.removeChild(this);\n    }\n  }\n  insertChild(child, index, batch) {\n    if (!child)\n      throw new Error(\"InsertChild error: child is required.\");\n    if (!(child instanceof Node)) {\n      if (!batch) {\n        const children = this.getChildren(true);\n        if (!children.includes(child.data)) {\n          if (typeof index === \"undefined\" || index < 0) {\n            children.push(child.data);\n          } else {\n            children.splice(index, 0, child.data);\n          }\n        }\n      }\n      Object.assign(child, {\n        parent: this,\n        store: this.store\n      });\n      child = reactive(new Node(child));\n      if (child instanceof Node) {\n        child.initialize();\n      }\n    }\n    ;\n    child.level = this.level + 1;\n    if (typeof index === \"undefined\" || index < 0) {\n      this.childNodes.push(child);\n    } else {\n      this.childNodes.splice(index, 0, child);\n    }\n    this.updateLeafState();\n  }\n  insertBefore(child, ref) {\n    let index;\n    if (ref) {\n      index = this.childNodes.indexOf(ref);\n    }\n    this.insertChild(child, index);\n  }\n  insertAfter(child, ref) {\n    let index;\n    if (ref) {\n      index = this.childNodes.indexOf(ref);\n      if (index !== -1)\n        index += 1;\n    }\n    this.insertChild(child, index);\n  }\n  removeChild(child) {\n    const children = this.getChildren() || [];\n    const dataIndex = children.indexOf(child.data);\n    if (dataIndex > -1) {\n      children.splice(dataIndex, 1);\n    }\n    const index = this.childNodes.indexOf(child);\n    if (index > -1) {\n      this.store && this.store.deregisterNode(child);\n      child.parent = null;\n      this.childNodes.splice(index, 1);\n    }\n    this.updateLeafState();\n  }\n  removeChildByData(data) {\n    let targetNode = null;\n    for (let i = 0; i < this.childNodes.length; i++) {\n      if (this.childNodes[i].data === data) {\n        targetNode = this.childNodes[i];\n        break;\n      }\n    }\n    if (targetNode) {\n      this.removeChild(targetNode);\n    }\n  }\n  expand(callback, expandParent) {\n    const done = () => {\n      if (expandParent) {\n        let parent = this.parent;\n        while (parent.level > 0) {\n          parent.expanded = true;\n          parent = parent.parent;\n        }\n      }\n      this.expanded = true;\n      if (callback)\n        callback();\n      this.childNodes.forEach((item) => {\n        item.canFocus = true;\n      });\n    };\n    if (this.shouldLoadData()) {\n      this.loadData((data) => {\n        if (Array.isArray(data)) {\n          if (this.checked) {\n            this.setChecked(true, true);\n          } else if (!this.store.checkStrictly) {\n            reInitChecked(this);\n          }\n          done();\n        }\n      });\n    } else {\n      done();\n    }\n  }\n  doCreateChildren(array, defaultProps = {}) {\n    array.forEach((item) => {\n      this.insertChild(Object.assign({ data: item }, defaultProps), void 0, true);\n    });\n  }\n  collapse() {\n    this.expanded = false;\n    this.childNodes.forEach((item) => {\n      item.canFocus = false;\n    });\n  }\n  shouldLoadData() {\n    return this.store.lazy === true && this.store.load && !this.loaded;\n  }\n  updateLeafState() {\n    if (this.store.lazy === true && this.loaded !== true && typeof this.isLeafByUser !== \"undefined\") {\n      this.isLeaf = this.isLeafByUser;\n      return;\n    }\n    const childNodes = this.childNodes;\n    if (!this.store.lazy || this.store.lazy === true && this.loaded === true) {\n      this.isLeaf = !childNodes || childNodes.length === 0;\n      return;\n    }\n    this.isLeaf = false;\n  }\n  setChecked(value, deep, recursion, passValue) {\n    this.indeterminate = value === \"half\";\n    this.checked = value === true;\n    if (this.store.checkStrictly)\n      return;\n    if (!(this.shouldLoadData() && !this.store.checkDescendants)) {\n      const { all, allWithoutDisable } = getChildState(this.childNodes);\n      if (!this.isLeaf && !all && allWithoutDisable) {\n        this.checked = false;\n        value = false;\n      }\n      const handleDescendants = () => {\n        if (deep) {\n          const childNodes = this.childNodes;\n          for (let i = 0, j = childNodes.length; i < j; i++) {\n            const child = childNodes[i];\n            passValue = passValue || value !== false;\n            const isCheck = child.disabled ? child.checked : passValue;\n            child.setChecked(isCheck, deep, true, passValue);\n          }\n          const { half, all: all2 } = getChildState(childNodes);\n          if (!all2) {\n            this.checked = all2;\n            this.indeterminate = half;\n          }\n        }\n      };\n      if (this.shouldLoadData()) {\n        this.loadData(() => {\n          handleDescendants();\n          reInitChecked(this);\n        }, {\n          checked: value !== false\n        });\n        return;\n      } else {\n        handleDescendants();\n      }\n    }\n    const parent = this.parent;\n    if (!parent || parent.level === 0)\n      return;\n    if (!recursion) {\n      reInitChecked(parent);\n    }\n  }\n  getChildren(forceInit = false) {\n    if (this.level === 0)\n      return this.data;\n    const data = this.data;\n    if (!data)\n      return null;\n    const props = this.store.props;\n    let children = \"children\";\n    if (props) {\n      children = props.children || \"children\";\n    }\n    if (data[children] === void 0) {\n      data[children] = null;\n    }\n    if (forceInit && !data[children]) {\n      data[children] = [];\n    }\n    return data[children];\n  }\n  updateChildren() {\n    const newData = this.getChildren() || [];\n    const oldData = this.childNodes.map((node) => node.data);\n    const newDataMap = {};\n    const newNodes = [];\n    newData.forEach((item, index) => {\n      const key = item[NODE_KEY];\n      const isNodeExists = !!key && oldData.findIndex((data) => data[NODE_KEY] === key) >= 0;\n      if (isNodeExists) {\n        newDataMap[key] = { index, data: item };\n      } else {\n        newNodes.push({ index, data: item });\n      }\n    });\n    if (!this.store.lazy) {\n      oldData.forEach((item) => {\n        if (!newDataMap[item[NODE_KEY]])\n          this.removeChildByData(item);\n      });\n    }\n    newNodes.forEach(({ index, data }) => {\n      this.insertChild({ data }, index);\n    });\n    this.updateLeafState();\n  }\n  loadData(callback, defaultProps = {}) {\n    if (this.store.lazy === true && this.store.load && !this.loaded && (!this.loading || Object.keys(defaultProps).length)) {\n      this.loading = true;\n      const resolve = (children) => {\n        this.childNodes = [];\n        this.doCreateChildren(children, defaultProps);\n        this.loaded = true;\n        this.loading = false;\n        this.updateLeafState();\n        if (callback) {\n          callback.call(this, children);\n        }\n      };\n      this.store.load(this, resolve);\n    } else {\n      if (callback) {\n        callback.call(this);\n      }\n    }\n  }\n}\n\nexport { Node as default, getChildState };\n//# sourceMappingURL=node.mjs.map\n","import '../../../../utils/index.mjs';\nimport Node from './node.mjs';\nimport { getNodeKey } from './util.mjs';\nimport { hasOwn, isObject } from '@vue/shared';\n\nclass TreeStore {\n  constructor(options) {\n    this.currentNode = null;\n    this.currentNodeKey = null;\n    for (const option in options) {\n      if (hasOwn(options, option)) {\n        this[option] = options[option];\n      }\n    }\n    this.nodesMap = {};\n  }\n  initialize() {\n    this.root = new Node({\n      data: this.data,\n      store: this\n    });\n    this.root.initialize();\n    if (this.lazy && this.load) {\n      const loadFn = this.load;\n      loadFn(this.root, (data) => {\n        this.root.doCreateChildren(data);\n        this._initDefaultCheckedNodes();\n      });\n    } else {\n      this._initDefaultCheckedNodes();\n    }\n  }\n  filter(value) {\n    const filterNodeMethod = this.filterNodeMethod;\n    const lazy = this.lazy;\n    const traverse = function(node) {\n      const childNodes = node.root ? node.root.childNodes : node.childNodes;\n      childNodes.forEach((child) => {\n        child.visible = filterNodeMethod.call(child, value, child.data, child);\n        traverse(child);\n      });\n      if (!node.visible && childNodes.length) {\n        let allHidden = true;\n        allHidden = !childNodes.some((child) => child.visible);\n        if (node.root) {\n          ;\n          node.root.visible = allHidden === false;\n        } else {\n          ;\n          node.visible = allHidden === false;\n        }\n      }\n      if (!value)\n        return;\n      if (node.visible && !node.isLeaf && !lazy)\n        node.expand();\n    };\n    traverse(this);\n  }\n  setData(newVal) {\n    const instanceChanged = newVal !== this.root.data;\n    if (instanceChanged) {\n      this.root.setData(newVal);\n      this._initDefaultCheckedNodes();\n    } else {\n      this.root.updateChildren();\n    }\n  }\n  getNode(data) {\n    if (data instanceof Node)\n      return data;\n    const key = isObject(data) ? getNodeKey(this.key, data) : data;\n    return this.nodesMap[key] || null;\n  }\n  insertBefore(data, refData) {\n    const refNode = this.getNode(refData);\n    refNode.parent.insertBefore({ data }, refNode);\n  }\n  insertAfter(data, refData) {\n    const refNode = this.getNode(refData);\n    refNode.parent.insertAfter({ data }, refNode);\n  }\n  remove(data) {\n    const node = this.getNode(data);\n    if (node && node.parent) {\n      if (node === this.currentNode) {\n        this.currentNode = null;\n      }\n      node.parent.removeChild(node);\n    }\n  }\n  append(data, parentData) {\n    const parentNode = parentData ? this.getNode(parentData) : this.root;\n    if (parentNode) {\n      parentNode.insertChild({ data });\n    }\n  }\n  _initDefaultCheckedNodes() {\n    const defaultCheckedKeys = this.defaultCheckedKeys || [];\n    const nodesMap = this.nodesMap;\n    defaultCheckedKeys.forEach((checkedKey) => {\n      const node = nodesMap[checkedKey];\n      if (node) {\n        node.setChecked(true, !this.checkStrictly);\n      }\n    });\n  }\n  _initDefaultCheckedNode(node) {\n    const defaultCheckedKeys = this.defaultCheckedKeys || [];\n    if (defaultCheckedKeys.includes(node.key)) {\n      node.setChecked(true, !this.checkStrictly);\n    }\n  }\n  setDefaultCheckedKey(newVal) {\n    if (newVal !== this.defaultCheckedKeys) {\n      this.defaultCheckedKeys = newVal;\n      this._initDefaultCheckedNodes();\n    }\n  }\n  registerNode(node) {\n    const key = this.key;\n    if (!node || !node.data)\n      return;\n    if (!key) {\n      this.nodesMap[node.id] = node;\n    } else {\n      const nodeKey = node.key;\n      if (nodeKey !== void 0)\n        this.nodesMap[node.key] = node;\n    }\n  }\n  deregisterNode(node) {\n    const key = this.key;\n    if (!key || !node || !node.data)\n      return;\n    node.childNodes.forEach((child) => {\n      this.deregisterNode(child);\n    });\n    delete this.nodesMap[node.key];\n  }\n  getCheckedNodes(leafOnly = false, includeHalfChecked = false) {\n    const checkedNodes = [];\n    const traverse = function(node) {\n      const childNodes = node.root ? node.root.childNodes : node.childNodes;\n      childNodes.forEach((child) => {\n        if ((child.checked || includeHalfChecked && child.indeterminate) && (!leafOnly || leafOnly && child.isLeaf)) {\n          checkedNodes.push(child.data);\n        }\n        traverse(child);\n      });\n    };\n    traverse(this);\n    return checkedNodes;\n  }\n  getCheckedKeys(leafOnly = false) {\n    return this.getCheckedNodes(leafOnly).map((data) => (data || {})[this.key]);\n  }\n  getHalfCheckedNodes() {\n    const nodes = [];\n    const traverse = function(node) {\n      const childNodes = node.root ? node.root.childNodes : node.childNodes;\n      childNodes.forEach((child) => {\n        if (child.indeterminate) {\n          nodes.push(child.data);\n        }\n        traverse(child);\n      });\n    };\n    traverse(this);\n    return nodes;\n  }\n  getHalfCheckedKeys() {\n    return this.getHalfCheckedNodes().map((data) => (data || {})[this.key]);\n  }\n  _getAllNodes() {\n    const allNodes = [];\n    const nodesMap = this.nodesMap;\n    for (const nodeKey in nodesMap) {\n      if (hasOwn(nodesMap, nodeKey)) {\n        allNodes.push(nodesMap[nodeKey]);\n      }\n    }\n    return allNodes;\n  }\n  updateChildren(key, data) {\n    const node = this.nodesMap[key];\n    if (!node)\n      return;\n    const childNodes = node.childNodes;\n    for (let i = childNodes.length - 1; i >= 0; i--) {\n      const child = childNodes[i];\n      this.remove(child.data);\n    }\n    for (let i = 0, j = data.length; i < j; i++) {\n      const child = data[i];\n      this.append(child, node.data);\n    }\n  }\n  _setCheckedKeys(key, leafOnly = false, checkedKeys) {\n    const allNodes = this._getAllNodes().sort((a, b) => b.level - a.level);\n    const cache = /* @__PURE__ */ Object.create(null);\n    const keys = Object.keys(checkedKeys);\n    allNodes.forEach((node) => node.setChecked(false, false));\n    for (let i = 0, j = allNodes.length; i < j; i++) {\n      const node = allNodes[i];\n      const nodeKey = node.data[key].toString();\n      const checked = keys.includes(nodeKey);\n      if (!checked) {\n        if (node.checked && !cache[nodeKey]) {\n          node.setChecked(false, false);\n        }\n        continue;\n      }\n      let parent = node.parent;\n      while (parent && parent.level > 0) {\n        cache[parent.data[key]] = true;\n        parent = parent.parent;\n      }\n      if (node.isLeaf || this.checkStrictly) {\n        node.setChecked(true, false);\n        continue;\n      }\n      node.setChecked(true, true);\n      if (leafOnly) {\n        node.setChecked(false, false);\n        const traverse = function(node2) {\n          const childNodes = node2.childNodes;\n          childNodes.forEach((child) => {\n            if (!child.isLeaf) {\n              child.setChecked(false, false);\n            }\n            traverse(child);\n          });\n        };\n        traverse(node);\n      }\n    }\n  }\n  setCheckedNodes(array, leafOnly = false) {\n    const key = this.key;\n    const checkedKeys = {};\n    array.forEach((item) => {\n      checkedKeys[(item || {})[key]] = true;\n    });\n    this._setCheckedKeys(key, leafOnly, checkedKeys);\n  }\n  setCheckedKeys(keys, leafOnly = false) {\n    this.defaultCheckedKeys = keys;\n    const key = this.key;\n    const checkedKeys = {};\n    keys.forEach((key2) => {\n      checkedKeys[key2] = true;\n    });\n    this._setCheckedKeys(key, leafOnly, checkedKeys);\n  }\n  setDefaultExpandedKeys(keys) {\n    keys = keys || [];\n    this.defaultExpandedKeys = keys;\n    keys.forEach((key) => {\n      const node = this.getNode(key);\n      if (node)\n        node.expand(null, this.autoExpandParent);\n    });\n  }\n  setChecked(data, checked, deep) {\n    const node = this.getNode(data);\n    if (node) {\n      node.setChecked(!!checked, deep);\n    }\n  }\n  getCurrentNode() {\n    return this.currentNode;\n  }\n  setCurrentNode(currentNode) {\n    const prevCurrentNode = this.currentNode;\n    if (prevCurrentNode) {\n      prevCurrentNode.isCurrent = false;\n    }\n    this.currentNode = currentNode;\n    this.currentNode.isCurrent = true;\n  }\n  setUserCurrentNode(node, shouldAutoExpandParent = true) {\n    const key = node[this.key];\n    const currNode = this.nodesMap[key];\n    this.setCurrentNode(currNode);\n    if (shouldAutoExpandParent && this.currentNode.level > 1) {\n      this.currentNode.parent.expand(null, true);\n    }\n  }\n  setCurrentNodeKey(key, shouldAutoExpandParent = true) {\n    if (key === null || key === void 0) {\n      this.currentNode && (this.currentNode.isCurrent = false);\n      this.currentNode = null;\n      return;\n    }\n    const node = this.getNode(key);\n    if (node) {\n      this.setCurrentNode(node);\n      if (shouldAutoExpandParent && this.currentNode.level > 1) {\n        this.currentNode.parent.expand(null, true);\n      }\n    }\n  }\n}\n\nexport { TreeStore as default };\n//# sourceMappingURL=tree-store.mjs.map\n","import { defineComponent, inject, h } from 'vue';\nimport '../../../hooks/index.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst _sfc_main = defineComponent({\n  name: \"ElTreeNodeContent\",\n  props: {\n    node: {\n      type: Object,\n      required: true\n    },\n    renderContent: Function\n  },\n  setup(props) {\n    const ns = useNamespace(\"tree\");\n    const nodeInstance = inject(\"NodeInstance\");\n    const tree = inject(\"RootTree\");\n    return () => {\n      const node = props.node;\n      const { data, store } = node;\n      return props.renderContent ? props.renderContent(h, { _self: nodeInstance, node, data, store }) : tree.ctx.slots.default ? tree.ctx.slots.default({ node, data }) : h(\"span\", { class: ns.be(\"node\", \"label\") }, [node.label]);\n    };\n  }\n});\nvar NodeContent = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/tree/src/tree-node-content.vue\"]]);\n\nexport { NodeContent as default };\n//# sourceMappingURL=tree-node-content.mjs.map\n","import { inject, provide } from 'vue';\n\nfunction useNodeExpandEventBroadcast(props) {\n  const parentNodeMap = inject(\"TreeNodeMap\", null);\n  const currentNodeMap = {\n    treeNodeExpand: (node) => {\n      if (props.node !== node) {\n        props.node.collapse();\n      }\n    },\n    children: []\n  };\n  if (parentNodeMap) {\n    parentNodeMap.children.push(currentNodeMap);\n  }\n  provide(\"TreeNodeMap\", currentNodeMap);\n  return {\n    broadcastExpanded: (node) => {\n      if (!props.accordion)\n        return;\n      for (const childNode of currentNodeMap.children) {\n        childNode.treeNodeExpand(node);\n      }\n    }\n  };\n}\n\nexport { useNodeExpandEventBroadcast };\n//# sourceMappingURL=useNodeExpandEventBroadcast.mjs.map\n","import { ref, provide } from 'vue';\nimport '../../../../utils/index.mjs';\nimport '../../../../hooks/index.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\nimport { removeClass, addClass } from '../../../../utils/dom/style.mjs';\n\nconst dragEventsKey = Symbol(\"dragEvents\");\nfunction useDragNodeHandler({ props, ctx, el$, dropIndicator$, store }) {\n  const ns = useNamespace(\"tree\");\n  const dragState = ref({\n    showDropIndicator: false,\n    draggingNode: null,\n    dropNode: null,\n    allowDrop: true,\n    dropType: null\n  });\n  const treeNodeDragStart = ({ event, treeNode }) => {\n    if (typeof props.allowDrag === \"function\" && !props.allowDrag(treeNode.node)) {\n      event.preventDefault();\n      return false;\n    }\n    event.dataTransfer.effectAllowed = \"move\";\n    try {\n      event.dataTransfer.setData(\"text/plain\", \"\");\n    } catch (e) {\n    }\n    dragState.value.draggingNode = treeNode;\n    ctx.emit(\"node-drag-start\", treeNode.node, event);\n  };\n  const treeNodeDragOver = ({ event, treeNode }) => {\n    const dropNode = treeNode;\n    const oldDropNode = dragState.value.dropNode;\n    if (oldDropNode && oldDropNode !== dropNode) {\n      removeClass(oldDropNode.$el, ns.is(\"drop-inner\"));\n    }\n    const draggingNode = dragState.value.draggingNode;\n    if (!draggingNode || !dropNode)\n      return;\n    let dropPrev = true;\n    let dropInner = true;\n    let dropNext = true;\n    let userAllowDropInner = true;\n    if (typeof props.allowDrop === \"function\") {\n      dropPrev = props.allowDrop(draggingNode.node, dropNode.node, \"prev\");\n      userAllowDropInner = dropInner = props.allowDrop(draggingNode.node, dropNode.node, \"inner\");\n      dropNext = props.allowDrop(draggingNode.node, dropNode.node, \"next\");\n    }\n    event.dataTransfer.dropEffect = dropInner || dropPrev || dropNext ? \"move\" : \"none\";\n    if ((dropPrev || dropInner || dropNext) && oldDropNode !== dropNode) {\n      if (oldDropNode) {\n        ctx.emit(\"node-drag-leave\", draggingNode.node, oldDropNode.node, event);\n      }\n      ctx.emit(\"node-drag-enter\", draggingNode.node, dropNode.node, event);\n    }\n    if (dropPrev || dropInner || dropNext) {\n      dragState.value.dropNode = dropNode;\n    }\n    if (dropNode.node.nextSibling === draggingNode.node) {\n      dropNext = false;\n    }\n    if (dropNode.node.previousSibling === draggingNode.node) {\n      dropPrev = false;\n    }\n    if (dropNode.node.contains(draggingNode.node, false)) {\n      dropInner = false;\n    }\n    if (draggingNode.node === dropNode.node || draggingNode.node.contains(dropNode.node)) {\n      dropPrev = false;\n      dropInner = false;\n      dropNext = false;\n    }\n    const targetPosition = dropNode.$el.getBoundingClientRect();\n    const treePosition = el$.value.getBoundingClientRect();\n    let dropType;\n    const prevPercent = dropPrev ? dropInner ? 0.25 : dropNext ? 0.45 : 1 : -1;\n    const nextPercent = dropNext ? dropInner ? 0.75 : dropPrev ? 0.55 : 0 : 1;\n    let indicatorTop = -9999;\n    const distance = event.clientY - targetPosition.top;\n    if (distance < targetPosition.height * prevPercent) {\n      dropType = \"before\";\n    } else if (distance > targetPosition.height * nextPercent) {\n      dropType = \"after\";\n    } else if (dropInner) {\n      dropType = \"inner\";\n    } else {\n      dropType = \"none\";\n    }\n    const iconPosition = dropNode.$el.querySelector(`.${ns.be(\"node\", \"expand-icon\")}`).getBoundingClientRect();\n    const dropIndicator = dropIndicator$.value;\n    if (dropType === \"before\") {\n      indicatorTop = iconPosition.top - treePosition.top;\n    } else if (dropType === \"after\") {\n      indicatorTop = iconPosition.bottom - treePosition.top;\n    }\n    dropIndicator.style.top = `${indicatorTop}px`;\n    dropIndicator.style.left = `${iconPosition.right - treePosition.left}px`;\n    if (dropType === \"inner\") {\n      addClass(dropNode.$el, ns.is(\"drop-inner\"));\n    } else {\n      removeClass(dropNode.$el, ns.is(\"drop-inner\"));\n    }\n    dragState.value.showDropIndicator = dropType === \"before\" || dropType === \"after\";\n    dragState.value.allowDrop = dragState.value.showDropIndicator || userAllowDropInner;\n    dragState.value.dropType = dropType;\n    ctx.emit(\"node-drag-over\", draggingNode.node, dropNode.node, event);\n  };\n  const treeNodeDragEnd = (event) => {\n    const { draggingNode, dropType, dropNode } = dragState.value;\n    event.preventDefault();\n    event.dataTransfer.dropEffect = \"move\";\n    if (draggingNode && dropNode) {\n      const draggingNodeCopy = { data: draggingNode.node.data };\n      if (dropType !== \"none\") {\n        draggingNode.node.remove();\n      }\n      if (dropType === \"before\") {\n        dropNode.node.parent.insertBefore(draggingNodeCopy, dropNode.node);\n      } else if (dropType === \"after\") {\n        dropNode.node.parent.insertAfter(draggingNodeCopy, dropNode.node);\n      } else if (dropType === \"inner\") {\n        dropNode.node.insertChild(draggingNodeCopy);\n      }\n      if (dropType !== \"none\") {\n        store.value.registerNode(draggingNodeCopy);\n      }\n      removeClass(dropNode.$el, ns.is(\"drop-inner\"));\n      ctx.emit(\"node-drag-end\", draggingNode.node, dropNode.node, dropType, event);\n      if (dropType !== \"none\") {\n        ctx.emit(\"node-drop\", draggingNode.node, dropNode.node, dropType, event);\n      }\n    }\n    if (draggingNode && !dropNode) {\n      ctx.emit(\"node-drag-end\", draggingNode.node, null, dropType, event);\n    }\n    dragState.value.showDropIndicator = false;\n    dragState.value.draggingNode = null;\n    dragState.value.dropNode = null;\n    dragState.value.allowDrop = true;\n  };\n  provide(dragEventsKey, {\n    treeNodeDragStart,\n    treeNodeDragOver,\n    treeNodeDragEnd\n  });\n  return {\n    dragState\n  };\n}\n\nexport { dragEventsKey, useDragNodeHandler };\n//# sourceMappingURL=useDragNode.mjs.map\n","import { defineComponent, inject, ref, getCurrentInstance, provide, watch, nextTick, resolveComponent, withDirectives, openBlock, createElementBlock, normalizeClass, withModifiers, createElementVNode, normalizeStyle, createBlock, withCtx, resolveDynamicComponent, createCommentVNode, createVNode, Fragment, renderList, vShow } from 'vue';\nimport { isFunction, isString } from '@vue/shared';\nimport _CollapseTransition from '../../collapse-transition/index.mjs';\nimport { ElCheckbox } from '../../checkbox/index.mjs';\nimport { ElIcon } from '../../icon/index.mjs';\nimport { Loading, CaretRight } from '@element-plus/icons-vue';\nimport '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport NodeContent from './tree-node-content.mjs';\nimport { getNodeKey, handleCurrentChange } from './model/util.mjs';\nimport { useNodeExpandEventBroadcast } from './model/useNodeExpandEventBroadcast.mjs';\nimport { dragEventsKey } from './model/useDragNode.mjs';\nimport Node from './model/node.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { debugWarn } from '../../../utils/error.mjs';\n\nconst _sfc_main = defineComponent({\n  name: \"ElTreeNode\",\n  components: {\n    ElCollapseTransition: _CollapseTransition,\n    ElCheckbox,\n    NodeContent,\n    ElIcon,\n    Loading\n  },\n  props: {\n    node: {\n      type: Node,\n      default: () => ({})\n    },\n    props: {\n      type: Object,\n      default: () => ({})\n    },\n    accordion: Boolean,\n    renderContent: Function,\n    renderAfterExpand: Boolean,\n    showCheckbox: {\n      type: Boolean,\n      default: false\n    }\n  },\n  emits: [\"node-expand\"],\n  setup(props, ctx) {\n    const ns = useNamespace(\"tree\");\n    const { broadcastExpanded } = useNodeExpandEventBroadcast(props);\n    const tree = inject(\"RootTree\");\n    const expanded = ref(false);\n    const childNodeRendered = ref(false);\n    const oldChecked = ref(null);\n    const oldIndeterminate = ref(null);\n    const node$ = ref(null);\n    const dragEvents = inject(dragEventsKey);\n    const instance = getCurrentInstance();\n    provide(\"NodeInstance\", instance);\n    if (!tree) {\n      debugWarn(\"Tree\", \"Can not find node's tree.\");\n    }\n    if (props.node.expanded) {\n      expanded.value = true;\n      childNodeRendered.value = true;\n    }\n    const childrenKey = tree.props[\"children\"] || \"children\";\n    watch(() => {\n      const children = props.node.data[childrenKey];\n      return children && [...children];\n    }, () => {\n      props.node.updateChildren();\n    });\n    watch(() => props.node.indeterminate, (val) => {\n      handleSelectChange(props.node.checked, val);\n    });\n    watch(() => props.node.checked, (val) => {\n      handleSelectChange(val, props.node.indeterminate);\n    });\n    watch(() => props.node.expanded, (val) => {\n      nextTick(() => expanded.value = val);\n      if (val) {\n        childNodeRendered.value = true;\n      }\n    });\n    const getNodeKey$1 = (node) => {\n      return getNodeKey(tree.props.nodeKey, node.data);\n    };\n    const getNodeClass = (node) => {\n      const nodeClassFunc = props.props.class;\n      if (!nodeClassFunc) {\n        return {};\n      }\n      let className;\n      if (isFunction(nodeClassFunc)) {\n        const { data } = node;\n        className = nodeClassFunc(data, node);\n      } else {\n        className = nodeClassFunc;\n      }\n      if (isString(className)) {\n        return { [className]: true };\n      } else {\n        return className;\n      }\n    };\n    const handleSelectChange = (checked, indeterminate) => {\n      if (oldChecked.value !== checked || oldIndeterminate.value !== indeterminate) {\n        tree.ctx.emit(\"check-change\", props.node.data, checked, indeterminate);\n      }\n      oldChecked.value = checked;\n      oldIndeterminate.value = indeterminate;\n    };\n    const handleClick = (e) => {\n      handleCurrentChange(tree.store, tree.ctx.emit, () => tree.store.value.setCurrentNode(props.node));\n      tree.currentNode.value = props.node;\n      if (tree.props.expandOnClickNode) {\n        handleExpandIconClick();\n      }\n      if (tree.props.checkOnClickNode && !props.node.disabled) {\n        handleCheckChange(null, {\n          target: { checked: !props.node.checked }\n        });\n      }\n      tree.ctx.emit(\"node-click\", props.node.data, props.node, instance, e);\n    };\n    const handleContextMenu = (event) => {\n      if (tree.instance.vnode.props[\"onNodeContextmenu\"]) {\n        event.stopPropagation();\n        event.preventDefault();\n      }\n      tree.ctx.emit(\"node-contextmenu\", event, props.node.data, props.node, instance);\n    };\n    const handleExpandIconClick = () => {\n      if (props.node.isLeaf)\n        return;\n      if (expanded.value) {\n        tree.ctx.emit(\"node-collapse\", props.node.data, props.node, instance);\n        props.node.collapse();\n      } else {\n        props.node.expand();\n        ctx.emit(\"node-expand\", props.node.data, props.node, instance);\n      }\n    };\n    const handleCheckChange = (value, ev) => {\n      props.node.setChecked(ev.target.checked, !tree.props.checkStrictly);\n      nextTick(() => {\n        const store = tree.store.value;\n        tree.ctx.emit(\"check\", props.node.data, {\n          checkedNodes: store.getCheckedNodes(),\n          checkedKeys: store.getCheckedKeys(),\n          halfCheckedNodes: store.getHalfCheckedNodes(),\n          halfCheckedKeys: store.getHalfCheckedKeys()\n        });\n      });\n    };\n    const handleChildNodeExpand = (nodeData, node, instance2) => {\n      broadcastExpanded(node);\n      tree.ctx.emit(\"node-expand\", nodeData, node, instance2);\n    };\n    const handleDragStart = (event) => {\n      if (!tree.props.draggable)\n        return;\n      dragEvents.treeNodeDragStart({ event, treeNode: props });\n    };\n    const handleDragOver = (event) => {\n      event.preventDefault();\n      if (!tree.props.draggable)\n        return;\n      dragEvents.treeNodeDragOver({\n        event,\n        treeNode: { $el: node$.value, node: props.node }\n      });\n    };\n    const handleDrop = (event) => {\n      event.preventDefault();\n    };\n    const handleDragEnd = (event) => {\n      if (!tree.props.draggable)\n        return;\n      dragEvents.treeNodeDragEnd(event);\n    };\n    return {\n      ns,\n      node$,\n      tree,\n      expanded,\n      childNodeRendered,\n      oldChecked,\n      oldIndeterminate,\n      getNodeKey: getNodeKey$1,\n      getNodeClass,\n      handleSelectChange,\n      handleClick,\n      handleContextMenu,\n      handleExpandIconClick,\n      handleCheckChange,\n      handleChildNodeExpand,\n      handleDragStart,\n      handleDragOver,\n      handleDrop,\n      handleDragEnd,\n      CaretRight\n    };\n  }\n});\nconst _hoisted_1 = [\"aria-expanded\", \"aria-disabled\", \"aria-checked\", \"draggable\", \"data-key\"];\nconst _hoisted_2 = [\"aria-expanded\"];\nfunction _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {\n  const _component_el_icon = resolveComponent(\"el-icon\");\n  const _component_el_checkbox = resolveComponent(\"el-checkbox\");\n  const _component_loading = resolveComponent(\"loading\");\n  const _component_node_content = resolveComponent(\"node-content\");\n  const _component_el_tree_node = resolveComponent(\"el-tree-node\");\n  const _component_el_collapse_transition = resolveComponent(\"el-collapse-transition\");\n  return withDirectives((openBlock(), createElementBlock(\"div\", {\n    ref: \"node$\",\n    class: normalizeClass([\n      _ctx.ns.b(\"node\"),\n      _ctx.ns.is(\"expanded\", _ctx.expanded),\n      _ctx.ns.is(\"current\", _ctx.node.isCurrent),\n      _ctx.ns.is(\"hidden\", !_ctx.node.visible),\n      _ctx.ns.is(\"focusable\", !_ctx.node.disabled),\n      _ctx.ns.is(\"checked\", !_ctx.node.disabled && _ctx.node.checked),\n      _ctx.getNodeClass(_ctx.node)\n    ]),\n    role: \"treeitem\",\n    tabindex: \"-1\",\n    \"aria-expanded\": _ctx.expanded,\n    \"aria-disabled\": _ctx.node.disabled,\n    \"aria-checked\": _ctx.node.checked,\n    draggable: _ctx.tree.props.draggable,\n    \"data-key\": _ctx.getNodeKey(_ctx.node),\n    onClick: _cache[1] || (_cache[1] = withModifiers((...args) => _ctx.handleClick && _ctx.handleClick(...args), [\"stop\"])),\n    onContextmenu: _cache[2] || (_cache[2] = (...args) => _ctx.handleContextMenu && _ctx.handleContextMenu(...args)),\n    onDragstart: _cache[3] || (_cache[3] = withModifiers((...args) => _ctx.handleDragStart && _ctx.handleDragStart(...args), [\"stop\"])),\n    onDragover: _cache[4] || (_cache[4] = withModifiers((...args) => _ctx.handleDragOver && _ctx.handleDragOver(...args), [\"stop\"])),\n    onDragend: _cache[5] || (_cache[5] = withModifiers((...args) => _ctx.handleDragEnd && _ctx.handleDragEnd(...args), [\"stop\"])),\n    onDrop: _cache[6] || (_cache[6] = withModifiers((...args) => _ctx.handleDrop && _ctx.handleDrop(...args), [\"stop\"]))\n  }, [\n    createElementVNode(\"div\", {\n      class: normalizeClass(_ctx.ns.be(\"node\", \"content\")),\n      style: normalizeStyle({ paddingLeft: (_ctx.node.level - 1) * _ctx.tree.props.indent + \"px\" })\n    }, [\n      _ctx.tree.props.icon || _ctx.CaretRight ? (openBlock(), createBlock(_component_el_icon, {\n        key: 0,\n        class: normalizeClass([\n          _ctx.ns.be(\"node\", \"expand-icon\"),\n          _ctx.ns.is(\"leaf\", _ctx.node.isLeaf),\n          {\n            expanded: !_ctx.node.isLeaf && _ctx.expanded\n          }\n        ]),\n        onClick: withModifiers(_ctx.handleExpandIconClick, [\"stop\"])\n      }, {\n        default: withCtx(() => [\n          (openBlock(), createBlock(resolveDynamicComponent(_ctx.tree.props.icon || _ctx.CaretRight)))\n        ]),\n        _: 1\n      }, 8, [\"class\", \"onClick\"])) : createCommentVNode(\"v-if\", true),\n      _ctx.showCheckbox ? (openBlock(), createBlock(_component_el_checkbox, {\n        key: 1,\n        \"model-value\": _ctx.node.checked,\n        indeterminate: _ctx.node.indeterminate,\n        disabled: !!_ctx.node.disabled,\n        onClick: _cache[0] || (_cache[0] = withModifiers(() => {\n        }, [\"stop\"])),\n        onChange: _ctx.handleCheckChange\n      }, null, 8, [\"model-value\", \"indeterminate\", \"disabled\", \"onChange\"])) : createCommentVNode(\"v-if\", true),\n      _ctx.node.loading ? (openBlock(), createBlock(_component_el_icon, {\n        key: 2,\n        class: normalizeClass([_ctx.ns.be(\"node\", \"loading-icon\"), _ctx.ns.is(\"loading\")])\n      }, {\n        default: withCtx(() => [\n          createVNode(_component_loading)\n        ]),\n        _: 1\n      }, 8, [\"class\"])) : createCommentVNode(\"v-if\", true),\n      createVNode(_component_node_content, {\n        node: _ctx.node,\n        \"render-content\": _ctx.renderContent\n      }, null, 8, [\"node\", \"render-content\"])\n    ], 6),\n    createVNode(_component_el_collapse_transition, null, {\n      default: withCtx(() => [\n        !_ctx.renderAfterExpand || _ctx.childNodeRendered ? withDirectives((openBlock(), createElementBlock(\"div\", {\n          key: 0,\n          class: normalizeClass(_ctx.ns.be(\"node\", \"children\")),\n          role: \"group\",\n          \"aria-expanded\": _ctx.expanded\n        }, [\n          (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.node.childNodes, (child) => {\n            return openBlock(), createBlock(_component_el_tree_node, {\n              key: _ctx.getNodeKey(child),\n              \"render-content\": _ctx.renderContent,\n              \"render-after-expand\": _ctx.renderAfterExpand,\n              \"show-checkbox\": _ctx.showCheckbox,\n              node: child,\n              accordion: _ctx.accordion,\n              props: _ctx.props,\n              onNodeExpand: _ctx.handleChildNodeExpand\n            }, null, 8, [\"render-content\", \"render-after-expand\", \"show-checkbox\", \"node\", \"accordion\", \"props\", \"onNodeExpand\"]);\n          }), 128))\n        ], 10, _hoisted_2)), [\n          [vShow, _ctx.expanded]\n        ]) : createCommentVNode(\"v-if\", true)\n      ]),\n      _: 1\n    })\n  ], 42, _hoisted_1)), [\n    [vShow, _ctx.node.visible]\n  ]);\n}\nvar ElTreeNode = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"render\", _sfc_render], [\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/tree/src/tree-node.vue\"]]);\n\nexport { ElTreeNode as default };\n//# sourceMappingURL=tree-node.mjs.map\n","import { shallowRef, onMounted, onUpdated, watch } from 'vue';\nimport { useEventListener } from '@vueuse/core';\nimport '../../../../constants/index.mjs';\nimport '../../../../hooks/index.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\nimport { EVENT_CODE } from '../../../../constants/aria.mjs';\n\nfunction useKeydown({ el$ }, store) {\n  const ns = useNamespace(\"tree\");\n  const treeItems = shallowRef([]);\n  const checkboxItems = shallowRef([]);\n  onMounted(() => {\n    initTabIndex();\n  });\n  onUpdated(() => {\n    treeItems.value = Array.from(el$.value.querySelectorAll(\"[role=treeitem]\"));\n    checkboxItems.value = Array.from(el$.value.querySelectorAll(\"input[type=checkbox]\"));\n  });\n  watch(checkboxItems, (val) => {\n    val.forEach((checkbox) => {\n      checkbox.setAttribute(\"tabindex\", \"-1\");\n    });\n  });\n  const handleKeydown = (ev) => {\n    const currentItem = ev.target;\n    if (!currentItem.className.includes(ns.b(\"node\")))\n      return;\n    const code = ev.code;\n    treeItems.value = Array.from(el$.value.querySelectorAll(`.${ns.is(\"focusable\")}[role=treeitem]`));\n    const currentIndex = treeItems.value.indexOf(currentItem);\n    let nextIndex;\n    if ([EVENT_CODE.up, EVENT_CODE.down].includes(code)) {\n      ev.preventDefault();\n      if (code === EVENT_CODE.up) {\n        nextIndex = currentIndex === -1 ? 0 : currentIndex !== 0 ? currentIndex - 1 : treeItems.value.length - 1;\n        const startIndex = nextIndex;\n        while (true) {\n          if (store.value.getNode(treeItems.value[nextIndex].dataset.key).canFocus)\n            break;\n          nextIndex--;\n          if (nextIndex === startIndex) {\n            nextIndex = -1;\n            break;\n          }\n          if (nextIndex < 0) {\n            nextIndex = treeItems.value.length - 1;\n          }\n        }\n      } else {\n        nextIndex = currentIndex === -1 ? 0 : currentIndex < treeItems.value.length - 1 ? currentIndex + 1 : 0;\n        const startIndex = nextIndex;\n        while (true) {\n          if (store.value.getNode(treeItems.value[nextIndex].dataset.key).canFocus)\n            break;\n          nextIndex++;\n          if (nextIndex === startIndex) {\n            nextIndex = -1;\n            break;\n          }\n          if (nextIndex >= treeItems.value.length) {\n            nextIndex = 0;\n          }\n        }\n      }\n      nextIndex !== -1 && treeItems.value[nextIndex].focus();\n    }\n    if ([EVENT_CODE.left, EVENT_CODE.right].includes(code)) {\n      ev.preventDefault();\n      currentItem.click();\n    }\n    const hasInput = currentItem.querySelector('[type=\"checkbox\"]');\n    if ([EVENT_CODE.enter, EVENT_CODE.space].includes(code) && hasInput) {\n      ev.preventDefault();\n      hasInput.click();\n    }\n  };\n  useEventListener(el$, \"keydown\", handleKeydown);\n  const initTabIndex = () => {\n    var _a;\n    treeItems.value = Array.from(el$.value.querySelectorAll(`.${ns.is(\"focusable\")}[role=treeitem]`));\n    checkboxItems.value = Array.from(el$.value.querySelectorAll(\"input[type=checkbox]\"));\n    const checkedItem = el$.value.querySelectorAll(`.${ns.is(\"checked\")}[role=treeitem]`);\n    if (checkedItem.length) {\n      checkedItem[0].setAttribute(\"tabindex\", \"0\");\n      return;\n    }\n    (_a = treeItems.value[0]) == null ? void 0 : _a.setAttribute(\"tabindex\", \"0\");\n  };\n}\n\nexport { useKeydown };\n//# sourceMappingURL=useKeydown.mjs.map\n","import { defineComponent, ref, computed, watch, provide, getCurrentInstance, resolveComponent, openBlock, createElementBlock, normalizeClass, Fragment, renderList, createBlock, renderSlot, createElementVNode, toDisplayString, createCommentVNode, withDirectives, vShow } from 'vue';\nimport '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport '../../form/index.mjs';\nimport TreeStore from './model/tree-store.mjs';\nimport { getNodeKey, handleCurrentChange } from './model/util.mjs';\nimport ElTreeNode from './tree-node.mjs';\nimport { useNodeExpandEventBroadcast } from './model/useNodeExpandEventBroadcast.mjs';\nimport { useDragNodeHandler } from './model/useDragNode.mjs';\nimport { useKeydown } from './model/useKeydown.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { iconPropType } from '../../../utils/vue/icon.mjs';\nimport { useLocale } from '../../../hooks/use-locale/index.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { formItemContextKey } from '../../form/src/constants.mjs';\n\nconst _sfc_main = defineComponent({\n  name: \"ElTree\",\n  components: { ElTreeNode },\n  props: {\n    data: {\n      type: Array,\n      default: () => []\n    },\n    emptyText: {\n      type: String\n    },\n    renderAfterExpand: {\n      type: Boolean,\n      default: true\n    },\n    nodeKey: String,\n    checkStrictly: Boolean,\n    defaultExpandAll: Boolean,\n    expandOnClickNode: {\n      type: Boolean,\n      default: true\n    },\n    checkOnClickNode: Boolean,\n    checkDescendants: {\n      type: Boolean,\n      default: false\n    },\n    autoExpandParent: {\n      type: Boolean,\n      default: true\n    },\n    defaultCheckedKeys: Array,\n    defaultExpandedKeys: Array,\n    currentNodeKey: [String, Number],\n    renderContent: Function,\n    showCheckbox: {\n      type: Boolean,\n      default: false\n    },\n    draggable: {\n      type: Boolean,\n      default: false\n    },\n    allowDrag: Function,\n    allowDrop: Function,\n    props: {\n      type: Object,\n      default: () => ({\n        children: \"children\",\n        label: \"label\",\n        disabled: \"disabled\"\n      })\n    },\n    lazy: {\n      type: Boolean,\n      default: false\n    },\n    highlightCurrent: Boolean,\n    load: Function,\n    filterNodeMethod: Function,\n    accordion: Boolean,\n    indent: {\n      type: Number,\n      default: 18\n    },\n    icon: {\n      type: iconPropType\n    }\n  },\n  emits: [\n    \"check-change\",\n    \"current-change\",\n    \"node-click\",\n    \"node-contextmenu\",\n    \"node-collapse\",\n    \"node-expand\",\n    \"check\",\n    \"node-drag-start\",\n    \"node-drag-end\",\n    \"node-drop\",\n    \"node-drag-leave\",\n    \"node-drag-enter\",\n    \"node-drag-over\"\n  ],\n  setup(props, ctx) {\n    const { t } = useLocale();\n    const ns = useNamespace(\"tree\");\n    const store = ref(new TreeStore({\n      key: props.nodeKey,\n      data: props.data,\n      lazy: props.lazy,\n      props: props.props,\n      load: props.load,\n      currentNodeKey: props.currentNodeKey,\n      checkStrictly: props.checkStrictly,\n      checkDescendants: props.checkDescendants,\n      defaultCheckedKeys: props.defaultCheckedKeys,\n      defaultExpandedKeys: props.defaultExpandedKeys,\n      autoExpandParent: props.autoExpandParent,\n      defaultExpandAll: props.defaultExpandAll,\n      filterNodeMethod: props.filterNodeMethod\n    }));\n    store.value.initialize();\n    const root = ref(store.value.root);\n    const currentNode = ref(null);\n    const el$ = ref(null);\n    const dropIndicator$ = ref(null);\n    const { broadcastExpanded } = useNodeExpandEventBroadcast(props);\n    const { dragState } = useDragNodeHandler({\n      props,\n      ctx,\n      el$,\n      dropIndicator$,\n      store\n    });\n    useKeydown({ el$ }, store);\n    const isEmpty = computed(() => {\n      const { childNodes } = root.value;\n      return !childNodes || childNodes.length === 0 || childNodes.every(({ visible }) => !visible);\n    });\n    watch(() => props.currentNodeKey, (newVal) => {\n      store.value.setCurrentNodeKey(newVal);\n    });\n    watch(() => props.defaultCheckedKeys, (newVal) => {\n      store.value.setDefaultCheckedKey(newVal);\n    });\n    watch(() => props.defaultExpandedKeys, (newVal) => {\n      store.value.setDefaultExpandedKeys(newVal);\n    });\n    watch(() => props.data, (newVal) => {\n      store.value.setData(newVal);\n    }, { deep: true });\n    watch(() => props.checkStrictly, (newVal) => {\n      store.value.checkStrictly = newVal;\n    });\n    const filter = (value) => {\n      if (!props.filterNodeMethod)\n        throw new Error(\"[Tree] filterNodeMethod is required when filter\");\n      store.value.filter(value);\n    };\n    const getNodeKey$1 = (node) => {\n      return getNodeKey(props.nodeKey, node.data);\n    };\n    const getNodePath = (data) => {\n      if (!props.nodeKey)\n        throw new Error(\"[Tree] nodeKey is required in getNodePath\");\n      const node = store.value.getNode(data);\n      if (!node)\n        return [];\n      const path = [node.data];\n      let parent = node.parent;\n      while (parent && parent !== root.value) {\n        path.push(parent.data);\n        parent = parent.parent;\n      }\n      return path.reverse();\n    };\n    const getCheckedNodes = (leafOnly, includeHalfChecked) => {\n      return store.value.getCheckedNodes(leafOnly, includeHalfChecked);\n    };\n    const getCheckedKeys = (leafOnly) => {\n      return store.value.getCheckedKeys(leafOnly);\n    };\n    const getCurrentNode = () => {\n      const currentNode2 = store.value.getCurrentNode();\n      return currentNode2 ? currentNode2.data : null;\n    };\n    const getCurrentKey = () => {\n      if (!props.nodeKey)\n        throw new Error(\"[Tree] nodeKey is required in getCurrentKey\");\n      const currentNode2 = getCurrentNode();\n      return currentNode2 ? currentNode2[props.nodeKey] : null;\n    };\n    const setCheckedNodes = (nodes, leafOnly) => {\n      if (!props.nodeKey)\n        throw new Error(\"[Tree] nodeKey is required in setCheckedNodes\");\n      store.value.setCheckedNodes(nodes, leafOnly);\n    };\n    const setCheckedKeys = (keys, leafOnly) => {\n      if (!props.nodeKey)\n        throw new Error(\"[Tree] nodeKey is required in setCheckedKeys\");\n      store.value.setCheckedKeys(keys, leafOnly);\n    };\n    const setChecked = (data, checked, deep) => {\n      store.value.setChecked(data, checked, deep);\n    };\n    const getHalfCheckedNodes = () => {\n      return store.value.getHalfCheckedNodes();\n    };\n    const getHalfCheckedKeys = () => {\n      return store.value.getHalfCheckedKeys();\n    };\n    const setCurrentNode = (node, shouldAutoExpandParent = true) => {\n      if (!props.nodeKey)\n        throw new Error(\"[Tree] nodeKey is required in setCurrentNode\");\n      handleCurrentChange(store, ctx.emit, () => store.value.setUserCurrentNode(node, shouldAutoExpandParent));\n    };\n    const setCurrentKey = (key, shouldAutoExpandParent = true) => {\n      if (!props.nodeKey)\n        throw new Error(\"[Tree] nodeKey is required in setCurrentKey\");\n      handleCurrentChange(store, ctx.emit, () => store.value.setCurrentNodeKey(key, shouldAutoExpandParent));\n    };\n    const getNode = (data) => {\n      return store.value.getNode(data);\n    };\n    const remove = (data) => {\n      store.value.remove(data);\n    };\n    const append = (data, parentNode) => {\n      store.value.append(data, parentNode);\n    };\n    const insertBefore = (data, refNode) => {\n      store.value.insertBefore(data, refNode);\n    };\n    const insertAfter = (data, refNode) => {\n      store.value.insertAfter(data, refNode);\n    };\n    const handleNodeExpand = (nodeData, node, instance) => {\n      broadcastExpanded(node);\n      ctx.emit(\"node-expand\", nodeData, node, instance);\n    };\n    const updateKeyChildren = (key, data) => {\n      if (!props.nodeKey)\n        throw new Error(\"[Tree] nodeKey is required in updateKeyChild\");\n      store.value.updateChildren(key, data);\n    };\n    provide(\"RootTree\", {\n      ctx,\n      props,\n      store,\n      root,\n      currentNode,\n      instance: getCurrentInstance()\n    });\n    provide(formItemContextKey, void 0);\n    return {\n      ns,\n      store,\n      root,\n      currentNode,\n      dragState,\n      el$,\n      dropIndicator$,\n      isEmpty,\n      filter,\n      getNodeKey: getNodeKey$1,\n      getNodePath,\n      getCheckedNodes,\n      getCheckedKeys,\n      getCurrentNode,\n      getCurrentKey,\n      setCheckedNodes,\n      setCheckedKeys,\n      setChecked,\n      getHalfCheckedNodes,\n      getHalfCheckedKeys,\n      setCurrentNode,\n      setCurrentKey,\n      t,\n      getNode,\n      remove,\n      append,\n      insertBefore,\n      insertAfter,\n      handleNodeExpand,\n      updateKeyChildren\n    };\n  }\n});\nfunction _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {\n  const _component_el_tree_node = resolveComponent(\"el-tree-node\");\n  return openBlock(), createElementBlock(\"div\", {\n    ref: \"el$\",\n    class: normalizeClass([\n      _ctx.ns.b(),\n      _ctx.ns.is(\"dragging\", !!_ctx.dragState.draggingNode),\n      _ctx.ns.is(\"drop-not-allow\", !_ctx.dragState.allowDrop),\n      _ctx.ns.is(\"drop-inner\", _ctx.dragState.dropType === \"inner\"),\n      { [_ctx.ns.m(\"highlight-current\")]: _ctx.highlightCurrent }\n    ]),\n    role: \"tree\"\n  }, [\n    (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.root.childNodes, (child) => {\n      return openBlock(), createBlock(_component_el_tree_node, {\n        key: _ctx.getNodeKey(child),\n        node: child,\n        props: _ctx.props,\n        accordion: _ctx.accordion,\n        \"render-after-expand\": _ctx.renderAfterExpand,\n        \"show-checkbox\": _ctx.showCheckbox,\n        \"render-content\": _ctx.renderContent,\n        onNodeExpand: _ctx.handleNodeExpand\n      }, null, 8, [\"node\", \"props\", \"accordion\", \"render-after-expand\", \"show-checkbox\", \"render-content\", \"onNodeExpand\"]);\n    }), 128)),\n    _ctx.isEmpty ? (openBlock(), createElementBlock(\"div\", {\n      key: 0,\n      class: normalizeClass(_ctx.ns.e(\"empty-block\"))\n    }, [\n      renderSlot(_ctx.$slots, \"empty\", {}, () => {\n        var _a;\n        return [\n          createElementVNode(\"span\", {\n            class: normalizeClass(_ctx.ns.e(\"empty-text\"))\n          }, toDisplayString((_a = _ctx.emptyText) != null ? _a : _ctx.t(\"el.tree.emptyText\")), 3)\n        ];\n      })\n    ], 2)) : createCommentVNode(\"v-if\", true),\n    withDirectives(createElementVNode(\"div\", {\n      ref: \"dropIndicator$\",\n      class: normalizeClass(_ctx.ns.e(\"drop-indicator\"))\n    }, null, 2), [\n      [vShow, _ctx.dragState.showDropIndicator]\n    ])\n  ], 2);\n}\nvar Tree = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"render\", _sfc_render], [\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/tree/src/tree.vue\"]]);\n\nexport { Tree as default };\n//# sourceMappingURL=tree.mjs.map\n","import Tree from './src/tree.mjs';\n\nTree.install = (app) => {\n  app.component(Tree.name, Tree);\n};\nconst _Tree = Tree;\nconst ElTree = _Tree;\n\nexport { ElTree, _Tree as default };\n//# sourceMappingURL=index.mjs.map\n","import { ref } from 'vue'\nimport { defineStore } from 'pinia'\nimport  axios  from \"axios\";\n\nexport const useProductStore = defineStore('product', {\n\n  state: () => ({\n      product: fpe.product,\n      data_sets: fpe.data_sets,\n      openPanel: false,\n      isUpdating: false,\n      tax_enabled: fpe.tax_enabled,\n      strings: fpe.strings,\n      manage_stocks: fpe.manage_stocks,\n      tags: [],\n      panelWidth: localStorage.getItem('fpe_panel_width') || '400px',\n  }),\n  actions: {\n    updateProduct(){\n      \n      this.isUpdating = true;\n      const { ajax_url, security, product_id, edit_mode } = fpe;\n      const that = this;\n      \n      axios.post(`${ajax_url}?action=fpe_product_update&fpe_nonce=${security}`, {\n          product: this.product,\n          product_id,\n          edit_mode,\n          action: 'fpe_product_update'\n      })\n      .then( function (response) {\n        if(response.data.success){\n          if(edit_mode === 'archive'){\n            window.location.reload();\n          }else{\n            window.location.href = response.data.product_url;\n          }\n          that.isUpdating = false;\n        }\n      })\n      .catch(function (error){\n        console.log('Error updating product', error); \n      })\n    },\n    togglePanel(){\n      this.product = fpe.product;\n      this.openPanel = !this.openPanel;\n    },\n    updatePanelSize(event){\n      this.panelWidth = event.width;\n      localStorage.setItem('fpe_panel_width', event.width + 'px');\n    },\n    async getTags(queryString){\n      const { ajax_url } = fpe;\n      const that = this;\n      await axios.post(`${ajax_url}?action=ajax-tag-search&tax=product_tag&q=${queryString}&number=20`, {\n         \n      })\n      .then( function (response) {\n        if(response.data.length){\n          that.tags = response.data.split('\\n');\n        }\n      })\n      .catch(function (error){\n        console.log(error);\n      })\n    },\n    async getProducts(queryString){\n      const { ajax_url } = fpe;\n      const that = this;\n      await axios.post(`${ajax_url}?action=fpe_search_products&q=${queryString}&current=${this.product.id}`, {\n         \n      })\n      .then( function (response) {\n        that.tags = response.data;\n      })\n      .catch(function (error){\n        console.log(error);\n      })\n    },\n    async getUpsellProductsByIds(ids){\n      \n      const { ajax_url, security } = fpe;\n      const that = this;\n      await axios.post(`${ajax_url}?action=fpe_get_products&fpe_nonce=${security}`, {\n          ids\n      }).then( function (response) {\n        that.product.upsell_ids = response.data;\n      }).catch(function (error){\n        console.log(error);\n      })\n    },\n    async getCrossSellProductsByIds(ids){\n      \n      const { ajax_url, security } = fpe;\n      const that = this;\n      await axios.post(`${ajax_url}?action=fpe_get_products&fpe_nonce=${security}`, {\n          ids\n      }).then( function (response) {\n        that.product.cross_sell_ids = response.data;\n      }).catch(function (error){\n        console.log(error);\n      })\n    }, \n    async getGroupedProductsByIds(ids){\n        \n        const { ajax_url, security } = fpe;\n        const that = this;\n        await axios.post(`${ajax_url}?action=fpe_get_products&fpe_nonce=${security}`, {\n            ids\n        }).then( function (response) {\n          that.product.grouped_products = response.data;\n        }).catch(function (error){\n          console.log(error);\n        })\n    },\n    async getAttributeTermsById(attribute, ids){\n      \n      const { ajax_url, security } = fpe;\n      const that = this;\n      await axios.post(`${ajax_url}?action=fpe_get_attribute_terms&fpe_nonce=${security}`, {\n          attribute,\n          ids\n      }).then( function (response) {\n        that.tags = response.data;\n      }).catch(function (error){\n        console.log(error);\n      })\n    },\n  }, \n});\n","<script setup>\nimport { storeToRefs } from 'pinia';\nimport { ref } from 'vue';\nimport { ElButton  } from 'element-plus';\nimport { useProductStore } from '../stores/fpe';\n\nconst store = useProductStore();\n\nconst { isUpdating, strings,  } = storeToRefs(store);\n\nconst pro = ref(fpe.editor_config.pro || false);\n\n\n</script>\n\n<template>\n    <el-button class=\"fpe-cancel\" @click=\"store.togglePanel\">{{strings.cancel_button}}</el-button>\n    <el-button :loading=\"isUpdating\" class=\"fpe-update\" type=\"primary\" @click=\"store.updateProduct\">{{ strings.update_button }}</el-button>\n</template>","(function(t,e){\"object\"===typeof exports&&\"object\"===typeof module?module.exports=e(require(\"vue\")):\"function\"===typeof define&&define.amd?define([],e):\"object\"===typeof exports?exports[\"vue-resizable\"]=e(require(\"vue\")):t[\"vue-resizable\"]=e(t[\"Vue\"])})(\"undefined\"!==typeof self?self:this,(function(t){return function(){var e={365:function(t,e,i){\"use strict\";i.r(e);var s=i(81),n=i.n(s),r=i(645),h=i.n(r),a=h()(n());a.push([t.id,\".resizable-component[data-v-3de5149f]{position:relative}.resizable-component>.resizable-r[data-v-3de5149f]{z-index:90;cursor:e-resize;top:0;height:100%}.resizable-component>.resizable-r[data-v-3de5149f],.resizable-component>.resizable-rb[data-v-3de5149f]{display:block;position:absolute;touch-action:none;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:12px;right:-6px}.resizable-component>.resizable-rb[data-v-3de5149f]{cursor:se-resize;height:12px;bottom:-6px;z-index:91}.resizable-component>.resizable-b[data-v-3de5149f]{z-index:90;cursor:s-resize;width:100%;left:0}.resizable-component>.resizable-b[data-v-3de5149f],.resizable-component>.resizable-lb[data-v-3de5149f]{display:block;position:absolute;touch-action:none;user-select:none;-moz-user-select:none;-webkit-user-select:none;height:12px;bottom:-6px}.resizable-component>.resizable-lb[data-v-3de5149f]{cursor:sw-resize;width:12px;left:-6px;z-index:91}.resizable-component>.resizable-l[data-v-3de5149f]{z-index:90;cursor:w-resize;height:100%;top:0}.resizable-component>.resizable-l[data-v-3de5149f],.resizable-component>.resizable-lt[data-v-3de5149f]{display:block;position:absolute;touch-action:none;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:12px;left:-6px}.resizable-component>.resizable-lt[data-v-3de5149f]{cursor:nw-resize;height:12px;top:-6px;z-index:91}.resizable-component>.resizable-t[data-v-3de5149f]{z-index:90;cursor:n-resize;width:100%;left:0}.resizable-component>.resizable-rt[data-v-3de5149f],.resizable-component>.resizable-t[data-v-3de5149f]{display:block;position:absolute;touch-action:none;user-select:none;-moz-user-select:none;-webkit-user-select:none;height:12px;top:-6px}.resizable-component>.resizable-rt[data-v-3de5149f]{cursor:ne-resize;width:12px;right:-6px;z-index:91}\",\"\"]),e[\"default\"]=a},645:function(t){\"use strict\";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i=\"\",s=\"undefined\"!==typeof e[5];return e[4]&&(i+=\"@supports (\".concat(e[4],\") {\")),e[2]&&(i+=\"@media \".concat(e[2],\" {\")),s&&(i+=\"@layer\".concat(e[5].length>0?\" \".concat(e[5]):\"\",\" {\")),i+=t(e),s&&(i+=\"}\"),e[2]&&(i+=\"}\"),e[4]&&(i+=\"}\"),i})).join(\"\")},e.i=function(t,i,s,n,r){\"string\"===typeof t&&(t=[[null,t,void 0]]);var h={};if(s)for(var a=0;a<this.length;a++){var o=this[a][0];null!=o&&(h[o]=!0)}for(var l=0;l<t.length;l++){var c=[].concat(t[l]);s&&h[c[0]]||(\"undefined\"!==typeof r&&(\"undefined\"===typeof c[5]||(c[1]=\"@layer\".concat(c[5].length>0?\" \".concat(c[5]):\"\",\" {\").concat(c[1],\"}\")),c[5]=r),i&&(c[2]?(c[1]=\"@media \".concat(c[2],\" {\").concat(c[1],\"}\"),c[2]=i):c[2]=i),n&&(c[4]?(c[1]=\"@supports (\".concat(c[4],\") {\").concat(c[1],\"}\"),c[4]=n):c[4]=\"\".concat(n)),e.push(c))}},e}},81:function(t){\"use strict\";t.exports=function(t){return t[1]}},82:function(t,e){\"use strict\";e.Z=(t,e)=>{const i=t.__vccOpts||t;for(const[s,n]of e)i[s]=n;return i}},733:function(t,e,i){var s=i(365);s.__esModule&&(s=s.default),\"string\"===typeof s&&(s=[[t.id,s,\"\"]]),s.locals&&(t.exports=s.locals);var n=i(650).Z;n(\"833bf5a8\",s,!0,{sourceMap:!1,shadowMode:!1})},650:function(t,e,i){\"use strict\";function s(t,e){for(var i=[],s={},n=0;n<e.length;n++){var r=e[n],h=r[0],a=r[1],o=r[2],l=r[3],c={id:t+\":\"+n,css:a,media:o,sourceMap:l};s[h]?s[h].parts.push(c):i.push(s[h]={id:h,parts:[c]})}return i}i.d(e,{Z:function(){return f}});var n=\"undefined\"!==typeof document;if(\"undefined\"!==typeof DEBUG&&DEBUG&&!n)throw new Error(\"vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.\");var r={},h=n&&(document.head||document.getElementsByTagName(\"head\")[0]),a=null,o=0,l=!1,c=function(){},d=null,u=\"data-vue-ssr-id\",m=\"undefined\"!==typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());function f(t,e,i,n){l=i,d=n||{};var h=s(t,e);return p(h),function(e){for(var i=[],n=0;n<h.length;n++){var a=h[n],o=r[a.id];o.refs--,i.push(o)}e?(h=s(t,e),p(h)):h=[];for(n=0;n<i.length;n++){o=i[n];if(0===o.refs){for(var l=0;l<o.parts.length;l++)o.parts[l]();delete r[o.id]}}}}function p(t){for(var e=0;e<t.length;e++){var i=t[e],s=r[i.id];if(s){s.refs++;for(var n=0;n<s.parts.length;n++)s.parts[n](i.parts[n]);for(;n<i.parts.length;n++)s.parts.push(v(i.parts[n]));s.parts.length>i.parts.length&&(s.parts.length=i.parts.length)}else{var h=[];for(n=0;n<i.parts.length;n++)h.push(v(i.parts[n]));r[i.id]={id:i.id,refs:1,parts:h}}}}function b(){var t=document.createElement(\"style\");return t.type=\"text/css\",h.appendChild(t),t}function v(t){var e,i,s=document.querySelector(\"style[\"+u+'~=\"'+t.id+'\"]');if(s){if(l)return c;s.parentNode.removeChild(s)}if(m){var n=o++;s=a||(a=b()),e=z.bind(null,s,n,!1),i=z.bind(null,s,n,!0)}else s=b(),e=w.bind(null,s),i=function(){s.parentNode.removeChild(s)};return e(t),function(s){if(s){if(s.css===t.css&&s.media===t.media&&s.sourceMap===t.sourceMap)return;e(t=s)}else i()}}var g=function(){var t=[];return function(e,i){return t[e]=i,t.filter(Boolean).join(\"\\n\")}}();function z(t,e,i,s){var n=i?\"\":s.css;if(t.styleSheet)t.styleSheet.cssText=g(e,n);else{var r=document.createTextNode(n),h=t.childNodes;h[e]&&t.removeChild(h[e]),h.length?t.insertBefore(r,h[e]):t.appendChild(r)}}function w(t,e){var i=e.css,s=e.media,n=e.sourceMap;if(s&&t.setAttribute(\"media\",s),d.ssrId&&t.setAttribute(u,e.id),n&&(i+=\"\\n/*# sourceURL=\"+n.sources[0]+\" */\",i+=\"\\n/*# sourceMappingURL=data:application/json;base64,\"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+\" */\"),t.styleSheet)t.styleSheet.cssText=i;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}},203:function(e){\"use strict\";e.exports=t}},i={};function s(t){var n=i[t];if(void 0!==n)return n.exports;var r=i[t]={id:t,exports:{}};return e[t](r,r.exports,s),r.exports}!function(){s.n=function(t){var e=t&&t.__esModule?function(){return t[\"default\"]}:function(){return t};return s.d(e,{a:e}),e}}(),function(){s.d=function(t,e){for(var i in e)s.o(e,i)&&!s.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})}}(),function(){s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}(),function(){s.r=function(t){\"undefined\"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(t,\"__esModule\",{value:!0})}}(),function(){s.p=\"\"}();var n={};return function(){\"use strict\";if(s.r(n),s.d(n,{default:function(){return m}}),\"undefined\"!==typeof window){var t=window.document.currentScript,e=t&&t.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/);e&&(s.p=e[1])}var i=s(203);function r(t,e,s,n,r,h){return(0,i.openBlock)(),(0,i.createElementBlock)(\"div\",{ref:\"parent\",class:\"resizable-component\",style:(0,i.normalizeStyle)(h.style)},[(0,i.renderSlot)(t.$slots,\"default\",{},void 0,!0),((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(s.active,(t=>(0,i.withDirectives)(((0,i.openBlock)(),(0,i.createElementBlock)(\"div\",{key:t,class:(0,i.normalizeClass)(\"resizable-\"+t)},null,2)),[[i.vShow,!s.maximize]]))),128))],4)}const h={\"resizable-r\":{bit:1,cursor:\"e-resize\"},\"resizable-rb\":{bit:3,cursor:\"se-resize\"},\"resizable-b\":{bit:2,cursor:\"s-resize\"},\"resizable-lb\":{bit:6,cursor:\"sw-resize\"},\"resizable-l\":{bit:4,cursor:\"w-resize\"},\"resizable-lt\":{bit:12,cursor:\"nw-resize\"},\"resizable-t\":{bit:8,cursor:\"n-resize\"},\"resizable-rt\":{bit:9,cursor:\"ne-resize\"},\"drag-el\":{bit:15,cursor:\"pointer\"}},a={l:1,t:2,w:4,h:8};var o={name:\"VResizable\",props:{width:{default:void 0,type:[Number,String]},minWidth:{default:0,type:Number},maxWidth:{default:void 0,type:Number},height:{default:void 0,type:[Number,String]},minHeight:{default:0,type:Number},maxHeight:{default:void 0,type:Number},left:{default:0,type:[Number,String]},top:{default:0,type:[Number,String]},active:{default:()=>[\"r\",\"rb\",\"b\",\"lb\",\"l\",\"lt\",\"t\",\"rt\"],validator:t=>[\"r\",\"rb\",\"b\",\"lb\",\"l\",\"lt\",\"t\",\"rt\"].filter((e=>-1!==t.indexOf(e))).length===t.length,type:Array},fitParent:{default:!1,type:Boolean},dragSelector:{default:void 0,type:String},maximize:{default:!1,type:Boolean},disableAttributes:{default:()=>[],validator:t=>[\"l\",\"t\",\"w\",\"h\"].filter((e=>-1!==t.indexOf(e))).length===t.length,type:Array}},emits:[\"mount\",\"destroy\",\"resize:start\",\"resize:move\",\"resize:end\",\"drag:start\",\"drag:move\",\"drag:end\",\"maximize\"],data(){return{w:this.width,h:this.height,minW:this.minWidth,minH:this.minHeight,maxW:this.maxWidth,maxH:this.maxHeight,l:this.left,t:this.top,mouseX:0,mouseY:0,offsetX:0,offsetY:0,parent:{width:0,height:0},resizeState:0,dragElements:[],dragState:!1,calcMap:15}},computed:{style(){return{...this.calcMap&a.w&&{width:\"number\"===typeof this.w?this.w+\"px\":this.w},...this.calcMap&a.h&&{height:\"number\"===typeof this.h?this.h+\"px\":this.h},...this.calcMap&a.l&&{left:\"number\"===typeof this.l?this.l+\"px\":this.l},...this.calcMap&a.t&&{top:\"number\"===typeof this.t?this.t+\"px\":this.t}}}},watch:{maxWidth(t){this.maxW=t},maxHeight(t){this.maxH=t},minWidth(t){this.minW=t},minHeight(t){this.minH=t},width(t){\"number\"===typeof t&&(this.w=t)},height(t){\"number\"===typeof t&&(this.h=t)},left(t){\"number\"===typeof t&&(this.l=t)},top(t){\"number\"===typeof t&&(this.t=t)},dragSelector(t){this.setupDragElements(t)},maximize(t){this.setMaximize(t),this.emitEvent(\"maximize\",{state:t})}},mounted(){this.width?\"auto\"!==this.width&&\"number\"!==typeof this.width&&(this.w=this.$el.clientWidth):this.w=this.$el.parentElement.clientWidth,this.height?\"auto\"!==this.height&&\"number\"!==typeof this.height&&(this.h=this.$el.clientHeight):this.h=this.$el.parentElement.clientHeight,\"number\"!==typeof this.left&&(this.l=this.$el.offsetLeft-this.$el.parentElement.offsetLeft),\"number\"!==typeof this.top&&(this.t=this.$el.offsetTop-this.$el.parentElement.offsetTop),this.minW&&this.w<this.minW&&(this.w=this.minW),this.minH&&this.h<this.minH&&(this.h=this.minH),this.maxW&&this.w>this.maxW&&(this.w=this.maxW),this.maxH&&this.h>this.maxH&&(this.h=this.maxH),this.setMaximize(this.maximize),this.setupDragElements(this.dragSelector),this.disableAttributes.forEach((t=>{switch(t){case\"l\":this.calcMap&=~a.l;break;case\"t\":this.calcMap&=~a.t;break;case\"w\":this.calcMap&=~a.w;break;case\"h\":this.calcMap&=~a.h}})),document.documentElement.addEventListener(\"mousemove\",this.handleMove,!0),document.documentElement.addEventListener(\"mousedown\",this.handleDown,!0),document.documentElement.addEventListener(\"mouseup\",this.handleUp,!0),document.documentElement.addEventListener(\"touchmove\",this.handleMove,!0),document.documentElement.addEventListener(\"touchstart\",this.handleDown,!0),document.documentElement.addEventListener(\"touchend\",this.handleUp,!0),this.emitEvent(\"mount\")},beforeUnmount(){document.documentElement.removeEventListener(\"mousemove\",this.handleMove,!0),document.documentElement.removeEventListener(\"mousedown\",this.handleDown,!0),document.documentElement.removeEventListener(\"mouseup\",this.handleUp,!0),document.documentElement.removeEventListener(\"touchmove\",this.handleMove,!0),document.documentElement.removeEventListener(\"touchstart\",this.handleDown,!0),document.documentElement.removeEventListener(\"touchend\",this.handleUp,!0),this.emitEvent(\"destroy\")},methods:{setMaximize(t){const e=this.$el.parentElement;t?(this.prevState={w:this.w,h:this.h,l:this.l,t:this.t},this.t=this.l=0,this.w=e.clientWidth,this.h=e.clientHeight):this.restoreSize()},restoreSize(){this.prevState&&(this.l=this.prevState.l,this.t=this.prevState.t,this.h=this.prevState.h,this.w=this.prevState.w)},setupDragElements(t){const e=this.$el.querySelectorAll(\".drag-el\");e.forEach((t=>{t.classList.remove(\"drag-el\")}));const i=this.$el.querySelectorAll(t);i.forEach((t=>{t.classList.add(\"drag-el\")})),this.dragElements=Array.prototype.slice.call(i)},emitEvent(t,e){this.$emit(t,{eventName:t,left:this.l,top:this.t,width:this.w,height:this.h,cmp:this,...e})},handleMove(t){if(0!==this.resizeState){let e,i;if(this.dragState||(isNaN(this.w)&&(this.w=this.$el.clientWidth),isNaN(this.h)&&(this.h=this.$el.clientHeight)),t.touches&&t.touches.length>=0?(e=t.touches[0].clientY,i=t.touches[0].clientX):(e=t.clientY,i=t.clientX),this.maximize&&this.prevState){const t=this.parent.width,s=this.parent.height;this.restoreSize(),this.prevState=void 0,this.t=e>s/2?s-this.h:0,this.l=i>t/2?t-this.w:0,this.emitEvent(\"maximize\",{state:!1})}let s=i-this.mouseX+this.offsetX,n=e-this.mouseY+this.offsetY;if(this.$el.getBoundingClientRect){const t=this.$el.getBoundingClientRect(),e=t.width/this.$el.offsetWidth||1,i=t.height/this.$el.offsetHeight||1;s/=e,n/=i}this.offsetX=this.offsetY=0,this.resizeState&h[\"resizable-r\"].bit&&(!this.dragState&&this.w+s<this.minW?this.offsetX=s-(s=this.minW-this.w):!this.dragState&&this.maxW&&this.w+s>this.maxW&&(!this.fitParent||this.w+this.l<this.parent.width)?this.offsetX=s-(s=this.maxW-this.w):this.fitParent&&this.l+this.w+s>this.parent.width&&(this.offsetX=s-(s=this.parent.width-this.l-this.w)),this.calcMap&a.w&&(this.w+=this.dragState?0:s)),this.resizeState&h[\"resizable-b\"].bit&&(!this.dragState&&this.h+n<this.minH?this.offsetY=n-(n=this.minH-this.h):!this.dragState&&this.maxH&&this.h+n>this.maxH&&(!this.fitParent||this.h+this.t<this.parent.height)?this.offsetY=n-(n=this.maxH-this.h):this.fitParent&&this.t+this.h+n>this.parent.height&&(this.offsetY=n-(n=this.parent.height-this.t-this.h)),this.calcMap&a.h&&(this.h+=this.dragState?0:n)),this.resizeState&h[\"resizable-l\"].bit&&(!this.dragState&&this.w-s<this.minW?this.offsetX=s-(s=this.w-this.minW):!this.dragState&&this.maxW&&this.w-s>this.maxW&&this.l>=0?this.offsetX=s-(s=this.w-this.maxW):this.fitParent&&this.l+s<0&&(this.offsetX=s-(s=-this.l)),this.calcMap&a.l&&(this.l+=s),this.calcMap&a.w&&(this.w-=this.dragState?0:s)),this.resizeState&h[\"resizable-t\"].bit&&(!this.dragState&&this.h-n<this.minH?this.offsetY=n-(n=this.h-this.minH):!this.dragState&&this.maxH&&this.h-n>this.maxH&&this.t>=0?this.offsetY=n-(n=this.h-this.maxH):this.fitParent&&this.t+n<0&&(this.offsetY=n-(n=-this.t)),this.calcMap&a.t&&(this.t+=n),this.calcMap&a.h&&(this.h-=this.dragState?0:n)),this.mouseX=i,this.mouseY=e;const r=this.dragState?\"drag:move\":\"resize:move\";this.emitEvent(r)}},handleDown(t){if(!t.target.closest||t.target.closest(\".resizable-component\")===this.$refs[\"parent\"])for(let e in h)if(this.$el.contains(t.target)&&(t.target.closest&&t.target.closest(`.${e}`)||t.target.classList.contains(e))){\"drag-el\"===e&&(this.dragState=!0),document.body.style.cursor=h[e].cursor,t.touches&&t.touches.length>=1?(this.mouseX=t.touches[0].clientX,this.mouseY=t.touches[0].clientY):(t.preventDefault&&t.preventDefault(),this.mouseX=t.clientX,this.mouseY=t.clientY),this.offsetX=this.offsetY=0,this.resizeState=h[e].bit,this.parent.height=this.$el.parentElement.clientHeight,this.parent.width=this.$el.parentElement.clientWidth;const i=this.dragState?\"drag:start\":\"resize:start\";this.emitEvent(i);break}},handleUp(){if(0!==this.resizeState){this.resizeState=0,document.body.style.cursor=\"\";const t=this.dragState?\"drag:end\":\"resize:end\";this.emitEvent(t),this.dragState=!1}}}},l=(s(733),s(82));const c=(0,l.Z)(o,[[\"render\",r],[\"__scopeId\",\"data-v-3de5149f\"]]);var d=c,u=d,m=u}(),n}()}));\n//# sourceMappingURL=vue-resizable.umd.min.js.map","<script setup>\n    import { ref, onActivated, onMounted } from 'vue';\n\n    const props = defineProps(['value', 'editor_id']);\n\n    \n    const emit = defineEmits(['update:modelValue']);\n    const onInput = (e) => {\n        emit('update:modelValue', e.target.value);\n    }\n</script>\n\n<template>\n\n    <!-- <ElInput type=\"textarea\" v-model=\"props.content\" :id=\"props.editor_id\" :key=\"props.editor_id\" /> -->\n    <div>\n        <textarea v-model=\"props.value\" :id=\"props.editor_id\" :key=\"props.editor_id\" @input=\"onInput\"></textarea>\n    </div>\n    \n</template>","/**\n * @license\n * Lodash <https://lodash.com/>\n * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>\n * Released under MIT license <https://lodash.com/license>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n;(function() {\n\n  /** Used as a safe reference for `undefined` in pre-ES5 environments. */\n  var undefined;\n\n  /** Used as the semantic version number. */\n  var VERSION = '4.17.21';\n\n  /** Used as the size to enable large array optimizations. */\n  var LARGE_ARRAY_SIZE = 200;\n\n  /** Error message constants. */\n  var CORE_ERROR_TEXT = 'Unsupported core-js use. Try https://npms.io/search?q=ponyfill.',\n      FUNC_ERROR_TEXT = 'Expected a function',\n      INVALID_TEMPL_VAR_ERROR_TEXT = 'Invalid `variable` option passed into `_.template`';\n\n  /** Used to stand-in for `undefined` hash values. */\n  var HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n  /** Used as the maximum memoize cache size. */\n  var MAX_MEMOIZE_SIZE = 500;\n\n  /** Used as the internal argument placeholder. */\n  var PLACEHOLDER = '__lodash_placeholder__';\n\n  /** Used to compose bitmasks for cloning. */\n  var CLONE_DEEP_FLAG = 1,\n      CLONE_FLAT_FLAG = 2,\n      CLONE_SYMBOLS_FLAG = 4;\n\n  /** Used to compose bitmasks for value comparisons. */\n  var COMPARE_PARTIAL_FLAG = 1,\n      COMPARE_UNORDERED_FLAG = 2;\n\n  /** Used to compose bitmasks for function metadata. */\n  var WRAP_BIND_FLAG = 1,\n      WRAP_BIND_KEY_FLAG = 2,\n      WRAP_CURRY_BOUND_FLAG = 4,\n      WRAP_CURRY_FLAG = 8,\n      WRAP_CURRY_RIGHT_FLAG = 16,\n      WRAP_PARTIAL_FLAG = 32,\n      WRAP_PARTIAL_RIGHT_FLAG = 64,\n      WRAP_ARY_FLAG = 128,\n      WRAP_REARG_FLAG = 256,\n      WRAP_FLIP_FLAG = 512;\n\n  /** Used as default options for `_.truncate`. */\n  var DEFAULT_TRUNC_LENGTH = 30,\n      DEFAULT_TRUNC_OMISSION = '...';\n\n  /** Used to detect hot functions by number of calls within a span of milliseconds. */\n  var HOT_COUNT = 800,\n      HOT_SPAN = 16;\n\n  /** Used to indicate the type of lazy iteratees. */\n  var LAZY_FILTER_FLAG = 1,\n      LAZY_MAP_FLAG = 2,\n      LAZY_WHILE_FLAG = 3;\n\n  /** Used as references for various `Number` constants. */\n  var INFINITY = 1 / 0,\n      MAX_SAFE_INTEGER = 9007199254740991,\n      MAX_INTEGER = 1.7976931348623157e+308,\n      NAN = 0 / 0;\n\n  /** Used as references for the maximum length and index of an array. */\n  var MAX_ARRAY_LENGTH = 4294967295,\n      MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1,\n      HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1;\n\n  /** Used to associate wrap methods with their bit flags. */\n  var wrapFlags = [\n    ['ary', WRAP_ARY_FLAG],\n    ['bind', WRAP_BIND_FLAG],\n    ['bindKey', WRAP_BIND_KEY_FLAG],\n    ['curry', WRAP_CURRY_FLAG],\n    ['curryRight', WRAP_CURRY_RIGHT_FLAG],\n    ['flip', WRAP_FLIP_FLAG],\n    ['partial', WRAP_PARTIAL_FLAG],\n    ['partialRight', WRAP_PARTIAL_RIGHT_FLAG],\n    ['rearg', WRAP_REARG_FLAG]\n  ];\n\n  /** `Object#toString` result references. */\n  var argsTag = '[object Arguments]',\n      arrayTag = '[object Array]',\n      asyncTag = '[object AsyncFunction]',\n      boolTag = '[object Boolean]',\n      dateTag = '[object Date]',\n      domExcTag = '[object DOMException]',\n      errorTag = '[object Error]',\n      funcTag = '[object Function]',\n      genTag = '[object GeneratorFunction]',\n      mapTag = '[object Map]',\n      numberTag = '[object Number]',\n      nullTag = '[object Null]',\n      objectTag = '[object Object]',\n      promiseTag = '[object Promise]',\n      proxyTag = '[object Proxy]',\n      regexpTag = '[object RegExp]',\n      setTag = '[object Set]',\n      stringTag = '[object String]',\n      symbolTag = '[object Symbol]',\n      undefinedTag = '[object Undefined]',\n      weakMapTag = '[object WeakMap]',\n      weakSetTag = '[object WeakSet]';\n\n  var arrayBufferTag = '[object ArrayBuffer]',\n      dataViewTag = '[object DataView]',\n      float32Tag = '[object Float32Array]',\n      float64Tag = '[object Float64Array]',\n      int8Tag = '[object Int8Array]',\n      int16Tag = '[object Int16Array]',\n      int32Tag = '[object Int32Array]',\n      uint8Tag = '[object Uint8Array]',\n      uint8ClampedTag = '[object Uint8ClampedArray]',\n      uint16Tag = '[object Uint16Array]',\n      uint32Tag = '[object Uint32Array]';\n\n  /** Used to match empty string literals in compiled template source. */\n  var reEmptyStringLeading = /\\b__p \\+= '';/g,\n      reEmptyStringMiddle = /\\b(__p \\+=) '' \\+/g,\n      reEmptyStringTrailing = /(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g;\n\n  /** Used to match HTML entities and HTML characters. */\n  var reEscapedHtml = /&(?:amp|lt|gt|quot|#39);/g,\n      reUnescapedHtml = /[&<>\"']/g,\n      reHasEscapedHtml = RegExp(reEscapedHtml.source),\n      reHasUnescapedHtml = RegExp(reUnescapedHtml.source);\n\n  /** Used to match template delimiters. */\n  var reEscape = /<%-([\\s\\S]+?)%>/g,\n      reEvaluate = /<%([\\s\\S]+?)%>/g,\n      reInterpolate = /<%=([\\s\\S]+?)%>/g;\n\n  /** Used to match property names within property paths. */\n  var reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n      reIsPlainProp = /^\\w*$/,\n      rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n  /**\n   * Used to match `RegExp`\n   * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n   */\n  var reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g,\n      reHasRegExpChar = RegExp(reRegExpChar.source);\n\n  /** Used to match leading whitespace. */\n  var reTrimStart = /^\\s+/;\n\n  /** Used to match a single whitespace character. */\n  var reWhitespace = /\\s/;\n\n  /** Used to match wrap detail comments. */\n  var reWrapComment = /\\{(?:\\n\\/\\* \\[wrapped with .+\\] \\*\\/)?\\n?/,\n      reWrapDetails = /\\{\\n\\/\\* \\[wrapped with (.+)\\] \\*/,\n      reSplitDetails = /,? & /;\n\n  /** Used to match words composed of alphanumeric characters. */\n  var reAsciiWord = /[^\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\x7f]+/g;\n\n  /**\n   * Used to validate the `validate` option in `_.template` variable.\n   *\n   * Forbids characters which could potentially change the meaning of the function argument definition:\n   * - \"(),\" (modification of function parameters)\n   * - \"=\" (default value)\n   * - \"[]{}\" (destructuring of function parameters)\n   * - \"/\" (beginning of a comment)\n   * - whitespace\n   */\n  var reForbiddenIdentifierChars = /[()=,{}\\[\\]\\/\\s]/;\n\n  /** Used to match backslashes in property paths. */\n  var reEscapeChar = /\\\\(\\\\)?/g;\n\n  /**\n   * Used to match\n   * [ES template delimiters](http://ecma-international.org/ecma-262/7.0/#sec-template-literal-lexical-components).\n   */\n  var reEsTemplate = /\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g;\n\n  /** Used to match `RegExp` flags from their coerced string values. */\n  var reFlags = /\\w*$/;\n\n  /** Used to detect bad signed hexadecimal string values. */\n  var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n  /** Used to detect binary string values. */\n  var reIsBinary = /^0b[01]+$/i;\n\n  /** Used to detect host constructors (Safari). */\n  var reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n  /** Used to detect octal string values. */\n  var reIsOctal = /^0o[0-7]+$/i;\n\n  /** Used to detect unsigned integer values. */\n  var reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n  /** Used to match Latin Unicode letters (excluding mathematical operators). */\n  var reLatin = /[\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\xff\\u0100-\\u017f]/g;\n\n  /** Used to ensure capturing order of template delimiters. */\n  var reNoMatch = /($^)/;\n\n  /** Used to match unescaped characters in compiled string literals. */\n  var reUnescapedString = /['\\n\\r\\u2028\\u2029\\\\]/g;\n\n  /** Used to compose unicode character classes. */\n  var rsAstralRange = '\\\\ud800-\\\\udfff',\n      rsComboMarksRange = '\\\\u0300-\\\\u036f',\n      reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n      rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n      rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n      rsDingbatRange = '\\\\u2700-\\\\u27bf',\n      rsLowerRange = 'a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff',\n      rsMathOpRange = '\\\\xac\\\\xb1\\\\xd7\\\\xf7',\n      rsNonCharRange = '\\\\x00-\\\\x2f\\\\x3a-\\\\x40\\\\x5b-\\\\x60\\\\x7b-\\\\xbf',\n      rsPunctuationRange = '\\\\u2000-\\\\u206f',\n      rsSpaceRange = ' \\\\t\\\\x0b\\\\f\\\\xa0\\\\ufeff\\\\n\\\\r\\\\u2028\\\\u2029\\\\u1680\\\\u180e\\\\u2000\\\\u2001\\\\u2002\\\\u2003\\\\u2004\\\\u2005\\\\u2006\\\\u2007\\\\u2008\\\\u2009\\\\u200a\\\\u202f\\\\u205f\\\\u3000',\n      rsUpperRange = 'A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde',\n      rsVarRange = '\\\\ufe0e\\\\ufe0f',\n      rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;\n\n  /** Used to compose unicode capture groups. */\n  var rsApos = \"['\\u2019]\",\n      rsAstral = '[' + rsAstralRange + ']',\n      rsBreak = '[' + rsBreakRange + ']',\n      rsCombo = '[' + rsComboRange + ']',\n      rsDigits = '\\\\d+',\n      rsDingbat = '[' + rsDingbatRange + ']',\n      rsLower = '[' + rsLowerRange + ']',\n      rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']',\n      rsFitz = '\\\\ud83c[\\\\udffb-\\\\udfff]',\n      rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',\n      rsNonAstral = '[^' + rsAstralRange + ']',\n      rsRegional = '(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}',\n      rsSurrPair = '[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]',\n      rsUpper = '[' + rsUpperRange + ']',\n      rsZWJ = '\\\\u200d';\n\n  /** Used to compose unicode regexes. */\n  var rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')',\n      rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')',\n      rsOptContrLower = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?',\n      rsOptContrUpper = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?',\n      reOptMod = rsModifier + '?',\n      rsOptVar = '[' + rsVarRange + ']?',\n      rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',\n      rsOrdLower = '\\\\d*(?:1st|2nd|3rd|(?![123])\\\\dth)(?=\\\\b|[A-Z_])',\n      rsOrdUpper = '\\\\d*(?:1ST|2ND|3RD|(?![123])\\\\dTH)(?=\\\\b|[a-z_])',\n      rsSeq = rsOptVar + reOptMod + rsOptJoin,\n      rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq,\n      rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';\n\n  /** Used to match apostrophes. */\n  var reApos = RegExp(rsApos, 'g');\n\n  /**\n   * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and\n   * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).\n   */\n  var reComboMark = RegExp(rsCombo, 'g');\n\n  /** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */\n  var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');\n\n  /** Used to match complex or compound words. */\n  var reUnicodeWord = RegExp([\n    rsUpper + '?' + rsLower + '+' + rsOptContrLower + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')',\n    rsMiscUpper + '+' + rsOptContrUpper + '(?=' + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + ')',\n    rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower,\n    rsUpper + '+' + rsOptContrUpper,\n    rsOrdUpper,\n    rsOrdLower,\n    rsDigits,\n    rsEmoji\n  ].join('|'), 'g');\n\n  /** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */\n  var reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange  + rsComboRange + rsVarRange + ']');\n\n  /** Used to detect strings that need a more robust regexp to match words. */\n  var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;\n\n  /** Used to assign default `context` object properties. */\n  var contextProps = [\n    'Array', 'Buffer', 'DataView', 'Date', 'Error', 'Float32Array', 'Float64Array',\n    'Function', 'Int8Array', 'Int16Array', 'Int32Array', 'Map', 'Math', 'Object',\n    'Promise', 'RegExp', 'Set', 'String', 'Symbol', 'TypeError', 'Uint8Array',\n    'Uint8ClampedArray', 'Uint16Array', 'Uint32Array', 'WeakMap',\n    '_', 'clearTimeout', 'isFinite', 'parseInt', 'setTimeout'\n  ];\n\n  /** Used to make template sourceURLs easier to identify. */\n  var templateCounter = -1;\n\n  /** Used to identify `toStringTag` values of typed arrays. */\n  var typedArrayTags = {};\n  typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\n  typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\n  typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\n  typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\n  typedArrayTags[uint32Tag] = true;\n  typedArrayTags[argsTag] = typedArrayTags[arrayTag] =\n  typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\n  typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\n  typedArrayTags[errorTag] = typedArrayTags[funcTag] =\n  typedArrayTags[mapTag] = typedArrayTags[numberTag] =\n  typedArrayTags[objectTag] = typedArrayTags[regexpTag] =\n  typedArrayTags[setTag] = typedArrayTags[stringTag] =\n  typedArrayTags[weakMapTag] = false;\n\n  /** Used to identify `toStringTag` values supported by `_.clone`. */\n  var cloneableTags = {};\n  cloneableTags[argsTag] = cloneableTags[arrayTag] =\n  cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\n  cloneableTags[boolTag] = cloneableTags[dateTag] =\n  cloneableTags[float32Tag] = cloneableTags[float64Tag] =\n  cloneableTags[int8Tag] = cloneableTags[int16Tag] =\n  cloneableTags[int32Tag] = cloneableTags[mapTag] =\n  cloneableTags[numberTag] = cloneableTags[objectTag] =\n  cloneableTags[regexpTag] = cloneableTags[setTag] =\n  cloneableTags[stringTag] = cloneableTags[symbolTag] =\n  cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\n  cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\n  cloneableTags[errorTag] = cloneableTags[funcTag] =\n  cloneableTags[weakMapTag] = false;\n\n  /** Used to map Latin Unicode letters to basic Latin letters. */\n  var deburredLetters = {\n    // Latin-1 Supplement block.\n    '\\xc0': 'A',  '\\xc1': 'A', '\\xc2': 'A', '\\xc3': 'A', '\\xc4': 'A', '\\xc5': 'A',\n    '\\xe0': 'a',  '\\xe1': 'a', '\\xe2': 'a', '\\xe3': 'a', '\\xe4': 'a', '\\xe5': 'a',\n    '\\xc7': 'C',  '\\xe7': 'c',\n    '\\xd0': 'D',  '\\xf0': 'd',\n    '\\xc8': 'E',  '\\xc9': 'E', '\\xca': 'E', '\\xcb': 'E',\n    '\\xe8': 'e',  '\\xe9': 'e', '\\xea': 'e', '\\xeb': 'e',\n    '\\xcc': 'I',  '\\xcd': 'I', '\\xce': 'I', '\\xcf': 'I',\n    '\\xec': 'i',  '\\xed': 'i', '\\xee': 'i', '\\xef': 'i',\n    '\\xd1': 'N',  '\\xf1': 'n',\n    '\\xd2': 'O',  '\\xd3': 'O', '\\xd4': 'O', '\\xd5': 'O', '\\xd6': 'O', '\\xd8': 'O',\n    '\\xf2': 'o',  '\\xf3': 'o', '\\xf4': 'o', '\\xf5': 'o', '\\xf6': 'o', '\\xf8': 'o',\n    '\\xd9': 'U',  '\\xda': 'U', '\\xdb': 'U', '\\xdc': 'U',\n    '\\xf9': 'u',  '\\xfa': 'u', '\\xfb': 'u', '\\xfc': 'u',\n    '\\xdd': 'Y',  '\\xfd': 'y', '\\xff': 'y',\n    '\\xc6': 'Ae', '\\xe6': 'ae',\n    '\\xde': 'Th', '\\xfe': 'th',\n    '\\xdf': 'ss',\n    // Latin Extended-A block.\n    '\\u0100': 'A',  '\\u0102': 'A', '\\u0104': 'A',\n    '\\u0101': 'a',  '\\u0103': 'a', '\\u0105': 'a',\n    '\\u0106': 'C',  '\\u0108': 'C', '\\u010a': 'C', '\\u010c': 'C',\n    '\\u0107': 'c',  '\\u0109': 'c', '\\u010b': 'c', '\\u010d': 'c',\n    '\\u010e': 'D',  '\\u0110': 'D', '\\u010f': 'd', '\\u0111': 'd',\n    '\\u0112': 'E',  '\\u0114': 'E', '\\u0116': 'E', '\\u0118': 'E', '\\u011a': 'E',\n    '\\u0113': 'e',  '\\u0115': 'e', '\\u0117': 'e', '\\u0119': 'e', '\\u011b': 'e',\n    '\\u011c': 'G',  '\\u011e': 'G', '\\u0120': 'G', '\\u0122': 'G',\n    '\\u011d': 'g',  '\\u011f': 'g', '\\u0121': 'g', '\\u0123': 'g',\n    '\\u0124': 'H',  '\\u0126': 'H', '\\u0125': 'h', '\\u0127': 'h',\n    '\\u0128': 'I',  '\\u012a': 'I', '\\u012c': 'I', '\\u012e': 'I', '\\u0130': 'I',\n    '\\u0129': 'i',  '\\u012b': 'i', '\\u012d': 'i', '\\u012f': 'i', '\\u0131': 'i',\n    '\\u0134': 'J',  '\\u0135': 'j',\n    '\\u0136': 'K',  '\\u0137': 'k', '\\u0138': 'k',\n    '\\u0139': 'L',  '\\u013b': 'L', '\\u013d': 'L', '\\u013f': 'L', '\\u0141': 'L',\n    '\\u013a': 'l',  '\\u013c': 'l', '\\u013e': 'l', '\\u0140': 'l', '\\u0142': 'l',\n    '\\u0143': 'N',  '\\u0145': 'N', '\\u0147': 'N', '\\u014a': 'N',\n    '\\u0144': 'n',  '\\u0146': 'n', '\\u0148': 'n', '\\u014b': 'n',\n    '\\u014c': 'O',  '\\u014e': 'O', '\\u0150': 'O',\n    '\\u014d': 'o',  '\\u014f': 'o', '\\u0151': 'o',\n    '\\u0154': 'R',  '\\u0156': 'R', '\\u0158': 'R',\n    '\\u0155': 'r',  '\\u0157': 'r', '\\u0159': 'r',\n    '\\u015a': 'S',  '\\u015c': 'S', '\\u015e': 'S', '\\u0160': 'S',\n    '\\u015b': 's',  '\\u015d': 's', '\\u015f': 's', '\\u0161': 's',\n    '\\u0162': 'T',  '\\u0164': 'T', '\\u0166': 'T',\n    '\\u0163': 't',  '\\u0165': 't', '\\u0167': 't',\n    '\\u0168': 'U',  '\\u016a': 'U', '\\u016c': 'U', '\\u016e': 'U', '\\u0170': 'U', '\\u0172': 'U',\n    '\\u0169': 'u',  '\\u016b': 'u', '\\u016d': 'u', '\\u016f': 'u', '\\u0171': 'u', '\\u0173': 'u',\n    '\\u0174': 'W',  '\\u0175': 'w',\n    '\\u0176': 'Y',  '\\u0177': 'y', '\\u0178': 'Y',\n    '\\u0179': 'Z',  '\\u017b': 'Z', '\\u017d': 'Z',\n    '\\u017a': 'z',  '\\u017c': 'z', '\\u017e': 'z',\n    '\\u0132': 'IJ', '\\u0133': 'ij',\n    '\\u0152': 'Oe', '\\u0153': 'oe',\n    '\\u0149': \"'n\", '\\u017f': 's'\n  };\n\n  /** Used to map characters to HTML entities. */\n  var htmlEscapes = {\n    '&': '&amp;',\n    '<': '&lt;',\n    '>': '&gt;',\n    '\"': '&quot;',\n    \"'\": '&#39;'\n  };\n\n  /** Used to map HTML entities to characters. */\n  var htmlUnescapes = {\n    '&amp;': '&',\n    '&lt;': '<',\n    '&gt;': '>',\n    '&quot;': '\"',\n    '&#39;': \"'\"\n  };\n\n  /** Used to escape characters for inclusion in compiled string literals. */\n  var stringEscapes = {\n    '\\\\': '\\\\',\n    \"'\": \"'\",\n    '\\n': 'n',\n    '\\r': 'r',\n    '\\u2028': 'u2028',\n    '\\u2029': 'u2029'\n  };\n\n  /** Built-in method references without a dependency on `root`. */\n  var freeParseFloat = parseFloat,\n      freeParseInt = parseInt;\n\n  /** Detect free variable `global` from Node.js. */\n  var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n  /** Detect free variable `self`. */\n  var freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n  /** Used as a reference to the global object. */\n  var root = freeGlobal || freeSelf || Function('return this')();\n\n  /** Detect free variable `exports`. */\n  var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n  /** Detect free variable `module`. */\n  var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n  /** Detect the popular CommonJS extension `module.exports`. */\n  var moduleExports = freeModule && freeModule.exports === freeExports;\n\n  /** Detect free variable `process` from Node.js. */\n  var freeProcess = moduleExports && freeGlobal.process;\n\n  /** Used to access faster Node.js helpers. */\n  var nodeUtil = (function() {\n    try {\n      // Use `util.types` for Node.js 10+.\n      var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n      if (types) {\n        return types;\n      }\n\n      // Legacy `process.binding('util')` for Node.js < 10.\n      return freeProcess && freeProcess.binding && freeProcess.binding('util');\n    } catch (e) {}\n  }());\n\n  /* Node.js helper references. */\n  var nodeIsArrayBuffer = nodeUtil && nodeUtil.isArrayBuffer,\n      nodeIsDate = nodeUtil && nodeUtil.isDate,\n      nodeIsMap = nodeUtil && nodeUtil.isMap,\n      nodeIsRegExp = nodeUtil && nodeUtil.isRegExp,\n      nodeIsSet = nodeUtil && nodeUtil.isSet,\n      nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n  /*--------------------------------------------------------------------------*/\n\n  /**\n   * A faster alternative to `Function#apply`, this function invokes `func`\n   * with the `this` binding of `thisArg` and the arguments of `args`.\n   *\n   * @private\n   * @param {Function} func The function to invoke.\n   * @param {*} thisArg The `this` binding of `func`.\n   * @param {Array} args The arguments to invoke `func` with.\n   * @returns {*} Returns the result of `func`.\n   */\n  function apply(func, thisArg, args) {\n    switch (args.length) {\n      case 0: return func.call(thisArg);\n      case 1: return func.call(thisArg, args[0]);\n      case 2: return func.call(thisArg, args[0], args[1]);\n      case 3: return func.call(thisArg, args[0], args[1], args[2]);\n    }\n    return func.apply(thisArg, args);\n  }\n\n  /**\n   * A specialized version of `baseAggregator` for arrays.\n   *\n   * @private\n   * @param {Array} [array] The array to iterate over.\n   * @param {Function} setter The function to set `accumulator` values.\n   * @param {Function} iteratee The iteratee to transform keys.\n   * @param {Object} accumulator The initial aggregated object.\n   * @returns {Function} Returns `accumulator`.\n   */\n  function arrayAggregator(array, setter, iteratee, accumulator) {\n    var index = -1,\n        length = array == null ? 0 : array.length;\n\n    while (++index < length) {\n      var value = array[index];\n      setter(accumulator, value, iteratee(value), array);\n    }\n    return accumulator;\n  }\n\n  /**\n   * A specialized version of `_.forEach` for arrays without support for\n   * iteratee shorthands.\n   *\n   * @private\n   * @param {Array} [array] The array to iterate over.\n   * @param {Function} iteratee The function invoked per iteration.\n   * @returns {Array} Returns `array`.\n   */\n  function arrayEach(array, iteratee) {\n    var index = -1,\n        length = array == null ? 0 : array.length;\n\n    while (++index < length) {\n      if (iteratee(array[index], index, array) === false) {\n        break;\n      }\n    }\n    return array;\n  }\n\n  /**\n   * A specialized version of `_.forEachRight` for arrays without support for\n   * iteratee shorthands.\n   *\n   * @private\n   * @param {Array} [array] The array to iterate over.\n   * @param {Function} iteratee The function invoked per iteration.\n   * @returns {Array} Returns `array`.\n   */\n  function arrayEachRight(array, iteratee) {\n    var length = array == null ? 0 : array.length;\n\n    while (length--) {\n      if (iteratee(array[length], length, array) === false) {\n        break;\n      }\n    }\n    return array;\n  }\n\n  /**\n   * A specialized version of `_.every` for arrays without support for\n   * iteratee shorthands.\n   *\n   * @private\n   * @param {Array} [array] The array to iterate over.\n   * @param {Function} predicate The function invoked per iteration.\n   * @returns {boolean} Returns `true` if all elements pass the predicate check,\n   *  else `false`.\n   */\n  function arrayEvery(array, predicate) {\n    var index = -1,\n        length = array == null ? 0 : array.length;\n\n    while (++index < length) {\n      if (!predicate(array[index], index, array)) {\n        return false;\n      }\n    }\n    return true;\n  }\n\n  /**\n   * A specialized version of `_.filter` for arrays without support for\n   * iteratee shorthands.\n   *\n   * @private\n   * @param {Array} [array] The array to iterate over.\n   * @param {Function} predicate The function invoked per iteration.\n   * @returns {Array} Returns the new filtered array.\n   */\n  function arrayFilter(array, predicate) {\n    var index = -1,\n        length = array == null ? 0 : array.length,\n        resIndex = 0,\n        result = [];\n\n    while (++index < length) {\n      var value = array[index];\n      if (predicate(value, index, array)) {\n        result[resIndex++] = value;\n      }\n    }\n    return result;\n  }\n\n  /**\n   * A specialized version of `_.includes` for arrays without support for\n   * specifying an index to search from.\n   *\n   * @private\n   * @param {Array} [array] The array to inspect.\n   * @param {*} target The value to search for.\n   * @returns {boolean} Returns `true` if `target` is found, else `false`.\n   */\n  function arrayIncludes(array, value) {\n    var length = array == null ? 0 : array.length;\n    return !!length && baseIndexOf(array, value, 0) > -1;\n  }\n\n  /**\n   * This function is like `arrayIncludes` except that it accepts a comparator.\n   *\n   * @private\n   * @param {Array} [array] The array to inspect.\n   * @param {*} target The value to search for.\n   * @param {Function} comparator The comparator invoked per element.\n   * @returns {boolean} Returns `true` if `target` is found, else `false`.\n   */\n  function arrayIncludesWith(array, value, comparator) {\n    var index = -1,\n        length = array == null ? 0 : array.length;\n\n    while (++index < length) {\n      if (comparator(value, array[index])) {\n        return true;\n      }\n    }\n    return false;\n  }\n\n  /**\n   * A specialized version of `_.map` for arrays without support for iteratee\n   * shorthands.\n   *\n   * @private\n   * @param {Array} [array] The array to iterate over.\n   * @param {Function} iteratee The function invoked per iteration.\n   * @returns {Array} Returns the new mapped array.\n   */\n  function arrayMap(array, iteratee) {\n    var index = -1,\n        length = array == null ? 0 : array.length,\n        result = Array(length);\n\n    while (++index < length) {\n      result[index] = iteratee(array[index], index, array);\n    }\n    return result;\n  }\n\n  /**\n   * Appends the elements of `values` to `array`.\n   *\n   * @private\n   * @param {Array} array The array to modify.\n   * @param {Array} values The values to append.\n   * @returns {Array} Returns `array`.\n   */\n  function arrayPush(array, values) {\n    var index = -1,\n        length = values.length,\n        offset = array.length;\n\n    while (++index < length) {\n      array[offset + index] = values[index];\n    }\n    return array;\n  }\n\n  /**\n   * A specialized version of `_.reduce` for arrays without support for\n   * iteratee shorthands.\n   *\n   * @private\n   * @param {Array} [array] The array to iterate over.\n   * @param {Function} iteratee The function invoked per iteration.\n   * @param {*} [accumulator] The initial value.\n   * @param {boolean} [initAccum] Specify using the first element of `array` as\n   *  the initial value.\n   * @returns {*} Returns the accumulated value.\n   */\n  function arrayReduce(array, iteratee, accumulator, initAccum) {\n    var index = -1,\n        length = array == null ? 0 : array.length;\n\n    if (initAccum && length) {\n      accumulator = array[++index];\n    }\n    while (++index < length) {\n      accumulator = iteratee(accumulator, array[index], index, array);\n    }\n    return accumulator;\n  }\n\n  /**\n   * A specialized version of `_.reduceRight` for arrays without support for\n   * iteratee shorthands.\n   *\n   * @private\n   * @param {Array} [array] The array to iterate over.\n   * @param {Function} iteratee The function invoked per iteration.\n   * @param {*} [accumulator] The initial value.\n   * @param {boolean} [initAccum] Specify using the last element of `array` as\n   *  the initial value.\n   * @returns {*} Returns the accumulated value.\n   */\n  function arrayReduceRight(array, iteratee, accumulator, initAccum) {\n    var length = array == null ? 0 : array.length;\n    if (initAccum && length) {\n      accumulator = array[--length];\n    }\n    while (length--) {\n      accumulator = iteratee(accumulator, array[length], length, array);\n    }\n    return accumulator;\n  }\n\n  /**\n   * A specialized version of `_.some` for arrays without support for iteratee\n   * shorthands.\n   *\n   * @private\n   * @param {Array} [array] The array to iterate over.\n   * @param {Function} predicate The function invoked per iteration.\n   * @returns {boolean} Returns `true` if any element passes the predicate check,\n   *  else `false`.\n   */\n  function arraySome(array, predicate) {\n    var index = -1,\n        length = array == null ? 0 : array.length;\n\n    while (++index < length) {\n      if (predicate(array[index], index, array)) {\n        return true;\n      }\n    }\n    return false;\n  }\n\n  /**\n   * Gets the size of an ASCII `string`.\n   *\n   * @private\n   * @param {string} string The string inspect.\n   * @returns {number} Returns the string size.\n   */\n  var asciiSize = baseProperty('length');\n\n  /**\n   * Converts an ASCII `string` to an array.\n   *\n   * @private\n   * @param {string} string The string to convert.\n   * @returns {Array} Returns the converted array.\n   */\n  function asciiToArray(string) {\n    return string.split('');\n  }\n\n  /**\n   * Splits an ASCII `string` into an array of its words.\n   *\n   * @private\n   * @param {string} The string to inspect.\n   * @returns {Array} Returns the words of `string`.\n   */\n  function asciiWords(string) {\n    return string.match(reAsciiWord) || [];\n  }\n\n  /**\n   * The base implementation of methods like `_.findKey` and `_.findLastKey`,\n   * without support for iteratee shorthands, which iterates over `collection`\n   * using `eachFunc`.\n   *\n   * @private\n   * @param {Array|Object} collection The collection to inspect.\n   * @param {Function} predicate The function invoked per iteration.\n   * @param {Function} eachFunc The function to iterate over `collection`.\n   * @returns {*} Returns the found element or its key, else `undefined`.\n   */\n  function baseFindKey(collection, predicate, eachFunc) {\n    var result;\n    eachFunc(collection, function(value, key, collection) {\n      if (predicate(value, key, collection)) {\n        result = key;\n        return false;\n      }\n    });\n    return result;\n  }\n\n  /**\n   * The base implementation of `_.findIndex` and `_.findLastIndex` without\n   * support for iteratee shorthands.\n   *\n   * @private\n   * @param {Array} array The array to inspect.\n   * @param {Function} predicate The function invoked per iteration.\n   * @param {number} fromIndex The index to search from.\n   * @param {boolean} [fromRight] Specify iterating from right to left.\n   * @returns {number} Returns the index of the matched value, else `-1`.\n   */\n  function baseFindIndex(array, predicate, fromIndex, fromRight) {\n    var length = array.length,\n        index = fromIndex + (fromRight ? 1 : -1);\n\n    while ((fromRight ? index-- : ++index < length)) {\n      if (predicate(array[index], index, array)) {\n        return index;\n      }\n    }\n    return -1;\n  }\n\n  /**\n   * The base implementation of `_.indexOf` without `fromIndex` bounds checks.\n   *\n   * @private\n   * @param {Array} array The array to inspect.\n   * @param {*} value The value to search for.\n   * @param {number} fromIndex The index to search from.\n   * @returns {number} Returns the index of the matched value, else `-1`.\n   */\n  function baseIndexOf(array, value, fromIndex) {\n    return value === value\n      ? strictIndexOf(array, value, fromIndex)\n      : baseFindIndex(array, baseIsNaN, fromIndex);\n  }\n\n  /**\n   * This function is like `baseIndexOf` except that it accepts a comparator.\n   *\n   * @private\n   * @param {Array} array The array to inspect.\n   * @param {*} value The value to search for.\n   * @param {number} fromIndex The index to search from.\n   * @param {Function} comparator The comparator invoked per element.\n   * @returns {number} Returns the index of the matched value, else `-1`.\n   */\n  function baseIndexOfWith(array, value, fromIndex, comparator) {\n    var index = fromIndex - 1,\n        length = array.length;\n\n    while (++index < length) {\n      if (comparator(array[index], value)) {\n        return index;\n      }\n    }\n    return -1;\n  }\n\n  /**\n   * The base implementation of `_.isNaN` without support for number objects.\n   *\n   * @private\n   * @param {*} value The value to check.\n   * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n   */\n  function baseIsNaN(value) {\n    return value !== value;\n  }\n\n  /**\n   * The base implementation of `_.mean` and `_.meanBy` without support for\n   * iteratee shorthands.\n   *\n   * @private\n   * @param {Array} array The array to iterate over.\n   * @param {Function} iteratee The function invoked per iteration.\n   * @returns {number} Returns the mean.\n   */\n  function baseMean(array, iteratee) {\n    var length = array == null ? 0 : array.length;\n    return length ? (baseSum(array, iteratee) / length) : NAN;\n  }\n\n  /**\n   * The base implementation of `_.property` without support for deep paths.\n   *\n   * @private\n   * @param {string} key The key of the property to get.\n   * @returns {Function} Returns the new accessor function.\n   */\n  function baseProperty(key) {\n    return function(object) {\n      return object == null ? undefined : object[key];\n    };\n  }\n\n  /**\n   * The base implementation of `_.propertyOf` without support for deep paths.\n   *\n   * @private\n   * @param {Object} object The object to query.\n   * @returns {Function} Returns the new accessor function.\n   */\n  function basePropertyOf(object) {\n    return function(key) {\n      return object == null ? undefined : object[key];\n    };\n  }\n\n  /**\n   * The base implementation of `_.reduce` and `_.reduceRight`, without support\n   * for iteratee shorthands, which iterates over `collection` using `eachFunc`.\n   *\n   * @private\n   * @param {Array|Object} collection The collection to iterate over.\n   * @param {Function} iteratee The function invoked per iteration.\n   * @param {*} accumulator The initial value.\n   * @param {boolean} initAccum Specify using the first or last element of\n   *  `collection` as the initial value.\n   * @param {Function} eachFunc The function to iterate over `collection`.\n   * @returns {*} Returns the accumulated value.\n   */\n  function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {\n    eachFunc(collection, function(value, index, collection) {\n      accumulator = initAccum\n        ? (initAccum = false, value)\n        : iteratee(accumulator, value, index, collection);\n    });\n    return accumulator;\n  }\n\n  /**\n   * The base implementation of `_.sortBy` which uses `comparer` to define the\n   * sort order of `array` and replaces criteria objects with their corresponding\n   * values.\n   *\n   * @private\n   * @param {Array} array The array to sort.\n   * @param {Function} comparer The function to define sort order.\n   * @returns {Array} Returns `array`.\n   */\n  function baseSortBy(array, comparer) {\n    var length = array.length;\n\n    array.sort(comparer);\n    while (length--) {\n      array[length] = array[length].value;\n    }\n    return array;\n  }\n\n  /**\n   * The base implementation of `_.sum` and `_.sumBy` without support for\n   * iteratee shorthands.\n   *\n   * @private\n   * @param {Array} array The array to iterate over.\n   * @param {Function} iteratee The function invoked per iteration.\n   * @returns {number} Returns the sum.\n   */\n  function baseSum(array, iteratee) {\n    var result,\n        index = -1,\n        length = array.length;\n\n    while (++index < length) {\n      var current = iteratee(array[index]);\n      if (current !== undefined) {\n        result = result === undefined ? current : (result + current);\n      }\n    }\n    return result;\n  }\n\n  /**\n   * The base implementation of `_.times` without support for iteratee shorthands\n   * or max array length checks.\n   *\n   * @private\n   * @param {number} n The number of times to invoke `iteratee`.\n   * @param {Function} iteratee The function invoked per iteration.\n   * @returns {Array} Returns the array of results.\n   */\n  function baseTimes(n, iteratee) {\n    var index = -1,\n        result = Array(n);\n\n    while (++index < n) {\n      result[index] = iteratee(index);\n    }\n    return result;\n  }\n\n  /**\n   * The base implementation of `_.toPairs` and `_.toPairsIn` which creates an array\n   * of key-value pairs for `object` corresponding to the property names of `props`.\n   *\n   * @private\n   * @param {Object} object The object to query.\n   * @param {Array} props The property names to get values for.\n   * @returns {Object} Returns the key-value pairs.\n   */\n  function baseToPairs(object, props) {\n    return arrayMap(props, function(key) {\n      return [key, object[key]];\n    });\n  }\n\n  /**\n   * The base implementation of `_.trim`.\n   *\n   * @private\n   * @param {string} string The string to trim.\n   * @returns {string} Returns the trimmed string.\n   */\n  function baseTrim(string) {\n    return string\n      ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n      : string;\n  }\n\n  /**\n   * The base implementation of `_.unary` without support for storing metadata.\n   *\n   * @private\n   * @param {Function} func The function to cap arguments for.\n   * @returns {Function} Returns the new capped function.\n   */\n  function baseUnary(func) {\n    return function(value) {\n      return func(value);\n    };\n  }\n\n  /**\n   * The base implementation of `_.values` and `_.valuesIn` which creates an\n   * array of `object` property values corresponding to the property names\n   * of `props`.\n   *\n   * @private\n   * @param {Object} object The object to query.\n   * @param {Array} props The property names to get values for.\n   * @returns {Object} Returns the array of property values.\n   */\n  function baseValues(object, props) {\n    return arrayMap(props, function(key) {\n      return object[key];\n    });\n  }\n\n  /**\n   * Checks if a `cache` value for `key` exists.\n   *\n   * @private\n   * @param {Object} cache The cache to query.\n   * @param {string} key The key of the entry to check.\n   * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n   */\n  function cacheHas(cache, key) {\n    return cache.has(key);\n  }\n\n  /**\n   * Used by `_.trim` and `_.trimStart` to get the index of the first string symbol\n   * that is not found in the character symbols.\n   *\n   * @private\n   * @param {Array} strSymbols The string symbols to inspect.\n   * @param {Array} chrSymbols The character symbols to find.\n   * @returns {number} Returns the index of the first unmatched string symbol.\n   */\n  function charsStartIndex(strSymbols, chrSymbols) {\n    var index = -1,\n        length = strSymbols.length;\n\n    while (++index < length && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}\n    return index;\n  }\n\n  /**\n   * Used by `_.trim` and `_.trimEnd` to get the index of the last string symbol\n   * that is not found in the character symbols.\n   *\n   * @private\n   * @param {Array} strSymbols The string symbols to inspect.\n   * @param {Array} chrSymbols The character symbols to find.\n   * @returns {number} Returns the index of the last unmatched string symbol.\n   */\n  function charsEndIndex(strSymbols, chrSymbols) {\n    var index = strSymbols.length;\n\n    while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}\n    return index;\n  }\n\n  /**\n   * Gets the number of `placeholder` occurrences in `array`.\n   *\n   * @private\n   * @param {Array} array The array to inspect.\n   * @param {*} placeholder The placeholder to search for.\n   * @returns {number} Returns the placeholder count.\n   */\n  function countHolders(array, placeholder) {\n    var length = array.length,\n        result = 0;\n\n    while (length--) {\n      if (array[length] === placeholder) {\n        ++result;\n      }\n    }\n    return result;\n  }\n\n  /**\n   * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A\n   * letters to basic Latin letters.\n   *\n   * @private\n   * @param {string} letter The matched letter to deburr.\n   * @returns {string} Returns the deburred letter.\n   */\n  var deburrLetter = basePropertyOf(deburredLetters);\n\n  /**\n   * Used by `_.escape` to convert characters to HTML entities.\n   *\n   * @private\n   * @param {string} chr The matched character to escape.\n   * @returns {string} Returns the escaped character.\n   */\n  var escapeHtmlChar = basePropertyOf(htmlEscapes);\n\n  /**\n   * Used by `_.template` to escape characters for inclusion in compiled string literals.\n   *\n   * @private\n   * @param {string} chr The matched character to escape.\n   * @returns {string} Returns the escaped character.\n   */\n  function escapeStringChar(chr) {\n    return '\\\\' + stringEscapes[chr];\n  }\n\n  /**\n   * Gets the value at `key` of `object`.\n   *\n   * @private\n   * @param {Object} [object] The object to query.\n   * @param {string} key The key of the property to get.\n   * @returns {*} Returns the property value.\n   */\n  function getValue(object, key) {\n    return object == null ? undefined : object[key];\n  }\n\n  /**\n   * Checks if `string` contains Unicode symbols.\n   *\n   * @private\n   * @param {string} string The string to inspect.\n   * @returns {boolean} Returns `true` if a symbol is found, else `false`.\n   */\n  function hasUnicode(string) {\n    return reHasUnicode.test(string);\n  }\n\n  /**\n   * Checks if `string` contains a word composed of Unicode symbols.\n   *\n   * @private\n   * @param {string} string The string to inspect.\n   * @returns {boolean} Returns `true` if a word is found, else `false`.\n   */\n  function hasUnicodeWord(string) {\n    return reHasUnicodeWord.test(string);\n  }\n\n  /**\n   * Converts `iterator` to an array.\n   *\n   * @private\n   * @param {Object} iterator The iterator to convert.\n   * @returns {Array} Returns the converted array.\n   */\n  function iteratorToArray(iterator) {\n    var data,\n        result = [];\n\n    while (!(data = iterator.next()).done) {\n      result.push(data.value);\n    }\n    return result;\n  }\n\n  /**\n   * Converts `map` to its key-value pairs.\n   *\n   * @private\n   * @param {Object} map The map to convert.\n   * @returns {Array} Returns the key-value pairs.\n   */\n  function mapToArray(map) {\n    var index = -1,\n        result = Array(map.size);\n\n    map.forEach(function(value, key) {\n      result[++index] = [key, value];\n    });\n    return result;\n  }\n\n  /**\n   * Creates a unary function that invokes `func` with its argument transformed.\n   *\n   * @private\n   * @param {Function} func The function to wrap.\n   * @param {Function} transform The argument transform.\n   * @returns {Function} Returns the new function.\n   */\n  function overArg(func, transform) {\n    return function(arg) {\n      return func(transform(arg));\n    };\n  }\n\n  /**\n   * Replaces all `placeholder` elements in `array` with an internal placeholder\n   * and returns an array of their indexes.\n   *\n   * @private\n   * @param {Array} array The array to modify.\n   * @param {*} placeholder The placeholder to replace.\n   * @returns {Array} Returns the new array of placeholder indexes.\n   */\n  function replaceHolders(array, placeholder) {\n    var index = -1,\n        length = array.length,\n        resIndex = 0,\n        result = [];\n\n    while (++index < length) {\n      var value = array[index];\n      if (value === placeholder || value === PLACEHOLDER) {\n        array[index] = PLACEHOLDER;\n        result[resIndex++] = index;\n      }\n    }\n    return result;\n  }\n\n  /**\n   * Converts `set` to an array of its values.\n   *\n   * @private\n   * @param {Object} set The set to convert.\n   * @returns {Array} Returns the values.\n   */\n  function setToArray(set) {\n    var index = -1,\n        result = Array(set.size);\n\n    set.forEach(function(value) {\n      result[++index] = value;\n    });\n    return result;\n  }\n\n  /**\n   * Converts `set` to its value-value pairs.\n   *\n   * @private\n   * @param {Object} set The set to convert.\n   * @returns {Array} Returns the value-value pairs.\n   */\n  function setToPairs(set) {\n    var index = -1,\n        result = Array(set.size);\n\n    set.forEach(function(value) {\n      result[++index] = [value, value];\n    });\n    return result;\n  }\n\n  /**\n   * A specialized version of `_.indexOf` which performs strict equality\n   * comparisons of values, i.e. `===`.\n   *\n   * @private\n   * @param {Array} array The array to inspect.\n   * @param {*} value The value to search for.\n   * @param {number} fromIndex The index to search from.\n   * @returns {number} Returns the index of the matched value, else `-1`.\n   */\n  function strictIndexOf(array, value, fromIndex) {\n    var index = fromIndex - 1,\n        length = array.length;\n\n    while (++index < length) {\n      if (array[index] === value) {\n        return index;\n      }\n    }\n    return -1;\n  }\n\n  /**\n   * A specialized version of `_.lastIndexOf` which performs strict equality\n   * comparisons of values, i.e. `===`.\n   *\n   * @private\n   * @param {Array} array The array to inspect.\n   * @param {*} value The value to search for.\n   * @param {number} fromIndex The index to search from.\n   * @returns {number} Returns the index of the matched value, else `-1`.\n   */\n  function strictLastIndexOf(array, value, fromIndex) {\n    var index = fromIndex + 1;\n    while (index--) {\n      if (array[index] === value) {\n        return index;\n      }\n    }\n    return index;\n  }\n\n  /**\n   * Gets the number of symbols in `string`.\n   *\n   * @private\n   * @param {string} string The string to inspect.\n   * @returns {number} Returns the string size.\n   */\n  function stringSize(string) {\n    return hasUnicode(string)\n      ? unicodeSize(string)\n      : asciiSize(string);\n  }\n\n  /**\n   * Converts `string` to an array.\n   *\n   * @private\n   * @param {string} string The string to convert.\n   * @returns {Array} Returns the converted array.\n   */\n  function stringToArray(string) {\n    return hasUnicode(string)\n      ? unicodeToArray(string)\n      : asciiToArray(string);\n  }\n\n  /**\n   * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n   * character of `string`.\n   *\n   * @private\n   * @param {string} string The string to inspect.\n   * @returns {number} Returns the index of the last non-whitespace character.\n   */\n  function trimmedEndIndex(string) {\n    var index = string.length;\n\n    while (index-- && reWhitespace.test(string.charAt(index))) {}\n    return index;\n  }\n\n  /**\n   * Used by `_.unescape` to convert HTML entities to characters.\n   *\n   * @private\n   * @param {string} chr The matched character to unescape.\n   * @returns {string} Returns the unescaped character.\n   */\n  var unescapeHtmlChar = basePropertyOf(htmlUnescapes);\n\n  /**\n   * Gets the size of a Unicode `string`.\n   *\n   * @private\n   * @param {string} string The string inspect.\n   * @returns {number} Returns the string size.\n   */\n  function unicodeSize(string) {\n    var result = reUnicode.lastIndex = 0;\n    while (reUnicode.test(string)) {\n      ++result;\n    }\n    return result;\n  }\n\n  /**\n   * Converts a Unicode `string` to an array.\n   *\n   * @private\n   * @param {string} string The string to convert.\n   * @returns {Array} Returns the converted array.\n   */\n  function unicodeToArray(string) {\n    return string.match(reUnicode) || [];\n  }\n\n  /**\n   * Splits a Unicode `string` into an array of its words.\n   *\n   * @private\n   * @param {string} The string to inspect.\n   * @returns {Array} Returns the words of `string`.\n   */\n  function unicodeWords(string) {\n    return string.match(reUnicodeWord) || [];\n  }\n\n  /*--------------------------------------------------------------------------*/\n\n  /**\n   * Create a new pristine `lodash` function using the `context` object.\n   *\n   * @static\n   * @memberOf _\n   * @since 1.1.0\n   * @category Util\n   * @param {Object} [context=root] The context object.\n   * @returns {Function} Returns a new `lodash` function.\n   * @example\n   *\n   * _.mixin({ 'foo': _.constant('foo') });\n   *\n   * var lodash = _.runInContext();\n   * lodash.mixin({ 'bar': lodash.constant('bar') });\n   *\n   * _.isFunction(_.foo);\n   * // => true\n   * _.isFunction(_.bar);\n   * // => false\n   *\n   * lodash.isFunction(lodash.foo);\n   * // => false\n   * lodash.isFunction(lodash.bar);\n   * // => true\n   *\n   * // Create a suped-up `defer` in Node.js.\n   * var defer = _.runInContext({ 'setTimeout': setImmediate }).defer;\n   */\n  var runInContext = (function runInContext(context) {\n    context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps));\n\n    /** Built-in constructor references. */\n    var Array = context.Array,\n        Date = context.Date,\n        Error = context.Error,\n        Function = context.Function,\n        Math = context.Math,\n        Object = context.Object,\n        RegExp = context.RegExp,\n        String = context.String,\n        TypeError = context.TypeError;\n\n    /** Used for built-in method references. */\n    var arrayProto = Array.prototype,\n        funcProto = Function.prototype,\n        objectProto = Object.prototype;\n\n    /** Used to detect overreaching core-js shims. */\n    var coreJsData = context['__core-js_shared__'];\n\n    /** Used to resolve the decompiled source of functions. */\n    var funcToString = funcProto.toString;\n\n    /** Used to check objects for own properties. */\n    var hasOwnProperty = objectProto.hasOwnProperty;\n\n    /** Used to generate unique IDs. */\n    var idCounter = 0;\n\n    /** Used to detect methods masquerading as native. */\n    var maskSrcKey = (function() {\n      var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n      return uid ? ('Symbol(src)_1.' + uid) : '';\n    }());\n\n    /**\n     * Used to resolve the\n     * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n     * of values.\n     */\n    var nativeObjectToString = objectProto.toString;\n\n    /** Used to infer the `Object` constructor. */\n    var objectCtorString = funcToString.call(Object);\n\n    /** Used to restore the original `_` reference in `_.noConflict`. */\n    var oldDash = root._;\n\n    /** Used to detect if a method is native. */\n    var reIsNative = RegExp('^' +\n      funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n      .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n    );\n\n    /** Built-in value references. */\n    var Buffer = moduleExports ? context.Buffer : undefined,\n        Symbol = context.Symbol,\n        Uint8Array = context.Uint8Array,\n        allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined,\n        getPrototype = overArg(Object.getPrototypeOf, Object),\n        objectCreate = Object.create,\n        propertyIsEnumerable = objectProto.propertyIsEnumerable,\n        splice = arrayProto.splice,\n        spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined,\n        symIterator = Symbol ? Symbol.iterator : undefined,\n        symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n    var defineProperty = (function() {\n      try {\n        var func = getNative(Object, 'defineProperty');\n        func({}, '', {});\n        return func;\n      } catch (e) {}\n    }());\n\n    /** Mocked built-ins. */\n    var ctxClearTimeout = context.clearTimeout !== root.clearTimeout && context.clearTimeout,\n        ctxNow = Date && Date.now !== root.Date.now && Date.now,\n        ctxSetTimeout = context.setTimeout !== root.setTimeout && context.setTimeout;\n\n    /* Built-in method references for those with the same name as other `lodash` methods. */\n    var nativeCeil = Math.ceil,\n        nativeFloor = Math.floor,\n        nativeGetSymbols = Object.getOwnPropertySymbols,\n        nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,\n        nativeIsFinite = context.isFinite,\n        nativeJoin = arrayProto.join,\n        nativeKeys = overArg(Object.keys, Object),\n        nativeMax = Math.max,\n        nativeMin = Math.min,\n        nativeNow = Date.now,\n        nativeParseInt = context.parseInt,\n        nativeRandom = Math.random,\n        nativeReverse = arrayProto.reverse;\n\n    /* Built-in method references that are verified to be native. */\n    var DataView = getNative(context, 'DataView'),\n        Map = getNative(context, 'Map'),\n        Promise = getNative(context, 'Promise'),\n        Set = getNative(context, 'Set'),\n        WeakMap = getNative(context, 'WeakMap'),\n        nativeCreate = getNative(Object, 'create');\n\n    /** Used to store function metadata. */\n    var metaMap = WeakMap && new WeakMap;\n\n    /** Used to lookup unminified function names. */\n    var realNames = {};\n\n    /** Used to detect maps, sets, and weakmaps. */\n    var dataViewCtorString = toSource(DataView),\n        mapCtorString = toSource(Map),\n        promiseCtorString = toSource(Promise),\n        setCtorString = toSource(Set),\n        weakMapCtorString = toSource(WeakMap);\n\n    /** Used to convert symbols to primitives and strings. */\n    var symbolProto = Symbol ? Symbol.prototype : undefined,\n        symbolValueOf = symbolProto ? symbolProto.valueOf : undefined,\n        symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Creates a `lodash` object which wraps `value` to enable implicit method\n     * chain sequences. Methods that operate on and return arrays, collections,\n     * and functions can be chained together. Methods that retrieve a single value\n     * or may return a primitive value will automatically end the chain sequence\n     * and return the unwrapped value. Otherwise, the value must be unwrapped\n     * with `_#value`.\n     *\n     * Explicit chain sequences, which must be unwrapped with `_#value`, may be\n     * enabled using `_.chain`.\n     *\n     * The execution of chained methods is lazy, that is, it's deferred until\n     * `_#value` is implicitly or explicitly called.\n     *\n     * Lazy evaluation allows several methods to support shortcut fusion.\n     * Shortcut fusion is an optimization to merge iteratee calls; this avoids\n     * the creation of intermediate arrays and can greatly reduce the number of\n     * iteratee executions. Sections of a chain sequence qualify for shortcut\n     * fusion if the section is applied to an array and iteratees accept only\n     * one argument. The heuristic for whether a section qualifies for shortcut\n     * fusion is subject to change.\n     *\n     * Chaining is supported in custom builds as long as the `_#value` method is\n     * directly or indirectly included in the build.\n     *\n     * In addition to lodash methods, wrappers have `Array` and `String` methods.\n     *\n     * The wrapper `Array` methods are:\n     * `concat`, `join`, `pop`, `push`, `shift`, `sort`, `splice`, and `unshift`\n     *\n     * The wrapper `String` methods are:\n     * `replace` and `split`\n     *\n     * The wrapper methods that support shortcut fusion are:\n     * `at`, `compact`, `drop`, `dropRight`, `dropWhile`, `filter`, `find`,\n     * `findLast`, `head`, `initial`, `last`, `map`, `reject`, `reverse`, `slice`,\n     * `tail`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, and `toArray`\n     *\n     * The chainable wrapper methods are:\n     * `after`, `ary`, `assign`, `assignIn`, `assignInWith`, `assignWith`, `at`,\n     * `before`, `bind`, `bindAll`, `bindKey`, `castArray`, `chain`, `chunk`,\n     * `commit`, `compact`, `concat`, `conforms`, `constant`, `countBy`, `create`,\n     * `curry`, `debounce`, `defaults`, `defaultsDeep`, `defer`, `delay`,\n     * `difference`, `differenceBy`, `differenceWith`, `drop`, `dropRight`,\n     * `dropRightWhile`, `dropWhile`, `extend`, `extendWith`, `fill`, `filter`,\n     * `flatMap`, `flatMapDeep`, `flatMapDepth`, `flatten`, `flattenDeep`,\n     * `flattenDepth`, `flip`, `flow`, `flowRight`, `fromPairs`, `functions`,\n     * `functionsIn`, `groupBy`, `initial`, `intersection`, `intersectionBy`,\n     * `intersectionWith`, `invert`, `invertBy`, `invokeMap`, `iteratee`, `keyBy`,\n     * `keys`, `keysIn`, `map`, `mapKeys`, `mapValues`, `matches`, `matchesProperty`,\n     * `memoize`, `merge`, `mergeWith`, `method`, `methodOf`, `mixin`, `negate`,\n     * `nthArg`, `omit`, `omitBy`, `once`, `orderBy`, `over`, `overArgs`,\n     * `overEvery`, `overSome`, `partial`, `partialRight`, `partition`, `pick`,\n     * `pickBy`, `plant`, `property`, `propertyOf`, `pull`, `pullAll`, `pullAllBy`,\n     * `pullAllWith`, `pullAt`, `push`, `range`, `rangeRight`, `rearg`, `reject`,\n     * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`,\n     * `slice`, `sort`, `sortBy`, `splice`, `spread`, `tail`, `take`, `takeRight`,\n     * `takeRightWhile`, `takeWhile`, `tap`, `throttle`, `thru`, `toArray`,\n     * `toPairs`, `toPairsIn`, `toPath`, `toPlainObject`, `transform`, `unary`,\n     * `union`, `unionBy`, `unionWith`, `uniq`, `uniqBy`, `uniqWith`, `unset`,\n     * `unshift`, `unzip`, `unzipWith`, `update`, `updateWith`, `values`,\n     * `valuesIn`, `without`, `wrap`, `xor`, `xorBy`, `xorWith`, `zip`,\n     * `zipObject`, `zipObjectDeep`, and `zipWith`\n     *\n     * The wrapper methods that are **not** chainable by default are:\n     * `add`, `attempt`, `camelCase`, `capitalize`, `ceil`, `clamp`, `clone`,\n     * `cloneDeep`, `cloneDeepWith`, `cloneWith`, `conformsTo`, `deburr`,\n     * `defaultTo`, `divide`, `each`, `eachRight`, `endsWith`, `eq`, `escape`,\n     * `escapeRegExp`, `every`, `find`, `findIndex`, `findKey`, `findLast`,\n     * `findLastIndex`, `findLastKey`, `first`, `floor`, `forEach`, `forEachRight`,\n     * `forIn`, `forInRight`, `forOwn`, `forOwnRight`, `get`, `gt`, `gte`, `has`,\n     * `hasIn`, `head`, `identity`, `includes`, `indexOf`, `inRange`, `invoke`,\n     * `isArguments`, `isArray`, `isArrayBuffer`, `isArrayLike`, `isArrayLikeObject`,\n     * `isBoolean`, `isBuffer`, `isDate`, `isElement`, `isEmpty`, `isEqual`,\n     * `isEqualWith`, `isError`, `isFinite`, `isFunction`, `isInteger`, `isLength`,\n     * `isMap`, `isMatch`, `isMatchWith`, `isNaN`, `isNative`, `isNil`, `isNull`,\n     * `isNumber`, `isObject`, `isObjectLike`, `isPlainObject`, `isRegExp`,\n     * `isSafeInteger`, `isSet`, `isString`, `isUndefined`, `isTypedArray`,\n     * `isWeakMap`, `isWeakSet`, `join`, `kebabCase`, `last`, `lastIndexOf`,\n     * `lowerCase`, `lowerFirst`, `lt`, `lte`, `max`, `maxBy`, `mean`, `meanBy`,\n     * `min`, `minBy`, `multiply`, `noConflict`, `noop`, `now`, `nth`, `pad`,\n     * `padEnd`, `padStart`, `parseInt`, `pop`, `random`, `reduce`, `reduceRight`,\n     * `repeat`, `result`, `round`, `runInContext`, `sample`, `shift`, `size`,\n     * `snakeCase`, `some`, `sortedIndex`, `sortedIndexBy`, `sortedLastIndex`,\n     * `sortedLastIndexBy`, `startCase`, `startsWith`, `stubArray`, `stubFalse`,\n     * `stubObject`, `stubString`, `stubTrue`, `subtract`, `sum`, `sumBy`,\n     * `template`, `times`, `toFinite`, `toInteger`, `toJSON`, `toLength`,\n     * `toLower`, `toNumber`, `toSafeInteger`, `toString`, `toUpper`, `trim`,\n     * `trimEnd`, `trimStart`, `truncate`, `unescape`, `uniqueId`, `upperCase`,\n     * `upperFirst`, `value`, and `words`\n     *\n     * @name _\n     * @constructor\n     * @category Seq\n     * @param {*} value The value to wrap in a `lodash` instance.\n     * @returns {Object} Returns the new `lodash` wrapper instance.\n     * @example\n     *\n     * function square(n) {\n     *   return n * n;\n     * }\n     *\n     * var wrapped = _([1, 2, 3]);\n     *\n     * // Returns an unwrapped value.\n     * wrapped.reduce(_.add);\n     * // => 6\n     *\n     * // Returns a wrapped value.\n     * var squares = wrapped.map(square);\n     *\n     * _.isArray(squares);\n     * // => false\n     *\n     * _.isArray(squares.value());\n     * // => true\n     */\n    function lodash(value) {\n      if (isObjectLike(value) && !isArray(value) && !(value instanceof LazyWrapper)) {\n        if (value instanceof LodashWrapper) {\n          return value;\n        }\n        if (hasOwnProperty.call(value, '__wrapped__')) {\n          return wrapperClone(value);\n        }\n      }\n      return new LodashWrapper(value);\n    }\n\n    /**\n     * The base implementation of `_.create` without support for assigning\n     * properties to the created object.\n     *\n     * @private\n     * @param {Object} proto The object to inherit from.\n     * @returns {Object} Returns the new object.\n     */\n    var baseCreate = (function() {\n      function object() {}\n      return function(proto) {\n        if (!isObject(proto)) {\n          return {};\n        }\n        if (objectCreate) {\n          return objectCreate(proto);\n        }\n        object.prototype = proto;\n        var result = new object;\n        object.prototype = undefined;\n        return result;\n      };\n    }());\n\n    /**\n     * The function whose prototype chain sequence wrappers inherit from.\n     *\n     * @private\n     */\n    function baseLodash() {\n      // No operation performed.\n    }\n\n    /**\n     * The base constructor for creating `lodash` wrapper objects.\n     *\n     * @private\n     * @param {*} value The value to wrap.\n     * @param {boolean} [chainAll] Enable explicit method chain sequences.\n     */\n    function LodashWrapper(value, chainAll) {\n      this.__wrapped__ = value;\n      this.__actions__ = [];\n      this.__chain__ = !!chainAll;\n      this.__index__ = 0;\n      this.__values__ = undefined;\n    }\n\n    /**\n     * By default, the template delimiters used by lodash are like those in\n     * embedded Ruby (ERB) as well as ES2015 template strings. Change the\n     * following template settings to use alternative delimiters.\n     *\n     * @static\n     * @memberOf _\n     * @type {Object}\n     */\n    lodash.templateSettings = {\n\n      /**\n       * Used to detect `data` property values to be HTML-escaped.\n       *\n       * @memberOf _.templateSettings\n       * @type {RegExp}\n       */\n      'escape': reEscape,\n\n      /**\n       * Used to detect code to be evaluated.\n       *\n       * @memberOf _.templateSettings\n       * @type {RegExp}\n       */\n      'evaluate': reEvaluate,\n\n      /**\n       * Used to detect `data` property values to inject.\n       *\n       * @memberOf _.templateSettings\n       * @type {RegExp}\n       */\n      'interpolate': reInterpolate,\n\n      /**\n       * Used to reference the data object in the template text.\n       *\n       * @memberOf _.templateSettings\n       * @type {string}\n       */\n      'variable': '',\n\n      /**\n       * Used to import variables into the compiled template.\n       *\n       * @memberOf _.templateSettings\n       * @type {Object}\n       */\n      'imports': {\n\n        /**\n         * A reference to the `lodash` function.\n         *\n         * @memberOf _.templateSettings.imports\n         * @type {Function}\n         */\n        '_': lodash\n      }\n    };\n\n    // Ensure wrappers are instances of `baseLodash`.\n    lodash.prototype = baseLodash.prototype;\n    lodash.prototype.constructor = lodash;\n\n    LodashWrapper.prototype = baseCreate(baseLodash.prototype);\n    LodashWrapper.prototype.constructor = LodashWrapper;\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation.\n     *\n     * @private\n     * @constructor\n     * @param {*} value The value to wrap.\n     */\n    function LazyWrapper(value) {\n      this.__wrapped__ = value;\n      this.__actions__ = [];\n      this.__dir__ = 1;\n      this.__filtered__ = false;\n      this.__iteratees__ = [];\n      this.__takeCount__ = MAX_ARRAY_LENGTH;\n      this.__views__ = [];\n    }\n\n    /**\n     * Creates a clone of the lazy wrapper object.\n     *\n     * @private\n     * @name clone\n     * @memberOf LazyWrapper\n     * @returns {Object} Returns the cloned `LazyWrapper` object.\n     */\n    function lazyClone() {\n      var result = new LazyWrapper(this.__wrapped__);\n      result.__actions__ = copyArray(this.__actions__);\n      result.__dir__ = this.__dir__;\n      result.__filtered__ = this.__filtered__;\n      result.__iteratees__ = copyArray(this.__iteratees__);\n      result.__takeCount__ = this.__takeCount__;\n      result.__views__ = copyArray(this.__views__);\n      return result;\n    }\n\n    /**\n     * Reverses the direction of lazy iteration.\n     *\n     * @private\n     * @name reverse\n     * @memberOf LazyWrapper\n     * @returns {Object} Returns the new reversed `LazyWrapper` object.\n     */\n    function lazyReverse() {\n      if (this.__filtered__) {\n        var result = new LazyWrapper(this);\n        result.__dir__ = -1;\n        result.__filtered__ = true;\n      } else {\n        result = this.clone();\n        result.__dir__ *= -1;\n      }\n      return result;\n    }\n\n    /**\n     * Extracts the unwrapped value from its lazy wrapper.\n     *\n     * @private\n     * @name value\n     * @memberOf LazyWrapper\n     * @returns {*} Returns the unwrapped value.\n     */\n    function lazyValue() {\n      var array = this.__wrapped__.value(),\n          dir = this.__dir__,\n          isArr = isArray(array),\n          isRight = dir < 0,\n          arrLength = isArr ? array.length : 0,\n          view = getView(0, arrLength, this.__views__),\n          start = view.start,\n          end = view.end,\n          length = end - start,\n          index = isRight ? end : (start - 1),\n          iteratees = this.__iteratees__,\n          iterLength = iteratees.length,\n          resIndex = 0,\n          takeCount = nativeMin(length, this.__takeCount__);\n\n      if (!isArr || (!isRight && arrLength == length && takeCount == length)) {\n        return baseWrapperValue(array, this.__actions__);\n      }\n      var result = [];\n\n      outer:\n      while (length-- && resIndex < takeCount) {\n        index += dir;\n\n        var iterIndex = -1,\n            value = array[index];\n\n        while (++iterIndex < iterLength) {\n          var data = iteratees[iterIndex],\n              iteratee = data.iteratee,\n              type = data.type,\n              computed = iteratee(value);\n\n          if (type == LAZY_MAP_FLAG) {\n            value = computed;\n          } else if (!computed) {\n            if (type == LAZY_FILTER_FLAG) {\n              continue outer;\n            } else {\n              break outer;\n            }\n          }\n        }\n        result[resIndex++] = value;\n      }\n      return result;\n    }\n\n    // Ensure `LazyWrapper` is an instance of `baseLodash`.\n    LazyWrapper.prototype = baseCreate(baseLodash.prototype);\n    LazyWrapper.prototype.constructor = LazyWrapper;\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Creates a hash object.\n     *\n     * @private\n     * @constructor\n     * @param {Array} [entries] The key-value pairs to cache.\n     */\n    function Hash(entries) {\n      var index = -1,\n          length = entries == null ? 0 : entries.length;\n\n      this.clear();\n      while (++index < length) {\n        var entry = entries[index];\n        this.set(entry[0], entry[1]);\n      }\n    }\n\n    /**\n     * Removes all key-value entries from the hash.\n     *\n     * @private\n     * @name clear\n     * @memberOf Hash\n     */\n    function hashClear() {\n      this.__data__ = nativeCreate ? nativeCreate(null) : {};\n      this.size = 0;\n    }\n\n    /**\n     * Removes `key` and its value from the hash.\n     *\n     * @private\n     * @name delete\n     * @memberOf Hash\n     * @param {Object} hash The hash to modify.\n     * @param {string} key The key of the value to remove.\n     * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n     */\n    function hashDelete(key) {\n      var result = this.has(key) && delete this.__data__[key];\n      this.size -= result ? 1 : 0;\n      return result;\n    }\n\n    /**\n     * Gets the hash value for `key`.\n     *\n     * @private\n     * @name get\n     * @memberOf Hash\n     * @param {string} key The key of the value to get.\n     * @returns {*} Returns the entry value.\n     */\n    function hashGet(key) {\n      var data = this.__data__;\n      if (nativeCreate) {\n        var result = data[key];\n        return result === HASH_UNDEFINED ? undefined : result;\n      }\n      return hasOwnProperty.call(data, key) ? data[key] : undefined;\n    }\n\n    /**\n     * Checks if a hash value for `key` exists.\n     *\n     * @private\n     * @name has\n     * @memberOf Hash\n     * @param {string} key The key of the entry to check.\n     * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n     */\n    function hashHas(key) {\n      var data = this.__data__;\n      return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n    }\n\n    /**\n     * Sets the hash `key` to `value`.\n     *\n     * @private\n     * @name set\n     * @memberOf Hash\n     * @param {string} key The key of the value to set.\n     * @param {*} value The value to set.\n     * @returns {Object} Returns the hash instance.\n     */\n    function hashSet(key, value) {\n      var data = this.__data__;\n      this.size += this.has(key) ? 0 : 1;\n      data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n      return this;\n    }\n\n    // Add methods to `Hash`.\n    Hash.prototype.clear = hashClear;\n    Hash.prototype['delete'] = hashDelete;\n    Hash.prototype.get = hashGet;\n    Hash.prototype.has = hashHas;\n    Hash.prototype.set = hashSet;\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Creates an list cache object.\n     *\n     * @private\n     * @constructor\n     * @param {Array} [entries] The key-value pairs to cache.\n     */\n    function ListCache(entries) {\n      var index = -1,\n          length = entries == null ? 0 : entries.length;\n\n      this.clear();\n      while (++index < length) {\n        var entry = entries[index];\n        this.set(entry[0], entry[1]);\n      }\n    }\n\n    /**\n     * Removes all key-value entries from the list cache.\n     *\n     * @private\n     * @name clear\n     * @memberOf ListCache\n     */\n    function listCacheClear() {\n      this.__data__ = [];\n      this.size = 0;\n    }\n\n    /**\n     * Removes `key` and its value from the list cache.\n     *\n     * @private\n     * @name delete\n     * @memberOf ListCache\n     * @param {string} key The key of the value to remove.\n     * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n     */\n    function listCacheDelete(key) {\n      var data = this.__data__,\n          index = assocIndexOf(data, key);\n\n      if (index < 0) {\n        return false;\n      }\n      var lastIndex = data.length - 1;\n      if (index == lastIndex) {\n        data.pop();\n      } else {\n        splice.call(data, index, 1);\n      }\n      --this.size;\n      return true;\n    }\n\n    /**\n     * Gets the list cache value for `key`.\n     *\n     * @private\n     * @name get\n     * @memberOf ListCache\n     * @param {string} key The key of the value to get.\n     * @returns {*} Returns the entry value.\n     */\n    function listCacheGet(key) {\n      var data = this.__data__,\n          index = assocIndexOf(data, key);\n\n      return index < 0 ? undefined : data[index][1];\n    }\n\n    /**\n     * Checks if a list cache value for `key` exists.\n     *\n     * @private\n     * @name has\n     * @memberOf ListCache\n     * @param {string} key The key of the entry to check.\n     * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n     */\n    function listCacheHas(key) {\n      return assocIndexOf(this.__data__, key) > -1;\n    }\n\n    /**\n     * Sets the list cache `key` to `value`.\n     *\n     * @private\n     * @name set\n     * @memberOf ListCache\n     * @param {string} key The key of the value to set.\n     * @param {*} value The value to set.\n     * @returns {Object} Returns the list cache instance.\n     */\n    function listCacheSet(key, value) {\n      var data = this.__data__,\n          index = assocIndexOf(data, key);\n\n      if (index < 0) {\n        ++this.size;\n        data.push([key, value]);\n      } else {\n        data[index][1] = value;\n      }\n      return this;\n    }\n\n    // Add methods to `ListCache`.\n    ListCache.prototype.clear = listCacheClear;\n    ListCache.prototype['delete'] = listCacheDelete;\n    ListCache.prototype.get = listCacheGet;\n    ListCache.prototype.has = listCacheHas;\n    ListCache.prototype.set = listCacheSet;\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Creates a map cache object to store key-value pairs.\n     *\n     * @private\n     * @constructor\n     * @param {Array} [entries] The key-value pairs to cache.\n     */\n    function MapCache(entries) {\n      var index = -1,\n          length = entries == null ? 0 : entries.length;\n\n      this.clear();\n      while (++index < length) {\n        var entry = entries[index];\n        this.set(entry[0], entry[1]);\n      }\n    }\n\n    /**\n     * Removes all key-value entries from the map.\n     *\n     * @private\n     * @name clear\n     * @memberOf MapCache\n     */\n    function mapCacheClear() {\n      this.size = 0;\n      this.__data__ = {\n        'hash': new Hash,\n        'map': new (Map || ListCache),\n        'string': new Hash\n      };\n    }\n\n    /**\n     * Removes `key` and its value from the map.\n     *\n     * @private\n     * @name delete\n     * @memberOf MapCache\n     * @param {string} key The key of the value to remove.\n     * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n     */\n    function mapCacheDelete(key) {\n      var result = getMapData(this, key)['delete'](key);\n      this.size -= result ? 1 : 0;\n      return result;\n    }\n\n    /**\n     * Gets the map value for `key`.\n     *\n     * @private\n     * @name get\n     * @memberOf MapCache\n     * @param {string} key The key of the value to get.\n     * @returns {*} Returns the entry value.\n     */\n    function mapCacheGet(key) {\n      return getMapData(this, key).get(key);\n    }\n\n    /**\n     * Checks if a map value for `key` exists.\n     *\n     * @private\n     * @name has\n     * @memberOf MapCache\n     * @param {string} key The key of the entry to check.\n     * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n     */\n    function mapCacheHas(key) {\n      return getMapData(this, key).has(key);\n    }\n\n    /**\n     * Sets the map `key` to `value`.\n     *\n     * @private\n     * @name set\n     * @memberOf MapCache\n     * @param {string} key The key of the value to set.\n     * @param {*} value The value to set.\n     * @returns {Object} Returns the map cache instance.\n     */\n    function mapCacheSet(key, value) {\n      var data = getMapData(this, key),\n          size = data.size;\n\n      data.set(key, value);\n      this.size += data.size == size ? 0 : 1;\n      return this;\n    }\n\n    // Add methods to `MapCache`.\n    MapCache.prototype.clear = mapCacheClear;\n    MapCache.prototype['delete'] = mapCacheDelete;\n    MapCache.prototype.get = mapCacheGet;\n    MapCache.prototype.has = mapCacheHas;\n    MapCache.prototype.set = mapCacheSet;\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     *\n     * Creates an array cache object to store unique values.\n     *\n     * @private\n     * @constructor\n     * @param {Array} [values] The values to cache.\n     */\n    function SetCache(values) {\n      var index = -1,\n          length = values == null ? 0 : values.length;\n\n      this.__data__ = new MapCache;\n      while (++index < length) {\n        this.add(values[index]);\n      }\n    }\n\n    /**\n     * Adds `value` to the array cache.\n     *\n     * @private\n     * @name add\n     * @memberOf SetCache\n     * @alias push\n     * @param {*} value The value to cache.\n     * @returns {Object} Returns the cache instance.\n     */\n    function setCacheAdd(value) {\n      this.__data__.set(value, HASH_UNDEFINED);\n      return this;\n    }\n\n    /**\n     * Checks if `value` is in the array cache.\n     *\n     * @private\n     * @name has\n     * @memberOf SetCache\n     * @param {*} value The value to search for.\n     * @returns {number} Returns `true` if `value` is found, else `false`.\n     */\n    function setCacheHas(value) {\n      return this.__data__.has(value);\n    }\n\n    // Add methods to `SetCache`.\n    SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\n    SetCache.prototype.has = setCacheHas;\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Creates a stack cache object to store key-value pairs.\n     *\n     * @private\n     * @constructor\n     * @param {Array} [entries] The key-value pairs to cache.\n     */\n    function Stack(entries) {\n      var data = this.__data__ = new ListCache(entries);\n      this.size = data.size;\n    }\n\n    /**\n     * Removes all key-value entries from the stack.\n     *\n     * @private\n     * @name clear\n     * @memberOf Stack\n     */\n    function stackClear() {\n      this.__data__ = new ListCache;\n      this.size = 0;\n    }\n\n    /**\n     * Removes `key` and its value from the stack.\n     *\n     * @private\n     * @name delete\n     * @memberOf Stack\n     * @param {string} key The key of the value to remove.\n     * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n     */\n    function stackDelete(key) {\n      var data = this.__data__,\n          result = data['delete'](key);\n\n      this.size = data.size;\n      return result;\n    }\n\n    /**\n     * Gets the stack value for `key`.\n     *\n     * @private\n     * @name get\n     * @memberOf Stack\n     * @param {string} key The key of the value to get.\n     * @returns {*} Returns the entry value.\n     */\n    function stackGet(key) {\n      return this.__data__.get(key);\n    }\n\n    /**\n     * Checks if a stack value for `key` exists.\n     *\n     * @private\n     * @name has\n     * @memberOf Stack\n     * @param {string} key The key of the entry to check.\n     * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n     */\n    function stackHas(key) {\n      return this.__data__.has(key);\n    }\n\n    /**\n     * Sets the stack `key` to `value`.\n     *\n     * @private\n     * @name set\n     * @memberOf Stack\n     * @param {string} key The key of the value to set.\n     * @param {*} value The value to set.\n     * @returns {Object} Returns the stack cache instance.\n     */\n    function stackSet(key, value) {\n      var data = this.__data__;\n      if (data instanceof ListCache) {\n        var pairs = data.__data__;\n        if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n          pairs.push([key, value]);\n          this.size = ++data.size;\n          return this;\n        }\n        data = this.__data__ = new MapCache(pairs);\n      }\n      data.set(key, value);\n      this.size = data.size;\n      return this;\n    }\n\n    // Add methods to `Stack`.\n    Stack.prototype.clear = stackClear;\n    Stack.prototype['delete'] = stackDelete;\n    Stack.prototype.get = stackGet;\n    Stack.prototype.has = stackHas;\n    Stack.prototype.set = stackSet;\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Creates an array of the enumerable property names of the array-like `value`.\n     *\n     * @private\n     * @param {*} value The value to query.\n     * @param {boolean} inherited Specify returning inherited property names.\n     * @returns {Array} Returns the array of property names.\n     */\n    function arrayLikeKeys(value, inherited) {\n      var isArr = isArray(value),\n          isArg = !isArr && isArguments(value),\n          isBuff = !isArr && !isArg && isBuffer(value),\n          isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n          skipIndexes = isArr || isArg || isBuff || isType,\n          result = skipIndexes ? baseTimes(value.length, String) : [],\n          length = result.length;\n\n      for (var key in value) {\n        if ((inherited || hasOwnProperty.call(value, key)) &&\n            !(skipIndexes && (\n               // Safari 9 has enumerable `arguments.length` in strict mode.\n               key == 'length' ||\n               // Node.js 0.10 has enumerable non-index properties on buffers.\n               (isBuff && (key == 'offset' || key == 'parent')) ||\n               // PhantomJS 2 has enumerable non-index properties on typed arrays.\n               (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n               // Skip index properties.\n               isIndex(key, length)\n            ))) {\n          result.push(key);\n        }\n      }\n      return result;\n    }\n\n    /**\n     * A specialized version of `_.sample` for arrays.\n     *\n     * @private\n     * @param {Array} array The array to sample.\n     * @returns {*} Returns the random element.\n     */\n    function arraySample(array) {\n      var length = array.length;\n      return length ? array[baseRandom(0, length - 1)] : undefined;\n    }\n\n    /**\n     * A specialized version of `_.sampleSize` for arrays.\n     *\n     * @private\n     * @param {Array} array The array to sample.\n     * @param {number} n The number of elements to sample.\n     * @returns {Array} Returns the random elements.\n     */\n    function arraySampleSize(array, n) {\n      return shuffleSelf(copyArray(array), baseClamp(n, 0, array.length));\n    }\n\n    /**\n     * A specialized version of `_.shuffle` for arrays.\n     *\n     * @private\n     * @param {Array} array The array to shuffle.\n     * @returns {Array} Returns the new shuffled array.\n     */\n    function arrayShuffle(array) {\n      return shuffleSelf(copyArray(array));\n    }\n\n    /**\n     * This function is like `assignValue` except that it doesn't assign\n     * `undefined` values.\n     *\n     * @private\n     * @param {Object} object The object to modify.\n     * @param {string} key The key of the property to assign.\n     * @param {*} value The value to assign.\n     */\n    function assignMergeValue(object, key, value) {\n      if ((value !== undefined && !eq(object[key], value)) ||\n          (value === undefined && !(key in object))) {\n        baseAssignValue(object, key, value);\n      }\n    }\n\n    /**\n     * Assigns `value` to `key` of `object` if the existing value is not equivalent\n     * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n     * for equality comparisons.\n     *\n     * @private\n     * @param {Object} object The object to modify.\n     * @param {string} key The key of the property to assign.\n     * @param {*} value The value to assign.\n     */\n    function assignValue(object, key, value) {\n      var objValue = object[key];\n      if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n          (value === undefined && !(key in object))) {\n        baseAssignValue(object, key, value);\n      }\n    }\n\n    /**\n     * Gets the index at which the `key` is found in `array` of key-value pairs.\n     *\n     * @private\n     * @param {Array} array The array to inspect.\n     * @param {*} key The key to search for.\n     * @returns {number} Returns the index of the matched value, else `-1`.\n     */\n    function assocIndexOf(array, key) {\n      var length = array.length;\n      while (length--) {\n        if (eq(array[length][0], key)) {\n          return length;\n        }\n      }\n      return -1;\n    }\n\n    /**\n     * Aggregates elements of `collection` on `accumulator` with keys transformed\n     * by `iteratee` and values set by `setter`.\n     *\n     * @private\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} setter The function to set `accumulator` values.\n     * @param {Function} iteratee The iteratee to transform keys.\n     * @param {Object} accumulator The initial aggregated object.\n     * @returns {Function} Returns `accumulator`.\n     */\n    function baseAggregator(collection, setter, iteratee, accumulator) {\n      baseEach(collection, function(value, key, collection) {\n        setter(accumulator, value, iteratee(value), collection);\n      });\n      return accumulator;\n    }\n\n    /**\n     * The base implementation of `_.assign` without support for multiple sources\n     * or `customizer` functions.\n     *\n     * @private\n     * @param {Object} object The destination object.\n     * @param {Object} source The source object.\n     * @returns {Object} Returns `object`.\n     */\n    function baseAssign(object, source) {\n      return object && copyObject(source, keys(source), object);\n    }\n\n    /**\n     * The base implementation of `_.assignIn` without support for multiple sources\n     * or `customizer` functions.\n     *\n     * @private\n     * @param {Object} object The destination object.\n     * @param {Object} source The source object.\n     * @returns {Object} Returns `object`.\n     */\n    function baseAssignIn(object, source) {\n      return object && copyObject(source, keysIn(source), object);\n    }\n\n    /**\n     * The base implementation of `assignValue` and `assignMergeValue` without\n     * value checks.\n     *\n     * @private\n     * @param {Object} object The object to modify.\n     * @param {string} key The key of the property to assign.\n     * @param {*} value The value to assign.\n     */\n    function baseAssignValue(object, key, value) {\n      if (key == '__proto__' && defineProperty) {\n        defineProperty(object, key, {\n          'configurable': true,\n          'enumerable': true,\n          'value': value,\n          'writable': true\n        });\n      } else {\n        object[key] = value;\n      }\n    }\n\n    /**\n     * The base implementation of `_.at` without support for individual paths.\n     *\n     * @private\n     * @param {Object} object The object to iterate over.\n     * @param {string[]} paths The property paths to pick.\n     * @returns {Array} Returns the picked elements.\n     */\n    function baseAt(object, paths) {\n      var index = -1,\n          length = paths.length,\n          result = Array(length),\n          skip = object == null;\n\n      while (++index < length) {\n        result[index] = skip ? undefined : get(object, paths[index]);\n      }\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.clamp` which doesn't coerce arguments.\n     *\n     * @private\n     * @param {number} number The number to clamp.\n     * @param {number} [lower] The lower bound.\n     * @param {number} upper The upper bound.\n     * @returns {number} Returns the clamped number.\n     */\n    function baseClamp(number, lower, upper) {\n      if (number === number) {\n        if (upper !== undefined) {\n          number = number <= upper ? number : upper;\n        }\n        if (lower !== undefined) {\n          number = number >= lower ? number : lower;\n        }\n      }\n      return number;\n    }\n\n    /**\n     * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n     * traversed objects.\n     *\n     * @private\n     * @param {*} value The value to clone.\n     * @param {boolean} bitmask The bitmask flags.\n     *  1 - Deep clone\n     *  2 - Flatten inherited properties\n     *  4 - Clone symbols\n     * @param {Function} [customizer] The function to customize cloning.\n     * @param {string} [key] The key of `value`.\n     * @param {Object} [object] The parent object of `value`.\n     * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n     * @returns {*} Returns the cloned value.\n     */\n    function baseClone(value, bitmask, customizer, key, object, stack) {\n      var result,\n          isDeep = bitmask & CLONE_DEEP_FLAG,\n          isFlat = bitmask & CLONE_FLAT_FLAG,\n          isFull = bitmask & CLONE_SYMBOLS_FLAG;\n\n      if (customizer) {\n        result = object ? customizer(value, key, object, stack) : customizer(value);\n      }\n      if (result !== undefined) {\n        return result;\n      }\n      if (!isObject(value)) {\n        return value;\n      }\n      var isArr = isArray(value);\n      if (isArr) {\n        result = initCloneArray(value);\n        if (!isDeep) {\n          return copyArray(value, result);\n        }\n      } else {\n        var tag = getTag(value),\n            isFunc = tag == funcTag || tag == genTag;\n\n        if (isBuffer(value)) {\n          return cloneBuffer(value, isDeep);\n        }\n        if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n          result = (isFlat || isFunc) ? {} : initCloneObject(value);\n          if (!isDeep) {\n            return isFlat\n              ? copySymbolsIn(value, baseAssignIn(result, value))\n              : copySymbols(value, baseAssign(result, value));\n          }\n        } else {\n          if (!cloneableTags[tag]) {\n            return object ? value : {};\n          }\n          result = initCloneByTag(value, tag, isDeep);\n        }\n      }\n      // Check for circular references and return its corresponding clone.\n      stack || (stack = new Stack);\n      var stacked = stack.get(value);\n      if (stacked) {\n        return stacked;\n      }\n      stack.set(value, result);\n\n      if (isSet(value)) {\n        value.forEach(function(subValue) {\n          result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));\n        });\n      } else if (isMap(value)) {\n        value.forEach(function(subValue, key) {\n          result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n        });\n      }\n\n      var keysFunc = isFull\n        ? (isFlat ? getAllKeysIn : getAllKeys)\n        : (isFlat ? keysIn : keys);\n\n      var props = isArr ? undefined : keysFunc(value);\n      arrayEach(props || value, function(subValue, key) {\n        if (props) {\n          key = subValue;\n          subValue = value[key];\n        }\n        // Recursively populate clone (susceptible to call stack limits).\n        assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));\n      });\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.conforms` which doesn't clone `source`.\n     *\n     * @private\n     * @param {Object} source The object of property predicates to conform to.\n     * @returns {Function} Returns the new spec function.\n     */\n    function baseConforms(source) {\n      var props = keys(source);\n      return function(object) {\n        return baseConformsTo(object, source, props);\n      };\n    }\n\n    /**\n     * The base implementation of `_.conformsTo` which accepts `props` to check.\n     *\n     * @private\n     * @param {Object} object The object to inspect.\n     * @param {Object} source The object of property predicates to conform to.\n     * @returns {boolean} Returns `true` if `object` conforms, else `false`.\n     */\n    function baseConformsTo(object, source, props) {\n      var length = props.length;\n      if (object == null) {\n        return !length;\n      }\n      object = Object(object);\n      while (length--) {\n        var key = props[length],\n            predicate = source[key],\n            value = object[key];\n\n        if ((value === undefined && !(key in object)) || !predicate(value)) {\n          return false;\n        }\n      }\n      return true;\n    }\n\n    /**\n     * The base implementation of `_.delay` and `_.defer` which accepts `args`\n     * to provide to `func`.\n     *\n     * @private\n     * @param {Function} func The function to delay.\n     * @param {number} wait The number of milliseconds to delay invocation.\n     * @param {Array} args The arguments to provide to `func`.\n     * @returns {number|Object} Returns the timer id or timeout object.\n     */\n    function baseDelay(func, wait, args) {\n      if (typeof func != 'function') {\n        throw new TypeError(FUNC_ERROR_TEXT);\n      }\n      return setTimeout(function() { func.apply(undefined, args); }, wait);\n    }\n\n    /**\n     * The base implementation of methods like `_.difference` without support\n     * for excluding multiple arrays or iteratee shorthands.\n     *\n     * @private\n     * @param {Array} array The array to inspect.\n     * @param {Array} values The values to exclude.\n     * @param {Function} [iteratee] The iteratee invoked per element.\n     * @param {Function} [comparator] The comparator invoked per element.\n     * @returns {Array} Returns the new array of filtered values.\n     */\n    function baseDifference(array, values, iteratee, comparator) {\n      var index = -1,\n          includes = arrayIncludes,\n          isCommon = true,\n          length = array.length,\n          result = [],\n          valuesLength = values.length;\n\n      if (!length) {\n        return result;\n      }\n      if (iteratee) {\n        values = arrayMap(values, baseUnary(iteratee));\n      }\n      if (comparator) {\n        includes = arrayIncludesWith;\n        isCommon = false;\n      }\n      else if (values.length >= LARGE_ARRAY_SIZE) {\n        includes = cacheHas;\n        isCommon = false;\n        values = new SetCache(values);\n      }\n      outer:\n      while (++index < length) {\n        var value = array[index],\n            computed = iteratee == null ? value : iteratee(value);\n\n        value = (comparator || value !== 0) ? value : 0;\n        if (isCommon && computed === computed) {\n          var valuesIndex = valuesLength;\n          while (valuesIndex--) {\n            if (values[valuesIndex] === computed) {\n              continue outer;\n            }\n          }\n          result.push(value);\n        }\n        else if (!includes(values, computed, comparator)) {\n          result.push(value);\n        }\n      }\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.forEach` without support for iteratee shorthands.\n     *\n     * @private\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} iteratee The function invoked per iteration.\n     * @returns {Array|Object} Returns `collection`.\n     */\n    var baseEach = createBaseEach(baseForOwn);\n\n    /**\n     * The base implementation of `_.forEachRight` without support for iteratee shorthands.\n     *\n     * @private\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} iteratee The function invoked per iteration.\n     * @returns {Array|Object} Returns `collection`.\n     */\n    var baseEachRight = createBaseEach(baseForOwnRight, true);\n\n    /**\n     * The base implementation of `_.every` without support for iteratee shorthands.\n     *\n     * @private\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} predicate The function invoked per iteration.\n     * @returns {boolean} Returns `true` if all elements pass the predicate check,\n     *  else `false`\n     */\n    function baseEvery(collection, predicate) {\n      var result = true;\n      baseEach(collection, function(value, index, collection) {\n        result = !!predicate(value, index, collection);\n        return result;\n      });\n      return result;\n    }\n\n    /**\n     * The base implementation of methods like `_.max` and `_.min` which accepts a\n     * `comparator` to determine the extremum value.\n     *\n     * @private\n     * @param {Array} array The array to iterate over.\n     * @param {Function} iteratee The iteratee invoked per iteration.\n     * @param {Function} comparator The comparator used to compare values.\n     * @returns {*} Returns the extremum value.\n     */\n    function baseExtremum(array, iteratee, comparator) {\n      var index = -1,\n          length = array.length;\n\n      while (++index < length) {\n        var value = array[index],\n            current = iteratee(value);\n\n        if (current != null && (computed === undefined\n              ? (current === current && !isSymbol(current))\n              : comparator(current, computed)\n            )) {\n          var computed = current,\n              result = value;\n        }\n      }\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.fill` without an iteratee call guard.\n     *\n     * @private\n     * @param {Array} array The array to fill.\n     * @param {*} value The value to fill `array` with.\n     * @param {number} [start=0] The start position.\n     * @param {number} [end=array.length] The end position.\n     * @returns {Array} Returns `array`.\n     */\n    function baseFill(array, value, start, end) {\n      var length = array.length;\n\n      start = toInteger(start);\n      if (start < 0) {\n        start = -start > length ? 0 : (length + start);\n      }\n      end = (end === undefined || end > length) ? length : toInteger(end);\n      if (end < 0) {\n        end += length;\n      }\n      end = start > end ? 0 : toLength(end);\n      while (start < end) {\n        array[start++] = value;\n      }\n      return array;\n    }\n\n    /**\n     * The base implementation of `_.filter` without support for iteratee shorthands.\n     *\n     * @private\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} predicate The function invoked per iteration.\n     * @returns {Array} Returns the new filtered array.\n     */\n    function baseFilter(collection, predicate) {\n      var result = [];\n      baseEach(collection, function(value, index, collection) {\n        if (predicate(value, index, collection)) {\n          result.push(value);\n        }\n      });\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.flatten` with support for restricting flattening.\n     *\n     * @private\n     * @param {Array} array The array to flatten.\n     * @param {number} depth The maximum recursion depth.\n     * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.\n     * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.\n     * @param {Array} [result=[]] The initial result value.\n     * @returns {Array} Returns the new flattened array.\n     */\n    function baseFlatten(array, depth, predicate, isStrict, result) {\n      var index = -1,\n          length = array.length;\n\n      predicate || (predicate = isFlattenable);\n      result || (result = []);\n\n      while (++index < length) {\n        var value = array[index];\n        if (depth > 0 && predicate(value)) {\n          if (depth > 1) {\n            // Recursively flatten arrays (susceptible to call stack limits).\n            baseFlatten(value, depth - 1, predicate, isStrict, result);\n          } else {\n            arrayPush(result, value);\n          }\n        } else if (!isStrict) {\n          result[result.length] = value;\n        }\n      }\n      return result;\n    }\n\n    /**\n     * The base implementation of `baseForOwn` which iterates over `object`\n     * properties returned by `keysFunc` and invokes `iteratee` for each property.\n     * Iteratee functions may exit iteration early by explicitly returning `false`.\n     *\n     * @private\n     * @param {Object} object The object to iterate over.\n     * @param {Function} iteratee The function invoked per iteration.\n     * @param {Function} keysFunc The function to get the keys of `object`.\n     * @returns {Object} Returns `object`.\n     */\n    var baseFor = createBaseFor();\n\n    /**\n     * This function is like `baseFor` except that it iterates over properties\n     * in the opposite order.\n     *\n     * @private\n     * @param {Object} object The object to iterate over.\n     * @param {Function} iteratee The function invoked per iteration.\n     * @param {Function} keysFunc The function to get the keys of `object`.\n     * @returns {Object} Returns `object`.\n     */\n    var baseForRight = createBaseFor(true);\n\n    /**\n     * The base implementation of `_.forOwn` without support for iteratee shorthands.\n     *\n     * @private\n     * @param {Object} object The object to iterate over.\n     * @param {Function} iteratee The function invoked per iteration.\n     * @returns {Object} Returns `object`.\n     */\n    function baseForOwn(object, iteratee) {\n      return object && baseFor(object, iteratee, keys);\n    }\n\n    /**\n     * The base implementation of `_.forOwnRight` without support for iteratee shorthands.\n     *\n     * @private\n     * @param {Object} object The object to iterate over.\n     * @param {Function} iteratee The function invoked per iteration.\n     * @returns {Object} Returns `object`.\n     */\n    function baseForOwnRight(object, iteratee) {\n      return object && baseForRight(object, iteratee, keys);\n    }\n\n    /**\n     * The base implementation of `_.functions` which creates an array of\n     * `object` function property names filtered from `props`.\n     *\n     * @private\n     * @param {Object} object The object to inspect.\n     * @param {Array} props The property names to filter.\n     * @returns {Array} Returns the function names.\n     */\n    function baseFunctions(object, props) {\n      return arrayFilter(props, function(key) {\n        return isFunction(object[key]);\n      });\n    }\n\n    /**\n     * The base implementation of `_.get` without support for default values.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @param {Array|string} path The path of the property to get.\n     * @returns {*} Returns the resolved value.\n     */\n    function baseGet(object, path) {\n      path = castPath(path, object);\n\n      var index = 0,\n          length = path.length;\n\n      while (object != null && index < length) {\n        object = object[toKey(path[index++])];\n      }\n      return (index && index == length) ? object : undefined;\n    }\n\n    /**\n     * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n     * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n     * symbols of `object`.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @param {Function} keysFunc The function to get the keys of `object`.\n     * @param {Function} symbolsFunc The function to get the symbols of `object`.\n     * @returns {Array} Returns the array of property names and symbols.\n     */\n    function baseGetAllKeys(object, keysFunc, symbolsFunc) {\n      var result = keysFunc(object);\n      return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n    }\n\n    /**\n     * The base implementation of `getTag` without fallbacks for buggy environments.\n     *\n     * @private\n     * @param {*} value The value to query.\n     * @returns {string} Returns the `toStringTag`.\n     */\n    function baseGetTag(value) {\n      if (value == null) {\n        return value === undefined ? undefinedTag : nullTag;\n      }\n      return (symToStringTag && symToStringTag in Object(value))\n        ? getRawTag(value)\n        : objectToString(value);\n    }\n\n    /**\n     * The base implementation of `_.gt` which doesn't coerce arguments.\n     *\n     * @private\n     * @param {*} value The value to compare.\n     * @param {*} other The other value to compare.\n     * @returns {boolean} Returns `true` if `value` is greater than `other`,\n     *  else `false`.\n     */\n    function baseGt(value, other) {\n      return value > other;\n    }\n\n    /**\n     * The base implementation of `_.has` without support for deep paths.\n     *\n     * @private\n     * @param {Object} [object] The object to query.\n     * @param {Array|string} key The key to check.\n     * @returns {boolean} Returns `true` if `key` exists, else `false`.\n     */\n    function baseHas(object, key) {\n      return object != null && hasOwnProperty.call(object, key);\n    }\n\n    /**\n     * The base implementation of `_.hasIn` without support for deep paths.\n     *\n     * @private\n     * @param {Object} [object] The object to query.\n     * @param {Array|string} key The key to check.\n     * @returns {boolean} Returns `true` if `key` exists, else `false`.\n     */\n    function baseHasIn(object, key) {\n      return object != null && key in Object(object);\n    }\n\n    /**\n     * The base implementation of `_.inRange` which doesn't coerce arguments.\n     *\n     * @private\n     * @param {number} number The number to check.\n     * @param {number} start The start of the range.\n     * @param {number} end The end of the range.\n     * @returns {boolean} Returns `true` if `number` is in the range, else `false`.\n     */\n    function baseInRange(number, start, end) {\n      return number >= nativeMin(start, end) && number < nativeMax(start, end);\n    }\n\n    /**\n     * The base implementation of methods like `_.intersection`, without support\n     * for iteratee shorthands, that accepts an array of arrays to inspect.\n     *\n     * @private\n     * @param {Array} arrays The arrays to inspect.\n     * @param {Function} [iteratee] The iteratee invoked per element.\n     * @param {Function} [comparator] The comparator invoked per element.\n     * @returns {Array} Returns the new array of shared values.\n     */\n    function baseIntersection(arrays, iteratee, comparator) {\n      var includes = comparator ? arrayIncludesWith : arrayIncludes,\n          length = arrays[0].length,\n          othLength = arrays.length,\n          othIndex = othLength,\n          caches = Array(othLength),\n          maxLength = Infinity,\n          result = [];\n\n      while (othIndex--) {\n        var array = arrays[othIndex];\n        if (othIndex && iteratee) {\n          array = arrayMap(array, baseUnary(iteratee));\n        }\n        maxLength = nativeMin(array.length, maxLength);\n        caches[othIndex] = !comparator && (iteratee || (length >= 120 && array.length >= 120))\n          ? new SetCache(othIndex && array)\n          : undefined;\n      }\n      array = arrays[0];\n\n      var index = -1,\n          seen = caches[0];\n\n      outer:\n      while (++index < length && result.length < maxLength) {\n        var value = array[index],\n            computed = iteratee ? iteratee(value) : value;\n\n        value = (comparator || value !== 0) ? value : 0;\n        if (!(seen\n              ? cacheHas(seen, computed)\n              : includes(result, computed, comparator)\n            )) {\n          othIndex = othLength;\n          while (--othIndex) {\n            var cache = caches[othIndex];\n            if (!(cache\n                  ? cacheHas(cache, computed)\n                  : includes(arrays[othIndex], computed, comparator))\n                ) {\n              continue outer;\n            }\n          }\n          if (seen) {\n            seen.push(computed);\n          }\n          result.push(value);\n        }\n      }\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.invert` and `_.invertBy` which inverts\n     * `object` with values transformed by `iteratee` and set by `setter`.\n     *\n     * @private\n     * @param {Object} object The object to iterate over.\n     * @param {Function} setter The function to set `accumulator` values.\n     * @param {Function} iteratee The iteratee to transform values.\n     * @param {Object} accumulator The initial inverted object.\n     * @returns {Function} Returns `accumulator`.\n     */\n    function baseInverter(object, setter, iteratee, accumulator) {\n      baseForOwn(object, function(value, key, object) {\n        setter(accumulator, iteratee(value), key, object);\n      });\n      return accumulator;\n    }\n\n    /**\n     * The base implementation of `_.invoke` without support for individual\n     * method arguments.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @param {Array|string} path The path of the method to invoke.\n     * @param {Array} args The arguments to invoke the method with.\n     * @returns {*} Returns the result of the invoked method.\n     */\n    function baseInvoke(object, path, args) {\n      path = castPath(path, object);\n      object = parent(object, path);\n      var func = object == null ? object : object[toKey(last(path))];\n      return func == null ? undefined : apply(func, object, args);\n    }\n\n    /**\n     * The base implementation of `_.isArguments`.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n     */\n    function baseIsArguments(value) {\n      return isObjectLike(value) && baseGetTag(value) == argsTag;\n    }\n\n    /**\n     * The base implementation of `_.isArrayBuffer` without Node.js optimizations.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.\n     */\n    function baseIsArrayBuffer(value) {\n      return isObjectLike(value) && baseGetTag(value) == arrayBufferTag;\n    }\n\n    /**\n     * The base implementation of `_.isDate` without Node.js optimizations.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a date object, else `false`.\n     */\n    function baseIsDate(value) {\n      return isObjectLike(value) && baseGetTag(value) == dateTag;\n    }\n\n    /**\n     * The base implementation of `_.isEqual` which supports partial comparisons\n     * and tracks traversed objects.\n     *\n     * @private\n     * @param {*} value The value to compare.\n     * @param {*} other The other value to compare.\n     * @param {boolean} bitmask The bitmask flags.\n     *  1 - Unordered comparison\n     *  2 - Partial comparison\n     * @param {Function} [customizer] The function to customize comparisons.\n     * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n     * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n     */\n    function baseIsEqual(value, other, bitmask, customizer, stack) {\n      if (value === other) {\n        return true;\n      }\n      if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n        return value !== value && other !== other;\n      }\n      return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n    }\n\n    /**\n     * A specialized version of `baseIsEqual` for arrays and objects which performs\n     * deep comparisons and tracks traversed objects enabling objects with circular\n     * references to be compared.\n     *\n     * @private\n     * @param {Object} object The object to compare.\n     * @param {Object} other The other object to compare.\n     * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n     * @param {Function} customizer The function to customize comparisons.\n     * @param {Function} equalFunc The function to determine equivalents of values.\n     * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n     * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n     */\n    function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n      var objIsArr = isArray(object),\n          othIsArr = isArray(other),\n          objTag = objIsArr ? arrayTag : getTag(object),\n          othTag = othIsArr ? arrayTag : getTag(other);\n\n      objTag = objTag == argsTag ? objectTag : objTag;\n      othTag = othTag == argsTag ? objectTag : othTag;\n\n      var objIsObj = objTag == objectTag,\n          othIsObj = othTag == objectTag,\n          isSameTag = objTag == othTag;\n\n      if (isSameTag && isBuffer(object)) {\n        if (!isBuffer(other)) {\n          return false;\n        }\n        objIsArr = true;\n        objIsObj = false;\n      }\n      if (isSameTag && !objIsObj) {\n        stack || (stack = new Stack);\n        return (objIsArr || isTypedArray(object))\n          ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)\n          : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n      }\n      if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n        var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n            othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n        if (objIsWrapped || othIsWrapped) {\n          var objUnwrapped = objIsWrapped ? object.value() : object,\n              othUnwrapped = othIsWrapped ? other.value() : other;\n\n          stack || (stack = new Stack);\n          return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n        }\n      }\n      if (!isSameTag) {\n        return false;\n      }\n      stack || (stack = new Stack);\n      return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n    }\n\n    /**\n     * The base implementation of `_.isMap` without Node.js optimizations.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n     */\n    function baseIsMap(value) {\n      return isObjectLike(value) && getTag(value) == mapTag;\n    }\n\n    /**\n     * The base implementation of `_.isMatch` without support for iteratee shorthands.\n     *\n     * @private\n     * @param {Object} object The object to inspect.\n     * @param {Object} source The object of property values to match.\n     * @param {Array} matchData The property names, values, and compare flags to match.\n     * @param {Function} [customizer] The function to customize comparisons.\n     * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n     */\n    function baseIsMatch(object, source, matchData, customizer) {\n      var index = matchData.length,\n          length = index,\n          noCustomizer = !customizer;\n\n      if (object == null) {\n        return !length;\n      }\n      object = Object(object);\n      while (index--) {\n        var data = matchData[index];\n        if ((noCustomizer && data[2])\n              ? data[1] !== object[data[0]]\n              : !(data[0] in object)\n            ) {\n          return false;\n        }\n      }\n      while (++index < length) {\n        data = matchData[index];\n        var key = data[0],\n            objValue = object[key],\n            srcValue = data[1];\n\n        if (noCustomizer && data[2]) {\n          if (objValue === undefined && !(key in object)) {\n            return false;\n          }\n        } else {\n          var stack = new Stack;\n          if (customizer) {\n            var result = customizer(objValue, srcValue, key, object, source, stack);\n          }\n          if (!(result === undefined\n                ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)\n                : result\n              )) {\n            return false;\n          }\n        }\n      }\n      return true;\n    }\n\n    /**\n     * The base implementation of `_.isNative` without bad shim checks.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a native function,\n     *  else `false`.\n     */\n    function baseIsNative(value) {\n      if (!isObject(value) || isMasked(value)) {\n        return false;\n      }\n      var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n      return pattern.test(toSource(value));\n    }\n\n    /**\n     * The base implementation of `_.isRegExp` without Node.js optimizations.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.\n     */\n    function baseIsRegExp(value) {\n      return isObjectLike(value) && baseGetTag(value) == regexpTag;\n    }\n\n    /**\n     * The base implementation of `_.isSet` without Node.js optimizations.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n     */\n    function baseIsSet(value) {\n      return isObjectLike(value) && getTag(value) == setTag;\n    }\n\n    /**\n     * The base implementation of `_.isTypedArray` without Node.js optimizations.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n     */\n    function baseIsTypedArray(value) {\n      return isObjectLike(value) &&\n        isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n    }\n\n    /**\n     * The base implementation of `_.iteratee`.\n     *\n     * @private\n     * @param {*} [value=_.identity] The value to convert to an iteratee.\n     * @returns {Function} Returns the iteratee.\n     */\n    function baseIteratee(value) {\n      // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.\n      // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.\n      if (typeof value == 'function') {\n        return value;\n      }\n      if (value == null) {\n        return identity;\n      }\n      if (typeof value == 'object') {\n        return isArray(value)\n          ? baseMatchesProperty(value[0], value[1])\n          : baseMatches(value);\n      }\n      return property(value);\n    }\n\n    /**\n     * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the array of property names.\n     */\n    function baseKeys(object) {\n      if (!isPrototype(object)) {\n        return nativeKeys(object);\n      }\n      var result = [];\n      for (var key in Object(object)) {\n        if (hasOwnProperty.call(object, key) && key != 'constructor') {\n          result.push(key);\n        }\n      }\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the array of property names.\n     */\n    function baseKeysIn(object) {\n      if (!isObject(object)) {\n        return nativeKeysIn(object);\n      }\n      var isProto = isPrototype(object),\n          result = [];\n\n      for (var key in object) {\n        if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n          result.push(key);\n        }\n      }\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.lt` which doesn't coerce arguments.\n     *\n     * @private\n     * @param {*} value The value to compare.\n     * @param {*} other The other value to compare.\n     * @returns {boolean} Returns `true` if `value` is less than `other`,\n     *  else `false`.\n     */\n    function baseLt(value, other) {\n      return value < other;\n    }\n\n    /**\n     * The base implementation of `_.map` without support for iteratee shorthands.\n     *\n     * @private\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} iteratee The function invoked per iteration.\n     * @returns {Array} Returns the new mapped array.\n     */\n    function baseMap(collection, iteratee) {\n      var index = -1,\n          result = isArrayLike(collection) ? Array(collection.length) : [];\n\n      baseEach(collection, function(value, key, collection) {\n        result[++index] = iteratee(value, key, collection);\n      });\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.matches` which doesn't clone `source`.\n     *\n     * @private\n     * @param {Object} source The object of property values to match.\n     * @returns {Function} Returns the new spec function.\n     */\n    function baseMatches(source) {\n      var matchData = getMatchData(source);\n      if (matchData.length == 1 && matchData[0][2]) {\n        return matchesStrictComparable(matchData[0][0], matchData[0][1]);\n      }\n      return function(object) {\n        return object === source || baseIsMatch(object, source, matchData);\n      };\n    }\n\n    /**\n     * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.\n     *\n     * @private\n     * @param {string} path The path of the property to get.\n     * @param {*} srcValue The value to match.\n     * @returns {Function} Returns the new spec function.\n     */\n    function baseMatchesProperty(path, srcValue) {\n      if (isKey(path) && isStrictComparable(srcValue)) {\n        return matchesStrictComparable(toKey(path), srcValue);\n      }\n      return function(object) {\n        var objValue = get(object, path);\n        return (objValue === undefined && objValue === srcValue)\n          ? hasIn(object, path)\n          : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);\n      };\n    }\n\n    /**\n     * The base implementation of `_.merge` without support for multiple sources.\n     *\n     * @private\n     * @param {Object} object The destination object.\n     * @param {Object} source The source object.\n     * @param {number} srcIndex The index of `source`.\n     * @param {Function} [customizer] The function to customize merged values.\n     * @param {Object} [stack] Tracks traversed source values and their merged\n     *  counterparts.\n     */\n    function baseMerge(object, source, srcIndex, customizer, stack) {\n      if (object === source) {\n        return;\n      }\n      baseFor(source, function(srcValue, key) {\n        stack || (stack = new Stack);\n        if (isObject(srcValue)) {\n          baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);\n        }\n        else {\n          var newValue = customizer\n            ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack)\n            : undefined;\n\n          if (newValue === undefined) {\n            newValue = srcValue;\n          }\n          assignMergeValue(object, key, newValue);\n        }\n      }, keysIn);\n    }\n\n    /**\n     * A specialized version of `baseMerge` for arrays and objects which performs\n     * deep merges and tracks traversed objects enabling objects with circular\n     * references to be merged.\n     *\n     * @private\n     * @param {Object} object The destination object.\n     * @param {Object} source The source object.\n     * @param {string} key The key of the value to merge.\n     * @param {number} srcIndex The index of `source`.\n     * @param {Function} mergeFunc The function to merge values.\n     * @param {Function} [customizer] The function to customize assigned values.\n     * @param {Object} [stack] Tracks traversed source values and their merged\n     *  counterparts.\n     */\n    function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {\n      var objValue = safeGet(object, key),\n          srcValue = safeGet(source, key),\n          stacked = stack.get(srcValue);\n\n      if (stacked) {\n        assignMergeValue(object, key, stacked);\n        return;\n      }\n      var newValue = customizer\n        ? customizer(objValue, srcValue, (key + ''), object, source, stack)\n        : undefined;\n\n      var isCommon = newValue === undefined;\n\n      if (isCommon) {\n        var isArr = isArray(srcValue),\n            isBuff = !isArr && isBuffer(srcValue),\n            isTyped = !isArr && !isBuff && isTypedArray(srcValue);\n\n        newValue = srcValue;\n        if (isArr || isBuff || isTyped) {\n          if (isArray(objValue)) {\n            newValue = objValue;\n          }\n          else if (isArrayLikeObject(objValue)) {\n            newValue = copyArray(objValue);\n          }\n          else if (isBuff) {\n            isCommon = false;\n            newValue = cloneBuffer(srcValue, true);\n          }\n          else if (isTyped) {\n            isCommon = false;\n            newValue = cloneTypedArray(srcValue, true);\n          }\n          else {\n            newValue = [];\n          }\n        }\n        else if (isPlainObject(srcValue) || isArguments(srcValue)) {\n          newValue = objValue;\n          if (isArguments(objValue)) {\n            newValue = toPlainObject(objValue);\n          }\n          else if (!isObject(objValue) || isFunction(objValue)) {\n            newValue = initCloneObject(srcValue);\n          }\n        }\n        else {\n          isCommon = false;\n        }\n      }\n      if (isCommon) {\n        // Recursively merge objects and arrays (susceptible to call stack limits).\n        stack.set(srcValue, newValue);\n        mergeFunc(newValue, srcValue, srcIndex, customizer, stack);\n        stack['delete'](srcValue);\n      }\n      assignMergeValue(object, key, newValue);\n    }\n\n    /**\n     * The base implementation of `_.nth` which doesn't coerce arguments.\n     *\n     * @private\n     * @param {Array} array The array to query.\n     * @param {number} n The index of the element to return.\n     * @returns {*} Returns the nth element of `array`.\n     */\n    function baseNth(array, n) {\n      var length = array.length;\n      if (!length) {\n        return;\n      }\n      n += n < 0 ? length : 0;\n      return isIndex(n, length) ? array[n] : undefined;\n    }\n\n    /**\n     * The base implementation of `_.orderBy` without param guards.\n     *\n     * @private\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.\n     * @param {string[]} orders The sort orders of `iteratees`.\n     * @returns {Array} Returns the new sorted array.\n     */\n    function baseOrderBy(collection, iteratees, orders) {\n      if (iteratees.length) {\n        iteratees = arrayMap(iteratees, function(iteratee) {\n          if (isArray(iteratee)) {\n            return function(value) {\n              return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);\n            }\n          }\n          return iteratee;\n        });\n      } else {\n        iteratees = [identity];\n      }\n\n      var index = -1;\n      iteratees = arrayMap(iteratees, baseUnary(getIteratee()));\n\n      var result = baseMap(collection, function(value, key, collection) {\n        var criteria = arrayMap(iteratees, function(iteratee) {\n          return iteratee(value);\n        });\n        return { 'criteria': criteria, 'index': ++index, 'value': value };\n      });\n\n      return baseSortBy(result, function(object, other) {\n        return compareMultiple(object, other, orders);\n      });\n    }\n\n    /**\n     * The base implementation of `_.pick` without support for individual\n     * property identifiers.\n     *\n     * @private\n     * @param {Object} object The source object.\n     * @param {string[]} paths The property paths to pick.\n     * @returns {Object} Returns the new object.\n     */\n    function basePick(object, paths) {\n      return basePickBy(object, paths, function(value, path) {\n        return hasIn(object, path);\n      });\n    }\n\n    /**\n     * The base implementation of  `_.pickBy` without support for iteratee shorthands.\n     *\n     * @private\n     * @param {Object} object The source object.\n     * @param {string[]} paths The property paths to pick.\n     * @param {Function} predicate The function invoked per property.\n     * @returns {Object} Returns the new object.\n     */\n    function basePickBy(object, paths, predicate) {\n      var index = -1,\n          length = paths.length,\n          result = {};\n\n      while (++index < length) {\n        var path = paths[index],\n            value = baseGet(object, path);\n\n        if (predicate(value, path)) {\n          baseSet(result, castPath(path, object), value);\n        }\n      }\n      return result;\n    }\n\n    /**\n     * A specialized version of `baseProperty` which supports deep paths.\n     *\n     * @private\n     * @param {Array|string} path The path of the property to get.\n     * @returns {Function} Returns the new accessor function.\n     */\n    function basePropertyDeep(path) {\n      return function(object) {\n        return baseGet(object, path);\n      };\n    }\n\n    /**\n     * The base implementation of `_.pullAllBy` without support for iteratee\n     * shorthands.\n     *\n     * @private\n     * @param {Array} array The array to modify.\n     * @param {Array} values The values to remove.\n     * @param {Function} [iteratee] The iteratee invoked per element.\n     * @param {Function} [comparator] The comparator invoked per element.\n     * @returns {Array} Returns `array`.\n     */\n    function basePullAll(array, values, iteratee, comparator) {\n      var indexOf = comparator ? baseIndexOfWith : baseIndexOf,\n          index = -1,\n          length = values.length,\n          seen = array;\n\n      if (array === values) {\n        values = copyArray(values);\n      }\n      if (iteratee) {\n        seen = arrayMap(array, baseUnary(iteratee));\n      }\n      while (++index < length) {\n        var fromIndex = 0,\n            value = values[index],\n            computed = iteratee ? iteratee(value) : value;\n\n        while ((fromIndex = indexOf(seen, computed, fromIndex, comparator)) > -1) {\n          if (seen !== array) {\n            splice.call(seen, fromIndex, 1);\n          }\n          splice.call(array, fromIndex, 1);\n        }\n      }\n      return array;\n    }\n\n    /**\n     * The base implementation of `_.pullAt` without support for individual\n     * indexes or capturing the removed elements.\n     *\n     * @private\n     * @param {Array} array The array to modify.\n     * @param {number[]} indexes The indexes of elements to remove.\n     * @returns {Array} Returns `array`.\n     */\n    function basePullAt(array, indexes) {\n      var length = array ? indexes.length : 0,\n          lastIndex = length - 1;\n\n      while (length--) {\n        var index = indexes[length];\n        if (length == lastIndex || index !== previous) {\n          var previous = index;\n          if (isIndex(index)) {\n            splice.call(array, index, 1);\n          } else {\n            baseUnset(array, index);\n          }\n        }\n      }\n      return array;\n    }\n\n    /**\n     * The base implementation of `_.random` without support for returning\n     * floating-point numbers.\n     *\n     * @private\n     * @param {number} lower The lower bound.\n     * @param {number} upper The upper bound.\n     * @returns {number} Returns the random number.\n     */\n    function baseRandom(lower, upper) {\n      return lower + nativeFloor(nativeRandom() * (upper - lower + 1));\n    }\n\n    /**\n     * The base implementation of `_.range` and `_.rangeRight` which doesn't\n     * coerce arguments.\n     *\n     * @private\n     * @param {number} start The start of the range.\n     * @param {number} end The end of the range.\n     * @param {number} step The value to increment or decrement by.\n     * @param {boolean} [fromRight] Specify iterating from right to left.\n     * @returns {Array} Returns the range of numbers.\n     */\n    function baseRange(start, end, step, fromRight) {\n      var index = -1,\n          length = nativeMax(nativeCeil((end - start) / (step || 1)), 0),\n          result = Array(length);\n\n      while (length--) {\n        result[fromRight ? length : ++index] = start;\n        start += step;\n      }\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.repeat` which doesn't coerce arguments.\n     *\n     * @private\n     * @param {string} string The string to repeat.\n     * @param {number} n The number of times to repeat the string.\n     * @returns {string} Returns the repeated string.\n     */\n    function baseRepeat(string, n) {\n      var result = '';\n      if (!string || n < 1 || n > MAX_SAFE_INTEGER) {\n        return result;\n      }\n      // Leverage the exponentiation by squaring algorithm for a faster repeat.\n      // See https://en.wikipedia.org/wiki/Exponentiation_by_squaring for more details.\n      do {\n        if (n % 2) {\n          result += string;\n        }\n        n = nativeFloor(n / 2);\n        if (n) {\n          string += string;\n        }\n      } while (n);\n\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n     *\n     * @private\n     * @param {Function} func The function to apply a rest parameter to.\n     * @param {number} [start=func.length-1] The start position of the rest parameter.\n     * @returns {Function} Returns the new function.\n     */\n    function baseRest(func, start) {\n      return setToString(overRest(func, start, identity), func + '');\n    }\n\n    /**\n     * The base implementation of `_.sample`.\n     *\n     * @private\n     * @param {Array|Object} collection The collection to sample.\n     * @returns {*} Returns the random element.\n     */\n    function baseSample(collection) {\n      return arraySample(values(collection));\n    }\n\n    /**\n     * The base implementation of `_.sampleSize` without param guards.\n     *\n     * @private\n     * @param {Array|Object} collection The collection to sample.\n     * @param {number} n The number of elements to sample.\n     * @returns {Array} Returns the random elements.\n     */\n    function baseSampleSize(collection, n) {\n      var array = values(collection);\n      return shuffleSelf(array, baseClamp(n, 0, array.length));\n    }\n\n    /**\n     * The base implementation of `_.set`.\n     *\n     * @private\n     * @param {Object} object The object to modify.\n     * @param {Array|string} path The path of the property to set.\n     * @param {*} value The value to set.\n     * @param {Function} [customizer] The function to customize path creation.\n     * @returns {Object} Returns `object`.\n     */\n    function baseSet(object, path, value, customizer) {\n      if (!isObject(object)) {\n        return object;\n      }\n      path = castPath(path, object);\n\n      var index = -1,\n          length = path.length,\n          lastIndex = length - 1,\n          nested = object;\n\n      while (nested != null && ++index < length) {\n        var key = toKey(path[index]),\n            newValue = value;\n\n        if (key === '__proto__' || key === 'constructor' || key === 'prototype') {\n          return object;\n        }\n\n        if (index != lastIndex) {\n          var objValue = nested[key];\n          newValue = customizer ? customizer(objValue, key, nested) : undefined;\n          if (newValue === undefined) {\n            newValue = isObject(objValue)\n              ? objValue\n              : (isIndex(path[index + 1]) ? [] : {});\n          }\n        }\n        assignValue(nested, key, newValue);\n        nested = nested[key];\n      }\n      return object;\n    }\n\n    /**\n     * The base implementation of `setData` without support for hot loop shorting.\n     *\n     * @private\n     * @param {Function} func The function to associate metadata with.\n     * @param {*} data The metadata.\n     * @returns {Function} Returns `func`.\n     */\n    var baseSetData = !metaMap ? identity : function(func, data) {\n      metaMap.set(func, data);\n      return func;\n    };\n\n    /**\n     * The base implementation of `setToString` without support for hot loop shorting.\n     *\n     * @private\n     * @param {Function} func The function to modify.\n     * @param {Function} string The `toString` result.\n     * @returns {Function} Returns `func`.\n     */\n    var baseSetToString = !defineProperty ? identity : function(func, string) {\n      return defineProperty(func, 'toString', {\n        'configurable': true,\n        'enumerable': false,\n        'value': constant(string),\n        'writable': true\n      });\n    };\n\n    /**\n     * The base implementation of `_.shuffle`.\n     *\n     * @private\n     * @param {Array|Object} collection The collection to shuffle.\n     * @returns {Array} Returns the new shuffled array.\n     */\n    function baseShuffle(collection) {\n      return shuffleSelf(values(collection));\n    }\n\n    /**\n     * The base implementation of `_.slice` without an iteratee call guard.\n     *\n     * @private\n     * @param {Array} array The array to slice.\n     * @param {number} [start=0] The start position.\n     * @param {number} [end=array.length] The end position.\n     * @returns {Array} Returns the slice of `array`.\n     */\n    function baseSlice(array, start, end) {\n      var index = -1,\n          length = array.length;\n\n      if (start < 0) {\n        start = -start > length ? 0 : (length + start);\n      }\n      end = end > length ? length : end;\n      if (end < 0) {\n        end += length;\n      }\n      length = start > end ? 0 : ((end - start) >>> 0);\n      start >>>= 0;\n\n      var result = Array(length);\n      while (++index < length) {\n        result[index] = array[index + start];\n      }\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.some` without support for iteratee shorthands.\n     *\n     * @private\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} predicate The function invoked per iteration.\n     * @returns {boolean} Returns `true` if any element passes the predicate check,\n     *  else `false`.\n     */\n    function baseSome(collection, predicate) {\n      var result;\n\n      baseEach(collection, function(value, index, collection) {\n        result = predicate(value, index, collection);\n        return !result;\n      });\n      return !!result;\n    }\n\n    /**\n     * The base implementation of `_.sortedIndex` and `_.sortedLastIndex` which\n     * performs a binary search of `array` to determine the index at which `value`\n     * should be inserted into `array` in order to maintain its sort order.\n     *\n     * @private\n     * @param {Array} array The sorted array to inspect.\n     * @param {*} value The value to evaluate.\n     * @param {boolean} [retHighest] Specify returning the highest qualified index.\n     * @returns {number} Returns the index at which `value` should be inserted\n     *  into `array`.\n     */\n    function baseSortedIndex(array, value, retHighest) {\n      var low = 0,\n          high = array == null ? low : array.length;\n\n      if (typeof value == 'number' && value === value && high <= HALF_MAX_ARRAY_LENGTH) {\n        while (low < high) {\n          var mid = (low + high) >>> 1,\n              computed = array[mid];\n\n          if (computed !== null && !isSymbol(computed) &&\n              (retHighest ? (computed <= value) : (computed < value))) {\n            low = mid + 1;\n          } else {\n            high = mid;\n          }\n        }\n        return high;\n      }\n      return baseSortedIndexBy(array, value, identity, retHighest);\n    }\n\n    /**\n     * The base implementation of `_.sortedIndexBy` and `_.sortedLastIndexBy`\n     * which invokes `iteratee` for `value` and each element of `array` to compute\n     * their sort ranking. The iteratee is invoked with one argument; (value).\n     *\n     * @private\n     * @param {Array} array The sorted array to inspect.\n     * @param {*} value The value to evaluate.\n     * @param {Function} iteratee The iteratee invoked per element.\n     * @param {boolean} [retHighest] Specify returning the highest qualified index.\n     * @returns {number} Returns the index at which `value` should be inserted\n     *  into `array`.\n     */\n    function baseSortedIndexBy(array, value, iteratee, retHighest) {\n      var low = 0,\n          high = array == null ? 0 : array.length;\n      if (high === 0) {\n        return 0;\n      }\n\n      value = iteratee(value);\n      var valIsNaN = value !== value,\n          valIsNull = value === null,\n          valIsSymbol = isSymbol(value),\n          valIsUndefined = value === undefined;\n\n      while (low < high) {\n        var mid = nativeFloor((low + high) / 2),\n            computed = iteratee(array[mid]),\n            othIsDefined = computed !== undefined,\n            othIsNull = computed === null,\n            othIsReflexive = computed === computed,\n            othIsSymbol = isSymbol(computed);\n\n        if (valIsNaN) {\n          var setLow = retHighest || othIsReflexive;\n        } else if (valIsUndefined) {\n          setLow = othIsReflexive && (retHighest || othIsDefined);\n        } else if (valIsNull) {\n          setLow = othIsReflexive && othIsDefined && (retHighest || !othIsNull);\n        } else if (valIsSymbol) {\n          setLow = othIsReflexive && othIsDefined && !othIsNull && (retHighest || !othIsSymbol);\n        } else if (othIsNull || othIsSymbol) {\n          setLow = false;\n        } else {\n          setLow = retHighest ? (computed <= value) : (computed < value);\n        }\n        if (setLow) {\n          low = mid + 1;\n        } else {\n          high = mid;\n        }\n      }\n      return nativeMin(high, MAX_ARRAY_INDEX);\n    }\n\n    /**\n     * The base implementation of `_.sortedUniq` and `_.sortedUniqBy` without\n     * support for iteratee shorthands.\n     *\n     * @private\n     * @param {Array} array The array to inspect.\n     * @param {Function} [iteratee] The iteratee invoked per element.\n     * @returns {Array} Returns the new duplicate free array.\n     */\n    function baseSortedUniq(array, iteratee) {\n      var index = -1,\n          length = array.length,\n          resIndex = 0,\n          result = [];\n\n      while (++index < length) {\n        var value = array[index],\n            computed = iteratee ? iteratee(value) : value;\n\n        if (!index || !eq(computed, seen)) {\n          var seen = computed;\n          result[resIndex++] = value === 0 ? 0 : value;\n        }\n      }\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.toNumber` which doesn't ensure correct\n     * conversions of binary, hexadecimal, or octal string values.\n     *\n     * @private\n     * @param {*} value The value to process.\n     * @returns {number} Returns the number.\n     */\n    function baseToNumber(value) {\n      if (typeof value == 'number') {\n        return value;\n      }\n      if (isSymbol(value)) {\n        return NAN;\n      }\n      return +value;\n    }\n\n    /**\n     * The base implementation of `_.toString` which doesn't convert nullish\n     * values to empty strings.\n     *\n     * @private\n     * @param {*} value The value to process.\n     * @returns {string} Returns the string.\n     */\n    function baseToString(value) {\n      // Exit early for strings to avoid a performance hit in some environments.\n      if (typeof value == 'string') {\n        return value;\n      }\n      if (isArray(value)) {\n        // Recursively convert values (susceptible to call stack limits).\n        return arrayMap(value, baseToString) + '';\n      }\n      if (isSymbol(value)) {\n        return symbolToString ? symbolToString.call(value) : '';\n      }\n      var result = (value + '');\n      return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n    }\n\n    /**\n     * The base implementation of `_.uniqBy` without support for iteratee shorthands.\n     *\n     * @private\n     * @param {Array} array The array to inspect.\n     * @param {Function} [iteratee] The iteratee invoked per element.\n     * @param {Function} [comparator] The comparator invoked per element.\n     * @returns {Array} Returns the new duplicate free array.\n     */\n    function baseUniq(array, iteratee, comparator) {\n      var index = -1,\n          includes = arrayIncludes,\n          length = array.length,\n          isCommon = true,\n          result = [],\n          seen = result;\n\n      if (comparator) {\n        isCommon = false;\n        includes = arrayIncludesWith;\n      }\n      else if (length >= LARGE_ARRAY_SIZE) {\n        var set = iteratee ? null : createSet(array);\n        if (set) {\n          return setToArray(set);\n        }\n        isCommon = false;\n        includes = cacheHas;\n        seen = new SetCache;\n      }\n      else {\n        seen = iteratee ? [] : result;\n      }\n      outer:\n      while (++index < length) {\n        var value = array[index],\n            computed = iteratee ? iteratee(value) : value;\n\n        value = (comparator || value !== 0) ? value : 0;\n        if (isCommon && computed === computed) {\n          var seenIndex = seen.length;\n          while (seenIndex--) {\n            if (seen[seenIndex] === computed) {\n              continue outer;\n            }\n          }\n          if (iteratee) {\n            seen.push(computed);\n          }\n          result.push(value);\n        }\n        else if (!includes(seen, computed, comparator)) {\n          if (seen !== result) {\n            seen.push(computed);\n          }\n          result.push(value);\n        }\n      }\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.unset`.\n     *\n     * @private\n     * @param {Object} object The object to modify.\n     * @param {Array|string} path The property path to unset.\n     * @returns {boolean} Returns `true` if the property is deleted, else `false`.\n     */\n    function baseUnset(object, path) {\n      path = castPath(path, object);\n      object = parent(object, path);\n      return object == null || delete object[toKey(last(path))];\n    }\n\n    /**\n     * The base implementation of `_.update`.\n     *\n     * @private\n     * @param {Object} object The object to modify.\n     * @param {Array|string} path The path of the property to update.\n     * @param {Function} updater The function to produce the updated value.\n     * @param {Function} [customizer] The function to customize path creation.\n     * @returns {Object} Returns `object`.\n     */\n    function baseUpdate(object, path, updater, customizer) {\n      return baseSet(object, path, updater(baseGet(object, path)), customizer);\n    }\n\n    /**\n     * The base implementation of methods like `_.dropWhile` and `_.takeWhile`\n     * without support for iteratee shorthands.\n     *\n     * @private\n     * @param {Array} array The array to query.\n     * @param {Function} predicate The function invoked per iteration.\n     * @param {boolean} [isDrop] Specify dropping elements instead of taking them.\n     * @param {boolean} [fromRight] Specify iterating from right to left.\n     * @returns {Array} Returns the slice of `array`.\n     */\n    function baseWhile(array, predicate, isDrop, fromRight) {\n      var length = array.length,\n          index = fromRight ? length : -1;\n\n      while ((fromRight ? index-- : ++index < length) &&\n        predicate(array[index], index, array)) {}\n\n      return isDrop\n        ? baseSlice(array, (fromRight ? 0 : index), (fromRight ? index + 1 : length))\n        : baseSlice(array, (fromRight ? index + 1 : 0), (fromRight ? length : index));\n    }\n\n    /**\n     * The base implementation of `wrapperValue` which returns the result of\n     * performing a sequence of actions on the unwrapped `value`, where each\n     * successive action is supplied the return value of the previous.\n     *\n     * @private\n     * @param {*} value The unwrapped value.\n     * @param {Array} actions Actions to perform to resolve the unwrapped value.\n     * @returns {*} Returns the resolved value.\n     */\n    function baseWrapperValue(value, actions) {\n      var result = value;\n      if (result instanceof LazyWrapper) {\n        result = result.value();\n      }\n      return arrayReduce(actions, function(result, action) {\n        return action.func.apply(action.thisArg, arrayPush([result], action.args));\n      }, result);\n    }\n\n    /**\n     * The base implementation of methods like `_.xor`, without support for\n     * iteratee shorthands, that accepts an array of arrays to inspect.\n     *\n     * @private\n     * @param {Array} arrays The arrays to inspect.\n     * @param {Function} [iteratee] The iteratee invoked per element.\n     * @param {Function} [comparator] The comparator invoked per element.\n     * @returns {Array} Returns the new array of values.\n     */\n    function baseXor(arrays, iteratee, comparator) {\n      var length = arrays.length;\n      if (length < 2) {\n        return length ? baseUniq(arrays[0]) : [];\n      }\n      var index = -1,\n          result = Array(length);\n\n      while (++index < length) {\n        var array = arrays[index],\n            othIndex = -1;\n\n        while (++othIndex < length) {\n          if (othIndex != index) {\n            result[index] = baseDifference(result[index] || array, arrays[othIndex], iteratee, comparator);\n          }\n        }\n      }\n      return baseUniq(baseFlatten(result, 1), iteratee, comparator);\n    }\n\n    /**\n     * This base implementation of `_.zipObject` which assigns values using `assignFunc`.\n     *\n     * @private\n     * @param {Array} props The property identifiers.\n     * @param {Array} values The property values.\n     * @param {Function} assignFunc The function to assign values.\n     * @returns {Object} Returns the new object.\n     */\n    function baseZipObject(props, values, assignFunc) {\n      var index = -1,\n          length = props.length,\n          valsLength = values.length,\n          result = {};\n\n      while (++index < length) {\n        var value = index < valsLength ? values[index] : undefined;\n        assignFunc(result, props[index], value);\n      }\n      return result;\n    }\n\n    /**\n     * Casts `value` to an empty array if it's not an array like object.\n     *\n     * @private\n     * @param {*} value The value to inspect.\n     * @returns {Array|Object} Returns the cast array-like object.\n     */\n    function castArrayLikeObject(value) {\n      return isArrayLikeObject(value) ? value : [];\n    }\n\n    /**\n     * Casts `value` to `identity` if it's not a function.\n     *\n     * @private\n     * @param {*} value The value to inspect.\n     * @returns {Function} Returns cast function.\n     */\n    function castFunction(value) {\n      return typeof value == 'function' ? value : identity;\n    }\n\n    /**\n     * Casts `value` to a path array if it's not one.\n     *\n     * @private\n     * @param {*} value The value to inspect.\n     * @param {Object} [object] The object to query keys on.\n     * @returns {Array} Returns the cast property path array.\n     */\n    function castPath(value, object) {\n      if (isArray(value)) {\n        return value;\n      }\n      return isKey(value, object) ? [value] : stringToPath(toString(value));\n    }\n\n    /**\n     * A `baseRest` alias which can be replaced with `identity` by module\n     * replacement plugins.\n     *\n     * @private\n     * @type {Function}\n     * @param {Function} func The function to apply a rest parameter to.\n     * @returns {Function} Returns the new function.\n     */\n    var castRest = baseRest;\n\n    /**\n     * Casts `array` to a slice if it's needed.\n     *\n     * @private\n     * @param {Array} array The array to inspect.\n     * @param {number} start The start position.\n     * @param {number} [end=array.length] The end position.\n     * @returns {Array} Returns the cast slice.\n     */\n    function castSlice(array, start, end) {\n      var length = array.length;\n      end = end === undefined ? length : end;\n      return (!start && end >= length) ? array : baseSlice(array, start, end);\n    }\n\n    /**\n     * A simple wrapper around the global [`clearTimeout`](https://mdn.io/clearTimeout).\n     *\n     * @private\n     * @param {number|Object} id The timer id or timeout object of the timer to clear.\n     */\n    var clearTimeout = ctxClearTimeout || function(id) {\n      return root.clearTimeout(id);\n    };\n\n    /**\n     * Creates a clone of  `buffer`.\n     *\n     * @private\n     * @param {Buffer} buffer The buffer to clone.\n     * @param {boolean} [isDeep] Specify a deep clone.\n     * @returns {Buffer} Returns the cloned buffer.\n     */\n    function cloneBuffer(buffer, isDeep) {\n      if (isDeep) {\n        return buffer.slice();\n      }\n      var length = buffer.length,\n          result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n      buffer.copy(result);\n      return result;\n    }\n\n    /**\n     * Creates a clone of `arrayBuffer`.\n     *\n     * @private\n     * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n     * @returns {ArrayBuffer} Returns the cloned array buffer.\n     */\n    function cloneArrayBuffer(arrayBuffer) {\n      var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n      new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n      return result;\n    }\n\n    /**\n     * Creates a clone of `dataView`.\n     *\n     * @private\n     * @param {Object} dataView The data view to clone.\n     * @param {boolean} [isDeep] Specify a deep clone.\n     * @returns {Object} Returns the cloned data view.\n     */\n    function cloneDataView(dataView, isDeep) {\n      var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n      return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n    }\n\n    /**\n     * Creates a clone of `regexp`.\n     *\n     * @private\n     * @param {Object} regexp The regexp to clone.\n     * @returns {Object} Returns the cloned regexp.\n     */\n    function cloneRegExp(regexp) {\n      var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n      result.lastIndex = regexp.lastIndex;\n      return result;\n    }\n\n    /**\n     * Creates a clone of the `symbol` object.\n     *\n     * @private\n     * @param {Object} symbol The symbol object to clone.\n     * @returns {Object} Returns the cloned symbol object.\n     */\n    function cloneSymbol(symbol) {\n      return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n    }\n\n    /**\n     * Creates a clone of `typedArray`.\n     *\n     * @private\n     * @param {Object} typedArray The typed array to clone.\n     * @param {boolean} [isDeep] Specify a deep clone.\n     * @returns {Object} Returns the cloned typed array.\n     */\n    function cloneTypedArray(typedArray, isDeep) {\n      var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n      return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n    }\n\n    /**\n     * Compares values to sort them in ascending order.\n     *\n     * @private\n     * @param {*} value The value to compare.\n     * @param {*} other The other value to compare.\n     * @returns {number} Returns the sort order indicator for `value`.\n     */\n    function compareAscending(value, other) {\n      if (value !== other) {\n        var valIsDefined = value !== undefined,\n            valIsNull = value === null,\n            valIsReflexive = value === value,\n            valIsSymbol = isSymbol(value);\n\n        var othIsDefined = other !== undefined,\n            othIsNull = other === null,\n            othIsReflexive = other === other,\n            othIsSymbol = isSymbol(other);\n\n        if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) ||\n            (valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) ||\n            (valIsNull && othIsDefined && othIsReflexive) ||\n            (!valIsDefined && othIsReflexive) ||\n            !valIsReflexive) {\n          return 1;\n        }\n        if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) ||\n            (othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) ||\n            (othIsNull && valIsDefined && valIsReflexive) ||\n            (!othIsDefined && valIsReflexive) ||\n            !othIsReflexive) {\n          return -1;\n        }\n      }\n      return 0;\n    }\n\n    /**\n     * Used by `_.orderBy` to compare multiple properties of a value to another\n     * and stable sort them.\n     *\n     * If `orders` is unspecified, all values are sorted in ascending order. Otherwise,\n     * specify an order of \"desc\" for descending or \"asc\" for ascending sort order\n     * of corresponding values.\n     *\n     * @private\n     * @param {Object} object The object to compare.\n     * @param {Object} other The other object to compare.\n     * @param {boolean[]|string[]} orders The order to sort by for each property.\n     * @returns {number} Returns the sort order indicator for `object`.\n     */\n    function compareMultiple(object, other, orders) {\n      var index = -1,\n          objCriteria = object.criteria,\n          othCriteria = other.criteria,\n          length = objCriteria.length,\n          ordersLength = orders.length;\n\n      while (++index < length) {\n        var result = compareAscending(objCriteria[index], othCriteria[index]);\n        if (result) {\n          if (index >= ordersLength) {\n            return result;\n          }\n          var order = orders[index];\n          return result * (order == 'desc' ? -1 : 1);\n        }\n      }\n      // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications\n      // that causes it, under certain circumstances, to provide the same value for\n      // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247\n      // for more details.\n      //\n      // This also ensures a stable sort in V8 and other engines.\n      // See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details.\n      return object.index - other.index;\n    }\n\n    /**\n     * Creates an array that is the composition of partially applied arguments,\n     * placeholders, and provided arguments into a single array of arguments.\n     *\n     * @private\n     * @param {Array} args The provided arguments.\n     * @param {Array} partials The arguments to prepend to those provided.\n     * @param {Array} holders The `partials` placeholder indexes.\n     * @params {boolean} [isCurried] Specify composing for a curried function.\n     * @returns {Array} Returns the new array of composed arguments.\n     */\n    function composeArgs(args, partials, holders, isCurried) {\n      var argsIndex = -1,\n          argsLength = args.length,\n          holdersLength = holders.length,\n          leftIndex = -1,\n          leftLength = partials.length,\n          rangeLength = nativeMax(argsLength - holdersLength, 0),\n          result = Array(leftLength + rangeLength),\n          isUncurried = !isCurried;\n\n      while (++leftIndex < leftLength) {\n        result[leftIndex] = partials[leftIndex];\n      }\n      while (++argsIndex < holdersLength) {\n        if (isUncurried || argsIndex < argsLength) {\n          result[holders[argsIndex]] = args[argsIndex];\n        }\n      }\n      while (rangeLength--) {\n        result[leftIndex++] = args[argsIndex++];\n      }\n      return result;\n    }\n\n    /**\n     * This function is like `composeArgs` except that the arguments composition\n     * is tailored for `_.partialRight`.\n     *\n     * @private\n     * @param {Array} args The provided arguments.\n     * @param {Array} partials The arguments to append to those provided.\n     * @param {Array} holders The `partials` placeholder indexes.\n     * @params {boolean} [isCurried] Specify composing for a curried function.\n     * @returns {Array} Returns the new array of composed arguments.\n     */\n    function composeArgsRight(args, partials, holders, isCurried) {\n      var argsIndex = -1,\n          argsLength = args.length,\n          holdersIndex = -1,\n          holdersLength = holders.length,\n          rightIndex = -1,\n          rightLength = partials.length,\n          rangeLength = nativeMax(argsLength - holdersLength, 0),\n          result = Array(rangeLength + rightLength),\n          isUncurried = !isCurried;\n\n      while (++argsIndex < rangeLength) {\n        result[argsIndex] = args[argsIndex];\n      }\n      var offset = argsIndex;\n      while (++rightIndex < rightLength) {\n        result[offset + rightIndex] = partials[rightIndex];\n      }\n      while (++holdersIndex < holdersLength) {\n        if (isUncurried || argsIndex < argsLength) {\n          result[offset + holders[holdersIndex]] = args[argsIndex++];\n        }\n      }\n      return result;\n    }\n\n    /**\n     * Copies the values of `source` to `array`.\n     *\n     * @private\n     * @param {Array} source The array to copy values from.\n     * @param {Array} [array=[]] The array to copy values to.\n     * @returns {Array} Returns `array`.\n     */\n    function copyArray(source, array) {\n      var index = -1,\n          length = source.length;\n\n      array || (array = Array(length));\n      while (++index < length) {\n        array[index] = source[index];\n      }\n      return array;\n    }\n\n    /**\n     * Copies properties of `source` to `object`.\n     *\n     * @private\n     * @param {Object} source The object to copy properties from.\n     * @param {Array} props The property identifiers to copy.\n     * @param {Object} [object={}] The object to copy properties to.\n     * @param {Function} [customizer] The function to customize copied values.\n     * @returns {Object} Returns `object`.\n     */\n    function copyObject(source, props, object, customizer) {\n      var isNew = !object;\n      object || (object = {});\n\n      var index = -1,\n          length = props.length;\n\n      while (++index < length) {\n        var key = props[index];\n\n        var newValue = customizer\n          ? customizer(object[key], source[key], key, object, source)\n          : undefined;\n\n        if (newValue === undefined) {\n          newValue = source[key];\n        }\n        if (isNew) {\n          baseAssignValue(object, key, newValue);\n        } else {\n          assignValue(object, key, newValue);\n        }\n      }\n      return object;\n    }\n\n    /**\n     * Copies own symbols of `source` to `object`.\n     *\n     * @private\n     * @param {Object} source The object to copy symbols from.\n     * @param {Object} [object={}] The object to copy symbols to.\n     * @returns {Object} Returns `object`.\n     */\n    function copySymbols(source, object) {\n      return copyObject(source, getSymbols(source), object);\n    }\n\n    /**\n     * Copies own and inherited symbols of `source` to `object`.\n     *\n     * @private\n     * @param {Object} source The object to copy symbols from.\n     * @param {Object} [object={}] The object to copy symbols to.\n     * @returns {Object} Returns `object`.\n     */\n    function copySymbolsIn(source, object) {\n      return copyObject(source, getSymbolsIn(source), object);\n    }\n\n    /**\n     * Creates a function like `_.groupBy`.\n     *\n     * @private\n     * @param {Function} setter The function to set accumulator values.\n     * @param {Function} [initializer] The accumulator object initializer.\n     * @returns {Function} Returns the new aggregator function.\n     */\n    function createAggregator(setter, initializer) {\n      return function(collection, iteratee) {\n        var func = isArray(collection) ? arrayAggregator : baseAggregator,\n            accumulator = initializer ? initializer() : {};\n\n        return func(collection, setter, getIteratee(iteratee, 2), accumulator);\n      };\n    }\n\n    /**\n     * Creates a function like `_.assign`.\n     *\n     * @private\n     * @param {Function} assigner The function to assign values.\n     * @returns {Function} Returns the new assigner function.\n     */\n    function createAssigner(assigner) {\n      return baseRest(function(object, sources) {\n        var index = -1,\n            length = sources.length,\n            customizer = length > 1 ? sources[length - 1] : undefined,\n            guard = length > 2 ? sources[2] : undefined;\n\n        customizer = (assigner.length > 3 && typeof customizer == 'function')\n          ? (length--, customizer)\n          : undefined;\n\n        if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n          customizer = length < 3 ? undefined : customizer;\n          length = 1;\n        }\n        object = Object(object);\n        while (++index < length) {\n          var source = sources[index];\n          if (source) {\n            assigner(object, source, index, customizer);\n          }\n        }\n        return object;\n      });\n    }\n\n    /**\n     * Creates a `baseEach` or `baseEachRight` function.\n     *\n     * @private\n     * @param {Function} eachFunc The function to iterate over a collection.\n     * @param {boolean} [fromRight] Specify iterating from right to left.\n     * @returns {Function} Returns the new base function.\n     */\n    function createBaseEach(eachFunc, fromRight) {\n      return function(collection, iteratee) {\n        if (collection == null) {\n          return collection;\n        }\n        if (!isArrayLike(collection)) {\n          return eachFunc(collection, iteratee);\n        }\n        var length = collection.length,\n            index = fromRight ? length : -1,\n            iterable = Object(collection);\n\n        while ((fromRight ? index-- : ++index < length)) {\n          if (iteratee(iterable[index], index, iterable) === false) {\n            break;\n          }\n        }\n        return collection;\n      };\n    }\n\n    /**\n     * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n     *\n     * @private\n     * @param {boolean} [fromRight] Specify iterating from right to left.\n     * @returns {Function} Returns the new base function.\n     */\n    function createBaseFor(fromRight) {\n      return function(object, iteratee, keysFunc) {\n        var index = -1,\n            iterable = Object(object),\n            props = keysFunc(object),\n            length = props.length;\n\n        while (length--) {\n          var key = props[fromRight ? length : ++index];\n          if (iteratee(iterable[key], key, iterable) === false) {\n            break;\n          }\n        }\n        return object;\n      };\n    }\n\n    /**\n     * Creates a function that wraps `func` to invoke it with the optional `this`\n     * binding of `thisArg`.\n     *\n     * @private\n     * @param {Function} func The function to wrap.\n     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n     * @param {*} [thisArg] The `this` binding of `func`.\n     * @returns {Function} Returns the new wrapped function.\n     */\n    function createBind(func, bitmask, thisArg) {\n      var isBind = bitmask & WRAP_BIND_FLAG,\n          Ctor = createCtor(func);\n\n      function wrapper() {\n        var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n        return fn.apply(isBind ? thisArg : this, arguments);\n      }\n      return wrapper;\n    }\n\n    /**\n     * Creates a function like `_.lowerFirst`.\n     *\n     * @private\n     * @param {string} methodName The name of the `String` case method to use.\n     * @returns {Function} Returns the new case function.\n     */\n    function createCaseFirst(methodName) {\n      return function(string) {\n        string = toString(string);\n\n        var strSymbols = hasUnicode(string)\n          ? stringToArray(string)\n          : undefined;\n\n        var chr = strSymbols\n          ? strSymbols[0]\n          : string.charAt(0);\n\n        var trailing = strSymbols\n          ? castSlice(strSymbols, 1).join('')\n          : string.slice(1);\n\n        return chr[methodName]() + trailing;\n      };\n    }\n\n    /**\n     * Creates a function like `_.camelCase`.\n     *\n     * @private\n     * @param {Function} callback The function to combine each word.\n     * @returns {Function} Returns the new compounder function.\n     */\n    function createCompounder(callback) {\n      return function(string) {\n        return arrayReduce(words(deburr(string).replace(reApos, '')), callback, '');\n      };\n    }\n\n    /**\n     * Creates a function that produces an instance of `Ctor` regardless of\n     * whether it was invoked as part of a `new` expression or by `call` or `apply`.\n     *\n     * @private\n     * @param {Function} Ctor The constructor to wrap.\n     * @returns {Function} Returns the new wrapped function.\n     */\n    function createCtor(Ctor) {\n      return function() {\n        // Use a `switch` statement to work with class constructors. See\n        // http://ecma-international.org/ecma-262/7.0/#sec-ecmascript-function-objects-call-thisargument-argumentslist\n        // for more details.\n        var args = arguments;\n        switch (args.length) {\n          case 0: return new Ctor;\n          case 1: return new Ctor(args[0]);\n          case 2: return new Ctor(args[0], args[1]);\n          case 3: return new Ctor(args[0], args[1], args[2]);\n          case 4: return new Ctor(args[0], args[1], args[2], args[3]);\n          case 5: return new Ctor(args[0], args[1], args[2], args[3], args[4]);\n          case 6: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5]);\n          case 7: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5], args[6]);\n        }\n        var thisBinding = baseCreate(Ctor.prototype),\n            result = Ctor.apply(thisBinding, args);\n\n        // Mimic the constructor's `return` behavior.\n        // See https://es5.github.io/#x13.2.2 for more details.\n        return isObject(result) ? result : thisBinding;\n      };\n    }\n\n    /**\n     * Creates a function that wraps `func` to enable currying.\n     *\n     * @private\n     * @param {Function} func The function to wrap.\n     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n     * @param {number} arity The arity of `func`.\n     * @returns {Function} Returns the new wrapped function.\n     */\n    function createCurry(func, bitmask, arity) {\n      var Ctor = createCtor(func);\n\n      function wrapper() {\n        var length = arguments.length,\n            args = Array(length),\n            index = length,\n            placeholder = getHolder(wrapper);\n\n        while (index--) {\n          args[index] = arguments[index];\n        }\n        var holders = (length < 3 && args[0] !== placeholder && args[length - 1] !== placeholder)\n          ? []\n          : replaceHolders(args, placeholder);\n\n        length -= holders.length;\n        if (length < arity) {\n          return createRecurry(\n            func, bitmask, createHybrid, wrapper.placeholder, undefined,\n            args, holders, undefined, undefined, arity - length);\n        }\n        var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n        return apply(fn, this, args);\n      }\n      return wrapper;\n    }\n\n    /**\n     * Creates a `_.find` or `_.findLast` function.\n     *\n     * @private\n     * @param {Function} findIndexFunc The function to find the collection index.\n     * @returns {Function} Returns the new find function.\n     */\n    function createFind(findIndexFunc) {\n      return function(collection, predicate, fromIndex) {\n        var iterable = Object(collection);\n        if (!isArrayLike(collection)) {\n          var iteratee = getIteratee(predicate, 3);\n          collection = keys(collection);\n          predicate = function(key) { return iteratee(iterable[key], key, iterable); };\n        }\n        var index = findIndexFunc(collection, predicate, fromIndex);\n        return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined;\n      };\n    }\n\n    /**\n     * Creates a `_.flow` or `_.flowRight` function.\n     *\n     * @private\n     * @param {boolean} [fromRight] Specify iterating from right to left.\n     * @returns {Function} Returns the new flow function.\n     */\n    function createFlow(fromRight) {\n      return flatRest(function(funcs) {\n        var length = funcs.length,\n            index = length,\n            prereq = LodashWrapper.prototype.thru;\n\n        if (fromRight) {\n          funcs.reverse();\n        }\n        while (index--) {\n          var func = funcs[index];\n          if (typeof func != 'function') {\n            throw new TypeError(FUNC_ERROR_TEXT);\n          }\n          if (prereq && !wrapper && getFuncName(func) == 'wrapper') {\n            var wrapper = new LodashWrapper([], true);\n          }\n        }\n        index = wrapper ? index : length;\n        while (++index < length) {\n          func = funcs[index];\n\n          var funcName = getFuncName(func),\n              data = funcName == 'wrapper' ? getData(func) : undefined;\n\n          if (data && isLaziable(data[0]) &&\n                data[1] == (WRAP_ARY_FLAG | WRAP_CURRY_FLAG | WRAP_PARTIAL_FLAG | WRAP_REARG_FLAG) &&\n                !data[4].length && data[9] == 1\n              ) {\n            wrapper = wrapper[getFuncName(data[0])].apply(wrapper, data[3]);\n          } else {\n            wrapper = (func.length == 1 && isLaziable(func))\n              ? wrapper[funcName]()\n              : wrapper.thru(func);\n          }\n        }\n        return function() {\n          var args = arguments,\n              value = args[0];\n\n          if (wrapper && args.length == 1 && isArray(value)) {\n            return wrapper.plant(value).value();\n          }\n          var index = 0,\n              result = length ? funcs[index].apply(this, args) : value;\n\n          while (++index < length) {\n            result = funcs[index].call(this, result);\n          }\n          return result;\n        };\n      });\n    }\n\n    /**\n     * Creates a function that wraps `func` to invoke it with optional `this`\n     * binding of `thisArg`, partial application, and currying.\n     *\n     * @private\n     * @param {Function|string} func The function or method name to wrap.\n     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n     * @param {*} [thisArg] The `this` binding of `func`.\n     * @param {Array} [partials] The arguments to prepend to those provided to\n     *  the new function.\n     * @param {Array} [holders] The `partials` placeholder indexes.\n     * @param {Array} [partialsRight] The arguments to append to those provided\n     *  to the new function.\n     * @param {Array} [holdersRight] The `partialsRight` placeholder indexes.\n     * @param {Array} [argPos] The argument positions of the new function.\n     * @param {number} [ary] The arity cap of `func`.\n     * @param {number} [arity] The arity of `func`.\n     * @returns {Function} Returns the new wrapped function.\n     */\n    function createHybrid(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity) {\n      var isAry = bitmask & WRAP_ARY_FLAG,\n          isBind = bitmask & WRAP_BIND_FLAG,\n          isBindKey = bitmask & WRAP_BIND_KEY_FLAG,\n          isCurried = bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG),\n          isFlip = bitmask & WRAP_FLIP_FLAG,\n          Ctor = isBindKey ? undefined : createCtor(func);\n\n      function wrapper() {\n        var length = arguments.length,\n            args = Array(length),\n            index = length;\n\n        while (index--) {\n          args[index] = arguments[index];\n        }\n        if (isCurried) {\n          var placeholder = getHolder(wrapper),\n              holdersCount = countHolders(args, placeholder);\n        }\n        if (partials) {\n          args = composeArgs(args, partials, holders, isCurried);\n        }\n        if (partialsRight) {\n          args = composeArgsRight(args, partialsRight, holdersRight, isCurried);\n        }\n        length -= holdersCount;\n        if (isCurried && length < arity) {\n          var newHolders = replaceHolders(args, placeholder);\n          return createRecurry(\n            func, bitmask, createHybrid, wrapper.placeholder, thisArg,\n            args, newHolders, argPos, ary, arity - length\n          );\n        }\n        var thisBinding = isBind ? thisArg : this,\n            fn = isBindKey ? thisBinding[func] : func;\n\n        length = args.length;\n        if (argPos) {\n          args = reorder(args, argPos);\n        } else if (isFlip && length > 1) {\n          args.reverse();\n        }\n        if (isAry && ary < length) {\n          args.length = ary;\n        }\n        if (this && this !== root && this instanceof wrapper) {\n          fn = Ctor || createCtor(fn);\n        }\n        return fn.apply(thisBinding, args);\n      }\n      return wrapper;\n    }\n\n    /**\n     * Creates a function like `_.invertBy`.\n     *\n     * @private\n     * @param {Function} setter The function to set accumulator values.\n     * @param {Function} toIteratee The function to resolve iteratees.\n     * @returns {Function} Returns the new inverter function.\n     */\n    function createInverter(setter, toIteratee) {\n      return function(object, iteratee) {\n        return baseInverter(object, setter, toIteratee(iteratee), {});\n      };\n    }\n\n    /**\n     * Creates a function that performs a mathematical operation on two values.\n     *\n     * @private\n     * @param {Function} operator The function to perform the operation.\n     * @param {number} [defaultValue] The value used for `undefined` arguments.\n     * @returns {Function} Returns the new mathematical operation function.\n     */\n    function createMathOperation(operator, defaultValue) {\n      return function(value, other) {\n        var result;\n        if (value === undefined && other === undefined) {\n          return defaultValue;\n        }\n        if (value !== undefined) {\n          result = value;\n        }\n        if (other !== undefined) {\n          if (result === undefined) {\n            return other;\n          }\n          if (typeof value == 'string' || typeof other == 'string') {\n            value = baseToString(value);\n            other = baseToString(other);\n          } else {\n            value = baseToNumber(value);\n            other = baseToNumber(other);\n          }\n          result = operator(value, other);\n        }\n        return result;\n      };\n    }\n\n    /**\n     * Creates a function like `_.over`.\n     *\n     * @private\n     * @param {Function} arrayFunc The function to iterate over iteratees.\n     * @returns {Function} Returns the new over function.\n     */\n    function createOver(arrayFunc) {\n      return flatRest(function(iteratees) {\n        iteratees = arrayMap(iteratees, baseUnary(getIteratee()));\n        return baseRest(function(args) {\n          var thisArg = this;\n          return arrayFunc(iteratees, function(iteratee) {\n            return apply(iteratee, thisArg, args);\n          });\n        });\n      });\n    }\n\n    /**\n     * Creates the padding for `string` based on `length`. The `chars` string\n     * is truncated if the number of characters exceeds `length`.\n     *\n     * @private\n     * @param {number} length The padding length.\n     * @param {string} [chars=' '] The string used as padding.\n     * @returns {string} Returns the padding for `string`.\n     */\n    function createPadding(length, chars) {\n      chars = chars === undefined ? ' ' : baseToString(chars);\n\n      var charsLength = chars.length;\n      if (charsLength < 2) {\n        return charsLength ? baseRepeat(chars, length) : chars;\n      }\n      var result = baseRepeat(chars, nativeCeil(length / stringSize(chars)));\n      return hasUnicode(chars)\n        ? castSlice(stringToArray(result), 0, length).join('')\n        : result.slice(0, length);\n    }\n\n    /**\n     * Creates a function that wraps `func` to invoke it with the `this` binding\n     * of `thisArg` and `partials` prepended to the arguments it receives.\n     *\n     * @private\n     * @param {Function} func The function to wrap.\n     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n     * @param {*} thisArg The `this` binding of `func`.\n     * @param {Array} partials The arguments to prepend to those provided to\n     *  the new function.\n     * @returns {Function} Returns the new wrapped function.\n     */\n    function createPartial(func, bitmask, thisArg, partials) {\n      var isBind = bitmask & WRAP_BIND_FLAG,\n          Ctor = createCtor(func);\n\n      function wrapper() {\n        var argsIndex = -1,\n            argsLength = arguments.length,\n            leftIndex = -1,\n            leftLength = partials.length,\n            args = Array(leftLength + argsLength),\n            fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n\n        while (++leftIndex < leftLength) {\n          args[leftIndex] = partials[leftIndex];\n        }\n        while (argsLength--) {\n          args[leftIndex++] = arguments[++argsIndex];\n        }\n        return apply(fn, isBind ? thisArg : this, args);\n      }\n      return wrapper;\n    }\n\n    /**\n     * Creates a `_.range` or `_.rangeRight` function.\n     *\n     * @private\n     * @param {boolean} [fromRight] Specify iterating from right to left.\n     * @returns {Function} Returns the new range function.\n     */\n    function createRange(fromRight) {\n      return function(start, end, step) {\n        if (step && typeof step != 'number' && isIterateeCall(start, end, step)) {\n          end = step = undefined;\n        }\n        // Ensure the sign of `-0` is preserved.\n        start = toFinite(start);\n        if (end === undefined) {\n          end = start;\n          start = 0;\n        } else {\n          end = toFinite(end);\n        }\n        step = step === undefined ? (start < end ? 1 : -1) : toFinite(step);\n        return baseRange(start, end, step, fromRight);\n      };\n    }\n\n    /**\n     * Creates a function that performs a relational operation on two values.\n     *\n     * @private\n     * @param {Function} operator The function to perform the operation.\n     * @returns {Function} Returns the new relational operation function.\n     */\n    function createRelationalOperation(operator) {\n      return function(value, other) {\n        if (!(typeof value == 'string' && typeof other == 'string')) {\n          value = toNumber(value);\n          other = toNumber(other);\n        }\n        return operator(value, other);\n      };\n    }\n\n    /**\n     * Creates a function that wraps `func` to continue currying.\n     *\n     * @private\n     * @param {Function} func The function to wrap.\n     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n     * @param {Function} wrapFunc The function to create the `func` wrapper.\n     * @param {*} placeholder The placeholder value.\n     * @param {*} [thisArg] The `this` binding of `func`.\n     * @param {Array} [partials] The arguments to prepend to those provided to\n     *  the new function.\n     * @param {Array} [holders] The `partials` placeholder indexes.\n     * @param {Array} [argPos] The argument positions of the new function.\n     * @param {number} [ary] The arity cap of `func`.\n     * @param {number} [arity] The arity of `func`.\n     * @returns {Function} Returns the new wrapped function.\n     */\n    function createRecurry(func, bitmask, wrapFunc, placeholder, thisArg, partials, holders, argPos, ary, arity) {\n      var isCurry = bitmask & WRAP_CURRY_FLAG,\n          newHolders = isCurry ? holders : undefined,\n          newHoldersRight = isCurry ? undefined : holders,\n          newPartials = isCurry ? partials : undefined,\n          newPartialsRight = isCurry ? undefined : partials;\n\n      bitmask |= (isCurry ? WRAP_PARTIAL_FLAG : WRAP_PARTIAL_RIGHT_FLAG);\n      bitmask &= ~(isCurry ? WRAP_PARTIAL_RIGHT_FLAG : WRAP_PARTIAL_FLAG);\n\n      if (!(bitmask & WRAP_CURRY_BOUND_FLAG)) {\n        bitmask &= ~(WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG);\n      }\n      var newData = [\n        func, bitmask, thisArg, newPartials, newHolders, newPartialsRight,\n        newHoldersRight, argPos, ary, arity\n      ];\n\n      var result = wrapFunc.apply(undefined, newData);\n      if (isLaziable(func)) {\n        setData(result, newData);\n      }\n      result.placeholder = placeholder;\n      return setWrapToString(result, func, bitmask);\n    }\n\n    /**\n     * Creates a function like `_.round`.\n     *\n     * @private\n     * @param {string} methodName The name of the `Math` method to use when rounding.\n     * @returns {Function} Returns the new round function.\n     */\n    function createRound(methodName) {\n      var func = Math[methodName];\n      return function(number, precision) {\n        number = toNumber(number);\n        precision = precision == null ? 0 : nativeMin(toInteger(precision), 292);\n        if (precision && nativeIsFinite(number)) {\n          // Shift with exponential notation to avoid floating-point issues.\n          // See [MDN](https://mdn.io/round#Examples) for more details.\n          var pair = (toString(number) + 'e').split('e'),\n              value = func(pair[0] + 'e' + (+pair[1] + precision));\n\n          pair = (toString(value) + 'e').split('e');\n          return +(pair[0] + 'e' + (+pair[1] - precision));\n        }\n        return func(number);\n      };\n    }\n\n    /**\n     * Creates a set object of `values`.\n     *\n     * @private\n     * @param {Array} values The values to add to the set.\n     * @returns {Object} Returns the new set.\n     */\n    var createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) {\n      return new Set(values);\n    };\n\n    /**\n     * Creates a `_.toPairs` or `_.toPairsIn` function.\n     *\n     * @private\n     * @param {Function} keysFunc The function to get the keys of a given object.\n     * @returns {Function} Returns the new pairs function.\n     */\n    function createToPairs(keysFunc) {\n      return function(object) {\n        var tag = getTag(object);\n        if (tag == mapTag) {\n          return mapToArray(object);\n        }\n        if (tag == setTag) {\n          return setToPairs(object);\n        }\n        return baseToPairs(object, keysFunc(object));\n      };\n    }\n\n    /**\n     * Creates a function that either curries or invokes `func` with optional\n     * `this` binding and partially applied arguments.\n     *\n     * @private\n     * @param {Function|string} func The function or method name to wrap.\n     * @param {number} bitmask The bitmask flags.\n     *    1 - `_.bind`\n     *    2 - `_.bindKey`\n     *    4 - `_.curry` or `_.curryRight` of a bound function\n     *    8 - `_.curry`\n     *   16 - `_.curryRight`\n     *   32 - `_.partial`\n     *   64 - `_.partialRight`\n     *  128 - `_.rearg`\n     *  256 - `_.ary`\n     *  512 - `_.flip`\n     * @param {*} [thisArg] The `this` binding of `func`.\n     * @param {Array} [partials] The arguments to be partially applied.\n     * @param {Array} [holders] The `partials` placeholder indexes.\n     * @param {Array} [argPos] The argument positions of the new function.\n     * @param {number} [ary] The arity cap of `func`.\n     * @param {number} [arity] The arity of `func`.\n     * @returns {Function} Returns the new wrapped function.\n     */\n    function createWrap(func, bitmask, thisArg, partials, holders, argPos, ary, arity) {\n      var isBindKey = bitmask & WRAP_BIND_KEY_FLAG;\n      if (!isBindKey && typeof func != 'function') {\n        throw new TypeError(FUNC_ERROR_TEXT);\n      }\n      var length = partials ? partials.length : 0;\n      if (!length) {\n        bitmask &= ~(WRAP_PARTIAL_FLAG | WRAP_PARTIAL_RIGHT_FLAG);\n        partials = holders = undefined;\n      }\n      ary = ary === undefined ? ary : nativeMax(toInteger(ary), 0);\n      arity = arity === undefined ? arity : toInteger(arity);\n      length -= holders ? holders.length : 0;\n\n      if (bitmask & WRAP_PARTIAL_RIGHT_FLAG) {\n        var partialsRight = partials,\n            holdersRight = holders;\n\n        partials = holders = undefined;\n      }\n      var data = isBindKey ? undefined : getData(func);\n\n      var newData = [\n        func, bitmask, thisArg, partials, holders, partialsRight, holdersRight,\n        argPos, ary, arity\n      ];\n\n      if (data) {\n        mergeData(newData, data);\n      }\n      func = newData[0];\n      bitmask = newData[1];\n      thisArg = newData[2];\n      partials = newData[3];\n      holders = newData[4];\n      arity = newData[9] = newData[9] === undefined\n        ? (isBindKey ? 0 : func.length)\n        : nativeMax(newData[9] - length, 0);\n\n      if (!arity && bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG)) {\n        bitmask &= ~(WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG);\n      }\n      if (!bitmask || bitmask == WRAP_BIND_FLAG) {\n        var result = createBind(func, bitmask, thisArg);\n      } else if (bitmask == WRAP_CURRY_FLAG || bitmask == WRAP_CURRY_RIGHT_FLAG) {\n        result = createCurry(func, bitmask, arity);\n      } else if ((bitmask == WRAP_PARTIAL_FLAG || bitmask == (WRAP_BIND_FLAG | WRAP_PARTIAL_FLAG)) && !holders.length) {\n        result = createPartial(func, bitmask, thisArg, partials);\n      } else {\n        result = createHybrid.apply(undefined, newData);\n      }\n      var setter = data ? baseSetData : setData;\n      return setWrapToString(setter(result, newData), func, bitmask);\n    }\n\n    /**\n     * Used by `_.defaults` to customize its `_.assignIn` use to assign properties\n     * of source objects to the destination object for all destination properties\n     * that resolve to `undefined`.\n     *\n     * @private\n     * @param {*} objValue The destination value.\n     * @param {*} srcValue The source value.\n     * @param {string} key The key of the property to assign.\n     * @param {Object} object The parent object of `objValue`.\n     * @returns {*} Returns the value to assign.\n     */\n    function customDefaultsAssignIn(objValue, srcValue, key, object) {\n      if (objValue === undefined ||\n          (eq(objValue, objectProto[key]) && !hasOwnProperty.call(object, key))) {\n        return srcValue;\n      }\n      return objValue;\n    }\n\n    /**\n     * Used by `_.defaultsDeep` to customize its `_.merge` use to merge source\n     * objects into destination objects that are passed thru.\n     *\n     * @private\n     * @param {*} objValue The destination value.\n     * @param {*} srcValue The source value.\n     * @param {string} key The key of the property to merge.\n     * @param {Object} object The parent object of `objValue`.\n     * @param {Object} source The parent object of `srcValue`.\n     * @param {Object} [stack] Tracks traversed source values and their merged\n     *  counterparts.\n     * @returns {*} Returns the value to assign.\n     */\n    function customDefaultsMerge(objValue, srcValue, key, object, source, stack) {\n      if (isObject(objValue) && isObject(srcValue)) {\n        // Recursively merge objects and arrays (susceptible to call stack limits).\n        stack.set(srcValue, objValue);\n        baseMerge(objValue, srcValue, undefined, customDefaultsMerge, stack);\n        stack['delete'](srcValue);\n      }\n      return objValue;\n    }\n\n    /**\n     * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain\n     * objects.\n     *\n     * @private\n     * @param {*} value The value to inspect.\n     * @param {string} key The key of the property to inspect.\n     * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`.\n     */\n    function customOmitClone(value) {\n      return isPlainObject(value) ? undefined : value;\n    }\n\n    /**\n     * A specialized version of `baseIsEqualDeep` for arrays with support for\n     * partial deep comparisons.\n     *\n     * @private\n     * @param {Array} array The array to compare.\n     * @param {Array} other The other array to compare.\n     * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n     * @param {Function} customizer The function to customize comparisons.\n     * @param {Function} equalFunc The function to determine equivalents of values.\n     * @param {Object} stack Tracks traversed `array` and `other` objects.\n     * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n     */\n    function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n      var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n          arrLength = array.length,\n          othLength = other.length;\n\n      if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n        return false;\n      }\n      // Check that cyclic values are equal.\n      var arrStacked = stack.get(array);\n      var othStacked = stack.get(other);\n      if (arrStacked && othStacked) {\n        return arrStacked == other && othStacked == array;\n      }\n      var index = -1,\n          result = true,\n          seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n      stack.set(array, other);\n      stack.set(other, array);\n\n      // Ignore non-index properties.\n      while (++index < arrLength) {\n        var arrValue = array[index],\n            othValue = other[index];\n\n        if (customizer) {\n          var compared = isPartial\n            ? customizer(othValue, arrValue, index, other, array, stack)\n            : customizer(arrValue, othValue, index, array, other, stack);\n        }\n        if (compared !== undefined) {\n          if (compared) {\n            continue;\n          }\n          result = false;\n          break;\n        }\n        // Recursively compare arrays (susceptible to call stack limits).\n        if (seen) {\n          if (!arraySome(other, function(othValue, othIndex) {\n                if (!cacheHas(seen, othIndex) &&\n                    (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n                  return seen.push(othIndex);\n                }\n              })) {\n            result = false;\n            break;\n          }\n        } else if (!(\n              arrValue === othValue ||\n                equalFunc(arrValue, othValue, bitmask, customizer, stack)\n            )) {\n          result = false;\n          break;\n        }\n      }\n      stack['delete'](array);\n      stack['delete'](other);\n      return result;\n    }\n\n    /**\n     * A specialized version of `baseIsEqualDeep` for comparing objects of\n     * the same `toStringTag`.\n     *\n     * **Note:** This function only supports comparing values with tags of\n     * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n     *\n     * @private\n     * @param {Object} object The object to compare.\n     * @param {Object} other The other object to compare.\n     * @param {string} tag The `toStringTag` of the objects to compare.\n     * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n     * @param {Function} customizer The function to customize comparisons.\n     * @param {Function} equalFunc The function to determine equivalents of values.\n     * @param {Object} stack Tracks traversed `object` and `other` objects.\n     * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n     */\n    function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n      switch (tag) {\n        case dataViewTag:\n          if ((object.byteLength != other.byteLength) ||\n              (object.byteOffset != other.byteOffset)) {\n            return false;\n          }\n          object = object.buffer;\n          other = other.buffer;\n\n        case arrayBufferTag:\n          if ((object.byteLength != other.byteLength) ||\n              !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n            return false;\n          }\n          return true;\n\n        case boolTag:\n        case dateTag:\n        case numberTag:\n          // Coerce booleans to `1` or `0` and dates to milliseconds.\n          // Invalid dates are coerced to `NaN`.\n          return eq(+object, +other);\n\n        case errorTag:\n          return object.name == other.name && object.message == other.message;\n\n        case regexpTag:\n        case stringTag:\n          // Coerce regexes to strings and treat strings, primitives and objects,\n          // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n          // for more details.\n          return object == (other + '');\n\n        case mapTag:\n          var convert = mapToArray;\n\n        case setTag:\n          var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n          convert || (convert = setToArray);\n\n          if (object.size != other.size && !isPartial) {\n            return false;\n          }\n          // Assume cyclic values are equal.\n          var stacked = stack.get(object);\n          if (stacked) {\n            return stacked == other;\n          }\n          bitmask |= COMPARE_UNORDERED_FLAG;\n\n          // Recursively compare objects (susceptible to call stack limits).\n          stack.set(object, other);\n          var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n          stack['delete'](object);\n          return result;\n\n        case symbolTag:\n          if (symbolValueOf) {\n            return symbolValueOf.call(object) == symbolValueOf.call(other);\n          }\n      }\n      return false;\n    }\n\n    /**\n     * A specialized version of `baseIsEqualDeep` for objects with support for\n     * partial deep comparisons.\n     *\n     * @private\n     * @param {Object} object The object to compare.\n     * @param {Object} other The other object to compare.\n     * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n     * @param {Function} customizer The function to customize comparisons.\n     * @param {Function} equalFunc The function to determine equivalents of values.\n     * @param {Object} stack Tracks traversed `object` and `other` objects.\n     * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n     */\n    function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n      var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n          objProps = getAllKeys(object),\n          objLength = objProps.length,\n          othProps = getAllKeys(other),\n          othLength = othProps.length;\n\n      if (objLength != othLength && !isPartial) {\n        return false;\n      }\n      var index = objLength;\n      while (index--) {\n        var key = objProps[index];\n        if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n          return false;\n        }\n      }\n      // Check that cyclic values are equal.\n      var objStacked = stack.get(object);\n      var othStacked = stack.get(other);\n      if (objStacked && othStacked) {\n        return objStacked == other && othStacked == object;\n      }\n      var result = true;\n      stack.set(object, other);\n      stack.set(other, object);\n\n      var skipCtor = isPartial;\n      while (++index < objLength) {\n        key = objProps[index];\n        var objValue = object[key],\n            othValue = other[key];\n\n        if (customizer) {\n          var compared = isPartial\n            ? customizer(othValue, objValue, key, other, object, stack)\n            : customizer(objValue, othValue, key, object, other, stack);\n        }\n        // Recursively compare objects (susceptible to call stack limits).\n        if (!(compared === undefined\n              ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))\n              : compared\n            )) {\n          result = false;\n          break;\n        }\n        skipCtor || (skipCtor = key == 'constructor');\n      }\n      if (result && !skipCtor) {\n        var objCtor = object.constructor,\n            othCtor = other.constructor;\n\n        // Non `Object` object instances with different constructors are not equal.\n        if (objCtor != othCtor &&\n            ('constructor' in object && 'constructor' in other) &&\n            !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n              typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n          result = false;\n        }\n      }\n      stack['delete'](object);\n      stack['delete'](other);\n      return result;\n    }\n\n    /**\n     * A specialized version of `baseRest` which flattens the rest array.\n     *\n     * @private\n     * @param {Function} func The function to apply a rest parameter to.\n     * @returns {Function} Returns the new function.\n     */\n    function flatRest(func) {\n      return setToString(overRest(func, undefined, flatten), func + '');\n    }\n\n    /**\n     * Creates an array of own enumerable property names and symbols of `object`.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the array of property names and symbols.\n     */\n    function getAllKeys(object) {\n      return baseGetAllKeys(object, keys, getSymbols);\n    }\n\n    /**\n     * Creates an array of own and inherited enumerable property names and\n     * symbols of `object`.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the array of property names and symbols.\n     */\n    function getAllKeysIn(object) {\n      return baseGetAllKeys(object, keysIn, getSymbolsIn);\n    }\n\n    /**\n     * Gets metadata for `func`.\n     *\n     * @private\n     * @param {Function} func The function to query.\n     * @returns {*} Returns the metadata for `func`.\n     */\n    var getData = !metaMap ? noop : function(func) {\n      return metaMap.get(func);\n    };\n\n    /**\n     * Gets the name of `func`.\n     *\n     * @private\n     * @param {Function} func The function to query.\n     * @returns {string} Returns the function name.\n     */\n    function getFuncName(func) {\n      var result = (func.name + ''),\n          array = realNames[result],\n          length = hasOwnProperty.call(realNames, result) ? array.length : 0;\n\n      while (length--) {\n        var data = array[length],\n            otherFunc = data.func;\n        if (otherFunc == null || otherFunc == func) {\n          return data.name;\n        }\n      }\n      return result;\n    }\n\n    /**\n     * Gets the argument placeholder value for `func`.\n     *\n     * @private\n     * @param {Function} func The function to inspect.\n     * @returns {*} Returns the placeholder value.\n     */\n    function getHolder(func) {\n      var object = hasOwnProperty.call(lodash, 'placeholder') ? lodash : func;\n      return object.placeholder;\n    }\n\n    /**\n     * Gets the appropriate \"iteratee\" function. If `_.iteratee` is customized,\n     * this function returns the custom method, otherwise it returns `baseIteratee`.\n     * If arguments are provided, the chosen function is invoked with them and\n     * its result is returned.\n     *\n     * @private\n     * @param {*} [value] The value to convert to an iteratee.\n     * @param {number} [arity] The arity of the created iteratee.\n     * @returns {Function} Returns the chosen function or its result.\n     */\n    function getIteratee() {\n      var result = lodash.iteratee || iteratee;\n      result = result === iteratee ? baseIteratee : result;\n      return arguments.length ? result(arguments[0], arguments[1]) : result;\n    }\n\n    /**\n     * Gets the data for `map`.\n     *\n     * @private\n     * @param {Object} map The map to query.\n     * @param {string} key The reference key.\n     * @returns {*} Returns the map data.\n     */\n    function getMapData(map, key) {\n      var data = map.__data__;\n      return isKeyable(key)\n        ? data[typeof key == 'string' ? 'string' : 'hash']\n        : data.map;\n    }\n\n    /**\n     * Gets the property names, values, and compare flags of `object`.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the match data of `object`.\n     */\n    function getMatchData(object) {\n      var result = keys(object),\n          length = result.length;\n\n      while (length--) {\n        var key = result[length],\n            value = object[key];\n\n        result[length] = [key, value, isStrictComparable(value)];\n      }\n      return result;\n    }\n\n    /**\n     * Gets the native function at `key` of `object`.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @param {string} key The key of the method to get.\n     * @returns {*} Returns the function if it's native, else `undefined`.\n     */\n    function getNative(object, key) {\n      var value = getValue(object, key);\n      return baseIsNative(value) ? value : undefined;\n    }\n\n    /**\n     * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n     *\n     * @private\n     * @param {*} value The value to query.\n     * @returns {string} Returns the raw `toStringTag`.\n     */\n    function getRawTag(value) {\n      var isOwn = hasOwnProperty.call(value, symToStringTag),\n          tag = value[symToStringTag];\n\n      try {\n        value[symToStringTag] = undefined;\n        var unmasked = true;\n      } catch (e) {}\n\n      var result = nativeObjectToString.call(value);\n      if (unmasked) {\n        if (isOwn) {\n          value[symToStringTag] = tag;\n        } else {\n          delete value[symToStringTag];\n        }\n      }\n      return result;\n    }\n\n    /**\n     * Creates an array of the own enumerable symbols of `object`.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the array of symbols.\n     */\n    var getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n      if (object == null) {\n        return [];\n      }\n      object = Object(object);\n      return arrayFilter(nativeGetSymbols(object), function(symbol) {\n        return propertyIsEnumerable.call(object, symbol);\n      });\n    };\n\n    /**\n     * Creates an array of the own and inherited enumerable symbols of `object`.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the array of symbols.\n     */\n    var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {\n      var result = [];\n      while (object) {\n        arrayPush(result, getSymbols(object));\n        object = getPrototype(object);\n      }\n      return result;\n    };\n\n    /**\n     * Gets the `toStringTag` of `value`.\n     *\n     * @private\n     * @param {*} value The value to query.\n     * @returns {string} Returns the `toStringTag`.\n     */\n    var getTag = baseGetTag;\n\n    // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\n    if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n        (Map && getTag(new Map) != mapTag) ||\n        (Promise && getTag(Promise.resolve()) != promiseTag) ||\n        (Set && getTag(new Set) != setTag) ||\n        (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n      getTag = function(value) {\n        var result = baseGetTag(value),\n            Ctor = result == objectTag ? value.constructor : undefined,\n            ctorString = Ctor ? toSource(Ctor) : '';\n\n        if (ctorString) {\n          switch (ctorString) {\n            case dataViewCtorString: return dataViewTag;\n            case mapCtorString: return mapTag;\n            case promiseCtorString: return promiseTag;\n            case setCtorString: return setTag;\n            case weakMapCtorString: return weakMapTag;\n          }\n        }\n        return result;\n      };\n    }\n\n    /**\n     * Gets the view, applying any `transforms` to the `start` and `end` positions.\n     *\n     * @private\n     * @param {number} start The start of the view.\n     * @param {number} end The end of the view.\n     * @param {Array} transforms The transformations to apply to the view.\n     * @returns {Object} Returns an object containing the `start` and `end`\n     *  positions of the view.\n     */\n    function getView(start, end, transforms) {\n      var index = -1,\n          length = transforms.length;\n\n      while (++index < length) {\n        var data = transforms[index],\n            size = data.size;\n\n        switch (data.type) {\n          case 'drop':      start += size; break;\n          case 'dropRight': end -= size; break;\n          case 'take':      end = nativeMin(end, start + size); break;\n          case 'takeRight': start = nativeMax(start, end - size); break;\n        }\n      }\n      return { 'start': start, 'end': end };\n    }\n\n    /**\n     * Extracts wrapper details from the `source` body comment.\n     *\n     * @private\n     * @param {string} source The source to inspect.\n     * @returns {Array} Returns the wrapper details.\n     */\n    function getWrapDetails(source) {\n      var match = source.match(reWrapDetails);\n      return match ? match[1].split(reSplitDetails) : [];\n    }\n\n    /**\n     * Checks if `path` exists on `object`.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @param {Array|string} path The path to check.\n     * @param {Function} hasFunc The function to check properties.\n     * @returns {boolean} Returns `true` if `path` exists, else `false`.\n     */\n    function hasPath(object, path, hasFunc) {\n      path = castPath(path, object);\n\n      var index = -1,\n          length = path.length,\n          result = false;\n\n      while (++index < length) {\n        var key = toKey(path[index]);\n        if (!(result = object != null && hasFunc(object, key))) {\n          break;\n        }\n        object = object[key];\n      }\n      if (result || ++index != length) {\n        return result;\n      }\n      length = object == null ? 0 : object.length;\n      return !!length && isLength(length) && isIndex(key, length) &&\n        (isArray(object) || isArguments(object));\n    }\n\n    /**\n     * Initializes an array clone.\n     *\n     * @private\n     * @param {Array} array The array to clone.\n     * @returns {Array} Returns the initialized clone.\n     */\n    function initCloneArray(array) {\n      var length = array.length,\n          result = new array.constructor(length);\n\n      // Add properties assigned by `RegExp#exec`.\n      if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n        result.index = array.index;\n        result.input = array.input;\n      }\n      return result;\n    }\n\n    /**\n     * Initializes an object clone.\n     *\n     * @private\n     * @param {Object} object The object to clone.\n     * @returns {Object} Returns the initialized clone.\n     */\n    function initCloneObject(object) {\n      return (typeof object.constructor == 'function' && !isPrototype(object))\n        ? baseCreate(getPrototype(object))\n        : {};\n    }\n\n    /**\n     * Initializes an object clone based on its `toStringTag`.\n     *\n     * **Note:** This function only supports cloning values with tags of\n     * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.\n     *\n     * @private\n     * @param {Object} object The object to clone.\n     * @param {string} tag The `toStringTag` of the object to clone.\n     * @param {boolean} [isDeep] Specify a deep clone.\n     * @returns {Object} Returns the initialized clone.\n     */\n    function initCloneByTag(object, tag, isDeep) {\n      var Ctor = object.constructor;\n      switch (tag) {\n        case arrayBufferTag:\n          return cloneArrayBuffer(object);\n\n        case boolTag:\n        case dateTag:\n          return new Ctor(+object);\n\n        case dataViewTag:\n          return cloneDataView(object, isDeep);\n\n        case float32Tag: case float64Tag:\n        case int8Tag: case int16Tag: case int32Tag:\n        case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n          return cloneTypedArray(object, isDeep);\n\n        case mapTag:\n          return new Ctor;\n\n        case numberTag:\n        case stringTag:\n          return new Ctor(object);\n\n        case regexpTag:\n          return cloneRegExp(object);\n\n        case setTag:\n          return new Ctor;\n\n        case symbolTag:\n          return cloneSymbol(object);\n      }\n    }\n\n    /**\n     * Inserts wrapper `details` in a comment at the top of the `source` body.\n     *\n     * @private\n     * @param {string} source The source to modify.\n     * @returns {Array} details The details to insert.\n     * @returns {string} Returns the modified source.\n     */\n    function insertWrapDetails(source, details) {\n      var length = details.length;\n      if (!length) {\n        return source;\n      }\n      var lastIndex = length - 1;\n      details[lastIndex] = (length > 1 ? '& ' : '') + details[lastIndex];\n      details = details.join(length > 2 ? ', ' : ' ');\n      return source.replace(reWrapComment, '{\\n/* [wrapped with ' + details + '] */\\n');\n    }\n\n    /**\n     * Checks if `value` is a flattenable `arguments` object or array.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.\n     */\n    function isFlattenable(value) {\n      return isArray(value) || isArguments(value) ||\n        !!(spreadableSymbol && value && value[spreadableSymbol]);\n    }\n\n    /**\n     * Checks if `value` is a valid array-like index.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n     * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n     */\n    function isIndex(value, length) {\n      var type = typeof value;\n      length = length == null ? MAX_SAFE_INTEGER : length;\n\n      return !!length &&\n        (type == 'number' ||\n          (type != 'symbol' && reIsUint.test(value))) &&\n            (value > -1 && value % 1 == 0 && value < length);\n    }\n\n    /**\n     * Checks if the given arguments are from an iteratee call.\n     *\n     * @private\n     * @param {*} value The potential iteratee value argument.\n     * @param {*} index The potential iteratee index or key argument.\n     * @param {*} object The potential iteratee object argument.\n     * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n     *  else `false`.\n     */\n    function isIterateeCall(value, index, object) {\n      if (!isObject(object)) {\n        return false;\n      }\n      var type = typeof index;\n      if (type == 'number'\n            ? (isArrayLike(object) && isIndex(index, object.length))\n            : (type == 'string' && index in object)\n          ) {\n        return eq(object[index], value);\n      }\n      return false;\n    }\n\n    /**\n     * Checks if `value` is a property name and not a property path.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @param {Object} [object] The object to query keys on.\n     * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n     */\n    function isKey(value, object) {\n      if (isArray(value)) {\n        return false;\n      }\n      var type = typeof value;\n      if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n          value == null || isSymbol(value)) {\n        return true;\n      }\n      return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n        (object != null && value in Object(object));\n    }\n\n    /**\n     * Checks if `value` is suitable for use as unique object key.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n     */\n    function isKeyable(value) {\n      var type = typeof value;\n      return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n        ? (value !== '__proto__')\n        : (value === null);\n    }\n\n    /**\n     * Checks if `func` has a lazy counterpart.\n     *\n     * @private\n     * @param {Function} func The function to check.\n     * @returns {boolean} Returns `true` if `func` has a lazy counterpart,\n     *  else `false`.\n     */\n    function isLaziable(func) {\n      var funcName = getFuncName(func),\n          other = lodash[funcName];\n\n      if (typeof other != 'function' || !(funcName in LazyWrapper.prototype)) {\n        return false;\n      }\n      if (func === other) {\n        return true;\n      }\n      var data = getData(other);\n      return !!data && func === data[0];\n    }\n\n    /**\n     * Checks if `func` has its source masked.\n     *\n     * @private\n     * @param {Function} func The function to check.\n     * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n     */\n    function isMasked(func) {\n      return !!maskSrcKey && (maskSrcKey in func);\n    }\n\n    /**\n     * Checks if `func` is capable of being masked.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `func` is maskable, else `false`.\n     */\n    var isMaskable = coreJsData ? isFunction : stubFalse;\n\n    /**\n     * Checks if `value` is likely a prototype object.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n     */\n    function isPrototype(value) {\n      var Ctor = value && value.constructor,\n          proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n      return value === proto;\n    }\n\n    /**\n     * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` if suitable for strict\n     *  equality comparisons, else `false`.\n     */\n    function isStrictComparable(value) {\n      return value === value && !isObject(value);\n    }\n\n    /**\n     * A specialized version of `matchesProperty` for source values suitable\n     * for strict equality comparisons, i.e. `===`.\n     *\n     * @private\n     * @param {string} key The key of the property to get.\n     * @param {*} srcValue The value to match.\n     * @returns {Function} Returns the new spec function.\n     */\n    function matchesStrictComparable(key, srcValue) {\n      return function(object) {\n        if (object == null) {\n          return false;\n        }\n        return object[key] === srcValue &&\n          (srcValue !== undefined || (key in Object(object)));\n      };\n    }\n\n    /**\n     * A specialized version of `_.memoize` which clears the memoized function's\n     * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n     *\n     * @private\n     * @param {Function} func The function to have its output memoized.\n     * @returns {Function} Returns the new memoized function.\n     */\n    function memoizeCapped(func) {\n      var result = memoize(func, function(key) {\n        if (cache.size === MAX_MEMOIZE_SIZE) {\n          cache.clear();\n        }\n        return key;\n      });\n\n      var cache = result.cache;\n      return result;\n    }\n\n    /**\n     * Merges the function metadata of `source` into `data`.\n     *\n     * Merging metadata reduces the number of wrappers used to invoke a function.\n     * This is possible because methods like `_.bind`, `_.curry`, and `_.partial`\n     * may be applied regardless of execution order. Methods like `_.ary` and\n     * `_.rearg` modify function arguments, making the order in which they are\n     * executed important, preventing the merging of metadata. However, we make\n     * an exception for a safe combined case where curried functions have `_.ary`\n     * and or `_.rearg` applied.\n     *\n     * @private\n     * @param {Array} data The destination metadata.\n     * @param {Array} source The source metadata.\n     * @returns {Array} Returns `data`.\n     */\n    function mergeData(data, source) {\n      var bitmask = data[1],\n          srcBitmask = source[1],\n          newBitmask = bitmask | srcBitmask,\n          isCommon = newBitmask < (WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG | WRAP_ARY_FLAG);\n\n      var isCombo =\n        ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_CURRY_FLAG)) ||\n        ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_REARG_FLAG) && (data[7].length <= source[8])) ||\n        ((srcBitmask == (WRAP_ARY_FLAG | WRAP_REARG_FLAG)) && (source[7].length <= source[8]) && (bitmask == WRAP_CURRY_FLAG));\n\n      // Exit early if metadata can't be merged.\n      if (!(isCommon || isCombo)) {\n        return data;\n      }\n      // Use source `thisArg` if available.\n      if (srcBitmask & WRAP_BIND_FLAG) {\n        data[2] = source[2];\n        // Set when currying a bound function.\n        newBitmask |= bitmask & WRAP_BIND_FLAG ? 0 : WRAP_CURRY_BOUND_FLAG;\n      }\n      // Compose partial arguments.\n      var value = source[3];\n      if (value) {\n        var partials = data[3];\n        data[3] = partials ? composeArgs(partials, value, source[4]) : value;\n        data[4] = partials ? replaceHolders(data[3], PLACEHOLDER) : source[4];\n      }\n      // Compose partial right arguments.\n      value = source[5];\n      if (value) {\n        partials = data[5];\n        data[5] = partials ? composeArgsRight(partials, value, source[6]) : value;\n        data[6] = partials ? replaceHolders(data[5], PLACEHOLDER) : source[6];\n      }\n      // Use source `argPos` if available.\n      value = source[7];\n      if (value) {\n        data[7] = value;\n      }\n      // Use source `ary` if it's smaller.\n      if (srcBitmask & WRAP_ARY_FLAG) {\n        data[8] = data[8] == null ? source[8] : nativeMin(data[8], source[8]);\n      }\n      // Use source `arity` if one is not provided.\n      if (data[9] == null) {\n        data[9] = source[9];\n      }\n      // Use source `func` and merge bitmasks.\n      data[0] = source[0];\n      data[1] = newBitmask;\n\n      return data;\n    }\n\n    /**\n     * This function is like\n     * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n     * except that it includes inherited enumerable properties.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the array of property names.\n     */\n    function nativeKeysIn(object) {\n      var result = [];\n      if (object != null) {\n        for (var key in Object(object)) {\n          result.push(key);\n        }\n      }\n      return result;\n    }\n\n    /**\n     * Converts `value` to a string using `Object.prototype.toString`.\n     *\n     * @private\n     * @param {*} value The value to convert.\n     * @returns {string} Returns the converted string.\n     */\n    function objectToString(value) {\n      return nativeObjectToString.call(value);\n    }\n\n    /**\n     * A specialized version of `baseRest` which transforms the rest array.\n     *\n     * @private\n     * @param {Function} func The function to apply a rest parameter to.\n     * @param {number} [start=func.length-1] The start position of the rest parameter.\n     * @param {Function} transform The rest array transform.\n     * @returns {Function} Returns the new function.\n     */\n    function overRest(func, start, transform) {\n      start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n      return function() {\n        var args = arguments,\n            index = -1,\n            length = nativeMax(args.length - start, 0),\n            array = Array(length);\n\n        while (++index < length) {\n          array[index] = args[start + index];\n        }\n        index = -1;\n        var otherArgs = Array(start + 1);\n        while (++index < start) {\n          otherArgs[index] = args[index];\n        }\n        otherArgs[start] = transform(array);\n        return apply(func, this, otherArgs);\n      };\n    }\n\n    /**\n     * Gets the parent value at `path` of `object`.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @param {Array} path The path to get the parent value of.\n     * @returns {*} Returns the parent value.\n     */\n    function parent(object, path) {\n      return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));\n    }\n\n    /**\n     * Reorder `array` according to the specified indexes where the element at\n     * the first index is assigned as the first element, the element at\n     * the second index is assigned as the second element, and so on.\n     *\n     * @private\n     * @param {Array} array The array to reorder.\n     * @param {Array} indexes The arranged array indexes.\n     * @returns {Array} Returns `array`.\n     */\n    function reorder(array, indexes) {\n      var arrLength = array.length,\n          length = nativeMin(indexes.length, arrLength),\n          oldArray = copyArray(array);\n\n      while (length--) {\n        var index = indexes[length];\n        array[length] = isIndex(index, arrLength) ? oldArray[index] : undefined;\n      }\n      return array;\n    }\n\n    /**\n     * Gets the value at `key`, unless `key` is \"__proto__\" or \"constructor\".\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @param {string} key The key of the property to get.\n     * @returns {*} Returns the property value.\n     */\n    function safeGet(object, key) {\n      if (key === 'constructor' && typeof object[key] === 'function') {\n        return;\n      }\n\n      if (key == '__proto__') {\n        return;\n      }\n\n      return object[key];\n    }\n\n    /**\n     * Sets metadata for `func`.\n     *\n     * **Note:** If this function becomes hot, i.e. is invoked a lot in a short\n     * period of time, it will trip its breaker and transition to an identity\n     * function to avoid garbage collection pauses in V8. See\n     * [V8 issue 2070](https://bugs.chromium.org/p/v8/issues/detail?id=2070)\n     * for more details.\n     *\n     * @private\n     * @param {Function} func The function to associate metadata with.\n     * @param {*} data The metadata.\n     * @returns {Function} Returns `func`.\n     */\n    var setData = shortOut(baseSetData);\n\n    /**\n     * A simple wrapper around the global [`setTimeout`](https://mdn.io/setTimeout).\n     *\n     * @private\n     * @param {Function} func The function to delay.\n     * @param {number} wait The number of milliseconds to delay invocation.\n     * @returns {number|Object} Returns the timer id or timeout object.\n     */\n    var setTimeout = ctxSetTimeout || function(func, wait) {\n      return root.setTimeout(func, wait);\n    };\n\n    /**\n     * Sets the `toString` method of `func` to return `string`.\n     *\n     * @private\n     * @param {Function} func The function to modify.\n     * @param {Function} string The `toString` result.\n     * @returns {Function} Returns `func`.\n     */\n    var setToString = shortOut(baseSetToString);\n\n    /**\n     * Sets the `toString` method of `wrapper` to mimic the source of `reference`\n     * with wrapper details in a comment at the top of the source body.\n     *\n     * @private\n     * @param {Function} wrapper The function to modify.\n     * @param {Function} reference The reference function.\n     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n     * @returns {Function} Returns `wrapper`.\n     */\n    function setWrapToString(wrapper, reference, bitmask) {\n      var source = (reference + '');\n      return setToString(wrapper, insertWrapDetails(source, updateWrapDetails(getWrapDetails(source), bitmask)));\n    }\n\n    /**\n     * Creates a function that'll short out and invoke `identity` instead\n     * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n     * milliseconds.\n     *\n     * @private\n     * @param {Function} func The function to restrict.\n     * @returns {Function} Returns the new shortable function.\n     */\n    function shortOut(func) {\n      var count = 0,\n          lastCalled = 0;\n\n      return function() {\n        var stamp = nativeNow(),\n            remaining = HOT_SPAN - (stamp - lastCalled);\n\n        lastCalled = stamp;\n        if (remaining > 0) {\n          if (++count >= HOT_COUNT) {\n            return arguments[0];\n          }\n        } else {\n          count = 0;\n        }\n        return func.apply(undefined, arguments);\n      };\n    }\n\n    /**\n     * A specialized version of `_.shuffle` which mutates and sets the size of `array`.\n     *\n     * @private\n     * @param {Array} array The array to shuffle.\n     * @param {number} [size=array.length] The size of `array`.\n     * @returns {Array} Returns `array`.\n     */\n    function shuffleSelf(array, size) {\n      var index = -1,\n          length = array.length,\n          lastIndex = length - 1;\n\n      size = size === undefined ? length : size;\n      while (++index < size) {\n        var rand = baseRandom(index, lastIndex),\n            value = array[rand];\n\n        array[rand] = array[index];\n        array[index] = value;\n      }\n      array.length = size;\n      return array;\n    }\n\n    /**\n     * Converts `string` to a property path array.\n     *\n     * @private\n     * @param {string} string The string to convert.\n     * @returns {Array} Returns the property path array.\n     */\n    var stringToPath = memoizeCapped(function(string) {\n      var result = [];\n      if (string.charCodeAt(0) === 46 /* . */) {\n        result.push('');\n      }\n      string.replace(rePropName, function(match, number, quote, subString) {\n        result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));\n      });\n      return result;\n    });\n\n    /**\n     * Converts `value` to a string key if it's not a string or symbol.\n     *\n     * @private\n     * @param {*} value The value to inspect.\n     * @returns {string|symbol} Returns the key.\n     */\n    function toKey(value) {\n      if (typeof value == 'string' || isSymbol(value)) {\n        return value;\n      }\n      var result = (value + '');\n      return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n    }\n\n    /**\n     * Converts `func` to its source code.\n     *\n     * @private\n     * @param {Function} func The function to convert.\n     * @returns {string} Returns the source code.\n     */\n    function toSource(func) {\n      if (func != null) {\n        try {\n          return funcToString.call(func);\n        } catch (e) {}\n        try {\n          return (func + '');\n        } catch (e) {}\n      }\n      return '';\n    }\n\n    /**\n     * Updates wrapper `details` based on `bitmask` flags.\n     *\n     * @private\n     * @returns {Array} details The details to modify.\n     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n     * @returns {Array} Returns `details`.\n     */\n    function updateWrapDetails(details, bitmask) {\n      arrayEach(wrapFlags, function(pair) {\n        var value = '_.' + pair[0];\n        if ((bitmask & pair[1]) && !arrayIncludes(details, value)) {\n          details.push(value);\n        }\n      });\n      return details.sort();\n    }\n\n    /**\n     * Creates a clone of `wrapper`.\n     *\n     * @private\n     * @param {Object} wrapper The wrapper to clone.\n     * @returns {Object} Returns the cloned wrapper.\n     */\n    function wrapperClone(wrapper) {\n      if (wrapper instanceof LazyWrapper) {\n        return wrapper.clone();\n      }\n      var result = new LodashWrapper(wrapper.__wrapped__, wrapper.__chain__);\n      result.__actions__ = copyArray(wrapper.__actions__);\n      result.__index__  = wrapper.__index__;\n      result.__values__ = wrapper.__values__;\n      return result;\n    }\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Creates an array of elements split into groups the length of `size`.\n     * If `array` can't be split evenly, the final chunk will be the remaining\n     * elements.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Array\n     * @param {Array} array The array to process.\n     * @param {number} [size=1] The length of each chunk\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {Array} Returns the new array of chunks.\n     * @example\n     *\n     * _.chunk(['a', 'b', 'c', 'd'], 2);\n     * // => [['a', 'b'], ['c', 'd']]\n     *\n     * _.chunk(['a', 'b', 'c', 'd'], 3);\n     * // => [['a', 'b', 'c'], ['d']]\n     */\n    function chunk(array, size, guard) {\n      if ((guard ? isIterateeCall(array, size, guard) : size === undefined)) {\n        size = 1;\n      } else {\n        size = nativeMax(toInteger(size), 0);\n      }\n      var length = array == null ? 0 : array.length;\n      if (!length || size < 1) {\n        return [];\n      }\n      var index = 0,\n          resIndex = 0,\n          result = Array(nativeCeil(length / size));\n\n      while (index < length) {\n        result[resIndex++] = baseSlice(array, index, (index += size));\n      }\n      return result;\n    }\n\n    /**\n     * Creates an array with all falsey values removed. The values `false`, `null`,\n     * `0`, `\"\"`, `undefined`, and `NaN` are falsey.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {Array} array The array to compact.\n     * @returns {Array} Returns the new array of filtered values.\n     * @example\n     *\n     * _.compact([0, 1, false, 2, '', 3]);\n     * // => [1, 2, 3]\n     */\n    function compact(array) {\n      var index = -1,\n          length = array == null ? 0 : array.length,\n          resIndex = 0,\n          result = [];\n\n      while (++index < length) {\n        var value = array[index];\n        if (value) {\n          result[resIndex++] = value;\n        }\n      }\n      return result;\n    }\n\n    /**\n     * Creates a new array concatenating `array` with any additional arrays\n     * and/or values.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to concatenate.\n     * @param {...*} [values] The values to concatenate.\n     * @returns {Array} Returns the new concatenated array.\n     * @example\n     *\n     * var array = [1];\n     * var other = _.concat(array, 2, [3], [[4]]);\n     *\n     * console.log(other);\n     * // => [1, 2, 3, [4]]\n     *\n     * console.log(array);\n     * // => [1]\n     */\n    function concat() {\n      var length = arguments.length;\n      if (!length) {\n        return [];\n      }\n      var args = Array(length - 1),\n          array = arguments[0],\n          index = length;\n\n      while (index--) {\n        args[index - 1] = arguments[index];\n      }\n      return arrayPush(isArray(array) ? copyArray(array) : [array], baseFlatten(args, 1));\n    }\n\n    /**\n     * Creates an array of `array` values not included in the other given arrays\n     * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n     * for equality comparisons. The order and references of result values are\n     * determined by the first array.\n     *\n     * **Note:** Unlike `_.pullAll`, this method returns a new array.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @param {...Array} [values] The values to exclude.\n     * @returns {Array} Returns the new array of filtered values.\n     * @see _.without, _.xor\n     * @example\n     *\n     * _.difference([2, 1], [2, 3]);\n     * // => [1]\n     */\n    var difference = baseRest(function(array, values) {\n      return isArrayLikeObject(array)\n        ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true))\n        : [];\n    });\n\n    /**\n     * This method is like `_.difference` except that it accepts `iteratee` which\n     * is invoked for each element of `array` and `values` to generate the criterion\n     * by which they're compared. The order and references of result values are\n     * determined by the first array. The iteratee is invoked with one argument:\n     * (value).\n     *\n     * **Note:** Unlike `_.pullAllBy`, this method returns a new array.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @param {...Array} [values] The values to exclude.\n     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n     * @returns {Array} Returns the new array of filtered values.\n     * @example\n     *\n     * _.differenceBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n     * // => [1.2]\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.differenceBy([{ 'x': 2 }, { 'x': 1 }], [{ 'x': 1 }], 'x');\n     * // => [{ 'x': 2 }]\n     */\n    var differenceBy = baseRest(function(array, values) {\n      var iteratee = last(values);\n      if (isArrayLikeObject(iteratee)) {\n        iteratee = undefined;\n      }\n      return isArrayLikeObject(array)\n        ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), getIteratee(iteratee, 2))\n        : [];\n    });\n\n    /**\n     * This method is like `_.difference` except that it accepts `comparator`\n     * which is invoked to compare elements of `array` to `values`. The order and\n     * references of result values are determined by the first array. The comparator\n     * is invoked with two arguments: (arrVal, othVal).\n     *\n     * **Note:** Unlike `_.pullAllWith`, this method returns a new array.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @param {...Array} [values] The values to exclude.\n     * @param {Function} [comparator] The comparator invoked per element.\n     * @returns {Array} Returns the new array of filtered values.\n     * @example\n     *\n     * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n     *\n     * _.differenceWith(objects, [{ 'x': 1, 'y': 2 }], _.isEqual);\n     * // => [{ 'x': 2, 'y': 1 }]\n     */\n    var differenceWith = baseRest(function(array, values) {\n      var comparator = last(values);\n      if (isArrayLikeObject(comparator)) {\n        comparator = undefined;\n      }\n      return isArrayLikeObject(array)\n        ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), undefined, comparator)\n        : [];\n    });\n\n    /**\n     * Creates a slice of `array` with `n` elements dropped from the beginning.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.5.0\n     * @category Array\n     * @param {Array} array The array to query.\n     * @param {number} [n=1] The number of elements to drop.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {Array} Returns the slice of `array`.\n     * @example\n     *\n     * _.drop([1, 2, 3]);\n     * // => [2, 3]\n     *\n     * _.drop([1, 2, 3], 2);\n     * // => [3]\n     *\n     * _.drop([1, 2, 3], 5);\n     * // => []\n     *\n     * _.drop([1, 2, 3], 0);\n     * // => [1, 2, 3]\n     */\n    function drop(array, n, guard) {\n      var length = array == null ? 0 : array.length;\n      if (!length) {\n        return [];\n      }\n      n = (guard || n === undefined) ? 1 : toInteger(n);\n      return baseSlice(array, n < 0 ? 0 : n, length);\n    }\n\n    /**\n     * Creates a slice of `array` with `n` elements dropped from the end.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Array\n     * @param {Array} array The array to query.\n     * @param {number} [n=1] The number of elements to drop.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {Array} Returns the slice of `array`.\n     * @example\n     *\n     * _.dropRight([1, 2, 3]);\n     * // => [1, 2]\n     *\n     * _.dropRight([1, 2, 3], 2);\n     * // => [1]\n     *\n     * _.dropRight([1, 2, 3], 5);\n     * // => []\n     *\n     * _.dropRight([1, 2, 3], 0);\n     * // => [1, 2, 3]\n     */\n    function dropRight(array, n, guard) {\n      var length = array == null ? 0 : array.length;\n      if (!length) {\n        return [];\n      }\n      n = (guard || n === undefined) ? 1 : toInteger(n);\n      n = length - n;\n      return baseSlice(array, 0, n < 0 ? 0 : n);\n    }\n\n    /**\n     * Creates a slice of `array` excluding elements dropped from the end.\n     * Elements are dropped until `predicate` returns falsey. The predicate is\n     * invoked with three arguments: (value, index, array).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Array\n     * @param {Array} array The array to query.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @returns {Array} Returns the slice of `array`.\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'barney',  'active': true },\n     *   { 'user': 'fred',    'active': false },\n     *   { 'user': 'pebbles', 'active': false }\n     * ];\n     *\n     * _.dropRightWhile(users, function(o) { return !o.active; });\n     * // => objects for ['barney']\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.dropRightWhile(users, { 'user': 'pebbles', 'active': false });\n     * // => objects for ['barney', 'fred']\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.dropRightWhile(users, ['active', false]);\n     * // => objects for ['barney']\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.dropRightWhile(users, 'active');\n     * // => objects for ['barney', 'fred', 'pebbles']\n     */\n    function dropRightWhile(array, predicate) {\n      return (array && array.length)\n        ? baseWhile(array, getIteratee(predicate, 3), true, true)\n        : [];\n    }\n\n    /**\n     * Creates a slice of `array` excluding elements dropped from the beginning.\n     * Elements are dropped until `predicate` returns falsey. The predicate is\n     * invoked with three arguments: (value, index, array).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Array\n     * @param {Array} array The array to query.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @returns {Array} Returns the slice of `array`.\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'barney',  'active': false },\n     *   { 'user': 'fred',    'active': false },\n     *   { 'user': 'pebbles', 'active': true }\n     * ];\n     *\n     * _.dropWhile(users, function(o) { return !o.active; });\n     * // => objects for ['pebbles']\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.dropWhile(users, { 'user': 'barney', 'active': false });\n     * // => objects for ['fred', 'pebbles']\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.dropWhile(users, ['active', false]);\n     * // => objects for ['pebbles']\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.dropWhile(users, 'active');\n     * // => objects for ['barney', 'fred', 'pebbles']\n     */\n    function dropWhile(array, predicate) {\n      return (array && array.length)\n        ? baseWhile(array, getIteratee(predicate, 3), true)\n        : [];\n    }\n\n    /**\n     * Fills elements of `array` with `value` from `start` up to, but not\n     * including, `end`.\n     *\n     * **Note:** This method mutates `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.2.0\n     * @category Array\n     * @param {Array} array The array to fill.\n     * @param {*} value The value to fill `array` with.\n     * @param {number} [start=0] The start position.\n     * @param {number} [end=array.length] The end position.\n     * @returns {Array} Returns `array`.\n     * @example\n     *\n     * var array = [1, 2, 3];\n     *\n     * _.fill(array, 'a');\n     * console.log(array);\n     * // => ['a', 'a', 'a']\n     *\n     * _.fill(Array(3), 2);\n     * // => [2, 2, 2]\n     *\n     * _.fill([4, 6, 8, 10], '*', 1, 3);\n     * // => [4, '*', '*', 10]\n     */\n    function fill(array, value, start, end) {\n      var length = array == null ? 0 : array.length;\n      if (!length) {\n        return [];\n      }\n      if (start && typeof start != 'number' && isIterateeCall(array, value, start)) {\n        start = 0;\n        end = length;\n      }\n      return baseFill(array, value, start, end);\n    }\n\n    /**\n     * This method is like `_.find` except that it returns the index of the first\n     * element `predicate` returns truthy for instead of the element itself.\n     *\n     * @static\n     * @memberOf _\n     * @since 1.1.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @param {number} [fromIndex=0] The index to search from.\n     * @returns {number} Returns the index of the found element, else `-1`.\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'barney',  'active': false },\n     *   { 'user': 'fred',    'active': false },\n     *   { 'user': 'pebbles', 'active': true }\n     * ];\n     *\n     * _.findIndex(users, function(o) { return o.user == 'barney'; });\n     * // => 0\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.findIndex(users, { 'user': 'fred', 'active': false });\n     * // => 1\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.findIndex(users, ['active', false]);\n     * // => 0\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.findIndex(users, 'active');\n     * // => 2\n     */\n    function findIndex(array, predicate, fromIndex) {\n      var length = array == null ? 0 : array.length;\n      if (!length) {\n        return -1;\n      }\n      var index = fromIndex == null ? 0 : toInteger(fromIndex);\n      if (index < 0) {\n        index = nativeMax(length + index, 0);\n      }\n      return baseFindIndex(array, getIteratee(predicate, 3), index);\n    }\n\n    /**\n     * This method is like `_.findIndex` except that it iterates over elements\n     * of `collection` from right to left.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.0.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @param {number} [fromIndex=array.length-1] The index to search from.\n     * @returns {number} Returns the index of the found element, else `-1`.\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'barney',  'active': true },\n     *   { 'user': 'fred',    'active': false },\n     *   { 'user': 'pebbles', 'active': false }\n     * ];\n     *\n     * _.findLastIndex(users, function(o) { return o.user == 'pebbles'; });\n     * // => 2\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.findLastIndex(users, { 'user': 'barney', 'active': true });\n     * // => 0\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.findLastIndex(users, ['active', false]);\n     * // => 2\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.findLastIndex(users, 'active');\n     * // => 0\n     */\n    function findLastIndex(array, predicate, fromIndex) {\n      var length = array == null ? 0 : array.length;\n      if (!length) {\n        return -1;\n      }\n      var index = length - 1;\n      if (fromIndex !== undefined) {\n        index = toInteger(fromIndex);\n        index = fromIndex < 0\n          ? nativeMax(length + index, 0)\n          : nativeMin(index, length - 1);\n      }\n      return baseFindIndex(array, getIteratee(predicate, 3), index, true);\n    }\n\n    /**\n     * Flattens `array` a single level deep.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {Array} array The array to flatten.\n     * @returns {Array} Returns the new flattened array.\n     * @example\n     *\n     * _.flatten([1, [2, [3, [4]], 5]]);\n     * // => [1, 2, [3, [4]], 5]\n     */\n    function flatten(array) {\n      var length = array == null ? 0 : array.length;\n      return length ? baseFlatten(array, 1) : [];\n    }\n\n    /**\n     * Recursively flattens `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Array\n     * @param {Array} array The array to flatten.\n     * @returns {Array} Returns the new flattened array.\n     * @example\n     *\n     * _.flattenDeep([1, [2, [3, [4]], 5]]);\n     * // => [1, 2, 3, 4, 5]\n     */\n    function flattenDeep(array) {\n      var length = array == null ? 0 : array.length;\n      return length ? baseFlatten(array, INFINITY) : [];\n    }\n\n    /**\n     * Recursively flatten `array` up to `depth` times.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.4.0\n     * @category Array\n     * @param {Array} array The array to flatten.\n     * @param {number} [depth=1] The maximum recursion depth.\n     * @returns {Array} Returns the new flattened array.\n     * @example\n     *\n     * var array = [1, [2, [3, [4]], 5]];\n     *\n     * _.flattenDepth(array, 1);\n     * // => [1, 2, [3, [4]], 5]\n     *\n     * _.flattenDepth(array, 2);\n     * // => [1, 2, 3, [4], 5]\n     */\n    function flattenDepth(array, depth) {\n      var length = array == null ? 0 : array.length;\n      if (!length) {\n        return [];\n      }\n      depth = depth === undefined ? 1 : toInteger(depth);\n      return baseFlatten(array, depth);\n    }\n\n    /**\n     * The inverse of `_.toPairs`; this method returns an object composed\n     * from key-value `pairs`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} pairs The key-value pairs.\n     * @returns {Object} Returns the new object.\n     * @example\n     *\n     * _.fromPairs([['a', 1], ['b', 2]]);\n     * // => { 'a': 1, 'b': 2 }\n     */\n    function fromPairs(pairs) {\n      var index = -1,\n          length = pairs == null ? 0 : pairs.length,\n          result = {};\n\n      while (++index < length) {\n        var pair = pairs[index];\n        result[pair[0]] = pair[1];\n      }\n      return result;\n    }\n\n    /**\n     * Gets the first element of `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @alias first\n     * @category Array\n     * @param {Array} array The array to query.\n     * @returns {*} Returns the first element of `array`.\n     * @example\n     *\n     * _.head([1, 2, 3]);\n     * // => 1\n     *\n     * _.head([]);\n     * // => undefined\n     */\n    function head(array) {\n      return (array && array.length) ? array[0] : undefined;\n    }\n\n    /**\n     * Gets the index at which the first occurrence of `value` is found in `array`\n     * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n     * for equality comparisons. If `fromIndex` is negative, it's used as the\n     * offset from the end of `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @param {*} value The value to search for.\n     * @param {number} [fromIndex=0] The index to search from.\n     * @returns {number} Returns the index of the matched value, else `-1`.\n     * @example\n     *\n     * _.indexOf([1, 2, 1, 2], 2);\n     * // => 1\n     *\n     * // Search from the `fromIndex`.\n     * _.indexOf([1, 2, 1, 2], 2, 2);\n     * // => 3\n     */\n    function indexOf(array, value, fromIndex) {\n      var length = array == null ? 0 : array.length;\n      if (!length) {\n        return -1;\n      }\n      var index = fromIndex == null ? 0 : toInteger(fromIndex);\n      if (index < 0) {\n        index = nativeMax(length + index, 0);\n      }\n      return baseIndexOf(array, value, index);\n    }\n\n    /**\n     * Gets all but the last element of `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {Array} array The array to query.\n     * @returns {Array} Returns the slice of `array`.\n     * @example\n     *\n     * _.initial([1, 2, 3]);\n     * // => [1, 2]\n     */\n    function initial(array) {\n      var length = array == null ? 0 : array.length;\n      return length ? baseSlice(array, 0, -1) : [];\n    }\n\n    /**\n     * Creates an array of unique values that are included in all given arrays\n     * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n     * for equality comparisons. The order and references of result values are\n     * determined by the first array.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {...Array} [arrays] The arrays to inspect.\n     * @returns {Array} Returns the new array of intersecting values.\n     * @example\n     *\n     * _.intersection([2, 1], [2, 3]);\n     * // => [2]\n     */\n    var intersection = baseRest(function(arrays) {\n      var mapped = arrayMap(arrays, castArrayLikeObject);\n      return (mapped.length && mapped[0] === arrays[0])\n        ? baseIntersection(mapped)\n        : [];\n    });\n\n    /**\n     * This method is like `_.intersection` except that it accepts `iteratee`\n     * which is invoked for each element of each `arrays` to generate the criterion\n     * by which they're compared. The order and references of result values are\n     * determined by the first array. The iteratee is invoked with one argument:\n     * (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {...Array} [arrays] The arrays to inspect.\n     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n     * @returns {Array} Returns the new array of intersecting values.\n     * @example\n     *\n     * _.intersectionBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n     * // => [2.1]\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.intersectionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n     * // => [{ 'x': 1 }]\n     */\n    var intersectionBy = baseRest(function(arrays) {\n      var iteratee = last(arrays),\n          mapped = arrayMap(arrays, castArrayLikeObject);\n\n      if (iteratee === last(mapped)) {\n        iteratee = undefined;\n      } else {\n        mapped.pop();\n      }\n      return (mapped.length && mapped[0] === arrays[0])\n        ? baseIntersection(mapped, getIteratee(iteratee, 2))\n        : [];\n    });\n\n    /**\n     * This method is like `_.intersection` except that it accepts `comparator`\n     * which is invoked to compare elements of `arrays`. The order and references\n     * of result values are determined by the first array. The comparator is\n     * invoked with two arguments: (arrVal, othVal).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {...Array} [arrays] The arrays to inspect.\n     * @param {Function} [comparator] The comparator invoked per element.\n     * @returns {Array} Returns the new array of intersecting values.\n     * @example\n     *\n     * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n     * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n     *\n     * _.intersectionWith(objects, others, _.isEqual);\n     * // => [{ 'x': 1, 'y': 2 }]\n     */\n    var intersectionWith = baseRest(function(arrays) {\n      var comparator = last(arrays),\n          mapped = arrayMap(arrays, castArrayLikeObject);\n\n      comparator = typeof comparator == 'function' ? comparator : undefined;\n      if (comparator) {\n        mapped.pop();\n      }\n      return (mapped.length && mapped[0] === arrays[0])\n        ? baseIntersection(mapped, undefined, comparator)\n        : [];\n    });\n\n    /**\n     * Converts all elements in `array` into a string separated by `separator`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to convert.\n     * @param {string} [separator=','] The element separator.\n     * @returns {string} Returns the joined string.\n     * @example\n     *\n     * _.join(['a', 'b', 'c'], '~');\n     * // => 'a~b~c'\n     */\n    function join(array, separator) {\n      return array == null ? '' : nativeJoin.call(array, separator);\n    }\n\n    /**\n     * Gets the last element of `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {Array} array The array to query.\n     * @returns {*} Returns the last element of `array`.\n     * @example\n     *\n     * _.last([1, 2, 3]);\n     * // => 3\n     */\n    function last(array) {\n      var length = array == null ? 0 : array.length;\n      return length ? array[length - 1] : undefined;\n    }\n\n    /**\n     * This method is like `_.indexOf` except that it iterates over elements of\n     * `array` from right to left.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @param {*} value The value to search for.\n     * @param {number} [fromIndex=array.length-1] The index to search from.\n     * @returns {number} Returns the index of the matched value, else `-1`.\n     * @example\n     *\n     * _.lastIndexOf([1, 2, 1, 2], 2);\n     * // => 3\n     *\n     * // Search from the `fromIndex`.\n     * _.lastIndexOf([1, 2, 1, 2], 2, 2);\n     * // => 1\n     */\n    function lastIndexOf(array, value, fromIndex) {\n      var length = array == null ? 0 : array.length;\n      if (!length) {\n        return -1;\n      }\n      var index = length;\n      if (fromIndex !== undefined) {\n        index = toInteger(fromIndex);\n        index = index < 0 ? nativeMax(length + index, 0) : nativeMin(index, length - 1);\n      }\n      return value === value\n        ? strictLastIndexOf(array, value, index)\n        : baseFindIndex(array, baseIsNaN, index, true);\n    }\n\n    /**\n     * Gets the element at index `n` of `array`. If `n` is negative, the nth\n     * element from the end is returned.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.11.0\n     * @category Array\n     * @param {Array} array The array to query.\n     * @param {number} [n=0] The index of the element to return.\n     * @returns {*} Returns the nth element of `array`.\n     * @example\n     *\n     * var array = ['a', 'b', 'c', 'd'];\n     *\n     * _.nth(array, 1);\n     * // => 'b'\n     *\n     * _.nth(array, -2);\n     * // => 'c';\n     */\n    function nth(array, n) {\n      return (array && array.length) ? baseNth(array, toInteger(n)) : undefined;\n    }\n\n    /**\n     * Removes all given values from `array` using\n     * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n     * for equality comparisons.\n     *\n     * **Note:** Unlike `_.without`, this method mutates `array`. Use `_.remove`\n     * to remove elements from an array by predicate.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.0.0\n     * @category Array\n     * @param {Array} array The array to modify.\n     * @param {...*} [values] The values to remove.\n     * @returns {Array} Returns `array`.\n     * @example\n     *\n     * var array = ['a', 'b', 'c', 'a', 'b', 'c'];\n     *\n     * _.pull(array, 'a', 'c');\n     * console.log(array);\n     * // => ['b', 'b']\n     */\n    var pull = baseRest(pullAll);\n\n    /**\n     * This method is like `_.pull` except that it accepts an array of values to remove.\n     *\n     * **Note:** Unlike `_.difference`, this method mutates `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to modify.\n     * @param {Array} values The values to remove.\n     * @returns {Array} Returns `array`.\n     * @example\n     *\n     * var array = ['a', 'b', 'c', 'a', 'b', 'c'];\n     *\n     * _.pullAll(array, ['a', 'c']);\n     * console.log(array);\n     * // => ['b', 'b']\n     */\n    function pullAll(array, values) {\n      return (array && array.length && values && values.length)\n        ? basePullAll(array, values)\n        : array;\n    }\n\n    /**\n     * This method is like `_.pullAll` except that it accepts `iteratee` which is\n     * invoked for each element of `array` and `values` to generate the criterion\n     * by which they're compared. The iteratee is invoked with one argument: (value).\n     *\n     * **Note:** Unlike `_.differenceBy`, this method mutates `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to modify.\n     * @param {Array} values The values to remove.\n     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n     * @returns {Array} Returns `array`.\n     * @example\n     *\n     * var array = [{ 'x': 1 }, { 'x': 2 }, { 'x': 3 }, { 'x': 1 }];\n     *\n     * _.pullAllBy(array, [{ 'x': 1 }, { 'x': 3 }], 'x');\n     * console.log(array);\n     * // => [{ 'x': 2 }]\n     */\n    function pullAllBy(array, values, iteratee) {\n      return (array && array.length && values && values.length)\n        ? basePullAll(array, values, getIteratee(iteratee, 2))\n        : array;\n    }\n\n    /**\n     * This method is like `_.pullAll` except that it accepts `comparator` which\n     * is invoked to compare elements of `array` to `values`. The comparator is\n     * invoked with two arguments: (arrVal, othVal).\n     *\n     * **Note:** Unlike `_.differenceWith`, this method mutates `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.6.0\n     * @category Array\n     * @param {Array} array The array to modify.\n     * @param {Array} values The values to remove.\n     * @param {Function} [comparator] The comparator invoked per element.\n     * @returns {Array} Returns `array`.\n     * @example\n     *\n     * var array = [{ 'x': 1, 'y': 2 }, { 'x': 3, 'y': 4 }, { 'x': 5, 'y': 6 }];\n     *\n     * _.pullAllWith(array, [{ 'x': 3, 'y': 4 }], _.isEqual);\n     * console.log(array);\n     * // => [{ 'x': 1, 'y': 2 }, { 'x': 5, 'y': 6 }]\n     */\n    function pullAllWith(array, values, comparator) {\n      return (array && array.length && values && values.length)\n        ? basePullAll(array, values, undefined, comparator)\n        : array;\n    }\n\n    /**\n     * Removes elements from `array` corresponding to `indexes` and returns an\n     * array of removed elements.\n     *\n     * **Note:** Unlike `_.at`, this method mutates `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Array\n     * @param {Array} array The array to modify.\n     * @param {...(number|number[])} [indexes] The indexes of elements to remove.\n     * @returns {Array} Returns the new array of removed elements.\n     * @example\n     *\n     * var array = ['a', 'b', 'c', 'd'];\n     * var pulled = _.pullAt(array, [1, 3]);\n     *\n     * console.log(array);\n     * // => ['a', 'c']\n     *\n     * console.log(pulled);\n     * // => ['b', 'd']\n     */\n    var pullAt = flatRest(function(array, indexes) {\n      var length = array == null ? 0 : array.length,\n          result = baseAt(array, indexes);\n\n      basePullAt(array, arrayMap(indexes, function(index) {\n        return isIndex(index, length) ? +index : index;\n      }).sort(compareAscending));\n\n      return result;\n    });\n\n    /**\n     * Removes all elements from `array` that `predicate` returns truthy for\n     * and returns an array of the removed elements. The predicate is invoked\n     * with three arguments: (value, index, array).\n     *\n     * **Note:** Unlike `_.filter`, this method mutates `array`. Use `_.pull`\n     * to pull elements from an array by value.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.0.0\n     * @category Array\n     * @param {Array} array The array to modify.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @returns {Array} Returns the new array of removed elements.\n     * @example\n     *\n     * var array = [1, 2, 3, 4];\n     * var evens = _.remove(array, function(n) {\n     *   return n % 2 == 0;\n     * });\n     *\n     * console.log(array);\n     * // => [1, 3]\n     *\n     * console.log(evens);\n     * // => [2, 4]\n     */\n    function remove(array, predicate) {\n      var result = [];\n      if (!(array && array.length)) {\n        return result;\n      }\n      var index = -1,\n          indexes = [],\n          length = array.length;\n\n      predicate = getIteratee(predicate, 3);\n      while (++index < length) {\n        var value = array[index];\n        if (predicate(value, index, array)) {\n          result.push(value);\n          indexes.push(index);\n        }\n      }\n      basePullAt(array, indexes);\n      return result;\n    }\n\n    /**\n     * Reverses `array` so that the first element becomes the last, the second\n     * element becomes the second to last, and so on.\n     *\n     * **Note:** This method mutates `array` and is based on\n     * [`Array#reverse`](https://mdn.io/Array/reverse).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to modify.\n     * @returns {Array} Returns `array`.\n     * @example\n     *\n     * var array = [1, 2, 3];\n     *\n     * _.reverse(array);\n     * // => [3, 2, 1]\n     *\n     * console.log(array);\n     * // => [3, 2, 1]\n     */\n    function reverse(array) {\n      return array == null ? array : nativeReverse.call(array);\n    }\n\n    /**\n     * Creates a slice of `array` from `start` up to, but not including, `end`.\n     *\n     * **Note:** This method is used instead of\n     * [`Array#slice`](https://mdn.io/Array/slice) to ensure dense arrays are\n     * returned.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Array\n     * @param {Array} array The array to slice.\n     * @param {number} [start=0] The start position.\n     * @param {number} [end=array.length] The end position.\n     * @returns {Array} Returns the slice of `array`.\n     */\n    function slice(array, start, end) {\n      var length = array == null ? 0 : array.length;\n      if (!length) {\n        return [];\n      }\n      if (end && typeof end != 'number' && isIterateeCall(array, start, end)) {\n        start = 0;\n        end = length;\n      }\n      else {\n        start = start == null ? 0 : toInteger(start);\n        end = end === undefined ? length : toInteger(end);\n      }\n      return baseSlice(array, start, end);\n    }\n\n    /**\n     * Uses a binary search to determine the lowest index at which `value`\n     * should be inserted into `array` in order to maintain its sort order.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {Array} array The sorted array to inspect.\n     * @param {*} value The value to evaluate.\n     * @returns {number} Returns the index at which `value` should be inserted\n     *  into `array`.\n     * @example\n     *\n     * _.sortedIndex([30, 50], 40);\n     * // => 1\n     */\n    function sortedIndex(array, value) {\n      return baseSortedIndex(array, value);\n    }\n\n    /**\n     * This method is like `_.sortedIndex` except that it accepts `iteratee`\n     * which is invoked for `value` and each element of `array` to compute their\n     * sort ranking. The iteratee is invoked with one argument: (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The sorted array to inspect.\n     * @param {*} value The value to evaluate.\n     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n     * @returns {number} Returns the index at which `value` should be inserted\n     *  into `array`.\n     * @example\n     *\n     * var objects = [{ 'x': 4 }, { 'x': 5 }];\n     *\n     * _.sortedIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });\n     * // => 0\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.sortedIndexBy(objects, { 'x': 4 }, 'x');\n     * // => 0\n     */\n    function sortedIndexBy(array, value, iteratee) {\n      return baseSortedIndexBy(array, value, getIteratee(iteratee, 2));\n    }\n\n    /**\n     * This method is like `_.indexOf` except that it performs a binary\n     * search on a sorted `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @param {*} value The value to search for.\n     * @returns {number} Returns the index of the matched value, else `-1`.\n     * @example\n     *\n     * _.sortedIndexOf([4, 5, 5, 5, 6], 5);\n     * // => 1\n     */\n    function sortedIndexOf(array, value) {\n      var length = array == null ? 0 : array.length;\n      if (length) {\n        var index = baseSortedIndex(array, value);\n        if (index < length && eq(array[index], value)) {\n          return index;\n        }\n      }\n      return -1;\n    }\n\n    /**\n     * This method is like `_.sortedIndex` except that it returns the highest\n     * index at which `value` should be inserted into `array` in order to\n     * maintain its sort order.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Array\n     * @param {Array} array The sorted array to inspect.\n     * @param {*} value The value to evaluate.\n     * @returns {number} Returns the index at which `value` should be inserted\n     *  into `array`.\n     * @example\n     *\n     * _.sortedLastIndex([4, 5, 5, 5, 6], 5);\n     * // => 4\n     */\n    function sortedLastIndex(array, value) {\n      return baseSortedIndex(array, value, true);\n    }\n\n    /**\n     * This method is like `_.sortedLastIndex` except that it accepts `iteratee`\n     * which is invoked for `value` and each element of `array` to compute their\n     * sort ranking. The iteratee is invoked with one argument: (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The sorted array to inspect.\n     * @param {*} value The value to evaluate.\n     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n     * @returns {number} Returns the index at which `value` should be inserted\n     *  into `array`.\n     * @example\n     *\n     * var objects = [{ 'x': 4 }, { 'x': 5 }];\n     *\n     * _.sortedLastIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });\n     * // => 1\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.sortedLastIndexBy(objects, { 'x': 4 }, 'x');\n     * // => 1\n     */\n    function sortedLastIndexBy(array, value, iteratee) {\n      return baseSortedIndexBy(array, value, getIteratee(iteratee, 2), true);\n    }\n\n    /**\n     * This method is like `_.lastIndexOf` except that it performs a binary\n     * search on a sorted `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @param {*} value The value to search for.\n     * @returns {number} Returns the index of the matched value, else `-1`.\n     * @example\n     *\n     * _.sortedLastIndexOf([4, 5, 5, 5, 6], 5);\n     * // => 3\n     */\n    function sortedLastIndexOf(array, value) {\n      var length = array == null ? 0 : array.length;\n      if (length) {\n        var index = baseSortedIndex(array, value, true) - 1;\n        if (eq(array[index], value)) {\n          return index;\n        }\n      }\n      return -1;\n    }\n\n    /**\n     * This method is like `_.uniq` except that it's designed and optimized\n     * for sorted arrays.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @returns {Array} Returns the new duplicate free array.\n     * @example\n     *\n     * _.sortedUniq([1, 1, 2]);\n     * // => [1, 2]\n     */\n    function sortedUniq(array) {\n      return (array && array.length)\n        ? baseSortedUniq(array)\n        : [];\n    }\n\n    /**\n     * This method is like `_.uniqBy` except that it's designed and optimized\n     * for sorted arrays.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @param {Function} [iteratee] The iteratee invoked per element.\n     * @returns {Array} Returns the new duplicate free array.\n     * @example\n     *\n     * _.sortedUniqBy([1.1, 1.2, 2.3, 2.4], Math.floor);\n     * // => [1.1, 2.3]\n     */\n    function sortedUniqBy(array, iteratee) {\n      return (array && array.length)\n        ? baseSortedUniq(array, getIteratee(iteratee, 2))\n        : [];\n    }\n\n    /**\n     * Gets all but the first element of `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to query.\n     * @returns {Array} Returns the slice of `array`.\n     * @example\n     *\n     * _.tail([1, 2, 3]);\n     * // => [2, 3]\n     */\n    function tail(array) {\n      var length = array == null ? 0 : array.length;\n      return length ? baseSlice(array, 1, length) : [];\n    }\n\n    /**\n     * Creates a slice of `array` with `n` elements taken from the beginning.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {Array} array The array to query.\n     * @param {number} [n=1] The number of elements to take.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {Array} Returns the slice of `array`.\n     * @example\n     *\n     * _.take([1, 2, 3]);\n     * // => [1]\n     *\n     * _.take([1, 2, 3], 2);\n     * // => [1, 2]\n     *\n     * _.take([1, 2, 3], 5);\n     * // => [1, 2, 3]\n     *\n     * _.take([1, 2, 3], 0);\n     * // => []\n     */\n    function take(array, n, guard) {\n      if (!(array && array.length)) {\n        return [];\n      }\n      n = (guard || n === undefined) ? 1 : toInteger(n);\n      return baseSlice(array, 0, n < 0 ? 0 : n);\n    }\n\n    /**\n     * Creates a slice of `array` with `n` elements taken from the end.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Array\n     * @param {Array} array The array to query.\n     * @param {number} [n=1] The number of elements to take.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {Array} Returns the slice of `array`.\n     * @example\n     *\n     * _.takeRight([1, 2, 3]);\n     * // => [3]\n     *\n     * _.takeRight([1, 2, 3], 2);\n     * // => [2, 3]\n     *\n     * _.takeRight([1, 2, 3], 5);\n     * // => [1, 2, 3]\n     *\n     * _.takeRight([1, 2, 3], 0);\n     * // => []\n     */\n    function takeRight(array, n, guard) {\n      var length = array == null ? 0 : array.length;\n      if (!length) {\n        return [];\n      }\n      n = (guard || n === undefined) ? 1 : toInteger(n);\n      n = length - n;\n      return baseSlice(array, n < 0 ? 0 : n, length);\n    }\n\n    /**\n     * Creates a slice of `array` with elements taken from the end. Elements are\n     * taken until `predicate` returns falsey. The predicate is invoked with\n     * three arguments: (value, index, array).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Array\n     * @param {Array} array The array to query.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @returns {Array} Returns the slice of `array`.\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'barney',  'active': true },\n     *   { 'user': 'fred',    'active': false },\n     *   { 'user': 'pebbles', 'active': false }\n     * ];\n     *\n     * _.takeRightWhile(users, function(o) { return !o.active; });\n     * // => objects for ['fred', 'pebbles']\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.takeRightWhile(users, { 'user': 'pebbles', 'active': false });\n     * // => objects for ['pebbles']\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.takeRightWhile(users, ['active', false]);\n     * // => objects for ['fred', 'pebbles']\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.takeRightWhile(users, 'active');\n     * // => []\n     */\n    function takeRightWhile(array, predicate) {\n      return (array && array.length)\n        ? baseWhile(array, getIteratee(predicate, 3), false, true)\n        : [];\n    }\n\n    /**\n     * Creates a slice of `array` with elements taken from the beginning. Elements\n     * are taken until `predicate` returns falsey. The predicate is invoked with\n     * three arguments: (value, index, array).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Array\n     * @param {Array} array The array to query.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @returns {Array} Returns the slice of `array`.\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'barney',  'active': false },\n     *   { 'user': 'fred',    'active': false },\n     *   { 'user': 'pebbles', 'active': true }\n     * ];\n     *\n     * _.takeWhile(users, function(o) { return !o.active; });\n     * // => objects for ['barney', 'fred']\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.takeWhile(users, { 'user': 'barney', 'active': false });\n     * // => objects for ['barney']\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.takeWhile(users, ['active', false]);\n     * // => objects for ['barney', 'fred']\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.takeWhile(users, 'active');\n     * // => []\n     */\n    function takeWhile(array, predicate) {\n      return (array && array.length)\n        ? baseWhile(array, getIteratee(predicate, 3))\n        : [];\n    }\n\n    /**\n     * Creates an array of unique values, in order, from all given arrays using\n     * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n     * for equality comparisons.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {...Array} [arrays] The arrays to inspect.\n     * @returns {Array} Returns the new array of combined values.\n     * @example\n     *\n     * _.union([2], [1, 2]);\n     * // => [2, 1]\n     */\n    var union = baseRest(function(arrays) {\n      return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true));\n    });\n\n    /**\n     * This method is like `_.union` except that it accepts `iteratee` which is\n     * invoked for each element of each `arrays` to generate the criterion by\n     * which uniqueness is computed. Result values are chosen from the first\n     * array in which the value occurs. The iteratee is invoked with one argument:\n     * (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {...Array} [arrays] The arrays to inspect.\n     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n     * @returns {Array} Returns the new array of combined values.\n     * @example\n     *\n     * _.unionBy([2.1], [1.2, 2.3], Math.floor);\n     * // => [2.1, 1.2]\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.unionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n     * // => [{ 'x': 1 }, { 'x': 2 }]\n     */\n    var unionBy = baseRest(function(arrays) {\n      var iteratee = last(arrays);\n      if (isArrayLikeObject(iteratee)) {\n        iteratee = undefined;\n      }\n      return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), getIteratee(iteratee, 2));\n    });\n\n    /**\n     * This method is like `_.union` except that it accepts `comparator` which\n     * is invoked to compare elements of `arrays`. Result values are chosen from\n     * the first array in which the value occurs. The comparator is invoked\n     * with two arguments: (arrVal, othVal).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {...Array} [arrays] The arrays to inspect.\n     * @param {Function} [comparator] The comparator invoked per element.\n     * @returns {Array} Returns the new array of combined values.\n     * @example\n     *\n     * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n     * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n     *\n     * _.unionWith(objects, others, _.isEqual);\n     * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]\n     */\n    var unionWith = baseRest(function(arrays) {\n      var comparator = last(arrays);\n      comparator = typeof comparator == 'function' ? comparator : undefined;\n      return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), undefined, comparator);\n    });\n\n    /**\n     * Creates a duplicate-free version of an array, using\n     * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n     * for equality comparisons, in which only the first occurrence of each element\n     * is kept. The order of result values is determined by the order they occur\n     * in the array.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @returns {Array} Returns the new duplicate free array.\n     * @example\n     *\n     * _.uniq([2, 1, 2]);\n     * // => [2, 1]\n     */\n    function uniq(array) {\n      return (array && array.length) ? baseUniq(array) : [];\n    }\n\n    /**\n     * This method is like `_.uniq` except that it accepts `iteratee` which is\n     * invoked for each element in `array` to generate the criterion by which\n     * uniqueness is computed. The order of result values is determined by the\n     * order they occur in the array. The iteratee is invoked with one argument:\n     * (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n     * @returns {Array} Returns the new duplicate free array.\n     * @example\n     *\n     * _.uniqBy([2.1, 1.2, 2.3], Math.floor);\n     * // => [2.1, 1.2]\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x');\n     * // => [{ 'x': 1 }, { 'x': 2 }]\n     */\n    function uniqBy(array, iteratee) {\n      return (array && array.length) ? baseUniq(array, getIteratee(iteratee, 2)) : [];\n    }\n\n    /**\n     * This method is like `_.uniq` except that it accepts `comparator` which\n     * is invoked to compare elements of `array`. The order of result values is\n     * determined by the order they occur in the array.The comparator is invoked\n     * with two arguments: (arrVal, othVal).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @param {Function} [comparator] The comparator invoked per element.\n     * @returns {Array} Returns the new duplicate free array.\n     * @example\n     *\n     * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 2 }];\n     *\n     * _.uniqWith(objects, _.isEqual);\n     * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]\n     */\n    function uniqWith(array, comparator) {\n      comparator = typeof comparator == 'function' ? comparator : undefined;\n      return (array && array.length) ? baseUniq(array, undefined, comparator) : [];\n    }\n\n    /**\n     * This method is like `_.zip` except that it accepts an array of grouped\n     * elements and creates an array regrouping the elements to their pre-zip\n     * configuration.\n     *\n     * @static\n     * @memberOf _\n     * @since 1.2.0\n     * @category Array\n     * @param {Array} array The array of grouped elements to process.\n     * @returns {Array} Returns the new array of regrouped elements.\n     * @example\n     *\n     * var zipped = _.zip(['a', 'b'], [1, 2], [true, false]);\n     * // => [['a', 1, true], ['b', 2, false]]\n     *\n     * _.unzip(zipped);\n     * // => [['a', 'b'], [1, 2], [true, false]]\n     */\n    function unzip(array) {\n      if (!(array && array.length)) {\n        return [];\n      }\n      var length = 0;\n      array = arrayFilter(array, function(group) {\n        if (isArrayLikeObject(group)) {\n          length = nativeMax(group.length, length);\n          return true;\n        }\n      });\n      return baseTimes(length, function(index) {\n        return arrayMap(array, baseProperty(index));\n      });\n    }\n\n    /**\n     * This method is like `_.unzip` except that it accepts `iteratee` to specify\n     * how regrouped values should be combined. The iteratee is invoked with the\n     * elements of each group: (...group).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.8.0\n     * @category Array\n     * @param {Array} array The array of grouped elements to process.\n     * @param {Function} [iteratee=_.identity] The function to combine\n     *  regrouped values.\n     * @returns {Array} Returns the new array of regrouped elements.\n     * @example\n     *\n     * var zipped = _.zip([1, 2], [10, 20], [100, 200]);\n     * // => [[1, 10, 100], [2, 20, 200]]\n     *\n     * _.unzipWith(zipped, _.add);\n     * // => [3, 30, 300]\n     */\n    function unzipWith(array, iteratee) {\n      if (!(array && array.length)) {\n        return [];\n      }\n      var result = unzip(array);\n      if (iteratee == null) {\n        return result;\n      }\n      return arrayMap(result, function(group) {\n        return apply(iteratee, undefined, group);\n      });\n    }\n\n    /**\n     * Creates an array excluding all given values using\n     * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n     * for equality comparisons.\n     *\n     * **Note:** Unlike `_.pull`, this method returns a new array.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @param {...*} [values] The values to exclude.\n     * @returns {Array} Returns the new array of filtered values.\n     * @see _.difference, _.xor\n     * @example\n     *\n     * _.without([2, 1, 2, 3], 1, 2);\n     * // => [3]\n     */\n    var without = baseRest(function(array, values) {\n      return isArrayLikeObject(array)\n        ? baseDifference(array, values)\n        : [];\n    });\n\n    /**\n     * Creates an array of unique values that is the\n     * [symmetric difference](https://en.wikipedia.org/wiki/Symmetric_difference)\n     * of the given arrays. The order of result values is determined by the order\n     * they occur in the arrays.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.4.0\n     * @category Array\n     * @param {...Array} [arrays] The arrays to inspect.\n     * @returns {Array} Returns the new array of filtered values.\n     * @see _.difference, _.without\n     * @example\n     *\n     * _.xor([2, 1], [2, 3]);\n     * // => [1, 3]\n     */\n    var xor = baseRest(function(arrays) {\n      return baseXor(arrayFilter(arrays, isArrayLikeObject));\n    });\n\n    /**\n     * This method is like `_.xor` except that it accepts `iteratee` which is\n     * invoked for each element of each `arrays` to generate the criterion by\n     * which by which they're compared. The order of result values is determined\n     * by the order they occur in the arrays. The iteratee is invoked with one\n     * argument: (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {...Array} [arrays] The arrays to inspect.\n     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n     * @returns {Array} Returns the new array of filtered values.\n     * @example\n     *\n     * _.xorBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n     * // => [1.2, 3.4]\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.xorBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n     * // => [{ 'x': 2 }]\n     */\n    var xorBy = baseRest(function(arrays) {\n      var iteratee = last(arrays);\n      if (isArrayLikeObject(iteratee)) {\n        iteratee = undefined;\n      }\n      return baseXor(arrayFilter(arrays, isArrayLikeObject), getIteratee(iteratee, 2));\n    });\n\n    /**\n     * This method is like `_.xor` except that it accepts `comparator` which is\n     * invoked to compare elements of `arrays`. The order of result values is\n     * determined by the order they occur in the arrays. The comparator is invoked\n     * with two arguments: (arrVal, othVal).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {...Array} [arrays] The arrays to inspect.\n     * @param {Function} [comparator] The comparator invoked per element.\n     * @returns {Array} Returns the new array of filtered values.\n     * @example\n     *\n     * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n     * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n     *\n     * _.xorWith(objects, others, _.isEqual);\n     * // => [{ 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]\n     */\n    var xorWith = baseRest(function(arrays) {\n      var comparator = last(arrays);\n      comparator = typeof comparator == 'function' ? comparator : undefined;\n      return baseXor(arrayFilter(arrays, isArrayLikeObject), undefined, comparator);\n    });\n\n    /**\n     * Creates an array of grouped elements, the first of which contains the\n     * first elements of the given arrays, the second of which contains the\n     * second elements of the given arrays, and so on.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {...Array} [arrays] The arrays to process.\n     * @returns {Array} Returns the new array of grouped elements.\n     * @example\n     *\n     * _.zip(['a', 'b'], [1, 2], [true, false]);\n     * // => [['a', 1, true], ['b', 2, false]]\n     */\n    var zip = baseRest(unzip);\n\n    /**\n     * This method is like `_.fromPairs` except that it accepts two arrays,\n     * one of property identifiers and one of corresponding values.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.4.0\n     * @category Array\n     * @param {Array} [props=[]] The property identifiers.\n     * @param {Array} [values=[]] The property values.\n     * @returns {Object} Returns the new object.\n     * @example\n     *\n     * _.zipObject(['a', 'b'], [1, 2]);\n     * // => { 'a': 1, 'b': 2 }\n     */\n    function zipObject(props, values) {\n      return baseZipObject(props || [], values || [], assignValue);\n    }\n\n    /**\n     * This method is like `_.zipObject` except that it supports property paths.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.1.0\n     * @category Array\n     * @param {Array} [props=[]] The property identifiers.\n     * @param {Array} [values=[]] The property values.\n     * @returns {Object} Returns the new object.\n     * @example\n     *\n     * _.zipObjectDeep(['a.b[0].c', 'a.b[1].d'], [1, 2]);\n     * // => { 'a': { 'b': [{ 'c': 1 }, { 'd': 2 }] } }\n     */\n    function zipObjectDeep(props, values) {\n      return baseZipObject(props || [], values || [], baseSet);\n    }\n\n    /**\n     * This method is like `_.zip` except that it accepts `iteratee` to specify\n     * how grouped values should be combined. The iteratee is invoked with the\n     * elements of each group: (...group).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.8.0\n     * @category Array\n     * @param {...Array} [arrays] The arrays to process.\n     * @param {Function} [iteratee=_.identity] The function to combine\n     *  grouped values.\n     * @returns {Array} Returns the new array of grouped elements.\n     * @example\n     *\n     * _.zipWith([1, 2], [10, 20], [100, 200], function(a, b, c) {\n     *   return a + b + c;\n     * });\n     * // => [111, 222]\n     */\n    var zipWith = baseRest(function(arrays) {\n      var length = arrays.length,\n          iteratee = length > 1 ? arrays[length - 1] : undefined;\n\n      iteratee = typeof iteratee == 'function' ? (arrays.pop(), iteratee) : undefined;\n      return unzipWith(arrays, iteratee);\n    });\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Creates a `lodash` wrapper instance that wraps `value` with explicit method\n     * chain sequences enabled. The result of such sequences must be unwrapped\n     * with `_#value`.\n     *\n     * @static\n     * @memberOf _\n     * @since 1.3.0\n     * @category Seq\n     * @param {*} value The value to wrap.\n     * @returns {Object} Returns the new `lodash` wrapper instance.\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'barney',  'age': 36 },\n     *   { 'user': 'fred',    'age': 40 },\n     *   { 'user': 'pebbles', 'age': 1 }\n     * ];\n     *\n     * var youngest = _\n     *   .chain(users)\n     *   .sortBy('age')\n     *   .map(function(o) {\n     *     return o.user + ' is ' + o.age;\n     *   })\n     *   .head()\n     *   .value();\n     * // => 'pebbles is 1'\n     */\n    function chain(value) {\n      var result = lodash(value);\n      result.__chain__ = true;\n      return result;\n    }\n\n    /**\n     * This method invokes `interceptor` and returns `value`. The interceptor\n     * is invoked with one argument; (value). The purpose of this method is to\n     * \"tap into\" a method chain sequence in order to modify intermediate results.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Seq\n     * @param {*} value The value to provide to `interceptor`.\n     * @param {Function} interceptor The function to invoke.\n     * @returns {*} Returns `value`.\n     * @example\n     *\n     * _([1, 2, 3])\n     *  .tap(function(array) {\n     *    // Mutate input array.\n     *    array.pop();\n     *  })\n     *  .reverse()\n     *  .value();\n     * // => [2, 1]\n     */\n    function tap(value, interceptor) {\n      interceptor(value);\n      return value;\n    }\n\n    /**\n     * This method is like `_.tap` except that it returns the result of `interceptor`.\n     * The purpose of this method is to \"pass thru\" values replacing intermediate\n     * results in a method chain sequence.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Seq\n     * @param {*} value The value to provide to `interceptor`.\n     * @param {Function} interceptor The function to invoke.\n     * @returns {*} Returns the result of `interceptor`.\n     * @example\n     *\n     * _('  abc  ')\n     *  .chain()\n     *  .trim()\n     *  .thru(function(value) {\n     *    return [value];\n     *  })\n     *  .value();\n     * // => ['abc']\n     */\n    function thru(value, interceptor) {\n      return interceptor(value);\n    }\n\n    /**\n     * This method is the wrapper version of `_.at`.\n     *\n     * @name at\n     * @memberOf _\n     * @since 1.0.0\n     * @category Seq\n     * @param {...(string|string[])} [paths] The property paths to pick.\n     * @returns {Object} Returns the new `lodash` wrapper instance.\n     * @example\n     *\n     * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };\n     *\n     * _(object).at(['a[0].b.c', 'a[1]']).value();\n     * // => [3, 4]\n     */\n    var wrapperAt = flatRest(function(paths) {\n      var length = paths.length,\n          start = length ? paths[0] : 0,\n          value = this.__wrapped__,\n          interceptor = function(object) { return baseAt(object, paths); };\n\n      if (length > 1 || this.__actions__.length ||\n          !(value instanceof LazyWrapper) || !isIndex(start)) {\n        return this.thru(interceptor);\n      }\n      value = value.slice(start, +start + (length ? 1 : 0));\n      value.__actions__.push({\n        'func': thru,\n        'args': [interceptor],\n        'thisArg': undefined\n      });\n      return new LodashWrapper(value, this.__chain__).thru(function(array) {\n        if (length && !array.length) {\n          array.push(undefined);\n        }\n        return array;\n      });\n    });\n\n    /**\n     * Creates a `lodash` wrapper instance with explicit method chain sequences enabled.\n     *\n     * @name chain\n     * @memberOf _\n     * @since 0.1.0\n     * @category Seq\n     * @returns {Object} Returns the new `lodash` wrapper instance.\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'barney', 'age': 36 },\n     *   { 'user': 'fred',   'age': 40 }\n     * ];\n     *\n     * // A sequence without explicit chaining.\n     * _(users).head();\n     * // => { 'user': 'barney', 'age': 36 }\n     *\n     * // A sequence with explicit chaining.\n     * _(users)\n     *   .chain()\n     *   .head()\n     *   .pick('user')\n     *   .value();\n     * // => { 'user': 'barney' }\n     */\n    function wrapperChain() {\n      return chain(this);\n    }\n\n    /**\n     * Executes the chain sequence and returns the wrapped result.\n     *\n     * @name commit\n     * @memberOf _\n     * @since 3.2.0\n     * @category Seq\n     * @returns {Object} Returns the new `lodash` wrapper instance.\n     * @example\n     *\n     * var array = [1, 2];\n     * var wrapped = _(array).push(3);\n     *\n     * console.log(array);\n     * // => [1, 2]\n     *\n     * wrapped = wrapped.commit();\n     * console.log(array);\n     * // => [1, 2, 3]\n     *\n     * wrapped.last();\n     * // => 3\n     *\n     * console.log(array);\n     * // => [1, 2, 3]\n     */\n    function wrapperCommit() {\n      return new LodashWrapper(this.value(), this.__chain__);\n    }\n\n    /**\n     * Gets the next value on a wrapped object following the\n     * [iterator protocol](https://mdn.io/iteration_protocols#iterator).\n     *\n     * @name next\n     * @memberOf _\n     * @since 4.0.0\n     * @category Seq\n     * @returns {Object} Returns the next iterator value.\n     * @example\n     *\n     * var wrapped = _([1, 2]);\n     *\n     * wrapped.next();\n     * // => { 'done': false, 'value': 1 }\n     *\n     * wrapped.next();\n     * // => { 'done': false, 'value': 2 }\n     *\n     * wrapped.next();\n     * // => { 'done': true, 'value': undefined }\n     */\n    function wrapperNext() {\n      if (this.__values__ === undefined) {\n        this.__values__ = toArray(this.value());\n      }\n      var done = this.__index__ >= this.__values__.length,\n          value = done ? undefined : this.__values__[this.__index__++];\n\n      return { 'done': done, 'value': value };\n    }\n\n    /**\n     * Enables the wrapper to be iterable.\n     *\n     * @name Symbol.iterator\n     * @memberOf _\n     * @since 4.0.0\n     * @category Seq\n     * @returns {Object} Returns the wrapper object.\n     * @example\n     *\n     * var wrapped = _([1, 2]);\n     *\n     * wrapped[Symbol.iterator]() === wrapped;\n     * // => true\n     *\n     * Array.from(wrapped);\n     * // => [1, 2]\n     */\n    function wrapperToIterator() {\n      return this;\n    }\n\n    /**\n     * Creates a clone of the chain sequence planting `value` as the wrapped value.\n     *\n     * @name plant\n     * @memberOf _\n     * @since 3.2.0\n     * @category Seq\n     * @param {*} value The value to plant.\n     * @returns {Object} Returns the new `lodash` wrapper instance.\n     * @example\n     *\n     * function square(n) {\n     *   return n * n;\n     * }\n     *\n     * var wrapped = _([1, 2]).map(square);\n     * var other = wrapped.plant([3, 4]);\n     *\n     * other.value();\n     * // => [9, 16]\n     *\n     * wrapped.value();\n     * // => [1, 4]\n     */\n    function wrapperPlant(value) {\n      var result,\n          parent = this;\n\n      while (parent instanceof baseLodash) {\n        var clone = wrapperClone(parent);\n        clone.__index__ = 0;\n        clone.__values__ = undefined;\n        if (result) {\n          previous.__wrapped__ = clone;\n        } else {\n          result = clone;\n        }\n        var previous = clone;\n        parent = parent.__wrapped__;\n      }\n      previous.__wrapped__ = value;\n      return result;\n    }\n\n    /**\n     * This method is the wrapper version of `_.reverse`.\n     *\n     * **Note:** This method mutates the wrapped array.\n     *\n     * @name reverse\n     * @memberOf _\n     * @since 0.1.0\n     * @category Seq\n     * @returns {Object} Returns the new `lodash` wrapper instance.\n     * @example\n     *\n     * var array = [1, 2, 3];\n     *\n     * _(array).reverse().value()\n     * // => [3, 2, 1]\n     *\n     * console.log(array);\n     * // => [3, 2, 1]\n     */\n    function wrapperReverse() {\n      var value = this.__wrapped__;\n      if (value instanceof LazyWrapper) {\n        var wrapped = value;\n        if (this.__actions__.length) {\n          wrapped = new LazyWrapper(this);\n        }\n        wrapped = wrapped.reverse();\n        wrapped.__actions__.push({\n          'func': thru,\n          'args': [reverse],\n          'thisArg': undefined\n        });\n        return new LodashWrapper(wrapped, this.__chain__);\n      }\n      return this.thru(reverse);\n    }\n\n    /**\n     * Executes the chain sequence to resolve the unwrapped value.\n     *\n     * @name value\n     * @memberOf _\n     * @since 0.1.0\n     * @alias toJSON, valueOf\n     * @category Seq\n     * @returns {*} Returns the resolved unwrapped value.\n     * @example\n     *\n     * _([1, 2, 3]).value();\n     * // => [1, 2, 3]\n     */\n    function wrapperValue() {\n      return baseWrapperValue(this.__wrapped__, this.__actions__);\n    }\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Creates an object composed of keys generated from the results of running\n     * each element of `collection` thru `iteratee`. The corresponding value of\n     * each key is the number of times the key was returned by `iteratee`. The\n     * iteratee is invoked with one argument: (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 0.5.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n     * @returns {Object} Returns the composed aggregate object.\n     * @example\n     *\n     * _.countBy([6.1, 4.2, 6.3], Math.floor);\n     * // => { '4': 1, '6': 2 }\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.countBy(['one', 'two', 'three'], 'length');\n     * // => { '3': 2, '5': 1 }\n     */\n    var countBy = createAggregator(function(result, value, key) {\n      if (hasOwnProperty.call(result, key)) {\n        ++result[key];\n      } else {\n        baseAssignValue(result, key, 1);\n      }\n    });\n\n    /**\n     * Checks if `predicate` returns truthy for **all** elements of `collection`.\n     * Iteration is stopped once `predicate` returns falsey. The predicate is\n     * invoked with three arguments: (value, index|key, collection).\n     *\n     * **Note:** This method returns `true` for\n     * [empty collections](https://en.wikipedia.org/wiki/Empty_set) because\n     * [everything is true](https://en.wikipedia.org/wiki/Vacuous_truth) of\n     * elements of empty collections.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {boolean} Returns `true` if all elements pass the predicate check,\n     *  else `false`.\n     * @example\n     *\n     * _.every([true, 1, null, 'yes'], Boolean);\n     * // => false\n     *\n     * var users = [\n     *   { 'user': 'barney', 'age': 36, 'active': false },\n     *   { 'user': 'fred',   'age': 40, 'active': false }\n     * ];\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.every(users, { 'user': 'barney', 'active': false });\n     * // => false\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.every(users, ['active', false]);\n     * // => true\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.every(users, 'active');\n     * // => false\n     */\n    function every(collection, predicate, guard) {\n      var func = isArray(collection) ? arrayEvery : baseEvery;\n      if (guard && isIterateeCall(collection, predicate, guard)) {\n        predicate = undefined;\n      }\n      return func(collection, getIteratee(predicate, 3));\n    }\n\n    /**\n     * Iterates over elements of `collection`, returning an array of all elements\n     * `predicate` returns truthy for. The predicate is invoked with three\n     * arguments: (value, index|key, collection).\n     *\n     * **Note:** Unlike `_.remove`, this method returns a new array.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @returns {Array} Returns the new filtered array.\n     * @see _.reject\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'barney', 'age': 36, 'active': true },\n     *   { 'user': 'fred',   'age': 40, 'active': false }\n     * ];\n     *\n     * _.filter(users, function(o) { return !o.active; });\n     * // => objects for ['fred']\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.filter(users, { 'age': 36, 'active': true });\n     * // => objects for ['barney']\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.filter(users, ['active', false]);\n     * // => objects for ['fred']\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.filter(users, 'active');\n     * // => objects for ['barney']\n     *\n     * // Combining several predicates using `_.overEvery` or `_.overSome`.\n     * _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]]));\n     * // => objects for ['fred', 'barney']\n     */\n    function filter(collection, predicate) {\n      var func = isArray(collection) ? arrayFilter : baseFilter;\n      return func(collection, getIteratee(predicate, 3));\n    }\n\n    /**\n     * Iterates over elements of `collection`, returning the first element\n     * `predicate` returns truthy for. The predicate is invoked with three\n     * arguments: (value, index|key, collection).\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to inspect.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @param {number} [fromIndex=0] The index to search from.\n     * @returns {*} Returns the matched element, else `undefined`.\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'barney',  'age': 36, 'active': true },\n     *   { 'user': 'fred',    'age': 40, 'active': false },\n     *   { 'user': 'pebbles', 'age': 1,  'active': true }\n     * ];\n     *\n     * _.find(users, function(o) { return o.age < 40; });\n     * // => object for 'barney'\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.find(users, { 'age': 1, 'active': true });\n     * // => object for 'pebbles'\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.find(users, ['active', false]);\n     * // => object for 'fred'\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.find(users, 'active');\n     * // => object for 'barney'\n     */\n    var find = createFind(findIndex);\n\n    /**\n     * This method is like `_.find` except that it iterates over elements of\n     * `collection` from right to left.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.0.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to inspect.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @param {number} [fromIndex=collection.length-1] The index to search from.\n     * @returns {*} Returns the matched element, else `undefined`.\n     * @example\n     *\n     * _.findLast([1, 2, 3, 4], function(n) {\n     *   return n % 2 == 1;\n     * });\n     * // => 3\n     */\n    var findLast = createFind(findLastIndex);\n\n    /**\n     * Creates a flattened array of values by running each element in `collection`\n     * thru `iteratee` and flattening the mapped results. The iteratee is invoked\n     * with three arguments: (value, index|key, collection).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @returns {Array} Returns the new flattened array.\n     * @example\n     *\n     * function duplicate(n) {\n     *   return [n, n];\n     * }\n     *\n     * _.flatMap([1, 2], duplicate);\n     * // => [1, 1, 2, 2]\n     */\n    function flatMap(collection, iteratee) {\n      return baseFlatten(map(collection, iteratee), 1);\n    }\n\n    /**\n     * This method is like `_.flatMap` except that it recursively flattens the\n     * mapped results.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.7.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @returns {Array} Returns the new flattened array.\n     * @example\n     *\n     * function duplicate(n) {\n     *   return [[[n, n]]];\n     * }\n     *\n     * _.flatMapDeep([1, 2], duplicate);\n     * // => [1, 1, 2, 2]\n     */\n    function flatMapDeep(collection, iteratee) {\n      return baseFlatten(map(collection, iteratee), INFINITY);\n    }\n\n    /**\n     * This method is like `_.flatMap` except that it recursively flattens the\n     * mapped results up to `depth` times.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.7.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @param {number} [depth=1] The maximum recursion depth.\n     * @returns {Array} Returns the new flattened array.\n     * @example\n     *\n     * function duplicate(n) {\n     *   return [[[n, n]]];\n     * }\n     *\n     * _.flatMapDepth([1, 2], duplicate, 2);\n     * // => [[1, 1], [2, 2]]\n     */\n    function flatMapDepth(collection, iteratee, depth) {\n      depth = depth === undefined ? 1 : toInteger(depth);\n      return baseFlatten(map(collection, iteratee), depth);\n    }\n\n    /**\n     * Iterates over elements of `collection` and invokes `iteratee` for each element.\n     * The iteratee is invoked with three arguments: (value, index|key, collection).\n     * Iteratee functions may exit iteration early by explicitly returning `false`.\n     *\n     * **Note:** As with other \"Collections\" methods, objects with a \"length\"\n     * property are iterated like arrays. To avoid this behavior use `_.forIn`\n     * or `_.forOwn` for object iteration.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @alias each\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @returns {Array|Object} Returns `collection`.\n     * @see _.forEachRight\n     * @example\n     *\n     * _.forEach([1, 2], function(value) {\n     *   console.log(value);\n     * });\n     * // => Logs `1` then `2`.\n     *\n     * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) {\n     *   console.log(key);\n     * });\n     * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n     */\n    function forEach(collection, iteratee) {\n      var func = isArray(collection) ? arrayEach : baseEach;\n      return func(collection, getIteratee(iteratee, 3));\n    }\n\n    /**\n     * This method is like `_.forEach` except that it iterates over elements of\n     * `collection` from right to left.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.0.0\n     * @alias eachRight\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @returns {Array|Object} Returns `collection`.\n     * @see _.forEach\n     * @example\n     *\n     * _.forEachRight([1, 2], function(value) {\n     *   console.log(value);\n     * });\n     * // => Logs `2` then `1`.\n     */\n    function forEachRight(collection, iteratee) {\n      var func = isArray(collection) ? arrayEachRight : baseEachRight;\n      return func(collection, getIteratee(iteratee, 3));\n    }\n\n    /**\n     * Creates an object composed of keys generated from the results of running\n     * each element of `collection` thru `iteratee`. The order of grouped values\n     * is determined by the order they occur in `collection`. The corresponding\n     * value of each key is an array of elements responsible for generating the\n     * key. The iteratee is invoked with one argument: (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n     * @returns {Object} Returns the composed aggregate object.\n     * @example\n     *\n     * _.groupBy([6.1, 4.2, 6.3], Math.floor);\n     * // => { '4': [4.2], '6': [6.1, 6.3] }\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.groupBy(['one', 'two', 'three'], 'length');\n     * // => { '3': ['one', 'two'], '5': ['three'] }\n     */\n    var groupBy = createAggregator(function(result, value, key) {\n      if (hasOwnProperty.call(result, key)) {\n        result[key].push(value);\n      } else {\n        baseAssignValue(result, key, [value]);\n      }\n    });\n\n    /**\n     * Checks if `value` is in `collection`. If `collection` is a string, it's\n     * checked for a substring of `value`, otherwise\n     * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n     * is used for equality comparisons. If `fromIndex` is negative, it's used as\n     * the offset from the end of `collection`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Collection\n     * @param {Array|Object|string} collection The collection to inspect.\n     * @param {*} value The value to search for.\n     * @param {number} [fromIndex=0] The index to search from.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.\n     * @returns {boolean} Returns `true` if `value` is found, else `false`.\n     * @example\n     *\n     * _.includes([1, 2, 3], 1);\n     * // => true\n     *\n     * _.includes([1, 2, 3], 1, 2);\n     * // => false\n     *\n     * _.includes({ 'a': 1, 'b': 2 }, 1);\n     * // => true\n     *\n     * _.includes('abcd', 'bc');\n     * // => true\n     */\n    function includes(collection, value, fromIndex, guard) {\n      collection = isArrayLike(collection) ? collection : values(collection);\n      fromIndex = (fromIndex && !guard) ? toInteger(fromIndex) : 0;\n\n      var length = collection.length;\n      if (fromIndex < 0) {\n        fromIndex = nativeMax(length + fromIndex, 0);\n      }\n      return isString(collection)\n        ? (fromIndex <= length && collection.indexOf(value, fromIndex) > -1)\n        : (!!length && baseIndexOf(collection, value, fromIndex) > -1);\n    }\n\n    /**\n     * Invokes the method at `path` of each element in `collection`, returning\n     * an array of the results of each invoked method. Any additional arguments\n     * are provided to each invoked method. If `path` is a function, it's invoked\n     * for, and `this` bound to, each element in `collection`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Array|Function|string} path The path of the method to invoke or\n     *  the function invoked per iteration.\n     * @param {...*} [args] The arguments to invoke each method with.\n     * @returns {Array} Returns the array of results.\n     * @example\n     *\n     * _.invokeMap([[5, 1, 7], [3, 2, 1]], 'sort');\n     * // => [[1, 5, 7], [1, 2, 3]]\n     *\n     * _.invokeMap([123, 456], String.prototype.split, '');\n     * // => [['1', '2', '3'], ['4', '5', '6']]\n     */\n    var invokeMap = baseRest(function(collection, path, args) {\n      var index = -1,\n          isFunc = typeof path == 'function',\n          result = isArrayLike(collection) ? Array(collection.length) : [];\n\n      baseEach(collection, function(value) {\n        result[++index] = isFunc ? apply(path, value, args) : baseInvoke(value, path, args);\n      });\n      return result;\n    });\n\n    /**\n     * Creates an object composed of keys generated from the results of running\n     * each element of `collection` thru `iteratee`. The corresponding value of\n     * each key is the last element responsible for generating the key. The\n     * iteratee is invoked with one argument: (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n     * @returns {Object} Returns the composed aggregate object.\n     * @example\n     *\n     * var array = [\n     *   { 'dir': 'left', 'code': 97 },\n     *   { 'dir': 'right', 'code': 100 }\n     * ];\n     *\n     * _.keyBy(array, function(o) {\n     *   return String.fromCharCode(o.code);\n     * });\n     * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } }\n     *\n     * _.keyBy(array, 'dir');\n     * // => { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } }\n     */\n    var keyBy = createAggregator(function(result, value, key) {\n      baseAssignValue(result, key, value);\n    });\n\n    /**\n     * Creates an array of values by running each element in `collection` thru\n     * `iteratee`. The iteratee is invoked with three arguments:\n     * (value, index|key, collection).\n     *\n     * Many lodash methods are guarded to work as iteratees for methods like\n     * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.\n     *\n     * The guarded methods are:\n     * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,\n     * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,\n     * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,\n     * `template`, `trim`, `trimEnd`, `trimStart`, and `words`\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @returns {Array} Returns the new mapped array.\n     * @example\n     *\n     * function square(n) {\n     *   return n * n;\n     * }\n     *\n     * _.map([4, 8], square);\n     * // => [16, 64]\n     *\n     * _.map({ 'a': 4, 'b': 8 }, square);\n     * // => [16, 64] (iteration order is not guaranteed)\n     *\n     * var users = [\n     *   { 'user': 'barney' },\n     *   { 'user': 'fred' }\n     * ];\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.map(users, 'user');\n     * // => ['barney', 'fred']\n     */\n    function map(collection, iteratee) {\n      var func = isArray(collection) ? arrayMap : baseMap;\n      return func(collection, getIteratee(iteratee, 3));\n    }\n\n    /**\n     * This method is like `_.sortBy` except that it allows specifying the sort\n     * orders of the iteratees to sort by. If `orders` is unspecified, all values\n     * are sorted in ascending order. Otherwise, specify an order of \"desc\" for\n     * descending or \"asc\" for ascending sort order of corresponding values.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Array[]|Function[]|Object[]|string[]} [iteratees=[_.identity]]\n     *  The iteratees to sort by.\n     * @param {string[]} [orders] The sort orders of `iteratees`.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.\n     * @returns {Array} Returns the new sorted array.\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'fred',   'age': 48 },\n     *   { 'user': 'barney', 'age': 34 },\n     *   { 'user': 'fred',   'age': 40 },\n     *   { 'user': 'barney', 'age': 36 }\n     * ];\n     *\n     * // Sort by `user` in ascending order and by `age` in descending order.\n     * _.orderBy(users, ['user', 'age'], ['asc', 'desc']);\n     * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]]\n     */\n    function orderBy(collection, iteratees, orders, guard) {\n      if (collection == null) {\n        return [];\n      }\n      if (!isArray(iteratees)) {\n        iteratees = iteratees == null ? [] : [iteratees];\n      }\n      orders = guard ? undefined : orders;\n      if (!isArray(orders)) {\n        orders = orders == null ? [] : [orders];\n      }\n      return baseOrderBy(collection, iteratees, orders);\n    }\n\n    /**\n     * Creates an array of elements split into two groups, the first of which\n     * contains elements `predicate` returns truthy for, the second of which\n     * contains elements `predicate` returns falsey for. The predicate is\n     * invoked with one argument: (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @returns {Array} Returns the array of grouped elements.\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'barney',  'age': 36, 'active': false },\n     *   { 'user': 'fred',    'age': 40, 'active': true },\n     *   { 'user': 'pebbles', 'age': 1,  'active': false }\n     * ];\n     *\n     * _.partition(users, function(o) { return o.active; });\n     * // => objects for [['fred'], ['barney', 'pebbles']]\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.partition(users, { 'age': 1, 'active': false });\n     * // => objects for [['pebbles'], ['barney', 'fred']]\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.partition(users, ['active', false]);\n     * // => objects for [['barney', 'pebbles'], ['fred']]\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.partition(users, 'active');\n     * // => objects for [['fred'], ['barney', 'pebbles']]\n     */\n    var partition = createAggregator(function(result, value, key) {\n      result[key ? 0 : 1].push(value);\n    }, function() { return [[], []]; });\n\n    /**\n     * Reduces `collection` to a value which is the accumulated result of running\n     * each element in `collection` thru `iteratee`, where each successive\n     * invocation is supplied the return value of the previous. If `accumulator`\n     * is not given, the first element of `collection` is used as the initial\n     * value. The iteratee is invoked with four arguments:\n     * (accumulator, value, index|key, collection).\n     *\n     * Many lodash methods are guarded to work as iteratees for methods like\n     * `_.reduce`, `_.reduceRight`, and `_.transform`.\n     *\n     * The guarded methods are:\n     * `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`,\n     * and `sortBy`\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @param {*} [accumulator] The initial value.\n     * @returns {*} Returns the accumulated value.\n     * @see _.reduceRight\n     * @example\n     *\n     * _.reduce([1, 2], function(sum, n) {\n     *   return sum + n;\n     * }, 0);\n     * // => 3\n     *\n     * _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n     *   (result[value] || (result[value] = [])).push(key);\n     *   return result;\n     * }, {});\n     * // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed)\n     */\n    function reduce(collection, iteratee, accumulator) {\n      var func = isArray(collection) ? arrayReduce : baseReduce,\n          initAccum = arguments.length < 3;\n\n      return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEach);\n    }\n\n    /**\n     * This method is like `_.reduce` except that it iterates over elements of\n     * `collection` from right to left.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @param {*} [accumulator] The initial value.\n     * @returns {*} Returns the accumulated value.\n     * @see _.reduce\n     * @example\n     *\n     * var array = [[0, 1], [2, 3], [4, 5]];\n     *\n     * _.reduceRight(array, function(flattened, other) {\n     *   return flattened.concat(other);\n     * }, []);\n     * // => [4, 5, 2, 3, 0, 1]\n     */\n    function reduceRight(collection, iteratee, accumulator) {\n      var func = isArray(collection) ? arrayReduceRight : baseReduce,\n          initAccum = arguments.length < 3;\n\n      return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEachRight);\n    }\n\n    /**\n     * The opposite of `_.filter`; this method returns the elements of `collection`\n     * that `predicate` does **not** return truthy for.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @returns {Array} Returns the new filtered array.\n     * @see _.filter\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'barney', 'age': 36, 'active': false },\n     *   { 'user': 'fred',   'age': 40, 'active': true }\n     * ];\n     *\n     * _.reject(users, function(o) { return !o.active; });\n     * // => objects for ['fred']\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.reject(users, { 'age': 40, 'active': true });\n     * // => objects for ['barney']\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.reject(users, ['active', false]);\n     * // => objects for ['fred']\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.reject(users, 'active');\n     * // => objects for ['barney']\n     */\n    function reject(collection, predicate) {\n      var func = isArray(collection) ? arrayFilter : baseFilter;\n      return func(collection, negate(getIteratee(predicate, 3)));\n    }\n\n    /**\n     * Gets a random element from `collection`.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.0.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to sample.\n     * @returns {*} Returns the random element.\n     * @example\n     *\n     * _.sample([1, 2, 3, 4]);\n     * // => 2\n     */\n    function sample(collection) {\n      var func = isArray(collection) ? arraySample : baseSample;\n      return func(collection);\n    }\n\n    /**\n     * Gets `n` random elements at unique keys from `collection` up to the\n     * size of `collection`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to sample.\n     * @param {number} [n=1] The number of elements to sample.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {Array} Returns the random elements.\n     * @example\n     *\n     * _.sampleSize([1, 2, 3], 2);\n     * // => [3, 1]\n     *\n     * _.sampleSize([1, 2, 3], 4);\n     * // => [2, 3, 1]\n     */\n    function sampleSize(collection, n, guard) {\n      if ((guard ? isIterateeCall(collection, n, guard) : n === undefined)) {\n        n = 1;\n      } else {\n        n = toInteger(n);\n      }\n      var func = isArray(collection) ? arraySampleSize : baseSampleSize;\n      return func(collection, n);\n    }\n\n    /**\n     * Creates an array of shuffled values, using a version of the\n     * [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher-Yates_shuffle).\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to shuffle.\n     * @returns {Array} Returns the new shuffled array.\n     * @example\n     *\n     * _.shuffle([1, 2, 3, 4]);\n     * // => [4, 1, 3, 2]\n     */\n    function shuffle(collection) {\n      var func = isArray(collection) ? arrayShuffle : baseShuffle;\n      return func(collection);\n    }\n\n    /**\n     * Gets the size of `collection` by returning its length for array-like\n     * values or the number of own enumerable string keyed properties for objects.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Collection\n     * @param {Array|Object|string} collection The collection to inspect.\n     * @returns {number} Returns the collection size.\n     * @example\n     *\n     * _.size([1, 2, 3]);\n     * // => 3\n     *\n     * _.size({ 'a': 1, 'b': 2 });\n     * // => 2\n     *\n     * _.size('pebbles');\n     * // => 7\n     */\n    function size(collection) {\n      if (collection == null) {\n        return 0;\n      }\n      if (isArrayLike(collection)) {\n        return isString(collection) ? stringSize(collection) : collection.length;\n      }\n      var tag = getTag(collection);\n      if (tag == mapTag || tag == setTag) {\n        return collection.size;\n      }\n      return baseKeys(collection).length;\n    }\n\n    /**\n     * Checks if `predicate` returns truthy for **any** element of `collection`.\n     * Iteration is stopped once `predicate` returns truthy. The predicate is\n     * invoked with three arguments: (value, index|key, collection).\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {boolean} Returns `true` if any element passes the predicate check,\n     *  else `false`.\n     * @example\n     *\n     * _.some([null, 0, 'yes', false], Boolean);\n     * // => true\n     *\n     * var users = [\n     *   { 'user': 'barney', 'active': true },\n     *   { 'user': 'fred',   'active': false }\n     * ];\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.some(users, { 'user': 'barney', 'active': false });\n     * // => false\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.some(users, ['active', false]);\n     * // => true\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.some(users, 'active');\n     * // => true\n     */\n    function some(collection, predicate, guard) {\n      var func = isArray(collection) ? arraySome : baseSome;\n      if (guard && isIterateeCall(collection, predicate, guard)) {\n        predicate = undefined;\n      }\n      return func(collection, getIteratee(predicate, 3));\n    }\n\n    /**\n     * Creates an array of elements, sorted in ascending order by the results of\n     * running each element in a collection thru each iteratee. This method\n     * performs a stable sort, that is, it preserves the original sort order of\n     * equal elements. The iteratees are invoked with one argument: (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {...(Function|Function[])} [iteratees=[_.identity]]\n     *  The iteratees to sort by.\n     * @returns {Array} Returns the new sorted array.\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'fred',   'age': 48 },\n     *   { 'user': 'barney', 'age': 36 },\n     *   { 'user': 'fred',   'age': 30 },\n     *   { 'user': 'barney', 'age': 34 }\n     * ];\n     *\n     * _.sortBy(users, [function(o) { return o.user; }]);\n     * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 30]]\n     *\n     * _.sortBy(users, ['user', 'age']);\n     * // => objects for [['barney', 34], ['barney', 36], ['fred', 30], ['fred', 48]]\n     */\n    var sortBy = baseRest(function(collection, iteratees) {\n      if (collection == null) {\n        return [];\n      }\n      var length = iteratees.length;\n      if (length > 1 && isIterateeCall(collection, iteratees[0], iteratees[1])) {\n        iteratees = [];\n      } else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) {\n        iteratees = [iteratees[0]];\n      }\n      return baseOrderBy(collection, baseFlatten(iteratees, 1), []);\n    });\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Gets the timestamp of the number of milliseconds that have elapsed since\n     * the Unix epoch (1 January 1970 00:00:00 UTC).\n     *\n     * @static\n     * @memberOf _\n     * @since 2.4.0\n     * @category Date\n     * @returns {number} Returns the timestamp.\n     * @example\n     *\n     * _.defer(function(stamp) {\n     *   console.log(_.now() - stamp);\n     * }, _.now());\n     * // => Logs the number of milliseconds it took for the deferred invocation.\n     */\n    var now = ctxNow || function() {\n      return root.Date.now();\n    };\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * The opposite of `_.before`; this method creates a function that invokes\n     * `func` once it's called `n` or more times.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Function\n     * @param {number} n The number of calls before `func` is invoked.\n     * @param {Function} func The function to restrict.\n     * @returns {Function} Returns the new restricted function.\n     * @example\n     *\n     * var saves = ['profile', 'settings'];\n     *\n     * var done = _.after(saves.length, function() {\n     *   console.log('done saving!');\n     * });\n     *\n     * _.forEach(saves, function(type) {\n     *   asyncSave({ 'type': type, 'complete': done });\n     * });\n     * // => Logs 'done saving!' after the two async saves have completed.\n     */\n    function after(n, func) {\n      if (typeof func != 'function') {\n        throw new TypeError(FUNC_ERROR_TEXT);\n      }\n      n = toInteger(n);\n      return function() {\n        if (--n < 1) {\n          return func.apply(this, arguments);\n        }\n      };\n    }\n\n    /**\n     * Creates a function that invokes `func`, with up to `n` arguments,\n     * ignoring any additional arguments.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Function\n     * @param {Function} func The function to cap arguments for.\n     * @param {number} [n=func.length] The arity cap.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {Function} Returns the new capped function.\n     * @example\n     *\n     * _.map(['6', '8', '10'], _.ary(parseInt, 1));\n     * // => [6, 8, 10]\n     */\n    function ary(func, n, guard) {\n      n = guard ? undefined : n;\n      n = (func && n == null) ? func.length : n;\n      return createWrap(func, WRAP_ARY_FLAG, undefined, undefined, undefined, undefined, n);\n    }\n\n    /**\n     * Creates a function that invokes `func`, with the `this` binding and arguments\n     * of the created function, while it's called less than `n` times. Subsequent\n     * calls to the created function return the result of the last `func` invocation.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Function\n     * @param {number} n The number of calls at which `func` is no longer invoked.\n     * @param {Function} func The function to restrict.\n     * @returns {Function} Returns the new restricted function.\n     * @example\n     *\n     * jQuery(element).on('click', _.before(5, addContactToList));\n     * // => Allows adding up to 4 contacts to the list.\n     */\n    function before(n, func) {\n      var result;\n      if (typeof func != 'function') {\n        throw new TypeError(FUNC_ERROR_TEXT);\n      }\n      n = toInteger(n);\n      return function() {\n        if (--n > 0) {\n          result = func.apply(this, arguments);\n        }\n        if (n <= 1) {\n          func = undefined;\n        }\n        return result;\n      };\n    }\n\n    /**\n     * Creates a function that invokes `func` with the `this` binding of `thisArg`\n     * and `partials` prepended to the arguments it receives.\n     *\n     * The `_.bind.placeholder` value, which defaults to `_` in monolithic builds,\n     * may be used as a placeholder for partially applied arguments.\n     *\n     * **Note:** Unlike native `Function#bind`, this method doesn't set the \"length\"\n     * property of bound functions.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Function\n     * @param {Function} func The function to bind.\n     * @param {*} thisArg The `this` binding of `func`.\n     * @param {...*} [partials] The arguments to be partially applied.\n     * @returns {Function} Returns the new bound function.\n     * @example\n     *\n     * function greet(greeting, punctuation) {\n     *   return greeting + ' ' + this.user + punctuation;\n     * }\n     *\n     * var object = { 'user': 'fred' };\n     *\n     * var bound = _.bind(greet, object, 'hi');\n     * bound('!');\n     * // => 'hi fred!'\n     *\n     * // Bound with placeholders.\n     * var bound = _.bind(greet, object, _, '!');\n     * bound('hi');\n     * // => 'hi fred!'\n     */\n    var bind = baseRest(function(func, thisArg, partials) {\n      var bitmask = WRAP_BIND_FLAG;\n      if (partials.length) {\n        var holders = replaceHolders(partials, getHolder(bind));\n        bitmask |= WRAP_PARTIAL_FLAG;\n      }\n      return createWrap(func, bitmask, thisArg, partials, holders);\n    });\n\n    /**\n     * Creates a function that invokes the method at `object[key]` with `partials`\n     * prepended to the arguments it receives.\n     *\n     * This method differs from `_.bind` by allowing bound functions to reference\n     * methods that may be redefined or don't yet exist. See\n     * [Peter Michaux's article](http://peter.michaux.ca/articles/lazy-function-definition-pattern)\n     * for more details.\n     *\n     * The `_.bindKey.placeholder` value, which defaults to `_` in monolithic\n     * builds, may be used as a placeholder for partially applied arguments.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.10.0\n     * @category Function\n     * @param {Object} object The object to invoke the method on.\n     * @param {string} key The key of the method.\n     * @param {...*} [partials] The arguments to be partially applied.\n     * @returns {Function} Returns the new bound function.\n     * @example\n     *\n     * var object = {\n     *   'user': 'fred',\n     *   'greet': function(greeting, punctuation) {\n     *     return greeting + ' ' + this.user + punctuation;\n     *   }\n     * };\n     *\n     * var bound = _.bindKey(object, 'greet', 'hi');\n     * bound('!');\n     * // => 'hi fred!'\n     *\n     * object.greet = function(greeting, punctuation) {\n     *   return greeting + 'ya ' + this.user + punctuation;\n     * };\n     *\n     * bound('!');\n     * // => 'hiya fred!'\n     *\n     * // Bound with placeholders.\n     * var bound = _.bindKey(object, 'greet', _, '!');\n     * bound('hi');\n     * // => 'hiya fred!'\n     */\n    var bindKey = baseRest(function(object, key, partials) {\n      var bitmask = WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG;\n      if (partials.length) {\n        var holders = replaceHolders(partials, getHolder(bindKey));\n        bitmask |= WRAP_PARTIAL_FLAG;\n      }\n      return createWrap(key, bitmask, object, partials, holders);\n    });\n\n    /**\n     * Creates a function that accepts arguments of `func` and either invokes\n     * `func` returning its result, if at least `arity` number of arguments have\n     * been provided, or returns a function that accepts the remaining `func`\n     * arguments, and so on. The arity of `func` may be specified if `func.length`\n     * is not sufficient.\n     *\n     * The `_.curry.placeholder` value, which defaults to `_` in monolithic builds,\n     * may be used as a placeholder for provided arguments.\n     *\n     * **Note:** This method doesn't set the \"length\" property of curried functions.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.0.0\n     * @category Function\n     * @param {Function} func The function to curry.\n     * @param {number} [arity=func.length] The arity of `func`.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {Function} Returns the new curried function.\n     * @example\n     *\n     * var abc = function(a, b, c) {\n     *   return [a, b, c];\n     * };\n     *\n     * var curried = _.curry(abc);\n     *\n     * curried(1)(2)(3);\n     * // => [1, 2, 3]\n     *\n     * curried(1, 2)(3);\n     * // => [1, 2, 3]\n     *\n     * curried(1, 2, 3);\n     * // => [1, 2, 3]\n     *\n     * // Curried with placeholders.\n     * curried(1)(_, 3)(2);\n     * // => [1, 2, 3]\n     */\n    function curry(func, arity, guard) {\n      arity = guard ? undefined : arity;\n      var result = createWrap(func, WRAP_CURRY_FLAG, undefined, undefined, undefined, undefined, undefined, arity);\n      result.placeholder = curry.placeholder;\n      return result;\n    }\n\n    /**\n     * This method is like `_.curry` except that arguments are applied to `func`\n     * in the manner of `_.partialRight` instead of `_.partial`.\n     *\n     * The `_.curryRight.placeholder` value, which defaults to `_` in monolithic\n     * builds, may be used as a placeholder for provided arguments.\n     *\n     * **Note:** This method doesn't set the \"length\" property of curried functions.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Function\n     * @param {Function} func The function to curry.\n     * @param {number} [arity=func.length] The arity of `func`.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {Function} Returns the new curried function.\n     * @example\n     *\n     * var abc = function(a, b, c) {\n     *   return [a, b, c];\n     * };\n     *\n     * var curried = _.curryRight(abc);\n     *\n     * curried(3)(2)(1);\n     * // => [1, 2, 3]\n     *\n     * curried(2, 3)(1);\n     * // => [1, 2, 3]\n     *\n     * curried(1, 2, 3);\n     * // => [1, 2, 3]\n     *\n     * // Curried with placeholders.\n     * curried(3)(1, _)(2);\n     * // => [1, 2, 3]\n     */\n    function curryRight(func, arity, guard) {\n      arity = guard ? undefined : arity;\n      var result = createWrap(func, WRAP_CURRY_RIGHT_FLAG, undefined, undefined, undefined, undefined, undefined, arity);\n      result.placeholder = curryRight.placeholder;\n      return result;\n    }\n\n    /**\n     * Creates a debounced function that delays invoking `func` until after `wait`\n     * milliseconds have elapsed since the last time the debounced function was\n     * invoked. The debounced function comes with a `cancel` method to cancel\n     * delayed `func` invocations and a `flush` method to immediately invoke them.\n     * Provide `options` to indicate whether `func` should be invoked on the\n     * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n     * with the last arguments provided to the debounced function. Subsequent\n     * calls to the debounced function return the result of the last `func`\n     * invocation.\n     *\n     * **Note:** If `leading` and `trailing` options are `true`, `func` is\n     * invoked on the trailing edge of the timeout only if the debounced function\n     * is invoked more than once during the `wait` timeout.\n     *\n     * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n     * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n     *\n     * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n     * for details over the differences between `_.debounce` and `_.throttle`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Function\n     * @param {Function} func The function to debounce.\n     * @param {number} [wait=0] The number of milliseconds to delay.\n     * @param {Object} [options={}] The options object.\n     * @param {boolean} [options.leading=false]\n     *  Specify invoking on the leading edge of the timeout.\n     * @param {number} [options.maxWait]\n     *  The maximum time `func` is allowed to be delayed before it's invoked.\n     * @param {boolean} [options.trailing=true]\n     *  Specify invoking on the trailing edge of the timeout.\n     * @returns {Function} Returns the new debounced function.\n     * @example\n     *\n     * // Avoid costly calculations while the window size is in flux.\n     * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n     *\n     * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n     * jQuery(element).on('click', _.debounce(sendMail, 300, {\n     *   'leading': true,\n     *   'trailing': false\n     * }));\n     *\n     * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n     * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n     * var source = new EventSource('/stream');\n     * jQuery(source).on('message', debounced);\n     *\n     * // Cancel the trailing debounced invocation.\n     * jQuery(window).on('popstate', debounced.cancel);\n     */\n    function debounce(func, wait, options) {\n      var lastArgs,\n          lastThis,\n          maxWait,\n          result,\n          timerId,\n          lastCallTime,\n          lastInvokeTime = 0,\n          leading = false,\n          maxing = false,\n          trailing = true;\n\n      if (typeof func != 'function') {\n        throw new TypeError(FUNC_ERROR_TEXT);\n      }\n      wait = toNumber(wait) || 0;\n      if (isObject(options)) {\n        leading = !!options.leading;\n        maxing = 'maxWait' in options;\n        maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n        trailing = 'trailing' in options ? !!options.trailing : trailing;\n      }\n\n      function invokeFunc(time) {\n        var args = lastArgs,\n            thisArg = lastThis;\n\n        lastArgs = lastThis = undefined;\n        lastInvokeTime = time;\n        result = func.apply(thisArg, args);\n        return result;\n      }\n\n      function leadingEdge(time) {\n        // Reset any `maxWait` timer.\n        lastInvokeTime = time;\n        // Start the timer for the trailing edge.\n        timerId = setTimeout(timerExpired, wait);\n        // Invoke the leading edge.\n        return leading ? invokeFunc(time) : result;\n      }\n\n      function remainingWait(time) {\n        var timeSinceLastCall = time - lastCallTime,\n            timeSinceLastInvoke = time - lastInvokeTime,\n            timeWaiting = wait - timeSinceLastCall;\n\n        return maxing\n          ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n          : timeWaiting;\n      }\n\n      function shouldInvoke(time) {\n        var timeSinceLastCall = time - lastCallTime,\n            timeSinceLastInvoke = time - lastInvokeTime;\n\n        // Either this is the first call, activity has stopped and we're at the\n        // trailing edge, the system time has gone backwards and we're treating\n        // it as the trailing edge, or we've hit the `maxWait` limit.\n        return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n          (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n      }\n\n      function timerExpired() {\n        var time = now();\n        if (shouldInvoke(time)) {\n          return trailingEdge(time);\n        }\n        // Restart the timer.\n        timerId = setTimeout(timerExpired, remainingWait(time));\n      }\n\n      function trailingEdge(time) {\n        timerId = undefined;\n\n        // Only invoke if we have `lastArgs` which means `func` has been\n        // debounced at least once.\n        if (trailing && lastArgs) {\n          return invokeFunc(time);\n        }\n        lastArgs = lastThis = undefined;\n        return result;\n      }\n\n      function cancel() {\n        if (timerId !== undefined) {\n          clearTimeout(timerId);\n        }\n        lastInvokeTime = 0;\n        lastArgs = lastCallTime = lastThis = timerId = undefined;\n      }\n\n      function flush() {\n        return timerId === undefined ? result : trailingEdge(now());\n      }\n\n      function debounced() {\n        var time = now(),\n            isInvoking = shouldInvoke(time);\n\n        lastArgs = arguments;\n        lastThis = this;\n        lastCallTime = time;\n\n        if (isInvoking) {\n          if (timerId === undefined) {\n            return leadingEdge(lastCallTime);\n          }\n          if (maxing) {\n            // Handle invocations in a tight loop.\n            clearTimeout(timerId);\n            timerId = setTimeout(timerExpired, wait);\n            return invokeFunc(lastCallTime);\n          }\n        }\n        if (timerId === undefined) {\n          timerId = setTimeout(timerExpired, wait);\n        }\n        return result;\n      }\n      debounced.cancel = cancel;\n      debounced.flush = flush;\n      return debounced;\n    }\n\n    /**\n     * Defers invoking the `func` until the current call stack has cleared. Any\n     * additional arguments are provided to `func` when it's invoked.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Function\n     * @param {Function} func The function to defer.\n     * @param {...*} [args] The arguments to invoke `func` with.\n     * @returns {number} Returns the timer id.\n     * @example\n     *\n     * _.defer(function(text) {\n     *   console.log(text);\n     * }, 'deferred');\n     * // => Logs 'deferred' after one millisecond.\n     */\n    var defer = baseRest(function(func, args) {\n      return baseDelay(func, 1, args);\n    });\n\n    /**\n     * Invokes `func` after `wait` milliseconds. Any additional arguments are\n     * provided to `func` when it's invoked.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Function\n     * @param {Function} func The function to delay.\n     * @param {number} wait The number of milliseconds to delay invocation.\n     * @param {...*} [args] The arguments to invoke `func` with.\n     * @returns {number} Returns the timer id.\n     * @example\n     *\n     * _.delay(function(text) {\n     *   console.log(text);\n     * }, 1000, 'later');\n     * // => Logs 'later' after one second.\n     */\n    var delay = baseRest(function(func, wait, args) {\n      return baseDelay(func, toNumber(wait) || 0, args);\n    });\n\n    /**\n     * Creates a function that invokes `func` with arguments reversed.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Function\n     * @param {Function} func The function to flip arguments for.\n     * @returns {Function} Returns the new flipped function.\n     * @example\n     *\n     * var flipped = _.flip(function() {\n     *   return _.toArray(arguments);\n     * });\n     *\n     * flipped('a', 'b', 'c', 'd');\n     * // => ['d', 'c', 'b', 'a']\n     */\n    function flip(func) {\n      return createWrap(func, WRAP_FLIP_FLAG);\n    }\n\n    /**\n     * Creates a function that memoizes the result of `func`. If `resolver` is\n     * provided, it determines the cache key for storing the result based on the\n     * arguments provided to the memoized function. By default, the first argument\n     * provided to the memoized function is used as the map cache key. The `func`\n     * is invoked with the `this` binding of the memoized function.\n     *\n     * **Note:** The cache is exposed as the `cache` property on the memoized\n     * function. Its creation may be customized by replacing the `_.memoize.Cache`\n     * constructor with one whose instances implement the\n     * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n     * method interface of `clear`, `delete`, `get`, `has`, and `set`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Function\n     * @param {Function} func The function to have its output memoized.\n     * @param {Function} [resolver] The function to resolve the cache key.\n     * @returns {Function} Returns the new memoized function.\n     * @example\n     *\n     * var object = { 'a': 1, 'b': 2 };\n     * var other = { 'c': 3, 'd': 4 };\n     *\n     * var values = _.memoize(_.values);\n     * values(object);\n     * // => [1, 2]\n     *\n     * values(other);\n     * // => [3, 4]\n     *\n     * object.a = 2;\n     * values(object);\n     * // => [1, 2]\n     *\n     * // Modify the result cache.\n     * values.cache.set(object, ['a', 'b']);\n     * values(object);\n     * // => ['a', 'b']\n     *\n     * // Replace `_.memoize.Cache`.\n     * _.memoize.Cache = WeakMap;\n     */\n    function memoize(func, resolver) {\n      if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {\n        throw new TypeError(FUNC_ERROR_TEXT);\n      }\n      var memoized = function() {\n        var args = arguments,\n            key = resolver ? resolver.apply(this, args) : args[0],\n            cache = memoized.cache;\n\n        if (cache.has(key)) {\n          return cache.get(key);\n        }\n        var result = func.apply(this, args);\n        memoized.cache = cache.set(key, result) || cache;\n        return result;\n      };\n      memoized.cache = new (memoize.Cache || MapCache);\n      return memoized;\n    }\n\n    // Expose `MapCache`.\n    memoize.Cache = MapCache;\n\n    /**\n     * Creates a function that negates the result of the predicate `func`. The\n     * `func` predicate is invoked with the `this` binding and arguments of the\n     * created function.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Function\n     * @param {Function} predicate The predicate to negate.\n     * @returns {Function} Returns the new negated function.\n     * @example\n     *\n     * function isEven(n) {\n     *   return n % 2 == 0;\n     * }\n     *\n     * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven));\n     * // => [1, 3, 5]\n     */\n    function negate(predicate) {\n      if (typeof predicate != 'function') {\n        throw new TypeError(FUNC_ERROR_TEXT);\n      }\n      return function() {\n        var args = arguments;\n        switch (args.length) {\n          case 0: return !predicate.call(this);\n          case 1: return !predicate.call(this, args[0]);\n          case 2: return !predicate.call(this, args[0], args[1]);\n          case 3: return !predicate.call(this, args[0], args[1], args[2]);\n        }\n        return !predicate.apply(this, args);\n      };\n    }\n\n    /**\n     * Creates a function that is restricted to invoking `func` once. Repeat calls\n     * to the function return the value of the first invocation. The `func` is\n     * invoked with the `this` binding and arguments of the created function.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Function\n     * @param {Function} func The function to restrict.\n     * @returns {Function} Returns the new restricted function.\n     * @example\n     *\n     * var initialize = _.once(createApplication);\n     * initialize();\n     * initialize();\n     * // => `createApplication` is invoked once\n     */\n    function once(func) {\n      return before(2, func);\n    }\n\n    /**\n     * Creates a function that invokes `func` with its arguments transformed.\n     *\n     * @static\n     * @since 4.0.0\n     * @memberOf _\n     * @category Function\n     * @param {Function} func The function to wrap.\n     * @param {...(Function|Function[])} [transforms=[_.identity]]\n     *  The argument transforms.\n     * @returns {Function} Returns the new function.\n     * @example\n     *\n     * function doubled(n) {\n     *   return n * 2;\n     * }\n     *\n     * function square(n) {\n     *   return n * n;\n     * }\n     *\n     * var func = _.overArgs(function(x, y) {\n     *   return [x, y];\n     * }, [square, doubled]);\n     *\n     * func(9, 3);\n     * // => [81, 6]\n     *\n     * func(10, 5);\n     * // => [100, 10]\n     */\n    var overArgs = castRest(function(func, transforms) {\n      transforms = (transforms.length == 1 && isArray(transforms[0]))\n        ? arrayMap(transforms[0], baseUnary(getIteratee()))\n        : arrayMap(baseFlatten(transforms, 1), baseUnary(getIteratee()));\n\n      var funcsLength = transforms.length;\n      return baseRest(function(args) {\n        var index = -1,\n            length = nativeMin(args.length, funcsLength);\n\n        while (++index < length) {\n          args[index] = transforms[index].call(this, args[index]);\n        }\n        return apply(func, this, args);\n      });\n    });\n\n    /**\n     * Creates a function that invokes `func` with `partials` prepended to the\n     * arguments it receives. This method is like `_.bind` except it does **not**\n     * alter the `this` binding.\n     *\n     * The `_.partial.placeholder` value, which defaults to `_` in monolithic\n     * builds, may be used as a placeholder for partially applied arguments.\n     *\n     * **Note:** This method doesn't set the \"length\" property of partially\n     * applied functions.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.2.0\n     * @category Function\n     * @param {Function} func The function to partially apply arguments to.\n     * @param {...*} [partials] The arguments to be partially applied.\n     * @returns {Function} Returns the new partially applied function.\n     * @example\n     *\n     * function greet(greeting, name) {\n     *   return greeting + ' ' + name;\n     * }\n     *\n     * var sayHelloTo = _.partial(greet, 'hello');\n     * sayHelloTo('fred');\n     * // => 'hello fred'\n     *\n     * // Partially applied with placeholders.\n     * var greetFred = _.partial(greet, _, 'fred');\n     * greetFred('hi');\n     * // => 'hi fred'\n     */\n    var partial = baseRest(function(func, partials) {\n      var holders = replaceHolders(partials, getHolder(partial));\n      return createWrap(func, WRAP_PARTIAL_FLAG, undefined, partials, holders);\n    });\n\n    /**\n     * This method is like `_.partial` except that partially applied arguments\n     * are appended to the arguments it receives.\n     *\n     * The `_.partialRight.placeholder` value, which defaults to `_` in monolithic\n     * builds, may be used as a placeholder for partially applied arguments.\n     *\n     * **Note:** This method doesn't set the \"length\" property of partially\n     * applied functions.\n     *\n     * @static\n     * @memberOf _\n     * @since 1.0.0\n     * @category Function\n     * @param {Function} func The function to partially apply arguments to.\n     * @param {...*} [partials] The arguments to be partially applied.\n     * @returns {Function} Returns the new partially applied function.\n     * @example\n     *\n     * function greet(greeting, name) {\n     *   return greeting + ' ' + name;\n     * }\n     *\n     * var greetFred = _.partialRight(greet, 'fred');\n     * greetFred('hi');\n     * // => 'hi fred'\n     *\n     * // Partially applied with placeholders.\n     * var sayHelloTo = _.partialRight(greet, 'hello', _);\n     * sayHelloTo('fred');\n     * // => 'hello fred'\n     */\n    var partialRight = baseRest(function(func, partials) {\n      var holders = replaceHolders(partials, getHolder(partialRight));\n      return createWrap(func, WRAP_PARTIAL_RIGHT_FLAG, undefined, partials, holders);\n    });\n\n    /**\n     * Creates a function that invokes `func` with arguments arranged according\n     * to the specified `indexes` where the argument value at the first index is\n     * provided as the first argument, the argument value at the second index is\n     * provided as the second argument, and so on.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Function\n     * @param {Function} func The function to rearrange arguments for.\n     * @param {...(number|number[])} indexes The arranged argument indexes.\n     * @returns {Function} Returns the new function.\n     * @example\n     *\n     * var rearged = _.rearg(function(a, b, c) {\n     *   return [a, b, c];\n     * }, [2, 0, 1]);\n     *\n     * rearged('b', 'c', 'a')\n     * // => ['a', 'b', 'c']\n     */\n    var rearg = flatRest(function(func, indexes) {\n      return createWrap(func, WRAP_REARG_FLAG, undefined, undefined, undefined, indexes);\n    });\n\n    /**\n     * Creates a function that invokes `func` with the `this` binding of the\n     * created function and arguments from `start` and beyond provided as\n     * an array.\n     *\n     * **Note:** This method is based on the\n     * [rest parameter](https://mdn.io/rest_parameters).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Function\n     * @param {Function} func The function to apply a rest parameter to.\n     * @param {number} [start=func.length-1] The start position of the rest parameter.\n     * @returns {Function} Returns the new function.\n     * @example\n     *\n     * var say = _.rest(function(what, names) {\n     *   return what + ' ' + _.initial(names).join(', ') +\n     *     (_.size(names) > 1 ? ', & ' : '') + _.last(names);\n     * });\n     *\n     * say('hello', 'fred', 'barney', 'pebbles');\n     * // => 'hello fred, barney, & pebbles'\n     */\n    function rest(func, start) {\n      if (typeof func != 'function') {\n        throw new TypeError(FUNC_ERROR_TEXT);\n      }\n      start = start === undefined ? start : toInteger(start);\n      return baseRest(func, start);\n    }\n\n    /**\n     * Creates a function that invokes `func` with the `this` binding of the\n     * create function and an array of arguments much like\n     * [`Function#apply`](http://www.ecma-international.org/ecma-262/7.0/#sec-function.prototype.apply).\n     *\n     * **Note:** This method is based on the\n     * [spread operator](https://mdn.io/spread_operator).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.2.0\n     * @category Function\n     * @param {Function} func The function to spread arguments over.\n     * @param {number} [start=0] The start position of the spread.\n     * @returns {Function} Returns the new function.\n     * @example\n     *\n     * var say = _.spread(function(who, what) {\n     *   return who + ' says ' + what;\n     * });\n     *\n     * say(['fred', 'hello']);\n     * // => 'fred says hello'\n     *\n     * var numbers = Promise.all([\n     *   Promise.resolve(40),\n     *   Promise.resolve(36)\n     * ]);\n     *\n     * numbers.then(_.spread(function(x, y) {\n     *   return x + y;\n     * }));\n     * // => a Promise of 76\n     */\n    function spread(func, start) {\n      if (typeof func != 'function') {\n        throw new TypeError(FUNC_ERROR_TEXT);\n      }\n      start = start == null ? 0 : nativeMax(toInteger(start), 0);\n      return baseRest(function(args) {\n        var array = args[start],\n            otherArgs = castSlice(args, 0, start);\n\n        if (array) {\n          arrayPush(otherArgs, array);\n        }\n        return apply(func, this, otherArgs);\n      });\n    }\n\n    /**\n     * Creates a throttled function that only invokes `func` at most once per\n     * every `wait` milliseconds. The throttled function comes with a `cancel`\n     * method to cancel delayed `func` invocations and a `flush` method to\n     * immediately invoke them. Provide `options` to indicate whether `func`\n     * should be invoked on the leading and/or trailing edge of the `wait`\n     * timeout. The `func` is invoked with the last arguments provided to the\n     * throttled function. Subsequent calls to the throttled function return the\n     * result of the last `func` invocation.\n     *\n     * **Note:** If `leading` and `trailing` options are `true`, `func` is\n     * invoked on the trailing edge of the timeout only if the throttled function\n     * is invoked more than once during the `wait` timeout.\n     *\n     * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n     * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n     *\n     * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n     * for details over the differences between `_.throttle` and `_.debounce`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Function\n     * @param {Function} func The function to throttle.\n     * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n     * @param {Object} [options={}] The options object.\n     * @param {boolean} [options.leading=true]\n     *  Specify invoking on the leading edge of the timeout.\n     * @param {boolean} [options.trailing=true]\n     *  Specify invoking on the trailing edge of the timeout.\n     * @returns {Function} Returns the new throttled function.\n     * @example\n     *\n     * // Avoid excessively updating the position while scrolling.\n     * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n     *\n     * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n     * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n     * jQuery(element).on('click', throttled);\n     *\n     * // Cancel the trailing throttled invocation.\n     * jQuery(window).on('popstate', throttled.cancel);\n     */\n    function throttle(func, wait, options) {\n      var leading = true,\n          trailing = true;\n\n      if (typeof func != 'function') {\n        throw new TypeError(FUNC_ERROR_TEXT);\n      }\n      if (isObject(options)) {\n        leading = 'leading' in options ? !!options.leading : leading;\n        trailing = 'trailing' in options ? !!options.trailing : trailing;\n      }\n      return debounce(func, wait, {\n        'leading': leading,\n        'maxWait': wait,\n        'trailing': trailing\n      });\n    }\n\n    /**\n     * Creates a function that accepts up to one argument, ignoring any\n     * additional arguments.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Function\n     * @param {Function} func The function to cap arguments for.\n     * @returns {Function} Returns the new capped function.\n     * @example\n     *\n     * _.map(['6', '8', '10'], _.unary(parseInt));\n     * // => [6, 8, 10]\n     */\n    function unary(func) {\n      return ary(func, 1);\n    }\n\n    /**\n     * Creates a function that provides `value` to `wrapper` as its first\n     * argument. Any additional arguments provided to the function are appended\n     * to those provided to the `wrapper`. The wrapper is invoked with the `this`\n     * binding of the created function.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Function\n     * @param {*} value The value to wrap.\n     * @param {Function} [wrapper=identity] The wrapper function.\n     * @returns {Function} Returns the new function.\n     * @example\n     *\n     * var p = _.wrap(_.escape, function(func, text) {\n     *   return '<p>' + func(text) + '</p>';\n     * });\n     *\n     * p('fred, barney, & pebbles');\n     * // => '<p>fred, barney, &amp; pebbles</p>'\n     */\n    function wrap(value, wrapper) {\n      return partial(castFunction(wrapper), value);\n    }\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Casts `value` as an array if it's not one.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.4.0\n     * @category Lang\n     * @param {*} value The value to inspect.\n     * @returns {Array} Returns the cast array.\n     * @example\n     *\n     * _.castArray(1);\n     * // => [1]\n     *\n     * _.castArray({ 'a': 1 });\n     * // => [{ 'a': 1 }]\n     *\n     * _.castArray('abc');\n     * // => ['abc']\n     *\n     * _.castArray(null);\n     * // => [null]\n     *\n     * _.castArray(undefined);\n     * // => [undefined]\n     *\n     * _.castArray();\n     * // => []\n     *\n     * var array = [1, 2, 3];\n     * console.log(_.castArray(array) === array);\n     * // => true\n     */\n    function castArray() {\n      if (!arguments.length) {\n        return [];\n      }\n      var value = arguments[0];\n      return isArray(value) ? value : [value];\n    }\n\n    /**\n     * Creates a shallow clone of `value`.\n     *\n     * **Note:** This method is loosely based on the\n     * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm)\n     * and supports cloning arrays, array buffers, booleans, date objects, maps,\n     * numbers, `Object` objects, regexes, sets, strings, symbols, and typed\n     * arrays. The own enumerable properties of `arguments` objects are cloned\n     * as plain objects. An empty object is returned for uncloneable values such\n     * as error objects, functions, DOM nodes, and WeakMaps.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to clone.\n     * @returns {*} Returns the cloned value.\n     * @see _.cloneDeep\n     * @example\n     *\n     * var objects = [{ 'a': 1 }, { 'b': 2 }];\n     *\n     * var shallow = _.clone(objects);\n     * console.log(shallow[0] === objects[0]);\n     * // => true\n     */\n    function clone(value) {\n      return baseClone(value, CLONE_SYMBOLS_FLAG);\n    }\n\n    /**\n     * This method is like `_.clone` except that it accepts `customizer` which\n     * is invoked to produce the cloned value. If `customizer` returns `undefined`,\n     * cloning is handled by the method instead. The `customizer` is invoked with\n     * up to four arguments; (value [, index|key, object, stack]).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to clone.\n     * @param {Function} [customizer] The function to customize cloning.\n     * @returns {*} Returns the cloned value.\n     * @see _.cloneDeepWith\n     * @example\n     *\n     * function customizer(value) {\n     *   if (_.isElement(value)) {\n     *     return value.cloneNode(false);\n     *   }\n     * }\n     *\n     * var el = _.cloneWith(document.body, customizer);\n     *\n     * console.log(el === document.body);\n     * // => false\n     * console.log(el.nodeName);\n     * // => 'BODY'\n     * console.log(el.childNodes.length);\n     * // => 0\n     */\n    function cloneWith(value, customizer) {\n      customizer = typeof customizer == 'function' ? customizer : undefined;\n      return baseClone(value, CLONE_SYMBOLS_FLAG, customizer);\n    }\n\n    /**\n     * This method is like `_.clone` except that it recursively clones `value`.\n     *\n     * @static\n     * @memberOf _\n     * @since 1.0.0\n     * @category Lang\n     * @param {*} value The value to recursively clone.\n     * @returns {*} Returns the deep cloned value.\n     * @see _.clone\n     * @example\n     *\n     * var objects = [{ 'a': 1 }, { 'b': 2 }];\n     *\n     * var deep = _.cloneDeep(objects);\n     * console.log(deep[0] === objects[0]);\n     * // => false\n     */\n    function cloneDeep(value) {\n      return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);\n    }\n\n    /**\n     * This method is like `_.cloneWith` except that it recursively clones `value`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to recursively clone.\n     * @param {Function} [customizer] The function to customize cloning.\n     * @returns {*} Returns the deep cloned value.\n     * @see _.cloneWith\n     * @example\n     *\n     * function customizer(value) {\n     *   if (_.isElement(value)) {\n     *     return value.cloneNode(true);\n     *   }\n     * }\n     *\n     * var el = _.cloneDeepWith(document.body, customizer);\n     *\n     * console.log(el === document.body);\n     * // => false\n     * console.log(el.nodeName);\n     * // => 'BODY'\n     * console.log(el.childNodes.length);\n     * // => 20\n     */\n    function cloneDeepWith(value, customizer) {\n      customizer = typeof customizer == 'function' ? customizer : undefined;\n      return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG, customizer);\n    }\n\n    /**\n     * Checks if `object` conforms to `source` by invoking the predicate\n     * properties of `source` with the corresponding property values of `object`.\n     *\n     * **Note:** This method is equivalent to `_.conforms` when `source` is\n     * partially applied.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.14.0\n     * @category Lang\n     * @param {Object} object The object to inspect.\n     * @param {Object} source The object of property predicates to conform to.\n     * @returns {boolean} Returns `true` if `object` conforms, else `false`.\n     * @example\n     *\n     * var object = { 'a': 1, 'b': 2 };\n     *\n     * _.conformsTo(object, { 'b': function(n) { return n > 1; } });\n     * // => true\n     *\n     * _.conformsTo(object, { 'b': function(n) { return n > 2; } });\n     * // => false\n     */\n    function conformsTo(object, source) {\n      return source == null || baseConformsTo(object, source, keys(source));\n    }\n\n    /**\n     * Performs a\n     * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n     * comparison between two values to determine if they are equivalent.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to compare.\n     * @param {*} other The other value to compare.\n     * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n     * @example\n     *\n     * var object = { 'a': 1 };\n     * var other = { 'a': 1 };\n     *\n     * _.eq(object, object);\n     * // => true\n     *\n     * _.eq(object, other);\n     * // => false\n     *\n     * _.eq('a', 'a');\n     * // => true\n     *\n     * _.eq('a', Object('a'));\n     * // => false\n     *\n     * _.eq(NaN, NaN);\n     * // => true\n     */\n    function eq(value, other) {\n      return value === other || (value !== value && other !== other);\n    }\n\n    /**\n     * Checks if `value` is greater than `other`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.9.0\n     * @category Lang\n     * @param {*} value The value to compare.\n     * @param {*} other The other value to compare.\n     * @returns {boolean} Returns `true` if `value` is greater than `other`,\n     *  else `false`.\n     * @see _.lt\n     * @example\n     *\n     * _.gt(3, 1);\n     * // => true\n     *\n     * _.gt(3, 3);\n     * // => false\n     *\n     * _.gt(1, 3);\n     * // => false\n     */\n    var gt = createRelationalOperation(baseGt);\n\n    /**\n     * Checks if `value` is greater than or equal to `other`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.9.0\n     * @category Lang\n     * @param {*} value The value to compare.\n     * @param {*} other The other value to compare.\n     * @returns {boolean} Returns `true` if `value` is greater than or equal to\n     *  `other`, else `false`.\n     * @see _.lte\n     * @example\n     *\n     * _.gte(3, 1);\n     * // => true\n     *\n     * _.gte(3, 3);\n     * // => true\n     *\n     * _.gte(1, 3);\n     * // => false\n     */\n    var gte = createRelationalOperation(function(value, other) {\n      return value >= other;\n    });\n\n    /**\n     * Checks if `value` is likely an `arguments` object.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n     *  else `false`.\n     * @example\n     *\n     * _.isArguments(function() { return arguments; }());\n     * // => true\n     *\n     * _.isArguments([1, 2, 3]);\n     * // => false\n     */\n    var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n      return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n        !propertyIsEnumerable.call(value, 'callee');\n    };\n\n    /**\n     * Checks if `value` is classified as an `Array` object.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n     * @example\n     *\n     * _.isArray([1, 2, 3]);\n     * // => true\n     *\n     * _.isArray(document.body.children);\n     * // => false\n     *\n     * _.isArray('abc');\n     * // => false\n     *\n     * _.isArray(_.noop);\n     * // => false\n     */\n    var isArray = Array.isArray;\n\n    /**\n     * Checks if `value` is classified as an `ArrayBuffer` object.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.3.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.\n     * @example\n     *\n     * _.isArrayBuffer(new ArrayBuffer(2));\n     * // => true\n     *\n     * _.isArrayBuffer(new Array(2));\n     * // => false\n     */\n    var isArrayBuffer = nodeIsArrayBuffer ? baseUnary(nodeIsArrayBuffer) : baseIsArrayBuffer;\n\n    /**\n     * Checks if `value` is array-like. A value is considered array-like if it's\n     * not a function and has a `value.length` that's an integer greater than or\n     * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n     * @example\n     *\n     * _.isArrayLike([1, 2, 3]);\n     * // => true\n     *\n     * _.isArrayLike(document.body.children);\n     * // => true\n     *\n     * _.isArrayLike('abc');\n     * // => true\n     *\n     * _.isArrayLike(_.noop);\n     * // => false\n     */\n    function isArrayLike(value) {\n      return value != null && isLength(value.length) && !isFunction(value);\n    }\n\n    /**\n     * This method is like `_.isArrayLike` except that it also checks if `value`\n     * is an object.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is an array-like object,\n     *  else `false`.\n     * @example\n     *\n     * _.isArrayLikeObject([1, 2, 3]);\n     * // => true\n     *\n     * _.isArrayLikeObject(document.body.children);\n     * // => true\n     *\n     * _.isArrayLikeObject('abc');\n     * // => false\n     *\n     * _.isArrayLikeObject(_.noop);\n     * // => false\n     */\n    function isArrayLikeObject(value) {\n      return isObjectLike(value) && isArrayLike(value);\n    }\n\n    /**\n     * Checks if `value` is classified as a boolean primitive or object.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a boolean, else `false`.\n     * @example\n     *\n     * _.isBoolean(false);\n     * // => true\n     *\n     * _.isBoolean(null);\n     * // => false\n     */\n    function isBoolean(value) {\n      return value === true || value === false ||\n        (isObjectLike(value) && baseGetTag(value) == boolTag);\n    }\n\n    /**\n     * Checks if `value` is a buffer.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.3.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n     * @example\n     *\n     * _.isBuffer(new Buffer(2));\n     * // => true\n     *\n     * _.isBuffer(new Uint8Array(2));\n     * // => false\n     */\n    var isBuffer = nativeIsBuffer || stubFalse;\n\n    /**\n     * Checks if `value` is classified as a `Date` object.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a date object, else `false`.\n     * @example\n     *\n     * _.isDate(new Date);\n     * // => true\n     *\n     * _.isDate('Mon April 23 2012');\n     * // => false\n     */\n    var isDate = nodeIsDate ? baseUnary(nodeIsDate) : baseIsDate;\n\n    /**\n     * Checks if `value` is likely a DOM element.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a DOM element, else `false`.\n     * @example\n     *\n     * _.isElement(document.body);\n     * // => true\n     *\n     * _.isElement('<body>');\n     * // => false\n     */\n    function isElement(value) {\n      return isObjectLike(value) && value.nodeType === 1 && !isPlainObject(value);\n    }\n\n    /**\n     * Checks if `value` is an empty object, collection, map, or set.\n     *\n     * Objects are considered empty if they have no own enumerable string keyed\n     * properties.\n     *\n     * Array-like values such as `arguments` objects, arrays, buffers, strings, or\n     * jQuery-like collections are considered empty if they have a `length` of `0`.\n     * Similarly, maps and sets are considered empty if they have a `size` of `0`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is empty, else `false`.\n     * @example\n     *\n     * _.isEmpty(null);\n     * // => true\n     *\n     * _.isEmpty(true);\n     * // => true\n     *\n     * _.isEmpty(1);\n     * // => true\n     *\n     * _.isEmpty([1, 2, 3]);\n     * // => false\n     *\n     * _.isEmpty({ 'a': 1 });\n     * // => false\n     */\n    function isEmpty(value) {\n      if (value == null) {\n        return true;\n      }\n      if (isArrayLike(value) &&\n          (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' ||\n            isBuffer(value) || isTypedArray(value) || isArguments(value))) {\n        return !value.length;\n      }\n      var tag = getTag(value);\n      if (tag == mapTag || tag == setTag) {\n        return !value.size;\n      }\n      if (isPrototype(value)) {\n        return !baseKeys(value).length;\n      }\n      for (var key in value) {\n        if (hasOwnProperty.call(value, key)) {\n          return false;\n        }\n      }\n      return true;\n    }\n\n    /**\n     * Performs a deep comparison between two values to determine if they are\n     * equivalent.\n     *\n     * **Note:** This method supports comparing arrays, array buffers, booleans,\n     * date objects, error objects, maps, numbers, `Object` objects, regexes,\n     * sets, strings, symbols, and typed arrays. `Object` objects are compared\n     * by their own, not inherited, enumerable properties. Functions and DOM\n     * nodes are compared by strict equality, i.e. `===`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to compare.\n     * @param {*} other The other value to compare.\n     * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n     * @example\n     *\n     * var object = { 'a': 1 };\n     * var other = { 'a': 1 };\n     *\n     * _.isEqual(object, other);\n     * // => true\n     *\n     * object === other;\n     * // => false\n     */\n    function isEqual(value, other) {\n      return baseIsEqual(value, other);\n    }\n\n    /**\n     * This method is like `_.isEqual` except that it accepts `customizer` which\n     * is invoked to compare values. If `customizer` returns `undefined`, comparisons\n     * are handled by the method instead. The `customizer` is invoked with up to\n     * six arguments: (objValue, othValue [, index|key, object, other, stack]).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to compare.\n     * @param {*} other The other value to compare.\n     * @param {Function} [customizer] The function to customize comparisons.\n     * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n     * @example\n     *\n     * function isGreeting(value) {\n     *   return /^h(?:i|ello)$/.test(value);\n     * }\n     *\n     * function customizer(objValue, othValue) {\n     *   if (isGreeting(objValue) && isGreeting(othValue)) {\n     *     return true;\n     *   }\n     * }\n     *\n     * var array = ['hello', 'goodbye'];\n     * var other = ['hi', 'goodbye'];\n     *\n     * _.isEqualWith(array, other, customizer);\n     * // => true\n     */\n    function isEqualWith(value, other, customizer) {\n      customizer = typeof customizer == 'function' ? customizer : undefined;\n      var result = customizer ? customizer(value, other) : undefined;\n      return result === undefined ? baseIsEqual(value, other, undefined, customizer) : !!result;\n    }\n\n    /**\n     * Checks if `value` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`,\n     * `SyntaxError`, `TypeError`, or `URIError` object.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is an error object, else `false`.\n     * @example\n     *\n     * _.isError(new Error);\n     * // => true\n     *\n     * _.isError(Error);\n     * // => false\n     */\n    function isError(value) {\n      if (!isObjectLike(value)) {\n        return false;\n      }\n      var tag = baseGetTag(value);\n      return tag == errorTag || tag == domExcTag ||\n        (typeof value.message == 'string' && typeof value.name == 'string' && !isPlainObject(value));\n    }\n\n    /**\n     * Checks if `value` is a finite primitive number.\n     *\n     * **Note:** This method is based on\n     * [`Number.isFinite`](https://mdn.io/Number/isFinite).\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a finite number, else `false`.\n     * @example\n     *\n     * _.isFinite(3);\n     * // => true\n     *\n     * _.isFinite(Number.MIN_VALUE);\n     * // => true\n     *\n     * _.isFinite(Infinity);\n     * // => false\n     *\n     * _.isFinite('3');\n     * // => false\n     */\n    function isFinite(value) {\n      return typeof value == 'number' && nativeIsFinite(value);\n    }\n\n    /**\n     * Checks if `value` is classified as a `Function` object.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n     * @example\n     *\n     * _.isFunction(_);\n     * // => true\n     *\n     * _.isFunction(/abc/);\n     * // => false\n     */\n    function isFunction(value) {\n      if (!isObject(value)) {\n        return false;\n      }\n      // The use of `Object#toString` avoids issues with the `typeof` operator\n      // in Safari 9 which returns 'object' for typed arrays and other constructors.\n      var tag = baseGetTag(value);\n      return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n    }\n\n    /**\n     * Checks if `value` is an integer.\n     *\n     * **Note:** This method is based on\n     * [`Number.isInteger`](https://mdn.io/Number/isInteger).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is an integer, else `false`.\n     * @example\n     *\n     * _.isInteger(3);\n     * // => true\n     *\n     * _.isInteger(Number.MIN_VALUE);\n     * // => false\n     *\n     * _.isInteger(Infinity);\n     * // => false\n     *\n     * _.isInteger('3');\n     * // => false\n     */\n    function isInteger(value) {\n      return typeof value == 'number' && value == toInteger(value);\n    }\n\n    /**\n     * Checks if `value` is a valid array-like length.\n     *\n     * **Note:** This method is loosely based on\n     * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n     * @example\n     *\n     * _.isLength(3);\n     * // => true\n     *\n     * _.isLength(Number.MIN_VALUE);\n     * // => false\n     *\n     * _.isLength(Infinity);\n     * // => false\n     *\n     * _.isLength('3');\n     * // => false\n     */\n    function isLength(value) {\n      return typeof value == 'number' &&\n        value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n    }\n\n    /**\n     * Checks if `value` is the\n     * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n     * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n     * @example\n     *\n     * _.isObject({});\n     * // => true\n     *\n     * _.isObject([1, 2, 3]);\n     * // => true\n     *\n     * _.isObject(_.noop);\n     * // => true\n     *\n     * _.isObject(null);\n     * // => false\n     */\n    function isObject(value) {\n      var type = typeof value;\n      return value != null && (type == 'object' || type == 'function');\n    }\n\n    /**\n     * Checks if `value` is object-like. A value is object-like if it's not `null`\n     * and has a `typeof` result of \"object\".\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n     * @example\n     *\n     * _.isObjectLike({});\n     * // => true\n     *\n     * _.isObjectLike([1, 2, 3]);\n     * // => true\n     *\n     * _.isObjectLike(_.noop);\n     * // => false\n     *\n     * _.isObjectLike(null);\n     * // => false\n     */\n    function isObjectLike(value) {\n      return value != null && typeof value == 'object';\n    }\n\n    /**\n     * Checks if `value` is classified as a `Map` object.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.3.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n     * @example\n     *\n     * _.isMap(new Map);\n     * // => true\n     *\n     * _.isMap(new WeakMap);\n     * // => false\n     */\n    var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\n    /**\n     * Performs a partial deep comparison between `object` and `source` to\n     * determine if `object` contains equivalent property values.\n     *\n     * **Note:** This method is equivalent to `_.matches` when `source` is\n     * partially applied.\n     *\n     * Partial comparisons will match empty array and empty object `source`\n     * values against any array or object value, respectively. See `_.isEqual`\n     * for a list of supported value comparisons.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Lang\n     * @param {Object} object The object to inspect.\n     * @param {Object} source The object of property values to match.\n     * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n     * @example\n     *\n     * var object = { 'a': 1, 'b': 2 };\n     *\n     * _.isMatch(object, { 'b': 2 });\n     * // => true\n     *\n     * _.isMatch(object, { 'b': 1 });\n     * // => false\n     */\n    function isMatch(object, source) {\n      return object === source || baseIsMatch(object, source, getMatchData(source));\n    }\n\n    /**\n     * This method is like `_.isMatch` except that it accepts `customizer` which\n     * is invoked to compare values. If `customizer` returns `undefined`, comparisons\n     * are handled by the method instead. The `customizer` is invoked with five\n     * arguments: (objValue, srcValue, index|key, object, source).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {Object} object The object to inspect.\n     * @param {Object} source The object of property values to match.\n     * @param {Function} [customizer] The function to customize comparisons.\n     * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n     * @example\n     *\n     * function isGreeting(value) {\n     *   return /^h(?:i|ello)$/.test(value);\n     * }\n     *\n     * function customizer(objValue, srcValue) {\n     *   if (isGreeting(objValue) && isGreeting(srcValue)) {\n     *     return true;\n     *   }\n     * }\n     *\n     * var object = { 'greeting': 'hello' };\n     * var source = { 'greeting': 'hi' };\n     *\n     * _.isMatchWith(object, source, customizer);\n     * // => true\n     */\n    function isMatchWith(object, source, customizer) {\n      customizer = typeof customizer == 'function' ? customizer : undefined;\n      return baseIsMatch(object, source, getMatchData(source), customizer);\n    }\n\n    /**\n     * Checks if `value` is `NaN`.\n     *\n     * **Note:** This method is based on\n     * [`Number.isNaN`](https://mdn.io/Number/isNaN) and is not the same as\n     * global [`isNaN`](https://mdn.io/isNaN) which returns `true` for\n     * `undefined` and other non-number values.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n     * @example\n     *\n     * _.isNaN(NaN);\n     * // => true\n     *\n     * _.isNaN(new Number(NaN));\n     * // => true\n     *\n     * isNaN(undefined);\n     * // => true\n     *\n     * _.isNaN(undefined);\n     * // => false\n     */\n    function isNaN(value) {\n      // An `NaN` primitive is the only value that is not equal to itself.\n      // Perform the `toStringTag` check first to avoid errors with some\n      // ActiveX objects in IE.\n      return isNumber(value) && value != +value;\n    }\n\n    /**\n     * Checks if `value` is a pristine native function.\n     *\n     * **Note:** This method can't reliably detect native functions in the presence\n     * of the core-js package because core-js circumvents this kind of detection.\n     * Despite multiple requests, the core-js maintainer has made it clear: any\n     * attempt to fix the detection will be obstructed. As a result, we're left\n     * with little choice but to throw an error. Unfortunately, this also affects\n     * packages, like [babel-polyfill](https://www.npmjs.com/package/babel-polyfill),\n     * which rely on core-js.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a native function,\n     *  else `false`.\n     * @example\n     *\n     * _.isNative(Array.prototype.push);\n     * // => true\n     *\n     * _.isNative(_);\n     * // => false\n     */\n    function isNative(value) {\n      if (isMaskable(value)) {\n        throw new Error(CORE_ERROR_TEXT);\n      }\n      return baseIsNative(value);\n    }\n\n    /**\n     * Checks if `value` is `null`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is `null`, else `false`.\n     * @example\n     *\n     * _.isNull(null);\n     * // => true\n     *\n     * _.isNull(void 0);\n     * // => false\n     */\n    function isNull(value) {\n      return value === null;\n    }\n\n    /**\n     * Checks if `value` is `null` or `undefined`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is nullish, else `false`.\n     * @example\n     *\n     * _.isNil(null);\n     * // => true\n     *\n     * _.isNil(void 0);\n     * // => true\n     *\n     * _.isNil(NaN);\n     * // => false\n     */\n    function isNil(value) {\n      return value == null;\n    }\n\n    /**\n     * Checks if `value` is classified as a `Number` primitive or object.\n     *\n     * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are\n     * classified as numbers, use the `_.isFinite` method.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a number, else `false`.\n     * @example\n     *\n     * _.isNumber(3);\n     * // => true\n     *\n     * _.isNumber(Number.MIN_VALUE);\n     * // => true\n     *\n     * _.isNumber(Infinity);\n     * // => true\n     *\n     * _.isNumber('3');\n     * // => false\n     */\n    function isNumber(value) {\n      return typeof value == 'number' ||\n        (isObjectLike(value) && baseGetTag(value) == numberTag);\n    }\n\n    /**\n     * Checks if `value` is a plain object, that is, an object created by the\n     * `Object` constructor or one with a `[[Prototype]]` of `null`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.8.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n     * @example\n     *\n     * function Foo() {\n     *   this.a = 1;\n     * }\n     *\n     * _.isPlainObject(new Foo);\n     * // => false\n     *\n     * _.isPlainObject([1, 2, 3]);\n     * // => false\n     *\n     * _.isPlainObject({ 'x': 0, 'y': 0 });\n     * // => true\n     *\n     * _.isPlainObject(Object.create(null));\n     * // => true\n     */\n    function isPlainObject(value) {\n      if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n        return false;\n      }\n      var proto = getPrototype(value);\n      if (proto === null) {\n        return true;\n      }\n      var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n      return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n        funcToString.call(Ctor) == objectCtorString;\n    }\n\n    /**\n     * Checks if `value` is classified as a `RegExp` object.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.\n     * @example\n     *\n     * _.isRegExp(/abc/);\n     * // => true\n     *\n     * _.isRegExp('/abc/');\n     * // => false\n     */\n    var isRegExp = nodeIsRegExp ? baseUnary(nodeIsRegExp) : baseIsRegExp;\n\n    /**\n     * Checks if `value` is a safe integer. An integer is safe if it's an IEEE-754\n     * double precision number which isn't the result of a rounded unsafe integer.\n     *\n     * **Note:** This method is based on\n     * [`Number.isSafeInteger`](https://mdn.io/Number/isSafeInteger).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a safe integer, else `false`.\n     * @example\n     *\n     * _.isSafeInteger(3);\n     * // => true\n     *\n     * _.isSafeInteger(Number.MIN_VALUE);\n     * // => false\n     *\n     * _.isSafeInteger(Infinity);\n     * // => false\n     *\n     * _.isSafeInteger('3');\n     * // => false\n     */\n    function isSafeInteger(value) {\n      return isInteger(value) && value >= -MAX_SAFE_INTEGER && value <= MAX_SAFE_INTEGER;\n    }\n\n    /**\n     * Checks if `value` is classified as a `Set` object.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.3.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n     * @example\n     *\n     * _.isSet(new Set);\n     * // => true\n     *\n     * _.isSet(new WeakSet);\n     * // => false\n     */\n    var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\n    /**\n     * Checks if `value` is classified as a `String` primitive or object.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a string, else `false`.\n     * @example\n     *\n     * _.isString('abc');\n     * // => true\n     *\n     * _.isString(1);\n     * // => false\n     */\n    function isString(value) {\n      return typeof value == 'string' ||\n        (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);\n    }\n\n    /**\n     * Checks if `value` is classified as a `Symbol` primitive or object.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n     * @example\n     *\n     * _.isSymbol(Symbol.iterator);\n     * // => true\n     *\n     * _.isSymbol('abc');\n     * // => false\n     */\n    function isSymbol(value) {\n      return typeof value == 'symbol' ||\n        (isObjectLike(value) && baseGetTag(value) == symbolTag);\n    }\n\n    /**\n     * Checks if `value` is classified as a typed array.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n     * @example\n     *\n     * _.isTypedArray(new Uint8Array);\n     * // => true\n     *\n     * _.isTypedArray([]);\n     * // => false\n     */\n    var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\n    /**\n     * Checks if `value` is `undefined`.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\n     * @example\n     *\n     * _.isUndefined(void 0);\n     * // => true\n     *\n     * _.isUndefined(null);\n     * // => false\n     */\n    function isUndefined(value) {\n      return value === undefined;\n    }\n\n    /**\n     * Checks if `value` is classified as a `WeakMap` object.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.3.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a weak map, else `false`.\n     * @example\n     *\n     * _.isWeakMap(new WeakMap);\n     * // => true\n     *\n     * _.isWeakMap(new Map);\n     * // => false\n     */\n    function isWeakMap(value) {\n      return isObjectLike(value) && getTag(value) == weakMapTag;\n    }\n\n    /**\n     * Checks if `value` is classified as a `WeakSet` object.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.3.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a weak set, else `false`.\n     * @example\n     *\n     * _.isWeakSet(new WeakSet);\n     * // => true\n     *\n     * _.isWeakSet(new Set);\n     * // => false\n     */\n    function isWeakSet(value) {\n      return isObjectLike(value) && baseGetTag(value) == weakSetTag;\n    }\n\n    /**\n     * Checks if `value` is less than `other`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.9.0\n     * @category Lang\n     * @param {*} value The value to compare.\n     * @param {*} other The other value to compare.\n     * @returns {boolean} Returns `true` if `value` is less than `other`,\n     *  else `false`.\n     * @see _.gt\n     * @example\n     *\n     * _.lt(1, 3);\n     * // => true\n     *\n     * _.lt(3, 3);\n     * // => false\n     *\n     * _.lt(3, 1);\n     * // => false\n     */\n    var lt = createRelationalOperation(baseLt);\n\n    /**\n     * Checks if `value` is less than or equal to `other`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.9.0\n     * @category Lang\n     * @param {*} value The value to compare.\n     * @param {*} other The other value to compare.\n     * @returns {boolean} Returns `true` if `value` is less than or equal to\n     *  `other`, else `false`.\n     * @see _.gte\n     * @example\n     *\n     * _.lte(1, 3);\n     * // => true\n     *\n     * _.lte(3, 3);\n     * // => true\n     *\n     * _.lte(3, 1);\n     * // => false\n     */\n    var lte = createRelationalOperation(function(value, other) {\n      return value <= other;\n    });\n\n    /**\n     * Converts `value` to an array.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Lang\n     * @param {*} value The value to convert.\n     * @returns {Array} Returns the converted array.\n     * @example\n     *\n     * _.toArray({ 'a': 1, 'b': 2 });\n     * // => [1, 2]\n     *\n     * _.toArray('abc');\n     * // => ['a', 'b', 'c']\n     *\n     * _.toArray(1);\n     * // => []\n     *\n     * _.toArray(null);\n     * // => []\n     */\n    function toArray(value) {\n      if (!value) {\n        return [];\n      }\n      if (isArrayLike(value)) {\n        return isString(value) ? stringToArray(value) : copyArray(value);\n      }\n      if (symIterator && value[symIterator]) {\n        return iteratorToArray(value[symIterator]());\n      }\n      var tag = getTag(value),\n          func = tag == mapTag ? mapToArray : (tag == setTag ? setToArray : values);\n\n      return func(value);\n    }\n\n    /**\n     * Converts `value` to a finite number.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.12.0\n     * @category Lang\n     * @param {*} value The value to convert.\n     * @returns {number} Returns the converted number.\n     * @example\n     *\n     * _.toFinite(3.2);\n     * // => 3.2\n     *\n     * _.toFinite(Number.MIN_VALUE);\n     * // => 5e-324\n     *\n     * _.toFinite(Infinity);\n     * // => 1.7976931348623157e+308\n     *\n     * _.toFinite('3.2');\n     * // => 3.2\n     */\n    function toFinite(value) {\n      if (!value) {\n        return value === 0 ? value : 0;\n      }\n      value = toNumber(value);\n      if (value === INFINITY || value === -INFINITY) {\n        var sign = (value < 0 ? -1 : 1);\n        return sign * MAX_INTEGER;\n      }\n      return value === value ? value : 0;\n    }\n\n    /**\n     * Converts `value` to an integer.\n     *\n     * **Note:** This method is loosely based on\n     * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to convert.\n     * @returns {number} Returns the converted integer.\n     * @example\n     *\n     * _.toInteger(3.2);\n     * // => 3\n     *\n     * _.toInteger(Number.MIN_VALUE);\n     * // => 0\n     *\n     * _.toInteger(Infinity);\n     * // => 1.7976931348623157e+308\n     *\n     * _.toInteger('3.2');\n     * // => 3\n     */\n    function toInteger(value) {\n      var result = toFinite(value),\n          remainder = result % 1;\n\n      return result === result ? (remainder ? result - remainder : result) : 0;\n    }\n\n    /**\n     * Converts `value` to an integer suitable for use as the length of an\n     * array-like object.\n     *\n     * **Note:** This method is based on\n     * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to convert.\n     * @returns {number} Returns the converted integer.\n     * @example\n     *\n     * _.toLength(3.2);\n     * // => 3\n     *\n     * _.toLength(Number.MIN_VALUE);\n     * // => 0\n     *\n     * _.toLength(Infinity);\n     * // => 4294967295\n     *\n     * _.toLength('3.2');\n     * // => 3\n     */\n    function toLength(value) {\n      return value ? baseClamp(toInteger(value), 0, MAX_ARRAY_LENGTH) : 0;\n    }\n\n    /**\n     * Converts `value` to a number.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to process.\n     * @returns {number} Returns the number.\n     * @example\n     *\n     * _.toNumber(3.2);\n     * // => 3.2\n     *\n     * _.toNumber(Number.MIN_VALUE);\n     * // => 5e-324\n     *\n     * _.toNumber(Infinity);\n     * // => Infinity\n     *\n     * _.toNumber('3.2');\n     * // => 3.2\n     */\n    function toNumber(value) {\n      if (typeof value == 'number') {\n        return value;\n      }\n      if (isSymbol(value)) {\n        return NAN;\n      }\n      if (isObject(value)) {\n        var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n        value = isObject(other) ? (other + '') : other;\n      }\n      if (typeof value != 'string') {\n        return value === 0 ? value : +value;\n      }\n      value = baseTrim(value);\n      var isBinary = reIsBinary.test(value);\n      return (isBinary || reIsOctal.test(value))\n        ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n        : (reIsBadHex.test(value) ? NAN : +value);\n    }\n\n    /**\n     * Converts `value` to a plain object flattening inherited enumerable string\n     * keyed properties of `value` to own properties of the plain object.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Lang\n     * @param {*} value The value to convert.\n     * @returns {Object} Returns the converted plain object.\n     * @example\n     *\n     * function Foo() {\n     *   this.b = 2;\n     * }\n     *\n     * Foo.prototype.c = 3;\n     *\n     * _.assign({ 'a': 1 }, new Foo);\n     * // => { 'a': 1, 'b': 2 }\n     *\n     * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));\n     * // => { 'a': 1, 'b': 2, 'c': 3 }\n     */\n    function toPlainObject(value) {\n      return copyObject(value, keysIn(value));\n    }\n\n    /**\n     * Converts `value` to a safe integer. A safe integer can be compared and\n     * represented correctly.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to convert.\n     * @returns {number} Returns the converted integer.\n     * @example\n     *\n     * _.toSafeInteger(3.2);\n     * // => 3\n     *\n     * _.toSafeInteger(Number.MIN_VALUE);\n     * // => 0\n     *\n     * _.toSafeInteger(Infinity);\n     * // => 9007199254740991\n     *\n     * _.toSafeInteger('3.2');\n     * // => 3\n     */\n    function toSafeInteger(value) {\n      return value\n        ? baseClamp(toInteger(value), -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER)\n        : (value === 0 ? value : 0);\n    }\n\n    /**\n     * Converts `value` to a string. An empty string is returned for `null`\n     * and `undefined` values. The sign of `-0` is preserved.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to convert.\n     * @returns {string} Returns the converted string.\n     * @example\n     *\n     * _.toString(null);\n     * // => ''\n     *\n     * _.toString(-0);\n     * // => '-0'\n     *\n     * _.toString([1, 2, 3]);\n     * // => '1,2,3'\n     */\n    function toString(value) {\n      return value == null ? '' : baseToString(value);\n    }\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Assigns own enumerable string keyed properties of source objects to the\n     * destination object. Source objects are applied from left to right.\n     * Subsequent sources overwrite property assignments of previous sources.\n     *\n     * **Note:** This method mutates `object` and is loosely based on\n     * [`Object.assign`](https://mdn.io/Object/assign).\n     *\n     * @static\n     * @memberOf _\n     * @since 0.10.0\n     * @category Object\n     * @param {Object} object The destination object.\n     * @param {...Object} [sources] The source objects.\n     * @returns {Object} Returns `object`.\n     * @see _.assignIn\n     * @example\n     *\n     * function Foo() {\n     *   this.a = 1;\n     * }\n     *\n     * function Bar() {\n     *   this.c = 3;\n     * }\n     *\n     * Foo.prototype.b = 2;\n     * Bar.prototype.d = 4;\n     *\n     * _.assign({ 'a': 0 }, new Foo, new Bar);\n     * // => { 'a': 1, 'c': 3 }\n     */\n    var assign = createAssigner(function(object, source) {\n      if (isPrototype(source) || isArrayLike(source)) {\n        copyObject(source, keys(source), object);\n        return;\n      }\n      for (var key in source) {\n        if (hasOwnProperty.call(source, key)) {\n          assignValue(object, key, source[key]);\n        }\n      }\n    });\n\n    /**\n     * This method is like `_.assign` except that it iterates over own and\n     * inherited source properties.\n     *\n     * **Note:** This method mutates `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @alias extend\n     * @category Object\n     * @param {Object} object The destination object.\n     * @param {...Object} [sources] The source objects.\n     * @returns {Object} Returns `object`.\n     * @see _.assign\n     * @example\n     *\n     * function Foo() {\n     *   this.a = 1;\n     * }\n     *\n     * function Bar() {\n     *   this.c = 3;\n     * }\n     *\n     * Foo.prototype.b = 2;\n     * Bar.prototype.d = 4;\n     *\n     * _.assignIn({ 'a': 0 }, new Foo, new Bar);\n     * // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4 }\n     */\n    var assignIn = createAssigner(function(object, source) {\n      copyObject(source, keysIn(source), object);\n    });\n\n    /**\n     * This method is like `_.assignIn` except that it accepts `customizer`\n     * which is invoked to produce the assigned values. If `customizer` returns\n     * `undefined`, assignment is handled by the method instead. The `customizer`\n     * is invoked with five arguments: (objValue, srcValue, key, object, source).\n     *\n     * **Note:** This method mutates `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @alias extendWith\n     * @category Object\n     * @param {Object} object The destination object.\n     * @param {...Object} sources The source objects.\n     * @param {Function} [customizer] The function to customize assigned values.\n     * @returns {Object} Returns `object`.\n     * @see _.assignWith\n     * @example\n     *\n     * function customizer(objValue, srcValue) {\n     *   return _.isUndefined(objValue) ? srcValue : objValue;\n     * }\n     *\n     * var defaults = _.partialRight(_.assignInWith, customizer);\n     *\n     * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n     * // => { 'a': 1, 'b': 2 }\n     */\n    var assignInWith = createAssigner(function(object, source, srcIndex, customizer) {\n      copyObject(source, keysIn(source), object, customizer);\n    });\n\n    /**\n     * This method is like `_.assign` except that it accepts `customizer`\n     * which is invoked to produce the assigned values. If `customizer` returns\n     * `undefined`, assignment is handled by the method instead. The `customizer`\n     * is invoked with five arguments: (objValue, srcValue, key, object, source).\n     *\n     * **Note:** This method mutates `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Object\n     * @param {Object} object The destination object.\n     * @param {...Object} sources The source objects.\n     * @param {Function} [customizer] The function to customize assigned values.\n     * @returns {Object} Returns `object`.\n     * @see _.assignInWith\n     * @example\n     *\n     * function customizer(objValue, srcValue) {\n     *   return _.isUndefined(objValue) ? srcValue : objValue;\n     * }\n     *\n     * var defaults = _.partialRight(_.assignWith, customizer);\n     *\n     * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n     * // => { 'a': 1, 'b': 2 }\n     */\n    var assignWith = createAssigner(function(object, source, srcIndex, customizer) {\n      copyObject(source, keys(source), object, customizer);\n    });\n\n    /**\n     * Creates an array of values corresponding to `paths` of `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 1.0.0\n     * @category Object\n     * @param {Object} object The object to iterate over.\n     * @param {...(string|string[])} [paths] The property paths to pick.\n     * @returns {Array} Returns the picked values.\n     * @example\n     *\n     * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };\n     *\n     * _.at(object, ['a[0].b.c', 'a[1]']);\n     * // => [3, 4]\n     */\n    var at = flatRest(baseAt);\n\n    /**\n     * Creates an object that inherits from the `prototype` object. If a\n     * `properties` object is given, its own enumerable string keyed properties\n     * are assigned to the created object.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.3.0\n     * @category Object\n     * @param {Object} prototype The object to inherit from.\n     * @param {Object} [properties] The properties to assign to the object.\n     * @returns {Object} Returns the new object.\n     * @example\n     *\n     * function Shape() {\n     *   this.x = 0;\n     *   this.y = 0;\n     * }\n     *\n     * function Circle() {\n     *   Shape.call(this);\n     * }\n     *\n     * Circle.prototype = _.create(Shape.prototype, {\n     *   'constructor': Circle\n     * });\n     *\n     * var circle = new Circle;\n     * circle instanceof Circle;\n     * // => true\n     *\n     * circle instanceof Shape;\n     * // => true\n     */\n    function create(prototype, properties) {\n      var result = baseCreate(prototype);\n      return properties == null ? result : baseAssign(result, properties);\n    }\n\n    /**\n     * Assigns own and inherited enumerable string keyed properties of source\n     * objects to the destination object for all destination properties that\n     * resolve to `undefined`. Source objects are applied from left to right.\n     * Once a property is set, additional values of the same property are ignored.\n     *\n     * **Note:** This method mutates `object`.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Object\n     * @param {Object} object The destination object.\n     * @param {...Object} [sources] The source objects.\n     * @returns {Object} Returns `object`.\n     * @see _.defaultsDeep\n     * @example\n     *\n     * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n     * // => { 'a': 1, 'b': 2 }\n     */\n    var defaults = baseRest(function(object, sources) {\n      object = Object(object);\n\n      var index = -1;\n      var length = sources.length;\n      var guard = length > 2 ? sources[2] : undefined;\n\n      if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n        length = 1;\n      }\n\n      while (++index < length) {\n        var source = sources[index];\n        var props = keysIn(source);\n        var propsIndex = -1;\n        var propsLength = props.length;\n\n        while (++propsIndex < propsLength) {\n          var key = props[propsIndex];\n          var value = object[key];\n\n          if (value === undefined ||\n              (eq(value, objectProto[key]) && !hasOwnProperty.call(object, key))) {\n            object[key] = source[key];\n          }\n        }\n      }\n\n      return object;\n    });\n\n    /**\n     * This method is like `_.defaults` except that it recursively assigns\n     * default properties.\n     *\n     * **Note:** This method mutates `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.10.0\n     * @category Object\n     * @param {Object} object The destination object.\n     * @param {...Object} [sources] The source objects.\n     * @returns {Object} Returns `object`.\n     * @see _.defaults\n     * @example\n     *\n     * _.defaultsDeep({ 'a': { 'b': 2 } }, { 'a': { 'b': 1, 'c': 3 } });\n     * // => { 'a': { 'b': 2, 'c': 3 } }\n     */\n    var defaultsDeep = baseRest(function(args) {\n      args.push(undefined, customDefaultsMerge);\n      return apply(mergeWith, undefined, args);\n    });\n\n    /**\n     * This method is like `_.find` except that it returns the key of the first\n     * element `predicate` returns truthy for instead of the element itself.\n     *\n     * @static\n     * @memberOf _\n     * @since 1.1.0\n     * @category Object\n     * @param {Object} object The object to inspect.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @returns {string|undefined} Returns the key of the matched element,\n     *  else `undefined`.\n     * @example\n     *\n     * var users = {\n     *   'barney':  { 'age': 36, 'active': true },\n     *   'fred':    { 'age': 40, 'active': false },\n     *   'pebbles': { 'age': 1,  'active': true }\n     * };\n     *\n     * _.findKey(users, function(o) { return o.age < 40; });\n     * // => 'barney' (iteration order is not guaranteed)\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.findKey(users, { 'age': 1, 'active': true });\n     * // => 'pebbles'\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.findKey(users, ['active', false]);\n     * // => 'fred'\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.findKey(users, 'active');\n     * // => 'barney'\n     */\n    function findKey(object, predicate) {\n      return baseFindKey(object, getIteratee(predicate, 3), baseForOwn);\n    }\n\n    /**\n     * This method is like `_.findKey` except that it iterates over elements of\n     * a collection in the opposite order.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.0.0\n     * @category Object\n     * @param {Object} object The object to inspect.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @returns {string|undefined} Returns the key of the matched element,\n     *  else `undefined`.\n     * @example\n     *\n     * var users = {\n     *   'barney':  { 'age': 36, 'active': true },\n     *   'fred':    { 'age': 40, 'active': false },\n     *   'pebbles': { 'age': 1,  'active': true }\n     * };\n     *\n     * _.findLastKey(users, function(o) { return o.age < 40; });\n     * // => returns 'pebbles' assuming `_.findKey` returns 'barney'\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.findLastKey(users, { 'age': 36, 'active': true });\n     * // => 'barney'\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.findLastKey(users, ['active', false]);\n     * // => 'fred'\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.findLastKey(users, 'active');\n     * // => 'pebbles'\n     */\n    function findLastKey(object, predicate) {\n      return baseFindKey(object, getIteratee(predicate, 3), baseForOwnRight);\n    }\n\n    /**\n     * Iterates over own and inherited enumerable string keyed properties of an\n     * object and invokes `iteratee` for each property. The iteratee is invoked\n     * with three arguments: (value, key, object). Iteratee functions may exit\n     * iteration early by explicitly returning `false`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.3.0\n     * @category Object\n     * @param {Object} object The object to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @returns {Object} Returns `object`.\n     * @see _.forInRight\n     * @example\n     *\n     * function Foo() {\n     *   this.a = 1;\n     *   this.b = 2;\n     * }\n     *\n     * Foo.prototype.c = 3;\n     *\n     * _.forIn(new Foo, function(value, key) {\n     *   console.log(key);\n     * });\n     * // => Logs 'a', 'b', then 'c' (iteration order is not guaranteed).\n     */\n    function forIn(object, iteratee) {\n      return object == null\n        ? object\n        : baseFor(object, getIteratee(iteratee, 3), keysIn);\n    }\n\n    /**\n     * This method is like `_.forIn` except that it iterates over properties of\n     * `object` in the opposite order.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.0.0\n     * @category Object\n     * @param {Object} object The object to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @returns {Object} Returns `object`.\n     * @see _.forIn\n     * @example\n     *\n     * function Foo() {\n     *   this.a = 1;\n     *   this.b = 2;\n     * }\n     *\n     * Foo.prototype.c = 3;\n     *\n     * _.forInRight(new Foo, function(value, key) {\n     *   console.log(key);\n     * });\n     * // => Logs 'c', 'b', then 'a' assuming `_.forIn` logs 'a', 'b', then 'c'.\n     */\n    function forInRight(object, iteratee) {\n      return object == null\n        ? object\n        : baseForRight(object, getIteratee(iteratee, 3), keysIn);\n    }\n\n    /**\n     * Iterates over own enumerable string keyed properties of an object and\n     * invokes `iteratee` for each property. The iteratee is invoked with three\n     * arguments: (value, key, object). Iteratee functions may exit iteration\n     * early by explicitly returning `false`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.3.0\n     * @category Object\n     * @param {Object} object The object to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @returns {Object} Returns `object`.\n     * @see _.forOwnRight\n     * @example\n     *\n     * function Foo() {\n     *   this.a = 1;\n     *   this.b = 2;\n     * }\n     *\n     * Foo.prototype.c = 3;\n     *\n     * _.forOwn(new Foo, function(value, key) {\n     *   console.log(key);\n     * });\n     * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n     */\n    function forOwn(object, iteratee) {\n      return object && baseForOwn(object, getIteratee(iteratee, 3));\n    }\n\n    /**\n     * This method is like `_.forOwn` except that it iterates over properties of\n     * `object` in the opposite order.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.0.0\n     * @category Object\n     * @param {Object} object The object to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @returns {Object} Returns `object`.\n     * @see _.forOwn\n     * @example\n     *\n     * function Foo() {\n     *   this.a = 1;\n     *   this.b = 2;\n     * }\n     *\n     * Foo.prototype.c = 3;\n     *\n     * _.forOwnRight(new Foo, function(value, key) {\n     *   console.log(key);\n     * });\n     * // => Logs 'b' then 'a' assuming `_.forOwn` logs 'a' then 'b'.\n     */\n    function forOwnRight(object, iteratee) {\n      return object && baseForOwnRight(object, getIteratee(iteratee, 3));\n    }\n\n    /**\n     * Creates an array of function property names from own enumerable properties\n     * of `object`.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Object\n     * @param {Object} object The object to inspect.\n     * @returns {Array} Returns the function names.\n     * @see _.functionsIn\n     * @example\n     *\n     * function Foo() {\n     *   this.a = _.constant('a');\n     *   this.b = _.constant('b');\n     * }\n     *\n     * Foo.prototype.c = _.constant('c');\n     *\n     * _.functions(new Foo);\n     * // => ['a', 'b']\n     */\n    function functions(object) {\n      return object == null ? [] : baseFunctions(object, keys(object));\n    }\n\n    /**\n     * Creates an array of function property names from own and inherited\n     * enumerable properties of `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Object\n     * @param {Object} object The object to inspect.\n     * @returns {Array} Returns the function names.\n     * @see _.functions\n     * @example\n     *\n     * function Foo() {\n     *   this.a = _.constant('a');\n     *   this.b = _.constant('b');\n     * }\n     *\n     * Foo.prototype.c = _.constant('c');\n     *\n     * _.functionsIn(new Foo);\n     * // => ['a', 'b', 'c']\n     */\n    function functionsIn(object) {\n      return object == null ? [] : baseFunctions(object, keysIn(object));\n    }\n\n    /**\n     * Gets the value at `path` of `object`. If the resolved value is\n     * `undefined`, the `defaultValue` is returned in its place.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.7.0\n     * @category Object\n     * @param {Object} object The object to query.\n     * @param {Array|string} path The path of the property to get.\n     * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n     * @returns {*} Returns the resolved value.\n     * @example\n     *\n     * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n     *\n     * _.get(object, 'a[0].b.c');\n     * // => 3\n     *\n     * _.get(object, ['a', '0', 'b', 'c']);\n     * // => 3\n     *\n     * _.get(object, 'a.b.c', 'default');\n     * // => 'default'\n     */\n    function get(object, path, defaultValue) {\n      var result = object == null ? undefined : baseGet(object, path);\n      return result === undefined ? defaultValue : result;\n    }\n\n    /**\n     * Checks if `path` is a direct property of `object`.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Object\n     * @param {Object} object The object to query.\n     * @param {Array|string} path The path to check.\n     * @returns {boolean} Returns `true` if `path` exists, else `false`.\n     * @example\n     *\n     * var object = { 'a': { 'b': 2 } };\n     * var other = _.create({ 'a': _.create({ 'b': 2 }) });\n     *\n     * _.has(object, 'a');\n     * // => true\n     *\n     * _.has(object, 'a.b');\n     * // => true\n     *\n     * _.has(object, ['a', 'b']);\n     * // => true\n     *\n     * _.has(other, 'a');\n     * // => false\n     */\n    function has(object, path) {\n      return object != null && hasPath(object, path, baseHas);\n    }\n\n    /**\n     * Checks if `path` is a direct or inherited property of `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Object\n     * @param {Object} object The object to query.\n     * @param {Array|string} path The path to check.\n     * @returns {boolean} Returns `true` if `path` exists, else `false`.\n     * @example\n     *\n     * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n     *\n     * _.hasIn(object, 'a');\n     * // => true\n     *\n     * _.hasIn(object, 'a.b');\n     * // => true\n     *\n     * _.hasIn(object, ['a', 'b']);\n     * // => true\n     *\n     * _.hasIn(object, 'b');\n     * // => false\n     */\n    function hasIn(object, path) {\n      return object != null && hasPath(object, path, baseHasIn);\n    }\n\n    /**\n     * Creates an object composed of the inverted keys and values of `object`.\n     * If `object` contains duplicate values, subsequent values overwrite\n     * property assignments of previous values.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.7.0\n     * @category Object\n     * @param {Object} object The object to invert.\n     * @returns {Object} Returns the new inverted object.\n     * @example\n     *\n     * var object = { 'a': 1, 'b': 2, 'c': 1 };\n     *\n     * _.invert(object);\n     * // => { '1': 'c', '2': 'b' }\n     */\n    var invert = createInverter(function(result, value, key) {\n      if (value != null &&\n          typeof value.toString != 'function') {\n        value = nativeObjectToString.call(value);\n      }\n\n      result[value] = key;\n    }, constant(identity));\n\n    /**\n     * This method is like `_.invert` except that the inverted object is generated\n     * from the results of running each element of `object` thru `iteratee`. The\n     * corresponding inverted value of each inverted key is an array of keys\n     * responsible for generating the inverted value. The iteratee is invoked\n     * with one argument: (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.1.0\n     * @category Object\n     * @param {Object} object The object to invert.\n     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n     * @returns {Object} Returns the new inverted object.\n     * @example\n     *\n     * var object = { 'a': 1, 'b': 2, 'c': 1 };\n     *\n     * _.invertBy(object);\n     * // => { '1': ['a', 'c'], '2': ['b'] }\n     *\n     * _.invertBy(object, function(value) {\n     *   return 'group' + value;\n     * });\n     * // => { 'group1': ['a', 'c'], 'group2': ['b'] }\n     */\n    var invertBy = createInverter(function(result, value, key) {\n      if (value != null &&\n          typeof value.toString != 'function') {\n        value = nativeObjectToString.call(value);\n      }\n\n      if (hasOwnProperty.call(result, value)) {\n        result[value].push(key);\n      } else {\n        result[value] = [key];\n      }\n    }, getIteratee);\n\n    /**\n     * Invokes the method at `path` of `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Object\n     * @param {Object} object The object to query.\n     * @param {Array|string} path The path of the method to invoke.\n     * @param {...*} [args] The arguments to invoke the method with.\n     * @returns {*} Returns the result of the invoked method.\n     * @example\n     *\n     * var object = { 'a': [{ 'b': { 'c': [1, 2, 3, 4] } }] };\n     *\n     * _.invoke(object, 'a[0].b.c.slice', 1, 3);\n     * // => [2, 3]\n     */\n    var invoke = baseRest(baseInvoke);\n\n    /**\n     * Creates an array of the own enumerable property names of `object`.\n     *\n     * **Note:** Non-object values are coerced to objects. See the\n     * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n     * for more details.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Object\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the array of property names.\n     * @example\n     *\n     * function Foo() {\n     *   this.a = 1;\n     *   this.b = 2;\n     * }\n     *\n     * Foo.prototype.c = 3;\n     *\n     * _.keys(new Foo);\n     * // => ['a', 'b'] (iteration order is not guaranteed)\n     *\n     * _.keys('hi');\n     * // => ['0', '1']\n     */\n    function keys(object) {\n      return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n    }\n\n    /**\n     * Creates an array of the own and inherited enumerable property names of `object`.\n     *\n     * **Note:** Non-object values are coerced to objects.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Object\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the array of property names.\n     * @example\n     *\n     * function Foo() {\n     *   this.a = 1;\n     *   this.b = 2;\n     * }\n     *\n     * Foo.prototype.c = 3;\n     *\n     * _.keysIn(new Foo);\n     * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n     */\n    function keysIn(object) {\n      return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n    }\n\n    /**\n     * The opposite of `_.mapValues`; this method creates an object with the\n     * same values as `object` and keys generated by running each own enumerable\n     * string keyed property of `object` thru `iteratee`. The iteratee is invoked\n     * with three arguments: (value, key, object).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.8.0\n     * @category Object\n     * @param {Object} object The object to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @returns {Object} Returns the new mapped object.\n     * @see _.mapValues\n     * @example\n     *\n     * _.mapKeys({ 'a': 1, 'b': 2 }, function(value, key) {\n     *   return key + value;\n     * });\n     * // => { 'a1': 1, 'b2': 2 }\n     */\n    function mapKeys(object, iteratee) {\n      var result = {};\n      iteratee = getIteratee(iteratee, 3);\n\n      baseForOwn(object, function(value, key, object) {\n        baseAssignValue(result, iteratee(value, key, object), value);\n      });\n      return result;\n    }\n\n    /**\n     * Creates an object with the same keys as `object` and values generated\n     * by running each own enumerable string keyed property of `object` thru\n     * `iteratee`. The iteratee is invoked with three arguments:\n     * (value, key, object).\n     *\n     * @static\n     * @memberOf _\n     * @since 2.4.0\n     * @category Object\n     * @param {Object} object The object to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @returns {Object} Returns the new mapped object.\n     * @see _.mapKeys\n     * @example\n     *\n     * var users = {\n     *   'fred':    { 'user': 'fred',    'age': 40 },\n     *   'pebbles': { 'user': 'pebbles', 'age': 1 }\n     * };\n     *\n     * _.mapValues(users, function(o) { return o.age; });\n     * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.mapValues(users, 'age');\n     * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n     */\n    function mapValues(object, iteratee) {\n      var result = {};\n      iteratee = getIteratee(iteratee, 3);\n\n      baseForOwn(object, function(value, key, object) {\n        baseAssignValue(result, key, iteratee(value, key, object));\n      });\n      return result;\n    }\n\n    /**\n     * This method is like `_.assign` except that it recursively merges own and\n     * inherited enumerable string keyed properties of source objects into the\n     * destination object. Source properties that resolve to `undefined` are\n     * skipped if a destination value exists. Array and plain object properties\n     * are merged recursively. Other objects and value types are overridden by\n     * assignment. Source objects are applied from left to right. Subsequent\n     * sources overwrite property assignments of previous sources.\n     *\n     * **Note:** This method mutates `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.5.0\n     * @category Object\n     * @param {Object} object The destination object.\n     * @param {...Object} [sources] The source objects.\n     * @returns {Object} Returns `object`.\n     * @example\n     *\n     * var object = {\n     *   'a': [{ 'b': 2 }, { 'd': 4 }]\n     * };\n     *\n     * var other = {\n     *   'a': [{ 'c': 3 }, { 'e': 5 }]\n     * };\n     *\n     * _.merge(object, other);\n     * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }\n     */\n    var merge = createAssigner(function(object, source, srcIndex) {\n      baseMerge(object, source, srcIndex);\n    });\n\n    /**\n     * This method is like `_.merge` except that it accepts `customizer` which\n     * is invoked to produce the merged values of the destination and source\n     * properties. If `customizer` returns `undefined`, merging is handled by the\n     * method instead. The `customizer` is invoked with six arguments:\n     * (objValue, srcValue, key, object, source, stack).\n     *\n     * **Note:** This method mutates `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Object\n     * @param {Object} object The destination object.\n     * @param {...Object} sources The source objects.\n     * @param {Function} customizer The function to customize assigned values.\n     * @returns {Object} Returns `object`.\n     * @example\n     *\n     * function customizer(objValue, srcValue) {\n     *   if (_.isArray(objValue)) {\n     *     return objValue.concat(srcValue);\n     *   }\n     * }\n     *\n     * var object = { 'a': [1], 'b': [2] };\n     * var other = { 'a': [3], 'b': [4] };\n     *\n     * _.mergeWith(object, other, customizer);\n     * // => { 'a': [1, 3], 'b': [2, 4] }\n     */\n    var mergeWith = createAssigner(function(object, source, srcIndex, customizer) {\n      baseMerge(object, source, srcIndex, customizer);\n    });\n\n    /**\n     * The opposite of `_.pick`; this method creates an object composed of the\n     * own and inherited enumerable property paths of `object` that are not omitted.\n     *\n     * **Note:** This method is considerably slower than `_.pick`.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Object\n     * @param {Object} object The source object.\n     * @param {...(string|string[])} [paths] The property paths to omit.\n     * @returns {Object} Returns the new object.\n     * @example\n     *\n     * var object = { 'a': 1, 'b': '2', 'c': 3 };\n     *\n     * _.omit(object, ['a', 'c']);\n     * // => { 'b': '2' }\n     */\n    var omit = flatRest(function(object, paths) {\n      var result = {};\n      if (object == null) {\n        return result;\n      }\n      var isDeep = false;\n      paths = arrayMap(paths, function(path) {\n        path = castPath(path, object);\n        isDeep || (isDeep = path.length > 1);\n        return path;\n      });\n      copyObject(object, getAllKeysIn(object), result);\n      if (isDeep) {\n        result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone);\n      }\n      var length = paths.length;\n      while (length--) {\n        baseUnset(result, paths[length]);\n      }\n      return result;\n    });\n\n    /**\n     * The opposite of `_.pickBy`; this method creates an object composed of\n     * the own and inherited enumerable string keyed properties of `object` that\n     * `predicate` doesn't return truthy for. The predicate is invoked with two\n     * arguments: (value, key).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Object\n     * @param {Object} object The source object.\n     * @param {Function} [predicate=_.identity] The function invoked per property.\n     * @returns {Object} Returns the new object.\n     * @example\n     *\n     * var object = { 'a': 1, 'b': '2', 'c': 3 };\n     *\n     * _.omitBy(object, _.isNumber);\n     * // => { 'b': '2' }\n     */\n    function omitBy(object, predicate) {\n      return pickBy(object, negate(getIteratee(predicate)));\n    }\n\n    /**\n     * Creates an object composed of the picked `object` properties.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Object\n     * @param {Object} object The source object.\n     * @param {...(string|string[])} [paths] The property paths to pick.\n     * @returns {Object} Returns the new object.\n     * @example\n     *\n     * var object = { 'a': 1, 'b': '2', 'c': 3 };\n     *\n     * _.pick(object, ['a', 'c']);\n     * // => { 'a': 1, 'c': 3 }\n     */\n    var pick = flatRest(function(object, paths) {\n      return object == null ? {} : basePick(object, paths);\n    });\n\n    /**\n     * Creates an object composed of the `object` properties `predicate` returns\n     * truthy for. The predicate is invoked with two arguments: (value, key).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Object\n     * @param {Object} object The source object.\n     * @param {Function} [predicate=_.identity] The function invoked per property.\n     * @returns {Object} Returns the new object.\n     * @example\n     *\n     * var object = { 'a': 1, 'b': '2', 'c': 3 };\n     *\n     * _.pickBy(object, _.isNumber);\n     * // => { 'a': 1, 'c': 3 }\n     */\n    function pickBy(object, predicate) {\n      if (object == null) {\n        return {};\n      }\n      var props = arrayMap(getAllKeysIn(object), function(prop) {\n        return [prop];\n      });\n      predicate = getIteratee(predicate);\n      return basePickBy(object, props, function(value, path) {\n        return predicate(value, path[0]);\n      });\n    }\n\n    /**\n     * This method is like `_.get` except that if the resolved value is a\n     * function it's invoked with the `this` binding of its parent object and\n     * its result is returned.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Object\n     * @param {Object} object The object to query.\n     * @param {Array|string} path The path of the property to resolve.\n     * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n     * @returns {*} Returns the resolved value.\n     * @example\n     *\n     * var object = { 'a': [{ 'b': { 'c1': 3, 'c2': _.constant(4) } }] };\n     *\n     * _.result(object, 'a[0].b.c1');\n     * // => 3\n     *\n     * _.result(object, 'a[0].b.c2');\n     * // => 4\n     *\n     * _.result(object, 'a[0].b.c3', 'default');\n     * // => 'default'\n     *\n     * _.result(object, 'a[0].b.c3', _.constant('default'));\n     * // => 'default'\n     */\n    function result(object, path, defaultValue) {\n      path = castPath(path, object);\n\n      var index = -1,\n          length = path.length;\n\n      // Ensure the loop is entered when path is empty.\n      if (!length) {\n        length = 1;\n        object = undefined;\n      }\n      while (++index < length) {\n        var value = object == null ? undefined : object[toKey(path[index])];\n        if (value === undefined) {\n          index = length;\n          value = defaultValue;\n        }\n        object = isFunction(value) ? value.call(object) : value;\n      }\n      return object;\n    }\n\n    /**\n     * Sets the value at `path` of `object`. If a portion of `path` doesn't exist,\n     * it's created. Arrays are created for missing index properties while objects\n     * are created for all other missing properties. Use `_.setWith` to customize\n     * `path` creation.\n     *\n     * **Note:** This method mutates `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.7.0\n     * @category Object\n     * @param {Object} object The object to modify.\n     * @param {Array|string} path The path of the property to set.\n     * @param {*} value The value to set.\n     * @returns {Object} Returns `object`.\n     * @example\n     *\n     * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n     *\n     * _.set(object, 'a[0].b.c', 4);\n     * console.log(object.a[0].b.c);\n     * // => 4\n     *\n     * _.set(object, ['x', '0', 'y', 'z'], 5);\n     * console.log(object.x[0].y.z);\n     * // => 5\n     */\n    function set(object, path, value) {\n      return object == null ? object : baseSet(object, path, value);\n    }\n\n    /**\n     * This method is like `_.set` except that it accepts `customizer` which is\n     * invoked to produce the objects of `path`.  If `customizer` returns `undefined`\n     * path creation is handled by the method instead. The `customizer` is invoked\n     * with three arguments: (nsValue, key, nsObject).\n     *\n     * **Note:** This method mutates `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Object\n     * @param {Object} object The object to modify.\n     * @param {Array|string} path The path of the property to set.\n     * @param {*} value The value to set.\n     * @param {Function} [customizer] The function to customize assigned values.\n     * @returns {Object} Returns `object`.\n     * @example\n     *\n     * var object = {};\n     *\n     * _.setWith(object, '[0][1]', 'a', Object);\n     * // => { '0': { '1': 'a' } }\n     */\n    function setWith(object, path, value, customizer) {\n      customizer = typeof customizer == 'function' ? customizer : undefined;\n      return object == null ? object : baseSet(object, path, value, customizer);\n    }\n\n    /**\n     * Creates an array of own enumerable string keyed-value pairs for `object`\n     * which can be consumed by `_.fromPairs`. If `object` is a map or set, its\n     * entries are returned.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @alias entries\n     * @category Object\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the key-value pairs.\n     * @example\n     *\n     * function Foo() {\n     *   this.a = 1;\n     *   this.b = 2;\n     * }\n     *\n     * Foo.prototype.c = 3;\n     *\n     * _.toPairs(new Foo);\n     * // => [['a', 1], ['b', 2]] (iteration order is not guaranteed)\n     */\n    var toPairs = createToPairs(keys);\n\n    /**\n     * Creates an array of own and inherited enumerable string keyed-value pairs\n     * for `object` which can be consumed by `_.fromPairs`. If `object` is a map\n     * or set, its entries are returned.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @alias entriesIn\n     * @category Object\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the key-value pairs.\n     * @example\n     *\n     * function Foo() {\n     *   this.a = 1;\n     *   this.b = 2;\n     * }\n     *\n     * Foo.prototype.c = 3;\n     *\n     * _.toPairsIn(new Foo);\n     * // => [['a', 1], ['b', 2], ['c', 3]] (iteration order is not guaranteed)\n     */\n    var toPairsIn = createToPairs(keysIn);\n\n    /**\n     * An alternative to `_.reduce`; this method transforms `object` to a new\n     * `accumulator` object which is the result of running each of its own\n     * enumerable string keyed properties thru `iteratee`, with each invocation\n     * potentially mutating the `accumulator` object. If `accumulator` is not\n     * provided, a new object with the same `[[Prototype]]` will be used. The\n     * iteratee is invoked with four arguments: (accumulator, value, key, object).\n     * Iteratee functions may exit iteration early by explicitly returning `false`.\n     *\n     * @static\n     * @memberOf _\n     * @since 1.3.0\n     * @category Object\n     * @param {Object} object The object to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @param {*} [accumulator] The custom accumulator value.\n     * @returns {*} Returns the accumulated value.\n     * @example\n     *\n     * _.transform([2, 3, 4], function(result, n) {\n     *   result.push(n *= n);\n     *   return n % 2 == 0;\n     * }, []);\n     * // => [4, 9]\n     *\n     * _.transform({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n     *   (result[value] || (result[value] = [])).push(key);\n     * }, {});\n     * // => { '1': ['a', 'c'], '2': ['b'] }\n     */\n    function transform(object, iteratee, accumulator) {\n      var isArr = isArray(object),\n          isArrLike = isArr || isBuffer(object) || isTypedArray(object);\n\n      iteratee = getIteratee(iteratee, 4);\n      if (accumulator == null) {\n        var Ctor = object && object.constructor;\n        if (isArrLike) {\n          accumulator = isArr ? new Ctor : [];\n        }\n        else if (isObject(object)) {\n          accumulator = isFunction(Ctor) ? baseCreate(getPrototype(object)) : {};\n        }\n        else {\n          accumulator = {};\n        }\n      }\n      (isArrLike ? arrayEach : baseForOwn)(object, function(value, index, object) {\n        return iteratee(accumulator, value, index, object);\n      });\n      return accumulator;\n    }\n\n    /**\n     * Removes the property at `path` of `object`.\n     *\n     * **Note:** This method mutates `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Object\n     * @param {Object} object The object to modify.\n     * @param {Array|string} path The path of the property to unset.\n     * @returns {boolean} Returns `true` if the property is deleted, else `false`.\n     * @example\n     *\n     * var object = { 'a': [{ 'b': { 'c': 7 } }] };\n     * _.unset(object, 'a[0].b.c');\n     * // => true\n     *\n     * console.log(object);\n     * // => { 'a': [{ 'b': {} }] };\n     *\n     * _.unset(object, ['a', '0', 'b', 'c']);\n     * // => true\n     *\n     * console.log(object);\n     * // => { 'a': [{ 'b': {} }] };\n     */\n    function unset(object, path) {\n      return object == null ? true : baseUnset(object, path);\n    }\n\n    /**\n     * This method is like `_.set` except that accepts `updater` to produce the\n     * value to set. Use `_.updateWith` to customize `path` creation. The `updater`\n     * is invoked with one argument: (value).\n     *\n     * **Note:** This method mutates `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.6.0\n     * @category Object\n     * @param {Object} object The object to modify.\n     * @param {Array|string} path The path of the property to set.\n     * @param {Function} updater The function to produce the updated value.\n     * @returns {Object} Returns `object`.\n     * @example\n     *\n     * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n     *\n     * _.update(object, 'a[0].b.c', function(n) { return n * n; });\n     * console.log(object.a[0].b.c);\n     * // => 9\n     *\n     * _.update(object, 'x[0].y.z', function(n) { return n ? n + 1 : 0; });\n     * console.log(object.x[0].y.z);\n     * // => 0\n     */\n    function update(object, path, updater) {\n      return object == null ? object : baseUpdate(object, path, castFunction(updater));\n    }\n\n    /**\n     * This method is like `_.update` except that it accepts `customizer` which is\n     * invoked to produce the objects of `path`.  If `customizer` returns `undefined`\n     * path creation is handled by the method instead. The `customizer` is invoked\n     * with three arguments: (nsValue, key, nsObject).\n     *\n     * **Note:** This method mutates `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.6.0\n     * @category Object\n     * @param {Object} object The object to modify.\n     * @param {Array|string} path The path of the property to set.\n     * @param {Function} updater The function to produce the updated value.\n     * @param {Function} [customizer] The function to customize assigned values.\n     * @returns {Object} Returns `object`.\n     * @example\n     *\n     * var object = {};\n     *\n     * _.updateWith(object, '[0][1]', _.constant('a'), Object);\n     * // => { '0': { '1': 'a' } }\n     */\n    function updateWith(object, path, updater, customizer) {\n      customizer = typeof customizer == 'function' ? customizer : undefined;\n      return object == null ? object : baseUpdate(object, path, castFunction(updater), customizer);\n    }\n\n    /**\n     * Creates an array of the own enumerable string keyed property values of `object`.\n     *\n     * **Note:** Non-object values are coerced to objects.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Object\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the array of property values.\n     * @example\n     *\n     * function Foo() {\n     *   this.a = 1;\n     *   this.b = 2;\n     * }\n     *\n     * Foo.prototype.c = 3;\n     *\n     * _.values(new Foo);\n     * // => [1, 2] (iteration order is not guaranteed)\n     *\n     * _.values('hi');\n     * // => ['h', 'i']\n     */\n    function values(object) {\n      return object == null ? [] : baseValues(object, keys(object));\n    }\n\n    /**\n     * Creates an array of the own and inherited enumerable string keyed property\n     * values of `object`.\n     *\n     * **Note:** Non-object values are coerced to objects.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Object\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the array of property values.\n     * @example\n     *\n     * function Foo() {\n     *   this.a = 1;\n     *   this.b = 2;\n     * }\n     *\n     * Foo.prototype.c = 3;\n     *\n     * _.valuesIn(new Foo);\n     * // => [1, 2, 3] (iteration order is not guaranteed)\n     */\n    function valuesIn(object) {\n      return object == null ? [] : baseValues(object, keysIn(object));\n    }\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Clamps `number` within the inclusive `lower` and `upper` bounds.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Number\n     * @param {number} number The number to clamp.\n     * @param {number} [lower] The lower bound.\n     * @param {number} upper The upper bound.\n     * @returns {number} Returns the clamped number.\n     * @example\n     *\n     * _.clamp(-10, -5, 5);\n     * // => -5\n     *\n     * _.clamp(10, -5, 5);\n     * // => 5\n     */\n    function clamp(number, lower, upper) {\n      if (upper === undefined) {\n        upper = lower;\n        lower = undefined;\n      }\n      if (upper !== undefined) {\n        upper = toNumber(upper);\n        upper = upper === upper ? upper : 0;\n      }\n      if (lower !== undefined) {\n        lower = toNumber(lower);\n        lower = lower === lower ? lower : 0;\n      }\n      return baseClamp(toNumber(number), lower, upper);\n    }\n\n    /**\n     * Checks if `n` is between `start` and up to, but not including, `end`. If\n     * `end` is not specified, it's set to `start` with `start` then set to `0`.\n     * If `start` is greater than `end` the params are swapped to support\n     * negative ranges.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.3.0\n     * @category Number\n     * @param {number} number The number to check.\n     * @param {number} [start=0] The start of the range.\n     * @param {number} end The end of the range.\n     * @returns {boolean} Returns `true` if `number` is in the range, else `false`.\n     * @see _.range, _.rangeRight\n     * @example\n     *\n     * _.inRange(3, 2, 4);\n     * // => true\n     *\n     * _.inRange(4, 8);\n     * // => true\n     *\n     * _.inRange(4, 2);\n     * // => false\n     *\n     * _.inRange(2, 2);\n     * // => false\n     *\n     * _.inRange(1.2, 2);\n     * // => true\n     *\n     * _.inRange(5.2, 4);\n     * // => false\n     *\n     * _.inRange(-3, -2, -6);\n     * // => true\n     */\n    function inRange(number, start, end) {\n      start = toFinite(start);\n      if (end === undefined) {\n        end = start;\n        start = 0;\n      } else {\n        end = toFinite(end);\n      }\n      number = toNumber(number);\n      return baseInRange(number, start, end);\n    }\n\n    /**\n     * Produces a random number between the inclusive `lower` and `upper` bounds.\n     * If only one argument is provided a number between `0` and the given number\n     * is returned. If `floating` is `true`, or either `lower` or `upper` are\n     * floats, a floating-point number is returned instead of an integer.\n     *\n     * **Note:** JavaScript follows the IEEE-754 standard for resolving\n     * floating-point values which can produce unexpected results.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.7.0\n     * @category Number\n     * @param {number} [lower=0] The lower bound.\n     * @param {number} [upper=1] The upper bound.\n     * @param {boolean} [floating] Specify returning a floating-point number.\n     * @returns {number} Returns the random number.\n     * @example\n     *\n     * _.random(0, 5);\n     * // => an integer between 0 and 5\n     *\n     * _.random(5);\n     * // => also an integer between 0 and 5\n     *\n     * _.random(5, true);\n     * // => a floating-point number between 0 and 5\n     *\n     * _.random(1.2, 5.2);\n     * // => a floating-point number between 1.2 and 5.2\n     */\n    function random(lower, upper, floating) {\n      if (floating && typeof floating != 'boolean' && isIterateeCall(lower, upper, floating)) {\n        upper = floating = undefined;\n      }\n      if (floating === undefined) {\n        if (typeof upper == 'boolean') {\n          floating = upper;\n          upper = undefined;\n        }\n        else if (typeof lower == 'boolean') {\n          floating = lower;\n          lower = undefined;\n        }\n      }\n      if (lower === undefined && upper === undefined) {\n        lower = 0;\n        upper = 1;\n      }\n      else {\n        lower = toFinite(lower);\n        if (upper === undefined) {\n          upper = lower;\n          lower = 0;\n        } else {\n          upper = toFinite(upper);\n        }\n      }\n      if (lower > upper) {\n        var temp = lower;\n        lower = upper;\n        upper = temp;\n      }\n      if (floating || lower % 1 || upper % 1) {\n        var rand = nativeRandom();\n        return nativeMin(lower + (rand * (upper - lower + freeParseFloat('1e-' + ((rand + '').length - 1)))), upper);\n      }\n      return baseRandom(lower, upper);\n    }\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category String\n     * @param {string} [string=''] The string to convert.\n     * @returns {string} Returns the camel cased string.\n     * @example\n     *\n     * _.camelCase('Foo Bar');\n     * // => 'fooBar'\n     *\n     * _.camelCase('--foo-bar--');\n     * // => 'fooBar'\n     *\n     * _.camelCase('__FOO_BAR__');\n     * // => 'fooBar'\n     */\n    var camelCase = createCompounder(function(result, word, index) {\n      word = word.toLowerCase();\n      return result + (index ? capitalize(word) : word);\n    });\n\n    /**\n     * Converts the first character of `string` to upper case and the remaining\n     * to lower case.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category String\n     * @param {string} [string=''] The string to capitalize.\n     * @returns {string} Returns the capitalized string.\n     * @example\n     *\n     * _.capitalize('FRED');\n     * // => 'Fred'\n     */\n    function capitalize(string) {\n      return upperFirst(toString(string).toLowerCase());\n    }\n\n    /**\n     * Deburrs `string` by converting\n     * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)\n     * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)\n     * letters to basic Latin letters and removing\n     * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category String\n     * @param {string} [string=''] The string to deburr.\n     * @returns {string} Returns the deburred string.\n     * @example\n     *\n     * _.deburr('déjà vu');\n     * // => 'deja vu'\n     */\n    function deburr(string) {\n      string = toString(string);\n      return string && string.replace(reLatin, deburrLetter).replace(reComboMark, '');\n    }\n\n    /**\n     * Checks if `string` ends with the given target string.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category String\n     * @param {string} [string=''] The string to inspect.\n     * @param {string} [target] The string to search for.\n     * @param {number} [position=string.length] The position to search up to.\n     * @returns {boolean} Returns `true` if `string` ends with `target`,\n     *  else `false`.\n     * @example\n     *\n     * _.endsWith('abc', 'c');\n     * // => true\n     *\n     * _.endsWith('abc', 'b');\n     * // => false\n     *\n     * _.endsWith('abc', 'b', 2);\n     * // => true\n     */\n    function endsWith(string, target, position) {\n      string = toString(string);\n      target = baseToString(target);\n\n      var length = string.length;\n      position = position === undefined\n        ? length\n        : baseClamp(toInteger(position), 0, length);\n\n      var end = position;\n      position -= target.length;\n      return position >= 0 && string.slice(position, end) == target;\n    }\n\n    /**\n     * Converts the characters \"&\", \"<\", \">\", '\"', and \"'\" in `string` to their\n     * corresponding HTML entities.\n     *\n     * **Note:** No other characters are escaped. To escape additional\n     * characters use a third-party library like [_he_](https://mths.be/he).\n     *\n     * Though the \">\" character is escaped for symmetry, characters like\n     * \">\" and \"/\" don't need escaping in HTML and have no special meaning\n     * unless they're part of a tag or unquoted attribute value. See\n     * [Mathias Bynens's article](https://mathiasbynens.be/notes/ambiguous-ampersands)\n     * (under \"semi-related fun fact\") for more details.\n     *\n     * When working with HTML you should always\n     * [quote attribute values](http://wonko.com/post/html-escaping) to reduce\n     * XSS vectors.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category String\n     * @param {string} [string=''] The string to escape.\n     * @returns {string} Returns the escaped string.\n     * @example\n     *\n     * _.escape('fred, barney, & pebbles');\n     * // => 'fred, barney, &amp; pebbles'\n     */\n    function escape(string) {\n      string = toString(string);\n      return (string && reHasUnescapedHtml.test(string))\n        ? string.replace(reUnescapedHtml, escapeHtmlChar)\n        : string;\n    }\n\n    /**\n     * Escapes the `RegExp` special characters \"^\", \"$\", \"\\\", \".\", \"*\", \"+\",\n     * \"?\", \"(\", \")\", \"[\", \"]\", \"{\", \"}\", and \"|\" in `string`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category String\n     * @param {string} [string=''] The string to escape.\n     * @returns {string} Returns the escaped string.\n     * @example\n     *\n     * _.escapeRegExp('[lodash](https://lodash.com/)');\n     * // => '\\[lodash\\]\\(https://lodash\\.com/\\)'\n     */\n    function escapeRegExp(string) {\n      string = toString(string);\n      return (string && reHasRegExpChar.test(string))\n        ? string.replace(reRegExpChar, '\\\\$&')\n        : string;\n    }\n\n    /**\n     * Converts `string` to\n     * [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category String\n     * @param {string} [string=''] The string to convert.\n     * @returns {string} Returns the kebab cased string.\n     * @example\n     *\n     * _.kebabCase('Foo Bar');\n     * // => 'foo-bar'\n     *\n     * _.kebabCase('fooBar');\n     * // => 'foo-bar'\n     *\n     * _.kebabCase('__FOO_BAR__');\n     * // => 'foo-bar'\n     */\n    var kebabCase = createCompounder(function(result, word, index) {\n      return result + (index ? '-' : '') + word.toLowerCase();\n    });\n\n    /**\n     * Converts `string`, as space separated words, to lower case.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category String\n     * @param {string} [string=''] The string to convert.\n     * @returns {string} Returns the lower cased string.\n     * @example\n     *\n     * _.lowerCase('--Foo-Bar--');\n     * // => 'foo bar'\n     *\n     * _.lowerCase('fooBar');\n     * // => 'foo bar'\n     *\n     * _.lowerCase('__FOO_BAR__');\n     * // => 'foo bar'\n     */\n    var lowerCase = createCompounder(function(result, word, index) {\n      return result + (index ? ' ' : '') + word.toLowerCase();\n    });\n\n    /**\n     * Converts the first character of `string` to lower case.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category String\n     * @param {string} [string=''] The string to convert.\n     * @returns {string} Returns the converted string.\n     * @example\n     *\n     * _.lowerFirst('Fred');\n     * // => 'fred'\n     *\n     * _.lowerFirst('FRED');\n     * // => 'fRED'\n     */\n    var lowerFirst = createCaseFirst('toLowerCase');\n\n    /**\n     * Pads `string` on the left and right sides if it's shorter than `length`.\n     * Padding characters are truncated if they can't be evenly divided by `length`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category String\n     * @param {string} [string=''] The string to pad.\n     * @param {number} [length=0] The padding length.\n     * @param {string} [chars=' '] The string used as padding.\n     * @returns {string} Returns the padded string.\n     * @example\n     *\n     * _.pad('abc', 8);\n     * // => '  abc   '\n     *\n     * _.pad('abc', 8, '_-');\n     * // => '_-abc_-_'\n     *\n     * _.pad('abc', 3);\n     * // => 'abc'\n     */\n    function pad(string, length, chars) {\n      string = toString(string);\n      length = toInteger(length);\n\n      var strLength = length ? stringSize(string) : 0;\n      if (!length || strLength >= length) {\n        return string;\n      }\n      var mid = (length - strLength) / 2;\n      return (\n        createPadding(nativeFloor(mid), chars) +\n        string +\n        createPadding(nativeCeil(mid), chars)\n      );\n    }\n\n    /**\n     * Pads `string` on the right side if it's shorter than `length`. Padding\n     * characters are truncated if they exceed `length`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category String\n     * @param {string} [string=''] The string to pad.\n     * @param {number} [length=0] The padding length.\n     * @param {string} [chars=' '] The string used as padding.\n     * @returns {string} Returns the padded string.\n     * @example\n     *\n     * _.padEnd('abc', 6);\n     * // => 'abc   '\n     *\n     * _.padEnd('abc', 6, '_-');\n     * // => 'abc_-_'\n     *\n     * _.padEnd('abc', 3);\n     * // => 'abc'\n     */\n    function padEnd(string, length, chars) {\n      string = toString(string);\n      length = toInteger(length);\n\n      var strLength = length ? stringSize(string) : 0;\n      return (length && strLength < length)\n        ? (string + createPadding(length - strLength, chars))\n        : string;\n    }\n\n    /**\n     * Pads `string` on the left side if it's shorter than `length`. Padding\n     * characters are truncated if they exceed `length`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category String\n     * @param {string} [string=''] The string to pad.\n     * @param {number} [length=0] The padding length.\n     * @param {string} [chars=' '] The string used as padding.\n     * @returns {string} Returns the padded string.\n     * @example\n     *\n     * _.padStart('abc', 6);\n     * // => '   abc'\n     *\n     * _.padStart('abc', 6, '_-');\n     * // => '_-_abc'\n     *\n     * _.padStart('abc', 3);\n     * // => 'abc'\n     */\n    function padStart(string, length, chars) {\n      string = toString(string);\n      length = toInteger(length);\n\n      var strLength = length ? stringSize(string) : 0;\n      return (length && strLength < length)\n        ? (createPadding(length - strLength, chars) + string)\n        : string;\n    }\n\n    /**\n     * Converts `string` to an integer of the specified radix. If `radix` is\n     * `undefined` or `0`, a `radix` of `10` is used unless `value` is a\n     * hexadecimal, in which case a `radix` of `16` is used.\n     *\n     * **Note:** This method aligns with the\n     * [ES5 implementation](https://es5.github.io/#x15.1.2.2) of `parseInt`.\n     *\n     * @static\n     * @memberOf _\n     * @since 1.1.0\n     * @category String\n     * @param {string} string The string to convert.\n     * @param {number} [radix=10] The radix to interpret `value` by.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {number} Returns the converted integer.\n     * @example\n     *\n     * _.parseInt('08');\n     * // => 8\n     *\n     * _.map(['6', '08', '10'], _.parseInt);\n     * // => [6, 8, 10]\n     */\n    function parseInt(string, radix, guard) {\n      if (guard || radix == null) {\n        radix = 0;\n      } else if (radix) {\n        radix = +radix;\n      }\n      return nativeParseInt(toString(string).replace(reTrimStart, ''), radix || 0);\n    }\n\n    /**\n     * Repeats the given string `n` times.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category String\n     * @param {string} [string=''] The string to repeat.\n     * @param {number} [n=1] The number of times to repeat the string.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {string} Returns the repeated string.\n     * @example\n     *\n     * _.repeat('*', 3);\n     * // => '***'\n     *\n     * _.repeat('abc', 2);\n     * // => 'abcabc'\n     *\n     * _.repeat('abc', 0);\n     * // => ''\n     */\n    function repeat(string, n, guard) {\n      if ((guard ? isIterateeCall(string, n, guard) : n === undefined)) {\n        n = 1;\n      } else {\n        n = toInteger(n);\n      }\n      return baseRepeat(toString(string), n);\n    }\n\n    /**\n     * Replaces matches for `pattern` in `string` with `replacement`.\n     *\n     * **Note:** This method is based on\n     * [`String#replace`](https://mdn.io/String/replace).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category String\n     * @param {string} [string=''] The string to modify.\n     * @param {RegExp|string} pattern The pattern to replace.\n     * @param {Function|string} replacement The match replacement.\n     * @returns {string} Returns the modified string.\n     * @example\n     *\n     * _.replace('Hi Fred', 'Fred', 'Barney');\n     * // => 'Hi Barney'\n     */\n    function replace() {\n      var args = arguments,\n          string = toString(args[0]);\n\n      return args.length < 3 ? string : string.replace(args[1], args[2]);\n    }\n\n    /**\n     * Converts `string` to\n     * [snake case](https://en.wikipedia.org/wiki/Snake_case).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category String\n     * @param {string} [string=''] The string to convert.\n     * @returns {string} Returns the snake cased string.\n     * @example\n     *\n     * _.snakeCase('Foo Bar');\n     * // => 'foo_bar'\n     *\n     * _.snakeCase('fooBar');\n     * // => 'foo_bar'\n     *\n     * _.snakeCase('--FOO-BAR--');\n     * // => 'foo_bar'\n     */\n    var snakeCase = createCompounder(function(result, word, index) {\n      return result + (index ? '_' : '') + word.toLowerCase();\n    });\n\n    /**\n     * Splits `string` by `separator`.\n     *\n     * **Note:** This method is based on\n     * [`String#split`](https://mdn.io/String/split).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category String\n     * @param {string} [string=''] The string to split.\n     * @param {RegExp|string} separator The separator pattern to split by.\n     * @param {number} [limit] The length to truncate results to.\n     * @returns {Array} Returns the string segments.\n     * @example\n     *\n     * _.split('a-b-c', '-', 2);\n     * // => ['a', 'b']\n     */\n    function split(string, separator, limit) {\n      if (limit && typeof limit != 'number' && isIterateeCall(string, separator, limit)) {\n        separator = limit = undefined;\n      }\n      limit = limit === undefined ? MAX_ARRAY_LENGTH : limit >>> 0;\n      if (!limit) {\n        return [];\n      }\n      string = toString(string);\n      if (string && (\n            typeof separator == 'string' ||\n            (separator != null && !isRegExp(separator))\n          )) {\n        separator = baseToString(separator);\n        if (!separator && hasUnicode(string)) {\n          return castSlice(stringToArray(string), 0, limit);\n        }\n      }\n      return string.split(separator, limit);\n    }\n\n    /**\n     * Converts `string` to\n     * [start case](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.1.0\n     * @category String\n     * @param {string} [string=''] The string to convert.\n     * @returns {string} Returns the start cased string.\n     * @example\n     *\n     * _.startCase('--foo-bar--');\n     * // => 'Foo Bar'\n     *\n     * _.startCase('fooBar');\n     * // => 'Foo Bar'\n     *\n     * _.startCase('__FOO_BAR__');\n     * // => 'FOO BAR'\n     */\n    var startCase = createCompounder(function(result, word, index) {\n      return result + (index ? ' ' : '') + upperFirst(word);\n    });\n\n    /**\n     * Checks if `string` starts with the given target string.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category String\n     * @param {string} [string=''] The string to inspect.\n     * @param {string} [target] The string to search for.\n     * @param {number} [position=0] The position to search from.\n     * @returns {boolean} Returns `true` if `string` starts with `target`,\n     *  else `false`.\n     * @example\n     *\n     * _.startsWith('abc', 'a');\n     * // => true\n     *\n     * _.startsWith('abc', 'b');\n     * // => false\n     *\n     * _.startsWith('abc', 'b', 1);\n     * // => true\n     */\n    function startsWith(string, target, position) {\n      string = toString(string);\n      position = position == null\n        ? 0\n        : baseClamp(toInteger(position), 0, string.length);\n\n      target = baseToString(target);\n      return string.slice(position, position + target.length) == target;\n    }\n\n    /**\n     * Creates a compiled template function that can interpolate data properties\n     * in \"interpolate\" delimiters, HTML-escape interpolated data properties in\n     * \"escape\" delimiters, and execute JavaScript in \"evaluate\" delimiters. Data\n     * properties may be accessed as free variables in the template. If a setting\n     * object is given, it takes precedence over `_.templateSettings` values.\n     *\n     * **Note:** In the development build `_.template` utilizes\n     * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl)\n     * for easier debugging.\n     *\n     * For more information on precompiling templates see\n     * [lodash's custom builds documentation](https://lodash.com/custom-builds).\n     *\n     * For more information on Chrome extension sandboxes see\n     * [Chrome's extensions documentation](https://developer.chrome.com/extensions/sandboxingEval).\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category String\n     * @param {string} [string=''] The template string.\n     * @param {Object} [options={}] The options object.\n     * @param {RegExp} [options.escape=_.templateSettings.escape]\n     *  The HTML \"escape\" delimiter.\n     * @param {RegExp} [options.evaluate=_.templateSettings.evaluate]\n     *  The \"evaluate\" delimiter.\n     * @param {Object} [options.imports=_.templateSettings.imports]\n     *  An object to import into the template as free variables.\n     * @param {RegExp} [options.interpolate=_.templateSettings.interpolate]\n     *  The \"interpolate\" delimiter.\n     * @param {string} [options.sourceURL='lodash.templateSources[n]']\n     *  The sourceURL of the compiled template.\n     * @param {string} [options.variable='obj']\n     *  The data object variable name.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {Function} Returns the compiled template function.\n     * @example\n     *\n     * // Use the \"interpolate\" delimiter to create a compiled template.\n     * var compiled = _.template('hello <%= user %>!');\n     * compiled({ 'user': 'fred' });\n     * // => 'hello fred!'\n     *\n     * // Use the HTML \"escape\" delimiter to escape data property values.\n     * var compiled = _.template('<b><%- value %></b>');\n     * compiled({ 'value': '<script>' });\n     * // => '<b>&lt;script&gt;</b>'\n     *\n     * // Use the \"evaluate\" delimiter to execute JavaScript and generate HTML.\n     * var compiled = _.template('<% _.forEach(users, function(user) { %><li><%- user %></li><% }); %>');\n     * compiled({ 'users': ['fred', 'barney'] });\n     * // => '<li>fred</li><li>barney</li>'\n     *\n     * // Use the internal `print` function in \"evaluate\" delimiters.\n     * var compiled = _.template('<% print(\"hello \" + user); %>!');\n     * compiled({ 'user': 'barney' });\n     * // => 'hello barney!'\n     *\n     * // Use the ES template literal delimiter as an \"interpolate\" delimiter.\n     * // Disable support by replacing the \"interpolate\" delimiter.\n     * var compiled = _.template('hello ${ user }!');\n     * compiled({ 'user': 'pebbles' });\n     * // => 'hello pebbles!'\n     *\n     * // Use backslashes to treat delimiters as plain text.\n     * var compiled = _.template('<%= \"\\\\<%- value %\\\\>\" %>');\n     * compiled({ 'value': 'ignored' });\n     * // => '<%- value %>'\n     *\n     * // Use the `imports` option to import `jQuery` as `jq`.\n     * var text = '<% jq.each(users, function(user) { %><li><%- user %></li><% }); %>';\n     * var compiled = _.template(text, { 'imports': { 'jq': jQuery } });\n     * compiled({ 'users': ['fred', 'barney'] });\n     * // => '<li>fred</li><li>barney</li>'\n     *\n     * // Use the `sourceURL` option to specify a custom sourceURL for the template.\n     * var compiled = _.template('hello <%= user %>!', { 'sourceURL': '/basic/greeting.jst' });\n     * compiled(data);\n     * // => Find the source of \"greeting.jst\" under the Sources tab or Resources panel of the web inspector.\n     *\n     * // Use the `variable` option to ensure a with-statement isn't used in the compiled template.\n     * var compiled = _.template('hi <%= data.user %>!', { 'variable': 'data' });\n     * compiled.source;\n     * // => function(data) {\n     * //   var __t, __p = '';\n     * //   __p += 'hi ' + ((__t = ( data.user )) == null ? '' : __t) + '!';\n     * //   return __p;\n     * // }\n     *\n     * // Use custom template delimiters.\n     * _.templateSettings.interpolate = /{{([\\s\\S]+?)}}/g;\n     * var compiled = _.template('hello {{ user }}!');\n     * compiled({ 'user': 'mustache' });\n     * // => 'hello mustache!'\n     *\n     * // Use the `source` property to inline compiled templates for meaningful\n     * // line numbers in error messages and stack traces.\n     * fs.writeFileSync(path.join(process.cwd(), 'jst.js'), '\\\n     *   var JST = {\\\n     *     \"main\": ' + _.template(mainText).source + '\\\n     *   };\\\n     * ');\n     */\n    function template(string, options, guard) {\n      // Based on John Resig's `tmpl` implementation\n      // (http://ejohn.org/blog/javascript-micro-templating/)\n      // and Laura Doktorova's doT.js (https://github.com/olado/doT).\n      var settings = lodash.templateSettings;\n\n      if (guard && isIterateeCall(string, options, guard)) {\n        options = undefined;\n      }\n      string = toString(string);\n      options = assignInWith({}, options, settings, customDefaultsAssignIn);\n\n      var imports = assignInWith({}, options.imports, settings.imports, customDefaultsAssignIn),\n          importsKeys = keys(imports),\n          importsValues = baseValues(imports, importsKeys);\n\n      var isEscaping,\n          isEvaluating,\n          index = 0,\n          interpolate = options.interpolate || reNoMatch,\n          source = \"__p += '\";\n\n      // Compile the regexp to match each delimiter.\n      var reDelimiters = RegExp(\n        (options.escape || reNoMatch).source + '|' +\n        interpolate.source + '|' +\n        (interpolate === reInterpolate ? reEsTemplate : reNoMatch).source + '|' +\n        (options.evaluate || reNoMatch).source + '|$'\n      , 'g');\n\n      // Use a sourceURL for easier debugging.\n      // The sourceURL gets injected into the source that's eval-ed, so be careful\n      // to normalize all kinds of whitespace, so e.g. newlines (and unicode versions of it) can't sneak in\n      // and escape the comment, thus injecting code that gets evaled.\n      var sourceURL = '//# sourceURL=' +\n        (hasOwnProperty.call(options, 'sourceURL')\n          ? (options.sourceURL + '').replace(/\\s/g, ' ')\n          : ('lodash.templateSources[' + (++templateCounter) + ']')\n        ) + '\\n';\n\n      string.replace(reDelimiters, function(match, escapeValue, interpolateValue, esTemplateValue, evaluateValue, offset) {\n        interpolateValue || (interpolateValue = esTemplateValue);\n\n        // Escape characters that can't be included in string literals.\n        source += string.slice(index, offset).replace(reUnescapedString, escapeStringChar);\n\n        // Replace delimiters with snippets.\n        if (escapeValue) {\n          isEscaping = true;\n          source += \"' +\\n__e(\" + escapeValue + \") +\\n'\";\n        }\n        if (evaluateValue) {\n          isEvaluating = true;\n          source += \"';\\n\" + evaluateValue + \";\\n__p += '\";\n        }\n        if (interpolateValue) {\n          source += \"' +\\n((__t = (\" + interpolateValue + \")) == null ? '' : __t) +\\n'\";\n        }\n        index = offset + match.length;\n\n        // The JS engine embedded in Adobe products needs `match` returned in\n        // order to produce the correct `offset` value.\n        return match;\n      });\n\n      source += \"';\\n\";\n\n      // If `variable` is not specified wrap a with-statement around the generated\n      // code to add the data object to the top of the scope chain.\n      var variable = hasOwnProperty.call(options, 'variable') && options.variable;\n      if (!variable) {\n        source = 'with (obj) {\\n' + source + '\\n}\\n';\n      }\n      // Throw an error if a forbidden character was found in `variable`, to prevent\n      // potential command injection attacks.\n      else if (reForbiddenIdentifierChars.test(variable)) {\n        throw new Error(INVALID_TEMPL_VAR_ERROR_TEXT);\n      }\n\n      // Cleanup code by stripping empty strings.\n      source = (isEvaluating ? source.replace(reEmptyStringLeading, '') : source)\n        .replace(reEmptyStringMiddle, '$1')\n        .replace(reEmptyStringTrailing, '$1;');\n\n      // Frame code as the function body.\n      source = 'function(' + (variable || 'obj') + ') {\\n' +\n        (variable\n          ? ''\n          : 'obj || (obj = {});\\n'\n        ) +\n        \"var __t, __p = ''\" +\n        (isEscaping\n           ? ', __e = _.escape'\n           : ''\n        ) +\n        (isEvaluating\n          ? ', __j = Array.prototype.join;\\n' +\n            \"function print() { __p += __j.call(arguments, '') }\\n\"\n          : ';\\n'\n        ) +\n        source +\n        'return __p\\n}';\n\n      var result = attempt(function() {\n        return Function(importsKeys, sourceURL + 'return ' + source)\n          .apply(undefined, importsValues);\n      });\n\n      // Provide the compiled function's source by its `toString` method or\n      // the `source` property as a convenience for inlining compiled templates.\n      result.source = source;\n      if (isError(result)) {\n        throw result;\n      }\n      return result;\n    }\n\n    /**\n     * Converts `string`, as a whole, to lower case just like\n     * [String#toLowerCase](https://mdn.io/toLowerCase).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category String\n     * @param {string} [string=''] The string to convert.\n     * @returns {string} Returns the lower cased string.\n     * @example\n     *\n     * _.toLower('--Foo-Bar--');\n     * // => '--foo-bar--'\n     *\n     * _.toLower('fooBar');\n     * // => 'foobar'\n     *\n     * _.toLower('__FOO_BAR__');\n     * // => '__foo_bar__'\n     */\n    function toLower(value) {\n      return toString(value).toLowerCase();\n    }\n\n    /**\n     * Converts `string`, as a whole, to upper case just like\n     * [String#toUpperCase](https://mdn.io/toUpperCase).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category String\n     * @param {string} [string=''] The string to convert.\n     * @returns {string} Returns the upper cased string.\n     * @example\n     *\n     * _.toUpper('--foo-bar--');\n     * // => '--FOO-BAR--'\n     *\n     * _.toUpper('fooBar');\n     * // => 'FOOBAR'\n     *\n     * _.toUpper('__foo_bar__');\n     * // => '__FOO_BAR__'\n     */\n    function toUpper(value) {\n      return toString(value).toUpperCase();\n    }\n\n    /**\n     * Removes leading and trailing whitespace or specified characters from `string`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category String\n     * @param {string} [string=''] The string to trim.\n     * @param {string} [chars=whitespace] The characters to trim.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {string} Returns the trimmed string.\n     * @example\n     *\n     * _.trim('  abc  ');\n     * // => 'abc'\n     *\n     * _.trim('-_-abc-_-', '_-');\n     * // => 'abc'\n     *\n     * _.map(['  foo  ', '  bar  '], _.trim);\n     * // => ['foo', 'bar']\n     */\n    function trim(string, chars, guard) {\n      string = toString(string);\n      if (string && (guard || chars === undefined)) {\n        return baseTrim(string);\n      }\n      if (!string || !(chars = baseToString(chars))) {\n        return string;\n      }\n      var strSymbols = stringToArray(string),\n          chrSymbols = stringToArray(chars),\n          start = charsStartIndex(strSymbols, chrSymbols),\n          end = charsEndIndex(strSymbols, chrSymbols) + 1;\n\n      return castSlice(strSymbols, start, end).join('');\n    }\n\n    /**\n     * Removes trailing whitespace or specified characters from `string`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category String\n     * @param {string} [string=''] The string to trim.\n     * @param {string} [chars=whitespace] The characters to trim.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {string} Returns the trimmed string.\n     * @example\n     *\n     * _.trimEnd('  abc  ');\n     * // => '  abc'\n     *\n     * _.trimEnd('-_-abc-_-', '_-');\n     * // => '-_-abc'\n     */\n    function trimEnd(string, chars, guard) {\n      string = toString(string);\n      if (string && (guard || chars === undefined)) {\n        return string.slice(0, trimmedEndIndex(string) + 1);\n      }\n      if (!string || !(chars = baseToString(chars))) {\n        return string;\n      }\n      var strSymbols = stringToArray(string),\n          end = charsEndIndex(strSymbols, stringToArray(chars)) + 1;\n\n      return castSlice(strSymbols, 0, end).join('');\n    }\n\n    /**\n     * Removes leading whitespace or specified characters from `string`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category String\n     * @param {string} [string=''] The string to trim.\n     * @param {string} [chars=whitespace] The characters to trim.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {string} Returns the trimmed string.\n     * @example\n     *\n     * _.trimStart('  abc  ');\n     * // => 'abc  '\n     *\n     * _.trimStart('-_-abc-_-', '_-');\n     * // => 'abc-_-'\n     */\n    function trimStart(string, chars, guard) {\n      string = toString(string);\n      if (string && (guard || chars === undefined)) {\n        return string.replace(reTrimStart, '');\n      }\n      if (!string || !(chars = baseToString(chars))) {\n        return string;\n      }\n      var strSymbols = stringToArray(string),\n          start = charsStartIndex(strSymbols, stringToArray(chars));\n\n      return castSlice(strSymbols, start).join('');\n    }\n\n    /**\n     * Truncates `string` if it's longer than the given maximum string length.\n     * The last characters of the truncated string are replaced with the omission\n     * string which defaults to \"...\".\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category String\n     * @param {string} [string=''] The string to truncate.\n     * @param {Object} [options={}] The options object.\n     * @param {number} [options.length=30] The maximum string length.\n     * @param {string} [options.omission='...'] The string to indicate text is omitted.\n     * @param {RegExp|string} [options.separator] The separator pattern to truncate to.\n     * @returns {string} Returns the truncated string.\n     * @example\n     *\n     * _.truncate('hi-diddly-ho there, neighborino');\n     * // => 'hi-diddly-ho there, neighbo...'\n     *\n     * _.truncate('hi-diddly-ho there, neighborino', {\n     *   'length': 24,\n     *   'separator': ' '\n     * });\n     * // => 'hi-diddly-ho there,...'\n     *\n     * _.truncate('hi-diddly-ho there, neighborino', {\n     *   'length': 24,\n     *   'separator': /,? +/\n     * });\n     * // => 'hi-diddly-ho there...'\n     *\n     * _.truncate('hi-diddly-ho there, neighborino', {\n     *   'omission': ' [...]'\n     * });\n     * // => 'hi-diddly-ho there, neig [...]'\n     */\n    function truncate(string, options) {\n      var length = DEFAULT_TRUNC_LENGTH,\n          omission = DEFAULT_TRUNC_OMISSION;\n\n      if (isObject(options)) {\n        var separator = 'separator' in options ? options.separator : separator;\n        length = 'length' in options ? toInteger(options.length) : length;\n        omission = 'omission' in options ? baseToString(options.omission) : omission;\n      }\n      string = toString(string);\n\n      var strLength = string.length;\n      if (hasUnicode(string)) {\n        var strSymbols = stringToArray(string);\n        strLength = strSymbols.length;\n      }\n      if (length >= strLength) {\n        return string;\n      }\n      var end = length - stringSize(omission);\n      if (end < 1) {\n        return omission;\n      }\n      var result = strSymbols\n        ? castSlice(strSymbols, 0, end).join('')\n        : string.slice(0, end);\n\n      if (separator === undefined) {\n        return result + omission;\n      }\n      if (strSymbols) {\n        end += (result.length - end);\n      }\n      if (isRegExp(separator)) {\n        if (string.slice(end).search(separator)) {\n          var match,\n              substring = result;\n\n          if (!separator.global) {\n            separator = RegExp(separator.source, toString(reFlags.exec(separator)) + 'g');\n          }\n          separator.lastIndex = 0;\n          while ((match = separator.exec(substring))) {\n            var newEnd = match.index;\n          }\n          result = result.slice(0, newEnd === undefined ? end : newEnd);\n        }\n      } else if (string.indexOf(baseToString(separator), end) != end) {\n        var index = result.lastIndexOf(separator);\n        if (index > -1) {\n          result = result.slice(0, index);\n        }\n      }\n      return result + omission;\n    }\n\n    /**\n     * The inverse of `_.escape`; this method converts the HTML entities\n     * `&amp;`, `&lt;`, `&gt;`, `&quot;`, and `&#39;` in `string` to\n     * their corresponding characters.\n     *\n     * **Note:** No other HTML entities are unescaped. To unescape additional\n     * HTML entities use a third-party library like [_he_](https://mths.be/he).\n     *\n     * @static\n     * @memberOf _\n     * @since 0.6.0\n     * @category String\n     * @param {string} [string=''] The string to unescape.\n     * @returns {string} Returns the unescaped string.\n     * @example\n     *\n     * _.unescape('fred, barney, &amp; pebbles');\n     * // => 'fred, barney, & pebbles'\n     */\n    function unescape(string) {\n      string = toString(string);\n      return (string && reHasEscapedHtml.test(string))\n        ? string.replace(reEscapedHtml, unescapeHtmlChar)\n        : string;\n    }\n\n    /**\n     * Converts `string`, as space separated words, to upper case.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category String\n     * @param {string} [string=''] The string to convert.\n     * @returns {string} Returns the upper cased string.\n     * @example\n     *\n     * _.upperCase('--foo-bar');\n     * // => 'FOO BAR'\n     *\n     * _.upperCase('fooBar');\n     * // => 'FOO BAR'\n     *\n     * _.upperCase('__foo_bar__');\n     * // => 'FOO BAR'\n     */\n    var upperCase = createCompounder(function(result, word, index) {\n      return result + (index ? ' ' : '') + word.toUpperCase();\n    });\n\n    /**\n     * Converts the first character of `string` to upper case.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category String\n     * @param {string} [string=''] The string to convert.\n     * @returns {string} Returns the converted string.\n     * @example\n     *\n     * _.upperFirst('fred');\n     * // => 'Fred'\n     *\n     * _.upperFirst('FRED');\n     * // => 'FRED'\n     */\n    var upperFirst = createCaseFirst('toUpperCase');\n\n    /**\n     * Splits `string` into an array of its words.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category String\n     * @param {string} [string=''] The string to inspect.\n     * @param {RegExp|string} [pattern] The pattern to match words.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {Array} Returns the words of `string`.\n     * @example\n     *\n     * _.words('fred, barney, & pebbles');\n     * // => ['fred', 'barney', 'pebbles']\n     *\n     * _.words('fred, barney, & pebbles', /[^, ]+/g);\n     * // => ['fred', 'barney', '&', 'pebbles']\n     */\n    function words(string, pattern, guard) {\n      string = toString(string);\n      pattern = guard ? undefined : pattern;\n\n      if (pattern === undefined) {\n        return hasUnicodeWord(string) ? unicodeWords(string) : asciiWords(string);\n      }\n      return string.match(pattern) || [];\n    }\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Attempts to invoke `func`, returning either the result or the caught error\n     * object. Any additional arguments are provided to `func` when it's invoked.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Util\n     * @param {Function} func The function to attempt.\n     * @param {...*} [args] The arguments to invoke `func` with.\n     * @returns {*} Returns the `func` result or error object.\n     * @example\n     *\n     * // Avoid throwing errors for invalid selectors.\n     * var elements = _.attempt(function(selector) {\n     *   return document.querySelectorAll(selector);\n     * }, '>_>');\n     *\n     * if (_.isError(elements)) {\n     *   elements = [];\n     * }\n     */\n    var attempt = baseRest(function(func, args) {\n      try {\n        return apply(func, undefined, args);\n      } catch (e) {\n        return isError(e) ? e : new Error(e);\n      }\n    });\n\n    /**\n     * Binds methods of an object to the object itself, overwriting the existing\n     * method.\n     *\n     * **Note:** This method doesn't set the \"length\" property of bound functions.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Util\n     * @param {Object} object The object to bind and assign the bound methods to.\n     * @param {...(string|string[])} methodNames The object method names to bind.\n     * @returns {Object} Returns `object`.\n     * @example\n     *\n     * var view = {\n     *   'label': 'docs',\n     *   'click': function() {\n     *     console.log('clicked ' + this.label);\n     *   }\n     * };\n     *\n     * _.bindAll(view, ['click']);\n     * jQuery(element).on('click', view.click);\n     * // => Logs 'clicked docs' when clicked.\n     */\n    var bindAll = flatRest(function(object, methodNames) {\n      arrayEach(methodNames, function(key) {\n        key = toKey(key);\n        baseAssignValue(object, key, bind(object[key], object));\n      });\n      return object;\n    });\n\n    /**\n     * Creates a function that iterates over `pairs` and invokes the corresponding\n     * function of the first predicate to return truthy. The predicate-function\n     * pairs are invoked with the `this` binding and arguments of the created\n     * function.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Util\n     * @param {Array} pairs The predicate-function pairs.\n     * @returns {Function} Returns the new composite function.\n     * @example\n     *\n     * var func = _.cond([\n     *   [_.matches({ 'a': 1 }),           _.constant('matches A')],\n     *   [_.conforms({ 'b': _.isNumber }), _.constant('matches B')],\n     *   [_.stubTrue,                      _.constant('no match')]\n     * ]);\n     *\n     * func({ 'a': 1, 'b': 2 });\n     * // => 'matches A'\n     *\n     * func({ 'a': 0, 'b': 1 });\n     * // => 'matches B'\n     *\n     * func({ 'a': '1', 'b': '2' });\n     * // => 'no match'\n     */\n    function cond(pairs) {\n      var length = pairs == null ? 0 : pairs.length,\n          toIteratee = getIteratee();\n\n      pairs = !length ? [] : arrayMap(pairs, function(pair) {\n        if (typeof pair[1] != 'function') {\n          throw new TypeError(FUNC_ERROR_TEXT);\n        }\n        return [toIteratee(pair[0]), pair[1]];\n      });\n\n      return baseRest(function(args) {\n        var index = -1;\n        while (++index < length) {\n          var pair = pairs[index];\n          if (apply(pair[0], this, args)) {\n            return apply(pair[1], this, args);\n          }\n        }\n      });\n    }\n\n    /**\n     * Creates a function that invokes the predicate properties of `source` with\n     * the corresponding property values of a given object, returning `true` if\n     * all predicates return truthy, else `false`.\n     *\n     * **Note:** The created function is equivalent to `_.conformsTo` with\n     * `source` partially applied.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Util\n     * @param {Object} source The object of property predicates to conform to.\n     * @returns {Function} Returns the new spec function.\n     * @example\n     *\n     * var objects = [\n     *   { 'a': 2, 'b': 1 },\n     *   { 'a': 1, 'b': 2 }\n     * ];\n     *\n     * _.filter(objects, _.conforms({ 'b': function(n) { return n > 1; } }));\n     * // => [{ 'a': 1, 'b': 2 }]\n     */\n    function conforms(source) {\n      return baseConforms(baseClone(source, CLONE_DEEP_FLAG));\n    }\n\n    /**\n     * Creates a function that returns `value`.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.4.0\n     * @category Util\n     * @param {*} value The value to return from the new function.\n     * @returns {Function} Returns the new constant function.\n     * @example\n     *\n     * var objects = _.times(2, _.constant({ 'a': 1 }));\n     *\n     * console.log(objects);\n     * // => [{ 'a': 1 }, { 'a': 1 }]\n     *\n     * console.log(objects[0] === objects[1]);\n     * // => true\n     */\n    function constant(value) {\n      return function() {\n        return value;\n      };\n    }\n\n    /**\n     * Checks `value` to determine whether a default value should be returned in\n     * its place. The `defaultValue` is returned if `value` is `NaN`, `null`,\n     * or `undefined`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.14.0\n     * @category Util\n     * @param {*} value The value to check.\n     * @param {*} defaultValue The default value.\n     * @returns {*} Returns the resolved value.\n     * @example\n     *\n     * _.defaultTo(1, 10);\n     * // => 1\n     *\n     * _.defaultTo(undefined, 10);\n     * // => 10\n     */\n    function defaultTo(value, defaultValue) {\n      return (value == null || value !== value) ? defaultValue : value;\n    }\n\n    /**\n     * Creates a function that returns the result of invoking the given functions\n     * with the `this` binding of the created function, where each successive\n     * invocation is supplied the return value of the previous.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Util\n     * @param {...(Function|Function[])} [funcs] The functions to invoke.\n     * @returns {Function} Returns the new composite function.\n     * @see _.flowRight\n     * @example\n     *\n     * function square(n) {\n     *   return n * n;\n     * }\n     *\n     * var addSquare = _.flow([_.add, square]);\n     * addSquare(1, 2);\n     * // => 9\n     */\n    var flow = createFlow();\n\n    /**\n     * This method is like `_.flow` except that it creates a function that\n     * invokes the given functions from right to left.\n     *\n     * @static\n     * @since 3.0.0\n     * @memberOf _\n     * @category Util\n     * @param {...(Function|Function[])} [funcs] The functions to invoke.\n     * @returns {Function} Returns the new composite function.\n     * @see _.flow\n     * @example\n     *\n     * function square(n) {\n     *   return n * n;\n     * }\n     *\n     * var addSquare = _.flowRight([square, _.add]);\n     * addSquare(1, 2);\n     * // => 9\n     */\n    var flowRight = createFlow(true);\n\n    /**\n     * This method returns the first argument it receives.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Util\n     * @param {*} value Any value.\n     * @returns {*} Returns `value`.\n     * @example\n     *\n     * var object = { 'a': 1 };\n     *\n     * console.log(_.identity(object) === object);\n     * // => true\n     */\n    function identity(value) {\n      return value;\n    }\n\n    /**\n     * Creates a function that invokes `func` with the arguments of the created\n     * function. If `func` is a property name, the created function returns the\n     * property value for a given element. If `func` is an array or object, the\n     * created function returns `true` for elements that contain the equivalent\n     * source properties, otherwise it returns `false`.\n     *\n     * @static\n     * @since 4.0.0\n     * @memberOf _\n     * @category Util\n     * @param {*} [func=_.identity] The value to convert to a callback.\n     * @returns {Function} Returns the callback.\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'barney', 'age': 36, 'active': true },\n     *   { 'user': 'fred',   'age': 40, 'active': false }\n     * ];\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.filter(users, _.iteratee({ 'user': 'barney', 'active': true }));\n     * // => [{ 'user': 'barney', 'age': 36, 'active': true }]\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.filter(users, _.iteratee(['user', 'fred']));\n     * // => [{ 'user': 'fred', 'age': 40 }]\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.map(users, _.iteratee('user'));\n     * // => ['barney', 'fred']\n     *\n     * // Create custom iteratee shorthands.\n     * _.iteratee = _.wrap(_.iteratee, function(iteratee, func) {\n     *   return !_.isRegExp(func) ? iteratee(func) : function(string) {\n     *     return func.test(string);\n     *   };\n     * });\n     *\n     * _.filter(['abc', 'def'], /ef/);\n     * // => ['def']\n     */\n    function iteratee(func) {\n      return baseIteratee(typeof func == 'function' ? func : baseClone(func, CLONE_DEEP_FLAG));\n    }\n\n    /**\n     * Creates a function that performs a partial deep comparison between a given\n     * object and `source`, returning `true` if the given object has equivalent\n     * property values, else `false`.\n     *\n     * **Note:** The created function is equivalent to `_.isMatch` with `source`\n     * partially applied.\n     *\n     * Partial comparisons will match empty array and empty object `source`\n     * values against any array or object value, respectively. See `_.isEqual`\n     * for a list of supported value comparisons.\n     *\n     * **Note:** Multiple values can be checked by combining several matchers\n     * using `_.overSome`\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Util\n     * @param {Object} source The object of property values to match.\n     * @returns {Function} Returns the new spec function.\n     * @example\n     *\n     * var objects = [\n     *   { 'a': 1, 'b': 2, 'c': 3 },\n     *   { 'a': 4, 'b': 5, 'c': 6 }\n     * ];\n     *\n     * _.filter(objects, _.matches({ 'a': 4, 'c': 6 }));\n     * // => [{ 'a': 4, 'b': 5, 'c': 6 }]\n     *\n     * // Checking for several possible values\n     * _.filter(objects, _.overSome([_.matches({ 'a': 1 }), _.matches({ 'a': 4 })]));\n     * // => [{ 'a': 1, 'b': 2, 'c': 3 }, { 'a': 4, 'b': 5, 'c': 6 }]\n     */\n    function matches(source) {\n      return baseMatches(baseClone(source, CLONE_DEEP_FLAG));\n    }\n\n    /**\n     * Creates a function that performs a partial deep comparison between the\n     * value at `path` of a given object to `srcValue`, returning `true` if the\n     * object value is equivalent, else `false`.\n     *\n     * **Note:** Partial comparisons will match empty array and empty object\n     * `srcValue` values against any array or object value, respectively. See\n     * `_.isEqual` for a list of supported value comparisons.\n     *\n     * **Note:** Multiple values can be checked by combining several matchers\n     * using `_.overSome`\n     *\n     * @static\n     * @memberOf _\n     * @since 3.2.0\n     * @category Util\n     * @param {Array|string} path The path of the property to get.\n     * @param {*} srcValue The value to match.\n     * @returns {Function} Returns the new spec function.\n     * @example\n     *\n     * var objects = [\n     *   { 'a': 1, 'b': 2, 'c': 3 },\n     *   { 'a': 4, 'b': 5, 'c': 6 }\n     * ];\n     *\n     * _.find(objects, _.matchesProperty('a', 4));\n     * // => { 'a': 4, 'b': 5, 'c': 6 }\n     *\n     * // Checking for several possible values\n     * _.filter(objects, _.overSome([_.matchesProperty('a', 1), _.matchesProperty('a', 4)]));\n     * // => [{ 'a': 1, 'b': 2, 'c': 3 }, { 'a': 4, 'b': 5, 'c': 6 }]\n     */\n    function matchesProperty(path, srcValue) {\n      return baseMatchesProperty(path, baseClone(srcValue, CLONE_DEEP_FLAG));\n    }\n\n    /**\n     * Creates a function that invokes the method at `path` of a given object.\n     * Any additional arguments are provided to the invoked method.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.7.0\n     * @category Util\n     * @param {Array|string} path The path of the method to invoke.\n     * @param {...*} [args] The arguments to invoke the method with.\n     * @returns {Function} Returns the new invoker function.\n     * @example\n     *\n     * var objects = [\n     *   { 'a': { 'b': _.constant(2) } },\n     *   { 'a': { 'b': _.constant(1) } }\n     * ];\n     *\n     * _.map(objects, _.method('a.b'));\n     * // => [2, 1]\n     *\n     * _.map(objects, _.method(['a', 'b']));\n     * // => [2, 1]\n     */\n    var method = baseRest(function(path, args) {\n      return function(object) {\n        return baseInvoke(object, path, args);\n      };\n    });\n\n    /**\n     * The opposite of `_.method`; this method creates a function that invokes\n     * the method at a given path of `object`. Any additional arguments are\n     * provided to the invoked method.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.7.0\n     * @category Util\n     * @param {Object} object The object to query.\n     * @param {...*} [args] The arguments to invoke the method with.\n     * @returns {Function} Returns the new invoker function.\n     * @example\n     *\n     * var array = _.times(3, _.constant),\n     *     object = { 'a': array, 'b': array, 'c': array };\n     *\n     * _.map(['a[2]', 'c[0]'], _.methodOf(object));\n     * // => [2, 0]\n     *\n     * _.map([['a', '2'], ['c', '0']], _.methodOf(object));\n     * // => [2, 0]\n     */\n    var methodOf = baseRest(function(object, args) {\n      return function(path) {\n        return baseInvoke(object, path, args);\n      };\n    });\n\n    /**\n     * Adds all own enumerable string keyed function properties of a source\n     * object to the destination object. If `object` is a function, then methods\n     * are added to its prototype as well.\n     *\n     * **Note:** Use `_.runInContext` to create a pristine `lodash` function to\n     * avoid conflicts caused by modifying the original.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Util\n     * @param {Function|Object} [object=lodash] The destination object.\n     * @param {Object} source The object of functions to add.\n     * @param {Object} [options={}] The options object.\n     * @param {boolean} [options.chain=true] Specify whether mixins are chainable.\n     * @returns {Function|Object} Returns `object`.\n     * @example\n     *\n     * function vowels(string) {\n     *   return _.filter(string, function(v) {\n     *     return /[aeiou]/i.test(v);\n     *   });\n     * }\n     *\n     * _.mixin({ 'vowels': vowels });\n     * _.vowels('fred');\n     * // => ['e']\n     *\n     * _('fred').vowels().value();\n     * // => ['e']\n     *\n     * _.mixin({ 'vowels': vowels }, { 'chain': false });\n     * _('fred').vowels();\n     * // => ['e']\n     */\n    function mixin(object, source, options) {\n      var props = keys(source),\n          methodNames = baseFunctions(source, props);\n\n      if (options == null &&\n          !(isObject(source) && (methodNames.length || !props.length))) {\n        options = source;\n        source = object;\n        object = this;\n        methodNames = baseFunctions(source, keys(source));\n      }\n      var chain = !(isObject(options) && 'chain' in options) || !!options.chain,\n          isFunc = isFunction(object);\n\n      arrayEach(methodNames, function(methodName) {\n        var func = source[methodName];\n        object[methodName] = func;\n        if (isFunc) {\n          object.prototype[methodName] = function() {\n            var chainAll = this.__chain__;\n            if (chain || chainAll) {\n              var result = object(this.__wrapped__),\n                  actions = result.__actions__ = copyArray(this.__actions__);\n\n              actions.push({ 'func': func, 'args': arguments, 'thisArg': object });\n              result.__chain__ = chainAll;\n              return result;\n            }\n            return func.apply(object, arrayPush([this.value()], arguments));\n          };\n        }\n      });\n\n      return object;\n    }\n\n    /**\n     * Reverts the `_` variable to its previous value and returns a reference to\n     * the `lodash` function.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Util\n     * @returns {Function} Returns the `lodash` function.\n     * @example\n     *\n     * var lodash = _.noConflict();\n     */\n    function noConflict() {\n      if (root._ === this) {\n        root._ = oldDash;\n      }\n      return this;\n    }\n\n    /**\n     * This method returns `undefined`.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.3.0\n     * @category Util\n     * @example\n     *\n     * _.times(2, _.noop);\n     * // => [undefined, undefined]\n     */\n    function noop() {\n      // No operation performed.\n    }\n\n    /**\n     * Creates a function that gets the argument at index `n`. If `n` is negative,\n     * the nth argument from the end is returned.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Util\n     * @param {number} [n=0] The index of the argument to return.\n     * @returns {Function} Returns the new pass-thru function.\n     * @example\n     *\n     * var func = _.nthArg(1);\n     * func('a', 'b', 'c', 'd');\n     * // => 'b'\n     *\n     * var func = _.nthArg(-2);\n     * func('a', 'b', 'c', 'd');\n     * // => 'c'\n     */\n    function nthArg(n) {\n      n = toInteger(n);\n      return baseRest(function(args) {\n        return baseNth(args, n);\n      });\n    }\n\n    /**\n     * Creates a function that invokes `iteratees` with the arguments it receives\n     * and returns their results.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Util\n     * @param {...(Function|Function[])} [iteratees=[_.identity]]\n     *  The iteratees to invoke.\n     * @returns {Function} Returns the new function.\n     * @example\n     *\n     * var func = _.over([Math.max, Math.min]);\n     *\n     * func(1, 2, 3, 4);\n     * // => [4, 1]\n     */\n    var over = createOver(arrayMap);\n\n    /**\n     * Creates a function that checks if **all** of the `predicates` return\n     * truthy when invoked with the arguments it receives.\n     *\n     * Following shorthands are possible for providing predicates.\n     * Pass an `Object` and it will be used as an parameter for `_.matches` to create the predicate.\n     * Pass an `Array` of parameters for `_.matchesProperty` and the predicate will be created using them.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Util\n     * @param {...(Function|Function[])} [predicates=[_.identity]]\n     *  The predicates to check.\n     * @returns {Function} Returns the new function.\n     * @example\n     *\n     * var func = _.overEvery([Boolean, isFinite]);\n     *\n     * func('1');\n     * // => true\n     *\n     * func(null);\n     * // => false\n     *\n     * func(NaN);\n     * // => false\n     */\n    var overEvery = createOver(arrayEvery);\n\n    /**\n     * Creates a function that checks if **any** of the `predicates` return\n     * truthy when invoked with the arguments it receives.\n     *\n     * Following shorthands are possible for providing predicates.\n     * Pass an `Object` and it will be used as an parameter for `_.matches` to create the predicate.\n     * Pass an `Array` of parameters for `_.matchesProperty` and the predicate will be created using them.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Util\n     * @param {...(Function|Function[])} [predicates=[_.identity]]\n     *  The predicates to check.\n     * @returns {Function} Returns the new function.\n     * @example\n     *\n     * var func = _.overSome([Boolean, isFinite]);\n     *\n     * func('1');\n     * // => true\n     *\n     * func(null);\n     * // => true\n     *\n     * func(NaN);\n     * // => false\n     *\n     * var matchesFunc = _.overSome([{ 'a': 1 }, { 'a': 2 }])\n     * var matchesPropertyFunc = _.overSome([['a', 1], ['a', 2]])\n     */\n    var overSome = createOver(arraySome);\n\n    /**\n     * Creates a function that returns the value at `path` of a given object.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.4.0\n     * @category Util\n     * @param {Array|string} path The path of the property to get.\n     * @returns {Function} Returns the new accessor function.\n     * @example\n     *\n     * var objects = [\n     *   { 'a': { 'b': 2 } },\n     *   { 'a': { 'b': 1 } }\n     * ];\n     *\n     * _.map(objects, _.property('a.b'));\n     * // => [2, 1]\n     *\n     * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');\n     * // => [1, 2]\n     */\n    function property(path) {\n      return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);\n    }\n\n    /**\n     * The opposite of `_.property`; this method creates a function that returns\n     * the value at a given path of `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Util\n     * @param {Object} object The object to query.\n     * @returns {Function} Returns the new accessor function.\n     * @example\n     *\n     * var array = [0, 1, 2],\n     *     object = { 'a': array, 'b': array, 'c': array };\n     *\n     * _.map(['a[2]', 'c[0]'], _.propertyOf(object));\n     * // => [2, 0]\n     *\n     * _.map([['a', '2'], ['c', '0']], _.propertyOf(object));\n     * // => [2, 0]\n     */\n    function propertyOf(object) {\n      return function(path) {\n        return object == null ? undefined : baseGet(object, path);\n      };\n    }\n\n    /**\n     * Creates an array of numbers (positive and/or negative) progressing from\n     * `start` up to, but not including, `end`. A step of `-1` is used if a negative\n     * `start` is specified without an `end` or `step`. If `end` is not specified,\n     * it's set to `start` with `start` then set to `0`.\n     *\n     * **Note:** JavaScript follows the IEEE-754 standard for resolving\n     * floating-point values which can produce unexpected results.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Util\n     * @param {number} [start=0] The start of the range.\n     * @param {number} end The end of the range.\n     * @param {number} [step=1] The value to increment or decrement by.\n     * @returns {Array} Returns the range of numbers.\n     * @see _.inRange, _.rangeRight\n     * @example\n     *\n     * _.range(4);\n     * // => [0, 1, 2, 3]\n     *\n     * _.range(-4);\n     * // => [0, -1, -2, -3]\n     *\n     * _.range(1, 5);\n     * // => [1, 2, 3, 4]\n     *\n     * _.range(0, 20, 5);\n     * // => [0, 5, 10, 15]\n     *\n     * _.range(0, -4, -1);\n     * // => [0, -1, -2, -3]\n     *\n     * _.range(1, 4, 0);\n     * // => [1, 1, 1]\n     *\n     * _.range(0);\n     * // => []\n     */\n    var range = createRange();\n\n    /**\n     * This method is like `_.range` except that it populates values in\n     * descending order.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Util\n     * @param {number} [start=0] The start of the range.\n     * @param {number} end The end of the range.\n     * @param {number} [step=1] The value to increment or decrement by.\n     * @returns {Array} Returns the range of numbers.\n     * @see _.inRange, _.range\n     * @example\n     *\n     * _.rangeRight(4);\n     * // => [3, 2, 1, 0]\n     *\n     * _.rangeRight(-4);\n     * // => [-3, -2, -1, 0]\n     *\n     * _.rangeRight(1, 5);\n     * // => [4, 3, 2, 1]\n     *\n     * _.rangeRight(0, 20, 5);\n     * // => [15, 10, 5, 0]\n     *\n     * _.rangeRight(0, -4, -1);\n     * // => [-3, -2, -1, 0]\n     *\n     * _.rangeRight(1, 4, 0);\n     * // => [1, 1, 1]\n     *\n     * _.rangeRight(0);\n     * // => []\n     */\n    var rangeRight = createRange(true);\n\n    /**\n     * This method returns a new empty array.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.13.0\n     * @category Util\n     * @returns {Array} Returns the new empty array.\n     * @example\n     *\n     * var arrays = _.times(2, _.stubArray);\n     *\n     * console.log(arrays);\n     * // => [[], []]\n     *\n     * console.log(arrays[0] === arrays[1]);\n     * // => false\n     */\n    function stubArray() {\n      return [];\n    }\n\n    /**\n     * This method returns `false`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.13.0\n     * @category Util\n     * @returns {boolean} Returns `false`.\n     * @example\n     *\n     * _.times(2, _.stubFalse);\n     * // => [false, false]\n     */\n    function stubFalse() {\n      return false;\n    }\n\n    /**\n     * This method returns a new empty object.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.13.0\n     * @category Util\n     * @returns {Object} Returns the new empty object.\n     * @example\n     *\n     * var objects = _.times(2, _.stubObject);\n     *\n     * console.log(objects);\n     * // => [{}, {}]\n     *\n     * console.log(objects[0] === objects[1]);\n     * // => false\n     */\n    function stubObject() {\n      return {};\n    }\n\n    /**\n     * This method returns an empty string.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.13.0\n     * @category Util\n     * @returns {string} Returns the empty string.\n     * @example\n     *\n     * _.times(2, _.stubString);\n     * // => ['', '']\n     */\n    function stubString() {\n      return '';\n    }\n\n    /**\n     * This method returns `true`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.13.0\n     * @category Util\n     * @returns {boolean} Returns `true`.\n     * @example\n     *\n     * _.times(2, _.stubTrue);\n     * // => [true, true]\n     */\n    function stubTrue() {\n      return true;\n    }\n\n    /**\n     * Invokes the iteratee `n` times, returning an array of the results of\n     * each invocation. The iteratee is invoked with one argument; (index).\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Util\n     * @param {number} n The number of times to invoke `iteratee`.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @returns {Array} Returns the array of results.\n     * @example\n     *\n     * _.times(3, String);\n     * // => ['0', '1', '2']\n     *\n     *  _.times(4, _.constant(0));\n     * // => [0, 0, 0, 0]\n     */\n    function times(n, iteratee) {\n      n = toInteger(n);\n      if (n < 1 || n > MAX_SAFE_INTEGER) {\n        return [];\n      }\n      var index = MAX_ARRAY_LENGTH,\n          length = nativeMin(n, MAX_ARRAY_LENGTH);\n\n      iteratee = getIteratee(iteratee);\n      n -= MAX_ARRAY_LENGTH;\n\n      var result = baseTimes(length, iteratee);\n      while (++index < n) {\n        iteratee(index);\n      }\n      return result;\n    }\n\n    /**\n     * Converts `value` to a property path array.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Util\n     * @param {*} value The value to convert.\n     * @returns {Array} Returns the new property path array.\n     * @example\n     *\n     * _.toPath('a.b.c');\n     * // => ['a', 'b', 'c']\n     *\n     * _.toPath('a[0].b.c');\n     * // => ['a', '0', 'b', 'c']\n     */\n    function toPath(value) {\n      if (isArray(value)) {\n        return arrayMap(value, toKey);\n      }\n      return isSymbol(value) ? [value] : copyArray(stringToPath(toString(value)));\n    }\n\n    /**\n     * Generates a unique ID. If `prefix` is given, the ID is appended to it.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Util\n     * @param {string} [prefix=''] The value to prefix the ID with.\n     * @returns {string} Returns the unique ID.\n     * @example\n     *\n     * _.uniqueId('contact_');\n     * // => 'contact_104'\n     *\n     * _.uniqueId();\n     * // => '105'\n     */\n    function uniqueId(prefix) {\n      var id = ++idCounter;\n      return toString(prefix) + id;\n    }\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Adds two numbers.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.4.0\n     * @category Math\n     * @param {number} augend The first number in an addition.\n     * @param {number} addend The second number in an addition.\n     * @returns {number} Returns the total.\n     * @example\n     *\n     * _.add(6, 4);\n     * // => 10\n     */\n    var add = createMathOperation(function(augend, addend) {\n      return augend + addend;\n    }, 0);\n\n    /**\n     * Computes `number` rounded up to `precision`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.10.0\n     * @category Math\n     * @param {number} number The number to round up.\n     * @param {number} [precision=0] The precision to round up to.\n     * @returns {number} Returns the rounded up number.\n     * @example\n     *\n     * _.ceil(4.006);\n     * // => 5\n     *\n     * _.ceil(6.004, 2);\n     * // => 6.01\n     *\n     * _.ceil(6040, -2);\n     * // => 6100\n     */\n    var ceil = createRound('ceil');\n\n    /**\n     * Divide two numbers.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.7.0\n     * @category Math\n     * @param {number} dividend The first number in a division.\n     * @param {number} divisor The second number in a division.\n     * @returns {number} Returns the quotient.\n     * @example\n     *\n     * _.divide(6, 4);\n     * // => 1.5\n     */\n    var divide = createMathOperation(function(dividend, divisor) {\n      return dividend / divisor;\n    }, 1);\n\n    /**\n     * Computes `number` rounded down to `precision`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.10.0\n     * @category Math\n     * @param {number} number The number to round down.\n     * @param {number} [precision=0] The precision to round down to.\n     * @returns {number} Returns the rounded down number.\n     * @example\n     *\n     * _.floor(4.006);\n     * // => 4\n     *\n     * _.floor(0.046, 2);\n     * // => 0.04\n     *\n     * _.floor(4060, -2);\n     * // => 4000\n     */\n    var floor = createRound('floor');\n\n    /**\n     * Computes the maximum value of `array`. If `array` is empty or falsey,\n     * `undefined` is returned.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Math\n     * @param {Array} array The array to iterate over.\n     * @returns {*} Returns the maximum value.\n     * @example\n     *\n     * _.max([4, 2, 8, 6]);\n     * // => 8\n     *\n     * _.max([]);\n     * // => undefined\n     */\n    function max(array) {\n      return (array && array.length)\n        ? baseExtremum(array, identity, baseGt)\n        : undefined;\n    }\n\n    /**\n     * This method is like `_.max` except that it accepts `iteratee` which is\n     * invoked for each element in `array` to generate the criterion by which\n     * the value is ranked. The iteratee is invoked with one argument: (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Math\n     * @param {Array} array The array to iterate over.\n     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n     * @returns {*} Returns the maximum value.\n     * @example\n     *\n     * var objects = [{ 'n': 1 }, { 'n': 2 }];\n     *\n     * _.maxBy(objects, function(o) { return o.n; });\n     * // => { 'n': 2 }\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.maxBy(objects, 'n');\n     * // => { 'n': 2 }\n     */\n    function maxBy(array, iteratee) {\n      return (array && array.length)\n        ? baseExtremum(array, getIteratee(iteratee, 2), baseGt)\n        : undefined;\n    }\n\n    /**\n     * Computes the mean of the values in `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Math\n     * @param {Array} array The array to iterate over.\n     * @returns {number} Returns the mean.\n     * @example\n     *\n     * _.mean([4, 2, 8, 6]);\n     * // => 5\n     */\n    function mean(array) {\n      return baseMean(array, identity);\n    }\n\n    /**\n     * This method is like `_.mean` except that it accepts `iteratee` which is\n     * invoked for each element in `array` to generate the value to be averaged.\n     * The iteratee is invoked with one argument: (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.7.0\n     * @category Math\n     * @param {Array} array The array to iterate over.\n     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n     * @returns {number} Returns the mean.\n     * @example\n     *\n     * var objects = [{ 'n': 4 }, { 'n': 2 }, { 'n': 8 }, { 'n': 6 }];\n     *\n     * _.meanBy(objects, function(o) { return o.n; });\n     * // => 5\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.meanBy(objects, 'n');\n     * // => 5\n     */\n    function meanBy(array, iteratee) {\n      return baseMean(array, getIteratee(iteratee, 2));\n    }\n\n    /**\n     * Computes the minimum value of `array`. If `array` is empty or falsey,\n     * `undefined` is returned.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Math\n     * @param {Array} array The array to iterate over.\n     * @returns {*} Returns the minimum value.\n     * @example\n     *\n     * _.min([4, 2, 8, 6]);\n     * // => 2\n     *\n     * _.min([]);\n     * // => undefined\n     */\n    function min(array) {\n      return (array && array.length)\n        ? baseExtremum(array, identity, baseLt)\n        : undefined;\n    }\n\n    /**\n     * This method is like `_.min` except that it accepts `iteratee` which is\n     * invoked for each element in `array` to generate the criterion by which\n     * the value is ranked. The iteratee is invoked with one argument: (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Math\n     * @param {Array} array The array to iterate over.\n     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n     * @returns {*} Returns the minimum value.\n     * @example\n     *\n     * var objects = [{ 'n': 1 }, { 'n': 2 }];\n     *\n     * _.minBy(objects, function(o) { return o.n; });\n     * // => { 'n': 1 }\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.minBy(objects, 'n');\n     * // => { 'n': 1 }\n     */\n    function minBy(array, iteratee) {\n      return (array && array.length)\n        ? baseExtremum(array, getIteratee(iteratee, 2), baseLt)\n        : undefined;\n    }\n\n    /**\n     * Multiply two numbers.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.7.0\n     * @category Math\n     * @param {number} multiplier The first number in a multiplication.\n     * @param {number} multiplicand The second number in a multiplication.\n     * @returns {number} Returns the product.\n     * @example\n     *\n     * _.multiply(6, 4);\n     * // => 24\n     */\n    var multiply = createMathOperation(function(multiplier, multiplicand) {\n      return multiplier * multiplicand;\n    }, 1);\n\n    /**\n     * Computes `number` rounded to `precision`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.10.0\n     * @category Math\n     * @param {number} number The number to round.\n     * @param {number} [precision=0] The precision to round to.\n     * @returns {number} Returns the rounded number.\n     * @example\n     *\n     * _.round(4.006);\n     * // => 4\n     *\n     * _.round(4.006, 2);\n     * // => 4.01\n     *\n     * _.round(4060, -2);\n     * // => 4100\n     */\n    var round = createRound('round');\n\n    /**\n     * Subtract two numbers.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Math\n     * @param {number} minuend The first number in a subtraction.\n     * @param {number} subtrahend The second number in a subtraction.\n     * @returns {number} Returns the difference.\n     * @example\n     *\n     * _.subtract(6, 4);\n     * // => 2\n     */\n    var subtract = createMathOperation(function(minuend, subtrahend) {\n      return minuend - subtrahend;\n    }, 0);\n\n    /**\n     * Computes the sum of the values in `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.4.0\n     * @category Math\n     * @param {Array} array The array to iterate over.\n     * @returns {number} Returns the sum.\n     * @example\n     *\n     * _.sum([4, 2, 8, 6]);\n     * // => 20\n     */\n    function sum(array) {\n      return (array && array.length)\n        ? baseSum(array, identity)\n        : 0;\n    }\n\n    /**\n     * This method is like `_.sum` except that it accepts `iteratee` which is\n     * invoked for each element in `array` to generate the value to be summed.\n     * The iteratee is invoked with one argument: (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Math\n     * @param {Array} array The array to iterate over.\n     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n     * @returns {number} Returns the sum.\n     * @example\n     *\n     * var objects = [{ 'n': 4 }, { 'n': 2 }, { 'n': 8 }, { 'n': 6 }];\n     *\n     * _.sumBy(objects, function(o) { return o.n; });\n     * // => 20\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.sumBy(objects, 'n');\n     * // => 20\n     */\n    function sumBy(array, iteratee) {\n      return (array && array.length)\n        ? baseSum(array, getIteratee(iteratee, 2))\n        : 0;\n    }\n\n    /*------------------------------------------------------------------------*/\n\n    // Add methods that return wrapped values in chain sequences.\n    lodash.after = after;\n    lodash.ary = ary;\n    lodash.assign = assign;\n    lodash.assignIn = assignIn;\n    lodash.assignInWith = assignInWith;\n    lodash.assignWith = assignWith;\n    lodash.at = at;\n    lodash.before = before;\n    lodash.bind = bind;\n    lodash.bindAll = bindAll;\n    lodash.bindKey = bindKey;\n    lodash.castArray = castArray;\n    lodash.chain = chain;\n    lodash.chunk = chunk;\n    lodash.compact = compact;\n    lodash.concat = concat;\n    lodash.cond = cond;\n    lodash.conforms = conforms;\n    lodash.constant = constant;\n    lodash.countBy = countBy;\n    lodash.create = create;\n    lodash.curry = curry;\n    lodash.curryRight = curryRight;\n    lodash.debounce = debounce;\n    lodash.defaults = defaults;\n    lodash.defaultsDeep = defaultsDeep;\n    lodash.defer = defer;\n    lodash.delay = delay;\n    lodash.difference = difference;\n    lodash.differenceBy = differenceBy;\n    lodash.differenceWith = differenceWith;\n    lodash.drop = drop;\n    lodash.dropRight = dropRight;\n    lodash.dropRightWhile = dropRightWhile;\n    lodash.dropWhile = dropWhile;\n    lodash.fill = fill;\n    lodash.filter = filter;\n    lodash.flatMap = flatMap;\n    lodash.flatMapDeep = flatMapDeep;\n    lodash.flatMapDepth = flatMapDepth;\n    lodash.flatten = flatten;\n    lodash.flattenDeep = flattenDeep;\n    lodash.flattenDepth = flattenDepth;\n    lodash.flip = flip;\n    lodash.flow = flow;\n    lodash.flowRight = flowRight;\n    lodash.fromPairs = fromPairs;\n    lodash.functions = functions;\n    lodash.functionsIn = functionsIn;\n    lodash.groupBy = groupBy;\n    lodash.initial = initial;\n    lodash.intersection = intersection;\n    lodash.intersectionBy = intersectionBy;\n    lodash.intersectionWith = intersectionWith;\n    lodash.invert = invert;\n    lodash.invertBy = invertBy;\n    lodash.invokeMap = invokeMap;\n    lodash.iteratee = iteratee;\n    lodash.keyBy = keyBy;\n    lodash.keys = keys;\n    lodash.keysIn = keysIn;\n    lodash.map = map;\n    lodash.mapKeys = mapKeys;\n    lodash.mapValues = mapValues;\n    lodash.matches = matches;\n    lodash.matchesProperty = matchesProperty;\n    lodash.memoize = memoize;\n    lodash.merge = merge;\n    lodash.mergeWith = mergeWith;\n    lodash.method = method;\n    lodash.methodOf = methodOf;\n    lodash.mixin = mixin;\n    lodash.negate = negate;\n    lodash.nthArg = nthArg;\n    lodash.omit = omit;\n    lodash.omitBy = omitBy;\n    lodash.once = once;\n    lodash.orderBy = orderBy;\n    lodash.over = over;\n    lodash.overArgs = overArgs;\n    lodash.overEvery = overEvery;\n    lodash.overSome = overSome;\n    lodash.partial = partial;\n    lodash.partialRight = partialRight;\n    lodash.partition = partition;\n    lodash.pick = pick;\n    lodash.pickBy = pickBy;\n    lodash.property = property;\n    lodash.propertyOf = propertyOf;\n    lodash.pull = pull;\n    lodash.pullAll = pullAll;\n    lodash.pullAllBy = pullAllBy;\n    lodash.pullAllWith = pullAllWith;\n    lodash.pullAt = pullAt;\n    lodash.range = range;\n    lodash.rangeRight = rangeRight;\n    lodash.rearg = rearg;\n    lodash.reject = reject;\n    lodash.remove = remove;\n    lodash.rest = rest;\n    lodash.reverse = reverse;\n    lodash.sampleSize = sampleSize;\n    lodash.set = set;\n    lodash.setWith = setWith;\n    lodash.shuffle = shuffle;\n    lodash.slice = slice;\n    lodash.sortBy = sortBy;\n    lodash.sortedUniq = sortedUniq;\n    lodash.sortedUniqBy = sortedUniqBy;\n    lodash.split = split;\n    lodash.spread = spread;\n    lodash.tail = tail;\n    lodash.take = take;\n    lodash.takeRight = takeRight;\n    lodash.takeRightWhile = takeRightWhile;\n    lodash.takeWhile = takeWhile;\n    lodash.tap = tap;\n    lodash.throttle = throttle;\n    lodash.thru = thru;\n    lodash.toArray = toArray;\n    lodash.toPairs = toPairs;\n    lodash.toPairsIn = toPairsIn;\n    lodash.toPath = toPath;\n    lodash.toPlainObject = toPlainObject;\n    lodash.transform = transform;\n    lodash.unary = unary;\n    lodash.union = union;\n    lodash.unionBy = unionBy;\n    lodash.unionWith = unionWith;\n    lodash.uniq = uniq;\n    lodash.uniqBy = uniqBy;\n    lodash.uniqWith = uniqWith;\n    lodash.unset = unset;\n    lodash.unzip = unzip;\n    lodash.unzipWith = unzipWith;\n    lodash.update = update;\n    lodash.updateWith = updateWith;\n    lodash.values = values;\n    lodash.valuesIn = valuesIn;\n    lodash.without = without;\n    lodash.words = words;\n    lodash.wrap = wrap;\n    lodash.xor = xor;\n    lodash.xorBy = xorBy;\n    lodash.xorWith = xorWith;\n    lodash.zip = zip;\n    lodash.zipObject = zipObject;\n    lodash.zipObjectDeep = zipObjectDeep;\n    lodash.zipWith = zipWith;\n\n    // Add aliases.\n    lodash.entries = toPairs;\n    lodash.entriesIn = toPairsIn;\n    lodash.extend = assignIn;\n    lodash.extendWith = assignInWith;\n\n    // Add methods to `lodash.prototype`.\n    mixin(lodash, lodash);\n\n    /*------------------------------------------------------------------------*/\n\n    // Add methods that return unwrapped values in chain sequences.\n    lodash.add = add;\n    lodash.attempt = attempt;\n    lodash.camelCase = camelCase;\n    lodash.capitalize = capitalize;\n    lodash.ceil = ceil;\n    lodash.clamp = clamp;\n    lodash.clone = clone;\n    lodash.cloneDeep = cloneDeep;\n    lodash.cloneDeepWith = cloneDeepWith;\n    lodash.cloneWith = cloneWith;\n    lodash.conformsTo = conformsTo;\n    lodash.deburr = deburr;\n    lodash.defaultTo = defaultTo;\n    lodash.divide = divide;\n    lodash.endsWith = endsWith;\n    lodash.eq = eq;\n    lodash.escape = escape;\n    lodash.escapeRegExp = escapeRegExp;\n    lodash.every = every;\n    lodash.find = find;\n    lodash.findIndex = findIndex;\n    lodash.findKey = findKey;\n    lodash.findLast = findLast;\n    lodash.findLastIndex = findLastIndex;\n    lodash.findLastKey = findLastKey;\n    lodash.floor = floor;\n    lodash.forEach = forEach;\n    lodash.forEachRight = forEachRight;\n    lodash.forIn = forIn;\n    lodash.forInRight = forInRight;\n    lodash.forOwn = forOwn;\n    lodash.forOwnRight = forOwnRight;\n    lodash.get = get;\n    lodash.gt = gt;\n    lodash.gte = gte;\n    lodash.has = has;\n    lodash.hasIn = hasIn;\n    lodash.head = head;\n    lodash.identity = identity;\n    lodash.includes = includes;\n    lodash.indexOf = indexOf;\n    lodash.inRange = inRange;\n    lodash.invoke = invoke;\n    lodash.isArguments = isArguments;\n    lodash.isArray = isArray;\n    lodash.isArrayBuffer = isArrayBuffer;\n    lodash.isArrayLike = isArrayLike;\n    lodash.isArrayLikeObject = isArrayLikeObject;\n    lodash.isBoolean = isBoolean;\n    lodash.isBuffer = isBuffer;\n    lodash.isDate = isDate;\n    lodash.isElement = isElement;\n    lodash.isEmpty = isEmpty;\n    lodash.isEqual = isEqual;\n    lodash.isEqualWith = isEqualWith;\n    lodash.isError = isError;\n    lodash.isFinite = isFinite;\n    lodash.isFunction = isFunction;\n    lodash.isInteger = isInteger;\n    lodash.isLength = isLength;\n    lodash.isMap = isMap;\n    lodash.isMatch = isMatch;\n    lodash.isMatchWith = isMatchWith;\n    lodash.isNaN = isNaN;\n    lodash.isNative = isNative;\n    lodash.isNil = isNil;\n    lodash.isNull = isNull;\n    lodash.isNumber = isNumber;\n    lodash.isObject = isObject;\n    lodash.isObjectLike = isObjectLike;\n    lodash.isPlainObject = isPlainObject;\n    lodash.isRegExp = isRegExp;\n    lodash.isSafeInteger = isSafeInteger;\n    lodash.isSet = isSet;\n    lodash.isString = isString;\n    lodash.isSymbol = isSymbol;\n    lodash.isTypedArray = isTypedArray;\n    lodash.isUndefined = isUndefined;\n    lodash.isWeakMap = isWeakMap;\n    lodash.isWeakSet = isWeakSet;\n    lodash.join = join;\n    lodash.kebabCase = kebabCase;\n    lodash.last = last;\n    lodash.lastIndexOf = lastIndexOf;\n    lodash.lowerCase = lowerCase;\n    lodash.lowerFirst = lowerFirst;\n    lodash.lt = lt;\n    lodash.lte = lte;\n    lodash.max = max;\n    lodash.maxBy = maxBy;\n    lodash.mean = mean;\n    lodash.meanBy = meanBy;\n    lodash.min = min;\n    lodash.minBy = minBy;\n    lodash.stubArray = stubArray;\n    lodash.stubFalse = stubFalse;\n    lodash.stubObject = stubObject;\n    lodash.stubString = stubString;\n    lodash.stubTrue = stubTrue;\n    lodash.multiply = multiply;\n    lodash.nth = nth;\n    lodash.noConflict = noConflict;\n    lodash.noop = noop;\n    lodash.now = now;\n    lodash.pad = pad;\n    lodash.padEnd = padEnd;\n    lodash.padStart = padStart;\n    lodash.parseInt = parseInt;\n    lodash.random = random;\n    lodash.reduce = reduce;\n    lodash.reduceRight = reduceRight;\n    lodash.repeat = repeat;\n    lodash.replace = replace;\n    lodash.result = result;\n    lodash.round = round;\n    lodash.runInContext = runInContext;\n    lodash.sample = sample;\n    lodash.size = size;\n    lodash.snakeCase = snakeCase;\n    lodash.some = some;\n    lodash.sortedIndex = sortedIndex;\n    lodash.sortedIndexBy = sortedIndexBy;\n    lodash.sortedIndexOf = sortedIndexOf;\n    lodash.sortedLastIndex = sortedLastIndex;\n    lodash.sortedLastIndexBy = sortedLastIndexBy;\n    lodash.sortedLastIndexOf = sortedLastIndexOf;\n    lodash.startCase = startCase;\n    lodash.startsWith = startsWith;\n    lodash.subtract = subtract;\n    lodash.sum = sum;\n    lodash.sumBy = sumBy;\n    lodash.template = template;\n    lodash.times = times;\n    lodash.toFinite = toFinite;\n    lodash.toInteger = toInteger;\n    lodash.toLength = toLength;\n    lodash.toLower = toLower;\n    lodash.toNumber = toNumber;\n    lodash.toSafeInteger = toSafeInteger;\n    lodash.toString = toString;\n    lodash.toUpper = toUpper;\n    lodash.trim = trim;\n    lodash.trimEnd = trimEnd;\n    lodash.trimStart = trimStart;\n    lodash.truncate = truncate;\n    lodash.unescape = unescape;\n    lodash.uniqueId = uniqueId;\n    lodash.upperCase = upperCase;\n    lodash.upperFirst = upperFirst;\n\n    // Add aliases.\n    lodash.each = forEach;\n    lodash.eachRight = forEachRight;\n    lodash.first = head;\n\n    mixin(lodash, (function() {\n      var source = {};\n      baseForOwn(lodash, function(func, methodName) {\n        if (!hasOwnProperty.call(lodash.prototype, methodName)) {\n          source[methodName] = func;\n        }\n      });\n      return source;\n    }()), { 'chain': false });\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * The semantic version number.\n     *\n     * @static\n     * @memberOf _\n     * @type {string}\n     */\n    lodash.VERSION = VERSION;\n\n    // Assign default placeholders.\n    arrayEach(['bind', 'bindKey', 'curry', 'curryRight', 'partial', 'partialRight'], function(methodName) {\n      lodash[methodName].placeholder = lodash;\n    });\n\n    // Add `LazyWrapper` methods for `_.drop` and `_.take` variants.\n    arrayEach(['drop', 'take'], function(methodName, index) {\n      LazyWrapper.prototype[methodName] = function(n) {\n        n = n === undefined ? 1 : nativeMax(toInteger(n), 0);\n\n        var result = (this.__filtered__ && !index)\n          ? new LazyWrapper(this)\n          : this.clone();\n\n        if (result.__filtered__) {\n          result.__takeCount__ = nativeMin(n, result.__takeCount__);\n        } else {\n          result.__views__.push({\n            'size': nativeMin(n, MAX_ARRAY_LENGTH),\n            'type': methodName + (result.__dir__ < 0 ? 'Right' : '')\n          });\n        }\n        return result;\n      };\n\n      LazyWrapper.prototype[methodName + 'Right'] = function(n) {\n        return this.reverse()[methodName](n).reverse();\n      };\n    });\n\n    // Add `LazyWrapper` methods that accept an `iteratee` value.\n    arrayEach(['filter', 'map', 'takeWhile'], function(methodName, index) {\n      var type = index + 1,\n          isFilter = type == LAZY_FILTER_FLAG || type == LAZY_WHILE_FLAG;\n\n      LazyWrapper.prototype[methodName] = function(iteratee) {\n        var result = this.clone();\n        result.__iteratees__.push({\n          'iteratee': getIteratee(iteratee, 3),\n          'type': type\n        });\n        result.__filtered__ = result.__filtered__ || isFilter;\n        return result;\n      };\n    });\n\n    // Add `LazyWrapper` methods for `_.head` and `_.last`.\n    arrayEach(['head', 'last'], function(methodName, index) {\n      var takeName = 'take' + (index ? 'Right' : '');\n\n      LazyWrapper.prototype[methodName] = function() {\n        return this[takeName](1).value()[0];\n      };\n    });\n\n    // Add `LazyWrapper` methods for `_.initial` and `_.tail`.\n    arrayEach(['initial', 'tail'], function(methodName, index) {\n      var dropName = 'drop' + (index ? '' : 'Right');\n\n      LazyWrapper.prototype[methodName] = function() {\n        return this.__filtered__ ? new LazyWrapper(this) : this[dropName](1);\n      };\n    });\n\n    LazyWrapper.prototype.compact = function() {\n      return this.filter(identity);\n    };\n\n    LazyWrapper.prototype.find = function(predicate) {\n      return this.filter(predicate).head();\n    };\n\n    LazyWrapper.prototype.findLast = function(predicate) {\n      return this.reverse().find(predicate);\n    };\n\n    LazyWrapper.prototype.invokeMap = baseRest(function(path, args) {\n      if (typeof path == 'function') {\n        return new LazyWrapper(this);\n      }\n      return this.map(function(value) {\n        return baseInvoke(value, path, args);\n      });\n    });\n\n    LazyWrapper.prototype.reject = function(predicate) {\n      return this.filter(negate(getIteratee(predicate)));\n    };\n\n    LazyWrapper.prototype.slice = function(start, end) {\n      start = toInteger(start);\n\n      var result = this;\n      if (result.__filtered__ && (start > 0 || end < 0)) {\n        return new LazyWrapper(result);\n      }\n      if (start < 0) {\n        result = result.takeRight(-start);\n      } else if (start) {\n        result = result.drop(start);\n      }\n      if (end !== undefined) {\n        end = toInteger(end);\n        result = end < 0 ? result.dropRight(-end) : result.take(end - start);\n      }\n      return result;\n    };\n\n    LazyWrapper.prototype.takeRightWhile = function(predicate) {\n      return this.reverse().takeWhile(predicate).reverse();\n    };\n\n    LazyWrapper.prototype.toArray = function() {\n      return this.take(MAX_ARRAY_LENGTH);\n    };\n\n    // Add `LazyWrapper` methods to `lodash.prototype`.\n    baseForOwn(LazyWrapper.prototype, function(func, methodName) {\n      var checkIteratee = /^(?:filter|find|map|reject)|While$/.test(methodName),\n          isTaker = /^(?:head|last)$/.test(methodName),\n          lodashFunc = lodash[isTaker ? ('take' + (methodName == 'last' ? 'Right' : '')) : methodName],\n          retUnwrapped = isTaker || /^find/.test(methodName);\n\n      if (!lodashFunc) {\n        return;\n      }\n      lodash.prototype[methodName] = function() {\n        var value = this.__wrapped__,\n            args = isTaker ? [1] : arguments,\n            isLazy = value instanceof LazyWrapper,\n            iteratee = args[0],\n            useLazy = isLazy || isArray(value);\n\n        var interceptor = function(value) {\n          var result = lodashFunc.apply(lodash, arrayPush([value], args));\n          return (isTaker && chainAll) ? result[0] : result;\n        };\n\n        if (useLazy && checkIteratee && typeof iteratee == 'function' && iteratee.length != 1) {\n          // Avoid lazy use if the iteratee has a \"length\" value other than `1`.\n          isLazy = useLazy = false;\n        }\n        var chainAll = this.__chain__,\n            isHybrid = !!this.__actions__.length,\n            isUnwrapped = retUnwrapped && !chainAll,\n            onlyLazy = isLazy && !isHybrid;\n\n        if (!retUnwrapped && useLazy) {\n          value = onlyLazy ? value : new LazyWrapper(this);\n          var result = func.apply(value, args);\n          result.__actions__.push({ 'func': thru, 'args': [interceptor], 'thisArg': undefined });\n          return new LodashWrapper(result, chainAll);\n        }\n        if (isUnwrapped && onlyLazy) {\n          return func.apply(this, args);\n        }\n        result = this.thru(interceptor);\n        return isUnwrapped ? (isTaker ? result.value()[0] : result.value()) : result;\n      };\n    });\n\n    // Add `Array` methods to `lodash.prototype`.\n    arrayEach(['pop', 'push', 'shift', 'sort', 'splice', 'unshift'], function(methodName) {\n      var func = arrayProto[methodName],\n          chainName = /^(?:push|sort|unshift)$/.test(methodName) ? 'tap' : 'thru',\n          retUnwrapped = /^(?:pop|shift)$/.test(methodName);\n\n      lodash.prototype[methodName] = function() {\n        var args = arguments;\n        if (retUnwrapped && !this.__chain__) {\n          var value = this.value();\n          return func.apply(isArray(value) ? value : [], args);\n        }\n        return this[chainName](function(value) {\n          return func.apply(isArray(value) ? value : [], args);\n        });\n      };\n    });\n\n    // Map minified method names to their real names.\n    baseForOwn(LazyWrapper.prototype, function(func, methodName) {\n      var lodashFunc = lodash[methodName];\n      if (lodashFunc) {\n        var key = lodashFunc.name + '';\n        if (!hasOwnProperty.call(realNames, key)) {\n          realNames[key] = [];\n        }\n        realNames[key].push({ 'name': methodName, 'func': lodashFunc });\n      }\n    });\n\n    realNames[createHybrid(undefined, WRAP_BIND_KEY_FLAG).name] = [{\n      'name': 'wrapper',\n      'func': undefined\n    }];\n\n    // Add methods to `LazyWrapper`.\n    LazyWrapper.prototype.clone = lazyClone;\n    LazyWrapper.prototype.reverse = lazyReverse;\n    LazyWrapper.prototype.value = lazyValue;\n\n    // Add chain sequence methods to the `lodash` wrapper.\n    lodash.prototype.at = wrapperAt;\n    lodash.prototype.chain = wrapperChain;\n    lodash.prototype.commit = wrapperCommit;\n    lodash.prototype.next = wrapperNext;\n    lodash.prototype.plant = wrapperPlant;\n    lodash.prototype.reverse = wrapperReverse;\n    lodash.prototype.toJSON = lodash.prototype.valueOf = lodash.prototype.value = wrapperValue;\n\n    // Add lazy aliases.\n    lodash.prototype.first = lodash.prototype.head;\n\n    if (symIterator) {\n      lodash.prototype[symIterator] = wrapperToIterator;\n    }\n    return lodash;\n  });\n\n  /*--------------------------------------------------------------------------*/\n\n  // Export lodash.\n  var _ = runInContext();\n\n  // Some AMD build optimizers, like r.js, check for condition patterns like:\n  if (typeof define == 'function' && typeof define.amd == 'object' && define.amd) {\n    // Expose Lodash on the global object to prevent errors when Lodash is\n    // loaded by a script tag in the presence of an AMD loader.\n    // See http://requirejs.org/docs/errors.html#mismatch for more details.\n    // Use `_.noConflict` to remove Lodash from the global object.\n    root._ = _;\n\n    // Define as an anonymous module so, through path mapping, it can be\n    // referenced as the \"underscore\" module.\n    define(function() {\n      return _;\n    });\n  }\n  // Check for `exports` after `define` in case a build optimizer adds it.\n  else if (freeModule) {\n    // Export for Node.js.\n    (freeModule.exports = _)._ = _;\n    // Export for CommonJS support.\n    freeExports._ = _;\n  }\n  else {\n    // Export to the global object.\n    root._ = _;\n  }\n}.call(this));\n","<script setup>\nimport axios from 'axios';\nimport { ElButton, ElIcon } from 'element-plus';\nimport { CircleCloseFilled } from '@element-plus/icons-vue';\nimport { ref, onMounted } from 'vue';\nimport { countBy } from 'lodash';\n\nconst props = defineProps(['modelValue', 'multiple', 'label']);\n\n\nconst preview_images = ref([]);\nconst loading_preview = ref(false);\nconst emit = defineEmits(['update:modelValue']);\n\nonMounted(() => {\n    \n    const image_ids = props.modelValue;\n    \n    if(!props.multiple && image_ids === ''){\n        return; \n    }\n\n    if(props.multiple && image_ids.length === 0){\n        return; \n    }\n    \n    loading_preview.value = true;\n    // send rest api request to get all media\n    axios.get('/wp-json/wp/v2/media', {\n        params: {\n            include: image_ids,\n            per_page: 100\n        }\n    }).then((response) => {\n        \n        const images = [];\n        \n        for(let image in response.data) {\n            \n            images[image] = {\n                id: response.data[image].id,\n                url: response.data[image].media_details.sizes.full.source_url,\n                alt: response.data[image].alt_text\n            }\n        }\n        preview_images.value = images;\n        loading_preview.value = false;\n    }).catch((error) => {\n        loading_preview.value = false;\n    });\n});\n\nconst openMediaUploader = () => {\n    const mediaUploader = wp.media({\n        title: 'Select Product Image',\n        button: {\n            text: 'Select Product Image'\n        },\n        multiple: props.multiple\n    });\n\n    mediaUploader.on('select', () => {\n        const attachments = mediaUploader.state().get('selection').toJSON();\n\n        if(props.multiple){\n            preview_images.value = [...preview_images.value, ...attachments];\n        }else{\n            preview_images.value = attachments;\n        }\n\n        // loop on attachments\n        let images = [];\n        for(let attachment in attachments) {\n            images = [...images, attachments[attachment].id ];\n        }\n\n        if(props.multiple){\n            images = [...images, ...props.modelValue];\n            emit('update:modelValue', images);\n        }else{\n            if(images.length){\n                images = images[0];\n            }else{\n                images = '';\n            }\n            emit('update:modelValue', images);\n        }\n        \n    });\n\n    mediaUploader.open();\n}\n\nconst removeMedia = (id) => {\n    const images = preview_images.value;\n    const index = images.findIndex(image => image.id === id);\n    images.splice(index, 1);\n    preview_images.value = images;\n\n    // upate moduleValue with image ids \n    let remaining_images = [];\n    for(let image in images) {\n        remaining_images = [...remaining_images, images[image].id ];\n    }\n\n    if(props.multiple){\n        emit('update:modelValue', remaining_images);    \n    }else{\n        if(remaining_images.length){\n            remaining_images = remaining_images[0];\n        }else{\n            remaining_images = '';\n        }\n        emit('update:modelValue', remaining_images);\n    }\n    \n}\n\n</script>\n    \n<template>\n    <a href=\"#\" class=\"fpe-upload-media\" @click=\"openMediaUploader\">{{ props.label }}</a>\n    <div class=\"fpe-preview-images\" :loading=\"loading_preview\">\n        <div v-for=\"image in preview_images\" :key=\"image.id\">\n            <img :src=\"image.url\" :alt=\"image.alt\" />\n            <ElIcon @click=\"removeMedia(image.id)\">\n                <CircleCloseFilled />    \n            </ElIcon>\n        </div>\n    </div>    \n</template>","<script setup>\n    import { ElAutocomplete, ElCollapseItem, ElInput, ElSelect, ElOption, ElSwitch, ElTree } from 'element-plus';\n    import { useProductStore } from '../../stores/fpe'\n    import { storeToRefs } from 'pinia';\n    import WYSIWYG from '../utility/wysiwyg.vue'\n    import Uploader from '../utility/media-uploader.vue'\n    import { ref } from 'vue';\n\n    const store = useProductStore();\n    const { product, data_sets, strings, tags } = storeToRefs(store);\n\n    const pro = ref(fpe?.editor_config.pro || false);\n\n    const handleChange = (node, tree) => {\n       product.value.categories = tree.checkedKeys;\n    }\n \n    const searchTags = async(query) => {\n       store.getTags(query);\n    }\n    console.log(fpe.editor_config);\n\n</script>\n\n<template>\n    <el-collapse-item :title=\"strings.section_title_general\" name=\"general\">\n\n           \n\n        <div class=\"fpe-field-wrapper\">\n            <label>{{ strings.label_product_name }}</label>\n            <ElInput v-model=\"product.name\" />\n        </div>\n\n        <div class=\"fpe-field-wrapper\">\n            <label>{{ strings.label_description }}</label>\n            <WYSIWYG v-model=\"product.description\" :value=\"product.description\" class=\"fpe-editor\" editor_id=\"fpe_description\" />\n        </div>\n\n        <div class=\"fpe-field-wrapper\">\n            <label>{{ strings.label_short_description }}</label>\n            <WYSIWYG v-model=\"product.short_description\" :value=\"product.short_description\" class=\"fpe-editor\" editor_id=\"fpe_short_description\" /> \n        </div>\n\n        \n        <div class=\"fpe-field-wrapper\">\n            <label>{{ strings.label_catalog_visibility }}</label>\n            <ElSelect v-model=\"product.catalog_visibility\">\n                <el-option\n                    v-for=\"(value, name) in Object.entries(data_sets.catalog_visibility)\"\n                    :key=\"value[0]\"\n                    :label=\"value[1]\"\n                    :value=\"value[0]\"\n                />\n            </ElSelect>    \n        </div>\n\n        <div class=\"fpe-field-wrapper fpe-inline-switcher\">\n            <label>{{ strings.label_is_featured }}</label>\n            <ElSwitch v-model=\"product.featured\" />    \n        </div>\n\n        <div class=\"fpe-field-wrapper\">\n            <label>{{ strings.label_category }}</label>\n            <div class=\"fpe-cat-tree-wrapper\">\n                <ElTree\n                    :data=\"data_sets.product_categories\"\n                    :show-checkbox=\"true\"\n                    node-key=\"id\"\n                    :default-checked-keys=\"product.categories\"\n                    :check-strictly=\"true\"\n                    :default-expand-all=\"true\"\n                    @check=\"handleChange\"\n                />\n            </div>\n        </div>\n\n        <div class=\"fpe-field-wrapper\">\n            <label>{{ strings.label_tags }}</label>\n            <ElSelect\n                v-model=\"product.tags\"\n                multiple\n                filterable\n                remote\n                reserve-keyword\n                placeholder=\"Please enter a keyword\"\n                :remote-method=\"searchTags\"\n            >\n                <el-option \n                    v-for=\"tag in tags\"\n                    :label=\"tag\"\n                    :value=\"tag\"\n                />\n            </ElSelect>\n            </div> \n\n            <div v-if=\"pro\" class=\"fpe-field-wrapper\">\n                <label>{{ strings.label_upload_image }}</label>\n                <Uploader :multiple=\"false\" v-model=\"product.image_id\" label=\"Upload Product Image\" />\n            </div>  \n            \n            <div v-if=\"pro\" class=\"fpe-field-wrapper\">\n                <label>{{ strings.label_upload_gallery_images }}</label>\n                <Uploader :multiple=\"true\" v-model=\"product.gallery_image_ids\" label=\"Upload Gallery Images\" />\n            </div> \n\n            <div class=\"fpe-field-wrapper\" v-if=\"product.type == 'external'\">\n                <label>{{ strings.label_product_url }}</label>\n                <ElInput v-model=\"product.product_url\" />\n            </div> \n             \n            <div class=\"fpe-field-wrapper\" v-if=\"product.type == 'external'\">\n                <label>{{ strings.label_button_text }}</label>\n                <ElInput v-model=\"product.button_text\" />\n            </div>    \n\n    </el-collapse-item>\n</template>","<script setup>\n    import { ElCollapseItem, ElInput, ElCheckbox, ElDatePicker, ElButton } from 'element-plus';\n    import { ref } from 'vue'\n    import { useProductStore } from '../../stores/fpe'\n    import { storeToRefs } from 'pinia';\n\n    const store = useProductStore();\n    const { product, data_sets, tax_enabled, strings } = storeToRefs(store);\n\n    const schedule = ref(false);\n    const price_error = ref(false);\n    const sale_price_error = ref(false);\n    const sale_price_error_text = ref('');\n\n    if(product.value.date_on_sale_from != '' || product.value.date_on_sale_to != ''){\n        schedule.value = true;\n    }\n\n    const sale_from = product.date_on_sale_from;\n\n    const disabledToDate = (date) => {\n        \n        const current_date = new Date(date);\n        const sale_from_date = new Date(product.value.date_on_sale_from);\n\n        if(current_date >= sale_from_date){\n            return false;\n        }\n\n        return true;\n    }\n\n    const validate_price = (value) => {\n        const decimalRegex = /^\\d*\\.?\\d*$/;\n        if(!decimalRegex.test(value)){\n            price_error.value = true;\n        }else{\n            price_error.value = false;\n        }\n    }\n\n    const validate_sale_price = (value) =>  {\n        const decimalRegex = /^\\d*\\.?\\d*$/;\n        if(decimalRegex.test(value)){\n            // valid number\n            if(value >= parseFloat(product.value.regular_price)){\n                sale_price_error.value = true;\n                sale_price_error_text.value = strings.value.validation_error_sale_price_higher;\n            }else{\n                sale_price_error.value = false;\n                sale_price_error_text.value = '';\n            }\n        }else{\n            sale_price_error.value = true;\n            sale_price_error_text.value = strings.value.validation_error_decimal; \n        }\n    }\n\n    const toggleSchedule = (value) => {\n        if(value == false){\n            product.value.date_on_sale_from = '';\n            product.value.date_on_sale_to = '';\n        }\n    }\n\n</script>\n\n<template>\n    <el-collapse-item :title=\"strings.section_title_price\" name=\"pricing\" v-if=\"product.type != 'grouped'\">\n        <div class=\"fpe-field-wrapper\">\n            <label v-html=\"strings.label_regular_price\"></label>\n            <ElInput \n                :class=\"{ fpe_error: price_error }\"\n                v-model=\"product.regular_price\"\n                @input=\"validate_price\"\n            />\n            <div v-if=\"price_error\" class=\"error\" v-html=\"strings.validation_error_decimal\"></div>\n        </div>\n\n        <div class=\"fpe-field-wrapper\">\n            <label v-html=\"strings.label_sale_price\"></label>\n            <ElInput \n                v-model=\"product.sale_price\" \n                :class=\"{fpe_error: sale_price_error}\"\n                @input=\"validate_sale_price\" />\n            <div class=\"error\" v-if=\"sale_price_error\" v-html=\"sale_price_error_text\"></div>\n        </div>\n        <div class=\"fpe-field-wrapper fpe_sale_schedule\">\n            <label>{{ strings.label_schedule_sale }}</label>\n            <ElCheckbox v-model=\"schedule\" @change=\"toggleSchedule\" />\n        </div>\n        <div class=\"fpe-sale-dates\" v-if=\"schedule\">\n            <ElDatePicker\n                :class=\"fpe-date-start\"\n                v-if=\"schedule\"\n                v-model=\"product.date_on_sale_from\"\n                :placeholder=\"strings.placeholder_start_date\"\n                value-format=\"YYYY-MM-DD\"\n                \n            />\n            \n            <ElDatePicker\n                :class=\"fpe-date-end\"\n                v-if=\"schedule\"\n                v-model=\"product.date_on_sale_to\"\n                :placeholder=\"strings.placeholder_end_date\"\n                :disabled-date=\"disabledToDate\"\n                value-format=\"YYYY-MM-DD\"\n                \n            />\n        </div>\n\n        <div class=\"fpe-field-wrapper\" v-if=\"tax_enabled\">\n            <label>{{ strings.label_tax_status }}</label>\n            <ElSelect v-model=\"product.tax_status\">\n                <el-option\n                    v-for=\"(value, name) in Object.entries(data_sets.tax_statuses)\"\n                    :key=\"value[0]\"\n                    :label=\"value[1]\"\n                    :value=\"value[0]\"\n                />\n            </ElSelect> \n        </div>\n\n        <div class=\"fpe-field-wrapper\" v-if=\"tax_enabled\">\n            <label>{{ strings.label_tax_class }}</label>\n            <ElSelect v-model=\"product.tax_class\">\n                <el-option\n                    v-for=\"(value, name) in Object.entries(data_sets.tax_classes)\"\n                    :key=\"value[0]\"\n                    :label=\"value[1]\"\n                    :value=\"value[0]\"\n                />\n            </ElSelect> \n        </div>\n            \n\n    </el-collapse-item>\n</template>","<script setup>\n    import { ElTooltip, ElIcon } from 'element-plus';\n    import { InfoFilled } from '@element-plus/icons-vue';\n\n    const props = defineProps(['tooltip_text'])\n</script>\n\n<template>\n\n    <el-tooltip\n        class=\"box-item\"\n        effect=\"dark\"\n        :content=\"props.tooltip_text\"\n        placement=\"top\"\n    >\n        <el-icon><InfoFilled /></el-icon>\n                \n    </el-tooltip>\n\n</template>","<script setup>\n    import { ElCollapseItem, ElInput, ElSelect, ElOption } from 'element-plus';\n    import { ref } from 'vue';\n    import { storeToRefs } from 'pinia';\n    import { useProductStore } from '../../stores/fpe';\n    \n    const store = useProductStore();\n    const { product, data_sets, strings } = storeToRefs(store);\n\n    const isShippingApplicable = ref(false);\n    if(product.value.type == 'simple' || product.value.type == 'variable'){\n\n        // check if simple product is virtual\n        if(product.value.type == 'simple' && product.value.virtual == true){\n            isShippingApplicable.value = false;\n        }else{\n            isShippingApplicable.value = true;\n        } \n    }\n\n</script>\n\n<template>\n    <el-collapse-item v-if=\"isShippingApplicable\" :title=\"strings.section_title_shipping\" name=\"shipping\">\n        <div class=\"fpe-field-wrapper\">\n            <label>{{ strings.label_weight }}</label>\n            <ElInput v-model=\"product.weight\" />\n        </div>\n\n        <div class=\"fpe-field-wrapper fpe-dimensions\">\n            <label>{{ strings.label_dimensions }}\n                <Info :tooltip_text=\"strings.tooltip_dimensions\" />\n            </label>\n            <div class=\"fpe-dimension-fields\">\n                <ElInput v-model=\"product.length\" />\n                <ElInput v-model=\"product.width\" />\n                <ElInput v-model=\"product.height\" />\n            </div>\n        </div>\n\n        <div class=\"fpe-field-wrapper\">\n            <label>{{ strings.label_shipping_class }}</label>\n            <ElSelect v-model=\"product.shipping_class_id\">\n                <ElOption\n                    v-for=\"(value, name) in Object.entries(data_sets.shipping_classes)\"\n                    :key=\"value[0]\"\n                    :label=\"value[1]\"\n                    :value=\"value[0]\"\n                />\n            </ElSelect>\n        </div>\n\n    </el-collapse-item>    \n\n</template>","<script setup>\n    import { ElSelect, ElOption, ElCollapseItem } from 'element-plus';\n    import { useProductStore } from '../../stores/fpe';\n    import { onMounted, ref } from 'vue';\n    import { storeToRefs } from 'pinia';\n\n    const store = useProductStore();\n    const { product, strings, tags } = storeToRefs(store);\n\n    const no_data_text = ref(strings.value.no_data_text);\n\n    const searchProducts = async(query) => {\n       if(query.length < 3 ){\n           no_data_text.value = \"Please enter 3 or more characters\";\n           return;\n       }\n       no_data_text.value = \"No matching products found\"; \n       store.getProducts(query);\n    }\n\n    onMounted(() => {\n        if(product.value.upsell_ids.length > 0){\n            store.getUpsellProductsByIds(product.value.upsell_ids);\n        }\n\n        if(product.value.cross_sell_ids.length > 0){\n            store.getCrossSellProductsByIds(product.value.cross_sell_ids);\n        }\n\n        if(product.value.grouped_products.length > 0){\n            store.getGroupedProductsByIds(product.value.grouped_products);\n        }\n    });\n\n</script>\n\n<template>\n    <el-collapse-item :title=\"strings.section_title_linked_products\" name=\"linked_products\">\n        <div class=\"fpe-field-wrapper\">\n            <label>{{ strings.label_upsell_products }}</label>\n            \n            <ElSelect\n                v-model=\"product.upsell_ids\"\n                multiple\n                filterable\n                remote\n                reserve-keyword\n                :no-data-text=\"no_data_text\"\n                placeholder=\"Please enter a keyword\"\n                :remote-method=\"searchProducts\"\n                value-key=\"value\"\n            >\n                <el-option \n                    v-for=\"(tag, id) in tags\"\n                    :label=\"tag.label\"\n                    :value=tag\n                />\n            </ElSelect> \n        </div> \n        \n        <div class=\"fpe-field-wrapper\" v-if=\"product.type == 'simple'\">\n            <label>{{ strings.label_crosssell_products }}</label>\n            <ElSelect\n                v-model=\"product.cross_sell_ids\"\n                multiple\n                filterable\n                remote\n                reserve-keyword\n                placeholder=\"Please enter a keyword\"\n                :remote-method=\"searchProducts\"\n                value-key=\"value\"\n            >\n                <el-option \n                    v-for=\"(tag, id) in tags\"\n                    :label=\"tag.label\"\n                    :value=tag\n                />\n            </ElSelect>\n        </div>\n\n        <div class=\"fpe-field-wrapper\" v-if=\"product.type == 'grouped'\" >\n            <label>{{ strings.label_grouped_products }}</label>\n            <ElSelect\n                v-model=\"product.grouped_products\"\n                multiple\n                filterable\n                remote\n                reserve-keyword\n                placeholder=\"Please enter a keyword\"\n                :remote-method=\"searchProducts\"\n                value-key=\"value\"\n            >\n                <el-option \n                    v-for=\"(tag, id) in tags\"\n                    :label=\"tag.label\"\n                    :value=tag\n                />\n            </ElSelect>\n        </div>\n    </el-collapse-item>\n</template>","<script setup>\n    import { Delete } from '@element-plus/icons-vue';\n\n    const props = defineProps(['modelValue', 'data', 'node', 'product']);\n\n    const addFile = () => {\n        const mediaUploader = wp.media({\n            title: 'Select Product File',\n            button: {\n                text: 'Select Product File'\n            },\n            multiple: false\n        });\n\n        mediaUploader.on('select', () => {\n            const attachment = mediaUploader.state().get('selection').first().toJSON();\n            props.data.file = attachment.url;\n            props.data.name = attachment.title;\n        });\n\n        mediaUploader.open();\n    }\n\n\n</script>\n<template>\n    \n   <span class=\"fpe-download-file\">\n        <ElInput v-model=\"props.data.name\" />\n        <ElInput v-model=\"props.data.file\" />\n        <ElButton type=\"primary\" size=\"large\" @click=\"addFile\">Choose File</ElButton>\n       \n        <el-button type=\"danger\" :icon=\"Delete\" circle @click=\"$emit('ondelete', props.node.id)\" />\n    </span>\n</template>","<script setup>\n    import { ElCollapseItem, ElTree, ElButton, ElInput } from 'element-plus';\n    import { ref } from 'vue';\n    import { Delete, DCaret, Plus } from '@element-plus/icons-vue';\n    import { storeToRefs } from 'pinia';\n    import { useProductStore } from '../../stores/fpe';\n    import DownloadFile from '../utility/download-file.vue'\n    \n    const store = useProductStore();\n    const { product, data_sets, strings } = storeToRefs(store);\n\n    // check if downloadable\n    const isDownloadable = ref(false);\n\n    if(product.value.type == 'simple' && product.value.downloadable == true && fpe.editor_config.pro){\n        isDownloadable.value = true;\n    }\n\n    const deleteDownload = (id) => {\n        const index = product.value.downloads.findIndex((download) => download.$treeNodeId === id);\n        product.value.downloads.splice(index, 1);\n    }\n\n\n</script>\n\n<template>\n    <el-collapse-item v-if=\"isDownloadable\" :title=\"strings.section_title_downloads\" name=\"downloads\">\n        <div class=\"fpe-field-wrapper\">\n            <label>{{ strings.label_downloadable_files }}</label>\n            <el-tree\n                :data=\"product.downloads\"\n                node-key=\"hash\"\n                default-expand-all\n                :expand-on-click-node=\"false\"\n                draggable\n                class=\"fpe-download-files\"\n                :icon=\"DCaret\"\n                >\n                <template #default=\"{ node, data }\">\n                    <DownloadFile v-model=\"product.downloads\" :node=\"node\" :data=\"data\" :product=\"product\" @ondelete=\"deleteDownload\" />\n                </template>\n            </el-tree>\n            <ElButton class=\"fpe-add-download-row\" type=\"plain\" :icon=\"Plus\" @click=\"product.downloads.push({})\">Add File</ElButton>\n        </div>\n \n        <div class=\"fpe-field-wrapper\">\n            <label>{{ strings.label_download_limit }}</label>\n            <ElInput type=\"number\" v-model=\"product.download_limit\" />\n        </div>\n\n        <div class=\"fpe-field-wrapper\">\n            <label>{{ strings.label_download_expiry }}</label>\n            <ElInput type=\"number\" v-model=\"product.download_expiry\" />\n        </div>\n        \n\n    </el-collapse-item>    \n\n</template>","<script setup>\n\nimport { ElButton, ElSwitch  } from 'element-plus';\nimport { onMounted, ref } from 'vue';\nimport { CaretBottom, CaretTop } from '@element-plus/icons-vue';\nimport { useProductStore } from '../../stores/fpe';\nimport { storeToRefs } from 'pinia';\nimport axios from 'axios';\n\nconst props = defineProps(['attribute', 'node']);\n\nconst store = useProductStore();\n\nconst tags = ref([]);\n\nconst attribute_string = ref(props.attribute.options.join('|'));\n\nconst openPanel = ref(false);\n\nconst searchAttributes = (query) => {\n    const { ajax_url, security } = fpe;\n    const that = this;\n    axios.post(`${ajax_url}?action=fpe_search_attribute_terms&fpe_nonce=${security}`, {\n        attribute: props.attribute.name,\n        query: query\n    }).then( function (response) {\n        tags.value = response.data;\n    }).catch(function (error){\n        console.error(error);\n    })\n}\n\nconst selectAll = () => {\n    \n    const { ajax_url, security } = fpe;\n    const that = this;\n\n    axios.post(`${ajax_url}?action=fpe_get_attribute_terms&fpe_nonce=${security}`, {\n        attribute: props.attribute.name,\n    }).then( function (response) {\n        props.attribute.options = response.data;\n    }).catch(function (error){\n        console.error(error);\n    })\n}\n\n\nonMounted(() => {\n    if(props.attribute.is_taxonomy && props.attribute.options.length) {\n        const { ajax_url, security } = fpe;\n        const that = this;\n        axios.post(`${ajax_url}?action=fpe_get_attribute_terms&fpe_nonce=${security}`, {\n            attribute: props.attribute.name,\n            term_ids: props.attribute.options\n        }).then( function (response) {\n            props.attribute.options = response.data;\n        }).catch(function (error){\n            console.error(error);\n        })\n    }\n});\n\n</script>\n\n<template>\n\n    <div class=\"fpe-attribute-header\" @click=\"openPanel = !openPanel\">\n        <span class=\"fpe-attribute-name\">{{ attribute.label || attribute.name }}</span>\n        <ElIcon class=\"fpe-attribute-icon\">\n            <CaretBottom v-if=\"!openPanel\" />\n            <CaretTop v-if=\"openPanel\" />\n        </ElIcon>\n    </div>\n\n    <div class=\"fpe-attribute-form\" v-if=\"openPanel\">\n\n        <div class=\"fpe-field-wrapper fpe-field-inline\">\n            <label>Attribute Name<span v-if=\"props.attribute.is_taxonomy\">: {{ props.attribute.label }}</span></label>\n            <ElInput v-if=\"!props.attribute.is_taxonomy\" v-model=\"props.attribute.name\" />\n        </div>\n \n        <div class=\"fpe-field-wrapper fpe-field-inline\">\n            <label>Visible on Product Page</label>\n            <ElSwitch v-model=\"props.attribute.visible\" />\n        </div>\n        \n        <div class=\"fpe-field-wrapper\">\n            <label>Value(s)</label>\n            <ElInput \n                type=\"textarea\" \n                v-if=\"!props.attribute.is_taxonomy\" \n                v-model=\"attribute_string\"\n                @input=\"props.attribute.options = attribute_string.split('|');\" \n            />\n\n            <ElSelect\n                v-model=\"props.attribute.options\"\n                v-if=\"props.attribute.is_taxonomy\"\n                multiple\n                filterable\n                remote\n                reserve-keyword\n                placeholder=\"Please enter a keyword\"\n                :remote-method=\"searchAttributes\"\n            >\n                <el-option \n                    v-for=\"(tag, id) in tags\"\n                    :label=\"tag\"\n                    :value=id\n                />\n            </ElSelect>\n\n            <div v-if=\"props.attribute.is_taxonomy\" class=\"fpe-attribute-actions\">\n                <ElButton type=\"text\" @click=\"selectAll\">Select All</ElButton>\n\n                <ElButton type=\"text\" @click=\"props.attribute.options = []\">Select None</ElButton>\n            </div>\n        </div>\n        \n        <ElButton class=\"fpe-remove-attribute\" type=\"danger\" :icon=\"Delete\" @click=\"$emit('ondelete', props.attribute.name)\">Remove</ElButton>\n    </div>\n    \n\n\n</template>","<script setup>\n    import { ElButton, ElCollapse, ElCollapseItem, ElIcon, ElSelect, ElTree } from 'element-plus';\n    import { Delete } from '@element-plus/icons-vue';\n    import { storeToRefs } from 'pinia';\n    import { useProductStore } from '../../stores/fpe';\n    import ProductAttribute from '../utility/product-attribute.vue';\n    import { ref, toRaw } from 'vue';\n\n    const store = useProductStore();\n    const { strings, product, data_sets } = storeToRefs(store);\n    const activeAttribute = ref(null);\n    const new_attribute_type = ref('fpe_custom');\n\n    const add_new_attribute = () => {\n        \n        if(new_attribute_type.value === ''){\n            return;\n        }\n\n        if(new_attribute_type.value === 'fpe_custom'){\n            \n            product.value.attributes.push({\n                id: 0,\n                is_taxonomy: false,\n                label: '',\n                name: 'New Attribute',\n                value: '',\n                visible: true,\n                variation: false,\n                options: [],\n                position: 0,\n            });\n        }else{\n\n            // check if attribute already exists\n            if(product.value.attributes.find((attribute) => attribute.name === new_attribute_type.value)){\n                return;\n            }\n\n            const attribute = data_sets.value.attribute_taxonomies.find((attribute) => attribute.name_with_prefix === new_attribute_type.value);\n            product.value.attributes.push({\n                label: attribute.label,\n                name: attribute.name_with_prefix,\n                value: '',\n                visible: true,\n                variation: false,\n                options: [],\n                position: 0,\n                is_taxonomy: true,\n            });\n        }\n\n        new_attribute_type.value = 'fpe_custom';\n    }\n\n\n    const deleteAttribute = (name) => {\n        // remove attribute from product.value.attributes where attribute.name === name\n        const index = product.value.attributes.findIndex((attribute) => attribute.name === name);\n        product.value.attributes.splice(index, 1);\n    }\n\n    const allowDrop = (draggingNode, dropNode, type) => {\n        if(type === 'inner'){\n            return false;\n        }\n\n        return true;\n    }\n</script>\n\n<template>\n    <el-collapse-item :title=\"strings.section_title_attributes\" name=\"attributes\">\n       <div class=\"fpe-product-attributes\">\n            \n            <div class=\"fpe-field-wrapper fpe-field-inline fpe-add-new-attribute\"> \n                <ElSelect v-model=\"new_attribute_type\" @change=\"new_attribute_change\">\n                    <ElOption key=\"fpe_custom\" value=\"fpe_custom\" label=\"Custom Attribute\" />\n                    <ElOption\n                        v-for=\"(attribute) in data_sets.attribute_taxonomies\"\n                        :key=\"attribute.name\"\n                        :label=\"attribute.label\"\n                        :value=\"attribute.name_with_prefix\"\n                        :disabled=\"product.attributes.find((attr) => attr.name === attribute.name_with_prefix)\"\n                    />\n                </ElSelect>    \n                <ElButton class=\"fpe-add-attribute\" size=\"large\" type=\"primary\" plain @click=\"add_new_attribute\">Add Attribute</ElButton>\n            </div>\n\n            <ElTree\n                :data=\"product.attributes\" \n                node-key=\"hash\"\n                default-expand-all\n                :expand-on-click-node=\"false\"\n                draggable\n                class=\"fpe-attributes\"\n                :icon=\"DCaret\"\n                :allow-drop=\"allowDrop\"\n                >\n                \n                <template #default=\"{ node, data }\">\n                    \n                    <ProductAttribute :attribute=\"data\" :node=\"node\" @ondelete=\"deleteAttribute\" />     \n                </template>    \n            </ElTree>\n\n            <!-- <ElCollapse v-model=\"activeAttribute\" accordion draggable>\n                \n                <ElCollapseItem v-for=\"(attribute, index) in product.attributes\" :key=\"index\" :title=\"attribute.label || attribute.name\" :name=\"index\">\n                    <ProductAttribute :attribute=\"attribute\" :index=\"index\" />\n                    <ElButton class=\"fpe-remove-attribute\" type=\"danger\" :icon=\"Delete\" @click=\"deleteAttribute(index)\">Remove</ElButton>\n                </ElCollapseItem>\n            </ElCollapse> -->\n                \n       </div>   \n    </el-collapse-item>\n</template>","<script setup>\nimport { ElCollapseItem, ElIcon } from 'element-plus';\nimport { Lock } from '@element-plus/icons-vue';\n\nconst props = defineProps(['title', 'name']);\n\n</script>\n\n<template>\n    <el-collapse-item :title=\"title\" class=\"fpe-dummy-item\">\n        <template #title>\n            {{ title }} <el-icon color=\"#F56C6C\" class=\"fpe-pro-lock\"><Lock /></el-icon>\n        </template>\n\n        <div class=\"fpe-pro-cta\">\n            <h3>Upgrade now to unlock all the pro features</h3>\n            <div class=\"fpe-pro-cta-actions\">\n                <a class=\"fpe-pro-upgrade\" href=\"https://wpvibes.link/go/fpe-pricing/\" target=\"_blank\">Upgrade to Pro</a>\n            <a href=\"https://wpvibes.link/go/fpe-feature-compare/\" target=\"_blank\">View Pro Features</a>\n            </div>\n        </div>\n    </el-collapse-item>\n</template>","<script setup>\n    import { ref } from 'vue'\n    import { ElCollapse } from 'element-plus'\n    import GeneralGroup from './field-groups/general.vue'\n    import PriceGroup from './field-groups/price.vue'\n    import Inventory from './field-groups/inventory.vue'\n    import Shipping from './field-groups/shipping.vue'\n    import LinkedProducts from './field-groups/linked-products.vue'\n    import Downloadable from './field-groups/downloads.vue'\n    import Attributes from './field-groups/attributes.vue'\n    import Dummy from './field-groups/dummy.vue'\n\n    const activeTab = ref('general');\n\n    const strings = fpe.strings;\n\n    const pro = ref(fpe.editor_config.pro || false);\n\n    if(fpe.editor_config.tabs_collapsed) {\n        activeTab.value = '';\n    } else {\n        const defaultTab = fpe.editor_config.default_tab || 'general';\n        activeTab.value = defaultTab;\n    }\n    \n</script>\n\n<template>\n    <el-collapse v-model=\"activeTab\" @change=\"handleChange\" accordion> \n      <GeneralGroup  />\n      <PriceGroup />\n      <Inventory /> \n      <Shipping />\n      <LinkedProducts v-if=\"pro\" />\n      <Dummy :title=\"strings.section_title_linked_products\" v-else />\n      \n      <Downloadable v-if=\"pro\" />\n      <Dummy :title=\"strings.section_title_downloads\" v-else />\n\n      <Attributes v-if=\"pro\" />\n      <Dummy :title=\"strings.section_title_attributes\" v-else />\n    </el-collapse>\n    \n</template>","<script setup>\nimport { ref, onMounted, onUnmounted } from 'vue';\nimport VueResizable from 'vue-resizable'\n\nimport Form from '../../components/form.vue' \n\nimport { useProductStore } from '../../stores/fpe'\nimport { storeToRefs } from 'pinia'\n\n\nconst store = useProductStore();\nconst { openPanel, strings, panelWidth, product, isUpdating } = storeToRefs(store);\n\n\nconst handlers = ref([  'l']);\n\nconst hasAdminBar = document.getElementById('wpadminbar') ? true : false;\n\n// adminBarHeight ref\nconst adminBarHeight = ref(hasAdminBar ? document.getElementById('wpadminbar').offsetHeight : 0);\nconst panelHeight = ref(window.innerHeight - adminBarHeight.value);\n\n// updted panel height on window resize\nwindow.addEventListener('resize', function(){\n    adminBarHeight.value = hasAdminBar ? document.getElementById('wpadminbar').offsetHeight : 0;\n    panelHeight.value = window.innerHeight - adminBarHeight.value;\n})\n\nonMounted(() => {\n    \n    const fpe_editors = document.querySelectorAll('.fpe-editor');\n    fpe_editors.forEach(function(editor){\n        const textarea = editor.querySelector('textarea');\n        const editor_id = textarea.getAttribute('id');\n        \n        wp.editor.remove(editor_id);\n        wp.editor.initialize(editor_id, {\n            tinymce: {\n                wpautop: true, \n                plugins : 'charmap colorpicker hr lists paste tabfocus textcolor fullscreen wordpress wpautoresize wpeditimage wpemoji wpgallery wplink wptextpattern',\n                toolbar1: 'formatselect,bold,italic,bullist,numlist,blockquote,alignleft,aligncenter,alignright,link,wp_more,spellchecker,fullscreen,wp_adv,listbuttons',\n                toolbar2: 'styleselect,strikethrough,hr,forecolor,pastetext,removeformat,charmap,outdent,indent,undo,redo,wp_help',\n                textarea_rows : 20,\n                init_instance_callback: function (editor) {\n                  editor.on('Change', function (e) {\n                    \n                    if(e.target.id == 'fpe_description'){\n                        product.value.description = editor.getContent();\n                    }\n                    \n                    if(e.target.id == 'fpe_short_description'){\n                        product.value.short_description = editor.getContent();\n                    }\n                  });\n                }\n            },\n            quicktags: true,\n            mediaButtons: true\n        });\n        \n        // Trigger Add Media \n        const add_media = editor.querySelector('.insert-media');\n        add_media.addEventListener('click', function(event){\n            \n            var elem = jQuery( event.currentTarget ),\n                editor = elem.data('editor'),\n                options = {\n                  frame:    'post',\n                  state:    'insert',\n                  title:    wp.media.view.l10n.addMedia,\n                  multiple: true\n                };\n\n              if ( elem.hasClass( 'gallery' ) ) {\n                options.state = 'gallery';\n                options.title = wp.media.view.l10n.createGalleryTitle;\n              }\n\n              wp.media.editor.open( editor, options );\n        });\n\n        // Toggle editor mode (Visual/Text)\n        const editor_switchers = editor.querySelectorAll('.wp-switch-editor');\n        editor_switchers.forEach(function(switcher){\n            switcher.addEventListener('click', function(event){\n                event.preventDefault();\n                window.switchEditors.go(editor_id);\n            });\n        });\n        \n    });\n      \n\n    document.body.classList.add('fpe-panel-open');\n})\n\n</script>\n\n<template>\n    <vue-resizable \n        :active=\"handlers\" \n        class=\"fpe-panel\" \n        @resize:end=\"store.updatePanelSize\"\n        :height=\"panelHeight\" :top=\"adminBarHeight\" :width=\"panelWidth\" style=\"position: fixed;left: unset;right: 0;z-index: 2000;cursor: unset;\">\n        <div class=\"resizable-content\">\n            <header class=\"fpe-panel-header\">\n                <span class=\"header-title\">Update Product ({{ product.name }})</span>\n                <button aria-label=\"Close this dialog\" @click=\"store.togglePanel\" type=\"button\"><i class=\"el-icon el-drawer__close\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 1024 1024\"><path fill=\"currentColor\" d=\"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z\"></path></svg></i></button>\n            </header> \n            <div class=\"panel-body\">\n                <Form />\n            </div>\n            <div class=\"panel-footer\">\n                <PanelFooter />\n            </div>              \n        </div>\n    </vue-resizable>\n    <div class=\"fpe-panel-overlay\"></div>\n</template>\n\n<style>\n    .resizable-content{\n        height: 100%;\n        display: flex;\n        flex-direction: column;\n    }\n    .resizable-body{\n        overflow-y: auto;\n        flex:1;\n    }\n</style>","<script setup>\n  import { ref } from 'vue';\n  import { ElButton, ElDrawer, ElConfigProvider } from 'element-plus'\n  import Drawer from './components/utility/drawer.vue';\n  import { Edit } from '@element-plus/icons-vue'\n  import { useProductStore } from './stores/fpe'\n  import { storeToRefs } from 'pinia'\n  import { watch } from 'vue';\n\n\n  const store = useProductStore();\n  const { openPanel, strings, product } = storeToRefs(store);\n\n  const showTriggerButton = ref(true);\n\n  if(fpe.editor_config?.show_trigger_button == false){\n    showTriggerButton.value = false;\n  }\n\n  // watch openPanel and trigger openDrawer function\n  watch(openPanel, (val) => {\n    if(val){\n      openDrawer();\n    }else{\n      document.body.classList.remove('fpe-panel-open');\n    }\n  })\n\n  const openDrawer = () => {\n\n    \n  }\n\n</script>\n\n<template>\n\n  <ElConfigProvider namespace=\"el\">\n    <el-button v-show=\"showTriggerButton\" type=\"primary\" class=\"fpe-panel-trigger\" :icon=\"Edit\" style=\"margin-left: 16px\" @click=\"store.togglePanel\" />\n    <Drawer v-if=\"openPanel\"  />\n    <!-- <el-drawer \n      class=\"fpe-panel\"\n      append-to-body=\"true\"\n      modal-class=\"fpe-panel-wrapper\" \n      v-model=\"openPanel\" \n      :title=\"strings.update_product\" \n      :with-header=\"true\"\n      @open=\"openDrawer\"\n      @closed=\"closeDrawer\"\n      z-index=\"9999\"\n      >\n      <template #footer>\n          <PanelFooter />\n      </template>\n      <Form />\n    </el-drawer>  -->\n  </ElConfigProvider>  \n</template>\n\n<style scoped>\n\n</style>\n","import { createApp } from \"vue\";\nimport { createPinia } from \"pinia\";\nimport App from \"./App.vue\";\n\nimport \"./assets/main.scss\";\nimport \"./assets/base.scss\";\n\n\nconst app = createApp(App);\n\n\napp.use(createPinia());\napp.mount(\"#fpe-root\");\n"],"names":["compile","identity","value","apply","func","thisArg","args","HOT_COUNT","HOT_SPAN","nativeNow","shortOut","count","lastCalled","stamp","remaining","constant","baseSetToString","defineProperty","string","baseSetToString$1","setToString","setToString$1","nativeMax","overRest","start","transform","index","length","array","otherArgs","spreadableSymbol","Symbol","isFlattenable","isArray","isArguments","baseFlatten","depth","predicate","isStrict","result","arrayPush","flatten","flatRest","baseHasIn","object","key","hasPath","path","hasFunc","castPath","toKey","isLength","isIndex","hasIn","basePickBy","paths","baseGet","baseSet","basePick","pick","pick$1","datePickTypes","castArray","arr","generateId","configProviderProps","buildProps","definePropType","useSizeProp","messageConfig","ConfigProvider","defineComponent","props","slots","watch","val","config","provideGlobalConfig","renderSlot","ElConfigProvider","withInstall","t","e","module","this","n","r","i","s","u","a","o","f","h","c","d","l","$","y","M","m","v","g","D","p","_","S","w","O","T","Y","timeUnits","DEFAULT_FORMATS_TIME","DEFAULT_FORMATS_DATE","DEFAULT_FORMATS_DATEPICKER","buildTimeList","bound","rangeArr","extractDateFormat","format","extractTimeFormat","dateEquals","b","aIsDate","isDate","bIsDate","valueEquals","aIsArray","bIsArray","item","parseDate","date","lang","day","isEmpty","dayjs","formatter","makeList","total","method","_a","disabledArr","disabledTimeListsProps","timePanelSharedProps","timePickerDefaultProps","CircleClose","_hoisted_1","_hoisted_2","__default__","_sfc_main","__props","expose","emit","useLocale","nsDate","useNamespace","nsInput","nsRange","form","formItem","useFormItem","elPopperOptions","inject","refPopper","ref","inputRef","pickerVisible","pickerActualVisible","valueOnOpen","hasJustTabExitedInput","ignoreFocusEvent","nextTick","userInput","emitChange","isClear","err","debugWarn","emitInput","input","formatted","emitKeydown","refInput","computed","_r","isRangeInput","setSelectionRange","end","pos","_inputs","focusOnInputBox","focus","onPick","visible","onBeforeShow","onShow","onKeydownPopperContent","event","EVENT_CODE","onHide","handleOpen","handleClose","focusStartInput","isIgnoreFocusEvent","leftInput","rightInput","unref","handleFocusInput","pickerDisabled","currentHandleBlurDeferCallback","handleBlurInput","handleBlurDefer","handleChange","parsedValue","dayOrDays","valueIsEmpty","pickerOptions","availableResult","isEqual","displayValue","formattedValue","formatDayjsToString","isTimePicker","isDatesPicker","isTimeLikePicker","triggerIcon","Clock","Calendar","showClose","onClearIconClick","modelValue","onMouseDownInput","onMouseEnter","onMouseLeave","onTouchStartInput","pickerSize","useFormSize","popperEl","_b","actualInputRef","onClickOutside","unrefedPopperEl","inputEl","parseUserInputToDayjs","isValidValue","handleKeydownInput","code","onUserInput","handleStartInput","target","handleEndInput","handleStartChange","values","parsedVal","newValue","handleEndChange","onSetPickerOption","onCalendarChange","onPanelChange","mode","view","provide","_ctx","_cache","openBlock","createBlock","ElTooltip","mergeProps","withCtx","createElementBlock","normalizeClass","normalizeStyle","ElIcon","withModifiers","resolveDynamicComponent","createCommentVNode","createElementVNode","toDisplayString","ElInput","CommonPicker","_export_sfc","panelTimePickerProps","useTimePanel","getAvailableHours","getAvailableMinutes","getAvailableSeconds","getAvailableTime","role","first","compareDate","availableTimeGetters","type","availableTimeSlots","timePickerOptions","makeAvailableArr","disabledList","trueOrNumber","isDisabled","getNumber","getTimeLists","disabledHours","disabledMinutes","disabledSeconds","compare","hour","minute","buildAvailableTimeSlotGetter","getHoursList","getMinutesList","getSecondsList","useOldValue","oldValue","REPEAT_INTERVAL","REPEAT_DELAY","vRepeatClick","el","binding","interval","delay","isFunction","intervalId","delayId","handler","clear","evt","basicTimeSpinnerProps","ns","isScrolling","currentScrollbar","listHoursRef","listMinutesRef","listSecondsRef","listRefsMap","spinnerItems","timePartials","spinnerDate","hours","minutes","seconds","timeList","arrowControlTimeList","debouncedResetScroll","debounce","adjustCurrentSpinner","getAmPmFlag","isCapital","content","emitSelectRange","range","left","right","adjustSpinner","adjustSpinners","getScrollbarElement","scrollbar","typeItemHeight","onIncrement","scrollDown","onDecrement","step","label","now","next","findNextUnDisabled","modifyDateField","list","changeTo","handleClick","disabled","handleScroll","scrollBarHeight","bindScrollEvent","bindFunction","onMounted","setRef","Fragment","renderList","ElScrollbar","$event","createTextVNode","withDirectives","createVNode","ArrowUp","ArrowDown","time","TimeSpinner","pickerBase","arrowControl","defaultValue","selectionRange","transitionName","isUndefined","showSeconds","amPmMode","_date","parsedDate","getRangeAvailableTime","handleCancel","handleConfirm","changeSelectionRange","mapping","handleKeydown","up","down","onSetOption","parseUserInput","formatToString","getDefaultValue","Transition","TimePickPanel","checkboxProps","checkboxEmits","UPDATE_MODEL_EVENT","isString","isNumber","isBoolean","checkboxGroupContextKey","useCheckboxDisabled","model","isChecked","checkboxGroup","isLimitDisabled","max","min","useFormDisabled","useCheckboxEvent","isLimitExceeded","hasOwnLabel","isLabeledByFormItem","getCurrentInstance","getLabeledValue","emitChangeEvent","checked","onClickRoot","validateEvent","useCheckboxModel","selfModel","isGroup","useCheckboxStatus","isFocused","isObject","toRaw","checkboxButtonSize","checkboxSize","setStoreValue","addToStore","useCheckbox","elFormItem","inputId","useFormItemInputId","_hoisted_3","useSlots","compKls","spanKls","isRef","vModelCheckbox","Checkbox","activeStyle","_c","_d","fillValue","labelKls","CheckboxButton","checkboxGroupProps","checkboxGroupEmits","groupId","changeEvent","toRefs","CheckboxGroup","ElCheckbox","withNoopInstall","emitChangeFn","collapseProps","mutable","collapseEmits","CHANGE_EVENT","collapseContextKey","useCollapse","activeNames","setActiveNames","_activeNames","handleItemClick","name","useCollapseDOM","rootKls","Collapse","on","toHandlers","CollapseTransition","app","_CollapseTransition","collapseItemProps","useCollapseItem","collapse","focusing","isClick","id","isActive","useCollapseItemDOM","headKls","arrowKls","itemWrapperKls","itemContentKls","scopedContentId","scopedHeadId","handleFocus","handleHeaderClick","handleEnterClick","withKeys","ArrowRight","vShow","CollapseItem","ElCollapse","ElCollapseItem","ROOT_PICKER_INJECTION_KEY","datePickerProps","selectionModes","datePickerSharedProps","panelSharedProps","panelRangeSharedProps","selectionModeWithDefault","panelDatePickProps","basicDateTableProps","isValidRange","unit","unlinkPanels","buildPickerTable","dimension","rows","columnIndexOffset","startDate","nextEndDate","relativeDateGetter","setCellMetadata","setRowMetadata","rowIndex","row","columnIndex","cell","nextStartDate","basicCellProps","ElDatePickerCell","_hoisted_4","tbodyRef","currentCellRef","lastRow","lastColumn","tableRows","focusWithClick","firstDayOfWeek","WEEKS_CONSTANT","offsetDay","startDayOfMonth","WEEKS","hasCurrent","days","startOfMonth","startOfMonthDay","dateCountOfMonth","dateCountOfLastMonth","selectedDate","setDateText","offset","numberOfDaysFromPreviousMonth","disabledDate","cellClassName","_selectedDate","shouldIncrement","cellDate","isCurrent","isWeekActive","minDate","maxDate","rangeState","showWeekNumber","rows_","dateUnit","idx","isNormalDay","cellMatchesDate","getCellClasses","classes","getDateOfCell","column","offsetFromStart","handleMouseMove","isSelectedCell","handlePickDate","handleMouseDown","handleMouseUp","isKeyboardMovement","newDate","weekNumber","dayOffset","week","rowKey","columnKey","DateTable","basicMonthTableProps","datesInMonth","year","month","lang2","firstDay","numOfDays","months","rows2","j","calTime","calEndDate","getCellStyle","style","today","handleMonthTableClick","hasClass","key_","MonthTable","basicYearTableProps","datesInYear","startYear","getCellKls","kls","handleYearTableClick","__","YearTable","_hoisted_5","contextEmit","timeWithinRange","___","ppNs","dpNs","attrs","useAttrs","popper","TOOLTIP_INJECTION_KEY","shortcuts","defaultTime","toRef","currentViewRef","innerDate","isChangeToNow","defaultTimeD","selectableRange","userInputDate","userInputTime","checkDateWithinRange","formatEmit","emitDayjs","visibleTime","showTime","dates","handleDatePick","keepOpen","selectionMode","moveByMonth","forward","action","handlePanelChange","moveByYear","currentDate","currentView","yearLabel","yearTranslation","handleShortcutClick","shortcut","shortcutValue","keyboardMode","hasShortcuts","handleMonthPick","month2","handleFocusPicker","handleYearPick","year2","showPicker","footerVisible","onConfirm","defaultTimeD2","defaultValueD","changeToNow","nowDate","timeFormat","dateFormat","visibleDate","timePickerVisible","onTimePickerInputFocus","handleTimePickClose","getUnits","handleTimePick","second","handleVisibleTimeChange","handleVisibleDateChange","defaultTimeDValue","handleKeyControl","handleKeydownTable","home","pageUp","pageDown","map","ClickOutside","DArrowLeft","ArrowLeft","DArrowRight","ElButton","DatePickPanel","panelDateRangeProps","useShortcut","shortcutValues","useRangePicker","leftDate","rightDate","onParsedValueChanged","pickerNs","drpNs","handleChangeRange","handleRangeConfirm","_minDate","_maxDate","onSelect","selecting","restoreDefault","clearable","dateUserInput","timeUserInput","leftLabel","rightLabel","leftYear","leftMonth","rightYear","rightMonth","minVisibleDate","maxVisibleDate","minVisibleTime","maxVisibleTime","leftPrevYear","leftPrevMonth","rightNextYear","rightNextMonth","leftNextYear","leftNextMonth","rightPrevYear","rightPrevMonth","enableMonthArrow","nextMonth","yearOffset","enableYearArrow","btnDisabled","handleRangePick","close","min_","max_","minDate_","maxDate_","minTimePickerVisible","maxTimePickerVisible","handleMinTimeClose","handleMaxTimeClose","handleDateInput","parsedValueD","handleDateChange","handleTimeInput","handleTimeChange","handleMinTimePick","handleMaxTimePick","handleClear","minDate2","maxDate2","minDateYear","minDateMonth","maxDateYear","maxDateMonth","DateRangePickPanel","panelMonthRangeProps","panelMonthRangeEmits","useMonthRangeHeader","MonthRangePickPanel","getPanel","localeData","advancedFormat","customParseFormat","weekOfYear","weekYear","dayOfYear","isSameOrAfter","isSameOrBefore","DatePicker","reactive","commonPicker","onModelValueUpdated","Component","scopedProps","_DatePicker","ElDatePicker","inputNumberProps","inputNumberEmits","cur","prev","INPUT_EVENT","isNil","data","minDisabled","maxDisabled","numPrecision","stepPrecision","getPrecision","controlsAtRight","inputNumberSize","inputNumberDisabled","currentValue","toPrecision","num","pre","snum","pointPos","valueString","dotPosition","precision","ensurePrecision","coefficient","increase","newVal","setCurrentValue","decrease","verifyValue","update","stepStrictly","valueOnClear","oldVal","handleInput","handleInputChange","blur","handleBlur","innerInput","onUpdated","Minus","Plus","InputNumber","ElInputNumber","NODE_KEY","markNodeData","node","getNodeKey","handleCurrentChange","store","setCurrent","preCurrentNode","currentNode","getChildState","all","none","allWithoutDisable","reInitChecked","half","parent","getPropertyFromData","prop","dataProp","nodeIdSeed","Node","options","hasOwn","isLeaf","defaultExpandedKeys","children","nodeKey","deep","child","batch","dataIndex","targetNode","callback","expandParent","done","defaultProps","childNodes","recursion","passValue","handleDescendants","isCheck","all2","forceInit","newData","oldData","newDataMap","newNodes","resolve","TreeStore","option","loadFn","filterNodeMethod","lazy","traverse","allHidden","refData","refNode","parentData","parentNode","defaultCheckedKeys","nodesMap","checkedKey","leafOnly","includeHalfChecked","checkedNodes","nodes","allNodes","checkedKeys","cache","keys","node2","key2","prevCurrentNode","shouldAutoExpandParent","currNode","nodeInstance","tree","NodeContent","useNodeExpandEventBroadcast","parentNodeMap","currentNodeMap","childNode","dragEventsKey","useDragNodeHandler","ctx","el$","dropIndicator$","dragState","treeNode","dropNode","oldDropNode","removeClass","draggingNode","dropPrev","dropInner","dropNext","userAllowDropInner","targetPosition","treePosition","dropType","prevPercent","nextPercent","indicatorTop","distance","iconPosition","dropIndicator","addClass","draggingNodeCopy","Loading","broadcastExpanded","expanded","childNodeRendered","oldChecked","oldIndeterminate","node$","dragEvents","instance","childrenKey","handleSelectChange","getNodeKey$1","getNodeClass","nodeClassFunc","className","indeterminate","handleExpandIconClick","handleCheckChange","handleContextMenu","ev","nodeData","instance2","CaretRight","_sfc_render","$props","$setup","$data","$options","_component_el_icon","resolveComponent","_component_el_checkbox","_component_loading","_component_node_content","_component_el_tree_node","_component_el_collapse_transition","ElTreeNode","useKeydown","treeItems","shallowRef","checkboxItems","initTabIndex","checkbox","useEventListener","currentItem","currentIndex","nextIndex","startIndex","hasInput","checkedItem","iconPropType","root","filter","getNodePath","getCheckedNodes","getCheckedKeys","getCurrentNode","currentNode2","getCurrentKey","setCheckedNodes","setCheckedKeys","setChecked","getHalfCheckedNodes","getHalfCheckedKeys","setCurrentNode","setCurrentKey","getNode","remove","append","insertBefore","insertAfter","handleNodeExpand","updateKeyChildren","formItemContextKey","Tree","_Tree","ElTree","useProductStore","defineStore","ajax_url","security","product_id","edit_mode","that","axios","response","error","queryString","ids","attribute","isUpdating","strings","storeToRefs","require$$0","z","onInput","undefined","VERSION","LARGE_ARRAY_SIZE","CORE_ERROR_TEXT","FUNC_ERROR_TEXT","INVALID_TEMPL_VAR_ERROR_TEXT","HASH_UNDEFINED","MAX_MEMOIZE_SIZE","PLACEHOLDER","CLONE_DEEP_FLAG","CLONE_FLAT_FLAG","CLONE_SYMBOLS_FLAG","COMPARE_PARTIAL_FLAG","COMPARE_UNORDERED_FLAG","WRAP_BIND_FLAG","WRAP_BIND_KEY_FLAG","WRAP_CURRY_BOUND_FLAG","WRAP_CURRY_FLAG","WRAP_CURRY_RIGHT_FLAG","WRAP_PARTIAL_FLAG","WRAP_PARTIAL_RIGHT_FLAG","WRAP_ARY_FLAG","WRAP_REARG_FLAG","WRAP_FLIP_FLAG","DEFAULT_TRUNC_LENGTH","DEFAULT_TRUNC_OMISSION","LAZY_FILTER_FLAG","LAZY_MAP_FLAG","LAZY_WHILE_FLAG","INFINITY","MAX_SAFE_INTEGER","MAX_INTEGER","NAN","MAX_ARRAY_LENGTH","MAX_ARRAY_INDEX","HALF_MAX_ARRAY_LENGTH","wrapFlags","argsTag","arrayTag","asyncTag","boolTag","dateTag","domExcTag","errorTag","funcTag","genTag","mapTag","numberTag","nullTag","objectTag","promiseTag","proxyTag","regexpTag","setTag","stringTag","symbolTag","undefinedTag","weakMapTag","weakSetTag","arrayBufferTag","dataViewTag","float32Tag","float64Tag","int8Tag","int16Tag","int32Tag","uint8Tag","uint8ClampedTag","uint16Tag","uint32Tag","reEmptyStringLeading","reEmptyStringMiddle","reEmptyStringTrailing","reEscapedHtml","reUnescapedHtml","reHasEscapedHtml","reHasUnescapedHtml","reEscape","reEvaluate","reInterpolate","reIsDeepProp","reIsPlainProp","rePropName","reRegExpChar","reHasRegExpChar","reTrimStart","reWhitespace","reWrapComment","reWrapDetails","reSplitDetails","reAsciiWord","reForbiddenIdentifierChars","reEscapeChar","reEsTemplate","reFlags","reIsBadHex","reIsBinary","reIsHostCtor","reIsOctal","reIsUint","reLatin","reNoMatch","reUnescapedString","rsAstralRange","rsComboMarksRange","reComboHalfMarksRange","rsComboSymbolsRange","rsComboRange","rsDingbatRange","rsLowerRange","rsMathOpRange","rsNonCharRange","rsPunctuationRange","rsSpaceRange","rsUpperRange","rsVarRange","rsBreakRange","rsApos","rsAstral","rsBreak","rsCombo","rsDigits","rsDingbat","rsLower","rsMisc","rsFitz","rsModifier","rsNonAstral","rsRegional","rsSurrPair","rsUpper","rsZWJ","rsMiscLower","rsMiscUpper","rsOptContrLower","rsOptContrUpper","reOptMod","rsOptVar","rsOptJoin","rsOrdLower","rsOrdUpper","rsSeq","rsEmoji","rsSymbol","reApos","reComboMark","reUnicode","reUnicodeWord","reHasUnicode","reHasUnicodeWord","contextProps","templateCounter","typedArrayTags","cloneableTags","deburredLetters","htmlEscapes","htmlUnescapes","stringEscapes","freeParseFloat","freeParseInt","freeGlobal","global","freeSelf","freeExports","exports","freeModule","moduleExports","freeProcess","nodeUtil","types","nodeIsArrayBuffer","nodeIsDate","nodeIsMap","nodeIsRegExp","nodeIsSet","nodeIsTypedArray","arrayAggregator","setter","iteratee","accumulator","arrayEach","arrayEachRight","arrayEvery","arrayFilter","resIndex","arrayIncludes","baseIndexOf","arrayIncludesWith","comparator","arrayMap","arrayReduce","initAccum","arrayReduceRight","arraySome","asciiSize","baseProperty","asciiToArray","asciiWords","baseFindKey","collection","eachFunc","baseFindIndex","fromIndex","fromRight","strictIndexOf","baseIsNaN","baseIndexOfWith","baseMean","baseSum","basePropertyOf","baseReduce","baseSortBy","comparer","current","baseTimes","baseToPairs","baseTrim","trimmedEndIndex","baseUnary","baseValues","cacheHas","charsStartIndex","strSymbols","chrSymbols","charsEndIndex","countHolders","placeholder","deburrLetter","escapeHtmlChar","escapeStringChar","chr","getValue","hasUnicode","hasUnicodeWord","iteratorToArray","iterator","mapToArray","overArg","arg","replaceHolders","setToArray","set","setToPairs","strictLastIndexOf","stringSize","unicodeSize","stringToArray","unicodeToArray","unescapeHtmlChar","unicodeWords","runInContext","context","Array","Date","Error","Function","Math","Object","RegExp","String","TypeError","arrayProto","funcProto","objectProto","coreJsData","funcToString","hasOwnProperty","idCounter","maskSrcKey","uid","nativeObjectToString","objectCtorString","oldDash","reIsNative","Buffer","Uint8Array","allocUnsafe","getPrototype","objectCreate","propertyIsEnumerable","splice","symIterator","symToStringTag","getNative","ctxClearTimeout","ctxNow","ctxSetTimeout","nativeCeil","nativeFloor","nativeGetSymbols","nativeIsBuffer","nativeIsFinite","nativeJoin","nativeKeys","nativeMin","nativeParseInt","nativeRandom","nativeReverse","DataView","Map","Promise","Set","WeakMap","nativeCreate","metaMap","realNames","dataViewCtorString","toSource","mapCtorString","promiseCtorString","setCtorString","weakMapCtorString","symbolProto","symbolValueOf","symbolToString","lodash","isObjectLike","LazyWrapper","LodashWrapper","wrapperClone","baseCreate","proto","baseLodash","chainAll","lazyClone","copyArray","lazyReverse","lazyValue","dir","isArr","isRight","arrLength","getView","iteratees","iterLength","takeCount","baseWrapperValue","outer","iterIndex","Hash","entries","entry","hashClear","hashDelete","hashGet","hashHas","hashSet","ListCache","listCacheClear","listCacheDelete","assocIndexOf","lastIndex","listCacheGet","listCacheHas","listCacheSet","MapCache","mapCacheClear","mapCacheDelete","getMapData","mapCacheGet","mapCacheHas","mapCacheSet","size","SetCache","setCacheAdd","setCacheHas","Stack","stackClear","stackDelete","stackGet","stackHas","stackSet","pairs","arrayLikeKeys","inherited","isArg","isBuff","isBuffer","isType","isTypedArray","skipIndexes","arraySample","baseRandom","arraySampleSize","shuffleSelf","baseClamp","arrayShuffle","assignMergeValue","eq","baseAssignValue","assignValue","objValue","baseAggregator","baseEach","baseAssign","source","copyObject","baseAssignIn","keysIn","baseAt","skip","get","number","lower","upper","baseClone","bitmask","customizer","stack","isDeep","isFlat","isFull","initCloneArray","tag","getTag","isFunc","cloneBuffer","initCloneObject","copySymbolsIn","copySymbols","initCloneByTag","stacked","isSet","subValue","isMap","keysFunc","getAllKeysIn","getAllKeys","baseConforms","baseConformsTo","baseDelay","wait","setTimeout","baseDifference","includes","isCommon","valuesLength","valuesIndex","createBaseEach","baseForOwn","baseEachRight","baseForOwnRight","baseEvery","baseExtremum","isSymbol","baseFill","toInteger","toLength","baseFilter","baseFor","createBaseFor","baseForRight","baseFunctions","baseGetAllKeys","symbolsFunc","baseGetTag","getRawTag","objectToString","baseGt","other","baseHas","baseInRange","baseIntersection","arrays","othLength","othIndex","caches","maxLength","seen","baseInverter","baseInvoke","last","baseIsArguments","baseIsArrayBuffer","baseIsDate","baseIsEqual","baseIsEqualDeep","equalFunc","objIsArr","othIsArr","objTag","othTag","objIsObj","othIsObj","isSameTag","equalArrays","equalByTag","objIsWrapped","othIsWrapped","objUnwrapped","othUnwrapped","equalObjects","baseIsMap","baseIsMatch","matchData","noCustomizer","srcValue","baseIsNative","isMasked","pattern","baseIsRegExp","baseIsSet","baseIsTypedArray","baseIteratee","baseMatchesProperty","baseMatches","property","baseKeys","isPrototype","baseKeysIn","nativeKeysIn","isProto","baseLt","baseMap","isArrayLike","getMatchData","matchesStrictComparable","isKey","isStrictComparable","baseMerge","srcIndex","baseMergeDeep","safeGet","mergeFunc","isTyped","isArrayLikeObject","cloneTypedArray","isPlainObject","toPlainObject","baseNth","baseOrderBy","orders","getIteratee","criteria","compareMultiple","basePropertyDeep","basePullAll","indexOf","basePullAt","indexes","previous","baseUnset","baseRange","baseRepeat","baseRest","baseSample","baseSampleSize","nested","baseSetData","baseShuffle","baseSlice","baseSome","baseSortedIndex","retHighest","low","high","mid","baseSortedIndexBy","valIsNaN","valIsNull","valIsSymbol","valIsUndefined","othIsDefined","othIsNull","othIsReflexive","othIsSymbol","setLow","baseSortedUniq","baseToNumber","baseToString","baseUniq","createSet","seenIndex","baseUpdate","updater","baseWhile","isDrop","actions","baseXor","baseZipObject","assignFunc","valsLength","castArrayLikeObject","castFunction","stringToPath","toString","castRest","castSlice","clearTimeout","buffer","cloneArrayBuffer","arrayBuffer","cloneDataView","dataView","cloneRegExp","regexp","cloneSymbol","symbol","typedArray","compareAscending","valIsDefined","valIsReflexive","objCriteria","othCriteria","ordersLength","order","composeArgs","partials","holders","isCurried","argsIndex","argsLength","holdersLength","leftIndex","leftLength","rangeLength","isUncurried","composeArgsRight","holdersIndex","rightIndex","rightLength","isNew","getSymbols","getSymbolsIn","createAggregator","initializer","createAssigner","assigner","sources","guard","isIterateeCall","iterable","createBind","isBind","Ctor","createCtor","wrapper","fn","createCaseFirst","methodName","trailing","createCompounder","words","deburr","thisBinding","createCurry","arity","getHolder","createRecurry","createHybrid","createFind","findIndexFunc","createFlow","funcs","prereq","getFuncName","funcName","getData","isLaziable","partialsRight","holdersRight","argPos","ary","isAry","isBindKey","isFlip","holdersCount","newHolders","reorder","createInverter","toIteratee","createMathOperation","operator","createOver","arrayFunc","createPadding","chars","charsLength","createPartial","createRange","toFinite","createRelationalOperation","toNumber","wrapFunc","isCurry","newHoldersRight","newPartials","newPartialsRight","setData","setWrapToString","createRound","pair","noop","createToPairs","createWrap","mergeData","customDefaultsAssignIn","customDefaultsMerge","customOmitClone","isPartial","arrStacked","othStacked","arrValue","othValue","compared","convert","objProps","objLength","othProps","objStacked","skipCtor","objCtor","othCtor","otherFunc","isKeyable","isOwn","unmasked","stubArray","ctorString","transforms","getWrapDetails","match","insertWrapDetails","details","isMaskable","stubFalse","memoizeCapped","memoize","srcBitmask","newBitmask","isCombo","oldArray","reference","updateWrapDetails","rand","quote","subString","chunk","compact","concat","difference","differenceBy","differenceWith","drop","dropRight","dropRightWhile","dropWhile","fill","findIndex","findLastIndex","flattenDeep","flattenDepth","fromPairs","head","initial","intersection","mapped","intersectionBy","intersectionWith","join","separator","lastIndexOf","nth","pull","pullAll","pullAllBy","pullAllWith","pullAt","reverse","slice","sortedIndex","sortedIndexBy","sortedIndexOf","sortedLastIndex","sortedLastIndexBy","sortedLastIndexOf","sortedUniq","sortedUniqBy","tail","take","takeRight","takeRightWhile","takeWhile","union","unionBy","unionWith","uniq","uniqBy","uniqWith","unzip","group","unzipWith","without","xor","xorBy","xorWith","zip","zipObject","zipObjectDeep","zipWith","chain","tap","interceptor","thru","wrapperAt","wrapperChain","wrapperCommit","wrapperNext","toArray","wrapperToIterator","wrapperPlant","clone","wrapperReverse","wrapped","wrapperValue","countBy","every","find","findLast","flatMap","flatMapDeep","flatMapDepth","forEach","forEachRight","groupBy","invokeMap","keyBy","orderBy","partition","reduce","reduceRight","reject","negate","sample","sampleSize","shuffle","some","sortBy","after","before","bind","bindKey","curry","curryRight","lastArgs","lastThis","maxWait","timerId","lastCallTime","lastInvokeTime","leading","maxing","invokeFunc","leadingEdge","timerExpired","remainingWait","timeSinceLastCall","timeSinceLastInvoke","timeWaiting","shouldInvoke","trailingEdge","cancel","flush","debounced","isInvoking","defer","flip","resolver","memoized","once","overArgs","funcsLength","partial","partialRight","rearg","rest","spread","throttle","unary","wrap","cloneWith","cloneDeep","cloneDeepWith","conformsTo","gt","gte","isArrayBuffer","isElement","isEqualWith","isError","isFinite","isInteger","isMatch","isMatchWith","isNaN","isNative","isNull","isRegExp","isSafeInteger","isWeakMap","isWeakSet","lt","lte","sign","remainder","isBinary","toSafeInteger","assign","assignIn","assignInWith","assignWith","at","create","prototype","properties","defaults","propsIndex","propsLength","defaultsDeep","mergeWith","findKey","findLastKey","forIn","forInRight","forOwn","forOwnRight","functions","functionsIn","has","invert","invertBy","invoke","mapKeys","mapValues","merge","omit","omitBy","pickBy","setWith","toPairs","toPairsIn","isArrLike","unset","updateWith","valuesIn","clamp","inRange","random","floating","temp","camelCase","word","capitalize","upperFirst","endsWith","position","escape","escapeRegExp","kebabCase","lowerCase","lowerFirst","pad","strLength","padEnd","padStart","parseInt","radix","repeat","replace","snakeCase","split","limit","startCase","startsWith","template","settings","imports","importsKeys","importsValues","isEscaping","isEvaluating","interpolate","reDelimiters","sourceURL","escapeValue","interpolateValue","esTemplateValue","evaluateValue","variable","attempt","toLower","toUpper","trim","trimEnd","trimStart","truncate","omission","substring","newEnd","unescape","upperCase","bindAll","methodNames","cond","conforms","defaultTo","flow","flowRight","matches","matchesProperty","methodOf","mixin","noConflict","nthArg","over","overEvery","overSome","propertyOf","rangeRight","stubObject","stubString","stubTrue","times","toPath","uniqueId","prefix","add","augend","addend","ceil","divide","dividend","divisor","floor","maxBy","mean","meanBy","minBy","multiply","multiplier","multiplicand","round","subtract","minuend","subtrahend","sum","sumBy","isFilter","takeName","dropName","checkIteratee","isTaker","lodashFunc","retUnwrapped","isLazy","useLazy","isHybrid","isUnwrapped","onlyLazy","chainName","preview_images","loading_preview","image_ids","images","image","openMediaUploader","mediaUploader","attachments","attachment","removeMedia","remaining_images","product","data_sets","tags","pro","tax_enabled","schedule","price_error","sale_price_error","sale_price_error_text","disabledToDate","current_date","sale_from_date","validate_price","validate_sale_price","toggleSchedule","isShippingApplicable","no_data_text","searchProducts","query","addFile","isDownloadable","deleteDownload","attribute_string","openPanel","searchAttributes","selectAll","new_attribute_type","add_new_attribute","deleteAttribute","activeTab","defaultTab","panelWidth","handlers","hasAdminBar","adminBarHeight","panelHeight","editor","editor_id","elem","switcher","showTriggerButton","createApp","App","createPinia"],"mappings":"2gEAaA,MAAMA,GAAU,IAAM,CAMtB,43ECHA,SAASC,GAASC,EAAO,CACvB,OAAOA,CACT,CCRA,SAASC,GAAMC,EAAMC,EAASC,EAAM,CAClC,OAAQA,EAAK,OAAM,CACjB,IAAK,GAAG,OAAOF,EAAK,KAAKC,CAAO,EAChC,IAAK,GAAG,OAAOD,EAAK,KAAKC,EAASC,EAAK,CAAC,CAAC,EACzC,IAAK,GAAG,OAAOF,EAAK,KAAKC,EAASC,EAAK,CAAC,EAAGA,EAAK,CAAC,CAAC,EAClD,IAAK,GAAG,OAA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A,CAEA,MAAAmrB,EAAAmL,KACA,CAAA,UAAAylC,EAAA,QAAA3kC,EAAA,QAAAojC,CAAA,EAAAnjC,GAAAlM,CAAA,EAEA6xC,EAAAl8D,GAAA,EAAA,EAEA,OAAA,IAAA,eAAA,qBAAA,KACAk8D,EAAA,MAAA,IAIA5hE,GAAA2gE,EAAA1gE,GAAA,CACAA,GAGA,SAAA,KAAA,UAAA,OAAA,gBAAA,CAEA,CAAA,0QCtBA,MAAM6Z,GAAM+nD,GAAUC,EAAG,EAGzBhoD,GAAI,IAAIioD,GAAW,CAAE,EACrBjoD,GAAI,MAAM,WAAW","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,106,108]}
     1{"version":3,"file":"front.js","sources":["../../node_modules/vue/dist/vue.runtime.esm-bundler.js","../../node_modules/lodash-es/identity.js","../../node_modules/lodash-es/_apply.js","../../node_modules/lodash-es/_shortOut.js","../../node_modules/lodash-es/constant.js","../../node_modules/lodash-es/_baseSetToString.js","../../node_modules/lodash-es/_setToString.js","../../node_modules/lodash-es/_overRest.js","../../node_modules/lodash-es/_isFlattenable.js","../../node_modules/lodash-es/_baseFlatten.js","../../node_modules/lodash-es/flatten.js","../../node_modules/lodash-es/_flatRest.js","../../node_modules/lodash-es/_baseHasIn.js","../../node_modules/lodash-es/_hasPath.js","../../node_modules/lodash-es/hasIn.js","../../node_modules/lodash-es/_basePickBy.js","../../node_modules/lodash-es/_basePick.js","../../node_modules/lodash-es/pick.js","../../node_modules/element-plus/es/constants/date.mjs","../../node_modules/element-plus/es/utils/arrays.mjs","../../node_modules/element-plus/es/utils/rand.mjs","../../node_modules/element-plus/es/components/config-provider/src/config-provider-props.mjs","../../node_modules/element-plus/es/components/config-provider/src/config-provider.mjs","../../node_modules/element-plus/es/components/config-provider/index.mjs","../../node_modules/dayjs/dayjs.min.js","../../node_modules/dayjs/plugin/customParseFormat.js","../../node_modules/element-plus/es/components/time-picker/src/constants.mjs","../../node_modules/element-plus/es/components/time-picker/src/utils.mjs","../../node_modules/element-plus/es/components/time-picker/src/props/shared.mjs","../../node_modules/element-plus/es/components/time-picker/src/common/props.mjs","../../node_modules/element-plus/es/components/time-picker/src/common/picker.mjs","../../node_modules/element-plus/es/components/time-picker/src/props/panel-time-picker.mjs","../../node_modules/element-plus/es/components/time-picker/src/composables/use-time-panel.mjs","../../node_modules/element-plus/es/components/time-picker/src/composables/use-time-picker.mjs","../../node_modules/element-plus/es/directives/repeat-click/index.mjs","../../node_modules/element-plus/es/components/time-picker/src/props/basic-time-spinner.mjs","../../node_modules/element-plus/es/components/time-picker/src/time-picker-com/basic-time-spinner.mjs","../../node_modules/element-plus/es/components/time-picker/src/time-picker-com/panel-time-pick.mjs","../../node_modules/dayjs/plugin/localeData.js","../../node_modules/element-plus/es/components/checkbox/src/checkbox.mjs","../../node_modules/element-plus/es/components/checkbox/src/constants.mjs","../../node_modules/element-plus/es/components/checkbox/src/composables/use-checkbox-disabled.mjs","../../node_modules/element-plus/es/components/checkbox/src/composables/use-checkbox-event.mjs","../../node_modules/element-plus/es/components/checkbox/src/composables/use-checkbox-model.mjs","../../node_modules/element-plus/es/components/checkbox/src/composables/use-checkbox-status.mjs","../../node_modules/element-plus/es/components/checkbox/src/composables/use-checkbox.mjs","../../node_modules/element-plus/es/components/checkbox/src/checkbox2.mjs","../../node_modules/element-plus/es/components/checkbox/src/checkbox-button.mjs","../../node_modules/element-plus/es/components/checkbox/src/checkbox-group.mjs","../../node_modules/element-plus/es/components/checkbox/src/checkbox-group2.mjs","../../node_modules/element-plus/es/components/checkbox/index.mjs","../../node_modules/element-plus/es/components/collapse/src/collapse.mjs","../../node_modules/element-plus/es/components/collapse/src/constants.mjs","../../node_modules/element-plus/es/components/collapse/src/use-collapse.mjs","../../node_modules/element-plus/es/components/collapse/src/collapse2.mjs","../../node_modules/element-plus/es/components/collapse-transition/src/collapse-transition.mjs","../../node_modules/element-plus/es/components/collapse-transition/index.mjs","../../node_modules/element-plus/es/components/collapse/src/collapse-item.mjs","../../node_modules/element-plus/es/components/collapse/src/use-collapse-item.mjs","../../node_modules/element-plus/es/components/collapse/src/collapse-item2.mjs","../../node_modules/element-plus/es/components/collapse/index.mjs","../../node_modules/dayjs/plugin/advancedFormat.js","../../node_modules/dayjs/plugin/weekOfYear.js","../../node_modules/dayjs/plugin/weekYear.js","../../node_modules/dayjs/plugin/dayOfYear.js","../../node_modules/dayjs/plugin/isSameOrAfter.js","../../node_modules/dayjs/plugin/isSameOrBefore.js","../../node_modules/element-plus/es/components/date-picker/src/constants.mjs","../../node_modules/element-plus/es/components/date-picker/src/props/date-picker.mjs","../../node_modules/element-plus/es/components/date-picker/src/props/shared.mjs","../../node_modules/element-plus/es/components/date-picker/src/props/panel-date-pick.mjs","../../node_modules/element-plus/es/components/date-picker/src/props/basic-date-table.mjs","../../node_modules/element-plus/es/components/date-picker/src/utils.mjs","../../node_modules/element-plus/es/components/date-picker/src/props/basic-cell.mjs","../../node_modules/element-plus/es/components/date-picker/src/date-picker-com/basic-cell-render.mjs","../../node_modules/element-plus/es/components/date-picker/src/date-picker-com/basic-date-table.mjs","../../node_modules/element-plus/es/components/date-picker/src/props/basic-month-table.mjs","../../node_modules/element-plus/es/components/date-picker/src/date-picker-com/basic-month-table.mjs","../../node_modules/element-plus/es/components/date-picker/src/props/basic-year-table.mjs","../../node_modules/element-plus/es/components/date-picker/src/date-picker-com/basic-year-table.mjs","../../node_modules/element-plus/es/components/date-picker/src/date-picker-com/panel-date-pick.mjs","../../node_modules/element-plus/es/components/date-picker/src/props/panel-date-range.mjs","../../node_modules/element-plus/es/components/date-picker/src/composables/use-shortcut.mjs","../../node_modules/element-plus/es/components/date-picker/src/composables/use-range-picker.mjs","../../node_modules/element-plus/es/components/date-picker/src/date-picker-com/panel-date-range.mjs","../../node_modules/element-plus/es/components/date-picker/src/props/panel-month-range.mjs","../../node_modules/element-plus/es/components/date-picker/src/composables/use-month-range-header.mjs","../../node_modules/element-plus/es/components/date-picker/src/date-picker-com/panel-month-range.mjs","../../node_modules/element-plus/es/components/date-picker/src/panel-utils.mjs","../../node_modules/element-plus/es/components/date-picker/src/date-picker.mjs","../../node_modules/element-plus/es/components/date-picker/index.mjs","../../node_modules/element-plus/es/components/input-number/src/input-number.mjs","../../node_modules/element-plus/es/components/input-number/src/input-number2.mjs","../../node_modules/element-plus/es/components/input-number/index.mjs","../../node_modules/element-plus/es/components/tree/src/model/util.mjs","../../node_modules/element-plus/es/components/tree/src/model/node.mjs","../../node_modules/element-plus/es/components/tree/src/model/tree-store.mjs","../../node_modules/element-plus/es/components/tree/src/tree-node-content.mjs","../../node_modules/element-plus/es/components/tree/src/model/useNodeExpandEventBroadcast.mjs","../../node_modules/element-plus/es/components/tree/src/model/useDragNode.mjs","../../node_modules/element-plus/es/components/tree/src/tree-node.mjs","../../node_modules/element-plus/es/components/tree/src/model/useKeydown.mjs","../../node_modules/element-plus/es/components/tree/src/tree.mjs","../../node_modules/element-plus/es/components/tree/index.mjs","../../src/stores/fpe.js","../../src/components/panel-footer.vue","../../node_modules/vue-resizable/dist/vue-resizable.umd.min.js","../../src/components/utility/wysiwyg.vue","../../node_modules/lodash/lodash.js","../../src/components/utility/media-uploader.vue","../../src/components/field-groups/general.vue","../../src/components/field-groups/price.vue","../../src/components/utility/info.vue","../../src/components/field-groups/shipping.vue","../../src/components/field-groups/linked-products.vue","../../src/components/utility/download-file.vue","../../src/components/field-groups/downloads.vue","../../src/components/utility/product-attribute.vue","../../src/components/field-groups/attributes.vue","../../src/components/field-groups/dummy.vue","../../src/components/form.vue","../../src/components/utility/drawer.vue","../../src/App.vue","../../src/main.js"],"sourcesContent":["import { initCustomFormatter, warn } from '@vue/runtime-dom';\nexport * from '@vue/runtime-dom';\n\nfunction initDev() {\n    {\n        initCustomFormatter();\n    }\n}\n\n// This entry exports the runtime only, and is built as\nif ((process.env.NODE_ENV !== 'production')) {\n    initDev();\n}\nconst compile = () => {\n    if ((process.env.NODE_ENV !== 'production')) {\n        warn(`Runtime compilation is not supported in this build of Vue.` +\n            (` Configure your bundler to alias \"vue\" to \"vue/dist/vue.esm-bundler.js\".`\n                ) /* should not happen */);\n    }\n};\n\nexport { compile };\n","/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n  return value;\n}\n\nexport default identity;\n","/**\n * A faster alternative to `Function#apply`, this function invokes `func`\n * with the `this` binding of `thisArg` and the arguments of `args`.\n *\n * @private\n * @param {Function} func The function to invoke.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} args The arguments to invoke `func` with.\n * @returns {*} Returns the result of `func`.\n */\nfunction apply(func, thisArg, args) {\n  switch (args.length) {\n    case 0: return func.call(thisArg);\n    case 1: return func.call(thisArg, args[0]);\n    case 2: return func.call(thisArg, args[0], args[1]);\n    case 3: return func.call(thisArg, args[0], args[1], args[2]);\n  }\n  return func.apply(thisArg, args);\n}\n\nexport default apply;\n","/** Used to detect hot functions by number of calls within a span of milliseconds. */\nvar HOT_COUNT = 800,\n    HOT_SPAN = 16;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeNow = Date.now;\n\n/**\n * Creates a function that'll short out and invoke `identity` instead\n * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n * milliseconds.\n *\n * @private\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new shortable function.\n */\nfunction shortOut(func) {\n  var count = 0,\n      lastCalled = 0;\n\n  return function() {\n    var stamp = nativeNow(),\n        remaining = HOT_SPAN - (stamp - lastCalled);\n\n    lastCalled = stamp;\n    if (remaining > 0) {\n      if (++count >= HOT_COUNT) {\n        return arguments[0];\n      }\n    } else {\n      count = 0;\n    }\n    return func.apply(undefined, arguments);\n  };\n}\n\nexport default shortOut;\n","/**\n * Creates a function that returns `value`.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {*} value The value to return from the new function.\n * @returns {Function} Returns the new constant function.\n * @example\n *\n * var objects = _.times(2, _.constant({ 'a': 1 }));\n *\n * console.log(objects);\n * // => [{ 'a': 1 }, { 'a': 1 }]\n *\n * console.log(objects[0] === objects[1]);\n * // => true\n */\nfunction constant(value) {\n  return function() {\n    return value;\n  };\n}\n\nexport default constant;\n","import constant from './constant.js';\nimport defineProperty from './_defineProperty.js';\nimport identity from './identity.js';\n\n/**\n * The base implementation of `setToString` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar baseSetToString = !defineProperty ? identity : function(func, string) {\n  return defineProperty(func, 'toString', {\n    'configurable': true,\n    'enumerable': false,\n    'value': constant(string),\n    'writable': true\n  });\n};\n\nexport default baseSetToString;\n","import baseSetToString from './_baseSetToString.js';\nimport shortOut from './_shortOut.js';\n\n/**\n * Sets the `toString` method of `func` to return `string`.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar setToString = shortOut(baseSetToString);\n\nexport default setToString;\n","import apply from './_apply.js';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * A specialized version of `baseRest` which transforms the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @param {Function} transform The rest array transform.\n * @returns {Function} Returns the new function.\n */\nfunction overRest(func, start, transform) {\n  start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n  return function() {\n    var args = arguments,\n        index = -1,\n        length = nativeMax(args.length - start, 0),\n        array = Array(length);\n\n    while (++index < length) {\n      array[index] = args[start + index];\n    }\n    index = -1;\n    var otherArgs = Array(start + 1);\n    while (++index < start) {\n      otherArgs[index] = args[index];\n    }\n    otherArgs[start] = transform(array);\n    return apply(func, this, otherArgs);\n  };\n}\n\nexport default overRest;\n","import Symbol from './_Symbol.js';\nimport isArguments from './isArguments.js';\nimport isArray from './isArray.js';\n\n/** Built-in value references. */\nvar spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined;\n\n/**\n * Checks if `value` is a flattenable `arguments` object or array.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.\n */\nfunction isFlattenable(value) {\n  return isArray(value) || isArguments(value) ||\n    !!(spreadableSymbol && value && value[spreadableSymbol]);\n}\n\nexport default isFlattenable;\n","import arrayPush from './_arrayPush.js';\nimport isFlattenable from './_isFlattenable.js';\n\n/**\n * The base implementation of `_.flatten` with support for restricting flattening.\n *\n * @private\n * @param {Array} array The array to flatten.\n * @param {number} depth The maximum recursion depth.\n * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.\n * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.\n * @param {Array} [result=[]] The initial result value.\n * @returns {Array} Returns the new flattened array.\n */\nfunction baseFlatten(array, depth, predicate, isStrict, result) {\n  var index = -1,\n      length = array.length;\n\n  predicate || (predicate = isFlattenable);\n  result || (result = []);\n\n  while (++index < length) {\n    var value = array[index];\n    if (depth > 0 && predicate(value)) {\n      if (depth > 1) {\n        // Recursively flatten arrays (susceptible to call stack limits).\n        baseFlatten(value, depth - 1, predicate, isStrict, result);\n      } else {\n        arrayPush(result, value);\n      }\n    } else if (!isStrict) {\n      result[result.length] = value;\n    }\n  }\n  return result;\n}\n\nexport default baseFlatten;\n","import baseFlatten from './_baseFlatten.js';\n\n/**\n * Flattens `array` a single level deep.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flatten([1, [2, [3, [4]], 5]]);\n * // => [1, 2, [3, [4]], 5]\n */\nfunction flatten(array) {\n  var length = array == null ? 0 : array.length;\n  return length ? baseFlatten(array, 1) : [];\n}\n\nexport default flatten;\n","import flatten from './flatten.js';\nimport overRest from './_overRest.js';\nimport setToString from './_setToString.js';\n\n/**\n * A specialized version of `baseRest` which flattens the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\nfunction flatRest(func) {\n  return setToString(overRest(func, undefined, flatten), func + '');\n}\n\nexport default flatRest;\n","/**\n * The base implementation of `_.hasIn` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\nfunction baseHasIn(object, key) {\n  return object != null && key in Object(object);\n}\n\nexport default baseHasIn;\n","import castPath from './_castPath.js';\nimport isArguments from './isArguments.js';\nimport isArray from './isArray.js';\nimport isIndex from './_isIndex.js';\nimport isLength from './isLength.js';\nimport toKey from './_toKey.js';\n\n/**\n * Checks if `path` exists on `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @param {Function} hasFunc The function to check properties.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n */\nfunction hasPath(object, path, hasFunc) {\n  path = castPath(path, object);\n\n  var index = -1,\n      length = path.length,\n      result = false;\n\n  while (++index < length) {\n    var key = toKey(path[index]);\n    if (!(result = object != null && hasFunc(object, key))) {\n      break;\n    }\n    object = object[key];\n  }\n  if (result || ++index != length) {\n    return result;\n  }\n  length = object == null ? 0 : object.length;\n  return !!length && isLength(length) && isIndex(key, length) &&\n    (isArray(object) || isArguments(object));\n}\n\nexport default hasPath;\n","import baseHasIn from './_baseHasIn.js';\nimport hasPath from './_hasPath.js';\n\n/**\n * Checks if `path` is a direct or inherited property of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.hasIn(object, 'a');\n * // => true\n *\n * _.hasIn(object, 'a.b');\n * // => true\n *\n * _.hasIn(object, ['a', 'b']);\n * // => true\n *\n * _.hasIn(object, 'b');\n * // => false\n */\nfunction hasIn(object, path) {\n  return object != null && hasPath(object, path, baseHasIn);\n}\n\nexport default hasIn;\n","import baseGet from './_baseGet.js';\nimport baseSet from './_baseSet.js';\nimport castPath from './_castPath.js';\n\n/**\n * The base implementation of  `_.pickBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @param {Function} predicate The function invoked per property.\n * @returns {Object} Returns the new object.\n */\nfunction basePickBy(object, paths, predicate) {\n  var index = -1,\n      length = paths.length,\n      result = {};\n\n  while (++index < length) {\n    var path = paths[index],\n        value = baseGet(object, path);\n\n    if (predicate(value, path)) {\n      baseSet(result, castPath(path, object), value);\n    }\n  }\n  return result;\n}\n\nexport default basePickBy;\n","import basePickBy from './_basePickBy.js';\nimport hasIn from './hasIn.js';\n\n/**\n * The base implementation of `_.pick` without support for individual\n * property identifiers.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @returns {Object} Returns the new object.\n */\nfunction basePick(object, paths) {\n  return basePickBy(object, paths, function(value, path) {\n    return hasIn(object, path);\n  });\n}\n\nexport default basePick;\n","import basePick from './_basePick.js';\nimport flatRest from './_flatRest.js';\n\n/**\n * Creates an object composed of the picked `object` properties.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.pick(object, ['a', 'c']);\n * // => { 'a': 1, 'c': 3 }\n */\nvar pick = flatRest(function(object, paths) {\n  return object == null ? {} : basePick(object, paths);\n});\n\nexport default pick;\n","const datePickTypes = [\n  \"year\",\n  \"month\",\n  \"date\",\n  \"dates\",\n  \"week\",\n  \"datetime\",\n  \"datetimerange\",\n  \"daterange\",\n  \"monthrange\"\n];\nconst WEEK_DAYS = [\n  \"sun\",\n  \"mon\",\n  \"tue\",\n  \"wed\",\n  \"thu\",\n  \"fri\",\n  \"sat\"\n];\n\nexport { WEEK_DAYS, datePickTypes };\n//# sourceMappingURL=date.mjs.map\n","export { castArray as ensureArray } from 'lodash-unified';\n\nconst unique = (arr) => [...new Set(arr)];\nconst castArray = (arr) => {\n  if (!arr && arr !== 0)\n    return [];\n  return Array.isArray(arr) ? arr : [arr];\n};\n\nexport { castArray, unique };\n//# sourceMappingURL=arrays.mjs.map\n","const generateId = () => Math.floor(Math.random() * 1e4);\nconst getRandomInt = (max) => Math.floor(Math.random() * Math.floor(max));\n\nexport { generateId, getRandomInt };\n//# sourceMappingURL=rand.mjs.map\n","import '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { useSizeProp } from '../../../hooks/use-size/index.mjs';\n\nconst configProviderProps = buildProps({\n  a11y: {\n    type: Boolean,\n    default: true\n  },\n  locale: {\n    type: definePropType(Object)\n  },\n  size: useSizeProp,\n  button: {\n    type: definePropType(Object)\n  },\n  experimentalFeatures: {\n    type: definePropType(Object)\n  },\n  keyboardNavigation: {\n    type: Boolean,\n    default: true\n  },\n  message: {\n    type: definePropType(Object)\n  },\n  zIndex: Number,\n  namespace: {\n    type: String,\n    default: \"el\"\n  }\n});\n\nexport { configProviderProps };\n//# sourceMappingURL=config-provider-props.mjs.map\n","import { defineComponent, watch, renderSlot } from 'vue';\nimport { provideGlobalConfig } from './hooks/use-global-config.mjs';\nimport { configProviderProps } from './config-provider-props.mjs';\n\nconst messageConfig = {};\nconst ConfigProvider = defineComponent({\n  name: \"ElConfigProvider\",\n  props: configProviderProps,\n  setup(props, { slots }) {\n    watch(() => props.message, (val) => {\n      Object.assign(messageConfig, val != null ? val : {});\n    }, { immediate: true, deep: true });\n    const config = provideGlobalConfig(props);\n    return () => renderSlot(slots, \"default\", { config: config == null ? void 0 : config.value });\n  }\n});\n\nexport { ConfigProvider as default, messageConfig };\n//# sourceMappingURL=config-provider.mjs.map\n","import '../../utils/index.mjs';\nimport ConfigProvider from './src/config-provider.mjs';\nexport { messageConfig } from './src/config-provider.mjs';\nexport { configProviderProps } from './src/config-provider-props.mjs';\nexport { configProviderContextKey } from './src/constants.mjs';\nexport { provideGlobalConfig, useGlobalComponentSettings, useGlobalConfig } from './src/hooks/use-global-config.mjs';\nimport { withInstall } from '../../utils/vue/install.mjs';\n\nconst ElConfigProvider = withInstall(ConfigProvider);\n\nexport { ElConfigProvider, ElConfigProvider as default };\n//# sourceMappingURL=index.mjs.map\n","!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=e():\"function\"==typeof define&&define.amd?define(e):(t=\"undefined\"!=typeof globalThis?globalThis:t||self).dayjs=e()}(this,(function(){\"use strict\";var t=1e3,e=6e4,n=36e5,r=\"millisecond\",i=\"second\",s=\"minute\",u=\"hour\",a=\"day\",o=\"week\",f=\"month\",h=\"quarter\",c=\"year\",d=\"date\",l=\"Invalid Date\",$=/^(\\d{4})[-/]?(\\d{1,2})?[-/]?(\\d{0,2})[Tt\\s]*(\\d{1,2})?:?(\\d{1,2})?:?(\\d{1,2})?[.:]?(\\d+)?$/,y=/\\[([^\\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:\"en\",weekdays:\"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday\".split(\"_\"),months:\"January_February_March_April_May_June_July_August_September_October_November_December\".split(\"_\"),ordinal:function(t){var e=[\"th\",\"st\",\"nd\",\"rd\"],n=t%100;return\"[\"+t+(e[(n-20)%10]||e[n]||e[0])+\"]\"}},m=function(t,e,n){var r=String(t);return!r||r.length>=e?t:\"\"+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?\"+\":\"-\")+m(r,2,\"0\")+\":\"+m(i,2,\"0\")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,f),s=n-i<0,u=e.clone().add(r+(s?-1:1),f);return+(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:f,y:c,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:h}[t]||String(t||\"\").toLowerCase().replace(/s$/,\"\")},u:function(t){return void 0===t}},g=\"en\",D={};D[g]=M;var p=function(t){return t instanceof _},S=function t(e,n,r){var i;if(!e)return g;if(\"string\"==typeof e){var s=e.toLowerCase();D[s]&&(i=s),n&&(D[s]=n,i=s);var u=e.split(\"-\");if(!i&&u.length>1)return t(u[0])}else{var a=e.name;D[a]=e,i=a}return!r&&i&&(g=i),i||!r&&g},w=function(t,e){if(p(t))return t.clone();var n=\"object\"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},O=v;O.l=S,O.i=p,O.w=function(t,e){return w(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=S(t.locale,null,!0),this.parse(t)}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(O.u(e))return new Date;if(e instanceof Date)return new Date(e);if(\"string\"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||\"0\").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return O},m.isValid=function(){return!(this.$d.toString()===l)},m.isSame=function(t,e){var n=w(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return w(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<w(t)},m.$g=function(t,e,n){return O.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!O.u(e)||e,h=O.p(t),l=function(t,e){var i=O.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},$=function(t,e){return O.w(n.toDate()[t].apply(n.toDate(\"s\"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,v=\"set\"+(this.$u?\"UTC\":\"\");switch(h){case c:return r?l(1,0):l(31,11);case f:return r?l(1,M):l(0,M+1);case o:var g=this.$locale().weekStart||0,D=(y<g?y+7:y)-g;return l(r?m-D:m+(6-D),M);case a:case d:return $(v+\"Hours\",0);case u:return $(v+\"Minutes\",1);case s:return $(v+\"Seconds\",2);case i:return $(v+\"Milliseconds\",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var n,o=O.p(t),h=\"set\"+(this.$u?\"UTC\":\"\"),l=(n={},n[a]=h+\"Date\",n[d]=h+\"Date\",n[f]=h+\"Month\",n[c]=h+\"FullYear\",n[u]=h+\"Hours\",n[s]=h+\"Minutes\",n[i]=h+\"Seconds\",n[r]=h+\"Milliseconds\",n)[o],$=o===a?this.$D+(e-this.$W):e;if(o===f||o===c){var y=this.clone().set(d,1);y.$d[l]($),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d}else l&&this.$d[l]($);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[O.p(t)]()},m.add=function(r,h){var d,l=this;r=Number(r);var $=O.p(h),y=function(t){var e=w(l);return O.w(e.date(e.date()+Math.round(t*r)),l)};if($===f)return this.set(f,this.$M+r);if($===c)return this.set(c,this.$y+r);if($===a)return y(1);if($===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[$]||1,m=this.$d.getTime()+r*M;return O.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||l;var r=t||\"YYYY-MM-DDTHH:mm:ssZ\",i=O.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,f=n.months,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].slice(0,s)},c=function(t){return O.s(s%12||12,t,\"0\")},d=n.meridiem||function(t,e,n){var r=t<12?\"AM\":\"PM\";return n?r.toLowerCase():r},$={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:O.s(a+1,2,\"0\"),MMM:h(n.monthsShort,a,f,3),MMMM:h(f,a),D:this.$D,DD:O.s(this.$D,2,\"0\"),d:String(this.$W),dd:h(n.weekdaysMin,this.$W,o,2),ddd:h(n.weekdaysShort,this.$W,o,3),dddd:o[this.$W],H:String(s),HH:O.s(s,2,\"0\"),h:c(1),hh:c(2),a:d(s,u,!0),A:d(s,u,!1),m:String(u),mm:O.s(u,2,\"0\"),s:String(this.$s),ss:O.s(this.$s,2,\"0\"),SSS:O.s(this.$ms,3,\"0\"),Z:i};return r.replace(y,(function(t,e){return e||$[t]||i.replace(\":\",\"\")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,l){var $,y=O.p(d),M=w(r),m=(M.utcOffset()-this.utcOffset())*e,v=this-M,g=O.m(this,M);return g=($={},$[c]=g/12,$[f]=g,$[h]=g/3,$[o]=(v-m)/6048e5,$[a]=(v-m)/864e5,$[u]=v/n,$[s]=v/e,$[i]=v/t,$)[y]||v,l?g:O.a(g)},m.daysInMonth=function(){return this.endOf(f).$D},m.$locale=function(){return D[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=S(t,e,!0);return r&&(n.$L=r),n},m.clone=function(){return O.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),T=_.prototype;return w.prototype=T,[[\"$ms\",r],[\"$s\",i],[\"$m\",s],[\"$H\",u],[\"$W\",a],[\"$M\",f],[\"$y\",c],[\"$D\",d]].forEach((function(t){T[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),w.extend=function(t,e){return t.$i||(t(e,_,w),t.$i=!0),w},w.locale=S,w.isDayjs=p,w.unix=function(t){return w(1e3*t)},w.en=D[g],w.Ls=D,w.p={},w}));","!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define(t):(e=\"undefined\"!=typeof globalThis?globalThis:e||self).dayjs_plugin_customParseFormat=t()}(this,(function(){\"use strict\";var e={LTS:\"h:mm:ss A\",LT:\"h:mm A\",L:\"MM/DD/YYYY\",LL:\"MMMM D, YYYY\",LLL:\"MMMM D, YYYY h:mm A\",LLLL:\"dddd, MMMM D, YYYY h:mm A\"},t=/(\\[[^[]*\\])|([-_:/.,()\\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\\d\\d/,r=/\\d\\d?/,i=/\\d*[^-_:/,()\\s\\d]+/,o={},s=function(e){return(e=+e)+(e>68?1900:2e3)};var a=function(e){return function(t){this[e]=+t}},f=[/[+-]\\d\\d:?(\\d\\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if(\"Z\"===e)return 0;var t=e.match(/([+-]|\\d\\d)/g),n=60*t[1]+(+t[2]||0);return 0===n?0:\"+\"===t[0]?-n:n}(e)}],h=function(e){var t=o[e];return t&&(t.indexOf?t:t.s.concat(t.f))},u=function(e,t){var n,r=o.meridiem;if(r){for(var i=1;i<=24;i+=1)if(e.indexOf(r(i,0,t))>-1){n=i>12;break}}else n=e===(t?\"pm\":\"PM\");return n},d={A:[i,function(e){this.afternoon=u(e,!1)}],a:[i,function(e){this.afternoon=u(e,!0)}],S:[/\\d/,function(e){this.milliseconds=100*+e}],SS:[n,function(e){this.milliseconds=10*+e}],SSS:[/\\d{3}/,function(e){this.milliseconds=+e}],s:[r,a(\"seconds\")],ss:[r,a(\"seconds\")],m:[r,a(\"minutes\")],mm:[r,a(\"minutes\")],H:[r,a(\"hours\")],h:[r,a(\"hours\")],HH:[r,a(\"hours\")],hh:[r,a(\"hours\")],D:[r,a(\"day\")],DD:[n,a(\"day\")],Do:[i,function(e){var t=o.ordinal,n=e.match(/\\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\\[|\\]/g,\"\")===e&&(this.day=r)}],M:[r,a(\"month\")],MM:[n,a(\"month\")],MMM:[i,function(e){var t=h(\"months\"),n=(h(\"monthsShort\")||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[i,function(e){var t=h(\"months\").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\\d+/,a(\"year\")],YY:[n,function(e){this.year=s(e)}],YYYY:[/\\d{4}/,a(\"year\")],Z:f,ZZ:f};function c(n){var r,i;r=n,i=o&&o.formats;for(var s=(n=r.replace(/(\\[[^\\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var o=r&&r.toUpperCase();return n||i[r]||e[r]||i[o].replace(/(\\[[^\\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),a=s.length,f=0;f<a;f+=1){var h=s[f],u=d[h],c=u&&u[0],l=u&&u[1];s[f]=l?{regex:c,parser:l}:h.replace(/^\\[|\\]$/g,\"\")}return function(e){for(var t={},n=0,r=0;n<a;n+=1){var i=s[n];if(\"string\"==typeof i)r+=i.length;else{var o=i.regex,f=i.parser,h=e.slice(r),u=o.exec(h)[0];f.call(t,u),e=e.replace(u,\"\")}}return function(e){var t=e.afternoon;if(void 0!==t){var n=e.hours;t?n<12&&(e.hours+=12):12===n&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,n){n.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(s=e.parseTwoDigitYear);var r=t.prototype,i=r.parse;r.parse=function(e){var t=e.date,r=e.utc,s=e.args;this.$u=r;var a=s[1];if(\"string\"==typeof a){var f=!0===s[2],h=!0===s[3],u=f||h,d=s[2];h&&(d=s[2]),o=this.$locale(),!f&&d&&(o=n.Ls[d]),this.$d=function(e,t,n){try{if([\"x\",\"X\"].indexOf(t)>-1)return new Date((\"X\"===t?1e3:1)*e);var r=c(t)(e),i=r.year,o=r.month,s=r.day,a=r.hours,f=r.minutes,h=r.seconds,u=r.milliseconds,d=r.zone,l=new Date,m=s||(i||o?1:l.getDate()),M=i||l.getFullYear(),Y=0;i&&!o||(Y=o>0?o-1:l.getMonth());var p=a||0,v=f||0,D=h||0,g=u||0;return d?new Date(Date.UTC(M,Y,m,p,v,D,g+60*d.offset*1e3)):n?new Date(Date.UTC(M,Y,m,p,v,D,g)):new Date(M,Y,m,p,v,D,g)}catch(e){return new Date(\"\")}}(t,a,r),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(a)&&(this.$d=new Date(\"\")),o={}}else if(a instanceof Array)for(var l=a.length,m=1;m<=l;m+=1){s[1]=a[m-1];var M=n.apply(this,s);if(M.isValid()){this.$d=M.$d,this.$L=M.$L,this.init();break}m===l&&(this.$d=new Date(\"\"))}else i.call(this,e)}}}));","const timeUnits = [\"hours\", \"minutes\", \"seconds\"];\nconst DEFAULT_FORMATS_TIME = \"HH:mm:ss\";\nconst DEFAULT_FORMATS_DATE = \"YYYY-MM-DD\";\nconst DEFAULT_FORMATS_DATEPICKER = {\n  date: DEFAULT_FORMATS_DATE,\n  dates: DEFAULT_FORMATS_DATE,\n  week: \"gggg[w]ww\",\n  year: \"YYYY\",\n  month: \"YYYY-MM\",\n  datetime: `${DEFAULT_FORMATS_DATE} ${DEFAULT_FORMATS_TIME}`,\n  monthrange: \"YYYY-MM\",\n  daterange: DEFAULT_FORMATS_DATE,\n  datetimerange: `${DEFAULT_FORMATS_DATE} ${DEFAULT_FORMATS_TIME}`\n};\n\nexport { DEFAULT_FORMATS_DATE, DEFAULT_FORMATS_DATEPICKER, DEFAULT_FORMATS_TIME, timeUnits };\n//# sourceMappingURL=constants.mjs.map\n","import dayjs from 'dayjs';\nimport '../../../utils/index.mjs';\nimport { isDate, isArray } from '@vue/shared';\nimport { isEmpty } from '../../../utils/types.mjs';\n\nconst buildTimeList = (value, bound) => {\n  return [\n    value > 0 ? value - 1 : void 0,\n    value,\n    value < bound ? value + 1 : void 0\n  ];\n};\nconst rangeArr = (n) => Array.from(Array.from({ length: n }).keys());\nconst extractDateFormat = (format) => {\n  return format.replace(/\\W?m{1,2}|\\W?ZZ/g, \"\").replace(/\\W?h{1,2}|\\W?s{1,3}|\\W?a/gi, \"\").trim();\n};\nconst extractTimeFormat = (format) => {\n  return format.replace(/\\W?D{1,2}|\\W?Do|\\W?d{1,4}|\\W?M{1,4}|\\W?Y{2,4}/g, \"\").trim();\n};\nconst dateEquals = function(a, b) {\n  const aIsDate = isDate(a);\n  const bIsDate = isDate(b);\n  if (aIsDate && bIsDate) {\n    return a.getTime() === b.getTime();\n  }\n  if (!aIsDate && !bIsDate) {\n    return a === b;\n  }\n  return false;\n};\nconst valueEquals = function(a, b) {\n  const aIsArray = isArray(a);\n  const bIsArray = isArray(b);\n  if (aIsArray && bIsArray) {\n    if (a.length !== b.length) {\n      return false;\n    }\n    return a.every((item, index) => dateEquals(item, b[index]));\n  }\n  if (!aIsArray && !bIsArray) {\n    return dateEquals(a, b);\n  }\n  return false;\n};\nconst parseDate = function(date, format, lang) {\n  const day = isEmpty(format) || format === \"x\" ? dayjs(date).locale(lang) : dayjs(date, format).locale(lang);\n  return day.isValid() ? day : void 0;\n};\nconst formatter = function(date, format, lang) {\n  if (isEmpty(format))\n    return date;\n  if (format === \"x\")\n    return +date;\n  return dayjs(date).locale(lang).format(format);\n};\nconst makeList = (total, method) => {\n  var _a;\n  const arr = [];\n  const disabledArr = method == null ? void 0 : method();\n  for (let i = 0; i < total; i++) {\n    arr.push((_a = disabledArr == null ? void 0 : disabledArr.includes(i)) != null ? _a : false);\n  }\n  return arr;\n};\n\nexport { buildTimeList, dateEquals, extractDateFormat, extractTimeFormat, formatter, makeList, parseDate, rangeArr, valueEquals };\n//# sourceMappingURL=utils.mjs.map\n","import '../../../../utils/index.mjs';\nimport { buildProps, definePropType } from '../../../../utils/vue/props/runtime.mjs';\n\nconst disabledTimeListsProps = buildProps({\n  disabledHours: {\n    type: definePropType(Function)\n  },\n  disabledMinutes: {\n    type: definePropType(Function)\n  },\n  disabledSeconds: {\n    type: definePropType(Function)\n  }\n});\nconst timePanelSharedProps = buildProps({\n  visible: Boolean,\n  actualVisible: {\n    type: Boolean,\n    default: void 0\n  },\n  format: {\n    type: String,\n    default: \"\"\n  }\n});\n\nexport { disabledTimeListsProps, timePanelSharedProps };\n//# sourceMappingURL=shared.mjs.map\n","import '../../../../utils/index.mjs';\nimport '../../../../hooks/index.mjs';\nimport { CircleClose } from '@element-plus/icons-vue';\nimport { disabledTimeListsProps } from '../props/shared.mjs';\nimport { buildProps, definePropType } from '../../../../utils/vue/props/runtime.mjs';\nimport { useSizeProp } from '../../../../hooks/use-size/index.mjs';\n\nconst timePickerDefaultProps = buildProps({\n  id: {\n    type: definePropType([Array, String])\n  },\n  name: {\n    type: definePropType([Array, String]),\n    default: \"\"\n  },\n  popperClass: {\n    type: String,\n    default: \"\"\n  },\n  format: String,\n  valueFormat: String,\n  type: {\n    type: String,\n    default: \"\"\n  },\n  clearable: {\n    type: Boolean,\n    default: true\n  },\n  clearIcon: {\n    type: definePropType([String, Object]),\n    default: CircleClose\n  },\n  editable: {\n    type: Boolean,\n    default: true\n  },\n  prefixIcon: {\n    type: definePropType([String, Object]),\n    default: \"\"\n  },\n  size: useSizeProp,\n  readonly: {\n    type: Boolean,\n    default: false\n  },\n  disabled: {\n    type: Boolean,\n    default: false\n  },\n  placeholder: {\n    type: String,\n    default: \"\"\n  },\n  popperOptions: {\n    type: definePropType(Object),\n    default: () => ({})\n  },\n  modelValue: {\n    type: definePropType([Date, Array, String, Number]),\n    default: \"\"\n  },\n  rangeSeparator: {\n    type: String,\n    default: \"-\"\n  },\n  startPlaceholder: String,\n  endPlaceholder: String,\n  defaultValue: {\n    type: definePropType([Date, Array])\n  },\n  defaultTime: {\n    type: definePropType([Date, Array])\n  },\n  isRange: {\n    type: Boolean,\n    default: false\n  },\n  ...disabledTimeListsProps,\n  disabledDate: {\n    type: Function\n  },\n  cellClassName: {\n    type: Function\n  },\n  shortcuts: {\n    type: Array,\n    default: () => []\n  },\n  arrowControl: {\n    type: Boolean,\n    default: false\n  },\n  label: {\n    type: String,\n    default: void 0\n  },\n  tabindex: {\n    type: definePropType([String, Number]),\n    default: 0\n  },\n  validateEvent: {\n    type: Boolean,\n    default: true\n  },\n  unlinkPanels: Boolean\n});\n\nexport { timePickerDefaultProps };\n//# sourceMappingURL=props.mjs.map\n","import { defineComponent, inject, ref, watch, nextTick, computed, unref, provide, openBlock, createBlock, mergeProps, withCtx, normalizeClass, normalizeStyle, withModifiers, resolveDynamicComponent, createCommentVNode, createElementBlock, createElementVNode, renderSlot, toDisplayString } from 'vue';\nimport { isEqual } from 'lodash-unified';\nimport { onClickOutside } from '@vueuse/core';\nimport '../../../../hooks/index.mjs';\nimport '../../../form/index.mjs';\nimport { ElInput } from '../../../input/index.mjs';\nimport { ElIcon } from '../../../icon/index.mjs';\nimport { ElTooltip } from '../../../tooltip/index.mjs';\nimport '../../../../utils/index.mjs';\nimport '../../../../constants/index.mjs';\nimport { Clock, Calendar } from '@element-plus/icons-vue';\nimport { valueEquals, formatter, parseDate } from '../utils.mjs';\nimport { timePickerDefaultProps } from './props.mjs';\nimport _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useLocale } from '../../../../hooks/use-locale/index.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\nimport { useFormItem } from '../../../form/src/hooks/use-form-item.mjs';\nimport { debugWarn } from '../../../../utils/error.mjs';\nimport { isArray } from '@vue/shared';\nimport { EVENT_CODE } from '../../../../constants/aria.mjs';\nimport { useFormSize } from '../../../form/src/hooks/use-form-common-props.mjs';\n\nconst _hoisted_1 = [\"id\", \"name\", \"placeholder\", \"value\", \"disabled\", \"readonly\"];\nconst _hoisted_2 = [\"id\", \"name\", \"placeholder\", \"value\", \"disabled\", \"readonly\"];\nconst __default__ = defineComponent({\n  name: \"Picker\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  ...__default__,\n  props: timePickerDefaultProps,\n  emits: [\n    \"update:modelValue\",\n    \"change\",\n    \"focus\",\n    \"blur\",\n    \"calendar-change\",\n    \"panel-change\",\n    \"visible-change\",\n    \"keydown\"\n  ],\n  setup(__props, { expose, emit }) {\n    const props = __props;\n    const { lang } = useLocale();\n    const nsDate = useNamespace(\"date\");\n    const nsInput = useNamespace(\"input\");\n    const nsRange = useNamespace(\"range\");\n    const { form, formItem } = useFormItem();\n    const elPopperOptions = inject(\"ElPopperOptions\", {});\n    const refPopper = ref();\n    const inputRef = ref();\n    const pickerVisible = ref(false);\n    const pickerActualVisible = ref(false);\n    const valueOnOpen = ref(null);\n    let hasJustTabExitedInput = false;\n    let ignoreFocusEvent = false;\n    watch(pickerVisible, (val) => {\n      if (!val) {\n        userInput.value = null;\n        nextTick(() => {\n          emitChange(props.modelValue);\n        });\n      } else {\n        nextTick(() => {\n          if (val) {\n            valueOnOpen.value = props.modelValue;\n          }\n        });\n      }\n    });\n    const emitChange = (val, isClear) => {\n      if (isClear || !valueEquals(val, valueOnOpen.value)) {\n        emit(\"change\", val);\n        props.validateEvent && (formItem == null ? void 0 : formItem.validate(\"change\").catch((err) => debugWarn(err)));\n      }\n    };\n    const emitInput = (input) => {\n      if (!valueEquals(props.modelValue, input)) {\n        let formatted;\n        if (isArray(input)) {\n          formatted = input.map((item) => formatter(item, props.valueFormat, lang.value));\n        } else if (input) {\n          formatted = formatter(input, props.valueFormat, lang.value);\n        }\n        emit(\"update:modelValue\", input ? formatted : input, lang.value);\n      }\n    };\n    const emitKeydown = (e) => {\n      emit(\"keydown\", e);\n    };\n    const refInput = computed(() => {\n      if (inputRef.value) {\n        const _r = isRangeInput.value ? inputRef.value : inputRef.value.$el;\n        return Array.from(_r.querySelectorAll(\"input\"));\n      }\n      return [];\n    });\n    const setSelectionRange = (start, end, pos) => {\n      const _inputs = refInput.value;\n      if (!_inputs.length)\n        return;\n      if (!pos || pos === \"min\") {\n        _inputs[0].setSelectionRange(start, end);\n        _inputs[0].focus();\n      } else if (pos === \"max\") {\n        _inputs[1].setSelectionRange(start, end);\n        _inputs[1].focus();\n      }\n    };\n    const focusOnInputBox = () => {\n      focus(true, true);\n      nextTick(() => {\n        ignoreFocusEvent = false;\n      });\n    };\n    const onPick = (date = \"\", visible = false) => {\n      if (!visible) {\n        ignoreFocusEvent = true;\n      }\n      pickerVisible.value = visible;\n      let result;\n      if (isArray(date)) {\n        result = date.map((_) => _.toDate());\n      } else {\n        result = date ? date.toDate() : date;\n      }\n      userInput.value = null;\n      emitInput(result);\n    };\n    const onBeforeShow = () => {\n      pickerActualVisible.value = true;\n    };\n    const onShow = () => {\n      emit(\"visible-change\", true);\n    };\n    const onKeydownPopperContent = (event) => {\n      if ((event == null ? void 0 : event.key) === EVENT_CODE.esc) {\n        focus(true, true);\n      }\n    };\n    const onHide = () => {\n      pickerActualVisible.value = false;\n      pickerVisible.value = false;\n      ignoreFocusEvent = false;\n      emit(\"visible-change\", false);\n    };\n    const handleOpen = () => {\n      pickerVisible.value = true;\n    };\n    const handleClose = () => {\n      pickerVisible.value = false;\n    };\n    const focus = (focusStartInput = true, isIgnoreFocusEvent = false) => {\n      ignoreFocusEvent = isIgnoreFocusEvent;\n      const [leftInput, rightInput] = unref(refInput);\n      let input = leftInput;\n      if (!focusStartInput && isRangeInput.value) {\n        input = rightInput;\n      }\n      if (input) {\n        input.focus();\n      }\n    };\n    const handleFocusInput = (e) => {\n      if (props.readonly || pickerDisabled.value || pickerVisible.value || ignoreFocusEvent) {\n        return;\n      }\n      pickerVisible.value = true;\n      emit(\"focus\", e);\n    };\n    let currentHandleBlurDeferCallback = void 0;\n    const handleBlurInput = (e) => {\n      const handleBlurDefer = async () => {\n        setTimeout(() => {\n          var _a;\n          if (currentHandleBlurDeferCallback === handleBlurDefer) {\n            if (!(((_a = refPopper.value) == null ? void 0 : _a.isFocusInsideContent()) && !hasJustTabExitedInput) && refInput.value.filter((input) => {\n              return input.contains(document.activeElement);\n            }).length === 0) {\n              handleChange();\n              pickerVisible.value = false;\n              emit(\"blur\", e);\n              props.validateEvent && (formItem == null ? void 0 : formItem.validate(\"blur\").catch((err) => debugWarn(err)));\n            }\n            hasJustTabExitedInput = false;\n          }\n        }, 0);\n      };\n      currentHandleBlurDeferCallback = handleBlurDefer;\n      handleBlurDefer();\n    };\n    const pickerDisabled = computed(() => {\n      return props.disabled || (form == null ? void 0 : form.disabled);\n    });\n    const parsedValue = computed(() => {\n      let dayOrDays;\n      if (valueIsEmpty.value) {\n        if (pickerOptions.value.getDefaultValue) {\n          dayOrDays = pickerOptions.value.getDefaultValue();\n        }\n      } else {\n        if (isArray(props.modelValue)) {\n          dayOrDays = props.modelValue.map((d) => parseDate(d, props.valueFormat, lang.value));\n        } else {\n          dayOrDays = parseDate(props.modelValue, props.valueFormat, lang.value);\n        }\n      }\n      if (pickerOptions.value.getRangeAvailableTime) {\n        const availableResult = pickerOptions.value.getRangeAvailableTime(dayOrDays);\n        if (!isEqual(availableResult, dayOrDays)) {\n          dayOrDays = availableResult;\n          emitInput(isArray(dayOrDays) ? dayOrDays.map((_) => _.toDate()) : dayOrDays.toDate());\n        }\n      }\n      if (isArray(dayOrDays) && dayOrDays.some((day) => !day)) {\n        dayOrDays = [];\n      }\n      return dayOrDays;\n    });\n    const displayValue = computed(() => {\n      if (!pickerOptions.value.panelReady)\n        return \"\";\n      const formattedValue = formatDayjsToString(parsedValue.value);\n      if (isArray(userInput.value)) {\n        return [\n          userInput.value[0] || formattedValue && formattedValue[0] || \"\",\n          userInput.value[1] || formattedValue && formattedValue[1] || \"\"\n        ];\n      } else if (userInput.value !== null) {\n        return userInput.value;\n      }\n      if (!isTimePicker.value && valueIsEmpty.value)\n        return \"\";\n      if (!pickerVisible.value && valueIsEmpty.value)\n        return \"\";\n      if (formattedValue) {\n        return isDatesPicker.value ? formattedValue.join(\", \") : formattedValue;\n      }\n      return \"\";\n    });\n    const isTimeLikePicker = computed(() => props.type.includes(\"time\"));\n    const isTimePicker = computed(() => props.type.startsWith(\"time\"));\n    const isDatesPicker = computed(() => props.type === \"dates\");\n    const triggerIcon = computed(() => props.prefixIcon || (isTimeLikePicker.value ? Clock : Calendar));\n    const showClose = ref(false);\n    const onClearIconClick = (event) => {\n      if (props.readonly || pickerDisabled.value)\n        return;\n      if (showClose.value) {\n        event.stopPropagation();\n        focusOnInputBox();\n        emitInput(null);\n        emitChange(null, true);\n        showClose.value = false;\n        pickerVisible.value = false;\n        pickerOptions.value.handleClear && pickerOptions.value.handleClear();\n      }\n    };\n    const valueIsEmpty = computed(() => {\n      const { modelValue } = props;\n      return !modelValue || isArray(modelValue) && !modelValue.filter(Boolean).length;\n    });\n    const onMouseDownInput = async (event) => {\n      var _a;\n      if (props.readonly || pickerDisabled.value)\n        return;\n      if (((_a = event.target) == null ? void 0 : _a.tagName) !== \"INPUT\" || refInput.value.includes(document.activeElement)) {\n        pickerVisible.value = true;\n      }\n    };\n    const onMouseEnter = () => {\n      if (props.readonly || pickerDisabled.value)\n        return;\n      if (!valueIsEmpty.value && props.clearable) {\n        showClose.value = true;\n      }\n    };\n    const onMouseLeave = () => {\n      showClose.value = false;\n    };\n    const onTouchStartInput = (event) => {\n      var _a;\n      if (props.readonly || pickerDisabled.value)\n        return;\n      if (((_a = event.touches[0].target) == null ? void 0 : _a.tagName) !== \"INPUT\" || refInput.value.includes(document.activeElement)) {\n        pickerVisible.value = true;\n      }\n    };\n    const isRangeInput = computed(() => {\n      return props.type.includes(\"range\");\n    });\n    const pickerSize = useFormSize();\n    const popperEl = computed(() => {\n      var _a, _b;\n      return (_b = (_a = unref(refPopper)) == null ? void 0 : _a.popperRef) == null ? void 0 : _b.contentRef;\n    });\n    const actualInputRef = computed(() => {\n      var _a;\n      if (unref(isRangeInput)) {\n        return unref(inputRef);\n      }\n      return (_a = unref(inputRef)) == null ? void 0 : _a.$el;\n    });\n    onClickOutside(actualInputRef, (e) => {\n      const unrefedPopperEl = unref(popperEl);\n      const inputEl = unref(actualInputRef);\n      if (unrefedPopperEl && (e.target === unrefedPopperEl || e.composedPath().includes(unrefedPopperEl)) || e.target === inputEl || e.composedPath().includes(inputEl))\n        return;\n      pickerVisible.value = false;\n    });\n    const userInput = ref(null);\n    const handleChange = () => {\n      if (userInput.value) {\n        const value = parseUserInputToDayjs(displayValue.value);\n        if (value) {\n          if (isValidValue(value)) {\n            emitInput(isArray(value) ? value.map((_) => _.toDate()) : value.toDate());\n            userInput.value = null;\n          }\n        }\n      }\n      if (userInput.value === \"\") {\n        emitInput(null);\n        emitChange(null);\n        userInput.value = null;\n      }\n    };\n    const parseUserInputToDayjs = (value) => {\n      if (!value)\n        return null;\n      return pickerOptions.value.parseUserInput(value);\n    };\n    const formatDayjsToString = (value) => {\n      if (!value)\n        return null;\n      return pickerOptions.value.formatToString(value);\n    };\n    const isValidValue = (value) => {\n      return pickerOptions.value.isValidValue(value);\n    };\n    const handleKeydownInput = async (event) => {\n      if (props.readonly || pickerDisabled.value)\n        return;\n      const { code } = event;\n      emitKeydown(event);\n      if (code === EVENT_CODE.esc) {\n        if (pickerVisible.value === true) {\n          pickerVisible.value = false;\n          event.preventDefault();\n          event.stopPropagation();\n        }\n        return;\n      }\n      if (code === EVENT_CODE.down) {\n        if (pickerOptions.value.handleFocusPicker) {\n          event.preventDefault();\n          event.stopPropagation();\n        }\n        if (pickerVisible.value === false) {\n          pickerVisible.value = true;\n          await nextTick();\n        }\n        if (pickerOptions.value.handleFocusPicker) {\n          pickerOptions.value.handleFocusPicker();\n          return;\n        }\n      }\n      if (code === EVENT_CODE.tab) {\n        hasJustTabExitedInput = true;\n        return;\n      }\n      if (code === EVENT_CODE.enter || code === EVENT_CODE.numpadEnter) {\n        if (userInput.value === null || userInput.value === \"\" || isValidValue(parseUserInputToDayjs(displayValue.value))) {\n          handleChange();\n          pickerVisible.value = false;\n        }\n        event.stopPropagation();\n        return;\n      }\n      if (userInput.value) {\n        event.stopPropagation();\n        return;\n      }\n      if (pickerOptions.value.handleKeydownInput) {\n        pickerOptions.value.handleKeydownInput(event);\n      }\n    };\n    const onUserInput = (e) => {\n      userInput.value = e;\n      if (!pickerVisible.value) {\n        pickerVisible.value = true;\n      }\n    };\n    const handleStartInput = (event) => {\n      const target = event.target;\n      if (userInput.value) {\n        userInput.value = [target.value, userInput.value[1]];\n      } else {\n        userInput.value = [target.value, null];\n      }\n    };\n    const handleEndInput = (event) => {\n      const target = event.target;\n      if (userInput.value) {\n        userInput.value = [userInput.value[0], target.value];\n      } else {\n        userInput.value = [null, target.value];\n      }\n    };\n    const handleStartChange = () => {\n      var _a;\n      const values = userInput.value;\n      const value = parseUserInputToDayjs(values && values[0]);\n      const parsedVal = unref(parsedValue);\n      if (value && value.isValid()) {\n        userInput.value = [\n          formatDayjsToString(value),\n          ((_a = displayValue.value) == null ? void 0 : _a[1]) || null\n        ];\n        const newValue = [value, parsedVal && (parsedVal[1] || null)];\n        if (isValidValue(newValue)) {\n          emitInput(newValue);\n          userInput.value = null;\n        }\n      }\n    };\n    const handleEndChange = () => {\n      var _a;\n      const values = unref(userInput);\n      const value = parseUserInputToDayjs(values && values[1]);\n      const parsedVal = unref(parsedValue);\n      if (value && value.isValid()) {\n        userInput.value = [\n          ((_a = unref(displayValue)) == null ? void 0 : _a[0]) || null,\n          formatDayjsToString(value)\n        ];\n        const newValue = [parsedVal && parsedVal[0], value];\n        if (isValidValue(newValue)) {\n          emitInput(newValue);\n          userInput.value = null;\n        }\n      }\n    };\n    const pickerOptions = ref({});\n    const onSetPickerOption = (e) => {\n      pickerOptions.value[e[0]] = e[1];\n      pickerOptions.value.panelReady = true;\n    };\n    const onCalendarChange = (e) => {\n      emit(\"calendar-change\", e);\n    };\n    const onPanelChange = (value, mode, view) => {\n      emit(\"panel-change\", value, mode, view);\n    };\n    provide(\"EP_PICKER_BASE\", {\n      props\n    });\n    expose({\n      focus,\n      handleFocusInput,\n      handleBlurInput,\n      handleOpen,\n      handleClose,\n      onPick\n    });\n    return (_ctx, _cache) => {\n      return openBlock(), createBlock(unref(ElTooltip), mergeProps({\n        ref_key: \"refPopper\",\n        ref: refPopper,\n        visible: pickerVisible.value,\n        effect: \"light\",\n        pure: \"\",\n        trigger: \"click\"\n      }, _ctx.$attrs, {\n        role: \"dialog\",\n        teleported: \"\",\n        transition: `${unref(nsDate).namespace.value}-zoom-in-top`,\n        \"popper-class\": [`${unref(nsDate).namespace.value}-picker__popper`, _ctx.popperClass],\n        \"popper-options\": unref(elPopperOptions),\n        \"fallback-placements\": [\"bottom\", \"top\", \"right\", \"left\"],\n        \"gpu-acceleration\": false,\n        \"stop-popper-mouse-event\": false,\n        \"hide-after\": 0,\n        persistent: \"\",\n        onBeforeShow,\n        onShow,\n        onHide\n      }), {\n        default: withCtx(() => [\n          !unref(isRangeInput) ? (openBlock(), createBlock(unref(ElInput), {\n            key: 0,\n            id: _ctx.id,\n            ref_key: \"inputRef\",\n            ref: inputRef,\n            \"container-role\": \"combobox\",\n            \"model-value\": unref(displayValue),\n            name: _ctx.name,\n            size: unref(pickerSize),\n            disabled: unref(pickerDisabled),\n            placeholder: _ctx.placeholder,\n            class: normalizeClass([unref(nsDate).b(\"editor\"), unref(nsDate).bm(\"editor\", _ctx.type), _ctx.$attrs.class]),\n            style: normalizeStyle(_ctx.$attrs.style),\n            readonly: !_ctx.editable || _ctx.readonly || unref(isDatesPicker) || _ctx.type === \"week\",\n            label: _ctx.label,\n            tabindex: _ctx.tabindex,\n            \"validate-event\": false,\n            onInput: onUserInput,\n            onFocus: handleFocusInput,\n            onBlur: handleBlurInput,\n            onKeydown: handleKeydownInput,\n            onChange: handleChange,\n            onMousedown: onMouseDownInput,\n            onMouseenter: onMouseEnter,\n            onMouseleave: onMouseLeave,\n            onTouchstart: onTouchStartInput,\n            onClick: _cache[0] || (_cache[0] = withModifiers(() => {\n            }, [\"stop\"]))\n          }, {\n            prefix: withCtx(() => [\n              unref(triggerIcon) ? (openBlock(), createBlock(unref(ElIcon), {\n                key: 0,\n                class: normalizeClass(unref(nsInput).e(\"icon\")),\n                onMousedown: withModifiers(onMouseDownInput, [\"prevent\"]),\n                onTouchstart: onTouchStartInput\n              }, {\n                default: withCtx(() => [\n                  (openBlock(), createBlock(resolveDynamicComponent(unref(triggerIcon))))\n                ]),\n                _: 1\n              }, 8, [\"class\", \"onMousedown\"])) : createCommentVNode(\"v-if\", true)\n            ]),\n            suffix: withCtx(() => [\n              showClose.value && _ctx.clearIcon ? (openBlock(), createBlock(unref(ElIcon), {\n                key: 0,\n                class: normalizeClass(`${unref(nsInput).e(\"icon\")} clear-icon`),\n                onClick: withModifiers(onClearIconClick, [\"stop\"])\n              }, {\n                default: withCtx(() => [\n                  (openBlock(), createBlock(resolveDynamicComponent(_ctx.clearIcon)))\n                ]),\n                _: 1\n              }, 8, [\"class\", \"onClick\"])) : createCommentVNode(\"v-if\", true)\n            ]),\n            _: 1\n          }, 8, [\"id\", \"model-value\", \"name\", \"size\", \"disabled\", \"placeholder\", \"class\", \"style\", \"readonly\", \"label\", \"tabindex\", \"onKeydown\"])) : (openBlock(), createElementBlock(\"div\", {\n            key: 1,\n            ref_key: \"inputRef\",\n            ref: inputRef,\n            class: normalizeClass([\n              unref(nsDate).b(\"editor\"),\n              unref(nsDate).bm(\"editor\", _ctx.type),\n              unref(nsInput).e(\"wrapper\"),\n              unref(nsDate).is(\"disabled\", unref(pickerDisabled)),\n              unref(nsDate).is(\"active\", pickerVisible.value),\n              unref(nsRange).b(\"editor\"),\n              unref(pickerSize) ? unref(nsRange).bm(\"editor\", unref(pickerSize)) : \"\",\n              _ctx.$attrs.class\n            ]),\n            style: normalizeStyle(_ctx.$attrs.style),\n            onClick: handleFocusInput,\n            onMouseenter: onMouseEnter,\n            onMouseleave: onMouseLeave,\n            onTouchstart: onTouchStartInput,\n            onKeydown: handleKeydownInput\n          }, [\n            unref(triggerIcon) ? (openBlock(), createBlock(unref(ElIcon), {\n              key: 0,\n              class: normalizeClass([unref(nsInput).e(\"icon\"), unref(nsRange).e(\"icon\")]),\n              onMousedown: withModifiers(onMouseDownInput, [\"prevent\"]),\n              onTouchstart: onTouchStartInput\n            }, {\n              default: withCtx(() => [\n                (openBlock(), createBlock(resolveDynamicComponent(unref(triggerIcon))))\n              ]),\n              _: 1\n            }, 8, [\"class\", \"onMousedown\"])) : createCommentVNode(\"v-if\", true),\n            createElementVNode(\"input\", {\n              id: _ctx.id && _ctx.id[0],\n              autocomplete: \"off\",\n              name: _ctx.name && _ctx.name[0],\n              placeholder: _ctx.startPlaceholder,\n              value: unref(displayValue) && unref(displayValue)[0],\n              disabled: unref(pickerDisabled),\n              readonly: !_ctx.editable || _ctx.readonly,\n              class: normalizeClass(unref(nsRange).b(\"input\")),\n              onMousedown: onMouseDownInput,\n              onInput: handleStartInput,\n              onChange: handleStartChange,\n              onFocus: handleFocusInput,\n              onBlur: handleBlurInput\n            }, null, 42, _hoisted_1),\n            renderSlot(_ctx.$slots, \"range-separator\", {}, () => [\n              createElementVNode(\"span\", {\n                class: normalizeClass(unref(nsRange).b(\"separator\"))\n              }, toDisplayString(_ctx.rangeSeparator), 3)\n            ]),\n            createElementVNode(\"input\", {\n              id: _ctx.id && _ctx.id[1],\n              autocomplete: \"off\",\n              name: _ctx.name && _ctx.name[1],\n              placeholder: _ctx.endPlaceholder,\n              value: unref(displayValue) && unref(displayValue)[1],\n              disabled: unref(pickerDisabled),\n              readonly: !_ctx.editable || _ctx.readonly,\n              class: normalizeClass(unref(nsRange).b(\"input\")),\n              onMousedown: onMouseDownInput,\n              onFocus: handleFocusInput,\n              onBlur: handleBlurInput,\n              onInput: handleEndInput,\n              onChange: handleEndChange\n            }, null, 42, _hoisted_2),\n            _ctx.clearIcon ? (openBlock(), createBlock(unref(ElIcon), {\n              key: 1,\n              class: normalizeClass([\n                unref(nsInput).e(\"icon\"),\n                unref(nsRange).e(\"close-icon\"),\n                {\n                  [unref(nsRange).e(\"close-icon--hidden\")]: !showClose.value\n                }\n              ]),\n              onClick: onClearIconClick\n            }, {\n              default: withCtx(() => [\n                (openBlock(), createBlock(resolveDynamicComponent(_ctx.clearIcon)))\n              ]),\n              _: 1\n            }, 8, [\"class\"])) : createCommentVNode(\"v-if\", true)\n          ], 38))\n        ]),\n        content: withCtx(() => [\n          renderSlot(_ctx.$slots, \"default\", {\n            visible: pickerVisible.value,\n            actualVisible: pickerActualVisible.value,\n            parsedValue: unref(parsedValue),\n            format: _ctx.format,\n            unlinkPanels: _ctx.unlinkPanels,\n            type: _ctx.type,\n            defaultValue: _ctx.defaultValue,\n            onPick,\n            onSelectRange: setSelectionRange,\n            onSetPickerOption,\n            onCalendarChange,\n            onPanelChange,\n            onKeydown: onKeydownPopperContent,\n            onMousedown: _cache[1] || (_cache[1] = withModifiers(() => {\n            }, [\"stop\"]))\n          })\n        ]),\n        _: 3\n      }, 16, [\"visible\", \"transition\", \"popper-class\", \"popper-options\"]);\n    };\n  }\n});\nvar CommonPicker = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/common/picker.vue\"]]);\n\nexport { CommonPicker as default };\n//# sourceMappingURL=picker.mjs.map\n","import '../../../../utils/index.mjs';\nimport { timePanelSharedProps } from './shared.mjs';\nimport { buildProps, definePropType } from '../../../../utils/vue/props/runtime.mjs';\n\nconst panelTimePickerProps = buildProps({\n  ...timePanelSharedProps,\n  datetimeRole: String,\n  parsedValue: {\n    type: definePropType(Object)\n  }\n});\n\nexport { panelTimePickerProps };\n//# sourceMappingURL=panel-time-picker.mjs.map\n","const useTimePanel = ({\n  getAvailableHours,\n  getAvailableMinutes,\n  getAvailableSeconds\n}) => {\n  const getAvailableTime = (date, role, first, compareDate) => {\n    const availableTimeGetters = {\n      hour: getAvailableHours,\n      minute: getAvailableMinutes,\n      second: getAvailableSeconds\n    };\n    let result = date;\n    [\"hour\", \"minute\", \"second\"].forEach((type) => {\n      if (availableTimeGetters[type]) {\n        let availableTimeSlots;\n        const method = availableTimeGetters[type];\n        switch (type) {\n          case \"minute\": {\n            availableTimeSlots = method(result.hour(), role, compareDate);\n            break;\n          }\n          case \"second\": {\n            availableTimeSlots = method(result.hour(), result.minute(), role, compareDate);\n            break;\n          }\n          default: {\n            availableTimeSlots = method(role, compareDate);\n            break;\n          }\n        }\n        if ((availableTimeSlots == null ? void 0 : availableTimeSlots.length) && !availableTimeSlots.includes(result[type]())) {\n          const pos = first ? 0 : availableTimeSlots.length - 1;\n          result = result[type](availableTimeSlots[pos]);\n        }\n      }\n    });\n    return result;\n  };\n  const timePickerOptions = {};\n  const onSetOption = ([key, val]) => {\n    timePickerOptions[key] = val;\n  };\n  return {\n    timePickerOptions,\n    getAvailableTime,\n    onSetOption\n  };\n};\n\nexport { useTimePanel };\n//# sourceMappingURL=use-time-panel.mjs.map\n","import { ref, watch } from 'vue';\nimport { makeList } from '../utils.mjs';\n\nconst makeAvailableArr = (disabledList) => {\n  const trueOrNumber = (isDisabled, index) => isDisabled || index;\n  const getNumber = (predicate) => predicate !== true;\n  return disabledList.map(trueOrNumber).filter(getNumber);\n};\nconst getTimeLists = (disabledHours, disabledMinutes, disabledSeconds) => {\n  const getHoursList = (role, compare) => {\n    return makeList(24, disabledHours && (() => disabledHours == null ? void 0 : disabledHours(role, compare)));\n  };\n  const getMinutesList = (hour, role, compare) => {\n    return makeList(60, disabledMinutes && (() => disabledMinutes == null ? void 0 : disabledMinutes(hour, role, compare)));\n  };\n  const getSecondsList = (hour, minute, role, compare) => {\n    return makeList(60, disabledSeconds && (() => disabledSeconds == null ? void 0 : disabledSeconds(hour, minute, role, compare)));\n  };\n  return {\n    getHoursList,\n    getMinutesList,\n    getSecondsList\n  };\n};\nconst buildAvailableTimeSlotGetter = (disabledHours, disabledMinutes, disabledSeconds) => {\n  const { getHoursList, getMinutesList, getSecondsList } = getTimeLists(disabledHours, disabledMinutes, disabledSeconds);\n  const getAvailableHours = (role, compare) => {\n    return makeAvailableArr(getHoursList(role, compare));\n  };\n  const getAvailableMinutes = (hour, role, compare) => {\n    return makeAvailableArr(getMinutesList(hour, role, compare));\n  };\n  const getAvailableSeconds = (hour, minute, role, compare) => {\n    return makeAvailableArr(getSecondsList(hour, minute, role, compare));\n  };\n  return {\n    getAvailableHours,\n    getAvailableMinutes,\n    getAvailableSeconds\n  };\n};\nconst useOldValue = (props) => {\n  const oldValue = ref(props.parsedValue);\n  watch(() => props.visible, (val) => {\n    if (!val) {\n      oldValue.value = props.parsedValue;\n    }\n  });\n  return oldValue;\n};\n\nexport { buildAvailableTimeSlotGetter, getTimeLists, useOldValue };\n//# sourceMappingURL=use-time-picker.mjs.map\n","import '../../utils/index.mjs';\nimport { isFunction } from '@vue/shared';\n\nconst REPEAT_INTERVAL = 100;\nconst REPEAT_DELAY = 600;\nconst vRepeatClick = {\n  beforeMount(el, binding) {\n    const value = binding.value;\n    const { interval = REPEAT_INTERVAL, delay = REPEAT_DELAY } = isFunction(value) ? {} : value;\n    let intervalId;\n    let delayId;\n    const handler = () => isFunction(value) ? value() : value.handler();\n    const clear = () => {\n      if (delayId) {\n        clearTimeout(delayId);\n        delayId = void 0;\n      }\n      if (intervalId) {\n        clearInterval(intervalId);\n        intervalId = void 0;\n      }\n    };\n    el.addEventListener(\"mousedown\", (evt) => {\n      if (evt.button !== 0)\n        return;\n      clear();\n      handler();\n      document.addEventListener(\"mouseup\", () => clear(), {\n        once: true\n      });\n      delayId = setTimeout(() => {\n        intervalId = setInterval(() => {\n          handler();\n        }, interval);\n      }, delay);\n    });\n  }\n};\n\nexport { REPEAT_DELAY, REPEAT_INTERVAL, vRepeatClick };\n//# sourceMappingURL=index.mjs.map\n","import '../../../../utils/index.mjs';\nimport { disabledTimeListsProps } from './shared.mjs';\nimport { buildProps, definePropType } from '../../../../utils/vue/props/runtime.mjs';\n\nconst basicTimeSpinnerProps = buildProps({\n  role: {\n    type: String,\n    required: true\n  },\n  spinnerDate: {\n    type: definePropType(Object),\n    required: true\n  },\n  showSeconds: {\n    type: Boolean,\n    default: true\n  },\n  arrowControl: Boolean,\n  amPmMode: {\n    type: definePropType(String),\n    default: \"\"\n  },\n  ...disabledTimeListsProps\n});\n\nexport { basicTimeSpinnerProps };\n//# sourceMappingURL=basic-time-spinner.mjs.map\n","import { defineComponent, ref, computed, unref, nextTick, onMounted, watch, openBlock, createElementBlock, normalizeClass, Fragment, renderList, createBlock, withCtx, createTextVNode, toDisplayString, createCommentVNode, withDirectives, createVNode, createElementVNode } from 'vue';\nimport { debounce } from 'lodash-unified';\nimport '../../../../directives/index.mjs';\nimport { ElScrollbar } from '../../../scrollbar/index.mjs';\nimport { ElIcon } from '../../../icon/index.mjs';\nimport { ArrowUp, ArrowDown } from '@element-plus/icons-vue';\nimport '../../../../hooks/index.mjs';\nimport { timeUnits } from '../constants.mjs';\nimport { buildTimeList } from '../utils.mjs';\nimport { basicTimeSpinnerProps } from '../props/basic-time-spinner.mjs';\nimport { getTimeLists } from '../composables/use-time-picker.mjs';\nimport _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\nimport { vRepeatClick } from '../../../../directives/repeat-click/index.mjs';\n\nconst _hoisted_1 = [\"onClick\"];\nconst _hoisted_2 = [\"onMouseenter\"];\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  __name: \"basic-time-spinner\",\n  props: basicTimeSpinnerProps,\n  emits: [\"change\", \"select-range\", \"set-option\"],\n  setup(__props, { emit }) {\n    const props = __props;\n    const ns = useNamespace(\"time\");\n    const { getHoursList, getMinutesList, getSecondsList } = getTimeLists(props.disabledHours, props.disabledMinutes, props.disabledSeconds);\n    let isScrolling = false;\n    const currentScrollbar = ref();\n    const listHoursRef = ref();\n    const listMinutesRef = ref();\n    const listSecondsRef = ref();\n    const listRefsMap = {\n      hours: listHoursRef,\n      minutes: listMinutesRef,\n      seconds: listSecondsRef\n    };\n    const spinnerItems = computed(() => {\n      return props.showSeconds ? timeUnits : timeUnits.slice(0, 2);\n    });\n    const timePartials = computed(() => {\n      const { spinnerDate } = props;\n      const hours = spinnerDate.hour();\n      const minutes = spinnerDate.minute();\n      const seconds = spinnerDate.second();\n      return { hours, minutes, seconds };\n    });\n    const timeList = computed(() => {\n      const { hours, minutes } = unref(timePartials);\n      return {\n        hours: getHoursList(props.role),\n        minutes: getMinutesList(hours, props.role),\n        seconds: getSecondsList(hours, minutes, props.role)\n      };\n    });\n    const arrowControlTimeList = computed(() => {\n      const { hours, minutes, seconds } = unref(timePartials);\n      return {\n        hours: buildTimeList(hours, 23),\n        minutes: buildTimeList(minutes, 59),\n        seconds: buildTimeList(seconds, 59)\n      };\n    });\n    const debouncedResetScroll = debounce((type) => {\n      isScrolling = false;\n      adjustCurrentSpinner(type);\n    }, 200);\n    const getAmPmFlag = (hour) => {\n      const shouldShowAmPm = !!props.amPmMode;\n      if (!shouldShowAmPm)\n        return \"\";\n      const isCapital = props.amPmMode === \"A\";\n      let content = hour < 12 ? \" am\" : \" pm\";\n      if (isCapital)\n        content = content.toUpperCase();\n      return content;\n    };\n    const emitSelectRange = (type) => {\n      let range;\n      switch (type) {\n        case \"hours\":\n          range = [0, 2];\n          break;\n        case \"minutes\":\n          range = [3, 5];\n          break;\n        case \"seconds\":\n          range = [6, 8];\n          break;\n      }\n      const [left, right] = range;\n      emit(\"select-range\", left, right);\n      currentScrollbar.value = type;\n    };\n    const adjustCurrentSpinner = (type) => {\n      adjustSpinner(type, unref(timePartials)[type]);\n    };\n    const adjustSpinners = () => {\n      adjustCurrentSpinner(\"hours\");\n      adjustCurrentSpinner(\"minutes\");\n      adjustCurrentSpinner(\"seconds\");\n    };\n    const getScrollbarElement = (el) => el.querySelector(`.${ns.namespace.value}-scrollbar__wrap`);\n    const adjustSpinner = (type, value) => {\n      if (props.arrowControl)\n        return;\n      const scrollbar = unref(listRefsMap[type]);\n      if (scrollbar && scrollbar.$el) {\n        getScrollbarElement(scrollbar.$el).scrollTop = Math.max(0, value * typeItemHeight(type));\n      }\n    };\n    const typeItemHeight = (type) => {\n      const scrollbar = unref(listRefsMap[type]);\n      return (scrollbar == null ? void 0 : scrollbar.$el.querySelector(\"li\").offsetHeight) || 0;\n    };\n    const onIncrement = () => {\n      scrollDown(1);\n    };\n    const onDecrement = () => {\n      scrollDown(-1);\n    };\n    const scrollDown = (step) => {\n      if (!currentScrollbar.value) {\n        emitSelectRange(\"hours\");\n      }\n      const label = currentScrollbar.value;\n      const now = unref(timePartials)[label];\n      const total = currentScrollbar.value === \"hours\" ? 24 : 60;\n      const next = findNextUnDisabled(label, now, step, total);\n      modifyDateField(label, next);\n      adjustSpinner(label, next);\n      nextTick(() => emitSelectRange(label));\n    };\n    const findNextUnDisabled = (type, now, step, total) => {\n      let next = (now + step + total) % total;\n      const list = unref(timeList)[type];\n      while (list[next] && next !== now) {\n        next = (next + step + total) % total;\n      }\n      return next;\n    };\n    const modifyDateField = (type, value) => {\n      const list = unref(timeList)[type];\n      const isDisabled = list[value];\n      if (isDisabled)\n        return;\n      const { hours, minutes, seconds } = unref(timePartials);\n      let changeTo;\n      switch (type) {\n        case \"hours\":\n          changeTo = props.spinnerDate.hour(value).minute(minutes).second(seconds);\n          break;\n        case \"minutes\":\n          changeTo = props.spinnerDate.hour(hours).minute(value).second(seconds);\n          break;\n        case \"seconds\":\n          changeTo = props.spinnerDate.hour(hours).minute(minutes).second(value);\n          break;\n      }\n      emit(\"change\", changeTo);\n    };\n    const handleClick = (type, { value, disabled }) => {\n      if (!disabled) {\n        modifyDateField(type, value);\n        emitSelectRange(type);\n        adjustSpinner(type, value);\n      }\n    };\n    const handleScroll = (type) => {\n      isScrolling = true;\n      debouncedResetScroll(type);\n      const value = Math.min(Math.round((getScrollbarElement(unref(listRefsMap[type]).$el).scrollTop - (scrollBarHeight(type) * 0.5 - 10) / typeItemHeight(type) + 3) / typeItemHeight(type)), type === \"hours\" ? 23 : 59);\n      modifyDateField(type, value);\n    };\n    const scrollBarHeight = (type) => {\n      return unref(listRefsMap[type]).$el.offsetHeight;\n    };\n    const bindScrollEvent = () => {\n      const bindFunction = (type) => {\n        const scrollbar = unref(listRefsMap[type]);\n        if (scrollbar && scrollbar.$el) {\n          getScrollbarElement(scrollbar.$el).onscroll = () => {\n            handleScroll(type);\n          };\n        }\n      };\n      bindFunction(\"hours\");\n      bindFunction(\"minutes\");\n      bindFunction(\"seconds\");\n    };\n    onMounted(() => {\n      nextTick(() => {\n        !props.arrowControl && bindScrollEvent();\n        adjustSpinners();\n        if (props.role === \"start\")\n          emitSelectRange(\"hours\");\n      });\n    });\n    const setRef = (scrollbar, type) => {\n      listRefsMap[type].value = scrollbar;\n    };\n    emit(\"set-option\", [`${props.role}_scrollDown`, scrollDown]);\n    emit(\"set-option\", [`${props.role}_emitSelectRange`, emitSelectRange]);\n    watch(() => props.spinnerDate, () => {\n      if (isScrolling)\n        return;\n      adjustSpinners();\n    });\n    return (_ctx, _cache) => {\n      return openBlock(), createElementBlock(\"div\", {\n        class: normalizeClass([unref(ns).b(\"spinner\"), { \"has-seconds\": _ctx.showSeconds }])\n      }, [\n        !_ctx.arrowControl ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(unref(spinnerItems), (item) => {\n          return openBlock(), createBlock(unref(ElScrollbar), {\n            key: item,\n            ref_for: true,\n            ref: (scrollbar) => setRef(scrollbar, item),\n            class: normalizeClass(unref(ns).be(\"spinner\", \"wrapper\")),\n            \"wrap-style\": \"max-height: inherit;\",\n            \"view-class\": unref(ns).be(\"spinner\", \"list\"),\n            noresize: \"\",\n            tag: \"ul\",\n            onMouseenter: ($event) => emitSelectRange(item),\n            onMousemove: ($event) => adjustCurrentSpinner(item)\n          }, {\n            default: withCtx(() => [\n              (openBlock(true), createElementBlock(Fragment, null, renderList(unref(timeList)[item], (disabled, key) => {\n                return openBlock(), createElementBlock(\"li\", {\n                  key,\n                  class: normalizeClass([\n                    unref(ns).be(\"spinner\", \"item\"),\n                    unref(ns).is(\"active\", key === unref(timePartials)[item]),\n                    unref(ns).is(\"disabled\", disabled)\n                  ]),\n                  onClick: ($event) => handleClick(item, { value: key, disabled })\n                }, [\n                  item === \"hours\" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [\n                    createTextVNode(toDisplayString((\"0\" + (_ctx.amPmMode ? key % 12 || 12 : key)).slice(-2)) + toDisplayString(getAmPmFlag(key)), 1)\n                  ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [\n                    createTextVNode(toDisplayString((\"0\" + key).slice(-2)), 1)\n                  ], 64))\n                ], 10, _hoisted_1);\n              }), 128))\n            ]),\n            _: 2\n          }, 1032, [\"class\", \"view-class\", \"onMouseenter\", \"onMousemove\"]);\n        }), 128)) : createCommentVNode(\"v-if\", true),\n        _ctx.arrowControl ? (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(unref(spinnerItems), (item) => {\n          return openBlock(), createElementBlock(\"div\", {\n            key: item,\n            class: normalizeClass([unref(ns).be(\"spinner\", \"wrapper\"), unref(ns).is(\"arrow\")]),\n            onMouseenter: ($event) => emitSelectRange(item)\n          }, [\n            withDirectives((openBlock(), createBlock(unref(ElIcon), {\n              class: normalizeClass([\"arrow-up\", unref(ns).be(\"spinner\", \"arrow\")])\n            }, {\n              default: withCtx(() => [\n                createVNode(unref(ArrowUp))\n              ]),\n              _: 1\n            }, 8, [\"class\"])), [\n              [unref(vRepeatClick), onDecrement]\n            ]),\n            withDirectives((openBlock(), createBlock(unref(ElIcon), {\n              class: normalizeClass([\"arrow-down\", unref(ns).be(\"spinner\", \"arrow\")])\n            }, {\n              default: withCtx(() => [\n                createVNode(unref(ArrowDown))\n              ]),\n              _: 1\n            }, 8, [\"class\"])), [\n              [unref(vRepeatClick), onIncrement]\n            ]),\n            createElementVNode(\"ul\", {\n              class: normalizeClass(unref(ns).be(\"spinner\", \"list\"))\n            }, [\n              (openBlock(true), createElementBlock(Fragment, null, renderList(unref(arrowControlTimeList)[item], (time, key) => {\n                return openBlock(), createElementBlock(\"li\", {\n                  key,\n                  class: normalizeClass([\n                    unref(ns).be(\"spinner\", \"item\"),\n                    unref(ns).is(\"active\", time === unref(timePartials)[item]),\n                    unref(ns).is(\"disabled\", unref(timeList)[item][time])\n                  ])\n                }, [\n                  typeof time === \"number\" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [\n                    item === \"hours\" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [\n                      createTextVNode(toDisplayString((\"0\" + (_ctx.amPmMode ? time % 12 || 12 : time)).slice(-2)) + toDisplayString(getAmPmFlag(time)), 1)\n                    ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [\n                      createTextVNode(toDisplayString((\"0\" + time).slice(-2)), 1)\n                    ], 64))\n                  ], 64)) : createCommentVNode(\"v-if\", true)\n                ], 2);\n              }), 128))\n            ], 2)\n          ], 42, _hoisted_2);\n        }), 128)) : createCommentVNode(\"v-if\", true)\n      ], 2);\n    };\n  }\n});\nvar TimeSpinner = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/basic-time-spinner.vue\"]]);\n\nexport { TimeSpinner as default };\n//# sourceMappingURL=basic-time-spinner.mjs.map\n","import { defineComponent, inject, ref, computed, openBlock, createBlock, Transition, unref, withCtx, createElementBlock, normalizeClass, createElementVNode, createVNode, toDisplayString, createCommentVNode } from 'vue';\nimport dayjs from 'dayjs';\nimport '../../../../constants/index.mjs';\nimport '../../../../hooks/index.mjs';\nimport '../../../../utils/index.mjs';\nimport { panelTimePickerProps } from '../props/panel-time-picker.mjs';\nimport { useTimePanel } from '../composables/use-time-panel.mjs';\nimport { buildAvailableTimeSlotGetter, useOldValue } from '../composables/use-time-picker.mjs';\nimport TimeSpinner from './basic-time-spinner.mjs';\nimport _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\nimport { useLocale } from '../../../../hooks/use-locale/index.mjs';\nimport { isUndefined } from '../../../../utils/types.mjs';\nimport { EVENT_CODE } from '../../../../constants/aria.mjs';\n\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  __name: \"panel-time-pick\",\n  props: panelTimePickerProps,\n  emits: [\"pick\", \"select-range\", \"set-picker-option\"],\n  setup(__props, { emit }) {\n    const props = __props;\n    const pickerBase = inject(\"EP_PICKER_BASE\");\n    const {\n      arrowControl,\n      disabledHours,\n      disabledMinutes,\n      disabledSeconds,\n      defaultValue\n    } = pickerBase.props;\n    const { getAvailableHours, getAvailableMinutes, getAvailableSeconds } = buildAvailableTimeSlotGetter(disabledHours, disabledMinutes, disabledSeconds);\n    const ns = useNamespace(\"time\");\n    const { t, lang } = useLocale();\n    const selectionRange = ref([0, 2]);\n    const oldValue = useOldValue(props);\n    const transitionName = computed(() => {\n      return isUndefined(props.actualVisible) ? `${ns.namespace.value}-zoom-in-top` : \"\";\n    });\n    const showSeconds = computed(() => {\n      return props.format.includes(\"ss\");\n    });\n    const amPmMode = computed(() => {\n      if (props.format.includes(\"A\"))\n        return \"A\";\n      if (props.format.includes(\"a\"))\n        return \"a\";\n      return \"\";\n    });\n    const isValidValue = (_date) => {\n      const parsedDate = dayjs(_date).locale(lang.value);\n      const result = getRangeAvailableTime(parsedDate);\n      return parsedDate.isSame(result);\n    };\n    const handleCancel = () => {\n      emit(\"pick\", oldValue.value, false);\n    };\n    const handleConfirm = (visible = false, first = false) => {\n      if (first)\n        return;\n      emit(\"pick\", props.parsedValue, visible);\n    };\n    const handleChange = (_date) => {\n      if (!props.visible) {\n        return;\n      }\n      const result = getRangeAvailableTime(_date).millisecond(0);\n      emit(\"pick\", result, true);\n    };\n    const setSelectionRange = (start, end) => {\n      emit(\"select-range\", start, end);\n      selectionRange.value = [start, end];\n    };\n    const changeSelectionRange = (step) => {\n      const list = [0, 3].concat(showSeconds.value ? [6] : []);\n      const mapping = [\"hours\", \"minutes\"].concat(showSeconds.value ? [\"seconds\"] : []);\n      const index = list.indexOf(selectionRange.value[0]);\n      const next = (index + step + list.length) % list.length;\n      timePickerOptions[\"start_emitSelectRange\"](mapping[next]);\n    };\n    const handleKeydown = (event) => {\n      const code = event.code;\n      const { left, right, up, down } = EVENT_CODE;\n      if ([left, right].includes(code)) {\n        const step = code === left ? -1 : 1;\n        changeSelectionRange(step);\n        event.preventDefault();\n        return;\n      }\n      if ([up, down].includes(code)) {\n        const step = code === up ? -1 : 1;\n        timePickerOptions[\"start_scrollDown\"](step);\n        event.preventDefault();\n        return;\n      }\n    };\n    const { timePickerOptions, onSetOption, getAvailableTime } = useTimePanel({\n      getAvailableHours,\n      getAvailableMinutes,\n      getAvailableSeconds\n    });\n    const getRangeAvailableTime = (date) => {\n      return getAvailableTime(date, props.datetimeRole || \"\", true);\n    };\n    const parseUserInput = (value) => {\n      if (!value)\n        return null;\n      return dayjs(value, props.format).locale(lang.value);\n    };\n    const formatToString = (value) => {\n      if (!value)\n        return null;\n      return value.format(props.format);\n    };\n    const getDefaultValue = () => {\n      return dayjs(defaultValue).locale(lang.value);\n    };\n    emit(\"set-picker-option\", [\"isValidValue\", isValidValue]);\n    emit(\"set-picker-option\", [\"formatToString\", formatToString]);\n    emit(\"set-picker-option\", [\"parseUserInput\", parseUserInput]);\n    emit(\"set-picker-option\", [\"handleKeydownInput\", handleKeydown]);\n    emit(\"set-picker-option\", [\"getRangeAvailableTime\", getRangeAvailableTime]);\n    emit(\"set-picker-option\", [\"getDefaultValue\", getDefaultValue]);\n    return (_ctx, _cache) => {\n      return openBlock(), createBlock(Transition, { name: unref(transitionName) }, {\n        default: withCtx(() => [\n          _ctx.actualVisible || _ctx.visible ? (openBlock(), createElementBlock(\"div\", {\n            key: 0,\n            class: normalizeClass(unref(ns).b(\"panel\"))\n          }, [\n            createElementVNode(\"div\", {\n              class: normalizeClass([unref(ns).be(\"panel\", \"content\"), { \"has-seconds\": unref(showSeconds) }])\n            }, [\n              createVNode(TimeSpinner, {\n                ref: \"spinner\",\n                role: _ctx.datetimeRole || \"start\",\n                \"arrow-control\": unref(arrowControl),\n                \"show-seconds\": unref(showSeconds),\n                \"am-pm-mode\": unref(amPmMode),\n                \"spinner-date\": _ctx.parsedValue,\n                \"disabled-hours\": unref(disabledHours),\n                \"disabled-minutes\": unref(disabledMinutes),\n                \"disabled-seconds\": unref(disabledSeconds),\n                onChange: handleChange,\n                onSetOption: unref(onSetOption),\n                onSelectRange: setSelectionRange\n              }, null, 8, [\"role\", \"arrow-control\", \"show-seconds\", \"am-pm-mode\", \"spinner-date\", \"disabled-hours\", \"disabled-minutes\", \"disabled-seconds\", \"onSetOption\"])\n            ], 2),\n            createElementVNode(\"div\", {\n              class: normalizeClass(unref(ns).be(\"panel\", \"footer\"))\n            }, [\n              createElementVNode(\"button\", {\n                type: \"button\",\n                class: normalizeClass([unref(ns).be(\"panel\", \"btn\"), \"cancel\"]),\n                onClick: handleCancel\n              }, toDisplayString(unref(t)(\"el.datepicker.cancel\")), 3),\n              createElementVNode(\"button\", {\n                type: \"button\",\n                class: normalizeClass([unref(ns).be(\"panel\", \"btn\"), \"confirm\"]),\n                onClick: _cache[0] || (_cache[0] = ($event) => handleConfirm())\n              }, toDisplayString(unref(t)(\"el.datepicker.confirm\")), 3)\n            ], 2)\n          ], 2)) : createCommentVNode(\"v-if\", true)\n        ]),\n        _: 1\n      }, 8, [\"name\"]);\n    };\n  }\n});\nvar TimePickPanel = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/panel-time-pick.vue\"]]);\n\nexport { TimePickPanel as default };\n//# sourceMappingURL=panel-time-pick.mjs.map\n","!function(n,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=e():\"function\"==typeof define&&define.amd?define(e):(n=\"undefined\"!=typeof globalThis?globalThis:n||self).dayjs_plugin_localeData=e()}(this,(function(){\"use strict\";return function(n,e,t){var r=e.prototype,o=function(n){return n&&(n.indexOf?n:n.s)},u=function(n,e,t,r,u){var i=n.name?n:n.$locale(),a=o(i[e]),s=o(i[t]),f=a||s.map((function(n){return n.slice(0,r)}));if(!u)return f;var d=i.weekStart;return f.map((function(n,e){return f[(e+(d||0))%7]}))},i=function(){return t.Ls[t.locale()]},a=function(n,e){return n.formats[e]||function(n){return n.replace(/(\\[[^\\]]+])|(MMMM|MM|DD|dddd)/g,(function(n,e,t){return e||t.slice(1)}))}(n.formats[e.toUpperCase()])},s=function(){var n=this;return{months:function(e){return e?e.format(\"MMMM\"):u(n,\"months\")},monthsShort:function(e){return e?e.format(\"MMM\"):u(n,\"monthsShort\",\"months\",3)},firstDayOfWeek:function(){return n.$locale().weekStart||0},weekdays:function(e){return e?e.format(\"dddd\"):u(n,\"weekdays\")},weekdaysMin:function(e){return e?e.format(\"dd\"):u(n,\"weekdaysMin\",\"weekdays\",2)},weekdaysShort:function(e){return e?e.format(\"ddd\"):u(n,\"weekdaysShort\",\"weekdays\",3)},longDateFormat:function(e){return a(n.$locale(),e)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return s.bind(this)()},t.localeData=function(){var n=i();return{firstDayOfWeek:function(){return n.weekStart||0},weekdays:function(){return t.weekdays()},weekdaysShort:function(){return t.weekdaysShort()},weekdaysMin:function(){return t.weekdaysMin()},months:function(){return t.months()},monthsShort:function(){return t.monthsShort()},longDateFormat:function(e){return a(n,e)},meridiem:n.meridiem,ordinal:n.ordinal}},t.months=function(){return u(i(),\"months\")},t.monthsShort=function(){return u(i(),\"monthsShort\",\"months\",3)},t.weekdays=function(n){return u(i(),\"weekdays\",null,null,n)},t.weekdaysShort=function(n){return u(i(),\"weekdaysShort\",\"weekdays\",3,n)},t.weekdaysMin=function(n){return u(i(),\"weekdaysMin\",\"weekdays\",2,n)}}}));","import '../../../constants/index.mjs';\nimport '../../../hooks/index.mjs';\nimport '../../../utils/index.mjs';\nimport { useSizeProp } from '../../../hooks/use-size/index.mjs';\nimport { UPDATE_MODEL_EVENT } from '../../../constants/event.mjs';\nimport { isString } from '@vue/shared';\nimport { isNumber, isBoolean } from '../../../utils/types.mjs';\n\nconst checkboxProps = {\n  modelValue: {\n    type: [Number, String, Boolean],\n    default: void 0\n  },\n  label: {\n    type: [String, Boolean, Number, Object]\n  },\n  indeterminate: Boolean,\n  disabled: Boolean,\n  checked: Boolean,\n  name: {\n    type: String,\n    default: void 0\n  },\n  trueLabel: {\n    type: [String, Number],\n    default: void 0\n  },\n  falseLabel: {\n    type: [String, Number],\n    default: void 0\n  },\n  id: {\n    type: String,\n    default: void 0\n  },\n  controls: {\n    type: String,\n    default: void 0\n  },\n  border: Boolean,\n  size: useSizeProp,\n  tabindex: [String, Number],\n  validateEvent: {\n    type: Boolean,\n    default: true\n  }\n};\nconst checkboxEmits = {\n  [UPDATE_MODEL_EVENT]: (val) => isString(val) || isNumber(val) || isBoolean(val),\n  change: (val) => isString(val) || isNumber(val) || isBoolean(val)\n};\n\nexport { checkboxEmits, checkboxProps };\n//# sourceMappingURL=checkbox.mjs.map\n","const checkboxGroupContextKey = Symbol(\"checkboxGroupContextKey\");\n\nexport { checkboxGroupContextKey };\n//# sourceMappingURL=constants.mjs.map\n","import { inject, computed } from 'vue';\nimport '../../../form/index.mjs';\nimport '../../../../utils/index.mjs';\nimport { checkboxGroupContextKey } from '../constants.mjs';\nimport { isUndefined } from '../../../../utils/types.mjs';\nimport { useFormDisabled } from '../../../form/src/hooks/use-form-common-props.mjs';\n\nconst useCheckboxDisabled = ({\n  model,\n  isChecked\n}) => {\n  const checkboxGroup = inject(checkboxGroupContextKey, void 0);\n  const isLimitDisabled = computed(() => {\n    var _a, _b;\n    const max = (_a = checkboxGroup == null ? void 0 : checkboxGroup.max) == null ? void 0 : _a.value;\n    const min = (_b = checkboxGroup == null ? void 0 : checkboxGroup.min) == null ? void 0 : _b.value;\n    return !isUndefined(max) && model.value.length >= max && !isChecked.value || !isUndefined(min) && model.value.length <= min && isChecked.value;\n  });\n  const isDisabled = useFormDisabled(computed(() => (checkboxGroup == null ? void 0 : checkboxGroup.disabled.value) || isLimitDisabled.value));\n  return {\n    isDisabled,\n    isLimitDisabled\n  };\n};\n\nexport { useCheckboxDisabled };\n//# sourceMappingURL=use-checkbox-disabled.mjs.map\n","import { inject, getCurrentInstance, nextTick, computed, watch } from 'vue';\nimport '../../../form/index.mjs';\nimport '../../../../utils/index.mjs';\nimport { checkboxGroupContextKey } from '../constants.mjs';\nimport { useFormItem } from '../../../form/src/hooks/use-form-item.mjs';\nimport { debugWarn } from '../../../../utils/error.mjs';\n\nconst useCheckboxEvent = (props, {\n  model,\n  isLimitExceeded,\n  hasOwnLabel,\n  isDisabled,\n  isLabeledByFormItem\n}) => {\n  const checkboxGroup = inject(checkboxGroupContextKey, void 0);\n  const { formItem } = useFormItem();\n  const { emit } = getCurrentInstance();\n  function getLabeledValue(value) {\n    var _a, _b;\n    return value === props.trueLabel || value === true ? (_a = props.trueLabel) != null ? _a : true : (_b = props.falseLabel) != null ? _b : false;\n  }\n  function emitChangeEvent(checked, e) {\n    emit(\"change\", getLabeledValue(checked), e);\n  }\n  function handleChange(e) {\n    if (isLimitExceeded.value)\n      return;\n    const target = e.target;\n    emit(\"change\", getLabeledValue(target.checked), e);\n  }\n  async function onClickRoot(e) {\n    if (isLimitExceeded.value)\n      return;\n    if (!hasOwnLabel.value && !isDisabled.value && isLabeledByFormItem.value) {\n      const eventTargets = e.composedPath();\n      const hasLabel = eventTargets.some((item) => item.tagName === \"LABEL\");\n      if (!hasLabel) {\n        model.value = getLabeledValue([false, props.falseLabel].includes(model.value));\n        await nextTick();\n        emitChangeEvent(model.value, e);\n      }\n    }\n  }\n  const validateEvent = computed(() => (checkboxGroup == null ? void 0 : checkboxGroup.validateEvent) || props.validateEvent);\n  watch(() => props.modelValue, () => {\n    if (validateEvent.value) {\n      formItem == null ? void 0 : formItem.validate(\"change\").catch((err) => debugWarn(err));\n    }\n  });\n  return {\n    handleChange,\n    onClickRoot\n  };\n};\n\nexport { useCheckboxEvent };\n//# sourceMappingURL=use-checkbox-event.mjs.map\n","import { ref, getCurrentInstance, inject, computed } from 'vue';\nimport '../../../../utils/index.mjs';\nimport '../../../../constants/index.mjs';\nimport { checkboxGroupContextKey } from '../constants.mjs';\nimport { isUndefined } from '../../../../utils/types.mjs';\nimport { isArray } from '@vue/shared';\nimport { UPDATE_MODEL_EVENT } from '../../../../constants/event.mjs';\n\nconst useCheckboxModel = (props) => {\n  const selfModel = ref(false);\n  const { emit } = getCurrentInstance();\n  const checkboxGroup = inject(checkboxGroupContextKey, void 0);\n  const isGroup = computed(() => isUndefined(checkboxGroup) === false);\n  const isLimitExceeded = ref(false);\n  const model = computed({\n    get() {\n      var _a, _b;\n      return isGroup.value ? (_a = checkboxGroup == null ? void 0 : checkboxGroup.modelValue) == null ? void 0 : _a.value : (_b = props.modelValue) != null ? _b : selfModel.value;\n    },\n    set(val) {\n      var _a, _b;\n      if (isGroup.value && isArray(val)) {\n        isLimitExceeded.value = ((_a = checkboxGroup == null ? void 0 : checkboxGroup.max) == null ? void 0 : _a.value) !== void 0 && val.length > (checkboxGroup == null ? void 0 : checkboxGroup.max.value);\n        isLimitExceeded.value === false && ((_b = checkboxGroup == null ? void 0 : checkboxGroup.changeEvent) == null ? void 0 : _b.call(checkboxGroup, val));\n      } else {\n        emit(UPDATE_MODEL_EVENT, val);\n        selfModel.value = val;\n      }\n    }\n  });\n  return {\n    model,\n    isGroup,\n    isLimitExceeded\n  };\n};\n\nexport { useCheckboxModel };\n//# sourceMappingURL=use-checkbox-model.mjs.map\n","import { inject, ref, computed, toRaw } from 'vue';\nimport { isEqual } from 'lodash-unified';\nimport '../../../form/index.mjs';\nimport '../../../../utils/index.mjs';\nimport { checkboxGroupContextKey } from '../constants.mjs';\nimport { isBoolean } from '../../../../utils/types.mjs';\nimport { isArray, isObject } from '@vue/shared';\nimport { useFormSize } from '../../../form/src/hooks/use-form-common-props.mjs';\n\nconst useCheckboxStatus = (props, slots, { model }) => {\n  const checkboxGroup = inject(checkboxGroupContextKey, void 0);\n  const isFocused = ref(false);\n  const isChecked = computed(() => {\n    const value = model.value;\n    if (isBoolean(value)) {\n      return value;\n    } else if (isArray(value)) {\n      if (isObject(props.label)) {\n        return value.map(toRaw).some((o) => isEqual(o, props.label));\n      } else {\n        return value.map(toRaw).includes(props.label);\n      }\n    } else if (value !== null && value !== void 0) {\n      return value === props.trueLabel;\n    } else {\n      return !!value;\n    }\n  });\n  const checkboxButtonSize = useFormSize(computed(() => {\n    var _a;\n    return (_a = checkboxGroup == null ? void 0 : checkboxGroup.size) == null ? void 0 : _a.value;\n  }), {\n    prop: true\n  });\n  const checkboxSize = useFormSize(computed(() => {\n    var _a;\n    return (_a = checkboxGroup == null ? void 0 : checkboxGroup.size) == null ? void 0 : _a.value;\n  }));\n  const hasOwnLabel = computed(() => {\n    return !!(slots.default || props.label);\n  });\n  return {\n    checkboxButtonSize,\n    isChecked,\n    isFocused,\n    checkboxSize,\n    hasOwnLabel\n  };\n};\n\nexport { useCheckboxStatus };\n//# sourceMappingURL=use-checkbox-status.mjs.map\n","import '../../../form/index.mjs';\nimport '../../../../utils/index.mjs';\nimport { useCheckboxDisabled } from './use-checkbox-disabled.mjs';\nimport { useCheckboxEvent } from './use-checkbox-event.mjs';\nimport { useCheckboxModel } from './use-checkbox-model.mjs';\nimport { useCheckboxStatus } from './use-checkbox-status.mjs';\nimport { isArray } from '@vue/shared';\nimport { useFormItem, useFormItemInputId } from '../../../form/src/hooks/use-form-item.mjs';\n\nconst setStoreValue = (props, { model }) => {\n  function addToStore() {\n    if (isArray(model.value) && !model.value.includes(props.label)) {\n      model.value.push(props.label);\n    } else {\n      model.value = props.trueLabel || true;\n    }\n  }\n  props.checked && addToStore();\n};\nconst useCheckbox = (props, slots) => {\n  const { formItem: elFormItem } = useFormItem();\n  const { model, isGroup, isLimitExceeded } = useCheckboxModel(props);\n  const {\n    isFocused,\n    isChecked,\n    checkboxButtonSize,\n    checkboxSize,\n    hasOwnLabel\n  } = useCheckboxStatus(props, slots, { model });\n  const { isDisabled } = useCheckboxDisabled({ model, isChecked });\n  const { inputId, isLabeledByFormItem } = useFormItemInputId(props, {\n    formItemContext: elFormItem,\n    disableIdGeneration: hasOwnLabel,\n    disableIdManagement: isGroup\n  });\n  const { handleChange, onClickRoot } = useCheckboxEvent(props, {\n    model,\n    isLimitExceeded,\n    hasOwnLabel,\n    isDisabled,\n    isLabeledByFormItem\n  });\n  setStoreValue(props, { model });\n  return {\n    inputId,\n    isLabeledByFormItem,\n    isChecked,\n    isDisabled,\n    isFocused,\n    checkboxButtonSize,\n    checkboxSize,\n    hasOwnLabel,\n    model,\n    handleChange,\n    onClickRoot\n  };\n};\n\nexport { useCheckbox };\n//# sourceMappingURL=use-checkbox.mjs.map\n","import { defineComponent, useSlots, computed, openBlock, createBlock, resolveDynamicComponent, unref, normalizeClass, withCtx, createElementVNode, withDirectives, createElementBlock, isRef, vModelCheckbox, renderSlot, Fragment, createTextVNode, toDisplayString, createCommentVNode } from 'vue';\nimport '../../../hooks/index.mjs';\nimport { checkboxProps, checkboxEmits } from './checkbox.mjs';\nimport './composables/index.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useCheckbox } from './composables/use-checkbox.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst _hoisted_1 = [\"tabindex\", \"role\", \"aria-checked\"];\nconst _hoisted_2 = [\"id\", \"aria-hidden\", \"name\", \"tabindex\", \"disabled\", \"true-value\", \"false-value\"];\nconst _hoisted_3 = [\"id\", \"aria-hidden\", \"disabled\", \"value\", \"name\", \"tabindex\"];\nconst __default__ = defineComponent({\n  name: \"ElCheckbox\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  ...__default__,\n  props: checkboxProps,\n  emits: checkboxEmits,\n  setup(__props) {\n    const props = __props;\n    const slots = useSlots();\n    const {\n      inputId,\n      isLabeledByFormItem,\n      isChecked,\n      isDisabled,\n      isFocused,\n      checkboxSize,\n      hasOwnLabel,\n      model,\n      handleChange,\n      onClickRoot\n    } = useCheckbox(props, slots);\n    const ns = useNamespace(\"checkbox\");\n    const compKls = computed(() => {\n      return [\n        ns.b(),\n        ns.m(checkboxSize.value),\n        ns.is(\"disabled\", isDisabled.value),\n        ns.is(\"bordered\", props.border),\n        ns.is(\"checked\", isChecked.value)\n      ];\n    });\n    const spanKls = computed(() => {\n      return [\n        ns.e(\"input\"),\n        ns.is(\"disabled\", isDisabled.value),\n        ns.is(\"checked\", isChecked.value),\n        ns.is(\"indeterminate\", props.indeterminate),\n        ns.is(\"focus\", isFocused.value)\n      ];\n    });\n    return (_ctx, _cache) => {\n      return openBlock(), createBlock(resolveDynamicComponent(!unref(hasOwnLabel) && unref(isLabeledByFormItem) ? \"span\" : \"label\"), {\n        class: normalizeClass(unref(compKls)),\n        \"aria-controls\": _ctx.indeterminate ? _ctx.controls : null,\n        onClick: unref(onClickRoot)\n      }, {\n        default: withCtx(() => [\n          createElementVNode(\"span\", {\n            class: normalizeClass(unref(spanKls)),\n            tabindex: _ctx.indeterminate ? 0 : void 0,\n            role: _ctx.indeterminate ? \"checkbox\" : void 0,\n            \"aria-checked\": _ctx.indeterminate ? \"mixed\" : void 0\n          }, [\n            _ctx.trueLabel || _ctx.falseLabel ? withDirectives((openBlock(), createElementBlock(\"input\", {\n              key: 0,\n              id: unref(inputId),\n              \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event) => isRef(model) ? model.value = $event : null),\n              class: normalizeClass(unref(ns).e(\"original\")),\n              type: \"checkbox\",\n              \"aria-hidden\": _ctx.indeterminate ? \"true\" : \"false\",\n              name: _ctx.name,\n              tabindex: _ctx.tabindex,\n              disabled: unref(isDisabled),\n              \"true-value\": _ctx.trueLabel,\n              \"false-value\": _ctx.falseLabel,\n              onChange: _cache[1] || (_cache[1] = (...args) => unref(handleChange) && unref(handleChange)(...args)),\n              onFocus: _cache[2] || (_cache[2] = ($event) => isFocused.value = true),\n              onBlur: _cache[3] || (_cache[3] = ($event) => isFocused.value = false)\n            }, null, 42, _hoisted_2)), [\n              [vModelCheckbox, unref(model)]\n            ]) : withDirectives((openBlock(), createElementBlock(\"input\", {\n              key: 1,\n              id: unref(inputId),\n              \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event) => isRef(model) ? model.value = $event : null),\n              class: normalizeClass(unref(ns).e(\"original\")),\n              type: \"checkbox\",\n              \"aria-hidden\": _ctx.indeterminate ? \"true\" : \"false\",\n              disabled: unref(isDisabled),\n              value: _ctx.label,\n              name: _ctx.name,\n              tabindex: _ctx.tabindex,\n              onChange: _cache[5] || (_cache[5] = (...args) => unref(handleChange) && unref(handleChange)(...args)),\n              onFocus: _cache[6] || (_cache[6] = ($event) => isFocused.value = true),\n              onBlur: _cache[7] || (_cache[7] = ($event) => isFocused.value = false)\n            }, null, 42, _hoisted_3)), [\n              [vModelCheckbox, unref(model)]\n            ]),\n            createElementVNode(\"span\", {\n              class: normalizeClass(unref(ns).e(\"inner\"))\n            }, null, 2)\n          ], 10, _hoisted_1),\n          unref(hasOwnLabel) ? (openBlock(), createElementBlock(\"span\", {\n            key: 0,\n            class: normalizeClass(unref(ns).e(\"label\"))\n          }, [\n            renderSlot(_ctx.$slots, \"default\"),\n            !_ctx.$slots.default ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [\n              createTextVNode(toDisplayString(_ctx.label), 1)\n            ], 64)) : createCommentVNode(\"v-if\", true)\n          ], 2)) : createCommentVNode(\"v-if\", true)\n        ]),\n        _: 3\n      }, 8, [\"class\", \"aria-controls\", \"onClick\"]);\n    };\n  }\n});\nvar Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox.vue\"]]);\n\nexport { Checkbox as default };\n//# sourceMappingURL=checkbox2.mjs.map\n","import { defineComponent, useSlots, inject, computed, openBlock, createElementBlock, normalizeClass, unref, withDirectives, isRef, vModelCheckbox, normalizeStyle, renderSlot, createTextVNode, toDisplayString, createCommentVNode } from 'vue';\nimport '../../../hooks/index.mjs';\nimport { checkboxGroupContextKey } from './constants.mjs';\nimport './composables/index.mjs';\nimport { checkboxProps, checkboxEmits } from './checkbox.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useCheckbox } from './composables/use-checkbox.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst _hoisted_1 = [\"name\", \"tabindex\", \"disabled\", \"true-value\", \"false-value\"];\nconst _hoisted_2 = [\"name\", \"tabindex\", \"disabled\", \"value\"];\nconst __default__ = defineComponent({\n  name: \"ElCheckboxButton\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  ...__default__,\n  props: checkboxProps,\n  emits: checkboxEmits,\n  setup(__props) {\n    const props = __props;\n    const slots = useSlots();\n    const {\n      isFocused,\n      isChecked,\n      isDisabled,\n      checkboxButtonSize,\n      model,\n      handleChange\n    } = useCheckbox(props, slots);\n    const checkboxGroup = inject(checkboxGroupContextKey, void 0);\n    const ns = useNamespace(\"checkbox\");\n    const activeStyle = computed(() => {\n      var _a, _b, _c, _d;\n      const fillValue = (_b = (_a = checkboxGroup == null ? void 0 : checkboxGroup.fill) == null ? void 0 : _a.value) != null ? _b : \"\";\n      return {\n        backgroundColor: fillValue,\n        borderColor: fillValue,\n        color: (_d = (_c = checkboxGroup == null ? void 0 : checkboxGroup.textColor) == null ? void 0 : _c.value) != null ? _d : \"\",\n        boxShadow: fillValue ? `-1px 0 0 0 ${fillValue}` : void 0\n      };\n    });\n    const labelKls = computed(() => {\n      return [\n        ns.b(\"button\"),\n        ns.bm(\"button\", checkboxButtonSize.value),\n        ns.is(\"disabled\", isDisabled.value),\n        ns.is(\"checked\", isChecked.value),\n        ns.is(\"focus\", isFocused.value)\n      ];\n    });\n    return (_ctx, _cache) => {\n      return openBlock(), createElementBlock(\"label\", {\n        class: normalizeClass(unref(labelKls))\n      }, [\n        _ctx.trueLabel || _ctx.falseLabel ? withDirectives((openBlock(), createElementBlock(\"input\", {\n          key: 0,\n          \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event) => isRef(model) ? model.value = $event : null),\n          class: normalizeClass(unref(ns).be(\"button\", \"original\")),\n          type: \"checkbox\",\n          name: _ctx.name,\n          tabindex: _ctx.tabindex,\n          disabled: unref(isDisabled),\n          \"true-value\": _ctx.trueLabel,\n          \"false-value\": _ctx.falseLabel,\n          onChange: _cache[1] || (_cache[1] = (...args) => unref(handleChange) && unref(handleChange)(...args)),\n          onFocus: _cache[2] || (_cache[2] = ($event) => isFocused.value = true),\n          onBlur: _cache[3] || (_cache[3] = ($event) => isFocused.value = false)\n        }, null, 42, _hoisted_1)), [\n          [vModelCheckbox, unref(model)]\n        ]) : withDirectives((openBlock(), createElementBlock(\"input\", {\n          key: 1,\n          \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event) => isRef(model) ? model.value = $event : null),\n          class: normalizeClass(unref(ns).be(\"button\", \"original\")),\n          type: \"checkbox\",\n          name: _ctx.name,\n          tabindex: _ctx.tabindex,\n          disabled: unref(isDisabled),\n          value: _ctx.label,\n          onChange: _cache[5] || (_cache[5] = (...args) => unref(handleChange) && unref(handleChange)(...args)),\n          onFocus: _cache[6] || (_cache[6] = ($event) => isFocused.value = true),\n          onBlur: _cache[7] || (_cache[7] = ($event) => isFocused.value = false)\n        }, null, 42, _hoisted_2)), [\n          [vModelCheckbox, unref(model)]\n        ]),\n        _ctx.$slots.default || _ctx.label ? (openBlock(), createElementBlock(\"span\", {\n          key: 2,\n          class: normalizeClass(unref(ns).be(\"button\", \"inner\")),\n          style: normalizeStyle(unref(isChecked) ? unref(activeStyle) : void 0)\n        }, [\n          renderSlot(_ctx.$slots, \"default\", {}, () => [\n            createTextVNode(toDisplayString(_ctx.label), 1)\n          ])\n        ], 6)) : createCommentVNode(\"v-if\", true)\n      ], 2);\n    };\n  }\n});\nvar CheckboxButton = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-button.vue\"]]);\n\nexport { CheckboxButton as default };\n//# sourceMappingURL=checkbox-button.mjs.map\n","import '../../../constants/index.mjs';\nimport '../../../hooks/index.mjs';\nimport '../../../utils/index.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { useSizeProp } from '../../../hooks/use-size/index.mjs';\nimport { UPDATE_MODEL_EVENT } from '../../../constants/event.mjs';\nimport { isArray } from '@vue/shared';\n\nconst checkboxGroupProps = buildProps({\n  modelValue: {\n    type: definePropType(Array),\n    default: () => []\n  },\n  disabled: Boolean,\n  min: Number,\n  max: Number,\n  size: useSizeProp,\n  label: String,\n  fill: String,\n  textColor: String,\n  tag: {\n    type: String,\n    default: \"div\"\n  },\n  validateEvent: {\n    type: Boolean,\n    default: true\n  }\n});\nconst checkboxGroupEmits = {\n  [UPDATE_MODEL_EVENT]: (val) => isArray(val),\n  change: (val) => isArray(val)\n};\n\nexport { checkboxGroupEmits, checkboxGroupProps };\n//# sourceMappingURL=checkbox-group.mjs.map\n","import { defineComponent, nextTick, computed, provide, toRefs, watch, openBlock, createBlock, resolveDynamicComponent, unref, normalizeClass, withCtx, renderSlot } from 'vue';\nimport { pick } from 'lodash-unified';\nimport '../../../constants/index.mjs';\nimport '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport '../../form/index.mjs';\nimport { checkboxGroupProps, checkboxGroupEmits } from './checkbox-group.mjs';\nimport { checkboxGroupContextKey } from './constants.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { useFormItem, useFormItemInputId } from '../../form/src/hooks/use-form-item.mjs';\nimport { UPDATE_MODEL_EVENT } from '../../../constants/event.mjs';\nimport { debugWarn } from '../../../utils/error.mjs';\n\nconst __default__ = defineComponent({\n  name: \"ElCheckboxGroup\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  ...__default__,\n  props: checkboxGroupProps,\n  emits: checkboxGroupEmits,\n  setup(__props, { emit }) {\n    const props = __props;\n    const ns = useNamespace(\"checkbox\");\n    const { formItem } = useFormItem();\n    const { inputId: groupId, isLabeledByFormItem } = useFormItemInputId(props, {\n      formItemContext: formItem\n    });\n    const changeEvent = async (value) => {\n      emit(UPDATE_MODEL_EVENT, value);\n      await nextTick();\n      emit(\"change\", value);\n    };\n    const modelValue = computed({\n      get() {\n        return props.modelValue;\n      },\n      set(val) {\n        changeEvent(val);\n      }\n    });\n    provide(checkboxGroupContextKey, {\n      ...pick(toRefs(props), [\n        \"size\",\n        \"min\",\n        \"max\",\n        \"disabled\",\n        \"validateEvent\",\n        \"fill\",\n        \"textColor\"\n      ]),\n      modelValue,\n      changeEvent\n    });\n    watch(() => props.modelValue, () => {\n      if (props.validateEvent) {\n        formItem == null ? void 0 : formItem.validate(\"change\").catch((err) => debugWarn(err));\n      }\n    });\n    return (_ctx, _cache) => {\n      var _a;\n      return openBlock(), createBlock(resolveDynamicComponent(_ctx.tag), {\n        id: unref(groupId),\n        class: normalizeClass(unref(ns).b(\"group\")),\n        role: \"group\",\n        \"aria-label\": !unref(isLabeledByFormItem) ? _ctx.label || \"checkbox-group\" : void 0,\n        \"aria-labelledby\": unref(isLabeledByFormItem) ? (_a = unref(formItem)) == null ? void 0 : _a.labelId : void 0\n      }, {\n        default: withCtx(() => [\n          renderSlot(_ctx.$slots, \"default\")\n        ]),\n        _: 3\n      }, 8, [\"id\", \"class\", \"aria-label\", \"aria-labelledby\"]);\n    };\n  }\n});\nvar CheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-group.vue\"]]);\n\nexport { CheckboxGroup as default };\n//# sourceMappingURL=checkbox-group2.mjs.map\n","import '../../utils/index.mjs';\nimport Checkbox from './src/checkbox2.mjs';\nimport CheckboxButton from './src/checkbox-button.mjs';\nimport CheckboxGroup from './src/checkbox-group2.mjs';\nexport { checkboxGroupEmits, checkboxGroupProps } from './src/checkbox-group.mjs';\nexport { checkboxEmits, checkboxProps } from './src/checkbox.mjs';\nexport { checkboxGroupContextKey } from './src/constants.mjs';\nimport { withInstall, withNoopInstall } from '../../utils/vue/install.mjs';\n\nconst ElCheckbox = withInstall(Checkbox, {\n  CheckboxButton,\n  CheckboxGroup\n});\nconst ElCheckboxButton = withNoopInstall(CheckboxButton);\nconst ElCheckboxGroup = withNoopInstall(CheckboxGroup);\n\nexport { ElCheckbox, ElCheckboxButton, ElCheckboxGroup, ElCheckbox as default };\n//# sourceMappingURL=index.mjs.map\n","import '../../../utils/index.mjs';\nimport '../../../constants/index.mjs';\nimport { isNumber } from '../../../utils/types.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { mutable } from '../../../utils/typescript.mjs';\nimport { UPDATE_MODEL_EVENT, CHANGE_EVENT } from '../../../constants/event.mjs';\n\nconst emitChangeFn = (value) => typeof isNumber(value);\nconst collapseProps = buildProps({\n  accordion: Boolean,\n  modelValue: {\n    type: definePropType([Array, String, Number]),\n    default: () => mutable([])\n  }\n});\nconst collapseEmits = {\n  [UPDATE_MODEL_EVENT]: emitChangeFn,\n  [CHANGE_EVENT]: emitChangeFn\n};\n\nexport { collapseEmits, collapseProps, emitChangeFn };\n//# sourceMappingURL=collapse.mjs.map\n","const collapseContextKey = Symbol(\"collapseContextKey\");\n\nexport { collapseContextKey };\n//# sourceMappingURL=constants.mjs.map\n","import { ref, watch, provide, computed } from 'vue';\nimport '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport '../../../constants/index.mjs';\nimport { collapseContextKey } from './constants.mjs';\nimport { castArray } from 'lodash-unified';\nimport { UPDATE_MODEL_EVENT, CHANGE_EVENT } from '../../../constants/event.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst useCollapse = (props, emit) => {\n  const activeNames = ref(castArray(props.modelValue));\n  const setActiveNames = (_activeNames) => {\n    activeNames.value = _activeNames;\n    const value = props.accordion ? activeNames.value[0] : activeNames.value;\n    emit(UPDATE_MODEL_EVENT, value);\n    emit(CHANGE_EVENT, value);\n  };\n  const handleItemClick = (name) => {\n    if (props.accordion) {\n      setActiveNames([activeNames.value[0] === name ? \"\" : name]);\n    } else {\n      const _activeNames = [...activeNames.value];\n      const index = _activeNames.indexOf(name);\n      if (index > -1) {\n        _activeNames.splice(index, 1);\n      } else {\n        _activeNames.push(name);\n      }\n      setActiveNames(_activeNames);\n    }\n  };\n  watch(() => props.modelValue, () => activeNames.value = castArray(props.modelValue), { deep: true });\n  provide(collapseContextKey, {\n    activeNames,\n    handleItemClick\n  });\n  return {\n    activeNames,\n    setActiveNames\n  };\n};\nconst useCollapseDOM = () => {\n  const ns = useNamespace(\"collapse\");\n  const rootKls = computed(() => ns.b());\n  return {\n    rootKls\n  };\n};\n\nexport { useCollapse, useCollapseDOM };\n//# sourceMappingURL=use-collapse.mjs.map\n","import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from 'vue';\nimport { collapseProps, collapseEmits } from './collapse.mjs';\nimport { useCollapse, useCollapseDOM } from './use-collapse.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\n\nconst __default__ = defineComponent({\n  name: \"ElCollapse\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  ...__default__,\n  props: collapseProps,\n  emits: collapseEmits,\n  setup(__props, { expose, emit }) {\n    const props = __props;\n    const { activeNames, setActiveNames } = useCollapse(props, emit);\n    const { rootKls } = useCollapseDOM();\n    expose({\n      activeNames,\n      setActiveNames\n    });\n    return (_ctx, _cache) => {\n      return openBlock(), createElementBlock(\"div\", {\n        class: normalizeClass(unref(rootKls)),\n        role: \"tablist\",\n        \"aria-multiselectable\": \"true\"\n      }, [\n        renderSlot(_ctx.$slots, \"default\")\n      ], 2);\n    };\n  }\n});\nvar Collapse = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/collapse/src/collapse.vue\"]]);\n\nexport { Collapse as default };\n//# sourceMappingURL=collapse2.mjs.map\n","import { defineComponent, openBlock, createBlock, Transition, mergeProps, unref, toHandlers, withCtx, renderSlot } from 'vue';\nimport '../../../hooks/index.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst __default__ = defineComponent({\n  name: \"ElCollapseTransition\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  ...__default__,\n  setup(__props) {\n    const ns = useNamespace(\"collapse-transition\");\n    const on = {\n      beforeEnter(el) {\n        if (!el.dataset)\n          el.dataset = {};\n        el.dataset.oldPaddingTop = el.style.paddingTop;\n        el.dataset.oldPaddingBottom = el.style.paddingBottom;\n        el.style.maxHeight = 0;\n        el.style.paddingTop = 0;\n        el.style.paddingBottom = 0;\n      },\n      enter(el) {\n        el.dataset.oldOverflow = el.style.overflow;\n        if (el.scrollHeight !== 0) {\n          el.style.maxHeight = `${el.scrollHeight}px`;\n          el.style.paddingTop = el.dataset.oldPaddingTop;\n          el.style.paddingBottom = el.dataset.oldPaddingBottom;\n        } else {\n          el.style.maxHeight = 0;\n          el.style.paddingTop = el.dataset.oldPaddingTop;\n          el.style.paddingBottom = el.dataset.oldPaddingBottom;\n        }\n        el.style.overflow = \"hidden\";\n      },\n      afterEnter(el) {\n        el.style.maxHeight = \"\";\n        el.style.overflow = el.dataset.oldOverflow;\n      },\n      beforeLeave(el) {\n        if (!el.dataset)\n          el.dataset = {};\n        el.dataset.oldPaddingTop = el.style.paddingTop;\n        el.dataset.oldPaddingBottom = el.style.paddingBottom;\n        el.dataset.oldOverflow = el.style.overflow;\n        el.style.maxHeight = `${el.scrollHeight}px`;\n        el.style.overflow = \"hidden\";\n      },\n      leave(el) {\n        if (el.scrollHeight !== 0) {\n          el.style.maxHeight = 0;\n          el.style.paddingTop = 0;\n          el.style.paddingBottom = 0;\n        }\n      },\n      afterLeave(el) {\n        el.style.maxHeight = \"\";\n        el.style.overflow = el.dataset.oldOverflow;\n        el.style.paddingTop = el.dataset.oldPaddingTop;\n        el.style.paddingBottom = el.dataset.oldPaddingBottom;\n      }\n    };\n    return (_ctx, _cache) => {\n      return openBlock(), createBlock(Transition, mergeProps({\n        name: unref(ns).b()\n      }, toHandlers(on)), {\n        default: withCtx(() => [\n          renderSlot(_ctx.$slots, \"default\")\n        ]),\n        _: 3\n      }, 16, [\"name\"]);\n    };\n  }\n});\nvar CollapseTransition = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/collapse-transition/src/collapse-transition.vue\"]]);\n\nexport { CollapseTransition as default };\n//# sourceMappingURL=collapse-transition.mjs.map\n","import CollapseTransition from './src/collapse-transition.mjs';\n\nCollapseTransition.install = (app) => {\n  app.component(CollapseTransition.name, CollapseTransition);\n};\nconst _CollapseTransition = CollapseTransition;\nconst ElCollapseTransition = _CollapseTransition;\n\nexport { ElCollapseTransition, _CollapseTransition as default };\n//# sourceMappingURL=index.mjs.map\n","import '../../../utils/index.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { generateId } from '../../../utils/rand.mjs';\n\nconst collapseItemProps = buildProps({\n  title: {\n    type: String,\n    default: \"\"\n  },\n  name: {\n    type: definePropType([String, Number]),\n    default: () => generateId()\n  },\n  disabled: Boolean\n});\n\nexport { collapseItemProps };\n//# sourceMappingURL=collapse-item.mjs.map\n","import { inject, ref, computed, unref } from 'vue';\nimport '../../../hooks/index.mjs';\nimport '../../../utils/index.mjs';\nimport { collapseContextKey } from './constants.mjs';\nimport { generateId } from '../../../utils/rand.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst useCollapseItem = (props) => {\n  const collapse = inject(collapseContextKey);\n  const focusing = ref(false);\n  const isClick = ref(false);\n  const id = ref(generateId());\n  const isActive = computed(() => collapse == null ? void 0 : collapse.activeNames.value.includes(props.name));\n  const handleFocus = () => {\n    setTimeout(() => {\n      if (!isClick.value) {\n        focusing.value = true;\n      } else {\n        isClick.value = false;\n      }\n    }, 50);\n  };\n  const handleHeaderClick = () => {\n    if (props.disabled)\n      return;\n    collapse == null ? void 0 : collapse.handleItemClick(props.name);\n    focusing.value = false;\n    isClick.value = true;\n  };\n  const handleEnterClick = () => {\n    collapse == null ? void 0 : collapse.handleItemClick(props.name);\n  };\n  return {\n    focusing,\n    id,\n    isActive,\n    handleFocus,\n    handleHeaderClick,\n    handleEnterClick\n  };\n};\nconst useCollapseItemDOM = (props, { focusing, isActive, id }) => {\n  const ns = useNamespace(\"collapse\");\n  const rootKls = computed(() => [\n    ns.b(\"item\"),\n    ns.is(\"active\", unref(isActive)),\n    ns.is(\"disabled\", props.disabled)\n  ]);\n  const headKls = computed(() => [\n    ns.be(\"item\", \"header\"),\n    ns.is(\"active\", unref(isActive)),\n    { focusing: unref(focusing) && !props.disabled }\n  ]);\n  const arrowKls = computed(() => [\n    ns.be(\"item\", \"arrow\"),\n    ns.is(\"active\", unref(isActive))\n  ]);\n  const itemWrapperKls = computed(() => ns.be(\"item\", \"wrap\"));\n  const itemContentKls = computed(() => ns.be(\"item\", \"content\"));\n  const scopedContentId = computed(() => ns.b(`content-${unref(id)}`));\n  const scopedHeadId = computed(() => ns.b(`head-${unref(id)}`));\n  return {\n    arrowKls,\n    headKls,\n    rootKls,\n    itemWrapperKls,\n    itemContentKls,\n    scopedContentId,\n    scopedHeadId\n  };\n};\n\nexport { useCollapseItem, useCollapseItemDOM };\n//# sourceMappingURL=use-collapse-item.mjs.map\n","import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, withKeys, withModifiers, renderSlot, createTextVNode, toDisplayString, createVNode, withCtx, withDirectives, vShow } from 'vue';\nimport _CollapseTransition from '../../collapse-transition/index.mjs';\nimport { ElIcon } from '../../icon/index.mjs';\nimport { ArrowRight } from '@element-plus/icons-vue';\nimport { collapseItemProps } from './collapse-item.mjs';\nimport { useCollapseItem, useCollapseItemDOM } from './use-collapse-item.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\n\nconst _hoisted_1 = [\"aria-expanded\", \"aria-controls\", \"aria-describedby\"];\nconst _hoisted_2 = [\"id\", \"tabindex\"];\nconst _hoisted_3 = [\"id\", \"aria-hidden\", \"aria-labelledby\"];\nconst __default__ = defineComponent({\n  name: \"ElCollapseItem\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  ...__default__,\n  props: collapseItemProps,\n  setup(__props, { expose }) {\n    const props = __props;\n    const {\n      focusing,\n      id,\n      isActive,\n      handleFocus,\n      handleHeaderClick,\n      handleEnterClick\n    } = useCollapseItem(props);\n    const {\n      arrowKls,\n      headKls,\n      rootKls,\n      itemWrapperKls,\n      itemContentKls,\n      scopedContentId,\n      scopedHeadId\n    } = useCollapseItemDOM(props, { focusing, isActive, id });\n    expose({\n      isActive\n    });\n    return (_ctx, _cache) => {\n      return openBlock(), createElementBlock(\"div\", {\n        class: normalizeClass(unref(rootKls))\n      }, [\n        createElementVNode(\"div\", {\n          role: \"tab\",\n          \"aria-expanded\": unref(isActive),\n          \"aria-controls\": unref(scopedContentId),\n          \"aria-describedby\": unref(scopedContentId)\n        }, [\n          createElementVNode(\"div\", {\n            id: unref(scopedHeadId),\n            class: normalizeClass(unref(headKls)),\n            role: \"button\",\n            tabindex: _ctx.disabled ? -1 : 0,\n            onClick: _cache[0] || (_cache[0] = (...args) => unref(handleHeaderClick) && unref(handleHeaderClick)(...args)),\n            onKeypress: _cache[1] || (_cache[1] = withKeys(withModifiers((...args) => unref(handleEnterClick) && unref(handleEnterClick)(...args), [\"stop\", \"prevent\"]), [\"space\", \"enter\"])),\n            onFocus: _cache[2] || (_cache[2] = (...args) => unref(handleFocus) && unref(handleFocus)(...args)),\n            onBlur: _cache[3] || (_cache[3] = ($event) => focusing.value = false)\n          }, [\n            renderSlot(_ctx.$slots, \"title\", {}, () => [\n              createTextVNode(toDisplayString(_ctx.title), 1)\n            ]),\n            createVNode(unref(ElIcon), {\n              class: normalizeClass(unref(arrowKls))\n            }, {\n              default: withCtx(() => [\n                createVNode(unref(ArrowRight))\n              ]),\n              _: 1\n            }, 8, [\"class\"])\n          ], 42, _hoisted_2)\n        ], 8, _hoisted_1),\n        createVNode(unref(_CollapseTransition), null, {\n          default: withCtx(() => [\n            withDirectives(createElementVNode(\"div\", {\n              id: unref(scopedContentId),\n              class: normalizeClass(unref(itemWrapperKls)),\n              role: \"tabpanel\",\n              \"aria-hidden\": !unref(isActive),\n              \"aria-labelledby\": unref(scopedHeadId)\n            }, [\n              createElementVNode(\"div\", {\n                class: normalizeClass(unref(itemContentKls))\n              }, [\n                renderSlot(_ctx.$slots, \"default\")\n              ], 2)\n            ], 10, _hoisted_3), [\n              [vShow, unref(isActive)]\n            ])\n          ]),\n          _: 3\n        })\n      ], 2);\n    };\n  }\n});\nvar CollapseItem = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/collapse/src/collapse-item.vue\"]]);\n\nexport { CollapseItem as default };\n//# sourceMappingURL=collapse-item2.mjs.map\n","import '../../utils/index.mjs';\nimport Collapse from './src/collapse2.mjs';\nimport CollapseItem from './src/collapse-item2.mjs';\nexport { collapseEmits, collapseProps, emitChangeFn } from './src/collapse.mjs';\nexport { collapseItemProps } from './src/collapse-item.mjs';\nexport { collapseContextKey } from './src/constants.mjs';\nimport { withInstall, withNoopInstall } from '../../utils/vue/install.mjs';\n\nconst ElCollapse = withInstall(Collapse, {\n  CollapseItem\n});\nconst ElCollapseItem = withNoopInstall(CollapseItem);\n\nexport { ElCollapse, ElCollapseItem, ElCollapse as default };\n//# sourceMappingURL=index.mjs.map\n","!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define(t):(e=\"undefined\"!=typeof globalThis?globalThis:e||self).dayjs_plugin_advancedFormat=t()}(this,(function(){\"use strict\";return function(e,t){var r=t.prototype,n=r.format;r.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return n.bind(this)(e);var s=this.$utils(),a=(e||\"YYYY-MM-DDTHH:mm:ssZ\").replace(/\\[([^\\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(e){switch(e){case\"Q\":return Math.ceil((t.$M+1)/3);case\"Do\":return r.ordinal(t.$D);case\"gggg\":return t.weekYear();case\"GGGG\":return t.isoWeekYear();case\"wo\":return r.ordinal(t.week(),\"W\");case\"w\":case\"ww\":return s.s(t.week(),\"w\"===e?1:2,\"0\");case\"W\":case\"WW\":return s.s(t.isoWeek(),\"W\"===e?1:2,\"0\");case\"k\":case\"kk\":return s.s(String(0===t.$H?24:t.$H),\"k\"===e?1:2,\"0\");case\"X\":return Math.floor(t.$d.getTime()/1e3);case\"x\":return t.$d.getTime();case\"z\":return\"[\"+t.offsetName()+\"]\";case\"zzz\":return\"[\"+t.offsetName(\"long\")+\"]\";default:return e}}));return n.bind(this)(a)}}}));","!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define(t):(e=\"undefined\"!=typeof globalThis?globalThis:e||self).dayjs_plugin_weekOfYear=t()}(this,(function(){\"use strict\";var e=\"week\",t=\"year\";return function(i,n,r){var f=n.prototype;f.week=function(i){if(void 0===i&&(i=null),null!==i)return this.add(7*(i-this.week()),\"day\");var n=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var f=r(this).startOf(t).add(1,t).date(n),s=r(this).endOf(e);if(f.isBefore(s))return 1}var a=r(this).startOf(t).date(n).startOf(e).subtract(1,\"millisecond\"),o=this.diff(a,e,!0);return o<0?r(this).startOf(\"week\").week():Math.ceil(o)},f.weeks=function(e){return void 0===e&&(e=null),this.week(e)}}}));","!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define(t):(e=\"undefined\"!=typeof globalThis?globalThis:e||self).dayjs_plugin_weekYear=t()}(this,(function(){\"use strict\";return function(e,t){t.prototype.weekYear=function(){var e=this.month(),t=this.week(),n=this.year();return 1===t&&11===e?n+1:0===e&&t>=52?n-1:n}}}));","!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define(t):(e=\"undefined\"!=typeof globalThis?globalThis:e||self).dayjs_plugin_dayOfYear=t()}(this,(function(){\"use strict\";return function(e,t,n){t.prototype.dayOfYear=function(e){var t=Math.round((n(this).startOf(\"day\")-n(this).startOf(\"year\"))/864e5)+1;return null==e?t:this.add(e-t,\"day\")}}}));","!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define(t):(e=\"undefined\"!=typeof globalThis?globalThis:e||self).dayjs_plugin_isSameOrAfter=t()}(this,(function(){\"use strict\";return function(e,t){t.prototype.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)}}}));","!function(e,i){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=i():\"function\"==typeof define&&define.amd?define(i):(e=\"undefined\"!=typeof globalThis?globalThis:e||self).dayjs_plugin_isSameOrBefore=i()}(this,(function(){\"use strict\";return function(e,i){i.prototype.isSameOrBefore=function(e,i){return this.isSame(e,i)||this.isBefore(e,i)}}}));","const ROOT_PICKER_INJECTION_KEY = Symbol();\n\nexport { ROOT_PICKER_INJECTION_KEY };\n//# sourceMappingURL=constants.mjs.map\n","import '../../../time-picker/index.mjs';\nimport '../../../../utils/index.mjs';\nimport { buildProps, definePropType } from '../../../../utils/vue/props/runtime.mjs';\nimport { timePickerDefaultProps } from '../../../time-picker/src/common/props.mjs';\n\nconst datePickerProps = buildProps({\n  ...timePickerDefaultProps,\n  type: {\n    type: definePropType(String),\n    default: \"date\"\n  }\n});\n\nexport { datePickerProps };\n//# sourceMappingURL=date-picker.mjs.map\n","import '../../../../utils/index.mjs';\nimport '../../../../constants/index.mjs';\nimport { buildProps, definePropType } from '../../../../utils/vue/props/runtime.mjs';\nimport { datePickTypes } from '../../../../constants/date.mjs';\nimport { isArray } from '@vue/shared';\n\nconst selectionModes = [\"date\", \"dates\", \"year\", \"month\", \"week\", \"range\"];\nconst datePickerSharedProps = buildProps({\n  disabledDate: {\n    type: definePropType(Function)\n  },\n  date: {\n    type: definePropType(Object),\n    required: true\n  },\n  minDate: {\n    type: definePropType(Object)\n  },\n  maxDate: {\n    type: definePropType(Object)\n  },\n  parsedValue: {\n    type: definePropType([Object, Array])\n  },\n  rangeState: {\n    type: definePropType(Object),\n    default: () => ({\n      endDate: null,\n      selecting: false\n    })\n  }\n});\nconst panelSharedProps = buildProps({\n  type: {\n    type: definePropType(String),\n    required: true,\n    values: datePickTypes\n  }\n});\nconst panelRangeSharedProps = buildProps({\n  unlinkPanels: Boolean,\n  parsedValue: {\n    type: definePropType(Array)\n  }\n});\nconst selectionModeWithDefault = (mode) => {\n  return {\n    type: String,\n    values: selectionModes,\n    default: mode\n  };\n};\nconst rangePickerSharedEmits = {\n  pick: (range) => isArray(range)\n};\n\nexport { datePickerSharedProps, panelRangeSharedProps, panelSharedProps, rangePickerSharedEmits, selectionModeWithDefault };\n//# sourceMappingURL=shared.mjs.map\n","import '../../../../utils/index.mjs';\nimport { panelSharedProps } from './shared.mjs';\nimport { buildProps, definePropType } from '../../../../utils/vue/props/runtime.mjs';\n\nconst panelDatePickProps = buildProps({\n  ...panelSharedProps,\n  parsedValue: {\n    type: definePropType([Object, Array])\n  },\n  visible: {\n    type: Boolean\n  },\n  format: {\n    type: String,\n    default: \"\"\n  }\n});\n\nexport { panelDatePickProps };\n//# sourceMappingURL=panel-date-pick.mjs.map\n","import '../../../../utils/index.mjs';\nimport { datePickerSharedProps, selectionModeWithDefault } from './shared.mjs';\nimport { buildProps, definePropType } from '../../../../utils/vue/props/runtime.mjs';\n\nconst basicDateTableProps = buildProps({\n  ...datePickerSharedProps,\n  cellClassName: {\n    type: definePropType(Function)\n  },\n  showWeekNumber: Boolean,\n  selectionMode: selectionModeWithDefault(\"date\")\n});\n\nexport { basicDateTableProps };\n//# sourceMappingURL=basic-date-table.mjs.map\n","import dayjs from 'dayjs';\nimport '../../../utils/index.mjs';\nimport { isArray } from '@vue/shared';\n\nconst isValidRange = (range) => {\n  if (!isArray(range))\n    return false;\n  const [left, right] = range;\n  return dayjs.isDayjs(left) && dayjs.isDayjs(right) && left.isSameOrBefore(right);\n};\nconst getDefaultValue = (defaultValue, { lang, unit, unlinkPanels }) => {\n  let start;\n  if (isArray(defaultValue)) {\n    let [left, right] = defaultValue.map((d) => dayjs(d).locale(lang));\n    if (!unlinkPanels) {\n      right = left.add(1, unit);\n    }\n    return [left, right];\n  } else if (defaultValue) {\n    start = dayjs(defaultValue);\n  } else {\n    start = dayjs();\n  }\n  start = start.locale(lang);\n  return [start, start.add(1, unit)];\n};\nconst buildPickerTable = (dimension, rows, {\n  columnIndexOffset,\n  startDate,\n  nextEndDate,\n  now,\n  unit,\n  relativeDateGetter,\n  setCellMetadata,\n  setRowMetadata\n}) => {\n  for (let rowIndex = 0; rowIndex < dimension.row; rowIndex++) {\n    const row = rows[rowIndex];\n    for (let columnIndex = 0; columnIndex < dimension.column; columnIndex++) {\n      let cell = row[columnIndex + columnIndexOffset];\n      if (!cell) {\n        cell = {\n          row: rowIndex,\n          column: columnIndex,\n          type: \"normal\",\n          inRange: false,\n          start: false,\n          end: false\n        };\n      }\n      const index = rowIndex * dimension.column + columnIndex;\n      const nextStartDate = relativeDateGetter(index);\n      cell.dayjs = nextStartDate;\n      cell.date = nextStartDate.toDate();\n      cell.timestamp = nextStartDate.valueOf();\n      cell.type = \"normal\";\n      cell.inRange = !!(startDate && nextStartDate.isSameOrAfter(startDate, unit) && nextEndDate && nextStartDate.isSameOrBefore(nextEndDate, unit)) || !!(startDate && nextStartDate.isSameOrBefore(startDate, unit) && nextEndDate && nextStartDate.isSameOrAfter(nextEndDate, unit));\n      if (startDate == null ? void 0 : startDate.isSameOrAfter(nextEndDate)) {\n        cell.start = !!nextEndDate && nextStartDate.isSame(nextEndDate, unit);\n        cell.end = startDate && nextStartDate.isSame(startDate, unit);\n      } else {\n        cell.start = !!startDate && nextStartDate.isSame(startDate, unit);\n        cell.end = !!nextEndDate && nextStartDate.isSame(nextEndDate, unit);\n      }\n      const isToday = nextStartDate.isSame(now, unit);\n      if (isToday) {\n        cell.type = \"today\";\n      }\n      setCellMetadata == null ? void 0 : setCellMetadata(cell, { rowIndex, columnIndex });\n      row[columnIndex + columnIndexOffset] = cell;\n    }\n    setRowMetadata == null ? void 0 : setRowMetadata(row);\n  }\n};\n\nexport { buildPickerTable, getDefaultValue, isValidRange };\n//# sourceMappingURL=utils.mjs.map\n","import '../../../../utils/index.mjs';\nimport { buildProps, definePropType } from '../../../../utils/vue/props/runtime.mjs';\n\nconst basicCellProps = buildProps({\n  cell: {\n    type: definePropType(Object)\n  }\n});\n\nexport { basicCellProps };\n//# sourceMappingURL=basic-cell.mjs.map\n","import { defineComponent, inject, createVNode } from 'vue';\nimport '../../../../hooks/index.mjs';\nimport { ROOT_PICKER_INJECTION_KEY } from '../constants.mjs';\nimport { basicCellProps } from '../props/basic-cell.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\n\nvar ElDatePickerCell = defineComponent({\n  name: \"ElDatePickerCell\",\n  props: basicCellProps,\n  setup(props) {\n    const ns = useNamespace(\"date-table-cell\");\n    const {\n      slots\n    } = inject(ROOT_PICKER_INJECTION_KEY);\n    return () => {\n      const {\n        cell\n      } = props;\n      if (slots.default) {\n        const list = slots.default(cell).filter((item) => {\n          return item.patchFlag !== -2 && item.type.toString() !== \"Symbol(Comment)\";\n        });\n        if (list.length) {\n          return list;\n        }\n      }\n      return createVNode(\"div\", {\n        \"class\": ns.b()\n      }, [createVNode(\"span\", {\n        \"class\": ns.e(\"text\")\n      }, [cell == null ? void 0 : cell.text])]);\n    };\n  }\n});\n\nexport { ElDatePickerCell as default };\n//# sourceMappingURL=basic-cell-render.mjs.map\n","import { defineComponent, ref, computed, unref, watch, nextTick, openBlock, createElementBlock, normalizeClass, withModifiers, createElementVNode, toDisplayString, createCommentVNode, Fragment, renderList, createVNode } from 'vue';\nimport dayjs from 'dayjs';\nimport { flatten } from 'lodash-unified';\nimport '../../../../hooks/index.mjs';\nimport '../../../../utils/index.mjs';\nimport { basicDateTableProps } from '../props/basic-date-table.mjs';\nimport { buildPickerTable } from '../utils.mjs';\nimport ElDatePickerCell from './basic-cell-render.mjs';\nimport _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\nimport { useLocale } from '../../../../hooks/use-locale/index.mjs';\nimport { castArray } from '../../../../utils/arrays.mjs';\n\nconst _hoisted_1 = [\"aria-label\", \"onMousedown\"];\nconst _hoisted_2 = {\n  key: 0,\n  scope: \"col\"\n};\nconst _hoisted_3 = [\"aria-label\"];\nconst _hoisted_4 = [\"aria-current\", \"aria-selected\", \"tabindex\"];\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  __name: \"basic-date-table\",\n  props: basicDateTableProps,\n  emits: [\"changerange\", \"pick\", \"select\"],\n  setup(__props, { expose, emit }) {\n    const props = __props;\n    const ns = useNamespace(\"date-table\");\n    const { t, lang } = useLocale();\n    const tbodyRef = ref();\n    const currentCellRef = ref();\n    const lastRow = ref();\n    const lastColumn = ref();\n    const tableRows = ref([[], [], [], [], [], []]);\n    let focusWithClick = false;\n    const firstDayOfWeek = props.date.$locale().weekStart || 7;\n    const WEEKS_CONSTANT = props.date.locale(\"en\").localeData().weekdaysShort().map((_) => _.toLowerCase());\n    const offsetDay = computed(() => {\n      return firstDayOfWeek > 3 ? 7 - firstDayOfWeek : -firstDayOfWeek;\n    });\n    const startDate = computed(() => {\n      const startDayOfMonth = props.date.startOf(\"month\");\n      return startDayOfMonth.subtract(startDayOfMonth.day() || 7, \"day\");\n    });\n    const WEEKS = computed(() => {\n      return WEEKS_CONSTANT.concat(WEEKS_CONSTANT).slice(firstDayOfWeek, firstDayOfWeek + 7);\n    });\n    const hasCurrent = computed(() => {\n      return flatten(rows.value).some((row) => {\n        return row.isCurrent;\n      });\n    });\n    const days = computed(() => {\n      const startOfMonth = props.date.startOf(\"month\");\n      const startOfMonthDay = startOfMonth.day() || 7;\n      const dateCountOfMonth = startOfMonth.daysInMonth();\n      const dateCountOfLastMonth = startOfMonth.subtract(1, \"month\").daysInMonth();\n      return {\n        startOfMonthDay,\n        dateCountOfMonth,\n        dateCountOfLastMonth\n      };\n    });\n    const selectedDate = computed(() => {\n      return props.selectionMode === \"dates\" ? castArray(props.parsedValue) : [];\n    });\n    const setDateText = (cell, {\n      count,\n      rowIndex,\n      columnIndex\n    }) => {\n      const { startOfMonthDay, dateCountOfMonth, dateCountOfLastMonth } = unref(days);\n      const offset = unref(offsetDay);\n      if (rowIndex >= 0 && rowIndex <= 1) {\n        const numberOfDaysFromPreviousMonth = startOfMonthDay + offset < 0 ? 7 + startOfMonthDay + offset : startOfMonthDay + offset;\n        if (columnIndex + rowIndex * 7 >= numberOfDaysFromPreviousMonth) {\n          cell.text = count;\n          return true;\n        } else {\n          cell.text = dateCountOfLastMonth - (numberOfDaysFromPreviousMonth - columnIndex % 7) + 1 + rowIndex * 7;\n          cell.type = \"prev-month\";\n        }\n      } else {\n        if (count <= dateCountOfMonth) {\n          cell.text = count;\n        } else {\n          cell.text = count - dateCountOfMonth;\n          cell.type = \"next-month\";\n        }\n        return true;\n      }\n      return false;\n    };\n    const setCellMetadata = (cell, {\n      columnIndex,\n      rowIndex\n    }, count) => {\n      const { disabledDate, cellClassName } = props;\n      const _selectedDate = unref(selectedDate);\n      const shouldIncrement = setDateText(cell, { count, rowIndex, columnIndex });\n      const cellDate = cell.dayjs.toDate();\n      cell.selected = _selectedDate.find((d) => d.valueOf() === cell.dayjs.valueOf());\n      cell.isSelected = !!cell.selected;\n      cell.isCurrent = isCurrent(cell);\n      cell.disabled = disabledDate == null ? void 0 : disabledDate(cellDate);\n      cell.customClass = cellClassName == null ? void 0 : cellClassName(cellDate);\n      return shouldIncrement;\n    };\n    const setRowMetadata = (row) => {\n      if (props.selectionMode === \"week\") {\n        const [start, end] = props.showWeekNumber ? [1, 7] : [0, 6];\n        const isActive = isWeekActive(row[start + 1]);\n        row[start].inRange = isActive;\n        row[start].start = isActive;\n        row[end].inRange = isActive;\n        row[end].end = isActive;\n      }\n    };\n    const rows = computed(() => {\n      const { minDate, maxDate, rangeState, showWeekNumber } = props;\n      const offset = offsetDay.value;\n      const rows_ = tableRows.value;\n      const dateUnit = \"day\";\n      let count = 1;\n      if (showWeekNumber) {\n        for (let rowIndex = 0; rowIndex < 6; rowIndex++) {\n          if (!rows_[rowIndex][0]) {\n            rows_[rowIndex][0] = {\n              type: \"week\",\n              text: startDate.value.add(rowIndex * 7 + 1, dateUnit).week()\n            };\n          }\n        }\n      }\n      buildPickerTable({ row: 6, column: 7 }, rows_, {\n        startDate: minDate,\n        columnIndexOffset: showWeekNumber ? 1 : 0,\n        nextEndDate: rangeState.endDate || maxDate || rangeState.selecting && minDate || null,\n        now: dayjs().locale(unref(lang)).startOf(dateUnit),\n        unit: dateUnit,\n        relativeDateGetter: (idx) => startDate.value.add(idx - offset, dateUnit),\n        setCellMetadata: (...args) => {\n          if (setCellMetadata(...args, count)) {\n            count += 1;\n          }\n        },\n        setRowMetadata\n      });\n      return rows_;\n    });\n    watch(() => props.date, async () => {\n      var _a, _b;\n      if ((_a = tbodyRef.value) == null ? void 0 : _a.contains(document.activeElement)) {\n        await nextTick();\n        (_b = currentCellRef.value) == null ? void 0 : _b.focus();\n      }\n    });\n    const focus = async () => {\n      var _a;\n      (_a = currentCellRef.value) == null ? void 0 : _a.focus();\n    };\n    const isNormalDay = (type = \"\") => {\n      return [\"normal\", \"today\"].includes(type);\n    };\n    const isCurrent = (cell) => {\n      return props.selectionMode === \"date\" && isNormalDay(cell.type) && cellMatchesDate(cell, props.parsedValue);\n    };\n    const cellMatchesDate = (cell, date) => {\n      if (!date)\n        return false;\n      return dayjs(date).locale(lang.value).isSame(props.date.date(Number(cell.text)), \"day\");\n    };\n    const getCellClasses = (cell) => {\n      const classes = [];\n      if (isNormalDay(cell.type) && !cell.disabled) {\n        classes.push(\"available\");\n        if (cell.type === \"today\") {\n          classes.push(\"today\");\n        }\n      } else {\n        classes.push(cell.type);\n      }\n      if (isCurrent(cell)) {\n        classes.push(\"current\");\n      }\n      if (cell.inRange && (isNormalDay(cell.type) || props.selectionMode === \"week\")) {\n        classes.push(\"in-range\");\n        if (cell.start) {\n          classes.push(\"start-date\");\n        }\n        if (cell.end) {\n          classes.push(\"end-date\");\n        }\n      }\n      if (cell.disabled) {\n        classes.push(\"disabled\");\n      }\n      if (cell.selected) {\n        classes.push(\"selected\");\n      }\n      if (cell.customClass) {\n        classes.push(cell.customClass);\n      }\n      return classes.join(\" \");\n    };\n    const getDateOfCell = (row, column) => {\n      const offsetFromStart = row * 7 + (column - (props.showWeekNumber ? 1 : 0)) - offsetDay.value;\n      return startDate.value.add(offsetFromStart, \"day\");\n    };\n    const handleMouseMove = (event) => {\n      var _a;\n      if (!props.rangeState.selecting)\n        return;\n      let target = event.target;\n      if (target.tagName === \"SPAN\") {\n        target = (_a = target.parentNode) == null ? void 0 : _a.parentNode;\n      }\n      if (target.tagName === \"DIV\") {\n        target = target.parentNode;\n      }\n      if (target.tagName !== \"TD\")\n        return;\n      const row = target.parentNode.rowIndex - 1;\n      const column = target.cellIndex;\n      if (rows.value[row][column].disabled)\n        return;\n      if (row !== lastRow.value || column !== lastColumn.value) {\n        lastRow.value = row;\n        lastColumn.value = column;\n        emit(\"changerange\", {\n          selecting: true,\n          endDate: getDateOfCell(row, column)\n        });\n      }\n    };\n    const isSelectedCell = (cell) => {\n      return !hasCurrent.value && (cell == null ? void 0 : cell.text) === 1 && cell.type === \"normal\" || cell.isCurrent;\n    };\n    const handleFocus = (event) => {\n      if (focusWithClick || hasCurrent.value || props.selectionMode !== \"date\")\n        return;\n      handlePickDate(event, true);\n    };\n    const handleMouseDown = (event) => {\n      const target = event.target.closest(\"td\");\n      if (!target)\n        return;\n      focusWithClick = true;\n    };\n    const handleMouseUp = (event) => {\n      const target = event.target.closest(\"td\");\n      if (!target)\n        return;\n      focusWithClick = false;\n    };\n    const handlePickDate = (event, isKeyboardMovement = false) => {\n      const target = event.target.closest(\"td\");\n      if (!target)\n        return;\n      const row = target.parentNode.rowIndex - 1;\n      const column = target.cellIndex;\n      const cell = rows.value[row][column];\n      if (cell.disabled || cell.type === \"week\")\n        return;\n      const newDate = getDateOfCell(row, column);\n      if (props.selectionMode === \"range\") {\n        if (!props.rangeState.selecting || !props.minDate) {\n          emit(\"pick\", { minDate: newDate, maxDate: null });\n          emit(\"select\", true);\n        } else {\n          if (newDate >= props.minDate) {\n            emit(\"pick\", { minDate: props.minDate, maxDate: newDate });\n          } else {\n            emit(\"pick\", { minDate: newDate, maxDate: props.minDate });\n          }\n          emit(\"select\", false);\n        }\n      } else if (props.selectionMode === \"date\") {\n        emit(\"pick\", newDate, isKeyboardMovement);\n      } else if (props.selectionMode === \"week\") {\n        const weekNumber = newDate.week();\n        const value = `${newDate.year()}w${weekNumber}`;\n        emit(\"pick\", {\n          year: newDate.year(),\n          week: weekNumber,\n          value,\n          date: newDate.startOf(\"week\")\n        });\n      } else if (props.selectionMode === \"dates\") {\n        const newValue = cell.selected ? castArray(props.parsedValue).filter((d) => (d == null ? void 0 : d.valueOf()) !== newDate.valueOf()) : castArray(props.parsedValue).concat([newDate]);\n        emit(\"pick\", newValue);\n      }\n    };\n    const isWeekActive = (cell) => {\n      if (props.selectionMode !== \"week\")\n        return false;\n      let newDate = props.date.startOf(\"day\");\n      if (cell.type === \"prev-month\") {\n        newDate = newDate.subtract(1, \"month\");\n      }\n      if (cell.type === \"next-month\") {\n        newDate = newDate.add(1, \"month\");\n      }\n      newDate = newDate.date(Number.parseInt(cell.text, 10));\n      if (props.parsedValue && !Array.isArray(props.parsedValue)) {\n        const dayOffset = (props.parsedValue.day() - firstDayOfWeek + 7) % 7 - 1;\n        const weekDate = props.parsedValue.subtract(dayOffset, \"day\");\n        return weekDate.isSame(newDate, \"day\");\n      }\n      return false;\n    };\n    expose({\n      focus\n    });\n    return (_ctx, _cache) => {\n      return openBlock(), createElementBlock(\"table\", {\n        role: \"grid\",\n        \"aria-label\": unref(t)(\"el.datepicker.dateTablePrompt\"),\n        cellspacing: \"0\",\n        cellpadding: \"0\",\n        class: normalizeClass([unref(ns).b(), { \"is-week-mode\": _ctx.selectionMode === \"week\" }]),\n        onClick: handlePickDate,\n        onMousemove: handleMouseMove,\n        onMousedown: withModifiers(handleMouseDown, [\"prevent\"]),\n        onMouseup: handleMouseUp\n      }, [\n        createElementVNode(\"tbody\", {\n          ref_key: \"tbodyRef\",\n          ref: tbodyRef\n        }, [\n          createElementVNode(\"tr\", null, [\n            _ctx.showWeekNumber ? (openBlock(), createElementBlock(\"th\", _hoisted_2, toDisplayString(unref(t)(\"el.datepicker.week\")), 1)) : createCommentVNode(\"v-if\", true),\n            (openBlock(true), createElementBlock(Fragment, null, renderList(unref(WEEKS), (week, key) => {\n              return openBlock(), createElementBlock(\"th\", {\n                key,\n                scope: \"col\",\n                \"aria-label\": unref(t)(\"el.datepicker.weeksFull.\" + week)\n              }, toDisplayString(unref(t)(\"el.datepicker.weeks.\" + week)), 9, _hoisted_3);\n            }), 128))\n          ]),\n          (openBlock(true), createElementBlock(Fragment, null, renderList(unref(rows), (row, rowKey) => {\n            return openBlock(), createElementBlock(\"tr\", {\n              key: rowKey,\n              class: normalizeClass([unref(ns).e(\"row\"), { current: isWeekActive(row[1]) }])\n            }, [\n              (openBlock(true), createElementBlock(Fragment, null, renderList(row, (cell, columnKey) => {\n                return openBlock(), createElementBlock(\"td\", {\n                  key: `${rowKey}.${columnKey}`,\n                  ref_for: true,\n                  ref: (el) => isSelectedCell(cell) && (currentCellRef.value = el),\n                  class: normalizeClass(getCellClasses(cell)),\n                  \"aria-current\": cell.isCurrent ? \"date\" : void 0,\n                  \"aria-selected\": cell.isCurrent,\n                  tabindex: isSelectedCell(cell) ? 0 : -1,\n                  onFocus: handleFocus\n                }, [\n                  createVNode(unref(ElDatePickerCell), { cell }, null, 8, [\"cell\"])\n                ], 42, _hoisted_4);\n              }), 128))\n            ], 2);\n          }), 128))\n        ], 512)\n      ], 42, _hoisted_1);\n    };\n  }\n});\nvar DateTable = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-date-table.vue\"]]);\n\nexport { DateTable as default };\n//# sourceMappingURL=basic-date-table.mjs.map\n","import '../../../../utils/index.mjs';\nimport { datePickerSharedProps, selectionModeWithDefault } from './shared.mjs';\nimport { buildProps } from '../../../../utils/vue/props/runtime.mjs';\n\nconst basicMonthTableProps = buildProps({\n  ...datePickerSharedProps,\n  selectionMode: selectionModeWithDefault(\"month\")\n});\n\nexport { basicMonthTableProps };\n//# sourceMappingURL=basic-month-table.mjs.map\n","import { defineComponent, ref, computed, watch, nextTick, openBlock, createElementBlock, unref, normalizeClass, createElementVNode, Fragment, renderList, withKeys, withModifiers, toDisplayString } from 'vue';\nimport dayjs from 'dayjs';\nimport '../../../../hooks/index.mjs';\nimport '../../../time-picker/index.mjs';\nimport '../../../../utils/index.mjs';\nimport { basicMonthTableProps } from '../props/basic-month-table.mjs';\nimport _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';\nimport { rangeArr } from '../../../time-picker/src/utils.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\nimport { useLocale } from '../../../../hooks/use-locale/index.mjs';\nimport { castArray } from '../../../../utils/arrays.mjs';\nimport { hasClass } from '../../../../utils/dom/style.mjs';\n\nconst _hoisted_1 = [\"aria-label\"];\nconst _hoisted_2 = [\"aria-selected\", \"aria-label\", \"tabindex\", \"onKeydown\"];\nconst _hoisted_3 = { class: \"cell\" };\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  __name: \"basic-month-table\",\n  props: basicMonthTableProps,\n  emits: [\"changerange\", \"pick\", \"select\"],\n  setup(__props, { expose, emit }) {\n    const props = __props;\n    const datesInMonth = (year, month, lang2) => {\n      const firstDay = dayjs().locale(lang2).startOf(\"month\").month(month).year(year);\n      const numOfDays = firstDay.daysInMonth();\n      return rangeArr(numOfDays).map((n) => firstDay.add(n, \"day\").toDate());\n    };\n    const ns = useNamespace(\"month-table\");\n    const { t, lang } = useLocale();\n    const tbodyRef = ref();\n    const currentCellRef = ref();\n    const months = ref(props.date.locale(\"en\").localeData().monthsShort().map((_) => _.toLowerCase()));\n    const tableRows = ref([\n      [],\n      [],\n      []\n    ]);\n    const lastRow = ref();\n    const lastColumn = ref();\n    const rows = computed(() => {\n      var _a, _b;\n      const rows2 = tableRows.value;\n      const now = dayjs().locale(lang.value).startOf(\"month\");\n      for (let i = 0; i < 3; i++) {\n        const row = rows2[i];\n        for (let j = 0; j < 4; j++) {\n          const cell = row[j] || (row[j] = {\n            row: i,\n            column: j,\n            type: \"normal\",\n            inRange: false,\n            start: false,\n            end: false,\n            text: -1,\n            disabled: false\n          });\n          cell.type = \"normal\";\n          const index = i * 4 + j;\n          const calTime = props.date.startOf(\"year\").month(index);\n          const calEndDate = props.rangeState.endDate || props.maxDate || props.rangeState.selecting && props.minDate || null;\n          cell.inRange = !!(props.minDate && calTime.isSameOrAfter(props.minDate, \"month\") && calEndDate && calTime.isSameOrBefore(calEndDate, \"month\")) || !!(props.minDate && calTime.isSameOrBefore(props.minDate, \"month\") && calEndDate && calTime.isSameOrAfter(calEndDate, \"month\"));\n          if ((_a = props.minDate) == null ? void 0 : _a.isSameOrAfter(calEndDate)) {\n            cell.start = !!(calEndDate && calTime.isSame(calEndDate, \"month\"));\n            cell.end = props.minDate && calTime.isSame(props.minDate, \"month\");\n          } else {\n            cell.start = !!(props.minDate && calTime.isSame(props.minDate, \"month\"));\n            cell.end = !!(calEndDate && calTime.isSame(calEndDate, \"month\"));\n          }\n          const isToday = now.isSame(calTime);\n          if (isToday) {\n            cell.type = \"today\";\n          }\n          cell.text = index;\n          cell.disabled = ((_b = props.disabledDate) == null ? void 0 : _b.call(props, calTime.toDate())) || false;\n        }\n      }\n      return rows2;\n    });\n    const focus = () => {\n      var _a;\n      (_a = currentCellRef.value) == null ? void 0 : _a.focus();\n    };\n    const getCellStyle = (cell) => {\n      const style = {};\n      const year = props.date.year();\n      const today = new Date();\n      const month = cell.text;\n      style.disabled = props.disabledDate ? datesInMonth(year, month, lang.value).every(props.disabledDate) : false;\n      style.current = castArray(props.parsedValue).findIndex((date) => dayjs.isDayjs(date) && date.year() === year && date.month() === month) >= 0;\n      style.today = today.getFullYear() === year && today.getMonth() === month;\n      if (cell.inRange) {\n        style[\"in-range\"] = true;\n        if (cell.start) {\n          style[\"start-date\"] = true;\n        }\n        if (cell.end) {\n          style[\"end-date\"] = true;\n        }\n      }\n      return style;\n    };\n    const isSelectedCell = (cell) => {\n      const year = props.date.year();\n      const month = cell.text;\n      return castArray(props.date).findIndex((date) => date.year() === year && date.month() === month) >= 0;\n    };\n    const handleMouseMove = (event) => {\n      var _a;\n      if (!props.rangeState.selecting)\n        return;\n      let target = event.target;\n      if (target.tagName === \"A\") {\n        target = (_a = target.parentNode) == null ? void 0 : _a.parentNode;\n      }\n      if (target.tagName === \"DIV\") {\n        target = target.parentNode;\n      }\n      if (target.tagName !== \"TD\")\n        return;\n      const row = target.parentNode.rowIndex;\n      const column = target.cellIndex;\n      if (rows.value[row][column].disabled)\n        return;\n      if (row !== lastRow.value || column !== lastColumn.value) {\n        lastRow.value = row;\n        lastColumn.value = column;\n        emit(\"changerange\", {\n          selecting: true,\n          endDate: props.date.startOf(\"year\").month(row * 4 + column)\n        });\n      }\n    };\n    const handleMonthTableClick = (event) => {\n      var _a;\n      const target = (_a = event.target) == null ? void 0 : _a.closest(\"td\");\n      if ((target == null ? void 0 : target.tagName) !== \"TD\")\n        return;\n      if (hasClass(target, \"disabled\"))\n        return;\n      const column = target.cellIndex;\n      const row = target.parentNode.rowIndex;\n      const month = row * 4 + column;\n      const newDate = props.date.startOf(\"year\").month(month);\n      if (props.selectionMode === \"range\") {\n        if (!props.rangeState.selecting) {\n          emit(\"pick\", { minDate: newDate, maxDate: null });\n          emit(\"select\", true);\n        } else {\n          if (props.minDate && newDate >= props.minDate) {\n            emit(\"pick\", { minDate: props.minDate, maxDate: newDate });\n          } else {\n            emit(\"pick\", { minDate: newDate, maxDate: props.minDate });\n          }\n          emit(\"select\", false);\n        }\n      } else {\n        emit(\"pick\", month);\n      }\n    };\n    watch(() => props.date, async () => {\n      var _a, _b;\n      if ((_a = tbodyRef.value) == null ? void 0 : _a.contains(document.activeElement)) {\n        await nextTick();\n        (_b = currentCellRef.value) == null ? void 0 : _b.focus();\n      }\n    });\n    expose({\n      focus\n    });\n    return (_ctx, _cache) => {\n      return openBlock(), createElementBlock(\"table\", {\n        role: \"grid\",\n        \"aria-label\": unref(t)(\"el.datepicker.monthTablePrompt\"),\n        class: normalizeClass(unref(ns).b()),\n        onClick: handleMonthTableClick,\n        onMousemove: handleMouseMove\n      }, [\n        createElementVNode(\"tbody\", {\n          ref_key: \"tbodyRef\",\n          ref: tbodyRef\n        }, [\n          (openBlock(true), createElementBlock(Fragment, null, renderList(unref(rows), (row, key) => {\n            return openBlock(), createElementBlock(\"tr\", { key }, [\n              (openBlock(true), createElementBlock(Fragment, null, renderList(row, (cell, key_) => {\n                return openBlock(), createElementBlock(\"td\", {\n                  key: key_,\n                  ref_for: true,\n                  ref: (el) => isSelectedCell(cell) && (currentCellRef.value = el),\n                  class: normalizeClass(getCellStyle(cell)),\n                  \"aria-selected\": `${isSelectedCell(cell)}`,\n                  \"aria-label\": unref(t)(`el.datepicker.month${+cell.text + 1}`),\n                  tabindex: isSelectedCell(cell) ? 0 : -1,\n                  onKeydown: [\n                    withKeys(withModifiers(handleMonthTableClick, [\"prevent\", \"stop\"]), [\"space\"]),\n                    withKeys(withModifiers(handleMonthTableClick, [\"prevent\", \"stop\"]), [\"enter\"])\n                  ]\n                }, [\n                  createElementVNode(\"div\", null, [\n                    createElementVNode(\"span\", _hoisted_3, toDisplayString(unref(t)(\"el.datepicker.months.\" + months.value[cell.text])), 1)\n                  ])\n                ], 42, _hoisted_2);\n              }), 128))\n            ]);\n          }), 128))\n        ], 512)\n      ], 42, _hoisted_1);\n    };\n  }\n});\nvar MonthTable = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-month-table.vue\"]]);\n\nexport { MonthTable as default };\n//# sourceMappingURL=basic-month-table.mjs.map\n","import '../../../../utils/index.mjs';\nimport { datePickerSharedProps } from './shared.mjs';\nimport { buildProps } from '../../../../utils/vue/props/runtime.mjs';\n\nconst { date, disabledDate, parsedValue } = datePickerSharedProps;\nconst basicYearTableProps = buildProps({\n  date,\n  disabledDate,\n  parsedValue\n});\n\nexport { basicYearTableProps };\n//# sourceMappingURL=basic-year-table.mjs.map\n","import { defineComponent, ref, computed, watch, nextTick, openBlock, createElementBlock, unref, normalizeClass, createElementVNode, Fragment, renderList, withKeys, withModifiers, toDisplayString } from 'vue';\nimport dayjs from 'dayjs';\nimport '../../../../hooks/index.mjs';\nimport '../../../time-picker/index.mjs';\nimport '../../../../utils/index.mjs';\nimport { basicYearTableProps } from '../props/basic-year-table.mjs';\nimport _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';\nimport { rangeArr } from '../../../time-picker/src/utils.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\nimport { useLocale } from '../../../../hooks/use-locale/index.mjs';\nimport { castArray } from '../../../../utils/arrays.mjs';\nimport { hasClass } from '../../../../utils/dom/style.mjs';\n\nconst _hoisted_1 = [\"aria-label\"];\nconst _hoisted_2 = [\"aria-selected\", \"tabindex\", \"onKeydown\"];\nconst _hoisted_3 = { class: \"cell\" };\nconst _hoisted_4 = { key: 1 };\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  __name: \"basic-year-table\",\n  props: basicYearTableProps,\n  emits: [\"pick\"],\n  setup(__props, { expose, emit }) {\n    const props = __props;\n    const datesInYear = (year, lang2) => {\n      const firstDay = dayjs(String(year)).locale(lang2).startOf(\"year\");\n      const lastDay = firstDay.endOf(\"year\");\n      const numOfDays = lastDay.dayOfYear();\n      return rangeArr(numOfDays).map((n) => firstDay.add(n, \"day\").toDate());\n    };\n    const ns = useNamespace(\"year-table\");\n    const { t, lang } = useLocale();\n    const tbodyRef = ref();\n    const currentCellRef = ref();\n    const startYear = computed(() => {\n      return Math.floor(props.date.year() / 10) * 10;\n    });\n    const focus = () => {\n      var _a;\n      (_a = currentCellRef.value) == null ? void 0 : _a.focus();\n    };\n    const getCellKls = (year) => {\n      const kls = {};\n      const today = dayjs().locale(lang.value);\n      kls.disabled = props.disabledDate ? datesInYear(year, lang.value).every(props.disabledDate) : false;\n      kls.current = castArray(props.parsedValue).findIndex((d) => d.year() === year) >= 0;\n      kls.today = today.year() === year;\n      return kls;\n    };\n    const isSelectedCell = (year) => {\n      return year === startYear.value && props.date.year() < startYear.value && props.date.year() > startYear.value + 9 || castArray(props.date).findIndex((date) => date.year() === year) >= 0;\n    };\n    const handleYearTableClick = (event) => {\n      const clickTarget = event.target;\n      const target = clickTarget.closest(\"td\");\n      if (target && target.textContent) {\n        if (hasClass(target, \"disabled\"))\n          return;\n        const year = target.textContent || target.innerText;\n        emit(\"pick\", Number(year));\n      }\n    };\n    watch(() => props.date, async () => {\n      var _a, _b;\n      if ((_a = tbodyRef.value) == null ? void 0 : _a.contains(document.activeElement)) {\n        await nextTick();\n        (_b = currentCellRef.value) == null ? void 0 : _b.focus();\n      }\n    });\n    expose({\n      focus\n    });\n    return (_ctx, _cache) => {\n      return openBlock(), createElementBlock(\"table\", {\n        role: \"grid\",\n        \"aria-label\": unref(t)(\"el.datepicker.yearTablePrompt\"),\n        class: normalizeClass(unref(ns).b()),\n        onClick: handleYearTableClick\n      }, [\n        createElementVNode(\"tbody\", {\n          ref_key: \"tbodyRef\",\n          ref: tbodyRef\n        }, [\n          (openBlock(), createElementBlock(Fragment, null, renderList(3, (_, i) => {\n            return createElementVNode(\"tr\", { key: i }, [\n              (openBlock(), createElementBlock(Fragment, null, renderList(4, (__, j) => {\n                return openBlock(), createElementBlock(Fragment, {\n                  key: i + \"_\" + j\n                }, [\n                  i * 4 + j < 10 ? (openBlock(), createElementBlock(\"td\", {\n                    key: 0,\n                    ref_for: true,\n                    ref: (el) => isSelectedCell(unref(startYear) + i * 4 + j) && (currentCellRef.value = el),\n                    class: normalizeClass([\"available\", getCellKls(unref(startYear) + i * 4 + j)]),\n                    \"aria-selected\": `${isSelectedCell(unref(startYear) + i * 4 + j)}`,\n                    tabindex: isSelectedCell(unref(startYear) + i * 4 + j) ? 0 : -1,\n                    onKeydown: [\n                      withKeys(withModifiers(handleYearTableClick, [\"prevent\", \"stop\"]), [\"space\"]),\n                      withKeys(withModifiers(handleYearTableClick, [\"prevent\", \"stop\"]), [\"enter\"])\n                    ]\n                  }, [\n                    createElementVNode(\"span\", _hoisted_3, toDisplayString(unref(startYear) + i * 4 + j), 1)\n                  ], 42, _hoisted_2)) : (openBlock(), createElementBlock(\"td\", _hoisted_4))\n                ], 64);\n              }), 64))\n            ]);\n          }), 64))\n        ], 512)\n      ], 10, _hoisted_1);\n    };\n  }\n});\nvar YearTable = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-year-table.vue\"]]);\n\nexport { YearTable as default };\n//# sourceMappingURL=basic-year-table.mjs.map\n","import { defineComponent, useAttrs, useSlots, inject, toRef, ref, computed, nextTick, watch, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, renderSlot, Fragment, renderList, toDisplayString, createCommentVNode, createVNode, withDirectives, withCtx, vShow, withKeys, createBlock, createTextVNode } from 'vue';\nimport dayjs from 'dayjs';\nimport { ElButton } from '../../../button/index.mjs';\nimport '../../../../directives/index.mjs';\nimport '../../../../hooks/index.mjs';\nimport { ElInput } from '../../../input/index.mjs';\nimport '../../../time-picker/index.mjs';\nimport { ElIcon } from '../../../icon/index.mjs';\nimport '../../../../utils/index.mjs';\nimport '../../../../constants/index.mjs';\nimport { DArrowLeft, ArrowLeft, ArrowRight, DArrowRight } from '@element-plus/icons-vue';\nimport '../../../tooltip/index.mjs';\nimport { panelDatePickProps } from '../props/panel-date-pick.mjs';\nimport DateTable from './basic-date-table.mjs';\nimport MonthTable from './basic-month-table.mjs';\nimport YearTable from './basic-year-table.mjs';\nimport _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\nimport { useLocale } from '../../../../hooks/use-locale/index.mjs';\nimport { TOOLTIP_INJECTION_KEY } from '../../../tooltip/src/constants.mjs';\nimport { isArray, isFunction } from '@vue/shared';\nimport { extractTimeFormat, extractDateFormat } from '../../../time-picker/src/utils.mjs';\nimport { EVENT_CODE } from '../../../../constants/aria.mjs';\nimport TimePickPanel from '../../../time-picker/src/time-picker-com/panel-time-pick.mjs';\nimport ClickOutside from '../../../../directives/click-outside/index.mjs';\n\nconst _hoisted_1 = [\"onClick\"];\nconst _hoisted_2 = [\"aria-label\"];\nconst _hoisted_3 = [\"aria-label\"];\nconst _hoisted_4 = [\"aria-label\"];\nconst _hoisted_5 = [\"aria-label\"];\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  __name: \"panel-date-pick\",\n  props: panelDatePickProps,\n  emits: [\"pick\", \"set-picker-option\", \"panel-change\"],\n  setup(__props, { emit: contextEmit }) {\n    const props = __props;\n    const timeWithinRange = (_, __, ___) => true;\n    const ppNs = useNamespace(\"picker-panel\");\n    const dpNs = useNamespace(\"date-picker\");\n    const attrs = useAttrs();\n    const slots = useSlots();\n    const { t, lang } = useLocale();\n    const pickerBase = inject(\"EP_PICKER_BASE\");\n    const popper = inject(TOOLTIP_INJECTION_KEY);\n    const { shortcuts, disabledDate, cellClassName, defaultTime, arrowControl } = pickerBase.props;\n    const defaultValue = toRef(pickerBase.props, \"defaultValue\");\n    const currentViewRef = ref();\n    const innerDate = ref(dayjs().locale(lang.value));\n    const isChangeToNow = ref(false);\n    const defaultTimeD = computed(() => {\n      return dayjs(defaultTime).locale(lang.value);\n    });\n    const month = computed(() => {\n      return innerDate.value.month();\n    });\n    const year = computed(() => {\n      return innerDate.value.year();\n    });\n    const selectableRange = ref([]);\n    const userInputDate = ref(null);\n    const userInputTime = ref(null);\n    const checkDateWithinRange = (date) => {\n      return selectableRange.value.length > 0 ? timeWithinRange(date, selectableRange.value, props.format || \"HH:mm:ss\") : true;\n    };\n    const formatEmit = (emitDayjs) => {\n      if (defaultTime && !visibleTime.value && !isChangeToNow.value) {\n        return defaultTimeD.value.year(emitDayjs.year()).month(emitDayjs.month()).date(emitDayjs.date());\n      }\n      if (showTime.value)\n        return emitDayjs.millisecond(0);\n      return emitDayjs.startOf(\"day\");\n    };\n    const emit = (value, ...args) => {\n      if (!value) {\n        contextEmit(\"pick\", value, ...args);\n      } else if (isArray(value)) {\n        const dates = value.map(formatEmit);\n        contextEmit(\"pick\", dates, ...args);\n      } else {\n        contextEmit(\"pick\", formatEmit(value), ...args);\n      }\n      userInputDate.value = null;\n      userInputTime.value = null;\n      isChangeToNow.value = false;\n    };\n    const handleDatePick = (value, keepOpen) => {\n      if (selectionMode.value === \"date\") {\n        value = value;\n        let newDate = props.parsedValue ? props.parsedValue.year(value.year()).month(value.month()).date(value.date()) : value;\n        if (!checkDateWithinRange(newDate)) {\n          newDate = selectableRange.value[0][0].year(value.year()).month(value.month()).date(value.date());\n        }\n        innerDate.value = newDate;\n        emit(newDate, showTime.value || keepOpen);\n      } else if (selectionMode.value === \"week\") {\n        emit(value.date);\n      } else if (selectionMode.value === \"dates\") {\n        emit(value, true);\n      }\n    };\n    const moveByMonth = (forward) => {\n      const action = forward ? \"add\" : \"subtract\";\n      innerDate.value = innerDate.value[action](1, \"month\");\n      handlePanelChange(\"month\");\n    };\n    const moveByYear = (forward) => {\n      const currentDate = innerDate.value;\n      const action = forward ? \"add\" : \"subtract\";\n      innerDate.value = currentView.value === \"year\" ? currentDate[action](10, \"year\") : currentDate[action](1, \"year\");\n      handlePanelChange(\"year\");\n    };\n    const currentView = ref(\"date\");\n    const yearLabel = computed(() => {\n      const yearTranslation = t(\"el.datepicker.year\");\n      if (currentView.value === \"year\") {\n        const startYear = Math.floor(year.value / 10) * 10;\n        if (yearTranslation) {\n          return `${startYear} ${yearTranslation} - ${startYear + 9} ${yearTranslation}`;\n        }\n        return `${startYear} - ${startYear + 9}`;\n      }\n      return `${year.value} ${yearTranslation}`;\n    });\n    const handleShortcutClick = (shortcut) => {\n      const shortcutValue = isFunction(shortcut.value) ? shortcut.value() : shortcut.value;\n      if (shortcutValue) {\n        emit(dayjs(shortcutValue).locale(lang.value));\n        return;\n      }\n      if (shortcut.onClick) {\n        shortcut.onClick({\n          attrs,\n          slots,\n          emit: contextEmit\n        });\n      }\n    };\n    const selectionMode = computed(() => {\n      const { type } = props;\n      if ([\"week\", \"month\", \"year\", \"dates\"].includes(type))\n        return type;\n      return \"date\";\n    });\n    const keyboardMode = computed(() => {\n      return selectionMode.value === \"date\" ? currentView.value : selectionMode.value;\n    });\n    const hasShortcuts = computed(() => !!shortcuts.length);\n    const handleMonthPick = async (month2) => {\n      innerDate.value = innerDate.value.startOf(\"month\").month(month2);\n      if (selectionMode.value === \"month\") {\n        emit(innerDate.value, false);\n      } else {\n        currentView.value = \"date\";\n        if ([\"month\", \"year\", \"date\", \"week\"].includes(selectionMode.value)) {\n          emit(innerDate.value, true);\n          await nextTick();\n          handleFocusPicker();\n        }\n      }\n      handlePanelChange(\"month\");\n    };\n    const handleYearPick = async (year2) => {\n      if (selectionMode.value === \"year\") {\n        innerDate.value = innerDate.value.startOf(\"year\").year(year2);\n        emit(innerDate.value, false);\n      } else {\n        innerDate.value = innerDate.value.year(year2);\n        currentView.value = \"month\";\n        if ([\"month\", \"year\", \"date\", \"week\"].includes(selectionMode.value)) {\n          emit(innerDate.value, true);\n          await nextTick();\n          handleFocusPicker();\n        }\n      }\n      handlePanelChange(\"year\");\n    };\n    const showPicker = async (view) => {\n      currentView.value = view;\n      await nextTick();\n      handleFocusPicker();\n    };\n    const showTime = computed(() => props.type === \"datetime\" || props.type === \"datetimerange\");\n    const footerVisible = computed(() => {\n      return showTime.value || selectionMode.value === \"dates\";\n    });\n    const onConfirm = () => {\n      if (selectionMode.value === \"dates\") {\n        emit(props.parsedValue);\n      } else {\n        let result = props.parsedValue;\n        if (!result) {\n          const defaultTimeD2 = dayjs(defaultTime).locale(lang.value);\n          const defaultValueD = getDefaultValue();\n          result = defaultTimeD2.year(defaultValueD.year()).month(defaultValueD.month()).date(defaultValueD.date());\n        }\n        innerDate.value = result;\n        emit(result);\n      }\n    };\n    const changeToNow = () => {\n      const now = dayjs().locale(lang.value);\n      const nowDate = now.toDate();\n      isChangeToNow.value = true;\n      if ((!disabledDate || !disabledDate(nowDate)) && checkDateWithinRange(nowDate)) {\n        innerDate.value = dayjs().locale(lang.value);\n        emit(innerDate.value);\n      }\n    };\n    const timeFormat = computed(() => {\n      return extractTimeFormat(props.format);\n    });\n    const dateFormat = computed(() => {\n      return extractDateFormat(props.format);\n    });\n    const visibleTime = computed(() => {\n      if (userInputTime.value)\n        return userInputTime.value;\n      if (!props.parsedValue && !defaultValue.value)\n        return;\n      return (props.parsedValue || innerDate.value).format(timeFormat.value);\n    });\n    const visibleDate = computed(() => {\n      if (userInputDate.value)\n        return userInputDate.value;\n      if (!props.parsedValue && !defaultValue.value)\n        return;\n      return (props.parsedValue || innerDate.value).format(dateFormat.value);\n    });\n    const timePickerVisible = ref(false);\n    const onTimePickerInputFocus = () => {\n      timePickerVisible.value = true;\n    };\n    const handleTimePickClose = () => {\n      timePickerVisible.value = false;\n    };\n    const getUnits = (date) => {\n      return {\n        hour: date.hour(),\n        minute: date.minute(),\n        second: date.second(),\n        year: date.year(),\n        month: date.month(),\n        date: date.date()\n      };\n    };\n    const handleTimePick = (value, visible, first) => {\n      const { hour, minute, second } = getUnits(value);\n      const newDate = props.parsedValue ? props.parsedValue.hour(hour).minute(minute).second(second) : value;\n      innerDate.value = newDate;\n      emit(innerDate.value, true);\n      if (!first) {\n        timePickerVisible.value = visible;\n      }\n    };\n    const handleVisibleTimeChange = (value) => {\n      const newDate = dayjs(value, timeFormat.value).locale(lang.value);\n      if (newDate.isValid() && checkDateWithinRange(newDate)) {\n        const { year: year2, month: month2, date } = getUnits(innerDate.value);\n        innerDate.value = newDate.year(year2).month(month2).date(date);\n        userInputTime.value = null;\n        timePickerVisible.value = false;\n        emit(innerDate.value, true);\n      }\n    };\n    const handleVisibleDateChange = (value) => {\n      const newDate = dayjs(value, dateFormat.value).locale(lang.value);\n      if (newDate.isValid()) {\n        if (disabledDate && disabledDate(newDate.toDate())) {\n          return;\n        }\n        const { hour, minute, second } = getUnits(innerDate.value);\n        innerDate.value = newDate.hour(hour).minute(minute).second(second);\n        userInputDate.value = null;\n        emit(innerDate.value, true);\n      }\n    };\n    const isValidValue = (date) => {\n      return dayjs.isDayjs(date) && date.isValid() && (disabledDate ? !disabledDate(date.toDate()) : true);\n    };\n    const formatToString = (value) => {\n      if (selectionMode.value === \"dates\") {\n        return value.map((_) => _.format(props.format));\n      }\n      return value.format(props.format);\n    };\n    const parseUserInput = (value) => {\n      return dayjs(value, props.format).locale(lang.value);\n    };\n    const getDefaultValue = () => {\n      const parseDate = dayjs(defaultValue.value).locale(lang.value);\n      if (!defaultValue.value) {\n        const defaultTimeDValue = defaultTimeD.value;\n        return dayjs().hour(defaultTimeDValue.hour()).minute(defaultTimeDValue.minute()).second(defaultTimeDValue.second()).locale(lang.value);\n      }\n      return parseDate;\n    };\n    const handleFocusPicker = async () => {\n      var _a;\n      if ([\"week\", \"month\", \"year\", \"date\"].includes(selectionMode.value)) {\n        (_a = currentViewRef.value) == null ? void 0 : _a.focus();\n        if (selectionMode.value === \"week\") {\n          handleKeyControl(EVENT_CODE.down);\n        }\n      }\n    };\n    const handleKeydownTable = (event) => {\n      const { code } = event;\n      const validCode = [\n        EVENT_CODE.up,\n        EVENT_CODE.down,\n        EVENT_CODE.left,\n        EVENT_CODE.right,\n        EVENT_CODE.home,\n        EVENT_CODE.end,\n        EVENT_CODE.pageUp,\n        EVENT_CODE.pageDown\n      ];\n      if (validCode.includes(code)) {\n        handleKeyControl(code);\n        event.stopPropagation();\n        event.preventDefault();\n      }\n      if ([EVENT_CODE.enter, EVENT_CODE.space, EVENT_CODE.numpadEnter].includes(code) && userInputDate.value === null && userInputTime.value === null) {\n        event.preventDefault();\n        emit(innerDate.value, false);\n      }\n    };\n    const handleKeyControl = (code) => {\n      var _a;\n      const { up, down, left, right, home, end, pageUp, pageDown } = EVENT_CODE;\n      const mapping = {\n        year: {\n          [up]: -4,\n          [down]: 4,\n          [left]: -1,\n          [right]: 1,\n          offset: (date, step) => date.setFullYear(date.getFullYear() + step)\n        },\n        month: {\n          [up]: -4,\n          [down]: 4,\n          [left]: -1,\n          [right]: 1,\n          offset: (date, step) => date.setMonth(date.getMonth() + step)\n        },\n        week: {\n          [up]: -1,\n          [down]: 1,\n          [left]: -1,\n          [right]: 1,\n          offset: (date, step) => date.setDate(date.getDate() + step * 7)\n        },\n        date: {\n          [up]: -7,\n          [down]: 7,\n          [left]: -1,\n          [right]: 1,\n          [home]: (date) => -date.getDay(),\n          [end]: (date) => -date.getDay() + 6,\n          [pageUp]: (date) => -new Date(date.getFullYear(), date.getMonth(), 0).getDate(),\n          [pageDown]: (date) => new Date(date.getFullYear(), date.getMonth() + 1, 0).getDate(),\n          offset: (date, step) => date.setDate(date.getDate() + step)\n        }\n      };\n      const newDate = innerDate.value.toDate();\n      while (Math.abs(innerDate.value.diff(newDate, \"year\", true)) < 1) {\n        const map = mapping[keyboardMode.value];\n        if (!map)\n          return;\n        map.offset(newDate, isFunction(map[code]) ? map[code](newDate) : (_a = map[code]) != null ? _a : 0);\n        if (disabledDate && disabledDate(newDate)) {\n          break;\n        }\n        const result = dayjs(newDate).locale(lang.value);\n        innerDate.value = result;\n        contextEmit(\"pick\", result, true);\n        break;\n      }\n    };\n    const handlePanelChange = (mode) => {\n      contextEmit(\"panel-change\", innerDate.value.toDate(), mode, currentView.value);\n    };\n    watch(() => selectionMode.value, (val) => {\n      if ([\"month\", \"year\"].includes(val)) {\n        currentView.value = val;\n        return;\n      }\n      currentView.value = \"date\";\n    }, { immediate: true });\n    watch(() => currentView.value, () => {\n      popper == null ? void 0 : popper.updatePopper();\n    });\n    watch(() => defaultValue.value, (val) => {\n      if (val) {\n        innerDate.value = getDefaultValue();\n      }\n    }, { immediate: true });\n    watch(() => props.parsedValue, (val) => {\n      if (val) {\n        if (selectionMode.value === \"dates\")\n          return;\n        if (Array.isArray(val))\n          return;\n        innerDate.value = val;\n      } else {\n        innerDate.value = getDefaultValue();\n      }\n    }, { immediate: true });\n    contextEmit(\"set-picker-option\", [\"isValidValue\", isValidValue]);\n    contextEmit(\"set-picker-option\", [\"formatToString\", formatToString]);\n    contextEmit(\"set-picker-option\", [\"parseUserInput\", parseUserInput]);\n    contextEmit(\"set-picker-option\", [\"handleFocusPicker\", handleFocusPicker]);\n    return (_ctx, _cache) => {\n      return openBlock(), createElementBlock(\"div\", {\n        class: normalizeClass([\n          unref(ppNs).b(),\n          unref(dpNs).b(),\n          {\n            \"has-sidebar\": _ctx.$slots.sidebar || unref(hasShortcuts),\n            \"has-time\": unref(showTime)\n          }\n        ])\n      }, [\n        createElementVNode(\"div\", {\n          class: normalizeClass(unref(ppNs).e(\"body-wrapper\"))\n        }, [\n          renderSlot(_ctx.$slots, \"sidebar\", {\n            class: normalizeClass(unref(ppNs).e(\"sidebar\"))\n          }),\n          unref(hasShortcuts) ? (openBlock(), createElementBlock(\"div\", {\n            key: 0,\n            class: normalizeClass(unref(ppNs).e(\"sidebar\"))\n          }, [\n            (openBlock(true), createElementBlock(Fragment, null, renderList(unref(shortcuts), (shortcut, key) => {\n              return openBlock(), createElementBlock(\"button\", {\n                key,\n                type: \"button\",\n                class: normalizeClass(unref(ppNs).e(\"shortcut\")),\n                onClick: ($event) => handleShortcutClick(shortcut)\n              }, toDisplayString(shortcut.text), 11, _hoisted_1);\n            }), 128))\n          ], 2)) : createCommentVNode(\"v-if\", true),\n          createElementVNode(\"div\", {\n            class: normalizeClass(unref(ppNs).e(\"body\"))\n          }, [\n            unref(showTime) ? (openBlock(), createElementBlock(\"div\", {\n              key: 0,\n              class: normalizeClass(unref(dpNs).e(\"time-header\"))\n            }, [\n              createElementVNode(\"span\", {\n                class: normalizeClass(unref(dpNs).e(\"editor-wrap\"))\n              }, [\n                createVNode(unref(ElInput), {\n                  placeholder: unref(t)(\"el.datepicker.selectDate\"),\n                  \"model-value\": unref(visibleDate),\n                  size: \"small\",\n                  \"validate-event\": false,\n                  onInput: _cache[0] || (_cache[0] = (val) => userInputDate.value = val),\n                  onChange: handleVisibleDateChange\n                }, null, 8, [\"placeholder\", \"model-value\"])\n              ], 2),\n              withDirectives((openBlock(), createElementBlock(\"span\", {\n                class: normalizeClass(unref(dpNs).e(\"editor-wrap\"))\n              }, [\n                createVNode(unref(ElInput), {\n                  placeholder: unref(t)(\"el.datepicker.selectTime\"),\n                  \"model-value\": unref(visibleTime),\n                  size: \"small\",\n                  \"validate-event\": false,\n                  onFocus: onTimePickerInputFocus,\n                  onInput: _cache[1] || (_cache[1] = (val) => userInputTime.value = val),\n                  onChange: handleVisibleTimeChange\n                }, null, 8, [\"placeholder\", \"model-value\"]),\n                createVNode(unref(TimePickPanel), {\n                  visible: timePickerVisible.value,\n                  format: unref(timeFormat),\n                  \"time-arrow-control\": unref(arrowControl),\n                  \"parsed-value\": innerDate.value,\n                  onPick: handleTimePick\n                }, null, 8, [\"visible\", \"format\", \"time-arrow-control\", \"parsed-value\"])\n              ], 2)), [\n                [unref(ClickOutside), handleTimePickClose]\n              ])\n            ], 2)) : createCommentVNode(\"v-if\", true),\n            withDirectives(createElementVNode(\"div\", {\n              class: normalizeClass([\n                unref(dpNs).e(\"header\"),\n                (currentView.value === \"year\" || currentView.value === \"month\") && unref(dpNs).e(\"header--bordered\")\n              ])\n            }, [\n              createElementVNode(\"span\", {\n                class: normalizeClass(unref(dpNs).e(\"prev-btn\"))\n              }, [\n                createElementVNode(\"button\", {\n                  type: \"button\",\n                  \"aria-label\": unref(t)(`el.datepicker.prevYear`),\n                  class: normalizeClass([\"d-arrow-left\", unref(ppNs).e(\"icon-btn\")]),\n                  onClick: _cache[2] || (_cache[2] = ($event) => moveByYear(false))\n                }, [\n                  createVNode(unref(ElIcon), null, {\n                    default: withCtx(() => [\n                      createVNode(unref(DArrowLeft))\n                    ]),\n                    _: 1\n                  })\n                ], 10, _hoisted_2),\n                withDirectives(createElementVNode(\"button\", {\n                  type: \"button\",\n                  \"aria-label\": unref(t)(`el.datepicker.prevMonth`),\n                  class: normalizeClass([unref(ppNs).e(\"icon-btn\"), \"arrow-left\"]),\n                  onClick: _cache[3] || (_cache[3] = ($event) => moveByMonth(false))\n                }, [\n                  createVNode(unref(ElIcon), null, {\n                    default: withCtx(() => [\n                      createVNode(unref(ArrowLeft))\n                    ]),\n                    _: 1\n                  })\n                ], 10, _hoisted_3), [\n                  [vShow, currentView.value === \"date\"]\n                ])\n              ], 2),\n              createElementVNode(\"span\", {\n                role: \"button\",\n                class: normalizeClass(unref(dpNs).e(\"header-label\")),\n                \"aria-live\": \"polite\",\n                tabindex: \"0\",\n                onKeydown: _cache[4] || (_cache[4] = withKeys(($event) => showPicker(\"year\"), [\"enter\"])),\n                onClick: _cache[5] || (_cache[5] = ($event) => showPicker(\"year\"))\n              }, toDisplayString(unref(yearLabel)), 35),\n              withDirectives(createElementVNode(\"span\", {\n                role: \"button\",\n                \"aria-live\": \"polite\",\n                tabindex: \"0\",\n                class: normalizeClass([\n                  unref(dpNs).e(\"header-label\"),\n                  { active: currentView.value === \"month\" }\n                ]),\n                onKeydown: _cache[6] || (_cache[6] = withKeys(($event) => showPicker(\"month\"), [\"enter\"])),\n                onClick: _cache[7] || (_cache[7] = ($event) => showPicker(\"month\"))\n              }, toDisplayString(unref(t)(`el.datepicker.month${unref(month) + 1}`)), 35), [\n                [vShow, currentView.value === \"date\"]\n              ]),\n              createElementVNode(\"span\", {\n                class: normalizeClass(unref(dpNs).e(\"next-btn\"))\n              }, [\n                withDirectives(createElementVNode(\"button\", {\n                  type: \"button\",\n                  \"aria-label\": unref(t)(`el.datepicker.nextMonth`),\n                  class: normalizeClass([unref(ppNs).e(\"icon-btn\"), \"arrow-right\"]),\n                  onClick: _cache[8] || (_cache[8] = ($event) => moveByMonth(true))\n                }, [\n                  createVNode(unref(ElIcon), null, {\n                    default: withCtx(() => [\n                      createVNode(unref(ArrowRight))\n                    ]),\n                    _: 1\n                  })\n                ], 10, _hoisted_4), [\n                  [vShow, currentView.value === \"date\"]\n                ]),\n                createElementVNode(\"button\", {\n                  type: \"button\",\n                  \"aria-label\": unref(t)(`el.datepicker.nextYear`),\n                  class: normalizeClass([unref(ppNs).e(\"icon-btn\"), \"d-arrow-right\"]),\n                  onClick: _cache[9] || (_cache[9] = ($event) => moveByYear(true))\n                }, [\n                  createVNode(unref(ElIcon), null, {\n                    default: withCtx(() => [\n                      createVNode(unref(DArrowRight))\n                    ]),\n                    _: 1\n                  })\n                ], 10, _hoisted_5)\n              ], 2)\n            ], 2), [\n              [vShow, currentView.value !== \"time\"]\n            ]),\n            createElementVNode(\"div\", {\n              class: normalizeClass(unref(ppNs).e(\"content\")),\n              onKeydown: handleKeydownTable\n            }, [\n              currentView.value === \"date\" ? (openBlock(), createBlock(DateTable, {\n                key: 0,\n                ref_key: \"currentViewRef\",\n                ref: currentViewRef,\n                \"selection-mode\": unref(selectionMode),\n                date: innerDate.value,\n                \"parsed-value\": _ctx.parsedValue,\n                \"disabled-date\": unref(disabledDate),\n                \"cell-class-name\": unref(cellClassName),\n                onPick: handleDatePick\n              }, null, 8, [\"selection-mode\", \"date\", \"parsed-value\", \"disabled-date\", \"cell-class-name\"])) : createCommentVNode(\"v-if\", true),\n              currentView.value === \"year\" ? (openBlock(), createBlock(YearTable, {\n                key: 1,\n                ref_key: \"currentViewRef\",\n                ref: currentViewRef,\n                date: innerDate.value,\n                \"disabled-date\": unref(disabledDate),\n                \"parsed-value\": _ctx.parsedValue,\n                onPick: handleYearPick\n              }, null, 8, [\"date\", \"disabled-date\", \"parsed-value\"])) : createCommentVNode(\"v-if\", true),\n              currentView.value === \"month\" ? (openBlock(), createBlock(MonthTable, {\n                key: 2,\n                ref_key: \"currentViewRef\",\n                ref: currentViewRef,\n                date: innerDate.value,\n                \"parsed-value\": _ctx.parsedValue,\n                \"disabled-date\": unref(disabledDate),\n                onPick: handleMonthPick\n              }, null, 8, [\"date\", \"parsed-value\", \"disabled-date\"])) : createCommentVNode(\"v-if\", true)\n            ], 34)\n          ], 2)\n        ], 2),\n        withDirectives(createElementVNode(\"div\", {\n          class: normalizeClass(unref(ppNs).e(\"footer\"))\n        }, [\n          withDirectives(createVNode(unref(ElButton), {\n            text: \"\",\n            size: \"small\",\n            class: normalizeClass(unref(ppNs).e(\"link-btn\")),\n            onClick: changeToNow\n          }, {\n            default: withCtx(() => [\n              createTextVNode(toDisplayString(unref(t)(\"el.datepicker.now\")), 1)\n            ]),\n            _: 1\n          }, 8, [\"class\"]), [\n            [vShow, unref(selectionMode) !== \"dates\"]\n          ]),\n          createVNode(unref(ElButton), {\n            plain: \"\",\n            size: \"small\",\n            class: normalizeClass(unref(ppNs).e(\"link-btn\")),\n            onClick: onConfirm\n          }, {\n            default: withCtx(() => [\n              createTextVNode(toDisplayString(unref(t)(\"el.datepicker.confirm\")), 1)\n            ]),\n            _: 1\n          }, 8, [\"class\"])\n        ], 2), [\n          [vShow, unref(footerVisible) && currentView.value === \"date\"]\n        ])\n      ], 2);\n    };\n  }\n});\nvar DatePickPanel = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-date-pick.vue\"]]);\n\nexport { DatePickPanel as default };\n//# sourceMappingURL=panel-date-pick.mjs.map\n","import '../../../../utils/index.mjs';\nimport { panelSharedProps, panelRangeSharedProps } from './shared.mjs';\nimport { buildProps } from '../../../../utils/vue/props/runtime.mjs';\n\nconst panelDateRangeProps = buildProps({\n  ...panelSharedProps,\n  ...panelRangeSharedProps\n});\n\nexport { panelDateRangeProps };\n//# sourceMappingURL=panel-date-range.mjs.map\n","import { getCurrentInstance, useAttrs, useSlots } from 'vue';\nimport dayjs from 'dayjs';\nimport '../../../../utils/index.mjs';\nimport { isFunction } from '@vue/shared';\n\nconst useShortcut = (lang) => {\n  const { emit } = getCurrentInstance();\n  const attrs = useAttrs();\n  const slots = useSlots();\n  const handleShortcutClick = (shortcut) => {\n    const shortcutValues = isFunction(shortcut.value) ? shortcut.value() : shortcut.value;\n    if (shortcutValues) {\n      emit(\"pick\", [\n        dayjs(shortcutValues[0]).locale(lang.value),\n        dayjs(shortcutValues[1]).locale(lang.value)\n      ]);\n      return;\n    }\n    if (shortcut.onClick) {\n      shortcut.onClick({\n        attrs,\n        slots,\n        emit\n      });\n    }\n  };\n  return handleShortcutClick;\n};\n\nexport { useShortcut };\n//# sourceMappingURL=use-shortcut.mjs.map\n","import { getCurrentInstance, inject, ref, unref, watch } from 'vue';\nimport '../../../../utils/index.mjs';\nimport '../../../../hooks/index.mjs';\nimport { isValidRange, getDefaultValue } from '../utils.mjs';\nimport { ROOT_PICKER_INJECTION_KEY } from '../constants.mjs';\nimport { useShortcut } from './use-shortcut.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\nimport { useLocale } from '../../../../hooks/use-locale/index.mjs';\nimport { isArray } from '@vue/shared';\n\nconst useRangePicker = (props, {\n  defaultValue,\n  leftDate,\n  rightDate,\n  unit,\n  onParsedValueChanged\n}) => {\n  const { emit } = getCurrentInstance();\n  const { pickerNs } = inject(ROOT_PICKER_INJECTION_KEY);\n  const drpNs = useNamespace(\"date-range-picker\");\n  const { t, lang } = useLocale();\n  const handleShortcutClick = useShortcut(lang);\n  const minDate = ref();\n  const maxDate = ref();\n  const rangeState = ref({\n    endDate: null,\n    selecting: false\n  });\n  const handleChangeRange = (val) => {\n    rangeState.value = val;\n  };\n  const handleRangeConfirm = (visible = false) => {\n    const _minDate = unref(minDate);\n    const _maxDate = unref(maxDate);\n    if (isValidRange([_minDate, _maxDate])) {\n      emit(\"pick\", [_minDate, _maxDate], visible);\n    }\n  };\n  const onSelect = (selecting) => {\n    rangeState.value.selecting = selecting;\n    if (!selecting) {\n      rangeState.value.endDate = null;\n    }\n  };\n  const restoreDefault = () => {\n    const [start, end] = getDefaultValue(unref(defaultValue), {\n      lang: unref(lang),\n      unit,\n      unlinkPanels: props.unlinkPanels\n    });\n    minDate.value = void 0;\n    maxDate.value = void 0;\n    leftDate.value = start;\n    rightDate.value = end;\n  };\n  watch(defaultValue, (val) => {\n    if (val) {\n      restoreDefault();\n    }\n  }, { immediate: true });\n  watch(() => props.parsedValue, (parsedValue) => {\n    if (isArray(parsedValue) && parsedValue.length === 2) {\n      const [start, end] = parsedValue;\n      minDate.value = start;\n      leftDate.value = start;\n      maxDate.value = end;\n      onParsedValueChanged(unref(minDate), unref(maxDate));\n    } else {\n      restoreDefault();\n    }\n  }, { immediate: true });\n  return {\n    minDate,\n    maxDate,\n    rangeState,\n    lang,\n    ppNs: pickerNs,\n    drpNs,\n    handleChangeRange,\n    handleRangeConfirm,\n    handleShortcutClick,\n    onSelect,\n    t\n  };\n};\n\nexport { useRangePicker };\n//# sourceMappingURL=use-range-picker.mjs.map\n","import { defineComponent, inject, toRef, ref, computed, unref, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, Fragment, renderList, toDisplayString, createCommentVNode, createVNode, withDirectives, withCtx, createBlock, createTextVNode } from 'vue';\nimport dayjs from 'dayjs';\nimport '../../../../directives/index.mjs';\nimport '../../../../utils/index.mjs';\nimport '../../../../hooks/index.mjs';\nimport { ElButton } from '../../../button/index.mjs';\nimport { ElInput } from '../../../input/index.mjs';\nimport '../../../time-picker/index.mjs';\nimport { ElIcon } from '../../../icon/index.mjs';\nimport { ArrowRight, DArrowLeft, ArrowLeft, DArrowRight } from '@element-plus/icons-vue';\nimport { panelDateRangeProps } from '../props/panel-date-range.mjs';\nimport { useRangePicker } from '../composables/use-range-picker.mjs';\nimport { isValidRange, getDefaultValue } from '../utils.mjs';\nimport DateTable from './basic-date-table.mjs';\nimport _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useLocale } from '../../../../hooks/use-locale/index.mjs';\nimport { extractTimeFormat, extractDateFormat } from '../../../time-picker/src/utils.mjs';\nimport { isArray } from '@vue/shared';\nimport TimePickPanel from '../../../time-picker/src/time-picker-com/panel-time-pick.mjs';\nimport ClickOutside from '../../../../directives/click-outside/index.mjs';\n\nconst _hoisted_1 = [\"onClick\"];\nconst _hoisted_2 = [\"disabled\"];\nconst _hoisted_3 = [\"disabled\"];\nconst _hoisted_4 = [\"disabled\"];\nconst _hoisted_5 = [\"disabled\"];\nconst unit = \"month\";\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  __name: \"panel-date-range\",\n  props: panelDateRangeProps,\n  emits: [\n    \"pick\",\n    \"set-picker-option\",\n    \"calendar-change\",\n    \"panel-change\"\n  ],\n  setup(__props, { emit }) {\n    const props = __props;\n    const pickerBase = inject(\"EP_PICKER_BASE\");\n    const {\n      disabledDate,\n      cellClassName,\n      format,\n      defaultTime,\n      arrowControl,\n      clearable\n    } = pickerBase.props;\n    const shortcuts = toRef(pickerBase.props, \"shortcuts\");\n    const defaultValue = toRef(pickerBase.props, \"defaultValue\");\n    const { lang } = useLocale();\n    const leftDate = ref(dayjs().locale(lang.value));\n    const rightDate = ref(dayjs().locale(lang.value).add(1, unit));\n    const {\n      minDate,\n      maxDate,\n      rangeState,\n      ppNs,\n      drpNs,\n      handleChangeRange,\n      handleRangeConfirm,\n      handleShortcutClick,\n      onSelect,\n      t\n    } = useRangePicker(props, {\n      defaultValue,\n      leftDate,\n      rightDate,\n      unit,\n      onParsedValueChanged\n    });\n    const dateUserInput = ref({\n      min: null,\n      max: null\n    });\n    const timeUserInput = ref({\n      min: null,\n      max: null\n    });\n    const leftLabel = computed(() => {\n      return `${leftDate.value.year()} ${t(\"el.datepicker.year\")} ${t(`el.datepicker.month${leftDate.value.month() + 1}`)}`;\n    });\n    const rightLabel = computed(() => {\n      return `${rightDate.value.year()} ${t(\"el.datepicker.year\")} ${t(`el.datepicker.month${rightDate.value.month() + 1}`)}`;\n    });\n    const leftYear = computed(() => {\n      return leftDate.value.year();\n    });\n    const leftMonth = computed(() => {\n      return leftDate.value.month();\n    });\n    const rightYear = computed(() => {\n      return rightDate.value.year();\n    });\n    const rightMonth = computed(() => {\n      return rightDate.value.month();\n    });\n    const hasShortcuts = computed(() => !!shortcuts.value.length);\n    const minVisibleDate = computed(() => {\n      if (dateUserInput.value.min !== null)\n        return dateUserInput.value.min;\n      if (minDate.value)\n        return minDate.value.format(dateFormat.value);\n      return \"\";\n    });\n    const maxVisibleDate = computed(() => {\n      if (dateUserInput.value.max !== null)\n        return dateUserInput.value.max;\n      if (maxDate.value || minDate.value)\n        return (maxDate.value || minDate.value).format(dateFormat.value);\n      return \"\";\n    });\n    const minVisibleTime = computed(() => {\n      if (timeUserInput.value.min !== null)\n        return timeUserInput.value.min;\n      if (minDate.value)\n        return minDate.value.format(timeFormat.value);\n      return \"\";\n    });\n    const maxVisibleTime = computed(() => {\n      if (timeUserInput.value.max !== null)\n        return timeUserInput.value.max;\n      if (maxDate.value || minDate.value)\n        return (maxDate.value || minDate.value).format(timeFormat.value);\n      return \"\";\n    });\n    const timeFormat = computed(() => {\n      return extractTimeFormat(format);\n    });\n    const dateFormat = computed(() => {\n      return extractDateFormat(format);\n    });\n    const leftPrevYear = () => {\n      leftDate.value = leftDate.value.subtract(1, \"year\");\n      if (!props.unlinkPanels) {\n        rightDate.value = leftDate.value.add(1, \"month\");\n      }\n      handlePanelChange(\"year\");\n    };\n    const leftPrevMonth = () => {\n      leftDate.value = leftDate.value.subtract(1, \"month\");\n      if (!props.unlinkPanels) {\n        rightDate.value = leftDate.value.add(1, \"month\");\n      }\n      handlePanelChange(\"month\");\n    };\n    const rightNextYear = () => {\n      if (!props.unlinkPanels) {\n        leftDate.value = leftDate.value.add(1, \"year\");\n        rightDate.value = leftDate.value.add(1, \"month\");\n      } else {\n        rightDate.value = rightDate.value.add(1, \"year\");\n      }\n      handlePanelChange(\"year\");\n    };\n    const rightNextMonth = () => {\n      if (!props.unlinkPanels) {\n        leftDate.value = leftDate.value.add(1, \"month\");\n        rightDate.value = leftDate.value.add(1, \"month\");\n      } else {\n        rightDate.value = rightDate.value.add(1, \"month\");\n      }\n      handlePanelChange(\"month\");\n    };\n    const leftNextYear = () => {\n      leftDate.value = leftDate.value.add(1, \"year\");\n      handlePanelChange(\"year\");\n    };\n    const leftNextMonth = () => {\n      leftDate.value = leftDate.value.add(1, \"month\");\n      handlePanelChange(\"month\");\n    };\n    const rightPrevYear = () => {\n      rightDate.value = rightDate.value.subtract(1, \"year\");\n      handlePanelChange(\"year\");\n    };\n    const rightPrevMonth = () => {\n      rightDate.value = rightDate.value.subtract(1, \"month\");\n      handlePanelChange(\"month\");\n    };\n    const handlePanelChange = (mode) => {\n      emit(\"panel-change\", [leftDate.value.toDate(), rightDate.value.toDate()], mode);\n    };\n    const enableMonthArrow = computed(() => {\n      const nextMonth = (leftMonth.value + 1) % 12;\n      const yearOffset = leftMonth.value + 1 >= 12 ? 1 : 0;\n      return props.unlinkPanels && new Date(leftYear.value + yearOffset, nextMonth) < new Date(rightYear.value, rightMonth.value);\n    });\n    const enableYearArrow = computed(() => {\n      return props.unlinkPanels && rightYear.value * 12 + rightMonth.value - (leftYear.value * 12 + leftMonth.value + 1) >= 12;\n    });\n    const btnDisabled = computed(() => {\n      return !(minDate.value && maxDate.value && !rangeState.value.selecting && isValidRange([minDate.value, maxDate.value]));\n    });\n    const showTime = computed(() => props.type === \"datetime\" || props.type === \"datetimerange\");\n    const formatEmit = (emitDayjs, index) => {\n      if (!emitDayjs)\n        return;\n      if (defaultTime) {\n        const defaultTimeD = dayjs(defaultTime[index] || defaultTime).locale(lang.value);\n        return defaultTimeD.year(emitDayjs.year()).month(emitDayjs.month()).date(emitDayjs.date());\n      }\n      return emitDayjs;\n    };\n    const handleRangePick = (val, close = true) => {\n      const min_ = val.minDate;\n      const max_ = val.maxDate;\n      const minDate_ = formatEmit(min_, 0);\n      const maxDate_ = formatEmit(max_, 1);\n      if (maxDate.value === maxDate_ && minDate.value === minDate_) {\n        return;\n      }\n      emit(\"calendar-change\", [min_.toDate(), max_ && max_.toDate()]);\n      maxDate.value = maxDate_;\n      minDate.value = minDate_;\n      if (!close || showTime.value)\n        return;\n      handleRangeConfirm();\n    };\n    const minTimePickerVisible = ref(false);\n    const maxTimePickerVisible = ref(false);\n    const handleMinTimeClose = () => {\n      minTimePickerVisible.value = false;\n    };\n    const handleMaxTimeClose = () => {\n      maxTimePickerVisible.value = false;\n    };\n    const handleDateInput = (value, type) => {\n      dateUserInput.value[type] = value;\n      const parsedValueD = dayjs(value, dateFormat.value).locale(lang.value);\n      if (parsedValueD.isValid()) {\n        if (disabledDate && disabledDate(parsedValueD.toDate())) {\n          return;\n        }\n        if (type === \"min\") {\n          leftDate.value = parsedValueD;\n          minDate.value = (minDate.value || leftDate.value).year(parsedValueD.year()).month(parsedValueD.month()).date(parsedValueD.date());\n          if (!props.unlinkPanels) {\n            rightDate.value = parsedValueD.add(1, \"month\");\n            maxDate.value = minDate.value.add(1, \"month\");\n          }\n        } else {\n          rightDate.value = parsedValueD;\n          maxDate.value = (maxDate.value || rightDate.value).year(parsedValueD.year()).month(parsedValueD.month()).date(parsedValueD.date());\n          if (!props.unlinkPanels) {\n            leftDate.value = parsedValueD.subtract(1, \"month\");\n            minDate.value = maxDate.value.subtract(1, \"month\");\n          }\n        }\n      }\n    };\n    const handleDateChange = (_, type) => {\n      dateUserInput.value[type] = null;\n    };\n    const handleTimeInput = (value, type) => {\n      timeUserInput.value[type] = value;\n      const parsedValueD = dayjs(value, timeFormat.value).locale(lang.value);\n      if (parsedValueD.isValid()) {\n        if (type === \"min\") {\n          minTimePickerVisible.value = true;\n          minDate.value = (minDate.value || leftDate.value).hour(parsedValueD.hour()).minute(parsedValueD.minute()).second(parsedValueD.second());\n          if (!maxDate.value || maxDate.value.isBefore(minDate.value)) {\n            maxDate.value = minDate.value;\n          }\n        } else {\n          maxTimePickerVisible.value = true;\n          maxDate.value = (maxDate.value || rightDate.value).hour(parsedValueD.hour()).minute(parsedValueD.minute()).second(parsedValueD.second());\n          rightDate.value = maxDate.value;\n          if (maxDate.value && maxDate.value.isBefore(minDate.value)) {\n            minDate.value = maxDate.value;\n          }\n        }\n      }\n    };\n    const handleTimeChange = (value, type) => {\n      timeUserInput.value[type] = null;\n      if (type === \"min\") {\n        leftDate.value = minDate.value;\n        minTimePickerVisible.value = false;\n      } else {\n        rightDate.value = maxDate.value;\n        maxTimePickerVisible.value = false;\n      }\n    };\n    const handleMinTimePick = (value, visible, first) => {\n      if (timeUserInput.value.min)\n        return;\n      if (value) {\n        leftDate.value = value;\n        minDate.value = (minDate.value || leftDate.value).hour(value.hour()).minute(value.minute()).second(value.second());\n      }\n      if (!first) {\n        minTimePickerVisible.value = visible;\n      }\n      if (!maxDate.value || maxDate.value.isBefore(minDate.value)) {\n        maxDate.value = minDate.value;\n        rightDate.value = value;\n      }\n    };\n    const handleMaxTimePick = (value, visible, first) => {\n      if (timeUserInput.value.max)\n        return;\n      if (value) {\n        rightDate.value = value;\n        maxDate.value = (maxDate.value || rightDate.value).hour(value.hour()).minute(value.minute()).second(value.second());\n      }\n      if (!first) {\n        maxTimePickerVisible.value = visible;\n      }\n      if (maxDate.value && maxDate.value.isBefore(minDate.value)) {\n        minDate.value = maxDate.value;\n      }\n    };\n    const handleClear = () => {\n      leftDate.value = getDefaultValue(unref(defaultValue), {\n        lang: unref(lang),\n        unit: \"month\",\n        unlinkPanels: props.unlinkPanels\n      })[0];\n      rightDate.value = leftDate.value.add(1, \"month\");\n      emit(\"pick\", null);\n    };\n    const formatToString = (value) => {\n      return isArray(value) ? value.map((_) => _.format(format)) : value.format(format);\n    };\n    const parseUserInput = (value) => {\n      return isArray(value) ? value.map((_) => dayjs(_, format).locale(lang.value)) : dayjs(value, format).locale(lang.value);\n    };\n    function onParsedValueChanged(minDate2, maxDate2) {\n      if (props.unlinkPanels && maxDate2) {\n        const minDateYear = (minDate2 == null ? void 0 : minDate2.year()) || 0;\n        const minDateMonth = (minDate2 == null ? void 0 : minDate2.month()) || 0;\n        const maxDateYear = maxDate2.year();\n        const maxDateMonth = maxDate2.month();\n        rightDate.value = minDateYear === maxDateYear && minDateMonth === maxDateMonth ? maxDate2.add(1, unit) : maxDate2;\n      } else {\n        rightDate.value = leftDate.value.add(1, unit);\n        if (maxDate2) {\n          rightDate.value = rightDate.value.hour(maxDate2.hour()).minute(maxDate2.minute()).second(maxDate2.second());\n        }\n      }\n    }\n    emit(\"set-picker-option\", [\"isValidValue\", isValidRange]);\n    emit(\"set-picker-option\", [\"parseUserInput\", parseUserInput]);\n    emit(\"set-picker-option\", [\"formatToString\", formatToString]);\n    emit(\"set-picker-option\", [\"handleClear\", handleClear]);\n    return (_ctx, _cache) => {\n      return openBlock(), createElementBlock(\"div\", {\n        class: normalizeClass([\n          unref(ppNs).b(),\n          unref(drpNs).b(),\n          {\n            \"has-sidebar\": _ctx.$slots.sidebar || unref(hasShortcuts),\n            \"has-time\": unref(showTime)\n          }\n        ])\n      }, [\n        createElementVNode(\"div\", {\n          class: normalizeClass(unref(ppNs).e(\"body-wrapper\"))\n        }, [\n          renderSlot(_ctx.$slots, \"sidebar\", {\n            class: normalizeClass(unref(ppNs).e(\"sidebar\"))\n          }),\n          unref(hasShortcuts) ? (openBlock(), createElementBlock(\"div\", {\n            key: 0,\n            class: normalizeClass(unref(ppNs).e(\"sidebar\"))\n          }, [\n            (openBlock(true), createElementBlock(Fragment, null, renderList(unref(shortcuts), (shortcut, key) => {\n              return openBlock(), createElementBlock(\"button\", {\n                key,\n                type: \"button\",\n                class: normalizeClass(unref(ppNs).e(\"shortcut\")),\n                onClick: ($event) => unref(handleShortcutClick)(shortcut)\n              }, toDisplayString(shortcut.text), 11, _hoisted_1);\n            }), 128))\n          ], 2)) : createCommentVNode(\"v-if\", true),\n          createElementVNode(\"div\", {\n            class: normalizeClass(unref(ppNs).e(\"body\"))\n          }, [\n            unref(showTime) ? (openBlock(), createElementBlock(\"div\", {\n              key: 0,\n              class: normalizeClass(unref(drpNs).e(\"time-header\"))\n            }, [\n              createElementVNode(\"span\", {\n                class: normalizeClass(unref(drpNs).e(\"editors-wrap\"))\n              }, [\n                createElementVNode(\"span\", {\n                  class: normalizeClass(unref(drpNs).e(\"time-picker-wrap\"))\n                }, [\n                  createVNode(unref(ElInput), {\n                    size: \"small\",\n                    disabled: unref(rangeState).selecting,\n                    placeholder: unref(t)(\"el.datepicker.startDate\"),\n                    class: normalizeClass(unref(drpNs).e(\"editor\")),\n                    \"model-value\": unref(minVisibleDate),\n                    \"validate-event\": false,\n                    onInput: _cache[0] || (_cache[0] = (val) => handleDateInput(val, \"min\")),\n                    onChange: _cache[1] || (_cache[1] = (val) => handleDateChange(val, \"min\"))\n                  }, null, 8, [\"disabled\", \"placeholder\", \"class\", \"model-value\"])\n                ], 2),\n                withDirectives((openBlock(), createElementBlock(\"span\", {\n                  class: normalizeClass(unref(drpNs).e(\"time-picker-wrap\"))\n                }, [\n                  createVNode(unref(ElInput), {\n                    size: \"small\",\n                    class: normalizeClass(unref(drpNs).e(\"editor\")),\n                    disabled: unref(rangeState).selecting,\n                    placeholder: unref(t)(\"el.datepicker.startTime\"),\n                    \"model-value\": unref(minVisibleTime),\n                    \"validate-event\": false,\n                    onFocus: _cache[2] || (_cache[2] = ($event) => minTimePickerVisible.value = true),\n                    onInput: _cache[3] || (_cache[3] = (val) => handleTimeInput(val, \"min\")),\n                    onChange: _cache[4] || (_cache[4] = (val) => handleTimeChange(val, \"min\"))\n                  }, null, 8, [\"class\", \"disabled\", \"placeholder\", \"model-value\"]),\n                  createVNode(unref(TimePickPanel), {\n                    visible: minTimePickerVisible.value,\n                    format: unref(timeFormat),\n                    \"datetime-role\": \"start\",\n                    \"time-arrow-control\": unref(arrowControl),\n                    \"parsed-value\": leftDate.value,\n                    onPick: handleMinTimePick\n                  }, null, 8, [\"visible\", \"format\", \"time-arrow-control\", \"parsed-value\"])\n                ], 2)), [\n                  [unref(ClickOutside), handleMinTimeClose]\n                ])\n              ], 2),\n              createElementVNode(\"span\", null, [\n                createVNode(unref(ElIcon), null, {\n                  default: withCtx(() => [\n                    createVNode(unref(ArrowRight))\n                  ]),\n                  _: 1\n                })\n              ]),\n              createElementVNode(\"span\", {\n                class: normalizeClass([unref(drpNs).e(\"editors-wrap\"), \"is-right\"])\n              }, [\n                createElementVNode(\"span\", {\n                  class: normalizeClass(unref(drpNs).e(\"time-picker-wrap\"))\n                }, [\n                  createVNode(unref(ElInput), {\n                    size: \"small\",\n                    class: normalizeClass(unref(drpNs).e(\"editor\")),\n                    disabled: unref(rangeState).selecting,\n                    placeholder: unref(t)(\"el.datepicker.endDate\"),\n                    \"model-value\": unref(maxVisibleDate),\n                    readonly: !unref(minDate),\n                    \"validate-event\": false,\n                    onInput: _cache[5] || (_cache[5] = (val) => handleDateInput(val, \"max\")),\n                    onChange: _cache[6] || (_cache[6] = (val) => handleDateChange(val, \"max\"))\n                  }, null, 8, [\"class\", \"disabled\", \"placeholder\", \"model-value\", \"readonly\"])\n                ], 2),\n                withDirectives((openBlock(), createElementBlock(\"span\", {\n                  class: normalizeClass(unref(drpNs).e(\"time-picker-wrap\"))\n                }, [\n                  createVNode(unref(ElInput), {\n                    size: \"small\",\n                    class: normalizeClass(unref(drpNs).e(\"editor\")),\n                    disabled: unref(rangeState).selecting,\n                    placeholder: unref(t)(\"el.datepicker.endTime\"),\n                    \"model-value\": unref(maxVisibleTime),\n                    readonly: !unref(minDate),\n                    \"validate-event\": false,\n                    onFocus: _cache[7] || (_cache[7] = ($event) => unref(minDate) && (maxTimePickerVisible.value = true)),\n                    onInput: _cache[8] || (_cache[8] = (val) => handleTimeInput(val, \"max\")),\n                    onChange: _cache[9] || (_cache[9] = (val) => handleTimeChange(val, \"max\"))\n                  }, null, 8, [\"class\", \"disabled\", \"placeholder\", \"model-value\", \"readonly\"]),\n                  createVNode(unref(TimePickPanel), {\n                    \"datetime-role\": \"end\",\n                    visible: maxTimePickerVisible.value,\n                    format: unref(timeFormat),\n                    \"time-arrow-control\": unref(arrowControl),\n                    \"parsed-value\": rightDate.value,\n                    onPick: handleMaxTimePick\n                  }, null, 8, [\"visible\", \"format\", \"time-arrow-control\", \"parsed-value\"])\n                ], 2)), [\n                  [unref(ClickOutside), handleMaxTimeClose]\n                ])\n              ], 2)\n            ], 2)) : createCommentVNode(\"v-if\", true),\n            createElementVNode(\"div\", {\n              class: normalizeClass([[unref(ppNs).e(\"content\"), unref(drpNs).e(\"content\")], \"is-left\"])\n            }, [\n              createElementVNode(\"div\", {\n                class: normalizeClass(unref(drpNs).e(\"header\"))\n              }, [\n                createElementVNode(\"button\", {\n                  type: \"button\",\n                  class: normalizeClass([unref(ppNs).e(\"icon-btn\"), \"d-arrow-left\"]),\n                  onClick: leftPrevYear\n                }, [\n                  createVNode(unref(ElIcon), null, {\n                    default: withCtx(() => [\n                      createVNode(unref(DArrowLeft))\n                    ]),\n                    _: 1\n                  })\n                ], 2),\n                createElementVNode(\"button\", {\n                  type: \"button\",\n                  class: normalizeClass([unref(ppNs).e(\"icon-btn\"), \"arrow-left\"]),\n                  onClick: leftPrevMonth\n                }, [\n                  createVNode(unref(ElIcon), null, {\n                    default: withCtx(() => [\n                      createVNode(unref(ArrowLeft))\n                    ]),\n                    _: 1\n                  })\n                ], 2),\n                _ctx.unlinkPanels ? (openBlock(), createElementBlock(\"button\", {\n                  key: 0,\n                  type: \"button\",\n                  disabled: !unref(enableYearArrow),\n                  class: normalizeClass([[unref(ppNs).e(\"icon-btn\"), { \"is-disabled\": !unref(enableYearArrow) }], \"d-arrow-right\"]),\n                  onClick: leftNextYear\n                }, [\n                  createVNode(unref(ElIcon), null, {\n                    default: withCtx(() => [\n                      createVNode(unref(DArrowRight))\n                    ]),\n                    _: 1\n                  })\n                ], 10, _hoisted_2)) : createCommentVNode(\"v-if\", true),\n                _ctx.unlinkPanels ? (openBlock(), createElementBlock(\"button\", {\n                  key: 1,\n                  type: \"button\",\n                  disabled: !unref(enableMonthArrow),\n                  class: normalizeClass([[\n                    unref(ppNs).e(\"icon-btn\"),\n                    { \"is-disabled\": !unref(enableMonthArrow) }\n                  ], \"arrow-right\"]),\n                  onClick: leftNextMonth\n                }, [\n                  createVNode(unref(ElIcon), null, {\n                    default: withCtx(() => [\n                      createVNode(unref(ArrowRight))\n                    ]),\n                    _: 1\n                  })\n                ], 10, _hoisted_3)) : createCommentVNode(\"v-if\", true),\n                createElementVNode(\"div\", null, toDisplayString(unref(leftLabel)), 1)\n              ], 2),\n              createVNode(DateTable, {\n                \"selection-mode\": \"range\",\n                date: leftDate.value,\n                \"min-date\": unref(minDate),\n                \"max-date\": unref(maxDate),\n                \"range-state\": unref(rangeState),\n                \"disabled-date\": unref(disabledDate),\n                \"cell-class-name\": unref(cellClassName),\n                onChangerange: unref(handleChangeRange),\n                onPick: handleRangePick,\n                onSelect: unref(onSelect)\n              }, null, 8, [\"date\", \"min-date\", \"max-date\", \"range-state\", \"disabled-date\", \"cell-class-name\", \"onChangerange\", \"onSelect\"])\n            ], 2),\n            createElementVNode(\"div\", {\n              class: normalizeClass([[unref(ppNs).e(\"content\"), unref(drpNs).e(\"content\")], \"is-right\"])\n            }, [\n              createElementVNode(\"div\", {\n                class: normalizeClass(unref(drpNs).e(\"header\"))\n              }, [\n                _ctx.unlinkPanels ? (openBlock(), createElementBlock(\"button\", {\n                  key: 0,\n                  type: \"button\",\n                  disabled: !unref(enableYearArrow),\n                  class: normalizeClass([[unref(ppNs).e(\"icon-btn\"), { \"is-disabled\": !unref(enableYearArrow) }], \"d-arrow-left\"]),\n                  onClick: rightPrevYear\n                }, [\n                  createVNode(unref(ElIcon), null, {\n                    default: withCtx(() => [\n                      createVNode(unref(DArrowLeft))\n                    ]),\n                    _: 1\n                  })\n                ], 10, _hoisted_4)) : createCommentVNode(\"v-if\", true),\n                _ctx.unlinkPanels ? (openBlock(), createElementBlock(\"button\", {\n                  key: 1,\n                  type: \"button\",\n                  disabled: !unref(enableMonthArrow),\n                  class: normalizeClass([[\n                    unref(ppNs).e(\"icon-btn\"),\n                    { \"is-disabled\": !unref(enableMonthArrow) }\n                  ], \"arrow-left\"]),\n                  onClick: rightPrevMonth\n                }, [\n                  createVNode(unref(ElIcon), null, {\n                    default: withCtx(() => [\n                      createVNode(unref(ArrowLeft))\n                    ]),\n                    _: 1\n                  })\n                ], 10, _hoisted_5)) : createCommentVNode(\"v-if\", true),\n                createElementVNode(\"button\", {\n                  type: \"button\",\n                  class: normalizeClass([unref(ppNs).e(\"icon-btn\"), \"d-arrow-right\"]),\n                  onClick: rightNextYear\n                }, [\n                  createVNode(unref(ElIcon), null, {\n                    default: withCtx(() => [\n                      createVNode(unref(DArrowRight))\n                    ]),\n                    _: 1\n                  })\n                ], 2),\n                createElementVNode(\"button\", {\n                  type: \"button\",\n                  class: normalizeClass([unref(ppNs).e(\"icon-btn\"), \"arrow-right\"]),\n                  onClick: rightNextMonth\n                }, [\n                  createVNode(unref(ElIcon), null, {\n                    default: withCtx(() => [\n                      createVNode(unref(ArrowRight))\n                    ]),\n                    _: 1\n                  })\n                ], 2),\n                createElementVNode(\"div\", null, toDisplayString(unref(rightLabel)), 1)\n              ], 2),\n              createVNode(DateTable, {\n                \"selection-mode\": \"range\",\n                date: rightDate.value,\n                \"min-date\": unref(minDate),\n                \"max-date\": unref(maxDate),\n                \"range-state\": unref(rangeState),\n                \"disabled-date\": unref(disabledDate),\n                \"cell-class-name\": unref(cellClassName),\n                onChangerange: unref(handleChangeRange),\n                onPick: handleRangePick,\n                onSelect: unref(onSelect)\n              }, null, 8, [\"date\", \"min-date\", \"max-date\", \"range-state\", \"disabled-date\", \"cell-class-name\", \"onChangerange\", \"onSelect\"])\n            ], 2)\n          ], 2)\n        ], 2),\n        unref(showTime) ? (openBlock(), createElementBlock(\"div\", {\n          key: 0,\n          class: normalizeClass(unref(ppNs).e(\"footer\"))\n        }, [\n          unref(clearable) ? (openBlock(), createBlock(unref(ElButton), {\n            key: 0,\n            text: \"\",\n            size: \"small\",\n            class: normalizeClass(unref(ppNs).e(\"link-btn\")),\n            onClick: handleClear\n          }, {\n            default: withCtx(() => [\n              createTextVNode(toDisplayString(unref(t)(\"el.datepicker.clear\")), 1)\n            ]),\n            _: 1\n          }, 8, [\"class\"])) : createCommentVNode(\"v-if\", true),\n          createVNode(unref(ElButton), {\n            plain: \"\",\n            size: \"small\",\n            class: normalizeClass(unref(ppNs).e(\"link-btn\")),\n            disabled: unref(btnDisabled),\n            onClick: _cache[10] || (_cache[10] = ($event) => unref(handleRangeConfirm)(false))\n          }, {\n            default: withCtx(() => [\n              createTextVNode(toDisplayString(unref(t)(\"el.datepicker.confirm\")), 1)\n            ]),\n            _: 1\n          }, 8, [\"class\", \"disabled\"])\n        ], 2)) : createCommentVNode(\"v-if\", true)\n      ], 2);\n    };\n  }\n});\nvar DateRangePickPanel = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-date-range.vue\"]]);\n\nexport { DateRangePickPanel as default };\n//# sourceMappingURL=panel-date-range.mjs.map\n","import '../../../../utils/index.mjs';\nimport { panelRangeSharedProps } from './shared.mjs';\nimport { buildProps } from '../../../../utils/vue/props/runtime.mjs';\n\nconst panelMonthRangeProps = buildProps({\n  ...panelRangeSharedProps\n});\nconst panelMonthRangeEmits = [\"pick\", \"set-picker-option\"];\n\nexport { panelMonthRangeEmits, panelMonthRangeProps };\n//# sourceMappingURL=panel-month-range.mjs.map\n","import { computed } from 'vue';\nimport '../../../../hooks/index.mjs';\nimport { useLocale } from '../../../../hooks/use-locale/index.mjs';\n\nconst useMonthRangeHeader = ({\n  unlinkPanels,\n  leftDate,\n  rightDate\n}) => {\n  const { t } = useLocale();\n  const leftPrevYear = () => {\n    leftDate.value = leftDate.value.subtract(1, \"year\");\n    if (!unlinkPanels.value) {\n      rightDate.value = rightDate.value.subtract(1, \"year\");\n    }\n  };\n  const rightNextYear = () => {\n    if (!unlinkPanels.value) {\n      leftDate.value = leftDate.value.add(1, \"year\");\n    }\n    rightDate.value = rightDate.value.add(1, \"year\");\n  };\n  const leftNextYear = () => {\n    leftDate.value = leftDate.value.add(1, \"year\");\n  };\n  const rightPrevYear = () => {\n    rightDate.value = rightDate.value.subtract(1, \"year\");\n  };\n  const leftLabel = computed(() => {\n    return `${leftDate.value.year()} ${t(\"el.datepicker.year\")}`;\n  });\n  const rightLabel = computed(() => {\n    return `${rightDate.value.year()} ${t(\"el.datepicker.year\")}`;\n  });\n  const leftYear = computed(() => {\n    return leftDate.value.year();\n  });\n  const rightYear = computed(() => {\n    return rightDate.value.year() === leftDate.value.year() ? leftDate.value.year() + 1 : rightDate.value.year();\n  });\n  return {\n    leftPrevYear,\n    rightNextYear,\n    leftNextYear,\n    rightPrevYear,\n    leftLabel,\n    rightLabel,\n    leftYear,\n    rightYear\n  };\n};\n\nexport { useMonthRangeHeader };\n//# sourceMappingURL=use-month-range-header.mjs.map\n","import { defineComponent, inject, toRef, ref, computed, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, renderSlot, Fragment, renderList, toDisplayString, createCommentVNode, createVNode, withCtx } from 'vue';\nimport dayjs from 'dayjs';\nimport { ElIcon } from '../../../icon/index.mjs';\nimport '../../../../hooks/index.mjs';\nimport { DArrowLeft, DArrowRight } from '@element-plus/icons-vue';\nimport { panelMonthRangeProps, panelMonthRangeEmits } from '../props/panel-month-range.mjs';\nimport { useMonthRangeHeader } from '../composables/use-month-range-header.mjs';\nimport { useRangePicker } from '../composables/use-range-picker.mjs';\nimport MonthTable from './basic-month-table.mjs';\nimport _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useLocale } from '../../../../hooks/use-locale/index.mjs';\n\nconst _hoisted_1 = [\"onClick\"];\nconst _hoisted_2 = [\"disabled\"];\nconst _hoisted_3 = [\"disabled\"];\nconst unit = \"year\";\nconst __default__ = defineComponent({\n  name: \"DatePickerMonthRange\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  ...__default__,\n  props: panelMonthRangeProps,\n  emits: panelMonthRangeEmits,\n  setup(__props, { emit }) {\n    const props = __props;\n    const { lang } = useLocale();\n    const pickerBase = inject(\"EP_PICKER_BASE\");\n    const { shortcuts, disabledDate, format } = pickerBase.props;\n    const defaultValue = toRef(pickerBase.props, \"defaultValue\");\n    const leftDate = ref(dayjs().locale(lang.value));\n    const rightDate = ref(dayjs().locale(lang.value).add(1, unit));\n    const {\n      minDate,\n      maxDate,\n      rangeState,\n      ppNs,\n      drpNs,\n      handleChangeRange,\n      handleRangeConfirm,\n      handleShortcutClick,\n      onSelect\n    } = useRangePicker(props, {\n      defaultValue,\n      leftDate,\n      rightDate,\n      unit,\n      onParsedValueChanged\n    });\n    const hasShortcuts = computed(() => !!shortcuts.length);\n    const {\n      leftPrevYear,\n      rightNextYear,\n      leftNextYear,\n      rightPrevYear,\n      leftLabel,\n      rightLabel,\n      leftYear,\n      rightYear\n    } = useMonthRangeHeader({\n      unlinkPanels: toRef(props, \"unlinkPanels\"),\n      leftDate,\n      rightDate\n    });\n    const enableYearArrow = computed(() => {\n      return props.unlinkPanels && rightYear.value > leftYear.value + 1;\n    });\n    const handleRangePick = (val, close = true) => {\n      const minDate_ = val.minDate;\n      const maxDate_ = val.maxDate;\n      if (maxDate.value === maxDate_ && minDate.value === minDate_) {\n        return;\n      }\n      maxDate.value = maxDate_;\n      minDate.value = minDate_;\n      if (!close)\n        return;\n      handleRangeConfirm();\n    };\n    const formatToString = (days) => {\n      return days.map((day) => day.format(format));\n    };\n    function onParsedValueChanged(minDate2, maxDate2) {\n      if (props.unlinkPanels && maxDate2) {\n        const minDateYear = (minDate2 == null ? void 0 : minDate2.year()) || 0;\n        const maxDateYear = maxDate2.year();\n        rightDate.value = minDateYear === maxDateYear ? maxDate2.add(1, unit) : maxDate2;\n      } else {\n        rightDate.value = leftDate.value.add(1, unit);\n      }\n    }\n    emit(\"set-picker-option\", [\"formatToString\", formatToString]);\n    return (_ctx, _cache) => {\n      return openBlock(), createElementBlock(\"div\", {\n        class: normalizeClass([\n          unref(ppNs).b(),\n          unref(drpNs).b(),\n          {\n            \"has-sidebar\": Boolean(_ctx.$slots.sidebar) || unref(hasShortcuts)\n          }\n        ])\n      }, [\n        createElementVNode(\"div\", {\n          class: normalizeClass(unref(ppNs).e(\"body-wrapper\"))\n        }, [\n          renderSlot(_ctx.$slots, \"sidebar\", {\n            class: normalizeClass(unref(ppNs).e(\"sidebar\"))\n          }),\n          unref(hasShortcuts) ? (openBlock(), createElementBlock(\"div\", {\n            key: 0,\n            class: normalizeClass(unref(ppNs).e(\"sidebar\"))\n          }, [\n            (openBlock(true), createElementBlock(Fragment, null, renderList(unref(shortcuts), (shortcut, key) => {\n              return openBlock(), createElementBlock(\"button\", {\n                key,\n                type: \"button\",\n                class: normalizeClass(unref(ppNs).e(\"shortcut\")),\n                onClick: ($event) => unref(handleShortcutClick)(shortcut)\n              }, toDisplayString(shortcut.text), 11, _hoisted_1);\n            }), 128))\n          ], 2)) : createCommentVNode(\"v-if\", true),\n          createElementVNode(\"div\", {\n            class: normalizeClass(unref(ppNs).e(\"body\"))\n          }, [\n            createElementVNode(\"div\", {\n              class: normalizeClass([[unref(ppNs).e(\"content\"), unref(drpNs).e(\"content\")], \"is-left\"])\n            }, [\n              createElementVNode(\"div\", {\n                class: normalizeClass(unref(drpNs).e(\"header\"))\n              }, [\n                createElementVNode(\"button\", {\n                  type: \"button\",\n                  class: normalizeClass([unref(ppNs).e(\"icon-btn\"), \"d-arrow-left\"]),\n                  onClick: _cache[0] || (_cache[0] = (...args) => unref(leftPrevYear) && unref(leftPrevYear)(...args))\n                }, [\n                  createVNode(unref(ElIcon), null, {\n                    default: withCtx(() => [\n                      createVNode(unref(DArrowLeft))\n                    ]),\n                    _: 1\n                  })\n                ], 2),\n                _ctx.unlinkPanels ? (openBlock(), createElementBlock(\"button\", {\n                  key: 0,\n                  type: \"button\",\n                  disabled: !unref(enableYearArrow),\n                  class: normalizeClass([[\n                    unref(ppNs).e(\"icon-btn\"),\n                    { [unref(ppNs).is(\"disabled\")]: !unref(enableYearArrow) }\n                  ], \"d-arrow-right\"]),\n                  onClick: _cache[1] || (_cache[1] = (...args) => unref(leftNextYear) && unref(leftNextYear)(...args))\n                }, [\n                  createVNode(unref(ElIcon), null, {\n                    default: withCtx(() => [\n                      createVNode(unref(DArrowRight))\n                    ]),\n                    _: 1\n                  })\n                ], 10, _hoisted_2)) : createCommentVNode(\"v-if\", true),\n                createElementVNode(\"div\", null, toDisplayString(unref(leftLabel)), 1)\n              ], 2),\n              createVNode(MonthTable, {\n                \"selection-mode\": \"range\",\n                date: leftDate.value,\n                \"min-date\": unref(minDate),\n                \"max-date\": unref(maxDate),\n                \"range-state\": unref(rangeState),\n                \"disabled-date\": unref(disabledDate),\n                onChangerange: unref(handleChangeRange),\n                onPick: handleRangePick,\n                onSelect: unref(onSelect)\n              }, null, 8, [\"date\", \"min-date\", \"max-date\", \"range-state\", \"disabled-date\", \"onChangerange\", \"onSelect\"])\n            ], 2),\n            createElementVNode(\"div\", {\n              class: normalizeClass([[unref(ppNs).e(\"content\"), unref(drpNs).e(\"content\")], \"is-right\"])\n            }, [\n              createElementVNode(\"div\", {\n                class: normalizeClass(unref(drpNs).e(\"header\"))\n              }, [\n                _ctx.unlinkPanels ? (openBlock(), createElementBlock(\"button\", {\n                  key: 0,\n                  type: \"button\",\n                  disabled: !unref(enableYearArrow),\n                  class: normalizeClass([[unref(ppNs).e(\"icon-btn\"), { \"is-disabled\": !unref(enableYearArrow) }], \"d-arrow-left\"]),\n                  onClick: _cache[2] || (_cache[2] = (...args) => unref(rightPrevYear) && unref(rightPrevYear)(...args))\n                }, [\n                  createVNode(unref(ElIcon), null, {\n                    default: withCtx(() => [\n                      createVNode(unref(DArrowLeft))\n                    ]),\n                    _: 1\n                  })\n                ], 10, _hoisted_3)) : createCommentVNode(\"v-if\", true),\n                createElementVNode(\"button\", {\n                  type: \"button\",\n                  class: normalizeClass([unref(ppNs).e(\"icon-btn\"), \"d-arrow-right\"]),\n                  onClick: _cache[3] || (_cache[3] = (...args) => unref(rightNextYear) && unref(rightNextYear)(...args))\n                }, [\n                  createVNode(unref(ElIcon), null, {\n                    default: withCtx(() => [\n                      createVNode(unref(DArrowRight))\n                    ]),\n                    _: 1\n                  })\n                ], 2),\n                createElementVNode(\"div\", null, toDisplayString(unref(rightLabel)), 1)\n              ], 2),\n              createVNode(MonthTable, {\n                \"selection-mode\": \"range\",\n                date: rightDate.value,\n                \"min-date\": unref(minDate),\n                \"max-date\": unref(maxDate),\n                \"range-state\": unref(rangeState),\n                \"disabled-date\": unref(disabledDate),\n                onChangerange: unref(handleChangeRange),\n                onPick: handleRangePick,\n                onSelect: unref(onSelect)\n              }, null, 8, [\"date\", \"min-date\", \"max-date\", \"range-state\", \"disabled-date\", \"onChangerange\", \"onSelect\"])\n            ], 2)\n          ], 2)\n        ], 2)\n      ], 2);\n    };\n  }\n});\nvar MonthRangePickPanel = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-month-range.vue\"]]);\n\nexport { MonthRangePickPanel as default };\n//# sourceMappingURL=panel-month-range.mjs.map\n","import DatePickPanel from './date-picker-com/panel-date-pick.mjs';\nimport DateRangePickPanel from './date-picker-com/panel-date-range.mjs';\nimport MonthRangePickPanel from './date-picker-com/panel-month-range.mjs';\n\nconst getPanel = function(type) {\n  switch (type) {\n    case \"daterange\":\n    case \"datetimerange\": {\n      return DateRangePickPanel;\n    }\n    case \"monthrange\": {\n      return MonthRangePickPanel;\n    }\n    default: {\n      return DatePickPanel;\n    }\n  }\n};\n\nexport { getPanel };\n//# sourceMappingURL=panel-utils.mjs.map\n","import { defineComponent, provide, reactive, toRef, ref, createVNode, mergeProps } from 'vue';\nimport dayjs from 'dayjs';\nimport customParseFormat from 'dayjs/plugin/customParseFormat.js';\nimport advancedFormat from 'dayjs/plugin/advancedFormat.js';\nimport localeData from 'dayjs/plugin/localeData.js';\nimport weekOfYear from 'dayjs/plugin/weekOfYear.js';\nimport weekYear from 'dayjs/plugin/weekYear.js';\nimport dayOfYear from 'dayjs/plugin/dayOfYear.js';\nimport isSameOrAfter from 'dayjs/plugin/isSameOrAfter.js';\nimport isSameOrBefore from 'dayjs/plugin/isSameOrBefore.js';\nimport '../../../hooks/index.mjs';\nimport '../../time-picker/index.mjs';\nimport { ROOT_PICKER_INJECTION_KEY } from './constants.mjs';\nimport { datePickerProps } from './props/date-picker.mjs';\nimport { getPanel } from './panel-utils.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { DEFAULT_FORMATS_DATEPICKER, DEFAULT_FORMATS_DATE } from '../../time-picker/src/constants.mjs';\nimport CommonPicker from '../../time-picker/src/common/picker.mjs';\n\ndayjs.extend(localeData);\ndayjs.extend(advancedFormat);\ndayjs.extend(customParseFormat);\ndayjs.extend(weekOfYear);\ndayjs.extend(weekYear);\ndayjs.extend(dayOfYear);\ndayjs.extend(isSameOrAfter);\ndayjs.extend(isSameOrBefore);\nvar DatePicker = defineComponent({\n  name: \"ElDatePicker\",\n  install: null,\n  props: datePickerProps,\n  emits: [\"update:modelValue\"],\n  setup(props, {\n    expose,\n    emit,\n    slots\n  }) {\n    const ns = useNamespace(\"picker-panel\");\n    provide(\"ElPopperOptions\", reactive(toRef(props, \"popperOptions\")));\n    provide(ROOT_PICKER_INJECTION_KEY, {\n      slots,\n      pickerNs: ns\n    });\n    const commonPicker = ref();\n    const refProps = {\n      focus: (focusStartInput = true) => {\n        var _a;\n        (_a = commonPicker.value) == null ? void 0 : _a.focus(focusStartInput);\n      },\n      handleOpen: () => {\n        var _a;\n        (_a = commonPicker.value) == null ? void 0 : _a.handleOpen();\n      },\n      handleClose: () => {\n        var _a;\n        (_a = commonPicker.value) == null ? void 0 : _a.handleClose();\n      }\n    };\n    expose(refProps);\n    const onModelValueUpdated = (val) => {\n      emit(\"update:modelValue\", val);\n    };\n    return () => {\n      var _a;\n      const format = (_a = props.format) != null ? _a : DEFAULT_FORMATS_DATEPICKER[props.type] || DEFAULT_FORMATS_DATE;\n      const Component = getPanel(props.type);\n      return createVNode(CommonPicker, mergeProps(props, {\n        \"format\": format,\n        \"type\": props.type,\n        \"ref\": commonPicker,\n        \"onUpdate:modelValue\": onModelValueUpdated\n      }), {\n        default: (scopedProps) => createVNode(Component, scopedProps, null),\n        \"range-separator\": slots[\"range-separator\"]\n      });\n    };\n  }\n});\n\nexport { DatePicker as default };\n//# sourceMappingURL=date-picker.mjs.map\n","import DatePicker from './src/date-picker.mjs';\nexport { ROOT_PICKER_INJECTION_KEY } from './src/constants.mjs';\nexport { datePickerProps } from './src/props/date-picker.mjs';\n\nconst _DatePicker = DatePicker;\n_DatePicker.install = (app) => {\n  app.component(_DatePicker.name, _DatePicker);\n};\nconst ElDatePicker = _DatePicker;\n\nexport { ElDatePicker, _DatePicker as default };\n//# sourceMappingURL=index.mjs.map\n","import { isNil } from 'lodash-unified';\nimport '../../../hooks/index.mjs';\nimport '../../../utils/index.mjs';\nimport '../../../constants/index.mjs';\nimport { buildProps } from '../../../utils/vue/props/runtime.mjs';\nimport { useSizeProp } from '../../../hooks/use-size/index.mjs';\nimport { isNumber } from '../../../utils/types.mjs';\nimport { CHANGE_EVENT, INPUT_EVENT, UPDATE_MODEL_EVENT } from '../../../constants/event.mjs';\n\nconst inputNumberProps = buildProps({\n  id: {\n    type: String,\n    default: void 0\n  },\n  step: {\n    type: Number,\n    default: 1\n  },\n  stepStrictly: Boolean,\n  max: {\n    type: Number,\n    default: Number.POSITIVE_INFINITY\n  },\n  min: {\n    type: Number,\n    default: Number.NEGATIVE_INFINITY\n  },\n  modelValue: Number,\n  readonly: Boolean,\n  disabled: Boolean,\n  size: useSizeProp,\n  controls: {\n    type: Boolean,\n    default: true\n  },\n  controlsPosition: {\n    type: String,\n    default: \"\",\n    values: [\"\", \"right\"]\n  },\n  valueOnClear: {\n    type: [String, Number, null],\n    validator: (val) => val === null || isNumber(val) || [\"min\", \"max\"].includes(val),\n    default: null\n  },\n  name: String,\n  label: String,\n  placeholder: String,\n  precision: {\n    type: Number,\n    validator: (val) => val >= 0 && val === Number.parseInt(`${val}`, 10)\n  },\n  validateEvent: {\n    type: Boolean,\n    default: true\n  }\n});\nconst inputNumberEmits = {\n  [CHANGE_EVENT]: (cur, prev) => prev !== cur,\n  blur: (e) => e instanceof FocusEvent,\n  focus: (e) => e instanceof FocusEvent,\n  [INPUT_EVENT]: (val) => isNumber(val) || isNil(val),\n  [UPDATE_MODEL_EVENT]: (val) => isNumber(val) || isNil(val)\n};\n\nexport { inputNumberEmits, inputNumberProps };\n//# sourceMappingURL=input-number.mjs.map\n","import { defineComponent, ref, reactive, computed, watch, onMounted, onUpdated, openBlock, createElementBlock, normalizeClass, unref, withModifiers, withDirectives, withKeys, createVNode, withCtx, createBlock, createCommentVNode } from 'vue';\nimport { isNil } from 'lodash-unified';\nimport { ElInput } from '../../input/index.mjs';\nimport { ElIcon } from '../../icon/index.mjs';\nimport '../../form/index.mjs';\nimport '../../../directives/index.mjs';\nimport '../../../hooks/index.mjs';\nimport '../../../utils/index.mjs';\nimport { ArrowDown, Minus, ArrowUp, Plus } from '@element-plus/icons-vue';\nimport '../../../constants/index.mjs';\nimport { inputNumberProps, inputNumberEmits } from './input-number.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useLocale } from '../../../hooks/use-locale/index.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { useFormItem } from '../../form/src/hooks/use-form-item.mjs';\nimport { isNumber, isUndefined } from '../../../utils/types.mjs';\nimport { debugWarn } from '../../../utils/error.mjs';\nimport { useFormSize, useFormDisabled } from '../../form/src/hooks/use-form-common-props.mjs';\nimport { INPUT_EVENT, UPDATE_MODEL_EVENT, CHANGE_EVENT } from '../../../constants/event.mjs';\nimport { isString } from '@vue/shared';\nimport { vRepeatClick } from '../../../directives/repeat-click/index.mjs';\n\nconst _hoisted_1 = [\"aria-label\", \"onKeydown\"];\nconst _hoisted_2 = [\"aria-label\", \"onKeydown\"];\nconst __default__ = defineComponent({\n  name: \"ElInputNumber\"\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  ...__default__,\n  props: inputNumberProps,\n  emits: inputNumberEmits,\n  setup(__props, { expose, emit }) {\n    const props = __props;\n    const { t } = useLocale();\n    const ns = useNamespace(\"input-number\");\n    const input = ref();\n    const data = reactive({\n      currentValue: props.modelValue,\n      userInput: null\n    });\n    const { formItem } = useFormItem();\n    const minDisabled = computed(() => isNumber(props.modelValue) && props.modelValue <= props.min);\n    const maxDisabled = computed(() => isNumber(props.modelValue) && props.modelValue >= props.max);\n    const numPrecision = computed(() => {\n      const stepPrecision = getPrecision(props.step);\n      if (!isUndefined(props.precision)) {\n        if (stepPrecision > props.precision) {\n          debugWarn(\"InputNumber\", \"precision should not be less than the decimal places of step\");\n        }\n        return props.precision;\n      } else {\n        return Math.max(getPrecision(props.modelValue), stepPrecision);\n      }\n    });\n    const controlsAtRight = computed(() => {\n      return props.controls && props.controlsPosition === \"right\";\n    });\n    const inputNumberSize = useFormSize();\n    const inputNumberDisabled = useFormDisabled();\n    const displayValue = computed(() => {\n      if (data.userInput !== null) {\n        return data.userInput;\n      }\n      let currentValue = data.currentValue;\n      if (isNil(currentValue))\n        return \"\";\n      if (isNumber(currentValue)) {\n        if (Number.isNaN(currentValue))\n          return \"\";\n        if (!isUndefined(props.precision)) {\n          currentValue = currentValue.toFixed(props.precision);\n        }\n      }\n      return currentValue;\n    });\n    const toPrecision = (num, pre) => {\n      if (isUndefined(pre))\n        pre = numPrecision.value;\n      if (pre === 0)\n        return Math.round(num);\n      let snum = String(num);\n      const pointPos = snum.indexOf(\".\");\n      if (pointPos === -1)\n        return num;\n      const nums = snum.replace(\".\", \"\").split(\"\");\n      const datum = nums[pointPos + pre];\n      if (!datum)\n        return num;\n      const length = snum.length;\n      if (snum.charAt(length - 1) === \"5\") {\n        snum = `${snum.slice(0, Math.max(0, length - 1))}6`;\n      }\n      return Number.parseFloat(Number(snum).toFixed(pre));\n    };\n    const getPrecision = (value) => {\n      if (isNil(value))\n        return 0;\n      const valueString = value.toString();\n      const dotPosition = valueString.indexOf(\".\");\n      let precision = 0;\n      if (dotPosition !== -1) {\n        precision = valueString.length - dotPosition - 1;\n      }\n      return precision;\n    };\n    const ensurePrecision = (val, coefficient = 1) => {\n      if (!isNumber(val))\n        return data.currentValue;\n      return toPrecision(val + props.step * coefficient);\n    };\n    const increase = () => {\n      if (props.readonly || inputNumberDisabled.value || maxDisabled.value)\n        return;\n      const value = Number(displayValue.value) || 0;\n      const newVal = ensurePrecision(value);\n      setCurrentValue(newVal);\n      emit(INPUT_EVENT, data.currentValue);\n    };\n    const decrease = () => {\n      if (props.readonly || inputNumberDisabled.value || minDisabled.value)\n        return;\n      const value = Number(displayValue.value) || 0;\n      const newVal = ensurePrecision(value, -1);\n      setCurrentValue(newVal);\n      emit(INPUT_EVENT, data.currentValue);\n    };\n    const verifyValue = (value, update) => {\n      const { max, min, step, precision, stepStrictly, valueOnClear } = props;\n      let newVal = Number(value);\n      if (isNil(value) || Number.isNaN(newVal)) {\n        return null;\n      }\n      if (value === \"\") {\n        if (valueOnClear === null) {\n          return null;\n        }\n        newVal = isString(valueOnClear) ? { min, max }[valueOnClear] : valueOnClear;\n      }\n      if (stepStrictly) {\n        newVal = toPrecision(Math.round(newVal / step) * step, precision);\n      }\n      if (!isUndefined(precision)) {\n        newVal = toPrecision(newVal, precision);\n      }\n      if (newVal > max || newVal < min) {\n        newVal = newVal > max ? max : min;\n        update && emit(UPDATE_MODEL_EVENT, newVal);\n      }\n      return newVal;\n    };\n    const setCurrentValue = (value, emitChange = true) => {\n      var _a;\n      const oldVal = data.currentValue;\n      const newVal = verifyValue(value);\n      if (!emitChange) {\n        emit(UPDATE_MODEL_EVENT, newVal);\n        return;\n      }\n      if (oldVal === newVal)\n        return;\n      data.userInput = null;\n      emit(UPDATE_MODEL_EVENT, newVal);\n      emit(CHANGE_EVENT, newVal, oldVal);\n      if (props.validateEvent) {\n        (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, \"change\").catch((err) => debugWarn(err));\n      }\n      data.currentValue = newVal;\n    };\n    const handleInput = (value) => {\n      data.userInput = value;\n      const newVal = value === \"\" ? null : Number(value);\n      emit(INPUT_EVENT, newVal);\n      setCurrentValue(newVal, false);\n    };\n    const handleInputChange = (value) => {\n      const newVal = value !== \"\" ? Number(value) : \"\";\n      if (isNumber(newVal) && !Number.isNaN(newVal) || value === \"\") {\n        setCurrentValue(newVal);\n      }\n      data.userInput = null;\n    };\n    const focus = () => {\n      var _a, _b;\n      (_b = (_a = input.value) == null ? void 0 : _a.focus) == null ? void 0 : _b.call(_a);\n    };\n    const blur = () => {\n      var _a, _b;\n      (_b = (_a = input.value) == null ? void 0 : _a.blur) == null ? void 0 : _b.call(_a);\n    };\n    const handleFocus = (event) => {\n      emit(\"focus\", event);\n    };\n    const handleBlur = (event) => {\n      var _a;\n      emit(\"blur\", event);\n      if (props.validateEvent) {\n        (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, \"blur\").catch((err) => debugWarn(err));\n      }\n    };\n    watch(() => props.modelValue, (value) => {\n      const userInput = verifyValue(data.userInput);\n      const newValue = verifyValue(value, true);\n      if (!isNumber(userInput) && (!userInput || userInput !== newValue)) {\n        data.currentValue = newValue;\n        data.userInput = null;\n      }\n    }, { immediate: true });\n    onMounted(() => {\n      var _a;\n      const { min, max, modelValue } = props;\n      const innerInput = (_a = input.value) == null ? void 0 : _a.input;\n      innerInput.setAttribute(\"role\", \"spinbutton\");\n      if (Number.isFinite(max)) {\n        innerInput.setAttribute(\"aria-valuemax\", String(max));\n      } else {\n        innerInput.removeAttribute(\"aria-valuemax\");\n      }\n      if (Number.isFinite(min)) {\n        innerInput.setAttribute(\"aria-valuemin\", String(min));\n      } else {\n        innerInput.removeAttribute(\"aria-valuemin\");\n      }\n      innerInput.setAttribute(\"aria-valuenow\", String(data.currentValue));\n      innerInput.setAttribute(\"aria-disabled\", String(inputNumberDisabled.value));\n      if (!isNumber(modelValue) && modelValue != null) {\n        let val = Number(modelValue);\n        if (Number.isNaN(val)) {\n          val = null;\n        }\n        emit(UPDATE_MODEL_EVENT, val);\n      }\n    });\n    onUpdated(() => {\n      var _a;\n      const innerInput = (_a = input.value) == null ? void 0 : _a.input;\n      innerInput == null ? void 0 : innerInput.setAttribute(\"aria-valuenow\", `${data.currentValue}`);\n    });\n    expose({\n      focus,\n      blur\n    });\n    return (_ctx, _cache) => {\n      return openBlock(), createElementBlock(\"div\", {\n        class: normalizeClass([\n          unref(ns).b(),\n          unref(ns).m(unref(inputNumberSize)),\n          unref(ns).is(\"disabled\", unref(inputNumberDisabled)),\n          unref(ns).is(\"without-controls\", !_ctx.controls),\n          unref(ns).is(\"controls-right\", unref(controlsAtRight))\n        ]),\n        onDragstart: _cache[1] || (_cache[1] = withModifiers(() => {\n        }, [\"prevent\"]))\n      }, [\n        _ctx.controls ? withDirectives((openBlock(), createElementBlock(\"span\", {\n          key: 0,\n          role: \"button\",\n          \"aria-label\": unref(t)(\"el.inputNumber.decrease\"),\n          class: normalizeClass([unref(ns).e(\"decrease\"), unref(ns).is(\"disabled\", unref(minDisabled))]),\n          onKeydown: withKeys(decrease, [\"enter\"])\n        }, [\n          createVNode(unref(ElIcon), null, {\n            default: withCtx(() => [\n              unref(controlsAtRight) ? (openBlock(), createBlock(unref(ArrowDown), { key: 0 })) : (openBlock(), createBlock(unref(Minus), { key: 1 }))\n            ]),\n            _: 1\n          })\n        ], 42, _hoisted_1)), [\n          [unref(vRepeatClick), decrease]\n        ]) : createCommentVNode(\"v-if\", true),\n        _ctx.controls ? withDirectives((openBlock(), createElementBlock(\"span\", {\n          key: 1,\n          role: \"button\",\n          \"aria-label\": unref(t)(\"el.inputNumber.increase\"),\n          class: normalizeClass([unref(ns).e(\"increase\"), unref(ns).is(\"disabled\", unref(maxDisabled))]),\n          onKeydown: withKeys(increase, [\"enter\"])\n        }, [\n          createVNode(unref(ElIcon), null, {\n            default: withCtx(() => [\n              unref(controlsAtRight) ? (openBlock(), createBlock(unref(ArrowUp), { key: 0 })) : (openBlock(), createBlock(unref(Plus), { key: 1 }))\n            ]),\n            _: 1\n          })\n        ], 42, _hoisted_2)), [\n          [unref(vRepeatClick), increase]\n        ]) : createCommentVNode(\"v-if\", true),\n        createVNode(unref(ElInput), {\n          id: _ctx.id,\n          ref_key: \"input\",\n          ref: input,\n          type: \"number\",\n          step: _ctx.step,\n          \"model-value\": unref(displayValue),\n          placeholder: _ctx.placeholder,\n          readonly: _ctx.readonly,\n          disabled: unref(inputNumberDisabled),\n          size: unref(inputNumberSize),\n          max: _ctx.max,\n          min: _ctx.min,\n          name: _ctx.name,\n          label: _ctx.label,\n          \"validate-event\": false,\n          onWheel: _cache[0] || (_cache[0] = withModifiers(() => {\n          }, [\"prevent\"])),\n          onKeydown: [\n            withKeys(withModifiers(increase, [\"prevent\"]), [\"up\"]),\n            withKeys(withModifiers(decrease, [\"prevent\"]), [\"down\"])\n          ],\n          onBlur: handleBlur,\n          onFocus: handleFocus,\n          onInput: handleInput,\n          onChange: handleInputChange\n        }, null, 8, [\"id\", \"step\", \"model-value\", \"placeholder\", \"readonly\", \"disabled\", \"size\", \"max\", \"min\", \"name\", \"label\", \"onKeydown\"])\n      ], 34);\n    };\n  }\n});\nvar InputNumber = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/input-number/src/input-number.vue\"]]);\n\nexport { InputNumber as default };\n//# sourceMappingURL=input-number2.mjs.map\n","import '../../utils/index.mjs';\nimport InputNumber from './src/input-number2.mjs';\nexport { inputNumberEmits, inputNumberProps } from './src/input-number.mjs';\nimport { withInstall } from '../../utils/vue/install.mjs';\n\nconst ElInputNumber = withInstall(InputNumber);\n\nexport { ElInputNumber, ElInputNumber as default };\n//# sourceMappingURL=index.mjs.map\n","const NODE_KEY = \"$treeNodeId\";\nconst markNodeData = function(node, data) {\n  if (!data || data[NODE_KEY])\n    return;\n  Object.defineProperty(data, NODE_KEY, {\n    value: node.id,\n    enumerable: false,\n    configurable: false,\n    writable: false\n  });\n};\nconst getNodeKey = function(key, data) {\n  if (!key)\n    return data[NODE_KEY];\n  return data[key];\n};\nconst handleCurrentChange = (store, emit, setCurrent) => {\n  const preCurrentNode = store.value.currentNode;\n  setCurrent();\n  const currentNode = store.value.currentNode;\n  if (preCurrentNode === currentNode)\n    return;\n  emit(\"current-change\", currentNode ? currentNode.data : null, currentNode);\n};\n\nexport { NODE_KEY, getNodeKey, handleCurrentChange, markNodeData };\n//# sourceMappingURL=util.mjs.map\n","import { reactive } from 'vue';\nimport '../../../../utils/index.mjs';\nimport { markNodeData, NODE_KEY } from './util.mjs';\nimport { hasOwn } from '@vue/shared';\n\nconst getChildState = (node) => {\n  let all = true;\n  let none = true;\n  let allWithoutDisable = true;\n  for (let i = 0, j = node.length; i < j; i++) {\n    const n = node[i];\n    if (n.checked !== true || n.indeterminate) {\n      all = false;\n      if (!n.disabled) {\n        allWithoutDisable = false;\n      }\n    }\n    if (n.checked !== false || n.indeterminate) {\n      none = false;\n    }\n  }\n  return { all, none, allWithoutDisable, half: !all && !none };\n};\nconst reInitChecked = function(node) {\n  if (node.childNodes.length === 0 || node.loading)\n    return;\n  const { all, none, half } = getChildState(node.childNodes);\n  if (all) {\n    node.checked = true;\n    node.indeterminate = false;\n  } else if (half) {\n    node.checked = false;\n    node.indeterminate = true;\n  } else if (none) {\n    node.checked = false;\n    node.indeterminate = false;\n  }\n  const parent = node.parent;\n  if (!parent || parent.level === 0)\n    return;\n  if (!node.store.checkStrictly) {\n    reInitChecked(parent);\n  }\n};\nconst getPropertyFromData = function(node, prop) {\n  const props = node.store.props;\n  const data = node.data || {};\n  const config = props[prop];\n  if (typeof config === \"function\") {\n    return config(data, node);\n  } else if (typeof config === \"string\") {\n    return data[config];\n  } else if (typeof config === \"undefined\") {\n    const dataProp = data[prop];\n    return dataProp === void 0 ? \"\" : dataProp;\n  }\n};\nlet nodeIdSeed = 0;\nclass Node {\n  constructor(options) {\n    this.id = nodeIdSeed++;\n    this.text = null;\n    this.checked = false;\n    this.indeterminate = false;\n    this.data = null;\n    this.expanded = false;\n    this.parent = null;\n    this.visible = true;\n    this.isCurrent = false;\n    this.canFocus = false;\n    for (const name in options) {\n      if (hasOwn(options, name)) {\n        this[name] = options[name];\n      }\n    }\n    this.level = 0;\n    this.loaded = false;\n    this.childNodes = [];\n    this.loading = false;\n    if (this.parent) {\n      this.level = this.parent.level + 1;\n    }\n  }\n  initialize() {\n    const store = this.store;\n    if (!store) {\n      throw new Error(\"[Node]store is required!\");\n    }\n    store.registerNode(this);\n    const props = store.props;\n    if (props && typeof props.isLeaf !== \"undefined\") {\n      const isLeaf = getPropertyFromData(this, \"isLeaf\");\n      if (typeof isLeaf === \"boolean\") {\n        this.isLeafByUser = isLeaf;\n      }\n    }\n    if (store.lazy !== true && this.data) {\n      this.setData(this.data);\n      if (store.defaultExpandAll) {\n        this.expanded = true;\n        this.canFocus = true;\n      }\n    } else if (this.level > 0 && store.lazy && store.defaultExpandAll) {\n      this.expand();\n    }\n    if (!Array.isArray(this.data)) {\n      markNodeData(this, this.data);\n    }\n    if (!this.data)\n      return;\n    const defaultExpandedKeys = store.defaultExpandedKeys;\n    const key = store.key;\n    if (key && defaultExpandedKeys && defaultExpandedKeys.includes(this.key)) {\n      this.expand(null, store.autoExpandParent);\n    }\n    if (key && store.currentNodeKey !== void 0 && this.key === store.currentNodeKey) {\n      store.currentNode = this;\n      store.currentNode.isCurrent = true;\n    }\n    if (store.lazy) {\n      store._initDefaultCheckedNode(this);\n    }\n    this.updateLeafState();\n    if (this.parent && (this.level === 1 || this.parent.expanded === true))\n      this.canFocus = true;\n  }\n  setData(data) {\n    if (!Array.isArray(data)) {\n      markNodeData(this, data);\n    }\n    this.data = data;\n    this.childNodes = [];\n    let children;\n    if (this.level === 0 && Array.isArray(this.data)) {\n      children = this.data;\n    } else {\n      children = getPropertyFromData(this, \"children\") || [];\n    }\n    for (let i = 0, j = children.length; i < j; i++) {\n      this.insertChild({ data: children[i] });\n    }\n  }\n  get label() {\n    return getPropertyFromData(this, \"label\");\n  }\n  get key() {\n    const nodeKey = this.store.key;\n    if (this.data)\n      return this.data[nodeKey];\n    return null;\n  }\n  get disabled() {\n    return getPropertyFromData(this, \"disabled\");\n  }\n  get nextSibling() {\n    const parent = this.parent;\n    if (parent) {\n      const index = parent.childNodes.indexOf(this);\n      if (index > -1) {\n        return parent.childNodes[index + 1];\n      }\n    }\n    return null;\n  }\n  get previousSibling() {\n    const parent = this.parent;\n    if (parent) {\n      const index = parent.childNodes.indexOf(this);\n      if (index > -1) {\n        return index > 0 ? parent.childNodes[index - 1] : null;\n      }\n    }\n    return null;\n  }\n  contains(target, deep = true) {\n    return (this.childNodes || []).some((child) => child === target || deep && child.contains(target));\n  }\n  remove() {\n    const parent = this.parent;\n    if (parent) {\n      parent.removeChild(this);\n    }\n  }\n  insertChild(child, index, batch) {\n    if (!child)\n      throw new Error(\"InsertChild error: child is required.\");\n    if (!(child instanceof Node)) {\n      if (!batch) {\n        const children = this.getChildren(true);\n        if (!children.includes(child.data)) {\n          if (typeof index === \"undefined\" || index < 0) {\n            children.push(child.data);\n          } else {\n            children.splice(index, 0, child.data);\n          }\n        }\n      }\n      Object.assign(child, {\n        parent: this,\n        store: this.store\n      });\n      child = reactive(new Node(child));\n      if (child instanceof Node) {\n        child.initialize();\n      }\n    }\n    ;\n    child.level = this.level + 1;\n    if (typeof index === \"undefined\" || index < 0) {\n      this.childNodes.push(child);\n    } else {\n      this.childNodes.splice(index, 0, child);\n    }\n    this.updateLeafState();\n  }\n  insertBefore(child, ref) {\n    let index;\n    if (ref) {\n      index = this.childNodes.indexOf(ref);\n    }\n    this.insertChild(child, index);\n  }\n  insertAfter(child, ref) {\n    let index;\n    if (ref) {\n      index = this.childNodes.indexOf(ref);\n      if (index !== -1)\n        index += 1;\n    }\n    this.insertChild(child, index);\n  }\n  removeChild(child) {\n    const children = this.getChildren() || [];\n    const dataIndex = children.indexOf(child.data);\n    if (dataIndex > -1) {\n      children.splice(dataIndex, 1);\n    }\n    const index = this.childNodes.indexOf(child);\n    if (index > -1) {\n      this.store && this.store.deregisterNode(child);\n      child.parent = null;\n      this.childNodes.splice(index, 1);\n    }\n    this.updateLeafState();\n  }\n  removeChildByData(data) {\n    let targetNode = null;\n    for (let i = 0; i < this.childNodes.length; i++) {\n      if (this.childNodes[i].data === data) {\n        targetNode = this.childNodes[i];\n        break;\n      }\n    }\n    if (targetNode) {\n      this.removeChild(targetNode);\n    }\n  }\n  expand(callback, expandParent) {\n    const done = () => {\n      if (expandParent) {\n        let parent = this.parent;\n        while (parent.level > 0) {\n          parent.expanded = true;\n          parent = parent.parent;\n        }\n      }\n      this.expanded = true;\n      if (callback)\n        callback();\n      this.childNodes.forEach((item) => {\n        item.canFocus = true;\n      });\n    };\n    if (this.shouldLoadData()) {\n      this.loadData((data) => {\n        if (Array.isArray(data)) {\n          if (this.checked) {\n            this.setChecked(true, true);\n          } else if (!this.store.checkStrictly) {\n            reInitChecked(this);\n          }\n          done();\n        }\n      });\n    } else {\n      done();\n    }\n  }\n  doCreateChildren(array, defaultProps = {}) {\n    array.forEach((item) => {\n      this.insertChild(Object.assign({ data: item }, defaultProps), void 0, true);\n    });\n  }\n  collapse() {\n    this.expanded = false;\n    this.childNodes.forEach((item) => {\n      item.canFocus = false;\n    });\n  }\n  shouldLoadData() {\n    return this.store.lazy === true && this.store.load && !this.loaded;\n  }\n  updateLeafState() {\n    if (this.store.lazy === true && this.loaded !== true && typeof this.isLeafByUser !== \"undefined\") {\n      this.isLeaf = this.isLeafByUser;\n      return;\n    }\n    const childNodes = this.childNodes;\n    if (!this.store.lazy || this.store.lazy === true && this.loaded === true) {\n      this.isLeaf = !childNodes || childNodes.length === 0;\n      return;\n    }\n    this.isLeaf = false;\n  }\n  setChecked(value, deep, recursion, passValue) {\n    this.indeterminate = value === \"half\";\n    this.checked = value === true;\n    if (this.store.checkStrictly)\n      return;\n    if (!(this.shouldLoadData() && !this.store.checkDescendants)) {\n      const { all, allWithoutDisable } = getChildState(this.childNodes);\n      if (!this.isLeaf && !all && allWithoutDisable) {\n        this.checked = false;\n        value = false;\n      }\n      const handleDescendants = () => {\n        if (deep) {\n          const childNodes = this.childNodes;\n          for (let i = 0, j = childNodes.length; i < j; i++) {\n            const child = childNodes[i];\n            passValue = passValue || value !== false;\n            const isCheck = child.disabled ? child.checked : passValue;\n            child.setChecked(isCheck, deep, true, passValue);\n          }\n          const { half, all: all2 } = getChildState(childNodes);\n          if (!all2) {\n            this.checked = all2;\n            this.indeterminate = half;\n          }\n        }\n      };\n      if (this.shouldLoadData()) {\n        this.loadData(() => {\n          handleDescendants();\n          reInitChecked(this);\n        }, {\n          checked: value !== false\n        });\n        return;\n      } else {\n        handleDescendants();\n      }\n    }\n    const parent = this.parent;\n    if (!parent || parent.level === 0)\n      return;\n    if (!recursion) {\n      reInitChecked(parent);\n    }\n  }\n  getChildren(forceInit = false) {\n    if (this.level === 0)\n      return this.data;\n    const data = this.data;\n    if (!data)\n      return null;\n    const props = this.store.props;\n    let children = \"children\";\n    if (props) {\n      children = props.children || \"children\";\n    }\n    if (data[children] === void 0) {\n      data[children] = null;\n    }\n    if (forceInit && !data[children]) {\n      data[children] = [];\n    }\n    return data[children];\n  }\n  updateChildren() {\n    const newData = this.getChildren() || [];\n    const oldData = this.childNodes.map((node) => node.data);\n    const newDataMap = {};\n    const newNodes = [];\n    newData.forEach((item, index) => {\n      const key = item[NODE_KEY];\n      const isNodeExists = !!key && oldData.findIndex((data) => data[NODE_KEY] === key) >= 0;\n      if (isNodeExists) {\n        newDataMap[key] = { index, data: item };\n      } else {\n        newNodes.push({ index, data: item });\n      }\n    });\n    if (!this.store.lazy) {\n      oldData.forEach((item) => {\n        if (!newDataMap[item[NODE_KEY]])\n          this.removeChildByData(item);\n      });\n    }\n    newNodes.forEach(({ index, data }) => {\n      this.insertChild({ data }, index);\n    });\n    this.updateLeafState();\n  }\n  loadData(callback, defaultProps = {}) {\n    if (this.store.lazy === true && this.store.load && !this.loaded && (!this.loading || Object.keys(defaultProps).length)) {\n      this.loading = true;\n      const resolve = (children) => {\n        this.childNodes = [];\n        this.doCreateChildren(children, defaultProps);\n        this.loaded = true;\n        this.loading = false;\n        this.updateLeafState();\n        if (callback) {\n          callback.call(this, children);\n        }\n      };\n      this.store.load(this, resolve);\n    } else {\n      if (callback) {\n        callback.call(this);\n      }\n    }\n  }\n}\n\nexport { Node as default, getChildState };\n//# sourceMappingURL=node.mjs.map\n","import '../../../../utils/index.mjs';\nimport Node from './node.mjs';\nimport { getNodeKey } from './util.mjs';\nimport { hasOwn, isObject } from '@vue/shared';\n\nclass TreeStore {\n  constructor(options) {\n    this.currentNode = null;\n    this.currentNodeKey = null;\n    for (const option in options) {\n      if (hasOwn(options, option)) {\n        this[option] = options[option];\n      }\n    }\n    this.nodesMap = {};\n  }\n  initialize() {\n    this.root = new Node({\n      data: this.data,\n      store: this\n    });\n    this.root.initialize();\n    if (this.lazy && this.load) {\n      const loadFn = this.load;\n      loadFn(this.root, (data) => {\n        this.root.doCreateChildren(data);\n        this._initDefaultCheckedNodes();\n      });\n    } else {\n      this._initDefaultCheckedNodes();\n    }\n  }\n  filter(value) {\n    const filterNodeMethod = this.filterNodeMethod;\n    const lazy = this.lazy;\n    const traverse = function(node) {\n      const childNodes = node.root ? node.root.childNodes : node.childNodes;\n      childNodes.forEach((child) => {\n        child.visible = filterNodeMethod.call(child, value, child.data, child);\n        traverse(child);\n      });\n      if (!node.visible && childNodes.length) {\n        let allHidden = true;\n        allHidden = !childNodes.some((child) => child.visible);\n        if (node.root) {\n          ;\n          node.root.visible = allHidden === false;\n        } else {\n          ;\n          node.visible = allHidden === false;\n        }\n      }\n      if (!value)\n        return;\n      if (node.visible && !node.isLeaf && !lazy)\n        node.expand();\n    };\n    traverse(this);\n  }\n  setData(newVal) {\n    const instanceChanged = newVal !== this.root.data;\n    if (instanceChanged) {\n      this.root.setData(newVal);\n      this._initDefaultCheckedNodes();\n    } else {\n      this.root.updateChildren();\n    }\n  }\n  getNode(data) {\n    if (data instanceof Node)\n      return data;\n    const key = isObject(data) ? getNodeKey(this.key, data) : data;\n    return this.nodesMap[key] || null;\n  }\n  insertBefore(data, refData) {\n    const refNode = this.getNode(refData);\n    refNode.parent.insertBefore({ data }, refNode);\n  }\n  insertAfter(data, refData) {\n    const refNode = this.getNode(refData);\n    refNode.parent.insertAfter({ data }, refNode);\n  }\n  remove(data) {\n    const node = this.getNode(data);\n    if (node && node.parent) {\n      if (node === this.currentNode) {\n        this.currentNode = null;\n      }\n      node.parent.removeChild(node);\n    }\n  }\n  append(data, parentData) {\n    const parentNode = parentData ? this.getNode(parentData) : this.root;\n    if (parentNode) {\n      parentNode.insertChild({ data });\n    }\n  }\n  _initDefaultCheckedNodes() {\n    const defaultCheckedKeys = this.defaultCheckedKeys || [];\n    const nodesMap = this.nodesMap;\n    defaultCheckedKeys.forEach((checkedKey) => {\n      const node = nodesMap[checkedKey];\n      if (node) {\n        node.setChecked(true, !this.checkStrictly);\n      }\n    });\n  }\n  _initDefaultCheckedNode(node) {\n    const defaultCheckedKeys = this.defaultCheckedKeys || [];\n    if (defaultCheckedKeys.includes(node.key)) {\n      node.setChecked(true, !this.checkStrictly);\n    }\n  }\n  setDefaultCheckedKey(newVal) {\n    if (newVal !== this.defaultCheckedKeys) {\n      this.defaultCheckedKeys = newVal;\n      this._initDefaultCheckedNodes();\n    }\n  }\n  registerNode(node) {\n    const key = this.key;\n    if (!node || !node.data)\n      return;\n    if (!key) {\n      this.nodesMap[node.id] = node;\n    } else {\n      const nodeKey = node.key;\n      if (nodeKey !== void 0)\n        this.nodesMap[node.key] = node;\n    }\n  }\n  deregisterNode(node) {\n    const key = this.key;\n    if (!key || !node || !node.data)\n      return;\n    node.childNodes.forEach((child) => {\n      this.deregisterNode(child);\n    });\n    delete this.nodesMap[node.key];\n  }\n  getCheckedNodes(leafOnly = false, includeHalfChecked = false) {\n    const checkedNodes = [];\n    const traverse = function(node) {\n      const childNodes = node.root ? node.root.childNodes : node.childNodes;\n      childNodes.forEach((child) => {\n        if ((child.checked || includeHalfChecked && child.indeterminate) && (!leafOnly || leafOnly && child.isLeaf)) {\n          checkedNodes.push(child.data);\n        }\n        traverse(child);\n      });\n    };\n    traverse(this);\n    return checkedNodes;\n  }\n  getCheckedKeys(leafOnly = false) {\n    return this.getCheckedNodes(leafOnly).map((data) => (data || {})[this.key]);\n  }\n  getHalfCheckedNodes() {\n    const nodes = [];\n    const traverse = function(node) {\n      const childNodes = node.root ? node.root.childNodes : node.childNodes;\n      childNodes.forEach((child) => {\n        if (child.indeterminate) {\n          nodes.push(child.data);\n        }\n        traverse(child);\n      });\n    };\n    traverse(this);\n    return nodes;\n  }\n  getHalfCheckedKeys() {\n    return this.getHalfCheckedNodes().map((data) => (data || {})[this.key]);\n  }\n  _getAllNodes() {\n    const allNodes = [];\n    const nodesMap = this.nodesMap;\n    for (const nodeKey in nodesMap) {\n      if (hasOwn(nodesMap, nodeKey)) {\n        allNodes.push(nodesMap[nodeKey]);\n      }\n    }\n    return allNodes;\n  }\n  updateChildren(key, data) {\n    const node = this.nodesMap[key];\n    if (!node)\n      return;\n    const childNodes = node.childNodes;\n    for (let i = childNodes.length - 1; i >= 0; i--) {\n      const child = childNodes[i];\n      this.remove(child.data);\n    }\n    for (let i = 0, j = data.length; i < j; i++) {\n      const child = data[i];\n      this.append(child, node.data);\n    }\n  }\n  _setCheckedKeys(key, leafOnly = false, checkedKeys) {\n    const allNodes = this._getAllNodes().sort((a, b) => b.level - a.level);\n    const cache = /* @__PURE__ */ Object.create(null);\n    const keys = Object.keys(checkedKeys);\n    allNodes.forEach((node) => node.setChecked(false, false));\n    for (let i = 0, j = allNodes.length; i < j; i++) {\n      const node = allNodes[i];\n      const nodeKey = node.data[key].toString();\n      const checked = keys.includes(nodeKey);\n      if (!checked) {\n        if (node.checked && !cache[nodeKey]) {\n          node.setChecked(false, false);\n        }\n        continue;\n      }\n      let parent = node.parent;\n      while (parent && parent.level > 0) {\n        cache[parent.data[key]] = true;\n        parent = parent.parent;\n      }\n      if (node.isLeaf || this.checkStrictly) {\n        node.setChecked(true, false);\n        continue;\n      }\n      node.setChecked(true, true);\n      if (leafOnly) {\n        node.setChecked(false, false);\n        const traverse = function(node2) {\n          const childNodes = node2.childNodes;\n          childNodes.forEach((child) => {\n            if (!child.isLeaf) {\n              child.setChecked(false, false);\n            }\n            traverse(child);\n          });\n        };\n        traverse(node);\n      }\n    }\n  }\n  setCheckedNodes(array, leafOnly = false) {\n    const key = this.key;\n    const checkedKeys = {};\n    array.forEach((item) => {\n      checkedKeys[(item || {})[key]] = true;\n    });\n    this._setCheckedKeys(key, leafOnly, checkedKeys);\n  }\n  setCheckedKeys(keys, leafOnly = false) {\n    this.defaultCheckedKeys = keys;\n    const key = this.key;\n    const checkedKeys = {};\n    keys.forEach((key2) => {\n      checkedKeys[key2] = true;\n    });\n    this._setCheckedKeys(key, leafOnly, checkedKeys);\n  }\n  setDefaultExpandedKeys(keys) {\n    keys = keys || [];\n    this.defaultExpandedKeys = keys;\n    keys.forEach((key) => {\n      const node = this.getNode(key);\n      if (node)\n        node.expand(null, this.autoExpandParent);\n    });\n  }\n  setChecked(data, checked, deep) {\n    const node = this.getNode(data);\n    if (node) {\n      node.setChecked(!!checked, deep);\n    }\n  }\n  getCurrentNode() {\n    return this.currentNode;\n  }\n  setCurrentNode(currentNode) {\n    const prevCurrentNode = this.currentNode;\n    if (prevCurrentNode) {\n      prevCurrentNode.isCurrent = false;\n    }\n    this.currentNode = currentNode;\n    this.currentNode.isCurrent = true;\n  }\n  setUserCurrentNode(node, shouldAutoExpandParent = true) {\n    const key = node[this.key];\n    const currNode = this.nodesMap[key];\n    this.setCurrentNode(currNode);\n    if (shouldAutoExpandParent && this.currentNode.level > 1) {\n      this.currentNode.parent.expand(null, true);\n    }\n  }\n  setCurrentNodeKey(key, shouldAutoExpandParent = true) {\n    if (key === null || key === void 0) {\n      this.currentNode && (this.currentNode.isCurrent = false);\n      this.currentNode = null;\n      return;\n    }\n    const node = this.getNode(key);\n    if (node) {\n      this.setCurrentNode(node);\n      if (shouldAutoExpandParent && this.currentNode.level > 1) {\n        this.currentNode.parent.expand(null, true);\n      }\n    }\n  }\n}\n\nexport { TreeStore as default };\n//# sourceMappingURL=tree-store.mjs.map\n","import { defineComponent, inject, h } from 'vue';\nimport '../../../hooks/index.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\n\nconst _sfc_main = defineComponent({\n  name: \"ElTreeNodeContent\",\n  props: {\n    node: {\n      type: Object,\n      required: true\n    },\n    renderContent: Function\n  },\n  setup(props) {\n    const ns = useNamespace(\"tree\");\n    const nodeInstance = inject(\"NodeInstance\");\n    const tree = inject(\"RootTree\");\n    return () => {\n      const node = props.node;\n      const { data, store } = node;\n      return props.renderContent ? props.renderContent(h, { _self: nodeInstance, node, data, store }) : tree.ctx.slots.default ? tree.ctx.slots.default({ node, data }) : h(\"span\", { class: ns.be(\"node\", \"label\") }, [node.label]);\n    };\n  }\n});\nvar NodeContent = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/tree/src/tree-node-content.vue\"]]);\n\nexport { NodeContent as default };\n//# sourceMappingURL=tree-node-content.mjs.map\n","import { inject, provide } from 'vue';\n\nfunction useNodeExpandEventBroadcast(props) {\n  const parentNodeMap = inject(\"TreeNodeMap\", null);\n  const currentNodeMap = {\n    treeNodeExpand: (node) => {\n      if (props.node !== node) {\n        props.node.collapse();\n      }\n    },\n    children: []\n  };\n  if (parentNodeMap) {\n    parentNodeMap.children.push(currentNodeMap);\n  }\n  provide(\"TreeNodeMap\", currentNodeMap);\n  return {\n    broadcastExpanded: (node) => {\n      if (!props.accordion)\n        return;\n      for (const childNode of currentNodeMap.children) {\n        childNode.treeNodeExpand(node);\n      }\n    }\n  };\n}\n\nexport { useNodeExpandEventBroadcast };\n//# sourceMappingURL=useNodeExpandEventBroadcast.mjs.map\n","import { ref, provide } from 'vue';\nimport '../../../../utils/index.mjs';\nimport '../../../../hooks/index.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\nimport { removeClass, addClass } from '../../../../utils/dom/style.mjs';\n\nconst dragEventsKey = Symbol(\"dragEvents\");\nfunction useDragNodeHandler({ props, ctx, el$, dropIndicator$, store }) {\n  const ns = useNamespace(\"tree\");\n  const dragState = ref({\n    showDropIndicator: false,\n    draggingNode: null,\n    dropNode: null,\n    allowDrop: true,\n    dropType: null\n  });\n  const treeNodeDragStart = ({ event, treeNode }) => {\n    if (typeof props.allowDrag === \"function\" && !props.allowDrag(treeNode.node)) {\n      event.preventDefault();\n      return false;\n    }\n    event.dataTransfer.effectAllowed = \"move\";\n    try {\n      event.dataTransfer.setData(\"text/plain\", \"\");\n    } catch (e) {\n    }\n    dragState.value.draggingNode = treeNode;\n    ctx.emit(\"node-drag-start\", treeNode.node, event);\n  };\n  const treeNodeDragOver = ({ event, treeNode }) => {\n    const dropNode = treeNode;\n    const oldDropNode = dragState.value.dropNode;\n    if (oldDropNode && oldDropNode !== dropNode) {\n      removeClass(oldDropNode.$el, ns.is(\"drop-inner\"));\n    }\n    const draggingNode = dragState.value.draggingNode;\n    if (!draggingNode || !dropNode)\n      return;\n    let dropPrev = true;\n    let dropInner = true;\n    let dropNext = true;\n    let userAllowDropInner = true;\n    if (typeof props.allowDrop === \"function\") {\n      dropPrev = props.allowDrop(draggingNode.node, dropNode.node, \"prev\");\n      userAllowDropInner = dropInner = props.allowDrop(draggingNode.node, dropNode.node, \"inner\");\n      dropNext = props.allowDrop(draggingNode.node, dropNode.node, \"next\");\n    }\n    event.dataTransfer.dropEffect = dropInner || dropPrev || dropNext ? \"move\" : \"none\";\n    if ((dropPrev || dropInner || dropNext) && oldDropNode !== dropNode) {\n      if (oldDropNode) {\n        ctx.emit(\"node-drag-leave\", draggingNode.node, oldDropNode.node, event);\n      }\n      ctx.emit(\"node-drag-enter\", draggingNode.node, dropNode.node, event);\n    }\n    if (dropPrev || dropInner || dropNext) {\n      dragState.value.dropNode = dropNode;\n    }\n    if (dropNode.node.nextSibling === draggingNode.node) {\n      dropNext = false;\n    }\n    if (dropNode.node.previousSibling === draggingNode.node) {\n      dropPrev = false;\n    }\n    if (dropNode.node.contains(draggingNode.node, false)) {\n      dropInner = false;\n    }\n    if (draggingNode.node === dropNode.node || draggingNode.node.contains(dropNode.node)) {\n      dropPrev = false;\n      dropInner = false;\n      dropNext = false;\n    }\n    const targetPosition = dropNode.$el.getBoundingClientRect();\n    const treePosition = el$.value.getBoundingClientRect();\n    let dropType;\n    const prevPercent = dropPrev ? dropInner ? 0.25 : dropNext ? 0.45 : 1 : -1;\n    const nextPercent = dropNext ? dropInner ? 0.75 : dropPrev ? 0.55 : 0 : 1;\n    let indicatorTop = -9999;\n    const distance = event.clientY - targetPosition.top;\n    if (distance < targetPosition.height * prevPercent) {\n      dropType = \"before\";\n    } else if (distance > targetPosition.height * nextPercent) {\n      dropType = \"after\";\n    } else if (dropInner) {\n      dropType = \"inner\";\n    } else {\n      dropType = \"none\";\n    }\n    const iconPosition = dropNode.$el.querySelector(`.${ns.be(\"node\", \"expand-icon\")}`).getBoundingClientRect();\n    const dropIndicator = dropIndicator$.value;\n    if (dropType === \"before\") {\n      indicatorTop = iconPosition.top - treePosition.top;\n    } else if (dropType === \"after\") {\n      indicatorTop = iconPosition.bottom - treePosition.top;\n    }\n    dropIndicator.style.top = `${indicatorTop}px`;\n    dropIndicator.style.left = `${iconPosition.right - treePosition.left}px`;\n    if (dropType === \"inner\") {\n      addClass(dropNode.$el, ns.is(\"drop-inner\"));\n    } else {\n      removeClass(dropNode.$el, ns.is(\"drop-inner\"));\n    }\n    dragState.value.showDropIndicator = dropType === \"before\" || dropType === \"after\";\n    dragState.value.allowDrop = dragState.value.showDropIndicator || userAllowDropInner;\n    dragState.value.dropType = dropType;\n    ctx.emit(\"node-drag-over\", draggingNode.node, dropNode.node, event);\n  };\n  const treeNodeDragEnd = (event) => {\n    const { draggingNode, dropType, dropNode } = dragState.value;\n    event.preventDefault();\n    event.dataTransfer.dropEffect = \"move\";\n    if (draggingNode && dropNode) {\n      const draggingNodeCopy = { data: draggingNode.node.data };\n      if (dropType !== \"none\") {\n        draggingNode.node.remove();\n      }\n      if (dropType === \"before\") {\n        dropNode.node.parent.insertBefore(draggingNodeCopy, dropNode.node);\n      } else if (dropType === \"after\") {\n        dropNode.node.parent.insertAfter(draggingNodeCopy, dropNode.node);\n      } else if (dropType === \"inner\") {\n        dropNode.node.insertChild(draggingNodeCopy);\n      }\n      if (dropType !== \"none\") {\n        store.value.registerNode(draggingNodeCopy);\n      }\n      removeClass(dropNode.$el, ns.is(\"drop-inner\"));\n      ctx.emit(\"node-drag-end\", draggingNode.node, dropNode.node, dropType, event);\n      if (dropType !== \"none\") {\n        ctx.emit(\"node-drop\", draggingNode.node, dropNode.node, dropType, event);\n      }\n    }\n    if (draggingNode && !dropNode) {\n      ctx.emit(\"node-drag-end\", draggingNode.node, null, dropType, event);\n    }\n    dragState.value.showDropIndicator = false;\n    dragState.value.draggingNode = null;\n    dragState.value.dropNode = null;\n    dragState.value.allowDrop = true;\n  };\n  provide(dragEventsKey, {\n    treeNodeDragStart,\n    treeNodeDragOver,\n    treeNodeDragEnd\n  });\n  return {\n    dragState\n  };\n}\n\nexport { dragEventsKey, useDragNodeHandler };\n//# sourceMappingURL=useDragNode.mjs.map\n","import { defineComponent, inject, ref, getCurrentInstance, provide, watch, nextTick, resolveComponent, withDirectives, openBlock, createElementBlock, normalizeClass, withModifiers, createElementVNode, normalizeStyle, createBlock, withCtx, resolveDynamicComponent, createCommentVNode, createVNode, Fragment, renderList, vShow } from 'vue';\nimport { isFunction, isString } from '@vue/shared';\nimport _CollapseTransition from '../../collapse-transition/index.mjs';\nimport { ElCheckbox } from '../../checkbox/index.mjs';\nimport { ElIcon } from '../../icon/index.mjs';\nimport { Loading, CaretRight } from '@element-plus/icons-vue';\nimport '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport NodeContent from './tree-node-content.mjs';\nimport { getNodeKey, handleCurrentChange } from './model/util.mjs';\nimport { useNodeExpandEventBroadcast } from './model/useNodeExpandEventBroadcast.mjs';\nimport { dragEventsKey } from './model/useDragNode.mjs';\nimport Node from './model/node.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { debugWarn } from '../../../utils/error.mjs';\n\nconst _sfc_main = defineComponent({\n  name: \"ElTreeNode\",\n  components: {\n    ElCollapseTransition: _CollapseTransition,\n    ElCheckbox,\n    NodeContent,\n    ElIcon,\n    Loading\n  },\n  props: {\n    node: {\n      type: Node,\n      default: () => ({})\n    },\n    props: {\n      type: Object,\n      default: () => ({})\n    },\n    accordion: Boolean,\n    renderContent: Function,\n    renderAfterExpand: Boolean,\n    showCheckbox: {\n      type: Boolean,\n      default: false\n    }\n  },\n  emits: [\"node-expand\"],\n  setup(props, ctx) {\n    const ns = useNamespace(\"tree\");\n    const { broadcastExpanded } = useNodeExpandEventBroadcast(props);\n    const tree = inject(\"RootTree\");\n    const expanded = ref(false);\n    const childNodeRendered = ref(false);\n    const oldChecked = ref(null);\n    const oldIndeterminate = ref(null);\n    const node$ = ref(null);\n    const dragEvents = inject(dragEventsKey);\n    const instance = getCurrentInstance();\n    provide(\"NodeInstance\", instance);\n    if (!tree) {\n      debugWarn(\"Tree\", \"Can not find node's tree.\");\n    }\n    if (props.node.expanded) {\n      expanded.value = true;\n      childNodeRendered.value = true;\n    }\n    const childrenKey = tree.props[\"children\"] || \"children\";\n    watch(() => {\n      const children = props.node.data[childrenKey];\n      return children && [...children];\n    }, () => {\n      props.node.updateChildren();\n    });\n    watch(() => props.node.indeterminate, (val) => {\n      handleSelectChange(props.node.checked, val);\n    });\n    watch(() => props.node.checked, (val) => {\n      handleSelectChange(val, props.node.indeterminate);\n    });\n    watch(() => props.node.expanded, (val) => {\n      nextTick(() => expanded.value = val);\n      if (val) {\n        childNodeRendered.value = true;\n      }\n    });\n    const getNodeKey$1 = (node) => {\n      return getNodeKey(tree.props.nodeKey, node.data);\n    };\n    const getNodeClass = (node) => {\n      const nodeClassFunc = props.props.class;\n      if (!nodeClassFunc) {\n        return {};\n      }\n      let className;\n      if (isFunction(nodeClassFunc)) {\n        const { data } = node;\n        className = nodeClassFunc(data, node);\n      } else {\n        className = nodeClassFunc;\n      }\n      if (isString(className)) {\n        return { [className]: true };\n      } else {\n        return className;\n      }\n    };\n    const handleSelectChange = (checked, indeterminate) => {\n      if (oldChecked.value !== checked || oldIndeterminate.value !== indeterminate) {\n        tree.ctx.emit(\"check-change\", props.node.data, checked, indeterminate);\n      }\n      oldChecked.value = checked;\n      oldIndeterminate.value = indeterminate;\n    };\n    const handleClick = (e) => {\n      handleCurrentChange(tree.store, tree.ctx.emit, () => tree.store.value.setCurrentNode(props.node));\n      tree.currentNode.value = props.node;\n      if (tree.props.expandOnClickNode) {\n        handleExpandIconClick();\n      }\n      if (tree.props.checkOnClickNode && !props.node.disabled) {\n        handleCheckChange(null, {\n          target: { checked: !props.node.checked }\n        });\n      }\n      tree.ctx.emit(\"node-click\", props.node.data, props.node, instance, e);\n    };\n    const handleContextMenu = (event) => {\n      if (tree.instance.vnode.props[\"onNodeContextmenu\"]) {\n        event.stopPropagation();\n        event.preventDefault();\n      }\n      tree.ctx.emit(\"node-contextmenu\", event, props.node.data, props.node, instance);\n    };\n    const handleExpandIconClick = () => {\n      if (props.node.isLeaf)\n        return;\n      if (expanded.value) {\n        tree.ctx.emit(\"node-collapse\", props.node.data, props.node, instance);\n        props.node.collapse();\n      } else {\n        props.node.expand();\n        ctx.emit(\"node-expand\", props.node.data, props.node, instance);\n      }\n    };\n    const handleCheckChange = (value, ev) => {\n      props.node.setChecked(ev.target.checked, !tree.props.checkStrictly);\n      nextTick(() => {\n        const store = tree.store.value;\n        tree.ctx.emit(\"check\", props.node.data, {\n          checkedNodes: store.getCheckedNodes(),\n          checkedKeys: store.getCheckedKeys(),\n          halfCheckedNodes: store.getHalfCheckedNodes(),\n          halfCheckedKeys: store.getHalfCheckedKeys()\n        });\n      });\n    };\n    const handleChildNodeExpand = (nodeData, node, instance2) => {\n      broadcastExpanded(node);\n      tree.ctx.emit(\"node-expand\", nodeData, node, instance2);\n    };\n    const handleDragStart = (event) => {\n      if (!tree.props.draggable)\n        return;\n      dragEvents.treeNodeDragStart({ event, treeNode: props });\n    };\n    const handleDragOver = (event) => {\n      event.preventDefault();\n      if (!tree.props.draggable)\n        return;\n      dragEvents.treeNodeDragOver({\n        event,\n        treeNode: { $el: node$.value, node: props.node }\n      });\n    };\n    const handleDrop = (event) => {\n      event.preventDefault();\n    };\n    const handleDragEnd = (event) => {\n      if (!tree.props.draggable)\n        return;\n      dragEvents.treeNodeDragEnd(event);\n    };\n    return {\n      ns,\n      node$,\n      tree,\n      expanded,\n      childNodeRendered,\n      oldChecked,\n      oldIndeterminate,\n      getNodeKey: getNodeKey$1,\n      getNodeClass,\n      handleSelectChange,\n      handleClick,\n      handleContextMenu,\n      handleExpandIconClick,\n      handleCheckChange,\n      handleChildNodeExpand,\n      handleDragStart,\n      handleDragOver,\n      handleDrop,\n      handleDragEnd,\n      CaretRight\n    };\n  }\n});\nconst _hoisted_1 = [\"aria-expanded\", \"aria-disabled\", \"aria-checked\", \"draggable\", \"data-key\"];\nconst _hoisted_2 = [\"aria-expanded\"];\nfunction _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {\n  const _component_el_icon = resolveComponent(\"el-icon\");\n  const _component_el_checkbox = resolveComponent(\"el-checkbox\");\n  const _component_loading = resolveComponent(\"loading\");\n  const _component_node_content = resolveComponent(\"node-content\");\n  const _component_el_tree_node = resolveComponent(\"el-tree-node\");\n  const _component_el_collapse_transition = resolveComponent(\"el-collapse-transition\");\n  return withDirectives((openBlock(), createElementBlock(\"div\", {\n    ref: \"node$\",\n    class: normalizeClass([\n      _ctx.ns.b(\"node\"),\n      _ctx.ns.is(\"expanded\", _ctx.expanded),\n      _ctx.ns.is(\"current\", _ctx.node.isCurrent),\n      _ctx.ns.is(\"hidden\", !_ctx.node.visible),\n      _ctx.ns.is(\"focusable\", !_ctx.node.disabled),\n      _ctx.ns.is(\"checked\", !_ctx.node.disabled && _ctx.node.checked),\n      _ctx.getNodeClass(_ctx.node)\n    ]),\n    role: \"treeitem\",\n    tabindex: \"-1\",\n    \"aria-expanded\": _ctx.expanded,\n    \"aria-disabled\": _ctx.node.disabled,\n    \"aria-checked\": _ctx.node.checked,\n    draggable: _ctx.tree.props.draggable,\n    \"data-key\": _ctx.getNodeKey(_ctx.node),\n    onClick: _cache[1] || (_cache[1] = withModifiers((...args) => _ctx.handleClick && _ctx.handleClick(...args), [\"stop\"])),\n    onContextmenu: _cache[2] || (_cache[2] = (...args) => _ctx.handleContextMenu && _ctx.handleContextMenu(...args)),\n    onDragstart: _cache[3] || (_cache[3] = withModifiers((...args) => _ctx.handleDragStart && _ctx.handleDragStart(...args), [\"stop\"])),\n    onDragover: _cache[4] || (_cache[4] = withModifiers((...args) => _ctx.handleDragOver && _ctx.handleDragOver(...args), [\"stop\"])),\n    onDragend: _cache[5] || (_cache[5] = withModifiers((...args) => _ctx.handleDragEnd && _ctx.handleDragEnd(...args), [\"stop\"])),\n    onDrop: _cache[6] || (_cache[6] = withModifiers((...args) => _ctx.handleDrop && _ctx.handleDrop(...args), [\"stop\"]))\n  }, [\n    createElementVNode(\"div\", {\n      class: normalizeClass(_ctx.ns.be(\"node\", \"content\")),\n      style: normalizeStyle({ paddingLeft: (_ctx.node.level - 1) * _ctx.tree.props.indent + \"px\" })\n    }, [\n      _ctx.tree.props.icon || _ctx.CaretRight ? (openBlock(), createBlock(_component_el_icon, {\n        key: 0,\n        class: normalizeClass([\n          _ctx.ns.be(\"node\", \"expand-icon\"),\n          _ctx.ns.is(\"leaf\", _ctx.node.isLeaf),\n          {\n            expanded: !_ctx.node.isLeaf && _ctx.expanded\n          }\n        ]),\n        onClick: withModifiers(_ctx.handleExpandIconClick, [\"stop\"])\n      }, {\n        default: withCtx(() => [\n          (openBlock(), createBlock(resolveDynamicComponent(_ctx.tree.props.icon || _ctx.CaretRight)))\n        ]),\n        _: 1\n      }, 8, [\"class\", \"onClick\"])) : createCommentVNode(\"v-if\", true),\n      _ctx.showCheckbox ? (openBlock(), createBlock(_component_el_checkbox, {\n        key: 1,\n        \"model-value\": _ctx.node.checked,\n        indeterminate: _ctx.node.indeterminate,\n        disabled: !!_ctx.node.disabled,\n        onClick: _cache[0] || (_cache[0] = withModifiers(() => {\n        }, [\"stop\"])),\n        onChange: _ctx.handleCheckChange\n      }, null, 8, [\"model-value\", \"indeterminate\", \"disabled\", \"onChange\"])) : createCommentVNode(\"v-if\", true),\n      _ctx.node.loading ? (openBlock(), createBlock(_component_el_icon, {\n        key: 2,\n        class: normalizeClass([_ctx.ns.be(\"node\", \"loading-icon\"), _ctx.ns.is(\"loading\")])\n      }, {\n        default: withCtx(() => [\n          createVNode(_component_loading)\n        ]),\n        _: 1\n      }, 8, [\"class\"])) : createCommentVNode(\"v-if\", true),\n      createVNode(_component_node_content, {\n        node: _ctx.node,\n        \"render-content\": _ctx.renderContent\n      }, null, 8, [\"node\", \"render-content\"])\n    ], 6),\n    createVNode(_component_el_collapse_transition, null, {\n      default: withCtx(() => [\n        !_ctx.renderAfterExpand || _ctx.childNodeRendered ? withDirectives((openBlock(), createElementBlock(\"div\", {\n          key: 0,\n          class: normalizeClass(_ctx.ns.be(\"node\", \"children\")),\n          role: \"group\",\n          \"aria-expanded\": _ctx.expanded\n        }, [\n          (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.node.childNodes, (child) => {\n            return openBlock(), createBlock(_component_el_tree_node, {\n              key: _ctx.getNodeKey(child),\n              \"render-content\": _ctx.renderContent,\n              \"render-after-expand\": _ctx.renderAfterExpand,\n              \"show-checkbox\": _ctx.showCheckbox,\n              node: child,\n              accordion: _ctx.accordion,\n              props: _ctx.props,\n              onNodeExpand: _ctx.handleChildNodeExpand\n            }, null, 8, [\"render-content\", \"render-after-expand\", \"show-checkbox\", \"node\", \"accordion\", \"props\", \"onNodeExpand\"]);\n          }), 128))\n        ], 10, _hoisted_2)), [\n          [vShow, _ctx.expanded]\n        ]) : createCommentVNode(\"v-if\", true)\n      ]),\n      _: 1\n    })\n  ], 42, _hoisted_1)), [\n    [vShow, _ctx.node.visible]\n  ]);\n}\nvar ElTreeNode = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"render\", _sfc_render], [\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/tree/src/tree-node.vue\"]]);\n\nexport { ElTreeNode as default };\n//# sourceMappingURL=tree-node.mjs.map\n","import { shallowRef, onMounted, onUpdated, watch } from 'vue';\nimport { useEventListener } from '@vueuse/core';\nimport '../../../../constants/index.mjs';\nimport '../../../../hooks/index.mjs';\nimport { useNamespace } from '../../../../hooks/use-namespace/index.mjs';\nimport { EVENT_CODE } from '../../../../constants/aria.mjs';\n\nfunction useKeydown({ el$ }, store) {\n  const ns = useNamespace(\"tree\");\n  const treeItems = shallowRef([]);\n  const checkboxItems = shallowRef([]);\n  onMounted(() => {\n    initTabIndex();\n  });\n  onUpdated(() => {\n    treeItems.value = Array.from(el$.value.querySelectorAll(\"[role=treeitem]\"));\n    checkboxItems.value = Array.from(el$.value.querySelectorAll(\"input[type=checkbox]\"));\n  });\n  watch(checkboxItems, (val) => {\n    val.forEach((checkbox) => {\n      checkbox.setAttribute(\"tabindex\", \"-1\");\n    });\n  });\n  const handleKeydown = (ev) => {\n    const currentItem = ev.target;\n    if (!currentItem.className.includes(ns.b(\"node\")))\n      return;\n    const code = ev.code;\n    treeItems.value = Array.from(el$.value.querySelectorAll(`.${ns.is(\"focusable\")}[role=treeitem]`));\n    const currentIndex = treeItems.value.indexOf(currentItem);\n    let nextIndex;\n    if ([EVENT_CODE.up, EVENT_CODE.down].includes(code)) {\n      ev.preventDefault();\n      if (code === EVENT_CODE.up) {\n        nextIndex = currentIndex === -1 ? 0 : currentIndex !== 0 ? currentIndex - 1 : treeItems.value.length - 1;\n        const startIndex = nextIndex;\n        while (true) {\n          if (store.value.getNode(treeItems.value[nextIndex].dataset.key).canFocus)\n            break;\n          nextIndex--;\n          if (nextIndex === startIndex) {\n            nextIndex = -1;\n            break;\n          }\n          if (nextIndex < 0) {\n            nextIndex = treeItems.value.length - 1;\n          }\n        }\n      } else {\n        nextIndex = currentIndex === -1 ? 0 : currentIndex < treeItems.value.length - 1 ? currentIndex + 1 : 0;\n        const startIndex = nextIndex;\n        while (true) {\n          if (store.value.getNode(treeItems.value[nextIndex].dataset.key).canFocus)\n            break;\n          nextIndex++;\n          if (nextIndex === startIndex) {\n            nextIndex = -1;\n            break;\n          }\n          if (nextIndex >= treeItems.value.length) {\n            nextIndex = 0;\n          }\n        }\n      }\n      nextIndex !== -1 && treeItems.value[nextIndex].focus();\n    }\n    if ([EVENT_CODE.left, EVENT_CODE.right].includes(code)) {\n      ev.preventDefault();\n      currentItem.click();\n    }\n    const hasInput = currentItem.querySelector('[type=\"checkbox\"]');\n    if ([EVENT_CODE.enter, EVENT_CODE.space].includes(code) && hasInput) {\n      ev.preventDefault();\n      hasInput.click();\n    }\n  };\n  useEventListener(el$, \"keydown\", handleKeydown);\n  const initTabIndex = () => {\n    var _a;\n    treeItems.value = Array.from(el$.value.querySelectorAll(`.${ns.is(\"focusable\")}[role=treeitem]`));\n    checkboxItems.value = Array.from(el$.value.querySelectorAll(\"input[type=checkbox]\"));\n    const checkedItem = el$.value.querySelectorAll(`.${ns.is(\"checked\")}[role=treeitem]`);\n    if (checkedItem.length) {\n      checkedItem[0].setAttribute(\"tabindex\", \"0\");\n      return;\n    }\n    (_a = treeItems.value[0]) == null ? void 0 : _a.setAttribute(\"tabindex\", \"0\");\n  };\n}\n\nexport { useKeydown };\n//# sourceMappingURL=useKeydown.mjs.map\n","import { defineComponent, ref, computed, watch, provide, getCurrentInstance, resolveComponent, openBlock, createElementBlock, normalizeClass, Fragment, renderList, createBlock, renderSlot, createElementVNode, toDisplayString, createCommentVNode, withDirectives, vShow } from 'vue';\nimport '../../../utils/index.mjs';\nimport '../../../hooks/index.mjs';\nimport '../../form/index.mjs';\nimport TreeStore from './model/tree-store.mjs';\nimport { getNodeKey, handleCurrentChange } from './model/util.mjs';\nimport ElTreeNode from './tree-node.mjs';\nimport { useNodeExpandEventBroadcast } from './model/useNodeExpandEventBroadcast.mjs';\nimport { useDragNodeHandler } from './model/useDragNode.mjs';\nimport { useKeydown } from './model/useKeydown.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { iconPropType } from '../../../utils/vue/icon.mjs';\nimport { useLocale } from '../../../hooks/use-locale/index.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { formItemContextKey } from '../../form/src/constants.mjs';\n\nconst _sfc_main = defineComponent({\n  name: \"ElTree\",\n  components: { ElTreeNode },\n  props: {\n    data: {\n      type: Array,\n      default: () => []\n    },\n    emptyText: {\n      type: String\n    },\n    renderAfterExpand: {\n      type: Boolean,\n      default: true\n    },\n    nodeKey: String,\n    checkStrictly: Boolean,\n    defaultExpandAll: Boolean,\n    expandOnClickNode: {\n      type: Boolean,\n      default: true\n    },\n    checkOnClickNode: Boolean,\n    checkDescendants: {\n      type: Boolean,\n      default: false\n    },\n    autoExpandParent: {\n      type: Boolean,\n      default: true\n    },\n    defaultCheckedKeys: Array,\n    defaultExpandedKeys: Array,\n    currentNodeKey: [String, Number],\n    renderContent: Function,\n    showCheckbox: {\n      type: Boolean,\n      default: false\n    },\n    draggable: {\n      type: Boolean,\n      default: false\n    },\n    allowDrag: Function,\n    allowDrop: Function,\n    props: {\n      type: Object,\n      default: () => ({\n        children: \"children\",\n        label: \"label\",\n        disabled: \"disabled\"\n      })\n    },\n    lazy: {\n      type: Boolean,\n      default: false\n    },\n    highlightCurrent: Boolean,\n    load: Function,\n    filterNodeMethod: Function,\n    accordion: Boolean,\n    indent: {\n      type: Number,\n      default: 18\n    },\n    icon: {\n      type: iconPropType\n    }\n  },\n  emits: [\n    \"check-change\",\n    \"current-change\",\n    \"node-click\",\n    \"node-contextmenu\",\n    \"node-collapse\",\n    \"node-expand\",\n    \"check\",\n    \"node-drag-start\",\n    \"node-drag-end\",\n    \"node-drop\",\n    \"node-drag-leave\",\n    \"node-drag-enter\",\n    \"node-drag-over\"\n  ],\n  setup(props, ctx) {\n    const { t } = useLocale();\n    const ns = useNamespace(\"tree\");\n    const store = ref(new TreeStore({\n      key: props.nodeKey,\n      data: props.data,\n      lazy: props.lazy,\n      props: props.props,\n      load: props.load,\n      currentNodeKey: props.currentNodeKey,\n      checkStrictly: props.checkStrictly,\n      checkDescendants: props.checkDescendants,\n      defaultCheckedKeys: props.defaultCheckedKeys,\n      defaultExpandedKeys: props.defaultExpandedKeys,\n      autoExpandParent: props.autoExpandParent,\n      defaultExpandAll: props.defaultExpandAll,\n      filterNodeMethod: props.filterNodeMethod\n    }));\n    store.value.initialize();\n    const root = ref(store.value.root);\n    const currentNode = ref(null);\n    const el$ = ref(null);\n    const dropIndicator$ = ref(null);\n    const { broadcastExpanded } = useNodeExpandEventBroadcast(props);\n    const { dragState } = useDragNodeHandler({\n      props,\n      ctx,\n      el$,\n      dropIndicator$,\n      store\n    });\n    useKeydown({ el$ }, store);\n    const isEmpty = computed(() => {\n      const { childNodes } = root.value;\n      return !childNodes || childNodes.length === 0 || childNodes.every(({ visible }) => !visible);\n    });\n    watch(() => props.currentNodeKey, (newVal) => {\n      store.value.setCurrentNodeKey(newVal);\n    });\n    watch(() => props.defaultCheckedKeys, (newVal) => {\n      store.value.setDefaultCheckedKey(newVal);\n    });\n    watch(() => props.defaultExpandedKeys, (newVal) => {\n      store.value.setDefaultExpandedKeys(newVal);\n    });\n    watch(() => props.data, (newVal) => {\n      store.value.setData(newVal);\n    }, { deep: true });\n    watch(() => props.checkStrictly, (newVal) => {\n      store.value.checkStrictly = newVal;\n    });\n    const filter = (value) => {\n      if (!props.filterNodeMethod)\n        throw new Error(\"[Tree] filterNodeMethod is required when filter\");\n      store.value.filter(value);\n    };\n    const getNodeKey$1 = (node) => {\n      return getNodeKey(props.nodeKey, node.data);\n    };\n    const getNodePath = (data) => {\n      if (!props.nodeKey)\n        throw new Error(\"[Tree] nodeKey is required in getNodePath\");\n      const node = store.value.getNode(data);\n      if (!node)\n        return [];\n      const path = [node.data];\n      let parent = node.parent;\n      while (parent && parent !== root.value) {\n        path.push(parent.data);\n        parent = parent.parent;\n      }\n      return path.reverse();\n    };\n    const getCheckedNodes = (leafOnly, includeHalfChecked) => {\n      return store.value.getCheckedNodes(leafOnly, includeHalfChecked);\n    };\n    const getCheckedKeys = (leafOnly) => {\n      return store.value.getCheckedKeys(leafOnly);\n    };\n    const getCurrentNode = () => {\n      const currentNode2 = store.value.getCurrentNode();\n      return currentNode2 ? currentNode2.data : null;\n    };\n    const getCurrentKey = () => {\n      if (!props.nodeKey)\n        throw new Error(\"[Tree] nodeKey is required in getCurrentKey\");\n      const currentNode2 = getCurrentNode();\n      return currentNode2 ? currentNode2[props.nodeKey] : null;\n    };\n    const setCheckedNodes = (nodes, leafOnly) => {\n      if (!props.nodeKey)\n        throw new Error(\"[Tree] nodeKey is required in setCheckedNodes\");\n      store.value.setCheckedNodes(nodes, leafOnly);\n    };\n    const setCheckedKeys = (keys, leafOnly) => {\n      if (!props.nodeKey)\n        throw new Error(\"[Tree] nodeKey is required in setCheckedKeys\");\n      store.value.setCheckedKeys(keys, leafOnly);\n    };\n    const setChecked = (data, checked, deep) => {\n      store.value.setChecked(data, checked, deep);\n    };\n    const getHalfCheckedNodes = () => {\n      return store.value.getHalfCheckedNodes();\n    };\n    const getHalfCheckedKeys = () => {\n      return store.value.getHalfCheckedKeys();\n    };\n    const setCurrentNode = (node, shouldAutoExpandParent = true) => {\n      if (!props.nodeKey)\n        throw new Error(\"[Tree] nodeKey is required in setCurrentNode\");\n      handleCurrentChange(store, ctx.emit, () => store.value.setUserCurrentNode(node, shouldAutoExpandParent));\n    };\n    const setCurrentKey = (key, shouldAutoExpandParent = true) => {\n      if (!props.nodeKey)\n        throw new Error(\"[Tree] nodeKey is required in setCurrentKey\");\n      handleCurrentChange(store, ctx.emit, () => store.value.setCurrentNodeKey(key, shouldAutoExpandParent));\n    };\n    const getNode = (data) => {\n      return store.value.getNode(data);\n    };\n    const remove = (data) => {\n      store.value.remove(data);\n    };\n    const append = (data, parentNode) => {\n      store.value.append(data, parentNode);\n    };\n    const insertBefore = (data, refNode) => {\n      store.value.insertBefore(data, refNode);\n    };\n    const insertAfter = (data, refNode) => {\n      store.value.insertAfter(data, refNode);\n    };\n    const handleNodeExpand = (nodeData, node, instance) => {\n      broadcastExpanded(node);\n      ctx.emit(\"node-expand\", nodeData, node, instance);\n    };\n    const updateKeyChildren = (key, data) => {\n      if (!props.nodeKey)\n        throw new Error(\"[Tree] nodeKey is required in updateKeyChild\");\n      store.value.updateChildren(key, data);\n    };\n    provide(\"RootTree\", {\n      ctx,\n      props,\n      store,\n      root,\n      currentNode,\n      instance: getCurrentInstance()\n    });\n    provide(formItemContextKey, void 0);\n    return {\n      ns,\n      store,\n      root,\n      currentNode,\n      dragState,\n      el$,\n      dropIndicator$,\n      isEmpty,\n      filter,\n      getNodeKey: getNodeKey$1,\n      getNodePath,\n      getCheckedNodes,\n      getCheckedKeys,\n      getCurrentNode,\n      getCurrentKey,\n      setCheckedNodes,\n      setCheckedKeys,\n      setChecked,\n      getHalfCheckedNodes,\n      getHalfCheckedKeys,\n      setCurrentNode,\n      setCurrentKey,\n      t,\n      getNode,\n      remove,\n      append,\n      insertBefore,\n      insertAfter,\n      handleNodeExpand,\n      updateKeyChildren\n    };\n  }\n});\nfunction _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {\n  const _component_el_tree_node = resolveComponent(\"el-tree-node\");\n  return openBlock(), createElementBlock(\"div\", {\n    ref: \"el$\",\n    class: normalizeClass([\n      _ctx.ns.b(),\n      _ctx.ns.is(\"dragging\", !!_ctx.dragState.draggingNode),\n      _ctx.ns.is(\"drop-not-allow\", !_ctx.dragState.allowDrop),\n      _ctx.ns.is(\"drop-inner\", _ctx.dragState.dropType === \"inner\"),\n      { [_ctx.ns.m(\"highlight-current\")]: _ctx.highlightCurrent }\n    ]),\n    role: \"tree\"\n  }, [\n    (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.root.childNodes, (child) => {\n      return openBlock(), createBlock(_component_el_tree_node, {\n        key: _ctx.getNodeKey(child),\n        node: child,\n        props: _ctx.props,\n        accordion: _ctx.accordion,\n        \"render-after-expand\": _ctx.renderAfterExpand,\n        \"show-checkbox\": _ctx.showCheckbox,\n        \"render-content\": _ctx.renderContent,\n        onNodeExpand: _ctx.handleNodeExpand\n      }, null, 8, [\"node\", \"props\", \"accordion\", \"render-after-expand\", \"show-checkbox\", \"render-content\", \"onNodeExpand\"]);\n    }), 128)),\n    _ctx.isEmpty ? (openBlock(), createElementBlock(\"div\", {\n      key: 0,\n      class: normalizeClass(_ctx.ns.e(\"empty-block\"))\n    }, [\n      renderSlot(_ctx.$slots, \"empty\", {}, () => {\n        var _a;\n        return [\n          createElementVNode(\"span\", {\n            class: normalizeClass(_ctx.ns.e(\"empty-text\"))\n          }, toDisplayString((_a = _ctx.emptyText) != null ? _a : _ctx.t(\"el.tree.emptyText\")), 3)\n        ];\n      })\n    ], 2)) : createCommentVNode(\"v-if\", true),\n    withDirectives(createElementVNode(\"div\", {\n      ref: \"dropIndicator$\",\n      class: normalizeClass(_ctx.ns.e(\"drop-indicator\"))\n    }, null, 2), [\n      [vShow, _ctx.dragState.showDropIndicator]\n    ])\n  ], 2);\n}\nvar Tree = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"render\", _sfc_render], [\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/tree/src/tree.vue\"]]);\n\nexport { Tree as default };\n//# sourceMappingURL=tree.mjs.map\n","import Tree from './src/tree.mjs';\n\nTree.install = (app) => {\n  app.component(Tree.name, Tree);\n};\nconst _Tree = Tree;\nconst ElTree = _Tree;\n\nexport { ElTree, _Tree as default };\n//# sourceMappingURL=index.mjs.map\n","import { ref } from 'vue'\nimport { defineStore } from 'pinia'\nimport  axios  from \"axios\";\n\nexport const useProductStore = defineStore('product', {\n\n  state: () => ({\n      product: fpe.product,\n      data_sets: fpe.data_sets,\n      openPanel: false,\n      isUpdating: false,\n      tax_enabled: fpe.tax_enabled,\n      strings: fpe.strings,\n      manage_stocks: fpe.manage_stocks,\n      tags: [],\n      panelWidth: localStorage.getItem('fpe_panel_width') || '400px',\n  oD,GAAI,MAAM,WAAW","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,106,108]}
  • frontend-product-editor/trunk/frontend-product-editor.php

    r2978520 r3040157  
    44 * Plugin Name:  Frontend Product Editor for WooCommerce
    55 * Description:  Edit WooCommerce Products from Frontend
    6  * Version:      1.1.1
     6 * Version:      1.
    77 * Author:       WPVibes
    88 * Author URI:   https://wpvibes.com
     
    2121
    2222if(!defined('WPVFPE_FILE')){
    23     define( 'WPVFPE_VERSION', '1.1.1' );
     23    define( 'WPVFPE_VERSION', '1.' );
    2424    define( 'WPVFPE_MIN_PHP', '7.1' );
    2525    define( 'WPVFPE_MIN_WP', '5.0' );
  • frontend-product-editor/trunk/includes/editor/base.php

    r2978520 r3040157  
    4848            'edit_mode' => 'single'
    4949        ];
     50
     51
    5052
    5153        wp_localize_script('fpe-script','fpe',$localize_data);
     
    140142    function add_root_element(){
    141143       
     144
     145
     146
     147
     148
     149
     150
     151
     152
     153
     154
     155
     156
     157
     158
     159
     160
     161
     162
     163
     164
     165
    142166        ?>
    143         <div id="fpe-root"></div>
     167        <div id="fpe-root"></div>
    144168        <div class="fpe-panel-overlay">
    145169            <img src="<?php echo WPVFPE_URL.'includes/assets/loading.gif'; ?>" alt="Loading...">
     
    170194            'tabs_collapsed' => false,
    171195            'default_tab' => 'general',
     196
    172197        ];
    173198
     
    182207        $data = json_decode($request_body, true);
    183208       
    184         if(!current_user_can( 'manage_options' )){
     209        // check if user is allowed to update product
     210
     211        // get current user role
     212        $user = wp_get_current_user();
     213        $user_roles = (array) $user->roles;
     214
     215        // get allowed user roles
     216        $allowed_user_roles = apply_filters('wpv_fpe/allowed_user_roles', ['administrator']);
     217
     218        // check if current user role is in $allowed_user_roles
     219        if(!array_intersect($user_roles, $allowed_user_roles)){
    185220            return wp_send_json([
    186221                'success' => 0
  • frontend-product-editor/trunk/includes/init.php

    r2978520 r3040157  
    2727    public function __construct() {
    2828       
    29         if(file_exists(WPVFPE_PATH.'includes/pro1/init.php')){
     29        if(file_exists(WPVFPE_PATH.'includes/pro/init.php')){
    3030            require_once(WPVFPE_PATH.'includes/pro/init.php');
    3131            self::$is_pro = true;
  • frontend-product-editor/trunk/includes/strings.php

    r2978520 r3040157  
    9393        ];
    9494
     95
     96
    9597        return $strings;
    9698    }
  • frontend-product-editor/trunk/readme.txt

    r2978520 r3040157  
    55Tested up to: 6.3
    66Requires PHP: 7.0
    7 Stable tag: trunk
     7Stable tag:
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    107107== Changelog ==
    108108
     109
     110
     111
     112
    109113= 1.1.1 =
    110114* Improved code structure
  • frontend-product-editor/trunk/vendor/autoload.php

    r2659779 r3040157  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInit115b01a907a7d5944f14ef06aba95792::getLoader();
     7return ComposerAutoloaderInit::getLoader();
  • frontend-product-editor/trunk/vendor/composer/autoload_classmap.php

    r2978520 r3040157  
    88return array(
    99    'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
    10     'FS_Admin_Menu_Manager' => $baseDir . '/includes/pro/freemius/includes/managers/class-fs-admin-menu-manager.php',
    11     'FS_Admin_Notice_Manager' => $baseDir . '/includes/pro/freemius/includes/managers/class-fs-admin-notice-manager.php',
    12     'FS_Admin_Notices' => $baseDir . '/includes/pro/freemius/includes/class-fs-admin-notices.php',
    13     'FS_Affiliate' => $baseDir . '/includes/pro/freemius/includes/entities/class-fs-affiliate.php',
    14     'FS_AffiliateTerms' => $baseDir . '/includes/pro/freemius/includes/entities/class-fs-affiliate-terms.php',
    15     'FS_Api' => $baseDir . '/includes/pro/freemius/includes/class-fs-api.php',
    16     'FS_Billing' => $baseDir . '/includes/pro/freemius/includes/entities/class-fs-billing.php',
    17     'FS_Cache_Manager' => $baseDir . '/includes/pro/freemius/includes/managers/class-fs-cache-manager.php',
    18     'FS_Clone_Manager' => $baseDir . '/includes/pro/freemius/includes/managers/class-fs-clone-manager.php',
    19     'FS_Customizer_Support_Section' => $baseDir . '/includes/pro/freemius/includes/customizer/class-fs-customizer-support-section.php',
    20     'FS_Customizer_Upsell_Control' => $baseDir . '/includes/pro/freemius/includes/customizer/class-fs-customizer-upsell-control.php',
    21     'FS_Entity' => $baseDir . '/includes/pro/freemius/includes/entities/class-fs-entity.php',
    22     'FS_GDPR_Manager' => $baseDir . '/includes/pro/freemius/includes/managers/class-fs-gdpr-manager.php',
    23     'FS_Key_Value_Storage' => $baseDir . '/includes/pro/freemius/includes/managers/class-fs-key-value-storage.php',
    24     'FS_License_Manager' => $baseDir . '/includes/pro/freemius/includes/managers/class-fs-license-manager.php',
    25     'FS_Lock' => $baseDir . '/includes/pro/freemius/includes/class-fs-lock.php',
    26     'FS_Logger' => $baseDir . '/includes/pro/freemius/includes/class-fs-logger.php',
    27     'FS_Option_Manager' => $baseDir . '/includes/pro/freemius/includes/managers/class-fs-option-manager.php',
    28     'FS_Options' => $baseDir . '/includes/pro/freemius/includes/class-fs-options.php',
    29     'FS_Payment' => $baseDir . '/includes/pro/freemius/includes/entities/class-fs-payment.php',
    30     'FS_Permission_Manager' => $baseDir . '/includes/pro/freemius/includes/managers/class-fs-permission-manager.php',
    31     'FS_Plan_Manager' => $baseDir . '/includes/pro/freemius/includes/managers/class-fs-plan-manager.php',
    32     'FS_Plugin' => $baseDir . '/includes/pro/freemius/includes/entities/class-fs-plugin.php',
    33     'FS_Plugin_Info' => $baseDir . '/includes/pro/freemius/includes/entities/class-fs-plugin-info.php',
    34     'FS_Plugin_Info_Dialog' => $baseDir . '/includes/pro/freemius/includes/fs-plugin-info-dialog.php',
    35     'FS_Plugin_License' => $baseDir . '/includes/pro/freemius/includes/entities/class-fs-plugin-license.php',
    36     'FS_Plugin_Manager' => $baseDir . '/includes/pro/freemius/includes/managers/class-fs-plugin-manager.php',
    37     'FS_Plugin_Plan' => $baseDir . '/includes/pro/freemius/includes/entities/class-fs-plugin-plan.php',
    38     'FS_Plugin_Tag' => $baseDir . '/includes/pro/freemius/includes/entities/class-fs-plugin-tag.php',
    39     'FS_Plugin_Updater' => $baseDir . '/includes/pro/freemius/includes/class-fs-plugin-updater.php',
    40     'FS_Pricing' => $baseDir . '/includes/pro/freemius/includes/entities/class-fs-pricing.php',
    41     'FS_Scope_Entity' => $baseDir . '/includes/pro/freemius/includes/entities/class-fs-scope-entity.php',
    42     'FS_Security' => $baseDir . '/includes/pro/freemius/includes/class-fs-security.php',
    43     'FS_Site' => $baseDir . '/includes/pro/freemius/includes/entities/class-fs-site.php',
    44     'FS_Storage' => $baseDir . '/includes/pro/freemius/includes/class-fs-storage.php',
    45     'FS_Subscription' => $baseDir . '/includes/pro/freemius/includes/entities/class-fs-subscription.php',
    46     'FS_User' => $baseDir . '/includes/pro/freemius/includes/entities/class-fs-user.php',
    47     'FS_User_Lock' => $baseDir . '/includes/pro/freemius/includes/class-fs-user-lock.php',
    48     'Freemius' => $baseDir . '/includes/pro/freemius/includes/class-freemius.php',
    49     'Freemius_Abstract' => $baseDir . '/includes/pro/freemius/includes/class-freemius-abstract.php',
    50     'Freemius_Api_Base' => $baseDir . '/includes/pro/freemius/includes/sdk/FreemiusBase.php',
    51     'Freemius_Api_WordPress' => $baseDir . '/includes/pro/freemius/includes/sdk/FreemiusWordPress.php',
    52     'Freemius_ArgumentNotExistException' => $baseDir . '/includes/pro/freemius/includes/sdk/Exceptions/ArgumentNotExistException.php',
    53     'Freemius_Debug_Bar_Panel' => $baseDir . '/includes/pro/freemius/includes/debug/class-fs-debug-bar-panel.php',
    54     'Freemius_EmptyArgumentException' => $baseDir . '/includes/pro/freemius/includes/sdk/Exceptions/EmptyArgumentException.php',
    55     'Freemius_Exception' => $baseDir . '/includes/pro/freemius/includes/sdk/Exceptions/Exception.php',
    56     'Freemius_InvalidArgumentException' => $baseDir . '/includes/pro/freemius/includes/sdk/Exceptions/InvalidArgumentException.php',
    57     'Freemius_OAuthException' => $baseDir . '/includes/pro/freemius/includes/sdk/Exceptions/OAuthException.php',
    5810    'WPV_FPE\\Editor\\BaseEditor' => $baseDir . '/includes/editor/base.php',
    5911    'WPV_FPE\\Editor\\Single' => $baseDir . '/includes/editor/single.php',
  • frontend-product-editor/trunk/vendor/composer/autoload_real.php

    r2659779 r3040157  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit115b01a907a7d5944f14ef06aba95792
     5class ComposerAutoloaderInit
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInit115b01a907a7d5944f14ef06aba95792', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInit', 'loadClassLoader'), true, true);
    2626        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
    27         spl_autoload_unregister(array('ComposerAutoloaderInit115b01a907a7d5944f14ef06aba95792', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInit', 'loadClassLoader'));
    2828
    2929        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
     
    3131            require __DIR__ . '/autoload_static.php';
    3232
    33             call_user_func(\Composer\Autoload\ComposerStaticInit115b01a907a7d5944f14ef06aba95792::getInitializer($loader));
     33            call_user_func(\Composer\Autoload\ComposerStaticInit::getInitializer($loader));
    3434        } else {
    3535            $map = require __DIR__ . '/autoload_namespaces.php';
  • frontend-product-editor/trunk/vendor/composer/autoload_static.php

    r2978520 r3040157  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit115b01a907a7d5944f14ef06aba95792
     7class ComposerStaticInit
    88{
    99    public static $classMap = array (
    1010        'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
    11         'FS_Admin_Menu_Manager' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/managers/class-fs-admin-menu-manager.php',
    12         'FS_Admin_Notice_Manager' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/managers/class-fs-admin-notice-manager.php',
    13         'FS_Admin_Notices' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/class-fs-admin-notices.php',
    14         'FS_Affiliate' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/entities/class-fs-affiliate.php',
    15         'FS_AffiliateTerms' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/entities/class-fs-affiliate-terms.php',
    16         'FS_Api' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/class-fs-api.php',
    17         'FS_Billing' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/entities/class-fs-billing.php',
    18         'FS_Cache_Manager' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/managers/class-fs-cache-manager.php',
    19         'FS_Clone_Manager' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/managers/class-fs-clone-manager.php',
    20         'FS_Customizer_Support_Section' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/customizer/class-fs-customizer-support-section.php',
    21         'FS_Customizer_Upsell_Control' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/customizer/class-fs-customizer-upsell-control.php',
    22         'FS_Entity' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/entities/class-fs-entity.php',
    23         'FS_GDPR_Manager' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/managers/class-fs-gdpr-manager.php',
    24         'FS_Key_Value_Storage' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/managers/class-fs-key-value-storage.php',
    25         'FS_License_Manager' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/managers/class-fs-license-manager.php',
    26         'FS_Lock' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/class-fs-lock.php',
    27         'FS_Logger' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/class-fs-logger.php',
    28         'FS_Option_Manager' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/managers/class-fs-option-manager.php',
    29         'FS_Options' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/class-fs-options.php',
    30         'FS_Payment' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/entities/class-fs-payment.php',
    31         'FS_Permission_Manager' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/managers/class-fs-permission-manager.php',
    32         'FS_Plan_Manager' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/managers/class-fs-plan-manager.php',
    33         'FS_Plugin' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/entities/class-fs-plugin.php',
    34         'FS_Plugin_Info' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/entities/class-fs-plugin-info.php',
    35         'FS_Plugin_Info_Dialog' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/fs-plugin-info-dialog.php',
    36         'FS_Plugin_License' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/entities/class-fs-plugin-license.php',
    37         'FS_Plugin_Manager' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/managers/class-fs-plugin-manager.php',
    38         'FS_Plugin_Plan' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/entities/class-fs-plugin-plan.php',
    39         'FS_Plugin_Tag' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/entities/class-fs-plugin-tag.php',
    40         'FS_Plugin_Updater' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/class-fs-plugin-updater.php',
    41         'FS_Pricing' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/entities/class-fs-pricing.php',
    42         'FS_Scope_Entity' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/entities/class-fs-scope-entity.php',
    43         'FS_Security' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/class-fs-security.php',
    44         'FS_Site' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/entities/class-fs-site.php',
    45         'FS_Storage' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/class-fs-storage.php',
    46         'FS_Subscription' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/entities/class-fs-subscription.php',
    47         'FS_User' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/entities/class-fs-user.php',
    48         'FS_User_Lock' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/class-fs-user-lock.php',
    49         'Freemius' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/class-freemius.php',
    50         'Freemius_Abstract' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/class-freemius-abstract.php',
    51         'Freemius_Api_Base' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/sdk/FreemiusBase.php',
    52         'Freemius_Api_WordPress' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/sdk/FreemiusWordPress.php',
    53         'Freemius_ArgumentNotExistException' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/sdk/Exceptions/ArgumentNotExistException.php',
    54         'Freemius_Debug_Bar_Panel' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/debug/class-fs-debug-bar-panel.php',
    55         'Freemius_EmptyArgumentException' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/sdk/Exceptions/EmptyArgumentException.php',
    56         'Freemius_Exception' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/sdk/Exceptions/Exception.php',
    57         'Freemius_InvalidArgumentException' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/sdk/Exceptions/InvalidArgumentException.php',
    58         'Freemius_OAuthException' => __DIR__ . '/../..' . '/includes/pro/freemius/includes/sdk/Exceptions/OAuthException.php',
    5911        'WPV_FPE\\Editor\\BaseEditor' => __DIR__ . '/../..' . '/includes/editor/base.php',
    6012        'WPV_FPE\\Editor\\Single' => __DIR__ . '/../..' . '/includes/editor/single.php',
     
    7022    {
    7123        return \Closure::bind(function () use ($loader) {
    72             $loader->classMap = ComposerStaticInit115b01a907a7d5944f14ef06aba95792::$classMap;
     24            $loader->classMap = ComposerStaticInit::$classMap;
    7325
    7426        }, null, ClassLoader::class);
Note: See TracChangeset for help on using the changeset viewer.