diff --git a/dist/css/autosuggest-styles.asset.php b/dist/css/autosuggest-styles.asset.php new file mode 100644 index 0000000000..c21862fd12 --- /dev/null +++ b/dist/css/autosuggest-styles.asset.php @@ -0,0 +1 @@ + array(), 'version' => 'c8c6023b345f6f95c1e8'); diff --git a/dist/css/autosuggest-styles.css b/dist/css/autosuggest-styles.css new file mode 100644 index 0000000000..9f8f171d04 --- /dev/null +++ b/dist/css/autosuggest-styles.css @@ -0,0 +1 @@ +.ep-autosuggest-container{position:relative}.ep-autosuggest-container .ep-autosuggest{background:#fff;border:1px solid #ccc;-webkit-box-shadow:0 2px 4px rgba(0,0,0,.2);box-shadow:0 2px 4px rgba(0,0,0,.2);display:none;position:absolute;width:100%;z-index:200}.ep-autosuggest-container .ep-autosuggest>ul{margin:0!important}.ep-autosuggest-container .ep-autosuggest>ul{list-style:none}.ep-autosuggest-container .ep-autosuggest>ul>li{font-family:sans-serif}.ep-autosuggest-container .ep-autosuggest>ul>li>a.autosuggest-link{color:#000;cursor:pointer;display:block;padding:2px 10px}.ep-autosuggest-container .ep-autosuggest>ul>li>a.autosuggest-link:active,.ep-autosuggest-container .ep-autosuggest>ul>li>a.autosuggest-link:hover{background-color:#eee;text-decoration:none}.ep-autosuggest-container .selected{background-color:#eee;text-decoration:none} diff --git a/dist/css/comments-styles.asset.php b/dist/css/comments-styles.asset.php new file mode 100644 index 0000000000..4673c32e9e --- /dev/null +++ b/dist/css/comments-styles.asset.php @@ -0,0 +1 @@ + array(), 'version' => '96b3563542134e5e8a48'); diff --git a/dist/css/comments-styles.css b/dist/css/comments-styles.css new file mode 100644 index 0000000000..421ce00372 --- /dev/null +++ b/dist/css/comments-styles.css @@ -0,0 +1 @@ +.ep-widget-search-comments-results{list-style-type:none;margin-left:0}.ep-widget-search-comments-result-item,.ep-widget-search-comments-result-item-not-found{margin-left:0}.ep-widget-search-comments-result-item.selected a{border:2px dotted #171923} diff --git a/dist/css/dashboard-styles.asset.php b/dist/css/dashboard-styles.asset.php new file mode 100644 index 0000000000..9ba1b08384 --- /dev/null +++ b/dist/css/dashboard-styles.asset.php @@ -0,0 +1 @@ + array(), 'version' => '99eeb649f3a474de6364'); diff --git a/dist/css/dashboard-styles.css b/dist/css/dashboard-styles.css new file mode 100644 index 0000000000..e3e039cb6b --- /dev/null +++ b/dist/css/dashboard-styles.css @@ -0,0 +1 @@ +.a11y-tip{display:inline-block;position:relative}.a11y-tip__trigger[tabindex]{border-bottom:1px dotted #666}.a11y-tip__trigger[aria-describedby]:hover+.a11y-tip__help,.a11y-tip__trigger[aria-describedby]:hover+.a11y-tip__help:after,.a11y-tip__trigger[aria-describedby]:not(.a11y-tip__trigger--toggle):focus+.a11y-tip__help,.a11y-tip__trigger[aria-describedby]:not(.a11y-tip__trigger--toggle):focus+.a11y-tip__help:after,.a11y-tip__trigger[aria-describedby][aria-expanded=true] .a11y-tip__help,.a11y-tip__trigger[aria-describedby][aria-expanded=true] .a11y-tip__help:after{opacity:1;pointer-events:auto;-webkit-transform:translate(-50%);transform:translate(-50%);visibility:visible}@media screen and (min-width:40.625em){.a11y-tip__trigger[aria-describedby]:hover+.a11y-tip__help--left,.a11y-tip__trigger[aria-describedby]:hover+.a11y-tip__help--left:after,.a11y-tip__trigger[aria-describedby]:hover+.a11y-tip__help--right,.a11y-tip__trigger[aria-describedby]:hover+.a11y-tip__help--right:after,.a11y-tip__trigger[aria-describedby]:not(.a11y-tip__trigger--toggle):focus+.a11y-tip__help--left,.a11y-tip__trigger[aria-describedby]:not(.a11y-tip__trigger--toggle):focus+.a11y-tip__help--left:after,.a11y-tip__trigger[aria-describedby]:not(.a11y-tip__trigger--toggle):focus+.a11y-tip__help--right,.a11y-tip__trigger[aria-describedby]:not(.a11y-tip__trigger--toggle):focus+.a11y-tip__help--right:after,.a11y-tip__trigger[aria-describedby][aria-expanded=true] .a11y-tip__help--left,.a11y-tip__trigger[aria-describedby][aria-expanded=true] .a11y-tip__help--left:after,.a11y-tip__trigger[aria-describedby][aria-expanded=true] .a11y-tip__help--right,.a11y-tip__trigger[aria-describedby][aria-expanded=true] .a11y-tip__help--right:after{-webkit-transform:translateY(-50%);transform:translateY(-50%)}}.a11y-tip__trigger[aria-describedby].a11y-tip__trigger--toggle:hover+.a11y-tip__help,.a11y-tip__trigger[aria-describedby].a11y-tip__trigger--toggle:hover+.a11y-tip__help:after{opacity:0;pointer-events:none;visibility:hidden}.a11y-tip__trigger[aria-expanded=true].a11y-tip__trigger--toggle:hover+.a11y-tip__help,.a11y-tip__trigger[aria-expanded=true].a11y-tip__trigger--toggle:hover+.a11y-tip__help:after{opacity:1!important;pointer-events:auto!important;visibility:visible!important}.a11y-tip__trigger[aria-expanded=true].a11y-tip__trigger--toggle:hover+.a11y-tip__help,.a11y-tip__trigger[aria-expanded=true].a11y-tip__trigger--toggle:hover+.a11y-tip__help:after{-webkit-transition:opacity .18s ease-in-out,-webkit-transform .18s ease-in-out;transition:opacity .18s ease-in-out,-webkit-transform .18s ease-in-out;transition:opacity .18s ease-in-out,transform .18s ease-in-out;transition:opacity .18s ease-in-out,transform .18s ease-in-out,-webkit-transform .18s ease-in-out}.a11y-tip--no-delay .a11y-tip__help,.a11y-tip--no-delay .a11y-tip__help:after{-webkit-transition:opacity .18s ease-in-out,-webkit-transform .18s ease-in-out;transition:opacity .18s ease-in-out,-webkit-transform .18s ease-in-out;transition:opacity .18s ease-in-out,transform .18s ease-in-out;transition:opacity .18s ease-in-out,transform .18s ease-in-out,-webkit-transform .18s ease-in-out}[role=tooltip].a11y-tip__help{background:rgba(0,0,0,.9);border-radius:4px;color:#fff;font-size:14px;margin-top:9pt;max-width:25pc;min-width:220px;padding:.5em 1em;text-align:left;top:100%;width:100%}[role=tooltip].a11y-tip__help,[role=tooltip].a11y-tip__help:after{left:50%;opacity:0;pointer-events:none;position:absolute;-webkit-transform:translate(-50%,10px);transform:translate(-50%,10px);-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition:opacity .2s ease-in-out 1s;transition:opacity .2s ease-in-out 1s;visibility:hidden;z-index:10}[role=tooltip].a11y-tip__help:after{speak:none;border:6px inset transparent;border-bottom:6px solid rgba(0,0,0,.9);bottom:100%;content:"";display:inline-block;height:0;margin-top:6px;width:0}[role=tooltip].a11y-tip__help--top{bottom:100%;left:50%;margin-bottom:9pt;margin-top:0;top:auto;-webkit-transform:translate(-50%,10px);transform:translate(-50%,10px);-webkit-transform-origin:center top;transform-origin:center top}[role=tooltip].a11y-tip__help--top:after{speak:none;border:6px inset transparent;border-top:6px solid rgba(0,0,0,.9);content:"";display:inline-block;height:0;left:50%;margin-bottom:6px;margin-top:0;top:100%;-webkit-transform:translate(-50%,-10px);transform:translate(-50%,-10px);-webkit-transform-origin:center top;transform-origin:center top;width:0}@media screen and (min-width:40.625em){[role=tooltip].a11y-tip__help--left{left:auto;margin-right:11px;margin-top:0;right:100%;top:50%;-webkit-transform:translate(10px,-50%);transform:translate(10px,-50%)}[role=tooltip].a11y-tip__help--left:after{speak:none;border:6px inset transparent;border-left:6px solid rgba(0,0,0,.9);content:"";display:inline-block;height:0;left:100%;margin-right:5px;margin-top:0;top:50%;-webkit-transform:translate(-10px,-50%);transform:translate(-10px,-50%);width:0}[role=tooltip].a11y-tip__help--right{left:100%;margin-left:11px;margin-top:0;top:50%;-webkit-transform:translate(10px,-50%);transform:translate(10px,-50%)}[role=tooltip].a11y-tip__help--right:after{speak:none;border:6px inset transparent;border-right:6px solid rgba(0,0,0,.9);bottom:auto;content:"";display:inline-block;height:0;left:auto;margin-left:5px;margin-top:0;right:100%;top:50%;-webkit-transform:translate(10px,-50%);transform:translate(10px,-50%);width:0}}.a11y-tip--hide~.a11y-tip__help{display:none}.no-js .a11y-tip__help:not([role]){font-size:.85em}.no-js .a11y-tip__help:not([role]):before{content:"("}.no-js .a11y-tip__help:not([role]):after{content:")"}:root{--statusOk:#6aa000;--statusWarning:#e3e600;--statusError:red}html.wp-toolbar{background:transparent}.wrap .notice,.wrap>h2{position:relative;z-index:2}h2.ep-list-features{display:none}#wpbody #update-nag,#wpbody .update-nag{display:block;margin:5px 15px 2px}.ep-header-menu{background-color:#fff;border-bottom:2px solid #ddd;margin-left:-20px;padding-bottom:5px;padding-left:20px;padding-right:20px;padding-top:5px;position:relative;z-index:2}.ep-header-menu:after{clear:both;content:" ";display:block}.ep-header-menu img{float:left}.ep-header-menu .icons{display:inline-block;float:right;height:30px;line-height:34px;padding-right:3px}.ep-header-menu .icons a{color:inherit;cursor:pointer;font-size:27px;margin-left:8px;position:relative;top:-3px;vertical-align:middle}.ep-header-menu .icons .dashicons-admin-generic,.ep-header-menu .icons .dashicons-controls-pause,.ep-header-menu .icons .dashicons-controls-play,.ep-header-menu .icons .dashicons-no,.ep-header-menu .icons .dashicons-update{font-size:30px;top:1px}.ep-header-menu .cancel-sync,.ep-header-menu .pause-sync,.ep-header-menu .resume-sync{display:none}.ep-header-menu .sync-status{bottom:-1px;color:#666;display:none;font-style:italic;margin-right:8px;position:relative;vertical-align:middle}.ep-header-menu .progress-bar{background-color:#d84440;bottom:0;height:5px;left:0;margin-bottom:-5px;position:absolute}.ep-header-menu .icons .dashicons-admin-generic,.ep-header-menu .icons .dashicons-update{display:inline}.ep-header-menu .icons .dashicons-update{top:2px}.ep-features{overflow:auto}.error-overlay.cant-connect,.error-overlay.syncing{background-color:#fff;bottom:0;content:" ";display:block;left:0;opacity:.6;position:fixed;right:0;top:46px;z-index:1}@media (min-width:880px){.error-overlay,.error-overlay.cant-connect,.error-overlay.syncing{left:10pc;top:2pc}}.ep-feature .postbox{margin-bottom:0}.ep-feature .postbox .hndle{cursor:inherit}.ep-feature .postbox .hndle .settings-button{background-color:#efefef;border:none;border-radius:4px;color:inherit;cursor:pointer;display:inline-block;float:right;font-size:13px;font-weight:400;line-height:inherit;margin-top:-4px;padding:4px 7px;padding-left:23px;position:relative}.ep-feature .settings-button:before{color:#72777c;content:"\f140";display:inline-block;font:400 19px/1 dashicons;left:1px;padding:0 5px 0 0;position:absolute;top:4px;vertical-align:middle}.ep-feature .settings-button:after{border-radius:50%;content:" ";display:inline-block;height:8px;margin-left:10px;margin-top:-2px;vertical-align:middle;width:8px}.feature-requirements-status-2.ep-feature .postbox .hndle .settings-button:after{background-color:transparent;border:1px solid red;border:1px solid var(--statusError)}.feature-requirements-status-2.ep-feature .settings .requirements-status-notice{border-color:red;border-color:var(--statusError)}.feature-requirements-status-1.ep-feature .postbox .hndle .settings-button:after{background-color:transparent;border:1px solid #e3e600;border:1px solid var(--statusWarning)}.feature-requirements-status-1.ep-feature.feature-active .postbox .hndle .settings-button:after{background-color:#e3e600;background-color:var(--statusWarning)}.feature-requirements-status-1.ep-feature .settings .requirements-status-notice{border-color:#e3e600;border-color:var(--statusWarning)}.feature-requirements-status-0.ep-feature .postbox .hndle .settings-button:after{background-color:transparent;border:1px solid #6aa000;border:1px solid var(--statusOk)}.feature-requirements-status-0.ep-feature.feature-active .postbox .hndle .settings-button:after{background-color:#6aa000;background-color:var(--statusOk)}.feature-requirements-status-0.ep-feature .settings .requirements-status-notice{border-color:#6aa000;border-color:var(--statusOk)}.ep-feature{margin-bottom:20px;position:relative;vertical-align:top}.ep-feature.saving .action-wrap:before{-webkit-animation:load8 1.1s linear infinite;animation:load8 1.1s linear infinite;border-bottom:5px solid #ccc;border-left:5px solid #999;border-radius:50%;border-right:5px solid #ccc;border-top:5px solid #ccc;content:" ";display:inline-block;font-size:7px;height:8px;margin-right:1.4em;position:relative;text-indent:-9999em;top:4px;-webkit-transform:translateZ(0);transform:translateZ(0);vertical-align:middle;width:8px}.ep-feature .description,.ep-feature .settings{margin-bottom:0;text-align:left}.ep-feature .settings{display:none;overflow:auto}.ep-feature .settings h3{font-size:inherit;font-weight:700;margin-top:0}.ep-feature.show-settings .settings{display:block}.ep-feature.show-settings .description{display:none}.ep-feature.show-settings .settings-button:before{content:"\f142"}.ep-feature .settings .requirements-status-notice{background-color:#efefef;border-left:4px solid #6aa000;border-left:4px solid var(--statusOk);margin-bottom:10px;padding:8px 9pt}.ep-feature .settings .requirements-status-notice.requirements-status-notice--reindex{border-color:#e3e600;border-color:var(--statusWarning);display:none}.ep-feature .settings .requirements-status-notice.requirements-status-notice--syncing{border-color:red;border-color:var(--statusError);display:none}.ep-feature .settings .action-wrap{clear:both;padding-top:15px;text-align:right;vertical-align:middle}.ep-feature .settings .action-wrap a{cursor:pointer;display:inline-block}.ep-feature .settings .action-wrap .no-dash-sync{color:#aaa;display:none;line-height:27px;padding-right:8px}.ep-feature .settings .action-wrap a.disabled{cursor:default}.ep-feature .settings .action-wrap .cancel{margin-right:6px;margin-top:4px}.ep-feature.dash-sync-disabled .settings .action-wrap .no-dash-sync{display:inline}.ep-feature .settings .field{clear:both;overflow:visible;overflow:initial;padding-top:15px}.ep-feature .settings .field:first-child{padding-top:0}.ep-feature .settings .field label{display:inline-block;margin:.25em 0 .5em}.ep-feature .settings .field .field-name,.ep-feature .settings .field>label{-webkit-box-sizing:border-box;box-sizing:border-box;display:block;float:left;padding-right:1.5em;width:25%}.ep-feature .settings .field .input-wrap{display:block;float:right;padding-top:5px;width:75%}.ep-feature .settings .field .field-description{color:#666;font-style:italic;margin-bottom:0;margin-top:4px}.ep-feature .settings .field .disabled{color:#bbb}.ep-feature .settings .field .disabled input{cursor:default}.ep-feature .settings .field .components-form-token-field{padding-top:0}.ep-feature .settings .field .components-form-token-field__label{margin-top:0}.ep-feature .settings .field .components-form-token-field__input-container{border-color:#8c8f94}.ep-feature .long{display:none}.ep-feature .long p:last-child{margin-bottom:0}.ep-feature.show-full .long{display:block}.ep-feature.show-full .learn-more{display:none}.ep-feature .learn-more:after{content:"\f140";font-family:dashicons;font-size:1.5em;line-height:1;position:relative;top:-.07em;vertical-align:middle}.ep-feature .collapse:after{content:"\f142";font-family:dashicons;font-size:1.5em;line-height:1;position:relative;top:-.07em;vertical-align:middle}.intro h2{line-height:1.2;padding:9px 0 4px 0}.intro h1{color:#626262;font-weight:600;margin:.5em 0 2em;text-align:center}.intro-container{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-box-pack:center;-ms-flex-pack:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;justify-content:center;position:relative;text-align:center}@media (min-width:880px){.intro-container{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}@media (min-width:1270px){.intro-container{margin-left:10%;margin-right:10%}}.intro-container h2{color:#626262;height:8%}.intro-container p{margin-left:auto;margin-right:auto;max-width:300px}.ep-feature-list{display:inline-block;margin:0;text-align:left;vertical-align:top}.ep-feature-list li{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;margin:4px 3px}.ep-feature-list .a11y-tip__help--top[role=tooltip]{font-size:inherit}.ep-feature-info{text-decoration:none}.ep-feature-info .dashicons{font-size:14px;position:relative;top:2px}.intro-box{-webkit-box-flex:2;-ms-flex-positive:2;flex-grow:2;margin-bottom:2em}.intro-container-success{-webkit-box-pack:center;-ms-flex-pack:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;justify-content:center;text-align:center}.intro-container-success p{margin-top:23px;padding:0 35% 0 35%}@media (max-width:880px){.intro-container-success p{margin-top:23px;padding:0 26%}}.ep-config-success span{font-size:6em;padding-right:75px}.setup-complete{font-size:2em;margin-top:0;padding-top:0;width:100%}.setup-complete h2{margin-top:0;padding-top:0}@media (min-width:880px){.ep-copy-text{padding:0 9% 0 9%}}.ep-copy-text a{font-weight:700}.ep-circle{background:#fff;border-radius:50%;color:#626262;display:inline-block;font-size:1pc;font-weight:400;height:6em;line-height:2.8em;margin:0 1em;text-align:center;width:6em}.ep-circle p{border:0;font-size:50px;font-weight:700;line-height:.5em;margin:0}@media (min-width:880px){.ep-circle--first:after{background:#d4d4d4;content:"";height:.2em;left:50%;position:absolute;top:2.9em;-webkit-transform:translateX(-50%);transform:translateX(-50%);width:75%;z-index:-1}}.ep-circle--active{background-color:#d73c38;color:#fff}.wrap.intro{margin-bottom:30px;margin-top:30px;overflow:auto}.wrap.intro .error,.wrap.intro .is-dismissible,.wrap.intro .notice,.wrap.intro .updated{display:none!important}.features-screenshot{display:none}.setup-message{clear:both;text-align:center}.setup-button{-webkit-appearance:none;background-color:#e63e3b;border:none;border-radius:10px;-webkit-box-shadow:1px 1px 3px 1px rgba(0,0,0,.25);box-shadow:1px 1px 3px 1px rgba(0,0,0,.25);color:#fff;display:inline-block;margin:0 .75em;padding:1em 1.5em;text-decoration:none}.setup-button:hover{background-color:#b93431;color:#ffe8ed}.setup-message .setup-button-primary{background-color:#fff;color:#d84440}.weighting-settings .postbox{-webkit-box-sizing:border-box;box-sizing:border-box;max-width:650px}.weighting-settings .postbox *{-webkit-box-sizing:border-box;box-sizing:border-box}.weighting-settings .postbox h2.hndle{color:#444;cursor:inherit}.weighting-settings fieldset{padding:10px}.weighting-settings fieldset legend{float:left;position:relative;top:5px;width:75pt}.weighting-settings fieldset p{display:inline-block;float:left;margin:0}.weighting-settings .field-group{margin:10px 0 0}.weighting-settings .field-group h3{font-size:1em;margin:10px}.weighting-settings .fields>fieldset:nth-of-type(odd){background:#f9f9f9}.weighting-settings .searchable{display:inline-block;width:90pt}.weighting-settings .weighting{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.weighting-settings .weighting label{margin-right:10px;min-width:5pc}.weighting-settings input[type=range]{-webkit-appearance:none;background:transparent;display:inline-block;height:1em;margin:0;vertical-align:middle;width:200px}.weighting-settings input[type=range]:focus{outline:none}.weighting-settings input[type=range]:disabled{opacity:.5;pointer-events:none}.weighting-settings input[type=range]::-webkit-slider-runnable-track{background:#ddd;border:0 solid #000;border-radius:1px;-webkit-box-shadow:0 0 0 #000;box-shadow:0 0 0 #000;cursor:pointer;height:3px;width:100%}.weighting-settings input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background:#1e8cbe;border:1px solid #1e8cbe;border-radius:25px;-webkit-box-shadow:0 0 0 #000;box-shadow:0 0 0 #000;cursor:pointer;height:14px;margin-top:-6px;width:14px}.weighting-settings input[type=range]:focus::-webkit-slider-runnable-track{background:#ddd}.weighting-settings input[type=range]:focus::-webkit-slider-thumb{background:#fff!important}.weighting-settings input[type=range]::-moz-range-track{background:#1e8cbe;border:0 solid #000;border-radius:1px;box-shadow:0 0 0 #000;cursor:pointer;height:3px;width:100%}.weighting-settings input[type=range]::-moz-range-thumb{background:#1e8cbe;border:1px solid #1e8cbe;border-radius:25px;box-shadow:0 0 0 #000;cursor:pointer;height:14px;width:14px}.weighting-settings input[type=range]::-ms-track{background:transparent;border-color:transparent;color:transparent;cursor:pointer;height:3px;width:100%}.weighting-settings input[type=range]::-ms-fill-lower{background:#1e8cbe;border:0 solid #000;border-radius:2px;box-shadow:0 0 0 #000}.weighting-settings input[type=range]::-ms-fill-upper{background:#1e8cbe;border:0 solid #000;border-radius:2px;box-shadow:0 0 0 #000}.weighting-settings input[type=range]::-ms-thumb{background:#a1d0ff;border:1px solid #1e8cbe;border-radius:25px;box-shadow:0 0 0 #000;cursor:pointer;height:14px;margin-top:1px;width:14px}.weighting-settings input[type=range]:focus::-ms-fill-lower{background:#1e8cbe}.weighting-settings input[type=range]:focus::-ms-fill-upper{background:#1e8cbe}.ep-feature-search .wp-color-result.button{margin-bottom:10px}.ep-feature.ep-feature-search .settings .wp-picker-input-wrap>label{margin-right:10px;margin-top:0}.ep-feature.ep-feature-search .settings.wp-picker-input-wrap label{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.ep-feature.ep-feature-search .settings .wp-picker-open+.wp-picker-input-wrap{display:-webkit-box;display:-ms-flexbox;display:flex}@-webkit-keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@media (min-width:880px){.intro .left{float:left;width:30%}.features-screenshot{display:block;float:right;height:auto;margin:0 auto;max-width:750pt;width:70%}.ep-features .left{-webkit-box-sizing:border-box;box-sizing:border-box;display:block;float:left;padding-right:10px;width:50%}.ep-features .right{-webkit-box-sizing:border-box;box-sizing:border-box;display:block;float:right;padding-left:10px;width:50%}.ep-feature .feature-message{display:inline-block;float:left;padding:0;padding-top:.5em;vertical-align:middle}}.wrap h2.nav-tab-wrapper.ep-credentials-tabs{border-bottom:1px solid #ccc}.ep-credentials input[type=text]{min-width:250px}h2 .nav-tab.ep-credentials-tab{cursor:pointer;margin-bottom:-1px}.ep-credentials-tab.nav-tab-active{border-bottom-color:#f1f1f1}.ep-credentials-tab img,.ep-credentials-tab span{display:inline-block;vertical-align:middle}.ep-credentials fieldset{border-bottom:1px solid #ccc;border-left:1px solid #ccc;border-right:1px solid #ccc;margin:0;padding:0 1rem}.ep-credentials fieldset.predefined{border-top:1px solid #ccc}.ep-settings .ep-credentials-general{padding:0 1rem}.ep-settings .button-primary{margin:0 1rem}.ep-settings .description{font-size:.75rem;font-style:italic}@media (min-width:880px){.ep-credentials{display:inline-block}.ep-credentials .form-table{width:auto}.ep-credentials .form-table td,.ep-credentials-general .form-table td{padding-left:0}.ep-credentials .form-table td input,.ep-credentials .form-table td select,.ep-credentials-general .form-table td input,.ep-credentials-general .form-table td select{width:250px}}.ep-flex-container{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;width:100%}.ep-flex-container-nowrap{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}.stats-list{margin-right:0;width:100%}@media (min-width:1270px){.stats-list{background-color:#fff;margin-right:28px;width:37%}}.stats-queries{background-color:#fff;width:100%}@media (min-width:1270px){.stats-queries{width:60%}}.stats-list-th span:last-of-type{border-radius:4px;color:inherit;cursor:pointer;display:inline-block;float:right;font-size:13px;margin-top:-4px;padding:4px 7px;padding-left:23px;position:relative}.status-circle{float:right;text-transform:capitalize}.status-circle:after{border-radius:50%;content:" ";display:inline-block;height:8px;margin-left:10px;margin-top:-2px;vertical-align:middle;width:8px}.green-status{color:#6aa000;color:var(--statusOk)}.yellow-status{color:#e3e600;color:var(--statusWarning)}.red-status{color:red;color:var(--statusError)}.green-status:after{background-color:#6aa000;background-color:var(--statusOk)}.yellow-status:after{background-color:#e3e600;background-color:var(--statusWarning)}.red-status:after{background-color:red;background-color:var(--statusError)}.doc-chart{margin-right:0;width:100%}@media (min-width:880px){.doc-chart{margin-right:24px;width:48%}}@media (min-width:1270px){.doc-chart{margin-right:28px;width:50%}}.ep-qchart-container{margin:0 auto;width:90%}@media (min-width:880px){.ep-qchart-container{width:48%}}@media (min-width:1270px){.ep-qchart-container{margin:0 auto;width:50%}}.inside-totals{padding:0 9pt 9pt}.ep-totals{-webkit-box-orient:vertical;-webkit-box-direction:normal;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:100%}@media (min-width:880px){.ep-totals{width:48%}}@media (min-width:1270px){.ep-totals{width:47%}}.ep-totals .ep-flex-container{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-box-pack:center;-ms-flex-pack:center;-ms-flex-direction:column;flex-direction:column;justify-content:center;margin-bottom:auto;margin-top:auto}@media (min-width:1270px){.ep-totals .ep-flex-container{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}.ep-totals-column{-webkit-box-sizing:border-box;box-sizing:border-box;text-align:center;width:100%}@media (min-width:1270px){.ep-totals-column{width:50%}}p.ep-totals-title{font-weight:bolder;margin-top:28px}p.ep-totals-data{font-size:3em;margin-top:22px}.feature-epio-logo{margin-left:5px;vertical-align:middle} diff --git a/dist/css/facets-admin-styles.asset.php b/dist/css/facets-admin-styles.asset.php new file mode 100644 index 0000000000..11fa3ddcf4 --- /dev/null +++ b/dist/css/facets-admin-styles.asset.php @@ -0,0 +1 @@ + array(), 'version' => '7989bc2ab09c0744ee2d'); diff --git a/dist/css/facets-admin-styles.css b/dist/css/facets-admin-styles.css new file mode 100644 index 0000000000..c816d52d69 --- /dev/null +++ b/dist/css/facets-admin-styles.css @@ -0,0 +1 @@ +.widget-ep-facet label{margin-right:5px} diff --git a/dist/css/facets-styles.asset.php b/dist/css/facets-styles.asset.php new file mode 100644 index 0000000000..b690e389f6 --- /dev/null +++ b/dist/css/facets-styles.asset.php @@ -0,0 +1 @@ + array(), 'version' => '6bf8a1bf958961284a92'); diff --git a/dist/css/facets-styles.css b/dist/css/facets-styles.css new file mode 100644 index 0000000000..836e4b6ea7 --- /dev/null +++ b/dist/css/facets-styles.css @@ -0,0 +1 @@ +:root{--ep-range-slider-background-color:#fff;--ep-range-slider-track-color:#eee}@media (min-width:768px){:root{--ep-range-slider-thumb-size:1.25em;--ep-range-slider-track-size:0.5em}}.widget_ep-facet input[type=search],.wp-block-elasticpress-facet input[type=search]{margin-bottom:1rem}.widget_ep-facet .searchable .inner,.wp-block-elasticpress-facet .searchable .inner{max-height:20em;overflow:scroll}.widget_ep-facet .term.hide,.wp-block-elasticpress-facet .term.hide{display:none}.widget_ep-facet .empty-term,.wp-block-elasticpress-facet .empty-term{opacity:.5;position:relative}.widget_ep-facet .empty-term:after,.wp-block-elasticpress-facet .empty-term:after{bottom:0;content:" ";display:block;left:0;position:absolute;right:0;top:0;width:100%;z-index:2}.widget_ep-facet .level-1,.wp-block-elasticpress-facet .level-1{padding-left:20px}.widget_ep-facet .level-2,.wp-block-elasticpress-facet .level-2{padding-left:40px}.widget_ep-facet .level-3,.wp-block-elasticpress-facet .level-3{padding-left:60px}.widget_ep-facet .level-4,.wp-block-elasticpress-facet .level-4{padding-left:5pc}.widget_ep-facet .level-5,.wp-block-elasticpress-facet .level-5{padding-left:75pt}.widget_ep-facet input[disabled],.wp-block-elasticpress-facet input[disabled]{cursor:pointer;opacity:1}.widget_ep-facet .term a,.wp-block-elasticpress-facet .term a{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;position:relative}.widget_ep-facet .term a:hover .ep-checkbox,.wp-block-elasticpress-facet .term a:hover .ep-checkbox{background-color:#ccc}.ep-checkbox{-webkit-box-align:center;-ms-flex-align:center;-ms-flex-negative:0;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;background-color:#eee;display:-webkit-box;display:-ms-flexbox;display:flex;flex-shrink:0;height:1em;justify-content:center;margin-right:.25em;width:1em}.ep-checkbox:after{border:solid #fff;border-width:0 .125em .125em 0;content:"";display:none;height:.5em;-webkit-transform:rotate(45deg);transform:rotate(45deg);width:.25em}.ep-checkbox.checked{background-color:#5e5e5e}.ep-checkbox.checked:after{display:block}.ep-range-facet{-webkit-box-align:center;-ms-flex-align:center;-ms-grid-columns:1fr -webkit-max-content;-ms-grid-columns:1fr max-content;align-items:center;display:-ms-grid;display:grid;grid-template-columns:1fr -webkit-max-content;grid-template-columns:1fr max-content}.ep-range-facet__slider{grid-column:1/-1}.ep-range-facet__actions{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}.ep-range-slider{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;margin:.5em 0;min-height:var(--ep-range-slider-thumb-size)}.ep-range-slider__track{background:#eee;background:var(--ep-range-slider-track-color);border-radius:calc(var(--ep-range-slider-track-size)/2);height:var(--ep-range-slider-track-size)}.ep-range-slider__track-1{background-color:currentcolor}.ep-range-slider__thumb{background-color:currentcolor;border-radius:calc(var(--ep-range-slider-thumb-size)/2);-webkit-box-shadow:inset 0 0 0 calc(var(--ep-range-slider-thumb-size)/10) currentcolor,inset 0 0 0 calc((var(--ep-range-slider-thumb-size) - var(--ep-range-slider-track-size))/2) #fff;box-shadow:inset 0 0 0 calc(var(--ep-range-slider-thumb-size)/10) currentcolor,inset 0 0 0 calc((var(--ep-range-slider-thumb-size) - var(--ep-range-slider-track-size))/2) #fff;-webkit-box-shadow:inset 0 0 0 calc(var(--ep-range-slider-thumb-size)/10) currentcolor,inset 0 0 0 calc((var(--ep-range-slider-thumb-size) - var(--ep-range-slider-track-size))/2) var(--ep-range-slider-background-color);box-shadow:inset 0 0 0 calc(var(--ep-range-slider-thumb-size)/10) currentcolor,inset 0 0 0 calc((var(--ep-range-slider-thumb-size) - var(--ep-range-slider-track-size))/2) var(--ep-range-slider-background-color);height:var(--ep-range-slider-thumb-size);width:var(--ep-range-slider-thumb-size)} diff --git a/dist/css/highlighting-styles.asset.php b/dist/css/highlighting-styles.asset.php new file mode 100644 index 0000000000..02601f713f --- /dev/null +++ b/dist/css/highlighting-styles.asset.php @@ -0,0 +1 @@ + array(), 'version' => '252562c4ed9241547293'); diff --git a/dist/css/highlighting-styles.css b/dist/css/highlighting-styles.css new file mode 100644 index 0000000000..9a18e84516 --- /dev/null +++ b/dist/css/highlighting-styles.css @@ -0,0 +1 @@ +.ep-highlight{background-color:transparent;font-style:italic;font-weight:700} diff --git a/dist/css/instant-results-styles.asset.php b/dist/css/instant-results-styles.asset.php new file mode 100644 index 0000000000..19775ef66d --- /dev/null +++ b/dist/css/instant-results-styles.asset.php @@ -0,0 +1 @@ + array(), 'version' => '8acd22f6c3e3ceab6922'); diff --git a/dist/css/instant-results-styles.css b/dist/css/instant-results-styles.css new file mode 100644 index 0000000000..0ce90cc7d4 --- /dev/null +++ b/dist/css/instant-results-styles.css @@ -0,0 +1 @@ +.ep-search-reset-button{font:inherit!important;height:auto!important;letter-spacing:inherit!important;line-height:1!important;margin:0!important;padding:0!important;text-align:inherit!important;text-transform:inherit!important;width:auto!important}.ep-search-reset-button,.ep-search-reset-button:focus,.ep-search-reset-button:hover{background:transparent!important;border:none!important;-webkit-box-shadow:none!important;box-shadow:none!important;color:inherit!important;cursor:default!important}.ep-search-reset-button:focus{outline:medium auto Highlight!important;outline:medium auto -webkit-focus-ring-color!important;outline-offset:0!important}.ep-search-small-button{font-size:.875em!important;height:auto!important;line-height:1!important;padding:.5em!important}.ep-search-icon-button{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:justify;-ms-flex-pack:justify;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;justify-content:space-between}.ep-search-icon-button svg{fill:currentcolor;-ms-flex-negative:0;flex-shrink:0;height:1em;width:1em}.ep-search-checkbox__count:before{content:"("}.ep-search-checkbox__count:after{content:")"}.ep-search-input{margin:0!important}.ep-search-input{font-size:1.25em;width:100%}.has-ep-search-modal{overflow:hidden}.ep-search-modal{--ep-search-modal-focus-within:0;background-color:rgba(43,46,56,.9);bottom:0;display:-webkit-box;display:-ms-flexbox;display:flex;left:0;position:fixed;right:0;top:0;z-index:9999}.rtl .ep-search-modal{direction:rtl;text-align:right}.admin-bar .ep-search-modal{top:2pc}@media (max-width:782px){.admin-bar .ep-search-modal{top:46px}}.ep-search-modal[aria-hidden=true]{display:none}.ep-search-modal[focus-within]{--ep-search-modal-focus-within:1}.ep-search-modal:focus-within{--ep-search-modal-focus-within:1}.ep-search-modal__content{-webkit-box-orient:vertical;-webkit-box-direction:normal;background-color:#fff;background-color:var(--ep-search-background-color);bottom:0;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;left:0;position:absolute;right:0;top:0}@media (min-width:768px){.ep-search-modal__content{bottom:1em;margin:0 auto;max-width:calc(100% - 2em);top:1em;width:80em}}.ep-search-modal__close{padding:1em!important}.ep-search-modal__close{-ms-flex-item-align:end;align-self:flex-end}.ep-search-options-list{list-style:none;margin:0;padding:0}.ep-search-options-list__item{margin:.5em 0}.ep-search-options-list__item:before{content:none}.ep-search-options-list__sub-menu{padding-left:1em}.ep-search-page{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-box-flex:2;-ms-flex-positive:2;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;flex-grow:2;margin:0;overflow-y:auto;-webkit-transition:opacity .3s ease-out;transition:opacity .3s ease-out;width:100%}@media (min-width:768px){.ep-search-page{overflow:hidden}}.ep-search-page *,.ep-search-page :after,.ep-search-page :before{-webkit-box-sizing:border-box;box-sizing:border-box}.ep-search-page.is-loading{opacity:.5}.ep-search-page__body,.ep-search-page__header,.ep-search-page__tools{padding:0 1em}@media (min-width:768px){.ep-search-page__body{-webkit-box-align:start;-ms-flex-align:start;-webkit-box-flex:2;-ms-flex-positive:2;align-items:flex-start;display:-webkit-box;display:-ms-flexbox;display:flex;flex-grow:2;overflow:hidden}}.ep-search-panel{border:1px solid #dfdfdf;border:1px solid var(--ep-search-border-color);margin:0;padding:0}.ep-search-panel+.ep-search-panel{border-top-width:0}.ep-search-panel__heading{font-size:inherit;margin:0}.ep-search-panel__button{padding:1em!important;width:100%!important}.ep-search-panel__content{padding:0 1em 1em 1em}.ep-search-panel__content[aria-hidden=true]{display:none}.ep-search-pagination{-webkit-box-align:center;-ms-flex-align:center;-ms-grid-columns:1fr 1fr 1fr;align-items:center;display:-ms-grid;display:grid;grid-template-columns:1fr 1fr 1fr;margin-top:auto;text-align:center}.rtl .ep-search-pagination{direction:rtl}.ep-search-pagination__next{-ms-grid-column-align:end;justify-self:end}.ep-search-pagination__previous{-ms-grid-column-align:start;justify-self:start}.ep-search-pagination-button[disabled]{visibility:hidden}.ep-search-range-slider{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;margin:.5em 0;min-height:1.625em;min-height:var(--ep-search-range-thumb-size)}.ep-search-range-slider__track{background:#efefef;background:var(--ep-search-alternate-background-color);border-radius:.375em;border-radius:calc(var(--ep-search-range-track-size)/2);height:.75em;height:var(--ep-search-range-track-size)}.ep-search-range-slider__track-1{background-color:currentcolor}.ep-search-range-slider__thumb{background-color:currentcolor;border-radius:.8125em;border-radius:calc(var(--ep-search-range-thumb-size)/2);-webkit-box-shadow:inset 0 0 0 .1625em currentcolor,inset 0 0 0 .4375em #fff;box-shadow:inset 0 0 0 .1625em currentcolor,inset 0 0 0 .4375em #fff;-webkit-box-shadow:inset 0 0 0 calc(var(--ep-search-range-thumb-size)/10) currentcolor,inset 0 0 0 calc((var(--ep-search-range-thumb-size) - var(--ep-search-range-track-size))/2) var(--ep-search-background-color);box-shadow:inset 0 0 0 calc(var(--ep-search-range-thumb-size)/10) currentcolor,inset 0 0 0 calc((var(--ep-search-range-thumb-size) - var(--ep-search-range-track-size))/2) var(--ep-search-background-color);height:1.625em;height:var(--ep-search-range-thumb-size);width:1.625em;width:var(--ep-search-range-thumb-size)}.ep-search-result{-webkit-box-align:start;-ms-flex-align:start;grid-gap:.5em;-ms-grid-rows:auto .5em 1fr;align-items:flex-start;display:-ms-grid;display:grid;grid-template-areas:"header" "footer";grid-template-rows:auto 1fr}@media (min-width:768px){.ep-search-result{grid-gap:1em;-ms-grid-rows:auto 1em auto 1em 1fr;grid-template-areas:"header" "description" "footer";grid-template-rows:auto auto 1fr}}.ep-search-result--has-thumbnail{-ms-grid-columns:min(300px,34%) auto;grid-template-areas:"thumbnail header" "thumbnail footer";grid-template-columns:min(300px,34%) auto}@media (min-width:768px){.ep-search-result--has-thumbnail{grid-template-areas:"thumbnail header" "thumbnail description" "thumbnail footer"}}.ep-search-result__thumbnail{-ms-grid-row-span:2;display:block;grid-area:thumbnail;-ms-grid-column:1;-ms-grid-row:1}.ep-search-result__thumbnail img{display:block;height:auto;margin:0;width:100%}.ep-search-result__header{grid-gap:.5em;-ms-grid-columns:auto;display:-ms-grid;display:grid;grid-area:header;-ms-grid-column:1;-ms-grid-row:1;grid-template-columns:auto;justify-items:start}.ep-search-result--has-thumbnail>.ep-search-result__header{-ms-grid-column:2;-ms-grid-row:1}.ep-search-result__title{font-size:1em;margin:0}@media (min-width:768px){.ep-search-result__title{font-size:1.25em}}.ep-search-result__type{background-color:#efefef;background-color:var(--ep-search-alternate-background-color);border-radius:.25em;display:inline-block;font-size:.875em;line-height:1.5;padding:0 .25em;vertical-align:text-bottom}.ep-search-result__description{display:none;font-size:.875em;grid-area:description;margin:0}@media (min-width:768px){.ep-search-result__description{display:block;font-size:1em}}.ep-search-result__footer{grid-gap:.5em;display:-ms-grid;display:grid;grid-area:footer;-ms-grid-column:1;-ms-grid-row:3;justify-items:start}.ep-search-result--has-thumbnail>.ep-search-result__footer{-ms-grid-column:2;-ms-grid-row:2}@media (min-width:768px){.ep-search-result__thumbnail{-ms-grid-row-span:3;-ms-grid-column:1;-ms-grid-row:1}.ep-search-result__header{-ms-grid-column:1;-ms-grid-row:1}.ep-search-result--has-thumbnail>.ep-search-result__header{-ms-grid-column:2;-ms-grid-row:1}.ep-search-result__description{-ms-grid-column:1;-ms-grid-row:3}.ep-search-result__description{-ms-grid-column:2;-ms-grid-row:2}.ep-search-result__footer{-ms-grid-column:1;-ms-grid-row:5}.ep-search-result--has-thumbnail>.ep-search-result__footer{-ms-grid-column:2;-ms-grid-row:3}}.ep-search-results{-webkit-box-orient:vertical;-webkit-box-direction:normal;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:2em;padding:0 0 1em 0;width:100%}@media (min-width:768px){.ep-search-results{height:100%;overflow-y:auto;padding:0 1em 1em 1em}}.ep-search-results__header{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:justify;-ms-flex-pack:justify;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;gap:1em;justify-content:space-between}.ep-search-results__title{margin:0!important}.ep-search-results__title{font-size:1.25em}@media (min-width:768px){.ep-search-results__title{font-size:1.5em}}.ep-search-sidebar{display:none;margin-bottom:2em}.ep-search-sidebar.is-open{display:block}@media (min-width:768px){.ep-search-sidebar{display:block;max-height:calc(100% - 1em);min-width:25%;overflow-y:auto}}.ep-search-sidebar-toggle{width:100%}@media (min-width:768px){.ep-search-sidebar-toggle{display:none}}.ep-search-sort{-ms-flex-negative:0;flex-shrink:0;gap:.5em;margin:0}.ep-search-results .ep-search-sort{display:none}@media (min-width:768px){.ep-search-results .ep-search-sort{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}}.ep-search-sidebar .ep-search-sort{-webkit-box-orient:vertical;-webkit-box-direction:normal;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin-bottom:1em}@media (min-width:768px){.ep-search-sidebar .ep-search-sort{display:none}}.ep-search-toolbar .ep-search-tokens{display:contents}.ep-search-toolbar{-webkit-box-align:start;-ms-flex-align:start;align-items:start;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:.25em;margin:1em 0}@media (min-width:768px){.ep-search-toolbar{-webkit-box-align:center;-ms-flex-align:center;align-items:center}}:root{--ep-search-background-color:#fff;--ep-search-alternate-background-color:#efefef;--ep-search-border-color:#dfdfdf;--ep-search-range-thumb-size:1.625em;--ep-search-range-track-size:0.75em}@media (min-width:768px){:root{--ep-search-range-thumb-size:1.25em;--ep-search-range-track-size:0.5em}} diff --git a/dist/css/ordering-styles.asset.php b/dist/css/ordering-styles.asset.php new file mode 100644 index 0000000000..bd0a617ae6 --- /dev/null +++ b/dist/css/ordering-styles.asset.php @@ -0,0 +1 @@ + array(), 'version' => '7003d0cf98f8859c7fbe'); diff --git a/dist/css/ordering-styles.css b/dist/css/ordering-styles.css new file mode 100644 index 0000000000..fa5543f4f0 --- /dev/null +++ b/dist/css/ordering-styles.css @@ -0,0 +1 @@ +#ep-ordering{border-left-width:0;border-right-width:0}#ep-ordering .inside{background-color:#f1f1f1;margin:0;padding:0}#ep-ordering .loading,#ep-ordering .pointer-search,#ep-ordering .pointers{background-color:#fff;border-left:1px solid #eee;border-right:1px solid #eee}#ep-ordering .new-post{background:#fff;padding:0 1em}#ep-ordering .loading{padding:1em}#ep-ordering .loading .spinner{float:left;margin-left:0;margin-top:0}#ep-ordering .pointer-type{border:2px solid #0073aa;border-radius:2px;color:#0073aa;display:inline-block;font-size:.75em;font-weight:700;margin-right:8px;padding:1px 2px}#ep-ordering .pointers .pointer,#ep-ordering .pointers .post{padding:1em}#ep-ordering .pointers .pointer:nth-child(odd),#ep-ordering .pointers .post:nth-child(odd){background-color:#f9f9f9}#ep-ordering .pointers .title{color:#0073aa}#ep-ordering .pointers .pointer-actions{float:right}#ep-ordering .pointers .pointer-actions .handle{cursor:move}#ep-ordering .pointers .pointer-actions .delete-pointer{margin-left:10px}#ep-ordering .pointers .next-page-notice{background-color:#fdeeca;padding:1em 0;text-align:center}#ep-ordering .legend{background:#fff;border-bottom:1px solid #eee;padding:1em 0;text-align:center}#ep-ordering .legend-item{display:inline-block;font-size:.875em;font-style:italic;margin:0 .5em}#ep-ordering .pointer-search{margin-top:2em}#ep-ordering .pointer-search .no-results{padding:1em}#ep-ordering .pointer-search .section-title{border-bottom:1px solid #eee;border-top:1px solid #eee;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);font-weight:700}#ep-ordering .pointer-search .search-wrapper{padding:1em 0}#ep-ordering .pointer-search .input-wrap{padding:0 1em}#ep-ordering .pointer-search .search-pointers{font-size:18px;height:1.7em;line-height:100%;padding:3px 8px}#ep-ordering .pointer-search .pointer-results{padding:1em 0 0}#ep-ordering .pointer-search .pointer-result{padding:10px 2em}#ep-ordering .pointer-search .pointer-result .dashicons{float:right}#ep-ordering .pointer-search .pointer-result:hover{background-color:#f9f9f9}#ep-ordering .add-pointer,#ep-ordering .delete-pointer{cursor:pointer} diff --git a/dist/css/related-posts-block-styles.asset.php b/dist/css/related-posts-block-styles.asset.php new file mode 100644 index 0000000000..6f7c2b9c7e --- /dev/null +++ b/dist/css/related-posts-block-styles.asset.php @@ -0,0 +1 @@ + array(), 'version' => '19b2ed20dbc243869cf4'); diff --git a/dist/css/related-posts-block-styles.css b/dist/css/related-posts-block-styles.css new file mode 100644 index 0000000000..7addbc46ae --- /dev/null +++ b/dist/css/related-posts-block-styles.css @@ -0,0 +1 @@ +.editor-styles-wrapper .wp-block-elasticpress-related-posts ul,.wp-block-elasticpress-related-posts ul{list-style-type:none;padding:0}.editor-styles-wrapper .wp-block-elasticpress-related-posts ul li a>div{display:inline} diff --git a/dist/css/status-report-styles.asset.php b/dist/css/status-report-styles.asset.php new file mode 100644 index 0000000000..3a83193fce --- /dev/null +++ b/dist/css/status-report-styles.asset.php @@ -0,0 +1 @@ + array(), 'version' => '49b53acbe7c9ad3027f7'); diff --git a/dist/css/status-report-styles.css b/dist/css/status-report-styles.css new file mode 100644 index 0000000000..7778efd8ae --- /dev/null +++ b/dist/css/status-report-styles.css @@ -0,0 +1 @@ +.ep-status-report{max-width:50pc}.ep-status-report .components-panel{margin-bottom:1rem}.ep-status-report .components-notice{margin:0}.ep-status-report table{table-layout:fixed}.ep-status-report table col:first-of-type{width:40%}.ep-status-report table td,.ep-status-report table th{line-height:1.5}.ep-status-report table small{display:block}.ep-status-report table pre{margin:0;overflow-x:scroll}.ep-copy-button-wrapper{margin:.5rem 0 1rem}.ep-copy-button-wrapper__success{color:#008a20;display:none;margin-left:.5rem} diff --git a/dist/css/sync-styles.asset.php b/dist/css/sync-styles.asset.php new file mode 100644 index 0000000000..24a54638d6 --- /dev/null +++ b/dist/css/sync-styles.asset.php @@ -0,0 +1 @@ + array(), 'version' => '01e63ef05c198b42f553'); diff --git a/dist/css/sync-styles.css b/dist/css/sync-styles.css new file mode 100644 index 0000000000..d937aa19d7 --- /dev/null +++ b/dist/css/sync-styles.css @@ -0,0 +1 @@ +.ep-sync-button.components-button.has-icon.has-text{-webkit-box-pack:center;-ms-flex-pack:center;height:4rem;justify-content:center;width:100%}.ep-sync-button.components-button.has-icon.has-text svg{height:2em;margin:0;width:2em}.ep-sync-button--sync{font-size:1.5em;font-weight:700}.ep-sync-button--pause,.ep-sync-button--resume,.ep-sync-button--stop{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.ep-sync-controls{grid-gap:1em;-ms-grid-columns:1fr 1fr;display:-ms-grid;display:grid;grid-template-columns:1fr 1fr;margin:0 auto;max-width:16rem}.ep-sync-controls__sync{grid-column:1/-1}.ep-sync-controls__learn-more{grid-column:1/-1;text-align:center}.wrap .ep-sync-heading{font-weight:400;margin:.5rem 0 .75rem;padding:0}.wrap h2.ep-sync-heading{color:inherit}.ep-sync-messages{-ms-flex-line-pack:start;-ms-grid-columns:-webkit-min-content auto;-ms-grid-columns:min-content auto;align-content:start;background:#1a1e24;background:var(--ep-sync-color-black);color:#fff;color:var(--ep-sync-color-white);display:-ms-grid;display:grid;font-family:monospace;grid-auto-flow:column;grid-template-columns:-webkit-min-content auto;grid-template-columns:min-content auto;height:21em;line-height:2;overflow-y:auto;white-space:pre-wrap}.ep-sync-messages__message{-ms-grid-column:2;grid-column:2}.ep-sync-messages__line-number{-webkit-box-sizing:content-box;box-sizing:content-box;min-width:3ch;opacity:.5;padding:0 .5em;text-align:right}.ep-sync-panel{margin-bottom:2rem;max-width:75pc}.ep-sync-panel__body{grid-column-gap:2rem;grid-row-gap:1rem;-ms-grid-columns:auto 16rem;display:-ms-grid;display:grid;grid-template-columns:auto 16rem}.ep-sync-panel__body.is-opened{padding:2rem 2rem 1rem 2rem}.ep-sync-panel__body .components-tab-panel__tab-content,.ep-sync-panel__body .components-toggle-control,.ep-sync-panel__body p{margin-bottom:1rem;margin-top:0}@media (max-width:960px){.ep-sync-panel__body{-ms-grid-columns:100%;grid-template-columns:100%}}.ep-sync-panel__row{grid-column:1/-1}.ep-sync-panel__introduction{font-size:18px}@-webkit-keyframes epSyncRotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes epSyncRotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.ep-sync-progress{-webkit-box-align:center;-ms-flex-align:center;grid-row-gap:1rem;-ms-grid-columns:-webkit-min-content minmax(-webkit-max-content,1fr) 3fr;-ms-grid-columns:min-content minmax(max-content,1fr) 3fr;align-items:center;display:-ms-grid;display:grid;grid-template-columns:-webkit-min-content minmax(-webkit-max-content,1fr) 3fr;grid-template-columns:min-content minmax(max-content,1fr) 3fr;margin-bottom:1rem}@media (max-width:960px){.ep-sync-progress{-ms-grid-columns:-webkit-min-content auto;-ms-grid-columns:min-content auto;grid-template-columns:-webkit-min-content auto;grid-template-columns:min-content auto}}.ep-sync-progress svg{-webkit-animation:epSyncRotation 1.5s linear infinite;animation:epSyncRotation 1.5s linear infinite;-webkit-animation-play-state:paused;animation-play-state:paused;height:36px;margin-right:9pt;width:36px}.ep-sync-progress--syncing svg{-webkit-animation-play-state:running;animation-play-state:running}.ep-sync-progress__details strong{display:block;font-size:14px}@media (max-width:960px){.ep-sync-progress__progress-bar{grid-column:1/-1}}.ep-sync-progress-bar{background:#f0f0f0;background:var(--ep-sync-color-light-grey);display:-webkit-box;display:-ms-flexbox;display:flex;overflow:hidden;text-align:center}.ep-sync-progress-bar,.ep-sync-progress-bar__progress{border-radius:.875em}.ep-sync-progress-bar__progress{background:var(--wp-admin-theme-color);color:#fff;color:var(--ep-sync-color-white);padding:0 .875em;-webkit-transition:all .5s ease-in-out;transition:all .5s ease-in-out;white-space:nowrap}.ep-sync-progress-bar--complete .ep-sync-progress-bar__progress{background:#46b450;background:var(--ep-sync-color-success)}.ep-sync-progress-bar--paused .ep-sync-progress-bar__progress{opacity:.5}.ep-sync-progress-bar--failed .ep-sync-progress-bar__progress{background:#b52727;background:var(--ep-sync-color-error)}.ep-sync-status{-webkit-box-align:center;-ms-flex-align:center;grid-gap:.5rem;-ms-grid-columns:-webkit-min-content auto;-ms-grid-columns:min-content auto;align-items:center;display:-ms-grid;display:grid;grid-template-columns:-webkit-min-content auto;grid-template-columns:min-content auto}.ep-sync-status svg{fill:#b52727;fill:var(--ep-sync-color-error)}.ep-sync-status--success svg{fill:#46b450;fill:var(--ep-sync-color-success)}.ep-sync-status__time{background-color:#f0f0f0;background-color:var(--ep-sync-color-light-grey);border-radius:2px;padding:.25em .5em}.ep-sync-warning{grid-gap:.5rem;-ms-grid-columns:-webkit-min-content auto;-ms-grid-columns:min-content auto;display:-ms-grid;display:grid;grid-template-columns:-webkit-min-content auto;grid-template-columns:min-content auto}.ep-sync-warning svg{fill:#ffb359;fill:var(--ep-sync-color-warning);margin-top:-3px}:root{--ep-sync-color-black:#1a1e24;--ep-sync-color-error:#b52727;--ep-sync-color-light-grey:#f0f0f0;--ep-sync-color-success:#46b450;--ep-sync-color-warning:#ffb359;--ep-sync-color-white:#fff} diff --git a/dist/css/synonyms-styles.asset.php b/dist/css/synonyms-styles.asset.php new file mode 100644 index 0000000000..ae3482984c --- /dev/null +++ b/dist/css/synonyms-styles.asset.php @@ -0,0 +1 @@ + array(), 'version' => 'fade9c482d926456c06b'); diff --git a/dist/css/synonyms-styles.css b/dist/css/synonyms-styles.css new file mode 100644 index 0000000000..0ad97e83fe --- /dev/null +++ b/dist/css/synonyms-styles.css @@ -0,0 +1 @@ +:root{--ep-synonyms-input-border-color:#ccc;--ep-synonyms-color-black:#1a1e24;--ep-synonyms-color-error:#b52727}html.wp-toolbar{background:transparent}#synonym-root .page-title-action{margin-left:10px}#synonym-root .postbox .hndle{cursor:default}#synonym-root h2{color:#1a1e24;color:var(--ep-synonyms-color-black)}.synonym-editor .postbox{width:100%}.synonym-editor .postbox>.hndle{display:-webkit-box;display:-ms-flexbox;display:flex}.synonym-alternative-editor,.synonym-set-editor{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;display:-webkit-box;display:-ms-flexbox;display:flex}.synonym-alternative-editor .components-form-token-field,.synonym-set-editor .components-form-token-field{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-bottom:.5em}.synonym-alternative-editor .components-form-token-field__label,.synonym-set-editor .components-form-token-field__label{display:none}.synonym-alternative-editor .components-form-token-field__input-container,.synonym-set-editor .components-form-token-field__input-container{border-color:#ccc;border-color:var(--ep-synonyms-input-border-color);-webkit-box-sizing:border-box;box-sizing:border-box}.synonym-alternative-editor .components-form-token-field__token-text,.synonym-set-editor .components-form-token-field__token-text{padding-bottom:1px;padding-top:1px}@media screen and (max-width:782px){.synonym-alternative-editor .components-form-token-field__token-text,.synonym-set-editor .components-form-token-field__token-text{padding-bottom:3px;padding-top:3px}}.synonym-alternative-editor input.components-form-token-field__input[type=text],.synonym-set-editor input.components-form-token-field__input[type=text]{margin-bottom:2px;margin-top:2px}@media screen and (max-width:782px){.synonym-alternative-editor input.components-form-token-field__input[type=text],.synonym-set-editor input.components-form-token-field__input[type=text]{min-height:30px}}.synonym-alternative-editor .components-form-token-field__help,.synonym-set-editor .components-form-token-field__help{margin-top:0}input[type=text].ep-synonyms__input{border:1px solid #ccc;border:1px solid var(--ep-synonyms-input-border-color);margin-bottom:.5em;margin-right:1em;min-height:36px;width:10em}@media screen and (max-width:782px){input[type=text].ep-synonyms__input{min-height:40px}}.synonym-alternatives__primary-heading{width:11em}.synonym-alternatives__input-heading{-webkit-box-flex:1;-ms-flex:1;flex:1}button.synonym__remove{background-color:transparent;border:none;color:#b52727;color:var(--ep-synonyms-color-error);cursor:pointer;margin:0 0 0 10px;min-height:36px;padding:0}@media screen and (max-width:782px){button.synonym__remove{min-height:40px}}button.synonym__remove .dashicons-dismiss{margin:-2px 2px 0 0}.synonym__validation:before{-ms-flex-preferred-size:100%;content:"";flex-basis:100%;height:0}.synonym-solr-editor__validation p,.synonym__validation{color:#b52727;color:var(--ep-synonyms-color-error);font-style:italic}.synonym__validation{margin:0 0 .625em .5em}.synonym-btn-group button.button{margin-right:.625em} diff --git a/dist/css/woocommerce-order-search-styles.asset.php b/dist/css/woocommerce-order-search-styles.asset.php new file mode 100644 index 0000000000..717e072818 --- /dev/null +++ b/dist/css/woocommerce-order-search-styles.asset.php @@ -0,0 +1 @@ + array(), 'version' => '85fbf9ece6db6993ef3d'); diff --git a/dist/css/woocommerce-order-search-styles.css b/dist/css/woocommerce-order-search-styles.css new file mode 100644 index 0000000000..320f3bbc91 --- /dev/null +++ b/dist/css/woocommerce-order-search-styles.css @@ -0,0 +1 @@ +:root{--ep-combobox-list-background:#fff;--ep-combobox-list-background-selected:#f5f5f5;--ep-combobox-list-border:#8c8f94}.ep-combobox{display:contents}.ep-combobox__list{background-color:#fff;background-color:var(--ep-combobox-list-background);border:1px solid #8c8f94;border:1px solid var(--ep-combobox-list-border);border-radius:4px;-webkit-box-shadow:0 2px 6px rgba(0,0,0,.05);box-shadow:0 2px 6px rgba(0,0,0,.05);-webkit-box-sizing:border-box;box-sizing:border-box;display:none;margin:4px 0 0;overflow:hidden;padding:4px;position:absolute;top:100%;width:100%;z-index:1}.ep-combobox__input[aria-expanded=true]~.ep-combobox__list{display:block}.ep-combobox__option{border:var(--wp-admin-border-width-focus) solid transparent;border-radius:4px;margin:0;padding:6px}.ep-combobox__option:hover{background-color:#f5f5f5;background-color:var(--ep-combobox-list-background-selected);cursor:pointer}.ep-combobox__option[aria-selected=true]{border-color:var(--wp-admin-theme-color)}.ep-suggestion{font-size:smaller}.ep-suggestion__header{margin-bottom:1ch}.ep-suggestion__title{display:block;font-size:small;font-weight:600}[aria-selected=true] .ep-suggestion__title{color:var(--wp-admin-theme-color)}.ep-suggestion__footer{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:justify;-ms-flex-pack:justify;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;justify-content:space-between}.ep-suggestion__footer .order-status{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:0}#posts-filter .search-box{position:relative}#ep-woocommerce-order-search{display:contents} diff --git a/dist/js/admin-script.asset.php b/dist/js/admin-script.asset.php new file mode 100644 index 0000000000..51a6d81ca0 --- /dev/null +++ b/dist/js/admin-script.asset.php @@ -0,0 +1 @@ + array('wp-dom-ready'), 'version' => 'f0e65db25600e12c518a'); diff --git a/dist/js/admin-script.js b/dist/js/admin-script.js new file mode 100644 index 0000000000..25d99fa539 --- /dev/null +++ b/dist/js/admin-script.js @@ -0,0 +1 @@ +!function(){"use strict";var e={n:function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,{a:t}),t},d:function(n,t){for(var o in t)e.o(t,o)&&!e.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:t[o]})},o:function(e,n){return Object.prototype.hasOwnProperty.call(e,n)}},n=window.wp.domReady;e.n(n)()((()=>{const e=document.getElementById("ep-wp-header-end"),n=document.querySelectorAll("div.update-nag");for(const t of n)e.after(t)}))}(); \ No newline at end of file diff --git a/dist/js/autosuggest-script.asset.php b/dist/js/autosuggest-script.asset.php new file mode 100644 index 0000000000..486fb73302 --- /dev/null +++ b/dist/js/autosuggest-script.asset.php @@ -0,0 +1 @@ + array('wp-hooks'), 'version' => '0d438134ad0d7572e118'); diff --git a/dist/js/autosuggest-script.js b/dist/js/autosuggest-script.js new file mode 100644 index 0000000000..6b47321bcc --- /dev/null +++ b/dist/js/autosuggest-script.js @@ -0,0 +1 @@ +!function(){"use strict";var e=window.wp.hooks;window.addEventListener("load",(()=>{"undefined"!==typeof window.epDataFilter&&(0,e.addFilter)("ep.Autosuggest.data","ep/epDatafilter",window.epDatafilter),"undefined"!==typeof window.epAutosuggestItemHTMLFilter&&(0,e.addFilter)("ep.Autosuggest.itemHTML","ep/epAutosuggestItemHTMLFilter",window.epAutosuggestItemHTMLFilter),"undefined"!==typeof window.epAutosuggestListItemsHTMLFilter&&(0,e.addFilter)("ep.Autosuggest.listHTML","ep/epAutosuggestListItemsHTMLFilter",window.epAutosuggestListItemsHTMLFilter),"undefined"!==typeof window.epAutosuggestQueryFilter&&(0,e.addFilter)("ep.Autosuggest.query","ep/epAutosuggestQueryFilter",window.epAutosuggestQueryFilter),"undefined"!==typeof window.epAutosuggestElementFilter&&(0,e.addFilter)("ep.Autosuggest.element","ep/epAutosuggestElementFilter",window.epAutosuggestElementFilter)}));var t={randomUUID:"undefined"!==typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let s;const o=new Uint8Array(16);function n(){if(!s&&(s="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!s))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return s(o)}const r=[];for(let e=0;e<256;++e)r.push((e+256).toString(16).slice(1));function i(e,t=0){return(r[e[t+0]]+r[e[t+1]]+r[e[t+2]]+r[e[t+3]]+"-"+r[e[t+4]]+r[e[t+5]]+"-"+r[e[t+6]]+r[e[t+7]]+"-"+r[e[t+8]]+r[e[t+9]]+"-"+r[e[t+10]]+r[e[t+11]]+r[e[t+12]]+r[e[t+13]]+r[e[t+14]]+r[e[t+15]]).toLowerCase()}var a=function(e,s,o){if(t.randomUUID&&!s&&!e)return t.randomUUID();const r=(e=e||{}).random||(e.rng||n)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,s){o=o||0;for(let e=0;e<16;++e)s[o+e]=r[e];return s}return i(r)};const u=(e,t)=>{let s=null;return function(...o){const n=this;window.clearTimeout(s),s=window.setTimeout((()=>{e.apply(n,o)}),t)}},c=(e,t)=>{for(;(e=e.parentElement)&&!e.classList.contains(t););return e},{epas:l}=window;function d(e,t){t.setAttribute("aria-activedescendant",e)}function p(e,t){!function(e){const t=new CustomEvent("ep-autosuggest-click",{detail:e});if(window.dispatchEvent(t),e.searchTerm&&1===parseInt(l.triggerAnalytics,10)&&"function"===typeof gtag){const t=`click - ${e.searchTerm}`;gtag("event",t,{event_category:"EP :: Autosuggest",event_label:e.url,transport_type:"beacon"})}}({searchTerm:e,url:t}),window.location.href=t}function g(t,s){if("navigate"===l.action){return(0,e.applyFilters)("ep.Autosuggest.navigateCallback",p)(t.value,s.dataset.url)}return function(e,t){e.value=t}(t,s.innerText),function(e){e.closest("form").submit()}(t)}function f(e,t,{query:s}){const o=(n=t,r=e,s.replace(new RegExp((e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))(n),"g"),r));var n,r;return o}async function h(t,s){const o={body:t,method:"POST",mode:"cors",headers:{"Content-Type":"application/json; charset=utf-8"}};l?.http_headers&&"object"===typeof l.http_headers&&Object.keys(l.http_headers).forEach((e=>{o.headers[e]=l.http_headers[e]})),l.addSearchTermHeader&&(o.headers["EP-Search-Term"]=encodeURI(s));const n=(t=>{const s=a().replaceAll("-","");return(0,e.applyFilters)("ep.requestId",t+s)})(l?.requestIdBase||"");n&&(o.headers["X-ElasticPress-Request-ID"]=n);try{const t=await fetch(l.endpointUrl,(0,e.applyFilters)("ep.Autosuggest.fetchOptions",o));if(!t.ok)throw Error(t.statusText);const n=await t.json();return(0,e.applyFilters)("ep.Autosuggest.data",n,s)}catch(e){return console.error(e),e}}function m(t,s){let o="";const{value:n}=s,r=c(s,"ep-autosuggest-container").querySelector(".ep-autosuggest"),i=r.querySelector(".autosuggest-list");for(;i.firstChild;)i.removeChild(i.firstChild);t.length>0?r.style="display: block;":r.style="display: none;";const a=t.length;for(let s=0;a>s;++s){const r=t[s],i=r._source.post_title,a=r._source.permalink,u=i.replace(/\\([\s\S])|(")/g,"""),c=n.trim().split(" ");let d=u;if(l.highlightingEnabled){const e=new RegExp(`\\b(${c.join("|")})`,"gi");d=d.replace(e,(e=>`<${l.highlightingTag} class="${l.highlightingClass} ep-autosuggest-highlight">${e}`))}let p=`
  • \n\t\t\t\t\n\t\t\t\t\t${d}\n\t\t\t\t\n\t\t\t
  • `;p=(0,e.applyFilters)("ep.Autosuggest.itemHTML",p,r,s,n),o+=p}return o=(0,e.applyFilters)("ep.Autosuggest.listHTML",o,t,s),i.innerHTML=o,i.addEventListener("click",(e=>{e.preventDefault();const t=e.target.closest(".autosuggest-link");i.contains(t)&&g(s,t)})),!0}function y(){const e=document.querySelectorAll(".autosuggest-list"),t=document.querySelectorAll(".ep-autosuggest");return e.forEach((e=>{for(;e.firstChild;)e.removeChild(e.firstChild)})),t.forEach((e=>{e.style="display: none;"})),!0}function w(e,t){const s=t.closest("form");e?s.classList.add("is-loading"):s.classList.remove("is-loading")}l.endpointUrl&&""!==l.endpointUrl&&(!function(){const t=[l.defaultSelectors,l.selector].filter(Boolean).join(",");if(!t)return;let s,o;const n=[38,40,13],r=e=>{if(!n.includes(e.keyCode))return;const t=e.target,s=c(t,"ep-autosuggest-container").querySelector(".autosuggest-list").children,r=()=>Array.from(s).findIndex((e=>e.classList.contains("selected"))),i=()=>{Array.from(s).forEach((e=>{e.classList.remove("selected"),e.setAttribute("aria-selected","false")}))},a=()=>{if(o>=0){const e=s[o];e.classList.add("selected"),e.setAttribute("aria-selected","true"),d(e.id,t)}};switch(e.keyCode){case 38:o=o-1>=0?o-1:0,i();break;case 40:if("undefined"===typeof o)o=0;else{const e=r();s[e+1]&&(o=e+1,i())}break;case 13:s[o]?.classList.contains("selected")&&g(t,s[o].querySelector(".autosuggest-link"))}s[o]&&s[o].classList.contains("autosuggest-item")?a():i(),38===e.keyCode&&e.preventDefault()};function i(e){const t=new FormData(e);return t.has("post_type")?t.getAll("post_type").slice(-1):t.has("post_type[]")?t.getAll("post_type[]"):[]}const a=u((async t=>{const s=function(){if("undefined"===typeof window.epas){const e="No epas object defined";return console.warn(e),{error:e}}return window.epas}();if(s.error)return;const o=t.value,n="ep_autosuggest_placeholder",r=i(t.form);if(o.length>=2){w(!0,t);let i=f(o,n,s);i=JSON.parse(i),r.length>0&&"undefined"!==typeof i.post_filter.bool.must&&i.post_filter.bool.must.push({terms:{"post_type.raw":r}}),i=(0,e.applyFilters)("ep.Autosuggest.query",i,o,t),i=JSON.stringify(i);const a=await h(i,o);if(a&&a._shards&&a._shards.successful>0){const e=function(e,t){const s={},o="ep_custom_result",n=t.toLowerCase(),r=e.filter((e=>{let t=!0;return void 0!==e._source.terms&&void 0!==e._source.terms[o]&&e._source.terms[o].forEach((o=>{o.name.toLowerCase()===n&&(s[o.term_order]=e,t=!1)})),t})),i={};Object.keys(s).sort().forEach((e=>{i[e]=s[e]})),Object.keys(i).length>0&&Object.keys(i).forEach((e=>{const t=i[e];r.splice(e-1,0,t)}));return r}(a.hits.hits,o);0===e.length?y():m(e,t)}else y();w(!1,t)}else 0===o.length&&y()}),200),p=e=>{e.preventDefault();const{target:t,key:s,keyCode:o}=e;if("Escape"===s||"Esc"===s||27===o)return y(),function(e,t){t.setAttribute("aria-expanded",e)}(!1,t),void d("",t);if(n.includes(o)&&""!==t.value)return void r(e);const i=e.target;a(i)},A=e=>{const t=document.createElement("div");t.classList.add("ep-autosuggest-container"),e.insertAdjacentElement("afterend",t),t.appendChild(e)},v=t=>{if(!s){s=document.createElement("div"),s.classList.add("ep-autosuggest");const e=document.createElement("ul");e.classList.add("autosuggest-list"),e.setAttribute("role","listbox"),s.appendChild(e)}let o=s.cloneNode(!0);o=(0,e.applyFilters)("ep.Autosuggest.element",o,t),t.insertAdjacentElement("afterend",o)},E=e=>{if(["facet-search","ep-search-input"].some((t=>e.classList.contains(t))))return;e.setAttribute("autocomplete","off"),e.classList.contains("wp-block-search__input")?(e.form.classList.add("ep-autosuggest-container"),v(e.parentElement)):(A(e),v(e));const t=new CustomEvent("elasticpress.input.moved");e.dispatchEvent(t),e.addEventListener("keyup",p),e.addEventListener("blur",(function(){window.setTimeout(y,200)}))},L=e=>{const s=e.querySelectorAll(t);s&&Array.from(s).forEach(E)},b=()=>{const e=document.body,s={subtree:!0,childList:!0};new MutationObserver(((o,n)=>{o.forEach((o=>{Array.from(o.addedNodes).forEach((o=>{o.nodeType===Node.ELEMENT_NODE&&(n.disconnect(),"INPUT"===o.tagName?o.matches(t)&&E(o):L(o),n.observe(e,s))}))}))})).observe(e,s)};L(document.body),_=b,"undefined"!==typeof document&&("complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",_):_());var _}(),window.epasAPI={hideAutosuggestBox:y,updateAutosuggestBox:m,esSearch:h,buildSearchQuery:f})}(); \ No newline at end of file diff --git a/dist/js/comments-block-script.asset.php b/dist/js/comments-block-script.asset.php new file mode 100644 index 0000000000..ae369b6acb --- /dev/null +++ b/dist/js/comments-block-script.asset.php @@ -0,0 +1 @@ + array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n'), 'version' => '465adae582cdbfd322ef'); diff --git a/dist/js/comments-block-script.js b/dist/js/comments-block-script.js new file mode 100644 index 0000000000..1efeafc7ce --- /dev/null +++ b/dist/js/comments-block-script.js @@ -0,0 +1 @@ +!function(){"use strict";var e={5251:function(e,t,s){var r=s(9196),o=60103;if(t.Fragment=60107,"function"===typeof Symbol&&Symbol.for){var n=Symbol.for;o=n("react.element"),t.Fragment=n("react.fragment")}var c=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a=Object.prototype.hasOwnProperty,i={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,s){var r,n={},l=null,p=null;for(r in void 0!==s&&(l=""+s),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(p=t.ref),t)a.call(t,r)&&!i.hasOwnProperty(r)&&(n[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===n[r]&&(n[r]=t[r]);return{$$typeof:o,type:e,key:l,ref:p,props:n,_owner:c.current}}t.jsx=l,t.jsxs=l},5893:function(e,t,s){e.exports=s(5251)},9196:function(e){e.exports=window.React}},t={};function s(r){var o=t[r];if(void 0!==o)return o.exports;var n=t[r]={exports:{}};return e[r](n,n.exports,s),n.exports}!function(){var e=window.wp.blocks,t=window.wp.blockEditor,r=window.wp.components,o=window.wp.element,n=window.wp.i18n,c=s(5893);const{searchablePostTypes:a}=window.epComments;var i=({attributes:e,setAttributes:s})=>{const{label:i,postTypes:l}=e,p=(0,t.useBlockProps)({className:"ep-widget-search-comments"}),m=(0,o.useMemo)((()=>0===l.length),[l]);return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("div",{...p,children:[(0,c.jsx)(t.RichText,{"aria-label":(0,n.__)("Label text"),placeholder:(0,n.__)("Add label…"),withoutInteractiveFormatting:!0,value:i,onChange:e=>s({label:e})}),(0,c.jsx)("input",{autoComplete:"off",className:"ep-widget-search-comments-input",disabled:!0,type:"search"})]}),(0,c.jsx)(t.InspectorControls,{children:(0,c.jsxs)(r.PanelBody,{title:(0,n.__)("Search settings","elasticpress"),children:[(0,c.jsx)(r.CheckboxControl,{checked:m,label:(0,n.__)("Search all comments","elasticpress"),onChange:e=>{s(e?{postTypes:[]}:{postTypes:Object.keys(a)})}}),Object.entries(a).map((([e,t])=>{const o=(0,n.sprintf)((0,n.__)("Search comments on %s","elasticpress"),t);return(0,c.jsx)(r.CheckboxControl,{checked:l.includes(e),indeterminate:m,label:o,onChange:t=>((e,t)=>{const r=t?[...l,e]:l.filter((t=>t!==e));s({postTypes:r})})(e,t)},e)}))]})})]})},l=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"title":"Search Comments (ElasticPress)","icon":"search","textdomain":"elasticpress","name":"elasticpress/comments","category":"widgets","attributes":{"label":{"default":"Search comments","type":"string"},"postTypes":{"default":[],"type":"array"}},"editorScript":"elasticpress-comments-editor-script","script":"elasticpress-comments","style":"elasticpress-comments"}'),p={from:[{type:"block",blocks:["core/legacy-widget"],isMatch:({idBase:e})=>"ep-comments"===e,transform:({instance:t})=>{const{title:s=null,post_type:r}=t.raw;return s?[(0,e.createBlock)("core/heading",{content:s}),(0,e.createBlock)("elasticpress/comments",{postTypes:r})]:(0,e.createBlock)("elasticpress/comments",{postTypes:r})}}]};(0,e.registerBlockType)(l,{edit:e=>(0,c.jsx)(i,{...e}),save:()=>{},transforms:p})}()}(); \ No newline at end of file diff --git a/dist/js/comments-script.asset.php b/dist/js/comments-script.asset.php new file mode 100644 index 0000000000..b12043065a --- /dev/null +++ b/dist/js/comments-script.asset.php @@ -0,0 +1 @@ + array('wp-hooks'), 'version' => '23fa268b57e0fa1e9c1a'); diff --git a/dist/js/comments-script.js b/dist/js/comments-script.js new file mode 100644 index 0000000000..828ba21eae --- /dev/null +++ b/dist/js/comments-script.js @@ -0,0 +1 @@ +!function(){"use strict";window.wp.hooks;const e=(e,t)=>{for(;(e=e.parentElement)&&!e.classList.contains(t););return e},t=document.querySelectorAll(".ep-widget-search-comments");let n;t.forEach((e=>{const{id:t}=e,n=document.createElement("input");n.setAttribute("autocomplete","off"),n.setAttribute("type","search"),n.setAttribute("class","ep-widget-search-comments-input"),n.setAttribute("id",`${t}-s`);const s=document.createElement("ul");s.setAttribute("class","ep-widget-search-comments-results"),e.appendChild(n),e.appendChild(s)}));const s=[38,40,13];function i(t){n=void 0;const s=e(t,"ep-widget-search-comments").querySelector(".ep-widget-search-comments-results");for(;s.firstChild;)s.removeChild(s.firstChild)}function o(e){const t=window.epc.minimumLengthToSearch||2;return e?.value?.trim().length>=t}function c(t,n){const s=e(n,"ep-widget-search-comments");t?s.classList.add("ep-widget-search-comments-is-loading"):s.classList.remove("ep-widget-search-comments-is-loading")}const r=((e,t)=>{let n=null;return function(...s){const i=this;window.clearTimeout(n),n=window.setTimeout((()=>{e.apply(i,s)}),t)}})((function(t){if(o(t)){const n=e(t,"ep-widget-search-comments").querySelector(".ep-widget-search-comments-post-type"),s=n?.value?`&post_type=${n.value.trim()}`:"";return c(!0,t),fetch(`${window.epc.restApiEndpoint}?s=${t.value.trim()}${s}`).then((e=>{if(!e.ok)throw e;return e.json()})).then((n=>{0===Object.keys(n).length?t.value.trim()?(t=>{const n=e(t,"ep-widget-search-comments").querySelector(".ep-widget-search-comments-results");let s=`
  • ${window.epc.noResultsFoundText}
  • `;"undefined"!==typeof window.epCommentWidgetItemNotFoundHTMLFilter&&(s=window.epCommentWidgetItemNotFoundHTMLFilter(s,window.epc.noResultsFoundText,t.value)),n.innerHTML=s})(t):i(t):((t,n)=>{let s="",i="";Object.keys(t).forEach(((e,o)=>{t[e]?.content&&t[e]?.link&&(i=`\n\t\t\t\t
  • \n\t\t\t\t\t\n\t\t\t\t\t\t${t[e].content}\n\t\t\t\t\t\n\t\t\t\t
  • \n\t\t\t`,"undefined"!==typeof window.epCommentWidgetItemHTMLFilter&&(i=window.epCommentWidgetItemHTMLFilter(i,t[e],o,n.value)),s+=i)}));const o=e(n,"ep-widget-search-comments").querySelector(".ep-widget-search-comments-results");"undefined"!==typeof window.epCommentWidgetItemsHTMLFilter&&(s=window.epCommentWidgetItemsHTMLFilter(s,n.value)),o.innerHTML=s})(n,t)})).catch((()=>{i(t)})).finally((()=>{c(!1,t)}))}return!1}),500),d=t=>{t.preventDefault();const{target:c,key:d,keyCode:l}=t;if("Escape"===d||"Esc"===d||27===l)return i(c),void c.setAttribute("aria-expanded",!1);s.includes(l)&&""!==c.value?(t=>{if(!s.includes(t.keyCode))return;const i=e(t.target,"ep-widget-search-comments").querySelector(".ep-widget-search-comments-results"),o=i.querySelectorAll(".ep-widget-search-comments-result-item").length,c=i.children,r=n;switch(t.keyCode){case 38:n=n-1<0||"undefined"===typeof n?o-1:n-1;break;case 40:"undefined"===typeof n||n+1>o-1?n=0:n+=1;break;case 13:if(c[n]?.classList.contains("selected")||1===o){const e=n||0;if(c[e]){const t=c[e].querySelector("a")?.getAttribute("href");window.location.href=t}}}"number"===typeof r&&(c[r].classList.remove("selected"),c[r].setAttribute("aria-selected","false")),c[n]?.classList.add("selected"),c[n]?.setAttribute("aria-selected","true")})(t):o(c)?r(c):i(c)};t.forEach((e=>{const t=e.querySelector(".ep-widget-search-comments-input");t.addEventListener("keyup",d),t.addEventListener("keydown",(e=>{38===e.keyCode&&e.preventDefault()})),t.addEventListener("blur",(function(){setTimeout((()=>i(t)),200)}))}))}(); \ No newline at end of file diff --git a/dist/js/dashboard-script.asset.php b/dist/js/dashboard-script.asset.php new file mode 100644 index 0000000000..f254fd946d --- /dev/null +++ b/dist/js/dashboard-script.asset.php @@ -0,0 +1 @@ + array('wp-i18n'), 'version' => '4553d98ff90e03844521'); diff --git a/dist/js/dashboard-script.js b/dist/js/dashboard-script.js new file mode 100644 index 0000000000..c53075dcb7 --- /dev/null +++ b/dist/js/dashboard-script.js @@ -0,0 +1 @@ +!function(){var t={3462:function(t,e,n){n(6699);var r=n(2649);t.exports=r("Array","includes")},9116:function(t,e,n){n(9601);var r=n(857);t.exports=r.Object.assign},9662:function(t,e,n){var r=n(7854),o=n(614),i=n(6330),s=r.TypeError;t.exports=function(t){if(o(t))return t;throw s(i(t)+" is not a function")}},6077:function(t,e,n){var r=n(7854),o=n(614),i=r.String,s=r.TypeError;t.exports=function(t){if("object"==typeof t||o(t))return t;throw s("Can't set "+i(t)+" as a prototype")}},1223:function(t,e,n){var r=n(5112),o=n(30),i=n(3070),s=r("unscopables"),a=Array.prototype;void 0==a[s]&&i.f(a,s,{configurable:!0,value:o(null)}),t.exports=function(t){a[s][t]=!0}},9670:function(t,e,n){var r=n(7854),o=n(111),i=r.String,s=r.TypeError;t.exports=function(t){if(o(t))return t;throw s(i(t)+" is not an object")}},8533:function(t,e,n){"use strict";var r=n(2092).forEach,o=n(9341)("forEach");t.exports=o?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},1318:function(t,e,n){var r=n(5656),o=n(1400),i=n(6244),s=function(t){return function(e,n,s){var a,c=r(e),u=i(c),f=o(s,u);if(t&&n!=n){for(;u>f;)if((a=c[f++])!=a)return!0}else for(;u>f;f++)if((t||f in c)&&c[f]===n)return t||f||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},2092:function(t,e,n){var r=n(9974),o=n(1702),i=n(8361),s=n(7908),a=n(6244),c=n(5417),u=o([].push),f=function(t){var e=1==t,n=2==t,o=3==t,f=4==t,l=6==t,p=7==t,v=5==t||l;return function(d,g,y,h){for(var b,m,x=s(d),w=i(x),O=r(g,y),S=a(w),L=0,j=h||c,E=e?j(d,S):n||p?j(d,0):void 0;S>L;L++)if((v||L in w)&&(m=O(b=w[L],L,x),t))if(e)E[L]=m;else if(m)switch(t){case 3:return!0;case 5:return b;case 6:return L;case 2:u(E,b)}else switch(t){case 4:return!1;case 7:u(E,b)}return l?-1:o||f?f:E}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},9341:function(t,e,n){"use strict";var r=n(7293);t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){return 1},1)}))}},7475:function(t,e,n){var r=n(7854),o=n(3157),i=n(4411),s=n(111),a=n(5112)("species"),c=r.Array;t.exports=function(t){var e;return o(t)&&(e=t.constructor,(i(e)&&(e===c||o(e.prototype))||s(e)&&null===(e=e[a]))&&(e=void 0)),void 0===e?c:e}},5417:function(t,e,n){var r=n(7475);t.exports=function(t,e){return new(r(t))(0===e?0:e)}},4326:function(t,e,n){var r=n(1702),o=r({}.toString),i=r("".slice);t.exports=function(t){return i(o(t),8,-1)}},648:function(t,e,n){var r=n(7854),o=n(1694),i=n(614),s=n(4326),a=n(5112)("toStringTag"),c=r.Object,u="Arguments"==s(function(){return arguments}());t.exports=o?s:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=c(t),a))?n:u?s(e):"Object"==(r=s(e))&&i(e.callee)?"Arguments":r}},9920:function(t,e,n){var r=n(2597),o=n(3887),i=n(1236),s=n(3070);t.exports=function(t,e,n){for(var a=o(e),c=s.f,u=i.f,f=0;f0&&r[0]<4?1:+(r[0]+r[1])),!o&&s&&(!(r=s.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/))&&(o=+r[1]),t.exports=o},2649:function(t,e,n){var r=n(7854),o=n(1702);t.exports=function(t,e){return o(r[t].prototype[e])}},748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(t,e,n){var r=n(7854),o=n(1236).f,i=n(8880),s=n(1320),a=n(3505),c=n(9920),u=n(4705);t.exports=function(t,e){var n,f,l,p,v,d=t.target,g=t.global,y=t.stat;if(n=g?r:y?r[d]||a(d,{}):(r[d]||{}).prototype)for(f in e){if(p=e[f],l=t.noTargetGet?(v=o(n,f))&&v.value:n[f],!u(g?f:d+(y?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;c(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),s(n,f,p,t)}}},7293:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},9974:function(t,e,n){var r=n(1702),o=n(9662),i=n(4374),s=r(r.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?s(t,e):function(){return t.apply(e,arguments)}}},4374:function(t,e,n){var r=n(7293);t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},6916:function(t,e,n){var r=n(4374),o=Function.prototype.call;t.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},6530:function(t,e,n){var r=n(9781),o=n(2597),i=Function.prototype,s=r&&Object.getOwnPropertyDescriptor,a=o(i,"name"),c=a&&"something"===function(){}.name,u=a&&(!r||r&&s(i,"name").configurable);t.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},1702:function(t,e,n){var r=n(4374),o=Function.prototype,i=o.bind,s=o.call,a=r&&i.bind(s,s);t.exports=r?function(t){return t&&a(t)}:function(t){return t&&function(){return s.apply(t,arguments)}}},5005:function(t,e,n){var r=n(7854),o=n(614),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t]):r[t]&&r[t][e]}},8173:function(t,e,n){var r=n(9662);t.exports=function(t,e){var n=t[e];return null==n?void 0:r(n)}},7854:function(t,e,n){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},2597:function(t,e,n){var r=n(1702),o=n(7908),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},3501:function(t){t.exports={}},490:function(t,e,n){var r=n(5005);t.exports=r("document","documentElement")},4664:function(t,e,n){var r=n(9781),o=n(7293),i=n(317);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:function(t,e,n){var r=n(7854),o=n(1702),i=n(7293),s=n(4326),a=r.Object,c=o("".split);t.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"==s(t)?c(t,""):a(t)}:a},2788:function(t,e,n){var r=n(1702),o=n(614),i=n(5465),s=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return s(t)}),t.exports=i.inspectSource},9909:function(t,e,n){var r,o,i,s=n(8536),a=n(7854),c=n(1702),u=n(111),f=n(8880),l=n(2597),p=n(5465),v=n(6200),d=n(3501),g="Object already initialized",y=a.TypeError,h=a.WeakMap;if(s||p.state){var b=p.state||(p.state=new h),m=c(b.get),x=c(b.has),w=c(b.set);r=function(t,e){if(x(b,t))throw new y(g);return e.facade=t,w(b,t,e),e},o=function(t){return m(b,t)||{}},i=function(t){return x(b,t)}}else{var O=v("state");d[O]=!0,r=function(t,e){if(l(t,O))throw new y(g);return e.facade=t,f(t,O,e),e},o=function(t){return l(t,O)?t[O]:{}},i=function(t){return l(t,O)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!u(e)||(n=o(e)).type!==t)throw y("Incompatible receiver, "+t+" required");return n}}}},3157:function(t,e,n){var r=n(4326);t.exports=Array.isArray||function(t){return"Array"==r(t)}},614:function(t){t.exports=function(t){return"function"==typeof t}},4411:function(t,e,n){var r=n(1702),o=n(7293),i=n(614),s=n(648),a=n(5005),c=n(2788),u=function(){},f=[],l=a("Reflect","construct"),p=/^\s*(?:class|function)\b/,v=r(p.exec),d=!p.exec(u),g=function(t){if(!i(t))return!1;try{return l(u,f,t),!0}catch(t){return!1}},y=function(t){if(!i(t))return!1;switch(s(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!v(p,c(t))}catch(t){return!0}};y.sham=!0,t.exports=!l||o((function(){var t;return g(g.call)||!g(Object)||!g((function(){t=!0}))||t}))?y:g},4705:function(t,e,n){var r=n(7293),o=n(614),i=/#|\.prototype\./,s=function(t,e){var n=c[a(t)];return n==f||n!=u&&(o(e)?r(e):!!e)},a=s.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=s.data={},u=s.NATIVE="N",f=s.POLYFILL="P";t.exports=s},111:function(t,e,n){var r=n(614);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},1913:function(t){t.exports=!1},2190:function(t,e,n){var r=n(7854),o=n(5005),i=n(614),s=n(7976),a=n(3307),c=r.Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=o("Symbol");return i(e)&&s(e.prototype,c(t))}},3383:function(t,e,n){"use strict";var r,o,i,s=n(7293),a=n(614),c=n(30),u=n(9518),f=n(1320),l=n(5112),p=n(1913),v=l("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(r=o):d=!0),void 0==r||s((function(){var t={};return r[v].call(t)!==t}))?r={}:p&&(r=c(r)),a(r[v])||f(r,v,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},7497:function(t){t.exports={}},6244:function(t,e,n){var r=n(7466);t.exports=function(t){return r(t.length)}},133:function(t,e,n){var r=n(7392),o=n(7293);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8536:function(t,e,n){var r=n(7854),o=n(614),i=n(2788),s=r.WeakMap;t.exports=o(s)&&/native code/.test(i(s))},1574:function(t,e,n){"use strict";var r=n(9781),o=n(1702),i=n(6916),s=n(7293),a=n(1956),c=n(5181),u=n(5296),f=n(7908),l=n(8361),p=Object.assign,v=Object.defineProperty,d=o([].concat);t.exports=!p||s((function(){if(r&&1!==p({b:1},p(v({},"a",{enumerable:!0,get:function(){v(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),o="abcdefghijklmnopqrst";return t[n]=7,o.split("").forEach((function(t){e[t]=t})),7!=p({},t)[n]||a(p({},e)).join("")!=o}))?function(t,e){for(var n=f(t),o=arguments.length,s=1,p=c.f,v=u.f;o>s;)for(var g,y=l(arguments[s++]),h=p?d(a(y),p(y)):a(y),b=h.length,m=0;b>m;)g=h[m++],r&&!i(v,y,g)||(n[g]=y[g]);return n}:p},30:function(t,e,n){var r,o=n(9670),i=n(6048),s=n(748),a=n(3501),c=n(490),u=n(317),f=n(6200),l=f("IE_PROTO"),p=function(){},v=function(t){return"