Plugin Directory

Changeset 2761077


Ignore:
Timestamp:
07/25/2022 09:35:04 AM (3 years ago)
Author:
pixelgrade
Message:

Improve novablocks/supernova cards management + other fixes and improvements

Location:
nova-blocks/trunk
Files:
2 added
105 edited

Legend:

Unmodified
Added
Removed
  • nova-blocks/trunk/build/block-editor/editor-styles-rtl.css

    r2719178 r2761077  
    1 .autocomplete-tokenfield{position:relative}.autocomplete-tokenfield .components-spinner{left:0;position:absolute;top:2em}.autocomplete-tokenfield .components-form-token-field>.components-form-token-field__help{display:none}.autocomplete-tokenfield .autocomplete-tokenfield__help{font-style:italic}.novablocks-sections{border-top:1px solid #e2e4e7;overflow:hidden}.novablocks-sections__header{padding:16px;position:relative}.novablocks-sections__header .novablocks-sections__title{padding-top:8px}.novablocks-sections__header+.novablocks-drawers__list{margin-top:-16px}.novablocks-sections__title{color:#191e23;font-size:14px;font-weight:600;padding:16px 0 8px}.novablocks-sections__button{background:#f2f2f2;border-radius:5px;color:#9195ab;cursor:pointer;font-weight:600;padding:12px 16px;position:relative}.novablocks-sections__button+.novablocks-sections__button{margin-top:6px}.novablocks-sections__button:after{border-color:currentcolor;border-style:solid;border-width:2px 0 0 2px;content:"";display:block;height:10px;left:18px;position:absolute;top:50%;transform:translateY(-50%) rotate(-45deg);width:10px}.novablocks-sections__button:hover{color:#2a2136}:root{--nb-purple:#8e65c0;--nb-green:#00cab6;--nb-red:#de1651}.novablocks-sections__cube{left:30px;position:absolute;top:50%}.novablocks-sections__cube-face{height:15px;position:absolute;transform-origin:100% 0;width:15px}.novablocks-sections__cube-face--top{background:var(--nb-purple);transform:translateY(-2px) rotate(-210deg) skewX(30deg) scaleY(0.864)}.novablocks-sections__cube-face--left{background:var(--nb-red);transform:translateX(1px) rotate(-90deg) skewX(30deg) scaleY(0.864)}.novablocks-sections__cube-face--right{background:var(--nb-green);transform:translateX(-1px) rotate(30deg) skewX(30deg) scaleY(0.864)}.novablocks-section__controls{--nb-section-controls-accent:var(--nb-red);--wp-admin-theme-color:var(--nb-section-controls-accent)}.novablocks-section__controls input[type=checkbox]:checked,.novablocks-section__controls input[type=radio]:checked{background:var(--nb-section-controls-accent);border-color:var(--nb-section-controls-accent)}.novablocks-section__controls .components-form-toggle.is-checked .components-form-toggle__track{background:var(--nb-section-controls-accent)}.novablocks-section__controls .components-range-control__track{color:var(--nb-section-controls-accent)}.novablocks-section__controls .components-button.is-primary,.novablocks-section__controls .components-button.is-primary:focus:enabled,.novablocks-section__controls .components-button.is-primary:not(:disabled):not([aria-disabled=true]):hover{background:var(--nb-section-controls-accent);border-color:var(--nb-section-controls-accent)}.novablocks-section__controls .components-button.is-primary:disabled{color:hsla(0,0%,100%,.5)}.novablocks-section__controls .components-button.is-secondary{border-color:#e2e4e7;color:#545d66}.novablocks-section__controls .components-button.is-secondary:not(:disabled):not([aria-disabled=true]):hover{background:#fff;border-color:#e2e4e7;color:#191e24}.novablocks-section__controls--customize{--nb-section-controls-accent:var(--nb-green)}.novablocks-section__controls--general{--nb-section-controls-accent:var(--nb-purple)}.novablocks-sections__controls-header{background-color:var(--nb-section-controls-accent);color:#fff;font-size:16px;padding:20px 16px;position:relative;text-align:center;transition:background-color .2s ease-out}.novablocks-sections__controls-back{cursor:pointer;height:20px;position:absolute;right:16px;top:50%;transform:translateY(-50%);width:18px}.novablocks-sections__controls-back:after,.novablocks-sections__controls-back:before{border:0 solid #fff;content:"";position:absolute}.novablocks-sections__controls-back:before{border-top-width:2px;margin-top:-1px;right:4px;top:50%;width:13px}.novablocks-sections__controls-back:after{border-right-width:2px;border-top-width:2px;height:9px;right:1px;top:50%;transform:rotate(45deg);transform-origin:100% 0;width:9px}.novablocks-sections__tabs{background-color:var(--nb-section-controls-accent);color:#fff;display:flex;padding:0 16px;transition:background-color .2s ease-out}.novablocks-sections__tab{border-top-left-radius:5px;border-top-right-radius:5px;cursor:pointer;flex-grow:1;padding:10px;text-align:center}.novablocks-sections__tab--active{background-color:#fff;color:#555d66}.novablocks-sections__tab-content{padding:16px}.novablocks-sections__tab-content .components-panel__body,.novablocks-sections__tab-content .novablocks-notice{margin-left:-16px;margin-right:-16px}.novablocks-controls-wrap{transition:var(--nb-transition);transition-property:filter,opacity}.novablocks-controls-wrap:not(:last-child){margin-bottom:24px}.novablocks-controls-wrap--dirty{filter:grayscale(1);opacity:0.5}.novablocks-panel{position:relative}.novablocks-subpanel{position:absolute;right:100%;top:0;width:100%}.novablocks-controls-group{margin:0 -16px;padding:0 16px}.novablocks-controls-group+.novablocks-controls-group{border-top:1px solid #e2e4e7;margin-top:16px;padding-top:16px}.novablocks-controls-group__title{color:#191e23;font-size:13px;font-weight:600;margin-bottom:16px}.novablocks-drawers{overflow:hidden;position:relative;transition:var(--nb-transition);transition-property:height}.novablocks-drawers__wrap{transition:var(--nb-transition);transition-property:transform}.novablocks-drawers__list{padding:16px}.novablocks-drawers__list-title{color:#2a2136;font-size:14px;font-weight:600}.novablocks-drawers__panel{position:absolute;right:100%;top:0;width:100%}.novablocks-drawers__panel--hidden{opacity:0;pointer-events:none}.novablocks-drawer{background:#f4f5f8;border-radius:4px;color:#555d66;cursor:pointer;font-size:13px;font-weight:500;padding:12px 16px;position:relative}.novablocks-drawer:after{border-color:#9195ab;border-style:solid;border-width:2px 0 0 2px;content:"";display:block;height:10px;left:18px;position:absolute;top:50%;transform:translateY(-50%) rotate(-45deg);transition:var(--nb-transition);transition-property:border-color;width:10px}.novablocks-drawer:not(:first-child){margin-top:6px}.novablocks-drawer:hover:after{border-color:#2a2136}.components-image-select-control{display:flex;gap:10px}.components-image-select-control__option{border:2px solid #eee;border-radius:4px;cursor:pointer;padding:4px}.components-image-select-control__option:hover{border-color:#ccc}.components-image-select-control__option.components-image-select-control__option--selected{border-color:var(--wp-admin-theme-color)}.components-image-select-control__label{padding:0 4px;text-align:center}.novablocks-notice{background-color:#e7f5f9;color:#191e23;margin-bottom:24px;padding:16px}.novablocks-notice .components-button{height:auto}.novablocks-notice p:last-child{margin-bottom:0}:root{--nb-text-placeholder-line-height:1.5;--nb-text-placeholder-shine-width:5em}.novablocks-text-placeholder__row[class]{--nb-text-placeholder-margin:calc((var(--nb-text-placeholder-line-height) - 1)*0.5em);background:var(--sm-current-fg1-color,var(--nb-fg1-color));background-clip:content-box;border-bottom:0 solid transparent;border-bottom-width:var(--nb-text-placeholder-margin);border-left:0 solid transparent;border-right:0 solid transparent;border-top:0 solid transparent;border-top-width:var(--nb-text-placeholder-margin);box-sizing:content-box;height:0.8em;position:relative}.novablocks-text-placeholder__row[class]:after{-webkit-animation:novablocks-text-placeholder-shine 1s infinite;animation:novablocks-text-placeholder-shine 1s infinite;background-image:linear-gradient(-90deg,transparent 0%,var(--sm-current-bg-color,var(--nb-bg-color)) 50%,transparent 100%);background-repeat:no-repeat;background-size:var(--nb-text-placeholder-shine-width) 100%;bottom:0;content:"";display:block;left:0;opacity:0.5;position:absolute;right:0;top:0;transform:translateX(calc((-1*var(--nb-text-placeholder-shine-width))*-1)) skew(30deg,0deg)}@-webkit-keyframes novablocks-text-placeholder-shine{0%{transform:translateX(calc((-1*var(--nb-text-placeholder-shine-width))*-1)) skew(30deg,0deg)}to{transform:translateX(-100%) skew(30deg,0deg)}}@keyframes novablocks-text-placeholder-shine{0%{transform:translateX(calc((-1*var(--nb-text-placeholder-shine-width))*-1)) skew(30deg,0deg)}to{transform:translateX(-100%) skew(30deg,0deg)}}.components-toggle-group__panel{overflow:hidden}.components-toggle-group__toggle-list{margin-top:-6px}.components-toggle-group__toggle-list-animated{position:relative;will-change:opacity,left,height}.components-toggle-group__toggle-list-animated>div{padding-top:6px}.components-toggle-group__toggle-list-item{border:1px solid transparent;border-radius:4px;padding:9px 11px}.components-toggle-group__toggle-list-item .components-base-control__field[class],.components-toggle-group__toggle-list-item .components-toggle-control[class]{margin-bottom:0}.components-toggle-group__toggle-list--enabled .components-toggle-group__toggle-list-item{background-color:#f4f5f8;border-color:#f4f5f8}.components-toggle-group__toggle-list--disabled .components-toggle-group__toggle-list-item{background-color:#fff;border-color:#c4c7d5}.components-toggle-group__toggle-list-label{display:block;font-weight:700}.components-toggle-group__toggle-list-label:not(:first-child){margin-top:24px}.components-toggle-group__toggle-list-label+.components-toggle-group__toggle-list{margin-top:8px}.nb-signal{align-items:center;display:flex}.components-base-control__label+.components-nb-signal-control__root{margin-top:12px}.nb-signal-icon{--bar-width:8px;--bar-space:4px;--bar-height:28px;--bar-height-diff:10px;align-items:flex-end;display:flex;height:var(--bar-height);justify-content:space-between;width:calc(var(--bar-width)*3 + var(--bar-space)*2)}.nb-signal-icon__bar{border:1px solid;width:var(--bar-width)}.nb-signal-icon__bar:first-child{height:calc(var(--bar-height) - var(--bar-height-diff)*2)}.nb-signal-icon__bar:nth-child(2){height:calc(var(--bar-height) - var(--bar-height-diff))}.nb-signal-icon__bar:nth-child(3){height:var(--bar-height)}.nb-signal-icon--high .nb-signal-icon__bar:first-child,.nb-signal-icon--high .nb-signal-icon__bar:nth-child(2),.nb-signal-icon--high .nb-signal-icon__bar:nth-child(3),.nb-signal-icon--low .nb-signal-icon__bar:first-child,.nb-signal-icon--medium .nb-signal-icon__bar:first-child,.nb-signal-icon--medium .nb-signal-icon__bar:nth-child(2){background:var(--nb-section-controls-accent);border-color:var(--nb-section-controls-accent)}.nb-signal__text{margin-left:auto}.nb-signal-icon+.nb-signal__text{margin-right:8px}.nb-signal-icon-label{font-size:11px;letter-spacing:-0.01em;line-height:1;opacity:0.5;text-transform:uppercase}.nb-signal__value-label{font-size:13px;font-weight:500;letter-spacing:-0.01em}.nb-signal__controls{display:flex}.nb-signal__controls>*+*{margin-right:11px}.nb-signal__controls .components-button[class][class]{align-items:center;border-radius:3px;box-shadow:0 0 0 1px #9195ab;display:flex;height:32px;justify-content:center;padding:0;width:32px}.nb-signal__controls .components-button[class][class] .dashicons-plus{transform:translateY(7%)}.nb-signal__controls .components-button[class][class][disabled]{background:none;opacity:0.5}.novablocks-u-background{transition:background-color 0.4s ease-out}.novablocks-u-background .block-editor-inserter__toggle{background:#fff}.nova-hide-clear-color .components-color-palette__custom-color{margin-left:0}.nova-hide-clear-color .components-color-palette__clear{display:none}.novablocks-change-media-overlay{align-content:center;align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:10}.novablocks-change-media-overlay span{background-color:#000;border-radius:2px;color:#fff;display:block;padding:.4em .9em}.novablocks-palette-control__label+.novablocks-palette-control__field{margin-top:1em}.novablocks-palette-control__option{--outline-color:transparent;border-radius:999em;box-shadow:#fff 0 0 0 1px,var(--outline-color) 0 0 0 3px;cursor:pointer;overflow:hidden;padding:1em 1.5em;position:relative}.novablocks-palette-control__option:before{background:var(--sm-current-accent-color,var(--nb-accent-color));content:"";display:block;height:100%;left:1.6em;position:absolute;top:0;width:1em}.novablocks-palette-control__option:after{border-radius:999em;box-shadow:inset 0 0 0 2px rgba(0,0,0,.1);content:"";display:block;height:100%;position:absolute;right:0;top:0;width:100%}.novablocks-palette-control__option+.novablocks-palette-control__option{margin-top:0.7em}.novablocks-palette-control__option--selected{--outline-color:var(--nb-section-controls-accent)}div:not([class])[style*="--nb-block"][style*="--nb-emphasis"]{margin-bottom:0!important;margin-top:0!important;padding-bottom:0!important;padding-top:0!important}
     1.autocomplete-tokenfield{position:relative}.autocomplete-tokenfield .components-spinner{left:0;position:absolute;top:2em}.autocomplete-tokenfield .components-form-token-field>.components-form-token-field__help{display:none}.autocomplete-tokenfield .autocomplete-tokenfield__help{font-style:italic}.novablocks-sections{border-top:1px solid #e2e4e7;overflow:hidden}.novablocks-sections__header{padding:16px;position:relative}.novablocks-sections__header .novablocks-sections__title{padding-top:8px}.novablocks-sections__header+.novablocks-drawers__list{margin-top:-16px}.novablocks-sections__title{color:#191e23;font-size:14px;font-weight:600;padding:16px 0 8px}.novablocks-sections__button{background:#f2f2f2;border-radius:5px;color:#9195ab;cursor:pointer;font-weight:600;padding:12px 16px;position:relative}.novablocks-sections__button+.novablocks-sections__button{margin-top:6px}.novablocks-sections__button:after{border-color:currentcolor;border-style:solid;border-width:2px 0 0 2px;content:"";display:block;height:10px;left:18px;position:absolute;top:50%;transform:translateY(-50%) rotate(-45deg);width:10px}.novablocks-sections__button:hover{color:#2a2136}:root{--nb-purple:#8e65c0;--nb-green:#00cab6;--nb-red:#de1651}.novablocks-sections__cube{left:30px;position:absolute;top:50%}.novablocks-sections__cube-face{height:15px;position:absolute;transform-origin:100% 0;width:15px}.novablocks-sections__cube-face--top{background:var(--nb-purple);transform:translateY(-2px) rotate(-210deg) skewX(30deg) scaleY(0.864)}.novablocks-sections__cube-face--left{background:var(--nb-red);transform:translateX(1px) rotate(-90deg) skewX(30deg) scaleY(0.864)}.novablocks-sections__cube-face--right{background:var(--nb-green);transform:translateX(-1px) rotate(30deg) skewX(30deg) scaleY(0.864)}.novablocks-section__controls{--nb-section-controls-accent:var(--nb-red);--wp-admin-theme-color:var(--nb-section-controls-accent)}.novablocks-section__controls input[type=checkbox]:checked,.novablocks-section__controls input[type=radio]:checked{background:var(--nb-section-controls-accent);border-color:var(--nb-section-controls-accent)}.novablocks-section__controls .components-form-toggle.is-checked .components-form-toggle__track{background:var(--nb-section-controls-accent)}.novablocks-section__controls .components-range-control__track{color:var(--nb-section-controls-accent)}.novablocks-section__controls .components-button.is-primary,.novablocks-section__controls .components-button.is-primary:focus:enabled,.novablocks-section__controls .components-button.is-primary:not(:disabled):not([aria-disabled=true]):hover{background:var(--nb-section-controls-accent);border-color:var(--nb-section-controls-accent)}.novablocks-section__controls .components-button.is-primary:disabled{color:hsla(0,0%,100%,.5)}.novablocks-section__controls .components-button.is-secondary{border-color:#e2e4e7;color:#545d66}.novablocks-section__controls .components-button.is-secondary:not(:disabled):not([aria-disabled=true]):hover{background:#fff;border-color:#e2e4e7;color:#191e24}.novablocks-section__controls--customize{--nb-section-controls-accent:var(--nb-green)}.novablocks-section__controls--general{--nb-section-controls-accent:var(--nb-purple)}.novablocks-sections__controls-header{background-color:var(--nb-section-controls-accent);color:#fff;font-size:16px;padding:20px 16px;position:relative;text-align:center;transition:background-color .2s ease-out}.novablocks-sections__controls-back{cursor:pointer;height:20px;position:absolute;right:16px;top:50%;transform:translateY(-50%);width:18px}.novablocks-sections__controls-back:after,.novablocks-sections__controls-back:before{border:0 solid #fff;content:"";position:absolute}.novablocks-sections__controls-back:before{border-top-width:2px;margin-top:-1px;right:4px;top:50%;width:13px}.novablocks-sections__controls-back:after{border-right-width:2px;border-top-width:2px;height:9px;right:1px;top:50%;transform:rotate(45deg);transform-origin:100% 0;width:9px}.novablocks-sections__tabs{background-color:var(--nb-section-controls-accent);color:#fff;display:flex;padding:0 16px;transition:background-color .2s ease-out}.novablocks-sections__tab{border-top-left-radius:5px;border-top-right-radius:5px;cursor:pointer;flex-grow:1;padding:10px;text-align:center}.novablocks-sections__tab--active{background-color:#fff;color:#555d66}.novablocks-sections__tab-content{padding:16px}.novablocks-sections__tab-content .components-panel__body,.novablocks-sections__tab-content .novablocks-notice{margin-left:-16px;margin-right:-16px}.novablocks-controls-wrap{transition:var(--nb-transition);transition-property:filter,opacity}.novablocks-controls-wrap:not(:last-child){margin-bottom:24px}.novablocks-controls-wrap--dirty{filter:grayscale(1);opacity:0.5}.novablocks-panel{position:relative}.novablocks-subpanel{position:absolute;right:100%;top:0;width:100%}.novablocks-navigable-menu .components-button{height:auto;text-align:right;white-space:normal}.novablocks-navigable-menu .components-button p{margin:0}.novablocks-navigable-menu .novablocks-navigable-menu__item-wrap{white-space:normal}.novablocks-navigable-menu .novablocks-navigable-menu__item-label+.novablocks-navigable-menu__item-help{margin-top:0.25em}.novablocks-navigable-menu .novablocks-navigable-menu__item-help{font-size:12px;opacity:0.5}.novablocks-navigable-menu .components-menu-group+.components-menu-group{border:0;position:relative}.novablocks-navigable-menu .components-menu-group+.components-menu-group:before{background-color:#ccc;content:"";display:block;height:1px;left:-8px;position:absolute;right:-8px;top:0}.novablocks-controls-group{margin:0 -16px;padding:0 16px}.novablocks-controls-group+.novablocks-controls-group{border-top:1px solid #e2e4e7;margin-top:16px;padding-top:16px}.novablocks-controls-group__title{color:#191e23;font-size:13px;font-weight:600;margin-bottom:16px}.novablocks-drawers{overflow:hidden;position:relative;transition:var(--nb-transition);transition-property:height}.novablocks-drawers__wrap{transition:var(--nb-transition);transition-property:transform}.novablocks-drawers__list{padding:16px}.novablocks-drawers__list-title{color:#2a2136;font-size:14px;font-weight:600}.novablocks-drawers__panel{position:absolute;right:100%;top:0;width:100%}.novablocks-drawers__panel--hidden{opacity:0;pointer-events:none}.novablocks-drawer{background:#f4f5f8;border-radius:4px;color:#555d66;cursor:pointer;font-size:13px;font-weight:500;padding:12px 16px;position:relative}.novablocks-drawer:after{border-color:#9195ab;border-style:solid;border-width:2px 0 0 2px;content:"";display:block;height:10px;left:18px;position:absolute;top:50%;transform:translateY(-50%) rotate(-45deg);transition:var(--nb-transition);transition-property:border-color;width:10px}.novablocks-drawer:not(:first-child){margin-top:6px}.novablocks-drawer:hover:after{border-color:#2a2136}.components-image-select-control{display:flex;gap:10px}.components-image-select-control__option{border:2px solid #eee;border-radius:4px;cursor:pointer;padding:4px}.components-image-select-control__option:hover{border-color:#ccc}.components-image-select-control__option.components-image-select-control__option--selected{border-color:var(--wp-admin-theme-color)}.components-image-select-control__label{padding:0 4px;text-align:center}.novablocks-notice{background-color:#e7f5f9;color:#191e23;margin-bottom:24px;padding:16px}.novablocks-notice .components-button{height:auto}.novablocks-notice p:last-child{margin-bottom:0}:root{--nb-text-placeholder-line-height:1.5;--nb-text-placeholder-shine-width:5em}.novablocks-text-placeholder__row[class]{--nb-text-placeholder-margin:calc((var(--nb-text-placeholder-line-height) - 1)*0.5em);background:var(--sm-current-fg1-color,var(--nb-fg1-color));background-clip:content-box;border-bottom:0 solid transparent;border-bottom-width:var(--nb-text-placeholder-margin);border-left:0 solid transparent;border-right:0 solid transparent;border-top:0 solid transparent;border-top-width:var(--nb-text-placeholder-margin);box-sizing:content-box;height:0.8em;position:relative}.novablocks-text-placeholder__row[class]:after{-webkit-animation:novablocks-text-placeholder-shine 1s infinite;animation:novablocks-text-placeholder-shine 1s infinite;background-image:linear-gradient(-90deg,transparent 0%,var(--sm-current-bg-color,var(--nb-bg-color)) 50%,transparent 100%);background-repeat:no-repeat;background-size:var(--nb-text-placeholder-shine-width) 100%;bottom:0;content:"";display:block;left:0;opacity:0.5;position:absolute;right:0;top:0;transform:translateX(calc((-1*var(--nb-text-placeholder-shine-width))*-1)) skew(30deg,0deg)}@-webkit-keyframes novablocks-text-placeholder-shine{0%{transform:translateX(calc((-1*var(--nb-text-placeholder-shine-width))*-1)) skew(30deg,0deg)}to{transform:translateX(-100%) skew(30deg,0deg)}}@keyframes novablocks-text-placeholder-shine{0%{transform:translateX(calc((-1*var(--nb-text-placeholder-shine-width))*-1)) skew(30deg,0deg)}to{transform:translateX(-100%) skew(30deg,0deg)}}.components-toggle-group__panel{overflow:hidden}.components-toggle-group__toggle-list{margin-top:-6px}.components-toggle-group__toggle-list-animated{position:relative;will-change:opacity,left,height}.components-toggle-group__toggle-list-animated>div{padding-top:6px}.components-toggle-group__toggle-list-item{border:1px solid transparent;border-radius:4px;padding:9px 11px}.components-toggle-group__toggle-list-item .components-base-control__field[class],.components-toggle-group__toggle-list-item .components-toggle-control[class]{margin-bottom:0}.components-toggle-group__toggle-list--enabled .components-toggle-group__toggle-list-item{background-color:#f4f5f8;border-color:#f4f5f8}.components-toggle-group__toggle-list--disabled .components-toggle-group__toggle-list-item{background-color:#fff;border-color:#c4c7d5}.components-toggle-group__toggle-list-label{display:block;font-weight:700}.components-toggle-group__toggle-list-label:not(:first-child){margin-top:24px}.components-toggle-group__toggle-list-label+.components-toggle-group__toggle-list{margin-top:8px}.nb-signal{align-items:center;display:flex}.components-base-control__label+.components-nb-signal-control__root{margin-top:12px}.nb-signal-icon{--bar-width:8px;--bar-space:4px;--bar-height:28px;--bar-height-diff:10px;align-items:flex-end;display:flex;height:var(--bar-height);justify-content:space-between;width:calc(var(--bar-width)*3 + var(--bar-space)*2)}.nb-signal-icon__bar{border:1px solid;width:var(--bar-width)}.nb-signal-icon__bar:first-child{height:calc(var(--bar-height) - var(--bar-height-diff)*2)}.nb-signal-icon__bar:nth-child(2){height:calc(var(--bar-height) - var(--bar-height-diff))}.nb-signal-icon__bar:nth-child(3){height:var(--bar-height)}.nb-signal-icon--high .nb-signal-icon__bar:first-child,.nb-signal-icon--high .nb-signal-icon__bar:nth-child(2),.nb-signal-icon--high .nb-signal-icon__bar:nth-child(3),.nb-signal-icon--low .nb-signal-icon__bar:first-child,.nb-signal-icon--medium .nb-signal-icon__bar:first-child,.nb-signal-icon--medium .nb-signal-icon__bar:nth-child(2){background:var(--nb-section-controls-accent);border-color:var(--nb-section-controls-accent)}.nb-signal__text{margin-left:auto}.nb-signal-icon+.nb-signal__text{margin-right:8px}.nb-signal-icon-label{font-size:11px;letter-spacing:-0.01em;line-height:1;opacity:0.5;text-transform:uppercase}.nb-signal__value-label{font-size:13px;font-weight:500;letter-spacing:-0.01em}.nb-signal__controls{display:flex}.nb-signal__controls>*+*{margin-right:11px}.nb-signal__controls .components-button[class][class]{align-items:center;border-radius:3px;box-shadow:0 0 0 1px #9195ab;display:flex;height:32px;justify-content:center;padding:0;width:32px}.nb-signal__controls .components-button[class][class] .dashicons-plus{transform:translateY(7%)}.nb-signal__controls .components-button[class][class][disabled]{background:none;opacity:0.5}.novablocks-u-background{transition:background-color 0.4s ease-out}.novablocks-u-background .block-editor-inserter__toggle{background:#fff}.nova-hide-clear-color .components-color-palette__custom-color{margin-left:0}.nova-hide-clear-color .components-color-palette__clear{display:none}.novablocks-media-composition[class]{align-content:center;align-items:center;display:flex;justify-content:center}.novablocks-change-media-overlay{z-index:10}.novablocks-change-media-overlay span{background:#fff;border-radius:2px;box-shadow:inset 0 0 0 1px #1e1e1e;color:#1e1e1e;display:block;font-family:inherit;font-size:13px;font-weight:400;height:36px;margin:0;outline:1px solid #fff;padding:6px 12px;white-space:nowrap}.novablocks-change-media-overlay span:hover{box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color);color:var(--wp-admin-theme-color)}.novablocks-palette-control__label+.novablocks-palette-control__field{margin-top:1em}.novablocks-palette-control__option{--outline-color:transparent;border-radius:999em;box-shadow:#fff 0 0 0 1px,var(--outline-color) 0 0 0 3px;cursor:pointer;overflow:hidden;padding:1em 1.5em;position:relative}.novablocks-palette-control__option:before{background:var(--sm-current-accent-color,var(--nb-accent-color));content:"";display:block;height:100%;left:1.6em;position:absolute;top:0;width:1em}.novablocks-palette-control__option:after{border-radius:999em;box-shadow:inset 0 0 0 2px rgba(0,0,0,.1);content:"";display:block;height:100%;position:absolute;right:0;top:0;width:100%}.novablocks-palette-control__option+.novablocks-palette-control__option{margin-top:0.7em}.novablocks-palette-control__option--selected{--outline-color:var(--nb-section-controls-accent)}div:not([class])[style*="--nb-block"][style*="--nb-emphasis"]{margin-bottom:0!important;margin-top:0!important;padding-bottom:0!important;padding-top:0!important}
  • nova-blocks/trunk/build/block-editor/editor-styles.css

    r2719178 r2761077  
    1 .autocomplete-tokenfield{position:relative}.autocomplete-tokenfield .components-spinner{position:absolute;right:0;top:2em}.autocomplete-tokenfield .components-form-token-field>.components-form-token-field__help{display:none}.autocomplete-tokenfield .autocomplete-tokenfield__help{font-style:italic}.novablocks-sections{border-top:1px solid #e2e4e7;overflow:hidden}.novablocks-sections__header{padding:16px;position:relative}.novablocks-sections__header .novablocks-sections__title{padding-top:8px}.novablocks-sections__header+.novablocks-drawers__list{margin-top:-16px}.novablocks-sections__title{color:#191e23;font-size:14px;font-weight:600;padding:16px 0 8px}.novablocks-sections__button{background:#f2f2f2;border-radius:5px;color:#9195ab;cursor:pointer;font-weight:600;padding:12px 16px;position:relative}.novablocks-sections__button+.novablocks-sections__button{margin-top:6px}.novablocks-sections__button:after{border-color:currentcolor;border-style:solid;border-width:2px 2px 0 0;content:"";display:block;height:10px;position:absolute;right:18px;top:50%;transform:translateY(-50%) rotate(45deg);width:10px}.novablocks-sections__button:hover{color:#2a2136}:root{--nb-purple:#8e65c0;--nb-green:#00cab6;--nb-red:#de1651}.novablocks-sections__cube{position:absolute;right:30px;top:50%}.novablocks-sections__cube-face{height:15px;position:absolute;transform-origin:0 0;width:15px}.novablocks-sections__cube-face--top{background:var(--nb-purple);transform:translateY(-2px) rotate(210deg) skewX(-30deg) scaleY(0.864)}.novablocks-sections__cube-face--left{background:var(--nb-red);transform:translateX(-1px) rotate(90deg) skewX(-30deg) scaleY(0.864)}.novablocks-sections__cube-face--right{background:var(--nb-green);transform:translateX(1px) rotate(-30deg) skewX(-30deg) scaleY(0.864)}.novablocks-section__controls{--nb-section-controls-accent:var(--nb-red);--wp-admin-theme-color:var(--nb-section-controls-accent)}.novablocks-section__controls input[type=checkbox]:checked,.novablocks-section__controls input[type=radio]:checked{background:var(--nb-section-controls-accent);border-color:var(--nb-section-controls-accent)}.novablocks-section__controls .components-form-toggle.is-checked .components-form-toggle__track{background:var(--nb-section-controls-accent)}.novablocks-section__controls .components-range-control__track{color:var(--nb-section-controls-accent)}.novablocks-section__controls .components-button.is-primary,.novablocks-section__controls .components-button.is-primary:focus:enabled,.novablocks-section__controls .components-button.is-primary:not(:disabled):not([aria-disabled=true]):hover{background:var(--nb-section-controls-accent);border-color:var(--nb-section-controls-accent)}.novablocks-section__controls .components-button.is-primary:disabled{color:hsla(0,0%,100%,.5)}.novablocks-section__controls .components-button.is-secondary{border-color:#e2e4e7;color:#545d66}.novablocks-section__controls .components-button.is-secondary:not(:disabled):not([aria-disabled=true]):hover{background:#fff;border-color:#e2e4e7;color:#191e24}.novablocks-section__controls--customize{--nb-section-controls-accent:var(--nb-green)}.novablocks-section__controls--general{--nb-section-controls-accent:var(--nb-purple)}.novablocks-sections__controls-header{background-color:var(--nb-section-controls-accent);color:#fff;font-size:16px;padding:20px 16px;position:relative;text-align:center;transition:background-color .2s ease-out}.novablocks-sections__controls-back{cursor:pointer;height:20px;left:16px;position:absolute;top:50%;transform:translateY(-50%);width:18px}.novablocks-sections__controls-back:after,.novablocks-sections__controls-back:before{border:0 solid #fff;content:"";position:absolute}.novablocks-sections__controls-back:before{border-top-width:2px;left:4px;margin-top:-1px;top:50%;width:13px}.novablocks-sections__controls-back:after{border-left-width:2px;border-top-width:2px;height:9px;left:1px;top:50%;transform:rotate(-45deg);transform-origin:0 0;width:9px}.novablocks-sections__tabs{background-color:var(--nb-section-controls-accent);color:#fff;display:flex;padding:0 16px;transition:background-color .2s ease-out}.novablocks-sections__tab{border-top-left-radius:5px;border-top-right-radius:5px;cursor:pointer;flex-grow:1;padding:10px;text-align:center}.novablocks-sections__tab--active{background-color:#fff;color:#555d66}.novablocks-sections__tab-content{padding:16px}.novablocks-sections__tab-content .components-panel__body,.novablocks-sections__tab-content .novablocks-notice{margin-left:-16px;margin-right:-16px}.novablocks-controls-wrap{transition:var(--nb-transition);transition-property:filter,opacity}.novablocks-controls-wrap:not(:last-child){margin-bottom:24px}.novablocks-controls-wrap--dirty{filter:grayscale(1);opacity:0.5}.novablocks-panel{position:relative}.novablocks-subpanel{left:100%;position:absolute;top:0;width:100%}.novablocks-controls-group{margin:0 -16px;padding:0 16px}.novablocks-controls-group+.novablocks-controls-group{border-top:1px solid #e2e4e7;margin-top:16px;padding-top:16px}.novablocks-controls-group__title{color:#191e23;font-size:13px;font-weight:600;margin-bottom:16px}.novablocks-drawers{overflow:hidden;position:relative;transition:var(--nb-transition);transition-property:height}.novablocks-drawers__wrap{transition:var(--nb-transition);transition-property:transform}.novablocks-drawers__list{padding:16px}.novablocks-drawers__list-title{color:#2a2136;font-size:14px;font-weight:600}.novablocks-drawers__panel{left:100%;position:absolute;top:0;width:100%}.novablocks-drawers__panel--hidden{opacity:0;pointer-events:none}.novablocks-drawer{background:#f4f5f8;border-radius:4px;color:#555d66;cursor:pointer;font-size:13px;font-weight:500;padding:12px 16px;position:relative}.novablocks-drawer:after{border-color:#9195ab;border-style:solid;border-width:2px 2px 0 0;content:"";display:block;height:10px;position:absolute;right:18px;top:50%;transform:translateY(-50%) rotate(45deg);transition:var(--nb-transition);transition-property:border-color;width:10px}.novablocks-drawer:not(:first-child){margin-top:6px}.novablocks-drawer:hover:after{border-color:#2a2136}.components-image-select-control{display:flex;gap:10px}.components-image-select-control__option{border:2px solid #eee;border-radius:4px;cursor:pointer;padding:4px}.components-image-select-control__option:hover{border-color:#ccc}.components-image-select-control__option.components-image-select-control__option--selected{border-color:var(--wp-admin-theme-color)}.components-image-select-control__label{padding:0 4px;text-align:center}.novablocks-notice{background-color:#e7f5f9;color:#191e23;margin-bottom:24px;padding:16px}.novablocks-notice .components-button{height:auto}.novablocks-notice p:last-child{margin-bottom:0}:root{--nb-text-placeholder-line-height:1.5;--nb-text-placeholder-shine-width:5em}.novablocks-text-placeholder__row[class]{--nb-text-placeholder-margin:calc((var(--nb-text-placeholder-line-height) - 1)*0.5em);background:var(--sm-current-fg1-color,var(--nb-fg1-color));background-clip:content-box;border-bottom:0 solid transparent;border-bottom-width:var(--nb-text-placeholder-margin);border-left:0 solid transparent;border-right:0 solid transparent;border-top:0 solid transparent;border-top-width:var(--nb-text-placeholder-margin);box-sizing:content-box;height:0.8em;position:relative}.novablocks-text-placeholder__row[class]:after{-webkit-animation:novablocks-text-placeholder-shine 1s infinite;animation:novablocks-text-placeholder-shine 1s infinite;background-image:linear-gradient(90deg,transparent 0%,var(--sm-current-bg-color,var(--nb-bg-color)) 50%,transparent 100%);background-repeat:no-repeat;background-size:var(--nb-text-placeholder-shine-width) 100%;bottom:0;content:"";display:block;left:0;opacity:0.5;position:absolute;right:0;top:0;transform:translateX(calc(var(--nb-text-placeholder-shine-width)*-1)) skew(-30deg,0deg)}@-webkit-keyframes novablocks-text-placeholder-shine{0%{transform:translateX(calc(var(--nb-text-placeholder-shine-width)*-1)) skew(-30deg,0deg)}to{transform:translateX(100%) skew(-30deg,0deg)}}@keyframes novablocks-text-placeholder-shine{0%{transform:translateX(calc(var(--nb-text-placeholder-shine-width)*-1)) skew(-30deg,0deg)}to{transform:translateX(100%) skew(-30deg,0deg)}}.components-toggle-group__panel{overflow:hidden}.components-toggle-group__toggle-list{margin-top:-6px}.components-toggle-group__toggle-list-animated{position:relative;will-change:opacity,left,height}.components-toggle-group__toggle-list-animated>div{padding-top:6px}.components-toggle-group__toggle-list-item{border:1px solid transparent;border-radius:4px;padding:9px 11px}.components-toggle-group__toggle-list-item .components-base-control__field[class],.components-toggle-group__toggle-list-item .components-toggle-control[class]{margin-bottom:0}.components-toggle-group__toggle-list--enabled .components-toggle-group__toggle-list-item{background-color:#f4f5f8;border-color:#f4f5f8}.components-toggle-group__toggle-list--disabled .components-toggle-group__toggle-list-item{background-color:#fff;border-color:#c4c7d5}.components-toggle-group__toggle-list-label{display:block;font-weight:700}.components-toggle-group__toggle-list-label:not(:first-child){margin-top:24px}.components-toggle-group__toggle-list-label+.components-toggle-group__toggle-list{margin-top:8px}.nb-signal{align-items:center;display:flex}.components-base-control__label+.components-nb-signal-control__root{margin-top:12px}.nb-signal-icon{--bar-width:8px;--bar-space:4px;--bar-height:28px;--bar-height-diff:10px;align-items:flex-end;display:flex;height:var(--bar-height);justify-content:space-between;width:calc(var(--bar-width)*3 + var(--bar-space)*2)}.nb-signal-icon__bar{border:1px solid;width:var(--bar-width)}.nb-signal-icon__bar:first-child{height:calc(var(--bar-height) - var(--bar-height-diff)*2)}.nb-signal-icon__bar:nth-child(2){height:calc(var(--bar-height) - var(--bar-height-diff))}.nb-signal-icon__bar:nth-child(3){height:var(--bar-height)}.nb-signal-icon--high .nb-signal-icon__bar:first-child,.nb-signal-icon--high .nb-signal-icon__bar:nth-child(2),.nb-signal-icon--high .nb-signal-icon__bar:nth-child(3),.nb-signal-icon--low .nb-signal-icon__bar:first-child,.nb-signal-icon--medium .nb-signal-icon__bar:first-child,.nb-signal-icon--medium .nb-signal-icon__bar:nth-child(2){background:var(--nb-section-controls-accent);border-color:var(--nb-section-controls-accent)}.nb-signal__text{margin-right:auto}.nb-signal-icon+.nb-signal__text{margin-left:8px}.nb-signal-icon-label{font-size:11px;letter-spacing:-0.01em;line-height:1;opacity:0.5;text-transform:uppercase}.nb-signal__value-label{font-size:13px;font-weight:500;letter-spacing:-0.01em}.nb-signal__controls{display:flex}.nb-signal__controls>*+*{margin-left:11px}.nb-signal__controls .components-button[class][class]{align-items:center;border-radius:3px;box-shadow:0 0 0 1px #9195ab;display:flex;height:32px;justify-content:center;padding:0;width:32px}.nb-signal__controls .components-button[class][class] .dashicons-plus{transform:translateY(7%)}.nb-signal__controls .components-button[class][class][disabled]{background:none;opacity:0.5}.novablocks-u-background{transition:background-color 0.4s ease-out}.novablocks-u-background .block-editor-inserter__toggle{background:#fff}.nova-hide-clear-color .components-color-palette__custom-color{margin-right:0}.nova-hide-clear-color .components-color-palette__clear{display:none}.novablocks-change-media-overlay{align-content:center;align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:10}.novablocks-change-media-overlay span{background-color:#000;border-radius:2px;color:#fff;display:block;padding:.4em .9em}.novablocks-palette-control__label+.novablocks-palette-control__field{margin-top:1em}.novablocks-palette-control__option{--outline-color:transparent;border-radius:999em;box-shadow:#fff 0 0 0 1px,var(--outline-color) 0 0 0 3px;cursor:pointer;overflow:hidden;padding:1em 1.5em;position:relative}.novablocks-palette-control__option:before{background:var(--sm-current-accent-color,var(--nb-accent-color));content:"";display:block;height:100%;position:absolute;right:1.6em;top:0;width:1em}.novablocks-palette-control__option:after{border-radius:999em;box-shadow:inset 0 0 0 2px rgba(0,0,0,.1);content:"";display:block;height:100%;left:0;position:absolute;top:0;width:100%}.novablocks-palette-control__option+.novablocks-palette-control__option{margin-top:0.7em}.novablocks-palette-control__option--selected{--outline-color:var(--nb-section-controls-accent)}div:not([class])[style*="--nb-block"][style*="--nb-emphasis"]{margin-bottom:0!important;margin-top:0!important;padding-bottom:0!important;padding-top:0!important}
     1.autocomplete-tokenfield{position:relative}.autocomplete-tokenfield .components-spinner{position:absolute;right:0;top:2em}.autocomplete-tokenfield .components-form-token-field>.components-form-token-field__help{display:none}.autocomplete-tokenfield .autocomplete-tokenfield__help{font-style:italic}.novablocks-sections{border-top:1px solid #e2e4e7;overflow:hidden}.novablocks-sections__header{padding:16px;position:relative}.novablocks-sections__header .novablocks-sections__title{padding-top:8px}.novablocks-sections__header+.novablocks-drawers__list{margin-top:-16px}.novablocks-sections__title{color:#191e23;font-size:14px;font-weight:600;padding:16px 0 8px}.novablocks-sections__button{background:#f2f2f2;border-radius:5px;color:#9195ab;cursor:pointer;font-weight:600;padding:12px 16px;position:relative}.novablocks-sections__button+.novablocks-sections__button{margin-top:6px}.novablocks-sections__button:after{border-color:currentcolor;border-style:solid;border-width:2px 2px 0 0;content:"";display:block;height:10px;position:absolute;right:18px;top:50%;transform:translateY(-50%) rotate(45deg);width:10px}.novablocks-sections__button:hover{color:#2a2136}:root{--nb-purple:#8e65c0;--nb-green:#00cab6;--nb-red:#de1651}.novablocks-sections__cube{position:absolute;right:30px;top:50%}.novablocks-sections__cube-face{height:15px;position:absolute;transform-origin:0 0;width:15px}.novablocks-sections__cube-face--top{background:var(--nb-purple);transform:translateY(-2px) rotate(210deg) skewX(-30deg) scaleY(0.864)}.novablocks-sections__cube-face--left{background:var(--nb-red);transform:translateX(-1px) rotate(90deg) skewX(-30deg) scaleY(0.864)}.novablocks-sections__cube-face--right{background:var(--nb-green);transform:translateX(1px) rotate(-30deg) skewX(-30deg) scaleY(0.864)}.novablocks-section__controls{--nb-section-controls-accent:var(--nb-red);--wp-admin-theme-color:var(--nb-section-controls-accent)}.novablocks-section__controls input[type=checkbox]:checked,.novablocks-section__controls input[type=radio]:checked{background:var(--nb-section-controls-accent);border-color:var(--nb-section-controls-accent)}.novablocks-section__controls .components-form-toggle.is-checked .components-form-toggle__track{background:var(--nb-section-controls-accent)}.novablocks-section__controls .components-range-control__track{color:var(--nb-section-controls-accent)}.novablocks-section__controls .components-button.is-primary,.novablocks-section__controls .components-button.is-primary:focus:enabled,.novablocks-section__controls .components-button.is-primary:not(:disabled):not([aria-disabled=true]):hover{background:var(--nb-section-controls-accent);border-color:var(--nb-section-controls-accent)}.novablocks-section__controls .components-button.is-primary:disabled{color:hsla(0,0%,100%,.5)}.novablocks-section__controls .components-button.is-secondary{border-color:#e2e4e7;color:#545d66}.novablocks-section__controls .components-button.is-secondary:not(:disabled):not([aria-disabled=true]):hover{background:#fff;border-color:#e2e4e7;color:#191e24}.novablocks-section__controls--customize{--nb-section-controls-accent:var(--nb-green)}.novablocks-section__controls--general{--nb-section-controls-accent:var(--nb-purple)}.novablocks-sections__controls-header{background-color:var(--nb-section-controls-accent);color:#fff;font-size:16px;padding:20px 16px;position:relative;text-align:center;transition:background-color .2s ease-out}.novablocks-sections__controls-back{cursor:pointer;height:20px;left:16px;position:absolute;top:50%;transform:translateY(-50%);width:18px}.novablocks-sections__controls-back:after,.novablocks-sections__controls-back:before{border:0 solid #fff;content:"";position:absolute}.novablocks-sections__controls-back:before{border-top-width:2px;left:4px;margin-top:-1px;top:50%;width:13px}.novablocks-sections__controls-back:after{border-left-width:2px;border-top-width:2px;height:9px;left:1px;top:50%;transform:rotate(-45deg);transform-origin:0 0;width:9px}.novablocks-sections__tabs{background-color:var(--nb-section-controls-accent);color:#fff;display:flex;padding:0 16px;transition:background-color .2s ease-out}.novablocks-sections__tab{border-top-left-radius:5px;border-top-right-radius:5px;cursor:pointer;flex-grow:1;padding:10px;text-align:center}.novablocks-sections__tab--active{background-color:#fff;color:#555d66}.novablocks-sections__tab-content{padding:16px}.novablocks-sections__tab-content .components-panel__body,.novablocks-sections__tab-content .novablocks-notice{margin-left:-16px;margin-right:-16px}.novablocks-controls-wrap{transition:var(--nb-transition);transition-property:filter,opacity}.novablocks-controls-wrap:not(:last-child){margin-bottom:24px}.novablocks-controls-wrap--dirty{filter:grayscale(1);opacity:0.5}.novablocks-panel{position:relative}.novablocks-subpanel{left:100%;position:absolute;top:0;width:100%}.novablocks-navigable-menu .components-button{height:auto;text-align:left;white-space:normal}.novablocks-navigable-menu .components-button p{margin:0}.novablocks-navigable-menu .novablocks-navigable-menu__item-wrap{white-space:normal}.novablocks-navigable-menu .novablocks-navigable-menu__item-label+.novablocks-navigable-menu__item-help{margin-top:0.25em}.novablocks-navigable-menu .novablocks-navigable-menu__item-help{font-size:12px;opacity:0.5}.novablocks-navigable-menu .components-menu-group+.components-menu-group{border:0;position:relative}.novablocks-navigable-menu .components-menu-group+.components-menu-group:before{background-color:#ccc;content:"";display:block;height:1px;left:-8px;position:absolute;right:-8px;top:0}.novablocks-controls-group{margin:0 -16px;padding:0 16px}.novablocks-controls-group+.novablocks-controls-group{border-top:1px solid #e2e4e7;margin-top:16px;padding-top:16px}.novablocks-controls-group__title{color:#191e23;font-size:13px;font-weight:600;margin-bottom:16px}.novablocks-drawers{overflow:hidden;position:relative;transition:var(--nb-transition);transition-property:height}.novablocks-drawers__wrap{transition:var(--nb-transition);transition-property:transform}.novablocks-drawers__list{padding:16px}.novablocks-drawers__list-title{color:#2a2136;font-size:14px;font-weight:600}.novablocks-drawers__panel{left:100%;position:absolute;top:0;width:100%}.novablocks-drawers__panel--hidden{opacity:0;pointer-events:none}.novablocks-drawer{background:#f4f5f8;border-radius:4px;color:#555d66;cursor:pointer;font-size:13px;font-weight:500;padding:12px 16px;position:relative}.novablocks-drawer:after{border-color:#9195ab;border-style:solid;border-width:2px 2px 0 0;content:"";display:block;height:10px;position:absolute;right:18px;top:50%;transform:translateY(-50%) rotate(45deg);transition:var(--nb-transition);transition-property:border-color;width:10px}.novablocks-drawer:not(:first-child){margin-top:6px}.novablocks-drawer:hover:after{border-color:#2a2136}.components-image-select-control{display:flex;gap:10px}.components-image-select-control__option{border:2px solid #eee;border-radius:4px;cursor:pointer;padding:4px}.components-image-select-control__option:hover{border-color:#ccc}.components-image-select-control__option.components-image-select-control__option--selected{border-color:var(--wp-admin-theme-color)}.components-image-select-control__label{padding:0 4px;text-align:center}.novablocks-notice{background-color:#e7f5f9;color:#191e23;margin-bottom:24px;padding:16px}.novablocks-notice .components-button{height:auto}.novablocks-notice p:last-child{margin-bottom:0}:root{--nb-text-placeholder-line-height:1.5;--nb-text-placeholder-shine-width:5em}.novablocks-text-placeholder__row[class]{--nb-text-placeholder-margin:calc((var(--nb-text-placeholder-line-height) - 1)*0.5em);background:var(--sm-current-fg1-color,var(--nb-fg1-color));background-clip:content-box;border-bottom:0 solid transparent;border-bottom-width:var(--nb-text-placeholder-margin);border-left:0 solid transparent;border-right:0 solid transparent;border-top:0 solid transparent;border-top-width:var(--nb-text-placeholder-margin);box-sizing:content-box;height:0.8em;position:relative}.novablocks-text-placeholder__row[class]:after{-webkit-animation:novablocks-text-placeholder-shine 1s infinite;animation:novablocks-text-placeholder-shine 1s infinite;background-image:linear-gradient(90deg,transparent 0%,var(--sm-current-bg-color,var(--nb-bg-color)) 50%,transparent 100%);background-repeat:no-repeat;background-size:var(--nb-text-placeholder-shine-width) 100%;bottom:0;content:"";display:block;left:0;opacity:0.5;position:absolute;right:0;top:0;transform:translateX(calc(var(--nb-text-placeholder-shine-width)*-1)) skew(-30deg,0deg)}@-webkit-keyframes novablocks-text-placeholder-shine{0%{transform:translateX(calc(var(--nb-text-placeholder-shine-width)*-1)) skew(-30deg,0deg)}to{transform:translateX(100%) skew(-30deg,0deg)}}@keyframes novablocks-text-placeholder-shine{0%{transform:translateX(calc(var(--nb-text-placeholder-shine-width)*-1)) skew(-30deg,0deg)}to{transform:translateX(100%) skew(-30deg,0deg)}}.components-toggle-group__panel{overflow:hidden}.components-toggle-group__toggle-list{margin-top:-6px}.components-toggle-group__toggle-list-animated{position:relative;will-change:opacity,left,height}.components-toggle-group__toggle-list-animated>div{padding-top:6px}.components-toggle-group__toggle-list-item{border:1px solid transparent;border-radius:4px;padding:9px 11px}.components-toggle-group__toggle-list-item .components-base-control__field[class],.components-toggle-group__toggle-list-item .components-toggle-control[class]{margin-bottom:0}.components-toggle-group__toggle-list--enabled .components-toggle-group__toggle-list-item{background-color:#f4f5f8;border-color:#f4f5f8}.components-toggle-group__toggle-list--disabled .components-toggle-group__toggle-list-item{background-color:#fff;border-color:#c4c7d5}.components-toggle-group__toggle-list-label{display:block;font-weight:700}.components-toggle-group__toggle-list-label:not(:first-child){margin-top:24px}.components-toggle-group__toggle-list-label+.components-toggle-group__toggle-list{margin-top:8px}.nb-signal{align-items:center;display:flex}.components-base-control__label+.components-nb-signal-control__root{margin-top:12px}.nb-signal-icon{--bar-width:8px;--bar-space:4px;--bar-height:28px;--bar-height-diff:10px;align-items:flex-end;display:flex;height:var(--bar-height);justify-content:space-between;width:calc(var(--bar-width)*3 + var(--bar-space)*2)}.nb-signal-icon__bar{border:1px solid;width:var(--bar-width)}.nb-signal-icon__bar:first-child{height:calc(var(--bar-height) - var(--bar-height-diff)*2)}.nb-signal-icon__bar:nth-child(2){height:calc(var(--bar-height) - var(--bar-height-diff))}.nb-signal-icon__bar:nth-child(3){height:var(--bar-height)}.nb-signal-icon--high .nb-signal-icon__bar:first-child,.nb-signal-icon--high .nb-signal-icon__bar:nth-child(2),.nb-signal-icon--high .nb-signal-icon__bar:nth-child(3),.nb-signal-icon--low .nb-signal-icon__bar:first-child,.nb-signal-icon--medium .nb-signal-icon__bar:first-child,.nb-signal-icon--medium .nb-signal-icon__bar:nth-child(2){background:var(--nb-section-controls-accent);border-color:var(--nb-section-controls-accent)}.nb-signal__text{margin-right:auto}.nb-signal-icon+.nb-signal__text{margin-left:8px}.nb-signal-icon-label{font-size:11px;letter-spacing:-0.01em;line-height:1;opacity:0.5;text-transform:uppercase}.nb-signal__value-label{font-size:13px;font-weight:500;letter-spacing:-0.01em}.nb-signal__controls{display:flex}.nb-signal__controls>*+*{margin-left:11px}.nb-signal__controls .components-button[class][class]{align-items:center;border-radius:3px;box-shadow:0 0 0 1px #9195ab;display:flex;height:32px;justify-content:center;padding:0;width:32px}.nb-signal__controls .components-button[class][class] .dashicons-plus{transform:translateY(7%)}.nb-signal__controls .components-button[class][class][disabled]{background:none;opacity:0.5}.novablocks-u-background{transition:background-color 0.4s ease-out}.novablocks-u-background .block-editor-inserter__toggle{background:#fff}.nova-hide-clear-color .components-color-palette__custom-color{margin-right:0}.nova-hide-clear-color .components-color-palette__clear{display:none}.novablocks-media-composition[class]{align-content:center;align-items:center;display:flex;justify-content:center}.novablocks-change-media-overlay{z-index:10}.novablocks-change-media-overlay span{background:#fff;border-radius:2px;box-shadow:inset 0 0 0 1px #1e1e1e;color:#1e1e1e;display:block;font-family:inherit;font-size:13px;font-weight:400;height:36px;margin:0;outline:1px solid #fff;padding:6px 12px;white-space:nowrap}.novablocks-change-media-overlay span:hover{box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color);color:var(--wp-admin-theme-color)}.novablocks-palette-control__label+.novablocks-palette-control__field{margin-top:1em}.novablocks-palette-control__option{--outline-color:transparent;border-radius:999em;box-shadow:#fff 0 0 0 1px,var(--outline-color) 0 0 0 3px;cursor:pointer;overflow:hidden;padding:1em 1.5em;position:relative}.novablocks-palette-control__option:before{background:var(--sm-current-accent-color,var(--nb-accent-color));content:"";display:block;height:100%;position:absolute;right:1.6em;top:0;width:1em}.novablocks-palette-control__option:after{border-radius:999em;box-shadow:inset 0 0 0 2px rgba(0,0,0,.1);content:"";display:block;height:100%;left:0;position:absolute;top:0;width:100%}.novablocks-palette-control__option+.novablocks-palette-control__option{margin-top:0.7em}.novablocks-palette-control__option--selected{--outline-color:var(--nb-section-controls-accent)}div:not([class])[style*="--nb-block"][style*="--nb-emphasis"]{margin-bottom:0!important;margin-top:0!important;padding-bottom:0!important;padding-top:0!important}
  • nova-blocks/trunk/build/block-editor/index.asset.php

    r2744078 r2761077  
    1 <?php return array('dependencies' => array('lodash', 'novablocks-icons', 'novablocks-utils', 'react', 'react-dom', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-url', 'wp-viewport'), 'version' => '52585fbdf88aac6062f691dfdeb1f621');
     1<?php return array('dependencies' => array('lodash', 'novablocks-icons', 'novablocks-utils', 'react', 'react-dom', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-url', 'wp-viewport'), 'version' => '4abf51057e238443af816cbc967d721b');
  • nova-blocks/trunk/build/block-editor/index.js

    r2744078 r2761077  
    1 this.novablocks=this.novablocks||{},this.novablocks.blockEditor=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=69)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.wp.i18n},function(e,t,n){"use strict";n.d(t,"w",(function(){return o})),n.d(t,"a",(function(){return ve})),n.d(t,"b",(function(){return D})),n.d(t,"c",(function(){return ye})),n.d(t,"d",(function(){return Oe})),n.d(t,"e",(function(){return W})),n.d(t,"f",(function(){return de})),n.d(t,"g",(function(){return Re})),n.d(t,"h",(function(){return w})),n.d(t,"i",(function(){return ze})),n.d(t,"j",(function(){return De})),n.d(t,"k",(function(){return P})),n.d(t,"l",(function(){return S})),n.d(t,"m",(function(){return x})),n.d(t,"n",(function(){return A})),n.d(t,"o",(function(){return q})),n.d(t,"p",(function(){return he})),n.d(t,"q",(function(){return ge})),n.d(t,"r",(function(){return me})),n.d(t,"s",(function(){return k})),n.d(t,"t",(function(){return Le})),n.d(t,"u",(function(){return E})),n.d(t,"v",(function(){return _})),n.d(t,"x",(function(){return _e})),n.d(t,"y",(function(){return C})),n.d(t,"z",(function(){return He})),n.d(t,"A",(function(){return We})),n.d(t,"B",(function(){return Ge})),n.d(t,"C",(function(){return Ve})),n.d(t,"D",(function(){return $e}));let r=v();const o=e=>m(e,r);let a=v();o.write=e=>m(e,a);let i=v();o.onStart=e=>m(e,i);let c=v();o.onFrame=e=>m(e,c);let l=v();o.onFinish=e=>m(e,l);let s=[];o.setTimeout=(e,t)=>{let n=o.now()+t,r=()=>{let e=s.findIndex(e=>e.cancel==r);~e&&s.splice(e,1),p-=~e?1:0},a={time:n,handler:e,cancel:r};return s.splice(u(n),0,a),p+=1,g(),a};let u=e=>~(~s.findIndex(t=>t.time>e)||~s.length);o.cancel=e=>{i.delete(e),c.delete(e),r.delete(e),a.delete(e),l.delete(e)},o.sync=e=>{f=!0,o.batchedUpdates(e),f=!1},o.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...e){t=e,o.onStart(n)}return r.handler=e,r.cancel=()=>{i.delete(n),t=null},r};let d="undefined"!=typeof window?window.requestAnimationFrame:()=>{};o.use=e=>d=e,o.now="undefined"!=typeof performance?()=>performance.now():Date.now,o.batchedUpdates=e=>e(),o.catch=console.error,o.frameLoop="always",o.advance=()=>{"demand"!==o.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):O()};let b=-1,p=0,f=!1;function m(e,t){f?(t.delete(e),e(0)):(t.add(e),g())}function g(){b<0&&(b=0,"demand"!==o.frameLoop&&d(h))}function h(){~b&&(d(h),o.batchedUpdates(O))}function O(){let e=b;b=o.now();let t=u(b);t&&(j(s.splice(0,t),e=>e.handler()),p-=t),i.flush(),r.flush(e?Math.min(64,b-e):16.667),c.flush(),a.flush(),l.flush(),p||(b=-1)}function v(){let e=new Set,t=e;return{add(n){p+=t!=e||e.has(n)?0:1,e.add(n)},delete:n=>(p-=t==e&&e.has(n)?1:0,e.delete(n)),flush(n){t.size&&(e=new Set,p-=t.size,j(t,t=>t(n)&&e.add(t)),p+=e.size,t=e)}}}function j(e,t){e.forEach(e=>{try{t(e)}catch(e){o.catch(e)}})}var y=n(15);function _(){}const w=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),k={arr:Array.isArray,obj:e=>!!e&&"Object"===e.constructor.name,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e};function E(e,t){if(k.arr(e)){if(!k.arr(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return e===t}const P=(e,t)=>e.forEach(t);function S(e,t,n){if(k.arr(e))for(let r=0;r<e.length;r++)t.call(n,e[r],""+r);else for(const r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r)}const C=e=>k.und(e)?[]:k.arr(e)?e:[e];function x(e,t){if(e.size){const n=Array.from(e);e.clear(),P(n,t)}}const A=(e,...t)=>x(e,e=>e(...t)),I=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent);let T,R,B=null,M=!1,F=_;var D=Object.freeze({__proto__:null,get createStringInterpolator(){return T},get to(){return R},get colors(){return B},get skipAnimation(){return M},get willAdvance(){return F},assign:e=>{e.to&&(R=e.to),e.now&&(o.now=e.now),void 0!==e.colors&&(B=e.colors),null!=e.skipAnimation&&(M=e.skipAnimation),e.createStringInterpolator&&(T=e.createStringInterpolator),e.requestAnimationFrame&&o.use(e.requestAnimationFrame),e.batchedUpdates&&(o.batchedUpdates=e.batchedUpdates),e.willAdvance&&(F=e.willAdvance),e.frameLoop&&(o.frameLoop=e.frameLoop)}});const N=new Set;let z=[],L=[],V=0;const q={get idle(){return!N.size&&!z.length},start(e){V>e.priority?(N.add(e),o.onStart(H)):(U(e),o($))},advance:$,sort(e){if(V)o.onFrame(()=>q.sort(e));else{const t=z.indexOf(e);~t&&(z.splice(t,1),G(e))}},clear(){z=[],N.clear()}};function H(){N.forEach(U),N.clear(),o($)}function U(e){z.includes(e)||G(e)}function G(e){z.splice(function(e,t){const n=e.findIndex(t);return n<0?e.length:n}(z,t=>t.priority>e.priority),0,e)}function $(e){const t=L;for(let n=0;n<z.length;n++){const r=z[n];V=r.priority,r.idle||(F(r),r.advance(e),r.idle||t.push(r))}return V=0,L=z,L.length=0,z=t,z.length>0}const W={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},Q="[-+]?\\d*\\.?\\d+";function Z(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}const K=new RegExp("rgb"+Z(Q,Q,Q)),J=new RegExp("rgba"+Z(Q,Q,Q,Q)),X=new RegExp("hsl"+Z(Q,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%")),Y=new RegExp("hsla"+Z(Q,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%",Q)),ee=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,te=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ne=/^#([0-9a-fA-F]{6})$/,re=/^#([0-9a-fA-F]{8})$/;function oe(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function ae(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,a=oe(o,r,e+1/3),i=oe(o,r,e),c=oe(o,r,e-1/3);return Math.round(255*a)<<24|Math.round(255*i)<<16|Math.round(255*c)<<8}function ie(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function ce(e){return(parseFloat(e)%360+360)%360/360}function le(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function se(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function ue(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=ne.exec(e))?parseInt(t[1]+"ff",16)>>>0:B&&void 0!==B[e]?B[e]:(t=K.exec(e))?(ie(t[1])<<24|ie(t[2])<<16|ie(t[3])<<8|255)>>>0:(t=J.exec(e))?(ie(t[1])<<24|ie(t[2])<<16|ie(t[3])<<8|le(t[4]))>>>0:(t=ee.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=re.exec(e))?parseInt(t[1],16)>>>0:(t=te.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=X.exec(e))?(255|ae(ce(t[1]),se(t[2]),se(t[3])))>>>0:(t=Y.exec(e))?(ae(ce(t[1]),se(t[2]),se(t[3]))|le(t[4]))>>>0:null}(e);return null===t?e:(t=t||0,`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`)}const de=(e,t,n)=>{if(k.fun(e))return e;if(k.arr(e))return de({range:e,output:t,extrapolate:n});if(k.str(e.output[0]))return T(e);const r=e,o=r.output,a=r.range||[0,1],i=r.extrapolateLeft||r.extrapolate||"extend",c=r.extrapolateRight||r.extrapolate||"extend",l=r.easing||(e=>e);return e=>{const t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,a);return function(e,t,n,r,o,a,i,c,l){let s=l?l(e):e;if(s<t){if("identity"===i)return s;"clamp"===i&&(s=t)}if(s>n){if("identity"===c)return s;"clamp"===c&&(s=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?s=-s:n===1/0?s-=t:s=(s-t)/(n-t);s=a(s),r===-1/0?s=-s:o===1/0?s+=r:s=s*(o-r)+r;return s}(e,a[t],a[t+1],o[t],o[t+1],l,i,c,r.map)}};function be(){return(be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}const pe=Symbol.for("FluidValue.get"),fe=Symbol.for("FluidValue.observers"),me=e=>Boolean(e&&e[pe]),ge=e=>e&&e[pe]?e[pe]():e,he=e=>e[fe]||null;function Oe(e,t){let n=e[fe];n&&n.forEach(e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)})}class ve{constructor(e){if(this[pe]=void 0,this[fe]=void 0,!e&&!(e=this.get))throw Error("Unknown getter");je(this,e)}}const je=(e,t)=>we(e,pe,t);function ye(e,t){if(e[pe]){let n=e[fe];n||we(e,fe,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function _e(e,t){let n=e[fe];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[fe]=null,e.observerRemoved&&e.observerRemoved(r,t)}}const we=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),ke=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Ee=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Pe=new RegExp(`(${ke.source})(%|[a-z]+)`,"i"),Se=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,Ce=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,xe=e=>{const[t,n]=Ae(e);if(!t||I())return e;const r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(n&&n.startsWith("--")){const t=window.getComputedStyle(document.documentElement).getPropertyValue(n);return t||e}return n&&Ce.test(n)?xe(n):n||e},Ae=e=>{const t=Ce.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]};let Ie;const Te=(e,t,n,r,o)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${o})`,Re=e=>{Ie||(Ie=B?new RegExp(`(${Object.keys(B).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map(e=>ge(e).replace(Ce,xe).replace(Ee,ue).replace(Ie,ue)),n=t.map(e=>e.match(ke).map(Number)),r=n[0].map((e,t)=>n.map(e=>{if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]})).map(t=>de(be({},e,{output:t})));return e=>{var n;const o=!Pe.test(t[0])&&(null==(n=t.find(e=>Pe.test(e)))?void 0:n.replace(ke,""));let a=0;return t[0].replace(ke,()=>`${r[a++](e)}${o||""}`).replace(Se,Te)}},Be="react-spring: ",Me=e=>{const t=e;let n=!1;if("function"!=typeof t)throw new TypeError(Be+"once requires a function parameter");return(...e)=>{n||(t(...e),n=!0)}},Fe=Me(console.warn);function De(){Fe(Be+'The "interpolate" function is deprecated in v9 (use "to" instead)')}const Ne=Me(console.warn);function ze(){Ne(Be+'Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions')}function Le(e){return k.str(e)&&("#"==e[0]||/\d/.test(e)||!I()&&Ce.test(e)||e in(B||{}))}const Ve=e=>Object(y.useEffect)(e,qe),qe=[];function He(){const e=Object(y.useState)()[1],t=Object(y.useState)(Ue)[0];return Ve(t.unmount),()=>{t.current&&e({})}}function Ue(){const e={current:!0,unmount:()=>()=>{e.current=!1}};return e}function Ge(e,t){const[n]=Object(y.useState)(()=>({inputs:t,result:e()})),r=Object(y.useRef)(),o=r.current;let a=o;if(a){Boolean(t&&a.inputs&&function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,a.inputs))||(a={inputs:t,result:e()})}else a=n;return Object(y.useEffect)(()=>{r.current=a,o==n&&(n.inputs=n.result=void 0)},[a]),a.result}function $e(e){const t=Object(y.useRef)();return Object(y.useEffect)(()=>{t.current=e}),t.current}const We="undefined"!=typeof window&&window.document&&window.document.createElement?y.useLayoutEffect:y.useEffect},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.novablocks.utils},,function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return r}))},function(e,t){e.exports=window.wp.hooks},function(e,t){e.exports=window.wp.compose},function(e,t){e.exports=window.wp.data},function(e,t,n){var r;
     1this.novablocks=this.novablocks||{},this.novablocks.blockEditor=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=69)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.wp.i18n},function(e,t,n){"use strict";n.d(t,"w",(function(){return o})),n.d(t,"a",(function(){return ve})),n.d(t,"b",(function(){return D})),n.d(t,"c",(function(){return ye})),n.d(t,"d",(function(){return Oe})),n.d(t,"e",(function(){return W})),n.d(t,"f",(function(){return de})),n.d(t,"g",(function(){return Te})),n.d(t,"h",(function(){return w})),n.d(t,"i",(function(){return ze})),n.d(t,"j",(function(){return De})),n.d(t,"k",(function(){return P})),n.d(t,"l",(function(){return S})),n.d(t,"m",(function(){return x})),n.d(t,"n",(function(){return A})),n.d(t,"o",(function(){return q})),n.d(t,"p",(function(){return he})),n.d(t,"q",(function(){return ge})),n.d(t,"r",(function(){return me})),n.d(t,"s",(function(){return k})),n.d(t,"t",(function(){return Le})),n.d(t,"u",(function(){return E})),n.d(t,"v",(function(){return _})),n.d(t,"x",(function(){return _e})),n.d(t,"y",(function(){return C})),n.d(t,"z",(function(){return He})),n.d(t,"A",(function(){return We})),n.d(t,"B",(function(){return Ge})),n.d(t,"C",(function(){return Ve})),n.d(t,"D",(function(){return $e}));let r=v();const o=e=>m(e,r);let a=v();o.write=e=>m(e,a);let i=v();o.onStart=e=>m(e,i);let c=v();o.onFrame=e=>m(e,c);let l=v();o.onFinish=e=>m(e,l);let s=[];o.setTimeout=(e,t)=>{let n=o.now()+t,r=()=>{let e=s.findIndex(e=>e.cancel==r);~e&&s.splice(e,1),p-=~e?1:0},a={time:n,handler:e,cancel:r};return s.splice(u(n),0,a),p+=1,g(),a};let u=e=>~(~s.findIndex(t=>t.time>e)||~s.length);o.cancel=e=>{i.delete(e),c.delete(e),r.delete(e),a.delete(e),l.delete(e)},o.sync=e=>{f=!0,o.batchedUpdates(e),f=!1},o.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...e){t=e,o.onStart(n)}return r.handler=e,r.cancel=()=>{i.delete(n),t=null},r};let d="undefined"!=typeof window?window.requestAnimationFrame:()=>{};o.use=e=>d=e,o.now="undefined"!=typeof performance?()=>performance.now():Date.now,o.batchedUpdates=e=>e(),o.catch=console.error,o.frameLoop="always",o.advance=()=>{"demand"!==o.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):O()};let b=-1,p=0,f=!1;function m(e,t){f?(t.delete(e),e(0)):(t.add(e),g())}function g(){b<0&&(b=0,"demand"!==o.frameLoop&&d(h))}function h(){~b&&(d(h),o.batchedUpdates(O))}function O(){let e=b;b=o.now();let t=u(b);t&&(j(s.splice(0,t),e=>e.handler()),p-=t),i.flush(),r.flush(e?Math.min(64,b-e):16.667),c.flush(),a.flush(),l.flush(),p||(b=-1)}function v(){let e=new Set,t=e;return{add(n){p+=t!=e||e.has(n)?0:1,e.add(n)},delete:n=>(p-=t==e&&e.has(n)?1:0,e.delete(n)),flush(n){t.size&&(e=new Set,p-=t.size,j(t,t=>t(n)&&e.add(t)),p+=e.size,t=e)}}}function j(e,t){e.forEach(e=>{try{t(e)}catch(e){o.catch(e)}})}var y=n(15);function _(){}const w=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),k={arr:Array.isArray,obj:e=>!!e&&"Object"===e.constructor.name,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e};function E(e,t){if(k.arr(e)){if(!k.arr(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return e===t}const P=(e,t)=>e.forEach(t);function S(e,t,n){if(k.arr(e))for(let r=0;r<e.length;r++)t.call(n,e[r],""+r);else for(const r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r)}const C=e=>k.und(e)?[]:k.arr(e)?e:[e];function x(e,t){if(e.size){const n=Array.from(e);e.clear(),P(n,t)}}const A=(e,...t)=>x(e,e=>e(...t)),I=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent);let R,T,B=null,M=!1,F=_;var D=Object.freeze({__proto__:null,get createStringInterpolator(){return R},get to(){return T},get colors(){return B},get skipAnimation(){return M},get willAdvance(){return F},assign:e=>{e.to&&(T=e.to),e.now&&(o.now=e.now),void 0!==e.colors&&(B=e.colors),null!=e.skipAnimation&&(M=e.skipAnimation),e.createStringInterpolator&&(R=e.createStringInterpolator),e.requestAnimationFrame&&o.use(e.requestAnimationFrame),e.batchedUpdates&&(o.batchedUpdates=e.batchedUpdates),e.willAdvance&&(F=e.willAdvance),e.frameLoop&&(o.frameLoop=e.frameLoop)}});const N=new Set;let z=[],L=[],V=0;const q={get idle(){return!N.size&&!z.length},start(e){V>e.priority?(N.add(e),o.onStart(H)):(U(e),o($))},advance:$,sort(e){if(V)o.onFrame(()=>q.sort(e));else{const t=z.indexOf(e);~t&&(z.splice(t,1),G(e))}},clear(){z=[],N.clear()}};function H(){N.forEach(U),N.clear(),o($)}function U(e){z.includes(e)||G(e)}function G(e){z.splice(function(e,t){const n=e.findIndex(t);return n<0?e.length:n}(z,t=>t.priority>e.priority),0,e)}function $(e){const t=L;for(let n=0;n<z.length;n++){const r=z[n];V=r.priority,r.idle||(F(r),r.advance(e),r.idle||t.push(r))}return V=0,L=z,L.length=0,z=t,z.length>0}const W={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},Q="[-+]?\\d*\\.?\\d+";function Z(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}const K=new RegExp("rgb"+Z(Q,Q,Q)),J=new RegExp("rgba"+Z(Q,Q,Q,Q)),X=new RegExp("hsl"+Z(Q,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%")),Y=new RegExp("hsla"+Z(Q,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%",Q)),ee=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,te=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ne=/^#([0-9a-fA-F]{6})$/,re=/^#([0-9a-fA-F]{8})$/;function oe(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function ae(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,a=oe(o,r,e+1/3),i=oe(o,r,e),c=oe(o,r,e-1/3);return Math.round(255*a)<<24|Math.round(255*i)<<16|Math.round(255*c)<<8}function ie(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function ce(e){return(parseFloat(e)%360+360)%360/360}function le(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function se(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function ue(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=ne.exec(e))?parseInt(t[1]+"ff",16)>>>0:B&&void 0!==B[e]?B[e]:(t=K.exec(e))?(ie(t[1])<<24|ie(t[2])<<16|ie(t[3])<<8|255)>>>0:(t=J.exec(e))?(ie(t[1])<<24|ie(t[2])<<16|ie(t[3])<<8|le(t[4]))>>>0:(t=ee.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=re.exec(e))?parseInt(t[1],16)>>>0:(t=te.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=X.exec(e))?(255|ae(ce(t[1]),se(t[2]),se(t[3])))>>>0:(t=Y.exec(e))?(ae(ce(t[1]),se(t[2]),se(t[3]))|le(t[4]))>>>0:null}(e);return null===t?e:(t=t||0,`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`)}const de=(e,t,n)=>{if(k.fun(e))return e;if(k.arr(e))return de({range:e,output:t,extrapolate:n});if(k.str(e.output[0]))return R(e);const r=e,o=r.output,a=r.range||[0,1],i=r.extrapolateLeft||r.extrapolate||"extend",c=r.extrapolateRight||r.extrapolate||"extend",l=r.easing||(e=>e);return e=>{const t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,a);return function(e,t,n,r,o,a,i,c,l){let s=l?l(e):e;if(s<t){if("identity"===i)return s;"clamp"===i&&(s=t)}if(s>n){if("identity"===c)return s;"clamp"===c&&(s=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?s=-s:n===1/0?s-=t:s=(s-t)/(n-t);s=a(s),r===-1/0?s=-s:o===1/0?s+=r:s=s*(o-r)+r;return s}(e,a[t],a[t+1],o[t],o[t+1],l,i,c,r.map)}};function be(){return(be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}const pe=Symbol.for("FluidValue.get"),fe=Symbol.for("FluidValue.observers"),me=e=>Boolean(e&&e[pe]),ge=e=>e&&e[pe]?e[pe]():e,he=e=>e[fe]||null;function Oe(e,t){let n=e[fe];n&&n.forEach(e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)})}class ve{constructor(e){if(this[pe]=void 0,this[fe]=void 0,!e&&!(e=this.get))throw Error("Unknown getter");je(this,e)}}const je=(e,t)=>we(e,pe,t);function ye(e,t){if(e[pe]){let n=e[fe];n||we(e,fe,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function _e(e,t){let n=e[fe];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[fe]=null,e.observerRemoved&&e.observerRemoved(r,t)}}const we=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),ke=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Ee=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Pe=new RegExp(`(${ke.source})(%|[a-z]+)`,"i"),Se=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,Ce=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,xe=e=>{const[t,n]=Ae(e);if(!t||I())return e;const r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(n&&n.startsWith("--")){const t=window.getComputedStyle(document.documentElement).getPropertyValue(n);return t||e}return n&&Ce.test(n)?xe(n):n||e},Ae=e=>{const t=Ce.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]};let Ie;const Re=(e,t,n,r,o)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${o})`,Te=e=>{Ie||(Ie=B?new RegExp(`(${Object.keys(B).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map(e=>ge(e).replace(Ce,xe).replace(Ee,ue).replace(Ie,ue)),n=t.map(e=>e.match(ke).map(Number)),r=n[0].map((e,t)=>n.map(e=>{if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]})).map(t=>de(be({},e,{output:t})));return e=>{var n;const o=!Pe.test(t[0])&&(null==(n=t.find(e=>Pe.test(e)))?void 0:n.replace(ke,""));let a=0;return t[0].replace(ke,()=>`${r[a++](e)}${o||""}`).replace(Se,Re)}},Be="react-spring: ",Me=e=>{const t=e;let n=!1;if("function"!=typeof t)throw new TypeError(Be+"once requires a function parameter");return(...e)=>{n||(t(...e),n=!0)}},Fe=Me(console.warn);function De(){Fe(Be+'The "interpolate" function is deprecated in v9 (use "to" instead)')}const Ne=Me(console.warn);function ze(){Ne(Be+'Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions')}function Le(e){return k.str(e)&&("#"==e[0]||/\d/.test(e)||!I()&&Ce.test(e)||e in(B||{}))}const Ve=e=>Object(y.useEffect)(e,qe),qe=[];function He(){const e=Object(y.useState)()[1],t=Object(y.useState)(Ue)[0];return Ve(t.unmount),()=>{t.current&&e({})}}function Ue(){const e={current:!0,unmount:()=>()=>{e.current=!1}};return e}function Ge(e,t){const[n]=Object(y.useState)(()=>({inputs:t,result:e()})),r=Object(y.useRef)(),o=r.current;let a=o;if(a){Boolean(t&&a.inputs&&function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,a.inputs))||(a={inputs:t,result:e()})}else a=n;return Object(y.useEffect)(()=>{r.current=a,o==n&&(n.inputs=n.result=void 0)},[a]),a.result}function $e(e){const t=Object(y.useRef)();return Object(y.useEffect)(()=>{t.current=e}),t.current}const We="undefined"!=typeof window&&window.document&&window.document.createElement?y.useLayoutEffect:y.useEffect},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.novablocks.utils},,function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return r}))},function(e,t){e.exports=window.wp.hooks},function(e,t){e.exports=window.wp.compose},function(e,t){e.exports=window.wp.data},function(e,t,n){var r;
    22/*!
    33  Copyright (c) 2017 Jed Watson.
    44  Licensed under the MIT License (MIT), see
    55  http://jedwatson.github.io/classnames
    6 */!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)&&r.length){var i=o.apply(null,r);i&&e.push(i)}else if("object"===a)for(var c in r)n.call(r,c)&&r[c]&&e.push(c)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(20);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,o,a=[],i=!0,c=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){c=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(c)throw o}}return a}}(e,t)||Object(r.a)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},,,function(e,t){e.exports=window.React},function(e,t){e.exports=window.wp.blockEditor},function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(17);var o=n(20);function a(e){return function(e){if(Array.isArray(e))return Object(r.a)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Object(o.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return d})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return y})),n.d(t,"e",(function(){return i})),n.d(t,"f",(function(){return g})),n.d(t,"g",(function(){return l})),n.d(t,"h",(function(){return c}));var r=n(2),o=n(15);const a=Symbol.for("Animated:node"),i=e=>e&&e[a],c=(e,t)=>Object(r.h)(e,a,t),l=e=>e&&e[a]&&e[a].getPayload();class s{constructor(){this.payload=void 0,c(this,this)}getPayload(){return this.payload||[]}}class u extends s{constructor(e){super(),this.done=!0,this.elapsedTime=void 0,this.lastPosition=void 0,this.lastVelocity=void 0,this.v0=void 0,this.durationProgress=0,this._value=e,r.s.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new u(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return r.s.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,r.s.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}}class d extends u{constructor(e){super(0),this._string=null,this._toString=void 0,this._toString=Object(r.f)({output:[e,e]})}static create(e){return new d(e)}getValue(){let e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(r.s.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else{if(!super.setValue(e))return!1;this._string=null}return!0}reset(e){e&&(this._toString=Object(r.f)({output:[this.getValue(),e]})),this._value=0,super.reset()}}const b={dependencies:null};class p extends s{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return Object(r.l)(this.source,(n,o)=>{var i;(i=n)&&i[a]===i?t[o]=n.getValue(e):Object(r.r)(n)?t[o]=Object(r.q)(n):e||(t[o]=n)}),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&Object(r.k)(this.payload,e=>e.reset())}_makePayload(e){if(e){const t=new Set;return Object(r.l)(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){b.dependencies&&Object(r.r)(e)&&b.dependencies.add(e);const t=l(e);t&&Object(r.k)(t,e=>this.add(e))}}class f extends p{constructor(e){super(e)}static create(e){return new f(e)}getValue(){return this.source.map(e=>e.getValue())}setValue(e){const t=this.getPayload();return e.length==t.length?t.map((t,n)=>t.setValue(e[n])).some(Boolean):(super.setValue(e.map(m)),!0)}}function m(e){return(Object(r.t)(e)?d:u).create(e)}function g(e){const t=i(e);return t?t.constructor:r.s.arr(e)?f:Object(r.t)(e)?d:u}function h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}const O=(e,t)=>{const n=!r.s.fun(e)||e.prototype&&e.prototype.isReactComponent;return Object(o.forwardRef)((a,i)=>{const c=Object(o.useRef)(null),l=n&&Object(o.useCallback)(e=>{c.current=function(e,t){e&&(r.s.fun(e)?e(t):e.current=t);return t}(i,e)},[i]),[s,u]=function(e,t){const n=new Set;b.dependencies=n,e.style&&(e=h({},e,{style:t.createAnimatedStyle(e.style)}));return e=new p(e),b.dependencies=null,[e,n]}(a,t),d=Object(r.z)(),f=()=>{const e=c.current;if(n&&!e)return;!1===(!!e&&t.applyAnimatedValues(e,s.getValue(!0)))&&d()},m=new v(f,u),g=Object(o.useRef)();Object(r.A)(()=>{const e=g.current;g.current=m,Object(r.k)(u,e=>Object(r.c)(e,m)),e&&(Object(r.k)(e.deps,t=>Object(r.x)(t,e)),r.w.cancel(e.update))}),Object(o.useEffect)(f,[]),Object(r.C)(()=>()=>{const e=g.current;Object(r.k)(e.deps,t=>Object(r.x)(t,e))});const O=t.getComponentProps(s.getValue());return o.createElement(e,h({},O,{ref:l}))})};class v{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&r.w.write(this.update)}}const j=Symbol.for("AnimatedComponent"),y=(e,{applyAnimatedValues:t=(()=>!1),createAnimatedStyle:n=(e=>new p(e)),getComponentProps:o=(e=>e)}={})=>{const a={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:o},i=e=>{const t=_(e)||"Anonymous";return(e=r.s.str(e)?i[e]||(i[e]=O(e,a)):e[j]||(e[j]=O(e,a))).displayName=`Animated(${t})`,e};return Object(r.l)(e,(t,n)=>{r.s.arr(e)&&(n=_(t)),i[n]=i(t)}),{animated:i}},_=e=>r.s.str(e)?e:e&&r.s.str(e.displayName)?e.displayName:r.s.fun(e)&&e.name||null},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(17);function o(e,t){if(e){if("string"==typeof e)return Object(r.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,"a",(function(){return o}))},function(e,t){e.exports=window.lodash},function(e,t){e.exports=window.wp.blocks},function(e,t){e.exports=window.wp.apiFetch},function(e,t){e.exports=window.novablocks.icons},,function(e,t){e.exports=window.regeneratorRuntime},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,"a",(function(){return r}))},function(e,t){e.exports=window.wp.coreData},function(e,t){e.exports=window.wp.url},,,,function(e,t,n){"use strict";var r=n(42);n.o(r,"animated")&&n.d(t,"animated",(function(){return r.animated})),n.o(r,"useTransition")&&n.d(t,"useTransition",(function(){return r.useTransition}))},function(e,t,n){"use strict";n.d(t,"useTransition",(function(){return je}));var r=n(2);n.d(t,"Globals",(function(){return r.b}));var o=n(15),a=n(19);n(43),n(44);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function c(e,...t){return r.s.fun(e)?e(...t):e}const l=(e,t)=>!0===e||!!(t&&e&&(r.s.fun(e)?e(t):Object(r.y)(e).includes(t))),s=(e,t)=>r.s.obj(e)?t&&e[t]:e,u=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,d=e=>e,b=(e,t=d)=>{let n=p;e.default&&!0!==e.default&&(e=e.default,n=Object.keys(e));const o={};for(const a of n){const n=t(e[a],a);r.s.und(n)||(o[a]=n)}return o},p=["config","onProps","onStart","onChange","onPause","onResume","onRest"],f={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function m(e){const t=function(e){const t={};let n=0;if(Object(r.l)(e,(e,r)=>{f[r]||(t[r]=e,n++)}),n)return t}(e);if(t){const n={to:t};return Object(r.l)(e,(e,r)=>r in t||(n[r]=e)),n}return i({},e)}function g(e){return e=Object(r.q)(e),r.s.arr(e)?e.map(g):Object(r.t)(e)?r.b.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function h(e){for(const t in e)return!0;return!1}function O(e){return r.s.fun(e)||r.s.arr(e)&&r.s.obj(e[0])}function v(e,t){var n;null==(n=e.ref)||n.delete(e),null==t||t.delete(e)}function j(e,t){var n;t&&e.ref!==t&&(null==(n=e.ref)||n.delete(e),t.add(e),e.ref=t)}const y=1.70158,_=1.525*y,w=2*Math.PI/3,k=2*Math.PI/4.5,E=e=>{const t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},P=i({},{tension:170,friction:26},{mass:1,damping:1,easing:{linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>0===e?0:Math.pow(2,10*e-10),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>2.70158*e*e*e-y*e*e,easeOutBack:e=>1+2.70158*Math.pow(e-1,3)+y*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*(7.189819*e-_)/2:(Math.pow(2*e-2,2)*((_+1)*(2*e-2)+_)+2)/2,easeInElastic:e=>0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*w),easeOutElastic:e=>0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*w)+1,easeInOutElastic:e=>0===e?0:1===e?1:e<.5?-Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*k)/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*k)/2+1,easeInBounce:e=>1-E(1-e),easeOutBounce:E,easeInOutBounce:e=>e<.5?(1-E(1-2*e))/2:(1+E(2*e-1))/2}.linear,clamp:!1});class S{constructor(){this.tension=void 0,this.friction=void 0,this.frequency=void 0,this.damping=void 0,this.mass=void 0,this.velocity=0,this.restVelocity=void 0,this.precision=void 0,this.progress=void 0,this.duration=void 0,this.easing=void 0,this.clamp=void 0,this.bounce=void 0,this.decay=void 0,this.round=void 0,Object.assign(this,P)}}function C(e,t){if(r.s.und(t.decay)){const n=!r.s.und(t.tension)||!r.s.und(t.friction);!n&&r.s.und(t.frequency)&&r.s.und(t.damping)&&r.s.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}const x=[];class A{constructor(){this.changed=!1,this.values=x,this.toValues=null,this.fromValues=x,this.to=void 0,this.from=void 0,this.config=new S,this.immediate=!1}}function I(e,{key:t,props:n,defaultProps:o,state:a,actions:s}){return new Promise((u,d)=>{var b;let p,f,m=l(null!=(b=n.cancel)?b:null==o?void 0:o.cancel,t);if(m)O();else{r.s.und(n.pause)||(a.paused=l(n.pause,t));let e=null==o?void 0:o.pause;!0!==e&&(e=a.paused||l(e,t)),p=c(n.delay||0,t),e?(a.resumeQueue.add(h),s.pause()):(s.resume(),h())}function g(){a.resumeQueue.add(h),a.timeouts.delete(f),f.cancel(),p=f.time-r.w.now()}function h(){p>0&&!r.b.skipAnimation?(a.delayed=!0,f=r.w.setTimeout(O,p),a.pauseQueue.add(g),a.timeouts.add(f)):O()}function O(){a.delayed&&(a.delayed=!1),a.pauseQueue.delete(g),a.timeouts.delete(f),e<=(a.cancelId||0)&&(m=!0);try{s.start(i({},n,{callId:e,cancel:m}),u)}catch(e){d(e)}}})}const T=(e,t)=>1==t.length?t[0]:t.some(e=>e.cancelled)?M(e.get()):t.every(e=>e.noop)?R(e.get()):B(e.get(),t.every(e=>e.finished)),R=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),B=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),M=e=>({value:e,cancelled:!0,finished:!1});function F(e,t,n,o){const{callId:a,parentId:c,onRest:l}=t,{asyncTo:s,promise:u}=n;return c||e!==s||t.reset?n.promise=(async()=>{n.asyncId=a,n.asyncTo=e;const d=b(t,(e,t)=>"onRest"===t?void 0:e);let p,f;const m=new Promise((e,t)=>(p=e,f=t)),g=e=>{const t=a<=(n.cancelId||0)&&M(o)||a!==n.asyncId&&B(o,!1);if(t)throw e.result=t,f(e),e},h=(e,t)=>{const c=new N,l=new z;return(async()=>{if(r.b.skipAnimation)throw D(n),l.result=B(o,!1),f(l),l;g(c);const s=r.s.obj(e)?i({},e):i({},t,{to:e});s.parentId=a,Object(r.l)(d,(e,t)=>{r.s.und(s[t])&&(s[t]=e)});const u=await o.start(s);return g(c),n.paused&&await new Promise(e=>{n.resumeQueue.add(e)}),u})()};let O;if(r.b.skipAnimation)return D(n),B(o,!1);try{let t;t=r.s.arr(e)?(async e=>{for(const t of e)await h(t)})(e):Promise.resolve(e(h,o.stop.bind(o))),await Promise.all([t.then(p),m]),O=B(o.get(),!0,!1)}catch(e){if(e instanceof N)O=e.result;else{if(!(e instanceof z))throw e;O=e.result}}finally{a==n.asyncId&&(n.asyncId=c,n.asyncTo=c?s:void 0,n.promise=c?u:void 0)}return r.s.fun(l)&&r.w.batchedUpdates(()=>{l(O,o,o.item)}),O})():u}function D(e,t){Object(r.m)(e.timeouts,e=>e.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}class N extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise."),this.result=void 0}}class z extends Error{constructor(){super("SkipAnimationSignal"),this.result=void 0}}const L=e=>e instanceof q;let V=1;class q extends r.a{constructor(...e){super(...e),this.id=V++,this.key=void 0,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=Object(a.e)(this);return e&&e.getValue()}to(...e){return r.b.to(this,e)}interpolate(...e){return Object(r.j)(),r.b.to(this,e)}toJSON(){return this.get()}observerAdded(e){1==e&&this._attach()}observerRemoved(e){0==e&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){Object(r.d)(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||r.o.sort(this),Object(r.d)(this,{type:"priority",parent:this,priority:e})}}const H=Symbol.for("SpringPhase"),U=e=>(1&e[H])>0,G=e=>(2&e[H])>0,$=e=>(4&e[H])>0,W=(e,t)=>t?e[H]|=3:e[H]&=-3,Q=(e,t)=>t?e[H]|=4:e[H]&=-5;class Z extends q{constructor(e,t){if(super(),this.key=void 0,this.animation=new A,this.queue=void 0,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!r.s.und(e)||!r.s.und(t)){const n=r.s.obj(e)?i({},e):i({},t,{from:e});r.s.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(G(this)||this._state.asyncTo)||$(this)}get goal(){return Object(r.q)(this.animation.to)}get velocity(){const e=Object(a.e)(this);return e instanceof a.c?e.lastVelocity||0:e.getPayload().map(e=>e.lastVelocity||0)}get hasAnimated(){return U(this)}get isAnimating(){return G(this)}get isPaused(){return $(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1;const o=this.animation;let{config:i,toValues:c}=o;const l=Object(a.g)(o.to);!l&&Object(r.r)(o.to)&&(c=Object(r.y)(Object(r.q)(o.to))),o.values.forEach((s,u)=>{if(s.done)return;const d=s.constructor==a.b?1:l?l[u].lastPosition:c[u];let b=o.immediate,p=d;if(!b){if(p=s.lastPosition,i.tension<=0)return void(s.done=!0);let t=s.elapsedTime+=e;const n=o.fromValues[u],a=null!=s.v0?s.v0:s.v0=r.s.arr(i.velocity)?i.velocity[u]:i.velocity;let c;if(r.s.und(i.duration))if(i.decay){const e=!0===i.decay?.998:i.decay,r=Math.exp(-(1-e)*t);p=n+a/(1-e)*(1-r),b=Math.abs(s.lastPosition-p)<.1,c=a*r}else{c=null==s.lastVelocity?a:s.lastVelocity;const t=i.precision||(n==d?.005:Math.min(1,.001*Math.abs(d-n))),o=i.restVelocity||t/10,l=i.clamp?0:i.bounce,u=!r.s.und(l),f=n==d?s.v0>0:n<d;let m,g=!1;const h=1,O=Math.ceil(e/h);for(let e=0;e<O&&(m=Math.abs(c)>o,m||(b=Math.abs(d-p)<=t,!b));++e){u&&(g=p==d||p>d==f,g&&(c=-c*l,p=d));c+=(1e-6*-i.tension*(p-d)+.001*-i.friction*c)/i.mass*h,p+=c*h}}else{let r=1;i.duration>0&&(this._memoizedDuration!==i.duration&&(this._memoizedDuration=i.duration,s.durationProgress>0&&(s.elapsedTime=i.duration*s.durationProgress,t=s.elapsedTime+=e)),r=(i.progress||0)+t/this._memoizedDuration,r=r>1?1:r<0?0:r,s.durationProgress=r),p=n+i.easing(r)*(d-n),c=(p-s.lastPosition)/e,b=1==r}s.lastVelocity=c,Number.isNaN(p)&&(console.warn("Got NaN while animating:",this),b=!0)}l&&!l[u].done&&(b=!1),b?s.done=!0:t=!1,s.setValue(p,i.round)&&(n=!0)});const s=Object(a.e)(this),u=s.getValue();if(t){const e=Object(r.q)(o.to);u===e&&!n||i.decay?n&&i.decay&&this._onChange(u):(s.setValue(e),this._onChange(e)),this._stop()}else n&&this._onChange(u)}set(e){return r.w.batchedUpdates(()=>{this._stop(),this._focus(e),this._set(e)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(G(this)){const{to:e,config:t}=this.animation;r.w.batchedUpdates(()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()})}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let n;return r.s.und(e)?(n=this.queue||[],this.queue=[]):n=[r.s.obj(e)?e:i({},t,{to:e})],Promise.all(n.map(e=>this._update(e))).then(e=>T(this,e))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),D(this._state,e&&this._lastCallId),r.w.batchedUpdates(()=>this._stop(t,e)),this}reset(){this._update({reset:!0})}eventObserved(e){"change"==e.type?this._start():"priority"==e.type&&(this.priority=e.priority+1)}_prepareNode(e){const t=this.key||"";let{to:n,from:o}=e;n=r.s.obj(n)?n[t]:n,(null==n||O(n))&&(n=void 0),o=r.s.obj(o)?o[t]:o,null==o&&(o=void 0);const i={to:n,from:o};return U(this)||(e.reverse&&([n,o]=[o,n]),o=Object(r.q)(o),r.s.und(o)?Object(a.e)(this)||this._set(n):this._set(o)),i}_update(e,t){let n=i({},e);const{key:o,defaultProps:a}=this;n.default&&Object.assign(a,b(n,(e,t)=>/^on/.test(t)?s(e,o):e)),te(this,n,"onProps"),ne(this,"onProps",n,this);const c=this._prepareNode(n);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const l=this._state;return I(++this._lastCallId,{key:o,props:n,defaultProps:a,state:l,actions:{pause:()=>{$(this)||(Q(this,!0),Object(r.n)(l.pauseQueue),ne(this,"onPause",B(this,K(this,this.animation.to)),this))},resume:()=>{$(this)&&(Q(this,!1),G(this)&&this._resume(),Object(r.n)(l.resumeQueue),ne(this,"onResume",B(this,K(this,this.animation.to)),this))},start:this._merge.bind(this,c)}}).then(e=>{if(n.loop&&e.finished&&(!t||!e.noop)){const e=J(n);if(e)return this._update(e,!0)}return e})}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(M(this));const o=!r.s.und(e.to),s=!r.s.und(e.from);if(o||s){if(!(t.callId>this._lastToId))return n(M(this));this._lastToId=t.callId}const{key:u,defaultProps:d,animation:b}=this,{to:p,from:f}=b;let{to:m=p,from:h=f}=e;!s||o||t.default&&!r.s.und(m)||(m=h),t.reverse&&([m,h]=[h,m]);const v=!Object(r.u)(h,f);v&&(b.from=h),h=Object(r.q)(h);const j=!Object(r.u)(m,p);j&&this._focus(m);const y=O(t.to),{config:_}=b,{decay:w,velocity:k}=_;(o||s)&&(_.velocity=0),t.config&&!y&&function(e,t,n){n&&(C(n=i({},n),t),t=i({},n,t)),C(e,t),Object.assign(e,t);for(const t in P)null==e[t]&&(e[t]=P[t]);let{mass:o,frequency:a,damping:c}=e;r.s.und(a)||(a<.01&&(a=.01),c<0&&(c=0),e.tension=Math.pow(2*Math.PI/a,2)*o,e.friction=4*Math.PI*c*o/a)}(_,c(t.config,u),t.config!==d.config?c(d.config,u):void 0);let E=Object(a.e)(this);if(!E||r.s.und(m))return n(B(this,!0));const S=r.s.und(t.reset)?s&&!t.default:!r.s.und(h)&&l(t.reset,u),x=S?h:this.get(),A=g(m),I=r.s.num(A)||r.s.arr(A)||Object(r.t)(A),T=!y&&(!I||l(d.immediate||t.immediate,u));if(j){const e=Object(a.f)(m);if(e!==E.constructor){if(!T)throw Error(`Cannot animate between ${E.constructor.name} and ${e.name}, as the "to" prop suggests`);E=this._set(A)}}const D=E.constructor;let N=Object(r.r)(m),z=!1;if(!N){const e=S||!U(this)&&v;(j||e)&&(z=Object(r.u)(g(x),A),N=!z),(Object(r.u)(b.immediate,T)||T)&&Object(r.u)(_.decay,w)&&Object(r.u)(_.velocity,k)||(N=!0)}if(z&&G(this)&&(b.changed&&!S?N=!0:N||this._stop(p)),!y&&((N||Object(r.r)(p))&&(b.values=E.getPayload(),b.toValues=Object(r.r)(m)?null:D==a.b?[1]:Object(r.y)(A)),b.immediate!=T&&(b.immediate=T,T||S||this._set(p)),N)){const{onRest:e}=b;Object(r.k)(ee,e=>te(this,t,e));const o=B(this,K(this,p));Object(r.n)(this._pendingCalls,o),this._pendingCalls.add(n),b.changed&&r.w.batchedUpdates(()=>{b.changed=!S,null==e||e(o,this),S?c(d.onRest,o):null==b.onStart||b.onStart(o,this)})}S&&this._set(x),y?n(F(t.to,t,this._state,this)):N?this._start():G(this)&&!j?this._pendingCalls.add(n):n(R(x))}_focus(e){const t=this.animation;e!==t.to&&(Object(r.p)(this)&&this._detach(),t.to=e,Object(r.p)(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;Object(r.r)(t)&&(Object(r.c)(t,this),L(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;Object(r.r)(e)&&Object(r.x)(e,this)}_set(e,t=!0){const n=Object(r.q)(e);if(!r.s.und(n)){const e=Object(a.e)(this);if(!e||!Object(r.u)(n,e.getValue())){const o=Object(a.f)(n);e&&e.constructor==o?e.setValue(n):Object(a.h)(this,o.create(n)),e&&r.w.batchedUpdates(()=>{this._onChange(n,t)})}}return Object(a.e)(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,ne(this,"onStart",B(this,K(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),c(this.animation.onChange,e,this)),c(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;Object(a.e)(this).reset(Object(r.q)(e.to)),e.immediate||(e.fromValues=e.values.map(e=>e.lastPosition)),G(this)||(W(this,!0),$(this)||this._resume())}_resume(){r.b.skipAnimation?this.finish():r.o.start(this)}_stop(e,t){if(G(this)){W(this,!1);const n=this.animation;Object(r.k)(n.values,e=>{e.done=!0}),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),Object(r.d)(this,{type:"idle",parent:this});const o=t?M(this.get()):B(this.get(),K(this,null!=e?e:n.to));Object(r.n)(this._pendingCalls,o),n.changed&&(n.changed=!1,ne(this,"onRest",o,this))}}}function K(e,t){const n=g(t),o=g(e.get());return Object(r.u)(o,n)}function J(e,t=e.loop,n=e.to){let r=c(t);if(r){const o=!0!==r&&m(r),a=(o||e).reverse,c=!o||o.reset;return X(i({},e,{loop:t,default:!1,pause:void 0,to:!a||O(n)?n:void 0,from:c?e.from:void 0,reset:c},o))}}function X(e){const{to:t,from:n}=e=m(e),o=new Set;return r.s.obj(t)&&Y(t,o),r.s.obj(n)&&Y(n,o),e.keys=o.size?Array.from(o):null,e}function Y(e,t){Object(r.l)(e,(e,n)=>null!=e&&t.add(n))}const ee=["onStart","onRest","onChange","onPause","onResume"];function te(e,t,n){e.animation[n]=t[n]!==u(t,n)?s(t[n],e.key):void 0}function ne(e,t,...n){var r,o,a,i;null==(r=(o=e.animation)[t])||r.call(o,...n),null==(a=(i=e.defaultProps)[t])||a.call(i,...n)}const re=["onStart","onChange","onRest"];let oe=1;class ae{constructor(e,t){this.id=oe++,this.springs={},this.queue=[],this.ref=void 0,this._flush=void 0,this._initialProps=void 0,this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._item=void 0,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start(i({default:!0},e))}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(e=>e.idle&&!e.isDelayed&&!e.isPaused)}get item(){return this._item}set item(e){this._item=e}get(){const e={};return this.each((t,n)=>e[n]=t.get()),e}set(e){for(const t in e){const n=e[t];r.s.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(X(e)),this}start(e){let{queue:t}=this;return e?t=Object(r.y)(e).map(X):this.queue=[],this._flush?this._flush(this,t):(de(this,t),ie(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;Object(r.k)(Object(r.y)(t),t=>n[t].stop(!!e))}else D(this._state,this._lastAsyncId),this.each(t=>t.stop(!!e));return this}pause(e){if(r.s.und(e))this.start({pause:!0});else{const t=this.springs;Object(r.k)(Object(r.y)(e),e=>t[e].pause())}return this}resume(e){if(r.s.und(e))this.start({pause:!1});else{const t=this.springs;Object(r.k)(Object(r.y)(e),e=>t[e].resume())}return this}each(e){Object(r.l)(this.springs,e)}_onFrame(){const{onStart:e,onChange:t,onRest:n}=this._events,o=this._active.size>0,a=this._changed.size>0;(o&&!this._started||a&&!this._started)&&(this._started=!0,Object(r.m)(e,([e,t])=>{t.value=this.get(),e(t,this,this._item)}));const i=!o&&this._started,c=a||i&&n.size?this.get():null;a&&t.size&&Object(r.m)(t,([e,t])=>{t.value=c,e(t,this,this._item)}),i&&(this._started=!1,Object(r.m)(n,([e,t])=>{t.value=c,e(t,this,this._item)}))}eventObserved(e){if("change"==e.type)this._changed.add(e.parent),e.idle||this._active.add(e.parent);else{if("idle"!=e.type)return;this._active.delete(e.parent)}r.w.onFrame(this._onFrame)}}function ie(e,t){return Promise.all(t.map(t=>async function e(t,n,o){const{keys:a,to:i,from:c,loop:l,onRest:s,onResolve:d}=n,b=r.s.obj(n.default)&&n.default;l&&(n.loop=!1);!1===i&&(n.to=null);!1===c&&(n.from=null);const p=r.s.arr(i)||r.s.fun(i)?i:void 0;p?(n.to=void 0,n.onRest=void 0,b&&(b.onRest=void 0)):Object(r.k)(re,e=>{const o=n[e];if(r.s.fun(o)){const r=t._events[e];n[e]=({finished:e,cancelled:t})=>{const n=r.get(o);n?(e||(n.finished=!1),t&&(n.cancelled=!0)):r.set(o,{value:null,finished:e||!1,cancelled:t||!1})},b&&(b[e]=n[e])}});const f=t._state;n.pause===!f.paused?(f.paused=n.pause,Object(r.n)(n.pause?f.pauseQueue:f.resumeQueue)):f.paused&&(n.pause=!0);const m=(a||Object.keys(t.springs)).map(e=>t.springs[e].start(n)),g=!0===n.cancel||!0===u(n,"cancel");(p||g&&f.asyncId)&&m.push(I(++t._lastAsyncId,{props:n,state:f,actions:{pause:r.v,resume:r.v,start(e,n){g?(D(f,t._lastAsyncId),n(M(t))):(e.onRest=s,n(F(p,e,f,t)))}}}));f.paused&&await new Promise(e=>{f.resumeQueue.add(e)});const h=T(t,await Promise.all(m));if(l&&h.finished&&(!o||!h.noop)){const r=J(n,l,i);if(r)return de(t,[r]),e(t,r,!0)}d&&r.w.batchedUpdates(()=>d(h,t,t.item));return h}(e,t))).then(t=>T(e,t))}function ce(e,t){const n=i({},e.springs);return t&&Object(r.k)(Object(r.y)(t),e=>{r.s.und(e.keys)&&(e=X(e)),r.s.obj(e.to)||(e=i({},e,{to:void 0})),ue(n,e,e=>se(e))}),le(e,n),n}function le(e,t){Object(r.l)(t,(t,n)=>{e.springs[n]||(e.springs[n]=t,Object(r.c)(t,e))})}function se(e,t){const n=new Z;return n.key=e,t&&Object(r.c)(n,t),n}function ue(e,t,n){t.keys&&Object(r.k)(t.keys,r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)})}function de(e,t){Object(r.k)(t,t=>{ue(e.springs,t,t=>se(t,e))})}function be(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}const pe=["children"],fe=e=>{let{children:t}=e,n=be(e,pe);const a=Object(o.useContext)(me),i=n.pause||!!a.pause,c=n.immediate||!!a.immediate;n=Object(r.B)(()=>({pause:i,immediate:c}),[i,c]);const{Provider:l}=me;return o.createElement(l,{value:n},t)},me=(ge=fe,he={},Object.assign(ge,o.createContext(he)),ge.Provider._context=ge,ge.Consumer._context=ge,ge);var ge,he;fe.Provider=me.Provider,fe.Consumer=me.Consumer;const Oe=()=>{const e=[],t=function(t){Object(r.i)();const o=[];return Object(r.k)(e,(e,a)=>{if(r.s.und(t))o.push(e.start());else{const r=n(t,e,a);r&&o.push(e.start(r))}}),o};t.current=e,t.add=function(t){e.includes(t)||e.push(t)},t.delete=function(t){const n=e.indexOf(t);~n&&e.splice(n,1)},t.pause=function(){return Object(r.k)(e,e=>e.pause(...arguments)),this},t.resume=function(){return Object(r.k)(e,e=>e.resume(...arguments)),this},t.set=function(t){Object(r.k)(e,e=>e.set(t))},t.start=function(t){const n=[];return Object(r.k)(e,(e,o)=>{if(r.s.und(t))n.push(e.start());else{const r=this._getProps(t,e,o);r&&n.push(e.start(r))}}),n},t.stop=function(){return Object(r.k)(e,e=>e.stop(...arguments)),this},t.update=function(t){return Object(r.k)(e,(e,n)=>e.update(this._getProps(t,e,n))),this};const n=function(e,t,n){return r.s.fun(e)?e(n,t):e};return t._getProps=n,t};let ve;function je(e,t,n){const a=r.s.fun(t)&&t,{reset:l,sort:s,trail:u=0,expires:d=!0,exitBeforeEnter:p=!1,onDestroyed:f,ref:g,config:O}=a?a():t,y=Object(o.useMemo)(()=>a||3==arguments.length?Oe():void 0,[]),_=Object(r.y)(e),w=[],k=Object(o.useRef)(null),E=l?null:k.current;Object(r.A)(()=>{k.current=w}),Object(r.C)(()=>()=>{Object(r.k)(k.current,e=>{e.expired&&clearTimeout(e.expirationId),v(e.ctrl,y),e.ctrl.stop(!0)})});const P=_e(_,a?a():t,E),S=l&&k.current||[];Object(r.A)(()=>Object(r.k)(S,({ctrl:e,item:t,key:n})=>{v(e,y),c(f,t,n)}));const C=[];if(E&&Object(r.k)(E,(e,t)=>{e.expired?(clearTimeout(e.expirationId),S.push(e)):~(t=C[t]=P.indexOf(e.key))&&(w[t]=e)}),Object(r.k)(_,(e,t)=>{w[t]||(w[t]={key:P[t],item:e,phase:ve.MOUNT,ctrl:new ae},w[t].ctrl.item=e)}),C.length){let e=-1;const{leave:n}=a?a():t;Object(r.k)(C,(t,r)=>{const o=E[r];~t?(e=w.indexOf(o),w[e]=i({},o,{item:_[t]})):n&&w.splice(++e,0,o)})}r.s.fun(s)&&w.sort((e,t)=>s(e.item,t.item));let x=-u;const A=Object(r.z)(),I=b(t),T=new Map,R=Object(o.useRef)(new Map),B=Object(o.useRef)(!1);Object(r.k)(w,(e,n)=>{const o=e.key,l=e.phase,s=a?a():t;let b,f,h=c(s.delay||0,o);if(l==ve.MOUNT)b=s.enter,f=ve.ENTER;else{const e=P.indexOf(o)<0;if(l!=ve.LEAVE)if(e)b=s.leave,f=ve.LEAVE;else{if(!(b=s.update))return;f=ve.UPDATE}else{if(e)return;b=s.enter,f=ve.ENTER}}if(b=c(b,e.item,n),b=r.s.obj(b)?m(b):{to:b},!b.config){const t=O||I.config;b.config=c(t,e.item,n,f)}x+=u;const v=i({},I,{delay:h+x,ref:g,immediate:s.immediate,reset:!1},b);if(f==ve.ENTER&&r.s.und(v.from)){const o=a?a():t,i=r.s.und(o.initial)||E?o.from:o.initial;v.from=c(i,e.item,n)}const{onResolve:j}=v;v.onResolve=e=>{c(j,e);const t=k.current,n=t.find(e=>e.key===o);if(n&&(!e.cancelled||n.phase==ve.UPDATE)&&n.ctrl.idle){const e=t.every(e=>e.ctrl.idle);if(n.phase==ve.LEAVE){const t=c(d,n.item);if(!1!==t){const r=!0===t?0:t;if(n.expired=!0,!e&&r>0)return void(r<=2147483647&&(n.expirationId=setTimeout(A,r)))}}e&&t.some(e=>e.expired)&&(R.current.delete(n),p&&(B.current=!0),A())}};const y=ce(e.ctrl,v);f===ve.LEAVE&&p?R.current.set(e,{phase:f,springs:y,payload:v}):T.set(e,{phase:f,springs:y,payload:v})});const M=Object(o.useContext)(fe),F=Object(r.D)(M),D=M!==F&&h(M);Object(r.A)(()=>{D&&Object(r.k)(w,e=>{e.ctrl.start({default:M})})},[M]),Object(r.k)(T,(e,t)=>{if(R.current.size){const e=w.findIndex(e=>e.key===t.key);w.splice(e,1)}}),Object(r.A)(()=>{Object(r.k)(R.current.size?R.current:T,({phase:e,payload:t},n)=>{const{ctrl:r}=n;n.phase=e,null==y||y.add(r),D&&e==ve.ENTER&&r.start({default:M}),t&&(j(r,t.ref),r.ref&&!B.current?r.update(t):(r.start(t),B.current&&(B.current=!1)))})},l?void 0:n);const N=e=>o.createElement(o.Fragment,null,w.map((t,n)=>{const{springs:a}=T.get(t)||t.ctrl,c=e(i({},a),t.item,t,n);return c&&c.type?o.createElement(c.type,i({},c.props,{key:r.s.str(t.key)||r.s.num(t.key)?t.key:t.ctrl.id,ref:c.ref})):c}));return y?[N,y]:N}!function(e){e.MOUNT="mount",e.ENTER="enter",e.UPDATE="update",e.LEAVE="leave"}(ve||(ve={}));let ye=1;function _e(e,{key:t,keys:n=t},o){if(null===n){const t=new Set;return e.map(e=>{const n=o&&o.find(n=>n.item===e&&n.phase!==ve.LEAVE&&!t.has(n));return n?(t.add(n),n.key):ye++})}return r.s.und(n)?e:r.s.fun(n)?e.map(n):Object(r.y)(n)}class we extends q{constructor(e,t){super(),this.key=void 0,this.idle=!0,this.calc=void 0,this._active=new Set,this.source=e,this.calc=Object(r.f)(...t);const n=this._get(),o=Object(a.f)(n);Object(a.h)(this,o.create(n))}advance(e){const t=this._get(),n=this.get();Object(r.u)(t,n)||(Object(a.e)(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&Ee(this._active)&&Pe(this)}_get(){const e=r.s.arr(this.source)?this.source.map(r.q):Object(r.y)(Object(r.q)(this.source));return this.calc(...e)}_start(){this.idle&&!Ee(this._active)&&(this.idle=!1,Object(r.k)(Object(a.g)(this),e=>{e.done=!1}),r.b.skipAnimation?(r.w.batchedUpdates(()=>this.advance()),Pe(this)):r.o.start(this))}_attach(){let e=1;Object(r.k)(Object(r.y)(this.source),t=>{Object(r.r)(t)&&Object(r.c)(t,this),L(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))}),this.priority=e,this._start()}_detach(){Object(r.k)(Object(r.y)(this.source),e=>{Object(r.r)(e)&&Object(r.x)(e,this)}),this._active.clear(),Pe(this)}eventObserved(e){"change"==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):"idle"==e.type?this._active.delete(e.parent):"priority"==e.type&&(this.priority=Object(r.y)(this.source).reduce((e,t)=>Math.max(e,(L(t)?t.priority:0)+1),0))}}function ke(e){return!1!==e.idle}function Ee(e){return!e.size||Array.from(e).every(ke)}function Pe(e){e.idle||(e.idle=!0,Object(r.k)(Object(a.g)(e),e=>{e.done=!0}),Object(r.d)(e,{type:"idle",parent:e}))}r.b.assign({createStringInterpolator:r.g,to:(e,t)=>new we(e,t)});r.o.advance},,function(e,t){e.exports=window.wp.dom},function(e,t){e.exports=window.wp.date},function(e,t,n){e.exports=function(){"use strict";function e(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}return function t(n,r){function o(t,o,a){if("undefined"!=typeof document){"number"==typeof(a=e({},r,a)).expires&&(a.expires=new Date(Date.now()+864e5*a.expires)),a.expires&&(a.expires=a.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var c in a)a[c]&&(i+="; "+c,!0!==a[c]&&(i+="="+a[c].split(";")[0]));return document.cookie=t+"="+n.write(o,t)+i}}return Object.create({set:o,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],r={},o=0;o<t.length;o++){var a=t[o].split("="),i=a.slice(1).join("=");try{var c=decodeURIComponent(a[0]);if(r[c]=n.read(i,c),e===c)break}catch(e){}}return e?r[e]:r}},remove:function(t,n){o(t,"",e({},n,{expires:-1}))},withAttributes:function(n){return t(this.converter,e({},this.attributes,n))},withConverter:function(n){return t(e({},this.converter,n),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(n)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})}()},,function(e,t,n){"use strict";n.d(t,"animated",(function(){return w}));var r=n(36);n.o(r,"useTransition")&&n.d(t,"useTransition",(function(){return r.useTransition}));var o=n(48),a=n(2),i=n(19);function c(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}const l=["style","children","scrollTop","scrollLeft"],s=/^--/;function u(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||s.test(e)||b.hasOwnProperty(e)&&b[e]?(""+t).trim():t+"px"}const d={};let b={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};const p=["Webkit","Ms","Moz","O"];b=Object.keys(b).reduce((e,t)=>(p.forEach(n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t]),e),b);const f=["x","y","z"],m=/^(matrix|translate|scale|rotate|skew)/,g=/^(translate)/,h=/^(rotate|skew)/,O=(e,t)=>a.s.num(e)&&0!==e?e+t:e,v=(e,t)=>a.s.arr(e)?e.every(e=>v(e,t)):a.s.num(e)?e===t:parseFloat(e)===t;class j extends i.a{constructor(e){let{x:t,y:n,z:r}=e,o=c(e,f);const i=[],l=[];(t||n||r)&&(i.push([t||0,n||0,r||0]),l.push(e=>[`translate3d(${e.map(e=>O(e,"px")).join(",")})`,v(e,0)])),Object(a.l)(o,(e,t)=>{if("transform"===t)i.push([e||""]),l.push(e=>[e,""===e]);else if(m.test(t)){if(delete o[t],a.s.und(e))return;const n=g.test(t)?"px":h.test(t)?"deg":"";i.push(Object(a.y)(e)),l.push("rotate3d"===t?([e,t,r,o])=>[`rotate3d(${e},${t},${r},${O(o,n)})`,v(o,0)]:e=>[`${t}(${e.map(e=>O(e,n)).join(",")})`,v(e,t.startsWith("scale")?1:0)])}}),i.length&&(o.transform=new y(i,l)),super(o)}}class y extends a.a{constructor(e,t){super(),this._value=null,this.inputs=e,this.transforms=t}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return Object(a.k)(this.inputs,(n,r)=>{const o=Object(a.q)(n[0]),[i,c]=this.transforms[r](a.s.arr(o)?o:n.map(a.q));e+=" "+i,t=t&&c}),t?"none":e}observerAdded(e){1==e&&Object(a.k)(this.inputs,e=>Object(a.k)(e,e=>Object(a.r)(e)&&Object(a.c)(e,this)))}observerRemoved(e){0==e&&Object(a.k)(this.inputs,e=>Object(a.k)(e,e=>Object(a.r)(e)&&Object(a.x)(e,this)))}eventObserved(e){"change"==e.type&&(this._value=null),Object(a.d)(this,e)}}const _=["scrollTop","scrollLeft"];r.Globals.assign({batchedUpdates:o.unstable_batchedUpdates,createStringInterpolator:a.g,colors:a.e});const w=Object(i.d)(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,r=t,{style:o,children:a,scrollTop:i,scrollLeft:b}=r,p=c(r,l),f=Object.values(p),m=Object.keys(p).map(t=>n||e.hasAttribute(t)?t:d[t]||(d[t]=t.replace(/([A-Z])/g,e=>"-"+e.toLowerCase())));void 0!==a&&(e.textContent=a);for(let t in o)if(o.hasOwnProperty(t)){const n=u(t,o[t]);s.test(t)?e.style.setProperty(t,n):e.style[t]=n}m.forEach((t,n)=>{e.setAttribute(t,f[n])}),void 0!==i&&(e.scrollTop=i),void 0!==b&&(e.scrollLeft=b)},createAnimatedStyle:e=>new j(e),getComponentProps:e=>c(e,_)}).animated},function(e,t){},function(e,t){},,function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=n=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=window.wp.viewport},function(e,t){e.exports=window.ReactDOM},function(e,t,n){"use strict";
     6*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)&&r.length){var i=o.apply(null,r);i&&e.push(i)}else if("object"===a)for(var c in r)n.call(r,c)&&r[c]&&e.push(c)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(20);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,o,a=[],i=!0,c=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){c=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(c)throw o}}return a}}(e,t)||Object(r.a)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},,,function(e,t){e.exports=window.React},function(e,t){e.exports=window.wp.blockEditor},function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(17);var o=n(20);function a(e){return function(e){if(Array.isArray(e))return Object(r.a)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Object(o.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return d})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return y})),n.d(t,"e",(function(){return i})),n.d(t,"f",(function(){return g})),n.d(t,"g",(function(){return l})),n.d(t,"h",(function(){return c}));var r=n(2),o=n(15);const a=Symbol.for("Animated:node"),i=e=>e&&e[a],c=(e,t)=>Object(r.h)(e,a,t),l=e=>e&&e[a]&&e[a].getPayload();class s{constructor(){this.payload=void 0,c(this,this)}getPayload(){return this.payload||[]}}class u extends s{constructor(e){super(),this.done=!0,this.elapsedTime=void 0,this.lastPosition=void 0,this.lastVelocity=void 0,this.v0=void 0,this.durationProgress=0,this._value=e,r.s.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new u(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return r.s.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,r.s.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}}class d extends u{constructor(e){super(0),this._string=null,this._toString=void 0,this._toString=Object(r.f)({output:[e,e]})}static create(e){return new d(e)}getValue(){let e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(r.s.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else{if(!super.setValue(e))return!1;this._string=null}return!0}reset(e){e&&(this._toString=Object(r.f)({output:[this.getValue(),e]})),this._value=0,super.reset()}}const b={dependencies:null};class p extends s{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return Object(r.l)(this.source,(n,o)=>{var i;(i=n)&&i[a]===i?t[o]=n.getValue(e):Object(r.r)(n)?t[o]=Object(r.q)(n):e||(t[o]=n)}),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&Object(r.k)(this.payload,e=>e.reset())}_makePayload(e){if(e){const t=new Set;return Object(r.l)(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){b.dependencies&&Object(r.r)(e)&&b.dependencies.add(e);const t=l(e);t&&Object(r.k)(t,e=>this.add(e))}}class f extends p{constructor(e){super(e)}static create(e){return new f(e)}getValue(){return this.source.map(e=>e.getValue())}setValue(e){const t=this.getPayload();return e.length==t.length?t.map((t,n)=>t.setValue(e[n])).some(Boolean):(super.setValue(e.map(m)),!0)}}function m(e){return(Object(r.t)(e)?d:u).create(e)}function g(e){const t=i(e);return t?t.constructor:r.s.arr(e)?f:Object(r.t)(e)?d:u}function h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}const O=(e,t)=>{const n=!r.s.fun(e)||e.prototype&&e.prototype.isReactComponent;return Object(o.forwardRef)((a,i)=>{const c=Object(o.useRef)(null),l=n&&Object(o.useCallback)(e=>{c.current=function(e,t){e&&(r.s.fun(e)?e(t):e.current=t);return t}(i,e)},[i]),[s,u]=function(e,t){const n=new Set;b.dependencies=n,e.style&&(e=h({},e,{style:t.createAnimatedStyle(e.style)}));return e=new p(e),b.dependencies=null,[e,n]}(a,t),d=Object(r.z)(),f=()=>{const e=c.current;if(n&&!e)return;!1===(!!e&&t.applyAnimatedValues(e,s.getValue(!0)))&&d()},m=new v(f,u),g=Object(o.useRef)();Object(r.A)(()=>{const e=g.current;g.current=m,Object(r.k)(u,e=>Object(r.c)(e,m)),e&&(Object(r.k)(e.deps,t=>Object(r.x)(t,e)),r.w.cancel(e.update))}),Object(o.useEffect)(f,[]),Object(r.C)(()=>()=>{const e=g.current;Object(r.k)(e.deps,t=>Object(r.x)(t,e))});const O=t.getComponentProps(s.getValue());return o.createElement(e,h({},O,{ref:l}))})};class v{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&r.w.write(this.update)}}const j=Symbol.for("AnimatedComponent"),y=(e,{applyAnimatedValues:t=(()=>!1),createAnimatedStyle:n=(e=>new p(e)),getComponentProps:o=(e=>e)}={})=>{const a={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:o},i=e=>{const t=_(e)||"Anonymous";return(e=r.s.str(e)?i[e]||(i[e]=O(e,a)):e[j]||(e[j]=O(e,a))).displayName=`Animated(${t})`,e};return Object(r.l)(e,(t,n)=>{r.s.arr(e)&&(n=_(t)),i[n]=i(t)}),{animated:i}},_=e=>r.s.str(e)?e:e&&r.s.str(e.displayName)?e.displayName:r.s.fun(e)&&e.name||null},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(17);function o(e,t){if(e){if("string"==typeof e)return Object(r.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,"a",(function(){return o}))},function(e,t){e.exports=window.lodash},function(e,t){e.exports=window.wp.blocks},function(e,t){e.exports=window.wp.apiFetch},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,"a",(function(){return r}))},function(e,t){e.exports=window.novablocks.icons},,function(e,t){e.exports=window.regeneratorRuntime},function(e,t){e.exports=window.wp.coreData},function(e,t){e.exports=window.wp.url},,,,function(e,t,n){"use strict";var r=n(42);n.o(r,"animated")&&n.d(t,"animated",(function(){return r.animated})),n.o(r,"useTransition")&&n.d(t,"useTransition",(function(){return r.useTransition}))},function(e,t,n){"use strict";n.d(t,"useTransition",(function(){return je}));var r=n(2);n.d(t,"Globals",(function(){return r.b}));var o=n(15),a=n(19);n(43),n(44);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function c(e,...t){return r.s.fun(e)?e(...t):e}const l=(e,t)=>!0===e||!!(t&&e&&(r.s.fun(e)?e(t):Object(r.y)(e).includes(t))),s=(e,t)=>r.s.obj(e)?t&&e[t]:e,u=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,d=e=>e,b=(e,t=d)=>{let n=p;e.default&&!0!==e.default&&(e=e.default,n=Object.keys(e));const o={};for(const a of n){const n=t(e[a],a);r.s.und(n)||(o[a]=n)}return o},p=["config","onProps","onStart","onChange","onPause","onResume","onRest"],f={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function m(e){const t=function(e){const t={};let n=0;if(Object(r.l)(e,(e,r)=>{f[r]||(t[r]=e,n++)}),n)return t}(e);if(t){const n={to:t};return Object(r.l)(e,(e,r)=>r in t||(n[r]=e)),n}return i({},e)}function g(e){return e=Object(r.q)(e),r.s.arr(e)?e.map(g):Object(r.t)(e)?r.b.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function h(e){for(const t in e)return!0;return!1}function O(e){return r.s.fun(e)||r.s.arr(e)&&r.s.obj(e[0])}function v(e,t){var n;null==(n=e.ref)||n.delete(e),null==t||t.delete(e)}function j(e,t){var n;t&&e.ref!==t&&(null==(n=e.ref)||n.delete(e),t.add(e),e.ref=t)}const y=1.70158,_=1.525*y,w=2*Math.PI/3,k=2*Math.PI/4.5,E=e=>{const t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},P=i({},{tension:170,friction:26},{mass:1,damping:1,easing:{linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>0===e?0:Math.pow(2,10*e-10),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>2.70158*e*e*e-y*e*e,easeOutBack:e=>1+2.70158*Math.pow(e-1,3)+y*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*(7.189819*e-_)/2:(Math.pow(2*e-2,2)*((_+1)*(2*e-2)+_)+2)/2,easeInElastic:e=>0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*w),easeOutElastic:e=>0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*w)+1,easeInOutElastic:e=>0===e?0:1===e?1:e<.5?-Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*k)/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*k)/2+1,easeInBounce:e=>1-E(1-e),easeOutBounce:E,easeInOutBounce:e=>e<.5?(1-E(1-2*e))/2:(1+E(2*e-1))/2}.linear,clamp:!1});class S{constructor(){this.tension=void 0,this.friction=void 0,this.frequency=void 0,this.damping=void 0,this.mass=void 0,this.velocity=0,this.restVelocity=void 0,this.precision=void 0,this.progress=void 0,this.duration=void 0,this.easing=void 0,this.clamp=void 0,this.bounce=void 0,this.decay=void 0,this.round=void 0,Object.assign(this,P)}}function C(e,t){if(r.s.und(t.decay)){const n=!r.s.und(t.tension)||!r.s.und(t.friction);!n&&r.s.und(t.frequency)&&r.s.und(t.damping)&&r.s.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}const x=[];class A{constructor(){this.changed=!1,this.values=x,this.toValues=null,this.fromValues=x,this.to=void 0,this.from=void 0,this.config=new S,this.immediate=!1}}function I(e,{key:t,props:n,defaultProps:o,state:a,actions:s}){return new Promise((u,d)=>{var b;let p,f,m=l(null!=(b=n.cancel)?b:null==o?void 0:o.cancel,t);if(m)O();else{r.s.und(n.pause)||(a.paused=l(n.pause,t));let e=null==o?void 0:o.pause;!0!==e&&(e=a.paused||l(e,t)),p=c(n.delay||0,t),e?(a.resumeQueue.add(h),s.pause()):(s.resume(),h())}function g(){a.resumeQueue.add(h),a.timeouts.delete(f),f.cancel(),p=f.time-r.w.now()}function h(){p>0&&!r.b.skipAnimation?(a.delayed=!0,f=r.w.setTimeout(O,p),a.pauseQueue.add(g),a.timeouts.add(f)):O()}function O(){a.delayed&&(a.delayed=!1),a.pauseQueue.delete(g),a.timeouts.delete(f),e<=(a.cancelId||0)&&(m=!0);try{s.start(i({},n,{callId:e,cancel:m}),u)}catch(e){d(e)}}})}const R=(e,t)=>1==t.length?t[0]:t.some(e=>e.cancelled)?M(e.get()):t.every(e=>e.noop)?T(e.get()):B(e.get(),t.every(e=>e.finished)),T=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),B=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),M=e=>({value:e,cancelled:!0,finished:!1});function F(e,t,n,o){const{callId:a,parentId:c,onRest:l}=t,{asyncTo:s,promise:u}=n;return c||e!==s||t.reset?n.promise=(async()=>{n.asyncId=a,n.asyncTo=e;const d=b(t,(e,t)=>"onRest"===t?void 0:e);let p,f;const m=new Promise((e,t)=>(p=e,f=t)),g=e=>{const t=a<=(n.cancelId||0)&&M(o)||a!==n.asyncId&&B(o,!1);if(t)throw e.result=t,f(e),e},h=(e,t)=>{const c=new N,l=new z;return(async()=>{if(r.b.skipAnimation)throw D(n),l.result=B(o,!1),f(l),l;g(c);const s=r.s.obj(e)?i({},e):i({},t,{to:e});s.parentId=a,Object(r.l)(d,(e,t)=>{r.s.und(s[t])&&(s[t]=e)});const u=await o.start(s);return g(c),n.paused&&await new Promise(e=>{n.resumeQueue.add(e)}),u})()};let O;if(r.b.skipAnimation)return D(n),B(o,!1);try{let t;t=r.s.arr(e)?(async e=>{for(const t of e)await h(t)})(e):Promise.resolve(e(h,o.stop.bind(o))),await Promise.all([t.then(p),m]),O=B(o.get(),!0,!1)}catch(e){if(e instanceof N)O=e.result;else{if(!(e instanceof z))throw e;O=e.result}}finally{a==n.asyncId&&(n.asyncId=c,n.asyncTo=c?s:void 0,n.promise=c?u:void 0)}return r.s.fun(l)&&r.w.batchedUpdates(()=>{l(O,o,o.item)}),O})():u}function D(e,t){Object(r.m)(e.timeouts,e=>e.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}class N extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise."),this.result=void 0}}class z extends Error{constructor(){super("SkipAnimationSignal"),this.result=void 0}}const L=e=>e instanceof q;let V=1;class q extends r.a{constructor(...e){super(...e),this.id=V++,this.key=void 0,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=Object(a.e)(this);return e&&e.getValue()}to(...e){return r.b.to(this,e)}interpolate(...e){return Object(r.j)(),r.b.to(this,e)}toJSON(){return this.get()}observerAdded(e){1==e&&this._attach()}observerRemoved(e){0==e&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){Object(r.d)(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||r.o.sort(this),Object(r.d)(this,{type:"priority",parent:this,priority:e})}}const H=Symbol.for("SpringPhase"),U=e=>(1&e[H])>0,G=e=>(2&e[H])>0,$=e=>(4&e[H])>0,W=(e,t)=>t?e[H]|=3:e[H]&=-3,Q=(e,t)=>t?e[H]|=4:e[H]&=-5;class Z extends q{constructor(e,t){if(super(),this.key=void 0,this.animation=new A,this.queue=void 0,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!r.s.und(e)||!r.s.und(t)){const n=r.s.obj(e)?i({},e):i({},t,{from:e});r.s.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(G(this)||this._state.asyncTo)||$(this)}get goal(){return Object(r.q)(this.animation.to)}get velocity(){const e=Object(a.e)(this);return e instanceof a.c?e.lastVelocity||0:e.getPayload().map(e=>e.lastVelocity||0)}get hasAnimated(){return U(this)}get isAnimating(){return G(this)}get isPaused(){return $(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1;const o=this.animation;let{config:i,toValues:c}=o;const l=Object(a.g)(o.to);!l&&Object(r.r)(o.to)&&(c=Object(r.y)(Object(r.q)(o.to))),o.values.forEach((s,u)=>{if(s.done)return;const d=s.constructor==a.b?1:l?l[u].lastPosition:c[u];let b=o.immediate,p=d;if(!b){if(p=s.lastPosition,i.tension<=0)return void(s.done=!0);let t=s.elapsedTime+=e;const n=o.fromValues[u],a=null!=s.v0?s.v0:s.v0=r.s.arr(i.velocity)?i.velocity[u]:i.velocity;let c;if(r.s.und(i.duration))if(i.decay){const e=!0===i.decay?.998:i.decay,r=Math.exp(-(1-e)*t);p=n+a/(1-e)*(1-r),b=Math.abs(s.lastPosition-p)<.1,c=a*r}else{c=null==s.lastVelocity?a:s.lastVelocity;const t=i.precision||(n==d?.005:Math.min(1,.001*Math.abs(d-n))),o=i.restVelocity||t/10,l=i.clamp?0:i.bounce,u=!r.s.und(l),f=n==d?s.v0>0:n<d;let m,g=!1;const h=1,O=Math.ceil(e/h);for(let e=0;e<O&&(m=Math.abs(c)>o,m||(b=Math.abs(d-p)<=t,!b));++e){u&&(g=p==d||p>d==f,g&&(c=-c*l,p=d));c+=(1e-6*-i.tension*(p-d)+.001*-i.friction*c)/i.mass*h,p+=c*h}}else{let r=1;i.duration>0&&(this._memoizedDuration!==i.duration&&(this._memoizedDuration=i.duration,s.durationProgress>0&&(s.elapsedTime=i.duration*s.durationProgress,t=s.elapsedTime+=e)),r=(i.progress||0)+t/this._memoizedDuration,r=r>1?1:r<0?0:r,s.durationProgress=r),p=n+i.easing(r)*(d-n),c=(p-s.lastPosition)/e,b=1==r}s.lastVelocity=c,Number.isNaN(p)&&(console.warn("Got NaN while animating:",this),b=!0)}l&&!l[u].done&&(b=!1),b?s.done=!0:t=!1,s.setValue(p,i.round)&&(n=!0)});const s=Object(a.e)(this),u=s.getValue();if(t){const e=Object(r.q)(o.to);u===e&&!n||i.decay?n&&i.decay&&this._onChange(u):(s.setValue(e),this._onChange(e)),this._stop()}else n&&this._onChange(u)}set(e){return r.w.batchedUpdates(()=>{this._stop(),this._focus(e),this._set(e)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(G(this)){const{to:e,config:t}=this.animation;r.w.batchedUpdates(()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()})}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let n;return r.s.und(e)?(n=this.queue||[],this.queue=[]):n=[r.s.obj(e)?e:i({},t,{to:e})],Promise.all(n.map(e=>this._update(e))).then(e=>R(this,e))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),D(this._state,e&&this._lastCallId),r.w.batchedUpdates(()=>this._stop(t,e)),this}reset(){this._update({reset:!0})}eventObserved(e){"change"==e.type?this._start():"priority"==e.type&&(this.priority=e.priority+1)}_prepareNode(e){const t=this.key||"";let{to:n,from:o}=e;n=r.s.obj(n)?n[t]:n,(null==n||O(n))&&(n=void 0),o=r.s.obj(o)?o[t]:o,null==o&&(o=void 0);const i={to:n,from:o};return U(this)||(e.reverse&&([n,o]=[o,n]),o=Object(r.q)(o),r.s.und(o)?Object(a.e)(this)||this._set(n):this._set(o)),i}_update(e,t){let n=i({},e);const{key:o,defaultProps:a}=this;n.default&&Object.assign(a,b(n,(e,t)=>/^on/.test(t)?s(e,o):e)),te(this,n,"onProps"),ne(this,"onProps",n,this);const c=this._prepareNode(n);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const l=this._state;return I(++this._lastCallId,{key:o,props:n,defaultProps:a,state:l,actions:{pause:()=>{$(this)||(Q(this,!0),Object(r.n)(l.pauseQueue),ne(this,"onPause",B(this,K(this,this.animation.to)),this))},resume:()=>{$(this)&&(Q(this,!1),G(this)&&this._resume(),Object(r.n)(l.resumeQueue),ne(this,"onResume",B(this,K(this,this.animation.to)),this))},start:this._merge.bind(this,c)}}).then(e=>{if(n.loop&&e.finished&&(!t||!e.noop)){const e=J(n);if(e)return this._update(e,!0)}return e})}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(M(this));const o=!r.s.und(e.to),s=!r.s.und(e.from);if(o||s){if(!(t.callId>this._lastToId))return n(M(this));this._lastToId=t.callId}const{key:u,defaultProps:d,animation:b}=this,{to:p,from:f}=b;let{to:m=p,from:h=f}=e;!s||o||t.default&&!r.s.und(m)||(m=h),t.reverse&&([m,h]=[h,m]);const v=!Object(r.u)(h,f);v&&(b.from=h),h=Object(r.q)(h);const j=!Object(r.u)(m,p);j&&this._focus(m);const y=O(t.to),{config:_}=b,{decay:w,velocity:k}=_;(o||s)&&(_.velocity=0),t.config&&!y&&function(e,t,n){n&&(C(n=i({},n),t),t=i({},n,t)),C(e,t),Object.assign(e,t);for(const t in P)null==e[t]&&(e[t]=P[t]);let{mass:o,frequency:a,damping:c}=e;r.s.und(a)||(a<.01&&(a=.01),c<0&&(c=0),e.tension=Math.pow(2*Math.PI/a,2)*o,e.friction=4*Math.PI*c*o/a)}(_,c(t.config,u),t.config!==d.config?c(d.config,u):void 0);let E=Object(a.e)(this);if(!E||r.s.und(m))return n(B(this,!0));const S=r.s.und(t.reset)?s&&!t.default:!r.s.und(h)&&l(t.reset,u),x=S?h:this.get(),A=g(m),I=r.s.num(A)||r.s.arr(A)||Object(r.t)(A),R=!y&&(!I||l(d.immediate||t.immediate,u));if(j){const e=Object(a.f)(m);if(e!==E.constructor){if(!R)throw Error(`Cannot animate between ${E.constructor.name} and ${e.name}, as the "to" prop suggests`);E=this._set(A)}}const D=E.constructor;let N=Object(r.r)(m),z=!1;if(!N){const e=S||!U(this)&&v;(j||e)&&(z=Object(r.u)(g(x),A),N=!z),(Object(r.u)(b.immediate,R)||R)&&Object(r.u)(_.decay,w)&&Object(r.u)(_.velocity,k)||(N=!0)}if(z&&G(this)&&(b.changed&&!S?N=!0:N||this._stop(p)),!y&&((N||Object(r.r)(p))&&(b.values=E.getPayload(),b.toValues=Object(r.r)(m)?null:D==a.b?[1]:Object(r.y)(A)),b.immediate!=R&&(b.immediate=R,R||S||this._set(p)),N)){const{onRest:e}=b;Object(r.k)(ee,e=>te(this,t,e));const o=B(this,K(this,p));Object(r.n)(this._pendingCalls,o),this._pendingCalls.add(n),b.changed&&r.w.batchedUpdates(()=>{b.changed=!S,null==e||e(o,this),S?c(d.onRest,o):null==b.onStart||b.onStart(o,this)})}S&&this._set(x),y?n(F(t.to,t,this._state,this)):N?this._start():G(this)&&!j?this._pendingCalls.add(n):n(T(x))}_focus(e){const t=this.animation;e!==t.to&&(Object(r.p)(this)&&this._detach(),t.to=e,Object(r.p)(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;Object(r.r)(t)&&(Object(r.c)(t,this),L(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;Object(r.r)(e)&&Object(r.x)(e,this)}_set(e,t=!0){const n=Object(r.q)(e);if(!r.s.und(n)){const e=Object(a.e)(this);if(!e||!Object(r.u)(n,e.getValue())){const o=Object(a.f)(n);e&&e.constructor==o?e.setValue(n):Object(a.h)(this,o.create(n)),e&&r.w.batchedUpdates(()=>{this._onChange(n,t)})}}return Object(a.e)(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,ne(this,"onStart",B(this,K(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),c(this.animation.onChange,e,this)),c(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;Object(a.e)(this).reset(Object(r.q)(e.to)),e.immediate||(e.fromValues=e.values.map(e=>e.lastPosition)),G(this)||(W(this,!0),$(this)||this._resume())}_resume(){r.b.skipAnimation?this.finish():r.o.start(this)}_stop(e,t){if(G(this)){W(this,!1);const n=this.animation;Object(r.k)(n.values,e=>{e.done=!0}),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),Object(r.d)(this,{type:"idle",parent:this});const o=t?M(this.get()):B(this.get(),K(this,null!=e?e:n.to));Object(r.n)(this._pendingCalls,o),n.changed&&(n.changed=!1,ne(this,"onRest",o,this))}}}function K(e,t){const n=g(t),o=g(e.get());return Object(r.u)(o,n)}function J(e,t=e.loop,n=e.to){let r=c(t);if(r){const o=!0!==r&&m(r),a=(o||e).reverse,c=!o||o.reset;return X(i({},e,{loop:t,default:!1,pause:void 0,to:!a||O(n)?n:void 0,from:c?e.from:void 0,reset:c},o))}}function X(e){const{to:t,from:n}=e=m(e),o=new Set;return r.s.obj(t)&&Y(t,o),r.s.obj(n)&&Y(n,o),e.keys=o.size?Array.from(o):null,e}function Y(e,t){Object(r.l)(e,(e,n)=>null!=e&&t.add(n))}const ee=["onStart","onRest","onChange","onPause","onResume"];function te(e,t,n){e.animation[n]=t[n]!==u(t,n)?s(t[n],e.key):void 0}function ne(e,t,...n){var r,o,a,i;null==(r=(o=e.animation)[t])||r.call(o,...n),null==(a=(i=e.defaultProps)[t])||a.call(i,...n)}const re=["onStart","onChange","onRest"];let oe=1;class ae{constructor(e,t){this.id=oe++,this.springs={},this.queue=[],this.ref=void 0,this._flush=void 0,this._initialProps=void 0,this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._item=void 0,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start(i({default:!0},e))}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(e=>e.idle&&!e.isDelayed&&!e.isPaused)}get item(){return this._item}set item(e){this._item=e}get(){const e={};return this.each((t,n)=>e[n]=t.get()),e}set(e){for(const t in e){const n=e[t];r.s.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(X(e)),this}start(e){let{queue:t}=this;return e?t=Object(r.y)(e).map(X):this.queue=[],this._flush?this._flush(this,t):(de(this,t),ie(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;Object(r.k)(Object(r.y)(t),t=>n[t].stop(!!e))}else D(this._state,this._lastAsyncId),this.each(t=>t.stop(!!e));return this}pause(e){if(r.s.und(e))this.start({pause:!0});else{const t=this.springs;Object(r.k)(Object(r.y)(e),e=>t[e].pause())}return this}resume(e){if(r.s.und(e))this.start({pause:!1});else{const t=this.springs;Object(r.k)(Object(r.y)(e),e=>t[e].resume())}return this}each(e){Object(r.l)(this.springs,e)}_onFrame(){const{onStart:e,onChange:t,onRest:n}=this._events,o=this._active.size>0,a=this._changed.size>0;(o&&!this._started||a&&!this._started)&&(this._started=!0,Object(r.m)(e,([e,t])=>{t.value=this.get(),e(t,this,this._item)}));const i=!o&&this._started,c=a||i&&n.size?this.get():null;a&&t.size&&Object(r.m)(t,([e,t])=>{t.value=c,e(t,this,this._item)}),i&&(this._started=!1,Object(r.m)(n,([e,t])=>{t.value=c,e(t,this,this._item)}))}eventObserved(e){if("change"==e.type)this._changed.add(e.parent),e.idle||this._active.add(e.parent);else{if("idle"!=e.type)return;this._active.delete(e.parent)}r.w.onFrame(this._onFrame)}}function ie(e,t){return Promise.all(t.map(t=>async function e(t,n,o){const{keys:a,to:i,from:c,loop:l,onRest:s,onResolve:d}=n,b=r.s.obj(n.default)&&n.default;l&&(n.loop=!1);!1===i&&(n.to=null);!1===c&&(n.from=null);const p=r.s.arr(i)||r.s.fun(i)?i:void 0;p?(n.to=void 0,n.onRest=void 0,b&&(b.onRest=void 0)):Object(r.k)(re,e=>{const o=n[e];if(r.s.fun(o)){const r=t._events[e];n[e]=({finished:e,cancelled:t})=>{const n=r.get(o);n?(e||(n.finished=!1),t&&(n.cancelled=!0)):r.set(o,{value:null,finished:e||!1,cancelled:t||!1})},b&&(b[e]=n[e])}});const f=t._state;n.pause===!f.paused?(f.paused=n.pause,Object(r.n)(n.pause?f.pauseQueue:f.resumeQueue)):f.paused&&(n.pause=!0);const m=(a||Object.keys(t.springs)).map(e=>t.springs[e].start(n)),g=!0===n.cancel||!0===u(n,"cancel");(p||g&&f.asyncId)&&m.push(I(++t._lastAsyncId,{props:n,state:f,actions:{pause:r.v,resume:r.v,start(e,n){g?(D(f,t._lastAsyncId),n(M(t))):(e.onRest=s,n(F(p,e,f,t)))}}}));f.paused&&await new Promise(e=>{f.resumeQueue.add(e)});const h=R(t,await Promise.all(m));if(l&&h.finished&&(!o||!h.noop)){const r=J(n,l,i);if(r)return de(t,[r]),e(t,r,!0)}d&&r.w.batchedUpdates(()=>d(h,t,t.item));return h}(e,t))).then(t=>R(e,t))}function ce(e,t){const n=i({},e.springs);return t&&Object(r.k)(Object(r.y)(t),e=>{r.s.und(e.keys)&&(e=X(e)),r.s.obj(e.to)||(e=i({},e,{to:void 0})),ue(n,e,e=>se(e))}),le(e,n),n}function le(e,t){Object(r.l)(t,(t,n)=>{e.springs[n]||(e.springs[n]=t,Object(r.c)(t,e))})}function se(e,t){const n=new Z;return n.key=e,t&&Object(r.c)(n,t),n}function ue(e,t,n){t.keys&&Object(r.k)(t.keys,r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)})}function de(e,t){Object(r.k)(t,t=>{ue(e.springs,t,t=>se(t,e))})}function be(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}const pe=["children"],fe=e=>{let{children:t}=e,n=be(e,pe);const a=Object(o.useContext)(me),i=n.pause||!!a.pause,c=n.immediate||!!a.immediate;n=Object(r.B)(()=>({pause:i,immediate:c}),[i,c]);const{Provider:l}=me;return o.createElement(l,{value:n},t)},me=(ge=fe,he={},Object.assign(ge,o.createContext(he)),ge.Provider._context=ge,ge.Consumer._context=ge,ge);var ge,he;fe.Provider=me.Provider,fe.Consumer=me.Consumer;const Oe=()=>{const e=[],t=function(t){Object(r.i)();const o=[];return Object(r.k)(e,(e,a)=>{if(r.s.und(t))o.push(e.start());else{const r=n(t,e,a);r&&o.push(e.start(r))}}),o};t.current=e,t.add=function(t){e.includes(t)||e.push(t)},t.delete=function(t){const n=e.indexOf(t);~n&&e.splice(n,1)},t.pause=function(){return Object(r.k)(e,e=>e.pause(...arguments)),this},t.resume=function(){return Object(r.k)(e,e=>e.resume(...arguments)),this},t.set=function(t){Object(r.k)(e,e=>e.set(t))},t.start=function(t){const n=[];return Object(r.k)(e,(e,o)=>{if(r.s.und(t))n.push(e.start());else{const r=this._getProps(t,e,o);r&&n.push(e.start(r))}}),n},t.stop=function(){return Object(r.k)(e,e=>e.stop(...arguments)),this},t.update=function(t){return Object(r.k)(e,(e,n)=>e.update(this._getProps(t,e,n))),this};const n=function(e,t,n){return r.s.fun(e)?e(n,t):e};return t._getProps=n,t};let ve;function je(e,t,n){const a=r.s.fun(t)&&t,{reset:l,sort:s,trail:u=0,expires:d=!0,exitBeforeEnter:p=!1,onDestroyed:f,ref:g,config:O}=a?a():t,y=Object(o.useMemo)(()=>a||3==arguments.length?Oe():void 0,[]),_=Object(r.y)(e),w=[],k=Object(o.useRef)(null),E=l?null:k.current;Object(r.A)(()=>{k.current=w}),Object(r.C)(()=>()=>{Object(r.k)(k.current,e=>{e.expired&&clearTimeout(e.expirationId),v(e.ctrl,y),e.ctrl.stop(!0)})});const P=_e(_,a?a():t,E),S=l&&k.current||[];Object(r.A)(()=>Object(r.k)(S,({ctrl:e,item:t,key:n})=>{v(e,y),c(f,t,n)}));const C=[];if(E&&Object(r.k)(E,(e,t)=>{e.expired?(clearTimeout(e.expirationId),S.push(e)):~(t=C[t]=P.indexOf(e.key))&&(w[t]=e)}),Object(r.k)(_,(e,t)=>{w[t]||(w[t]={key:P[t],item:e,phase:ve.MOUNT,ctrl:new ae},w[t].ctrl.item=e)}),C.length){let e=-1;const{leave:n}=a?a():t;Object(r.k)(C,(t,r)=>{const o=E[r];~t?(e=w.indexOf(o),w[e]=i({},o,{item:_[t]})):n&&w.splice(++e,0,o)})}r.s.fun(s)&&w.sort((e,t)=>s(e.item,t.item));let x=-u;const A=Object(r.z)(),I=b(t),R=new Map,T=Object(o.useRef)(new Map),B=Object(o.useRef)(!1);Object(r.k)(w,(e,n)=>{const o=e.key,l=e.phase,s=a?a():t;let b,f,h=c(s.delay||0,o);if(l==ve.MOUNT)b=s.enter,f=ve.ENTER;else{const e=P.indexOf(o)<0;if(l!=ve.LEAVE)if(e)b=s.leave,f=ve.LEAVE;else{if(!(b=s.update))return;f=ve.UPDATE}else{if(e)return;b=s.enter,f=ve.ENTER}}if(b=c(b,e.item,n),b=r.s.obj(b)?m(b):{to:b},!b.config){const t=O||I.config;b.config=c(t,e.item,n,f)}x+=u;const v=i({},I,{delay:h+x,ref:g,immediate:s.immediate,reset:!1},b);if(f==ve.ENTER&&r.s.und(v.from)){const o=a?a():t,i=r.s.und(o.initial)||E?o.from:o.initial;v.from=c(i,e.item,n)}const{onResolve:j}=v;v.onResolve=e=>{c(j,e);const t=k.current,n=t.find(e=>e.key===o);if(n&&(!e.cancelled||n.phase==ve.UPDATE)&&n.ctrl.idle){const e=t.every(e=>e.ctrl.idle);if(n.phase==ve.LEAVE){const t=c(d,n.item);if(!1!==t){const r=!0===t?0:t;if(n.expired=!0,!e&&r>0)return void(r<=2147483647&&(n.expirationId=setTimeout(A,r)))}}e&&t.some(e=>e.expired)&&(T.current.delete(n),p&&(B.current=!0),A())}};const y=ce(e.ctrl,v);f===ve.LEAVE&&p?T.current.set(e,{phase:f,springs:y,payload:v}):R.set(e,{phase:f,springs:y,payload:v})});const M=Object(o.useContext)(fe),F=Object(r.D)(M),D=M!==F&&h(M);Object(r.A)(()=>{D&&Object(r.k)(w,e=>{e.ctrl.start({default:M})})},[M]),Object(r.k)(R,(e,t)=>{if(T.current.size){const e=w.findIndex(e=>e.key===t.key);w.splice(e,1)}}),Object(r.A)(()=>{Object(r.k)(T.current.size?T.current:R,({phase:e,payload:t},n)=>{const{ctrl:r}=n;n.phase=e,null==y||y.add(r),D&&e==ve.ENTER&&r.start({default:M}),t&&(j(r,t.ref),r.ref&&!B.current?r.update(t):(r.start(t),B.current&&(B.current=!1)))})},l?void 0:n);const N=e=>o.createElement(o.Fragment,null,w.map((t,n)=>{const{springs:a}=R.get(t)||t.ctrl,c=e(i({},a),t.item,t,n);return c&&c.type?o.createElement(c.type,i({},c.props,{key:r.s.str(t.key)||r.s.num(t.key)?t.key:t.ctrl.id,ref:c.ref})):c}));return y?[N,y]:N}!function(e){e.MOUNT="mount",e.ENTER="enter",e.UPDATE="update",e.LEAVE="leave"}(ve||(ve={}));let ye=1;function _e(e,{key:t,keys:n=t},o){if(null===n){const t=new Set;return e.map(e=>{const n=o&&o.find(n=>n.item===e&&n.phase!==ve.LEAVE&&!t.has(n));return n?(t.add(n),n.key):ye++})}return r.s.und(n)?e:r.s.fun(n)?e.map(n):Object(r.y)(n)}class we extends q{constructor(e,t){super(),this.key=void 0,this.idle=!0,this.calc=void 0,this._active=new Set,this.source=e,this.calc=Object(r.f)(...t);const n=this._get(),o=Object(a.f)(n);Object(a.h)(this,o.create(n))}advance(e){const t=this._get(),n=this.get();Object(r.u)(t,n)||(Object(a.e)(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&Ee(this._active)&&Pe(this)}_get(){const e=r.s.arr(this.source)?this.source.map(r.q):Object(r.y)(Object(r.q)(this.source));return this.calc(...e)}_start(){this.idle&&!Ee(this._active)&&(this.idle=!1,Object(r.k)(Object(a.g)(this),e=>{e.done=!1}),r.b.skipAnimation?(r.w.batchedUpdates(()=>this.advance()),Pe(this)):r.o.start(this))}_attach(){let e=1;Object(r.k)(Object(r.y)(this.source),t=>{Object(r.r)(t)&&Object(r.c)(t,this),L(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))}),this.priority=e,this._start()}_detach(){Object(r.k)(Object(r.y)(this.source),e=>{Object(r.r)(e)&&Object(r.x)(e,this)}),this._active.clear(),Pe(this)}eventObserved(e){"change"==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):"idle"==e.type?this._active.delete(e.parent):"priority"==e.type&&(this.priority=Object(r.y)(this.source).reduce((e,t)=>Math.max(e,(L(t)?t.priority:0)+1),0))}}function ke(e){return!1!==e.idle}function Ee(e){return!e.size||Array.from(e).every(ke)}function Pe(e){e.idle||(e.idle=!0,Object(r.k)(Object(a.g)(e),e=>{e.done=!0}),Object(r.d)(e,{type:"idle",parent:e}))}r.b.assign({createStringInterpolator:r.g,to:(e,t)=>new we(e,t)});r.o.advance},,function(e,t){e.exports=window.wp.dom},function(e,t){e.exports=window.wp.date},function(e,t,n){e.exports=function(){"use strict";function e(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}return function t(n,r){function o(t,o,a){if("undefined"!=typeof document){"number"==typeof(a=e({},r,a)).expires&&(a.expires=new Date(Date.now()+864e5*a.expires)),a.expires&&(a.expires=a.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var c in a)a[c]&&(i+="; "+c,!0!==a[c]&&(i+="="+a[c].split(";")[0]));return document.cookie=t+"="+n.write(o,t)+i}}return Object.create({set:o,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],r={},o=0;o<t.length;o++){var a=t[o].split("="),i=a.slice(1).join("=");try{var c=decodeURIComponent(a[0]);if(r[c]=n.read(i,c),e===c)break}catch(e){}}return e?r[e]:r}},remove:function(t,n){o(t,"",e({},n,{expires:-1}))},withAttributes:function(n){return t(this.converter,e({},this.attributes,n))},withConverter:function(n){return t(e({},this.converter,n),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(n)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})}()},,function(e,t,n){"use strict";n.d(t,"animated",(function(){return w}));var r=n(36);n.o(r,"useTransition")&&n.d(t,"useTransition",(function(){return r.useTransition}));var o=n(48),a=n(2),i=n(19);function c(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}const l=["style","children","scrollTop","scrollLeft"],s=/^--/;function u(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||s.test(e)||b.hasOwnProperty(e)&&b[e]?(""+t).trim():t+"px"}const d={};let b={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};const p=["Webkit","Ms","Moz","O"];b=Object.keys(b).reduce((e,t)=>(p.forEach(n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t]),e),b);const f=["x","y","z"],m=/^(matrix|translate|scale|rotate|skew)/,g=/^(translate)/,h=/^(rotate|skew)/,O=(e,t)=>a.s.num(e)&&0!==e?e+t:e,v=(e,t)=>a.s.arr(e)?e.every(e=>v(e,t)):a.s.num(e)?e===t:parseFloat(e)===t;class j extends i.a{constructor(e){let{x:t,y:n,z:r}=e,o=c(e,f);const i=[],l=[];(t||n||r)&&(i.push([t||0,n||0,r||0]),l.push(e=>[`translate3d(${e.map(e=>O(e,"px")).join(",")})`,v(e,0)])),Object(a.l)(o,(e,t)=>{if("transform"===t)i.push([e||""]),l.push(e=>[e,""===e]);else if(m.test(t)){if(delete o[t],a.s.und(e))return;const n=g.test(t)?"px":h.test(t)?"deg":"";i.push(Object(a.y)(e)),l.push("rotate3d"===t?([e,t,r,o])=>[`rotate3d(${e},${t},${r},${O(o,n)})`,v(o,0)]:e=>[`${t}(${e.map(e=>O(e,n)).join(",")})`,v(e,t.startsWith("scale")?1:0)])}}),i.length&&(o.transform=new y(i,l)),super(o)}}class y extends a.a{constructor(e,t){super(),this._value=null,this.inputs=e,this.transforms=t}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return Object(a.k)(this.inputs,(n,r)=>{const o=Object(a.q)(n[0]),[i,c]=this.transforms[r](a.s.arr(o)?o:n.map(a.q));e+=" "+i,t=t&&c}),t?"none":e}observerAdded(e){1==e&&Object(a.k)(this.inputs,e=>Object(a.k)(e,e=>Object(a.r)(e)&&Object(a.c)(e,this)))}observerRemoved(e){0==e&&Object(a.k)(this.inputs,e=>Object(a.k)(e,e=>Object(a.r)(e)&&Object(a.x)(e,this)))}eventObserved(e){"change"==e.type&&(this._value=null),Object(a.d)(this,e)}}const _=["scrollTop","scrollLeft"];r.Globals.assign({batchedUpdates:o.unstable_batchedUpdates,createStringInterpolator:a.g,colors:a.e});const w=Object(i.d)(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,r=t,{style:o,children:a,scrollTop:i,scrollLeft:b}=r,p=c(r,l),f=Object.values(p),m=Object.keys(p).map(t=>n||e.hasAttribute(t)?t:d[t]||(d[t]=t.replace(/([A-Z])/g,e=>"-"+e.toLowerCase())));void 0!==a&&(e.textContent=a);for(let t in o)if(o.hasOwnProperty(t)){const n=u(t,o[t]);s.test(t)?e.style.setProperty(t,n):e.style[t]=n}m.forEach((t,n)=>{e.setAttribute(t,f[n])}),void 0!==i&&(e.scrollTop=i),void 0!==b&&(e.scrollLeft=b)},createAnimatedStyle:e=>new j(e),getComponentProps:e=>c(e,_)}).animated},function(e,t){},function(e,t){},,function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=n=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=window.wp.viewport},function(e,t){e.exports=window.ReactDOM},function(e,t,n){"use strict";
    77/*!
    88 * content-type
    99 * Copyright(c) 2015 Douglas Christopher Wilson
    1010 * MIT Licensed
    11  */var r=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,o=/^[\u000b\u0020-\u007e\u0080-\u00ff]+$/,a=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/,i=/\\([\u000b\u0020-\u00ff])/g,c=/([\\"])/g,l=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;function s(e){var t=String(e);if(a.test(t))return t;if(t.length>0&&!o.test(t))throw new TypeError("invalid parameter value");return'"'+t.replace(c,"\\$1")+'"'}function u(e){this.parameters=Object.create(null),this.type=e}t.format=function(e){if(!e||"object"!=typeof e)throw new TypeError("argument obj is required");var t=e.parameters,n=e.type;if(!n||!l.test(n))throw new TypeError("invalid type");var r=n;if(t&&"object"==typeof t)for(var o,i=Object.keys(t).sort(),c=0;c<i.length;c++){if(o=i[c],!a.test(o))throw new TypeError("invalid parameter name");r+="; "+o+"="+s(t[o])}return r},t.parse=function(e){if(!e)throw new TypeError("argument string is required");var t="object"==typeof e?function(e){var t;"function"==typeof e.getHeader?t=e.getHeader("content-type"):"object"==typeof e.headers&&(t=e.headers&&e.headers["content-type"]);if("string"!=typeof t)throw new TypeError("content-type header is missing from object");return t}(e):e;if("string"!=typeof t)throw new TypeError("argument string is required to be a string");var n=t.indexOf(";"),o=-1!==n?t.substr(0,n).trim():t.trim();if(!l.test(o))throw new TypeError("invalid media type");var a=new u(o.toLowerCase());if(-1!==n){var c,s,d;for(r.lastIndex=n;s=r.exec(t);){if(s.index!==n)throw new TypeError("invalid parameter format");n+=s[0].length,c=s[1].toLowerCase(),'"'===(d=s[2])[0]&&(d=d.substr(1,d.length-2).replace(i,"$1")),a.parameters[c]=d}if(n!==t.length)throw new TypeError("invalid parameter format")}return a}},,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t),n.d(t,"AutocompleteTokenField",(function(){return g})),n.d(t,"BlockVerticalAlignmentToolbar",(function(){return R})),n.d(t,"CardFieldsPreview",(function(){return M})),n.d(t,"ControlsGroup",(function(){return F})),n.d(t,"ColorPicker",(function(){return W})),n.d(t,"DuotonePicker",(function(){return Q})),n.d(t,"FontSizePicker",(function(){return J})),n.d(t,"HeadingLevelIcon",(function(){return X})),n.d(t,"HeadingToolbar",(function(){return ee})),n.d(t,"ImageSelectControl",(function(){return ne})),n.d(t,"InnerBlocksPreview",(function(){return oe})),n.d(t,"Notice",(function(){return ce})),n.d(t,"ParametricGrid",(function(){return se})),n.d(t,"PresetControl",(function(){return be})),n.d(t,"SignalControl",(function(){return et})),n.d(t,"TextPlaceholder",(function(){return tt})),n.d(t,"ToggleGroup",(function(){return rt})),n.d(t,"VariationPicker",(function(){return at})),n.d(t,"withVisibility",(function(){return it})),n.d(t,"insertTemplate",(function(){return ct})),n.d(t,"getPlaceholderImages",(function(){return rn})),n.d(t,"normalizeImages",(function(){return cn})),n.d(t,"PostCardMedia",(function(){return On})),n.d(t,"PostCardLetter",(function(){return vn})),n.d(t,"PostCard",(function(){return jn})),n.d(t,"CardButton",(function(){return yn})),n.d(t,"CardTitle",(function(){return wn})),n.d(t,"CardSubtitle",(function(){return kn})),n.d(t,"CardMeta",(function(){return En})),n.d(t,"CardDescription",(function(){return Pn})),n.d(t,"CardFooter",(function(){return Sn})),n.d(t,"Card",(function(){return Cn})),n.d(t,"CardContentWrapper",(function(){return xn})),n.d(t,"CardMediaWrapper",(function(){return An})),n.d(t,"getSvg",(function(){return j})),n.d(t,"getIconSvg",(function(){return y})),n.d(t,"ControlsDrawerContent",(function(){return Qn})),n.d(t,"ControlsSection",(function(){return Wn})),n.d(t,"ControlsSections",(function(){return Gn})),n.d(t,"ControlsTab",(function(){return $n})),n.d(t,"Drawer",(function(){return rr})),n.d(t,"Drawers",(function(){return Zn})),n.d(t,"DrawerList",(function(){return Yn})),n.d(t,"DrawerPanel",(function(){return er})),n.d(t,"DrawerListBefore",(function(){return tr})),n.d(t,"DrawerListAfter",(function(){return nr})),n.d(t,"GalleryPreview",(function(){return cr})),n.d(t,"GalleryPlaceholder",(function(){return ir})),n.d(t,"useApiFetch",(function(){return ve})),n.d(t,"useAnimationFrame",(function(){return je})),n.d(t,"useBlockTopSpacingIsDisabled",(function(){return ye})),n.d(t,"useEffectDebugger",(function(){return Ee})),n.d(t,"useDidUpdateEffect",(function(){return Se})),n.d(t,"useInnerBlocks",(function(){return Ce})),n.d(t,"useInnerBlocksCount",(function(){return xe})),n.d(t,"useInnerBlocksLock",(function(){return Ae})),n.d(t,"useMemoryState",(function(){return Te})),n.d(t,"useMeta",(function(){return Fe})),n.d(t,"useOnScroll",(function(){return De})),n.d(t,"useResizeObserver",(function(){return Ne})),n.d(t,"useSupports",(function(){return ze})),n.d(t,"useSettings",(function(){return Le})),n.d(t,"useScrollContainer",(function(){return Ue})),n.d(t,"useScrollContainerBox",(function(){return Ge})),n.d(t,"useSelectParent",(function(){return $e})),n.d(t,"useTraceUpdate",(function(){return We})),n.d(t,"useVisibility",(function(){return Ze})),n.d(t,"useCustomDefaults",(function(){return Xe})),n.d(t,"setAttributesToInnerBlocks",(function(){return Ve})),n.d(t,"getEditorScrollContainer",(function(){return qe})),n.d(t,"getSupports",(function(){return He}));var r=n(18),o=n(21),a=n(22);function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i(e,t)}var l=n(46),s=n.n(l);function u(e,t){return!t||"object"!==s()(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=n(0),p=n(23),f=n(3);function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}var g=function(e){c(n,e);var t=m(n);function n(e){var r;return Object(o.a)(this,n),(r=t.call(this,e)).state={suggestions:[],validValues:{},loading:r.isFetchingInfoOnLoad()},r.debouncedUpdateSuggestions=Object(p.debounce)(r.updateSuggestions,500),r}return Object(a.a)(n,[{key:"isFetchingInfoOnLoad",value:function(){var e=this.props,t=e.tokens,n=e.fetchSavedInfo;return Boolean(t.length&&n)}},{key:"componentDidMount",value:function(){var e=this;if(this.isFetchingInfoOnLoad()){var t=this.props,n=t.tokens;(0,t.fetchSavedInfo)(n).then((function(t){var n=e.state.validValues;t.forEach((function(e){n[e.value]=e.label})),e.setState({validValues:n,loading:!1})}))}}},{key:"componentWillUnmount",value:function(){delete this.suggestionsRequest,this.debouncedUpdateSuggestions.cancel()}},{key:"getLabelsForValues",value:function(e){var t=this.state.validValues;return e.reduce((function(e,n){return t[n]?[].concat(Object(r.a)(e),[t[n]]):e}),[])}},{key:"getValuesForLabels",value:function(e){var t=this.state.validValues;return e.map((function(e){return Object.keys(t).find((function(n){return t[n]===e}))}))}},{key:"updateSuggestions",value:function(e){var t=this,n=this.props.fetchSuggestions;n&&this.setState({loading:!0},(function(){var r=n(e);r.then((function(e){if(t.suggestionsRequest===r){var n=t.state.validValues,o=[];e.forEach((function(e){o.push(e.label),n[e.value]=e.label})),t.setState({suggestions:o,validValues:n,loading:!1})}})).catch((function(){t.suggestionsRequest===r&&t.setState({loading:!1})})),t.suggestionsRequest=r}))}},{key:"handleOnChange",value:function(e){(0,this.props.onChange)(this.getValuesForLabels(e))}},{key:"getTokens",value:function(){var e=this.props.tokens;return this.getLabelsForValues(e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.help,r=t.label,o=void 0===r?"":r,a=this.state,i=a.suggestions,c=a.loading;return Object(b.createElement)("div",{className:"autocomplete-tokenfield"},Object(b.createElement)(f.FormTokenField,{value:this.getTokens(),suggestions:i,onChange:function(t){return e.handleOnChange(t)},onInputChange:function(t){return e.debouncedUpdateSuggestions(t)},label:o}),c&&Object(b.createElement)(f.Spinner,null),n&&Object(b.createElement)("p",{className:"autocomplete-tokenfield__help"},n))}}]),n}(b.Component),h=n(7),O=n(6),v=n(26),j=function(e){return null!=e&&e.viewBox&&null!=e&&e.id?Object(b.createElement)("svg",{className:"novablocks-icon",viewBox:e.viewBox},Object(b.createElement)("use",{className:"novablocks-icon-symbol",xlinkHref:"#".concat(e.id)})):""},y=function(e){var t=v.library[e];return j(t)},_=n(1),w=n(47),k=n(10),E=n(9);function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var C=Object(b.createContext)({name:"",isSelected:!1,focusedElement:null,setFocusedElement:function(){},clientId:null}).Consumer,x={top:{icon:y("alignTop"),title:Object(_.__)("Align Top","nova-blocks")},center:{icon:y("alignCenter"),title:Object(_.__)("Align Center","nova-blocks")},bottom:{icon:y("alignBottom"),title:Object(_.__)("Align Bottom","nova-blocks")}},A=["top","center","bottom"];var I,T,R=Object(E.compose)((I=function(e){return{clientId:e.clientId}},Object(E.createHigherOrderComponent)((function(e){return function(t){return Object(b.createElement)(C,null,(function(n){return Object(b.createElement)(e,Object(h.a)({},t,I(n,t)))}))}}),"withBlockEditContext")),Object(w.withViewportMatch)({isLargeViewport:"medium"}),Object(k.withSelect)((function(e,t){var n=t.clientId,r=t.isLargeViewport,o=t.isCollapsed,a=e("core/block-editor"),i=a.getBlockRootClientId,c=a.getSettings;return{isCollapsed:o||!r||!c().hasFixedToolbar&&i(n)}})))((function(e){var t=e.isCollapsed,n=e.value,r=e.onChange,o=e.controls,a=void 0===o?A:o,i=x[n],c=x.top;return Object(b.createElement)(f.ToolbarGroup,{label:Object(_.__)("Vertical Alignment","nova-blocks"),iscollapsed:t,icon:i?i.icon:c.icon,controls:a.map((function(e){return S(S({},x[e]),{},{isActive:n===e,onClick:(t=e,function(){return r(n===t?void 0:t)})});var t}))})})),B=n(38),M=function(e){var t=e.attributes,n=t.metaAboveTitle,r=t.title,o=t.subtitle,a=t.metaBelowTitle,i=t.description,c=t.showMeta,l=t.showTitle,s=t.showSubtitle,u=t.showDescription,d=t.buttonText,p=t.showButtons;return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(En,Object(h.a)({},e,{show:c}),n),Object(b.createElement)(wn,Object(h.a)({},e,{show:l}),r),Object(b.createElement)(kn,Object(h.a)({},e,{show:s}),o),Object(b.createElement)(En,Object(h.a)({},e,{show:c}),a),Object(b.createElement)(Pn,Object(h.a)({},e,{show:u}),Object(B.__unstableStripHTML)(i)),Object(b.createElement)(Sn,Object(h.a)({},e,{show:p&&!!d}),Object(b.createElement)(yn,e,d)))},F=function(e){var t="novablocks-controls-group",n=b.Children.toArray(e.children);return e.className&&(t="".concat(t," ").concat(e.className)),n.length?Object(b.createElement)("div",{className:t},!!e.title&&Object(b.createElement)("div",{className:"novablocks-controls-group__title"},e.title),e.children):null},D=n(11),N=n.n(D),z=new Uint8Array(16);function L(){if(!T&&!(T="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return T(z)}var V=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var q=function(e){return"string"==typeof e&&V.test(e)},H=[],U=0;U<256;++U)H.push((U+256).toString(16).substr(1));var G=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(H[e[t+0]]+H[e[t+1]]+H[e[t+2]]+H[e[t+3]]+"-"+H[e[t+4]]+H[e[t+5]]+"-"+H[e[t+6]]+H[e[t+7]]+"-"+H[e[t+8]]+H[e[t+9]]+"-"+H[e[t+10]]+H[e[t+11]]+H[e[t+12]]+H[e[t+13]]+H[e[t+14]]+H[e[t+15]]).toLowerCase();if(!q(n))throw TypeError("Stringified UUID is invalid");return n};var $=function(e,t,n){var r=(e=e||{}).random||(e.rng||L)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=r[o];return t}return G(r)},W=function(e){var t=e.onChange,n=e.options,r=e.selected,o=e.favorite,a=o?"star":"tick";return Object(b.createElement)("div",{className:"components-base-control color-palette-picker"},Object(b.createElement)("div",{className:"color-palette-picker__palettes"},n.map((function(e,n){var i=e.value,c=(e.data,e.colors),l=$(),s="".concat(r)==="".concat(i),u=N()("color-palette-picker__color",{"color-palette-picker__color--favorite":s&&o});return Object(b.createElement)("button",{key:"color_palette_picker_palette_"+n,className:u,style:{color:c[0]},onClick:function(){t(i)}},Object(b.createElement)("svg",{className:"color-palette-picker__color-svg",width:"48",height:"48",viewBox:"0 0 48 48"},Object(b.createElement)("defs",null,Object(b.createElement)("linearGradient",{id:l,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},c.map((function(e,t,n){var r={stopColor:e,stopOpacity:1};return Object(b.createElement)(b.Fragment,{key:"color_palette_picker_palette_color_"+t},Object(b.createElement)("stop",{offset:"".concat(100*t/n.length,"%"),style:r}),Object(b.createElement)("stop",{offset:"".concat(100*(t+1)/n.length,"%"),style:r}))})))),Object(b.createElement)("circle",{className:"color-palette-picker__color-dash",stroke:"none",fill:"none",r:"20",cx:"24",cy:"24"}),Object(b.createElement)("circle",{className:"color-palette-picker__color-fill",fill:"url(#".concat(l,")"),r:"17",cx:"24",cy:"24"})),s&&Object(b.createElement)("div",{className:"color-palette-picker__tick",dangerouslySetInnerHTML:{__html:Object(v.getIcon)(a)}}))}))))},Q=function(e){var t=e.options;return Object(b.createElement)(W,Object(h.a)({label:"Duotones",options:t,onChange:function(e){},selected:1},e))},Z=[{value:"smallest",label:Object(_.__)("Smallest","nova-blocks")},{value:"smaller",label:Object(_.__)("Smaller","nova-blocks")},{value:"normal",label:Object(_.__)("Normal","nova-blocks")},{value:"larger",label:Object(_.__)("Larger","nova-blocks")},{value:"largest",label:Object(_.__)("Largest","nova-blocks")}],K=function(e){return Object(b.createElement)(f.SelectControl,Object(h.a)({label:Object(_.__)("Font Size","nova-blocks"),options:Z},e))};K.DEFAULT_FONT_SIZE="normal",K.FONT_SIZE_OPTIONS=Z;var J=K;function X(e){var t=e.level,n=e.isPressed,r=void 0!==n&&n,o={1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z"};return o.hasOwnProperty(t)?Object(b.createElement)(f.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:r},Object(b.createElement)(f.Path,{d:o[t]})):null}function Y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}var ee=function(e){c(n,e);var t=Y(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return Object(a.a)(n,[{key:"createLevelControl",value:function(e,t,n){var r=e===t;return{icon:Object(b.createElement)(X,{level:e,isPressed:r}),title:Object(_.sprintf)(Object(_.__)("Heading %d"),e),isActive:r,onClick:function(){return n(e)}}}},{key:"render",value:function(){var e=this,t=this.props,n=t.minLevel,r=t.maxLevel,o=t.selectedLevel,a=t.onChange;return Object(b.createElement)(f.ToolbarGroup,{icon:Object(b.createElement)(X,{level:o}),controls:Object(p.range)(n,r).map((function(t){return e.createLevelControl(t,o,a)}))})}}]),n}(b.Component),te=n(12),ne=function(e){var t=Object(b.useState)(a),n=Object(te.a)(t,2),r=(n[0],n[1]),o=e.options,a=e.selected,i="function"==typeof e.onChange?e.onChange:function(){};return Object(b.createElement)("div",{className:"components-base-control components-image-select-control"},o.map((function(e){return Object(b.createElement)("div",{key:e.slug,role:"button","aria-label":e.label,onClick:function(){r(e.slug),i(e.slug)},className:N()("components-image-select-control__option",{"components-image-select-control__option--selected":e.slug===a})},Object(b.createElement)("div",{className:"components-image-select-control__image"},Object(b.createElement)("img",{src:e.src,alt:e.label})),Object(b.createElement)("div",{className:"components-image-select-control__label"},e.label))})))},re=n(24),oe=function(e){var t=e.clientId;return Ce(t).map((function(e){var t,n=Object(re.getSaveElement)(e.name,e.attributes,e.innerBlocks);"core/buttons"===e.name&&Object.assign(n.props.style,{justifyContent:null===(t=e.attributes.layout)||void 0===t?void 0:t.justifyContent});return n}))},ae=n(40),ie=n.n(ae),ce=function(e){var t=e.id,n=e.content,r=e.dismissLabel,o=Object(b.useState)(ie.a.get(t)),a=Object(te.a)(o,2),i=a[0],c=a[1];return i?null:Object(b.createElement)("div",{className:"novablocks-notice"},n,void 0!==r&&Object(b.createElement)(f.Button,{isPrimary:!0,onClick:function(){ie.a.set(t,!0,{expires:365}),c(!0)}},r))},le=n(4),se=function(e){var t=e.attributes,n=e.getContent,r=e.cardsCount,o=e.className,a=Object(le.applyLayoutEngine)(t),i=0;return Object(le.redistributeCardsInAreas)(a,r,t),Object(b.createElement)("div",{className:o,style:Object(le.getGridStyle)(t),key:"parametric_grid"},!!a&&a.map((function(r,o){var a=r.areas,c=r.row,l=r.col,s={gridColumnStart:l,gridColumnEnd:l+r.width,gridRowStart:c,gridRowEnd:c+r.height};return Object(b.createElement)("div",{className:"nb-grid__column",style:s,key:"parametric_grid_column_"+o},a.map((function(r,a){return i+=r.postsCount,!!r.postsCount&&Object(b.createElement)("div",{className:Object(le.getParametricLayoutAreaClassName)(r,t),key:"parametric_grid_column_"+o+"_area_"+a},Array.from(Array(r.postsCount).keys()).map((function(o){var a=Object(le.isLandscape)(r,t);return n(i-r.postsCount+o,e,a)})))})))})))},ue=function(e,t){var n={},r=t.find((function(t){return e===t.value}));return r&&r.preset&&(n=Object.assign(r.preset,n)),n},de=function(e,t){var n=e.filter((function(e){var n=e.preset;return Object.keys(n).every((function(e){return n[e]===t[e]}))}));return n.length?n[0].value:null},be=function(e){var t=e.label,n=e.options,r=e.randomize,o=e.attributes,a=e.setAttributes,i=Object(b.useCallback)((function(){return"function"==typeof r?r():{}}),[r]),c=Object(b.useMemo)((function(){var e=Array.isArray(n)?n.slice():[];return void 0!==r&&e.push({label:"Just My Style™",value:"just-my-style",preset:{}}),e}),[n,r]),l=Object(b.useMemo)((function(){return de(c,o)}),[c,o]),s=Object(b.useCallback)((function(e){if("just-my-style"!==e){var t=ue(e,c);a(t)}else a(Object.assign({},i()))}),[c]);return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(f.RadioControl,{label:t,options:c.map((function(e){return{label:e.label,value:e.value}})),selected:l,onChange:s}),"just-my-style"===l&&Object(b.createElement)("div",{key:"advanced-gallery-surprise-control"},Object(b.createElement)(f.Button,{isPrimary:!0,onClick:function(){a(i())}},Object(_.__)("💡 Surprise me!","nova-blocks"))))};function pe(e,t,n,r,o,a,i){try{var c=e[a](i),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function fe(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){pe(a,r,o,i,c,"next",e)}function c(e){pe(a,r,o,i,c,"throw",e)}i(void 0)}))}}var me=n(28),ge=n.n(me),he=wp.apiFetch,Oe={},ve=function(e){var t=Object(b.useState)([]),n=Object(te.a)(t,2),r=n[0],o=n[1];return Object(b.useEffect)((function(){e&&function(){var t=fe(ge.a.mark((function t(){return ge.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(Oe[e]){t.next=4;break}return t.next=3,he({path:e});case 3:Oe[e]=t.sent;case 4:o(Oe[e]);case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()()}),[e]),{data:r}},je=function(e){var t=Object(b.useRef)(),n=Object(b.useRef)(),r=function r(o){if(n.current){var a=o-n.current;e(a)}n.current=o,t.current=requestAnimationFrame(r)};Object(b.useEffect)((function(){return t.current=requestAnimationFrame(r),function(){return cancelAnimationFrame(t.current)}}),[])},ye=function(e){var t=Object(k.useSelect)("core/block-editor"),n=t.getBlockParents,r=t.getBlock,o=t.getClientIdsWithDescendants,a=n(e).slice(),i=o();return Object(b.useMemo)((function(){if(a.length){var t=r(a[a.length-1]).innerBlocks;if(t.length&&t[0].clientId===e)return!0}return e===i[0]}),[e,i])};function _e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function we(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_e(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_e(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ke=function(e,t){var n=Object(b.useRef)(t);return Object(b.useEffect)((function(){n.current=e})),n.current},Ee=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=ke(t,[]),o=t.reduce((function(e,t,o){if(t!==r[o]){var a=n[o]||o;return we(we({},e),{},Object(O.a)({},a,{before:r[o],after:t}))}return e}),{});Object.keys(o).length&&console.log("[use-effect-debugger] ",o),Object(b.useEffect)(e,t)},Pe=n(15),Se=function(e,t){var n=Object(Pe.useRef)(!1);Object(Pe.useEffect)((function(){n.current?e():n.current=!0}),t)},Ce=function(e){return Object(k.useSelect)((function(t){var n;return(null===(n=t("core/block-editor").getBlock(e))||void 0===n?void 0:n.innerBlocks)||[]}),[e])},xe=function(e,t,n,r){var o=Object(k.useSelect)((function(t){return t("core/block-editor").getBlockCount(e)}),[e]),a=Object(k.useDispatch)("core/block-editor").replaceInnerBlocks,i=Ce(e);return Object(b.useEffect)((function(){var c=i.slice(0,t);if(t>o)for(var l=0;l<t-o;l++)c.push(Object(re.createBlock)(n,r));a(e,c)}),[t])},Ae=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=Object(k.useDispatch)("core/block-editor"),a=o.updateBlockAttributes,i=Ce(e);return Object(b.useEffect)((function(){i.forEach((function(e){r&&e.name!==r||a(e.clientId,{lock:t})}))}),[n])},Ie={},Te=function(e,t){var n=Object(b.useState)((function(){return Object.prototype.hasOwnProperty.call(Ie,e)?Ie[e]:"function"==typeof t?t():t})),r=Object(te.a)(n,2),o=r[0],a=r[1];return[o,function(t){Ie[e]=t,a(t)}]},Re=n(30);function Be(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Be(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Be(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Fe=function(e){var t=function(){},n=Object(k.useSelect)((function(e){var t;return null===(t=e("core/editor"))||void 0===t?void 0:t.getCurrentPostType()}),[]);if(!n)return[null,t];var r=Object(Re.useEntityProp)("postType",n,"meta"),o=Object(te.a)(r,2),a=o[0],i=o[1];return a?[a[e],Object(b.useCallback)((function(t){i(Me(Me({},a),{},Object(O.a)({},e,t)))}),[a])]:[null,t]},De=function(e,t){Object(b.useEffect)((function(){return e&&e.addEventListener("scroll",t),function(){e&&e.removeEventListener("scroll",t)}}),[e])},Ne=function(){var e=Object(b.useState)({}),t=Object(te.a)(e,2),n=t[0],r=t[1],o=Object(b.useState)(null),a=Object(te.a)(o,2),i=a[0],c=a[1],l=Object(b.useRef)(null),s=Object(b.useCallback)((function(){var e=l.current;e&&e.disconnect()}),[]),u=Object(b.useCallback)((function(){l.current=new window.ResizeObserver((function(e){var t=Object(te.a)(e,1)[0];return r(t)})),i&&l.current.observe(i)}),[i]);return Object(b.useLayoutEffect)((function(){return u(),function(){return s()}}),[s,u]),[c,n]},ze=function(e){return Object(k.useSelect)((function(t){return t("core/blocks").getBlockType(e).supports}),[e])},Le=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"novablocks",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return Object(k.useSelect)((function(t){return t(e).getSettings()}),t)},Ve=function(e,t){var n=Object(k.select)("core/block-editor").getBlock,r=Object(k.dispatch)("core/block-editor").updateBlockAttributes;n(e).innerBlocks.forEach((function(e){r(e.clientId,t)}))},qe=function(){return document.querySelector(".edit-post-layout__content")||document.querySelector(".edit-post-editor-regions__content")||document.querySelector(".block-editor-editor-skeleton__content")||document.querySelector(".interface-interface-skeleton__content")},He=function(e){return Object(k.select)("core/blocks").getBlockType(e).supports},Ue=function(){var e=Object(b.useState)(null),t=Object(te.a)(e,2),n=t[0],r=t[1];return Object(b.useEffect)((function(){r(qe())}),[]),n},Ge=function(e){var t=Object(b.useState)(null),n=Object(te.a)(t,2),r=n[0],o=n[1],a=Ne(),i=Object(te.a)(a,2),c=i[0],l=i[1],s=Object(b.useCallback)((function(){o(e.getBoundingClientRect())}),[e]);return Object(b.useEffect)((function(){e&&c(e)}),[e]),Object(b.useEffect)((function(){e&&o(e.getBoundingClientRect())}),[l]),Object(b.useEffect)((function(){return e&&e.addEventListener("scroll",s),function(){e&&e.removeEventListener("scroll",s)}}),[]),r},$e=function(e,t){var n=e.clientId,r=e.isSelected,o=Object(k.useDispatch)("core/block-editor"),a=o.selectBlock,i=o.clearSelectedBlock,c=Object(k.useSelect)((function(e){return e("core/block-editor").getBlockParents(n).slice()}),[n]);return Object(b.useEffect)((function(){r&&c.length&&(void 0===t||t)&&i().then((function(){a(c[c.length-1])}))}),[r,t])},We=function(e){var t=Object(b.useRef)(e);Object(b.useEffect)((function(){var n=Object.entries(e).reduce((function(e,n){var r=Object(te.a)(n,2),o=r[0],a=r[1];return t.current[o]!==a&&(e[o]=[t.current[o],a]),e}),{});Object.keys(n).length>0&&console.log("Changed props:",n),t.current=e}))},Qe=Object(b.createContext)("ControlsVisibility"),Ze=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Object(b.useContext)(Qe),r=n[e],o=void 0===r&&t;return!(!o&&!0!==r)};function Ke(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Je(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ke(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ke(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Xe=function(e,t,n){var r=t.defaultsGenerated,o=Object(k.useDispatch)("core/block-editor").updateBlockAttributes;return Object(b.useEffect)((function(){r||n(t).then((function(t){o(e,Je(Je({},t),{},{defaultsGenerated:!0}))}))}),[e,r])},Ye=["None","Low","Medium","High"],et=function(e){var t,n,r,o,a,i,c,l,s,u=e.label,d=e.signal,p=e.onChange||function(){},m=e.labels||Ye,g=ze(e.name),h=Math.min(null!==(t=null==g||null===(n=g.novaBlocks)||void 0===n||null===(r=n.colorSignal)||void 0===r?void 0:r.maxColorSignal)&&void 0!==t?t:3,null!==(o=null==e?void 0:e.max)&&void 0!==o?o:3),v=Math.max(null!==(a=null==g||null===(i=g.novaBlocks)||void 0===i||null===(c=i.colorSignal)||void 0===c?void 0:c.minColorSignal)&&void 0!==a?a:0,null!==(l=null==e?void 0:e.min)&&void 0!==l?l:0),j=m[d],y=N()("nb-signal-icon",(s={},Object(O.a)(s,"nb-signal-icon--none",0===d),Object(O.a)(s,"nb-signal-icon--low",1===d),Object(O.a)(s,"nb-signal-icon--medium",2===d),Object(O.a)(s,"nb-signal-icon--high",3===d),s));return Object(b.createElement)("div",{className:"components-base-control components-nb-signal-control"},Object(b.createElement)("div",{className:"components-base-control__field"},Object(b.createElement)("div",{className:"components-base-control__label"},u),Object(b.createElement)("div",{className:"components-nb-signal-control__root"},Object(b.createElement)("div",{className:"nb-signal"},Object(b.createElement)("div",{className:y},Object(b.createElement)("div",{className:"nb-signal-icon__bar"}),Object(b.createElement)("div",{className:"nb-signal-icon__bar"}),Object(b.createElement)("div",{className:"nb-signal-icon__bar"})),Object(b.createElement)("div",{className:"nb-signal__text"},Object(b.createElement)("div",{className:"nb-signal-icon-label"},"Level"),Object(b.createElement)("div",{className:"nb-signal__value-label"},j)),Object(b.createElement)("div",{className:"nb-signal__controls"},Object(b.createElement)(f.Button,{isSecondary:!0,disabled:d<=v,onClick:function(){p(d-1)}},Object(b.createElement)(f.Icon,{icon:"minus"})),Object(b.createElement)(f.Button,{isSecondary:!0,disabled:d>=h,onClick:function(){p(d+1)}},Object(b.createElement)(f.Icon,{icon:"plus"})))))))},tt=function(e){var t=e.rows||2,n=Array.from(Array(t).keys());return Object(b.createElement)("div",{className:"novablocks-text-placeholder"},n.map((function(e,t){var r=t===n.length-1?Object(le.getRandomBetween)(6,12):Object(le.getRandomBetween)(17,20),o={width:"".concat(5*r,"%")};return Object(b.createElement)("div",{key:"text_placeholder_"+t,className:"novablocks-text-placeholder__row",style:o})})))},nt=n(35),rt=function(e){var t=e.toggles,n="function"==typeof e.onChange?e.onChange:function(){},r=Object(b.useState)((function(){return new WeakMap})),o=Object(te.a)(r,1)[0],a=t.filter((function(e){return!!e.value})),i=t.filter((function(e){return!e.value})),c={initial:{left:0},from:{opacity:0,height:0,left:40},enter:function(e){return function(){var t=fe(ge.a.mark((function t(n){var r;return ge.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=o.get(e),t.next=3,n({opacity:1,left:0,height:r.offsetHeight});case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},leave:function(e){return function(){var e=fe(ge.a.mark((function e(t,n){return ge.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t({opacity:0,height:0,left:40});case 2:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()},keys:function(e){return e.attribute}},l=Object(nt.useTransition)(a,c),s=Object(nt.useTransition)(i,c),u=Object(b.useCallback)((function(e){return function(t){"function"==typeof e.onChange&&e.onChange(t),n(Object(O.a)({},e.attribute,t))}}),[]);return Object(b.createElement)("div",{className:"components-toggle-group__panel",key:"toggle-group-controls"},Object(b.createElement)("div",{className:"components-toggle-group"},!!a.length&&Object(b.createElement)("div",{className:"components-toggle-group__toggle-list  components-toggle-group__toggle-list--enabled"},l((function(e,t,n){var r=n.key;return Object(b.createElement)(nt.animated.div,{key:r,style:e,className:"components-toggle-group__toggle-list-animated"},Object(b.createElement)("div",{ref:function(e){return e&&o.set(t,e)}},Object(b.createElement)("div",{className:"components-toggle-group__toggle-list-item"},Object(b.createElement)(f.ToggleControl,{label:t.label,checked:!!t.value,onChange:u(t)}))))}))),!!i.length&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)("label",{className:"components-toggle-group__toggle-list-label"},"Elements you aren't using"),Object(b.createElement)("div",{className:"components-toggle-group__toggle-list  components-toggle-group__toggle-list--disabled"},s((function(e,t,n){var r=n.key;return Object(b.createElement)(nt.animated.div,{key:r,style:e,className:"components-toggle-group__toggle-list-animated"},Object(b.createElement)("div",{ref:function(e){return e&&o.set(t,e)}},Object(b.createElement)("div",{className:"components-toggle-group__toggle-list-item"},Object(b.createElement)(f.ToggleControl,{label:t.label,checked:!!t.value,onChange:u(t)}))))}))))))},ot=n(16),at=function(e){var t,n=e.setAttributes,r=e.clientId,o=e.name,a=Object(k.useSelect)((function(e){var t=e("core/blocks"),n=t.getBlockType,r=t.getBlockVariations,a=t.getDefaultBlockVariation;return{blockType:n(o),variations:r(o),defaultVariation:a(o)}}),[o]),i=a.blockType,c=a.variations,l=a.defaultVariation,s=Object(k.useDispatch)("core/block-editor").replaceInnerBlocks,u=Object(b.useCallback)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l;n(e.attributes),e.innerBlocks&&s(r,Object(re.createBlocksFromInnerBlocksTemplate)(e.innerBlocks))}),[l]);return Object(b.createElement)(ot.__experimentalBlockVariationPicker,{icon:null==i||null===(t=i.icon)||void 0===t?void 0:t.src,label:null==i?void 0:i.title,instructions:Object(_.__)("Select a variation to start with.","nova-blocks"),variations:c,onSelect:u,allowSkip:!0})},it=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return function(n){return function(r){var o=Object(b.useContext)(Qe)[e];return void 0===o&&t||!0===o?Object(b.createElement)(n,r):null}}},ct=function(e,t){var n=Object(k.select)("core/block-editor"),r=n.getBlocksByClientId,o=n.getClientIdsWithDescendants,a=Object(k.dispatch)("core/block-editor"),i=a.replaceInnerBlocks,c=a.updateBlockAttributes,l=o(),s=!1;return Object(k.subscribe)((function(){var n=o(),a=n.filter((function(e){return!l.includes(e)}));n!==l&&a.length&&(s?(l=n,r(a).map((function(n){var r;n.name!==e||n.attributes.templateInserted||null!==(r=n.innerBlocks)&&void 0!==r&&r.length||(i(n.clientId,Object(re.createBlocksFromInnerBlocksTemplate)(t)),c(n.clientId,{templateInserted:!0}))}))):s=!0)}))},lt=n(49);function st(){return(st=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ut(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var dt=pt((function(e){return"string"==typeof e?e:null})),bt=function(e){return null!=e};function pt(e){return function(t){return bt(e(t))}}var ft=function(e){return Object.keys(e).reduce((function(t,n){var r,o=e[n];return st({},t,bt(o)?((r={})[n]=o,r):{})}),{})};function mt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.length-1;return function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];for(var a=t[0].apply(this,n),i=1;i<=r;i++)a=t[i].call(this,a);return a}}var gt,ht,Ot=pt((function(e){return bt(e)&&"object"==typeof e&&!Array.isArray(e)?e:null})),vt=pt((function(e){return Array.isArray(e)&&e.every(dt)&&e.length>0?e:null})),jt=pt((function(e){return Ot(e)&&"errors"in e&&vt(e.errors)?{errors:e.errors}:null})),yt=function(e){this.message=e},_t=function(e){if(function(e){var t=e.headers.get("content-type");return bt(t)&&"application/json"===Object(lt.parse)(t).type}(e))return e.json().catch((function(e){throw new yt("unable to parse JSON response.")}));throw new yt("expected JSON response from server.")},wt=function(e){return function(t){return(t.ok?e({response:t}).then((function(e){return{type:"success",status:t.status,response:e,originalResponse:t}})):_t(t).then((function(e){return st({type:"error",status:t.status},function(e){return jt(e)?{errors:e.errors,source:"api"}:{errors:["Responded with a status code outside the 2xx range, and the response body is not recognisable."],source:"decoding"}}(e),{originalResponse:t})}))).catch((function(e){if(e instanceof yt)return{type:"error",source:"decoding",status:t.status,originalResponse:t,errors:[e.message]};throw e}))}},kt=function(){return function(e){var t=e.response;return _t(t)}},Et=function(e){var t=e.pathname,n=e.query;return function(e){var r=new URL(e);return function(e){return function(t){"/"===t.pathname?t.pathname=e:t.pathname+=e}}(t)(r),function(e){return function(t){Object.keys(e).forEach((function(n){return t.searchParams.set(n,e[n].toString())}))}}(n)(r),r.toString()}},Pt=function(e){return function(t,n){void 0===n&&(n={});var r=e(t),o=r.headers,a=r.query;return st({},ut(r,["headers","query"]),n,{query:a,headers:st({},o,n.headers)})}},St=function(e){return e},Ct=function(e){var t=e.accessKey,n=e.apiVersion,r=void 0===n?"v1":n,o=e.apiUrl,a=void 0===o?"https://api.unsplash.com":o,i=e.headers,c=e.fetch,l=ut(e,["accessKey","apiVersion","apiUrl","headers","fetch"]);return function(e){var n=e.handleResponse;return mt(e.handleRequest,(function(e){var o=e.pathname,s=e.query,u=e.method,d=void 0===u?"GET":u,b=e.headers,p=e.body,f=e.signal,m=Et({pathname:o,query:s})(a),g=st({method:d,headers:st({},i,b,{"Accept-Version":r},bt(t)?{Authorization:"Client-ID "+t}:{}),body:p,signal:f},l);return(null!=c?c:fetch)(m,g).then(wt(n))}))}},xt=function(e){var t=e.headers.get("x-total");if(bt(t)){var n=parseInt(t);if(Number.isInteger(n))return n;throw new yt("expected x-total header to be valid integer.")}throw new yt("expected x-total header to exist.")},At=function(){return function(e){var t=e.response;return kt()({response:t}).then((function(e){return{results:e,total:xt(t)}}))}},It=function(e){return bt(e)?{collections:e.join()}:{}},Tt=function(e){return bt(e)?{topics:e.join()}:{}},Rt=function(e){var t=e.page,n=e.perPage,r=e.orderBy;return ft({per_page:n,order_by:r,page:t})},Bt=function(){var e=function(e){return"/collections/"+e.collectionId+"/photos"};return{getPathname:e,handleRequest:Pt((function(t){var n=t.collectionId,r=t.orientation,o=ut(t,["collectionId","orientation"]);return{pathname:e({collectionId:n}),query:ft(st({},Rt(o),{orientation:r}))}})),handleResponse:At()}}(),Mt=function(){var e=function(e){return"/collections/"+e.collectionId};return{getPathname:e,handleRequest:Pt((function(t){var n=t.collectionId;return{pathname:e({collectionId:n}),query:{}}})),handleResponse:kt()}}(),Ft=function(){var e=function(){return"/collections"};return{getPathname:e,handleRequest:Pt((function(e){return void 0===e&&(e={}),{pathname:"/collections",query:Rt(e)}})),handleResponse:At()}}(),Dt=function(){var e=function(e){return"/collections/"+e.collectionId+"/related"};return{getPathname:e,handleRequest:Pt((function(t){var n=t.collectionId;return{pathname:e({collectionId:n}),query:{}}})),handleResponse:kt()}}(),Nt=function(){return{getPathname:function(e){return"/photos"},handleRequest:Pt((function(e){return void 0===e&&(e={}),{pathname:"/photos",query:ft(Rt(e))}})),handleResponse:At()}}(),zt=function(){var e=function(e){return"/photos/"+e.photoId};return{getPathname:e,handleRequest:Pt((function(t){var n=t.photoId;return{pathname:e({photoId:n}),query:{}}})),handleResponse:kt()}}(),Lt=function(){var e=function(e){return"/photos/"+e.photoId+"/statistics"};return{getPathname:e,handleRequest:Pt((function(t){var n=t.photoId;return{pathname:e({photoId:n}),query:{}}})),handleResponse:kt()}}(),Vt=function(){var e=function(){return"/photos/random"};return{getPathname:e,handleRequest:Pt((function(e){var t=void 0===e?{}:e,n=t.collectionIds,r=t.contentFilter,o=t.topicIds,a=ut(t,["collectionIds","contentFilter","topicIds"]);return{pathname:"/photos/random",query:ft(st({},a,{content_filter:r},It(n),Tt(o))),headers:{"cache-control":"no-cache"}}})),handleResponse:kt()}}(),qt={handleRequest:Pt((function(e){var t=function(e){var t=new URL(e),n=t.pathname;return{query:function(e){var t={};return e.forEach((function(e,n){t[n]=e})),t}(t.searchParams),pathname:"/"===n?void 0:n}}(e.downloadLocation),n=t.pathname,r=t.query;if(!bt(n))throw new Error("Could not parse pathname from url.");return{pathname:n,query:ft(r)}})),handleResponse:kt()},Ht=function(){return{getPathname:function(e){return"/search/photos"},handleRequest:Pt((function(e){var t=e.query,n=e.page,r=e.perPage,o=e.orderBy,a=e.collectionIds,i=e.lang,c=e.contentFilter,l=ut(e,["query","page","perPage","orderBy","collectionIds","lang","contentFilter"]);return{pathname:"/search/photos",query:ft(st({query:t,content_filter:c,lang:i,order_by:o},Rt({page:n,perPage:r}),It(a),l))}})),handleResponse:kt()}}(),Ut=function(){return{getPathname:function(e){return"/search/collections"},handleRequest:Pt((function(e){var t=e.query,n=ut(e,["query"]);return{pathname:"/search/collections",query:st({query:t},Rt(n))}})),handleResponse:kt()}}(),Gt=function(){return{getPathname:function(e){return"/search/users"},handleRequest:Pt((function(e){var t=e.query,n=ut(e,["query"]);return{pathname:"/search/users",query:st({query:t},Rt(n))}})),handleResponse:kt()}}(),$t=function(){var e=function(e){return"/users/"+e.username};return{getPathname:e,handleRequest:Pt((function(t){var n=t.username;return{pathname:e({username:n}),query:{}}})),handleResponse:kt()}}(),Wt=function(){var e=function(e){return"/users/"+e.username+"/photos"};return{getPathname:e,handleRequest:Pt((function(t){var n=t.username,r=t.stats,o=t.orientation,a=ut(t,["username","stats","orientation"]);return{pathname:e({username:n}),query:ft(st({},Rt(a),{orientation:o,stats:r}))}})),handleResponse:At()}}(),Qt=function(){var e=function(e){return"/users/"+e.username+"/likes"};return{getPathname:e,handleRequest:Pt((function(t){var n=t.username,r=t.orientation,o=ut(t,["username","orientation"]);return{pathname:e({username:n}),query:ft(st({},Rt(o),{orientation:r}))}})),handleResponse:At()}}(),Zt=function(){var e=function(e){return"/users/"+e.username+"/collections"};return{getPathname:e,handleRequest:Pt((function(t){var n=t.username,r=ut(t,["username"]);return{pathname:e({username:n}),query:Rt(r)}})),handleResponse:At()}}(),Kt=function(e){return"/topics/"+e.topicIdOrSlug},Jt=St({getPathname:Kt,handleRequest:function(e){var t=e.page,n=e.perPage,r=e.orderBy,o=e.topicIdsOrSlugs;return{pathname:"/topics",query:ft(st({},Rt({page:t,perPage:n}),{ids:null==o?void 0:o.join(","),order_by:r}))}},handleResponse:At()}),Xt=St({getPathname:Kt,handleRequest:function(e){var t=e.topicIdOrSlug;return{pathname:Kt({topicIdOrSlug:t}),query:{}}},handleResponse:kt()}),Yt=function(){var e=mt(Kt,(function(e){return e+"/photos"}));return{getPathname:e,handleRequest:function(t){var n=t.topicIdOrSlug,r=t.orientation,o=ut(t,["topicIdOrSlug","orientation"]);return{pathname:e({topicIdOrSlug:n}),query:ft(st({},Rt(o),{orientation:r}))}},handleResponse:At()}}();!function(e){e.Afrikaans="af",e.Amharic="am",e.Arabic="ar",e.Azerbaijani="az",e.Belarusian="be",e.Bulgarian="bg",e.Bengali="bn",e.Bosnian="bs",e.Catalan="ca",e.Cebuano="ceb",e.Corsican="co",e.Czech="cs",e.Welsh="cy",e.Danish="da",e.German="de",e.Greek="el",e.English="en",e.Esperanto="eo",e.Spanish="es",e.Estonian="et",e.Basque="eu",e.Persian="fa",e.Finnish="fi",e.French="fr",e.Frisian="fy",e.Irish="ga",e.ScotsGaelic="gd",e.Galician="gl",e.Gujarati="gu",e.Hausa="ha",e.Hawaiian="haw",e.Hindi="hi",e.Hmong="hmn",e.Croatian="hr",e.HaitianCreole="ht",e.Hungarian="hu",e.Armenian="hy",e.Indonesian="id",e.Igbo="ig",e.Icelandic="is",e.Italian="it",e.Hebrew="iw",e.Japanese="ja",e.Javanese="jw",e.Georgian="ka",e.Kazakh="kk",e.Khmer="km",e.Kannada="kn",e.Korean="ko",e.Kurdish="ku",e.Kyrgyz="ky",e.Latin="la",e.Luxembourgish="lb",e.Lao="lo",e.Lithuanian="lt",e.Latvian="lv",e.Malagasy="mg",e.Maori="mi",e.Macedonian="mk",e.Malayalam="ml",e.Mongolian="mn",e.Marathi="mr",e.Malay="ms",e.Maltese="mt",e.Myanmar="my",e.Nepali="ne",e.Dutch="nl",e.Norwegian="no",e.Nyanja="ny",e.Oriya="or",e.Punjabi="pa",e.Polish="pl",e.Pashto="ps",e.Portuguese="pt",e.Romanian="ro",e.Russian="ru",e.Kinyarwanda="rw",e.Sindhi="sd",e.Sinhala="si",e.Slovak="sk",e.Slovenian="sl",e.Samoan="sm",e.Shona="sn",e.Somali="so",e.Albanian="sq",e.Serbian="sr",e.Sesotho="st",e.Sundanese="su",e.Swedish="sv",e.Swahili="sw",e.Tamil="ta",e.Telugu="te",e.Tajik="tg",e.Thai="th",e.Turkmen="tk",e.Filipino="tl",e.Turkish="tr",e.Tatar="tt",e.Uighur="ug",e.Ukrainian="uk",e.Urdu="ur",e.Uzbek="uz",e.Vietnamese="vi",e.Xhosa="xh",e.Yiddish="yi",e.Yoruba="yo",e.ChineseSimplified="zh",e.ChineseTraditional="zh-TW",e.Zulu="zu"}(gt||(gt={})),function(e){e.LATEST="latest",e.POPULAR="popular",e.VIEWS="views",e.DOWNLOADS="downloads",e.OLDEST="oldest"}(ht||(ht={}));var en=mt(Ct,(function(e){return{photos:{get:e(zt),list:e(Nt),getStats:e(Lt),getRandom:e(Vt),trackDownload:e(qt)},users:{getPhotos:e(Wt),getCollections:e(Zt),getLikes:e(Qt),get:e($t)},search:{getCollections:e(Ut),getPhotos:e(Ht),getUsers:e(Gt)},collections:{getPhotos:e(Bt),get:e(Mt),list:e(Ft),getRelated:e(Dt)},topics:{list:e(Jt),get:e(Xt),getPhotos:e(Yt)}}})),tn=encodeURI("utm_source=".concat("Nova Blocks","&utm_medium=referral")),nn=new(function(){function e(){Object(o.a)(this,e),this.fetchedImages=!1,this.images=[]}return Object(a.a)(e,[{key:"fetch",value:function(){var e,t,n,r=this,o=this.normalize.bind(this),a=null===(e=window)||void 0===e||null===(t=e.pixcare)||void 0===t||null===(n=t.themeConfig)||void 0===n?void 0:n.unsplashApiKey;return a?(this.api=en({accessKey:a}),this.api.collections.getPhotos({collectionId:"10606015"}).then((function(e){if(!e.errors){var t=e.response,n=t.results;t.total;return r.images=n.map(o),r.images}console.log("error occurred: ",e.errors[0])})).finally((function(){r.fetchedImages=!0}))):(this.fetchedImages=!0,[])}},{key:"get",value:function(){return this.fetchedImages?this.images:this.fetch()}},{key:"normalize",value:function(e){var t=this;return{id:e.id,url:e.urls.regular,type:"image",width:e.width,height:e.height,sizes:{full:{url:e.urls.full,width:e.width,height:e.height},large:{url:e.urls.regular},medium:{url:e.urls.small},thumbnail:{url:e.urls.thumb},novablocks_huge:{url:e.urls.regular},novablocks_large:{url:e.urls.regular},novablocks_medium:{url:e.urls.small},novablocks_tiny:{url:e.urls.thumb}},title:e.description,caption:'<p class="credits">Photo by <a target="_blank" href="'.concat(e.user.links.html,"?").concat(tn,'">').concat(e.user.name,'</a> on <a target="_blank" href="https://unsplash.com?').concat(tn,'">Unsplash</a></p>'),download:function(){t.api.photos.trackDownload({downloadLocation:e.links.download_location})}}}}]),e}()),rn=nn.get.bind(nn),on=n(25),an=n.n(on),cn=function(e){var t=e.map((function(e){return an()({path:"/wp/v2/media/".concat(e.id)}).then((function(t){var n;return Object.assign({},e,{description:null==t||null===(n=t.description)||void 0===n?void 0:n.raw})}))}));return Promise.all(t)},ln=n(39),sn=function(e){var t=e.userId,n=Object(b.useState)(),r=Object(te.a)(n,2),o=r[0],a=r[1];return Object(b.useEffect)((function(){if(t){var n=t;an()({path:"/wp/v2/users/".concat(e.id)}).then((function(e){n===t&&a(e)}))}}),[t]),t&&void 0!==o&&(null==o?void 0:o.name)||""},un=function(e){var t=e.termId,n=e.postType,r=Object(b.useState)(),o=Object(te.a)(r,2),a=o[0],i=o[1];return Object(b.useEffect)((function(){if(t){var e=t,r="/wp/v2/categories/".concat(t);switch(n){case"product":r="/wp/v2/product_cat/".concat(t);break;case"portfolio":r="/wp/v2/portfolio_type/".concat(t);break;case"gallery":r="/wp/v2/gallery_type/".concat(t)}an()({path:r}).then((function(n){e===t&&i(n)}))}}),[t]),t&&void 0!==a&&(null==a?void 0:a.name)||""},dn=n(31),bn=function(e){var t=e.postId,n=Object(b.useState)(),r=Object(te.a)(n,2),o=r[0],a=r[1];return Object(b.useEffect)((function(){if(t){var e=t;an()({path:Object(dn.addQueryArgs)("/wp/v2/comments",{post:t}),parse:!1}).then((function(n){e===t&&a(n.headers.get("X-WP-Total"))}))}}),[t]),t&&void 0!==o?o?"".concat(o," Comment").concat(o>1?"s":""):Object(_.__)("No Comments","nova-blocks"):""},pn=function(e){var t=e.termIds,n=e.postType,r=Object(b.useState)(),o=Object(te.a)(r,2),a=o[0],i=o[1];return Object(b.useEffect)((function(){if(t){var e=t.join(","),r="/wp/v2/tags";switch(n){case"product":r="/wp/v2/product_tag";break;case"portfolio":r="/wp/v2/portfolio_tag";break;case"gallery":r="/wp/v2/gallery_tag"}an()({path:Object(dn.addQueryArgs)(r,{page:1,per_page:10,include:t})}).then((function(n){e===t.join(",")&&i(n)}))}}),[t]),t&&void 0!==a&&a.length&&a.map((function(e){return e.name})).join(", ")||""},fn=function(e){var t,n=12,r=0,o=0,a=null===(t=e.post)||void 0===t?void 0:t.content.rendered,i=a.replace(/(<([^>]+)>)/gi,"").split(" ").filter((function(e){return""!=e})).length,c=Math.floor(i/(250/60)),l=a.match(/<img\s[^>]+>/g),s=a.match(/<iframe\s[^>]+>/g);if(null!==l)for(var u=l.length,d=0;d<u;d++)r+=n,n>3&&n--;null!==s&&(o=60*s.length);var b=Math.ceil((c+r+o)/60);return b<1&&(b=1),Object(_.sprintf)(Object(_.__)("%s min read","nova-blocks"),b)},mn=function(e,t){var n,r,o,a,i,c,l,s;switch(t){case"author":return(null==e?void 0:e.author)&&Object(b.createElement)(sn,{userId:e.author});case"category":var u=0;switch(e.type){case"product":null!=e&&null!==(n=e.product_cat)&&void 0!==n&&n.length&&(u=e.product_cat[0]);break;case"portfolio":null!=e&&null!==(r=e.portfolio_type)&&void 0!==r&&r.length&&(u=e.portfolio_type[0]);break;case"gallery":null!=e&&null!==(o=e.gallery_type)&&void 0!==o&&o.length&&(u=e.gallery_type[0]);break;case"testimonial":break;default:null!=e&&null!==(a=e.categories)&&void 0!==a&&a.length&&(u=e.categories[0])}return!!u&&Object(b.createElement)(un,{termId:u,postType:e.type});case"comments":return!(null==e||!e.id)&&Object(b.createElement)(bn,{postId:e.id});case"date":var d=Object(ln.__experimentalGetSettings)().formats.date;return!(null==e||!e.date_gmt)&&Object(b.createElement)("time",{dateTime:Object(ln.format)("c",e.date_gmt)},Object(ln.dateI18n)(d,e.date_gmt));case"tags":var p=[];switch(e.type){case"product":null!=e&&null!==(i=e.product_tag)&&void 0!==i&&i.length&&(p=e.product_tag);break;case"portfolio":null!=e&&null!==(c=e.portfolio_tag)&&void 0!==c&&c.length&&(p=e.portfolio_tag);break;case"gallery":null!=e&&null!==(l=e.gallery_tag)&&void 0!==l&&l.length&&(p=e.gallery_tag);break;case"testimonial":break;default:null!=e&&null!==(s=e.tags)&&void 0!==s&&s.length&&(p=e.tags)}return!!p&&Object(b.createElement)(pn,{termIds:p,postType:e.type});case"reading-time":return Object(b.createElement)(fn,{post:e});default:return null}},gn=function(e){var t,n,r,o,a,i,c,l,s,u,d,b;return{type:null==e?void 0:e.media_type,width:(null==e||null===(t=e.media_details)||void 0===t||null===(n=t.sizes)||void 0===n||null===(r=n.novablocks_large)||void 0===r?void 0:r.width)||(null==e||null===(o=e.media_details)||void 0===o?void 0:o.width),height:(null==e||null===(a=e.media_details)||void 0===a||null===(i=a.sizes)||void 0===i||null===(c=i.novablocks_large)||void 0===c?void 0:c.height)||(null==e||null===(l=e.media_details)||void 0===l?void 0:l.height),url:(null==e||null===(s=e.media_details)||void 0===s||null===(u=s.sizes)||void 0===u||null===(d=u.novablocks_large)||void 0===d?void 0:d.source_url)||(null==e?void 0:e.source_url),alt:(null==e||null===(b=e.media_details)||void 0===b?void 0:b.alt)||(null==e?void 0:e.alt)||""}},hn=Object(k.withSelect)((function(e,t){var n=e("core").getMedia,r=t.post,o=t.attributes.showMedia,a=r.featured_media;if(!a||!o)return null;var i=n(a);return i?{media:gn(i)}:null})),On=function(e){var t=e.media;return t?Object(b.createElement)("img",{className:"nb-supernova-item__media",src:t.url,width:t.width,height:t.height,alt:null==t?void 0:t.alt}):null},vn=function(e){var t,n=e.post,r=(null==n||null===(t=n.title)||void 0===t?void 0:t.raw)||"",o=Object(b.useRef)(null);return r?(Object(b.useEffect)((function(){o.current&&Object(le.resizeDropcap)(o.current)}),[o]),Object(b.createElement)("div",{className:"nb-supernova-item__dropcap-wrapper sm-variation-11"},Object(b.createElement)("span",{className:"nb-supernova-item__dropcap",ref:o},r.substring(0,1)))):null},jn=hn((function(e){var t,n,r=e.attributes,o=e.post,a=r.showMeta,i=r.showTitle,c=r.showDescription,l=r.showButtons,s=r.showMedia,u=function(e){var t,n,r,o=e.attributes,a=o.metadataPosition,i=o.primaryMetadata,c=o.secondaryMetadata,l=e.post,s=mn(l,i),u=mn(l,c);switch(t=s&&u?Object(b.createElement)(b.Fragment,null,Object(b.createElement)("span",{className:"nb-card__meta--primary",key:"card_meta_primary_post_"+l.id},s),Object(b.createElement)("span",{className:"nb-card__meta-separator",key:"card_meta_separator_post_"+l.id}),Object(b.createElement)("span",{className:"nb-card__meta--secondary",key:"card_meta_secondary_post_"+l.id},u)):s||u,a){case"above-title":n=t;break;case"below-title":r=t;break;case"split":n=s,r=u}return{metaAboveTitle:n,metaBelowTitle:r}}(e),d=u.metaAboveTitle,p=u.metaBelowTitle,f=e.Media||On;return Object(b.createElement)(Cn,Object(h.a)({},e,{key:"card_post_"+o.id}),s&&e.media&&Object(b.createElement)(An,Object(h.a)({},e,{key:"card_post_mediawrapper_"+o.id}),Object(b.createElement)(vn,e),Object(b.createElement)(f,Object(h.a)({},e,{key:"card_post_media_"+o.id}))),Object(b.createElement)("div",{className:"nb-supernova-item__inner-container",key:"card_post_innercontainer_"+o.id},Object(b.createElement)(En,{show:a,key:"card_post_metaabovetitle_"+o.id},d),Objec