This commit is contained in:
zbatte committed 2026-07-02 15:54:39 -06:00
commit 9883323161
17470 files changed
+4470592

No files matched your search

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'react-dom', 'react-jsx-runtime', 'wp-block-editor', 'wp-components', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-viewport'), 'version' => '02411a77a29931decb54');
@@ -0,0 +1 @@
.jetpack-instant-search__overlay{background:#1d2327b3;bottom:0;box-sizing:border-box;color:#0a112d;font-size:16px;left:0;opacity:1;overflow-x:hidden;overflow-y:auto;position:fixed;right:0;top:0;z-index:9999999999999}body.jps-theme-argent .jetpack-instant-search__overlay *{font-family:Helvetica,sans-serif}@media(max-width:767.98px){.jetpack-instant-search__overlay{padding:3em 1em}}@media(max-width:575.98px){.jetpack-instant-search__overlay{padding:0}}@media(min-width:768px){.jetpack-instant-search__overlay{padding:3em}}.jetpack-instant-search__overlay :is(h1,h2,h3,h4,h5,h6){letter-spacing:inherit}.jetpack-instant-search__overlay.is-hidden{background:#0000;opacity:0;visibility:hidden}.jetpack-instant-search__overlay *,.jetpack-instant-search__overlay :after,.jetpack-instant-search__overlay :before{box-sizing:inherit}@media print{.jetpack-instant-search__overlay.is-hidden{display:none}}@media(prefers-reduced-motion:no-preference){.jetpack-instant-search__overlay{transition:opacity .1s ease-in}}.jp-search-answers-panel{background:#fff;border:1px solid #dcdcde;border-radius:6px;box-shadow:0 1px 4px #00000014;color:#0a112d;margin:0 56px 16px;overflow:hidden}.jp-search-answers-panel--fixed-height{display:flex;flex-direction:column;height:160px}.jp-search-answers-panel--fixed-height .jp-search-answers-panel__content{flex:1;max-height:none;min-height:0;overflow:hidden}.jp-search-answers-panel--fixed-height .jp-search-answers-panel__toggle{flex-shrink:0;margin-top:auto}@media(max-width:991.98px){.jp-search-answers-panel{margin-left:40px;margin-right:40px}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jp-search-answers-panel{margin-left:40px;margin-right:40px}}@media(min-width:600px){.jp-search-answers-panel{margin-left:20px;margin-right:20px}}.jp-search-answers-panel__heading{color:#646970;font-size:11px;font-weight:600;letter-spacing:.08em;margin:0;padding:14px 18px 8px;text-transform:uppercase}.jp-search-answers-panel--error{border-color:#facfd2}.jp-search-answers-panel__error{padding:0 18px 14px}.jp-search-answers-panel__error-message{color:#d63638;font-size:13px;margin:0 0 4px}.jp-search-answers-panel__error-detail{color:#646970;font-size:12px;margin:0}.jp-search-answers-panel__loading{align-items:center;color:#646970;display:flex;font-size:13px;gap:8px;padding:0 18px 14px}.jp-search-answers-panel__loading-hint{color:#646970;font-size:13px;font-style:italic;margin:0;padding:0 18px 14px}.jp-search-answers-panel__content{padding:0 18px 14px}.jp-search-answers-panel__content--collapsed{max-height:5em;overflow:hidden;padding-bottom:0;position:relative}.jp-search-answers-panel__content--collapsed:after{background:linear-gradient(#0000,#fff);bottom:0;content:"";height:2.5em;left:0;pointer-events:none;position:absolute;right:0}.jp-search-answers-panel__text{font-size:13px;line-height:1.6}.jp-search-answers-panel__text :is(h2,h3,h4){font-size:1em;font-weight:700;margin:.8em 0 .3em}.jp-search-answers-panel__text p{margin:0 0 .6em}.jp-search-answers-panel__text ul{list-style:disc;margin:0 0 .6em 1.2em;padding:0}.jp-search-answers-panel__text li{margin-bottom:.2em}.jp-search-answers-panel__text strong{font-weight:700}.jp-search-answers-panel__text em{font-style:italic}.jp-search-answers-panel__text a{color:#0a112d;text-decoration:underline}.jp-search-answers-panel__toggle{align-items:center;background:none;border:none;border-top:1px solid #f6f7f7;color:#0a112d;cursor:pointer;display:flex;font-size:12px;font-weight:500;gap:6px;justify-content:center;padding:9px 0;width:100%}.jp-search-answers-panel__toggle:hover{background:#f6f7f7}.jp-search-answers-panel__toggle-icon{border-bottom:1.5px solid;border-right:1.5px solid;display:inline-block;height:6px;transform:rotate(45deg);width:6px}.jp-search-answers-panel__toggle--expanded .jp-search-answers-panel__toggle-icon{margin-top:3px;transform:rotate(-135deg)}.jp-search-answers-panel__citations{border-top:1px solid #f6f7f7;display:flex;flex-wrap:wrap;gap:6px 12px;justify-content:flex-end;list-style:none;margin:6px 0 0;padding:10px 0 0}.jp-search-answers-panel__citations li{font-size:12px;line-height:1.5}.jp-search-answers-panel__citations a{align-items:center;color:#0a112d;display:inline-flex;gap:4px;text-decoration:underline}.jp-search-answers-panel__citation-icon{flex-shrink:0}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jp-search-answers-panel{background:#000;border-color:#3c434a;box-shadow:none;color:#fbfcfe}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jp-search-answers-panel--error{border-color:#d63638}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark :is(.jp-search-answers-panel__error-detail,.jp-search-answers-panel__heading,.jp-search-answers-panel__loading,.jp-search-answers-panel__loading-hint){color:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jp-search-answers-panel__content--collapsed:after{background:linear-gradient(#0000,#000)}.jetpack-instanLine truncated
@@ -0,0 +1,25 @@
/*! For license information please see jp-search-configure.js.LICENSE.txt */
(()=>{var e={7675(e,t,r){"use strict";r.d(t,{y:()=>i});var s=r(6416),n=function(e,t){var r={};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&t.indexOf(s)<0&&(r[s]=e[s]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(s=Object.getOwnPropertySymbols(e);n<s.length;n++)t.indexOf(s[n])<0&&Object.prototype.propertyIsEnumerable.call(e,s[n])&&(r[s[n]]=e[s[n]])}return r};const a="text/event-stream",o="last-event-id";function i(e,t){var{signal:r,headers:i,onopen:l,onmessage:u,onclose:p,onerror:h,openWhenHidden:d,fetch:f}=t,m=n(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((t,n)=>{const g=Object.assign({},i);let y;function v(){y.abort(),document.hidden||j()}g.accept||(g.accept=a),d||document.addEventListener("visibilitychange",v);let _=1e3,b=0;function w(){document.removeEventListener("visibilitychange",v),window.clearTimeout(b),y.abort()}null==r||r.addEventListener("abort",()=>{w(),t()});const k=null!=f?f:window.fetch,E=null!=l?l:c;async function j(){var r;y=new AbortController;try{const r=await k(e,Object.assign(Object.assign({},m),{headers:g,signal:y.signal}));await E(r),await(0,s.q5)(r.body,(0,s.iv)((0,s.VL)(e=>{e?g[o]=e:delete g[o]},e=>{_=e},u))),null==p||p(),w(),t()}catch(e){if(!y.signal.aborted)try{const t=null!==(r=null==h?void 0:h(e))&&void 0!==r?r:_;window.clearTimeout(b),b=window.setTimeout(j,t)}catch(e){w(),n(e)}}}j()})}function c(e){const t=e.headers.get("content-type");if(!(null==t?void 0:t.startsWith(a)))throw new Error(`Expected content-type to be ${a}, Actual: ${t}`)}},6416(e,t,r){"use strict";async function s(e,t){const r=e.getReader();let s;for(;!(s=await r.read()).done;)t(s.value)}function n(e){let t,r,s,n=!1;return function(a){void 0===t?(t=a,r=0,s=-1):t=function(e,t){const r=new Uint8Array(e.length+t.length);return r.set(e),r.set(t,e.length),r}(t,a);const o=t.length;let i=0;for(;r<o;){n&&(10===t[r]&&(i=++r),n=!1);let a=-1;for(;r<o&&-1===a;++r)switch(t[r]){case 58:-1===s&&(s=r-i);break;case 13:n=!0;case 10:a=r}if(-1===a)break;e(t.subarray(i,a),s),i=r,s=-1}i===o?t=void 0:0!==i&&(t=t.subarray(i),r-=i)}}function a(e,t,r){let s=o();const n=new TextDecoder;return function(a,i){if(0===a.length)null==r||r(s),s=o();else if(i>0){const r=n.decode(a.subarray(0,i)),o=i+(32===a[i+1]?2:1),c=n.decode(a.subarray(o));switch(r){case"data":s.data=s.data?s.data+"\n"+c:c;break;case"event":s.event=c;break;case"id":e(s.id=c);break;case"retry":const r=parseInt(c,10);isNaN(r)||t(s.retry=r)}}}}function o(){return{data:"",event:"",id:"",retry:void 0}}r.d(t,{VL:()=>a,iv:()=>n,q5:()=>s})},7399(e){!function(){"use strict";var t=[],r=3988292384;function s(e){var t,s,n,a,o=-1;for(t=0,n=e.length;t<n;t+=1){for(a=255&(o^e[t]),s=0;s<8;s+=1)1&~a?a>>>=1:a=a>>>1^r;o=o>>>8^a}return-1^o}function n(e,r){var s,a,o;if(void 0!==n.crc&&r&&e||(n.crc=~0,e)){for(s=n.crc,a=0,o=e.length;a<o;a+=1)s=s>>>8^t[255&(s^e[a])];return n.crc=s,-1^s}}!function(){var e,s,n;for(s=0;s<256;s+=1){for(e=s,n=0;n<8;n+=1)1&e?e=r^e>>>1:e>>>=1;t[s]=e>>>0}}(),e.exports=function(e,t){var r;e="string"==typeof e?(r=e,Array.prototype.map.call(r,function(e){return e.charCodeAt(0)})):e;return((t?s(e):n(e))>>>0).toString(16)},e.exports.direct=s,e.exports.table=n}()},6954(e){function t(e,t=100,r={}){if("function"!=typeof e)throw new TypeError(`Expected the first parameter to be a function, got \`${typeof e}\`.`);if(t<0)throw new RangeError("`wait` must not be negative.");const{immediate:s}="boolean"==typeof r?{immediate:r}:r;let n,a,o,i,c;function l(){const t=n,r=a;return n=void 0,a=void 0,c=e.apply(t,r),c}function u(){const e=Date.now()-i;e<t&&e>=0?o=setTimeout(u,t-e):(o=void 0,s||(c=l()))}const p=function(...e){if(n&&this!==n&&Object.getPrototypeOf(this)===Object.getPrototypeOf(n))throw new Error("Debounced method called with different contexts of the same prototype.");n=this,a=e,i=Date.now();const r=s&&!o;return o||(o=setTimeout(u,t)),r&&(c=l()),c};return Object.defineProperty(p,"isPending",{get:()=>void 0!==o}),p.clear=()=>{o&&(clearTimeout(o),o=void 0)},p.flush=()=>{o&&p.trigger()},p.trigger=()=>{c=l(),p.clear()},p}e.exports.debounce=t,e.exports=t},4224(e){"use strict";e.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var r,s="boolean"==typeof t.cycles&&t.cycles,n=t.cmp&&(r=t.cmp,function(e){return function(t,s){var n={key:t,value:e[t]},a={key:s,value:e[s]};return r(n,a)}}),a=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);var r,o;if(Array.isArray(t)){for(o="[",r=0;r<t.length;r++)r&&(o+=","),o+=e(t[r])||"null";return o+"]"}if(null===t)return"null";if(-1!==a.indexOf(t)){if(s)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var i=a.push(t)-1,c=Object.keys(t).sort(n&&n(t));for(o="",r=0;r<c.length;r++){var l=c[r],u=e(t[l]);u&&(o&&(o+=","),o+=JSON.stringify(l)+":"+u)}retLine truncated
/* translators: accessibility text for the widgets screen content landmark region. */
"aria-label":__("Jetpack Search customization preview","jetpack-search-pkg"),className:"jp-search-configure-app-wrapper",role:"region",tabIndex:"-1",children:j?(0,h.jsx)("img",{className:"jp-search-configure-loading-spinner",width:"32",height:"32",alt:__("Loading","jetpack-search-pkg"),src:"//en.wordpress.com/i/loading/loading-64.gif"}):(0,h.jsx)(n.Kq,{store:p.A,children:(0,h.jsx)(i.A,{...d,enableAnalytics:!1,initialIsVisible:!0,initialShowResults:!0,isInCustomizer:!1,options:E,overlayOptions:k,shouldCreatePortal:!1,shouldIntegrateWithDom:!1})})})}},288(e,t,r){"use strict";r.d(t,{A:()=>l});var s=r(6427),n=r(7723),a=r(3109),o=r(3312),i=r(7361),c=(r(9505),r(790));const __=n.__;const l=function({enableSidebar:e}){
// translators: Product name 'Jetpack Search' should not be translated
const t=__("Customize Jetpack Search","jetpack-search-pkg");return(0,c.jsxs)("div",{className:"jp-search-configure-header",children:[(0,c.jsx)("div",{className:"jp-search-configure-header__navigable-toolbar-wrapper",children:(0,c.jsx)("h1",{className:"jp-search-configure-header__title",children:t})}),(0,c.jsxs)("div",{className:"jp-search-configure-header__actions",children:[(0,c.jsx)(i.A,{}),(0,c.jsx)(s.Button,{"aria-label":__("Show settings","jetpack-search-pkg"),className:"jp-search-configure-header__show-settings-button",variant:"secondary",onClick:()=>e(),children:(0,c.jsx)(a.A,{icon:o.A})})]})]})}},1017(e,t,r){"use strict";r.d(t,{A:()=>p});var s=r(7143),n=r(6087),a=r(6873),o=r(7479),i=r(7547),c=r(8394),l=r(584),u=(r(5948),r(790));function p(){const{isLargeViewport:e}=(0,s.useSelect)(e=>({isLargeViewport:e(a.store).isViewportMatch("large")})),[t,r]=(0,n.useState)(c.B),p=(e=c.B)=>r(e);return(0,n.useEffect)(()=>{(0,i.n_)(),(0,i.wk)(window[o.O5].siteId),(0,i.yM)(`${i.be}_page_view`)},[]),(0,n.useEffect)(()=>{e&&null===t&&p()},[t,e]),(0,u.jsx)("div",{className:"jp-search-configure-root",children:(0,u.jsx)(l.A,{disableSidebar:()=>r(null),enabledSidebarName:t,enableSidebar:p})})}},584(e,t,r){"use strict";r.d(t,{A:()=>c});var s=r(7723),n=r(6442),a=r(288),o=r(3161),i=(r(5948),r(790));const __=s.__;function c(e){const{enabledSidebarName:t,enableSidebar:r,disableSidebar:s}=e;return(0,i.jsx)("div",{className:"interface-interface-skeleton",children:(0,i.jsxs)("div",{className:"interface-interface-skeleton__editor",children:[(0,i.jsx)("div",{
/* translators: accessibility text for the widgets screen top bar landmark region. */
"aria-label":__("Jetpack Search customization top bar","jetpack-search-pkg"),className:"interface-interface-skeleton__header",role:"region",tabIndex:"-1",children:(0,i.jsx)(a.A,{enableSidebar:r})}),(0,i.jsxs)("div",{className:"jp-search-configure-layout__body",children:[(0,i.jsx)(n.A,{}),!!t&&(0,i.jsx)("div",{
/* translators: accessibility text for the widgets screen settings landmark region. */
"aria-label":__("Jetpack Search customization settings","jetpack-search-pkg"),className:"interface-interface-skeleton__sidebar",role:"region",tabIndex:"-1",children:(0,i.jsx)(o.A,{disableSidebar:s,enabledSidebarName:t,enableSidebar:r})})]})]})})}},7361(e,t,r){"use strict";r.d(t,{A:()=>c});var s=r(6427),n=r(7723),a=r(617),o=r(7547),i=(r(356),r(790));const __=n.__;function c(){const{isSaving:e,hasUnsavedEdits:t,saveRecords:r}=(0,a.A)();return(0,i.jsx)(s.Button,{"aria-disabled":e,className:"jp-search-configure-save-button",disabled:!t,isBusy:e,variant:"primary",onClick:(...t)=>{e||((0,o.yM)(`${o.be}_save_button_click`),r(...t))},children:e?__("Saving…","jetpack-search-pkg"):__("Save","jetpack-search-pkg",0)})}},3976(e,t,r){"use strict";r.d(t,{A:()=>c});var s=r(4715),n=r(7143),a=r(7723),o=(r(8533),r(790));const __=a.__,i=[{name:"Dull blue",color:"#463ECE"},{name:"Jazzberry jam",color:"#C6446F"},{name:"June bud",color:"#C4D455"}];function c({disabled:e,value:t,onChange:r}){const a=(0,n.useSelect)(e=>{const t=e("core/block-editor").getSettings()??{};return Array.isArray(t?.colors)&&t.colors.length>0?t.colors:i});return(0,o.jsx)("div",{className:"jp-search-configure-color-input components-base-control",children:(0,o.jsx)(s.__experimentalColorGradientControl,{label:__("Highlight for search terms","jetpack-search-pkg"),disabled:e,colorValue:t,colors:a,disableCustomColors:!1,disableCustomGradients:!0,onColorChange:r})})}},8659(e,t,r){"use strict";r.d(t,{A:()=>c});r(6336),r(2926),r(887),r(3326),r(3893),r(3338),r(5508);var s=r(6427),n=r(6087),a=r(7723),o=(r(6013),r(790));const __=a.__,i=window.JetpackInstantSearchOptions.postTypes;function c({disabled:e,onChange:t,validPostTypes:r=i,value:a}){const c=(0,n.useMemo)(()=>Object.keys(r),[r]),l=(0,n.useMemo)(()=>a&&Array.isArray(a)?new Set(a):new Set,[a]),u=l.size===c.length-1;return(0,o.jsxs)("div",{className:"jp-search-configure-excluded-post-types-control components-base-control",children:[(0,o.jsx)("div",{className:"jp-search-configure-excluded-post-types-control__label",children:__("Excluded post types","jetpack-search-pkg")}),u&&(0,o.jsx)(s.Notice,{isDismissible:!1,status:"info",children:__("You must leave at least one post type unchecked.","jetpack-search-pkg")}),c.map(r=>{return(0,o.jsx)(s.CheckboxControl,{checked:l.has(r),disabled:e||!l.has(r)&&u,label:i[r].name,onChange:(n=r,e=>{const r=new Set(l);e?r.add(n):r.delete(n),t([...r])}),value:r,__nextHasNoMarginBottom:!0},r);var n})]})}},3161(e,t,r){"use strict";r.d(t,{A:()=>d});var s=r(6427),n=r(7723),a=r(3109),o=r(1034),i=r(7361),c=r(8394),l=r(5372),u=r(2772),p=r(9081),h=(r(1100),r(790));const __=n.__;function d(e){const{enabledSidebarName:t,enableSidebar:r,disableSidebar:n}=e;return(0,h.jsxs)("div",{className:"interface-complementary-area jp-search-configure-sidebar",children:[(0,h.jsxs)("div",{className:"components-panel__header interface-complementary-area-header jp-search-configure-sidebar__panel-tabs",tabIndex:"-1",children:[(0,h.jsx)(p.A,{enabledSidebarName:t,enableSidebar:r}),(0,h.jsx)(i.A,{}),(0,h.jsx)(s.Button,{"aria-label":__("Show preview","jetpack-search-pkg"),className:"jp-search-configure-sidebar__hide-settings-button",variant:"secondary",onClick:n,children:(0,h.jsx)(a.A,{icon:o.A})})]}),(0,h.jsxs)("div",{className:"components-panel",children:[t===c.e&&(0,h.jsx)(l.A,{}),t===c.B&&(0,h.jsx)(u.A,{})]})]})}},5372(e,t,r){"use strict";r.d(t,{A:()=>l});var s=r(4715),n=r(6427),a=r(7723),o=r(3832),i=r(4120),c=r(790);const __=a.__;function l(){return(0,c.jsxs)("div",{className:"jp-search-configure-sidebar-description",children:[(0,c.jsx)(s.BlockIcon,{icon:i.J}),(0,c.jsxs)("div",{children:[(0,c.jsx)("p",{children:__("Jetpack Search will allow your visitors to get search results as soon as they start typing. Customize this experience to offer better results that match your site.","jetpack-search-pkg")}),(0,c.jsx)(n.Button,{href:"widgets.php",variant:"tertiary",children:__("Edit widgets","jetpack-search-pkg")}),(0,c.jsx)(n.Button,{href:(0,o.addQueryArgs)("customize.php",{"autofocus[section]":"jetpack_search",return:`${window.location.pathname}${window.location.search}`}),variant:"tertiary",children:__("Configure in the Customizer","jetpack-search-pkg")})]})]})}},2772(e,t,r){"use strict";r.d(t,{A:()=>m});r(9060);var s=r(6427),n=r(7723),a=r(3022),o=r(617),i=r(4678),c=r(9611),l=r(7479),u=r(3976),p=r(8659),h=r(5666),d=r(790);const __=n.__,{isFreePlan:f=!1}=window[l.O5];function m(){const{color:e,excludedPostTypes:t,infiniteScroll:r=!0,filteringOpensOverlay:n=!0,resultFormat:m,setColor:g,setExcludedPostTypes:y,setInfiniteScroll:v,setFilteringOpensOverlay:_,setResultFormat:b,setShowLogo:w,setSort:k,setSortEnabled:E,setTheme:j,setTrigger:S,showLogo:x=!0,sort:C,sortEnabled:A=!0,theme:O,trigger:P,postDate:N=!1,setPostDate:F,productPrice:T=!0,setProductPrice:I,aiAnswersEnabled:R=!1,setAiAnswersEnabled:L,searchSuggestionsEnabled:M=!1,setSearchSuggestionsEnabled:$}=(0,c.A)(),{isSaving:z}=(0,o.A)(),{isLoading:D}=(0,i.A)(),B=zLine truncated
// translators: %s: sidebar label e.g: "Options".
__("%s (selected)","jetpack-search-pkg"),r):r;return(0,i.jsx)(s.Button,{onClick:()=>e(t),className:(0,a.A)("jp-search-configure-sidebar__panel-tab",{"is-active":o}),"aria-label":c,"data-label":r,children:r})}},5666(e,t,r){"use strict";r.d(t,{A:()=>c});var s=r(6427),n=r(7723),a=r(3022),o=r(894),i=r(790);const __=n.__;function c({disabled:e,value:t,onChange:r}){return(0,i.jsxs)("div",{className:"jp-search-configure-theme-buttons components-base-control",children:[(0,i.jsxs)(s.Button,{className:(0,a.A)({"jp-search-configure-theme-button--selected":"light"===t}),disabled:e,onClick:()=>r("light"),variant:"link",children:[(0,i.jsx)(o.A,{theme:"light"}),(0,i.jsx)("span",{"aria-label":__("Light Theme","jetpack-search-pkg"),children:__("Light","jetpack-search-pkg")})]}),(0,i.jsxs)(s.Button,{className:(0,a.A)({"jp-search-configure-theme-button--selected":"dark"===t}),disabled:e,onClick:()=>r("dark"),variant:"link",children:[(0,i.jsx)(o.A,{theme:"dark"}),(0,i.jsx)("span",{"aria-label":__("Dark Theme","jetpack-search-pkg"),children:__("Dark","jetpack-search-pkg")})]})]})}},894(e,t,r){"use strict";r.d(t,{A:()=>n});var s=r(790);function n({theme:e}){const t="dark"===e?"#000":"#fff",r="dark"===e?"#4F5861":"#DDE5EE";return(0,s.jsxs)("svg",{width:"104",height:"80",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:[(0,s.jsx)("rect",{x:"7.5",y:"7.5",width:"89",height:"65",rx:"3.5",fill:t,stroke:r}),(0,s.jsx)("path",{d:"M16 20a4 4 0 014-4h49a4 4 0 010 8H20a4 4 0 01-4-4zM42 55.5a1.5 1.5 0 011.5-1.5h32a1.5 1.5 0 010 3h-32a1.5 1.5 0 01-1.5-1.5zM42 60.5a1.5 1.5 0 011.5-1.5h11a1.5 1.5 0 010 3h-11a1.5 1.5 0 01-1.5-1.5zM16 47a4 4 0 014-4h12a4 4 0 014 4v12a4 4 0 01-4 4H20a4 4 0 01-4-4V47zM42 48a3 3 0 013-3h40a3 3 0 110 6H45a3 3 0 01-3-3zM8 32h89v1H8z",fill:r})]})}},617(e,t,r){"use strict";r.d(t,{A:()=>a});var s=r(7143),n=r(1609);function a(){const{saveEntityRecord:e,undo:t,redo:r}=(0,s.useDispatch)("core"),a=(0,s.useSelect)(e=>e("core").getEntityRecordEdits("root","site")),o=a&&Object.keys(a).length>0,i=(0,s.useSelect)(e=>e("core").isSavingEntityRecord("root","site")),c=(0,s.useSelect)(e=>e("core").hasUndo()),l=(0,s.useSelect)(e=>e("core").hasRedo()),u=(0,n.useCallback)(()=>{o&&e("root","site",a)},[a,o,e]);return{editedEntities:a,hasRedo:c,hasUndo:l,hasUnsavedEdits:o,isSaving:i,redo:r,saveRecords:u,undo:t}}},4678(e,t,r){"use strict";r.d(t,{A:()=>n});var s=r(7143);function n(){return{isLoading:!(0,s.useSelect)(e=>e("core").getSite())}}},9611(e,t,r){"use strict";r.d(t,{A:()=>i});var s=r(3582),n=r(1609),a=r(7479);const o=window.JetpackInstantSearchOptions.postTypes;function i(){const[e,t]=(0,s.useEntityProp)("root","site","jetpack_search_color_theme"),[r,i]=(0,s.useEntityProp)("root","site","jetpack_search_result_format"),[c,l]=(0,s.useEntityProp)("root","site","jetpack_search_default_sort"),[u,p]=(0,s.useEntityProp)("root","site","jetpack_search_overlay_trigger"),[h,d]=(0,s.useEntityProp)("root","site","jetpack_search_highlight_color"),[f,m]=(0,s.useEntityProp)("root","site","jetpack_search_enable_sort"),[g,y]=(0,s.useEntityProp)("root","site","jetpack_search_inf_scroll"),[v,_]=(0,s.useEntityProp)("root","site","jetpack_search_filtering_opens_overlay"),[b,w]=(0,s.useEntityProp)("root","site","jetpack_search_show_powered_by"),[k,E]=(0,s.useEntityProp)("root","site","jetpack_search_show_post_date"),[j,S]=(0,s.useEntityProp)("root","site","jetpack_search_show_product_price"),[x,C]=(0,s.useEntityProp)("root","site","jetpack_search_ai_answers_enabled"),[A,O]=(0,s.useEntityProp)("root","site","jetpack_search_suggestions_enabled"),[P,N]=(0,s.useEntityProp)("root","site","jetpack_search_excluded_post_types");return{color:h,excludedPostTypes:(0,n.useMemo)(()=>P?.split(",").filter(e=>e in o),[P]),infiniteScroll:g,filteringOpensOverlay:v,resultFormat:r,setColor:d,setExcludedPostTypes:e=>N(e.filter(e=>e in o).join(",")),setInfiniteScroll:y,setFilteringOpensOverlay:_,setResultFormat:e=>{const t=r;i(e),"product"===t&&a.Wq.has(c)&&l(a.x6)},setShowLogo:w,setSort:l,setSortEnabled:m,setTheme:t,setTrigger:p,showLogo:b,sort:c,sortEnabled:f,theme:e,trigger:u,postDate:k,setPostDate:E,productPrice:j,setProductPrice:S,aiAnswersEnabled:x,setAiAnswersEnabled:C,searchSuggestionsEnabled:A,setSearchSuggestionsEnabled:O}}},7547(e,t,r){"use strict";r.d(t,{be:()=>n,n_:()=>a,wk:()=>o,yM:()=>i});var s=r(8924);const n="jetpack_search_customberg",a=(...e)=>(0,s.ze)(...e,!0),o=(...e)=>(0,s.wk)(...e,!0),i=(...e)=>(0,s.yM)(...e,!0)},8394(e,t,r){"use strict";r.d(t,{B:()=>n,e:()=>s});const s="jetpack-customize-search/info",n="jetpack-customize-search/options"},8276(e,t,r){"use strict";r.d(t,{A:()=>o});var s=r(1609);const n=[200,200,200,1e3],a=["",".","..","..."];function o(){const[e,t]=(0,s.useState)(0);return(0,s.useEffect)(()=>{const r=setTimeout(()=>{t(e=>(e+1)%4)},n[e]);return()=>clearTimeout(r)},[e]),s.createElement("span",{"aria-hidden":"true",style:{display:"inline-block",minWidth:"1.5ch"}},a[e])}},2805(e,t,r){"use strict";r.d(t,{A:()=>c});var s=Line truncated
_n("%d review","%d reviews",t,"jetpack-search-pkg"),t)),n.createElement("span",{className:"screen-reader-text"},(0,s.sprintf)(/* Translators: %1$d: the average product rating out of 5, %2$d: the number of product reviews. */
_n("Average rating of %1$d out of 5 from %2$d review.","Average rating of %1$d out of 5 from %2$d reviews.",t,"jetpack-search-pkg"),Number(e).toFixed(2),t)))}},3845(e,t,r){"use strict";r.d(t,{A:()=>l});var s=r(7723),n=r(6954),a=r.n(n),o=r(1609),i=r(7479);r(7646);const __=s.__;class c extends o.Component{scrollElement=document.getElementsByClassName(i.tr)[0];componentDidMount(){this.scrollElement.addEventListener("scroll",this.checkScroll)}componentDidUnmount(){this.scrollElement.removeEventListener("scroll",this.checkScroll)}checkScroll=a()(()=>{const e=this.scrollElement.clientHeight+this.scrollElement.scrollTop+i.ZJ;this.props.enableLoadOnScroll&&e>=this.scrollElement.scrollHeight&&this.props.onLoadNextPage()},100);render(){return o.createElement("button",{className:"jetpack-instant-search__scroll-button",disabled:this.props.isLoading,onClick:this.props.onLoadNextPage},this.props.isLoading?o.createElement("span",null,__("Loading…","jetpack-search-pkg")):o.createElement("span",null,__("Load more","jetpack-search-pkg")))}}const l=c},459(e,t,r){"use strict";r.d(t,{A:()=>E});var s=r(7675),n=r(7723),a=r(6954),o=r.n(a),i=r(4224),c=r.n(i),l=r(1609),u=r(5795),p=r(4952),h=r(7479),d=r(3089),f=r(6122),m=r(8924),g=r(999),y=r(538),v=r(6084),_=r(8165),b=r(6973),w=r(8568);r(1032);const __=n.__;class k extends l.Component{static defaultProps={overlayOptions:{},widgets:[]};constructor(){super(...arguments),this.state={isVisible:!!this.props.initialIsVisible,overlayOptionsCustomizerOverride:{},aiBriefStatus:"idle",aiBriefText:"",aiBriefCitations:[],aiBriefError:null,aiExtendedStatus:"idle",aiExtendedText:"",aiExtendedCitations:[],aiExtendedError:null,aiExtendedLoadingText:"",aiShowExtended:!1,aiSessionId:null},this.getResults=o()(this.getResults,200),this.aiBriefController=null,this.aiExtendedController=null,this.getAiAnswer=o()(this.getAiAnswer,500),this.props.enableAnalytics?this.initializeAnalytics():(0,m.Re)(),this.props.shouldIntegrateWithDom?this.props.initializeQueryValues():this.props.disableQueryStringIntegration()}static getDerivedStateFromProps(e,t){return{overlayOptions:{...e.overlayOptions,...t.overlayOptionsCustomizerOverride}}}componentDidMount(){(this.props.initialShowResults&&this.props.initialIsVisible||this.props.isInCustomizer)&&this.getResults(),this.props.hasActiveQuery&&this.props.overlayOptions.enableFilteringOpensOverlay&&this.showResults()}componentDidUpdate(e,t){e.searchQuery===this.props.searchQuery&&e.sort===this.props.sort&&c()(e.filters)===c()(this.props.filters)&&c()(e.staticFilters)===c()(this.props.staticFilters)||this.onChangeQueryString(this.props.isHistoryNavigation),e.searchQuery!==this.props.searchQuery&&this.getAiAnswer(),t.overlayOptions.defaultSort!==this.state.overlayOptions.defaultSort&&this.props.setSort(this.state.overlayOptions.defaultSort),c()(t.overlayOptions.excludedPostTypes)!==c()(this.state.overlayOptions.excludedPostTypes)&&this.getResults()}componentWillUnmount(){this.aiBriefController&&this.aiBriefController.abort(),this.aiExtendedController&&this.aiExtendedController.abort(),this.getAiAnswer.clear()}initializeAnalytics(){(0,m.ze)(),!window[h.O5].preventTrackingCookiesReset&&(0,m.kX)(),(0,m.wk)(this.props.options.siteId)}getResultFormat=()=>{if(this.props.staticFilters&&this.props.staticFilters.group_id&&this.props.staticFilters.group_id!==h.$K)return h.yj;return(0,f.lz)()||this.state.overlayOptions.resultFormat};initializeStaticFilters=()=>{const e=(0,d.PM)();e.length>0&&0===Object.keys(this.props.staticFilters).length&&e.forEach(e=>this.props.setStaticFilter(e.filter_id,e.selected,!0))};hideResults=e=>{this.props.shouldIntegrateWithDom&&(0,f.fX)(this.props.initialHref,()=>{this.setState({isVisible:!1}),this.props.clearQueryValues()},e)};toggleResults=e=>{this.props.shouldIntegrateWithDom&&this.state.isVisible!==e&&(e&&this.initializeStaticFilters(),this.setState({isVisible:e}))};showResults=this.toggleResults.bind(this,!0);onChangeQueryString=e=>{this.getResults(),this.props.hasActiveQuery&&!this.state.isVisible&&this.showResults(),!this.props.hasActiveQuery&&e&&this.hideResults(e),null!==this.props.searchQuery&&document.querySelectorAll(this.props.themeOptions.searchInputSelector).forEach(e=>{e.value=this.props.searchQuery})};loadNextPage=()=>{this.props.hasNextPage&&this.getResults({pageHandle:this.props.response.page_handle})};getResults=({pageHandle:e}={})=>{this.props.makeSearchRequest({aggregations:e?{}:this.props.aggregations,excludedPostTypes:this.state.overlayOptions.excludedPostTypes,filter:this.props.filters,staticFilters:this.props.staticFilters,pageHandle:e,query:this.props.searchQuery,resultFormat:this.getResultFormat(),siteId:this.props.options.siteId,additionalBlogIds:this.props.options.additionalBlogIds,sort:this.props.sort,postsPerPage:this.props.options.postsPerPage,adminQueryFilter:this.props.options.adminQueryFilter,highlightFields:this.props.options.highlightFields,customResults:this.props.options.customResults,isInCustomizer:this.props.isInLine truncated
/* Translators: Button is used to clear the search input query. */
n.createElement("input",{type:"button",value:__("clear","jetpack-search-pkg"),onClick:e.onClear}),n.createElement("button",{className:"screen-reader-text assistive-text",tabIndex:"-1"},__("Search","jetpack-search-pkg")))))})},1242(e,t,r){"use strict";r.d(t,{A:()=>a});var s=r(1609),n=r(1168);r(3387);const a=e=>s.createElement("div",{className:"jetpack-instant-search__search-form-controls",role:"form"},e.children,e.enableSort&&s.createElement(n.A,{onChange:e.onChangeSort,resultFormat:e.resultFormat,value:e.sort}))},5450(e,t,r){"use strict";r.d(t,{A:()=>h,t:()=>l});r(6241);var s=r(3022),n=r(1609),a=r(4952),o=r(1557),i=r.n(o),c=r(7574);const l=e=>e.split(" ").join("T");let u=0;class p extends n.Component{filtersList=(0,n.createRef)();idPrefix="jetpack-instant-search__search-filter-"+ ++u;getIdentifier(){return"postType"===this.props.type?"post_types":"author"===this.props.type?"authors":"blogId"===this.props.type?"blog_ids":"date"===this.props.type?`${this.props.configuration.interval}_${this.props.configuration.field}`:"taxonomy"===this.props.type?this.props.configuration.taxonomy:"productAttribute"===this.props.type?this.props.configuration.attribute:"group"===this.props.type?this.props.configuration.filter_id:void 0}isChecked(e){return Boolean(this.props.value&&this.props.value.includes(e))}toggleFilter=()=>{this.props.onChange(this.getIdentifier(),(0,c.e)(this.filtersList.current))};toggleStaticFilter=e=>{this.props.onChange(this.getIdentifier(),e.target.value)};renderDate=({key_as_string:e,doc_count:t})=>{const{locale:r="en-US"}=this.props;return n.createElement("div",null,n.createElement("input",{checked:this.isChecked(e),disabled:!this.isChecked(e)&&0===t,id:`${this.idPrefix}-dates-${this.getIdentifier()}-${e}`,name:e,onChange:this.toggleFilter,type:"checkbox",className:"jetpack-instant-search__search-filter-list-input"}),n.createElement("label",{htmlFor:`${this.idPrefix}-dates-${this.getIdentifier()}-${e}`,className:"jetpack-instant-search__search-filter-list-label"},new Date(l(e)).toLocaleString(r,function(e){switch(e){case"day":return{year:"numeric",month:"long",day:"numeric"};case"month":return{year:"numeric",month:"long"};case"year":return{year:"numeric"}}return{year:"numeric",month:"long"}}(this.props.configuration.interval))," ","(",t,")"))};renderPostType=({key:e,doc_count:t})=>{const r=e in this.props.postTypes?this.props.postTypes[e].singular_name:e;return n.createElement("div",null,n.createElement("input",{checked:this.isChecked(e),disabled:!this.isChecked(e)&&0===t,id:`${this.idPrefix}-post-types-${e}`,name:e,onChange:this.toggleFilter,type:"checkbox",className:"jetpack-instant-search__search-filter-list-input"}),n.createElement("label",{htmlFor:`${this.idPrefix}-post-types-${e}`,className:"jetpack-instant-search__search-filter-list-label"},i()(r)," (",t,")"))};renderAuthor=({key:e,doc_count:t})=>{const[r,s]=e&&e.split(/\/(.+)/);return n.createElement("div",null,n.createElement("input",{checked:this.isChecked(r),disabled:!this.isChecked(r)&&0===t,id:`${this.idPrefix}-authors-${r}`,name:r,onChange:this.toggleFilter,type:"checkbox",className:"jetpack-instant-search__search-filter-list-input"}),n.createElement("label",{htmlFor:`${this.idPrefix}-authors-${r}`,className:"jetpack-instant-search__search-filter-list-label"},i()(s)," (",t,")"))};renderBlogId=({key:e,doc_count:t})=>{const r=e.toString(),s=this.props.blogIdFilteringLabels?.[e]||r;return n.createElement("div",null,n.createElement("input",{checked:this.isChecked(r),disabled:!this.isChecked(r)&&0===t,id:`${this.idPrefix}-blog-ids-${r}`,name:r,onChange:this.toggleFilter,type:"checkbox",className:"jetpack-instant-search__search-filter-list-input"}),n.createElement("label",{htmlFor:`${this.idPrefix}-blog-ids-${r}`,className:"jetpack-instant-search__search-filter-list-label"},i()(s)," (",t,")"))};renderTaxonomy=({key:e,doc_count:t})=>{const[r,s]=e&&e.split(/\/(.+)/);return n.createElement("div",null,n.createElement("input",{checked:this.isChecked(r),disabled:!this.isChecked(r)&&0===t,id:`${this.idPrefix}-taxonomies-${r}`,name:r,onChange:this.toggleFilter,type:"checkbox",className:"jetpack-instant-search__search-filter-list-input"}),n.createElement("label",{htmlFor:`${this.idPrefix}-taxonomies-${r}`,className:"jetpack-instant-search__search-filter-list-label"},i()(s)," (",t,")"))};renderProductAttribute=({key:e,doc_count:t})=>{const[r,s]=e&&e.split(/\/(.+)/);return n.createElement("div",null,n.createElement("input",{checked:this.isChecked(r),disabled:!this.isChecked(r)&&0===t,id:`${this.idPrefix}-product-attributes-${r}`,name:r,onChange:this.toggleFilter,type:"checkbox",className:"jetpack-instant-search__search-filter-list-input"}),n.createElement("label",{htmlFor:`${this.idPrefix}-product-attributes-${r}`,className:"jetpack-instant-search__search-filter-list-label"},i()(s)," (",t,")"))};renderGroup=e=>n.createElement("div",{className:"jetpack-instant-search__search-filter-group-item"},n.createElement("input",{checked:this.isChecked(e.value),iLine truncated
_n("Found %1$s result in %2$s","Found %1$s results in %2$s",e,"jetpack-search-pkg"),o,u?.name):(0,s.sprintf)(/* translators: %s: number of results. */
_n("Found %s result","Found %s results",e,"jetpack-search-pkg"),o)}return r?n?(0,s.sprintf)(/* translators: %1$s: number of results. %2$s: the corrected search query. */
_n('Found %1$s result for "%2$s"','Found %1$s results for "%2$s"',e,"jetpack-search-pkg"),o,t):(0,s.sprintf)(/* translators: %s: number of results. */
_n("Found %s result","Found %s results",e,"jetpack-search-pkg"),o):__("Showing popular results","jetpack-search-pkg")}renderPrimarySection(){const{highlightColor:e,searchQuery:t}=this.props,{results:r=[],total:n=0,corrected_query:l=!1}=this.props.response,h=(0,o.d)(e),g=!1!==l,v=n>0,b=this.props.additionalBlogIds?.length>0||this.props.staticFilters&&this.props.staticFilters.group_id&&this.props.staticFilters.group_id!==i.$K;return a.createElement(a.Fragment,null,a.createElement("style",{dangerouslySetInnerHTML:{__html:`\n\t\t\t\t\t\t\t.jetpack-instant-search *::selection,\n\t\t\t\t\t\t\t.jetpack-instant-search .jetpack-instant-search__search-results .jetpack-instant-search__search-results-primary .jetpack-instant-search__search-result mark {\n\t\t\t\t\t\t\t\tcolor: ${h};\n\t\t\t\t\t\t\t\tbackground-color: ${e};\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t`}}),a.createElement(u.A,{status:this.props.aiStatus,text:this.props.aiText,citations:this.props.aiCitations,error:this.props.aiError,loadingHint:this.props.aiLoadingHint,onShowMore:this.props.onShowMoreAiAnswer}),a.createElement(_.A,null),a.createElement("div",{className:"jetpack-instant-search__search-results-header"},a.createElement("h2",{className:"jetpack-instant-search__search-results-title"},this.getSearchTitle()),a.createElement(m.A,{enableSort:this.props.enableSort,onChangeSort:this.props.onChangeSort,resultFormat:this.props.resultFormat,sort:this.props.sort},(this.hasFilterOptions()||this.props.hasNonSearchWidgets)&&a.createElement("div",{role:"button",onClick:this.toggleMobileSecondary,onKeyDown:this.toggleMobileSecondary,tabIndex:"0",className:"jetpack-instant-search__search-results-filter-button"},__("Filters","jetpack-search-pkg"),a.createElement(p.A,{icon:"chevron-down",size:16,alt:__("Show search filters","jetpack-search-pkg"),"aria-hidden":"true"}),a.createElement("span",{className:"screen-reader-text assistive-text"},this.state.shouldShowMobileSecondary?__("Hide filters","jetpack-search-pkg"):__("Show filters","jetpack-search-pkg"))))),v&&g&&a.createElement("p",{className:"jetpack-instant-search__search-results-unused-query"},/* translators: %s: Search query. */ /* translators: %s: Search query. */
(0,s.sprintf)(__('No results for "%s"',"jetpack-search-pkg"),t)),this.props.hasError&&a.createElement(d.A,{type:"warning"},(0,c.u)(this.props.response.error)),v&&!this.props.hasError&&this.props.response._isOffline&&a.createElement(d.A,{type:"warning"},(0,c.u)({message:"offline"})),v&&!this.props.hasError&&a.createElement("ol",{className:`jetpack-instant-search__search-results-list is-format-${this.props.resultFormat}`},r.map((e,t)=>a.createElement(y.A,{index:t,key:t,staticFilters:this.props.staticFilters,isPhotonEnabled:this.props.isPhotonEnabled,locale:this.props.locale,railcar:this.props.isVisible?e.railcar:null,result:e,resultFormat:this.props.resultFormat,searchQuery:this.props.searchQuery,isMultiSite:b,showPostDate:this.props.showPostDate,enableFallbackImage:this.props.enableFallbackImage,fallbackImageUrl:this.props.fallbackImageUrl,showProductPrice:this.props.showProductPrice}))),v&&this.props.hasNextPage&&a.createElement("div",{className:"jetpack-instant-search__search-results-pagination"},a.createElement(f.A,{enableLoadOnScroll:this.props.enableLoadOnScroll,isLoading:this.props.isLoading,onLoadNextPage:this.props.onLoadNextPage})))}renderSecondarySection(){return a.createElement(v.A,{filters:this.props.filters,staticFilters:this.props.staticFilters,isLoading:this.props.isLoading,locale:this.props.locale,postTypes:this.props.postTypes,response:this.props.response,widgets:this.props.widgets,widgetOutsideOverlay:this.props.widgetOutsideOverlay})}closeOverlay=e=>{e.preventDefault(),this.props.closeOverlay()};onKeyPressHandler=e=>{"Enter"===e.key&&(e.preventDefault(),this.props.closeOverlay())};render(){return a.createElement("div",{className:(0,n.A)("jetpack-instant-search__search-results-wrapper",{"has-colophon":this.props.showPoweredBy})},a.createElement("div",{"aria-hidden":!0===this.props.isLoading,className:"jetpack-instant-search__search-results"},a.createElement("div",{className:"jetpack-instant-search__search-results-controls",role:"form"},a.createElement(g.A,{"aria-controls":"jetpack-instant-search__search-results-content",className:"jetpack-instant-search__search-results-search-form",isVisible:this.props.isVisible,onChangeSearch:this.props.onChangeSearch,onSelectFilter:this.props.onSelectFilter,searchQuery:this.props.searchQuery,suggestionsEnabled:this.props.suggestionsEnabled,siteId:this.props.siteId}),a.createElement("button",{className:"jetpack-instant-search__overlay-close",onClick:this.closeOverlay,onKeyPress:this.onKeyPressHandler,tabIndex:"0","aria-label":__("Close search results","jetpack-search-pkg")},a.createElement(p.A,{icon:"cross",size:"24","aria-hidden":"true",focusable:"false"}))),a.createElement("div",{"aria-live":"polite",className:"jetpack-instant-search__search-results-content",id:"jetpack-instant-search__search-results-content"},a.createElement("div",{className:"jetpack-instant-search__search-results-primary"},this.renderPrimarySection()),a.createElement("div",{className:["jetpack-instant-search__search-results-secondary",(this.state.shouldShowMobileSecondary?"jetpack-instant-search__search-results-secondary--show-as-modal":"")+" "].join(" ")},this.renderSecondarySection())),a.createElement("button",{id:i.m2,onClick:this.closeOverlay},"Close Search")),this.props.showPoweredBy&&a.createElement(h.A,{locale:this.props.locale}))}}const w=b},1168(e,t,r){"use strict";r.d(t,{A:()=>o});var s=r(7723),n=r(1609),a=r(3476);r(5965);const __=s.__;class o extends n.Component{handleClick=e=>{this.props.value!==e.currentTarget.value&&(e.preventDefault(),this.props.onChange(e.currentTarget.dataset.value))};handleSelectChange=e=>{this.props.value!==e.currentTarget.value&&(e.preventDefault(),this.props.onChange(e.currentTarget.value))};render(){const e=(0,a.$)(this.props.resultFormat),t=e.size;let r=0;return e.size>3?n.createElement("div",{"aria-controls":"jetpack-instant-search__search-results-content",className:"jetpack-instant-search__search-sort jetpack-instant-search__search-sort-with-select"},n.createElement("label",{htmlFor:"jetpack-instant-search__search-sort-select"},__("Sort:","jetpack-search-pkg")),n.createElement("select",{className:"jetpack-instant-search__search-sort-select",id:"jetpack-instant-search__search-sort-select",onBlur:this.handleSelectChange,onChange:this.handleSelectChange},[...e.entries()].map(([e,t])=>n.createElement("option",{value:e,key:e,selected:this.props.value===e?"selected":""},t)))):n.createElement("div",{"aria-controls":"jetpack-instant-search__search-results-content",className:"jetpack-instant-search__search-sort jetpack-instant-search__search-sort-with-links"},n.createElement("div",{className:"screen-reader-text"},__("Sort by:","jetpack-search-pkg")," "),[...e.entries()].map(([e,s])=>n.createElement(n.Fragment,null,n.createElement("button",{"aria-current":this.props.value===e?"true":"false",className:"jetpack-instant-search__search-sort-option "+(this.props.value===e?"is-selected":""),"data-value":e,key:e,onClick:this.handleClick},s),++r<t?n.createElemeLine truncated
// translators: %s: Error code.
__("Jetpack Search is currently unavailable. Please try again later. [%s]","jetpack-search-pkg"),e?.message);case"offline":return __("It looks like you're offline. Please reconnect to load the latest results.","jetpack-search-pkg");default:return(0,s.sprintf)(
// translators: %s: Error code.
__("Jetpack Search has encountered an error. Please contact the site administrator if the issue persists. [%s]","jetpack-search-pkg"),e?.message??"unknown")}}},3089(e,t,r){"use strict";r.d(t,{PM:()=>o,Xt:()=>a,hM:()=>p,hX:()=>i,i$:()=>c,sm:()=>h,xf:()=>u});r(6241),r(6336),r(2926),r(887),r(3326),r(3893),r(3338),r(5508);var s=r(7479);const n=Object.freeze(["blog_ids","authors","post_types","category","post_format","post_tag","month_post_date","month_post_date_gmt","month_post_modified","month_post_modified_gmt","year_post_date","year_post_date_gmt","year_post_modified","year_post_modified_gmt"]);function a(e=window[s.O5]?.widgets,t=window[s.O5]?.widgetsOutsideOverlay){const r=new Set(n);return[...e??[],...t??[]].map(e=>e.filters).filter(e=>Array.isArray(e)).reduce((e,t)=>e.concat(t),[]).forEach(e=>{"taxonomy"===e.type?r.add(e.taxonomy):"product_attribute"===e.type&&e.attribute&&r.add(e.attribute)}),[...r]}function o(e){return window[s.O5]?.staticFilters?window[s.O5].staticFilters.filter(t=>!e||("sidebar"===e&&!t.variation||!(!e||!t.variation)&&t.variation===e)):[]}function i(){const e=o(),t=new Set;return e.forEach(e=>t.add(e.filter_id)),[...t]}function c(e=window[s.O5]?.widgets){const t=function(e=window[s.O5]?.widgets){return e?.map(l).reduce((e,t)=>e.concat(t),[])??[]}(e);return a().filter(e=>!t.includes(e))}function l(e){return e.filters.map(u).filter(e=>"string"==typeof e)}function u(e){return"date_histogram"===e.type?`${e.interval}_${e.field}`:"taxonomy"===e.type?`${e.taxonomy}`:"post_type"===e.type?"post_types":"author"===e.type?"authors":"blog_id"===e.type?"blog_ids":"product_attribute"===e.type?e.attribute:"group"===e.type?e.filter_id:null}function p(e){return e.includes("month")?{field:e.split("month_").pop(),type:"date_histogram",interval:"month"}:e.includes("year")?{field:e.split("year_").pop(),type:"date_histogram",interval:"year"}:"post_types"===e?{type:"post_type"}:"authors"===e?{type:"author"}:"blog_ids"===e?{type:"blog_id"}:"group"===e?{type:"group"}:e.startsWith("pa_")?{type:"product_attribute",attribute:e}:{type:"taxonomy",taxonomy:e}}function h(e){return"date_histogram"===e.type?"date":"taxonomy"===e.type?"taxonomy":"post_type"===e.type?"postType":"author"===e.type?"author":"blog_id"===e.type?"blogId":"product_attribute"===e.type?"productAttribute":"group"===e.type?"group":void 0}},4809(e,t,r){"use strict";r.d(t,{g:()=>o});r(6241);var s=r(4936),n=r(1609);function a(e){if(!e)return"";const t=function(e){if(!e)return"";if(e.match(/^https?:\/\//))return e;if(e.startsWith("//"))return`${window.location.protocol}${e}`;try{const t=e.includes("://")?e:`http://${e}`;if(new URL(t).hostname===window.location.hostname)return`${window.location.protocol}//${e}`}catch{return e}return e}(e);return t.split("?",1)[0]}function o(e,t,r,o=!0){const[i,c]=(0,n.useState)(null),l=a(e),u=l?.substring(l.lastIndexOf(".")+1).toLowerCase(),p=["gif","jpg","jpeg","png","webp","heic"].includes(u);return(0,n.useEffect)(()=>{if(o&&p){const n=(0,s.A)(l,{resize:`${t},${r}`});c(n||e)}else c(e)},[e,t,r,o,l,p]),i}},2685(e,t,r){"use strict";r.d(t,{u:()=>a});r(9060);function s(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")}function n(e){const t=/(\*\*(.+?)\*\*|\*(.+?)\*|\[([^\]]+)\]\(([^)]+)\)|(https?:\/\/[^\s<>"')\]]+))/g,r=[];let a,o=0;for(;null!==(a=t.exec(e));){if(a.index>o&&r.push(s(e.slice(o,a.index))),void 0!==a[2])r.push(`<strong>${n(a[2])}</strong>`);else if(void 0!==a[3])r.push(`<em>${n(a[3])}</em>`);else if(void 0!==a[4]&&void 0!==a[5]){const e=/^https?:\/\//.test(a[5])?s(a[5]):"#";r.push(`<a href="${e}" target="_blank" rel="noopener noreferrer">${s(a[4])}</a>`)}else if(void 0!==a[6]){const e=s(a[6]);r.push(`<a href="${e}" target="_blank" rel="noopener noreferrer">${e}</a>`)}o=a.index+a[0].length}return o<e.length&&r.push(s(e.slice(o))),r.join("")}function a(e){if(!e)return"";let t="";const r=e.split("\n");let s=!1;const a=[],o=()=>{if(a.length>0){const e=a.join(" ").trim();e&&(t+=`<p>${n(e)}</p>`),a.length=0}},i=()=>{s&&(t+="</ul>",s=!1)};for(const e of r){const r=e.match(/^(#{1,6})\s+(.+)$/),c=e.match(/^[-*]\s+(.+)$/);if(r){o(),i();const e=Math.min(r[1].length+1,6);t+=`<h${e}>${n(r[2])}</h${e}>`}else c?(o(),s||(t+="<ul>",s=!0),t+=`<li>${n(c[1])}</li>`):""===e.trim()?(o(),i()):(s&&i(),a.push(e))}return o(),i(),t}},6122(e,t,r){"use strict";r.d(t,{$Z:()=>i,NY:()=>c,fX:()=>u,lz:()=>l});r(6241);var s=r(7216),n=r(9355),a=r(7479),o=r(3089);function i(e=window.location.search){return(0,n.D)(e.substring(1),!1,!1)}function c(e){window.instantSearchSkipPushState||function(e){if(history.pushState){const t=new window.URL(window.location.href);window[a.O5]&&"homeUrl"in window[a.O5]&&(t.href=window[a.O5].homeUrl),t.search=e,window.history.pushState(null,null,t.toString())}}((0,s.l)(e))}function l(){const e=i();return a.SK.includes(e.result_format)?e.result_format:null}function u(e,t,r=!1){if(history.pushState&&history.replaceState){const n=new URL(e),a=i(n.search),c=[...(0,o.Xt)(Line truncated
@@ -0,0 +1,17 @@
/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v17.0.2
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
@@ -0,0 +1 @@
.jetpack-instant-search__overlay{background:#1d2327b3;bottom:0;box-sizing:border-box;color:#0a112d;font-size:16px;left:0;opacity:1;overflow-x:hidden;overflow-y:auto;position:fixed;right:0;top:0;z-index:9999999999999}body.jps-theme-argent .jetpack-instant-search__overlay *{font-family:Helvetica,sans-serif}@media(max-width:767.98px){.jetpack-instant-search__overlay{padding:3em 1em}}@media(max-width:575.98px){.jetpack-instant-search__overlay{padding:0}}@media(min-width:768px){.jetpack-instant-search__overlay{padding:3em}}.jetpack-instant-search__overlay :is(h1,h2,h3,h4,h5,h6){letter-spacing:inherit}.jetpack-instant-search__overlay.is-hidden{background:#0000;opacity:0;visibility:hidden}.jetpack-instant-search__overlay *,.jetpack-instant-search__overlay :after,.jetpack-instant-search__overlay :before{box-sizing:inherit}@media print{.jetpack-instant-search__overlay.is-hidden{display:none}}@media(prefers-reduced-motion:no-preference){.jetpack-instant-search__overlay{transition:opacity .1s ease-in}}.jp-search-answers-panel{background:#fff;border:1px solid #dcdcde;border-radius:6px;box-shadow:0 1px 4px #00000014;color:#0a112d;margin:0 56px 16px;overflow:hidden}.jp-search-answers-panel--fixed-height{display:flex;flex-direction:column;height:160px}.jp-search-answers-panel--fixed-height .jp-search-answers-panel__content{flex:1;max-height:none;min-height:0;overflow:hidden}.jp-search-answers-panel--fixed-height .jp-search-answers-panel__toggle{flex-shrink:0;margin-top:auto}@media(max-width:991.98px){.jp-search-answers-panel{margin-left:40px;margin-right:40px}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jp-search-answers-panel{margin-left:40px;margin-right:40px}}@media(min-width:600px){.jp-search-answers-panel{margin-left:20px;margin-right:20px}}.jp-search-answers-panel__heading{color:#646970;font-size:11px;font-weight:600;letter-spacing:.08em;margin:0;padding:14px 18px 8px;text-transform:uppercase}.jp-search-answers-panel--error{border-color:#facfd2}.jp-search-answers-panel__error{padding:0 18px 14px}.jp-search-answers-panel__error-message{color:#d63638;font-size:13px;margin:0 0 4px}.jp-search-answers-panel__error-detail{color:#646970;font-size:12px;margin:0}.jp-search-answers-panel__loading{align-items:center;color:#646970;display:flex;font-size:13px;gap:8px;padding:0 18px 14px}.jp-search-answers-panel__loading-hint{color:#646970;font-size:13px;font-style:italic;margin:0;padding:0 18px 14px}.jp-search-answers-panel__content{padding:0 18px 14px}.jp-search-answers-panel__content--collapsed{max-height:5em;overflow:hidden;padding-bottom:0;position:relative}.jp-search-answers-panel__content--collapsed:after{background:linear-gradient(#0000,#fff);bottom:0;content:"";height:2.5em;left:0;pointer-events:none;position:absolute;right:0}.jp-search-answers-panel__text{font-size:13px;line-height:1.6}.jp-search-answers-panel__text :is(h2,h3,h4){font-size:1em;font-weight:700;margin:.8em 0 .3em}.jp-search-answers-panel__text p{margin:0 0 .6em}.jp-search-answers-panel__text ul{list-style:disc;margin:0 1.2em .6em 0;padding:0}.jp-search-answers-panel__text li{margin-bottom:.2em}.jp-search-answers-panel__text strong{font-weight:700}.jp-search-answers-panel__text em{font-style:italic}.jp-search-answers-panel__text a{color:#0a112d;text-decoration:underline}.jp-search-answers-panel__toggle{align-items:center;background:none;border:none;border-top:1px solid #f6f7f7;color:#0a112d;cursor:pointer;display:flex;font-size:12px;font-weight:500;gap:6px;justify-content:center;padding:9px 0;width:100%}.jp-search-answers-panel__toggle:hover{background:#f6f7f7}.jp-search-answers-panel__toggle-icon{border-bottom:1.5px solid;border-left:1.5px solid;display:inline-block;height:6px;transform:rotate(-45deg);width:6px}.jp-search-answers-panel__toggle--expanded .jp-search-answers-panel__toggle-icon{margin-top:3px;transform:rotate(135deg)}.jp-search-answers-panel__citations{border-top:1px solid #f6f7f7;display:flex;flex-wrap:wrap;gap:6px 12px;justify-content:flex-end;list-style:none;margin:6px 0 0;padding:10px 0 0}.jp-search-answers-panel__citations li{font-size:12px;line-height:1.5}.jp-search-answers-panel__citations a{align-items:center;color:#0a112d;display:inline-flex;gap:4px;text-decoration:underline}.jp-search-answers-panel__citation-icon{flex-shrink:0}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jp-search-answers-panel{background:#000;border-color:#3c434a;box-shadow:none;color:#fbfcfe}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jp-search-answers-panel--error{border-color:#d63638}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark :is(.jp-search-answers-panel__error-detail,.jp-search-answers-panel__heading,.jp-search-answers-panel__loading,.jp-search-answers-panel__loading-hint){color:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jp-search-answers-panel__content--collapsed:after{background:linear-gradient(#0000,#000)}.jetpack-instantLine truncated
@@ -0,0 +1,17 @@
<svg width="380" height="183" viewBox="0 0 380 183" fill="none" xmlns="http://www.w3.org/2000/svg">
<g opacity="0.75" filter="url(#filter0_f_5953_11924)">
<path d="M360 -60C360 7.93102 304.931 63 237 63C169.069 63 114 7.93102 114 -60C114 -127.931 169.069 -183 237 -183C304.931 -183 360 -127.931 360 -60Z" fill="url(#paint0_linear_5953_11924)"/>
</g>
<defs>
<filter id="filter0_f_5953_11924" x="-6" y="-303" width="486" height="486" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
<feGaussianBlur stdDeviation="60" result="effect1_foregroundBlur_5953_11924"/>
</filter>
<linearGradient id="paint0_linear_5953_11924" x1="360" y1="-60" x2="114" y2="-60" gradientUnits="userSpaceOnUse">
<stop stop-color="#48FF50"/>
<stop offset="0.471846" stop-color="#108642"/>
<stop offset="1" stop-color="#2E38FA"/>
</linearGradient>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 990 B

@@ -0,0 +1 @@
<?php return array('dependencies' => array('jetpack-connection', 'jetpack-script-data', 'jetpack-shared-stores', 'react', 'react-dom', 'react-jsx-runtime', 'wp-a11y', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '16fe8cc22d706b38a305');
@@ -0,0 +1 @@
.vMa4i_Dza2t5Zi_Bw9Nf{background:var(--jp-white-off);overflow:hidden;padding-top:1px}@media(max-width:599px){.RuVLl3q4lxTQa3wbhBJB{grid-column-end:span 1}.f9LZTRG4MMK42rS89afW{grid-column-start:1}.bHe_zKxjjpUwHw_MdYE1{grid-column-end:2}.QZbNrOqE2aNSn50xVhpU{grid-column-end:span 2}.ev7W3z7zVYPeHAlYqZjf{grid-column-start:2}.NJWd1m_e7lOiPYru2ZMP{grid-column-end:3}.Xc6nt1Qc1DI0Z2A3gt1r{grid-column-end:span 3}.UIcN_GXiPRoIsin8Kohg{grid-column-start:3}.GRKCyqb5LufCSCgykKFc{grid-column-end:4}.i_qTq8gqhhC3vIUepVRB{grid-column-end:span 4}.G3qaZ3Jpbvam_1XvGxgc{grid-column-start:4}.VRCNYKZtO9zukEwmgP1y{grid-column-end:5}}@media(min-width:600px)and (max-width:959px){.tRm008K_WJL79WoNZTNL{grid-column-end:span 1}.l5T2P_bgKts4tdaRkS1d{grid-column-start:1}.zOCxfLZpF6BlgC7a_Yq1{grid-column-end:2}.F80DdgVn0m5OpvtSQWka{grid-column-end:span 2}.oI1c7JYfiJtMQHbhngtU{grid-column-start:2}.pMQtA_4jh1_1lVknqEP5{grid-column-end:3}.VenqMpdgyKQVUNNQcfqd{grid-column-end:span 3}.seNYL99uoczf9V4MxBxT{grid-column-start:3}.YKfF1HFhI9KygA5l3b2J{grid-column-end:4}.yAi0Cv1xDWkoqsaUhvhR{grid-column-end:span 4}.ubhnyZOnkgxNhh6XtVWv{grid-column-start:4}.RGOPGQbWMJ9Ei5oFxS7X{grid-column-end:5}.Sz1E2aWbX483ijdi6yge{grid-column-end:span 5}.tku6_bRYrX9tMbgYGmIl{grid-column-start:5}.b5JHttOhSEcI1WBlqAjk{grid-column-end:6}.FboSx5MoKTAWbxXyYlCw{grid-column-end:span 6}.Jhs8yEEmodG30edbJvag{grid-column-start:6}.IpzbbKVqEqPcfIGkXkwt{grid-column-end:7}.mhCPwfAZ4Kmm_empzJAq{grid-column-end:span 7}.x034ilrJF7rO9UJB2rI1{grid-column-start:7}.Wt8t2e16viRrOJ1lLA5v{grid-column-end:8}.S6pIrEy9AMLKx9bgh_Ae{grid-column-end:span 8}.kEfI4tGyuWfHTlRnvIab{grid-column-start:8}.PUzX4RRsKq1dnsz3gebS{grid-column-end:9}}@media(min-width:960px){.X_pdcLJikd8LS_YAdJlB{grid-column-end:span 1}.tl936d14Huby4khYp05X{grid-column-start:1}.hnge0LnR69d3NXEtEE1t{grid-column-end:2}.fj0NUMuyZQcPNgKcjp5Z{grid-column-end:span 2}.R2ncBX7a2NigdYCcV1OX{grid-column-start:2}.t8vMSDVYno9k9itRwnXb{grid-column-end:3}.wsDuEN2GqHx6qzo8dUdk{grid-column-end:span 3}.cIEVPUweWtLBy3xaXnMx{grid-column-start:3}.fajUWBwu1m2B479j3jmz{grid-column-end:4}.YR0c7fQTgMkDdWzwSyLp{grid-column-end:span 4}.xlwp8BmplxkKNMI7gamo{grid-column-start:4}._C4O1w9DUqx1m3gPf8aA{grid-column-end:5}.Z54F1hAErckAIrKlxnXW{grid-column-end:span 5}.ezSDWkRHmKSxDJXxuiOH{grid-column-start:5}.T0ChoeAjGJjkkNrYhD4g{grid-column-end:6}.qtMoMPF6yHvGJnWHSsde{grid-column-end:span 6}.gdoywN5VPiWERfIBqkph{grid-column-start:6}.wUev_VH5uf_pwFFlbnAU{grid-column-end:7}.egIPDFJsOpownTClq9XP{grid-column-end:span 7}.yGhp9yoAW7k0kQik9AB7{grid-column-start:7}.SJ43U9mR5wUg5V2qBeQA{grid-column-end:8}.cTuyHfMwSUJxN_HdIEgd{grid-column-end:span 8}.smCr8DaIagcumdvdldiK{grid-column-start:8}.T03NHzQJvzwL6wAfIiTL{grid-column-end:9}.pMvxM3RJGjqyNdf9qg1Y{grid-column-end:span 9}.iIVpNRwEnQ_JI5gpp9EN{grid-column-start:9}.ZbQ4u4vGSX5rJOje4uGL{grid-column-end:10}.gKb5wuIDAlKGbrjK2vxy{grid-column-end:span 10}.Z7pINdImE2WJiYnZBTqm{grid-column-start:10}.ZTxp6qpvwurMdOnLLSz1{grid-column-end:11}.NnQTlbfnxPDR6cQ7rygg{grid-column-end:span 11}.O137wZd6Yl0olSA9PsXR{grid-column-start:11}.zf2OJtQ2MPz6SDoh6CB0{grid-column-end:12}.U3H6UHW6HqRt9hdzVg3O{grid-column-end:span 12}.zynnNeS_ZBTxABcVpUQH{grid-column-start:12}.vI8tltFZtFUNAy9Iag9s{grid-column-end:13}}.SqdhUZkXCRuIpErj1B3z{--max-container-width:1040px;--vertical-gutter:24px;--horizontal-spacing:8px;column-gap:var(--vertical-gutter);display:grid;margin:0 auto;width:100%}@media(max-width:599px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(4,minmax(0,1fr));max-width:calc(var(--max-container-width) + 32px);padding:0 16px}}@media(min-width:600px)and (max-width:959px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(8,minmax(0,1fr));max-width:calc(var(--max-container-width) + 36px);padding:0 18px}}@media(min-width:960px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(12,minmax(0,1fr));max-width:calc(var(--max-container-width) + 48px);padding:0 24px}}.SqdhUZkXCRuIpErj1B3z.OZC_9a1LhpWF9dv15Gdh{max-width:none;padding:unset}.components-spinner.jp-search-dashboard-page-loading-spinner{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.jp-search-dashboard-promotion h1{font-size:var(--font-title-large);font-weight:600;line-height:1.2}.jp-search-dashboard-promotion ul.jp-product-promote li{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAANlBMVEVHcEwFnwUInggGnggGnggHnAcAnwUFnQcAnwcGnwkFnQgGnQgFnwcGnQYFnQcFnAcGnQkDnwdhiL0pAAAAEnRSTlMAMF//f2Aw7yBQ3+9gcIBgcED+HDbkAAAAZklEQVR4Ae3LNwICARDDQC0+cv7/Y8mwV9odSfWIcf/+VegnGkIvDaGXKvTTn/Gz+Uf5xTL0K1XotS7fs5H6GHvvaO8d7c3j7rdgHne/A/PYt/cO+R42oYdN6OEQetiFHo4A//6dAXqtBEkmtWutAAAAAElFTkSuQmCC) no-repeat;background-size:24px;color:var(--jp-black);margin-bottom:9px;padding-left:30px}.jp-search-dashboard-connection-screen{align-items:center;background:var(--jp-white-off);display:flex;width:100%}.jp-search-dashboard-connection-screen>div{width:100%}.jp-search-dashboard-connection-screen .jp-components__pricing-card .components-spinner{margin:0}.jp-seLine truncated
@@ -0,0 +1,48 @@
/*! For license information please see jp-search-dashboard.js.LICENSE.txt */
(()=>{var e,t,r={46941(e,t,r){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0,o=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(n++,"%c"===e&&(o=n))}),t.splice(o,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(53212)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},53212(e,t,r){e.exports=function(e){function t(e){let r,o,i,s=null;function a(...e){if(!a.enabled)return;const n=a,o=Number(new Date),i=o-(r||o);n.diff=i,n.prev=r,n.curr=o,r=o,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let s=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,o)=>{if("%%"===r)return"%";s++;const i=t.formatters[o];if("function"==typeof i){const t=e[s];r=i.call(n,t),e.splice(s,1),s--}return r}),t.formatArgs.call(n,e);(n.log||t.log).apply(n,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=n,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(o!==t.namespaces&&(o=t.namespaces,i=t.enabled(e)),i),set:e=>{s=e}}),"function"==typeof t.init&&t.init(a),a}function n(e,r){const n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function o(e,t){let r=0,n=0,o=-1,i=0;for(;r<e.length;)if(n<t.length&&(t[n]===e[r]||"*"===t[n]))"*"===t[n]?(o=n,i=r,n++):(r++,n++);else{if(-1===o)return!1;n=o+1,i++,r=i}for(;n<t.length&&"*"===t[n];)n++;return n===t.length}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names,...t.skips.map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const e of r)"-"===e[0]?t.skips.push(e.slice(1)):t.names.push(e)},t.enabled=function(e){for(const r of t.skips)if(o(e,r))return!1;for(const r of t.names)if(o(e,r))return!0;return!1},t.humanize=r(44997),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(r=>{t[r]=e[r]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t),r|=0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}},48796(e,t,r){"use strict";r.d(t,{A:()=>n});const n={"admin-page":"sexr0jUxC1jVixdKiDnC",background:"vKQ11sLeAM45M04P1ccj","without-bottom-border":"zWDcRnnZPA743KzSQdUg","admin-page-header":"iWGAhN9gOB48g0jEO1OQ","admin-page-footer":"N7JAnsuu_FtPrtDg8bVw","sandbox-domain-badge":"JOYmuxQjLine truncated
__("There was an error testing Jetpack. Error: %s","jetpack-search-pkg"),e.message))}},[]);return r&&(_||A)?(0,f.jsx)("div",{className:N,children:(0,f.jsxs)(o.A,{className:"jp-admin-page__page",visual:k||(0,f.jsx)(l.A,{showText:!1,height:20}),breadcrumbs:A,title:_,subTitle:x,actions:j,showSidebarToggle:!1,children:[S,E?e:(0,f.jsx)(u.A,{fluid:!0,horizontalSpacing:0,children:(0,f.jsx)(d.A,{children:e})}),g&&(0,f.jsx)(c.A,{menu:w})]})}):(0,f.jsxs)("div",{className:N,children:[r&&(0,f.jsx)(u.A,{horizontalSpacing:5,children:(0,f.jsxs)(d.A,{className:(0,s.A)(p.A["admin-page-header"],"jp-admin-page-header"),children:[y||(0,f.jsx)(l.A,{}),m&&(0,f.jsx)("code",{className:p.A["sandbox-domain-badge"],onClick:R,onKeyDown:R,role:"button",tabIndex:0,title:`Sandboxing via ${m}. Click to test connection.`,children:"API Sandboxed"})]})}),(0,f.jsx)(u.A,{fluid:!0,horizontalSpacing:0,children:(0,f.jsx)(d.A,{children:e})}),g&&(0,f.jsx)(c.A,{menu:w})]})}},90766(e,t,r){"use strict";r.d(t,{A:()=>i});var n=r(9661),o=r(10790);const i=({children:e})=>(0,o.jsx)("div",{className:n.A["section-hero"],children:e})},48907(e,t,r){"use strict";r.d(t,{A:()=>s});var n=r(27723),o=r(13022),i=r(10790);const __=n.__,s=({title:e=__("An Automattic Airline","jetpack-search-pkg"),height:t=7,className:r,...n})=>(0,i.jsxs)("svg",{role:"img",x:"0",y:"0",viewBox:"0 0 935 38.2",enableBackground:"new 0 0 935 38.2","aria-labelledby":"jp-automattic-byline-logo-title",height:t,className:(0,o.A)("jp-automattic-byline-logo",r),...n,children:[(0,i.jsx)("desc",{id:"jp-automattic-byline-logo-title",children:e}),(0,i.jsx)("path",{d:"M317.1 38.2c-12.6 0-20.7-9.1-20.7-18.5v-1.2c0-9.6 8.2-18.5 20.7-18.5 12.6 0 20.8 8.9 20.8 18.5v1.2C337.9 29.1 329.7 38.2 317.1 38.2zM331.2 18.6c0-6.9-5-13-14.1-13s-14 6.1-14 13v0.9c0 6.9 5 13.1 14 13.1s14.1-6.2 14.1-13.1V18.6zM175 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7L157 1.3h5.5L182 36.8H175zM159.7 8.2L152 23.1h15.7L159.7 8.2zM212.4 38.2c-12.7 0-18.7-6.9-18.7-16.2V1.3h6.6v20.9c0 6.6 4.3 10.5 12.5 10.5 8.4 0 11.9-3.9 11.9-10.5V1.3h6.7V22C231.4 30.8 225.8 38.2 212.4 38.2zM268.6 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H268.6zM397.3 36.8V8.7l-1.8 3.1 -14.9 25h-3.3l-14.7-25 -1.8-3.1v28.1h-6.5V1.3h9.2l14 24.4 1.7 3 1.7-3 13.9-24.4h9.1v35.5H397.3zM454.4 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7l19.2-35.5h5.5l19.5 35.5H454.4zM439.1 8.2l-7.7 14.9h15.7L439.1 8.2zM488.4 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H488.4zM537.3 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H537.3zM569.3 36.8V4.6c2.7 0 3.7-1.4 3.7-3.4h2.8v35.5L569.3 36.8 569.3 36.8zM628 11.3c-3.2-2.9-7.9-5.7-14.2-5.7 -9.5 0-14.8 6.5-14.8 13.3v0.7c0 6.7 5.4 13 15.3 13 5.9 0 10.8-2.8 13.9-5.7l4 4.2c-3.9 3.8-10.5 7.1-18.3 7.1 -13.4 0-21.6-8.7-21.6-18.3v-1.2c0-9.6 8.9-18.7 21.9-18.7 7.5 0 14.3 3.1 18 7.1L628 11.3zM321.5 12.4c1.2 0.8 1.5 2.4 0.8 3.6l-6.1 9.4c-0.8 1.2-2.4 1.6-3.6 0.8l0 0c-1.2-0.8-1.5-2.4-0.8-3.6l6.1-9.4C318.7 11.9 320.3 11.6 321.5 12.4L321.5 12.4z"}),(0,i.jsx)("path",{d:"M37.5 36.7l-4.7-8.9H11.7l-4.6 8.9H0L19.4 0.8H25l19.7 35.9H37.5zM22 7.8l-7.8 15.1h15.9L22 7.8zM82.8 36.7l-23.3-24 -2.3-2.5v26.6h-6.7v-36H57l22.6 24 2.3 2.6V0.8h6.7v35.9H82.8z"}),(0,i.jsx)("path",{d:"M719.9 37l-4.8-8.9H694l-4.6 8.9h-7.1l19.5-36h5.6l19.8 36H719.9zM704.4 8l-7.8 15.1h15.9L704.4 8zM733 37V1h6.8v36H733zM781 37c-1.8 0-2.6-2.5-2.9-5.8l-0.2-3.7c-0.2-3.6-1.7-5.1-8.4-5.1h-12.8V37H750V1h19.6c10.8 0 15.7 4.3 15.7 9.9 0 3.9-2 7.7-9 9 7 0.5 8.5 3.7 8.6 7.9l0.1 3c0.1 2.5 0.5 4.3 2.2 6.1V37H781zM778.5 11.8c0-2.6-2.1-5.1-7.9-5.1h-13.8v10.8h14.4c5 0 7.3-2.4 7.3-5.2V11.8zM794.8 37V1h6.8v30.4h28.2V37H794.8zM836.7 37V1h6.8v36H836.7zM886.2 37l-23.4-24.1 -2.3-2.5V37h-6.8V1h6.5l22.7 24.1 2.3 2.6V1h6.8v36H886.2zM902.3 37V1H935v5.6h-26v9.2h20v5.5h-20v10.1h26V37H902.3z"})]})},51112(e,t,r){"use strict";r.d(t,{A:()=>p});var n=r(56427),o=r(27723),i=r(13109),s=r(1866),a=r(13022),c=r(51609),l=r(49595),d=r(10790);const __=o.__,u=(0,c.forwardRef)((e,t)=>{const{children:r,variant:o="primary",size:c="normal",weight:u="bold",icon:p,iconSize:f,disabled:g,isDestructive:h,isLoading:m,isExternalLink:b,className:v,text:w,fullWidth:y,..._}=e,x=(0,a.A)(l.A.button,v,{[l.A.normal]:"normal"===c,[l.A.small]:"small"===c,[l.A.icon]:Boolean(p),[l.A.loading]:m,[l.A.regular]:"regular"===u,[l.A["full-width"]]:y,[l.A["is-icon-button"]]:Boolean(p)&&!r}),k="normal"===c?20:16,j=b&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(i.A,{size:k,icon:s.A,className:l.A["external-icon"]}),(0,d.jsx)(n.VisuallyHidden,{as:"span",children:/* translators: accessibility text */
__("(opens in a new tab)","jetpack-search-pkg")})]}),A=b?"_blank":void 0,S=r?.[0]&&null!==r[0]&&"components-tooltip"!==r?.[0]?.props?.className,C={ref:t,target:A,variant:o,className:(0,a.A)(x,{"has-text":!!p&&S}),icon:b?void 0:p,iconSize:f,disabled:g,"aria-disabled":g,isDestructive:h,text:w,..._};return(0,d.jsxs)(n.Button,{...C,children:[m&&(0,d.jsx)(n.Spinner,{}),(0,d.jsx)("span",{children:r}),j]})});u.displayName="Button";const p=u},74976(e,t,r){"use strict";r.d(t,{A:()=>o});r(85045);var n=r(10790);const o=({className:e="",description:t="",donutWidth:r="64px",segmentCount:o,thickness:i="3.5",title:s="",totalCount:a,type:c,useAdaptiveColors:l})=>{const d=o/(0===a?1:a)*100,u="string"==typeof s&&0===s.length&&"string"==typeof t&&0===t.length?"true":"false",p=`donut-meter ${e?e+" ":""}${c?"is-"+c+" ":""} ${!c&&l?"is-"+(e=>e<70?"success":e<100?"warning":"danger")(d)+" ":""}`.trim();return(0,n.jsx)("div",{className:p,"aria-hidden":u,"data-testid":"donut-meter",children:(0,n.jsxs)("svg",{width:r,height:r,viewBox:"0 0 40 40",className:"donut-meter_svg",role:"img",children:[(0,n.jsx)("title",{id:"donut-meter-title",children:s}),(0,n.jsx)("desc",{id:"donut-meter-description",children:t}),(0,n.jsx)("circle",{className:"donut-meter-hole",cx:"20",cy:"20",r:"15.91549430918954",fill:"transparent"}),(0,n.jsx)("circle",{className:"donut-meter-ring",cx:"20",cy:"20",r:"15.91549430918954",fill:"transparent",strokeWidth:i,stroke:"#ebebeb"}),(0,n.jsx)("circle",{className:"donut-meter-segment",cx:"20",cy:"20",r:"15.91549430918954",fill:"transparent","transform-origin":"center",strokeWidth:i,strokeDasharray:`${d} ${100-d}`,strokeDashoffset:"-25"})]})})}},40597(e,t,r){"use strict";r.d(t,{A:()=>u});var n=r(56427),o=r(13109),i=r(28847),s=r(13022),a=r(51609),c=r(51112),l=(r(19168),r(10790));const d=e=>({"top-end":"top left",top:"top center","top-start":"top right","bottom-end":"bottom left",bottom:"bottom center","bottom-start":"bottom right"}[e]),u=({className:e="",iconClassName:t="",placement:r="bottom-end",animate:u=!0,iconCode:p=i.A,iconSize:f=18,offset:g=10,title:h,children:m,popoverAnchorStyle:b="icon",forceShow:v=!1,hoverShow:w=!1,wide:y=!1,inline:_=!0,shift:x=!1})=>{const[k,j]=(0,a.useState)(!1),[A,S]=(0,a.useState)(null),C=(0,a.useCallback)(()=>j(!1),[j]),E=(0,a.useCallback)(e=>{e.preventDefault(),j(!k)},[k,j]),N={position:d(r),placement:r,animate:u,noArrow:!1,resize:!1,flip:!1,offset:g,focusOnMount:"firstElement",onClose:C,className:"icon-tooltip-container",inline:_,shift:x},R="wrapper"===b,M=(0,s.A)("icon-tooltip-wrapper",e),I={left:R?0:-(62-f/2)+"px"},T=R&&v,P=(0,a.useCallback)(()=>{w&&(A&&(clearTimeout(A),S(null)),j(!0))},[w,A]),O=(0,a.useCallback)(()=>{if(w){const e=setTimeout(()=>{j(!1),S(null)},100);S(e)}},[w]);return(0,l.jsxs)("div",{className:M,"data-testid":"icon-tooltip_wrapper",onMouseEnter:P,onMouseLeave:O,children:[!R&&(0,l.jsx)(c.A,{variant:"link",onMouseDown:E,children:(0,l.jsx)(o.A,{className:t,icon:p,size:f})}),(0,l.jsx)("div",{className:(0,s.A)("icon-tooltip-helper",{"is-wide":y}),style:I,children:(T||k)&&(0,l.jsx)(n.Popover,{...N,children:(0,l.jsxs)("div",{children:[h&&(0,l.jsx)("div",{className:"icon-tooltip-title",children:h}),(0,l.jsx)("div",{className:"icon-tooltip-content",children:m})]})})})]})}},87319(e,t,r){"use strict";r.d(t,{A:()=>a});var n=r(27723),o=r(13022),i=r(52296),s=r(10790);const __=n.__,a=({className:e})=>(0,s.jsx)("div",{className:(0,o.A)(e,i.A["indeterminate-progress-bar"]),"aria-label":__("Indeterminate Progress Bar","jetpack-search-pkg")})},38250(e,t,r){"use strict";r.d(t,{A:()=>f});var n=r(97999),o=r(27723),i=r(21220),s=r(39968),a=r(79654),c=r(13022),l=r(3924),d=r(48907),u=(r(58749),r(67142)),p=r(10790);const __=o.__,f=({className:e,menu:t,...r})=>{let o=[];return(0,n.isWpcomPlatformSite)()||window?.JetpackNetworkAdminData||(o=[{label:__("Products","jetpack-search-pkg"),href:(0,n.getAdminUrl)("admin.php?page=my-jetpack#/products")},{label:__("Help","jetpack-search-pkg"),href:(0,n.getAdminUrl)("admin.php?page=my-jetpack#/help")},...o]),t&&(o=[...o,...t]),(0,p.jsxs)(i.B,{render:(0,p.jsx)("footer",{}),className:(0,c.A)("jetpack-footer",e),"aria-label":__("Jetpack","jetpack-search-pkg"),role:"contentinfo",direction:"row",justify:"flex-start",align:"center",wrap:"wrap",gap:"xl",...r,children:[(0,p.jsxs)(i.B,{className:"jetpack-footer__logo",direction:"row",gap:"sm",align:"center",children:[(0,p.jsx)(u.A,{showText:!1,height:16,"aria-hidden":"true"}),(0,p.jsx)(s.E,{variant:"body-md",children:"Jetpack"})]}),(0,p.jsx)(i.B,{render:(0,p.jsx)("ul",{}),direction:"row",gap:"lg",wrap:"wrap",children:o.map(e=>(0,p.jsx)("li",{children:(0,p.jsx)(s.E,{variant:"body-md",className:"jetpack-footer__menu-item",render:e.href?(0,p.jsx)(a.N,{href:e.href,title:e.title||"",onClick:e.onClick||void 0,onKeyDown:e.onKeyDown||void 0}):(0,p.jsx)(a.N,{render:(0,p.jsx)("span",{}),tabIndex:0,title:e.title||"",onClick:e.onClick||void 0,onKeyDown:e.onKeyDown||void 0,role:"button"}),children:e.label})},e.label))}),(0,pLine truncated
__("Icon for the product %s","jetpack-search-pkg"),r.title)}):r.icon}),(0,c.jsx)("h1",{className:"jp-components__pricing-card__title",children:r.title}),(0,c.jsxs)("div",{className:"jp-components__pricing-card__pricing",children:[0===r.priceAfter&&(0,c.jsx)(s.A,{width:"100%",height:48}),r.priceBefore!==r.priceAfter&&r.priceAfter>0&&(0,c.jsxs)("div",{className:"jp-components__pricing-card__price-before",children:[(0,c.jsx)("span",{className:"jp-components__pricing-card__currency",children:d.symbol}),(0,c.jsx)("span",{className:"jp-components__pricing-card__price",children:d.integer}),l(d)&&(0,c.jsxs)("span",{className:"jp-components__pricing-card__price-decimal",children:[" ",d.fraction]}),(0,c.jsx)("div",{className:"jp-components__pricing-card__price-strikethrough"})]}),r.priceAfter>0&&(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("div",{className:"jp-components__pricing-card__price-after",children:[(0,c.jsx)("span",{className:"jp-components__pricing-card__currency",children:u.symbol}),(0,c.jsx)("span",{className:"jp-components__pricing-card__price",children:u.integer}),l(u)&&(0,c.jsx)("span",{className:"jp-components__pricing-card__price-decimal",children:u.fraction})]}),(0,c.jsx)("span",{className:"jp-components__pricing-card__price-details",children:t})]})]}),r.children&&(0,c.jsx)("div",{className:"jp-components__pricing-card__extra-content-wrapper",children:r.children}),r.tosText&&(0,c.jsx)("div",{className:"jp-components__pricing-card__tos",children:r.tosText}),r.ctaText&&(0,c.jsxs)(c.Fragment,{children:[!r.tosText&&(0,c.jsx)("div",{className:"jp-components__pricing-card__tos",children:(0,c.jsx)(a.A,{agreeButtonLabel:r.ctaText})}),(0,c.jsx)("div",{className:"jp-components__pricing-card__cta",children:(0,c.jsx)(i.$,{variant:"solid",className:"jp-components__pricing-card__button",onClick:r.onCtaClick,children:r.ctaText})})]}),r.infoText&&(0,c.jsx)("div",{className:"jp-components__pricing-card__info",children:r.infoText})]})}},79245(e,t,r){"use strict";r.d(t,{Ay:()=>x,N0:()=>_,eY:()=>w,i7:()=>y});var n=r(29491),o=r(27723),i=r(13109),s=r(88901),a=r(65995),c=r(13022),l=r(51609),d=r(40597),u=r(85879),p=r(47425),f=r(88331),g=r(10790);const __=o.__,h=__("Included","jetpack-search-pkg"),m=__("Not included","jetpack-search-pkg"),b=__("Coming soon","jetpack-search-pkg"),v=(0,l.createContext)(void 0),w=({isIncluded:e=!1,isComingSoon:t=!1,index:r=0,label:u=null,tooltipInfo:w,tooltipTitle:y,tooltipClassName:_=""})=>{const x=(0,n.useViewportMatch)("large"),k=(0,l.useContext)(v)[r],j=""===u,A=t||e,S=k.name,C=k.tooltipInfo,E=k.tooltipTitle,N=w||!x&&C,R=((e,t,r)=>e?{lg:b,
// translators: %s: Name of the current feature
default:(0,o.sprintf)(__("%s coming soon","jetpack-search-pkg"),r)}:{lg:t?h:m,default:t?r:(0,o.sprintf)(/* translators: %s: Name of the current feature */
__("%s not included","jetpack-search-pkg"),r)})(t,e,S),M=x?R.lg:R.default;return j?(0,g.jsx)("div",{className:(0,c.A)(f.A.item,f.A.value,f.A.empty)}):(0,g.jsxs)("div",{className:(0,c.A)(f.A.item,f.A.value),children:[(0,g.jsx)(i.A,{className:(0,c.A)(f.A.icon,A?f.A["icon-check"]:f.A["icon-cross"]),size:32,icon:A?s.A:a.A}),(0,g.jsx)(p.Ay,{variant:"body-small",children:u||M}),N&&(0,g.jsx)(d.A,{title:y||E,iconClassName:f.A["popover-icon"],className:(0,c.A)(f.A.popover,_),placement:"bottom-end",iconSize:14,offset:4,wide:Boolean(y&&w),inline:!1,shift:!0,children:(0,g.jsx)(p.Ay,{variant:"body-small",component:"div",children:w||C})})]})},y=({title:e,children:t})=>(0,g.jsxs)("div",{className:f.A.headerContainer,children:[e&&(0,g.jsx)(p.Ay,{variant:"headline-small",className:f.A.title,children:e}),(0,g.jsx)("div",{className:f.A.header,children:t})]}),_=({primary:e=!1,children:t,className:r})=>{let n=0;return(0,g.jsx)("div",{className:(0,c.A)(f.A.card,{[f.A["is-primary"]]:e},r),children:l.Children.map(t,e=>{const t=e;return t.type===w?(n++,(0,l.cloneElement)(t,{index:n-1})):t})})},x=({title:e,headerLogo:t,items:r,children:o,showIntroOfferDisclaimer:i=!1})=>{const s=(0,n.useViewportMatch)("large");return(0,g.jsxs)(v.Provider,{value:r,children:[(0,g.jsx)("div",{className:(0,c.A)(f.A.container,{[f.A["is-viewport-large"]]:s}),style:{"--rows":r.length+1,"--columns":l.Children.toArray(o).length+1},children:(0,g.jsxs)("div",{className:f.A.table,children:[(0,g.jsxs)("div",{children:[t&&(0,g.jsx)("div",{className:f.A["header-logo"],children:t}),(0,g.jsx)(p.Ay,{variant:"headline-small",className:f.A.tableTitle,children:e})]}),s&&r.map((e,t)=>e.name?(0,g.jsxs)("div",{className:(0,c.A)(f.A.item,f.A.feature,{[f.A["last-feature"]]:t===r.length-1}),children:[(0,g.jsx)(p.Ay,{variant:"body-small",children:(0,g.jsx)("strong",{children:e.name})}),e.tooltipInfo&&(0,g.jsx)(d.A,{title:e.tooltipTitle,iconClassName:f.A["popover-icon"],className:f.A.popover,placement:e.tooltipPlacement?e.tooltipPlacement:"bottom-end",iconSize:14,offset:4,wide:Boolean(e.tooltipTitle&&e.tooltipInfo),inline:!1,shift:!0,children:(0,g.jsx)(p.Ay,{variant:"body-small",children:e.tooltipInfo})})]},t):(0,g.jsx)("div",{className:(0,c.A)(f.A.item,f.A.feature,f.A.empty)},t)),o]})}),(0,g.jsx)("div",{className:f.A["tos-container"],children:(0,g.jsxs)("div",{className:f.A.tos,children:[i&&(0,g.jsx)(p.Ay,{variant:"body-small",children:__("Reduced pricing is a limited offer for the first year and renews at regular price.","jetpack-search-pkg")}),(0,g.jsx)(u.A,{multipleButtons:!0})]})})]})}},489(e,t,r){"use strict";r.d(t,{A:()=>l});var n=r(27723),o=r(13022),i=r(47425),s=r(72746),a=r(65304),c=r(10790);const __=n.__,l=({price:e,offPrice:t,currency:r="",showNotOffPrice:n=!0,hideDiscountLabel:l=!0,promoLabel:d="",legend:u=__("/month, paid yearly","jetpack-search-pkg"),isNotConvenientPrice:p=!1,hidePriceFraction:f=!1,children:g,variant:h="default"})=>{if(null==e&&null==t||!r)return null;n=n&&null!=t;const m="number"==typeof e&&"number"==typeof t?Math.floor((e-t)/e*100):0,b=!l&&m&&m>0?m+__("% off","jetpack-search-pkg"):null;return"simple"===h?(0,c.jsxs)("div",{className:a.A.simple,children:[(0,c.jsxs)("div",{className:a.A.currentPrice,children:[(0,c.jsx)(s.g,{value:t??e,currency:r,isOff:!p,hidePriceFraction:f,inline:!0}),(0,c.jsx)("div",{children:u})]}),n&&(0,c.jsxs)("div",{className:a.A.originalPrice,children:[(0,c.jsx)(s.g,{value:e,currency:r,isOff:!1,hidePriceFraction:f,inline:!0}),(0,c.jsx)("div",{children:m&&m>0&&m+__("% off the first year","jetpack-search-pkg")})]})]}):(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("div",{className:a.A.container,children:(0,c.jsxs)("div",{className:(0,o.A)(a.A["price-container"],"product-price_container"),children:[(0,c.jsx)(s.g,{value:t??e,currency:r,isOff:!p,hidePriceFraction:f}),n&&(0,c.jsx)(s.g,{value:e,currency:r,isOff:!1,hidePriceFraction:f}),b&&(0,c.jsx)(i.Ay,{className:(0,o.A)(a.A["promo-label"],"product-price_promo_label"),children:b})]})}),(0,c.jsxs)("div",{className:a.A.footer,children:[g||(0,c.jsx)(i.Ay,{className:(0,o.A)(a.A.legend,"product-price_legend"),children:u}),d&&(0,c.jsx)(i.Ay,{className:(0,o.A)(a.A["promo-label"],"product-price_promo_label"),children:d})]})]})}},72746(e,t,r){"use strict";r.d(t,{g:()=>c});var n=r(54268),o=r(13022),i=r(47425),s=r(65304),a=r(10790);const c=({value:e,currency:t,isOff:r,hidePriceFraction:c,inline:l=!1})=>{const d=(0,o.A)(s.A.price,"product-price_price",{[s.A["is-not-off-price"]]:!r,[s.A["price-inline"]]:l}),{symbol:u,integer:p,fraction:f}=(0,n.vA)(e,t),g=!c||!f.endsWith("00");return(0,a.jsxs)(i.Ay,{className:d,variant:"headline-medium",component:"p",children:[l?(0,a.jsxs)(a.Fragment,{children:[u,p]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.Ay,{className:s.A.symbol,component:"sup",variant:"title-medium",children:u}),p]}),g&&(0,a.jsx)(i.Ay,{component:"sup",variant:"body-small","data-testid":"PriceFraction",children:(0,a.jsx)("strong",{children:f})})]})}},66051(e,t,r){"use strict";r.d(t,{A:()=>Line truncated
__("By clicking <strong>%1$s</strong> or <strong>%2$s</strong>, you agree to our <tosLink>Terms of Service</tosLink> and to <shareDetailsLink>sync your site‘s data</shareDetailsLink> with us.","jetpack-search-pkg"),e[0],e[1]),{strong:(0,l.jsx)("strong",{}),tosLink:(0,l.jsx)(f,{slug:"wpcom-tos"}),shareDetailsLink:(0,l.jsx)(f,{slug:"jetpack-support-what-data-does-jetpack-sync"})}):(0,n.createInterpolateElement)(__("By clicking the buttons above, you agree to our <tosLink>Terms of Service</tosLink> and to <shareDetailsLink>sync your site‘s data</shareDetailsLink> with us.","jetpack-search-pkg"),{tosLink:(0,l.jsx)(f,{slug:"wpcom-tos"}),shareDetailsLink:(0,l.jsx)(f,{slug:"jetpack-support-what-data-does-jetpack-sync"})}),u=({agreeButtonLabel:e})=>(0,n.createInterpolateElement)((0,o.sprintf)(/* translators: %s is a button label */
__("By clicking <strong>%s</strong>, you agree to our <tosLink>Terms of Service</tosLink> and to <shareDetailsLink>sync your site‘s data</shareDetailsLink> with us.","jetpack-search-pkg"),e),{strong:(0,l.jsx)("strong",{}),tosLink:(0,l.jsx)(f,{slug:"wpcom-tos"}),shareDetailsLink:(0,l.jsx)(f,{slug:"jetpack-support-what-data-does-jetpack-sync"})}),p=()=>(0,n.createInterpolateElement)(__("By continuing you agree to our <tosLink>Terms of Service</tosLink> and to <shareDetailsLink>sync your site’s data</shareDetailsLink> with us. We’ll check if that email is linked to an existing WordPress.com account or create a new one instantly.","jetpack-search-pkg"),{tosLink:(0,l.jsx)(f,{slug:"wpcom-tos"}),shareDetailsLink:(0,l.jsx)(f,{slug:"jetpack-support-what-data-does-jetpack-sync"})}),f=({slug:e,children:t})=>(0,l.jsx)(i.N,{openInNewTab:!0,className:"terms-of-service__link",href:(0,a.A)(e),children:t}),g=({className:e,multipleButtons:t,agreeButtonLabel:r,isTextOnly:n,...o})=>(0,l.jsx)(c.Ay,{className:(0,s.A)(e,"terms-of-service"),...o,children:n?(0,l.jsx)(p,{}):t?(0,l.jsx)(d,{multipleButtonsLabels:t}):(0,l.jsx)(u,{agreeButtonLabel:r})})},10110(e,t,r){"use strict";r.d(t,{Q:()=>n,Z:()=>o});const n={"headline-medium":"h1","headline-small":"h2","headline-small-regular":"h2","title-medium":"h3","title-medium-semi-bold":"h3","title-small":"h4",body:"p","body-small":"p","body-extra-small":"p","body-extra-small-bold":"p",label:"p"},o=["mt","mr","mb","ml","mx","my","m","pt","pr","pb","pl","px","py","p"]},47425(e,t,r){"use strict";r.d(t,{Ay:()=>l});var n=r(13022),o=r(51609),i=r(10110),s=r(2642),a=r(10790);const c=(0,o.forwardRef)(({variant:e="body",children:t,component:r,className:c,...l},d)=>{const u=r||i.Q[e]||"span",p=(0,o.useMemo)(()=>i.Z.reduce((e,t)=>(void 0!==l[t]&&(e+=s.A[`${t}-${l[t]}`]+" ",delete l[t]),e),""),[l]);return(0,a.jsx)(u,{className:(0,n.A)(s.A.reset,s.A[e],c,p),...l,ref:d,children:t})});c.displayName="Text";const l=c},50723(e,t,r){"use strict";r.d(t,{Ay:()=>p});var n=r(51609),o=r(50215),i=r(10790);const s={"--font-headline-medium":"48px","--font-headline-small":"36px","--font-title-medium":"24px","--font-title-small":"20px","--font-body":"16px","--font-body-small":"14px","--font-body-extra-small":"12px","--font-title-large":"var(--font-headline-small)","--font-label":"var(--font-body-extra-small)"},a={"--jp-black":"#000000","--jp-black-80":"#2c3338","--jp-white":"#ffffff","--jp-white-off":"#f9f9f6","--jp-gray":"#dcdcde","--jp-gray-0":"#F6F7F7","--jp-gray-5":"var(--jp-gray)","--jp-gray-10":"#C3C4C7","--jp-gray-20":"#A7AAAD","--jp-gray-40":"#787C82","--jp-gray-50":"#646970","--jp-gray-60":"#50575E","--jp-gray-70":"#3C434A","--jp-gray-80":"#2C3338","--jp-gray-90":"#1d2327","--jp-gray-off":"#e2e2df","--jp-red-0":"#F7EBEC","--jp-red-5":"#FACFD2","--jp-red-40":"#E65054","--jp-red-50":"#D63638","--jp-red-60":"#B32D2E","--jp-red-70":"#8A2424","--jp-red-80":"#691C1C","--jp-red":"#d63639","--jp-yellow-5":"#F5E6B3","--jp-yellow-10":"#F2CF75","--jp-yellow-20":"#F0C930","--jp-yellow-30":"#DEB100","--jp-yellow-40":"#C08C00","--jp-yellow-50":"#9D6E00","--jp-yellow-60":"#7D5600","--jp-blue-20":"#68B3E8","--jp-blue-40":"#1689DB","--jp-pink":"#C9356E","--jp-green-0":"#f0f2eb","--jp-green-5":"#d0e6b8","--jp-green-10":"#9dd977","--jp-green-20":"#64ca43","--jp-green-30":"#2fb41f","--jp-green-40":"#069e08","--jp-green-50":"#008710","--jp-green-60":"#007117","--jp-green-70":"#005b18","--jp-green-80":"#004515","--jp-green-90":"#003010","--jp-green-100":"#001c09","--jp-green":"#069e08","--jp-green-primary":"var( --jp-green-40 )","--jp-green-secondary":"var( --jp-green-30 )"},c={"--jp-border-radius":"4px","--jp-menu-border-height":"1px","--jp-underline-thickness":"2px"},l={"--spacing-base":"8px"},d={},u=(e,t,r)=>{const n={...s,...a,...c,...l};for(const t in n)e.style.setProperty(t,n[t]);r&&e.classList.add(o.A.global),t&&(d[t]={provided:!0,root:e})},p=({children:e=null,targetDom:t,id:r,withGlobalStyles:o=!0})=>{const s=(0,n.useRef)(),a=d?.[r]?.provided;return(0,n.useLayoutEffect)(()=>{if(!a)return t?u(t,r,o):void(s?.current&&u(s.current,r,o))},[t,s,a,r,o]),t?(0,i.jsx)(i.Fragment,{children:e}):(0,i.jsx)("div",{ref:s,children:e})}},51437(e,t,r){"use strict";r.d(t,{Y:()=>o});var n=r(38443);const o=()=>{const{l10n:{locale:e}}=(0,n.getSettings)();if(e)return(e=>{const t=e.match(/^([a-z]{2,3})(_[a-z]{2}|_[a-z][a-z0-9]{4,7})?(?:_.*)?$/i);return t?`${t[1]}${t[2]?t[2]:""}`.replace("_","-"):"en-US"})(e);return window?.window?.navigator?.language??"en-US"}},38214(e,t,r){"use strict";function n(e,t,r,n){const o=new URL("https://wordpress.com/checkout/"),i=new URL(`${o}${t}/${e}`);return i.searchParams.set("redirect_to",r),n||i.searchParams.set("unlinked","1"),i.searchParams.set("site",t),i.toString()}r.d(t,{A:()=>n})},3924(e,t,r){"use strict";r.d(t,{A:()=>n});r(46241);function n(e,t={}){const r={};let n;if("undefined"!=typeof window&&(n=window?.JP_CONNECTION_INITIAL_STATE?.calypsoEnv),0===e.search("https://")){const t=new URL(e);e=`https:// Line truncated
_x("Click to switch to %s","Hover hint on a non-active experience card explaining what clicking the card does","jetpack-search-pkg"),(0,g.lc)(e));function A({experience:e,disabled:t=!1}){const{active:r,isUpdating:a,activeThemeStylesheet:c,isBlockTheme:h,blockTemplateOverlay:m,searchTemplate:b}=(0,o.useSelect)(e=>({active:e(p.a).getActiveExperience(),isUpdating:e(p.a).isUpdatingJetpackSettings(),activeThemeStylesheet:e(p.a).getActiveThemeStylesheet(),isBlockTheme:e(p.a).isBlockTheme(),blockTemplateOverlay:e(p.a).getBlockTemplateOverlayConfig(),searchTemplate:e(p.a).getSearchTemplateConfig()}),[]),{saveExperience:v}=(0,o.useDispatch)(p.a),[w,A]=(0,i.useState)(!1),C=r===e,E=e===g.P7.OVERLAY_BLOCKS||e===g.P7.EMBEDDED,N=a||!C,R=x[e],M=(0,u.A)("jp-search-experience-option",{"is-active":C,"is-disabled":t}),I=__("Upgrade your plan to unlock this option.","jetpack-search-pkg"),T=`jp-search-experience-option-title-${e}`,P=t||a;return(0,_.jsxs)(l.B,{role:"group",direction:"column",gap:"lg",className:M,"aria-labelledby":T,"aria-disabled":t||void 0,"aria-current":C||void 0,children:[C&&(0,_.jsx)("span",{className:"jp-search-experience-option__active-badge",children:(0,_.jsx)(d.E,{intent:"stable",children:__("Active","jetpack-search-pkg")})}),(0,_.jsx)(R,{}),(0,_.jsxs)(l.B,{direction:"column",gap:"lg",className:"jp-search-experience-option__content",children:[(0,_.jsxs)(l.B,{direction:"row",gap:"sm",align:"center",wrap:"wrap",children:[(0,_.jsx)("h3",{id:T,className:"jp-search-experience-option__title",children:(0,g.lc)(e)}),E&&(0,_.jsx)(d.E,{intent:"informational",children:__("Beta","jetpack-search-pkg")})]}),(0,_.jsx)(S,{experience:e})]}),e===g.P7.EMBEDDED&&h&&(0,_.jsxs)(l.B,{direction:"row",gap:"sm",align:"start",className:"jp-search-experience-option__actions",children:[(0,_.jsx)(f.A,{label:__("Edit search template","jetpack-search-pkg"),href:(O=c,O?`site-editor.php?p=%2Fwp_template%2F${encodeURIComponent(O)}%2F%2Fjetpack-search&canvas=edit`:"site-editor.php?p=%2Ftemplate"),disabled:N}),(0,_.jsx)(f.A,{label:__("Insert pattern","jetpack-search-pkg"),href:"site-editor.php?p=%2Fpattern&search=jetpack-search",disabled:N})]}),e===g.P7.EMBEDDED&&!h&&(0,_.jsx)(y.A,{config:b,editLabel:__("Edit search template","jetpack-search-pkg"),restoreConfirmMessage:__("Restore the bundled Search template? Your customizations will be deleted.","jetpack-search-pkg"),successMessage:__("The Search template has been restored to the bundled default.","jetpack-search-pkg"),errorMessage:__("Could not restore the Search template.","jetpack-search-pkg"),linksDisabled:N}),e===g.P7.OVERLAY_BLOCKS&&(0,_.jsx)(y.A,{config:m,editLabel:__("Edit the Search overlay","jetpack-search-pkg"),restoreConfirmMessage:__("Restore the bundled Search overlay template? Your customizations will be deleted.","jetpack-search-pkg"),successMessage:__("The Search overlay template has been restored to the bundled default.","jetpack-search-pkg"),errorMessage:__("Could not restore the Search overlay template.","jetpack-search-pkg"),linksDisabled:N}),e===g.P7.OVERLAY&&(0,_.jsxs)(l.B,{direction:"row",gap:"sm",align:"start",className:"jp-search-experience-option__actions",children:[(0,_.jsx)(f.A,{label:__("Customize","jetpack-search-pkg"),href:"admin.php?page=jetpack-search-configure",disabled:N}),(0,_.jsx)(f.A,{label:__("Edit widgets","jetpack-search-pkg"),href:"widgets.php",disabled:N})]}),!C&&(0,_.jsx)("button",{type:"button",className:"jp-search-experience-option__commit-overlay","aria-disabled":P,title:P?void 0:j(e),onClick:()=>{P||A(!0)},"aria-label":t?`${k(e)}. ${I}`:k(e)}),(0,_.jsx)(n.__experimentalConfirmDialog,{isOpen:w,onConfirm:()=>{v(e),A(!1)},onCancel:()=>A(!1),confirmButtonText:k(e),children:(0,s.sprintf)(/* translators: %s — the human-readable experience name (e.g. "Embedded search"). */
__("Switch the visitor-facing search experience to %s?","jetpack-search-pkg"),(0,g.lc)(e))})]});var O}const S=({experience:e})=>{if(e===g.P7.EMBEDDED)return(0,_.jsx)("p",{className:"jp-search-experience-option__description",children:__("A search-as-you-type customizable search page built with blocks. Filters, sorting, pagination — all themable in the Site Editor.","jetpack-search-pkg")});if(e===g.P7.OVERLAY_BLOCKS)return(0,_.jsx)("p",{className:"jp-search-experience-option__description",children:__("In beta — a search-as-you-type overlay rendered from your Search blocks. Same filters, sorting, and store as Embedded, but opens over your existing pages just like former Instant Search overlay.","jetpack-search-pkg")});if(e===g.P7.OVERLAY)return(0,_.jsx)("p",{className:"jp-search-experience-option__description",children:__("A search-as-you-type overlay that opens from any search box on your site (formerly Instant Search).","jetpack-search-pkg")});if(e===g.P7.INLINE)return(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)("p",{className:"jp-search-experience-option__description",children:__("Keeps your theme's search layout. We just make the results faster and more relevant behind the scenes, no UI changes. Search blocks are still available to drop into any page or template.","jetpack-search-pkg")}),(0,_.jsx)("p",{className:"jp-search-experience-option__description",children:__("No additional settings — this mode is set-it-and-forget-it.","jetpack-search-pkg")})]});const t=[__("<strong>Fast and smart results</strong> — slower database-powered search, no typo tolerance or language-aware matching","jetpack-search-pkg"),__("<strong>Offloaded search</strong> — every query now hits your database","jetpack-search-pkg")];return(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)("p",{className:"jp-search-experience-option__description",children:__("Visitors use WordPress default search, and you lose:","jetpack-search-pkg")}),(0,_.jsx)("ul",{className:"jp-search-experience-option__loss-list",children:t.map((e,t)=>(0,_.jsxs)("li",{children:[(0,_.jsx)(a.A,{className:"jp-search-experience-option__loss-icon",icon:c.A,size:18}),(0,_.jsx)("span",{children:(0,i.createInterpolateElement)(e,{strong:(0,_.jsx)("strong",{})})})]},t))})]})}},7290(e,t,r){"use strict";r.d(t,{A:()=>d});var n=r(56427),o=r(47143),i=r(27723),s=r(38228),a=r(19623),c=r(91224),l=(r(31783),r(10790));const __=i.__;function d(){const{isUpdating:e,supportsOnlyClassicSearch:t,isWpcom:r,blockOverlayEnabled:i}=(0,o.useSelect)(e=>({isUpdating:e(s.a).isUpdatingJetpackSettings(),supportsOnlyClassicSearch:e(s.a).supportsOnlyClassicSearch(),isWpcom:e(s.a).isWpcom(),blockOverlayEnabled:e(s.a).isBlockOverlayEnabled()}),[]),d=a.ge.filter(e=>(e!==a.P7.OFF||!r)&&!(e===a.P7.OVERLAY_BLOCKS&&!i)),u=r=>e||t&&(r===a.P7.EMBEDDED||r===a.P7.OVERLAY||r===a.P7.OVERLAY_BLOCKS);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("h2",{id:"jp-search-experience-selector-heading",className:"jp-search-experience-selector__heading",children:__("Select a search experience for your visitors","jetpack-search-pkg")}),(0,l.jsx)("div",{className:"jp-search-experience-selector",children:(0,l.jsx)("fieldset",{className:"jp-search-experience-selector__fieldset","aria-labelledby":"jp-search-experience-selector-heading",children:(0,l.jsx)(n.__experimentalGrid,{columns:[1,2],gap:6,children:d.map(e=>(0,l.jsx)(c.A,{experience:e,disabled:u(e)},e))})})})]})}},49509(e,t,r){"use strict";r.d(t,{A:()=>l});var n=r(13109),o=r(65673),i=r(20907),s=r(98839),a=r(27717),c=(r(37223),r(10790));function l(){return(0,c.jsxs)(s.B,{direction:"column",gap:"sm",className:"jp-search-embedded-preview","aria-hidden":"true",children:[(0,c.jsxs)(s.B,{direction:"row",gap:"sm",align:"center",className:"jp-search-embedded-preview__search",children:[(0,c.jsx)(n.A,{className:"jp-search-embedded-preview__search-icon",icon:i.A,size:14}),(0,c.jsx)(a.A,{style:{height:"8px",width:"64px"}})]}),(0,c.jsxs)(s.B,{direction:"row",gap:"md",className:"jp-search-embedded-preview__body",children:[(0,c.jsxs)(s.B,{direction:"column",gap:"sm",className:"jp-search-embedded-preview__results",children:[(0,c.jsxs)(s.B,{direction:"row",gap:"xs",align:"center",justify:"end",className:"jp-search-embedded-preview__sort",children:[(0,c.jsx)(a.A,{style:{height:"6px",width:"28px"}}),(0,c.jsxs)(s.B,{direction:"row",gap:"xs",align:"center",className:"jp-search-embedded-preview__sort-control",children:[(0,c.jsx)(a.A,{style:{height:"6px",width:"36px"}}),(0,c.jsx)(n.A,{icon:o.A,size:12})]})]}),(0,c.jsx)(d,{}),(0,c.jsx)(d,{})]}),(0,c.jsxs)(s.B,{direction:"column",gap:"sm",className:"jp-search-embedded-preview__filters",children:[(0,c.jsx)(u,{itemCount:2}),(0,c.jsx)(u,{itemCount:2})]})]})]})}const d=()=>(0,c.jsxs)(s.B,{direction:"row",gap:"sm",align:"start",className:"jp-search-embedded-preview__result",children:[(0,c.jsxs)("div",{className:"jp-search-embedded-preview__result-content",children:[(0,c.jsx)(a.A,{style:{height:"8px",width:"80%"}}),(0,c.jsx)(a.A,{style:{height:"6px",wiLine truncated
(0,n.sprintf)(__("Found %s results","jetpack-search-pkg"),"27")}),(0,l.jsxs)("div",{className:"jp-mocked-instant-search__result-sort-list",children:[(0,l.jsx)("span",{className:"jp-mocked-instant-search__result-sort-selected",children:__("Relevance","jetpack-search-pkg")}),(0,l.jsx)("span",{children:"·"}),(0,l.jsx)("span",{children:__("Newest","jetpack-search-pkg")}),(0,l.jsx)("span",{children:"·"}),(0,l.jsx)("span",{children:__("Oldest","jetpack-search-pkg")})]})]}),(0,l.jsxs)("div",{className:"jp-mocked-instant-search__search-results-content",children:[(0,l.jsx)(p,{}),(0,l.jsx)(p,{}),(0,l.jsx)(p,{})]})]}),(0,l.jsxs)("div",{className:"jp-mocked-instant-search__search-results-secondary",children:[(0,l.jsx)("div",{className:"jp-mocked-instant-search__search-filter-header",children:__("Filter options","jetpack-search-pkg")}),(0,l.jsxs)("div",{className:"jp-mocked-instant-search__search-filter-list",children:[(0,l.jsx)(u,{}),(0,l.jsx)(u,{})]})]})]})]})}const u=()=>{const e=(0,a.useId)();return(0,l.jsx)("div",{className:"jp-mocked-instant-search__search-filter",children:(0,l.jsxs)("label",{htmlFor:e,children:[(0,l.jsx)("input",{id:e,type:"checkbox",disabled:"disabled"})," ",(0,l.jsx)(c.A,{style:{width:"30%"}})]})})},p=()=>(0,l.jsxs)("div",{className:"jp-mocked-instant-search__search-result",children:[(0,l.jsx)(c.A,{style:{height:"2.5em",width:"50%",maxWidth:"200px",margin:"0.1em 0.1em 1em 0.1em"}}),(0,l.jsx)(c.A,{style:{height:"1em",width:"90%",margin:"0.1em"}}),(0,l.jsx)(c.A,{style:{height:"1em",width:"70%",margin:"0.1em"}})]})},98160(e,t,r){"use strict";r.d(t,{A:()=>a});var n=r(13109),o=r(20907),i=r(27717),s=(r(39618),r(10790));function a(){return(0,s.jsx)("div",{className:"jp-mocked-legacy-search","aria-hidden":"true",children:(0,s.jsxs)("div",{className:"jp-mocked-legacy-search__search-controls",children:[(0,s.jsx)("div",{className:"jp-mocked-legacy-search__search-icon",children:(0,s.jsx)(n.A,{icon:o.A,size:24})}),(0,s.jsx)("div",{className:"jp-mocked-legacy-search__search-input",children:(0,s.jsx)(i.A,{style:{height:"50px",width:"80%",maxWidth:"212px"}})})]})})}},27717(e,t,r){"use strict";r.d(t,{A:()=>o});var n=r(10790);const o=e=>(0,n.jsx)("div",{className:"jp-search-dashboard__text-row-placeholder",style:{display:"inline-block",borderRadius:"10px",maxHeight:"1.5em",width:"100%",height:"1em",backgroundColor:"#E9EFF3",...e.style}})},39624(e,t,r){"use strict";r.d(t,{A:()=>_});var n=r(90372),o=r(38214),i=r(39384),s=r(56427),a=r(47143),c=r(86087),l=r(27723),d=r(13022),u=r(51609),p=r(61849),f=r(7982),g=r(65060),h=r(49792),m=r(21549),b=r(38228),v=(r(97501),r(60491),r(10790));const __=l.__,w=__("Jetpack Search is an incredibly powerful and customizable replacement for the search capability built into WordPress that helps your visitors find the right content.","jetpack-search-pkg"),y=__("Instant search uses a dynamic overlay for lightning-fast searching, sorting, and filtering without reloading the page.","jetpack-search-pkg");function _({siteAdminUrl:e,updateOptions:t,domain:r,isDisabledFromOverLimit:s,isSavingEitherOption:c,isModuleEnabled:l,isInstantSearchEnabled:m,isInstantSearchPromotionActive:w,isReaderChatAvailable:y,isReaderChatEnabled:_,isAIAgentAccessAvailable:k,supportsOnlyClassicSearch:A,supportsSearch:S,supportsInstantSearch:C,isTogglingModule:E,isTogglingInstantSearch:N,readerChatGuidelinesUrl:R,isSearchSuggestionsEnabled:M,aiAgentAccessGuidelinesUrl:I}){const{isUserConnected:T}=(0,i.useConnection)({redirectUri:"admin.php?page=jetpack-search",from:"jetpack-search"}),P=(0,a.useSelect)(e=>e(b.a).isWpcom(),[]),O=(0,o.A)("jetpack_search_free",r,"admin.php?page=jetpack-search",T||P),z=!y||!S||!_||R!==I,D=y&&S,L=(0,u.useCallback)(()=>{if(s)return;const e={module_active:!l};m!==!l&&(e.instant_search_enabled=!l&&C),t(e),n.A.tracks.recordEvent("jetpack_search_module_toggle",e)},[C,l,t,m,s]),B=(0,u.useCallback)(()=>{if(s)return;const e={instant_search_enabled:C&&!m};e.instant_search_enabled&&(e.module_active=!0),t(e),n.A.tracks.recordEvent("jetpack_search_instant_toggle",e)},[C,m,t,s]);return(0,v.jsx)("div",{className:(0,d.A)({"jp-form-settings-group jp-form-search-settings-group":!0,"jp-form-search-settings-group--disabled":s}),children:(0,v.jsx)(f.A,{className:(0,d.A)({"jp-form-has-child":!0}),children:(0,v.jsxs)("div",{className:"jp-form-search-settings-group-inside",children:[(0,v.jsx)(j,{isModuleEnabled:l,isSavingEitherOption:c,isTogglingModule:E,supportsSearch:S,toggleSearchModule:L,isDisabledFromOverLimit:s}),(0,v.jsx)(x,{isInstantSearchEnabled:m,isInstantSearchPromotionActive:w,isModuleEnabled:l,isSavingEitherOption:c,isTogglingInstantSearch:N,returnUrl:e+"admin.php?page=jetpack-search",supportsInstantSearch:C,supportsOnlyClassicSearch:A,toggleInstantSearch:B,upgradeUrl:O,isDisabledFromOverLimit:s}),(0,v.jsx)(g.A,{isAvailable:D,isEnabled:_,isSaving:c||s,guidelinesUrl:R,updateOptions:t}),(0,v.jsx)(p.A,{guidelinesUrl:I,isAvailable:k,showGuidelinesLink:z}),(0,v.jsx)(h.A,{isEnabled:M,isInstantSearchEnaLine truncated
// translators: %1$s: site name (not translated)
__("Indexing %1$s","jetpack-search-pkg"),e)}),(0,d.jsx)(n.Ay,{children:(0,d.jsx)(o.A,{})})]}),p=()=>(0,d.jsxs)(s.b,{intent:"info",children:[(0,d.jsx)(a.h,{children:__("We're gathering your usage data.","jetpack-search-pkg")}),(0,d.jsx)(c.V,{children:__("If you have recently set up Search, please allow a little time for indexing to complete.","jetpack-search-pkg")})]}),f=({planInfo:e,siteTitle:t})=>(0,d.jsx)("div",{className:"jp-search-dashboard-wrap jp-search-dashboard-meter-wrap",children:(0,d.jsxs)("div",{className:"jp-search-dashboard-row",children:[(0,d.jsx)("div",{className:"lg-col-span-2 md-col-span-1 sm-col-span-0"}),(0,d.jsxs)("div",{className:"jp-search-dashboard-meter-wrap__content lg-col-span-8 md-col-span-6 sm-col-span-4",children:[(0,d.jsx)(l.A,{planInfo:e}),(0,d.jsx)(u,{siteTitle:t}),(0,d.jsx)(p,{})]}),(0,d.jsx)("div",{className:"lg-col-span-2 md-col-span-1 sm-col-span-0"})]})})},9572(e,t,r){"use strict";r.d(t,{A:()=>v});var n=r(86087),o=r(27723),i=r(57273),s=r(88050),a=r(61868),c=r(61475),l=r(64905),d=r(51609),u=r(82090),p=r(56893),f=r(10790);const __=o.__,g=e=>{if(!e.currentUsage)return null;if(e.currentUsage.must_upgrade)return{description:__("You’ve exceeded the limits available for your search plan.","jetpack-search-pkg"),cta:__("Upgrade now to restore Jetpack Search functionality.","jetpack-search-pkg")};if(!e.currentUsage.should_upgrade)return null;let t=(e=>{if(!e.currentUsage.upgrade_reason.records||!e.currentUsage.upgrade_reason.requests)return null;const t=__("You’re close to exceeding the number of site records and search requests available for the free plan.","jetpack-search-pkg");let r=__("You’ve exceeded the number of site records and search requests available for the free plan.","jetpack-search-pkg");return 0===e.currentUsage.months_over_plan_records_limit&&(r=t),{description:r,cta:__("Upgrade now to increase your limits and avoid interruption!","jetpack-search-pkg")}})(e);return t||(t=(e=>{if(!e.currentUsage.upgrade_reason.records||e.currentUsage.upgrade_reason.requests)return null;const t=__("You’re close to exceeding the number of site records available on the free plan.","jetpack-search-pkg"),r=__("You’ve exceeded the number of site records available on the free plan.","jetpack-search-pkg"),n=__("You’ve exceeded the number of site records available on the free plan for two consecutive months.","jetpack-search-pkg"),o=__("You’ve exceeded the number of site records available on the free plan for three consecutive months.","jetpack-search-pkg");let i=e.currentUsage.months_over_plan_records_limit;i<0?i=0:i>3&&(i=3);const s=[t,r,n,o][i],a=__("Upgrade now to increase your monthly record limit and avoid interruption!","jetpack-search-pkg"),c=__("Upgrade now to continue using Jetpack Search.","jetpack-search-pkg");let l=a;return e.currentUsage.months_over_plan_records_limit>=3&&(l=c),{description:s,cta:l}})(e),t||(t=(e=>{if(e.currentUsage.upgrade_reason.records||!e.currentUsage.upgrade_reason.requests)return null;const t=__("You’re close to exceeding the number of search requests available on the free plan.","jetpack-search-pkg"),r=__("You’re close to exceeding the number of search requests available on the free plan for two consecutive months.","jetpack-search-pkg"),n=__("You’re close to exceeding the number of search requests available on the free plan for three consecutive months.","jetpack-search-pkg"),o=__("You’ve exceeded the number of search requests available on the free plan.","jetpack-search-pkg"),i=__("You’ve exceeded the number of search requests available on the free plan for two consecutive months.","jetpack-search-pkg"),s=__("You’ve exceeded the number of search requests available on the free plan for three consecutive months.","jetpack-search-pkg");let a=e.currentUsage.months_over_plan_requests_limit;a<0?a=0:a>3&&(a=3);const c=[t,o,i,s,r,n][a],l=__("Upgrade now to increase your monthly request limit and avoid interruption.","jetpack-search-pkg"),d=__("Upgrade now to continue using Jetpack Search.","jetpack-search-pkg");let u=l;return e.currentUsage.months_over_plan_requests_limit>=3&&(u=d),{description:c,cta:u}})(e),t||{description:__("Do you want to increase your site records and search requests?.","jetpack-search-pkg"),cta:__("Upgrade now and avoid any future interruption!","jetpack-search-pkg")}))},h=({upgradeMessage:e,ctaCallback:t})=>e?(0,f.jsxs)(s.b,{intent:"info",children:[(0,f.jsx)(a.V,{children:e.description}),(0,f.jsx)(c.E,{children:(0,f.jsx)(l.r,{onClick:t,children:e.cta})})]}):null,m=({usageInfo:e,isPlanJustUpgraded:t})=>{const[r,n]=(0,d.useState)(0),i=window.localStorage;(0,d.useMemo)(()=>n(i.getItem("upgrade_tooltip_finished")?0:+t),[n,i,t]);const s=(0,d.useCallback)(()=>i.setItem("upgrade_tooltip_finished",1),[i]),a=(0,d.useCallback)(()=>{n(e=>(e>=2&&s(),e+1))},[n,s]),c={record:{index:1,title:__("Site records increased","jetpack-search-pkg"),content:(0,o.sprintf)(
// translators: %1$s: records limit
__("Thank you for upgrading! Now your visitors can search up to %1$s records.","jetpack-search-pkg"),(0,u.Z)(e.recordMax)),section:__("1 of 2","jetpack-search-pkg"),next:__("Next","jetpack-search-pkg"),forceShow:1===r,goToNext:a},request:{index:2,title:__("More search requests","jetpack-search-pkg"),content:(0,o.sprintf)(
// translators: %1$s: requests limit
__("Your search plugin now supports up to %1$s search requests per month.","jetpack-search-pkg"),(0,u.Z)(e.requestMax)),section:__("2 of 2","jetpack-search-pkg"),next:__("Finish","jetpack-search-pkg"),forceShow:2===r,goToNext:a}};return(0,f.jsxs)("div",{className:"usage-meter-group",children:[(0,f.jsx)(u.A,{title:__("Site records","jetpack-search-pkg"),current:e.recordCount,limit:e.recordMax,tooltip:c.record}),(0,f.jsx)(u.A,{title:__("Search requests","jetpack-search-pkg"),current:e.requestCount,limit:e.requestMax,tooltip:c.request})]})},b=()=>(0,f.jsx)("div",{className:"usage-meter-about",children:(0,n.createInterpolateElement)(__("Tell me more about <jpPlanLimits>record indexing and request limits</jpPlanLimits>","jetpack-search-pkg"),{jpPlanLimits:(0,f.jsx)(i.N,{openInNewTab:!0,href:"https://jetpack.com/support/search/",rel:"noopener noreferrer",target:"_blank",className:"support-link"})})}),v=({isFreePlan:e,planInfo:t,sendPaidPlanToCart:r,isPlanJustUpgraded:n})=>{const o=e||t.currentUsage?.must_upgrade?g(t):null,i=(s=t,{recordCount:s?.currentUsage?.num_records||0,recordMax:s?.currentPlan?.record_limit||0,requestCount:s?.latestMonthRequests?.num_requests||0,requestMax:s?.currentPlan?.monthly_search_request_limit||0});var s;return(0,f.jsx)("div",{className:"jp-search-dashboard-wrap jp-search-dashboard-meter-wrap",children:(0,f.jsx)("div",{className:"jp-search-dashboard-row",children:(0,f.jsxs)("div",{className:"jp-search-dashboard-meter-wrap__content lg-col-span-12 md-col-span-8 sm-col-span-4",children:[(0,f.jsx)(p.A,{isFreePlan:e,planInfo:t}),(0,f.jsx)(m,{usageInfo:i,isPlanJustUpgraded:n}),(0,f.jsx)(h,{upgradeMessage:o,ctaCallback:r}),(0,f.jsx)(b,{})]})})})}},56893(e,t,r){"use strict";r.d(t,{A:()=>s});var n=r(27723),o=r(10790);const __=n.__,i=e=>{const t=__("Upgraded","jetpack-search-pkg"),r=__("Free plan","jetpack-search-pkg");return e?r:t},s=({isFreePlan:e,planInfo:t})=>{const r=(e=>{if(!e?.latestMonthRequests?.start_date||!e?.latestMonthRequests?.end_date)return null;const t=new Date(e.latestMonthRequests.start_date),r=new Date(e.latestMonthRequests.end_date),n={month:"short",day:"2-digit"};return`${t.toLocaleDateString(void 0,n)} - ${r.toLocaleDateString(void 0,n)}`})(t);return(0,o.jsxs)("h2",{children:[
// translators: Header for section showing search records and requests usage.
__("Your usage","jetpack-search-pkg")," ",(0,o.jsxs)("span",{children:[r&&`${r} `,"(",i(e),")"]})]})}},15432(e,t,r){"use strict";r.d(t,{A:()=>E});var n=r(5932),o=r(40597),i=r(9957),s=r(90766),a=r(42947),c=r(28509),l=r(75918),d=r(50723),u=r(51112),p=r(79245),f=r(489),g=r(51437),h=r(39384),m=r(54268),b=r(56427),v=r(47143),w=r(86087),y=r(27723),_=r(51609),x=r(42948),k=r(23655),j=r(38232),A=r(87033),S=r(38228),C=(r(49438),r(10790));const __=y.__;function E({isLoading:e=!1}){const t=(0,v.useSelect)(e=>e(S.a).getAPINonce(),[]),r=(0,v.useSelect)(e=>e(S.a).isNewPricing202208(),[]),o=(0,v.useSelect)(e=>e(S.a).isWpcom(),[]),i=(0,v.useSelect)(e=>`${e(S.a).getSiteAdminUrl()}admin.php?page=my-jetpack#/add-license`);(0,v.useSelect)(e=>e(S.a).getSearchPricing(),[]);const c=(0,v.useSelect)(e=>e(S.a).getCalypsoSlug(),[]),l=(0,v.useSelect)(e=>e(S.a).getBlogId(),[]),d=(0,v.useSelect)(e=>e(S.a).getSiteAdminUrl(),[]),{fetchSearchPlanInfo:u}=(0,v.useDispatch)(S.a),p=(0,_.useCallback)(()=>{n.Ay.setApiNonce(t),u().then(e=>e?.supports_search)},[t,u]),{run:f,hasCheckoutStarted:g}=(0,A.A)({productSlug:"jetpack_search",adminUrl:d,redirectUri:"admin.php?page=jetpack-search&just_upgraded=1",siteProductAvailabilityHandler:p,from:"jetpack-search",siteSuffix:c,blogID:l,isWpcom:o}),{run:h,hasCheckoutStarted:m}=(0,A.A)({productSlug:"jetpack_search_free",adminUrl:d,redirectUri:"admin.php?page=jetpack-search",siteProductAvailabilityHandler:p,from:"jetpack-search",siteSuffix:c,blogID:l,isWpcom:o}),w=(0,v.useSelect)(t=>t(S.a).isResolving("getSearchPricing")||!t(S.a).hasStartedResolution("getSearchPricing")||g||m||e,[e,g,m]);return(0,C.jsxs)(C.Fragment,{children:[w&&(0,C.jsx)(x.A,{}),!w&&(0,C.jsx)(a.A,{title:"Search",subTitle:__("Help your visitors find exactly what they are looking for.","jetpack-search-pkg"),actions:!o&&(0,C.jsx)(b.Button,{size:"compact",variant:"secondary",href:i,children:__("Use license key","jetpack-search-pkg")}),children:(0,C.jsx)("div",{className:"jp-search-upsell-page-content",children:(0,C.jsx)(s.A,{children:r?(0,C.jsx)(R,{sendToCartPaid:f,sendToCartFree:h}):(0,C.jsx)(N,{sendToCart:f})})})})]})}const N=({sendToCart:e})=>{const t=(0,v.useSelect)(e=>e(S.a).getPriceBefore()/12,[]),r=(0,v.useSelect)(e=>e(S.a).getPriceAfter()/12,[]),n=(0,v.useSelect)(e=>e(S.a).getPriceCurrencyCode(),[]),o=__("14 day money back guarantee.","jetpack-search-pkg"),s=__("Special introductory pricing, all renewals are at full price. 14 day money back guarantee.","jetpack-search-pkg"),{hasConnectionError:a}=(0,h.useConnectionErrorNotice)();return(0,C.jsxs)(l.A,{horizontalSpacing:3,horizontalGap:3,children:[a&&(0,C.jsx)(c.A,{lg:12,md:12,sm:12,children:(0,C.jsx)(h.ConnectionError,{})}),(0,C.jsxs)(c.A,{lg:6,md:6,sm:4,children:[(0,C.jsx)("h1",{children:__("The best WordPress search experience","jetpack-search-pkg")}),(0,C.jsx)(j.A,{})]}),(0,C.jsx)(c.A,{lg:1,md:1,sm:0}),(0,C.jsx)(c.A,{lg:5,md:6,sm:4,children:(0,C.jsx)(i.A,{ctaText:__("Get Jetpack Search","jetpack-search-pkg"),icon:"data:image/svg+xml,%3Csvg width='32' height='32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M21 19l-5.154-5.154C16.574 12.742 17 11.42 17 10c0-3.866-3.134-7-7-7s-7 3.134-7 7 3.134 7 7 7c1.42 0 2.742-.426 3.846-1.154L19 21l2-2zM5 10c0-2.757 2.243-5 5-5s5 2.243 5 5-2.243 5-5 5-5-2.243-5-5z' fill='%23000'/%3E%3C/svg%3E",infoText:r===t?o:s,onCtaClick:e,priceAfter:r,priceBefore:t,currencyCode:n,title:__("Jetpack Search","jetpack-search-pkg")})})]})},R=({sendToCartPaid:e,sendToCartFree:t})=>{const r=(0,v.useSelect)(e=>e(S.a).getCalypsoSlug(),[]),n=(0,g.Y)(),i=(0,v.useSelect)(e=>e(S.a).getPriceBefore()/12,[]),s=(0,v.useSelect)(e=>e(S.a).getPriceAfter()/12,[]),a=(0,v.useSelect)(e=>e(S.a).getPriceCurrencyCode(),[]),b=(0,v.useSelect)(e=>e(S.a).getPricingDiscountPercentage(),[]),{hasConnectionError:x}=(0,h.useConnectionErrorNotice)(),j=(0,v.useSelect)(e=>e(S.a).isSearchBlocksEnabled(),[]),A=(0,_.useMemo)(()=>{const e=[...M.items],t=e.findIndex(e=>e.name===__("Priority support","jetpack-search-pkg")),r=-1===t?e.length:t;return e.splice(r,0,...T),{...M,items:[...e,...j?I:[]]}},[j]),E=(0,v.useSelect)(e=>e(S.a).getPaidRecordsLimit(),[]),N=new Intl.NumberFormat(n,{notation:"compact",compactDisplay:"short"}).format(E),R=(0,v.useSelect)(e=>e(S.a).getPaidRequestsLimit(),[]),P=R>1e18,O=__("Unlimited","jetpack-search-pkg"),z=P?O:new Intl.NumberFormat(n,{notation:"compact",compactDisplay:"short"}).format(R),D=(0,v.useSelect)(e=>e(S.a).getAdditionalUnitPrice(),[]),L=(0,v.useSelect)(e=>e(S.a).getAdditionalUnitQuantity(),[]),B=new Intl.NumberFormat(n,{notation:"compact",compactDisplay:"short"}).format(L);return(0,C.jsxs)(l.A,{horizontalSpacing:8,className:"jp-search-upsell-container",children:[x&&(0,C.jsx)(c.A,{lg:12,md:12,sm:12,children:(0,C.jsx)(h.ConnectionError,{})}),(0,C.jsx)(c.A,{lg:12,md:12,sm:12,children:(0,C.jsx)(d.Ay,{children:(0,C.jsxs)(p.Ay,{...A,children:[(0,C.jsxs)(p.N0,{primary:!0,children:[(0,C.jsxs)(p.i7,{children:[(0,C.jsx)(fLine truncated
// translators: %s: the discount percentage (e.g. 50%).
__("%s off","jetpack-search-pkg"),`${b}%`),children:(0,C.jsxs)("div",{className:"price-tip",children:[(0,C.jsx)("span",{className:"price-tip-text",children:__("Starting price per month, billed yearly","jetpack-search-pkg")}),(0,C.jsxs)(o.A,{placement:"bottom-end",iconSize:14,iconClassName:"price-tip-icon",offset:4,children:[(0,w.createInterpolateElement)((0,y.sprintf)(
// translators: %1$s: site domain
__("Starting price based on the number of records for <b>%1$s</b>.","jetpack-search-pkg"),r),{b:(0,C.jsx)("b",{})})," ",!P&&(0,w.createInterpolateElement)((0,y.sprintf)(
// translators: %1$s: Records or requests count, <Price>: Additional charge.
__("For every additional %1$s records or requests, an additional <Price></Price> per month will be charged.","jetpack-search-pkg"),B),{Price:(0,C.jsx)(k.A,{amount:D,currency:a})})]})]})}),(0,C.jsx)(u.A,{onClick:e,fullWidth:!0,children:__("Get Search","jetpack-search-pkg")})]}),(0,C.jsx)(p.eY,{isIncluded:!0,label:(0,C.jsx)("strong",{children:(0,y.sprintf)(
// translators: %1$s: Number of records allowed before being charged extra.
__("%1$s records","jetpack-search-pkg"),N)})}),(0,C.jsx)(p.eY,{isIncluded:!0,label:(0,C.jsx)("strong",{children:(0,y.sprintf)(
// translators: %1$s: Number of requests allowed before being charged extra.
__("%1$s requests","jetpack-search-pkg"),z)})}),(0,C.jsx)(p.eY,{isIncluded:!0,label:__("Branding removed","jetpack-search-pkg")}),T.map(e=>(0,C.jsx)(p.eY,{isIncluded:!0},e.id)),(0,C.jsx)(p.eY,{isIncluded:!0}),(0,C.jsx)(p.eY,{isIncluded:!0}),(0,C.jsx)(p.eY,{isIncluded:!0}),(0,C.jsx)(p.eY,{isIncluded:!0}),(0,C.jsx)(p.eY,{isIncluded:!0}),(0,C.jsx)(p.eY,{isIncluded:!0}),(j?I:[]).map(e=>(0,C.jsx)(p.eY,{isIncluded:!0},e.id))]}),(0,C.jsxs)(p.N0,{children:[(0,C.jsxs)(p.i7,{children:[(0,C.jsx)(f.A,{price:0,legend:"",currency:a,hidePriceFraction:!0}),(0,C.jsx)(u.A,{onClick:t,variant:"secondary",fullWidth:!0,children:__("Start for free","jetpack-search-pkg")})]}),(0,C.jsx)(p.eY,{isIncluded:!0,label:(0,C.jsx)("strong",{children:(0,y.sprintf)(
// translators: %1$s: Number of records in compact form, e.g., "5k"
__("%1$s records","jetpack-search-pkg"),(0,m.qe)(5e3))}),tooltipInfo:(0,C.jsxs)(C.Fragment,{children:[(0,y.sprintf)(
// translators: %1$s: Number of records in compact form, e.g., "5k"
__("In the free plan, you can continue using the plugin even if you have more than %1$s records for three months.","jetpack-search-pkg"),(0,m.qe)(5e3))," ",(0,C.jsx)("a",{href:"https://jetpack.com/search/",rel:"external noopener noreferrer nofollow",target:"_blank",children:__("More about indexing and query limits","jetpack-search-pkg")})]})}),(0,C.jsx)(p.eY,{isIncluded:!0,label:(0,C.jsx)("strong",{children:(0,y.sprintf)(
// translators: %1$s: Number of requests in compact form, e.g., "500"
__("%1$s requests","jetpack-search-pkg"),(0,m.qe)(500))}),tooltipInfo:(0,C.jsxs)(C.Fragment,{children:[(0,y.sprintf)(
// translators: %1$s: Number of requests in compact form, e.g., "500"
__("In the free plan, you can continue using the plugin even if you have more than %1$s requests for three consecutive months.","jetpack-search-pkg"),(0,m.qe)(500))," ",(0,C.jsx)("a",{href:"https://jetpack.com/search/",rel:"external noopener noreferrer nofollow",target:"_blank",children:__("More about indexing and query limits","jetpack-search-pkg")})]})}),(0,C.jsx)(p.eY,{isIncluded:!1,label:__("Shows Jetpack logo","jetpack-search-pkg")}),T.map(e=>(0,C.jsx)(p.eY,{isIncluded:!1},e.id)),(0,C.jsx)(p.eY,{isIncluded:!1}),(0,C.jsx)(p.eY,{isIncluded:!0}),(0,C.jsx)(p.eY,{isIncluded:!0}),(0,C.jsx)(p.eY,{isIncluded:!0}),(0,C.jsx)(p.eY,{isIncluded:!0}),(0,C.jsx)(p.eY,{isIncluded:!0}),(j?I:[]).map(e=>(0,C.jsx)(p.eY,{isIncluded:!0},e.id))]})]})})})]})},M={title:__("The best WordPress search experience","jetpack-search-pkg"),items:[{name:__("Number of records","jetpack-search-pkg"),tooltipInfo:__("Records are all posts, pages, custom post types and other types of content indexed by Jetpack Search.","jetpack-search-pkg")},{name:__("Monthly requests","jetpack-search-pkg"),tooltipInfo:__("A search request is when someone visiting your site searches for something.","jetpack-search-pkg")},{name:__("Unbranded search","jetpack-search-pkg"),tooltipInfo:__("Paid customers can remove branding from the search tool.","jetpack-search-pkg")},{name:__("Priority support","jetpack-search-pkg"),tooltipInfo:(0,C.jsxs)(C.Fragment,{children:[__("Paid customers get dedicated email support from our world-class Happiness Engineers to help with any issue.","jetpack-search-pkg"),(0,C.jsx)("br",{}),(0,C.jsx)("br",{}),__("All other questions are handled by our team as quickly as we are able to through the WordPress support forum.","jetpack-search-pkg")]})},{name:__("Instant search and indexing","jetpack-search-pkg"),tooltipInfo:(0,C.jsxs)(C.Fragment,{children:[__("Instant search and filtering without reloading the page.","jetpack-search-pkg"),(0,C.jsx)("br",{}),(0,C.jsx)("br",{}),__("Real-time indexing, so your search index will update within minutes of changes to your site.","jetpack-search-pkg")]})},{name:__("Powerful filtering","jetpack-search-pkg"),tooltipInfo:__("Filtered and faceted searches by tags, categories, dates, custom taxonomies, and post types.","jetpack-search-pkg")},{name:__("Supports 38 languages","jetpack-search-pkg"),tooltipInfo:(0,C.jsxs)(C.Fragment,{children:[__("Language support for English, Spanish, French, Portuguese, Hindi, Japanese, among others.","jetpack-search-pkg")," ",(0,C.jsx)("a",{href:"https://jetpack.com/support/search/jetpack-search-plugin/#faq",rel:"external noopener noreferrer nofollow",target:"_blank",children:__("See all supported languages","jetpack-search-pkg")})]})},{name:__("Spelling correction","jetpack-search-pkg"),tooltipInfo:__("Quick and accurate spelling correction for when your site visitors mistype their search.","jetpack-search-pkg")},{name:__("Autocomplete","jetpack-search-pkg"),tooltipInfo:__("Suggest search queries as your visitors type, so they can find what they need faster and reach results in a single click.","jetpack-search-pkg")}]},I=[{id:"search-blocks",name:__("Jetpack Search blocks","jetpack-search-pkg"),tooltipInfo:__("Design your own search experience in the block editor. Drop in dedicated search, filtering, and sorting blocks to build a results page that matches your site — no code required.","jetpack-search-pkg")},{id:"embedded-search-page",name:__("Embedded search page","jetpack-search-pkg"),tooltipInfo:__("Don't want to build one yourself? Enable the ready-made Jetpack Search template in a single click for a polished, fully featured search page right out of the box.","jetpack-search-pkg")}],T=[{id:"ai-answers",name:__("AI Answers (Preview)","jetpack-search-pkg"),tooltipInfo:__("Let visitors ask a question and get an instant, AI-generated answer drawn from your own content — right at the top of the search results.","jetpack-search-pkg")}]},23655(e,t,r){"use strict";r.d(t,{A:()=>s});var n=r(47425),o=r(54268),i=r(10790);const s=({amount:e,currency:t,hidePriceFraction:r,tag:s="span"})=>{const{symbol:a,integer:c,fraction:l}=(0,o.vA)(e,t),d=!r||!l.endsWith("00");return(0,i.jsxs)(n.Ay,{component:s,children:[a,c,d&&l]})}},65060(e,t,r){"use strict";r.d(t,{A:()=>l});var n=r(56427),o=r(27723),i=r(95788),s=r(51609),a=r(10790);const __=o.__,c=__("Let readers ask your blog questions and get answers from your content.","jetpack-search-pkg");function l({isAvailable:e,isEnabled:t,isSaving:r,guidelinesUrl:o,updateOptions:l}){const d=(0,s.useCallback)(e=>{l({reader_chat:e})},[l]);return e?(0,a.jsxs)("div",{className:"jp-form-search-settings-group__toggle is-reader-chat jp-search-dashboard-wrap",children:[(0,a.jsx)("div",{className:"jp-search-dashboard-row",children:(0,a.jsx)(n.ToggleControl,{checked:Boolean(t),disabled:r,onChange:d,className:"jp-search-dashboard-toggle lg-col-span-12 md-col-span-8 sm-col-span-4",label:(0,a.jsxs)(a.Fragment,{children:[__("Enable Reader Chat","jetpack-search-pLine truncated
/* translators: 'Your search index' is a breakdown of the site's indexed post type content,
such as the number of indexed posts, pages etc. */
__("Your search index","jetpack-search-pkg")}),(0,c.jsxs)("div",{children:[(0,c.jsx)(a.$,{recordCount:d.recordCount,tierMaximumRecords:r}),(0,c.jsx)(n.A,{items:d.data,showLegendLabelBeforeCount:!0,totalCount:r}),(0,c.jsx)(s.I,{recordCount:d.recordCount,tierMaximumRecords:r,hasBeenIndexed:d.hasBeenIndexed,hasValidData:d.hasValidData,hasItems:d.hasItems})]})]})})})}},89993(e,t,r){"use strict";r.d(t,{Ay:()=>i});r(79060);var n=r(27723);const __=n.__,o=r(38377);function i(e,t,r,n){const i=[],a=[];let c=0,l=!0,d=!0,u=!0;"object"!=typeof t&&(l=!1),"number"!=typeof e&&(d=!1);const p=l&&d?Object.keys(t).length:0;0===p&&(u=!1);const f=[o.colors["Blue 30"],o.colors["Orange 30"],o.colors["WooCommerce Purple 30"],o.colors["Green 30"],o.colors["Yellow 30"]];if(p>0&&l&&d){const e=function(e,t){const r=e.map(e=>{const r=t[e.slug],n=r?r.label:e.slug;return{...e,label:n}});return r}(t,n);for(let t=0;t<p;t++){const r=Object.values(e)[t],{count:n,label:o}=r;a.push({data:s(n,f[t],o)}),c+=n}const r=function(e,t,r){const n=r<=t?r:t;return{includedItems:e.slice(0,n),otherItems:e.slice(n,t)}}(a,p,5);for(const e in r.includedItems)i.push(s(r.includedItems[e].data.count,f[e],r.includedItems[e].data.label));r.otherItems.length>0&&i.push(s(function(e){let t=0;for(const r in e)t=e[r].data.count+t;return t}(r.otherItems),o.colors["Gray 30"],__("other","jetpack-search-pkg")))}return{data:i,recordCount:c,hasBeenIndexed:d,hasValidData:l,hasItems:u,isValid:d&&l&&u}}function s(e,t,r){return{count:e,label:r,backgroundColor:t}}},24919(e,t,r){"use strict";r.d(t,{I:()=>u});r(79060);var n=r(54268),o=r(27723),i=r(88050),s=r(42472),a=r(61868),c=r(61475),l=r(38665),d=r(10790);const __=o.__;function u(e){const t=[];if(!1===e.hasValidData&&t.push("1"),!1===e.hasBeenIndexed&&t.push("2"),!1===e.hasItems&&t.push("2"),"number"==typeof e.tierMaximumRecords&&e.recordCount>.8*e.tierMaximumRecords&&e.recordCount<e.tierMaximumRecords&&t.push("3"),t.length<1)return null;const r=((e=null)=>{const t="number"==typeof e?(0,n.ZV)(e):e;return{1:{id:1,header:__("We were unable to index your content","jetpack-search-pkg"),message:__("Jetpack's servers ran into a problem when trying to communicate with your site.","jetpack-search-pkg"),isImportant:!0},2:{id:2,header:__("We're gathering your usage data","jetpack-search-pkg"),message:__("If you have recently set up Jetpack Search, please allow a little time for indexing to complete.","jetpack-search-pkg")},3:{id:3,header:__("You're close to the maximum records for this billing tier","jetpack-search-pkg"),message:(0,o.sprintf)(
// translators: %s: site's current plan record limit
__("Once you hit %s indexed records, you'll be upgraded to the next tier. You won't be charged for the new tier until your next billing date.","jetpack-search-pkg"),t),link:{text:__("Learn more","jetpack-search-pkg"),url:"https://jetpack.com/support/search/product-pricing/"}}}})(e.tierMaximumRecords)[t[0]];return(0,d.jsxs)(i.b,{intent:r.isImportant?"error":"info",children:[r.header&&(0,d.jsx)(s.h,{children:r.header}),r.message&&(0,d.jsx)(a.V,{children:r.message}),r.link&&(0,d.jsx)(c.E,{children:(0,d.jsx)(l.t,{href:r.link.url,openInNewTab:!0,children:r.link.text})})]})}},36330(e,t,r){"use strict";r.d(t,{$:()=>d});var n=r(54268),o=r(86087),i=r(27723),s=r(13109),a=r(28847),c=(r(30306),r(10790));const __=i.__,l="https://jetpack.com/support/search/jetpack-search-record-meter/";function d(e){if(!e.recordCount)return null;const t="number"==typeof e.recordCount?(0,n.ZV)(e.recordCount):e.recordCount,r="number"==typeof e.tierMaximumRecords?(0,n.ZV)(e.tierMaximumRecords):e.tierMaximumRecords;let d;return d=r?(0,o.createInterpolateElement)((0,i.sprintf)(
// translators: %1$s: site's current record count, %2$s: record limit of the current plan
__("<s>%1$s</s> records indexed out of the <s>%2$s</s> allotted for your current plan","jetpack-search-pkg"),t,r),{s:(0,c.jsx)("strong",{})}):(0,o.createInterpolateElement)((0,i.sprintf)(
// translators: %1$s: site's current record count, %2$s: record limit of the current plan
__("<s>%1$s</s> records indexed","jetpack-search-pkg"),t),{s:(0,c.jsx)("strong",{})}),(0,c.jsx)("div",{"data-testid":"record-count",className:"jp-search-record-count",children:(0,c.jsxs)("p",{className:"jp-search-record-count__message",children:[d,l&&(0,c.jsxs)("a",{href:l,className:"jp-search-record-count__info",title:__("More info","jetpack-search-pkg"),children:[(0,c.jsx)(s.A,{className:"jp-search-record-count__info-icon",icon:a.A,size:18}),(0,c.jsx)("span",{className:"screen-reader-text",children:__("More info","jetpack-search-pkg")})]})]})})}},38232(e,t,r){"use strict";r.d(t,{A:()=>i});var n=r(27723),o=(r(47203),r(10790));const __=n.__;function i(){return(0,o.jsxs)("div",{className:"jp-search-dashboard-promotion",children:[(0,o.jsx)("h3",{children:__("Allow viewers to search through your site's records, lightning fast.","jetpack-search-pkg")}),(0,o.jsxs)("ul",{className:"jp-product-promote",children:[(0,o.jsx)("li",{children:__("Customizable filtering","jetpack-search-pkg")}),(0,o.jsx)("li",{children:__("Support for 38 languages","jetpack-search-pkg")}),(0,o.jsx)("li",{children:__("Content displayed within results is updated in real-time","jetpack-search-pkg")}),(0,o.jsx)("li",{children:__("If you grow into a new pricing tier, we'll let you know before your next billing cycle","jetpack-search-pkg")}),(0,o.jsx)("li",{children:__("Best-in-class support","jetpack-search-pkg")})]})]})}},49792(e,t,r){"use strict";r.d(t,{A:()=>l});var n=r(90372),o=r(56427),i=r(27723),s=r(51609),a=r(10790);const __=i.__,c=__("Show autocomplete query suggestions as visitors type, instead of updating search results on every keystroke.","jetpack-search-pkg");function l({isEnabled:e,isInstantSearchEnabled:t,supportsInstantSearch:r,isSaving:i,isDisabledFromOverLimit:l,updateOptions:d}){const u=(0,s.useCallback)(()=>{if(l)return;const t={search_suggestions_enabled:!e};d(t),n.A.tracks.recordEvent("jetpack_search_suggestions_toggle",t)},[e,d,l]);if(!r||!t)return null;const p=i||l;return(0,a.jsxs)("div",{className:"jp-form-search-settings-group__toggle is-search-suggestions jp-search-dashboard-wrap",children:[(0,a.jsx)("div",{className:"jp-search-dashboard-row",children:(0,a.jsx)(o.ToggleControl,{checked:!!e&&!l,disabled:p,onChange:u,className:"jp-search-dashboard-toggle lg-col-span-12 md-col-span-8 sm-col-span-4",label:__("Enable search suggestions","jetpack-search-pkg"),__nextHasNoMarginBottom:!0})}),(0,a.jsx)("div",{className:"jp-search-dashboard-row",children:(0,a.jsx)("div",{className:"jp-form-search-settings-group__toggle-description lg-col-span-12 md-col-span-8 sm-col-span-4",children:(0,a.jsx)("p",{className:"jp-form-search-settings-group__toggle-explanation",children:c})})})]})}},21549(e,t,r){"use strict";r.d(t,{A:()=>i});var n=r(27723),o=(r(31424),r(10790));const __=n.__;function i(e={upgrade:!0}){return(0,o.jsxs)("a",{className:"jp-instant-search-upsell-nudge jp-search-dashboard-cut",href:e.href,children:[(0,o.jsx)("span",{children:__("Offer instant search results to your visitors as soon as they start typing.","jetpack-search-pkg")})," ",(0,o.jsx)("span",{children:(0,o.jsx)("b",{children:__("Try Jetpack Instant Search for free now","jetpack-search-pkg")})})]})}},89679(e,t,r){"use strict";r.d(t,{A:()=>u});var n=r(90372),o=r(56427),i=r(27723),s=r(95788),a=r(51609),c=r(92772),l=(r(82962),r(10790));const __=i.__,d=__("Render product searches through Jetpack Search's filtered results page instead of WooCommerce's default product search template.","jetpack-search-pkg");function u({isEnabled:e,isSaving:t,updateOptions:r,templateConfig:i,editTemplateUrl:u,editLabel:p,restoreConfirmMessage:f,successMessage:g,errorMessage:h}){const m=(0,a.useCallback)(()=>{const t={override_woocommerce_search_template:!e};r(t),n.A.tracks.recordEvent("jetpack_search_woocommerce_search_template_override_toggle",t)},[e,r]);return(0,l.jsxs)("div",{className:"jp-form-search-settings-group__toggle is-woocommerce-product-search jp-search-dashboard-wrap",children:[(0,l.jsx)("div",{className:"jp-search-dashboard-row",children:(0,l.jsx)(o.ToggleControl,{checked:!!e,disabled:t,onChange:m,className:"jp-search-dashboard-toggle lg-col-span-12 md-col-span-8 sm-col-span-4",label:(0,l.jsxs)("span",{className:"jp-form-search-settings-group__toggle-label-with-badge",children:[__("Use Jetpack Search for product search results","jetpack-search-pkg"),(0,l.jsx)(s.E,{intent:"informational",children:__("Beta","jetpack-search-pkg")})]}),__nextHasNoMarginBottom:!0})}),(0,l.jsx)("div",{className:"jp-search-dashboard-row",children:(0,l.jsxs)("div",{className:"jp-form-search-settings-group__toggle-description lg-col-span-12 md-col-span-8 sm-col-span-4",children:[(0,l.jsx)("p",{className:"jp-form-search-settings-group__toggle-explanation",children:d}),e&&i&&(0,l.jsx)(c.A,{config:i,editLabel:p,restoreConfirmMessage:f,successMessage:g,errorMessage:h,linksDisabled:t}),e&&!i&&u&&(0,l.jsx)("p",{className:"jp-form-search-settings-group__toggle-explanation",children:(0,l.jsx)(o.ExternaLine truncated
@@ -0,0 +1,19 @@
/**
* @license React
* use-sync-external-store-shim.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* @license React
* use-sync-external-store-shim/with-selector.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
@@ -0,0 +1 @@
.vMa4i_Dza2t5Zi_Bw9Nf{background:var(--jp-white-off);overflow:hidden;padding-top:1px}@media(max-width:599px){.RuVLl3q4lxTQa3wbhBJB{grid-column-end:span 1}.f9LZTRG4MMK42rS89afW{grid-column-start:1}.bHe_zKxjjpUwHw_MdYE1{grid-column-end:2}.QZbNrOqE2aNSn50xVhpU{grid-column-end:span 2}.ev7W3z7zVYPeHAlYqZjf{grid-column-start:2}.NJWd1m_e7lOiPYru2ZMP{grid-column-end:3}.Xc6nt1Qc1DI0Z2A3gt1r{grid-column-end:span 3}.UIcN_GXiPRoIsin8Kohg{grid-column-start:3}.GRKCyqb5LufCSCgykKFc{grid-column-end:4}.i_qTq8gqhhC3vIUepVRB{grid-column-end:span 4}.G3qaZ3Jpbvam_1XvGxgc{grid-column-start:4}.VRCNYKZtO9zukEwmgP1y{grid-column-end:5}}@media(min-width:600px)and (max-width:959px){.tRm008K_WJL79WoNZTNL{grid-column-end:span 1}.l5T2P_bgKts4tdaRkS1d{grid-column-start:1}.zOCxfLZpF6BlgC7a_Yq1{grid-column-end:2}.F80DdgVn0m5OpvtSQWka{grid-column-end:span 2}.oI1c7JYfiJtMQHbhngtU{grid-column-start:2}.pMQtA_4jh1_1lVknqEP5{grid-column-end:3}.VenqMpdgyKQVUNNQcfqd{grid-column-end:span 3}.seNYL99uoczf9V4MxBxT{grid-column-start:3}.YKfF1HFhI9KygA5l3b2J{grid-column-end:4}.yAi0Cv1xDWkoqsaUhvhR{grid-column-end:span 4}.ubhnyZOnkgxNhh6XtVWv{grid-column-start:4}.RGOPGQbWMJ9Ei5oFxS7X{grid-column-end:5}.Sz1E2aWbX483ijdi6yge{grid-column-end:span 5}.tku6_bRYrX9tMbgYGmIl{grid-column-start:5}.b5JHttOhSEcI1WBlqAjk{grid-column-end:6}.FboSx5MoKTAWbxXyYlCw{grid-column-end:span 6}.Jhs8yEEmodG30edbJvag{grid-column-start:6}.IpzbbKVqEqPcfIGkXkwt{grid-column-end:7}.mhCPwfAZ4Kmm_empzJAq{grid-column-end:span 7}.x034ilrJF7rO9UJB2rI1{grid-column-start:7}.Wt8t2e16viRrOJ1lLA5v{grid-column-end:8}.S6pIrEy9AMLKx9bgh_Ae{grid-column-end:span 8}.kEfI4tGyuWfHTlRnvIab{grid-column-start:8}.PUzX4RRsKq1dnsz3gebS{grid-column-end:9}}@media(min-width:960px){.X_pdcLJikd8LS_YAdJlB{grid-column-end:span 1}.tl936d14Huby4khYp05X{grid-column-start:1}.hnge0LnR69d3NXEtEE1t{grid-column-end:2}.fj0NUMuyZQcPNgKcjp5Z{grid-column-end:span 2}.R2ncBX7a2NigdYCcV1OX{grid-column-start:2}.t8vMSDVYno9k9itRwnXb{grid-column-end:3}.wsDuEN2GqHx6qzo8dUdk{grid-column-end:span 3}.cIEVPUweWtLBy3xaXnMx{grid-column-start:3}.fajUWBwu1m2B479j3jmz{grid-column-end:4}.YR0c7fQTgMkDdWzwSyLp{grid-column-end:span 4}.xlwp8BmplxkKNMI7gamo{grid-column-start:4}._C4O1w9DUqx1m3gPf8aA{grid-column-end:5}.Z54F1hAErckAIrKlxnXW{grid-column-end:span 5}.ezSDWkRHmKSxDJXxuiOH{grid-column-start:5}.T0ChoeAjGJjkkNrYhD4g{grid-column-end:6}.qtMoMPF6yHvGJnWHSsde{grid-column-end:span 6}.gdoywN5VPiWERfIBqkph{grid-column-start:6}.wUev_VH5uf_pwFFlbnAU{grid-column-end:7}.egIPDFJsOpownTClq9XP{grid-column-end:span 7}.yGhp9yoAW7k0kQik9AB7{grid-column-start:7}.SJ43U9mR5wUg5V2qBeQA{grid-column-end:8}.cTuyHfMwSUJxN_HdIEgd{grid-column-end:span 8}.smCr8DaIagcumdvdldiK{grid-column-start:8}.T03NHzQJvzwL6wAfIiTL{grid-column-end:9}.pMvxM3RJGjqyNdf9qg1Y{grid-column-end:span 9}.iIVpNRwEnQ_JI5gpp9EN{grid-column-start:9}.ZbQ4u4vGSX5rJOje4uGL{grid-column-end:10}.gKb5wuIDAlKGbrjK2vxy{grid-column-end:span 10}.Z7pINdImE2WJiYnZBTqm{grid-column-start:10}.ZTxp6qpvwurMdOnLLSz1{grid-column-end:11}.NnQTlbfnxPDR6cQ7rygg{grid-column-end:span 11}.O137wZd6Yl0olSA9PsXR{grid-column-start:11}.zf2OJtQ2MPz6SDoh6CB0{grid-column-end:12}.U3H6UHW6HqRt9hdzVg3O{grid-column-end:span 12}.zynnNeS_ZBTxABcVpUQH{grid-column-start:12}.vI8tltFZtFUNAy9Iag9s{grid-column-end:13}}.SqdhUZkXCRuIpErj1B3z{--max-container-width:1040px;--vertical-gutter:24px;--horizontal-spacing:8px;column-gap:var(--vertical-gutter);display:grid;margin:0 auto;width:100%}@media(max-width:599px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(4,minmax(0,1fr));max-width:calc(var(--max-container-width) + 32px);padding:0 16px}}@media(min-width:600px)and (max-width:959px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(8,minmax(0,1fr));max-width:calc(var(--max-container-width) + 36px);padding:0 18px}}@media(min-width:960px){.SqdhUZkXCRuIpErj1B3z{grid-template-columns:repeat(12,minmax(0,1fr));max-width:calc(var(--max-container-width) + 48px);padding:0 24px}}.SqdhUZkXCRuIpErj1B3z.OZC_9a1LhpWF9dv15Gdh{max-width:none;padding:unset}.components-spinner.jp-search-dashboard-page-loading-spinner{position:absolute;right:50%;top:50%;transform:translate(50%,-50%)}.jp-search-dashboard-promotion h1{font-size:var(--font-title-large);font-weight:600;line-height:1.2}.jp-search-dashboard-promotion ul.jp-product-promote li{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAANlBMVEVHcEwFnwUInggGnggGnggHnAcAnwUFnQcAnwcGnwkFnQgGnQgFnwcGnQYFnQcFnAcGnQkDnwdhiL0pAAAAEnRSTlMAMF//f2Aw7yBQ3+9gcIBgcED+HDbkAAAAZklEQVR4Ae3LNwICARDDQC0+cv7/Y8mwV9odSfWIcf/+VegnGkIvDaGXKvTTn/Gz+Uf5xTL0K1XotS7fs5H6GHvvaO8d7c3j7rdgHne/A/PYt/cO+R42oYdN6OEQetiFHo4A//6dAXqtBEkmtWutAAAAAElFTkSuQmCC) no-repeat;background-size:24px;color:var(--jp-black);margin-bottom:9px;padding-right:30px}.jp-search-dashboard-connection-screen{align-items:center;background:var(--jp-white-off);display:flex;width:100%}.jp-search-dashboard-connection-screen>div{width:100%}.jp-search-dashboard-connection-screen .jp-components__pricing-card .components-spinner{margin:0}.jp-sLine truncated
@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => '5f9abe8b33a233343158');
@@ -0,0 +1 @@
:is(.wp-theme-pubtwentythirteen,.wp-theme-twentythirteen) .jetpack-search-corrected-query{margin:0 auto;max-width:1040px;padding:0 0 30px;width:100%}:is(.wp-theme-pubtwentyfifteen,.wp-theme-twentyfifteen) .jetpack-search-corrected-query{margin-left:-7px}:is(.wp-theme-pubtwentytwentyfour,.wp-theme-pubtwentytwentythree,.wp-theme-twentytwentyfour,.wp-theme-twentytwentythree) .jetpack-search-corrected-query{margin-top:-1em;max-width:var(--wp--style--global--wide-size)}:is(.wp-child-theme-exford-wpcom,.wp-child-theme-hever-wpcom,.wp-child-theme-maywood-wpcom,.wp-child-theme-pubexford,.wp-child-theme-pubhever,.wp-child-theme-pubmaywood,.wp-theme-assembler-wpcom,.wp-theme-pubassembler) .jetpack-search-corrected-query{text-align:center}@media screen and (min-width:1000px){:is(.wp-theme-dara-wpcom,.wp-theme-pubdara) .jetpack-search-corrected-query{padding-left:211px}}:is(.wp-child-theme-morden-wpcom,.wp-child-theme-pubmorden) .jetpack-search-corrected-query{background:var(--wp--preset--color--background-high-contrast);padding-bottom:32px;text-align:center}@media screen and (min-width:560px){:is(.wp-child-theme-morden-wpcom,.wp-child-theme-pubmorden) .jetpack-search-corrected-query{margin-top:-96px;padding-bottom:64px}}.wp-theme-baskerville-2-wpcom .jetpack-search-corrected-query{margin-top:1em}@media screen and (max-width:1440px){.wp-theme-baskerville-2-wpcom .jetpack-search-corrected-query{margin-top:-3%}}@media screen and (max-width:600px){.wp-theme-baskerville-2-wpcom .jetpack-search-corrected-query{margin-top:-15px}}
@@ -0,0 +1 @@
:is(.wp-theme-pubtwentythirteen,.wp-theme-twentythirteen) .jetpack-search-corrected-query{margin:0 auto;max-width:1040px;padding:0 0 30px;width:100%}:is(.wp-theme-pubtwentyfifteen,.wp-theme-twentyfifteen) .jetpack-search-corrected-query{margin-right:-7px}:is(.wp-theme-pubtwentytwentyfour,.wp-theme-pubtwentytwentythree,.wp-theme-twentytwentyfour,.wp-theme-twentytwentythree) .jetpack-search-corrected-query{margin-top:-1em;max-width:var(--wp--style--global--wide-size)}:is(.wp-child-theme-exford-wpcom,.wp-child-theme-hever-wpcom,.wp-child-theme-maywood-wpcom,.wp-child-theme-pubexford,.wp-child-theme-pubhever,.wp-child-theme-pubmaywood,.wp-theme-assembler-wpcom,.wp-theme-pubassembler) .jetpack-search-corrected-query{text-align:center}@media screen and (min-width:1000px){:is(.wp-theme-dara-wpcom,.wp-theme-pubdara) .jetpack-search-corrected-query{padding-right:211px}}:is(.wp-child-theme-morden-wpcom,.wp-child-theme-pubmorden) .jetpack-search-corrected-query{background:var(--wp--preset--color--background-high-contrast);padding-bottom:32px;text-align:center}@media screen and (min-width:560px){:is(.wp-child-theme-morden-wpcom,.wp-child-theme-pubmorden) .jetpack-search-corrected-query{margin-top:-96px;padding-bottom:64px}}.wp-theme-baskerville-2-wpcom .jetpack-search-corrected-query{margin-top:1em}@media screen and (max-width:1440px){.wp-theme-baskerville-2-wpcom .jetpack-search-corrected-query{margin-top:-3%}}@media screen and (max-width:600px){.wp-theme-baskerville-2-wpcom .jetpack-search-corrected-query{margin-top:-15px}}
@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => '612dcc7e4458e295ea46');
@@ -0,0 +1 @@
:is(.wp-theme-pubtwentythirteen,.wp-theme-twentythirteen) .jetpack-search-corrected-query{margin:0 auto;max-width:1040px;padding:0 0 30px;width:100%}:is(.wp-theme-pubtwentyfifteen,.wp-theme-twentyfifteen) .jetpack-search-corrected-query{margin-left:-7px}:is(.wp-theme-pubtwentytwentyfour,.wp-theme-pubtwentytwentythree,.wp-theme-twentytwentyfour,.wp-theme-twentytwentythree) .jetpack-search-corrected-query{margin-top:-1em;max-width:var(--wp--style--global--wide-size)}:is(.wp-child-theme-exford-wpcom,.wp-child-theme-hever-wpcom,.wp-child-theme-maywood-wpcom,.wp-child-theme-pubexford,.wp-child-theme-pubhever,.wp-child-theme-pubmaywood,.wp-theme-assembler-wpcom,.wp-theme-pubassembler) .jetpack-search-corrected-query{text-align:center}@media screen and (min-width:1000px){:is(.wp-theme-dara-wpcom,.wp-theme-pubdara) .jetpack-search-corrected-query{padding-left:211px}}:is(.wp-child-theme-morden-wpcom,.wp-child-theme-pubmorden) .jetpack-search-corrected-query{background:var(--wp--preset--color--background-high-contrast);padding-bottom:32px;text-align:center}@media screen and (min-width:560px){:is(.wp-child-theme-morden-wpcom,.wp-child-theme-pubmorden) .jetpack-search-corrected-query{margin-top:-96px;padding-bottom:64px}}.wp-theme-baskerville-2-wpcom .jetpack-search-corrected-query{margin-top:1em}@media screen and (max-width:1440px){.wp-theme-baskerville-2-wpcom .jetpack-search-corrected-query{margin-top:-3%}}@media screen and (max-width:600px){.wp-theme-baskerville-2-wpcom .jetpack-search-corrected-query{margin-top:-15px}}
@@ -0,0 +1 @@
(()=>{var e={918(){},90(){document.addEventListener("DOMContentLoaded",()=>{if(!window.JetpackSearchCorrectedQuery?.html)return;const{selectors:e,html:r}=window.JetpackSearchCorrectedQuery,t=document.querySelector(e.join(", "));t&&t.insertAdjacentHTML("afterend",r)})}},r={};function t(o){var n=r[o];if(void 0!==n)return n.exports;var a=r[o]={exports:{}};return e[o](a,a.exports,t),a.exports}t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),(()=>{"use strict";t(918),t(90)})()})();
@@ -0,0 +1 @@
:is(.wp-theme-pubtwentythirteen,.wp-theme-twentythirteen) .jetpack-search-corrected-query{margin:0 auto;max-width:1040px;padding:0 0 30px;width:100%}:is(.wp-theme-pubtwentyfifteen,.wp-theme-twentyfifteen) .jetpack-search-corrected-query{margin-right:-7px}:is(.wp-theme-pubtwentytwentyfour,.wp-theme-pubtwentytwentythree,.wp-theme-twentytwentyfour,.wp-theme-twentytwentythree) .jetpack-search-corrected-query{margin-top:-1em;max-width:var(--wp--style--global--wide-size)}:is(.wp-child-theme-exford-wpcom,.wp-child-theme-hever-wpcom,.wp-child-theme-maywood-wpcom,.wp-child-theme-pubexford,.wp-child-theme-pubhever,.wp-child-theme-pubmaywood,.wp-theme-assembler-wpcom,.wp-theme-pubassembler) .jetpack-search-corrected-query{text-align:center}@media screen and (min-width:1000px){:is(.wp-theme-dara-wpcom,.wp-theme-pubdara) .jetpack-search-corrected-query{padding-right:211px}}:is(.wp-child-theme-morden-wpcom,.wp-child-theme-pubmorden) .jetpack-search-corrected-query{background:var(--wp--preset--color--background-high-contrast);padding-bottom:32px;text-align:center}@media screen and (min-width:560px){:is(.wp-child-theme-morden-wpcom,.wp-child-theme-pubmorden) .jetpack-search-corrected-query{margin-top:-96px;padding-bottom:64px}}.wp-theme-baskerville-2-wpcom .jetpack-search-corrected-query{margin-top:1em}@media screen and (max-width:1440px){.wp-theme-baskerville-2-wpcom .jetpack-search-corrected-query{margin-top:-3%}}@media screen and (max-width:600px){.wp-theme-baskerville-2-wpcom .jetpack-search-corrected-query{margin-top:-15px}}
@@ -0,0 +1 @@
<?php return array('dependencies' => array('wp-i18n', 'wp-jp-i18n-loader', 'wp-polyfill', 'wp-url'), 'version' => '9de017be31cb883a04fb');
@@ -0,0 +1 @@
.jetpack-instant-search__overlay{background:#1d2327b3;bottom:0;box-sizing:border-box;color:#0a112d;font-size:16px;left:0;opacity:1;overflow-x:hidden;overflow-y:auto;position:fixed;right:0;top:0;z-index:9999999999999}body.jps-theme-argent .jetpack-instant-search__overlay *{font-family:Helvetica,sans-serif}@media(max-width:767.98px){.jetpack-instant-search__overlay{padding:3em 1em}}@media(max-width:575.98px){.jetpack-instant-search__overlay{padding:0}}@media(min-width:768px){.jetpack-instant-search__overlay{padding:3em}}.jetpack-instant-search__overlay :is(h1,h2,h3,h4,h5,h6){letter-spacing:inherit}.jetpack-instant-search__overlay.is-hidden{background:#0000;opacity:0;visibility:hidden}.jetpack-instant-search__overlay *,.jetpack-instant-search__overlay :after,.jetpack-instant-search__overlay :before{box-sizing:inherit}@media print{.jetpack-instant-search__overlay.is-hidden{display:none}}@media(prefers-reduced-motion:no-preference){.jetpack-instant-search__overlay{transition:opacity .1s ease-in}}.jp-search-answers-panel{background:#fff;border:1px solid #dcdcde;border-radius:6px;box-shadow:0 1px 4px #00000014;color:#0a112d;margin:0 56px 16px;overflow:hidden}.jp-search-answers-panel--fixed-height{display:flex;flex-direction:column;height:160px}.jp-search-answers-panel--fixed-height .jp-search-answers-panel__content{flex:1;max-height:none;min-height:0;overflow:hidden}.jp-search-answers-panel--fixed-height .jp-search-answers-panel__toggle{flex-shrink:0;margin-top:auto}@media(max-width:991.98px){.jp-search-answers-panel{margin-left:40px;margin-right:40px}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jp-search-answers-panel{margin-left:40px;margin-right:40px}}@media(min-width:600px){.jp-search-answers-panel{margin-left:20px;margin-right:20px}}.jp-search-answers-panel__heading{color:#646970;font-size:11px;font-weight:600;letter-spacing:.08em;margin:0;padding:14px 18px 8px;text-transform:uppercase}.jp-search-answers-panel--error{border-color:#facfd2}.jp-search-answers-panel__error{padding:0 18px 14px}.jp-search-answers-panel__error-message{color:#d63638;font-size:13px;margin:0 0 4px}.jp-search-answers-panel__error-detail{color:#646970;font-size:12px;margin:0}.jp-search-answers-panel__loading{align-items:center;color:#646970;display:flex;font-size:13px;gap:8px;padding:0 18px 14px}.jp-search-answers-panel__loading-hint{color:#646970;font-size:13px;font-style:italic;margin:0;padding:0 18px 14px}.jp-search-answers-panel__content{padding:0 18px 14px}.jp-search-answers-panel__content--collapsed{max-height:5em;overflow:hidden;padding-bottom:0;position:relative}.jp-search-answers-panel__content--collapsed:after{background:linear-gradient(#0000,#fff);bottom:0;content:"";height:2.5em;left:0;pointer-events:none;position:absolute;right:0}.jp-search-answers-panel__text{font-size:13px;line-height:1.6}.jp-search-answers-panel__text :is(h2,h3,h4){font-size:1em;font-weight:700;margin:.8em 0 .3em}.jp-search-answers-panel__text p{margin:0 0 .6em}.jp-search-answers-panel__text ul{list-style:disc;margin:0 0 .6em 1.2em;padding:0}.jp-search-answers-panel__text li{margin-bottom:.2em}.jp-search-answers-panel__text strong{font-weight:700}.jp-search-answers-panel__text em{font-style:italic}.jp-search-answers-panel__text a{color:#0a112d;text-decoration:underline}.jp-search-answers-panel__toggle{align-items:center;background:none;border:none;border-top:1px solid #f6f7f7;color:#0a112d;cursor:pointer;display:flex;font-size:12px;font-weight:500;gap:6px;justify-content:center;padding:9px 0;width:100%}.jp-search-answers-panel__toggle:hover{background:#f6f7f7}.jp-search-answers-panel__toggle-icon{border-bottom:1.5px solid;border-right:1.5px solid;display:inline-block;height:6px;transform:rotate(45deg);width:6px}.jp-search-answers-panel__toggle--expanded .jp-search-answers-panel__toggle-icon{margin-top:3px;transform:rotate(-135deg)}.jp-search-answers-panel__citations{border-top:1px solid #f6f7f7;display:flex;flex-wrap:wrap;gap:6px 12px;justify-content:flex-end;list-style:none;margin:6px 0 0;padding:10px 0 0}.jp-search-answers-panel__citations li{font-size:12px;line-height:1.5}.jp-search-answers-panel__citations a{align-items:center;color:#0a112d;display:inline-flex;gap:4px;text-decoration:underline}.jp-search-answers-panel__citation-icon{flex-shrink:0}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jp-search-answers-panel{background:#000;border-color:#3c434a;box-shadow:none;color:#fbfcfe}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jp-search-answers-panel--error{border-color:#d63638}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark :is(.jp-search-answers-panel__error-detail,.jp-search-answers-panel__heading,.jp-search-answers-panel__loading,.jp-search-answers-panel__loading-hint){color:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jp-search-answers-panel__content--collapsed:after{background:linear-gradient(#0000,#000)}.jetpack-instanLine truncated
@@ -0,0 +1,14 @@
"use strict";(globalThis.webpackChunk_automattic_jetpack_search=globalThis.webpackChunk_automattic_jetpack_search||[]).push([[106],{2958(){},1489(){},1173(){},1410(){},7254(){},5238(){},8817(){},9002(){},7646(){},1032(){},2210(){},3387(){},7828(){},6577(){},614(){},9278(){},4994(){},751(){},6421(){},5965(){},2686(){},1474(){},6213(){},2674(){},8276(e,t,s){s.d(t,{A:()=>i});var r=s(9362);const a=[200,200,200,1e3],n=["",".","..","..."];function i(){const[e,t]=(0,r.useState)(0);return(0,r.useEffect)(()=>{const s=setTimeout(()=>{t(e=>(e+1)%4)},a[e]);return()=>clearTimeout(s)},[e]),r.createElement("span",{"aria-hidden":"true",style:{display:"inline-block",minWidth:"1.5ch"}},n[e])}},2805(e,t,s){s.d(t,{A:()=>l});var r=s(7723),a=s(9362),n=s(2685),i=s(8276);s(2958);const __=r.__,o=()=>a.createElement("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",className:"jp-search-answers-panel__citation-icon"},a.createElement("path",{d:"M1 9L9 1M9 1H5M9 1V5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}));function l({status:e,text:t,citations:s=[],error:l=null,loadingHint:c=null,onShowMore:p}){const[h,u]=(0,a.useState)(!1),[d,m]=(0,a.useState)(!1),g=(0,a.useRef)(null);if((0,a.useEffect)(()=>{"loading"!==e&&"streaming"!==e||(u(!1),m(!1))},[e]),(0,a.useLayoutEffect)(()=>{"done"===e&&g.current&&m(g.current.scrollHeight>g.current.clientHeight)},[e,t]),"idle"===e)return null;if("error"===e)return a.createElement("div",{className:"jp-search-answers-panel jp-search-answers-panel--error",role:"alert"},a.createElement("h2",{className:"jp-search-answers-panel__heading"},__("AI answer","jetpack-search-pkg")),a.createElement("div",{className:"jp-search-answers-panel__error"},a.createElement("p",{className:"jp-search-answers-panel__error-message"},__("Sorry, an error occurred while generating an answer.","jetpack-search-pkg")),l&&a.createElement("p",{className:"jp-search-answers-panel__error-detail","data-testid":"answers-panel-error-detail"},l.message,null!==l.code&&a.createElement(a.Fragment,null,a.createElement("br",null),/* translators: %s: numeric error code */ /* translators: %s: numeric error code */(0,r.sprintf)(__("Error code: %s","jetpack-search-pkg"),l.code)))));const _="done"===e,y=_&&void 0===p&&!h,f="loading"===e||y,k=__("Show more","jetpack-search-pkg"),E=__("Show less","jetpack-search-pkg");return a.createElement("div",{className:"jp-search-answers-panel"+(f?" jp-search-answers-panel--fixed-height":""),"aria-live":"polite"},a.createElement("h2",{className:"jp-search-answers-panel__heading"},__("AI answer","jetpack-search-pkg")),"loading"===e&&a.createElement("div",{className:"jp-search-answers-panel__loading"},__("Finding an answer","jetpack-search-pkg"),a.createElement(i.A,null)),("streaming"===e||"done"===e)&&a.createElement("div",{ref:g,className:"jp-search-answers-panel__content"+(y?" jp-search-answers-panel__content--collapsed":"")},a.createElement("div",{className:"jp-search-answers-panel__text",dangerouslySetInnerHTML:{__html:(0,n.u)(t)}}),"done"===e&&s.length>0&&a.createElement("ul",{className:"jp-search-answers-panel__citations"},s.map(({title:e,url:t},s)=>a.createElement("li",{key:s},a.createElement("a",{href:/^https?:\/\//i.test(t)?t:"#",target:"_blank",rel:"noopener noreferrer"},e,a.createElement(o,null)))))),null===p&&c&&a.createElement("p",{className:"jp-search-answers-panel__loading-hint"},c,a.createElement(i.A,null)),_&&"function"==typeof p&&a.createElement("button",{className:"jp-search-answers-panel__toggle",onClick:p},k,a.createElement("span",{className:"jp-search-answers-panel__toggle-icon","aria-hidden":"true"})),_&&void 0===p&&d&&a.createElement("button",{className:"jp-search-answers-panel__toggle"+(h?" jp-search-answers-panel__toggle--expanded":""),onClick:()=>u(e=>!e)},h?E:k,a.createElement("span",{className:"jp-search-answers-panel__toggle-icon","aria-hidden":"true"})))}},6084(e,t,s){s.d(t,{A:()=>n});var r=s(9362),a=s(1017);class n extends r.Component{componentDidMount(){(0,a.UC)(this.handleOverlayOptionsUpdate),(0,a.Tx)(this.props.toggleResults)}handleOverlayOptionsUpdate=e=>{this.props.updateOverlayOptions(e,()=>this.props.showResults())};render(){return null}}},8165(e,t,s){s.d(t,{A:()=>o});s(6241);var r=s(6954),a=s.n(r),n=s(9362),i=s(7152);class o extends n.Component{constructor(){super(...arguments),this.state={isComposing:!1,bodyScrollTop:0,prefersReducedMotion:(0,i.y)(),previousStyle:null,previousBodyStyleAttribute:""},this.props.initializeQueryValues()}componentDidMount(){this.disableUnnecessaryFormAndInputAttributes(),this.addEventListeners()}componentWillUnmount(){this.removeEventListeners(),this.restoreBodyScroll()}componentDidUpdate(e){this.props.isVisible!==e.isVisible&&this.fixBodyScroll(),this.fixBodyOpacity()}disableUnnecessaryFormAndInputAttributes(){document.querySelectorAll(this.props.themeOptions.searchInputSelector).forEach(e=>{e.removeAttribute("required"),e.removeAttribuLine truncated
_n("%d review","%d reviews",t,"jetpack-search-pkg"),t)),a.createElement("span",{className:"screen-reader-text"},(0,r.sprintf)(/* Translators: %1$d: the average product rating out of 5, %2$d: the number of product reviews. */
_n("Average rating of %1$d out of 5 from %2$d review.","Average rating of %1$d out of 5 from %2$d reviews.",t,"jetpack-search-pkg"),Number(e).toFixed(2),t)))}},3845(e,t,s){s.d(t,{A:()=>c});var r=s(7723),a=s(6954),n=s.n(a),i=s(9362),o=s(7479);s(7646);const __=r.__;class l extends i.Component{scrollElement=document.getElementsByClassName(o.tr)[0];componentDidMount(){this.scrollElement.addEventListener("scroll",this.checkScroll)}componentDidUnmount(){this.scrollElement.removeEventListener("scroll",this.checkScroll)}checkScroll=n()(()=>{const e=this.scrollElement.clientHeight+this.scrollElement.scrollTop+o.ZJ;this.props.enableLoadOnScroll&&e>=this.scrollElement.scrollHeight&&this.props.onLoadNextPage()},100);render(){return i.createElement("button",{className:"jetpack-instant-search__scroll-button",disabled:this.props.isLoading,onClick:this.props.onLoadNextPage},this.props.isLoading?i.createElement("span",null,__("Loading…","jetpack-search-pkg")):i.createElement("span",null,__("Load more","jetpack-search-pkg")))}}const c=l},459(e,t,s){s.d(t,{A:()=>w});var r=s(7675),a=s(7723),n=s(6954),i=s.n(n),o=s(4224),l=s.n(o),c=s(9362),p=s(4952),h=s(7479),u=s(3089),d=s(6122),m=s(8924),g=s(999),_=s(538),y=s(6084),f=s(8165),k=s(6973),E=s(8568);s(1032);const __=a.__;class v extends c.Component{static defaultProps={overlayOptions:{},widgets:[]};constructor(){super(...arguments),this.state={isVisible:!!this.props.initialIsVisible,overlayOptionsCustomizerOverride:{},aiBriefStatus:"idle",aiBriefText:"",aiBriefCitations:[],aiBriefError:null,aiExtendedStatus:"idle",aiExtendedText:"",aiExtendedCitations:[],aiExtendedError:null,aiExtendedLoadingText:"",aiShowExtended:!1,aiSessionId:null},this.getResults=i()(this.getResults,200),this.aiBriefController=null,this.aiExtendedController=null,this.getAiAnswer=i()(this.getAiAnswer,500),this.props.enableAnalytics?this.initializeAnalytics():(0,m.Re)(),this.props.shouldIntegrateWithDom?this.props.initializeQueryValues():this.props.disableQueryStringIntegration()}static getDerivedStateFromProps(e,t){return{overlayOptions:{...e.overlayOptions,...t.overlayOptionsCustomizerOverride}}}componentDidMount(){(this.props.initialShowResults&&this.props.initialIsVisible||this.props.isInCustomizer)&&this.getResults(),this.props.hasActiveQuery&&this.props.overlayOptions.enableFilteringOpensOverlay&&this.showResults()}componentDidUpdate(e,t){e.searchQuery===this.props.searchQuery&&e.sort===this.props.sort&&l()(e.filters)===l()(this.props.filters)&&l()(e.staticFilters)===l()(this.props.staticFilters)||this.onChangeQueryString(this.props.isHistoryNavigation),e.searchQuery!==this.props.searchQuery&&this.getAiAnswer(),t.overlayOptions.defaultSort!==this.state.overlayOptions.defaultSort&&this.props.setSort(this.state.overlayOptions.defaultSort),l()(t.overlayOptions.excludedPostTypes)!==l()(this.state.overlayOptions.excludedPostTypes)&&this.getResults()}componentWillUnmount(){this.aiBriefController&&this.aiBriefController.abort(),this.aiExtendedController&&this.aiExtendedController.abort(),this.getAiAnswer.clear()}initializeAnalytics(){(0,m.ze)(),!window[h.O5].preventTrackingCookiesReset&&(0,m.kX)(),(0,m.wk)(this.props.options.siteId)}getResultFormat=()=>{if(this.props.staticFilters&&this.props.staticFilters.group_id&&this.props.staticFilters.group_id!==h.$K)return h.yj;return(0,d.lz)()||this.state.overlayOptions.resultFormat};initializeStaticFilters=()=>{const e=(0,u.PM)();e.length>0&&0===Object.keys(this.props.staticFilters).length&&e.forEach(e=>this.props.setStaticFilter(e.filter_id,e.selected,!0))};hideResults=e=>{this.props.shouldIntegrateWithDom&&(0,d.fX)(this.props.initialHref,()=>{this.setState({isVisible:!1}),this.props.clearQueryValues()},e)};toggleResults=e=>{this.props.shouldIntegrateWithDom&&this.state.isVisible!==e&&(e&&this.initializeStaticFilters(),this.setState({isVisible:e}))};showResults=this.toggleResults.bind(this,!0);onChangeQueryString=e=>{this.getResults(),this.props.hasActiveQuery&&!this.state.isVisible&&this.showResults(),!this.props.hasActiveQuery&&e&&this.hideResults(e),null!==this.props.searchQuery&&document.querySelectorAll(this.props.themeOptions.searchInputSelector).forEach(e=>{e.value=this.props.searchQuery})};loadNextPage=()=>{this.props.hasNextPage&&this.getResults({pageHandle:this.props.response.page_handle})};getResults=({pageHandle:e}={})=>{this.props.makeSearchRequest({aggregations:e?{}:this.props.aggregations,excludedPostTypes:this.state.overlayOptions.excludedPostTypes,filter:this.props.filters,staticFilters:this.props.staticFilters,pageHandle:e,query:this.props.searchQuery,resultFormat:this.getResultFormat(),siteId:this.props.options.siteId,additionalBlogIds:this.props.options.additionalBlogIds,sort:this.props.sort,postsPerPage:this.props.options.postsPerPage,adminQueryFilter:this.props.options.adminQueryFilter,highlightFields:this.props.options.highlightFields,customResults:this.props.options.customResults,isInCustomizer:this.props.isInCustomizer})};streamAiAnswer=({contrLine truncated
/* Translators: Button is used to clear the search input query. */
a.createElement("input",{type:"button",value:__("clear","jetpack-search-pkg"),onClick:e.onClear}),a.createElement("button",{className:"screen-reader-text assistive-text",tabIndex:"-1"},__("Search","jetpack-search-pkg")))))})},1242(e,t,s){s.d(t,{A:()=>n});var r=s(9362),a=s(1168);s(3387);const n=e=>r.createElement("div",{className:"jetpack-instant-search__search-form-controls",role:"form"},e.children,e.enableSort&&r.createElement(a.A,{onChange:e.onChangeSort,resultFormat:e.resultFormat,value:e.sort}))},5450(e,t,s){s.d(t,{A:()=>u,t:()=>c});s(6241);var r=s(3022),a=s(9362),n=s(4952),i=s(1557),o=s.n(i),l=s(7574);const c=e=>e.split(" ").join("T");let p=0;class h extends a.Component{filtersList=(0,a.createRef)();idPrefix="jetpack-instant-search__search-filter-"+ ++p;getIdentifier(){return"postType"===this.props.type?"post_types":"author"===this.props.type?"authors":"blogId"===this.props.type?"blog_ids":"date"===this.props.type?`${this.props.configuration.interval}_${this.props.configuration.field}`:"taxonomy"===this.props.type?this.props.configuration.taxonomy:"productAttribute"===this.props.type?this.props.configuration.attribute:"group"===this.props.type?this.props.configuration.filter_id:void 0}isChecked(e){return Boolean(this.props.value&&this.props.value.includes(e))}toggleFilter=()=>{this.props.onChange(this.getIdentifier(),(0,l.e)(this.filtersList.current))};toggleStaticFilter=e=>{this.props.onChange(this.getIdentifier(),e.target.value)};renderDate=({key_as_string:e,doc_count:t})=>{const{locale:s="en-US"}=this.props;return a.createElement("div",null,a.createElement("input",{checked:this.isChecked(e),disabled:!this.isChecked(e)&&0===t,id:`${this.idPrefix}-dates-${this.getIdentifier()}-${e}`,name:e,onChange:this.toggleFilter,type:"checkbox",className:"jetpack-instant-search__search-filter-list-input"}),a.createElement("label",{htmlFor:`${this.idPrefix}-dates-${this.getIdentifier()}-${e}`,className:"jetpack-instant-search__search-filter-list-label"},new Date(c(e)).toLocaleString(s,function(e){switch(e){case"day":return{year:"numeric",month:"long",day:"numeric"};case"month":return{year:"numeric",month:"long"};case"year":return{year:"numeric"}}return{year:"numeric",month:"long"}}(this.props.configuration.interval))," ","(",t,")"))};renderPostType=({key:e,doc_count:t})=>{const s=e in this.props.postTypes?this.props.postTypes[e].singular_name:e;return a.createElement("div",null,a.createElement("input",{checked:this.isChecked(e),disabled:!this.isChecked(e)&&0===t,id:`${this.idPrefix}-post-types-${e}`,name:e,onChange:this.toggleFilter,type:"checkbox",className:"jetpack-instant-search__search-filter-list-input"}),a.createElement("label",{htmlFor:`${this.idPrefix}-post-types-${e}`,className:"jetpack-instant-search__search-filter-list-label"},o()(s)," (",t,")"))};renderAuthor=({key:e,doc_count:t})=>{const[s,r]=e&&e.split(/\/(.+)/);return a.createElement("div",null,a.createElement("input",{checked:this.isChecked(s),disabled:!this.isChecked(s)&&0===t,id:`${this.idPrefix}-authors-${s}`,name:s,onChange:this.toggleFilter,type:"checkbox",className:"jetpack-instant-search__search-filter-list-input"}),a.createElement("label",{htmlFor:`${this.idPrefix}-authors-${s}`,className:"jetpack-instant-search__search-filter-list-label"},o()(r)," (",t,")"))};renderBlogId=({key:e,doc_count:t})=>{const s=e.toString(),r=this.props.blogIdFilteringLabels?.[e]||s;return a.createElement("div",null,a.createElement("input",{checked:this.isChecked(s),disabled:!this.isChecked(s)&&0===t,id:`${this.idPrefix}-blog-ids-${s}`,name:s,onChange:this.toggleFilter,type:"checkbox",className:"jetpack-instant-search__search-filter-list-input"}),a.createElement("label",{htmlFor:`${this.idPrefix}-blog-ids-${s}`,className:"jetpack-instant-search__search-filter-list-label"},o()(r)," (",t,")"))};renderTaxonomy=({key:e,doc_count:t})=>{const[s,r]=e&&e.split(/\/(.+)/);return a.createElement("div",null,a.createElement("input",{checked:this.isChecked(s),disabled:!this.isChecked(s)&&0===t,id:`${this.idPrefix}-taxonomies-${s}`,name:s,onChange:this.toggleFilter,type:"checkbox",className:"jetpack-instant-search__search-filter-list-input"}),a.createElement("label",{htmlFor:`${this.idPrefix}-taxonomies-${s}`,className:"jetpack-instant-search__search-filter-list-label"},o()(r)," (",t,")"))};renderProductAttribute=({key:e,doc_count:t})=>{const[s,r]=e&&e.split(/\/(.+)/);return a.createElement("div",null,a.createElement("input",{checked:this.isChecked(s),disabled:!this.isChecked(s)&&0===t,id:`${this.idPrefix}-product-attributes-${s}`,name:s,onChange:this.toggleFilter,type:"checkbox",className:"jetpack-instant-search__search-filter-list-input"}),a.createElement("label",{htmlFor:`${this.idPrefix}-product-attributes-${s}`,className:"jetpack-instant-search__search-filter-list-label"},o()(r)," (",t,")"))};renderGroup=e=>a.createElement("div",{className:"jetpack-instant-search__search-filter-group-item"},a.createElement("input",{checked:this.isChecked(e.value),id:`${this.idPrefix}-groups Line truncated
_n("Found %1$s result in %2$s","Found %1$s results in %2$s",e,"jetpack-search-pkg"),i,p?.name):(0,r.sprintf)(/* translators: %s: number of results. */
_n("Found %s result","Found %s results",e,"jetpack-search-pkg"),i)}return s?a?(0,r.sprintf)(/* translators: %1$s: number of results. %2$s: the corrected search query. */
_n('Found %1$s result for "%2$s"','Found %1$s results for "%2$s"',e,"jetpack-search-pkg"),i,t):(0,r.sprintf)(/* translators: %s: number of results. */
_n("Found %s result","Found %s results",e,"jetpack-search-pkg"),i):__("Showing popular results","jetpack-search-pkg")}renderPrimarySection(){const{highlightColor:e,searchQuery:t}=this.props,{results:s=[],total:a=0,corrected_query:c=!1}=this.props.response,u=(0,i.d)(e),_=!1!==c,f=a>0,E=this.props.additionalBlogIds?.length>0||this.props.staticFilters&&this.props.staticFilters.group_id&&this.props.staticFilters.group_id!==o.$K;return n.createElement(n.Fragment,null,n.createElement("style",{dangerouslySetInnerHTML:{__html:`\n\t\t\t\t\t\t\t.jetpack-instant-search *::selection,\n\t\t\t\t\t\t\t.jetpack-instant-search .jetpack-instant-search__search-results .jetpack-instant-search__search-results-primary .jetpack-instant-search__search-result mark {\n\t\t\t\t\t\t\t\tcolor: ${u};\n\t\t\t\t\t\t\t\tbackground-color: ${e};\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t`}}),n.createElement(p.A,{status:this.props.aiStatus,text:this.props.aiText,citations:this.props.aiCitations,error:this.props.aiError,loadingHint:this.props.aiLoadingHint,onShowMore:this.props.onShowMoreAiAnswer}),n.createElement(k.A,null),n.createElement("div",{className:"jetpack-instant-search__search-results-header"},n.createElement("h2",{className:"jetpack-instant-search__search-results-title"},this.getSearchTitle()),n.createElement(g.A,{enableSort:this.props.enableSort,onChangeSort:this.props.onChangeSort,resultFormat:this.props.resultFormat,sort:this.props.sort},(this.hasFilterOptions()||this.props.hasNonSearchWidgets)&&n.createElement("div",{role:"button",onClick:this.toggleMobileSecondary,onKeyDown:this.toggleMobileSecondary,tabIndex:"0",className:"jetpack-instant-search__search-results-filter-button"},__("Filters","jetpack-search-pkg"),n.createElement(h.A,{icon:"chevron-down",size:16,alt:__("Show search filters","jetpack-search-pkg"),"aria-hidden":"true"}),n.createElement("span",{className:"screen-reader-text assistive-text"},this.state.shouldShowMobileSecondary?__("Hide filters","jetpack-search-pkg"):__("Show filters","jetpack-search-pkg"))))),f&&_&&n.createElement("p",{className:"jetpack-instant-search__search-results-unused-query"},/* translators: %s: Search query. */ /* translators: %s: Search query. */
(0,r.sprintf)(__('No results for "%s"',"jetpack-search-pkg"),t)),this.props.hasError&&n.createElement(d.A,{type:"warning"},(0,l.u)(this.props.response.error)),f&&!this.props.hasError&&this.props.response._isOffline&&n.createElement(d.A,{type:"warning"},(0,l.u)({message:"offline"})),f&&!this.props.hasError&&n.createElement("ol",{className:`jetpack-instant-search__search-results-list is-format-${this.props.resultFormat}`},s.map((e,t)=>n.createElement(y.A,{index:t,key:t,staticFilters:this.props.staticFilters,isPhotonEnabled:this.props.isPhotonEnabled,locale:this.props.locale,railcar:this.props.isVisible?e.railcar:null,result:e,resultFormat:this.props.resultFormat,searchQuery:this.props.searchQuery,isMultiSite:E,showPostDate:this.props.showPostDate,enableFallbackImage:this.props.enableFallbackImage,fallbackImageUrl:this.props.fallbackImageUrl,showProductPrice:this.props.showProductPrice}))),f&&this.props.hasNextPage&&n.createElement("div",{className:"jetpack-instant-search__search-results-pagination"},n.createElement(m.A,{enableLoadOnScroll:this.props.enableLoadOnScroll,isLoading:this.props.isLoading,onLoadNextPage:this.props.onLoadNextPage})))}renderSecondarySection(){return n.createElement(f.A,{filters:this.props.filters,staticFilters:this.props.staticFilters,isLoading:this.props.isLoading,locale:this.props.locale,postTypes:this.props.postTypes,response:this.props.response,widgets:this.props.widgets,widgetOutsideOverlay:this.props.widgetOutsideOverlay})}closeOverlay=e=>{e.preventDefault(),this.props.closeOverlay()};onKeyPressHandler=e=>{"Enter"===e.key&&(e.preventDefault(),this.props.closeOverlay())};render(){return n.createElement("div",{className:(0,a.A)("jetpack-instant-search__search-results-wrapper",{"has-colophon":this.props.showPoweredBy})},n.createElement("div",{"aria-hidden":!0===this.props.isLoading,className:"jetpack-instant-search__search-results"},n.createElement("div",{className:"jetpack-instant-search__search-results-controls",role:"form"},n.createElement(_.A,{"aria-controls":"jetpack-instant-search__search-results-content",className:"jetpack-instant-search__search-results-search-form",isVisible:this.props.isVisible,onChangeSearch:this.props.onChangeSearch,onSelectFilter:this.props.onSelectFilter,searchQuery:this.props.searchQuery,suggestionsEnabled:this.props.suggestionsEnabled,siteId:this.props.siteId}),n.createElement("button",{className:"jetpack-instant-search__overlay-close",onClick:this.closeOverlay,onKeyPress:this.onKeyPressHandler,tabIndex:"0","aria-label":__("Close search results","jetpack-search-pkg")},n.createElement(h.A,{icon:"cross",size:"24","aria-hidden":"true",focusable:"false"}))),n.createElement("div",{"aria-live":"polite",className:"jetpack-instant-search__search-results-content",id:"jetpack-instant-search__search-results-content"},n.createElement("div",{className:"jetpack-instant-search__search-results-primary"},this.renderPrimarySection()),n.createElement("div",{className:["jetpack-instant-search__search-results-secondary",(this.state.shouldShowMobileSecondary?"jetpack-instant-search__search-results-secondary--show-as-modal":"")+" "].join(" ")},this.renderSecondarySection())),n.createElement("button",{id:o.m2,onClick:this.closeOverlay},"Close Search")),this.props.showPoweredBy&&n.createElement(u.A,{locale:this.props.locale}))}}const v=E},1168(e,t,s){s.d(t,{A:()=>i});var r=s(7723),a=s(9362),n=s(3476);s(5965);const __=r.__;class i extends a.Component{handleClick=e=>{this.props.value!==e.currentTarget.value&&(e.preventDefault(),this.props.onChange(e.currentTarget.dataset.value))};handleSelectChange=e=>{this.props.value!==e.currentTarget.value&&(e.preventDefault(),this.props.onChange(e.currentTarget.value))};render(){const e=(0,n.$)(this.props.resultFormat),t=e.size;let s=0;return e.size>3?a.createElement("div",{"aria-controls":"jetpack-instant-search__search-results-content",className:"jetpack-instant-search__search-sort jetpack-instant-search__search-sort-with-select"},a.createElement("label",{htmlFor:"jetpack-instant-search__search-sort-select"},__("Sort:","jetpack-search-pkg")),a.createElement("select",{className:"jetpack-instant-search__search-sort-select",id:"jetpack-instant-search__search-sort-select",onBlur:this.handleSelectChange,onChange:this.handleSelectChange},[...e.entries()].map(([e,t])=>a.createElement("option",{value:e,key:e,selected:this.props.value===e?"selected":""},t)))):a.createElement("div",{"aria-controls":"jetpack-instant-search__search-results-content",className:"jetpack-instant-search__search-sort jetpack-instant-search__search-sort-with-links"},a.createElement("div",{className:"screen-reader-text"},__("Sort by:","jetpack-search-pkg")," "),[...e.entries()].map(([e,r])=>a.createElement(a.Fragment,null,a.createElement("button",{"aria-current":this.props.value===e?"true":"false",className:"jetpack-instant-search__search-sort-option "+(this.props.value===e?"is-selected":""),"data-value":e,key:e,onClick:this.handleClick},r),++s<t?a.createElement("span",{"aLine truncated
// translators: %s: Error code.
__("Jetpack Search is currently unavailable. Please try again later. [%s]","jetpack-search-pkg"),e?.message);case"offline":return __("It looks like you're offline. Please reconnect to load the latest results.","jetpack-search-pkg");default:return(0,r.sprintf)(
// translators: %s: Error code.
__("Jetpack Search has encountered an error. Please contact the site administrator if the issue persists. [%s]","jetpack-search-pkg"),e?.message??"unknown")}}},3089(e,t,s){s.d(t,{PM:()=>i,Xt:()=>n,hM:()=>h,hX:()=>o,i$:()=>l,sm:()=>u,xf:()=>p});s(6241),s(6336),s(2926),s(887),s(3326),s(3893),s(3338),s(5508);var r=s(7479);const a=Object.freeze(["blog_ids","authors","post_types","category","post_format","post_tag","month_post_date","month_post_date_gmt","month_post_modified","month_post_modified_gmt","year_post_date","year_post_date_gmt","year_post_modified","year_post_modified_gmt"]);function n(e=window[r.O5]?.widgets,t=window[r.O5]?.widgetsOutsideOverlay){const s=new Set(a);return[...e??[],...t??[]].map(e=>e.filters).filter(e=>Array.isArray(e)).reduce((e,t)=>e.concat(t),[]).forEach(e=>{"taxonomy"===e.type?s.add(e.taxonomy):"product_attribute"===e.type&&e.attribute&&s.add(e.attribute)}),[...s]}function i(e){return window[r.O5]?.staticFilters?window[r.O5].staticFilters.filter(t=>!e||("sidebar"===e&&!t.variation||!(!e||!t.variation)&&t.variation===e)):[]}function o(){const e=i(),t=new Set;return e.forEach(e=>t.add(e.filter_id)),[...t]}function l(e=window[r.O5]?.widgets){const t=function(e=window[r.O5]?.widgets){return e?.map(c).reduce((e,t)=>e.concat(t),[])??[]}(e);return n().filter(e=>!t.includes(e))}function c(e){return e.filters.map(p).filter(e=>"string"==typeof e)}function p(e){return"date_histogram"===e.type?`${e.interval}_${e.field}`:"taxonomy"===e.type?`${e.taxonomy}`:"post_type"===e.type?"post_types":"author"===e.type?"authors":"blog_id"===e.type?"blog_ids":"product_attribute"===e.type?e.attribute:"group"===e.type?e.filter_id:null}function h(e){return e.includes("month")?{field:e.split("month_").pop(),type:"date_histogram",interval:"month"}:e.includes("year")?{field:e.split("year_").pop(),type:"date_histogram",interval:"year"}:"post_types"===e?{type:"post_type"}:"authors"===e?{type:"author"}:"blog_ids"===e?{type:"blog_id"}:"group"===e?{type:"group"}:e.startsWith("pa_")?{type:"product_attribute",attribute:e}:{type:"taxonomy",taxonomy:e}}function u(e){return"date_histogram"===e.type?"date":"taxonomy"===e.type?"taxonomy":"post_type"===e.type?"postType":"author"===e.type?"author":"blog_id"===e.type?"blogId":"product_attribute"===e.type?"productAttribute":"group"===e.type?"group":void 0}},4809(e,t,s){s.d(t,{g:()=>i});s(6241);var r=s(4936),a=s(9362);function n(e){if(!e)return"";const t=function(e){if(!e)return"";if(e.match(/^https?:\/\//))return e;if(e.startsWith("//"))return`${window.location.protocol}${e}`;try{const t=e.includes("://")?e:`http://${e}`;if(new URL(t).hostname===window.location.hostname)return`${window.location.protocol}//${e}`}catch{return e}return e}(e);return t.split("?",1)[0]}function i(e,t,s,i=!0){const[o,l]=(0,a.useState)(null),c=n(e),p=c?.substring(c.lastIndexOf(".")+1).toLowerCase(),h=["gif","jpg","jpeg","png","webp","heic"].includes(p);return(0,a.useEffect)(()=>{if(i&&h){const a=(0,r.A)(c,{resize:`${t},${s}`});l(a||e)}else l(e)},[e,t,s,i,c,h]),o}},2685(e,t,s){s.d(t,{u:()=>n});s(9060);function r(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")}function a(e){const t=/(\*\*(.+?)\*\*|\*(.+?)\*|\[([^\]]+)\]\(([^)]+)\)|(https?:\/\/[^\s<>"')\]]+))/g,s=[];let n,i=0;for(;null!==(n=t.exec(e));){if(n.index>i&&s.push(r(e.slice(i,n.index))),void 0!==n[2])s.push(`<strong>${a(n[2])}</strong>`);else if(void 0!==n[3])s.push(`<em>${a(n[3])}</em>`);else if(void 0!==n[4]&&void 0!==n[5]){const e=/^https?:\/\//.test(n[5])?r(n[5]):"#";s.push(`<a href="${e}" target="_blank" rel="noopener noreferrer">${r(n[4])}</a>`)}else if(void 0!==n[6]){const e=r(n[6]);s.push(`<a href="${e}" target="_blank" rel="noopener noreferrer">${e}</a>`)}i=n.index+n[0].length}return i<e.length&&s.push(r(e.slice(i))),s.join("")}function n(e){if(!e)return"";let t="";const s=e.split("\n");let r=!1;const n=[],i=()=>{if(n.length>0){const e=n.join(" ").trim();e&&(t+=`<p>${a(e)}</p>`),n.length=0}},o=()=>{r&&(t+="</ul>",r=!1)};for(const e of s){const s=e.match(/^(#{1,6})\s+(.+)$/),l=e.match(/^[-*]\s+(.+)$/);if(s){i(),o();const e=Math.min(s[1].length+1,6);t+=`<h${e}>${a(s[2])}</h${e}>`}else l?(i(),r||(t+="<ul>",r=!0),t+=`<li>${a(l[1])}</li>`):""===e.trim()?(i(),o()):(r&&o(),n.push(e))}return i(),o(),t}},6122(e,t,s){s.d(t,{$Z:()=>o,NY:()=>l,fX:()=>p,lz:()=>c});s(6241);var r=s(7216),a=s(9355),n=s(7479),i=s(3089);function o(e=window.location.search){return(0,a.D)(e.substring(1),!1,!1)}function l(e){window.instantSearchSkipPushState||function(e){if(history.pushState){const t=new window.URL(window.location.href);window[n.O5]&&"homeUrl"in window[n.O5]&&(t.href=window[n.O5].homeUrl),t.search=e,window.history.pushState(null,null,t.toString())}}((0,r.l)(e))}function c(){const e=o();return n.SK.includes(e.result_format)?e.result_format:null}function p(e,t,s=!1){if(history.pushState&&history.replaceState){const a=new URL(e),n=o(a.search),l=[...(0,i.Xt)(),...(0,i.hX)(),"s","sort"],c=Object.keys(n).some(e=Line truncated
@@ -0,0 +1 @@
.jetpack-instant-search__overlay{background:#1d2327b3;bottom:0;box-sizing:border-box;color:#0a112d;font-size:16px;left:0;opacity:1;overflow-x:hidden;overflow-y:auto;position:fixed;right:0;top:0;z-index:9999999999999}body.jps-theme-argent .jetpack-instant-search__overlay *{font-family:Helvetica,sans-serif}@media(max-width:767.98px){.jetpack-instant-search__overlay{padding:3em 1em}}@media(max-width:575.98px){.jetpack-instant-search__overlay{padding:0}}@media(min-width:768px){.jetpack-instant-search__overlay{padding:3em}}.jetpack-instant-search__overlay :is(h1,h2,h3,h4,h5,h6){letter-spacing:inherit}.jetpack-instant-search__overlay.is-hidden{background:#0000;opacity:0;visibility:hidden}.jetpack-instant-search__overlay *,.jetpack-instant-search__overlay :after,.jetpack-instant-search__overlay :before{box-sizing:inherit}@media print{.jetpack-instant-search__overlay.is-hidden{display:none}}@media(prefers-reduced-motion:no-preference){.jetpack-instant-search__overlay{transition:opacity .1s ease-in}}.jp-search-answers-panel{background:#fff;border:1px solid #dcdcde;border-radius:6px;box-shadow:0 1px 4px #00000014;color:#0a112d;margin:0 56px 16px;overflow:hidden}.jp-search-answers-panel--fixed-height{display:flex;flex-direction:column;height:160px}.jp-search-answers-panel--fixed-height .jp-search-answers-panel__content{flex:1;max-height:none;min-height:0;overflow:hidden}.jp-search-answers-panel--fixed-height .jp-search-answers-panel__toggle{flex-shrink:0;margin-top:auto}@media(max-width:991.98px){.jp-search-answers-panel{margin-left:40px;margin-right:40px}}@media(max-width:1199.98px){.jp-search-configure-app-wrapper .jp-search-answers-panel{margin-left:40px;margin-right:40px}}@media(min-width:600px){.jp-search-answers-panel{margin-left:20px;margin-right:20px}}.jp-search-answers-panel__heading{color:#646970;font-size:11px;font-weight:600;letter-spacing:.08em;margin:0;padding:14px 18px 8px;text-transform:uppercase}.jp-search-answers-panel--error{border-color:#facfd2}.jp-search-answers-panel__error{padding:0 18px 14px}.jp-search-answers-panel__error-message{color:#d63638;font-size:13px;margin:0 0 4px}.jp-search-answers-panel__error-detail{color:#646970;font-size:12px;margin:0}.jp-search-answers-panel__loading{align-items:center;color:#646970;display:flex;font-size:13px;gap:8px;padding:0 18px 14px}.jp-search-answers-panel__loading-hint{color:#646970;font-size:13px;font-style:italic;margin:0;padding:0 18px 14px}.jp-search-answers-panel__content{padding:0 18px 14px}.jp-search-answers-panel__content--collapsed{max-height:5em;overflow:hidden;padding-bottom:0;position:relative}.jp-search-answers-panel__content--collapsed:after{background:linear-gradient(#0000,#fff);bottom:0;content:"";height:2.5em;left:0;pointer-events:none;position:absolute;right:0}.jp-search-answers-panel__text{font-size:13px;line-height:1.6}.jp-search-answers-panel__text :is(h2,h3,h4){font-size:1em;font-weight:700;margin:.8em 0 .3em}.jp-search-answers-panel__text p{margin:0 0 .6em}.jp-search-answers-panel__text ul{list-style:disc;margin:0 1.2em .6em 0;padding:0}.jp-search-answers-panel__text li{margin-bottom:.2em}.jp-search-answers-panel__text strong{font-weight:700}.jp-search-answers-panel__text em{font-style:italic}.jp-search-answers-panel__text a{color:#0a112d;text-decoration:underline}.jp-search-answers-panel__toggle{align-items:center;background:none;border:none;border-top:1px solid #f6f7f7;color:#0a112d;cursor:pointer;display:flex;font-size:12px;font-weight:500;gap:6px;justify-content:center;padding:9px 0;width:100%}.jp-search-answers-panel__toggle:hover{background:#f6f7f7}.jp-search-answers-panel__toggle-icon{border-bottom:1.5px solid;border-left:1.5px solid;display:inline-block;height:6px;transform:rotate(-45deg);width:6px}.jp-search-answers-panel__toggle--expanded .jp-search-answers-panel__toggle-icon{margin-top:3px;transform:rotate(135deg)}.jp-search-answers-panel__citations{border-top:1px solid #f6f7f7;display:flex;flex-wrap:wrap;gap:6px 12px;justify-content:flex-end;list-style:none;margin:6px 0 0;padding:10px 0 0}.jp-search-answers-panel__citations li{font-size:12px;line-height:1.5}.jp-search-answers-panel__citations a{align-items:center;color:#0a112d;display:inline-flex;gap:4px;text-decoration:underline}.jp-search-answers-panel__citation-icon{flex-shrink:0}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jp-search-answers-panel{background:#000;border-color:#3c434a;box-shadow:none;color:#fbfcfe}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jp-search-answers-panel--error{border-color:#d63638}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark :is(.jp-search-answers-panel__error-detail,.jp-search-answers-panel__heading,.jp-search-answers-panel__loading,.jp-search-answers-panel__loading-hint){color:#8c8f94}.jetpack-instant-search__overlay.jetpack-instant-search__overlay--dark .jp-search-answers-panel__content--collapsed:after{background:linear-gradient(#0000,#000)}.jetpack-instantLine truncated
@@ -0,0 +1,2 @@
/*! For license information please see jp-search.defaultVendors.js.LICENSE.txt */
(globalThis.webpackChunk_automattic_jetpack_search=globalThis.webpackChunk_automattic_jetpack_search||[]).push([[344],{7675(t,e,r){"use strict";r.d(e,{y:()=>c});var n=r(6416),o=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r};const i="text/event-stream",u="last-event-id";function c(t,e){var{signal:r,headers:c,onopen:a,onmessage:l,onclose:f,onerror:_,openWhenHidden:p,fetch:d}=e,v=o(e,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((e,o)=>{const h=Object.assign({},c);let y;function m(){y.abort(),document.hidden||O()}h.accept||(h.accept=i),p||document.addEventListener("visibilitychange",m);let b=1e3,g=0;function w(){document.removeEventListener("visibilitychange",m),window.clearTimeout(g),y.abort()}null==r||r.addEventListener("abort",()=>{w(),e()});const x=null!=d?d:window.fetch,S=null!=a?a:s;async function O(){var r;y=new AbortController;try{const r=await x(t,Object.assign(Object.assign({},v),{headers:h,signal:y.signal}));await S(r),await(0,n.q5)(r.body,(0,n.iv)((0,n.VL)(t=>{t?h[u]=t:delete h[u]},t=>{b=t},l))),null==f||f(),w(),e()}catch(t){if(!y.signal.aborted)try{const e=null!==(r=null==_?void 0:_(t))&&void 0!==r?r:b;window.clearTimeout(g),g=window.setTimeout(O,e)}catch(t){w(),o(t)}}}O()})}function s(t){const e=t.headers.get("content-type");if(!(null==e?void 0:e.startsWith(i)))throw new Error(`Expected content-type to be ${i}, Actual: ${e}`)}},6416(t,e,r){"use strict";async function n(t,e){const r=t.getReader();let n;for(;!(n=await r.read()).done;)e(n.value)}function o(t){let e,r,n,o=!1;return function(i){void 0===e?(e=i,r=0,n=-1):e=function(t,e){const r=new Uint8Array(t.length+e.length);return r.set(t),r.set(e,t.length),r}(e,i);const u=e.length;let c=0;for(;r<u;){o&&(10===e[r]&&(c=++r),o=!1);let i=-1;for(;r<u&&-1===i;++r)switch(e[r]){case 58:-1===n&&(n=r-c);break;case 13:o=!0;case 10:i=r}if(-1===i)break;t(e.subarray(c,i),n),c=r,n=-1}c===u?e=void 0:0!==c&&(e=e.subarray(c),r-=c)}}function i(t,e,r){let n=u();const o=new TextDecoder;return function(i,c){if(0===i.length)null==r||r(n),n=u();else if(c>0){const r=o.decode(i.subarray(0,c)),u=c+(32===i[c+1]?2:1),s=o.decode(i.subarray(u));switch(r){case"data":n.data=n.data?n.data+"\n"+s:s;break;case"event":n.event=s;break;case"id":t(n.id=s);break;case"retry":const r=parseInt(s,10);isNaN(r)||e(n.retry=r)}}}}function u(){return{data:"",event:"",id:"",retry:void 0}}r.d(e,{VL:()=>i,iv:()=>o,q5:()=>n})},7399(t){!function(){"use strict";var e=[],r=3988292384;function n(t){var e,n,o,i,u=-1;for(e=0,o=t.length;e<o;e+=1){for(i=255&(u^t[e]),n=0;n<8;n+=1)1&~i?i>>>=1:i=i>>>1^r;u=u>>>8^i}return-1^u}function o(t,r){var n,i,u;if(void 0!==o.crc&&r&&t||(o.crc=~0,t)){for(n=o.crc,i=0,u=t.length;i<u;i+=1)n=n>>>8^e[255&(n^t[i])];return o.crc=n,-1^n}}!function(){var t,n,o;for(n=0;n<256;n+=1){for(t=n,o=0;o<8;o+=1)1&t?t=r^t>>>1:t>>>=1;e[n]=t>>>0}}(),t.exports=function(t,e){var r;t="string"==typeof t?(r=t,Array.prototype.map.call(r,function(t){return t.charCodeAt(0)})):t;return((e?n(t):o(t))>>>0).toString(16)},t.exports.direct=n,t.exports.table=o}()},6954(t){function e(t,e=100,r={}){if("function"!=typeof t)throw new TypeError(`Expected the first parameter to be a function, got \`${typeof t}\`.`);if(e<0)throw new RangeError("`wait` must not be negative.");const{immediate:n}="boolean"==typeof r?{immediate:r}:r;let o,i,u,c,s;function a(){const e=o,r=i;return o=void 0,i=void 0,s=t.apply(e,r),s}function l(){const t=Date.now()-c;t<e&&t>=0?u=setTimeout(l,e-t):(u=void 0,n||(s=a()))}const f=function(...t){if(o&&this!==o&&Object.getPrototypeOf(this)===Object.getPrototypeOf(o))throw new Error("Debounced method called with different contexts of the same prototype.");o=this,i=t,c=Date.now();const r=n&&!u;return u||(u=setTimeout(l,e)),r&&(s=a()),s};return Object.defineProperty(f,"isPending",{get:()=>void 0!==u}),f.clear=()=>{u&&(clearTimeout(u),u=void 0)},f.flush=()=>{u&&f.trigger()},f.trigger=()=>{s=a(),f.clear()},f}t.exports.debounce=e,t.exports=e},4224(t){"use strict";t.exports=function(t,e){e||(e={}),"function"==typeof e&&(e={cmp:e});var r,n="boolean"==typeof e.cycles&&e.cycles,o=e.cmp&&(r=e.cmp,function(t){return function(e,n){var o={key:e,value:t[e]},i={key:n,value:t[n]};return r(o,i)}}),i=[];return function t(e){if(e&&e.toJSON&&"function"==typeof e.toJSON&&(e=e.toJSON()),void 0!==e){if("number"==typeof e)return isFinite(e)?""+e:"null";if("object"!=typeof e)return JSON.stringify(e);var r,u;if(Array.isArray(e)){for(u="[",r=0;r<e.length;r++)r&&(u+=","),u+=t(e[r])||"null";return u+"]"}if(null===e)return"null";if(-1!==i.indexOf(e)){if(n)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var c=i.push(e)-1,s=Object.keys(e).sort(Line truncated
@@ -0,0 +1,17 @@
/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v17.0.2
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
@@ -0,0 +1 @@
(()=>{var e,t,r,a={7479(e,t,r){"use strict";r.d(t,{$J:()=>g,$K:()=>o,Az:()=>w,Hs:()=>b,Md:()=>p,O5:()=>n,QB:()=>m,Ri:()=>d,SK:()=>k,UM:()=>h,Wq:()=>v,ZJ:()=>s,m2:()=>l,s6:()=>_,tr:()=>i,w4:()=>c,x6:()=>f,yj:()=>u});var a=r(7723);const __=a.__,o="__NO_GROUP__",n="JetpackInstantSearchOptions",c="jetpack-instant-search__overlay",i="jetpack-instant-search__search-results",s=70,p="jetpack-instant-search__box-input",l="jetpack-instant-search__overlay-focus-anchor",d="ASC",u="expanded",h="minimal",_="product",w=6e4,f="relevance",g=1e3,b=["newest","oldest",f,"price_asc","price_desc","rating_desc"],k=[u,h,_],m=new Map([[f,__("Relevance","jetpack-search-pkg")],["newest",__("Newest","jetpack-search-pkg")],["oldest",__("Oldest","jetpack-search-pkg")]]),v=new Map([["price_asc",__("Price: low to high","jetpack-search-pkg")],["price_desc",__("Price: high to low","jetpack-search-pkg")],["rating_desc",__("Rating","jetpack-search-pkg")]])},1017(e,t,r){"use strict";r.d(t,{Tx:()=>c,UC:()=>i,XH:()=>n});var a=r(7479);const o=new Map([["jetpack_search_color_theme","colorTheme"],["jetpack_search_enable_sort","enableSort"],["jetpack_search_highlight_color","highlightColor"],["jetpack_search_inf_scroll","enableInfScroll"],["jetpack_search_filtering_opens_overlay","enableFilteringOpensOverlay"],["jetpack_search_show_post_date","enablePostDate"],["jetpack_search_show_product_price","enableProductPrice"],["jetpack_search_overlay_trigger","overlayTrigger"],["jetpack_search_show_powered_by","showPoweredBy"],["jetpack_search_result_format","resultFormat"]]);function n(){return"function"==typeof window?.wp?.customize}function c(e){n()&&window.addEventListener("message",t=>{t.data&&t.target===window&&"jetpackSearchSectionOpen"===t.data?.key&&"expanded"in t.data&&e(t.data.expanded)})}function i(e){n()&&o.forEach((t,r)=>{window.wp.customize(r,r=>{r.bind(function(r){const o={[t]:r};window[a.O5].showResults=!0,window[a.O5].overlayOptions={...window[a.O5].overlayOptions,...o},e&&e(o)})})})}},7778(e,t,r){r.p=window.JetpackInstantSearchOptions.webpackPublicPath},7723(e){"use strict";e.exports=window.wp.i18n},4252(e){"use strict";e.exports=window.wp.jpI18nLoader},3832(e){"use strict";e.exports=window.wp.url}},o={};function n(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}};return a[e].call(r.exports,r,r.exports,n),r.exports}n.m=a,n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce((t,r)=>(n.f[r](e,t),t),[])),n.u=e=>({106:"jp-search.chunk-main-payload",344:"jp-search.defaultVendors"}[e]+".js?minify=false&ver="+{106:"1f6e53a75a2ffe172feb",344:"2076f9064278e474804e"}[e]),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="@automattic/jetpack-search:",n.l=(r,a,o,c)=>{if(e[r])e[r].push(a);else{var i,s;if(void 0!==o)for(var p=document.getElementsByTagName("script"),l=0;l<p.length;l++){var d=p[l];if(d.getAttribute("src")==r||d.getAttribute("data-webpack")==t+o){i=d;break}}i||(s=!0,(i=document.createElement("script")).charset="utf-8",n.nc&&i.setAttribute("nonce",n.nc),i.setAttribute("data-webpack",t+o),i.src=r),e[r]=[a];var u=(t,a)=>{i.onerror=i.onload=null,clearTimeout(h);var o=e[r];if(delete e[r],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(e=>e(a)),t)return t(a)},h=setTimeout(u.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=u.bind(null,i.onerror),i.onload=u.bind(null,i.onload),s&&document.head.appendChild(i)}},r={106:0},n.f.wpI18n=(e,t)=>{r[e]?t.push(r[e]):0===r[e]&&t.push(r[e]=(e=>{var t=n(4252);return t&&t.downloadI18n?t.downloadI18n("build/instant-search/"+n.u(e),"jetpack-search-pkg","plugin"):Promise.reject(new Error("I18n loader is not available. Check that WordPress is exporting wp.jpI18nLoader."))})(e).then(()=>{r[e]=!1},t=>{r[e]=0,console.error("Failed to fetch i18n data: ",t)}))},n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.dn=e=>{(Object.getOwnPropertyDescriptor(e,"name")||{}).writable||Object.defineProperty(e,"name",{value:"default",configurable:!0})},(()=>{var e;globalThis.importScripts&&(e=globalThis.location+"");var t=globalThis.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var a=r.length-1;a>-1&&(!e||!/^http(s?):/.test(e));)e=r[a--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})(),(()=>{var e={498:0};n.f.j=(t,r)=>{var a=n.o(e,t)?e[t]:void 0;if(0!==a)if(a)r.push(a[2]);else{var o=new Promise((r,o)=>a=e[t]=[r,o]);r.push(a[2]=o);var c=n.p+n.u(t),i=new Error;n.l(c,r=>{if(n.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var o=r&&("load"===r.type?"missing"Line truncated
@@ -0,0 +1 @@
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-primitives'), 'version' => 'e9682238c0cb75500855');
@@ -0,0 +1,6 @@
(()=>{"use strict";var e={7142(e,t,a){a.d(t,{A:()=>c});var r=a(7723),s=a(3022),n=a(790);const __=r.__,c=({logoColor:e="#069e08",showText:t=!0,className:a,height:r=32,title:c,...o})=>{const l=t?"0 0 118 32":"0 0 32 32",i=c??__("Jetpack Logo","jetpack-search-pkg");return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:l,className:(0,s.A)("jetpack-logo",a),"aria-labelledby":"jetpack-logo-title",height:r,...o,role:"img",children:[(0,n.jsx)("title",{id:"jetpack-logo-title",children:i}),(0,n.jsx)("path",{fill:e,d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z M15,19H7l8-16V19z M17,29V13h8L17,29z"}),t&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("path",{d:"M41.3,26.6c-0.5-0.7-0.9-1.4-1.3-2.1c2.3-1.4,3-2.5,3-4.6V8h-3V6h6v13.4C46,22.8,45,24.8,41.3,26.6z"}),(0,n.jsx)("path",{d:"M65,18.4c0,1.1,0.8,1.3,1.4,1.3c0.5,0,2-0.2,2.6-0.4v2.1c-0.9,0.3-2.5,0.5-3.7,0.5c-1.5,0-3.2-0.5-3.2-3.1V12H60v-2h2.1V7.1 H65V10h4v2h-4V18.4z"}),(0,n.jsx)("path",{d:"M71,10h3v1.3c1.1-0.8,1.9-1.3,3.3-1.3c2.5,0,4.5,1.8,4.5,5.6s-2.2,6.3-5.8,6.3c-0.9,0-1.3-0.1-2-0.3V28h-3V10z M76.5,12.3 c-0.8,0-1.6,0.4-2.5,1.2v5.9c0.6,0.1,0.9,0.2,1.8,0.2c2,0,3.2-1.3,3.2-3.9C79,13.4,78.1,12.3,76.5,12.3z"}),(0,n.jsx)("path",{d:"M93,22h-3v-1.5c-0.9,0.7-1.9,1.5-3.5,1.5c-1.5,0-3.1-1.1-3.1-3.2c0-2.9,2.5-3.4,4.2-3.7l2.4-0.3v-0.3c0-1.5-0.5-2.3-2-2.3 c-0.7,0-2.3,0.5-3.7,1.1L84,11c1.2-0.4,3-1,4.4-1c2.7,0,4.6,1.4,4.6,4.7L93,22z M90,16.4l-2.2,0.4c-0.7,0.1-1.4,0.5-1.4,1.6 c0,0.9,0.5,1.4,1.3,1.4s1.5-0.5,2.3-1V16.4z"}),(0,n.jsx)("path",{d:"M104.5,21.3c-1.1,0.4-2.2,0.6-3.5,0.6c-4.2,0-5.9-2.4-5.9-5.9c0-3.7,2.3-6,6.1-6c1.4,0,2.3,0.2,3.2,0.5V13 c-0.8-0.3-2-0.6-3.2-0.6c-1.7,0-3.2,0.9-3.2,3.6c0,2.9,1.5,3.8,3.3,3.8c0.9,0,1.9-0.2,3.2-0.7V21.3z"}),(0,n.jsx)("path",{d:"M110,15.2c0.2-0.3,0.2-0.8,3.8-5.2h3.7l-4.6,5.7l5,6.3h-3.7l-4.2-5.8V22h-3V6h3V15.2z"}),(0,n.jsx)("path",{d:"M58.5,21.3c-1.5,0.5-2.7,0.6-4.2,0.6c-3.6,0-5.8-1.8-5.8-6c0-3.1,1.9-5.9,5.5-5.9s4.9,2.5,4.9,4.9c0,0.8,0,1.5-0.1,2h-7.3 c0.1,2.5,1.5,2.8,3.6,2.8c1.1,0,2.2-0.3,3.4-0.7C58.5,19,58.5,21.3,58.5,21.3z M56,15c0-1.4-0.5-2.9-2-2.9c-1.4,0-2.3,1.3-2.4,2.9 C51.6,15,56,15,56,15z"})]})]})}},2807(e,t,a){a.d(t,{A:()=>c});var r=a(4715),s=a(7723),n=a(790);const __=s.__;function c(){const e=(0,r.useBlockProps)();return(0,n.jsxs)("div",{...e,children:[(0,n.jsx)("span",{className:"jetpack-search-active-filters__heading",children:__("Active filters:","jetpack-search-pkg")}),(0,n.jsx)("ul",{className:"jetpack-search-active-filters__pills",children:(0,n.jsx)("li",{children:(0,n.jsxs)("button",{type:"button",className:"wp-element-button jetpack-search-active-filters__pill",disabled:!0,children:[(0,n.jsx)("span",{className:"jetpack-search-active-filters__pill-label",children:__("Example filter","jetpack-search-pkg")}),(0,n.jsx)("span",{className:"jetpack-search-active-filters__pill-remove","aria-hidden":"true",children:"×"})]})})})]})}},88(e,t,a){a.d(t,{A:()=>l});var r=a(4715),s=a(6427),n=a(7723),c=a(790);const __=n.__,o=[{title:"Getting started with WordPress",url:"https://example.com/getting-started"},{title:"Customizing your theme",url:"https://example.com/customizing"}];function l({attributes:e,setAttributes:t}){const a=(0,r.useBlockProps)();if("undefined"!=typeof window&&window.JetpackSearchBlocksConfig&&!1===window.JetpackSearchBlocksConfig.supportsPaidSearch)return(0,c.jsx)("div",{...a,children:(0,c.jsx)(s.Placeholder,{label:__("AI Answer","jetpack-search-pkg"),instructions:__("AI Answer is part of the paid Jetpack Search plan. Upgrade to enable AI-generated answers with citations on your search results.","jetpack-search-pkg"),children:(0,c.jsx)(s.Button,{variant:"primary",href:"https://jetpack.com/upgrade/search/?utm_source=ai-answer-block",target:"_blank",rel:"noopener noreferrer",children:__("Upgrade Jetpack Search","jetpack-search-pkg")})})});const n=e?.heading?.trim()||__("AI answer","jetpack-search-pkg"),l=!1!==e?.showCitations,i=!1!==e?.enableShowMore;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(r.InspectorControls,{children:(0,c.jsxs)(s.PanelBody,{title:__("Settings","jetpack-search-pkg"),children:[(0,c.jsx)(s.TextControl,{__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,label:__("Heading","jetpack-search-pkg"),value:e?.heading||"",placeholder:__("AI answer","jetpack-search-pkg"),onChange:e=>t({heading:e}),help:__("Label shown above the answer. Leave empty for the default.","jetpack-search-pkg")}),(0,c.jsx)(s.ToggleControl,{__nextHasNoMarginBottom:!0,label:__("Show citations","jetpack-search-pkg"),checked:l,onChange:e=>t({showCitations:e}),help:__("Display the sources used by the AI under the answer.","jetpack-search-pkg")}),(0,c.jsx)(s.ToggleControl,{__nextHasNoMarginBottom:!0,label:__('Allow "Show more" for a longer answer',"jetpack-search-pkg"),checked:i,onChange:e=>t({enableShowMore:e}),help:__("After the brief answer arrives, offer a button that loads a longer, more detailed response.","jetpack-search-pkg")})]})}),(0,c.jsxs)("div",{...a,children:[(0,c.jsx)("h2",{className:"jp-Line truncated
__("%s (mapped)","jetpack-search-pkg"),a):a;return{value:e.slug,label:r}})},[A]),B=S&&null===A,z=S&&Array.isArray(M)&&0===M.length,P=e?.label||"",T=_(e)||__("Filter","jetpack-search-pkg"),H=P||T,V=!1!==e?.showCount,O=Math.max(1,Number.isFinite(e?.maxItems)?e.maxItems:10),I="alpha"===e?.bucketSortOrder?"alpha":"count",L=p(e?.queryType),D="taxonomy"===e?.filterType,F=(0,c.useRef)(null),R=(0,c.useRef)({isCustomTaxonomy:S,taxonomy:C,rawLabel:P});(0,c.useEffect)(()=>{const e=R.current;if(e.isCustomTaxonomy===S&&e.taxonomy===C||(F.current=null),S&&e.isCustomTaxonomy&&e.taxonomy===C&&e.rawLabel&&!P&&(F.current=C),R.current={isCustomTaxonomy:S,taxonomy:C,rawLabel:P},!S)return;if(!Array.isArray(A)||!C)return;if(P)return;if(F.current===C)return;const a=A.find(e=>e?.slug===C);a?.name&&t({label:a.name})},[S,A,C,P,t]);const Z=S?__("A label is required so visitors see a heading above this filter.","jetpack-search-pkg"):__("Leave empty to use the variation's default label (e.g. Category, Tag).","jetpack-search-pkg",0);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.InspectorControls,{children:(0,i.jsxs)(s.PanelBody,{title:__("Settings","jetpack-search-pkg"),children:[(0,i.jsx)(s.SelectControl,{__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,label:__("Filter type","jetpack-search-pkg"),value:w,options:b(),onChange:a=>{const r=function(e,t){switch(e){case d:return{filterType:"taxonomy",taxonomy:"category"};case g:return{filterType:"taxonomy",taxonomy:"post_tag"};case j:return{filterType:"taxonomy",taxonomy:"product_cat"};case m:return{filterType:"taxonomy",taxonomy:"product_tag"};case f:return{filterType:"taxonomy",taxonomy:"product_brand"};case k:return{filterType:"post_type",taxonomy:t||"",queryType:"or"};case x:return{filterType:"author",taxonomy:t||"",queryType:"or"};default:return{filterType:"taxonomy",taxonomy:u.includes(t)?"":t}}}(a,C),s=_(e);P&&s&&P===s&&(r.label=""),t(r)},help:__("What this filter groups results by. Switch without deleting the block.","jetpack-search-pkg")}),S&&(0,i.jsx)(s.SelectControl,{__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,label:__("Taxonomy","jetpack-search-pkg"),value:C,disabled:z,options:[{value:"",label:B?__("Loading taxonomies…","jetpack-search-pkg"):__("Select a taxonomy","jetpack-search-pkg",0),disabled:!0},...M||[]],onChange:e=>t({taxonomy:e}),help:z?__("Jetpack Search doesn't index any custom taxonomies on this site. Map one to a reserved jetpack-search-tagN slot via the jetpack_search_custom_taxonomy_map filter, or add it to Jetpack Search's allowlist, and it will appear here.","jetpack-search-pkg"):__('Pick which registered taxonomy this filter targets. Only taxonomies that Jetpack Search indexes (natively or via a jetpack-search-tagN slot mapping) appear here; "(mapped)" flags a slot-routed entry.',"jetpack-search-pkg",0)}),(0,i.jsx)(s.TextControl,{__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,label:__("Label","jetpack-search-pkg"),value:P,placeholder:T,onChange:e=>t({label:e}),help:Z}),(0,i.jsx)(s.ToggleControl,{__nextHasNoMarginBottom:!0,label:__("Show result counts","jetpack-search-pkg"),checked:V,onChange:e=>t({showCount:!!e})}),(0,i.jsxs)(s.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,isBlock:!0,label:__("Display style","jetpack-search-pkg"),value:a,onChange:e=>t({displayStyle:(0,l.D)(e)}),children:[(0,i.jsx)(s.__experimentalToggleGroupControlOption,{value:"checkbox-list",label:__("Checkbox list","jetpack-search-pkg")}),(0,i.jsx)(s.__experimentalToggleGroupControlOption,{value:"chips",label:__("Chips","jetpack-search-pkg")})]}),(0,i.jsx)(s.RangeControl,{__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,label:__("Maximum items","jetpack-search-pkg"),value:O,min:1,max:50,onChange:e=>t({maxItems:Math.max(1,e||1)})}),(0,i.jsx)(s.SelectControl,{__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,label:__("Sort order","jetpack-search-pkg"),value:I,options:[{value:"count",label:__("Most results first","jetpack-search-pkg")},{value:"alpha",label:__("Alphabetical","jetpack-search-pkg")}],onChange:e=>t({bucketSortOrder:"alpha"===e?"alpha":"count"})}),D&&(0,i.jsxs)(s.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,isBlock:!0,label:__("Logic","jetpack-search-pkg"),value:L,onChange:e=>t({queryType:p(e)}),help:"and"===L?__("Show posts that match all selected options.","jetpack-search-pkg"):__("Show posts that match any of the selected options.","jetpack-search-pkg",0),children:[(0,i.jsx)(s.__experimentalToggleGroupControlOption,{value:"or",label:__("Any","jetpack-search-pkg")}),(0,i.jsx)(s.__experimentalToggleGroupControlOption,{value:"and",label:__("All","jetpack-search-pkg")})]})]})}),(0,i.jsx)("div",{...y,children:N?(0,i.jsx)(s.Placeholder,{icon:"filter",label:__("Custom Taxonomy Filter","jetpack-search-pkg"),instructions:__("Choose a taxonomy in the block settings to enable this filter. Until a taxonomy is set, this block renders nothing on the front end.","jetpack-search-pkg")}):Line truncated
_n("%d star and up","%d stars and up",e,"jetpack-search-pkg"),e),j=o.filter(e=>k.has(e));return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(r.InspectorControls,{children:(0,c.jsxs)(s.PanelBody,{title:__("Settings","jetpack-search-pkg"),children:[(0,c.jsx)(s.TextControl,{__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,label:__("Label","jetpack-search-pkg"),value:h,placeholder:i,onChange:e=>t({label:e}),help:__("Heading shown above the star rows. Leave empty for the default.","jetpack-search-pkg")}),(0,c.jsx)(s.ToggleControl,{__nextHasNoMarginBottom:!0,label:__("Show result counts","jetpack-search-pkg"),checked:d,onChange:e=>t({showCount:!!e})}),(0,c.jsx)(s.BaseControl,{__nextHasNoMarginBottom:!0,id:"filter-wc-rating-enabled-stars",label:__("Visible rows","jetpack-search-pkg"),help:__("Hide rows you don’t want shoppers to pick. At least one row must stay visible.","jetpack-search-pkg"),children:o.map(e=>(0,c.jsx)(s.CheckboxControl,{__nextHasNoMarginBottom:!0,label:x(e),checked:k.has(e),onChange:a=>((e,a)=>{const r=new Set(k);if(a)r.add(e);else{if(r.size<=1)return;r.delete(e)}t({enabledStars:[...r].sort((e,t)=>t-e)})})(e,a)},e))})]})}),(0,c.jsxs)("div",{...a,children:[(0,c.jsx)("h3",{className:"jetpack-search-filter__title",children:u}),(0,c.jsx)("ul",{className:"jetpack-search-filter__list",children:j.map(e=>{const t=5===e,a=x(e);return(0,c.jsx)("li",{className:"jetpack-search-filter__item",children:(0,c.jsxs)("label",{children:[(0,c.jsx)("input",{type:"checkbox",disabled:!0}),(0,c.jsxs)("span",{className:"jetpack-search-filter__label","aria-label":a,children:[(0,c.jsx)("span",{className:"jetpack-search-filter-rating__stars","aria-hidden":"true",children:p(e)}),!t&&(0,c.jsx)("span",{className:"jetpack-search-filter-rating__threshold-suffix","aria-hidden":"true",children:_x("& up",'rating filter row, e.g. "★★★★ & up"',"jetpack-search-pkg")})]}),d&&(0,c.jsx)("span",{className:"jetpack-search-filter__count",children:String(l[e])})]})},e)})})]})]})}},304(e,t,a){a.d(t,{A:()=>i});var r=a(4715),s=a(6427),n=a(7723),c=a(790);const __=n.__,o=[{value:"instock",label:__("In stock","jetpack-search-pkg"),count:24}],l=__("Stock status","jetpack-search-pkg");function i({attributes:e,setAttributes:t}){const a=(0,r.useBlockProps)({className:"jetpack-search-filter-wc-stock-status"}),n=e?.label||"",i=n||l,p=!1!==e?.showCount;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(r.InspectorControls,{children:(0,c.jsxs)(s.PanelBody,{title:__("Settings","jetpack-search-pkg"),children:[(0,c.jsx)(s.TextControl,{__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,label:__("Label","jetpack-search-pkg"),value:n,placeholder:l,onChange:e=>t({label:e}),help:__("Heading shown above the options. Leave empty for the default.","jetpack-search-pkg")}),(0,c.jsx)(s.ToggleControl,{__nextHasNoMarginBottom:!0,label:__("Show result counts","jetpack-search-pkg"),checked:p,onChange:e=>t({showCount:!!e})})]})}),(0,c.jsxs)("div",{...a,children:[(0,c.jsx)("h3",{className:"jetpack-search-filter__title",children:i}),(0,c.jsx)("ul",{className:"jetpack-search-filter__list",children:o.map(e=>(0,c.jsx)("li",{className:"jetpack-search-filter__item",children:(0,c.jsxs)("label",{children:[(0,c.jsx)("input",{type:"checkbox",disabled:!0}),(0,c.jsx)("span",{className:"jetpack-search-filter__label",children:e.label}),p&&(0,c.jsx)("span",{className:"jetpack-search-filter__count",children:String(e.count)})]})},e.value))})]})]})}},4864(e,t,a){a.d(t,{A:()=>h,U:()=>u});var r=a(4715),s=a(6427),n=a(6087),c=a(7723),o=a(9949),l=a(790);const __=c.__,i=[["jetpack-search/active-filters"],["jetpack-search/filter-checkbox",{filterType:"taxonomy",taxonomy:"category"}],["jetpack-search/filter-checkbox",{filterType:"taxonomy",taxonomy:"post_tag"}],["jetpack-search/filter-checkbox",{filterType:"post_type"}]],p=["jetpack-search/filter-checkbox","jetpack-search/active-filters","jetpack-search/clear-filters"];function h(){const[e,t]=(0,n.useState)(!1);let a=__("Show filter panel","jetpack-search-pkg");e&&(a=__("Hide filter panel","jetpack-search-pkg"));const c=(0,r.useBlockProps)({className:["jetpack-search-filters-popover","is-editor-preview",e&&"is-popover-open"].filter(Boolean).join(" ")});return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r.BlockControls,{children:(0,l.jsx)(s.ToolbarGroup,{children:(0,l.jsx)(s.ToolbarButton,{icon:o.A,label:a,isPressed:e,onClick:()=>t(e=>!e)})})}),(0,l.jsxs)("div",{...c,children:[(0,l.jsxs)("button",{type:"button",className:"jetpack-search-filters-popover__trigger","aria-expanded":"false",disabled:!0,children:[(0,l.jsx)("svg",{className:"jetpack-search-filters-popover__icon",width:18,height:18,viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false",children:(0,l.jsx)("path",{fill:"currentColor",d:"M3 6h18v2H3V6Zm3 5h12v2H6v-2Zm3 5h6v2H9v-2Z"})}),(0,l.jsx)("span",{className:"screen-reader-text",children:__("Filter results","jetpack-search-pkg")})]}),(0,l.jsx)("div",{className:"jetpack-search-filters-popover__panel",role:"region","aria-label":__Line truncated
__("Include only: %s","jetpack-search-pkg"),a):"exclude"===r?(0,c.sprintf)(/* translators: %s — comma-separated post-type slugs. */
__("Exclude: %s","jetpack-search-pkg"),a):__("All post types","jetpack-search-pkg")}function g({attributes:e,setAttributes:t,clientId:a}){const{parentScopeBlockId:g,parentScopeAttributes:x}=(0,n.useSelect)(e=>{const t=e("core/block-editor"),r=t.getBlockParentsByBlockName(a,"jetpack-search/search-results",!0)[0];return r?{parentScopeBlockId:r,parentScopeAttributes:t.getBlockAttributes(r)}:{parentScopeBlockId:null,parentScopeAttributes:null}},[a]),{selectBlock:j}=(0,n.useDispatch)("core/block-editor"),m=e?.layout??i,f="card"===m?"expanded":m,v=(l()?["compact","expanded","product"]:["compact","expanded"]).includes(f)?f:i,b=(0,r.useBlockProps)({className:`jetpack-search-results--${v}`}),_=__("No results found. Try a different search.","jetpack-search-pkg"),y=__("No results match these filters. Try clearing some, or searching for something else.","jetpack-search-pkg"),w=__("Something went wrong. Please try again.","jetpack-search-pkg");return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(r.InspectorControls,{children:[(0,o.jsxs)(s.PanelBody,{title:__("Settings","jetpack-search-pkg"),children:[(0,o.jsx)(s.RadioControl,{label:__("Result format","jetpack-search-pkg"),selected:v,options:u(),onChange:e=>t({layout:e})}),(0,o.jsx)(s.TextControl,{__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,label:__("No-results message","jetpack-search-pkg"),value:e?.noResultsMessage||"",placeholder:_,onChange:e=>t({noResultsMessage:e}),help:__("Shown when a search returns nothing. Leave empty for the default.","jetpack-search-pkg")}),(0,o.jsx)(s.TextControl,{__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,label:__("No-results message (when filters are active)","jetpack-search-pkg"),value:e?.noResultsWithFiltersMessage||"",placeholder:y,onChange:e=>t({noResultsWithFiltersMessage:e}),help:__("Shown when active filters return zero results. Leave empty for the default.","jetpack-search-pkg")}),(0,o.jsx)(s.TextControl,{__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,label:__("Error message","jetpack-search-pkg"),value:e?.errorMessage||"",placeholder:w,onChange:e=>t({errorMessage:e}),help:__("Shown when a search request fails. Leave empty for the default.","jetpack-search-pkg")})]}),g&&(0,o.jsxs)(s.PanelBody,{title:__("Search scope","jetpack-search-pkg"),initialOpen:!1,children:[(0,o.jsx)("p",{style:{marginTop:0,marginBottom:"8px",fontSize:"12px",color:"rgba(30, 30, 30, 0.62)"},children:__("Configured on the parent Search Results block — the block that frames this search experience owns its post-type scope.","jetpack-search-pkg")}),(0,o.jsx)("p",{style:{marginTop:0,marginBottom:"12px",fontSize:"13px",fontWeight:500},children:d(x)}),(0,o.jsx)(s.Button,{__next40pxDefaultSize:!0,variant:"secondary",onClick:()=>j(g),children:__("Edit on Search Results","jetpack-search-pkg")})]})]}),(0,o.jsxs)("div",{...b,children:["compact"===v&&(C=p,(0,o.jsx)("ul",{className:"jetpack-search-results__list",children:C.map(e=>(0,o.jsx)("li",{className:"jetpack-search-results__item",children:(0,o.jsxs)("div",{className:"jetpack-search-results__copy",children:[(0,o.jsx)("h3",{className:"jetpack-search-results__title",children:e.title}),(0,o.jsx)("div",{className:"jetpack-search-results__meta",children:(0,o.jsx)("span",{className:"jetpack-search-results__date",children:e.date})})]})},e.path))})),"expanded"===v&&k(p),"product"===v&&(S=h,(0,o.jsx)("ul",{className:"jetpack-search-results__list",children:S.map(e=>(0,o.jsxs)("li",{className:"jetpack-search-results__item",children:[(0,o.jsx)("a",{className:"jetpack-search-results__product-image-link",tabIndex:-1,"aria-hidden":"true",children:(0,o.jsx)("span",{className:"jetpack-search-results__product-image-placeholder"})}),(0,o.jsxs)("div",{className:"jetpack-search-results__copy",children:[(0,o.jsx)("h3",{className:"jetpack-search-results__title",children:e.title}),(0,o.jsx)("div",{className:"jetpack-search-results__price",children:e.hasSalePrice?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("del",{className:"jetpack-search-results__price-regular",children:e.formattedRegularPrice})," ",(0,o.jsx)("ins",{className:"jetpack-search-results__price-sale",children:e.formattedSalePrice})]}):(0,o.jsx)("span",{className:"jetpack-search-results__price-current",children:e.formattedPrice})}),(0,o.jsxs)("div",{className:"jetpack-search-results__rating",role:"img","aria-label":(0,c.sprintf)(/* translators: %1$s: average product rating; %2$d: number of reviews. */
_n("%1$s out of 5 stars based on %2$d review","%1$s out of 5 stars based on %2$d reviews",e.reviewCount,"jetpack-search-pkg"),e.rating,e.reviewCount),children:[(0,o.jsx)("span",{className:"jetpack-search-results__rating-stars","aria-hidden":"true",children:(0,o.jsx)("span",{className:"jetpack-search-results__rating-fill",style:{width:e.ratingPercent}})}),(0,o.jsxs)("span",{className:"jetpack-search-results__rating-count","aria-hidden":"true",children:["(",e.reviewCount,")"]})]}),e.matchHint&&(0,o.jsx)("div",{className:"jetpack-search-results__match-hint",children:(0,o.jsx)("mark",{children:"comments"===e.matchHint?__("Matches comments","jetpack-search-pkg"):__("Matches content","jetpack-search-pkg")})})]})]},e.title))}))]})]});var S,C}function k(e){return(0,o.jsx)("ul",{className:"jetpack-search-results__list",children:e.map(e=>(0,o.jsxs)("li",{className:"jetpack-search-results__item",children:[(0,o.jsxs)("div",{className:"jetpack-search-results__copy",children:[(0,o.jsx)("h3",{className:"jetpack-search-results__title",children:e.title}),e.contentSnippet&&(0,o.jsx)("div",{className:"jetpack-search-results__content",children:e.contentSnippet}),(0,o.jsx)("div",{className:"jetpack-search-results__path",children:e.path}),(0,o.jsxs)("div",{className:"jetpack-search-results__meta",children:[e.author&&(0,o.jsx)("span",{className:"jetpack-search-results__author",children:e.author}),e.author&&e.date&&(0,o.jsx)("span",{className:"jetpack-search-results__meta-separator","aria-hidden":"true",children:"·"}),e.date&&(0,o.jsx)("span",{className:"jetpack-search-results__date",children:e.date})]})]}),e.hasImage&&(0,o.jsx)("a",{className:"jetpack-search-results__image-link",tabIndex:-1,"aria-hidden":"true"})]},e.path))})}},3266(e,t,a){a.d(t,{A:()=>o});var r=a(4715),s=a(6427),n=a(7723),c=a(790);const __=n.__;function o({attributes:e,setAttributes:t}){const a=(0,r.useBlockProps)(),n=__("Load more results","jetpack-search-pkg"),o=(e?.buttonLabel||"").trim()||n,l=!!e?.loadOnScroll,i=Number.isFinite(e?.loadOnScrollOffset)?e.loadOnScrollOffset:200;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(r.InspectorControls,{children:(0,c.jsxs)(s.PanelBody,{title:__("Settings","jetpack-search-pkg"),children:[(0,c.jsx)(s.ToggleControl,{__nextHasNoMarginBottom:!0,label:__("Load on scroll","jetpack-search-pkg"),help:__("Automatically load more results as the visitor scrolls toward the end of the list.","jetpack-search-pkg"),checked:l,onChange:e=>t({loadOnScroll:e})}),l&&(0,c.jsx)(s.RangeControl,{__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,label:__("Load distance","jetpack-search-pkg"),help:__("Pixels before the bottom of the list at which the next page starts loading.","jetpack-search-pkg"),value:i,min:0,max:2e3,step:50,onChange:e=>t({loadOnScrollOffset:Number.isFinite(e)?e:200})}),!l&&(0,c.jsx)(s.TextControl,{__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,label:__("Button label","jetpack-search-pkg"),value:e?.buttonLabel||"",placeholder:n,onChange:e=>t({buttonLabel:e}),help:__("Leave empty to use the default translated label.","jetpack-search-pkg")})]})}),(0,c.jsx)("div",{...a,children:l?(0,c.jsx)("span",{className:"jetpack-search-load-more__spinner",children:__("Loading…","jetpack-search-pkg")}):(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("button",{type:"button",className:"jetpack-search-load-more__button wp-block-button__link wp-element-button",disabled:!0,children:o}),(0,c.jsx)("span",{className:"jetpack-search-load-more__spinner",hidden:!0,children:__("Loading…","jetpack-search-pkg")})]})})]})}},9760(e,t,a){a.d(t,{A:()=>h});a(6241);var r=a(4715),s=a(6427),n=a(6087),c=a(7723),o=a(790);const __=c.__,l=["relevance","newest","oldest"],i=["rating_desc","price_asc","price_desc"];function p(){return Boolean(globalThis?.JetpackSearchBlocksConfig?.isWooCommerceBlocksEnabled)?[...l,...i]:l}function h({attributes:e,setAttributes:t}){const a=(0,n.useId)(),c=p(),l={relevance:__("Relevance","jetpack-search-pkg"),newest:__("Newest","jetpack-search-pkg"),oldest:__("Oldest","jetpack-search-pkg"),rating_desc:__("Rating","jetpack-search-pkg"),price_asc:__("Price: low to high","jetpack-search-pkg"),price_desc:__("Price: high to low","jetpack-search-pkg")},i=c.includes(e?.defaultSort)?e.defaultSort:"relevance";let h="select";["radio","popover"].includes(e?.displayAs)?h=e.displayAs:"popover"===e?.display&&(h="popover");const u=(0,r.useBlockProps)({className:"popover"===h?"jetpack-search-results-sort--popover":void 0}),d=Array.isArray(e?.availableSortOptions)?e.availableSortOptions:c,g=function(e,t){if(!Array.isArray(e))return t;const a=t.filter(t=>e.includes(t));return 0===a.length?t:a}(d,c),k=(e?.label||"").trim()||__("Sort by","jetpack-search-pkg"),x=g.includes(i)?i:g[0],j=(0,o.jsxs)(r.InspectorControls,{children:[(0,o.jsxs)(s.PanelBody,{title:__("Sort Settings","jetpack-search-pkg"),children:[(0,o.jsx)(s.TextControl,{__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,label:__("Label","jetpack-search-pkg"),value:e?.label||"",placeholder:_Line truncated
@@ -0,0 +1 @@
import*as e from"@wordpress/interactivity";export const __webpack_esm_id__=833;export const __webpack_esm_ids__=[833];export const __webpack_esm_modules__={2833(_,r,s){_.exports=(e=>{var _={};return s.d(_,e),_})({privateApis:()=>e.privateApis,store:()=>e.store})}};
@@ -0,0 +1 @@
<?php return array('dependencies' => array('@wordpress/interactivity', 'jetpack-search/store'), 'version' => 'f81723ad8aa52191af62', 'type' => 'module');
@@ -0,0 +1 @@
.wp-block-jetpack-search-active-filters{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem}.wp-block-jetpack-search-active-filters[hidden]{display:none}.wp-block-jetpack-search-active-filters .jetpack-search-active-filters__heading{color:inherit;font-size:.8rem;font-weight:600;opacity:.8}.wp-block-jetpack-search-active-filters .jetpack-search-active-filters__pills{display:flex;flex-wrap:wrap;gap:.25rem;list-style:none;margin:0;padding:0}.wp-block-jetpack-search-active-filters .jetpack-search-active-filters__pill{align-items:center;background:#0000;border:1px solid;border-radius:12px;color:inherit;cursor:pointer;display:inline-flex;font:inherit;font-size:.8rem;gap:.25rem;letter-spacing:normal;line-height:1.2;padding:.2rem .6rem;text-transform:none;transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease}@supports(border-color:color-mix(in sRGB,black 50%,white)){.wp-block-jetpack-search-active-filters .jetpack-search-active-filters__pill{background:color-mix(in sRGB,currentColor 14%,#0000);border-color:color-mix(in sRGB,currentColor 38%,#0000)}}.wp-block-jetpack-search-active-filters :is(.jetpack-search-active-filters__pill:focus-visible,.jetpack-search-active-filters__pill:hover){background:#0000;border-color:currentColor}@supports(background:color-mix(in sRGB,black 50%,white)){.wp-block-jetpack-search-active-filters :is(.jetpack-search-active-filters__pill:focus-visible,.jetpack-search-active-filters__pill:hover){background:color-mix(in sRGB,currentColor 24%,#0000);border-color:color-mix(in sRGB,currentColor 52%,#0000)}}.wp-block-jetpack-search-active-filters .jetpack-search-active-filters__pill:focus-visible{box-shadow:0 0 0 2px currentColor;outline:none}@supports(box-shadow:0 0 0 2px color-mix(in sRGB,black 50%,white)){.wp-block-jetpack-search-active-filters .jetpack-search-active-filters__pill:focus-visible{box-shadow:0 0 0 2px color-mix(in sRGB,currentColor 28%,#0000)}}.wp-block-jetpack-search-active-filters .jetpack-search-active-filters__pill-remove{font-weight:700;line-height:1}
@@ -0,0 +1 @@
import*as r from"@wordpress/interactivity";import*as t from"jetpack-search/store";var e={4615(){},1473(r,t){var e=Object.prototype,n=e.toString,o=e.hasOwnProperty,i="[object Object]",a="[object Array]";function u(r,t){return null!=r?r+"["+t+"]":t}},5848(r,t,e){e.d(t,{vs:()=>a});e(9060);var n=e(1481);function o(r,t,e){const n=r?.aggregations?.[t]?.buckets;if(Array.isArray(n))for(const r of n){const t=String(r.key??""),n=t.indexOf("/");if((-1===n?t:t.slice(0,n))===e)return-1===n?t:t.slice(n+1)}return e}function i(r,t,e){const o=t?.filterType;if("date"===o){const o="month"===t?.interval?"month":"year";return(0,n.wg)(e,o,r?.locale??"en-US")}if("wc_stock_status"===o){return(r?.wcStockStatusLabels??{})[e]??e}if("wc_rating"===o){const t=Number(e);if(!Number.isFinite(t)||t<1||t>5)return e;if(5===t)return r?.strings?.ratingStarsTop??"5 stars";return(1===t?r?.strings?.ratingStarsAndUpSingle??"%d star and up":r?.strings?.ratingStarsAndUpPlural??"%d stars and up").replace("%d",String(t))}return null}function a(r){const t=r?.strings?.removeFilter??"Remove %s",e=[];for(const[n,a]of Object.entries(r?.activeFilters??{})){if(!Array.isArray(a))continue;const u=r?.filterConfigs?.[n],c=u?.label??n;for(const s of a){const a=i(r,u,s),f=u?.valueLabels?.[s];let p;p=void 0!==f?f:null!==a?a:o(r,n,s);const l=`${c}: ${p}`;e.push({id:`${n}:${s}`,kind:"filter",filterKey:n,value:s,label:l,ariaLabel:t.replace("%s",l)})}}const n=r?.priceRange;if(n&&(null!==n.min||null!==n.max)){const o=function(r,t){const e=r?.priceCurrencySymbol??"$",n=t?.min,o=t?.max,i=null!=n,a=null!=o;if(i&&a)return(r?.strings?.priceRangeFromTo??"%1$s – %2$s").replace("%1$s",`${e}${n}`).replace("%2$s",`${e}${o}`);if(i)return(r?.strings?.priceRangeFrom??"%s+").replace("%s",`${e}${n}`);if(a)return(r?.strings?.priceRangeUpTo??"Under %s").replace("%s",`${e}${o}`);return""}(r,n);if(o){const i=`${r?.strings?.priceLabel??"Price"}: ${o}`;e.push({id:`priceRange:${n.min??""}:${n.max??""}`,kind:"priceRange",filterKey:"",value:"",label:i,ariaLabel:t.replace("%s",i)})}}return e}},1481(r,t,e){e.d(t,{wg:()=>o});e(9060),e(6336),e(2926),e(887),e(3326),e(3893),e(3338),e(5508),e(1473);new Set(["rating_desc","price_asc","price_desc"]);const n=new Map;function o(r,t,e="en-US"){if("string"!=typeof r||""===r)return"";if("month"!==t)return r;const o=/^(\d{4})-(\d{2})$/.exec(r);if(!o)return r;const i=Number.parseInt(o[2],10);if(i<1||i>12)return r;const a=function(r){let t=n.get(r);if(t)return t;try{t=new Intl.DateTimeFormat(r,{year:"numeric",month:"long",timeZone:"UTC"})}catch{return null}return n.set(r,t),t}(e||"en-US");if(!a)return r;const u=Number.parseInt(o[1],10);return a.format(new Date(Date.UTC(u,i-1,1)))}},2833(t,e,n){t.exports=(r=>{var t={};return n.d(t,r),t})({getContext:()=>r.getContext,store:()=>r.store})},2653(r,t,e){r.exports=(r=>{var t={};return e.d(t,r),t})({})},3136(r,t,e){var n=e(2003),o=e(561),i=TypeError;r.exports=function(r){if(n(r))return r;throw new i(o(r)+" is not a function")}},3422(r,t,e){var n=e(1656).has;r.exports=function(r){return n(r),r}},3773(r,t,e){var n=e(2480),o=String,i=TypeError;r.exports=function(r){if(n(r))return r;throw new i(o(r)+" is not an object")}},8419(r,t,e){var n=e(9351),o=e(1512),i=e(9496),a=function(r){return function(t,e,a){var u=n(t),c=i(u);if(0===c)return!r&&-1;var s,f=o(a,c);if(r&&e!=e){for(;c>f;)if((s=u[f++])!=s)return!0}else for(;c>f;f++)if((r||f in u)&&u[f]===e)return r||f||0;return!r&&-1}};r.exports={includes:a(!0),indexOf:a(!1)}},2625(r,t,e){var n=e(7910),o=e(5866),i=TypeError,a=Object.getOwnPropertyDescriptor,u=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(r){return r instanceof TypeError}}();r.exports=u?function(r,t){if(o(r)&&!a(r,"length").writable)throw new i("Cannot set read only .length");return r.length=t}:function(r,t){return r.length=t}},8278(r,t,e){var n=e(2322),o=n({}.toString),i=n("".slice);r.exports=function(r){return i(o(r),8,-1)}},1038(r,t,e){var n=e(867),o=e(8337),i=e(2457),a=e(2931);r.exports=function(r,t,e){for(var u=o(t),c=a.f,s=i.f,f=0;f<u.length;f++){var p=u[f];n(r,p)||e&&n(e,p)||c(r,p,s(t,p))}}},1781(r,t,e){var n=e(7910),o=e(2931),i=e(5762);r.exports=n?function(r,t,e){return o.f(r,t,i(1,e))}:function(r,t,e){return r[t]=e,r}},5762(r){r.exports=function(r,t){return{enumerable:!(1&r),configurable:!(2&r),writable:!(4&r),value:t}}},4386(r,t,e){var n=e(2003),o=e(2931),i=e(2609),a=e(9447);r.exports=function(r,t,e,u){u||(u={});var c=u.enumerable,s=void 0!==u.name?u.name:t;if(n(e)&&i(e,s,u),u.global)c?r[t]=e:a(t,e);else{try{u.unsafe?r[t]&&(c=!0):delete r[t]}catch(r){}c?r[t]=e:o.f(r,t,{value:e,enumerable:!1,configurable:!u.nonConfigurable,writable:!u.nonWritable})}return r}},9447(r,t,e){var n=e(642),o=Object.defineProperty;r.exports=function(r,t){try{o(n,r,{value:t,configurable:!0,writable:!0})}catch(e){n[r]=t}return t}},7910(r,t,e){var n=e(6977);r.exports=!n(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},6337(r,t,e){var n=Line truncated
@@ -0,0 +1 @@
.wp-block-jetpack-search-active-filters{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem}.wp-block-jetpack-search-active-filters[hidden]{display:none}.wp-block-jetpack-search-active-filters .jetpack-search-active-filters__heading{color:inherit;font-size:.8rem;font-weight:600;opacity:.8}.wp-block-jetpack-search-active-filters .jetpack-search-active-filters__pills{display:flex;flex-wrap:wrap;gap:.25rem;list-style:none;margin:0;padding:0}.wp-block-jetpack-search-active-filters .jetpack-search-active-filters__pill{align-items:center;background:#0000;border:1px solid;border-radius:12px;color:inherit;cursor:pointer;display:inline-flex;font:inherit;font-size:.8rem;gap:.25rem;letter-spacing:normal;line-height:1.2;padding:.2rem .6rem;text-transform:none;transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease}@supports(border-color:color-mix(in sRGB,black 50%,white)){.wp-block-jetpack-search-active-filters .jetpack-search-active-filters__pill{background:color-mix(in sRGB,currentColor 14%,#0000);border-color:color-mix(in sRGB,currentColor 38%,#0000)}}.wp-block-jetpack-search-active-filters :is(.jetpack-search-active-filters__pill:focus-visible,.jetpack-search-active-filters__pill:hover){background:#0000;border-color:currentColor}@supports(background:color-mix(in sRGB,black 50%,white)){.wp-block-jetpack-search-active-filters :is(.jetpack-search-active-filters__pill:focus-visible,.jetpack-search-active-filters__pill:hover){background:color-mix(in sRGB,currentColor 24%,#0000);border-color:color-mix(in sRGB,currentColor 52%,#0000)}}.wp-block-jetpack-search-active-filters .jetpack-search-active-filters__pill:focus-visible{box-shadow:0 0 0 2px currentColor;outline:none}@supports(box-shadow:0 0 0 2px color-mix(in sRGB,black 50%,white)){.wp-block-jetpack-search-active-filters .jetpack-search-active-filters__pill:focus-visible{box-shadow:0 0 0 2px color-mix(in sRGB,currentColor 28%,#0000)}}.wp-block-jetpack-search-active-filters .jetpack-search-active-filters__pill-remove{font-weight:700;line-height:1}
@@ -0,0 +1 @@
<?php return array('dependencies' => array('jetpack-search/store'), 'version' => '54c706d7fbc167065d93', 'type' => 'module');
@@ -0,0 +1 @@
.wp-block-jetpack-search-ai-answer{border-inline-start:3px solid color-mix(in sRGB,currentColor 30%,#0000);margin-block:0 1.5rem;margin-block:0 var(--wp--preset--spacing--40,1.5rem);padding-block:.75rem;padding-block:var(--wp--preset--spacing--30,.75rem);padding-inline-start:1rem;padding-inline-start:var(--wp--preset--spacing--30,1rem)}.wp-block-jetpack-search-ai-answer[hidden]{display:none}.jp-search-answers-panel__heading{font-size:.75em;font-weight:600;letter-spacing:.06em;margin:0 0 .5em;opacity:.7;text-transform:uppercase}.jp-search-answers-panel__loading,.jp-search-answers-panel__loading-hint{align-items:center;color:inherit;display:flex;font-size:.75em;gap:.5em;margin:.5em 0 0;opacity:.7}.jp-search-answers-panel__loading-hint[hidden],.jp-search-answers-panel__loading[hidden]{display:none}.jp-search-answers-panel__loading-hint{font-style:italic}.jp-search-answers-panel__error{margin:0}.jp-search-answers-panel__error-message{margin:0 0 .25em}.jp-search-answers-panel__error-detail{font-size:.875em;margin:0;opacity:.7}.jp-search-answers-panel__content{margin:0}.jp-search-answers-panel__text{font-size:.875em;line-height:1.6}.jp-search-answers-panel__text :is(h2,h3,h4){font-size:1em;font-weight:700;margin:.8em 0 .3em}.jp-search-answers-panel__text p{margin:0 0 .6em}.jp-search-answers-panel__text ul{list-style:disc;margin:0 0 .6em 1.2em;padding:0}.jp-search-answers-panel__text li{margin-bottom:.2em}.jp-search-answers-panel__text strong{font-weight:700}.jp-search-answers-panel__text em{font-style:italic}.jp-search-answers-panel__toggle{align-items:center;background:none;border:0;color:inherit;cursor:pointer;display:inline-flex;font:inherit;font-size:.75em;gap:.4em;margin-top:.5em;padding:0;text-decoration:underline}.jp-search-answers-panel__toggle[hidden]{display:none}.jp-search-answers-panel__toggle:hover{opacity:.7}.jp-search-answers-panel__toggle-icon{border-bottom:1.5px solid;border-right:1.5px solid;display:inline-block;height:.4em;transform:rotate(45deg);width:.4em}.jp-search-answers-panel__citations{display:flex;flex-wrap:wrap;font-size:.75em;gap:.5em 1em;list-style:none;margin:.75em 0 0;padding:0}.jp-search-answers-panel__citations[hidden]{display:none}.jp-search-answers-panel__citations li{margin:0}.jp-search-answers-panel__citations a{align-items:center;display:inline-flex;gap:.25em}.jp-search-answers-panel__citation-icon{flex-shrink:0}@keyframes jp-search-animated-ellipsis-bounce{0%,80%,to{opacity:.2}40%{opacity:1}}.jp-search-animated-ellipsis{display:inline-flex;gap:2px}.jp-search-animated-ellipsis span{animation:jp-search-animated-ellipsis-bounce 1.4s infinite both;background:currentColor;border-radius:50%;display:inline-block;height:3px;width:3px}.jp-search-animated-ellipsis span:nth-child(2){animation-delay:.16s}.jp-search-animated-ellipsis span:nth-child(3){animation-delay:.32s}
@@ -0,0 +1 @@
import*as r from"jetpack-search/store";var e={5574(){},2653(r,e,t){r.exports=(r=>{var e={};return t.d(e,r),e})({})}},t={};function o(r){var a=t[r];if(void 0!==a)return a.exports;var p=t[r]={exports:{}};return e[r](p,p.exports,o),p.exports}o.d=(r,e)=>{for(var t in e)o.o(e,t)&&!o.o(r,t)&&Object.defineProperty(r,t,{enumerable:!0,get:e[t]})},o.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e);o(2653),o(5574);
@@ -0,0 +1 @@
.wp-block-jetpack-search-ai-answer{border-inline-start:3px solid color-mix(in sRGB,currentColor 30%,#0000);margin-block:0 1.5rem;margin-block:0 var(--wp--preset--spacing--40,1.5rem);padding-block:.75rem;padding-block:var(--wp--preset--spacing--30,.75rem);padding-inline-start:1rem;padding-inline-start:var(--wp--preset--spacing--30,1rem)}.wp-block-jetpack-search-ai-answer[hidden]{display:none}.jp-search-answers-panel__heading{font-size:.75em;font-weight:600;letter-spacing:.06em;margin:0 0 .5em;opacity:.7;text-transform:uppercase}.jp-search-answers-panel__loading,.jp-search-answers-panel__loading-hint{align-items:center;color:inherit;display:flex;font-size:.75em;gap:.5em;margin:.5em 0 0;opacity:.7}.jp-search-answers-panel__loading-hint[hidden],.jp-search-answers-panel__loading[hidden]{display:none}.jp-search-answers-panel__loading-hint{font-style:italic}.jp-search-answers-panel__error{margin:0}.jp-search-answers-panel__error-message{margin:0 0 .25em}.jp-search-answers-panel__error-detail{font-size:.875em;margin:0;opacity:.7}.jp-search-answers-panel__content{margin:0}.jp-search-answers-panel__text{font-size:.875em;line-height:1.6}.jp-search-answers-panel__text :is(h2,h3,h4){font-size:1em;font-weight:700;margin:.8em 0 .3em}.jp-search-answers-panel__text p{margin:0 0 .6em}.jp-search-answers-panel__text ul{list-style:disc;margin:0 1.2em .6em 0;padding:0}.jp-search-answers-panel__text li{margin-bottom:.2em}.jp-search-answers-panel__text strong{font-weight:700}.jp-search-answers-panel__text em{font-style:italic}.jp-search-answers-panel__toggle{align-items:center;background:none;border:0;color:inherit;cursor:pointer;display:inline-flex;font:inherit;font-size:.75em;gap:.4em;margin-top:.5em;padding:0;text-decoration:underline}.jp-search-answers-panel__toggle[hidden]{display:none}.jp-search-answers-panel__toggle:hover{opacity:.7}.jp-search-answers-panel__toggle-icon{border-bottom:1.5px solid;border-left:1.5px solid;display:inline-block;height:.4em;transform:rotate(-45deg);width:.4em}.jp-search-answers-panel__citations{display:flex;flex-wrap:wrap;font-size:.75em;gap:.5em 1em;list-style:none;margin:.75em 0 0;padding:0}.jp-search-answers-panel__citations[hidden]{display:none}.jp-search-answers-panel__citations li{margin:0}.jp-search-answers-panel__citations a{align-items:center;display:inline-flex;gap:.25em}.jp-search-answers-panel__citation-icon{flex-shrink:0}@keyframes jp-search-animated-ellipsis-bounce{0%,80%,to{opacity:.2}40%{opacity:1}}.jp-search-animated-ellipsis{display:inline-flex;gap:2px}.jp-search-animated-ellipsis span{animation:jp-search-animated-ellipsis-bounce 1.4s infinite both;background:currentColor;border-radius:50%;display:inline-block;height:3px;width:3px}.jp-search-animated-ellipsis span:nth-child(2){animation-delay:.16s}.jp-search-animated-ellipsis span:nth-child(3){animation-delay:.32s}
@@ -0,0 +1 @@
<?php return array('dependencies' => array('jetpack-search/store'), 'version' => '3870cf9bb13792efe898', 'type' => 'module');
@@ -0,0 +1 @@
.jetpack-search-clear-filters[hidden]{display:none}.jetpack-search-clear-filters__button{cursor:pointer}.jetpack-search-clear-filters.is-style-compact .jetpack-search-clear-filters__button{font-size:.8125rem;line-height:1.5;min-width:0;padding:.25em .75em;width:auto}
@@ -0,0 +1 @@
import*as r from"jetpack-search/store";var e={9358(){},2653(r,e,t){r.exports=(r=>{var e={};return t.d(e,r),e})({})}},t={};function o(r){var a=t[r];if(void 0!==a)return a.exports;var p=t[r]={exports:{}};return e[r](p,p.exports,o),p.exports}o.d=(r,e)=>{for(var t in e)o.o(e,t)&&!o.o(r,t)&&Object.defineProperty(r,t,{enumerable:!0,get:e[t]})},o.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e);o(2653),o(9358);
@@ -0,0 +1 @@
.jetpack-search-clear-filters[hidden]{display:none}.jetpack-search-clear-filters__button{cursor:pointer}.jetpack-search-clear-filters.is-style-compact .jetpack-search-clear-filters__button{font-size:.8125rem;line-height:1.5;min-width:0;padding:.25em .75em;width:auto}
@@ -0,0 +1 @@
<?php return array('dependencies' => array('jetpack-search/store'), 'version' => '6e5a2f0f5553cca490e6', 'type' => 'module');
@@ -0,0 +1 @@
.wp-block-jetpack-search-filter-checkbox[hidden]{display:none}@keyframes jetpack-search-skeleton-shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.wp-block-jetpack-search-filter-checkbox .jetpack-search-skeleton{animation:jetpack-search-skeleton-shimmer 1.5s linear infinite;background:color-mix(in sRGB,currentColor 8%,#0000) linear-gradient(90deg,#0000,color-mix(in sRGB,currentColor 6%,#0000) 50%,#0000) repeat;background-size:200% 100%;border-radius:4px;display:block}@media(prefers-reduced-motion:reduce){.wp-block-jetpack-search-filter-checkbox .jetpack-search-skeleton{animation:none}}.wp-block-jetpack-search-filter-checkbox .jetpack-search-skeleton--filter-row{height:1rem;width:80%}.wp-block-jetpack-search-filter-checkbox .jetpack-search-filter__list--skeleton{list-style:none;margin:0;padding:0}.wp-block-jetpack-search-filter-checkbox .jetpack-search-filter__list--skeleton[hidden]{display:none}.wp-block-jetpack-search-filter-checkbox .jetpack-search-filter__item--skeleton{padding:.25rem 0}.wp-block-jetpack-search-filter-checkbox .jetpack-search-filter__title{color:inherit;font-size:.85rem;font-weight:700;letter-spacing:.05em;margin:0 0 .5rem;text-transform:uppercase}.wp-block-jetpack-search-filter-checkbox .jetpack-search-filter__list{list-style:none;margin:0;padding:0}.wp-block-jetpack-search-filter-checkbox .jetpack-search-filter__item{padding:.25rem 0}.wp-block-jetpack-search-filter-checkbox .jetpack-search-filter__item label{align-items:center;cursor:pointer;display:flex;gap:.5rem}.wp-block-jetpack-search-filter-checkbox .jetpack-search-filter__label{flex:1}.wp-block-jetpack-search-filter-checkbox .jetpack-search-filter__count{background:color-mix(in sRGB,currentColor 12%,#0000);border-radius:10px;color:inherit;font-size:.8rem;padding:0 .4rem}.wp-block-jetpack-search-filter-checkbox .jetpack-search-filter__count[hidden]{display:none}.wp-block-jetpack-search-filter-checkbox[data-display-style=chips] .jetpack-search-filter__list{display:flex;flex-wrap:wrap;gap:.5rem}.wp-block-jetpack-search-filter-checkbox[data-display-style=chips] .jetpack-search-filter__item{padding:0}.wp-block-jetpack-search-filter-checkbox[data-display-style=chips] .jetpack-search-filter__item label{align-items:center;border:1px solid;border-radius:9999px;cursor:pointer;display:inline-flex;gap:.35rem;padding:.35rem .7rem;position:relative;transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease}@supports(border-color:color-mix(in sRGB,black 50%,white)){.wp-block-jetpack-search-filter-checkbox[data-display-style=chips] .jetpack-search-filter__item label{border-color:color-mix(in sRGB,currentColor 24%,#0000)}}.wp-block-jetpack-search-filter-checkbox[data-display-style=chips] .jetpack-search-filter__item label:hover{background:#0000;border-color:currentColor}@supports(background:color-mix(in sRGB,black 50%,white)){.wp-block-jetpack-search-filter-checkbox[data-display-style=chips] .jetpack-search-filter__item label:hover{background:color-mix(in sRGB,currentColor 8%,#0000);border-color:color-mix(in sRGB,currentColor 32%,#0000)}}.wp-block-jetpack-search-filter-checkbox[data-display-style=chips] .jetpack-search-filter__item label:focus-within{box-shadow:0 0 0 2px currentColor}@supports(box-shadow:0 0 0 2px color-mix(in sRGB,black 50%,white)){.wp-block-jetpack-search-filter-checkbox[data-display-style=chips] .jetpack-search-filter__item label:focus-within{box-shadow:0 0 0 2px color-mix(in sRGB,currentColor 28%,#0000)}}.wp-block-jetpack-search-filter-checkbox[data-display-style=chips] .jetpack-search-filter__item label:has(input:checked){background:#0000;border-color:currentColor}@supports(background:color-mix(in sRGB,black 50%,white)){.wp-block-jetpack-search-filter-checkbox[data-display-style=chips] .jetpack-search-filter__item label:has(input:checked){background:color-mix(in sRGB,currentColor 14%,#0000);border-color:color-mix(in sRGB,currentColor 38%,#0000)}}.wp-block-jetpack-search-filter-checkbox[data-display-style=chips] .jetpack-search-filter__item input[type=checkbox]{block-size:1px;border:0;clip-path:inset(50%);inline-size:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap}.wp-block-jetpack-search-filter-checkbox[data-display-style=chips] .jetpack-search-filter__label{flex:0 1 auto}.wp-block-jetpack-search-filter-checkbox[data-display-style=chips] .jetpack-search-filter__count{font-size:.72rem;line-height:1.2;padding:.1rem .4rem}
@@ -0,0 +1 @@
import*as r from"jetpack-search/store";var e={2145(){},2653(r,e,t){r.exports=(r=>{var e={};return t.d(e,r),e})({})}},t={};function o(r){var a=t[r];if(void 0!==a)return a.exports;var p=t[r]={exports:{}};return e[r](p,p.exports,o),p.exports}o.d=(r,e)=>{for(var t in e)o.o(e,t)&&!o.o(r,t)&&Object.defineProperty(r,t,{enumerable:!0,get:e[t]})},o.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e);o(2653),o(2145);
@@ -0,0 +1 @@
.wp-block-jetpack-search-filter-checkbox[hidden]{display:none}@keyframes jetpack-search-skeleton-shimmer{0%{background-position:300% 0}to{background-position:-100% 0}}.wp-block-jetpack-search-filter-checkbox .jetpack-search-skeleton{animation:jetpack-search-skeleton-shimmer 1.5s linear infinite;background:color-mix(in sRGB,currentColor 8%,#0000) linear-gradient(-90deg,#0000,color-mix(in sRGB,currentColor 6%,#0000) 50%,#0000) repeat;background-size:200% 100%;border-radius:4px;display:block}@media(prefers-reduced-motion:reduce){.wp-block-jetpack-search-filter-checkbox .jetpack-search-skeleton{animation:none}}.wp-block-jetpack-search-filter-checkbox .jetpack-search-skeleton--filter-row{height:1rem;width:80%}.wp-block-jetpack-search-filter-checkbox .jetpack-search-filter__list--skeleton{list-style:none;margin:0;padding:0}.wp-block-jetpack-search-filter-checkbox .jetpack-search-filter__list--skeleton[hidden]{display:none}.wp-block-jetpack-search-filter-checkbox .jetpack-search-filter__item--skeleton{padding:.25rem 0}.wp-block-jetpack-search-filter-checkbox .jetpack-search-filter__title{color:inherit;font-size:.85rem;font-weight:700;letter-spacing:.05em;margin:0 0 .5rem;text-transform:uppercase}.wp-block-jetpack-search-filter-checkbox .jetpack-search-filter__list{list-style:none;margin:0;padding:0}.wp-block-jetpack-search-filter-checkbox .jetpack-search-filter__item{padding:.25rem 0}.wp-block-jetpack-search-filter-checkbox .jetpack-search-filter__item label{align-items:center;cursor:pointer;display:flex;gap:.5rem}.wp-block-jetpack-search-filter-checkbox .jetpack-search-filter__label{flex:1}.wp-block-jetpack-search-filter-checkbox .jetpack-search-filter__count{background:color-mix(in sRGB,currentColor 12%,#0000);border-radius:10px;color:inherit;font-size:.8rem;padding:0 .4rem}.wp-block-jetpack-search-filter-checkbox .jetpack-search-filter__count[hidden]{display:none}.wp-block-jetpack-search-filter-checkbox[data-display-style=chips] .jetpack-search-filter__list{display:flex;flex-wrap:wrap;gap:.5rem}.wp-block-jetpack-search-filter-checkbox[data-display-style=chips] .jetpack-search-filter__item{padding:0}.wp-block-jetpack-search-filter-checkbox[data-display-style=chips] .jetpack-search-filter__item label{align-items:center;border:1px solid;border-radius:9999px;cursor:pointer;display:inline-flex;gap:.35rem;padding:.35rem .7rem;position:relative;transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease}@supports(border-color:color-mix(in sRGB,black 50%,white)){.wp-block-jetpack-search-filter-checkbox[data-display-style=chips] .jetpack-search-filter__item label{border-color:color-mix(in sRGB,currentColor 24%,#0000)}}.wp-block-jetpack-search-filter-checkbox[data-display-style=chips] .jetpack-search-filter__item label:hover{background:#0000;border-color:currentColor}@supports(background:color-mix(in sRGB,black 50%,white)){.wp-block-jetpack-search-filter-checkbox[data-display-style=chips] .jetpack-search-filter__item label:hover{background:color-mix(in sRGB,currentColor 8%,#0000);border-color:color-mix(in sRGB,currentColor 32%,#0000)}}.wp-block-jetpack-search-filter-checkbox[data-display-style=chips] .jetpack-search-filter__item label:focus-within{box-shadow:0 0 0 2px currentColor}@supports(box-shadow:0 0 0 2px color-mix(in sRGB,black 50%,white)){.wp-block-jetpack-search-filter-checkbox[data-display-style=chips] .jetpack-search-filter__item label:focus-within{box-shadow:0 0 0 2px color-mix(in sRGB,currentColor 28%,#0000)}}.wp-block-jetpack-search-filter-checkbox[data-display-style=chips] .jetpack-search-filter__item label:has(input:checked){background:#0000;border-color:currentColor}@supports(background:color-mix(in sRGB,black 50%,white)){.wp-block-jetpack-search-filter-checkbox[data-display-style=chips] .jetpack-search-filter__item label:has(input:checked){background:color-mix(in sRGB,currentColor 14%,#0000);border-color:color-mix(in sRGB,currentColor 38%,#0000)}}.wp-block-jetpack-search-filter-checkbox[data-display-style=chips] .jetpack-search-filter__item input[type=checkbox]{block-size:1px;border:0;clip-path:inset(50%);inline-size:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap}.wp-block-jetpack-search-filter-checkbox[data-display-style=chips] .jetpack-search-filter__label{flex:0 1 auto}.wp-block-jetpack-search-filter-checkbox[data-display-style=chips] .jetpack-search-filter__count{font-size:.72rem;line-height:1.2;padding:.1rem .4rem}
@@ -0,0 +1 @@
<?php return array('dependencies' => array('jetpack-search/store'), 'version' => 'd9bfc3103be938f80cdf', 'type' => 'module');
@@ -0,0 +1 @@
.wp-block-jetpack-search-filter-date[hidden]{display:none}@keyframes jetpack-search-skeleton-shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.wp-block-jetpack-search-filter-date .jetpack-search-skeleton{animation:jetpack-search-skeleton-shimmer 1.5s linear infinite;background:color-mix(in sRGB,currentColor 8%,#0000) linear-gradient(90deg,#0000,color-mix(in sRGB,currentColor 6%,#0000) 50%,#0000) repeat;background-size:200% 100%;border-radius:4px;display:block}@media(prefers-reduced-motion:reduce){.wp-block-jetpack-search-filter-date .jetpack-search-skeleton{animation:none}}.wp-block-jetpack-search-filter-date .jetpack-search-skeleton--filter-row{height:1rem;width:80%}.wp-block-jetpack-search-filter-date .jetpack-search-filter__list--skeleton{list-style:none;margin:0;padding:0}.wp-block-jetpack-search-filter-date .jetpack-search-filter__list--skeleton[hidden]{display:none}.wp-block-jetpack-search-filter-date .jetpack-search-filter__item--skeleton{padding:.25rem 0}.wp-block-jetpack-search-filter-date .jetpack-search-filter__title{color:inherit;font-size:.85rem;font-weight:700;letter-spacing:.05em;margin:0 0 .5rem;text-transform:uppercase}.wp-block-jetpack-search-filter-date .jetpack-search-filter__list{list-style:none;margin:0;padding:0}.wp-block-jetpack-search-filter-date .jetpack-search-filter__item{padding:.25rem 0}.wp-block-jetpack-search-filter-date .jetpack-search-filter__item label{align-items:center;cursor:pointer;display:flex;gap:.5rem}.wp-block-jetpack-search-filter-date .jetpack-search-filter__label{flex:1}.wp-block-jetpack-search-filter-date .jetpack-search-filter__count{background:color-mix(in sRGB,currentColor 12%,#0000);border-radius:10px;color:inherit;font-size:.8rem;padding:0 .4rem}.wp-block-jetpack-search-filter-date .jetpack-search-filter__count[hidden]{display:none}.wp-block-jetpack-search-filter-date[data-display-style=chips] .jetpack-search-filter__list{display:flex;flex-wrap:wrap;gap:.5rem}.wp-block-jetpack-search-filter-date[data-display-style=chips] .jetpack-search-filter__item{padding:0}.wp-block-jetpack-search-filter-date[data-display-style=chips] .jetpack-search-filter__item label{align-items:center;border:1px solid;border-radius:9999px;cursor:pointer;display:inline-flex;gap:.35rem;padding:.35rem .7rem;position:relative;transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease}@supports(border-color:color-mix(in sRGB,black 50%,white)){.wp-block-jetpack-search-filter-date[data-display-style=chips] .jetpack-search-filter__item label{border-color:color-mix(in sRGB,currentColor 24%,#0000)}}.wp-block-jetpack-search-filter-date[data-display-style=chips] .jetpack-search-filter__item label:hover{background:#0000;border-color:currentColor}@supports(background:color-mix(in sRGB,black 50%,white)){.wp-block-jetpack-search-filter-date[data-display-style=chips] .jetpack-search-filter__item label:hover{background:color-mix(in sRGB,currentColor 8%,#0000);border-color:color-mix(in sRGB,currentColor 32%,#0000)}}.wp-block-jetpack-search-filter-date[data-display-style=chips] .jetpack-search-filter__item label:focus-within{box-shadow:0 0 0 2px currentColor}@supports(box-shadow:0 0 0 2px color-mix(in sRGB,black 50%,white)){.wp-block-jetpack-search-filter-date[data-display-style=chips] .jetpack-search-filter__item label:focus-within{box-shadow:0 0 0 2px color-mix(in sRGB,currentColor 28%,#0000)}}.wp-block-jetpack-search-filter-date[data-display-style=chips] .jetpack-search-filter__item label:has(input:checked){background:#0000;border-color:currentColor}@supports(background:color-mix(in sRGB,black 50%,white)){.wp-block-jetpack-search-filter-date[data-display-style=chips] .jetpack-search-filter__item label:has(input:checked){background:color-mix(in sRGB,currentColor 14%,#0000);border-color:color-mix(in sRGB,currentColor 38%,#0000)}}.wp-block-jetpack-search-filter-date[data-display-style=chips] .jetpack-search-filter__item input[type=checkbox]{block-size:1px;border:0;clip-path:inset(50%);inline-size:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap}.wp-block-jetpack-search-filter-date[data-display-style=chips] .jetpack-search-filter__label{flex:0 1 auto}.wp-block-jetpack-search-filter-date[data-display-style=chips] .jetpack-search-filter__count{font-size:.72rem;line-height:1.2;padding:.1rem .4rem}
@@ -0,0 +1 @@
import*as r from"jetpack-search/store";var e={724(){},2653(r,e,t){r.exports=(r=>{var e={};return t.d(e,r),e})({})}},t={};function o(r){var a=t[r];if(void 0!==a)return a.exports;var p=t[r]={exports:{}};return e[r](p,p.exports,o),p.exports}o.d=(r,e)=>{for(var t in e)o.o(e,t)&&!o.o(r,t)&&Object.defineProperty(r,t,{enumerable:!0,get:e[t]})},o.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e);o(2653),o(724);
@@ -0,0 +1 @@
.wp-block-jetpack-search-filter-date[hidden]{display:none}@keyframes jetpack-search-skeleton-shimmer{0%{background-position:300% 0}to{background-position:-100% 0}}.wp-block-jetpack-search-filter-date .jetpack-search-skeleton{animation:jetpack-search-skeleton-shimmer 1.5s linear infinite;background:color-mix(in sRGB,currentColor 8%,#0000) linear-gradient(-90deg,#0000,color-mix(in sRGB,currentColor 6%,#0000) 50%,#0000) repeat;background-size:200% 100%;border-radius:4px;display:block}@media(prefers-reduced-motion:reduce){.wp-block-jetpack-search-filter-date .jetpack-search-skeleton{animation:none}}.wp-block-jetpack-search-filter-date .jetpack-search-skeleton--filter-row{height:1rem;width:80%}.wp-block-jetpack-search-filter-date .jetpack-search-filter__list--skeleton{list-style:none;margin:0;padding:0}.wp-block-jetpack-search-filter-date .jetpack-search-filter__list--skeleton[hidden]{display:none}.wp-block-jetpack-search-filter-date .jetpack-search-filter__item--skeleton{padding:.25rem 0}.wp-block-jetpack-search-filter-date .jetpack-search-filter__title{color:inherit;font-size:.85rem;font-weight:700;letter-spacing:.05em;margin:0 0 .5rem;text-transform:uppercase}.wp-block-jetpack-search-filter-date .jetpack-search-filter__list{list-style:none;margin:0;padding:0}.wp-block-jetpack-search-filter-date .jetpack-search-filter__item{padding:.25rem 0}.wp-block-jetpack-search-filter-date .jetpack-search-filter__item label{align-items:center;cursor:pointer;display:flex;gap:.5rem}.wp-block-jetpack-search-filter-date .jetpack-search-filter__label{flex:1}.wp-block-jetpack-search-filter-date .jetpack-search-filter__count{background:color-mix(in sRGB,currentColor 12%,#0000);border-radius:10px;color:inherit;font-size:.8rem;padding:0 .4rem}.wp-block-jetpack-search-filter-date .jetpack-search-filter__count[hidden]{display:none}.wp-block-jetpack-search-filter-date[data-display-style=chips] .jetpack-search-filter__list{display:flex;flex-wrap:wrap;gap:.5rem}.wp-block-jetpack-search-filter-date[data-display-style=chips] .jetpack-search-filter__item{padding:0}.wp-block-jetpack-search-filter-date[data-display-style=chips] .jetpack-search-filter__item label{align-items:center;border:1px solid;border-radius:9999px;cursor:pointer;display:inline-flex;gap:.35rem;padding:.35rem .7rem;position:relative;transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease}@supports(border-color:color-mix(in sRGB,black 50%,white)){.wp-block-jetpack-search-filter-date[data-display-style=chips] .jetpack-search-filter__item label{border-color:color-mix(in sRGB,currentColor 24%,#0000)}}.wp-block-jetpack-search-filter-date[data-display-style=chips] .jetpack-search-filter__item label:hover{background:#0000;border-color:currentColor}@supports(background:color-mix(in sRGB,black 50%,white)){.wp-block-jetpack-search-filter-date[data-display-style=chips] .jetpack-search-filter__item label:hover{background:color-mix(in sRGB,currentColor 8%,#0000);border-color:color-mix(in sRGB,currentColor 32%,#0000)}}.wp-block-jetpack-search-filter-date[data-display-style=chips] .jetpack-search-filter__item label:focus-within{box-shadow:0 0 0 2px currentColor}@supports(box-shadow:0 0 0 2px color-mix(in sRGB,black 50%,white)){.wp-block-jetpack-search-filter-date[data-display-style=chips] .jetpack-search-filter__item label:focus-within{box-shadow:0 0 0 2px color-mix(in sRGB,currentColor 28%,#0000)}}.wp-block-jetpack-search-filter-date[data-display-style=chips] .jetpack-search-filter__item label:has(input:checked){background:#0000;border-color:currentColor}@supports(background:color-mix(in sRGB,black 50%,white)){.wp-block-jetpack-search-filter-date[data-display-style=chips] .jetpack-search-filter__item label:has(input:checked){background:color-mix(in sRGB,currentColor 14%,#0000);border-color:color-mix(in sRGB,currentColor 38%,#0000)}}.wp-block-jetpack-search-filter-date[data-display-style=chips] .jetpack-search-filter__item input[type=checkbox]{block-size:1px;border:0;clip-path:inset(50%);inline-size:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap}.wp-block-jetpack-search-filter-date[data-display-style=chips] .jetpack-search-filter__label{flex:0 1 auto}.wp-block-jetpack-search-filter-date[data-display-style=chips] .jetpack-search-filter__count{font-size:.72rem;line-height:1.2;padding:.1rem .4rem}
@@ -0,0 +1 @@
<?php return array('dependencies' => array('jetpack-search/store'), 'version' => '2b219d47cec455e6aa29', 'type' => 'module');
@@ -0,0 +1 @@
.wp-block-jetpack-search-filter-wc-attribute[hidden]{display:none}@keyframes jetpack-search-skeleton-shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.wp-block-jetpack-search-filter-wc-attribute .jetpack-search-skeleton{animation:jetpack-search-skeleton-shimmer 1.5s linear infinite;background:color-mix(in sRGB,currentColor 8%,#0000) linear-gradient(90deg,#0000,color-mix(in sRGB,currentColor 6%,#0000) 50%,#0000) repeat;background-size:200% 100%;border-radius:4px;display:block}@media(prefers-reduced-motion:reduce){.wp-block-jetpack-search-filter-wc-attribute .jetpack-search-skeleton{animation:none}}.wp-block-jetpack-search-filter-wc-attribute .jetpack-search-skeleton--filter-row{height:1rem;width:80%}.wp-block-jetpack-search-filter-wc-attribute .jetpack-search-filter__list--skeleton{list-style:none;margin:0;padding:0}.wp-block-jetpack-search-filter-wc-attribute .jetpack-search-filter__list--skeleton[hidden]{display:none}.wp-block-jetpack-search-filter-wc-attribute .jetpack-search-filter__item--skeleton{padding:.25rem 0}.wp-block-jetpack-search-filter-wc-attribute .jetpack-search-filter__title{color:inherit;font-size:.85rem;font-weight:700;letter-spacing:.05em;margin:0 0 .5rem;text-transform:uppercase}.wp-block-jetpack-search-filter-wc-attribute .jetpack-search-filter__list{list-style:none;margin:0;padding:0}.wp-block-jetpack-search-filter-wc-attribute .jetpack-search-filter__item{padding:.25rem 0}.wp-block-jetpack-search-filter-wc-attribute .jetpack-search-filter__item label{align-items:center;cursor:pointer;display:flex;gap:.5rem}.wp-block-jetpack-search-filter-wc-attribute .jetpack-search-filter__label{flex:1}.wp-block-jetpack-search-filter-wc-attribute .jetpack-search-filter__count{background:color-mix(in sRGB,currentColor 12%,#0000);border-radius:10px;color:inherit;font-size:.8rem;padding:0 .4rem}.wp-block-jetpack-search-filter-wc-attribute .jetpack-search-filter__count[hidden]{display:none}.wp-block-jetpack-search-filter-wc-attribute[data-display-style=chips] .jetpack-search-filter__list{display:flex;flex-wrap:wrap;gap:.5rem}.wp-block-jetpack-search-filter-wc-attribute[data-display-style=chips] .jetpack-search-filter__item{padding:0}.wp-block-jetpack-search-filter-wc-attribute[data-display-style=chips] .jetpack-search-filter__item label{align-items:center;border:1px solid;border-radius:9999px;cursor:pointer;display:inline-flex;gap:.35rem;padding:.35rem .7rem;position:relative;transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease}@supports(border-color:color-mix(in sRGB,black 50%,white)){.wp-block-jetpack-search-filter-wc-attribute[data-display-style=chips] .jetpack-search-filter__item label{border-color:color-mix(in sRGB,currentColor 24%,#0000)}}.wp-block-jetpack-search-filter-wc-attribute[data-display-style=chips] .jetpack-search-filter__item label:hover{background:#0000;border-color:currentColor}@supports(background:color-mix(in sRGB,black 50%,white)){.wp-block-jetpack-search-filter-wc-attribute[data-display-style=chips] .jetpack-search-filter__item label:hover{background:color-mix(in sRGB,currentColor 8%,#0000);border-color:color-mix(in sRGB,currentColor 32%,#0000)}}.wp-block-jetpack-search-filter-wc-attribute[data-display-style=chips] .jetpack-search-filter__item label:focus-within{box-shadow:0 0 0 2px currentColor}@supports(box-shadow:0 0 0 2px color-mix(in sRGB,black 50%,white)){.wp-block-jetpack-search-filter-wc-attribute[data-display-style=chips] .jetpack-search-filter__item label:focus-within{box-shadow:0 0 0 2px color-mix(in sRGB,currentColor 28%,#0000)}}.wp-block-jetpack-search-filter-wc-attribute[data-display-style=chips] .jetpack-search-filter__item label:has(input:checked){background:#0000;border-color:currentColor}@supports(background:color-mix(in sRGB,black 50%,white)){.wp-block-jetpack-search-filter-wc-attribute[data-display-style=chips] .jetpack-search-filter__item label:has(input:checked){background:color-mix(in sRGB,currentColor 14%,#0000);border-color:color-mix(in sRGB,currentColor 38%,#0000)}}.wp-block-jetpack-search-filter-wc-attribute[data-display-style=chips] .jetpack-search-filter__item input[type=checkbox]{block-size:1px;border:0;clip-path:inset(50%);inline-size:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap}.wp-block-jetpack-search-filter-wc-attribute[data-display-style=chips] .jetpack-search-filter__label{flex:0 1 auto}.wp-block-jetpack-search-filter-wc-attribute[data-display-style=chips] .jetpack-search-filter__count{font-size:.72rem;line-height:1.2;padding:.1rem .4rem}
@@ -0,0 +1 @@
import*as r from"jetpack-search/store";var e={2267(){},2653(r,e,t){r.exports=(r=>{var e={};return t.d(e,r),e})({})}},t={};function o(r){var a=t[r];if(void 0!==a)return a.exports;var p=t[r]={exports:{}};return e[r](p,p.exports,o),p.exports}o.d=(r,e)=>{for(var t in e)o.o(e,t)&&!o.o(r,t)&&Object.defineProperty(r,t,{enumerable:!0,get:e[t]})},o.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e);o(2653),o(2267);
@@ -0,0 +1 @@
.wp-block-jetpack-search-filter-wc-attribute[hidden]{display:none}@keyframes jetpack-search-skeleton-shimmer{0%{background-position:300% 0}to{background-position:-100% 0}}.wp-block-jetpack-search-filter-wc-attribute .jetpack-search-skeleton{animation:jetpack-search-skeleton-shimmer 1.5s linear infinite;background:color-mix(in sRGB,currentColor 8%,#0000) linear-gradient(-90deg,#0000,color-mix(in sRGB,currentColor 6%,#0000) 50%,#0000) repeat;background-size:200% 100%;border-radius:4px;display:block}@media(prefers-reduced-motion:reduce){.wp-block-jetpack-search-filter-wc-attribute .jetpack-search-skeleton{animation:none}}.wp-block-jetpack-search-filter-wc-attribute .jetpack-search-skeleton--filter-row{height:1rem;width:80%}.wp-block-jetpack-search-filter-wc-attribute .jetpack-search-filter__list--skeleton{list-style:none;margin:0;padding:0}.wp-block-jetpack-search-filter-wc-attribute .jetpack-search-filter__list--skeleton[hidden]{display:none}.wp-block-jetpack-search-filter-wc-attribute .jetpack-search-filter__item--skeleton{padding:.25rem 0}.wp-block-jetpack-search-filter-wc-attribute .jetpack-search-filter__title{color:inherit;font-size:.85rem;font-weight:700;letter-spacing:.05em;margin:0 0 .5rem;text-transform:uppercase}.wp-block-jetpack-search-filter-wc-attribute .jetpack-search-filter__list{list-style:none;margin:0;padding:0}.wp-block-jetpack-search-filter-wc-attribute .jetpack-search-filter__item{padding:.25rem 0}.wp-block-jetpack-search-filter-wc-attribute .jetpack-search-filter__item label{align-items:center;cursor:pointer;display:flex;gap:.5rem}.wp-block-jetpack-search-filter-wc-attribute .jetpack-search-filter__label{flex:1}.wp-block-jetpack-search-filter-wc-attribute .jetpack-search-filter__count{background:color-mix(in sRGB,currentColor 12%,#0000);border-radius:10px;color:inherit;font-size:.8rem;padding:0 .4rem}.wp-block-jetpack-search-filter-wc-attribute .jetpack-search-filter__count[hidden]{display:none}.wp-block-jetpack-search-filter-wc-attribute[data-display-style=chips] .jetpack-search-filter__list{display:flex;flex-wrap:wrap;gap:.5rem}.wp-block-jetpack-search-filter-wc-attribute[data-display-style=chips] .jetpack-search-filter__item{padding:0}.wp-block-jetpack-search-filter-wc-attribute[data-display-style=chips] .jetpack-search-filter__item label{align-items:center;border:1px solid;border-radius:9999px;cursor:pointer;display:inline-flex;gap:.35rem;padding:.35rem .7rem;position:relative;transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease}@supports(border-color:color-mix(in sRGB,black 50%,white)){.wp-block-jetpack-search-filter-wc-attribute[data-display-style=chips] .jetpack-search-filter__item label{border-color:color-mix(in sRGB,currentColor 24%,#0000)}}.wp-block-jetpack-search-filter-wc-attribute[data-display-style=chips] .jetpack-search-filter__item label:hover{background:#0000;border-color:currentColor}@supports(background:color-mix(in sRGB,black 50%,white)){.wp-block-jetpack-search-filter-wc-attribute[data-display-style=chips] .jetpack-search-filter__item label:hover{background:color-mix(in sRGB,currentColor 8%,#0000);border-color:color-mix(in sRGB,currentColor 32%,#0000)}}.wp-block-jetpack-search-filter-wc-attribute[data-display-style=chips] .jetpack-search-filter__item label:focus-within{box-shadow:0 0 0 2px currentColor}@supports(box-shadow:0 0 0 2px color-mix(in sRGB,black 50%,white)){.wp-block-jetpack-search-filter-wc-attribute[data-display-style=chips] .jetpack-search-filter__item label:focus-within{box-shadow:0 0 0 2px color-mix(in sRGB,currentColor 28%,#0000)}}.wp-block-jetpack-search-filter-wc-attribute[data-display-style=chips] .jetpack-search-filter__item label:has(input:checked){background:#0000;border-color:currentColor}@supports(background:color-mix(in sRGB,black 50%,white)){.wp-block-jetpack-search-filter-wc-attribute[data-display-style=chips] .jetpack-search-filter__item label:has(input:checked){background:color-mix(in sRGB,currentColor 14%,#0000);border-color:color-mix(in sRGB,currentColor 38%,#0000)}}.wp-block-jetpack-search-filter-wc-attribute[data-display-style=chips] .jetpack-search-filter__item input[type=checkbox]{block-size:1px;border:0;clip-path:inset(50%);inline-size:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap}.wp-block-jetpack-search-filter-wc-attribute[data-display-style=chips] .jetpack-search-filter__label{flex:0 1 auto}.wp-block-jetpack-search-filter-wc-attribute[data-display-style=chips] .jetpack-search-filter__count{font-size:.72rem;line-height:1.2;padding:.1rem .4rem}
@@ -0,0 +1 @@
<?php return array('dependencies' => array('@wordpress/interactivity', 'jetpack-search/store'), 'version' => 'b372beebe242239d0bd9', 'type' => 'module');
@@ -0,0 +1 @@
.jetpack-search-filter-wc-price__inputs{align-items:center;display:flex;gap:.5rem}.jetpack-search-filter-wc-price--with-slider .jetpack-search-filter-wc-price__inputs{margin-block-start:.75rem}.jetpack-search-filter-wc-price__field{align-items:center;display:flex;flex:1 1 0;min-width:0;position:relative}.jetpack-search-filter-wc-price__symbol{color:color-mix(in sRGB,currentColor 50%,#0000);font-size:.95em;inset-inline-start:.5rem;pointer-events:none;position:absolute}.jetpack-search-filter-wc-price__field--right .jetpack-search-filter-wc-price__symbol{inset-inline-end:.5rem;inset-inline-start:auto}.jetpack-search-filter-wc-price__input{border:1px solid color-mix(in srgb,currentcolor 20%,#0000);border-radius:4px;font:inherit;min-width:0;padding-block:.4rem;padding-inline:1.9rem .5rem;width:100%}.jetpack-search-filter-wc-price__input::-webkit-inner-spin-button,.jetpack-search-filter-wc-price__input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.jetpack-search-filter-wc-price__input{appearance:textfield}.jetpack-search-filter-wc-price__field--right .jetpack-search-filter-wc-price__input{padding-inline:.5rem 1.9rem}.jetpack-search-filter-wc-price__separator{color:color-mix(in sRGB,currentColor 50%,#0000);flex:0 0 auto;font-size:1.1em;line-height:1}.jetpack-search-filter-wc-price__slider{--low:0%;--high:100%;--range-color:currentColor;background:#0000;direction:ltr;height:18px;margin-block-start:.5rem;margin:8px 0;position:relative}.jetpack-search-filter-wc-price__slider:before{background:var(--range-color);content:"";opacity:.25;z-index:0}.jetpack-search-filter-wc-price__slider-bar,.jetpack-search-filter-wc-price__slider:before{border-radius:4px;height:4px;position:absolute;top:50%;inset-inline:0;pointer-events:none;transform:translateY(-50%)}.jetpack-search-filter-wc-price__slider-bar{background:linear-gradient(to right,#0000 var(--low),var(--range-color) var(--low),var(--range-color) var(--high),#0000 var(--high));z-index:1}.jetpack-search-filter-wc-price__slider-input{appearance:none;background:#0000;border:0!important;display:block;height:18px;inset-block-start:0;inset-inline-start:0;margin:0;outline:none;padding:0!important;pointer-events:none;position:absolute;width:100%;z-index:10}.jetpack-search-filter-wc-price__slider-input::-webkit-slider-thumb{appearance:none;background:#fff;background:var(--wp--preset--color--base,var(--wp--preset--color--background,#fff));border:2px solid;border-radius:50%;box-sizing:initial;cursor:pointer;height:14px;margin:0;padding:0;pointer-events:auto;width:14px;z-index:20}.jetpack-search-filter-wc-price__slider-input::-moz-range-thumb{appearance:none;background:#fff;background:var(--wp--preset--color--base,var(--wp--preset--color--background,#fff));border:2px solid;border-radius:50%;box-sizing:initial;cursor:pointer;height:14px;margin:0;padding:0;pointer-events:auto;width:14px;z-index:20}.jetpack-search-filter-wc-price__slider-input::-webkit-slider-runnable-track{appearance:none;background:#0000;border:0;cursor:default;height:18px}.jetpack-search-filter-wc-price__slider-input::-moz-range-track{appearance:none;background:#0000;border:0;cursor:default;height:18px}.jetpack-search-filter-wc-price__slider-input:focus{outline:none}.jetpack-search-filter-wc-price__slider-input:focus::-webkit-slider-thumb{background:var(--range-color);border-color:#fff;border-color:var(--wp--preset--color--base,var(--wp--preset--color--background,#fff))}.jetpack-search-filter-wc-price__slider-input:focus::-moz-range-thumb{background:var(--range-color);border-color:#fff;border-color:var(--wp--preset--color--base,var(--wp--preset--color--background,#fff))}
@@ -0,0 +1 @@
import*as e from"@wordpress/interactivity";import*as t from"jetpack-search/store";var r={8638(){},2833(t,r,n){t.exports=(e=>{var t={};return n.d(t,e),t})({getElement:()=>e.getElement,store:()=>e.store})},2653(e,t,r){e.exports=(e=>{var t={};return r.d(t,e),t})({})}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var a=n[e]={exports:{}};return r[e](a,a.exports,i),a.exports}i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var a=i(2833);i(2653),i(8638);const c="jetpack-search";function l(e){const t=e?.closest?.(".jetpack-search-filter-wc-price");return t?{min:t.querySelector(".jetpack-search-filter-wc-price__slider-input--min"),max:t.querySelector(".jetpack-search-filter-wc-price__slider-input--max")}:{min:null,max:null}}function s(e){if(null==e||""===e)return null;const t=Number(e);return Number.isFinite(t)&&t>=0?t:null}function o(e,t){let r=s(e?.value),n=s(t?.value);if(null!==r&&null!==n&&r>n){const i=(e??t)?.ownerDocument;i&&i.activeElement===t?(n=r,t&&(t.value=String(r))):(r=n,e&&(e.value=String(n)))}return{min:r,max:n}}function u(e,t,r){if(null==e||!Number.isFinite(e))return"";const n=String(Math.round(e));return"right"===r?`${n}${t}`:`${t}${n}`}(0,a.store)(c,{state:{get priceRangeMinInputValue(){const{state:e}=(0,a.store)(c),t=e.priceRange?.min;return null==t?"":String(t)},get priceRangeMaxInputValue(){const{state:e}=(0,a.store)(c),t=e.priceRange?.max;return null==t?"":String(t)}},actions:{*onPriceRangeInputChange(){const e=(0,a.getElement)()?.ref,{min:t,max:r}=function(e){const t=e?.closest?.(".jetpack-search-filter-wc-price");return t?{min:t.querySelector(".jetpack-search-filter-wc-price__input--min"),max:t.querySelector(".jetpack-search-filter-wc-price__input--max")}:{min:null,max:null}}(e);yield(0,a.store)(c).actions.setPriceRange(s(t?.value),s(r?.value))},onPriceRangeInputKeydown(e){"Enter"===e?.key&&(e.preventDefault(),e.target?.blur?.())},onPriceSliderInput(){const e=(0,a.getElement)()?.ref,{min:t,max:r}=l(e);if(!t||!r)return;const n=o(t,r);if(null===n.min||null===n.max)return;const{state:i}=(0,a.store)(c),s=i.priceRange;s&&s.min===n.min&&s.max===n.max||(i.priceRange={min:n.min,max:n.max})},*onPriceSliderChange(){const e=(0,a.getElement)()?.ref,{min:t,max:r}=l(e);if(!t||!r)return;const n=o(t,r),{state:i}=(0,a.store)(c),s=i.priceRange&&i.priceRange.min===n.min&&i.priceRange.max===n.max;yield(0,a.store)(c).actions.setPriceRange(n.min,n.max),s&&(yield(0,a.store)(c).actions.search())}},callbacks:{updatePriceSliderUi(){const e=(0,a.getElement)()?.ref;if(!e)return;const t=e.querySelector(".jetpack-search-filter-wc-price__slider");if(!t)return;const r=e.querySelector(".jetpack-search-filter-wc-price__slider-input--min"),n=e.querySelector(".jetpack-search-filter-wc-price__slider-input--max"),{state:i}=(0,a.store)(c),{sliderMin:l,sliderMax:s}=function(e){const t=e?.querySelector?.(".jetpack-search-filter-wc-price__slider-input--min"),r=e?.querySelector?.(".jetpack-search-filter-wc-price__slider-input--max");return{sliderMin:Number(t?.min)||0,sliderMax:Number(r?.max)||100}}(e),o=i.priceRange,m=e=>Math.min(s,Math.max(l,Number(e))),p=null!=o?.min?m(o.min):l,f=null!=o?.max?m(o.max):s,x=i.priceCurrencySymbol||"",g=i.priceCurrencySymbolPosition||"left",y=e.ownerDocument?.activeElement;if(r&&r!==y){const e=String(p);r.value!==e&&(r.value=e)}if(n&&n!==y){const e=String(f);n.value!==e&&(n.value=e)}const h=s-l;if(!Number.isFinite(h)||h<=0)t.style.setProperty("--low","0%"),t.style.setProperty("--high","100%");else{const e=Math.max(0,Math.min(100,(p-l)/h*100)),r=Math.max(0,Math.min(100,(f-l)/h*100));t.style.setProperty("--low",`${e}%`),t.style.setProperty("--high",`${r}%`)}r&&r.setAttribute("aria-valuetext",u(p,x,g)),n&&n.setAttribute("aria-valuetext",u(f,x,g))}}});
@@ -0,0 +1 @@
.jetpack-search-filter-wc-price__inputs{align-items:center;display:flex;gap:.5rem}.jetpack-search-filter-wc-price--with-slider .jetpack-search-filter-wc-price__inputs{margin-block-start:.75rem}.jetpack-search-filter-wc-price__field{align-items:center;display:flex;flex:1 1 0;min-width:0;position:relative}.jetpack-search-filter-wc-price__symbol{color:color-mix(in sRGB,currentColor 50%,#0000);font-size:.95em;inset-inline-start:.5rem;pointer-events:none;position:absolute}.jetpack-search-filter-wc-price__field--right .jetpack-search-filter-wc-price__symbol{inset-inline-end:.5rem;inset-inline-start:auto}.jetpack-search-filter-wc-price__input{border:1px solid color-mix(in srgb,currentcolor 20%,#0000);border-radius:4px;font:inherit;min-width:0;padding-block:.4rem;padding-inline:1.9rem .5rem;width:100%}.jetpack-search-filter-wc-price__input::-webkit-inner-spin-button,.jetpack-search-filter-wc-price__input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.jetpack-search-filter-wc-price__input{appearance:textfield}.jetpack-search-filter-wc-price__field--right .jetpack-search-filter-wc-price__input{padding-inline:.5rem 1.9rem}.jetpack-search-filter-wc-price__separator{color:color-mix(in sRGB,currentColor 50%,#0000);flex:0 0 auto;font-size:1.1em;line-height:1}.jetpack-search-filter-wc-price__slider{--low:0%;--high:100%;--range-color:currentColor;background:#0000;direction:rtl;height:18px;margin-block-start:.5rem;margin:8px 0;position:relative}.jetpack-search-filter-wc-price__slider:before{background:var(--range-color);content:"";opacity:.25;z-index:0}.jetpack-search-filter-wc-price__slider-bar,.jetpack-search-filter-wc-price__slider:before{border-radius:4px;height:4px;position:absolute;top:50%;inset-inline:0;pointer-events:none;transform:translateY(-50%)}.jetpack-search-filter-wc-price__slider-bar{background:linear-gradient(to left,#0000 var(--low),var(--range-color) var(--low),var(--range-color) var(--high),#0000 var(--high));z-index:1}.jetpack-search-filter-wc-price__slider-input{appearance:none;background:#0000;border:0!important;display:block;height:18px;inset-block-start:0;inset-inline-start:0;margin:0;outline:none;padding:0!important;pointer-events:none;position:absolute;width:100%;z-index:10}.jetpack-search-filter-wc-price__slider-input::-webkit-slider-thumb{appearance:none;background:#fff;background:var(--wp--preset--color--base,var(--wp--preset--color--background,#fff));border:2px solid;border-radius:50%;box-sizing:initial;cursor:pointer;height:14px;margin:0;padding:0;pointer-events:auto;width:14px;z-index:20}.jetpack-search-filter-wc-price__slider-input::-moz-range-thumb{appearance:none;background:#fff;background:var(--wp--preset--color--base,var(--wp--preset--color--background,#fff));border:2px solid;border-radius:50%;box-sizing:initial;cursor:pointer;height:14px;margin:0;padding:0;pointer-events:auto;width:14px;z-index:20}.jetpack-search-filter-wc-price__slider-input::-webkit-slider-runnable-track{appearance:none;background:#0000;border:0;cursor:default;height:18px}.jetpack-search-filter-wc-price__slider-input::-moz-range-track{appearance:none;background:#0000;border:0;cursor:default;height:18px}.jetpack-search-filter-wc-price__slider-input:focus{outline:none}.jetpack-search-filter-wc-price__slider-input:focus::-webkit-slider-thumb{background:var(--range-color);border-color:#fff;border-color:var(--wp--preset--color--base,var(--wp--preset--color--background,#fff))}.jetpack-search-filter-wc-price__slider-input:focus::-moz-range-thumb{background:var(--range-color);border-color:#fff;border-color:var(--wp--preset--color--base,var(--wp--preset--color--background,#fff))}
@@ -0,0 +1 @@
<?php return array('dependencies' => array('@wordpress/interactivity', 'jetpack-search/store'), 'version' => '573ad94d1d0a567467bd', 'type' => 'module');
@@ -0,0 +1 @@
.jetpack-search-filter-wc-rating[hidden]{display:none}@keyframes jetpack-search-skeleton-shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.jetpack-search-filter-wc-rating .jetpack-search-skeleton{animation:jetpack-search-skeleton-shimmer 1.5s linear infinite;background:color-mix(in sRGB,currentColor 8%,#0000) linear-gradient(90deg,#0000,color-mix(in sRGB,currentColor 6%,#0000) 50%,#0000) repeat;background-size:200% 100%;border-radius:4px;display:block}@media(prefers-reduced-motion:reduce){.jetpack-search-filter-wc-rating .jetpack-search-skeleton{animation:none}}.jetpack-search-filter-wc-rating .jetpack-search-skeleton--filter-row{height:1rem;width:80%}.jetpack-search-filter-wc-rating .jetpack-search-filter__list--skeleton{list-style:none;margin:0;padding:0}.jetpack-search-filter-wc-rating .jetpack-search-filter__list--skeleton[hidden]{display:none}.jetpack-search-filter-wc-rating .jetpack-search-filter__item--skeleton{padding:.25rem 0}.jetpack-search-filter-wc-rating .jetpack-search-filter__title{color:inherit;font-size:.85rem;font-weight:700;letter-spacing:.05em;margin:0 0 .5rem;text-transform:uppercase}.jetpack-search-filter-wc-rating .jetpack-search-filter__list{display:flex;flex-direction:column;gap:.25rem;list-style:none;margin:0;padding:0}.jetpack-search-filter-wc-rating .jetpack-search-filter__item{padding:.25rem 0}.jetpack-search-filter-wc-rating .jetpack-search-filter__item label{align-items:center;cursor:pointer;display:flex;gap:.5rem}.jetpack-search-filter-wc-rating .jetpack-search-filter__label{align-items:center;display:inline-flex;flex:1;gap:.4rem}.jetpack-search-filter-wc-rating .jetpack-search-filter-rating__stars{display:inline-flex;gap:.05em;line-height:1}.jetpack-search-filter-wc-rating .jetpack-search-filter-rating__threshold-suffix{font-size:.85rem;opacity:.75}.jetpack-search-filter-wc-rating .jetpack-search-filter__count{background:color-mix(in sRGB,currentColor 12%,#0000);border-radius:10px;color:inherit;font-size:.8rem;padding:0 .4rem}.jetpack-search-filter-wc-rating .jetpack-search-filter__count[hidden]{display:none}.jetpack-search-filter-wc-rating .jetpack-search-filter-rating__star{display:inline-block;font-size:1.05em;line-height:1}.jetpack-search-filter-wc-rating .jetpack-search-filter-rating__star.is-filled{color:#f7b500;color:var(--jetpack-search-rating-color,#f7b500)}.jetpack-search-filter-wc-rating .jetpack-search-filter-rating__star.is-empty{color:color-mix(in sRGB,currentColor 25%,#0000)}
@@ -0,0 +1 @@
import*as t from"@wordpress/interactivity";import*as r from"jetpack-search/store";var e={6104(){},7312(t,r,e){function n(t){const r={1:0,2:0,3:0,4:0,5:0};if(!Array.isArray(t))return r;for(const e of t){const t=Number(e?.key??NaN),n=Number(e?.doc_count??0);if(!Number.isFinite(t)||t<.5)continue;const o=Math.min(5,Math.round(t+.5));for(let t=1;t<=o;t++)r[String(t)]+=n}return r}e.d(r,{k:()=>n})},2833(r,e,n){r.exports=(t=>{var r={};return n.d(r,t),r})({getContext:()=>t.getContext,store:()=>t.store})},2653(t,r,e){t.exports=(t=>{var r={};return e.d(r,t),r})({})},3136(t,r,e){var n=e(2003),o=e(561),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a function")}},1183(t,r,e){var n=e(7369),o=e(3666),i=e(2931).f,a=n("unscopables"),u=Array.prototype;void 0===u[a]&&i(u,a,{configurable:!0,value:o(null)}),t.exports=function(t){u[a][t]=!0}},3773(t,r,e){var n=e(2480),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not an object")}},8419(t,r,e){var n=e(9351),o=e(1512),i=e(9496),a=function(t){return function(r,e,a){var u=n(r),c=i(u);if(0===c)return!t&&-1;var s,f=o(a,c);if(t&&e!=e){for(;c>f;)if((s=u[f++])!=s)return!0}else for(;c>f;f++)if((t||f in u)&&u[f]===e)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},8278(t,r,e){var n=e(2322),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},1038(t,r,e){var n=e(867),o=e(8337),i=e(2457),a=e(2931);t.exports=function(t,r,e){for(var u=o(r),c=a.f,s=i.f,f=0;f<u.length;f++){var p=u[f];n(t,p)||e&&n(e,p)||c(t,p,s(r,p))}}},1781(t,r,e){var n=e(7910),o=e(2931),i=e(5762);t.exports=n?function(t,r,e){return o.f(t,r,i(1,e))}:function(t,r,e){return t[r]=e,t}},5762(t){t.exports=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}}},4386(t,r,e){var n=e(2003),o=e(2931),i=e(2609),a=e(9447);t.exports=function(t,r,e,u){u||(u={});var c=u.enumerable,s=void 0!==u.name?u.name:r;if(n(e)&&i(e,s,u),u.global)c?t[r]=e:a(r,e);else{try{u.unsafe?t[r]&&(c=!0):delete t[r]}catch(t){}c?t[r]=e:o.f(t,r,{value:e,enumerable:!1,configurable:!u.nonConfigurable,writable:!u.nonWritable})}return t}},9447(t,r,e){var n=e(642),o=Object.defineProperty;t.exports=function(t,r){try{o(n,t,{value:r,configurable:!0,writable:!0})}catch(e){n[t]=r}return r}},7910(t,r,e){var n=e(6977);t.exports=!n(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},6337(t,r,e){var n=e(642),o=e(2480),i=n.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},2589(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},8093(t,r,e){var n=e(642).navigator,o=n&&n.userAgent;t.exports=o?String(o):""},4965(t,r,e){var n,o,i=e(642),a=e(8093),u=i.process,c=i.Deno,s=u&&u.versions||c&&c.version,f=s&&s.v8;f&&(o=(n=f.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},9948(t,r,e){var n=e(642),o=e(2457).f,i=e(1781),a=e(4386),u=e(9447),c=e(1038),s=e(4866);t.exports=function(t,r){var e,f,p,l,v,y=t.target,b=t.global,g=t.stat;if(e=b?n:g?n[y]||u(y,{}):n[y]&&n[y].prototype)for(f in r){if(l=r[f],p=t.dontCallGetSet?(v=o(e,f))&&v.value:e[f],!s(b?f:y+(g?".":"#")+f,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;c(l,p)}(t.sham||p&&p.sham)&&i(l,"sham",!0),a(e,f,l,t)}}},6977(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},1658(t,r,e){var n=e(6977);t.exports=!n(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})},7623(t,r,e){var n=e(1658),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},7016(t,r,e){var n=e(7910),o=e(867),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,u=o(i,"name"),c=u&&"something"===function(){}.name,s=u&&(!n||n&&a(i,"name").configurable);t.exports={EXISTS:u,PROPER:c,CONFIGURABLE:s}},2322(t,r,e){var n=e(1658),o=Function.prototype,i=o.call,a=n&&o.bind.bind(i,i);t.exports=n?a:function(t){return function(){return i.apply(t,arguments)}}},6297(t,r,e){var n=e(642),o=e(2003);t.exports=function(t,r){return arguments.length<2?(e=n[t],o(e)?e:void 0):n[t]&&n[t][r];var e}},8396(t,r,e){var n=e(3136),o=e(9943);t.exports=function(t,r){var e=t[r];return o(e)?void 0:n(e)}},642(t){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 window&&window)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},867(t,r,e){var n=e(2322),o=e(4707),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,r){return i(o(t),r)}},8555(t){t.exports={}},979(t,r,e){var n=e(6297);t.exports=n("document","documentElement")},2159(t,r,e){var n=e(7910),o=e(6977),i=e(6337);t.exports=!n&&!o(function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},9233(Line truncated
@@ -0,0 +1 @@
.jetpack-search-filter-wc-rating[hidden]{display:none}@keyframes jetpack-search-skeleton-shimmer{0%{background-position:300% 0}to{background-position:-100% 0}}.jetpack-search-filter-wc-rating .jetpack-search-skeleton{animation:jetpack-search-skeleton-shimmer 1.5s linear infinite;background:color-mix(in sRGB,currentColor 8%,#0000) linear-gradient(-90deg,#0000,color-mix(in sRGB,currentColor 6%,#0000) 50%,#0000) repeat;background-size:200% 100%;border-radius:4px;display:block}@media(prefers-reduced-motion:reduce){.jetpack-search-filter-wc-rating .jetpack-search-skeleton{animation:none}}.jetpack-search-filter-wc-rating .jetpack-search-skeleton--filter-row{height:1rem;width:80%}.jetpack-search-filter-wc-rating .jetpack-search-filter__list--skeleton{list-style:none;margin:0;padding:0}.jetpack-search-filter-wc-rating .jetpack-search-filter__list--skeleton[hidden]{display:none}.jetpack-search-filter-wc-rating .jetpack-search-filter__item--skeleton{padding:.25rem 0}.jetpack-search-filter-wc-rating .jetpack-search-filter__title{color:inherit;font-size:.85rem;font-weight:700;letter-spacing:.05em;margin:0 0 .5rem;text-transform:uppercase}.jetpack-search-filter-wc-rating .jetpack-search-filter__list{display:flex;flex-direction:column;gap:.25rem;list-style:none;margin:0;padding:0}.jetpack-search-filter-wc-rating .jetpack-search-filter__item{padding:.25rem 0}.jetpack-search-filter-wc-rating .jetpack-search-filter__item label{align-items:center;cursor:pointer;display:flex;gap:.5rem}.jetpack-search-filter-wc-rating .jetpack-search-filter__label{align-items:center;display:inline-flex;flex:1;gap:.4rem}.jetpack-search-filter-wc-rating .jetpack-search-filter-rating__stars{display:inline-flex;gap:.05em;line-height:1}.jetpack-search-filter-wc-rating .jetpack-search-filter-rating__threshold-suffix{font-size:.85rem;opacity:.75}.jetpack-search-filter-wc-rating .jetpack-search-filter__count{background:color-mix(in sRGB,currentColor 12%,#0000);border-radius:10px;color:inherit;font-size:.8rem;padding:0 .4rem}.jetpack-search-filter-wc-rating .jetpack-search-filter__count[hidden]{display:none}.jetpack-search-filter-wc-rating .jetpack-search-filter-rating__star{display:inline-block;font-size:1.05em;line-height:1}.jetpack-search-filter-wc-rating .jetpack-search-filter-rating__star.is-filled{color:#f7b500;color:var(--jetpack-search-rating-color,#f7b500)}.jetpack-search-filter-wc-rating .jetpack-search-filter-rating__star.is-empty{color:color-mix(in sRGB,currentColor 25%,#0000)}
@@ -0,0 +1 @@
<?php return array('dependencies' => array('@wordpress/interactivity', 'jetpack-search/store'), 'version' => '8f2b819039199375b7ee', 'type' => 'module');
@@ -0,0 +1 @@
.wp-block-jetpack-search-filter-wc-stock-status[hidden]{display:none}@keyframes jetpack-search-skeleton-shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.wp-block-jetpack-search-filter-wc-stock-status .jetpack-search-skeleton{animation:jetpack-search-skeleton-shimmer 1.5s linear infinite;background:color-mix(in sRGB,currentColor 8%,#0000) linear-gradient(90deg,#0000,color-mix(in sRGB,currentColor 6%,#0000) 50%,#0000) repeat;background-size:200% 100%;border-radius:4px;display:block}@media(prefers-reduced-motion:reduce){.wp-block-jetpack-search-filter-wc-stock-status .jetpack-search-skeleton{animation:none}}.wp-block-jetpack-search-filter-wc-stock-status .jetpack-search-skeleton--filter-row{height:1rem;width:80%}.wp-block-jetpack-search-filter-wc-stock-status .jetpack-search-filter__list--skeleton{list-style:none;margin:0;padding:0}.wp-block-jetpack-search-filter-wc-stock-status .jetpack-search-filter__list--skeleton[hidden]{display:none}.wp-block-jetpack-search-filter-wc-stock-status .jetpack-search-filter__item--skeleton{padding:.25rem 0}.wp-block-jetpack-search-filter-wc-stock-status .jetpack-search-filter__title{color:inherit;font-size:.85rem;font-weight:700;letter-spacing:.05em;margin:0 0 .5rem;text-transform:uppercase}.wp-block-jetpack-search-filter-wc-stock-status .jetpack-search-filter__list{list-style:none;margin:0;padding:0}.wp-block-jetpack-search-filter-wc-stock-status .jetpack-search-filter__item{padding:.25rem 0}.wp-block-jetpack-search-filter-wc-stock-status .jetpack-search-filter__item label{align-items:center;cursor:pointer;display:flex;gap:.5rem}.wp-block-jetpack-search-filter-wc-stock-status .jetpack-search-filter__label{flex:1}.wp-block-jetpack-search-filter-wc-stock-status .jetpack-search-filter__count{background:color-mix(in sRGB,currentColor 12%,#0000);border-radius:10px;color:inherit;font-size:.8rem;padding:0 .4rem}.wp-block-jetpack-search-filter-wc-stock-status .jetpack-search-filter__count[hidden]{display:none}
@@ -0,0 +1 @@
import*as t from"@wordpress/interactivity";import*as r from"jetpack-search/store";var e={4622(){},2833(r,e,n){r.exports=(t=>{var r={};return n.d(r,t),r})({getContext:()=>t.getContext,getElement:()=>t.getElement,store:()=>t.store})},2653(t,r,e){t.exports=(t=>{var r={};return e.d(r,t),r})({})},3136(t,r,e){var n=e(2003),o=e(561),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a function")}},1183(t,r,e){var n=e(7369),o=e(3666),i=e(2931).f,u=n("unscopables"),a=Array.prototype;void 0===a[u]&&i(a,u,{configurable:!0,value:o(null)}),t.exports=function(t){a[u][t]=!0}},3773(t,r,e){var n=e(2480),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not an object")}},8419(t,r,e){var n=e(9351),o=e(1512),i=e(9496),u=function(t){return function(r,e,u){var a=n(r),c=i(a);if(0===c)return!t&&-1;var s,f=o(u,c);if(t&&e!=e){for(;c>f;)if((s=a[f++])!=s)return!0}else for(;c>f;f++)if((t||f in a)&&a[f]===e)return t||f||0;return!t&&-1}};t.exports={includes:u(!0),indexOf:u(!1)}},8278(t,r,e){var n=e(2322),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},1038(t,r,e){var n=e(867),o=e(8337),i=e(2457),u=e(2931);t.exports=function(t,r,e){for(var a=o(r),c=u.f,s=i.f,f=0;f<a.length;f++){var p=a[f];n(t,p)||e&&n(e,p)||c(t,p,s(r,p))}}},1781(t,r,e){var n=e(7910),o=e(2931),i=e(5762);t.exports=n?function(t,r,e){return o.f(t,r,i(1,e))}:function(t,r,e){return t[r]=e,t}},5762(t){t.exports=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}}},4386(t,r,e){var n=e(2003),o=e(2931),i=e(2609),u=e(9447);t.exports=function(t,r,e,a){a||(a={});var c=a.enumerable,s=void 0!==a.name?a.name:r;if(n(e)&&i(e,s,a),a.global)c?t[r]=e:u(r,e);else{try{a.unsafe?t[r]&&(c=!0):delete t[r]}catch(t){}c?t[r]=e:o.f(t,r,{value:e,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return t}},9447(t,r,e){var n=e(642),o=Object.defineProperty;t.exports=function(t,r){try{o(n,t,{value:r,configurable:!0,writable:!0})}catch(e){n[t]=r}return r}},7910(t,r,e){var n=e(6977);t.exports=!n(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},6337(t,r,e){var n=e(642),o=e(2480),i=n.document,u=o(i)&&o(i.createElement);t.exports=function(t){return u?i.createElement(t):{}}},2589(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},8093(t,r,e){var n=e(642).navigator,o=n&&n.userAgent;t.exports=o?String(o):""},4965(t,r,e){var n,o,i=e(642),u=e(8093),a=i.process,c=i.Deno,s=a&&a.versions||c&&c.version,f=s&&s.v8;f&&(o=(n=f.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&u&&(!(n=u.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=u.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},9948(t,r,e){var n=e(642),o=e(2457).f,i=e(1781),u=e(4386),a=e(9447),c=e(1038),s=e(4866);t.exports=function(t,r){var e,f,p,l,v,y=t.target,b=t.global,g=t.stat;if(e=b?n:g?n[y]||a(y,{}):n[y]&&n[y].prototype)for(f in r){if(l=r[f],p=t.dontCallGetSet?(v=o(e,f))&&v.value:e[f],!s(b?f:y+(g?".":"#")+f,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;c(l,p)}(t.sham||p&&p.sham)&&i(l,"sham",!0),u(e,f,l,t)}}},6977(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},1658(t,r,e){var n=e(6977);t.exports=!n(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})},7623(t,r,e){var n=e(1658),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},7016(t,r,e){var n=e(7910),o=e(867),i=Function.prototype,u=n&&Object.getOwnPropertyDescriptor,a=o(i,"name"),c=a&&"something"===function(){}.name,s=a&&(!n||n&&u(i,"name").configurable);t.exports={EXISTS:a,PROPER:c,CONFIGURABLE:s}},2322(t,r,e){var n=e(1658),o=Function.prototype,i=o.call,u=n&&o.bind.bind(i,i);t.exports=n?u:function(t){return function(){return i.apply(t,arguments)}}},6297(t,r,e){var n=e(642),o=e(2003);t.exports=function(t,r){return arguments.length<2?(e=n[t],o(e)?e:void 0):n[t]&&n[t][r];var e}},8396(t,r,e){var n=e(3136),o=e(9943);t.exports=function(t,r){var e=t[r];return o(e)?void 0:n(e)}},642(t){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 window&&window)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},867(t,r,e){var n=e(2322),o=e(4707),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,r){return i(o(t),r)}},8555(t){t.exports={}},979(t,r,e){var n=e(6297);t.exports=n("document","documentElement")},2159(t,r,e){var n=e(7910),o=e(6977),i=e(6337);t.exports=!n&&!o(function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},9233(t,r,e){var n=e(2322),o=e(6977),i=e(8278),u=Object,a=n("".split);t.exports=o(function(){return!u("z").propertyIsEnumerable(0)})?function(t){return"String"===i(t)?a(t,""):u(t)}:u},2716(t,r,e){var n=e(2322),o=e(2003),i=e(9487),u=n(Function.toString);o(i.inspectSource)||(iLine truncated
@@ -0,0 +1 @@
.wp-block-jetpack-search-filter-wc-stock-status[hidden]{display:none}@keyframes jetpack-search-skeleton-shimmer{0%{background-position:300% 0}to{background-position:-100% 0}}.wp-block-jetpack-search-filter-wc-stock-status .jetpack-search-skeleton{animation:jetpack-search-skeleton-shimmer 1.5s linear infinite;background:color-mix(in sRGB,currentColor 8%,#0000) linear-gradient(-90deg,#0000,color-mix(in sRGB,currentColor 6%,#0000) 50%,#0000) repeat;background-size:200% 100%;border-radius:4px;display:block}@media(prefers-reduced-motion:reduce){.wp-block-jetpack-search-filter-wc-stock-status .jetpack-search-skeleton{animation:none}}.wp-block-jetpack-search-filter-wc-stock-status .jetpack-search-skeleton--filter-row{height:1rem;width:80%}.wp-block-jetpack-search-filter-wc-stock-status .jetpack-search-filter__list--skeleton{list-style:none;margin:0;padding:0}.wp-block-jetpack-search-filter-wc-stock-status .jetpack-search-filter__list--skeleton[hidden]{display:none}.wp-block-jetpack-search-filter-wc-stock-status .jetpack-search-filter__item--skeleton{padding:.25rem 0}.wp-block-jetpack-search-filter-wc-stock-status .jetpack-search-filter__title{color:inherit;font-size:.85rem;font-weight:700;letter-spacing:.05em;margin:0 0 .5rem;text-transform:uppercase}.wp-block-jetpack-search-filter-wc-stock-status .jetpack-search-filter__list{list-style:none;margin:0;padding:0}.wp-block-jetpack-search-filter-wc-stock-status .jetpack-search-filter__item{padding:.25rem 0}.wp-block-jetpack-search-filter-wc-stock-status .jetpack-search-filter__item label{align-items:center;cursor:pointer;display:flex;gap:.5rem}.wp-block-jetpack-search-filter-wc-stock-status .jetpack-search-filter__label{flex:1}.wp-block-jetpack-search-filter-wc-stock-status .jetpack-search-filter__count{background:color-mix(in sRGB,currentColor 12%,#0000);border-radius:10px;color:inherit;font-size:.8rem;padding:0 .4rem}.wp-block-jetpack-search-filter-wc-stock-status .jetpack-search-filter__count[hidden]{display:none}
@@ -0,0 +1 @@
<?php return array('dependencies' => array('jetpack-search/store'), 'version' => '90a2b63a3ad3254d3740', 'type' => 'module');
@@ -0,0 +1 @@
.jetpack-search-filters-popover{display:inline-block;position:relative}.jetpack-search-filters-popover__trigger{align-items:center;background:#0000;border:1px solid color-mix(in srgb,currentcolor 20%,#0000);border-radius:4px;color:inherit;cursor:pointer;display:inline-flex;gap:4px;height:2rem;justify-content:center;padding:0;position:relative;width:2rem}.jetpack-search-filters-popover__trigger:hover:not(:disabled),.jetpack-search-filters-popover__trigger[aria-expanded=true]{background:color-mix(in sRGB,currentColor 6%,#0000)}.jetpack-search-filters-popover__trigger:disabled{cursor:not-allowed;opacity:.4}.jetpack-search-filters-popover__badge{background:color-mix(in sRGB,currentColor 85%,#0000);border-radius:8px;box-sizing:border-box;font-size:11px;height:16px;inset-block-start:0;inset-inline-end:0;line-height:16px;min-width:16px;padding:0 4px;position:absolute;text-align:center;transform:translate(50%,-50%)}.jetpack-search-filters-popover__badge[hidden]{display:none}:dir(rtl) .jetpack-search-filters-popover__badge{transform:translate(-50%,-50%)}.jetpack-search-filters-popover__badge-count{color:#fff;color:var(--jp-search-page-surface,var(--wp--preset--color--background,#fff))}.jetpack-search-filters-popover .jetpack-search-filters-popover__panel{background-color:#fff;background-color:var(--jp-search-page-surface,var(--wp--preset--color--base,var(--wp--preset--color--background,#fff)));border:1px solid color-mix(in srgb,currentcolor 15%,#0000);border-radius:4px;box-shadow:0 4px 16px color-mix(in sRGB,currentColor 12%,#0000);color:inherit;color:var(--jp-search-page-ink,var(--wp--preset--color--contrast,var(--wp--preset--color--foreground,inherit)));display:none;flex-direction:column;font-size:1rem;gap:1rem;inset-block-start:calc(100% + 4px);inset-inline-end:0;max-width:min(360px,90vw);min-width:260px;padding:12px;position:absolute;z-index:20}.jetpack-search-filters-popover.is-popover-open .jetpack-search-filters-popover__panel{display:flex}.jetpack-search-filters-popover.is-editor-preview.is-popover-open .jetpack-search-filters-popover__panel{background:#0000;border:none;border-radius:0;box-shadow:none;color:inherit;display:flex;max-width:none;min-width:0;padding:0;position:static;z-index:auto}
@@ -0,0 +1 @@
import*as r from"jetpack-search/store";var e={4942(){},2653(r,e,t){r.exports=(r=>{var e={};return t.d(e,r),e})({})}},t={};function o(r){var a=t[r];if(void 0!==a)return a.exports;var p=t[r]={exports:{}};return e[r](p,p.exports,o),p.exports}o.d=(r,e)=>{for(var t in e)o.o(e,t)&&!o.o(r,t)&&Object.defineProperty(r,t,{enumerable:!0,get:e[t]})},o.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e);o(2653),o(4942);
@@ -0,0 +1 @@
.jetpack-search-filters-popover{display:inline-block;position:relative}.jetpack-search-filters-popover__trigger{align-items:center;background:#0000;border:1px solid color-mix(in srgb,currentcolor 20%,#0000);border-radius:4px;color:inherit;cursor:pointer;display:inline-flex;gap:4px;height:2rem;justify-content:center;padding:0;position:relative;width:2rem}.jetpack-search-filters-popover__trigger:hover:not(:disabled),.jetpack-search-filters-popover__trigger[aria-expanded=true]{background:color-mix(in sRGB,currentColor 6%,#0000)}.jetpack-search-filters-popover__trigger:disabled{cursor:not-allowed;opacity:.4}.jetpack-search-filters-popover__badge{background:color-mix(in sRGB,currentColor 85%,#0000);border-radius:8px;box-sizing:border-box;font-size:11px;height:16px;inset-block-start:0;inset-inline-end:0;line-height:16px;min-width:16px;padding:0 4px;position:absolute;text-align:center;transform:translate(-50%,-50%)}.jetpack-search-filters-popover__badge[hidden]{display:none}:dir(rtl) .jetpack-search-filters-popover__badge{transform:translate(50%,-50%)}.jetpack-search-filters-popover__badge-count{color:#fff;color:var(--jp-search-page-surface,var(--wp--preset--color--background,#fff))}.jetpack-search-filters-popover .jetpack-search-filters-popover__panel{background-color:#fff;background-color:var(--jp-search-page-surface,var(--wp--preset--color--base,var(--wp--preset--color--background,#fff)));border:1px solid color-mix(in srgb,currentcolor 15%,#0000);border-radius:4px;box-shadow:0 4px 16px color-mix(in sRGB,currentColor 12%,#0000);color:inherit;color:var(--jp-search-page-ink,var(--wp--preset--color--contrast,var(--wp--preset--color--foreground,inherit)));display:none;flex-direction:column;font-size:1rem;gap:1rem;inset-block-start:calc(100% + 4px);inset-inline-end:0;max-width:min(360px,90vw);min-width:260px;padding:12px;position:absolute;z-index:20}.jetpack-search-filters-popover.is-popover-open .jetpack-search-filters-popover__panel{display:flex}.jetpack-search-filters-popover.is-editor-preview.is-popover-open .jetpack-search-filters-popover__panel{background:#0000;border:none;border-radius:0;box-shadow:none;color:inherit;display:flex;max-width:none;min-width:0;padding:0;position:static;z-index:auto}
@@ -0,0 +1 @@
<?php return array('dependencies' => array('jetpack-search/store'), 'version' => '222c1ec1dc4a094ed4a9', 'type' => 'module');
@@ -0,0 +1 @@
.jetpack-search-filters-product{gap:1.5rem;gap:var(--wp--style--block-gap,1.5rem)}.jetpack-search-filters-product__empty{font-size:.875rem;line-height:1.5;margin:0;opacity:.6}.jetpack-search-filters-product__empty[hidden]{display:none}
@@ -0,0 +1 @@
import*as r from"jetpack-search/store";var e={7380(){},2653(r,e,t){r.exports=(r=>{var e={};return t.d(e,r),e})({})}},t={};function o(r){var a=t[r];if(void 0!==a)return a.exports;var p=t[r]={exports:{}};return e[r](p,p.exports,o),p.exports}o.d=(r,e)=>{for(var t in e)o.o(e,t)&&!o.o(r,t)&&Object.defineProperty(r,t,{enumerable:!0,get:e[t]})},o.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e);o(2653),o(7380);
@@ -0,0 +1 @@
.jetpack-search-filters-product{gap:1.5rem;gap:var(--wp--style--block-gap,1.5rem)}.jetpack-search-filters-product__empty{font-size:.875rem;line-height:1.5;margin:0;opacity:.6}.jetpack-search-filters-product__empty[hidden]{display:none}
@@ -0,0 +1 @@
<?php return array('dependencies' => array('jetpack-search/store'), 'version' => '81ee5e924cb62ea40bf6', 'type' => 'module');
@@ -0,0 +1 @@
.jetpack-search-filters{display:flex;flex-direction:column;gap:1rem;gap:var(--wp--style--block-gap,1rem)}.jetpack-search-filters__empty{font-size:.875rem;line-height:1.5;margin:0;opacity:.6}.jetpack-search-filters__empty[hidden]{display:none}
@@ -0,0 +1 @@
import*as r from"jetpack-search/store";var e={3350(){},2653(r,e,t){r.exports=(r=>{var e={};return t.d(e,r),e})({})}},t={};function o(r){var a=t[r];if(void 0!==a)return a.exports;var p=t[r]={exports:{}};return e[r](p,p.exports,o),p.exports}o.d=(r,e)=>{for(var t in e)o.o(e,t)&&!o.o(r,t)&&Object.defineProperty(r,t,{enumerable:!0,get:e[t]})},o.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e);o(2653),o(3350);
@@ -0,0 +1 @@
.jetpack-search-filters{display:flex;flex-direction:column;gap:1rem;gap:var(--wp--style--block-gap,1rem)}.jetpack-search-filters__empty{font-size:.875rem;line-height:1.5;margin:0;opacity:.6}.jetpack-search-filters__empty[hidden]{display:none}
@@ -0,0 +1 @@
<?php return array('dependencies' => array('jetpack-search/store'), 'version' => 'fe2797d7873d79aa85aa', 'type' => 'module');
@@ -0,0 +1 @@
import*as t from"jetpack-search/store";var e,r,n={5004(t,e,r){r.d(e,{bZ:()=>a});r(6241),r(9060),r(6336),r(2926),r(887),r(3326),r(3893),r(3338),r(5508);const n=new Set(["s","q","orderby","min_price","max_price"]),o="query_type_",i=new Set(["post_type"]);function a(t){const e=new Set;for(const r of t.keys())(n.has(r)||i.has(r)||r.startsWith(o)||r.endsWith("[]"))&&e.add(r);return Array.from(e)}},2653(t,e,r){t.exports=(t=>{var e={};return r.d(e,t),e})({})},3136(t,e,r){var n=r(2003),o=r(561),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a function")}},3422(t,e,r){var n=r(1656).has;t.exports=function(t){return n(t),t}},1183(t,e,r){var n=r(7369),o=r(3666),i=r(2931).f,a=n("unscopables"),c=Array.prototype;void 0===c[a]&&i(c,a,{configurable:!0,value:o(null)}),t.exports=function(t){c[a][t]=!0}},3773(t,e,r){var n=r(2480),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not an object")}},8419(t,e,r){var n=r(9351),o=r(1512),i=r(9496),a=function(t){return function(e,r,a){var c=n(e),u=i(c);if(0===u)return!t&&-1;var s,f=o(a,u);if(t&&r!=r){for(;u>f;)if((s=c[f++])!=s)return!0}else for(;u>f;f++)if((t||f in c)&&c[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},2625(t,e,r){var n=r(7910),o=r(5866),i=TypeError,a=Object.getOwnPropertyDescriptor,c=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=c?function(t,e){if(o(t)&&!a(t,"length").writable)throw new i("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},8278(t,e,r){var n=r(2322),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},1038(t,e,r){var n=r(867),o=r(8337),i=r(2457),a=r(2931);t.exports=function(t,e,r){for(var c=o(e),u=a.f,s=i.f,f=0;f<c.length;f++){var p=c[f];n(t,p)||r&&n(r,p)||u(t,p,s(e,p))}}},1781(t,e,r){var n=r(7910),o=r(2931),i=r(5762);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},5762(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},4386(t,e,r){var n=r(2003),o=r(2931),i=r(2609),a=r(9447);t.exports=function(t,e,r,c){c||(c={});var u=c.enumerable,s=void 0!==c.name?c.name:e;if(n(r)&&i(r,s,c),c.global)u?t[e]=r:a(e,r);else{try{c.unsafe?t[e]&&(u=!0):delete t[e]}catch(t){}u?t[e]=r:o.f(t,e,{value:r,enumerable:!1,configurable:!c.nonConfigurable,writable:!c.nonWritable})}return t}},9447(t,e,r){var n=r(642),o=Object.defineProperty;t.exports=function(t,e){try{o(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},7910(t,e,r){var n=r(6977);t.exports=!n(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},6337(t,e,r){var n=r(642),o=r(2480),i=n.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},3163(t){var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},2589(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},8093(t,e,r){var n=r(642).navigator,o=n&&n.userAgent;t.exports=o?String(o):""},4965(t,e,r){var n,o,i=r(642),a=r(8093),c=i.process,u=i.Deno,s=c&&c.versions||u&&u.version,f=s&&s.v8;f&&(o=(n=f.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},9948(t,e,r){var n=r(642),o=r(2457).f,i=r(1781),a=r(4386),c=r(9447),u=r(1038),s=r(4866);t.exports=function(t,e){var r,f,p,l,v,d=t.target,h=t.global,y=t.stat;if(r=h?n:y?n[d]||c(d,{}):n[d]&&n[d].prototype)for(f in e){if(l=e[f],p=t.dontCallGetSet?(v=o(r,f))&&v.value:r[f],!s(h?f:d+(y?".":"#")+f,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;u(l,p)}(t.sham||p&&p.sham)&&i(l,"sham",!0),a(r,f,l,t)}}},6977(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},1658(t,e,r){var n=r(6977);t.exports=!n(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})},7623(t,e,r){var n=r(1658),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},7016(t,e,r){var n=r(7910),o=r(867),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,c=o(i,"name"),u=c&&"something"===function(){}.name,s=c&&(!n||n&&a(i,"name").configurable);t.exports={EXISTS:c,PROPER:u,CONFIGURABLE:s}},1040(t,e,r){var n=r(2322),o=r(3136);t.exports=function(t,e,r){try{return n(o(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},2322(t,e,r){var n=r(1658),o=Function.prototype,i=o.call,a=n&&o.bind.bind(i,i);t.exports=n?a:function(t){return function(){return i.apply(t,arguments)}}},6297(t,e,r){var n=r(642),o=r(2003);t.exports=function(t,e){return arguments.length<2?(r=n[t],o(r)?r:void 0):n[t]&&n[t][e];var r}},4641(t){t.exports=function(t){return{iterator:t,next:t.next,done:!1}}},8396(t,e,r){var n=r(3136),o=r(9943);t.exports=function(t,e){var r=t[e];return o(r)?voLine truncated
@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => 'faa150cf7c893026035b', 'type' => 'module');
@@ -0,0 +1 @@
.wp-block-jetpack-search-powered-by{margin-block:1.5em;margin-block:var(--wp--style--block-gap,1.5em);text-align:center}.jetpack-search-powered-by__link{align-items:center;color:inherit;display:inline-flex;font-size:.7em;font-size:var(--wp--preset--font-size--small,.7em);gap:.5em;line-height:1;text-decoration:none}.jetpack-search-powered-by__logo{display:inline-flex;flex:0 0 auto;height:1em;width:1em}.jetpack-search-powered-by__logo svg{display:block;height:100%;width:100%}.jetpack-search-powered-by__text{font-weight:500}
@@ -0,0 +1 @@
var r={9133(){}},t={};(function e(o){var n=t[o];if(void 0!==n)return n.exports;var p=t[o]={exports:{}};return r[o](p,p.exports,e),p.exports})(9133);
@@ -0,0 +1 @@
.wp-block-jetpack-search-powered-by{margin-block:1.5em;margin-block:var(--wp--style--block-gap,1.5em);text-align:center}.jetpack-search-powered-by__link{align-items:center;color:inherit;display:inline-flex;font-size:.7em;font-size:var(--wp--preset--font-size--small,.7em);gap:.5em;line-height:1;text-decoration:none}.jetpack-search-powered-by__logo{display:inline-flex;flex:0 0 auto;height:1em;width:1em}.jetpack-search-powered-by__logo svg{display:block;height:100%;width:100%}.jetpack-search-powered-by__text{font-weight:500}
@@ -0,0 +1 @@
<?php return array('dependencies' => array('jetpack-search/store'), 'version' => '7fcc7afb306ea186429a', 'type' => 'module');
@@ -0,0 +1 @@
.wp-block-jetpack-search-results-count{color:inherit;font-size:.85rem;margin:0;opacity:.7}
@@ -0,0 +1 @@
import*as r from"jetpack-search/store";var e={633(){},2653(r,e,t){r.exports=(r=>{var e={};return t.d(e,r),e})({})}},t={};function o(r){var a=t[r];if(void 0!==a)return a.exports;var p=t[r]={exports:{}};return e[r](p,p.exports,o),p.exports}o.d=(r,e)=>{for(var t in e)o.o(e,t)&&!o.o(r,t)&&Object.defineProperty(r,t,{enumerable:!0,get:e[t]})},o.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e);o(2653),o(633);
@@ -0,0 +1 @@
.wp-block-jetpack-search-results-count{color:inherit;font-size:.85rem;margin:0;opacity:.7}
@@ -0,0 +1 @@
<?php return array('dependencies' => array('jetpack-search/store'), 'version' => '258390224ecbb6497b34', 'type' => 'module');
@@ -0,0 +1 @@
@keyframes jetpack-search-skeleton-shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.wp-block-jetpack-search-results-list .jetpack-search-skeleton{animation:jetpack-search-skeleton-shimmer 1.5s linear infinite;background:color-mix(in sRGB,currentColor 8%,#0000) linear-gradient(90deg,#0000,color-mix(in sRGB,currentColor 6%,#0000) 50%,#0000) repeat;background-size:200% 100%;border-radius:4px;display:block}@media(prefers-reduced-motion:reduce){.wp-block-jetpack-search-results-list .jetpack-search-skeleton{animation:none}}.wp-block-jetpack-search-results-list .jetpack-search-skeleton--title{height:1.5rem;width:65%}.wp-block-jetpack-search-results-list .jetpack-search-skeleton--path{height:.8125rem;margin-top:.5rem;width:40%}.wp-block-jetpack-search-results-list .jetpack-search-skeleton--meta{height:.9rem;margin-top:1rem;width:25%}.wp-block-jetpack-search-results-list .jetpack-search-skeleton--image{aspect-ratio:16/10;flex:0 0 auto;max-width:30%;width:200px}.wp-block-jetpack-search-results-list .jetpack-search-results__item--skeleton[hidden]{display:none}.wp-block-jetpack-search-results-list .jetpack-search-results__list{list-style:none;margin:0;padding:0}.wp-block-jetpack-search-results-list :is(.jetpack-search-results__error,.jetpack-search-results__no-results){align-items:center;display:flex;flex-direction:column;gap:.25rem;justify-content:center;margin:0;min-height:12rem;opacity:.6;padding:2rem 1rem;text-align:center}.wp-block-jetpack-search-results-list :is(.jetpack-search-results__error[hidden],.jetpack-search-results__no-results[hidden]){display:none}.wp-block-jetpack-search-results-list :is(.jetpack-search-results__error,.jetpack-search-results__no-results) p{font-size:.875rem;line-height:1.5;margin:0;max-width:36ch}.wp-block-jetpack-search-results-list :is(.jetpack-search-results__error,.jetpack-search-results__no-results) p[hidden]{display:none}.wp-block-jetpack-search-results-list .jetpack-search-results__item{align-items:flex-start;display:flex;gap:1.5rem;padding:1.5rem 0}.wp-block-jetpack-search-results-list .jetpack-search-results__copy{flex:1 1 auto;min-width:0}.wp-block-jetpack-search-results-list .jetpack-search-results__title{font-size:1.5rem;font-weight:700;line-height:1.25;margin:0 0 .25rem}.wp-block-jetpack-search-results-list .jetpack-search-results__title-link{color:inherit;text-decoration:none}.wp-block-jetpack-search-results-list :is(.jetpack-search-results__title-link:focus-visible,.jetpack-search-results__title-link:hover){text-decoration:underline}.wp-block-jetpack-search-results-list .jetpack-search-results__title-link span[hidden]{display:none}.wp-block-jetpack-search-results-list .jetpack-search-results__highlight{background:color-mix(in sRGB,currentColor 18%,#0000);background:var(--jetpack-search-highlight-background,color-mix(in sRGB,currentColor 18%,#0000));font-weight:700}.wp-block-jetpack-search-results-list .jetpack-search-results__path{color:inherit;font-size:.8125rem;line-height:1.4;margin-top:.25rem;opacity:.6}.wp-block-jetpack-search-results-list .jetpack-search-results__path[hidden]{display:none}.wp-block-jetpack-search-results-list .jetpack-search-results__content{color:inherit;display:-webkit-box;font-size:1rem;line-height:1.55;margin-top:.4rem;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden}.wp-block-jetpack-search-results-list .jetpack-search-results__content[hidden]{display:none}.wp-block-jetpack-search-results-list .jetpack-search-results__meta{align-items:baseline;color:inherit;display:flex;flex-wrap:wrap;font-size:.9rem;gap:.5rem;margin-top:1rem;opacity:.6}.wp-block-jetpack-search-results-list :is(.jetpack-search-results__author,.jetpack-search-results__date){color:inherit}.wp-block-jetpack-search-results-list .jetpack-search-results__meta-separator[hidden],.wp-block-jetpack-search-results-list :is(.jetpack-search-results__author[hidden],.jetpack-search-results__date[hidden]){display:none}.wp-block-jetpack-search-results-list .jetpack-search-results__image-link{aspect-ratio:16/10;background-color:color-mix(in sRGB,currentColor 8%,#0000);border-radius:4px;display:block;flex:0 0 auto;max-width:30%;overflow:hidden;width:200px}.wp-block-jetpack-search-results-list .jetpack-search-results__image-link[hidden]{display:none}.wp-block-jetpack-search-results-list .jetpack-search-results__image{aspect-ratio:16/10;display:block;height:100%;object-fit:cover;width:100%}.jetpack-search-results--compact .jetpack-search-results__list{display:flex;flex-direction:column;gap:.25rem;list-style:none;margin:0;padding:0}.jetpack-search-results--compact .jetpack-search-results__item{border-color:currentcolor color-mix(in sRGB,currentColor 15%,#0000) color-mix(in sRGB,currentColor 15%,#0000);border-top:1px solid color-mix(in srgb,currentcolor 15%,#0000);padding:.5rem 0}.jetpack-search-results--compact .jetpack-search-results__item:first-child{border-top:none}.jetpack-search-results--compact .jetpack-search-results__copy{align-items:baselLine truncated
@@ -0,0 +1 @@
import*as r from"jetpack-search/store";var e={3586(){},2653(r,e,t){r.exports=(r=>{var e={};return t.d(e,r),e})({})}},t={};function o(r){var a=t[r];if(void 0!==a)return a.exports;var p=t[r]={exports:{}};return e[r](p,p.exports,o),p.exports}o.d=(r,e)=>{for(var t in e)o.o(e,t)&&!o.o(r,t)&&Object.defineProperty(r,t,{enumerable:!0,get:e[t]})},o.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e);o(2653),o(3586);
@@ -0,0 +1 @@
@keyframes jetpack-search-skeleton-shimmer{0%{background-position:300% 0}to{background-position:-100% 0}}.wp-block-jetpack-search-results-list .jetpack-search-skeleton{animation:jetpack-search-skeleton-shimmer 1.5s linear infinite;background:color-mix(in sRGB,currentColor 8%,#0000) linear-gradient(-90deg,#0000,color-mix(in sRGB,currentColor 6%,#0000) 50%,#0000) repeat;background-size:200% 100%;border-radius:4px;display:block}@media(prefers-reduced-motion:reduce){.wp-block-jetpack-search-results-list .jetpack-search-skeleton{animation:none}}.wp-block-jetpack-search-results-list .jetpack-search-skeleton--title{height:1.5rem;width:65%}.wp-block-jetpack-search-results-list .jetpack-search-skeleton--path{height:.8125rem;margin-top:.5rem;width:40%}.wp-block-jetpack-search-results-list .jetpack-search-skeleton--meta{height:.9rem;margin-top:1rem;width:25%}.wp-block-jetpack-search-results-list .jetpack-search-skeleton--image{aspect-ratio:16/10;flex:0 0 auto;max-width:30%;width:200px}.wp-block-jetpack-search-results-list .jetpack-search-results__item--skeleton[hidden]{display:none}.wp-block-jetpack-search-results-list .jetpack-search-results__list{list-style:none;margin:0;padding:0}.wp-block-jetpack-search-results-list :is(.jetpack-search-results__error,.jetpack-search-results__no-results){align-items:center;display:flex;flex-direction:column;gap:.25rem;justify-content:center;margin:0;min-height:12rem;opacity:.6;padding:2rem 1rem;text-align:center}.wp-block-jetpack-search-results-list :is(.jetpack-search-results__error[hidden],.jetpack-search-results__no-results[hidden]){display:none}.wp-block-jetpack-search-results-list :is(.jetpack-search-results__error,.jetpack-search-results__no-results) p{font-size:.875rem;line-height:1.5;margin:0;max-width:36ch}.wp-block-jetpack-search-results-list :is(.jetpack-search-results__error,.jetpack-search-results__no-results) p[hidden]{display:none}.wp-block-jetpack-search-results-list .jetpack-search-results__item{align-items:flex-start;display:flex;gap:1.5rem;padding:1.5rem 0}.wp-block-jetpack-search-results-list .jetpack-search-results__copy{flex:1 1 auto;min-width:0}.wp-block-jetpack-search-results-list .jetpack-search-results__title{font-size:1.5rem;font-weight:700;line-height:1.25;margin:0 0 .25rem}.wp-block-jetpack-search-results-list .jetpack-search-results__title-link{color:inherit;text-decoration:none}.wp-block-jetpack-search-results-list :is(.jetpack-search-results__title-link:focus-visible,.jetpack-search-results__title-link:hover){text-decoration:underline}.wp-block-jetpack-search-results-list .jetpack-search-results__title-link span[hidden]{display:none}.wp-block-jetpack-search-results-list .jetpack-search-results__highlight{background:color-mix(in sRGB,currentColor 18%,#0000);background:var(--jetpack-search-highlight-background,color-mix(in sRGB,currentColor 18%,#0000));font-weight:700}.wp-block-jetpack-search-results-list .jetpack-search-results__path{color:inherit;font-size:.8125rem;line-height:1.4;margin-top:.25rem;opacity:.6}.wp-block-jetpack-search-results-list .jetpack-search-results__path[hidden]{display:none}.wp-block-jetpack-search-results-list .jetpack-search-results__content{color:inherit;display:-webkit-box;font-size:1rem;line-height:1.55;margin-top:.4rem;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden}.wp-block-jetpack-search-results-list .jetpack-search-results__content[hidden]{display:none}.wp-block-jetpack-search-results-list .jetpack-search-results__meta{align-items:baseline;color:inherit;display:flex;flex-wrap:wrap;font-size:.9rem;gap:.5rem;margin-top:1rem;opacity:.6}.wp-block-jetpack-search-results-list :is(.jetpack-search-results__author,.jetpack-search-results__date){color:inherit}.wp-block-jetpack-search-results-list .jetpack-search-results__meta-separator[hidden],.wp-block-jetpack-search-results-list :is(.jetpack-search-results__author[hidden],.jetpack-search-results__date[hidden]){display:none}.wp-block-jetpack-search-results-list .jetpack-search-results__image-link{aspect-ratio:16/10;background-color:color-mix(in sRGB,currentColor 8%,#0000);border-radius:4px;display:block;flex:0 0 auto;max-width:30%;overflow:hidden;width:200px}.wp-block-jetpack-search-results-list .jetpack-search-results__image-link[hidden]{display:none}.wp-block-jetpack-search-results-list .jetpack-search-results__image{aspect-ratio:16/10;display:block;height:100%;object-fit:cover;width:100%}.jetpack-search-results--compact .jetpack-search-results__list{display:flex;flex-direction:column;gap:.25rem;list-style:none;margin:0;padding:0}.jetpack-search-results--compact .jetpack-search-results__item{border-color:currentcolor color-mix(in sRGB,currentColor 15%,#0000) color-mix(in sRGB,currentColor 15%,#0000);border-top:1px solid color-mix(in srgb,currentcolor 15%,#0000);padding:.5rem 0}.jetpack-search-results--compact .jetpack-search-results__item:first-child{border-top:none}.jetpack-search-results--compact .jetpack-search-results__copy{align-items:baseLine truncated
@@ -0,0 +1 @@
<?php return array('dependencies' => array('jetpack-search/store'), 'version' => '0a78e4a666c554476b34', 'type' => 'module');
@@ -0,0 +1 @@
.wp-block-jetpack-search-results-load-more{padding-block:1rem;padding-block:var(--wp--style--block-gap,1rem);text-align:center}.wp-block-jetpack-search-results-load-more[hidden]{display:none}.wp-block-jetpack-search-results-load-more .jetpack-search-load-more__button{cursor:pointer}.wp-block-jetpack-search-results-load-more .jetpack-search-load-more__button[hidden]{display:none}.wp-block-jetpack-search-results-load-more .jetpack-search-load-more__button:disabled{cursor:not-allowed;opacity:.5}.wp-block-jetpack-search-results-load-more.is-style-compact .jetpack-search-load-more__button{font-size:.8125rem;line-height:1.5;min-width:0;padding:.25em .75em;width:auto}.wp-block-jetpack-search-results-load-more .jetpack-search-load-more__spinner{color:inherit;display:block;margin-block:.5rem;margin-block:var(--wp--style--block-gap,.5rem);margin-inline:auto;opacity:.7}.wp-block-jetpack-search-results-load-more .jetpack-search-load-more__spinner[hidden]{display:none}.wp-block-jetpack-search-results-load-more .jetpack-search-load-more__sentinel{display:block;height:1px;width:100%}
@@ -0,0 +1 @@
import*as r from"jetpack-search/store";var e={792(){},2653(r,e,t){r.exports=(r=>{var e={};return t.d(e,r),e})({})}},t={};function o(r){var a=t[r];if(void 0!==a)return a.exports;var p=t[r]={exports:{}};return e[r](p,p.exports,o),p.exports}o.d=(r,e)=>{for(var t in e)o.o(e,t)&&!o.o(r,t)&&Object.defineProperty(r,t,{enumerable:!0,get:e[t]})},o.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e);o(2653),o(792);
@@ -0,0 +1 @@
.wp-block-jetpack-search-results-load-more{padding-block:1rem;padding-block:var(--wp--style--block-gap,1rem);text-align:center}.wp-block-jetpack-search-results-load-more[hidden]{display:none}.wp-block-jetpack-search-results-load-more .jetpack-search-load-more__button{cursor:pointer}.wp-block-jetpack-search-results-load-more .jetpack-search-load-more__button[hidden]{display:none}.wp-block-jetpack-search-results-load-more .jetpack-search-load-more__button:disabled{cursor:not-allowed;opacity:.5}.wp-block-jetpack-search-results-load-more.is-style-compact .jetpack-search-load-more__button{font-size:.8125rem;line-height:1.5;min-width:0;padding:.25em .75em;width:auto}.wp-block-jetpack-search-results-load-more .jetpack-search-load-more__spinner{color:inherit;display:block;margin-block:.5rem;margin-block:var(--wp--style--block-gap,.5rem);margin-inline:auto;opacity:.7}.wp-block-jetpack-search-results-load-more .jetpack-search-load-more__spinner[hidden]{display:none}.wp-block-jetpack-search-results-load-more .jetpack-search-load-more__sentinel{display:block;height:1px;width:100%}
@@ -0,0 +1 @@
<?php return array('dependencies' => array('@wordpress/interactivity', 'jetpack-search/store'), 'version' => '29e7b90a2053a89180c2', 'type' => 'module');
@@ -0,0 +1 @@
.wp-block-jetpack-search-results-sort{align-items:center;display:flex;gap:.5rem;margin-inline-start:auto}.wp-block-jetpack-search-results-sort label{color:inherit;font-size:.9rem;opacity:.8}.wp-block-jetpack-search-results-sort select{appearance:auto;border:1px solid color-mix(in srgb,currentcolor 20%,#0000);border-radius:4px;cursor:pointer;padding:.2rem .5rem}.wp-block-jetpack-search-results-sort select,.wp-block-jetpack-search-results-sort select option{background-color:#fff;background-color:var(--jp-search-page-surface,var(--wp--preset--color--base,var(--wp--preset--color--background,#fff)));color:inherit;color:var(--jp-search-page-ink,var(--wp--preset--color--contrast,var(--wp--preset--color--foreground,inherit)))}.wp-block-jetpack-search-results-sort .jetpack-search-results-sort__radio-group{align-items:center;border:0;display:flex;flex-wrap:wrap;margin:0;padding:0}.wp-block-jetpack-search-results-sort .jetpack-search-results-sort__radio-group legend{border:0;clip-path:inset(50%);height:1px;margin:0;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.wp-block-jetpack-search-results-sort .jetpack-search-results-sort__radio-item{align-items:center;display:flex;font-size:.9rem;position:relative}.wp-block-jetpack-search-results-sort .jetpack-search-results-sort__radio-item input[type=radio]{appearance:none;border:0;clip-path:inset(50%);height:1px;margin:0;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.wp-block-jetpack-search-results-sort .jetpack-search-results-sort__radio-item label{cursor:pointer}.wp-block-jetpack-search-results-sort .jetpack-search-results-sort__radio-item input[type=radio]:checked+label{font-weight:600;opacity:1}.wp-block-jetpack-search-results-sort .jetpack-search-results-sort__radio-item input[type=radio]:focus-visible+label{outline:2px solid currentColor;outline-offset:2px}.wp-block-jetpack-search-results-sort .jetpack-search-results-sort__radio-item:not(:last-child):after{content:"•"/"";margin-block:0;margin-inline:.5rem;opacity:.5}.jetpack-search-results-sort--popover{display:inline-block;position:relative}.jetpack-search-results-sort--popover .jetpack-search-results-sort__trigger{align-items:center;background:#0000;border:1px solid color-mix(in srgb,currentcolor 20%,#0000);border-radius:4px;color:inherit;cursor:pointer;display:inline-flex;height:2rem;justify-content:center;padding:0;width:2rem}.jetpack-search-results-sort--popover .jetpack-search-results-sort__trigger:hover:not(:disabled),.jetpack-search-results-sort--popover .jetpack-search-results-sort__trigger[aria-expanded=true]{background:color-mix(in sRGB,currentColor 6%,#0000)}.jetpack-search-results-sort--popover .jetpack-search-results-sort__trigger:disabled{cursor:not-allowed;opacity:.4}.jetpack-search-results-sort--popover .jetpack-search-results-sort__menu{background-color:#fff;background-color:var(--jp-search-page-surface,var(--wp--preset--color--base,var(--wp--preset--color--background,#fff)));border:1px solid color-mix(in srgb,currentcolor 15%,#0000);border-radius:4px;box-shadow:0 4px 16px color-mix(in sRGB,currentColor 12%,#0000);color:inherit;color:var(--jp-search-page-ink,var(--wp--preset--color--contrast,var(--wp--preset--color--foreground,inherit)));display:flex;flex-direction:column;font-size:1rem;inset-block-start:calc(100% + 4px);inset-inline-end:0;min-width:160px;padding:4px;position:absolute;z-index:20}.jetpack-search-results-sort--popover .jetpack-search-results-sort__menu[hidden]{display:none}.jetpack-search-results-sort--popover .jetpack-search-results-sort__menu-item{appearance:none;background:#0000;border:none;border-radius:2px;color:inherit;cursor:pointer;font:inherit;padding:6px 8px;text-align:start}.jetpack-search-results-sort--popover :is(.jetpack-search-results-sort__menu-item:focus-visible,.jetpack-search-results-sort__menu-item:hover){background:color-mix(in sRGB,currentColor 8%,#0000)}.jetpack-search-results-sort--popover .jetpack-search-results-sort__menu-item[aria-checked=true]:before{content:"✓";margin-inline-end:6px}
@@ -0,0 +1 @@
import*as t from"@wordpress/interactivity";import*as e from"jetpack-search/store";var r={6462(){},2833(e,r,o){e.exports=(t=>{var e={};return o.d(e,t),e})({getContext:()=>t.getContext,getElement:()=>t.getElement,store:()=>t.store})},2653(t,e,r){t.exports=(t=>{var e={};return r.d(e,t),e})({})}},o={};function s(t){var e=o[t];if(void 0!==e)return e.exports;var n=o[t]={exports:{}};return r[t](n,n.exports,s),n.exports}s.d=(t,e)=>{for(var r in e)s.o(e,r)&&!s.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},s.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var n=s(2833);s(2653),s(6462);const a="jetpack-search";(0,n.store)(a,{state:{get isSortOptionSelected(){const{state:t}=(0,n.store)(a),{sortKey:e}=(0,n.getContext)();return t.sortOrder===e},get sortMenuItemTabIndex(){const{state:t}=(0,n.store)(a),{sortKey:e}=(0,n.getContext)();return(t.sortMenuFocusedKey??t.sortOrder)===e?"0":"-1"}},callbacks:{focusSelectedSortMenuItem(){const{state:t}=(0,n.store)(a);if(!t.isSortPopoverOpen||null===t.sortMenuFocusedKey)return;const{sortKey:e}=(0,n.getContext)();if(e!==t.sortMenuFocusedKey)return;const{ref:r}=(0,n.getElement)();r?.focus?.()}},actions:{*onSortChange(t){const{state:e,actions:r}=(0,n.store)(a);e.sortOrder=t.target.value,yield r.search()}}});
@@ -0,0 +1 @@
.wp-block-jetpack-search-results-sort{align-items:center;display:flex;gap:.5rem;margin-inline-start:auto}.wp-block-jetpack-search-results-sort label{color:inherit;font-size:.9rem;opacity:.8}.wp-block-jetpack-search-results-sort select{appearance:auto;border:1px solid color-mix(in srgb,currentcolor 20%,#0000);border-radius:4px;cursor:pointer;padding:.2rem .5rem}.wp-block-jetpack-search-results-sort select,.wp-block-jetpack-search-results-sort select option{background-color:#fff;background-color:var(--jp-search-page-surface,var(--wp--preset--color--base,var(--wp--preset--color--background,#fff)));color:inherit;color:var(--jp-search-page-ink,var(--wp--preset--color--contrast,var(--wp--preset--color--foreground,inherit)))}.wp-block-jetpack-search-results-sort .jetpack-search-results-sort__radio-group{align-items:center;border:0;display:flex;flex-wrap:wrap;margin:0;padding:0}.wp-block-jetpack-search-results-sort .jetpack-search-results-sort__radio-group legend{border:0;clip-path:inset(50%);height:1px;margin:0;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.wp-block-jetpack-search-results-sort .jetpack-search-results-sort__radio-item{align-items:center;display:flex;font-size:.9rem;position:relative}.wp-block-jetpack-search-results-sort .jetpack-search-results-sort__radio-item input[type=radio]{appearance:none;border:0;clip-path:inset(50%);height:1px;margin:0;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.wp-block-jetpack-search-results-sort .jetpack-search-results-sort__radio-item label{cursor:pointer}.wp-block-jetpack-search-results-sort .jetpack-search-results-sort__radio-item input[type=radio]:checked+label{font-weight:600;opacity:1}.wp-block-jetpack-search-results-sort .jetpack-search-results-sort__radio-item input[type=radio]:focus-visible+label{outline:2px solid currentColor;outline-offset:2px}.wp-block-jetpack-search-results-sort .jetpack-search-results-sort__radio-item:not(:last-child):after{content:"•"/"";margin-block:0;margin-inline:.5rem;opacity:.5}.jetpack-search-results-sort--popover{display:inline-block;position:relative}.jetpack-search-results-sort--popover .jetpack-search-results-sort__trigger{align-items:center;background:#0000;border:1px solid color-mix(in srgb,currentcolor 20%,#0000);border-radius:4px;color:inherit;cursor:pointer;display:inline-flex;height:2rem;justify-content:center;padding:0;width:2rem}.jetpack-search-results-sort--popover .jetpack-search-results-sort__trigger:hover:not(:disabled),.jetpack-search-results-sort--popover .jetpack-search-results-sort__trigger[aria-expanded=true]{background:color-mix(in sRGB,currentColor 6%,#0000)}.jetpack-search-results-sort--popover .jetpack-search-results-sort__trigger:disabled{cursor:not-allowed;opacity:.4}.jetpack-search-results-sort--popover .jetpack-search-results-sort__menu{background-color:#fff;background-color:var(--jp-search-page-surface,var(--wp--preset--color--base,var(--wp--preset--color--background,#fff)));border:1px solid color-mix(in srgb,currentcolor 15%,#0000);border-radius:4px;box-shadow:0 4px 16px color-mix(in sRGB,currentColor 12%,#0000);color:inherit;color:var(--jp-search-page-ink,var(--wp--preset--color--contrast,var(--wp--preset--color--foreground,inherit)));display:flex;flex-direction:column;font-size:1rem;inset-block-start:calc(100% + 4px);inset-inline-end:0;min-width:160px;padding:4px;position:absolute;z-index:20}.jetpack-search-results-sort--popover .jetpack-search-results-sort__menu[hidden]{display:none}.jetpack-search-results-sort--popover .jetpack-search-results-sort__menu-item{appearance:none;background:#0000;border:none;border-radius:2px;color:inherit;cursor:pointer;font:inherit;padding:6px 8px;text-align:start}.jetpack-search-results-sort--popover :is(.jetpack-search-results-sort__menu-item:focus-visible,.jetpack-search-results-sort__menu-item:hover){background:color-mix(in sRGB,currentColor 8%,#0000)}.jetpack-search-results-sort--popover .jetpack-search-results-sort__menu-item[aria-checked=true]:before{content:"✓";margin-inline-end:6px}
@@ -0,0 +1 @@
<?php return array('dependencies' => array('@wordpress/interactivity', 'jetpack-search/store'), 'version' => '5f9701bcad75ba04af42', 'type' => 'module');
Loaded 100 of 17470 files, more files were not shown because too many files have changed in this diff. Show more