diff --git a/assets/build/utilities.css b/assets/build/utilities.css index 8b1bdcd..9223a5a 100644 --- a/assets/build/utilities.css +++ b/assets/build/utilities.css @@ -1,4 +1,7 @@ .nfd-relative{position:relative!important}.-nfd-bottom-1{bottom:-.25rem!important}.-nfd-top-0\.5{top:-.125rem!important}.-nfd-top-1{top:-.25rem!important}.nfd-top-10{top:2.5rem!important}.nfd-col-start-1{grid-column-start:1!important}.nfd-col-start-2{grid-column-start:2!important}.nfd-col-start-3{grid-column-start:3!important}.nfd-col-start-4{grid-column-start:4!important}.nfd-col-start-5{grid-column-start:5!important}.nfd-col-start-6{grid-column-start:6!important}.nfd-col-start-7{grid-column-start:7!important}.nfd-col-end-10{grid-column-end:10!important}.nfd-col-end-11{grid-column-end:11!important}.nfd-col-end-12{grid-column-end:12!important}.nfd-col-end-13{grid-column-end:13!important}.nfd-col-end-7{grid-column-end:7!important}.nfd-col-end-8{grid-column-end:8!important}.nfd-col-end-9{grid-column-end:9!important}.nfd-row-start-1{grid-row-start:1!important}.-nfd-mx-2:not([style*=margin]){margin-left:-.5rem!important;margin-right:-.5rem!important}.nfd-my-0:not([style*=margin]){margin-bottom:0!important;margin-top:0!important}.nfd-mb-8:not([style*=margin]){margin-bottom:2rem!important}.nfd-mt-8:not([style*=margin]){margin-top:2rem!important}.nfd-mt-\[-100px\]:not([style*=margin]){margin-top:-100px!important}.nfd-grid{display:grid!important}.nfd-h-full{height:100%!important}.nfd-w-full{width:100%!important}.nfd-shrink-0{flex-shrink:0!important}.nfd-grow{flex-grow:1!important}.nfd-grid-cols-11{grid-template-columns:repeat(11,minmax(0,1fr))!important}.nfd-grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))!important}.nfd-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.nfd-grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))!important}.nfd-items-center{align-items:center!important}.nfd-gap-y-10{row-gap:2.5rem!important}.nfd-overflow-hidden{overflow:hidden!important}.nfd-border-b{border-bottom-width:1px!important}.nfd-p-0:not([style*=padding]){padding:0!important}.nfd-p-10:not([style*=padding]){padding:2.5rem!important}.nfd-p-2:not([style*=padding]){padding:.5rem!important}.nfd-p-4:not([style*=padding]){padding:1rem!important}.nfd-p-8:not([style*=padding]){padding:2rem!important}.nfd-px-0:not([style*=padding]){padding-left:0!important;padding-right:0!important}.nfd-px-4:not([style*=padding]){padding-left:1rem!important;padding-right:1rem!important}.nfd-px-8:not([style*=padding]){padding-left:2rem!important;padding-right:2rem!important}.nfd-py-0:not([style*=padding]){padding-bottom:0!important;padding-top:0!important}.nfd-py-4:not([style*=padding]){padding-bottom:1rem!important;padding-top:1rem!important}.nfd-py-5:not([style*=padding]){padding-bottom:1.25rem!important;padding-top:1.25rem!important}.nfd-pt-0:not([style*=padding]){padding-top:0!important}.nfd-text-left{text-align:left!important}.nfd-wc-products{self-align:flex-start!important;flex-grow:0!important}.nfd-wc-products>ul{row-gap:calc(var(--wndb--gap--2xl)*var(--wndb--gap--scale-factor))!important}.nfd-wc-products .wc-block-grid__product-image{overflow:hidden!important}.nfd-wc-products .wc-block-grid__product-image img{transition:transform .6s ease-in-out!important}.nfd-wc-products .wc-block-grid__product-image img:hover{transform:scale(1.1)!important}.nfd-wc-products .wc-block-components-product-sale-badge{-webkit-backdrop-filter:blur(4px)!important;backdrop-filter:blur(4px)!important;background:hsla(0,0%,100%,.5)!important;border:1px solid hsla(0,0%,100%,.2)!important;border-radius:999px!important;font-size:.8125rem!important;font-weight:700!important;margin:6px!important;padding:4px 12px!important}.nfd-wc-products .wc-block-components-product-sale-badge>span{background:transparent!important}.nfd-wc-products .wc-block-components-product-price{color:inherit!important}.nfd-wc-search .wp-block-search__inside-wrapper{background-color:var(--wndb--color--borders)!important;border:2px solid var(--wndb--color--subtle)!important;border-radius:999px!important;max-width:100%!important;padding:0!important;width:25rem!important}.nfd-wc-search .wp-block-search__inside-wrapper input[type=search]{background:none!important;border:none!important;border-bottom-left-radius:999px!important;border-top-left-radius:999px!important;color:var(--wndb--color--text--contrast)!important;font-size:1.25rem!important;font-weight:500!important;min-height:3.75rem!important;padding-inline:24px!important}.nfd-wc-search .wp-block-search__inside-wrapper:has(button:focus),.nfd-wc-search .wp-block-search__inside-wrapper:has(input[type=search]:focus){outline:2px solid var(--wndb--color--text--contrast)!important;outline-offset:2px!important}.nfd-wc-search .wp-block-search__button{aspect-ratio:1/1!important;background:var(--wndb-gray-800)!important;border-radius:999px!important;height:100%!important;margin-left:0!important;margin-right:2px!important;margin-top:2px!important}.nfd-wc-search .wp-block-search__button:focus,.nfd-wc-search .wp-block-search__button:hover{background:var(--wndb-gray-900)!important;filter:none!important;outline:2px solid var(--wndb-gray-900)!important;outline-offset:2px!important}.nfd-wc-search .wp-block-search__inside-wrapper input[type=search]::-moz-placeholder{color:var(--wndb--color--text--faded)!important}.nfd-wc-search .wp-block-search__inside-wrapper input[type=search]::placeholder{color:var(--wndb--color--text--faded)!important}:root{--wndb-mask-color:rgba(0,0,0,.15);--wndb-mask-position:50% 50% at 50% 20%;--wndb-mask-opacity:0.35}[class*=nfd-bg-effect]{isolation:isolate!important;position:relative!important}.nfd-bg-effect-position-center{--wndb-mask-position:50% 50% at 50% 50%}[class*=nfd-bg-effect]:after{content:""!important;inset:0!important;-webkit-mask-image:radial-gradient(ellipse var(--wndb-mask-position),#000 70%,rgba(0,0,0,.3) 100%)!important;mask-image:radial-gradient(ellipse var(--wndb-mask-position),#000 70%,rgba(0,0,0,.3) 100%)!important;opacity:var(--wndb-mask-opacity)!important;pointer-events:none!important;position:absolute!important;z-index:-1!important}.nfd-bg-effect-dots:after{--wndb-mask-opacity:1;background:radial-gradient(var(--wndb-mask-color) 1px,transparent 1px)!important;background-size:20px 20px!important}.nfd-bg-effect-grid:after{background-image:linear-gradient(to right,var(--wndb-mask-color) 1px,transparent 1px),linear-gradient(to bottom,var(--wndb-mask-color) 1px,transparent 1px)!important;background-size:50px 50px!important}.nfd-bg-effect-grid-perspective{perspective:1000px!important}.nfd-bg-effect-grid-perspective:after{--wndb-mask-opacity:0.6;background-size:100px 100px!important;transform:rotateX(-60deg) translateZ(0)!important;transform-origin:top!important;transform-style:preserve-3d!important}.nfd-bg-effect-grid-2:after,.nfd-bg-effect-grid-perspective:after{background-image:linear-gradient(to right,var(--wndb-mask-color) 1px,transparent 1px),linear-gradient(to bottom,var(--wndb-mask-color) 1px,transparent 1px)!important}.nfd-bg-effect-grid-2:after{background-size:14px 32px!important}.nfd-bg-effect-grid-3{overflow:hidden!important}.nfd-bg-effect-grid-3:after{background-image:linear-gradient(to right,var(--wndb-mask-color) 1px,transparent 1px),linear-gradient(to bottom,var(--wndb-mask-color) 1px,transparent 1px)!important;background-size:32px 80px!important;right:-40%!important;top:-20%!important;transform:scale(1.5) skew(-30deg,30deg)!important}.nfd-bg-effect-lines:after{--wndb-mask-opacity:0.4;background-image:linear-gradient(to right,var(--wndb-mask-color) 1px,transparent 1px)!important;background-size:48px!important}.nfd-bg-effect-lines-2{--wndb-mask-opacity:0.45;overflow:hidden!important;perspective:1000px!important}.nfd-bg-effect-lines-2:after{background-image:linear-gradient(to right,var(--wndb-mask-color) 1px,transparent 1px)!important;background-size:30px!important;right:-40%!important;top:-20%!important;transform:rotateX(-45deg) skew(-16deg) translateZ(0)!important;transform-origin:right!important;transform-style:preserve-3d!important}.nfd-mask-opacity-0:after{--wndb-mask-opacity:0.8}:where(:root){--wndb--max-w--prose:min(65ch,1100px)}.nfd-max-w-prose:not(.nfd-max-w-full),:where(.nfd-text-balance:not(.nfd-max-w-full)){max-width:var(--wndb--max-w--prose)!important}.nfd-max-w-prose:not(.nfd-max-w-full).has-text-align-center,:where(.nfd-text-balance:not(.nfd-max-w-full)).has-text-align-center{margin-inline:auto!important}.nfd-max-w-prose:not(.nfd-max-w-full).has-text-align-right,:where(.nfd-text-balance:not(.nfd-max-w-full)).has-text-align-right{margin-inline-start:auto!important}:where(.nfd-text-balance){text-wrap:balance!important}.nfd-text-balance>h1,.nfd-text-balance>h2,.nfd-text-balance>h3,.nfd-text-balance>h4,.nfd-text-balance>p{text-wrap:balance!important}.nfd-text-pretty,.nfd-text-pretty>h1,.nfd-text-pretty>h2,.nfd-text-pretty>h3,.nfd-text-pretty>h4,.nfd-text-pretty>p{text-wrap:pretty!important}.wp-block-image figcaption{font-weight:400!important;margin-inline:auto!important;max-width:64ch!important;padding-block-start:.5em!important;text-wrap:balance!important}.wp-block-quote>.nfd-text-pretty{font-weight:550;margin-block:.25em}:where(:root){--wndb--text-scale-factor:1;--wndb--text--xs:0.75rem;--wndb--text--sm:0.875rem;--wndb--text--base:1rem;--wndb--text--md:1.125rem;--wndb--text--lg:1.5rem;--wndb--text--xl:2.375rem;--wndb--text--huge:clamp(2.75rem,1.4688rem + 2.5vw,3.5rem);--wndb--text-giga:clamp(3.25rem,2.546875rem + 2.25vw,4.375rem)}.nfd-text-xs:not([class*=font-size]):not([style*=font-size]){font-size:calc(var(--wndb--text--xs)*var(--wndb--text-scale-factor))!important}.nfd-text-xs:not([style*=letter-spacing]){letter-spacing:.05em!important}.nfd-text-sm:not([class*=font-size]):not([style*=font-size]){font-size:calc(var(--wndb--text--sm)*var(--wndb--text-scale-factor))!important}.nfd-text-base:not([class*=font-size]):not([style*=font-size]){font-size:calc(var(--wndb--text--base)*var(--wndb--text-scale-factor))!important}.nfd-text-md:not([class*=font-size]):not([style*=font-size]){font-size:calc(var(--wndb--text--md)*var(--wndb--text-scale-factor))!important}.nfd-text-base:not([style*=line-height]),.nfd-text-md:not([style*=line-height]){line-height:1.6!important}.nfd-text-lg:not([class*=font-size]):not([style*=font-size]){font-size:calc(var(--wndb--text--lg)*var(--wndb--text-scale-factor))!important}.nfd-text-lg:not([style*=line-height]){line-height:1.4!important}.nfd-text-lg:not([style*=letter-spacing]){letter-spacing:0!important}.nfd-text-lg:not([style*=font-weight]){font-weight:500!important}.nfd-text-xl:not([class*=font-size]):not([style*=font-size]){font-size:var(--wndb--text--xl)!important}.nfd-text-xl:not([style*=line-height]){line-height:1.25!important}.nfd-text-xl:not([style*=letter-spacing]){letter-spacing:-.01em!important}.nfd-text-xl:not([style*=font-weight]){font-weight:500!important}:where(.nfd-text-huge:not([class*=font-size]):not([style*=font-size])){font-size:calc(var(--wndb--text--huge)*var(--wndb--text-scale-factor))!important;max-width:var(--wndb--max-w--prose)!important;text-wrap:balance!important}:where(.nfd-text-giga:not([class*=font-size]):not([style*=font-size])).has-text-align-center,:where(.nfd-text-huge:not([class*=font-size]):not([style*=font-size])).has-text-align-center{margin-inline:auto!important}:where(.nfd-text-giga:not([class*=font-size]):not([style*=font-size])).has-text-align-right,:where(.nfd-text-huge:not([class*=font-size]):not([style*=font-size])).has-text-align-right{margin-inline-start:auto!important}.nfd-text-huge:not([style*=line-height]){line-height:1.1!important}.nfd-text-huge:not([style*=letter-spacing]){letter-spacing:-.025em!important}.nfd-text-huge:not([style*=font-weight]){font-weight:500!important}:where(.nfd-text-giga:not([class*=font-size]):not([style*=font-size])){font-size:calc(var(--wndb--text-giga)*var(--wndb--text-scale-factor))!important;max-width:var(--wndb--max-w--prose)!important;text-wrap:balance!important}.nfd-text-giga:not([style*=line-height]){line-height:1.1!important}.nfd-text-giga:not([style*=letter-spacing]){letter-spacing:-.04em!important}.nfd-text-giga:not([style*=font-weight]){font-weight:500!important}:root{--nfd-wb-anim-transition-duration:1400ms;--nfd-wb-anim-transition-delay:50ms;--nfd-wb-anim-transition-easing-function:cubic-bezier(0.4,1,0.65,1);--nfd-wb-anim-transition:all var(--nfd-wb-anim-transition-duration) var(--nfd-wb-anim-transition-easing-function) var(--nfd-wb-anim-transition-delay)}@media (prefers-reduced-motion:reduce){.nfd-wb-animate{transition:none!important}.nfd-wb-twist-in,[class*=nfd-wb-]{clip-path:none!important;opacity:1!important;transform:none!important}}@media (max-width:782px){.nfd-wb-animate{transition:none!important}.nfd-wb-twist-in,[class*=nfd-wb-]{clip-path:none!important;opacity:1!important;transform:none!important}}.nfd-wb-animate[data-replay-animation]{transition:none!important}.block-editor-block-preview__content-iframe [class*=nfd-wb-]{clip-path:none!important;opacity:1!important;transform:none!important}[class*=nfd-wb-fade-in]{--nfd-wb-anim-transition:opacity var(--nfd-wb-anim-transition-duration) var(--nfd-wb-anim-transition-easing-function) var(--nfd-wb-anim-transition-delay),transform var(--nfd-wb-anim-transition-duration) var(--nfd-wb-anim-transition-easing-function) var(--nfd-wb-anim-transition-delay);transition:var(--nfd-wb-anim-transition)}.nfd-wb-fade-in-bottom{--nfd-wb-anim-transition-duration:1200ms;opacity:0;transform:translate3d(0,90px,0);transition:var(--nfd-wb-anim-transition)}.nfd-wb-fade-in-bottom-short{transform:translate3d(0,32px,0) scale3d(.96,.96,.96);transform-origin:center bottom}.nfd-wb-fade-in-bottom-short,.nfd-wb-fade-in-top-short{--nfd-wb-anim-transition-duration:600ms;opacity:0;transition:var(--nfd-wb-anim-transition)}.nfd-wb-fade-in-top-short{transform:translate3d(0,-32px,0) scale3d(.96,.96,.96);transform-origin:center top}.nfd-wb-fade-in-left-short{transform:translate3d(-32px,0,0) scale3d(.96,.96,.96);transform-origin:center left}.nfd-wb-fade-in-left-short,.nfd-wb-fade-in-right-short{--nfd-wb-anim-transition-duration:600ms;opacity:0;transition:var(--nfd-wb-anim-transition)}.nfd-wb-fade-in-right-short{transform:translate3d(32px,0,0) scale3d(.96,.96,.96);transform-origin:right center}.nfd-wb-animated-in:not([data-replay-animation])[class*=nfd-wb-fade-in]{opacity:1;transform:translateZ(0) scaleX(1)}.nfd-wb-zoom-in{--nfd-wb-anim-transition-duration:1200ms;--nfd-wb-anim-transition:opacity var(--nfd-wb-anim-transition-duration) var(--nfd-wb-anim-transition-easing-function) var(--nfd-wb-anim-transition-delay),transform var(--nfd-wb-anim-transition-duration) var(--nfd-wb-anim-transition-easing-function) var(--nfd-wb-anim-transition-delay);transform:scale3d(.4,.4,.4)}.nfd-wb-zoom-in,.nfd-wb-zoom-in-short{opacity:0;transition:var(--nfd-wb-anim-transition)}.nfd-wb-zoom-in-short{--nfd-wb-anim-transition-duration:600ms;--nfd-wb-anim-transition:opacity var(--nfd-wb-anim-transition-duration) var(--nfd-wb-anim-transition-easing-function) var(--nfd-wb-anim-transition-delay),transform var(--nfd-wb-anim-transition-duration) var(--nfd-wb-anim-transition-easing-function) var(--nfd-wb-anim-transition-delay);transform:scale3d(.92,.92,.92)}.nfd-wb-animated-in:not([data-replay-animation])[class*=nfd-wb-zoom-]{opacity:1!important;transform:scaleX(1)!important}div:has(>.nfd-wb-twist-in){perspective:1200px}.nfd-wb-twist-in{--nfd-wb-anim-transition-duration:1000ms;--nfd-wb-anim-transition:opacity var(--nfd-wb-anim-transition-duration) var(--nfd-wb-anim-transition-easing-function) var(--nfd-wb-anim-transition-delay),transform var(--nfd-wb-anim-transition-duration) var(--nfd-wb-anim-transition-easing-function) var(--nfd-wb-anim-transition-delay);opacity:0;transform:translateY(40px) scale(.8) rotateY(30deg) rotate(-12deg) translateZ(0);transition:var(--nfd-wb-anim-transition)}.nfd-wb-animated-in:not([data-replay-animation]).nfd-wb-twist-in{opacity:1!important;transform:translateY(0) scale(1) rotateY(0deg) rotate(0deg) translateZ(0)!important}.nfd-wb-reveal-right{--nfd-wb-anim-transition-duration:1500ms;--nfd-wb-anim-transition-easing-function:cubic-bezier(0.4,0,0,1);--nfd-wb-anim-transition:clip-path var(--nfd-wb-anim-transition-duration) var(--nfd-wb-anim-transition-easing-function) var(--nfd-wb-anim-transition-delay);clip-path:inset(0 100% 0 0);transition:var(--nfd-wb-anim-transition)}.nfd-wb-animated-in>.nfd-wb-reveal-right:not([data-replay-animation]){clip-path:inset(0 0 0 0)!important}.nfd-delay-50{--nfd-wb-anim-transition-delay:50ms}.nfd-delay-150{--nfd-wb-anim-transition-delay:150ms}.nfd-delay-300{--nfd-wb-anim-transition-delay:300ms}.nfd-delay-450{--nfd-wb-anim-transition-delay:450ms}.nfd-delay-600{--nfd-wb-anim-transition-delay:600ms}.nfd-delay-750{--nfd-wb-anim-transition-delay:750ms}.nfd-delay-900{--nfd-wb-anim-transition-delay:900ms}.nfd-delay-1050{--nfd-wb-anim-transition-delay:1050ms}.nfd-delay-1200{--nfd-wb-anim-transition-delay:1200ms}.nfd-delay-1350{--nfd-wb-anim-transition-delay:1350ms}.nfd-delay-1500{--nfd-wb-anim-transition-delay:1500ms}:where(:root){--wndb--container:1200px;--wndb--container--wide:1340px}body .is-layout-constrained:has(.nfd-container.is-layout-constrained)>.nfd-container.is-layout-constrained{max-width:unset!important;width:100%!important}.editor-styles-wrapper .nfd-container:is(.is-layout-constrained)>:where(:not(.alignleft):not(.alignright):not(.alignfull):not(.alignwide)),.editor-styles-wrapper .nfd-container>:where(.wp-block-cover-is-layout-constrained:not(.alignleft):not(.alignright):not(.alignfull):not(.alignwide)):not([style*=margin]),.nfd-container:is(.is-layout-constrained)>:where(:not(.alignleft):not(.alignright):not(.alignfull):not(.alignwide)),.nfd-container:is(.nfd-my-0)>div,.nfd-container>:where(.wp-block-cover-is-layout-constrained:not(.alignleft):not(.alignright):not(.alignfull):not(.alignwide)){max-width:var(--wndb--container);width:100%}.editor-styles-wrapper .nfd-container:is(.is-layout-constrained)>.alignwide,.nfd-container:is(.is-layout-constrained).alignwide>:where(:not(.alignleft):not(.alignright):not(.alignfull)):not([style*=margin]),.nfd-container:is(.is-layout-constrained)>.alignwide,.nfd-container:is(.nfd-my-0)>.alignwide{max-width:var(--wndb--container--wide);width:100%}.nfd-container:not(.alignfull){padding-inline:var(--wndb--p)!important}.nfd-container:is(.nfd-my-0)>div:not([style*=margin]){margin-inline:auto!important}[class*=nfd-divider-]{position:relative;z-index:13}[class*=nfd-divider-]~[class*=nfd-divider-]{z-index:12!important}[class*=nfd-divider-]~[class*=nfd-divider-]~[class*=nfd-divider-]{z-index:11!important}[class*=nfd-divider-]:before{background:inherit!important;bottom:calc(var(--wndb--divider-size)*-1)!important;content:""!important;height:var(--wndb--divider-size)!important;left:0!important;pointer-events:none!important;position:absolute!important;width:100%!important;z-index:10!important}.nfd-divider-arrow{--wndb--divider-size:16px}.nfd-divider-arrow:before{bottom:calc(var(--wndb--divider-size)*-1)!important;height:calc(var(--wndb--divider-size)*2)!important;left:50%!important;transform:translateX(-50%) rotate(45deg)!important;width:calc(var(--wndb--divider-size)*2)!important}.nfd-divider-clouds{--wndb--divider-size:150px}.nfd-divider-clouds:after,.nfd-divider-clouds:before{background:inherit!important;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='xMidYMax slice' viewBox='0 0 283.5 27.8'%3E%3Cpath fill='%23fff' d='M0 0v6.7c1.9-.8 4.7-1.4 8.5-1 9.5 1.1 11.1 6 11.1 6s2.1-.7 4.3-.2c2.1.5 2.8 2.6 2.8 2.6s.2-.5 1.4-.7 1.7.2 1.7.2 0-2.1 1.9-2.8 3.6.7 3.6.7.7-2.9 3.1-4.1 4.7 0 4.7 0 1.2-.5 2.4 0 1.7 1.4 1.7 1.4h1.4c.7 0 1.2.7 1.2.7s.8-1.8 4-2.2c3.5-.4 5.3 2.4 6.2 4.4q.6-.6 1.8-.9c2.8-.7 4 .7 4 .7s1.7-5 11.1-6c9.5-1.1 12.3 3.9 12.3 3.9s1.2-4.8 5.7-5.7 6.8 1.8 6.8 1.8.6-.6 1.5-.9c.9-.2 1.9-.2 1.9-.2s5.2-6.4 12.6-3.3c7.3 3.1 4.7 9 4.7 9s1.9-.9 4 0 2.8 2.4 2.8 2.4 1.9-1.2 4.5-1.2 4.3 1.2 4.3 1.2.2-1 1.4-1.7 2.1-.7 2.1-.7-.5-3.1 2.1-5.5 5.7-1.4 5.7-1.4 1.5-2.3 4.2-1.1 1.7 5.2 1.7 5.2.3-.1 1.3.5c.5.4.8.8.9 1.1.5-1.4 2.4-5.8 8.4-4 7.1 2.1 3.5 8.9 3.5 8.9s.8-.4 2 0 1.1 1.1 1.1 1.1 1.1-1.1 2.3-1.1 2.1.5 2.1.5 1.9-3.6 6.2-1.2 1.9 6.4 1.9 6.4 2.6-2.4 7.4 0c3.4 1.7 3.9 4.9 3.9 4.9s3.3-6.9 10.4-7.9 11.5 2.6 11.5 2.6.8 0 1.2.2.9.9.9.9 4.4-3.1 8.3.2c1.9 1.7 1.5 5 1.5 5s.3-1.1 1.6-1.4 2.3.2 2.3.2-.1-1.2.5-1.9 1.9-.9 1.9-.9-4.7-9.3 4.4-13.4c5.6-2.5 9.2.9 9.2.9s5-6.2 15.9-6.2 16.1 8.1 16.1 8.1.7-.2 1.6-.4V0z'/%3E%3C/svg%3E")!important;background-repeat:repeat-x!important;background-size:cover!important;content:""!important;height:var(--wndb--divider-size)!important;left:0!important;pointer-events:none!important;position:absolute!important;top:0!important;width:100%!important;z-index:10!important}.nfd-divider-clouds:after{bottom:0!important;top:auto!important;transform:rotate(180deg)!important}.nfd-divider-ellipse{--wndb--divider-size:50px}.nfd-divider-ellipse:before{clip-path:ellipse(50% var(--wndb--divider-size) at 50% 0)!important}.nfd-divider-rounded:not([style*=-radius]){--wndb--divider-size:50px}.nfd-divider-rounded:before:not([style*=-radius]){border-bottom-left-radius:var(--wndb--divider-size)!important;border-bottom-right-radius:var(--wndb--divider-size)!important}.nfd-divider-slant,.nfd-divider-slant-invert{--wndb--divider-size:80px}.nfd-divider-slant:before{bottom:calc(var(--wndb--divider-size)*-1 + 1px)!important;clip-path:polygon(0 0,100% 0,0 100%)!important}.nfd-divider-slant-invert:before{bottom:calc(var(--wndb--divider-size)*-1 + 1px)!important;clip-path:polygon(0 0,100% 0,100% 100%)!important}.nfd-divider-triangle{--wndb--divider-size:80px}.nfd-divider-triangle:before{bottom:calc(var(--wndb--divider-size)*-1 + 1px)!important;clip-path:polygon(0 0,100% 0,50% 100%)!important}.nfd-divider-zigzag{--wndb--divider-size:8px}.nfd-divider-zigzag:before{-webkit-mask:conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) 50% /calc(var(--wndb--divider-size)*2) 100%!important;mask:conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) 50% /calc(var(--wndb--divider-size)*2) 100%!important}:where(:root){--wndb--divider-size:0px}.nfd-grid-cols-1-2-1{grid-template-columns:1fr 2fr 1fr!important}:where(:root){--wndb--padding-factor:1;--wndb--p:2.375rem;--wndb--p--xs:0.75rem;--wndb--p--sm:1.5rem;--wndb--p--md:2rem;--wndb--p--lg:clamp(3.5rem,7vw,6.25rem);--wndb--p--square:2.5rem;--wndb--p--square-lg:4rem}.nfd-p-card-sm:not([style*=padding]){padding:calc(var(--wndb--p--xs)*var(--wndb--padding-factor)) calc(var(--wndb--p--sm)*var(--wndb--padding-factor))!important}.nfd-p-card-md:not([style*=padding]){padding:calc(var(--wndb--p--sm)*var(--wndb--padding-factor)) calc(var(--wndb--p--md)*var(--wndb--padding-factor))!important}.nfd-p-card-lg:not([style*=padding]){padding:calc(var(--wndb--p--md)*var(--wndb--padding-factor)) calc(var(--wndb--p--md)*var(--wndb--padding-factor))!important}@media screen and (min-width:782px){.nfd-p-card-lg:not([style*=padding]){padding:calc(var(--wndb--p--md)*var(--wndb--padding-factor)) calc(var(--wndb--p--md)*1.5*var(--wndb--padding-factor))!important}}.nfd-p-card-square-lg:not([style*=padding]),.nfd-p-card-square:not([style*=padding]){padding:calc(var(--wndb--p--square)*var(--wndb--padding-factor))!important}@media screen and (min-width:782px){.nfd-p-card-square-lg:not([style*=padding]){padding:calc(var(--wndb--p--square-lg)*var(--wndb--padding-factor))!important}}.nfd-p-xs:not([style*=padding]){padding:calc(var(--wndb--p--xs)*var(--wndb--padding-factor))!important}.nfd-py-xs:not([style*=padding]){padding-block:calc(var(--wndb--p--xs)*var(--wndb--padding-factor))!important}.nfd-pt-xs:not([style*=padding]){padding-block-start:calc(var(--wndb--p--xs)*var(--wndb--padding-factor))!important}.nfd-px-xs:not([style*=padding]){padding-inline:calc(var(--wndb--p--xs)*var(--wndb--padding-factor))!important}.nfd-p-sm:not([style*=padding]){padding:calc(var(--wndb--p--sm)*var(--wndb--padding-factor))!important}.nfd-px-sm:not([style*=padding]){padding-inline:calc(var(--wndb--p--sm)*var(--wndb--padding-factor))!important}.nfd-py-sm:not([style*=padding]){padding-block:calc(var(--wndb--p--sm)*var(--wndb--padding-factor))!important}.nfd-pt-sm:not([style*=padding]){padding-block-start:calc(var(--wndb--p--sm)*var(--wndb--padding-factor))!important}.nfd-pb-sm:not([style*=padding]){padding-block-end:calc(var(--wndb--p--sm)*var(--wndb--padding-factor))!important}.nfd-pl-sm:not([style*=padding]){padding-left:calc(var(--wndb--p--sm)*var(--wndb--padding-factor))!important}.nfd-p-md:not([style*=padding]){padding:calc(var(--wndb--p--md)*var(--wndb--padding-factor))!important}.nfd-px-md:not([style*=padding]){padding-inline:calc(var(--wndb--p--md)*var(--wndb--padding-factor))!important}.nfd-pb-md:not([style*=padding]),.nfd-pt-md:not([style*=padding]),.nfd-py-md:not([style*=padding]){padding-block:calc(var(--wndb--p--md)*var(--wndb--padding-factor))!important}.nfd-p-lg:not([style*=padding]){padding:calc(var(--wndb--p--lg)*var(--wndb--padding-factor)) calc(var(--wndb--p--md)*var(--wndb--padding-factor))!important}.nfd-py-lg:not([style*=padding]){padding-block:calc(var(--wndb--p--lg)*var(--wndb--padding-factor))!important}.nfd-pt-lg:not([style*=padding]){padding-block-start:calc(var(--wndb--p--lg)*var(--wndb--padding-factor))!important}.nfd-pb-lg:not([style*=padding]){padding-block-end:calc(var(--wndb--p--lg)*var(--wndb--padding-factor))!important}.nfd-pl-offset-md:not([style*=padding]){margin-left:calc(var(--wndb--p--md)*var(--wndb--padding-factor)*-1)!important;padding-left:calc(var(--wndb--p--md)*var(--wndb--padding-factor) - 3px)!important}.editor-styles-wrapper .nfd-overlap-x,.nfd-overlap-x{gap:0}.nfd-overlap-x>:not(:first-child){margin-inline-start:-1.275rem!important}@media (min-width:768px){.-nfd-translate-y-1\/2{transform:translateY(-50%)!important}}.nfd-pseudo-play-icon{align-items:center!important;display:flex!important;justify-content:center!important;position:relative!important}.nfd-pseudo-play-icon>a{inset:0!important;position:absolute!important}:not(.is-root-container) .nfd-pseudo-play-icon>a{text-indent:-9999px!important}.nfd-pseudo-play-icon:before{-webkit-backdrop-filter:blur(3px)!important;backdrop-filter:blur(3px)!important;background:hsla(0,0%,100%,.1)!important;border-radius:100%!important;content:""!important;height:3rem!important;left:50%!important;opacity:1!important;pointer-events:none!important;position:absolute!important;top:50%!important;transform:translate(-50%,-50%)!important;transition:all .2s ease!important;width:3rem!important}.nfd-pseudo-play-icon:has(a:hover):before{background:hsla(0,0%,100%,.3)!important;height:4rem!important;width:4rem!important}.nfd-pseudo-play-icon:after{border-style:solid!important;border-bottom:10px solid transparent!important;border-left:16px solid!important;border-right:0!important;border-top:10px solid transparent!important;content:""!important;height:16px!important;height:0!important;left:50%!important;margin-left:2px!important;pointer-events:none!important;position:absolute!important;top:50%!important;transform:translate(-50%,-50%)!important;width:16px!important;width:0!important}:where(:root){--wndb--gap--scale-factor:1;--wndb--gap--xs:0.25rem;--wndb--gap--sm:0.5rem;--wndb--gap--md:1rem;--wndb--gap--lg:1.5rem;--wndb--gap--xl:2rem;--wndb--gap--2xl:2.5rem;--wndb--gap--3xl:3.5rem;--wndb--gap--4xl:6rem}.editor-styles-wrapper .nfd-gap-0,.nfd-gap-0{gap:0}.editor-styles-wrapper .nfd-gap-xs,.nfd-gap-xs{gap:calc(var(--wndb--gap--xs)*var(--wndb--gap--scale-factor))}.editor-styles-wrapper .nfd-gap-sm,.nfd-gap-sm{gap:calc(var(--wndb--gap--sm)*var(--wndb--gap--scale-factor))}.editor-styles-wrapper .nfd-gap-md,.nfd-gap-md{gap:calc(var(--wndb--gap--md)*var(--wndb--gap--scale-factor))}.editor-styles-wrapper .nfd-gap-lg,.nfd-gap-lg{gap:calc(var(--wndb--gap--lg)*var(--wndb--gap--scale-factor))}.editor-styles-wrapper .nfd-gap-xl,.nfd-gap-xl{gap:calc(var(--wndb--gap--xl)*var(--wndb--gap--scale-factor))}.editor-styles-wrapper .nfd-gap-2xl,.nfd-gap-2xl{gap:calc(var(--wndb--gap--2xl)*var(--wndb--gap--scale-factor))}.editor-styles-wrapper .nfd-gap-3xl,.nfd-gap-3xl{gap:calc(var(--wndb--gap--3xl)*var(--wndb--gap--scale-factor))}.editor-styles-wrapper .nfd-gap-4xl,.nfd-gap-4xl{gap:calc(var(--wndb--gap--4xl)*var(--wndb--gap--scale-factor))}.editor-styles-wrapper .nfd-gap-x-4xl,.nfd-gap-x-4xl{-moz-column-gap:calc(var(--wndb--gap--4xl)*var(--wndb--gap--scale-factor));column-gap:calc(var(--wndb--gap--4xl)*var(--wndb--gap--scale-factor))}.editor-styles-wrapper .nfd-gap-x-lg,.nfd-gap-x-lg{-moz-column-gap:calc(var(--wndb--gap--lg)*var(--wndb--gap--scale-factor));column-gap:calc(var(--wndb--gap--lg)*var(--wndb--gap--scale-factor))}.editor-styles-wrapper .nfd-gap-y-lg,.nfd-gap-y-lg{row-gap:calc(var(--wndb--gap--lg)*var(--wndb--gap--scale-factor))}.editor-styles-wrapper .nfd-gap-y-xl,.nfd-gap-y-xl{row-gap:calc(var(--wndb--gap--xl)*var(--wndb--gap--scale-factor))}.editor-styles-wrapper .nfd-gap-y-2xl,.nfd-gap-y-2xl{row-gap:calc(var(--wndb--gap--2xl)*var(--wndb--gap--scale-factor))}.editor-styles-wrapper .nfd-gap-y-3xl,.nfd-gap-y-3xl{row-gap:calc(var(--wndb--gap--3xl)*var(--wndb--gap--scale-factor))}.nfd-border-2{border-bottom-width:2px!important}.nfd-border-strong{border-color:var(--wndb-color--borders-strong)!important}:where(:root){--wndb--button--outline-width:0px;--wndb--button-sm--font-size:1rem;--wndb--button-lg-x:2rem;--wndb--button-lg-y:0.75rem;--wndb--button-lg--font-size:1.125rem;--wndb--button-xl-x:3rem;--wndb--button-xl-y:1rem;--wndb--button-xl--font-size:1.125rem}[class*=nfd-btn].is-style-outline{--wndb--button--outline-width:2px}[class*=nfd-btn]>.wp-block-button__link:not([style*=padding]){padding:calc(.625rem - var(--wndb--button--outline-width)) calc(1.125rem - var(--wndb--button--outline-width))!important}.nfd-btn-sm>.wp-block-button__link:not([style*=padding]){padding:calc(.375rem - var(--wndb--button--outline-width)) calc(1rem - var(--wndb--button--outline-width))!important}.nfd-btn-sm:not(.has-custom-font-size)>.wp-block-button__link:not([style*=font-size]){font-size:var(--wndb--button-sm--font-size)!important}.nfd-btn-lg>.wp-block-button__link:not([style*=padding]){padding:calc(var(--wndb--button-lg-y) - var(--wndb--button--outline-width)) var(--wndb--button-lg-x)!important}.nfd-btn-lg:not(.has-custom-font-size)>.wp-block-button__link:not([style*=font-size]){font-size:var(--wndb--button-lg--font-size)!important}.nfd-btn-lg:not([style*=font-weight])>.wp-block-button__link{font-weight:600!important}.nfd-btn-xl>.wp-block-button__link:not([style*=padding]){padding:calc(var(--wndb--button-xl-y) - var(--wndb--button--outline-width)) var(--wndb--button-xl-x)!important}.nfd-btn-xl:not(.has-custom-font-size)>.wp-block-button__link:not([style*=font-size]){font-size:var(--wndb--button-xl--font-size)!important}.nfd-btn-xl:not([style*=font-weight])>.wp-block-button__link{font-weight:600!important}.nfd-btn-wide>.wp-block-button__link:not([style*=padding]){padding:calc(.625rem - var(--wndb--button--outline-width)) calc(2rem - var(--wndb--button--outline-width))!important}[class*=nfd-btn]:is(.is-style-outline)>.wp-block-button__link:not(.has-text-color){color:var(--wndb--color--text--contrast)!important}.nfd-btn:is(.is-style-outline)>.wp-block-button__link:not(.has-text-color):hover{--wndb--color--text--contrast:var(--wndb-gray-900);border-color:var(--wndb-white)!important}[class*=nfd-button]>.wp-block-button__link:not(.has-background):hover{filter:brightness(.8)!important}.nfd-theme-primary [class*=nfd-btn]:not(.is-style-outline):not(.nfd-btn-secondary):not(.nfd-btn-tertiary)>.wp-block-button__link:not(.has-background){background-color:var(--wndb-gray-800)!important}.nfd-theme-primary [class*=nfd-btn]:not(.is-style-outline):not(.nfd-btn-secondary):not(.nfd-btn-tertiary)>.wp-block-button__link:not(.has-background):hover{background-color:var(--wndb-gray-900)!important}.nfd-theme-primary - [class*=nfd-btn]:is(.is-style-outline):not(.nfd-btn-secondary):not(.nfd-btn-tertiary)>.wp-block-button__link:not(.has-background):not(.has-text-color):hover{background-color:var(--wndb-white)!important;border-color:var(--wndb-white)!important;color:var(--wndb-gray-900)!important}.nfd-btn-secondary:is(.is-style-outline)>.wp-block-button__link:not(.has-text-color):hover{--wndb--color--text--contrast:var(--wndb-gray-900);border-color:var(--wndb-white)!important}.nfd-btn-secondary:not(.is-style-outline)>.wp-block-button__link:not(.has-text-color){color:var(--wndb-white)!important}.nfd-btn-secondary:not(.is-style-outline)>.wp-block-button__link:not(.has-background){background-color:var(--wndb-gray-800)!important}.nfd-btn-secondary:not(.is-style-outline)>.wp-block-button__link:not(.has-background):hover{background-color:var(--wndb-gray-900)!important}.nfd-theme-dark .nfd-btn-secondary:not(.is-style-outline)>.wp-block-button__link:not(.has-background),.nfd-theme-darker .nfd-btn-secondary:not(.is-style-outline)>.wp-block-button__link:not(.has-background){background-color:var(--wndb-white)!important}.nfd-theme-dark .nfd-btn-secondary:not(.is-style-outline)>.wp-block-button__link:not(.has-text-color),.nfd-theme-darker .nfd-btn-secondary:not(.is-style-outline)>.wp-block-button__link:not(.has-text-color){color:var(--wndb-gray-900)!important}.nfd-theme-dark .nfd-btn-secondary:not(.is-style-outline)>.wp-block-button__link:not(.has-background):hover,.nfd-theme-darker .nfd-btn-secondary:not(.is-style-outline)>.wp-block-button__link:not(.has-background):hover{background-color:var(--wndb-white)!important;color:var(--wndb-gray-900)!important;filter:brightness(.8)!important}.nfd-btn-tertiary:is(.is-style-outline)>.wp-block-button__link:not(.has-text-color):hover{--wndb--color--text--contrast:var(--wndb-gray-900)}.nfd-btn-tertiary:is(.is-style-outline)>.wp-block-button__link:not([class*=-border-color]){border-color:var(--wndb--color--subtle)!important}.nfd-btn-tertiary:not(.is-style-outline)>.wp-block-button__link:not(.has-text-color){color:var(--wndb--color--text--contrast)!important}.nfd-btn-tertiary:not(.is-style-outline)>.wp-block-button__link:not(.has-background){background-color:var(--wndb--color--borders)!important}.nfd-btn-tertiary:not(.is-style-outline)>.wp-block-button__link:not(.has-background):hover{--wndb--color--borders:var(--wndb--color--subtle)}:where(:root){--wndb--shadow--xs:0 1px 2px 0 rgba(18,18,23,.065);--wndb--shadow--sm:0 1px 3px 0 rgba(18,18,23,.1),0 1px 2px 0 rgba(18,18,23,.06)}.nfd-shadow-xs:not([style*=box-shadow]){box-shadow:var(--wndb--shadow--xs)!important}.nfd-shadow-sm:not([style*=box-shadow]){box-shadow:var(--wndb--shadow--sm)!important}.nfd-bg-subtle.nfd-shadow-xs:not([style*=box-shadow]),.nfd-theme-light .nfd-shadow-xs:not([style*=box-shadow]){--wndb--shadow--xs:none}:where(:root){--wndb--rounded--scale-factor:1;--wndb--border--radius--sm:0.25rem;--wndb--border--radius--md:0.5rem;--wndb--border--radius--lg:0.75rem;--wndb--border--radius--xl:1rem}[class*=nfd-rounded]:not([style*=-radius]),[class*=nfd-rounded]:not([style*=-radius])>.components-resizable-box__container>img:not([style*=-radius]),[class*=nfd-rounded]:not([style*=-radius])>.wp-element-button:not([style*=-radius]),[class*=nfd-rounded]:not([style*=-radius])>a>img,[class*=nfd-rounded]:not([style*=-radius])>img{border-radius:calc(var(--wndb--border--radius)*var(--wndb--rounded--scale-factor))!important}[class*=nfd-rounded-t-]:not([style*=-radius]),[class*=nfd-rounded-t-]:not([style*=-radius])>.components-resizable-box__container>img:not([style*=-radius]),[class*=nfd-rounded-t-]:not([style*=-radius])>.wp-element-button:not([style*=-radius]),[class*=nfd-rounded-t-]:not([style*=-radius])>a>img,[class*=nfd-rounded-t-]:not([style*=-radius])>img{border-radius:calc(var(--wndb--border--radius)*var(--wndb--rounded--scale-factor)) calc(var(--wndb--border--radius)*var(--wndb--rounded--scale-factor)) 0 0!important}.nfd-overflow-hidden.nfd-rounded-xl iframe:not([style*=-radius]){border-radius:calc(var(--wndb--border--radius--md)*var(--wndb--rounded--scale-factor))!important}.nfd-rounded-none:not([style*=-radius]){--wndb--border--radius:0}.nfd-rounded-sm:not([style*=-radius]){--wndb--border--radius:var(--wndb--border--radius--sm)}.nfd-rounded,.nfd-rounded-md,.nfd-rounded-t-md:not([style*=-radius]){--wndb--border--radius:var(--wndb--border--radius--md)}.nfd-rounded-lg,.nfd-rounded-t-lg:not([style*=-radius]){--wndb--border--radius:var(--wndb--border--radius--lg)}.nfd-rounded-t-xl:not([style*=-radius]),.nfd-rounded-xl{--wndb--border--radius:var(--wndb--border--radius--xl)}.nfd-rounded-full:not([style*=-radius]){--wndb--border--radius:9999px}:where(:root){--wndb-gray:#6c6c89;--wndb-gray-50:#f7f7f8;--wndb-gray-100:#ebebef;--wndb-gray-150:#e5e5e9;--wndb-gray-200:#d1d1db;--wndb-gray-300:#a9a9bc;--wndb-gray-400:#8a8aa3;--wndb-gray-500:#6c6c89;--wndb-gray-600:#55556d;--wndb-gray-700:#3f3f50;--wndb-gray-800:#1d1d22;--wndb-gray-900:#121217;--wndb-white:#fff;--wndb-white-50:hsla(0,0%,100%,.05);--wndb-white-100:hsla(0,0%,100%,.1);--wndb-white-150:hsla(0,0%,100%,.15);--wndb-white-200:hsla(0,0%,100%,.2);--wndb-white-300:hsla(0,0%,100%,.3);--wndb-white-400:hsla(0,0%,100%,.4);--wndb-white-500:hsla(0,0%,100%,.5);--wndb-white-600:hsla(0,0%,100%,.6);--wndb-white-700:hsla(0,0%,100%,.7);--wndb-white-800:hsla(0,0%,100%,.8);--wndb-white-900:hsla(0,0%,100%,.9);--wndb--color--primary:#00f;--wndb--color--secondary:#00f;--wndb--color--surface:var(--wndb-gray-50);--wndb--color--text:var(--wndb-gray-800);--wndb--color--text--contrast:var(--wndb-gray-900);--wndb--color--text--faded:var(--wndb-gray-600);--wndb--color--borders:var(--wndb-gray-150);--wndb--color--borders-light:var(--wndb-gray-100);--wndb--color--borders-strong:var(--wndb--color--text--faded);--wndb--color--subtle:var(--wndb-gray-200);--wndb--color--links:var(--wndb--color--primary)}.nfd-theme-white{--wndb--color--borders:var(--wndb-gray-150);--wndb--color--borders-light:var(--wndb-gray-100);--wndb--color--links:var(--wndb--color--primary);--wndb--color--subtle:var(--wndb-gray-200);--wndb--color--surface:var(--wndb-white);--wndb--color--text--contrast:var(--wndb-gray-900);--wndb--color--text--faded:var(--wndb-gray-700);--wndb--color--text:var(--wndb-gray-800)}.nfd-theme-light{--wndb--color--borders:var(--wndb-gray-150);--wndb--color--borders-light:var(--wndb-gray-150);--wndb--color--links:var(--wndb--color--primary);--wndb--color--subtle:var(--wndb-gray-200);--wndb--color--surface:var(--wndb-gray-50);--wndb--color--text--contrast:var(--wndb-gray-900);--wndb--color--text--faded:var(--wndb-gray-700);--wndb--color--text:var(--wndb-gray-800)}.nfd-theme-dark{--wndb--color--borders:var(--wndb-white-100);--wndb--color--borders-light:var(--wndb--color--borders);--wndb--color--subtle:var(--wndb-white-200);--wndb--color--surface:var(--wndb-gray-800);--wndb--color--text--contrast:var(--wndb-white);--wndb--color--text--faded:var(--wndb-white-800);--wndb--color--text:var(--wndb-white);--wndb--shadow--sm:none;--wndb--shadow--xs:none;--wndb-mask-color:hsla(0,0%,100%,.12)}.nfd-theme-darker{--wndb--color--borders:var(--wndb-white-100);--wndb--color--borders-light:var(--wndb--color--borders);--wndb--color--subtle:var(--wndb-white-200);--wndb--color--surface:var(--wndb-gray-900);--wndb--color--text--contrast:var(--wndb-white);--wndb--color--text--faded:var(--wndb-white-800);--wndb--color--text:var(--wndb-white);--wndb--shadow--sm:none;--wndb--shadow--xs:none;--wndb-mask-color:hsla(0,0%,100%,.12)}.nfd-theme-primary{--wndb--color--borders:var(--wndb-white-100);--wndb--color--borders-light:var(--wndb--color--borders);--wndb--color--subtle:var(--wndb-white-200);--wndb--color--surface:var(--wndb--color--primary);--wndb--color--text--contrast:var(--wndb-white);--wndb--color--text--faded:var(--wndb-white-900);--wndb--color--text:var(--wndb-white);--wndb--shadow--sm:none;--wndb--shadow--xs:none;--wndb-mask-color:hsla(0,0%,100%,.12)}.nfd-bg-surface:not(.has-background){background-color:var(--wndb--color--surface)!important}.nfd-bg-surface:not(.has-text-color){color:var(--wndb--color--text)!important}.nfd-text-faded p:not(.has-text-color):not(.has-link-color):not(.has-background):not(.nfd-text-primary),.nfd-text-faded time:not(.has-text-color):not(.has-background),.nfd-text-faded>a:not(.has-text-color):not(.has-link-color):not(.has-background),ol.nfd-text-faded:not(.has-text-color):not(.has-link-color):not(.has-background):not(.nfd-text-primary),p.nfd-text-faded:not(.has-text-color):not(.has-link-color):not(.has-background),ul.nfd-text-faded:not(.has-text-color):not(.has-link-color):not(.has-background):not(.nfd-text-primary){color:var(--wndb--color--text--faded)!important}.editor-styles-wrapper div .nfd-text-contrast:where(:not(.has-text-color)),.editor-styles-wrapper div :where(.nfd-text-contrast:not(.has-text-color):not(.wp-element-button)) a:where(:not(:hover)),.wp-site-blocks .nfd-text-contrast:where(:not(.has-text-color)),.wp-site-blocks .nfd-text-contrast:where(:not(.has-text-color)) a:where(:not(:hover)){color:var(--wndb--color--text--contrast)}.nfd-bg-surface [style*=border]:not([class*=border-color]):not([style*=border-top-color]):not([style*=border-right-color]):not([style*=border-bottom-color]):not([style*=border-left-color]):not(.nfd-border-strong),.nfd-bg-surface [style*=border]:not([class*=border-color]):not([style*=border-top-color]):not([style*=border-right-color]):not([style*=border-bottom-color]):not([style*=border-left-color])>img:not(.has-border-color):not([class*=border-color]):not([style*=border-top-color]):not([style*=border-right-color]):not([style*=border-bottom-color]):not([style*=border-left-color]),.nfd-bg-surface [style*=border]:not([class*=border-color]):not([style*=border-top-color]):not([style*=border-right-color]):not([style*=border-bottom-color]):not([style*=border-left-color])>img:not(.has-border-color):not([class*=border-color]):not([style*=border-top-color]):not([style*=border-right-color]):not([style*=border-bottom-color]):not([style*=border-left-color])>.components-resizable-box__container>img:not([class*=border-color]):not([style*=border-top-color]):not([style*=border-right-color]):not([style*=border-bottom-color]):not([style*=border-left-color]),.nfd-bg-surface:not([class*=border-color]):not([style*=border-top-color]):not([style*=border-right-color]):not([style*=border-bottom-color]):not([style*=border-left-color]):not(.has-border-color):not(.nfd-border-strong){border-color:var(--wndb--color--borders)!important}.nfd-bg-surface .wp-block-separator:not(.has-background):not(.has-text-color):not(.nfd-border-strong){border-bottom-color:var(--wndb--color--borders)!important}.nfd-bg-surface .wp-block-separator:not(.has-background):not(.has-text-color):not(.nfd-border-2){border-bottom-width:1px!important}.nfd-border-bg{--wndb--color--borders:var(--wndb--color--surface)}.nfd-border-primary{--wndb--color--borders:var(--wndb--color--primary)}.nfd-border-inherit{--wndb--color--borders:inherit}.nfd-bg-accent:not(.has-background),.nfd-bg-primary:not(.has-background),.wp-block-cover.nfd-bg-accent>.wp-block-cover__background:not([class*=background-color]),.wp-block-cover.nfd-bg-primary>.wp-block-cover__background:not([class*=background-color]){background-color:var(--wndb--color--primary)!important}.nfd-bg-accent:not(.has-text-color),.nfd-bg-primary:not(.has-text-color){color:var(--wndb--color--white)!important}.nfd-bg-subtle:not(.has-background):not(.wp-block-button),.nfd-bg-subtle:not(.has-background)>.wp-block-button__link:not(.has-background){background-color:var(--wndb--color--borders-light)!important;color:var(--wndb--color--text--contrast)!important}.nfd-text-primary:not(.has-text-color),.wp-block-button.wndb-text-primary>a:not(.has-text-color){color:var(--wndb--color--primary)!important}.nfd-text-secondary:not(.has-text-color),.wp-block-button.wndb-text-secondary>a:not(.has-text-color){color:var(--wndb--color--secondary)!important}.nfd-theme-primary .nfd-text-primary:not(.has-text-color),.nfd-theme-primary .nfd-text-secondary:not(.has-text-color),.nfd-theme-primary .wp-block-button.wndb-text-primary>a:not(.has-text-color),.nfd-theme-secondary .wp-block-button.wndb-text-secondary>a:not(.has-text-color){color:var(--wndb--color--contrast)!important}.nfd-theme-dark .nfd-text-primary:not(.has-text-color),.nfd-theme-darker .nfd-text-primary:not(.has-text-color){color:var(--wndb--color--secondary)!important}.nfd-text-subtle:not(.has-text-color){color:var(--wndb--color--subtle)!important}.editor-styles-wrapper div .nfd-text-current:where(:not(.has-text-color)),.editor-styles-wrapper div :where(.nfd-text-current:not(.has-text-color):not(.wp-element-button)) a:where(:not(:hover)),.wp-site-blocks .nfd-text-current:where(:not(.has-text-color)),.wp-site-blocks .nfd-text-current:where(:not(.has-text-color)) a:where(:not(:hover)){color:currentColor}[class*=nfd-theme-] .wp-block-social-links.is-style-logos-only:not(.has-icon-color) .wp-block-social-link{color:var(--wndb--color--text--faded)!important;fill:var(--wndb--color--text--faded)!important}[class*=nfd-theme-] .wp-block-social-links.is-style-logos-only:not(.has-icon-color) .wp-block-social-link:hover{color:var(--wndb--color--text)!important;fill:var(--wndb--color--text)!important}.nfd-bg-gray-100:not(.has-background),.nfd-bg-gray-800:not(.has-background){background-color:var(--wndb--color--surface)!important}.nfd-bg-gray-100:not(.has-text-color),.nfd-bg-gray-800:not(.has-text-color){color:var(--wndb--color--text)!important}.nfd-bg-gray-800{--wndb--color--surface:var(--wndb-gray-800);--wndb--color--text:var(--wndb-white);--wndb--color--borders:var(--wndb-white-100);--wndb--color--text--faded:var(--wndb-white-700)}.nfd-bg-gray-100{--wndb--color--surface:var(--wndb-gray-50);--wndb--color--text:var(--wndb-gray-700);--wndb--color--borders:var(--wndb-gray-100)}.nfd-text-opacity-80 p:not(.has-text-color):not(.has-link-color):not(.has-background),.nfd-text-opacity-80 time:not(.has-text-color):not(.has-background),p.nfd-text-opacity-80:not(.has-text-color):not(.has-link-color):not(.has-background){opacity:.8!important}:where(:root){--wndb--slider-height:100lvh}.nfd-scroll-slider-horizontal,.nfd-scroll-slider-vertical{flex-wrap:nowrap!important;height:var(--wndb--slider-height)!important;overflow-y:auto!important;scroll-snap-type:y mandatory!important;-ms-overflow-style:none!important;scrollbar-width:none!important}.nfd-scroll-slider-horizontal::-webkit-scrollbar,.nfd-scroll-slider-vertical::-webkit-scrollbar{display:none!important}.nfd-scroll-slider-vertical{height:100vh!important;overflow-y:auto!important;scroll-snap-type:y mandatory!important}.nfd-scroll-slider-vertical>*{scroll-snap-align:start!important;width:100%!important}.nfd-scroll-slider-horizontal{flex-direction:row!important;overflow-x:auto!important;scroll-snap-type:x mandatory!important}.nfd-scroll-slider-horizontal>*{flex-shrink:0!important;scroll-snap-align:start!important}.nfd-scroll-slider-horizontal>.wp-block-cover{width:100vw!important}.nfd-container.alignfull .nfd-scroll-slider-horizontal{--half-container:calc(50vw - var(--wndb--container)/2);padding-left:var(--half-container)!important;padding-right:var(--half-container)!important;scroll-padding:var(--half-container)!important}.nfd-scroll-slider-horizontal.nfd-scroll-slider-animate>.wp-block-cover:first-child{animation:scroll-slider-slide 1s ease 1s forwards}@keyframes scroll-slider-slide{0%{margin-left:0}to{margin-left:-100vw}}.block-editor-block-preview__content-iframe .is-root-container{min-height:8rem!important}.block-editor-block-preview__content-iframe figure:has([style*="aspect-ratio: 16 / 9"]){width:100%!important}.block-editor-block-preview__content-iframe [style*="min-height: 100vh"],.block-editor-block-preview__content-iframe [style*="min-height:100vh"]{min-height:800px!important}.block-editor-block-preview__content-iframe [style*="min-height: 70vh"],.block-editor-block-preview__content-iframe [style*="min-height:70vh"]{min-height:560px!important}.block-editor-block-preview__content-iframe [style*="min-height: 50vh"],.block-editor-block-preview__content-iframe [style*="min-height:50vh"]{min-height:400px!important}.block-editor-block-preview__content-iframe [style*="min-height: 35vh"],.block-editor-block-preview__content-iframe [style*="min-height:35vh"]{min-height:280px!important}.block-editor-block-preview__content-iframe [style*="min-height: 30vh"],.block-editor-block-preview__content-iframe [style*="min-height:30vh"]{min-height:240px!important}.block-editor-block-preview__content-iframe [style*="min-height: 10vh"],.block-editor-block-preview__content-iframe [style*="min-height:10vh"]{min-height:80px!important}.nfd-wba-modal *{box-sizing:border-box!important}.block-editor-block-preview__content-iframe .nfd-wb-animate{opacity:1!important;transform:none!important;transition:none!important}.block-editor-block-preview__content-iframe + [class*=nfd-btn]:is(.is-style-outline):not(.nfd-btn-secondary):not(.nfd-btn-tertiary)>.wp-block-button__link:not(.has-background):not(.has-text-color):hover{background-color:var(--wndb-white)!important;border-color:var(--wndb-white)!important;color:var(--wndb-gray-900)!important}.nfd-btn-secondary:is(.is-style-outline)>.wp-block-button__link:not(.has-text-color):hover{--wndb--color--text--contrast:var(--wndb-gray-900);border-color:var(--wndb-white)!important}.nfd-btn-secondary:not(.is-style-outline)>.wp-block-button__link:not(.has-text-color){color:var(--wndb-white)!important}.nfd-btn-secondary:not(.is-style-outline)>.wp-block-button__link:not(.has-background){background-color:var(--wndb-gray-800)!important}.nfd-btn-secondary:not(.is-style-outline)>.wp-block-button__link:not(.has-background):hover{background-color:var(--wndb-gray-900)!important}.nfd-theme-dark .nfd-btn-secondary:not(.is-style-outline)>.wp-block-button__link:not(.has-background),.nfd-theme-darker .nfd-btn-secondary:not(.is-style-outline)>.wp-block-button__link:not(.has-background){background-color:var(--wndb-white)!important}.nfd-theme-dark .nfd-btn-secondary:not(.is-style-outline)>.wp-block-button__link:not(.has-text-color),.nfd-theme-darker .nfd-btn-secondary:not(.is-style-outline)>.wp-block-button__link:not(.has-text-color){color:var(--wndb-gray-900)!important}.nfd-theme-dark .nfd-btn-secondary:not(.is-style-outline)>.wp-block-button__link:not(.has-background):hover,.nfd-theme-darker .nfd-btn-secondary:not(.is-style-outline)>.wp-block-button__link:not(.has-background):hover{background-color:var(--wndb-white)!important;color:var(--wndb-gray-900)!important;filter:brightness(.8)!important}.nfd-btn-tertiary:is(.is-style-outline)>.wp-block-button__link:not(.has-text-color):hover{--wndb--color--text--contrast:var(--wndb-gray-900)}.nfd-btn-tertiary:is(.is-style-outline)>.wp-block-button__link:not([class*=-border-color]){border-color:var(--wndb--color--subtle)!important}.nfd-btn-tertiary:not(.is-style-outline)>.wp-block-button__link:not(.has-text-color){color:var(--wndb--color--text--contrast)!important}.nfd-btn-tertiary:not(.is-style-outline)>.wp-block-button__link:not(.has-background){background-color:var(--wndb--color--borders)!important}.nfd-btn-tertiary:not(.is-style-outline)>.wp-block-button__link:not(.has-background):hover{--wndb--color--borders:var(--wndb--color--subtle)}:where(:root){--wndb--shadow--xs:0 1px 2px 0 rgba(18,18,23,.065);--wndb--shadow--sm:0 1px 3px 0 rgba(18,18,23,.1),0 1px 2px 0 rgba(18,18,23,.06)}.nfd-shadow-xs:not([style*=box-shadow]){box-shadow:var(--wndb--shadow--xs)!important}.nfd-shadow-sm:not([style*=box-shadow]){box-shadow:var(--wndb--shadow--sm)!important}.nfd-bg-subtle.nfd-shadow-xs:not([style*=box-shadow]),.nfd-theme-light .nfd-shadow-xs:not([style*=box-shadow]){--wndb--shadow--xs:none}:where(:root){--wndb--rounded--scale-factor:1;--wndb--border--radius--sm:0.25rem;--wndb--border--radius--md:0.5rem;--wndb--border--radius--lg:0.75rem;--wndb--border--radius--xl:1rem}[class*=nfd-rounded]:not([style*=-radius]),[class*=nfd-rounded]:not([style*=-radius])>.components-resizable-box__container>img:not([style*=-radius]),[class*=nfd-rounded]:not([style*=-radius])>.wp-element-button:not([style*=-radius]),[class*=nfd-rounded]:not([style*=-radius])>a>img,[class*=nfd-rounded]:not([style*=-radius])>img{border-radius:calc(var(--wndb--border--radius)*var(--wndb--rounded--scale-factor))!important}[class*=nfd-rounded-t-]:not([style*=-radius]),[class*=nfd-rounded-t-]:not([style*=-radius])>.components-resizable-box__container>img:not([style*=-radius]),[class*=nfd-rounded-t-]:not([style*=-radius])>.wp-element-button:not([style*=-radius]),[class*=nfd-rounded-t-]:not([style*=-radius])>a>img,[class*=nfd-rounded-t-]:not([style*=-radius])>img{border-radius:calc(var(--wndb--border--radius)*var(--wndb--rounded--scale-factor)) calc(var(--wndb--border--radius)*var(--wndb--rounded--scale-factor)) 0 0!important}.nfd-overflow-hidden.nfd-rounded-xl iframe:not([style*=-radius]){border-radius:calc(var(--wndb--border--radius--md)*var(--wndb--rounded--scale-factor))!important}.nfd-rounded-none:not([style*=-radius]){--wndb--border--radius:0}.nfd-rounded-sm:not([style*=-radius]){--wndb--border--radius:var(--wndb--border--radius--sm)}.nfd-rounded,.nfd-rounded-md,.nfd-rounded-t-md:not([style*=-radius]){--wndb--border--radius:var(--wndb--border--radius--md)}.nfd-rounded-lg,.nfd-rounded-t-lg:not([style*=-radius]){--wndb--border--radius:var(--wndb--border--radius--lg)}.nfd-rounded-t-xl:not([style*=-radius]),.nfd-rounded-xl{--wndb--border--radius:var(--wndb--border--radius--xl)}.nfd-rounded-full:not([style*=-radius]){--wndb--border--radius:9999px}:where(:root){--wndb-gray:#6c6c89;--wndb-gray-50:#f7f7f8;--wndb-gray-100:#ebebef;--wndb-gray-150:#e5e5e9;--wndb-gray-200:#d1d1db;--wndb-gray-300:#a9a9bc;--wndb-gray-400:#8a8aa3;--wndb-gray-500:#6c6c89;--wndb-gray-600:#55556d;--wndb-gray-700:#3f3f50;--wndb-gray-800:#1d1d22;--wndb-gray-900:#121217;--wndb-white:#fff;--wndb-white-50:hsla(0,0%,100%,.05);--wndb-white-100:hsla(0,0%,100%,.1);--wndb-white-150:hsla(0,0%,100%,.15);--wndb-white-200:hsla(0,0%,100%,.2);--wndb-white-300:hsla(0,0%,100%,.3);--wndb-white-400:hsla(0,0%,100%,.4);--wndb-white-500:hsla(0,0%,100%,.5);--wndb-white-600:hsla(0,0%,100%,.6);--wndb-white-700:hsla(0,0%,100%,.7);--wndb-white-800:hsla(0,0%,100%,.8);--wndb-white-900:hsla(0,0%,100%,.9);--wndb--color--primary:#00f;--wndb--color--secondary:#00f;--wndb--color--surface:var(--wndb-gray-50);--wndb--color--text:var(--wndb-gray-800);--wndb--color--text--contrast:var(--wndb-gray-900);--wndb--color--text--faded:var(--wndb-gray-600);--wndb--color--borders:var(--wndb-gray-150);--wndb--color--borders-light:var(--wndb-gray-100);--wndb--color--borders-strong:var(--wndb--color--text--faded);--wndb--color--subtle:var(--wndb-gray-200);--wndb--color--links:var(--wndb--color--primary);--wndb--color--body:var(--wndb--color--surface)}.is-style-nfd-theme-white,.nfd-theme-white:not([class*=is-style-nfd-theme]){--wndb--color--borders:var(--wndb-gray-150);--wndb--color--borders-light:var(--wndb-gray-100);--wndb--color--links:var(--wndb--color--primary);--wndb--color--subtle:var(--wndb-gray-200);--wndb--color--surface:var(--wndb-white);--wndb--color--text--contrast:var(--wndb-gray-900);--wndb--color--text--faded:var(--wndb-gray-700);--wndb--color--text:var(--wndb-gray-800)}.is-style-nfd-theme-light,.nfd-theme-light:not([class*=is-style-nfd-theme]){--wndb--color--borders:var(--wndb-gray-150);--wndb--color--borders-light:var(--wndb-gray-150);--wndb--color--links:var(--wndb--color--primary);--wndb--color--subtle:var(--wndb-gray-200);--wndb--color--surface:var(--wndb-gray-50);--wndb--color--text--contrast:var(--wndb-gray-900);--wndb--color--text--faded:var(--wndb-gray-700);--wndb--color--text:var(--wndb-gray-800)}.is-style-nfd-theme-dark,.nfd-theme-dark:not([class*=is-style-nfd-theme]){--wndb--color--borders:var(--wndb-white-100);--wndb--color--borders-light:var(--wndb--color--borders);--wndb--color--subtle:var(--wndb-white-200);--wndb--color--surface:var(--wndb-gray-800);--wndb--color--text--contrast:var(--wndb-white);--wndb--color--text--faded:var(--wndb-white-800);--wndb--color--text:var(--wndb-white);--wndb--shadow--sm:none;--wndb--shadow--xs:none;--wndb-mask-color:hsla(0,0%,100%,.12)}.is-style-nfd-theme-darker,.nfd-theme-darker:not([class*=is-style-nfd-theme]){--wndb--color--borders:var(--wndb-white-100);--wndb--color--borders-light:var(--wndb--color--borders);--wndb--color--subtle:var(--wndb-white-200);--wndb--color--surface:var(--wndb-gray-900);--wndb--color--text--contrast:var(--wndb-white);--wndb--color--text--faded:var(--wndb-white-800);--wndb--color--text:var(--wndb-white);--wndb--shadow--sm:none;--wndb--shadow--xs:none;--wndb-mask-color:hsla(0,0%,100%,.12)}.is-style-nfd-theme-primary,.nfd-theme-primary:not([class*=is-style-nfd-theme]){--wndb--color--borders:var(--wndb-white-100);--wndb--color--borders-light:var(--wndb--color--borders);--wndb--color--subtle:var(--wndb-white-200);--wndb--color--surface:var(--wndb--color--primary);--wndb--color--text--contrast:var(--wndb-white);--wndb--color--text--faded:var(--wndb-white-900);--wndb--color--text:var(--wndb-white);--wndb--shadow--sm:none;--wndb--shadow--xs:none;--wndb-mask-color:hsla(0,0%,100%,.12)}.nfd-bg-surface:not(.has-background),[class*=is-style-nfd-theme]:not(.has-background){background-color:var(--wndb--color--surface)!important}.nfd-bg-surface:not(.has-text-color),[class*=is-style-nfd-theme]:not(.has-text-color){color:var(--wndb--color--text)!important}.nfd-text-faded p:not(.has-text-color):not(.has-link-color):not(.has-background):not(.nfd-text-primary),.nfd-text-faded time:not(.has-text-color):not(.has-background),.nfd-text-faded>a:not(.has-text-color):not(.has-link-color):not(.has-background),ol.nfd-text-faded:not(.has-text-color):not(.has-link-color):not(.has-background):not(.nfd-text-primary),p.nfd-text-faded:not(.has-text-color):not(.has-link-color):not(.has-background),ul.nfd-text-faded:not(.has-text-color):not(.has-link-color):not(.has-background):not(.nfd-text-primary){color:var(--wndb--color--text--faded)!important}.editor-styles-wrapper div .nfd-text-contrast:where(:not(.has-text-color)),.editor-styles-wrapper div :where(.nfd-text-contrast:not(.has-text-color):not(.wp-element-button)) a:where(:not(:hover)),.wp-site-blocks .nfd-text-contrast:where(:not(.has-text-color)),.wp-site-blocks .nfd-text-contrast:where(:not(.has-text-color)) a:where(:not(:hover)){color:var(--wndb--color--text--contrast)}.nfd-bg-surface [style*=border]:not([class*=border-color]):not([style*=border-top-color]):not([style*=border-right-color]):not([style*=border-bottom-color]):not([style*=border-left-color]):not(.nfd-border-strong),.nfd-bg-surface [style*=border]:not([class*=border-color]):not([style*=border-top-color]):not([style*=border-right-color]):not([style*=border-bottom-color]):not([style*=border-left-color])>img:not(.has-border-color):not([class*=border-color]):not([style*=border-top-color]):not([style*=border-right-color]):not([style*=border-bottom-color]):not([style*=border-left-color]),.nfd-bg-surface [style*=border]:not([class*=border-color]):not([style*=border-top-color]):not([style*=border-right-color]):not([style*=border-bottom-color]):not([style*=border-left-color])>img:not(.has-border-color):not([class*=border-color]):not([style*=border-top-color]):not([style*=border-right-color]):not([style*=border-bottom-color]):not([style*=border-left-color])>.components-resizable-box__container>img:not([class*=border-color]):not([style*=border-top-color]):not([style*=border-right-color]):not([style*=border-bottom-color]):not([style*=border-left-color]),.nfd-bg-surface:not([class*=border-color]):not([style*=border-top-color]):not([style*=border-right-color]):not([style*=border-bottom-color]):not([style*=border-left-color]):not(.has-border-color):not(.nfd-border-strong),[class*=is-style-nfd-theme] [style*=border]:not([class*=border-color]):not([style*=border-top-color]):not([style*=border-right-color]):not([style*=border-bottom-color]):not([style*=border-left-color]):not(.nfd-border-strong),[class*=is-style-nfd-theme] [style*=border]:not([class*=border-color]):not([style*=border-top-color]):not([style*=border-right-color]):not([style*=border-bottom-color]):not([style*=border-left-color])>img:not(.has-border-color):not([class*=border-color]):not([style*=border-top-color]):not([style*=border-right-color]):not([style*=border-bottom-color]):not([style*=border-left-color]),[class*=is-style-nfd-theme] [style*=border]:not([class*=border-color]):not([style*=border-top-color]):not([style*=border-right-color]):not([style*=border-bottom-color]):not([style*=border-left-color])>img:not(.has-border-color):not([class*=border-color]):not([style*=border-top-color]):not([style*=border-right-color]):not([style*=border-bottom-color]):not([style*=border-left-color])>.components-resizable-box__container>img:not([class*=border-color]):not([style*=border-top-color]):not([style*=border-right-color]):not([style*=border-bottom-color]):not([style*=border-left-color]),[class*=is-style-nfd-theme]:not([class*=border-color]):not([style*=border-top-color]):not([style*=border-right-color]):not([style*=border-bottom-color]):not([style*=border-left-color]):not(.has-border-color):not(.nfd-border-strong){border-color:var(--wndb--color--borders)!important}[class*=is-style-nfd-theme] + .wp-block-separator:not(.has-background):not(.has-text-color):not(.nfd-border-strong) + .nfd-bg-surface + .wp-block-separator:not(.has-background):not(.has-text-color):not(.nfd-border-strong){border-bottom-color:var(--wndb--color--borders)!important}.nfd-bg-surface .wp-block-separator:not(.has-background):not(.has-text-color):not(.nfd-border-2),[class*=is-style-nfd-theme] .wp-block-separator:not(.has-background):not(.has-text-color):not(.nfd-border-2){border-bottom-width:1px!important}.nfd-border-bg{--wndb--color--borders:var(--wndb--color--surface)}.nfd-border-primary{--wndb--color--borders:var(--wndb--color--primary)}.nfd-border-inherit{--wndb--color--borders:inherit}.nfd-bg-accent:not(.has-background),.nfd-bg-primary:not(.has-background),.wp-block-cover.nfd-bg-accent>.wp-block-cover__background:not([class*=background-color]),.wp-block-cover.nfd-bg-primary>.wp-block-cover__background:not([class*=background-color]){background-color:var(--wndb--color--primary)!important}.nfd-bg-accent:not(.has-text-color),.nfd-bg-primary:not(.has-text-color){color:var(--wndb--color--white)!important}.nfd-bg-subtle:not(.has-background):not(.wp-block-button),.nfd-bg-subtle:not(.has-background)>.wp-block-button__link:not(.has-background){background-color:var(--wndb--color--borders-light)!important;color:var(--wndb--color--text--contrast)!important}.nfd-text-primary:not(.has-text-color),.wp-block-button.wndb-text-primary>a:not(.has-text-color){color:var(--wndb--color--primary)!important}.nfd-text-secondary:not(.has-text-color),.wp-block-button.wndb-text-secondary>a:not(.has-text-color){color:var(--wndb--color--secondary)!important}.nfd-theme-primary .nfd-text-primary:not(.has-text-color),.nfd-theme-primary .nfd-text-secondary:not(.has-text-color),.nfd-theme-primary .wp-block-button.wndb-text-primary>a:not(.has-text-color),.nfd-theme-secondary .wp-block-button.wndb-text-secondary>a:not(.has-text-color){color:var(--wndb--color--contrast)!important}.nfd-theme-dark .nfd-text-primary:not(.has-text-color),.nfd-theme-darker .nfd-text-primary:not(.has-text-color){color:var(--wndb--color--secondary)!important}.nfd-text-subtle:not(.has-text-color){color:var(--wndb--color--subtle)!important}.editor-styles-wrapper div .nfd-text-current:where(:not(.has-text-color)),.editor-styles-wrapper div :where(.nfd-text-current:not(.has-text-color):not(.wp-element-button)) a:where(:not(:hover)),.wp-site-blocks .nfd-text-current:where(:not(.has-text-color)),.wp-site-blocks .nfd-text-current:where(:not(.has-text-color)) a:where(:not(:hover)){color:currentColor}[class*=nfd-theme-] .wp-block-social-links.is-style-logos-only:not(.has-icon-color) .wp-block-social-link{color:var(--wndb--color--text--faded)!important;fill:var(--wndb--color--text--faded)!important}[class*=nfd-theme-] .wp-block-social-links.is-style-logos-only:not(.has-icon-color) .wp-block-social-link:hover{color:var(--wndb--color--text)!important;fill:var(--wndb--color--text)!important}.nfd-container.is-position-sticky:not([class*=nfd-bg-surface]):not([class*=is-style-nfd-]):not(.has-background){background-color:var(--wndb--color--body)!important}.nfd-bg-gray-100:not(.has-background),.nfd-bg-gray-800:not(.has-background){background-color:var(--wndb--color--surface)!important}.nfd-bg-gray-100:not(.has-text-color),.nfd-bg-gray-800:not(.has-text-color){color:var(--wndb--color--text)!important}.nfd-bg-gray-800{--wndb--color--surface:var(--wndb-gray-800);--wndb--color--text:var(--wndb-white);--wndb--color--borders:var(--wndb-white-100);--wndb--color--text--faded:var(--wndb-white-700)}.nfd-bg-gray-100{--wndb--color--surface:var(--wndb-gray-50);--wndb--color--text:var(--wndb-gray-700);--wndb--color--borders:var(--wndb-gray-100)}.nfd-text-opacity-80 p:not(.has-text-color):not(.has-link-color):not(.has-background),.nfd-text-opacity-80 time:not(.has-text-color):not(.has-background),p.nfd-text-opacity-80:not(.has-text-color):not(.has-link-color):not(.has-background){opacity:.8!important}:where(:root){--wndb--slider-height:100lvh}.nfd-scroll-slider-horizontal,.nfd-scroll-slider-vertical{flex-wrap:nowrap!important;height:var(--wndb--slider-height)!important;overflow-y:auto!important;scroll-snap-type:y mandatory!important;-ms-overflow-style:none!important;scrollbar-width:none!important}.nfd-scroll-slider-horizontal::-webkit-scrollbar,.nfd-scroll-slider-vertical::-webkit-scrollbar{display:none!important}.nfd-scroll-slider-vertical{height:100vh!important;overflow-y:auto!important;scroll-snap-type:y mandatory!important}.nfd-scroll-slider-vertical>*{scroll-snap-align:start!important;width:100%!important}.nfd-scroll-slider-horizontal{flex-direction:row!important;overflow-x:auto!important;scroll-snap-type:x mandatory!important}.nfd-scroll-slider-horizontal>*{flex-shrink:0!important;scroll-snap-align:start!important}.nfd-scroll-slider-horizontal>.wp-block-cover{width:100vw!important}.nfd-container.alignfull .nfd-scroll-slider-horizontal{--half-container:calc(50vw - var(--wndb--container)/2);padding-left:var(--half-container)!important;padding-right:var(--half-container)!important;scroll-padding:var(--half-container)!important}.nfd-scroll-slider-horizontal.nfd-scroll-slider-animate>.wp-block-cover:first-child{animation:scroll-slider-slide 1s ease 1s forwards}@keyframes scroll-slider-slide{0%{margin-left:0}to{margin-left:-100vw}}.block-editor-block-preview__content-iframe .is-root-container{min-height:8rem!important}.block-editor-block-preview__content-iframe figure:has([style*="aspect-ratio: 16 / 9"]){width:100%!important}.block-editor-block-preview__content-iframe [style*="min-height: 100vh"],.block-editor-block-preview__content-iframe [style*="min-height:100vh"]{min-height:800px!important}.block-editor-block-preview__content-iframe [style*="min-height: 70vh"],.block-editor-block-preview__content-iframe [style*="min-height:70vh"]{min-height:560px!important}.block-editor-block-preview__content-iframe [style*="min-height: 50vh"],.block-editor-block-preview__content-iframe [style*="min-height:50vh"]{min-height:400px!important}.block-editor-block-preview__content-iframe [style*="min-height: 35vh"],.block-editor-block-preview__content-iframe [style*="min-height:35vh"]{min-height:280px!important}.block-editor-block-preview__content-iframe [style*="min-height: 30vh"],.block-editor-block-preview__content-iframe [style*="min-height:30vh"]{min-height:240px!important}.block-editor-block-preview__content-iframe [style*="min-height: 10vh"],.block-editor-block-preview__content-iframe [style*="min-height:10vh"]{min-height:80px!important}.nfd-wba-modal *{box-sizing:border-box!important}.block-editor-block-preview__content-iframe .nfd-wb-animate{opacity:1!important;transform:none!important;transition:none!important}.block-editor-block-preview__content-iframe .is-root-container>.nfd-container:not([class*=nfd-p-]):not([class*=nfd-py-]):not([class*=nfd-pt-]):not([class*=nfd-pb-]):not([style*=padding]){padding-block:var(--wndb--p)!important}ol.nfd-gap-sm:not(.is-layout-flex) li:not(:last-child),ul.nfd-gap-sm:not(.is-layout-flex) li:not(:last-child){margin-bottom:.5em!important}ol.nfd-gap-md:not(.is-layout-flex) li:not(:last-child),ul.nfd-gap-md:not(.is-layout-flex) li:not(:last-child){margin-bottom:1em!important}ul.nfd-list-check{list-style-type:none!important;padding-inline-start:1em!important}ul.nfd-list-check li:before{content:"✓";display:inline-block;margin-inline-end:8px}[class*=nfd-query-loop-] :where(.wp-block-post-author__avatar img){border-radius:999px;display:block}[class*=nfd-query-loop-] :where(.avatar-48){height:36px!important;width:36px!important}[class*=nfd-query-loop-] :where(.wp-block-post-author__content){display:flex;flex-direction:column;gap:4px;justify-content:center}[class*=nfd-query-loop-] .wp-block-post-author__avatar{margin-right:12px!important}.nfd-query-loop-1 :where(.wp-block-cover){aspect-ratio:2/1.1}.nfd-query-loop-1 :where(.wp-block-post-author__content){align-items:center!important;flex-direction:row!important}.nfd-query-loop-1 :where(.wp-block-post-author__byline){font-size:1em!important;opacity:.8!important}[class*=nfd-query-loop-] :where(.wp-block-categories){display:flex;gap:8px;list-style:none;padding:0}[class*=nfd-query-loop-] :where(.wp-block-categories a){color:inherit!important}.nfd-query-loop-2 .wp-block-cover__background{-webkit-mask-image:linear-gradient(180deg,transparent 25%,#000 75%)!important;mask-image:linear-gradient(180deg,transparent 25%,#000 75%)!important}.nfd-query-loop-3 :where(.wp-block-post-author__name){display:none!important}.nfd-form-items-grow>div:not(.wp-block-jetpack-button){flex-grow:1!important}.nfd-jp-form.nfd-text-center .consent{text-align:center!important}.nfd-jp-form .contact-form-submission .go-back-message .link{color:currentColor!important;text-decoration:underline!important}.nfd-jp-form .contact-form-submission .go-back-message{margin-top:0!important}.nfd-jp-form .contact-form-submission{border-color:currentColor!important;padding:calc(var(--wndb--p--md)*.5) 0!important}.nfd-jp-form textarea{resize:vertical!important}.nfd-jp-form .wp-block-button__link{padding-block-end:10px!important;padding-block-start:10px!important}.nfd-jp-form .consent,.nfd-jp-form .jetpack-field-checkbox .jetpack-field-label .jetpack-field-label__input,.nfd-jp-form .jetpack-field-consent .jetpack-field-label .jetpack-field-label__input{font-size:.875rem!important;line-height:1.5em!important;text-transform:none!important;text-wrap:balance!important}.nfd-jp-form input[type=checkbox]{padding:0!important}.nfd-mask-fade-to-b>.wp-block-cover__background{-webkit-mask-image:linear-gradient(180deg,transparent 50%,#000 120%)!important;mask-image:linear-gradient(180deg,transparent 50%,#000 120%)!important}.nfd-mask-radial-center>.wp-block-cover__background{-webkit-mask-image:radial-gradient(circle,transparent -40%,rgba(0,0,0,.9) 58%)!important;mask-image:radial-gradient(circle,transparent -40%,rgba(0,0,0,.9) 58%)!important}p[style*=text-decoration]>a{color:inherit!important;text-decoration:inherit!important}.is-style-dots.nfd-text-left:before{padding-left:0!important}.nfd-h-full,.nfd-h-full>.components-resizable-box__container>img,.nfd-h-full>img{height:100%!important}.nfd-w-full,.nfd-w-full>.components-resizable-box__container>img,.nfd-w-full>img{width:100%!important}.nfd-backdrop-blur-sm{-webkit-backdrop-filter:blur(4px)!important;backdrop-filter:blur(4px)!important}.nfd-backdrop-blur-md{-webkit-backdrop-filter:blur(8px)!important;backdrop-filter:blur(8px)!important}.nfd-absolute-header{left:0!important;position:absolute!important;right:0!important;z-index:10!important}.editor-styles-wrapper .nfd-absolute-header{position:static!important}.nfd-absolute-header:not([style*=margin]){margin:0!important}:is([style*="min-height:100vh"]){min-height:calc(100vh - var(--wp-admin--admin-bar--height))!important}@supports (height:100dvh){:is([style*="height:100vh"]){min-height:calc(100dvh - var(--wp-admin--admin-bar--height, 0px))!important}}.nfd-wk-search .wp-block-search__input{font-size:inherit!important;min-height:50px!important;padding:8px 16px!important}:where(.wp-block-search__input){border-radius:var(--wndb--border--radius--sm)!important}.nfd-stretch-cover-child,.nfd-stretch-cover-child .wp-block-cover__inner-container{display:flex!important;flex-direction:column!important}.nfd-stretch-cover-child .wp-block-cover__inner-container,.nfd-stretch-cover-child .wp-block-cover__inner-container>.nfd-pseudo-play-icon,.nfd-stretch-cover-child .wp-block-cover__inner-container>.wp-block-group{align-items:inherit!important;flex-grow:1!important;justify-content:inherit!important}.nfd-stretch-cover-child .wp-block-cover__inner-container>.wp-block-group,.nfd-stretch-cover-child .wp-block-cover__inner-container>p{width:100%!important}.nfd-container summary{line-height:1.5!important;padding-right:32px!important;position:relative!important}.nfd-container summary::marker{content:none!important}.nfd-container summary:before{align-items:center!important;background-color:var(--wndb--color--borders)!important;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyIiBjbGFzcz0ibHVjaWRlIGx1Y2lkZS1wbHVzIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGQ9Ik01IDEyaDE0TTEyIDV2MTQiLz48L3N2Zz4=")!important;background-position:50%!important;background-repeat:no-repeat!important;background-size:13px!important;border-radius:999px!important;content:""!important;display:flex!important;height:1em!important;justify-content:center!important;opacity:.6!important;position:absolute!important;right:0!important;top:50%!important;transform:translateY(-50%)!important;width:1em!important}.nfd-container [open] summary{font-weight:700!important}.nfd-container [open] summary:before{opacity:1!important;transform:translateY(-50%) rotate(45deg)!important}.nfd-container summary:hover:before{opacity:1!important}.is-style-wide.wp-block-separator{width:100%!important}.nfd-aspect-video{aspect-ratio:16/9!important}@media (max-width:782px){.md\:nfd-order-2{order:2!important}.md\:nfd-my-0:not([style*=margin]){margin-bottom:0!important;margin-top:0!important}.md\:nfd-flex{display:flex!important}.md\:nfd-hidden{display:none!important}.md\:nfd-basis-full{flex-basis:100%!important}.md\:nfd-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}.md\:nfd-flex-wrap{flex-wrap:wrap!important}.md\:nfd-items-start{align-items:flex-start!important}.md\:nfd-justify-start{justify-content:flex-start!important}.md\:nfd-justify-end{justify-content:flex-end!important}.md\:nfd-justify-center{justify-content:center!important}.md\:nfd-gap-5{gap:1.25rem!important}.md\:nfd-gap-8{gap:2rem!important}.md\:nfd-self-start{align-self:flex-start!important}.md\:nfd-rounded-lg:not([style*=-radius]){border-radius:.5rem!important}.md\:nfd-border-none{border-style:none!important}.md\:nfd-p-0:not([style*=padding]){padding:0!important}.md\:nfd-px-0:not([style*=padding]){padding-left:0!important;padding-right:0!important}.md\:nfd-py-0:not([style*=padding]){padding-bottom:0!important;padding-top:0!important}.md\:nfd-text-left{text-align:left!important}.md\:nfd-text-center{text-align:center!important}} \ No newline at end of file diff --git a/assets/build/utilities.js.map b/assets/build/utilities.js.map new file mode 100644 index 0000000..1f6bb0f --- /dev/null +++ b/assets/build/utilities.js.map @@ -0,0 +1,7 @@ +{ + "version": 3, + "sources": ["../../source/scripts/viewportAnimationObserver.js", "../../source/scripts/utilities.js"], + "sourcesContent": ["/**\n * Class for observing elements entering the viewport and triggering animations.\n *\n */\nexport class ViewportAnimationObserver {\n\tconstructor({ clientId, ...otherOptions } = {}) {\n\t\tthis.options = {\n\t\t\tactiveClass: \"nfd-wb-animated-in\",\n\t\t\troot: null,\n\t\t\trootMargin: \"0px\",\n\t\t\tthreshold: 0,\n\t\t\t...otherOptions,\n\t\t};\n\t}\n\n\t/**\n\t * Observe elements to trigger animations.\n\t *\n\t * @param {NodeList} elements - Elements to observe.\n\t * @param {string | null} clientId - The block's client ID.\n\t * @param {boolean} isGutenberg - Whether or not the page is in Gutenberg.\n\t */\n\tobserveElements(elements, clientId = null, isGutenberg = false) {\n\t\tif (!(\"IntersectionObserver\" in window)) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!elements?.length) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Don't run in the block preview iframe\n\t\tif (document.documentElement.classList.contains(\"block-editor-block-preview__content-iframe\")) {\n\t\t\treturn;\n\t\t}\n\n\t\tfunction wrappedMutationCallback(mutationsList, observer) {\n\t\t\tthis._mutationCallback(mutationsList, observer, clientId);\n\t\t}\n\n\t\t// eslint-disable-next-line no-undef\n\t\tconst intersectionObserver = new IntersectionObserver(\n\t\t\tthis._handleIntersection.bind(this),\n\t\t\tthis.options\n\t\t);\n\n\t\t// eslint-disable-next-line no-undef\n\t\tconst mutationObserver = new MutationObserver(wrappedMutationCallback.bind(this));\n\n\t\t// eslint-disable-next-line no-undef\n\t\tconst classMutationObserver = new MutationObserver(this._handleClassMutation.bind(this));\n\n\t\telements.forEach((element) => {\n\t\t\tlet elementToWatch = element;\n\n\t\t\tif (element.classList.contains(\"nfd-wb-reveal-right\")) {\n\t\t\t\telementToWatch = element.parentElement;\n\t\t\t}\n\n\t\t\tintersectionObserver.observe(elementToWatch);\n\n\t\t\t// If in Gutenberg, observe attributes as well\n\t\t\tif (isGutenberg) {\n\t\t\t\tclassMutationObserver.observe(elementToWatch, {\n\t\t\t\t\tattributes: true,\n\t\t\t\t\tattributeFilter: [\"class\"],\n\t\t\t\t});\n\t\t\t\tmutationObserver.observe(elementToWatch, {\n\t\t\t\t\tattributes: true,\n\t\t\t\t\tattributeFilter: [\"class\"],\n\t\t\t\t});\n\t\t\t}\n\t\t});\n\t}\n\n\t/**\n\t * Handle intersection events to trigger animations.\n\t *\n\t * @param {Array} entries - Intersection entries.\n\t * @param {IntersectionObserver} observer - The observer instance.\n\t * @private\n\t */\n\t_handleIntersection(entries, observer) {\n\t\tentries.forEach((entry) => {\n\t\t\tif (entry.isIntersecting) {\n\t\t\t\tentry.target.classList.add(this.options.activeClass);\n\n\t\t\t\t// Sync with parent element\n\t\t\t\tentry.target.querySelectorAll(\".nfd-wb-animate\").forEach((element) => {\n\t\t\t\t\telement.classList.add(this.options.activeClass);\n\t\t\t\t});\n\n\t\t\t\tobserver.unobserve(entry.target);\n\t\t\t}\n\t\t});\n\t}\n\n\t_handleClassMutation(entries) {\n\t\tentries.forEach((entry) => {\n\t\t\tif (entry?.type === \"attributes\") {\n\t\t\t\tconst target = entry.target;\n\n\t\t\t\tif (!target.classList.contains(\"nfd-wb-animated-in\")) {\n\t\t\t\t\ttarget.classList.add(\"nfd-wb-animated-in\");\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}\n\n\t/**\n\t * Callback function for the MutationObserver.\n\t *\n\t * @param {MutationRecord[]} entries - List of mutations.\n\t * @param {MutationObserver} observer - The observer instance.\n\t * @param {string | null} clientId - The block's client ID.\n\t */\n\t_mutationCallback(entries, observer, clientId = null) {\n\t\tentries.forEach((entry) => {\n\t\t\tif (entry?.type === \"attributes\") {\n\t\t\t\tconst target = entry.target;\n\n\t\t\t\t// Try to add attribute to the element that is being changed (clientId)\n\t\t\t\tif (clientId && clientId === target.getAttribute(\"data-block\")) {\n\t\t\t\t\tif (target.getAttribute(\"data-replay-animation\") === null) {\n\t\t\t\t\t\ttarget.setAttribute(\"data-replay-animation\", true);\n\n\t\t\t\t\t\t// This actually resets the animation - CSS will take care of it.\n\t\t\t\t\t\t// eslint-disable-next-line no-undef\n\t\t\t\t\t\trequestAnimationFrame(() => {\n\t\t\t\t\t\t\ttarget.removeAttribute(\"data-replay-animation\");\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\n\t\t\t\t\tobserver.disconnect();\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}\n}\n", "import { ViewportAnimationObserver } from \"./viewportAnimationObserver\";\n\ndocument.addEventListener(\"DOMContentLoaded\", () => {\n\tviewportAnimation();\n});\n\n// listen for wonder-blocks/toolbar-button-added event\ndocument.addEventListener(\"wonder-blocks/toolbar-button-added\", () => {\n\tviewportAnimation();\n});\n\n// listen for wonder-blocks/animation-changed event\ndocument.addEventListener(\"wonder-blocks/animation-changed\", (event) => {\n\tconst clientId = event?.detail?.clientId;\n\tviewportAnimation(clientId);\n});\n\n// listen for wonder-blocks/block-order-changed event\ndocument.addEventListener(\"wonder-blocks/block-order-changed\", () => {\n\tviewportAnimation();\n});\n\nwindow.onload = function () {\n\tviewportAnimation();\n};\n\n/**\n * Handles viewport animations (entrance/exit).\n * @param {string | null} clientId - The block's client ID.\n */\nfunction viewportAnimation(clientId = null) {\n\tconst isGutenberg =\n\t\tdocument.body.classList.contains(\"block-editor-page\") ||\n\t\tBoolean(clientId) ||\n\t\tdocument.body.classList.contains(\"block-editor-iframe__body\");\n\n\tconst rootElement = isGutenberg\n\t\t? document.querySelector(\".interface-interface-skeleton__content\") // Gutenberg scroll container\n\t\t: null;\n\n\tconst viewportAnimationObserver = new ViewportAnimationObserver({\n\t\troot: rootElement,\n\t\tthreshold: 0,\n\t});\n\n\t// Wait for React to add classes to the DOM\n\t// eslint-disable-next-line no-undef\n\trequestAnimationFrame(() => {\n\t\tconst elementsToAnimate = Array.from(document.getElementsByClassName(\"nfd-wb-animate\"));\n\t\tviewportAnimationObserver.observeElements(elementsToAnimate, clientId, isGutenberg);\n\t});\n}\n"], + "mappings": ";;AAIO,MAAM,4BAAN,MAAgC;AAAA,IACtC,YAAY,EAAE,UAAU,GAAG,aAAa,IAAI,CAAC,GAAG;AAC/C,WAAK,UAAU;AAAA,QACd,aAAa;AAAA,QACb,MAAM;AAAA,QACN,YAAY;AAAA,QACZ,WAAW;AAAA,QACX,GAAG;AAAA,MACJ;AAAA,IACD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IASA,gBAAgB,UAAU,WAAW,MAAM,cAAc,OAAO;AAC/D,UAAI,EAAE,0BAA0B,SAAS;AACxC;AAAA,MACD;AAEA,UAAI,CAAC,UAAU,QAAQ;AACtB;AAAA,MACD;AAGA,UAAI,SAAS,gBAAgB,UAAU,SAAS,4CAA4C,GAAG;AAC9F;AAAA,MACD;AAEA,eAAS,wBAAwB,eAAe,UAAU;AACzD,aAAK,kBAAkB,eAAe,UAAU,QAAQ;AAAA,MACzD;AAGA,YAAM,uBAAuB,IAAI;AAAA,QAChC,KAAK,oBAAoB,KAAK,IAAI;AAAA,QAClC,KAAK;AAAA,MACN;AAGA,YAAM,mBAAmB,IAAI,iBAAiB,wBAAwB,KAAK,IAAI,CAAC;AAGhF,YAAM,wBAAwB,IAAI,iBAAiB,KAAK,qBAAqB,KAAK,IAAI,CAAC;AAEvF,eAAS,QAAQ,CAAC,YAAY;AAC7B,YAAI,iBAAiB;AAErB,YAAI,QAAQ,UAAU,SAAS,qBAAqB,GAAG;AACtD,2BAAiB,QAAQ;AAAA,QAC1B;AAEA,6BAAqB,QAAQ,cAAc;AAG3C,YAAI,aAAa;AAChB,gCAAsB,QAAQ,gBAAgB;AAAA,YAC7C,YAAY;AAAA,YACZ,iBAAiB,CAAC,OAAO;AAAA,UAC1B,CAAC;AACD,2BAAiB,QAAQ,gBAAgB;AAAA,YACxC,YAAY;AAAA,YACZ,iBAAiB,CAAC,OAAO;AAAA,UAC1B,CAAC;AAAA,QACF;AAAA,MACD,CAAC;AAAA,IACF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IASA,oBAAoB,SAAS,UAAU;AACtC,cAAQ,QAAQ,CAAC,UAAU;AAC1B,YAAI,MAAM,gBAAgB;AACzB,gBAAM,OAAO,UAAU,IAAI,KAAK,QAAQ,WAAW;AAGnD,gBAAM,OAAO,iBAAiB,iBAAiB,EAAE,QAAQ,CAAC,YAAY;AACrE,oBAAQ,UAAU,IAAI,KAAK,QAAQ,WAAW;AAAA,UAC/C,CAAC;AAED,mBAAS,UAAU,MAAM,MAAM;AAAA,QAChC;AAAA,MACD,CAAC;AAAA,IACF;AAAA,IAEA,qBAAqB,SAAS;AAC7B,cAAQ,QAAQ,CAAC,UAAU;AAC1B,YAAI,OAAO,SAAS,cAAc;AACjC,gBAAM,SAAS,MAAM;AAErB,cAAI,CAAC,OAAO,UAAU,SAAS,oBAAoB,GAAG;AACrD,mBAAO,UAAU,IAAI,oBAAoB;AAAA,UAC1C;AAAA,QACD;AAAA,MACD,CAAC;AAAA,IACF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IASA,kBAAkB,SAAS,UAAU,WAAW,MAAM;AACrD,cAAQ,QAAQ,CAAC,UAAU;AAC1B,YAAI,OAAO,SAAS,cAAc;AACjC,gBAAM,SAAS,MAAM;AAGrB,cAAI,YAAY,aAAa,OAAO,aAAa,YAAY,GAAG;AAC/D,gBAAI,OAAO,aAAa,uBAAuB,MAAM,MAAM;AAC1D,qBAAO,aAAa,yBAAyB,IAAI;AAIjD,oCAAsB,MAAM;AAC3B,uBAAO,gBAAgB,uBAAuB;AAAA,cAC/C,CAAC;AAAA,YACF;AAEA,qBAAS,WAAW;AAAA,UACrB;AAAA,QACD;AAAA,MACD,CAAC;AAAA,IACF;AAAA,EACD;;;ACxIA,WAAS,iBAAiB,oBAAoB,MAAM;AACnD,sBAAkB;AAAA,EACnB,CAAC;AAGD,WAAS,iBAAiB,sCAAsC,MAAM;AACrE,sBAAkB;AAAA,EACnB,CAAC;AAGD,WAAS,iBAAiB,mCAAmC,CAAC,UAAU;AACvE,UAAM,WAAW,OAAO,QAAQ;AAChC,sBAAkB,QAAQ;AAAA,EAC3B,CAAC;AAGD,WAAS,iBAAiB,qCAAqC,MAAM;AACpE,sBAAkB;AAAA,EACnB,CAAC;AAED,SAAO,SAAS,WAAY;AAC3B,sBAAkB;AAAA,EACnB;AAMA,WAAS,kBAAkB,WAAW,MAAM;AAC3C,UAAM,cACL,SAAS,KAAK,UAAU,SAAS,mBAAmB,KACpD,QAAQ,QAAQ,KAChB,SAAS,KAAK,UAAU,SAAS,2BAA2B;AAE7D,UAAM,cAAc,cACjB,SAAS,cAAc,wCAAwC,IAC/D;AAEH,UAAM,4BAA4B,IAAI,0BAA0B;AAAA,MAC/D,MAAM;AAAA,MACN,WAAW;AAAA,IACZ,CAAC;AAID,0BAAsB,MAAM;AAC3B,YAAM,oBAAoB,MAAM,KAAK,SAAS,uBAAuB,gBAAgB,CAAC;AACtF,gCAA0B,gBAAgB,mBAAmB,UAAU,WAAW;AAAA,IACnF,CAAC;AAAA,EACF;", + "names": [] +} diff --git a/bootstrap.php b/bootstrap.php index fc9e5c4..4b3dc10 100644 --- a/bootstrap.php +++ b/bootstrap.php @@ -4,7 +4,7 @@ // Set Global Constants if ( ! defined( 'NFD_WONDER_BLOCKS_VERSION' ) ) { - define( 'NFD_WONDER_BLOCKS_VERSION', '2.3.0' ); + define( 'NFD_WONDER_BLOCKS_VERSION', '2.4.0' ); } if ( ! defined( 'NFD_WONDER_BLOCKS_DIR' ) ) { define( 'NFD_WONDER_BLOCKS_DIR', __DIR__ ); diff --git a/build/2.3.0/wonder-blocks-rtl.css b/build/2.3.0/wonder-blocks-rtl.css deleted file mode 100644 index 7d84334..0000000 --- a/build/2.3.0/wonder-blocks-rtl.css +++ /dev/null @@ -1 +0,0 @@ -:root{--nfd-wba-color-dark:#1e1e1e;--nfd-wba-color-dark-rgb:30 30 30;--nfd-wba-color-dark-lighter:#3c434a;--nfd-wba-color-dark-lighter-rgb:60 67 74;--nfd-wba-color-brand:#178113;--nfd-wba-color-brand-rgb:23 129 19;--nfd-wba-color-brand-darker:#3e8f3b;--nfd-wba-color-brand-darker-rgb:62 143 59;--nfd-wba-color-brand-darker-10:#378534;--nfd-wba-color-brand-darker-10-rgb:55 133 52;--nfd-wba-color-grey:#f2f2f2;--nfd-wba-color-grey-rgb:242 242 242;--nfd-wba-color-grey-darker:#aeaeae;--nfd-wba-color-grey-darker-rgb:174 174 174;--nfd-wba-color-borders:#e5e7eb;--nfd-wba-sidebar-width:310px;--nfd-wba-header-height:70px;--nfd-wba-border-radius--lg:8px;--nfd-wba-masonry-gap:24px;--nfd-wba-transition-duration:100ms;--nfd-wba-transition-timing:linear}@media only screen and (max-width:782px){:root{--nfd-wba-masonry-gap:32px}}#nfd-wba-toolbar-button button.nfd-wba-bg-dark{--nfd-wba-color-brand:var(--nfd-wba-color-dark)}#nfd-wba-toolbar-button button svg{fill:none}#nfd-wba-toolbar-button button.is-pressed:before,#nfd-wba-toolbar-button button:focus:before{animation:none;height:unset;inset:0}#nfd-wba-toolbar-button button:focus:before{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--nfd-wba-color-brand);outline:none}#nfd-wba-toolbar-button button.is-pressed:focus:before{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color)}@media only screen and (max-width:782px){.nfd-wba-list-elements{display:none}}.nfd-wba-list-elements--is-filtered .nfd-wba-list-element.nfd-wba--is-active{color:currentColor;font-weight:inherit}.nfd-wba-list-elements--is-filtered .nfd-wba-list-element.nfd-wba--is-active:before{transform:scaleX(0)}.nfd-wba-list-element:before{background-color:var(--nfd-wba-color-brand);bottom:7px;content:"";display:block;right:0;position:absolute;top:7px;transform:scaleX(0);transform-origin:right;width:3px}.nfd-wba-list-element:hover:before{transform:scaleX(1)}.nfd-wba-list-element:hover .nfd-wba-list-element__count{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.nfd-wba-list-element.nfd-wba--is-active:before{transform:scaleX(1)}.nfd-wba-list-element.nfd-wba-list-element--favorites:after{background-color:var(--nfd-wba-color-borders);content:"";height:1px;right:1.5rem;position:absolute;left:0;top:0}.nfd-wba-loading-bar:after,.nfd-wba-loading-bar:before{content:"";inset:0;position:absolute}.nfd-wba-loading-bar:before{background:var(--nfd-wba-color-grey)}.nfd-wba-loading-bar:after{background-color:var(--nfd-wba-color-brand);transform:scaleX(var(--nfd-wba-loading-progress,.1));transform-origin:right;transition:transform var(--nfd-wba-transition-duration) var(--nfd-wba-transition-timing)}.nfd-wba-tab-panel .components-tab-panel__tabs{display:flex}@media only screen and (max-width:782px){.nfd-wba-tab-panel .components-tab-panel__tabs{border:1px solid var(--nfd-wba-color-borders);border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem;border-top:none}}.nfd-wba-tab-panel .components-tab-panel__tabs .components-button{font-size:14px}.nfd-wba-tab-panel .components-tab-panel__tab-content{display:flex;flex-direction:column;flex-grow:1}.nfd-wba-tab-panel .components-tab-panel__tabs-item{color:currentColor;flex-grow:1;height:unset;margin-bottom:-1px;padding-bottom:16px;padding-top:12px}.nfd-wba-tab-panel .components-tab-panel__tabs-item:before{bottom:0;right:1px;left:0;top:-8px}@media only screen and (max-width:782px){.nfd-wba-tab-panel .components-tab-panel__tabs-item:before{inset:-2px}.nfd-wba-tab-panel .components-tab-panel__tabs-item{font-size:1rem;justify-content:center;margin-right:-1px;margin-left:-1px;min-height:36px;padding:8px 12px}}.nfd-wba-tab-panel .components-tab-panel__tabs-item:not(.nfd-wba--is-active){font-weight:400}@media only screen and (max-width:782px){.nfd-wba-tab-panel .components-tab-panel__tabs-item:not(.nfd-wba--is-active){font-weight:500}}.nfd-wba-tab-panel .components-tab-panel__tabs-item:first-child{padding-right:24px}@media only screen and (max-width:782px){.nfd-wba-tab-panel .components-tab-panel__tabs-item:first-child{border-bottom-right-radius:.25rem}.nfd-wba-tab-panel .components-tab-panel__tabs-item:last-child{border-bottom-left-radius:.25rem}}.nfd-wba-tab-panel .components-tab-panel__tabs-item.nfd-wba--is-active{box-shadow:inset 0 -3px var(--wp-admin-theme-color);color:var(--nfd-wba-color-dark)}@media only screen and (max-width:782px){.nfd-wba-tab-panel .components-tab-panel__tabs-item.nfd-wba--is-active{background-color:var(--wp-admin-theme-color);box-shadow:none;color:#fff}}.nfd-wba-tab-panel .components-tab-panel__tabs-item:not(.nfd-wba--is-active):focus{box-shadow:none;outline:none}.nfd-wba-skeleton--item{isolation:isolate;overflow:hidden;position:relative}.nfd-wba-skeleton--item:before{animation:nfd-wba-skeleton-pulse 3s infinite;background-image:linear-gradient(-90deg,transparent,rgba(0,0,0,.02) 25%,rgba(0,0,0,.05) 50%,rgba(0,0,0,.02) 75%,transparent);background-repeat:no-repeat;background-size:100% 100%;content:"";height:100%;right:0;min-width:200px;position:absolute;top:0;transform:translateX(100%);width:100%;z-index:-1}.nfd-wba-skeleton--item+.nfd-wba-skeleton--item:before{animation-delay:var(--nfd-wba-skeleton-delay,0s)}@keyframes nfd-wba-skeleton-pulse{to{transform:translateX(-100%)}}:root{--nfd-wba-design-item--template-height:30vw}.nfd-wba-design-item:focus-visible{outline:2px solid var(--nfd-wba-color-brand);outline-offset:2px}.nfd-wba-design-item--template .block-editor-block-preview__container{max-height:var(--nfd-wba-design-item--template-height)}.nfd-wba-design-item--template .block-editor-block-preview__container:before{transition:-webkit-backdrop-filter var(--nfd-wba-transition-duration) var(--nfd-wba-transition-timing);transition:backdrop-filter var(--nfd-wba-transition-duration) var(--nfd-wba-transition-timing);transition:backdrop-filter var(--nfd-wba-transition-duration) var(--nfd-wba-transition-timing),-webkit-backdrop-filter var(--nfd-wba-transition-duration) var(--nfd-wba-transition-timing)}.nfd-wba-design-item--template.nfd-wba-inserting-design .block-editor-block-preview__container:before{-webkit-backdrop-filter:grayscale(1);backdrop-filter:grayscale(1);content:"";inset:0;position:absolute;z-index:1}.nfd-wba-design-item--template iframe{--offset:calc(var(--nfd-wba-design-item--template-height)/var(--nfd-wba-design-item--scale));--transition-duration:calc(var(--nfd-wba-design-item--scroll-duration, 0s)/2);--nfd-wba-translate-offset:calc(-100% + var(--offset));--hover-transition-duration:var(--nfd-wba-design-item--scroll-duration,0s);transition:transform var(--transition-duration,0s)!important}.nfd-wba-design-item--template:hover iframe{transform:translateY(var(--nfd-wba-translate-offset));transition:transform var(--hover-transition-duration,0s)!important}.nfd-wba-modal{--wp-admin-theme-color:var(--nfd-wba-color-brand)}@media only screen and (min-width:600px)and (max-width:1024px){.nfd-wba-modal.components-modal__frame.is-full-screen{max-width:unset;min-height:calc(100vh - 24px);width:calc(100vw - 24px)}}.nfd-wba-modal .components-modal__content{display:flex;justify-content:flex-start;padding:0}@media only screen and (max-width:782px){.nfd-wba-modal .components-modal__content{display:block}}.nfd-wba-modal .components-modal__content>div:not(.nfd-wba-library-modal-grid){display:flex;flex-grow:1}.nfd-wba-modal__header{align-items:center;display:flex;flex-shrink:0;gap:16px;height:var(--nfd-wba-header-height);padding:0 24px}@media only screen and (max-width:782px){.nfd-wba-modal__header:not(.nfd-wba-modal__sidebar-header){--nfd-wba-header-height:60px;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background-color:hsla(0,0%,100%,.9);border-bottom:none;order:-1;padding:0 16px;position:sticky;top:0;z-index:10}}.nfd-wba-modal__content-filter{align-items:center;display:flex;flex-grow:0;justify-content:space-between;justify-content:flex-end;margin-bottom:1.5rem}.nfd-wba-modal__content-filter button{font-size:14px}.nfd-wba-modal .nfd-wba-keyword-filter svg{transform:scaleX(-1)}.nfd-wba-filter-dropdown .components-dropdown-menu__menu-item{display:flex;font-size:14px;justify-content:space-between;min-width:120px}.nfd-wba-filter-dropdown .components-dropdown-menu__menu-item svg{order:1}.nfd-wba-filter-dropdown .components-dropdown-menu__menu-item.is-active{color:var(--nfd-wba-color-brand)}.nfd-wba-filter-dropdown .components-dropdown-menu__menu-item.is-active svg{background:none;border:none;box-shadow:none;color:var(--nfd-wba-color-brand)}.nfd-wba-filter-dropdown .components-button.has-icon.has-text{justify-content:space-between}.nfd-wba-state-message>svg{max-width:620px}.nfd-wba-library-modal-grid{display:grid;grid-template-columns:var(--nfd-wba-sidebar-width) 1fr;grid-template-rows:70px 1fr}@media only screen and (max-width:782px){.nfd-wba-library-modal-grid{display:flex;flex-direction:column}}.nfd-wba-modal .nfd-wba-modal__categories-select{display:none}.nfd-wba-modal .nfd-wba-modal__categories-select .components-input-control__container{border-radius:.25rem;padding-right:1rem;padding-left:1rem}.nfd-wba-modal .nfd-wba-modal__categories-select select{font-size:1rem!important}.nfd-wba-modal .nfd-wba-modal__categories-select .components-input-control__backdrop{border-color:var(--nfd-wba-color-borders)!important}.nfd-wba-modal .nfd-wba-modal__categories-select .components-input-control-suffix-wrapper{padding-left:1rem}@media only screen and (max-width:782px){.nfd-wba-modal .nfd-wba-modal__categories-select{display:flex}}.nfd-wba-search-toggle svg{transform:rotate(90deg)}.components-search-control.nfd-wba-keyword-filter .components-base-control__field{align-items:center;display:flex;gap:12px;margin:0}.components-search-control.nfd-wba-keyword-filter input[type=search].components-input-control__input,.components-search-control.nfd-wba-keyword-filter input[type=search].components-search-control__input{border-radius:.25rem;font-size:14px;height:36px;line-height:20px}.components-search-control.nfd-wba-keyword-filter input[type=search].components-input-control__input:disabled,.components-search-control.nfd-wba-keyword-filter input[type=search].components-search-control__input:disabled{cursor:wait;opacity:1}.components-search-control.nfd-wba-keyword-filter .components-input-base{align-items:center;flex-direction:row;gap:12px}.components-search-control.nfd-wba-keyword-filter .components-input-control__container{border-radius:.25rem;height:36px}.nfd-wba-sr-only{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0,0,0,0);border-width:0;white-space:nowrap}.nfd-wba-pointer-events-none{pointer-events:none}.nfd-wba-invisible{visibility:hidden}.nfd-wba-absolute{position:absolute}.nfd-wba-relative{position:relative}.nfd-wba-inset-0{inset:0}.nfd-wba-left-0{right:0}.nfd-wba-right-0{left:0}.nfd-wba-top-0{top:0}.nfd-wba-z-10{z-index:10}.nfd-wba-z-\[2\]{z-index:2}.nfd-wba-m-0{margin:0}.nfd-wba-mx-4{margin-right:1rem;margin-left:1rem}.nfd-wba-my-0{margin-bottom:0;margin-top:0}.-nfd-wba-ml-1{margin-right:-.25rem}.-nfd-wba-ml-\[var\(--nfd-wba-masonry-gap\)\]{margin-right:calc(var(--nfd-wba-masonry-gap)*-1)}.-nfd-wba-mt-2{margin-top:-.5rem}.nfd-wba-mb-0{margin-bottom:0}.nfd-wba-mb-3{margin-bottom:.75rem}.nfd-wba-mb-8{margin-bottom:2rem}.nfd-wba-mb-\[var\(--nfd-wba-masonry-gap\)\]{margin-bottom:var(--nfd-wba-masonry-gap)}.nfd-wba-ml-0\.5{margin-right:.125rem}.nfd-wba-ml-2{margin-right:.5rem}.nfd-wba-ml-auto{margin-right:auto}.nfd-wba-mr-2{margin-left:.5rem}.nfd-wba-mt-0\.5{margin-top:.125rem}.nfd-wba-mt-1{margin-top:.25rem}.nfd-wba-mt-10{margin-top:2.5rem}.nfd-wba-mt-8{margin-top:2rem}.nfd-wba-mt-9{margin-top:2.25rem}.nfd-wba-flex{display:flex}.nfd-wba-hidden{display:none}.nfd-wba-size-5{height:1.25rem;width:1.25rem}.nfd-wba-size-9{height:2.25rem;width:2.25rem}.\!nfd-wba-h-9{height:2.25rem!important}.nfd-wba-h-0{height:0}.nfd-wba-h-12{height:3rem}.nfd-wba-h-4{height:1rem}.nfd-wba-h-5{height:1.25rem}.nfd-wba-h-6{height:1.5rem}.nfd-wba-h-7{height:1.75rem}.nfd-wba-h-full{height:100%}.nfd-wba-max-h-40{max-height:10rem}.nfd-wba-min-h-10{min-height:2.5rem}.nfd-wba-min-h-\[116px\]{min-height:116px}.nfd-wba-min-h-\[43px\]{min-height:43px}.nfd-wba-min-h-\[50vh\]{min-height:50vh}.\!nfd-wba-w-full{width:100%!important}.nfd-wba-w-12{width:3rem}.nfd-wba-w-4{width:1rem}.nfd-wba-w-7{width:1.75rem}.nfd-wba-w-8{width:2rem}.nfd-wba-w-auto{width:auto}.nfd-wba-w-full{width:100%}.\!nfd-wba-min-w-0{min-width:0!important}.\!nfd-wba-min-w-\[36px\]{min-width:36px!important}.nfd-wba-max-w-\[270px\]{max-width:270px}.nfd-wba-max-w-\[300px\]{max-width:300px}.nfd-wba-max-w-\[420px\]{max-width:420px}.nfd-wba-max-w-\[640px\]{max-width:640px}.nfd-wba-max-w-prose{max-width:65ch}.nfd-wba-flex-1{flex:1 1 0%}.nfd-wba-shrink-0{flex-shrink:0}.nfd-wba-flex-grow,.nfd-wba-grow{flex-grow:1}.nfd-wba-grow-0{flex-grow:0}.-nfd-wba-translate-y-1\/2{--tw-translate-y:-50%}.-nfd-wba-translate-y-1\/2,.nfd-wba-transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes nfd-wba-spin{to{transform:rotate(-1turn)}}.nfd-wba-animate-spin{animation:nfd-wba-spin 1s linear infinite}.nfd-wba-cursor-default{cursor:default}.nfd-wba-cursor-pointer{cursor:pointer}.nfd-wba-select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.nfd-wba-list-none{list-style-type:none}.nfd-wba-flex-col{flex-direction:column}.nfd-wba-items-start{align-items:flex-start}.nfd-wba-items-center{align-items:center}.nfd-wba-justify-start{justify-content:flex-start}.nfd-wba-justify-center{justify-content:center}.nfd-wba-justify-between{justify-content:space-between}.nfd-wba-gap-0\.5{gap:.125rem}.nfd-wba-gap-1{gap:.25rem}.nfd-wba-gap-14{gap:3.5rem}.nfd-wba-gap-2{gap:.5rem}.nfd-wba-gap-3{gap:.75rem}.nfd-wba-gap-4{gap:1rem}.nfd-wba-gap-6{gap:1.5rem}.nfd-wba-gap-8{gap:2rem}.nfd-wba-gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.nfd-wba-gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.nfd-wba-gap-x-3{-moz-column-gap:.75rem;column-gap:.75rem}.nfd-wba-gap-y-10{row-gap:2.5rem}.nfd-wba-gap-y-6{row-gap:1.5rem}.nfd-wba-overflow-hidden{overflow:hidden}.nfd-wba-overflow-clip{overflow:clip}.nfd-wba-overflow-y-auto{overflow-y:auto}.nfd-wba-text-balance{text-wrap:balance}.nfd-wba-rounded{border-radius:.25rem}.nfd-wba-rounded-2xl{border-radius:1rem}.nfd-wba-rounded-\[4px\]{border-radius:4px}.nfd-wba-rounded-\[9px\]{border-radius:9px}.nfd-wba-rounded-full{border-radius:9999px}.nfd-wba-rounded-lg{border-radius:.5rem}.nfd-wba-rounded-none{border-radius:0}.nfd-wba-rounded-t{border-top-right-radius:.25rem;border-top-left-radius:.25rem}.nfd-wba-border{border-width:1px}.nfd-wba-border-0{border-width:0}.nfd-wba-border-2{border-width:2px}.nfd-wba-border-\[1px\]{border-width:1px}.\!nfd-wba-border-b-0{border-bottom-width:0!important}.nfd-wba-border-t{border-top-width:1px}.nfd-wba-border-solid{border-style:solid}.nfd-wba-border-none{border-style:none}.nfd-wba-border-brand{--tw-border-opacity:1;border-color:rgb(var(--nfd-wba-color-brand-rgb)/var(--tw-border-opacity))}.nfd-wba-border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.nfd-wba-border-grey-b{border-color:var(--nfd-wba-color-borders)}.nfd-wba-border-grey-darker\/20{border-color:rgb(var(--nfd-wba-color-grey-darker-rgb)/.2)}.nfd-wba-border-r-brand\/10{border-left-color:rgb(var(--nfd-wba-color-brand-rgb)/.1)}.\!nfd-wba-bg-dark{--tw-bg-opacity:1!important;background-color:rgb(var(--nfd-wba-color-dark-rgb)/var(--tw-bg-opacity))!important}.nfd-wba-bg-brand{--tw-bg-opacity:1;background-color:rgb(var(--nfd-wba-color-brand-rgb)/var(--tw-bg-opacity))}.nfd-wba-bg-dark{--tw-bg-opacity:1;background-color:rgb(var(--nfd-wba-color-dark-rgb)/var(--tw-bg-opacity))}.nfd-wba-bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.nfd-wba-bg-grey{--tw-bg-opacity:1;background-color:rgb(var(--nfd-wba-color-grey-rgb)/var(--tw-bg-opacity))}.nfd-wba-bg-grey-darker\/20{background-color:rgb(var(--nfd-wba-color-grey-darker-rgb)/.2)}.nfd-wba-bg-transparent{background-color:transparent}.nfd-wba-bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.\!nfd-wba-fill-none{fill:none!important}.nfd-wba-fill-current{fill:currentColor}.nfd-wba-fill-gray-500{fill:#6b7280}.nfd-wba-fill-red-600{fill:#dc2626}.\!nfd-wba-stroke-brand{stroke:rgb(var(--nfd-wba-color-brand-rgb)/1)!important}.nfd-wba-stroke-brand{stroke:rgb(var(--nfd-wba-color-brand-rgb)/1)}.nfd-wba-stroke-red-600{stroke:#dc2626}.nfd-wba-stroke-white{stroke:#fff}.\!nfd-wba-p-0{padding:0!important}.nfd-wba-p-0{padding:0}.nfd-wba-p-2{padding:.5rem}.nfd-wba-p-6{padding:1.5rem}.\!nfd-wba-px-3{padding-right:.75rem!important;padding-left:.75rem!important}.nfd-wba-px-0{padding-right:0;padding-left:0}.nfd-wba-px-2{padding-right:.5rem;padding-left:.5rem}.nfd-wba-px-2\.5{padding-right:.625rem;padding-left:.625rem}.nfd-wba-px-4{padding-right:1rem;padding-left:1rem}.nfd-wba-px-5{padding-right:1.25rem;padding-left:1.25rem}.nfd-wba-px-6{padding-right:1.5rem;padding-left:1.5rem}.nfd-wba-px-\[10px\]{padding-right:10px;padding-left:10px}.nfd-wba-py-1{padding-bottom:.25rem;padding-top:.25rem}.nfd-wba-py-1\.5{padding-bottom:.375rem;padding-top:.375rem}.nfd-wba-py-2{padding-bottom:.5rem;padding-top:.5rem}.nfd-wba-py-3{padding-bottom:.75rem;padding-top:.75rem}.nfd-wba-py-4{padding-bottom:1rem;padding-top:1rem}.nfd-wba-py-8{padding-bottom:2rem;padding-top:2rem}.nfd-wba-py-\[5px\]{padding-bottom:5px;padding-top:5px}.nfd-wba-pb-\[10\%\]{padding-bottom:10%}.nfd-wba-pb-\[56\.25\%\]{padding-bottom:56.25%}.nfd-wba-pl-3{padding-right:.75rem}.nfd-wba-pl-5{padding-right:1.25rem}.nfd-wba-pl-6{padding-right:1.5rem}.nfd-wba-pl-\[var\(--nfd-wba-masonry-gap\)\]{padding-right:var(--nfd-wba-masonry-gap)}.nfd-wba-pr-1{padding-left:.25rem}.nfd-wba-pr-5{padding-left:1.25rem}.nfd-wba-pr-6{padding-left:1.5rem}.nfd-wba-pr-9{padding-left:2.25rem}.nfd-wba-pt-10{padding-top:2.5rem}.nfd-wba-pt-6{padding-top:1.5rem}.nfd-wba-pt-\[5vh\]{padding-top:5vh}.nfd-wba-text-left{text-align:right}.nfd-wba-text-center{text-align:center}.nfd-wba-align-middle{vertical-align:middle}.nfd-wba-align-\[-0\.125em\]{vertical-align:-.125em}.nfd-wba-text-2xl{font-size:1.5rem;line-height:2rem}.nfd-wba-text-3xl{font-size:1.875rem;line-height:2.25rem}.nfd-wba-text-\[14px\]{font-size:14px}.nfd-wba-text-\[15px\]{font-size:15px}.nfd-wba-text-base{font-size:1rem;line-height:1.5rem}.nfd-wba-text-lg{font-size:1.125rem;line-height:1.75rem}.nfd-wba-text-md{font-size:14px;line-height:22px}.nfd-wba-text-sm{font-size:12px;line-height:19px}.nfd-wba-text-xl{font-size:1.25rem;line-height:1.75rem}.nfd-wba-font-light{font-weight:300}.nfd-wba-font-medium{font-weight:500}.nfd-wba-font-normal{font-weight:400}.nfd-wba-font-semibold{font-weight:600}.nfd-wba-leading-5{line-height:1.25rem}.\!nfd-wba-text-red-600{--tw-text-opacity:1!important;color:rgb(220 38 38/var(--tw-text-opacity))!important}.nfd-wba-text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.nfd-wba-text-brand{--tw-text-opacity:1;color:rgb(var(--nfd-wba-color-brand-rgb)/var(--tw-text-opacity))}.nfd-wba-text-current{color:currentColor}.nfd-wba-text-dark{--tw-text-opacity:1;color:rgb(var(--nfd-wba-color-dark-rgb)/var(--tw-text-opacity))}.nfd-wba-text-dark-lighter{--tw-text-opacity:1;color:rgb(var(--nfd-wba-color-dark-lighter-rgb)/var(--tw-text-opacity))}.nfd-wba-text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.nfd-wba-text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.nfd-wba-shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.nfd-wba-shadow-lg,.nfd-wba-shadow-none{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.nfd-wba-shadow-none{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}.nfd-wba-transition-all{transition-duration:var(--nfd-wba-transition-duration);transition-property:all;transition-timing-function:var(--nfd-wba-transition-timing)}.nfd-wba-transition-opacity{transition-duration:var(--nfd-wba-transition-duration);transition-property:opacity;transition-timing-function:var(--nfd-wba-transition-timing)}.nfd-wba-duration-75{transition-duration:75ms}.nfd-wb--hide-theme-patterns [aria-label^="Wonder - "]:not([aria-label="Wonder - Pages"]){display:none}.first\:nfd-wba-mt-1\.5:first-child{margin-top:.375rem}.last\:nfd-wba-mb-1\.5:last-child{margin-bottom:.375rem}.hover\:nfd-wba-border-brand:hover{--tw-border-opacity:1;border-color:rgb(var(--nfd-wba-color-brand-rgb)/var(--tw-border-opacity))}.hover\:nfd-wba-border-gray-300:hover{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.hover\:\!nfd-wba-bg-brand-darker:hover{--tw-bg-opacity:1!important;background-color:rgb(var(--nfd-wba-color-brand-darker-rgb)/var(--tw-bg-opacity))!important}.hover\:nfd-wba-bg-brand-darker:hover{--tw-bg-opacity:1;background-color:rgb(var(--nfd-wba-color-brand-darker-rgb)/var(--tw-bg-opacity))}.hover\:nfd-wba-bg-gray-100:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.hover\:nfd-wba-text-brand:hover{--tw-text-opacity:1;color:rgb(var(--nfd-wba-color-brand-rgb)/var(--tw-text-opacity))}.hover\:nfd-wba-text-dark:hover{--tw-text-opacity:1;color:rgb(var(--nfd-wba-color-dark-rgb)/var(--tw-text-opacity))}.hover\:nfd-wba-text-gray-900:hover{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity))}.hover\:nfd-wba-text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.hover\:nfd-wba-text-white:hover{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.hover\:nfd-wba-underline:hover{text-decoration-line:underline}.focus-visible\:nfd-wba-text-white:focus-visible{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.focus-visible\:nfd-wba-outline-2:focus-visible{outline-width:2px}.focus-visible\:nfd-wba-outline-brand:focus-visible{outline-color:rgb(var(--nfd-wba-color-brand-rgb)/1)}.active\:nfd-wba-bg-brand-darker-10:active{--tw-bg-opacity:1;background-color:rgb(var(--nfd-wba-color-brand-darker-10-rgb)/var(--tw-bg-opacity))}.active\:\!nfd-wba-text-white:active{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important}@media (min-width:782px){.sm\:nfd-wba-visible{visibility:visible}.sm\:nfd-wba-row-span-2{grid-row:span 2/span 2}.sm\:nfd-wba-mx-0{margin-right:0;margin-left:0}.sm\:-nfd-wba-ml-\[var\(--nfd-wba-masonry-gap\)\]{margin-right:calc(var(--nfd-wba-masonry-gap)*-1)}.sm\:nfd-wba-mt-0{margin-top:0}.sm\:nfd-wba-flex{display:flex}.sm\:\!nfd-wba-hidden{display:none!important}.sm\:nfd-wba-hidden{display:none}.sm\:nfd-wba-max-h-\[90\%\]{max-height:90%}.sm\:nfd-wba-w-full{width:100%}.sm\:nfd-wba-max-w-full{max-width:100%}.sm\:nfd-wba-justify-start{justify-content:flex-start}.sm\:nfd-wba-justify-center{justify-content:center}.sm\:nfd-wba-overflow-y-auto{overflow-y:auto}.sm\:nfd-wba-rounded-none{border-radius:0}.sm\:nfd-wba-border-r{border-left-width:1px}.sm\:nfd-wba-border-solid{border-style:solid}.sm\:nfd-wba-border-none{border-style:none}.sm\:nfd-wba-border-grey-b{border-color:var(--nfd-wba-color-borders)}.sm\:nfd-wba-px-6{padding-right:1.5rem;padding-left:1.5rem}.sm\:nfd-wba-py-0{padding-bottom:0;padding-top:0}.sm\:nfd-wba-pb-40{padding-bottom:10rem}.sm\:nfd-wba-pl-\[var\(--nfd-wba-masonry-gap\)\]{padding-right:var(--nfd-wba-masonry-gap)}.sm\:nfd-wba-pt-0{padding-top:0}.md\:nfd-wba-min-w-\[400px\]{min-width:400px}.md\:nfd-wba-max-w-\[90\%\]{max-width:90%}}@media (min-width:1024px){.lg\:nfd-wba-inline{display:inline}.lg\:\!nfd-wba-pl-3{padding-right:.75rem!important}.lg\:\!nfd-wba-pr-\[15px\]{padding-left:15px!important}} diff --git a/build/2.3.0/wonder-blocks.css b/build/2.3.0/wonder-blocks.css deleted file mode 100644 index 5b0de3a..0000000 --- a/build/2.3.0/wonder-blocks.css +++ /dev/null @@ -1 +0,0 @@ -:root{--nfd-wba-color-dark:#1e1e1e;--nfd-wba-color-dark-rgb:30 30 30;--nfd-wba-color-dark-lighter:#3c434a;--nfd-wba-color-dark-lighter-rgb:60 67 74;--nfd-wba-color-brand:#178113;--nfd-wba-color-brand-rgb:23 129 19;--nfd-wba-color-brand-darker:#3e8f3b;--nfd-wba-color-brand-darker-rgb:62 143 59;--nfd-wba-color-brand-darker-10:#378534;--nfd-wba-color-brand-darker-10-rgb:55 133 52;--nfd-wba-color-grey:#f2f2f2;--nfd-wba-color-grey-rgb:242 242 242;--nfd-wba-color-grey-darker:#aeaeae;--nfd-wba-color-grey-darker-rgb:174 174 174;--nfd-wba-color-borders:#e5e7eb;--nfd-wba-sidebar-width:310px;--nfd-wba-header-height:70px;--nfd-wba-border-radius--lg:8px;--nfd-wba-masonry-gap:24px;--nfd-wba-transition-duration:100ms;--nfd-wba-transition-timing:linear}@media only screen and (max-width:782px){:root{--nfd-wba-masonry-gap:32px}}#nfd-wba-toolbar-button button.nfd-wba-bg-dark{--nfd-wba-color-brand:var(--nfd-wba-color-dark)}#nfd-wba-toolbar-button button svg{fill:none}#nfd-wba-toolbar-button button.is-pressed:before,#nfd-wba-toolbar-button button:focus:before{animation:none;height:unset;inset:0}#nfd-wba-toolbar-button button:focus:before{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--nfd-wba-color-brand);outline:none}#nfd-wba-toolbar-button button.is-pressed:focus:before{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color)}@media only screen and (max-width:782px){.nfd-wba-list-elements{display:none}}.nfd-wba-list-elements--is-filtered .nfd-wba-list-element.nfd-wba--is-active{color:currentColor;font-weight:inherit}.nfd-wba-list-elements--is-filtered .nfd-wba-list-element.nfd-wba--is-active:before{transform:scaleX(0)}.nfd-wba-list-element:before{background-color:var(--nfd-wba-color-brand);bottom:7px;content:"";display:block;left:0;position:absolute;top:7px;transform:scaleX(0);transform-origin:left;width:3px}.nfd-wba-list-element:hover:before{transform:scaleX(1)}.nfd-wba-list-element:hover .nfd-wba-list-element__count{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.nfd-wba-list-element.nfd-wba--is-active:before{transform:scaleX(1)}.nfd-wba-list-element.nfd-wba-list-element--favorites:after{background-color:var(--nfd-wba-color-borders);content:"";height:1px;left:1.5rem;position:absolute;right:0;top:0}.nfd-wba-loading-bar:after,.nfd-wba-loading-bar:before{content:"";inset:0;position:absolute}.nfd-wba-loading-bar:before{background:var(--nfd-wba-color-grey)}.nfd-wba-loading-bar:after{background-color:var(--nfd-wba-color-brand);transform:scaleX(var(--nfd-wba-loading-progress,.1));transform-origin:left;transition:transform var(--nfd-wba-transition-duration) var(--nfd-wba-transition-timing)}.nfd-wba-tab-panel .components-tab-panel__tabs{display:flex}@media only screen and (max-width:782px){.nfd-wba-tab-panel .components-tab-panel__tabs{border:1px solid var(--nfd-wba-color-borders);border-bottom-left-radius:.25rem;border-bottom-right-radius:.25rem;border-top:none}}.nfd-wba-tab-panel .components-tab-panel__tabs .components-button{font-size:14px}.nfd-wba-tab-panel .components-tab-panel__tab-content{display:flex;flex-direction:column;flex-grow:1}.nfd-wba-tab-panel .components-tab-panel__tabs-item{color:currentColor;flex-grow:1;height:unset;margin-bottom:-1px;padding-bottom:16px;padding-top:12px}.nfd-wba-tab-panel .components-tab-panel__tabs-item:before{bottom:0;left:1px;right:0;top:-8px}@media only screen and (max-width:782px){.nfd-wba-tab-panel .components-tab-panel__tabs-item:before{inset:-2px}.nfd-wba-tab-panel .components-tab-panel__tabs-item{font-size:1rem;justify-content:center;margin-left:-1px;margin-right:-1px;min-height:36px;padding:8px 12px}}.nfd-wba-tab-panel .components-tab-panel__tabs-item:not(.nfd-wba--is-active){font-weight:400}@media only screen and (max-width:782px){.nfd-wba-tab-panel .components-tab-panel__tabs-item:not(.nfd-wba--is-active){font-weight:500}}.nfd-wba-tab-panel .components-tab-panel__tabs-item:first-child{padding-left:24px}@media only screen and (max-width:782px){.nfd-wba-tab-panel .components-tab-panel__tabs-item:first-child{border-bottom-left-radius:.25rem}.nfd-wba-tab-panel .components-tab-panel__tabs-item:last-child{border-bottom-right-radius:.25rem}}.nfd-wba-tab-panel .components-tab-panel__tabs-item.nfd-wba--is-active{box-shadow:inset 0 -3px var(--wp-admin-theme-color);color:var(--nfd-wba-color-dark)}@media only screen and (max-width:782px){.nfd-wba-tab-panel .components-tab-panel__tabs-item.nfd-wba--is-active{background-color:var(--wp-admin-theme-color);box-shadow:none;color:#fff}}.nfd-wba-tab-panel .components-tab-panel__tabs-item:not(.nfd-wba--is-active):focus{box-shadow:none;outline:none}.nfd-wba-skeleton--item{isolation:isolate;overflow:hidden;position:relative}.nfd-wba-skeleton--item:before{animation:nfd-wba-skeleton-pulse 3s infinite;background-image:linear-gradient(90deg,transparent,rgba(0,0,0,.02) 25%,rgba(0,0,0,.05) 50%,rgba(0,0,0,.02) 75%,transparent);background-repeat:no-repeat;background-size:100% 100%;content:"";height:100%;left:0;min-width:200px;position:absolute;top:0;transform:translateX(-100%);width:100%;z-index:-1}.nfd-wba-skeleton--item+.nfd-wba-skeleton--item:before{animation-delay:var(--nfd-wba-skeleton-delay,0s)}@keyframes nfd-wba-skeleton-pulse{to{transform:translateX(100%)}}:root{--nfd-wba-design-item--template-height:30vw}.nfd-wba-design-item:focus-visible{outline:2px solid var(--nfd-wba-color-brand);outline-offset:2px}.nfd-wba-design-item--template .block-editor-block-preview__container{max-height:var(--nfd-wba-design-item--template-height)}.nfd-wba-design-item--template .block-editor-block-preview__container:before{transition:-webkit-backdrop-filter var(--nfd-wba-transition-duration) var(--nfd-wba-transition-timing);transition:backdrop-filter var(--nfd-wba-transition-duration) var(--nfd-wba-transition-timing);transition:backdrop-filter var(--nfd-wba-transition-duration) var(--nfd-wba-transition-timing),-webkit-backdrop-filter var(--nfd-wba-transition-duration) var(--nfd-wba-transition-timing)}.nfd-wba-design-item--template.nfd-wba-inserting-design .block-editor-block-preview__container:before{-webkit-backdrop-filter:grayscale(1);backdrop-filter:grayscale(1);content:"";inset:0;position:absolute;z-index:1}.nfd-wba-design-item--template iframe{--offset:calc(var(--nfd-wba-design-item--template-height)/var(--nfd-wba-design-item--scale));--transition-duration:calc(var(--nfd-wba-design-item--scroll-duration, 0s)/2);--nfd-wba-translate-offset:calc(-100% + var(--offset));--hover-transition-duration:var(--nfd-wba-design-item--scroll-duration,0s);transition:transform var(--transition-duration,0s)!important}.nfd-wba-design-item--template:hover iframe{transform:translateY(var(--nfd-wba-translate-offset));transition:transform var(--hover-transition-duration,0s)!important}.nfd-wba-modal{--wp-admin-theme-color:var(--nfd-wba-color-brand)}@media only screen and (min-width:600px)and (max-width:1024px){.nfd-wba-modal.components-modal__frame.is-full-screen{max-width:unset;min-height:calc(100vh - 24px);width:calc(100vw - 24px)}}.nfd-wba-modal .components-modal__content{display:flex;justify-content:flex-start;padding:0}@media only screen and (max-width:782px){.nfd-wba-modal .components-modal__content{display:block}}.nfd-wba-modal .components-modal__content>div:not(.nfd-wba-library-modal-grid){display:flex;flex-grow:1}.nfd-wba-modal__header{align-items:center;display:flex;flex-shrink:0;gap:16px;height:var(--nfd-wba-header-height);padding:0 24px}@media only screen and (max-width:782px){.nfd-wba-modal__header:not(.nfd-wba-modal__sidebar-header){--nfd-wba-header-height:60px;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background-color:hsla(0,0%,100%,.9);border-bottom:none;order:-1;padding:0 16px;position:sticky;top:0;z-index:10}}.nfd-wba-modal__content-filter{align-items:center;display:flex;flex-grow:0;justify-content:space-between;justify-content:flex-end;margin-bottom:1.5rem}.nfd-wba-modal__content-filter button{font-size:14px}.nfd-wba-modal .nfd-wba-keyword-filter svg{transform:scaleX(-1)}.nfd-wba-filter-dropdown .components-dropdown-menu__menu-item{display:flex;font-size:14px;justify-content:space-between;min-width:120px}.nfd-wba-filter-dropdown .components-dropdown-menu__menu-item svg{order:1}.nfd-wba-filter-dropdown .components-dropdown-menu__menu-item.is-active{color:var(--nfd-wba-color-brand)}.nfd-wba-filter-dropdown .components-dropdown-menu__menu-item.is-active svg{background:none;border:none;box-shadow:none;color:var(--nfd-wba-color-brand)}.nfd-wba-filter-dropdown .components-button.has-icon.has-text{justify-content:space-between}.nfd-wba-state-message>svg{max-width:620px}.nfd-wba-library-modal-grid{display:grid;grid-template-columns:var(--nfd-wba-sidebar-width) 1fr;grid-template-rows:70px 1fr}@media only screen and (max-width:782px){.nfd-wba-library-modal-grid{display:flex;flex-direction:column}}.nfd-wba-modal .nfd-wba-modal__categories-select{display:none}.nfd-wba-modal .nfd-wba-modal__categories-select .components-input-control__container{border-radius:.25rem;padding-left:1rem;padding-right:1rem}.nfd-wba-modal .nfd-wba-modal__categories-select select{font-size:1rem!important}.nfd-wba-modal .nfd-wba-modal__categories-select .components-input-control__backdrop{border-color:var(--nfd-wba-color-borders)!important}.nfd-wba-modal .nfd-wba-modal__categories-select .components-input-control-suffix-wrapper{padding-right:1rem}@media only screen and (max-width:782px){.nfd-wba-modal .nfd-wba-modal__categories-select{display:flex}}.nfd-wba-search-toggle svg{transform:rotate(-90deg)}.components-search-control.nfd-wba-keyword-filter .components-base-control__field{align-items:center;display:flex;gap:12px;margin:0}.components-search-control.nfd-wba-keyword-filter input[type=search].components-input-control__input,.components-search-control.nfd-wba-keyword-filter input[type=search].components-search-control__input{border-radius:.25rem;font-size:14px;height:36px;line-height:20px}.components-search-control.nfd-wba-keyword-filter input[type=search].components-input-control__input:disabled,.components-search-control.nfd-wba-keyword-filter input[type=search].components-search-control__input:disabled{cursor:wait;opacity:1}.components-search-control.nfd-wba-keyword-filter .components-input-base{align-items:center;flex-direction:row;gap:12px}.components-search-control.nfd-wba-keyword-filter .components-input-control__container{border-radius:.25rem;height:36px}.nfd-wba-sr-only{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0,0,0,0);border-width:0;white-space:nowrap}.nfd-wba-pointer-events-none{pointer-events:none}.nfd-wba-invisible{visibility:hidden}.nfd-wba-absolute{position:absolute}.nfd-wba-relative{position:relative}.nfd-wba-inset-0{inset:0}.nfd-wba-left-0{left:0}.nfd-wba-right-0{right:0}.nfd-wba-top-0{top:0}.nfd-wba-z-10{z-index:10}.nfd-wba-z-\[2\]{z-index:2}.nfd-wba-m-0{margin:0}.nfd-wba-mx-4{margin-left:1rem;margin-right:1rem}.nfd-wba-my-0{margin-bottom:0;margin-top:0}.-nfd-wba-ml-1{margin-left:-.25rem}.-nfd-wba-ml-\[var\(--nfd-wba-masonry-gap\)\]{margin-left:calc(var(--nfd-wba-masonry-gap)*-1)}.-nfd-wba-mt-2{margin-top:-.5rem}.nfd-wba-mb-0{margin-bottom:0}.nfd-wba-mb-3{margin-bottom:.75rem}.nfd-wba-mb-8{margin-bottom:2rem}.nfd-wba-mb-\[var\(--nfd-wba-masonry-gap\)\]{margin-bottom:var(--nfd-wba-masonry-gap)}.nfd-wba-ml-0\.5{margin-left:.125rem}.nfd-wba-ml-2{margin-left:.5rem}.nfd-wba-ml-auto{margin-left:auto}.nfd-wba-mr-2{margin-right:.5rem}.nfd-wba-mt-0\.5{margin-top:.125rem}.nfd-wba-mt-1{margin-top:.25rem}.nfd-wba-mt-10{margin-top:2.5rem}.nfd-wba-mt-8{margin-top:2rem}.nfd-wba-mt-9{margin-top:2.25rem}.nfd-wba-flex{display:flex}.nfd-wba-hidden{display:none}.nfd-wba-size-5{height:1.25rem;width:1.25rem}.nfd-wba-size-9{height:2.25rem;width:2.25rem}.\!nfd-wba-h-9{height:2.25rem!important}.nfd-wba-h-0{height:0}.nfd-wba-h-12{height:3rem}.nfd-wba-h-4{height:1rem}.nfd-wba-h-5{height:1.25rem}.nfd-wba-h-6{height:1.5rem}.nfd-wba-h-7{height:1.75rem}.nfd-wba-h-full{height:100%}.nfd-wba-max-h-40{max-height:10rem}.nfd-wba-min-h-10{min-height:2.5rem}.nfd-wba-min-h-\[116px\]{min-height:116px}.nfd-wba-min-h-\[43px\]{min-height:43px}.nfd-wba-min-h-\[50vh\]{min-height:50vh}.\!nfd-wba-w-full{width:100%!important}.nfd-wba-w-12{width:3rem}.nfd-wba-w-4{width:1rem}.nfd-wba-w-7{width:1.75rem}.nfd-wba-w-8{width:2rem}.nfd-wba-w-auto{width:auto}.nfd-wba-w-full{width:100%}.\!nfd-wba-min-w-0{min-width:0!important}.\!nfd-wba-min-w-\[36px\]{min-width:36px!important}.nfd-wba-max-w-\[270px\]{max-width:270px}.nfd-wba-max-w-\[300px\]{max-width:300px}.nfd-wba-max-w-\[420px\]{max-width:420px}.nfd-wba-max-w-\[640px\]{max-width:640px}.nfd-wba-max-w-prose{max-width:65ch}.nfd-wba-flex-1{flex:1 1 0%}.nfd-wba-shrink-0{flex-shrink:0}.nfd-wba-flex-grow,.nfd-wba-grow{flex-grow:1}.nfd-wba-grow-0{flex-grow:0}.-nfd-wba-translate-y-1\/2{--tw-translate-y:-50%}.-nfd-wba-translate-y-1\/2,.nfd-wba-transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes nfd-wba-spin{to{transform:rotate(1turn)}}.nfd-wba-animate-spin{animation:nfd-wba-spin 1s linear infinite}.nfd-wba-cursor-default{cursor:default}.nfd-wba-cursor-pointer{cursor:pointer}.nfd-wba-select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.nfd-wba-list-none{list-style-type:none}.nfd-wba-flex-col{flex-direction:column}.nfd-wba-items-start{align-items:flex-start}.nfd-wba-items-center{align-items:center}.nfd-wba-justify-start{justify-content:flex-start}.nfd-wba-justify-center{justify-content:center}.nfd-wba-justify-between{justify-content:space-between}.nfd-wba-gap-0\.5{gap:.125rem}.nfd-wba-gap-1{gap:.25rem}.nfd-wba-gap-14{gap:3.5rem}.nfd-wba-gap-2{gap:.5rem}.nfd-wba-gap-3{gap:.75rem}.nfd-wba-gap-4{gap:1rem}.nfd-wba-gap-6{gap:1.5rem}.nfd-wba-gap-8{gap:2rem}.nfd-wba-gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.nfd-wba-gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.nfd-wba-gap-x-3{-moz-column-gap:.75rem;column-gap:.75rem}.nfd-wba-gap-y-10{row-gap:2.5rem}.nfd-wba-gap-y-6{row-gap:1.5rem}.nfd-wba-overflow-hidden{overflow:hidden}.nfd-wba-overflow-clip{overflow:clip}.nfd-wba-overflow-y-auto{overflow-y:auto}.nfd-wba-text-balance{text-wrap:balance}.nfd-wba-rounded{border-radius:.25rem}.nfd-wba-rounded-2xl{border-radius:1rem}.nfd-wba-rounded-\[4px\]{border-radius:4px}.nfd-wba-rounded-\[9px\]{border-radius:9px}.nfd-wba-rounded-full{border-radius:9999px}.nfd-wba-rounded-lg{border-radius:.5rem}.nfd-wba-rounded-none{border-radius:0}.nfd-wba-rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.nfd-wba-border{border-width:1px}.nfd-wba-border-0{border-width:0}.nfd-wba-border-2{border-width:2px}.nfd-wba-border-\[1px\]{border-width:1px}.\!nfd-wba-border-b-0{border-bottom-width:0!important}.nfd-wba-border-t{border-top-width:1px}.nfd-wba-border-solid{border-style:solid}.nfd-wba-border-none{border-style:none}.nfd-wba-border-brand{--tw-border-opacity:1;border-color:rgb(var(--nfd-wba-color-brand-rgb)/var(--tw-border-opacity))}.nfd-wba-border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.nfd-wba-border-grey-b{border-color:var(--nfd-wba-color-borders)}.nfd-wba-border-grey-darker\/20{border-color:rgb(var(--nfd-wba-color-grey-darker-rgb)/.2)}.nfd-wba-border-r-brand\/10{border-right-color:rgb(var(--nfd-wba-color-brand-rgb)/.1)}.\!nfd-wba-bg-dark{--tw-bg-opacity:1!important;background-color:rgb(var(--nfd-wba-color-dark-rgb)/var(--tw-bg-opacity))!important}.nfd-wba-bg-brand{--tw-bg-opacity:1;background-color:rgb(var(--nfd-wba-color-brand-rgb)/var(--tw-bg-opacity))}.nfd-wba-bg-dark{--tw-bg-opacity:1;background-color:rgb(var(--nfd-wba-color-dark-rgb)/var(--tw-bg-opacity))}.nfd-wba-bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.nfd-wba-bg-grey{--tw-bg-opacity:1;background-color:rgb(var(--nfd-wba-color-grey-rgb)/var(--tw-bg-opacity))}.nfd-wba-bg-grey-darker\/20{background-color:rgb(var(--nfd-wba-color-grey-darker-rgb)/.2)}.nfd-wba-bg-transparent{background-color:transparent}.nfd-wba-bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.\!nfd-wba-fill-none{fill:none!important}.nfd-wba-fill-current{fill:currentColor}.nfd-wba-fill-gray-500{fill:#6b7280}.nfd-wba-fill-red-600{fill:#dc2626}.\!nfd-wba-stroke-brand{stroke:rgb(var(--nfd-wba-color-brand-rgb)/1)!important}.nfd-wba-stroke-brand{stroke:rgb(var(--nfd-wba-color-brand-rgb)/1)}.nfd-wba-stroke-red-600{stroke:#dc2626}.nfd-wba-stroke-white{stroke:#fff}.\!nfd-wba-p-0{padding:0!important}.nfd-wba-p-0{padding:0}.nfd-wba-p-2{padding:.5rem}.nfd-wba-p-6{padding:1.5rem}.\!nfd-wba-px-3{padding-left:.75rem!important;padding-right:.75rem!important}.nfd-wba-px-0{padding-left:0;padding-right:0}.nfd-wba-px-2{padding-left:.5rem;padding-right:.5rem}.nfd-wba-px-2\.5{padding-left:.625rem;padding-right:.625rem}.nfd-wba-px-4{padding-left:1rem;padding-right:1rem}.nfd-wba-px-5{padding-left:1.25rem;padding-right:1.25rem}.nfd-wba-px-6{padding-left:1.5rem;padding-right:1.5rem}.nfd-wba-px-\[10px\]{padding-left:10px;padding-right:10px}.nfd-wba-py-1{padding-bottom:.25rem;padding-top:.25rem}.nfd-wba-py-1\.5{padding-bottom:.375rem;padding-top:.375rem}.nfd-wba-py-2{padding-bottom:.5rem;padding-top:.5rem}.nfd-wba-py-3{padding-bottom:.75rem;padding-top:.75rem}.nfd-wba-py-4{padding-bottom:1rem;padding-top:1rem}.nfd-wba-py-8{padding-bottom:2rem;padding-top:2rem}.nfd-wba-py-\[5px\]{padding-bottom:5px;padding-top:5px}.nfd-wba-pb-\[10\%\]{padding-bottom:10%}.nfd-wba-pb-\[56\.25\%\]{padding-bottom:56.25%}.nfd-wba-pl-3{padding-left:.75rem}.nfd-wba-pl-5{padding-left:1.25rem}.nfd-wba-pl-6{padding-left:1.5rem}.nfd-wba-pl-\[var\(--nfd-wba-masonry-gap\)\]{padding-left:var(--nfd-wba-masonry-gap)}.nfd-wba-pr-1{padding-right:.25rem}.nfd-wba-pr-5{padding-right:1.25rem}.nfd-wba-pr-6{padding-right:1.5rem}.nfd-wba-pr-9{padding-right:2.25rem}.nfd-wba-pt-10{padding-top:2.5rem}.nfd-wba-pt-6{padding-top:1.5rem}.nfd-wba-pt-\[5vh\]{padding-top:5vh}.nfd-wba-text-left{text-align:left}.nfd-wba-text-center{text-align:center}.nfd-wba-align-middle{vertical-align:middle}.nfd-wba-align-\[-0\.125em\]{vertical-align:-.125em}.nfd-wba-text-2xl{font-size:1.5rem;line-height:2rem}.nfd-wba-text-3xl{font-size:1.875rem;line-height:2.25rem}.nfd-wba-text-\[14px\]{font-size:14px}.nfd-wba-text-\[15px\]{font-size:15px}.nfd-wba-text-base{font-size:1rem;line-height:1.5rem}.nfd-wba-text-lg{font-size:1.125rem;line-height:1.75rem}.nfd-wba-text-md{font-size:14px;line-height:22px}.nfd-wba-text-sm{font-size:12px;line-height:19px}.nfd-wba-text-xl{font-size:1.25rem;line-height:1.75rem}.nfd-wba-font-light{font-weight:300}.nfd-wba-font-medium{font-weight:500}.nfd-wba-font-normal{font-weight:400}.nfd-wba-font-semibold{font-weight:600}.nfd-wba-leading-5{line-height:1.25rem}.\!nfd-wba-text-red-600{--tw-text-opacity:1!important;color:rgb(220 38 38/var(--tw-text-opacity))!important}.nfd-wba-text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.nfd-wba-text-brand{--tw-text-opacity:1;color:rgb(var(--nfd-wba-color-brand-rgb)/var(--tw-text-opacity))}.nfd-wba-text-current{color:currentColor}.nfd-wba-text-dark{--tw-text-opacity:1;color:rgb(var(--nfd-wba-color-dark-rgb)/var(--tw-text-opacity))}.nfd-wba-text-dark-lighter{--tw-text-opacity:1;color:rgb(var(--nfd-wba-color-dark-lighter-rgb)/var(--tw-text-opacity))}.nfd-wba-text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.nfd-wba-text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.nfd-wba-shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.nfd-wba-shadow-lg,.nfd-wba-shadow-none{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.nfd-wba-shadow-none{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}.nfd-wba-transition-all{transition-duration:var(--nfd-wba-transition-duration);transition-property:all;transition-timing-function:var(--nfd-wba-transition-timing)}.nfd-wba-transition-opacity{transition-duration:var(--nfd-wba-transition-duration);transition-property:opacity;transition-timing-function:var(--nfd-wba-transition-timing)}.nfd-wba-duration-75{transition-duration:75ms}.nfd-wb--hide-theme-patterns [aria-label^="Wonder - "]:not([aria-label="Wonder - Pages"]){display:none}.first\:nfd-wba-mt-1\.5:first-child{margin-top:.375rem}.last\:nfd-wba-mb-1\.5:last-child{margin-bottom:.375rem}.hover\:nfd-wba-border-brand:hover{--tw-border-opacity:1;border-color:rgb(var(--nfd-wba-color-brand-rgb)/var(--tw-border-opacity))}.hover\:nfd-wba-border-gray-300:hover{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.hover\:\!nfd-wba-bg-brand-darker:hover{--tw-bg-opacity:1!important;background-color:rgb(var(--nfd-wba-color-brand-darker-rgb)/var(--tw-bg-opacity))!important}.hover\:nfd-wba-bg-brand-darker:hover{--tw-bg-opacity:1;background-color:rgb(var(--nfd-wba-color-brand-darker-rgb)/var(--tw-bg-opacity))}.hover\:nfd-wba-bg-gray-100:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.hover\:nfd-wba-text-brand:hover{--tw-text-opacity:1;color:rgb(var(--nfd-wba-color-brand-rgb)/var(--tw-text-opacity))}.hover\:nfd-wba-text-dark:hover{--tw-text-opacity:1;color:rgb(var(--nfd-wba-color-dark-rgb)/var(--tw-text-opacity))}.hover\:nfd-wba-text-gray-900:hover{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity))}.hover\:nfd-wba-text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.hover\:nfd-wba-text-white:hover{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.hover\:nfd-wba-underline:hover{text-decoration-line:underline}.focus-visible\:nfd-wba-text-white:focus-visible{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.focus-visible\:nfd-wba-outline-2:focus-visible{outline-width:2px}.focus-visible\:nfd-wba-outline-brand:focus-visible{outline-color:rgb(var(--nfd-wba-color-brand-rgb)/1)}.active\:nfd-wba-bg-brand-darker-10:active{--tw-bg-opacity:1;background-color:rgb(var(--nfd-wba-color-brand-darker-10-rgb)/var(--tw-bg-opacity))}.active\:\!nfd-wba-text-white:active{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important}@media (min-width:782px){.sm\:nfd-wba-visible{visibility:visible}.sm\:nfd-wba-row-span-2{grid-row:span 2/span 2}.sm\:nfd-wba-mx-0{margin-left:0;margin-right:0}.sm\:-nfd-wba-ml-\[var\(--nfd-wba-masonry-gap\)\]{margin-left:calc(var(--nfd-wba-masonry-gap)*-1)}.sm\:nfd-wba-mt-0{margin-top:0}.sm\:nfd-wba-flex{display:flex}.sm\:\!nfd-wba-hidden{display:none!important}.sm\:nfd-wba-hidden{display:none}.sm\:nfd-wba-max-h-\[90\%\]{max-height:90%}.sm\:nfd-wba-w-full{width:100%}.sm\:nfd-wba-max-w-full{max-width:100%}.sm\:nfd-wba-justify-start{justify-content:flex-start}.sm\:nfd-wba-justify-center{justify-content:center}.sm\:nfd-wba-overflow-y-auto{overflow-y:auto}.sm\:nfd-wba-rounded-none{border-radius:0}.sm\:nfd-wba-border-r{border-right-width:1px}.sm\:nfd-wba-border-solid{border-style:solid}.sm\:nfd-wba-border-none{border-style:none}.sm\:nfd-wba-border-grey-b{border-color:var(--nfd-wba-color-borders)}.sm\:nfd-wba-px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:nfd-wba-py-0{padding-bottom:0;padding-top:0}.sm\:nfd-wba-pb-40{padding-bottom:10rem}.sm\:nfd-wba-pl-\[var\(--nfd-wba-masonry-gap\)\]{padding-left:var(--nfd-wba-masonry-gap)}.sm\:nfd-wba-pt-0{padding-top:0}.md\:nfd-wba-min-w-\[400px\]{min-width:400px}.md\:nfd-wba-max-w-\[90\%\]{max-width:90%}}@media (min-width:1024px){.lg\:nfd-wba-inline{display:inline}.lg\:\!nfd-wba-pl-3{padding-left:.75rem!important}.lg\:\!nfd-wba-pr-\[15px\]{padding-right:15px!important}} diff --git a/build/2.3.0/blocks/block.json b/build/2.4.0/blocks/block.json similarity index 100% rename from build/2.3.0/blocks/block.json rename to build/2.4.0/blocks/block.json diff --git a/build/2.4.0/wonder-blocks-rtl.css b/build/2.4.0/wonder-blocks-rtl.css new file mode 100644 index 0000000..67f9a51 --- /dev/null +++ b/build/2.4.0/wonder-blocks-rtl.css @@ -0,0 +1 @@ +:root{--nfd-wba-color-dark:#1e1e1e;--nfd-wba-color-dark-rgb:30 30 30;--nfd-wba-color-dark-lighter:#3c434a;--nfd-wba-color-dark-lighter-rgb:60 67 74;--nfd-wba-color-brand:#178113;--nfd-wba-color-brand-rgb:23 129 19;--nfd-wba-color-brand-darker:#3e8f3b;--nfd-wba-color-brand-darker-rgb:62 143 59;--nfd-wba-color-brand-darker-10:#378534;--nfd-wba-color-brand-darker-10-rgb:55 133 52;--nfd-wba-color-grey:#f2f2f2;--nfd-wba-color-grey-rgb:242 242 242;--nfd-wba-color-grey-darker:#aeaeae;--nfd-wba-color-grey-darker-rgb:174 174 174;--nfd-wba-color-borders:#e5e7eb;--nfd-wba-sidebar-width:310px;--nfd-wba-header-height:70px;--nfd-wba-border-radius--lg:8px;--nfd-wba-masonry-gap:24px;--nfd-wba-transition-duration:100ms;--nfd-wba-transition-timing:linear}@media only screen and (max-width:782px){:root{--nfd-wba-masonry-gap:32px}}#nfd-wba-toolbar-button button.nfd-wba-bg-dark{--nfd-wba-color-brand:var(--nfd-wba-color-dark)}#nfd-wba-toolbar-button button svg{fill:none}#nfd-wba-toolbar-button button.is-pressed:before,#nfd-wba-toolbar-button button:focus:before{animation:none;height:unset;inset:0}#nfd-wba-toolbar-button button:focus:before{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--nfd-wba-color-brand);outline:none}#nfd-wba-toolbar-button button.is-pressed:focus:before{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color)}@media only screen and (max-width:782px){.nfd-wba-list-elements{display:none}}.nfd-wba-list-elements--is-filtered .nfd-wba-list-element.nfd-wba--is-active{color:currentColor;font-weight:inherit}.nfd-wba-list-elements--is-filtered .nfd-wba-list-element.nfd-wba--is-active:before{transform:scaleX(0)}.nfd-wba-list-element:before{background-color:var(--nfd-wba-color-brand);bottom:7px;content:"";display:block;right:0;position:absolute;top:7px;transform:scaleX(0);transform-origin:right;width:3px}.nfd-wba-list-element:hover:before{transform:scaleX(1)}.nfd-wba-list-element:hover .nfd-wba-list-element__count{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.nfd-wba-list-element.nfd-wba--is-active:before{transform:scaleX(1)}.nfd-wba-list-element.nfd-wba-list-element--favorites:after{background-color:var(--nfd-wba-color-borders);content:"";height:1px;right:1.5rem;position:absolute;left:0;top:0}.nfd-wba-loading-bar:after,.nfd-wba-loading-bar:before{content:"";inset:0;position:absolute}.nfd-wba-loading-bar:before{background:var(--nfd-wba-color-grey)}.nfd-wba-loading-bar:after{background-color:var(--nfd-wba-color-brand);transform:scaleX(var(--nfd-wba-loading-progress,.1));transform-origin:right;transition:transform var(--nfd-wba-transition-duration) var(--nfd-wba-transition-timing)}.nfd-wba-tab-panel .components-tab-panel__tabs{display:flex}@media only screen and (max-width:782px){.nfd-wba-tab-panel .components-tab-panel__tabs{border:1px solid var(--nfd-wba-color-borders);border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem;border-top:none}}.nfd-wba-tab-panel .components-tab-panel__tabs .components-button{font-size:14px}.nfd-wba-tab-panel .components-tab-panel__tab-content{display:flex;flex-direction:column;flex-grow:1}.nfd-wba-tab-panel .components-tab-panel__tabs-item{color:currentColor;flex-grow:1;height:unset;margin-bottom:-1px;padding-bottom:16px;padding-top:12px}.nfd-wba-tab-panel .components-tab-panel__tabs-item:before{bottom:0;right:1px;left:0;top:-8px}@media only screen and (max-width:782px){.nfd-wba-tab-panel .components-tab-panel__tabs-item:before{inset:-2px}.nfd-wba-tab-panel .components-tab-panel__tabs-item{font-size:1rem;justify-content:center;margin-right:-1px;margin-left:-1px;min-height:36px;padding:8px 12px}}.nfd-wba-tab-panel .components-tab-panel__tabs-item:not(.nfd-wba--is-active){font-weight:400}@media only screen and (max-width:782px){.nfd-wba-tab-panel .components-tab-panel__tabs-item:not(.nfd-wba--is-active){font-weight:500}}.nfd-wba-tab-panel .components-tab-panel__tabs-item:first-child{padding-right:24px}@media only screen and (max-width:782px){.nfd-wba-tab-panel .components-tab-panel__tabs-item:first-child{border-bottom-right-radius:.25rem}.nfd-wba-tab-panel .components-tab-panel__tabs-item:last-child{border-bottom-left-radius:.25rem}}.nfd-wba-tab-panel .components-tab-panel__tabs-item.nfd-wba--is-active{box-shadow:inset 0 -3px var(--wp-admin-theme-color);color:var(--nfd-wba-color-dark)}@media only screen and (max-width:782px){.nfd-wba-tab-panel .components-tab-panel__tabs-item.nfd-wba--is-active{background-color:var(--wp-admin-theme-color);box-shadow:none;color:#fff}}.nfd-wba-tab-panel .components-tab-panel__tabs-item:not(.nfd-wba--is-active):focus{box-shadow:none;outline:none}.nfd-wba-skeleton--item{isolation:isolate;overflow:hidden;position:relative}.nfd-wba-skeleton--item:before{animation:nfd-wba-skeleton-pulse 3s infinite;background-image:linear-gradient(-90deg,transparent,rgba(0,0,0,.02) 25%,rgba(0,0,0,.05) 50%,rgba(0,0,0,.02) 75%,transparent);background-repeat:no-repeat;background-size:100% 100%;content:"";height:100%;right:0;min-width:200px;position:absolute;top:0;transform:translateX(100%);width:100%;z-index:-1}.nfd-wba-skeleton--item+.nfd-wba-skeleton--item:before{animation-delay:var(--nfd-wba-skeleton-delay,0s)}@keyframes nfd-wba-skeleton-pulse{to{transform:translateX(-100%)}}:root{--nfd-wba-design-item--template-height:30vw}.nfd-wba-design-item:focus-visible{outline:2px solid var(--nfd-wba-color-brand);outline-offset:2px}.nfd-wba-design-item--template .block-editor-block-preview__container{max-height:var(--nfd-wba-design-item--template-height)}.nfd-wba-design-item--template .block-editor-block-preview__container:before{transition:-webkit-backdrop-filter var(--nfd-wba-transition-duration) var(--nfd-wba-transition-timing);transition:backdrop-filter var(--nfd-wba-transition-duration) var(--nfd-wba-transition-timing);transition:backdrop-filter var(--nfd-wba-transition-duration) var(--nfd-wba-transition-timing),-webkit-backdrop-filter var(--nfd-wba-transition-duration) var(--nfd-wba-transition-timing)}.nfd-wba-design-item--template.nfd-wba-inserting-design .block-editor-block-preview__container:before{-webkit-backdrop-filter:grayscale(1);backdrop-filter:grayscale(1);content:"";inset:0;position:absolute;z-index:1}.nfd-wba-design-item--template iframe{--offset:calc(var(--nfd-wba-design-item--template-height)/var(--nfd-wba-design-item--scale));--transition-duration:calc(var(--nfd-wba-design-item--scroll-duration, 0s)/2);--nfd-wba-translate-offset:calc(-100% + var(--offset));--hover-transition-duration:var(--nfd-wba-design-item--scroll-duration,0s);transition:transform var(--transition-duration,0s)!important}.nfd-wba-design-item--template:hover iframe{transform:translateY(var(--nfd-wba-translate-offset));transition:transform var(--hover-transition-duration,0s)!important}.nfd-wba-modal{--wp-admin-theme-color:var(--nfd-wba-color-brand)}@media only screen and (min-width:600px)and (max-width:1024px){.nfd-wba-modal.components-modal__frame.is-full-screen{max-width:unset;min-height:calc(100vh - 24px);width:calc(100vw - 24px)}}.nfd-wba-modal .components-modal__content{display:flex;justify-content:flex-start;padding:0}@media only screen and (max-width:782px){.nfd-wba-modal .components-modal__content{display:block}}.nfd-wba-modal .components-modal__content>div:not(.nfd-wba-library-modal-grid){display:flex;flex-grow:1}.nfd-wba-modal__header{align-items:center;display:flex;flex-shrink:0;gap:16px;height:var(--nfd-wba-header-height);padding:0 24px}@media only screen and (max-width:782px){.nfd-wba-modal__header:not(.nfd-wba-modal__sidebar-header){--nfd-wba-header-height:60px;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background-color:hsla(0,0%,100%,.9);border-bottom:none;order:-1;padding:0 16px;position:sticky;top:0;z-index:10}}.nfd-wba-modal__content-filter{align-items:center;display:flex;flex-grow:0;justify-content:space-between;justify-content:flex-end;margin-bottom:1.5rem}.nfd-wba-modal__content-filter button{font-size:14px}.nfd-wba-modal .nfd-wba-keyword-filter svg{transform:scaleX(-1)}.nfd-wba-filter-dropdown .components-dropdown-menu__menu-item{display:flex;font-size:14px;justify-content:space-between;min-width:120px}.nfd-wba-filter-dropdown .components-dropdown-menu__menu-item svg{order:1}.nfd-wba-filter-dropdown .components-dropdown-menu__menu-item.is-active{color:var(--nfd-wba-color-brand)}.nfd-wba-filter-dropdown .components-dropdown-menu__menu-item.is-active svg{background:none;border:none;box-shadow:none;color:var(--nfd-wba-color-brand)}.nfd-wba-filter-dropdown .components-button.has-icon.has-text{justify-content:space-between}.nfd-wba-state-message>svg{max-width:620px}.nfd-wba-library-modal-grid{display:grid;grid-template-columns:var(--nfd-wba-sidebar-width) 1fr;grid-template-rows:70px 1fr}@media only screen and (max-width:782px){.nfd-wba-library-modal-grid{display:flex;flex-direction:column}}.nfd-wba-modal .nfd-wba-modal__categories-select{display:none}.nfd-wba-modal .nfd-wba-modal__categories-select .components-input-control__container{border-radius:.25rem;padding-right:1rem;padding-left:1rem}.nfd-wba-modal .nfd-wba-modal__categories-select select{font-size:1rem!important}.nfd-wba-modal .nfd-wba-modal__categories-select .components-input-control__backdrop{border-color:var(--nfd-wba-color-borders)!important}.nfd-wba-modal .nfd-wba-modal__categories-select .components-input-control-suffix-wrapper{padding-left:1rem}@media only screen and (max-width:782px){.nfd-wba-modal .nfd-wba-modal__categories-select{display:flex}}.nfd-wba-search-toggle svg{transform:rotate(90deg)}.components-search-control.nfd-wba-keyword-filter .components-base-control__field{align-items:center;display:flex;gap:12px;margin:0}.components-search-control.nfd-wba-keyword-filter input[type=search].components-input-control__input,.components-search-control.nfd-wba-keyword-filter input[type=search].components-search-control__input{border-radius:.25rem;font-size:14px;height:36px;line-height:20px}.components-search-control.nfd-wba-keyword-filter input[type=search].components-input-control__input:disabled,.components-search-control.nfd-wba-keyword-filter input[type=search].components-search-control__input:disabled{cursor:wait;opacity:1}.components-search-control.nfd-wba-keyword-filter .components-input-base{align-items:center;flex-direction:row;gap:12px}.components-search-control.nfd-wba-keyword-filter .components-input-control__container{border-radius:.25rem;height:36px}.nfd-wba-sr-only{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0,0,0,0);border-width:0;white-space:nowrap}.nfd-wba-pointer-events-none{pointer-events:none}.nfd-wba-invisible{visibility:hidden}.nfd-wba-absolute{position:absolute}.nfd-wba-relative{position:relative}.nfd-wba-inset-0{inset:0}.nfd-wba-left-0{right:0}.nfd-wba-right-0{left:0}.nfd-wba-top-0{top:0}.nfd-wba-z-10{z-index:10}.nfd-wba-z-\[2\]{z-index:2}.nfd-wba-m-0{margin:0}.nfd-wba-mx-4{margin-right:1rem;margin-left:1rem}.nfd-wba-my-0{margin-bottom:0;margin-top:0}.-nfd-wba-ml-1{margin-right:-.25rem}.-nfd-wba-ml-\[var\(--nfd-wba-masonry-gap\)\]{margin-right:calc(var(--nfd-wba-masonry-gap)*-1)}.-nfd-wba-mt-2{margin-top:-.5rem}.nfd-wba-mb-0{margin-bottom:0}.nfd-wba-mb-1{margin-bottom:.25rem}.nfd-wba-mb-3{margin-bottom:.75rem}.nfd-wba-mb-8{margin-bottom:2rem}.nfd-wba-mb-\[var\(--nfd-wba-masonry-gap\)\]{margin-bottom:var(--nfd-wba-masonry-gap)}.nfd-wba-ml-0\.5{margin-right:.125rem}.nfd-wba-ml-2{margin-right:.5rem}.nfd-wba-ml-auto{margin-right:auto}.nfd-wba-mr-2{margin-left:.5rem}.nfd-wba-mt-0\.5{margin-top:.125rem}.nfd-wba-mt-1{margin-top:.25rem}.nfd-wba-mt-10{margin-top:2.5rem}.nfd-wba-mt-2{margin-top:.5rem}.nfd-wba-mt-8{margin-top:2rem}.nfd-wba-mt-9{margin-top:2.25rem}.nfd-wba-inline-block{display:inline-block}.nfd-wba-flex{display:flex}.nfd-wba-hidden{display:none}.nfd-wba-size-5{height:1.25rem;width:1.25rem}.nfd-wba-size-9{height:2.25rem;width:2.25rem}.\!nfd-wba-h-9{height:2.25rem!important}.nfd-wba-h-0{height:0}.nfd-wba-h-12{height:3rem}.nfd-wba-h-4{height:1rem}.nfd-wba-h-5{height:1.25rem}.nfd-wba-h-6{height:1.5rem}.nfd-wba-h-7{height:1.75rem}.nfd-wba-h-full{height:100%}.nfd-wba-max-h-40{max-height:10rem}.nfd-wba-min-h-10{min-height:2.5rem}.nfd-wba-min-h-\[116px\]{min-height:116px}.nfd-wba-min-h-\[43px\]{min-height:43px}.nfd-wba-min-h-\[50vh\]{min-height:50vh}.\!nfd-wba-w-full{width:100%!important}.nfd-wba-w-12{width:3rem}.nfd-wba-w-4{width:1rem}.nfd-wba-w-7{width:1.75rem}.nfd-wba-w-8{width:2rem}.nfd-wba-w-\[calc\(50\%-4px\)\]{width:calc(50% - 4px)}.nfd-wba-w-auto{width:auto}.nfd-wba-w-full{width:100%}.\!nfd-wba-min-w-0{min-width:0!important}.\!nfd-wba-min-w-\[36px\]{min-width:36px!important}.nfd-wba-max-w-\[270px\]{max-width:270px}.nfd-wba-max-w-\[300px\]{max-width:300px}.nfd-wba-max-w-\[420px\]{max-width:420px}.nfd-wba-max-w-\[640px\]{max-width:640px}.nfd-wba-max-w-prose{max-width:65ch}.nfd-wba-flex-1{flex:1 1 0%}.nfd-wba-shrink-0{flex-shrink:0}.nfd-wba-flex-grow,.nfd-wba-grow{flex-grow:1}.nfd-wba-grow-0{flex-grow:0}.-nfd-wba-translate-y-1\/2{--tw-translate-y:-50%}.-nfd-wba-translate-y-1\/2,.nfd-wba-transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes nfd-wba-spin{to{transform:rotate(-1turn)}}.nfd-wba-animate-spin{animation:nfd-wba-spin 1s linear infinite}.nfd-wba-cursor-default{cursor:default}.nfd-wba-cursor-pointer{cursor:pointer}.nfd-wba-select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.nfd-wba-list-none{list-style-type:none}.nfd-wba-flex-col{flex-direction:column}.nfd-wba-items-start{align-items:flex-start}.nfd-wba-items-center{align-items:center}.nfd-wba-justify-start{justify-content:flex-start}.nfd-wba-justify-center{justify-content:center}.nfd-wba-justify-between{justify-content:space-between}.nfd-wba-gap-0\.5{gap:.125rem}.nfd-wba-gap-1{gap:.25rem}.nfd-wba-gap-14{gap:3.5rem}.nfd-wba-gap-2{gap:.5rem}.nfd-wba-gap-3{gap:.75rem}.nfd-wba-gap-4{gap:1rem}.nfd-wba-gap-6{gap:1.5rem}.nfd-wba-gap-8{gap:2rem}.nfd-wba-gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.nfd-wba-gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.nfd-wba-gap-x-3{-moz-column-gap:.75rem;column-gap:.75rem}.nfd-wba-gap-y-10{row-gap:2.5rem}.nfd-wba-gap-y-6{row-gap:1.5rem}.nfd-wba-overflow-hidden{overflow:hidden}.nfd-wba-overflow-clip{overflow:clip}.nfd-wba-overflow-y-auto{overflow-y:auto}.nfd-wba-text-balance{text-wrap:balance}.nfd-wba-rounded{border-radius:.25rem}.nfd-wba-rounded-2xl{border-radius:1rem}.nfd-wba-rounded-\[4px\]{border-radius:4px}.nfd-wba-rounded-\[9px\]{border-radius:9px}.nfd-wba-rounded-full{border-radius:9999px}.nfd-wba-rounded-lg{border-radius:.5rem}.nfd-wba-rounded-none{border-radius:0}.nfd-wba-rounded-t{border-top-right-radius:.25rem;border-top-left-radius:.25rem}.nfd-wba-border{border-width:1px}.nfd-wba-border-0{border-width:0}.nfd-wba-border-2{border-width:2px}.nfd-wba-border-\[1px\]{border-width:1px}.\!nfd-wba-border-b-0{border-bottom-width:0!important}.nfd-wba-border-t{border-top-width:1px}.nfd-wba-border-solid{border-style:solid}.nfd-wba-border-none{border-style:none}.nfd-wba-border-brand{--tw-border-opacity:1;border-color:rgb(var(--nfd-wba-color-brand-rgb)/var(--tw-border-opacity))}.nfd-wba-border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.nfd-wba-border-grey-b{border-color:var(--nfd-wba-color-borders)}.nfd-wba-border-grey-darker\/20{border-color:rgb(var(--nfd-wba-color-grey-darker-rgb)/.2)}.nfd-wba-border-r-brand\/10{border-left-color:rgb(var(--nfd-wba-color-brand-rgb)/.1)}.\!nfd-wba-bg-dark{--tw-bg-opacity:1!important;background-color:rgb(var(--nfd-wba-color-dark-rgb)/var(--tw-bg-opacity))!important}.nfd-wba-bg-brand{--tw-bg-opacity:1;background-color:rgb(var(--nfd-wba-color-brand-rgb)/var(--tw-bg-opacity))}.nfd-wba-bg-dark{--tw-bg-opacity:1;background-color:rgb(var(--nfd-wba-color-dark-rgb)/var(--tw-bg-opacity))}.nfd-wba-bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.nfd-wba-bg-grey{--tw-bg-opacity:1;background-color:rgb(var(--nfd-wba-color-grey-rgb)/var(--tw-bg-opacity))}.nfd-wba-bg-grey-darker\/20{background-color:rgb(var(--nfd-wba-color-grey-darker-rgb)/.2)}.nfd-wba-bg-transparent{background-color:transparent}.nfd-wba-bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.\!nfd-wba-fill-none{fill:none!important}.nfd-wba-fill-current{fill:currentColor}.nfd-wba-fill-gray-500{fill:#6b7280}.nfd-wba-fill-red-600{fill:#dc2626}.\!nfd-wba-stroke-brand{stroke:rgb(var(--nfd-wba-color-brand-rgb)/1)!important}.nfd-wba-stroke-brand{stroke:rgb(var(--nfd-wba-color-brand-rgb)/1)}.nfd-wba-stroke-red-600{stroke:#dc2626}.nfd-wba-stroke-white{stroke:#fff}.\!nfd-wba-p-0{padding:0!important}.nfd-wba-p-0{padding:0}.nfd-wba-p-2{padding:.5rem}.nfd-wba-p-6{padding:1.5rem}.\!nfd-wba-px-3{padding-right:.75rem!important;padding-left:.75rem!important}.nfd-wba-px-0{padding-right:0;padding-left:0}.nfd-wba-px-2{padding-right:.5rem;padding-left:.5rem}.nfd-wba-px-2\.5{padding-right:.625rem;padding-left:.625rem}.nfd-wba-px-4{padding-right:1rem;padding-left:1rem}.nfd-wba-px-5{padding-right:1.25rem;padding-left:1.25rem}.nfd-wba-px-6{padding-right:1.5rem;padding-left:1.5rem}.nfd-wba-px-\[10px\]{padding-right:10px;padding-left:10px}.nfd-wba-py-1{padding-bottom:.25rem;padding-top:.25rem}.nfd-wba-py-1\.5{padding-bottom:.375rem;padding-top:.375rem}.nfd-wba-py-2{padding-bottom:.5rem;padding-top:.5rem}.nfd-wba-py-3{padding-bottom:.75rem;padding-top:.75rem}.nfd-wba-py-4{padding-bottom:1rem;padding-top:1rem}.nfd-wba-py-8{padding-bottom:2rem;padding-top:2rem}.nfd-wba-py-\[5px\]{padding-bottom:5px;padding-top:5px}.nfd-wba-pb-\[10\%\]{padding-bottom:10%}.nfd-wba-pb-\[56\.25\%\]{padding-bottom:56.25%}.nfd-wba-pl-3{padding-right:.75rem}.nfd-wba-pl-5{padding-right:1.25rem}.nfd-wba-pl-6{padding-right:1.5rem}.nfd-wba-pl-\[var\(--nfd-wba-masonry-gap\)\]{padding-right:var(--nfd-wba-masonry-gap)}.nfd-wba-pr-1{padding-left:.25rem}.nfd-wba-pr-5{padding-left:1.25rem}.nfd-wba-pr-6{padding-left:1.5rem}.nfd-wba-pr-9{padding-left:2.25rem}.nfd-wba-pt-10{padding-top:2.5rem}.nfd-wba-pt-6{padding-top:1.5rem}.nfd-wba-pt-\[5vh\]{padding-top:5vh}.nfd-wba-text-left{text-align:right}.nfd-wba-text-center{text-align:center}.nfd-wba-align-middle{vertical-align:middle}.nfd-wba-align-\[-0\.125em\]{vertical-align:-.125em}.nfd-wba-text-2xl{font-size:1.5rem;line-height:2rem}.nfd-wba-text-3xl{font-size:1.875rem;line-height:2.25rem}.nfd-wba-text-\[14px\]{font-size:14px}.nfd-wba-text-\[15px\]{font-size:15px}.nfd-wba-text-base{font-size:1rem;line-height:1.5rem}.nfd-wba-text-lg{font-size:1.125rem;line-height:1.75rem}.nfd-wba-text-md{font-size:14px;line-height:22px}.nfd-wba-text-sm{font-size:12px;line-height:19px}.nfd-wba-text-xl{font-size:1.25rem;line-height:1.75rem}.nfd-wba-font-light{font-weight:300}.nfd-wba-font-medium{font-weight:500}.nfd-wba-font-normal{font-weight:400}.nfd-wba-font-semibold{font-weight:600}.nfd-wba-leading-5{line-height:1.25rem}.\!nfd-wba-text-red-600{--tw-text-opacity:1!important;color:rgb(220 38 38/var(--tw-text-opacity))!important}.nfd-wba-text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.nfd-wba-text-brand{--tw-text-opacity:1;color:rgb(var(--nfd-wba-color-brand-rgb)/var(--tw-text-opacity))}.nfd-wba-text-current{color:currentColor}.nfd-wba-text-dark{--tw-text-opacity:1;color:rgb(var(--nfd-wba-color-dark-rgb)/var(--tw-text-opacity))}.nfd-wba-text-dark-lighter{--tw-text-opacity:1;color:rgb(var(--nfd-wba-color-dark-lighter-rgb)/var(--tw-text-opacity))}.nfd-wba-text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.nfd-wba-text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.nfd-wba-shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.nfd-wba-shadow-lg,.nfd-wba-shadow-none{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.nfd-wba-shadow-none{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}.nfd-wba-transition-all{transition-duration:var(--nfd-wba-transition-duration);transition-property:all;transition-timing-function:var(--nfd-wba-transition-timing)}.nfd-wba-transition-opacity{transition-duration:var(--nfd-wba-transition-duration);transition-property:opacity;transition-timing-function:var(--nfd-wba-transition-timing)}.nfd-wba-duration-75{transition-duration:75ms}.nfd-wb--hide-theme-patterns [aria-label^="Wonder - "]:not([aria-label="Wonder - Pages"]){display:none}.first\:nfd-wba-mt-1\.5:first-child{margin-top:.375rem}.last\:nfd-wba-mb-1\.5:last-child{margin-bottom:.375rem}.hover\:nfd-wba-border-brand:hover{--tw-border-opacity:1;border-color:rgb(var(--nfd-wba-color-brand-rgb)/var(--tw-border-opacity))}.hover\:nfd-wba-border-gray-300:hover{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.hover\:\!nfd-wba-bg-brand-darker:hover{--tw-bg-opacity:1!important;background-color:rgb(var(--nfd-wba-color-brand-darker-rgb)/var(--tw-bg-opacity))!important}.hover\:nfd-wba-bg-brand-darker:hover{--tw-bg-opacity:1;background-color:rgb(var(--nfd-wba-color-brand-darker-rgb)/var(--tw-bg-opacity))}.hover\:nfd-wba-bg-gray-100:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.hover\:nfd-wba-text-brand:hover{--tw-text-opacity:1;color:rgb(var(--nfd-wba-color-brand-rgb)/var(--tw-text-opacity))}.hover\:nfd-wba-text-dark:hover{--tw-text-opacity:1;color:rgb(var(--nfd-wba-color-dark-rgb)/var(--tw-text-opacity))}.hover\:nfd-wba-text-gray-900:hover{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity))}.hover\:nfd-wba-text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.hover\:nfd-wba-text-white:hover{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.hover\:nfd-wba-underline:hover{text-decoration-line:underline}.focus-visible\:nfd-wba-text-white:focus-visible{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.focus-visible\:nfd-wba-outline-2:focus-visible{outline-width:2px}.focus-visible\:nfd-wba-outline-brand:focus-visible{outline-color:rgb(var(--nfd-wba-color-brand-rgb)/1)}.active\:nfd-wba-bg-brand-darker-10:active{--tw-bg-opacity:1;background-color:rgb(var(--nfd-wba-color-brand-darker-10-rgb)/var(--tw-bg-opacity))}.active\:\!nfd-wba-text-white:active{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important}@media (min-width:782px){.sm\:nfd-wba-visible{visibility:visible}.sm\:nfd-wba-row-span-2{grid-row:span 2/span 2}.sm\:nfd-wba-mx-0{margin-right:0;margin-left:0}.sm\:-nfd-wba-ml-\[var\(--nfd-wba-masonry-gap\)\]{margin-right:calc(var(--nfd-wba-masonry-gap)*-1)}.sm\:nfd-wba-mt-0{margin-top:0}.sm\:nfd-wba-flex{display:flex}.sm\:\!nfd-wba-hidden{display:none!important}.sm\:nfd-wba-hidden{display:none}.sm\:nfd-wba-max-h-\[90\%\]{max-height:90%}.sm\:nfd-wba-w-full{width:100%}.sm\:nfd-wba-max-w-full{max-width:100%}.sm\:nfd-wba-justify-start{justify-content:flex-start}.sm\:nfd-wba-justify-center{justify-content:center}.sm\:nfd-wba-overflow-y-auto{overflow-y:auto}.sm\:nfd-wba-rounded-none{border-radius:0}.sm\:nfd-wba-border-r{border-left-width:1px}.sm\:nfd-wba-border-solid{border-style:solid}.sm\:nfd-wba-border-none{border-style:none}.sm\:nfd-wba-border-grey-b{border-color:var(--nfd-wba-color-borders)}.sm\:nfd-wba-px-6{padding-right:1.5rem;padding-left:1.5rem}.sm\:nfd-wba-py-0{padding-bottom:0;padding-top:0}.sm\:nfd-wba-pb-40{padding-bottom:10rem}.sm\:nfd-wba-pl-\[var\(--nfd-wba-masonry-gap\)\]{padding-right:var(--nfd-wba-masonry-gap)}.sm\:nfd-wba-pt-0{padding-top:0}.md\:nfd-wba-min-w-\[400px\]{min-width:400px}.md\:nfd-wba-max-w-\[90\%\]{max-width:90%}}@media (min-width:1024px){.lg\:nfd-wba-inline{display:inline}.lg\:\!nfd-wba-pl-3{padding-right:.75rem!important}.lg\:\!nfd-wba-pr-\[15px\]{padding-left:15px!important}} diff --git a/build/2.3.0/wonder-blocks.asset.php b/build/2.4.0/wonder-blocks.asset.php similarity index 80% rename from build/2.3.0/wonder-blocks.asset.php rename to build/2.4.0/wonder-blocks.asset.php index f28ad09..19e5862 100644 --- a/build/2.3.0/wonder-blocks.asset.php +++ b/build/2.4.0/wonder-blocks.asset.php @@ -1 +1 @@ - array('react', 'react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-dom-ready', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-notices', 'wp-plugins', 'wp-primitives', 'wp-url'), 'version' => '85a7e90b6f292b9e884c'); + array('react', 'react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-dom-ready', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-notices', 'wp-plugins', 'wp-primitives', 'wp-url'), 'version' => '122cf55bcddda13f1e20'); diff --git a/build/2.4.0/wonder-blocks.css b/build/2.4.0/wonder-blocks.css new file mode 100644 index 0000000..53eb9af --- /dev/null +++ b/build/2.4.0/wonder-blocks.css @@ -0,0 +1 @@ +:root{--nfd-wba-color-dark:#1e1e1e;--nfd-wba-color-dark-rgb:30 30 30;--nfd-wba-color-dark-lighter:#3c434a;--nfd-wba-color-dark-lighter-rgb:60 67 74;--nfd-wba-color-brand:#178113;--nfd-wba-color-brand-rgb:23 129 19;--nfd-wba-color-brand-darker:#3e8f3b;--nfd-wba-color-brand-darker-rgb:62 143 59;--nfd-wba-color-brand-darker-10:#378534;--nfd-wba-color-brand-darker-10-rgb:55 133 52;--nfd-wba-color-grey:#f2f2f2;--nfd-wba-color-grey-rgb:242 242 242;--nfd-wba-color-grey-darker:#aeaeae;--nfd-wba-color-grey-darker-rgb:174 174 174;--nfd-wba-color-borders:#e5e7eb;--nfd-wba-sidebar-width:310px;--nfd-wba-header-height:70px;--nfd-wba-border-radius--lg:8px;--nfd-wba-masonry-gap:24px;--nfd-wba-transition-duration:100ms;--nfd-wba-transition-timing:linear}@media only screen and (max-width:782px){:root{--nfd-wba-masonry-gap:32px}}#nfd-wba-toolbar-button button.nfd-wba-bg-dark{--nfd-wba-color-brand:var(--nfd-wba-color-dark)}#nfd-wba-toolbar-button button svg{fill:none}#nfd-wba-toolbar-button button.is-pressed:before,#nfd-wba-toolbar-button button:focus:before{animation:none;height:unset;inset:0}#nfd-wba-toolbar-button button:focus:before{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--nfd-wba-color-brand);outline:none}#nfd-wba-toolbar-button button.is-pressed:focus:before{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color)}@media only screen and (max-width:782px){.nfd-wba-list-elements{display:none}}.nfd-wba-list-elements--is-filtered .nfd-wba-list-element.nfd-wba--is-active{color:currentColor;font-weight:inherit}.nfd-wba-list-elements--is-filtered .nfd-wba-list-element.nfd-wba--is-active:before{transform:scaleX(0)}.nfd-wba-list-element:before{background-color:var(--nfd-wba-color-brand);bottom:7px;content:"";display:block;left:0;position:absolute;top:7px;transform:scaleX(0);transform-origin:left;width:3px}.nfd-wba-list-element:hover:before{transform:scaleX(1)}.nfd-wba-list-element:hover .nfd-wba-list-element__count{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.nfd-wba-list-element.nfd-wba--is-active:before{transform:scaleX(1)}.nfd-wba-list-element.nfd-wba-list-element--favorites:after{background-color:var(--nfd-wba-color-borders);content:"";height:1px;left:1.5rem;position:absolute;right:0;top:0}.nfd-wba-loading-bar:after,.nfd-wba-loading-bar:before{content:"";inset:0;position:absolute}.nfd-wba-loading-bar:before{background:var(--nfd-wba-color-grey)}.nfd-wba-loading-bar:after{background-color:var(--nfd-wba-color-brand);transform:scaleX(var(--nfd-wba-loading-progress,.1));transform-origin:left;transition:transform var(--nfd-wba-transition-duration) var(--nfd-wba-transition-timing)}.nfd-wba-tab-panel .components-tab-panel__tabs{display:flex}@media only screen and (max-width:782px){.nfd-wba-tab-panel .components-tab-panel__tabs{border:1px solid var(--nfd-wba-color-borders);border-bottom-left-radius:.25rem;border-bottom-right-radius:.25rem;border-top:none}}.nfd-wba-tab-panel .components-tab-panel__tabs .components-button{font-size:14px}.nfd-wba-tab-panel .components-tab-panel__tab-content{display:flex;flex-direction:column;flex-grow:1}.nfd-wba-tab-panel .components-tab-panel__tabs-item{color:currentColor;flex-grow:1;height:unset;margin-bottom:-1px;padding-bottom:16px;padding-top:12px}.nfd-wba-tab-panel .components-tab-panel__tabs-item:before{bottom:0;left:1px;right:0;top:-8px}@media only screen and (max-width:782px){.nfd-wba-tab-panel .components-tab-panel__tabs-item:before{inset:-2px}.nfd-wba-tab-panel .components-tab-panel__tabs-item{font-size:1rem;justify-content:center;margin-left:-1px;margin-right:-1px;min-height:36px;padding:8px 12px}}.nfd-wba-tab-panel .components-tab-panel__tabs-item:not(.nfd-wba--is-active){font-weight:400}@media only screen and (max-width:782px){.nfd-wba-tab-panel .components-tab-panel__tabs-item:not(.nfd-wba--is-active){font-weight:500}}.nfd-wba-tab-panel .components-tab-panel__tabs-item:first-child{padding-left:24px}@media only screen and (max-width:782px){.nfd-wba-tab-panel .components-tab-panel__tabs-item:first-child{border-bottom-left-radius:.25rem}.nfd-wba-tab-panel .components-tab-panel__tabs-item:last-child{border-bottom-right-radius:.25rem}}.nfd-wba-tab-panel .components-tab-panel__tabs-item.nfd-wba--is-active{box-shadow:inset 0 -3px var(--wp-admin-theme-color);color:var(--nfd-wba-color-dark)}@media only screen and (max-width:782px){.nfd-wba-tab-panel .components-tab-panel__tabs-item.nfd-wba--is-active{background-color:var(--wp-admin-theme-color);box-shadow:none;color:#fff}}.nfd-wba-tab-panel .components-tab-panel__tabs-item:not(.nfd-wba--is-active):focus{box-shadow:none;outline:none}.nfd-wba-skeleton--item{isolation:isolate;overflow:hidden;position:relative}.nfd-wba-skeleton--item:before{animation:nfd-wba-skeleton-pulse 3s infinite;background-image:linear-gradient(90deg,transparent,rgba(0,0,0,.02) 25%,rgba(0,0,0,.05) 50%,rgba(0,0,0,.02) 75%,transparent);background-repeat:no-repeat;background-size:100% 100%;content:"";height:100%;left:0;min-width:200px;position:absolute;top:0;transform:translateX(-100%);width:100%;z-index:-1}.nfd-wba-skeleton--item+.nfd-wba-skeleton--item:before{animation-delay:var(--nfd-wba-skeleton-delay,0s)}@keyframes nfd-wba-skeleton-pulse{to{transform:translateX(100%)}}:root{--nfd-wba-design-item--template-height:30vw}.nfd-wba-design-item:focus-visible{outline:2px solid var(--nfd-wba-color-brand);outline-offset:2px}.nfd-wba-design-item--template .block-editor-block-preview__container{max-height:var(--nfd-wba-design-item--template-height)}.nfd-wba-design-item--template .block-editor-block-preview__container:before{transition:-webkit-backdrop-filter var(--nfd-wba-transition-duration) var(--nfd-wba-transition-timing);transition:backdrop-filter var(--nfd-wba-transition-duration) var(--nfd-wba-transition-timing);transition:backdrop-filter var(--nfd-wba-transition-duration) var(--nfd-wba-transition-timing),-webkit-backdrop-filter var(--nfd-wba-transition-duration) var(--nfd-wba-transition-timing)}.nfd-wba-design-item--template.nfd-wba-inserting-design .block-editor-block-preview__container:before{-webkit-backdrop-filter:grayscale(1);backdrop-filter:grayscale(1);content:"";inset:0;position:absolute;z-index:1}.nfd-wba-design-item--template iframe{--offset:calc(var(--nfd-wba-design-item--template-height)/var(--nfd-wba-design-item--scale));--transition-duration:calc(var(--nfd-wba-design-item--scroll-duration, 0s)/2);--nfd-wba-translate-offset:calc(-100% + var(--offset));--hover-transition-duration:var(--nfd-wba-design-item--scroll-duration,0s);transition:transform var(--transition-duration,0s)!important}.nfd-wba-design-item--template:hover iframe{transform:translateY(var(--nfd-wba-translate-offset));transition:transform var(--hover-transition-duration,0s)!important}.nfd-wba-modal{--wp-admin-theme-color:var(--nfd-wba-color-brand)}@media only screen and (min-width:600px)and (max-width:1024px){.nfd-wba-modal.components-modal__frame.is-full-screen{max-width:unset;min-height:calc(100vh - 24px);width:calc(100vw - 24px)}}.nfd-wba-modal .components-modal__content{display:flex;justify-content:flex-start;padding:0}@media only screen and (max-width:782px){.nfd-wba-modal .components-modal__content{display:block}}.nfd-wba-modal .components-modal__content>div:not(.nfd-wba-library-modal-grid){display:flex;flex-grow:1}.nfd-wba-modal__header{align-items:center;display:flex;flex-shrink:0;gap:16px;height:var(--nfd-wba-header-height);padding:0 24px}@media only screen and (max-width:782px){.nfd-wba-modal__header:not(.nfd-wba-modal__sidebar-header){--nfd-wba-header-height:60px;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background-color:hsla(0,0%,100%,.9);border-bottom:none;order:-1;padding:0 16px;position:sticky;top:0;z-index:10}}.nfd-wba-modal__content-filter{align-items:center;display:flex;flex-grow:0;justify-content:space-between;justify-content:flex-end;margin-bottom:1.5rem}.nfd-wba-modal__content-filter button{font-size:14px}.nfd-wba-modal .nfd-wba-keyword-filter svg{transform:scaleX(-1)}.nfd-wba-filter-dropdown .components-dropdown-menu__menu-item{display:flex;font-size:14px;justify-content:space-between;min-width:120px}.nfd-wba-filter-dropdown .components-dropdown-menu__menu-item svg{order:1}.nfd-wba-filter-dropdown .components-dropdown-menu__menu-item.is-active{color:var(--nfd-wba-color-brand)}.nfd-wba-filter-dropdown .components-dropdown-menu__menu-item.is-active svg{background:none;border:none;box-shadow:none;color:var(--nfd-wba-color-brand)}.nfd-wba-filter-dropdown .components-button.has-icon.has-text{justify-content:space-between}.nfd-wba-state-message>svg{max-width:620px}.nfd-wba-library-modal-grid{display:grid;grid-template-columns:var(--nfd-wba-sidebar-width) 1fr;grid-template-rows:70px 1fr}@media only screen and (max-width:782px){.nfd-wba-library-modal-grid{display:flex;flex-direction:column}}.nfd-wba-modal .nfd-wba-modal__categories-select{display:none}.nfd-wba-modal .nfd-wba-modal__categories-select .components-input-control__container{border-radius:.25rem;padding-left:1rem;padding-right:1rem}.nfd-wba-modal .nfd-wba-modal__categories-select select{font-size:1rem!important}.nfd-wba-modal .nfd-wba-modal__categories-select .components-input-control__backdrop{border-color:var(--nfd-wba-color-borders)!important}.nfd-wba-modal .nfd-wba-modal__categories-select .components-input-control-suffix-wrapper{padding-right:1rem}@media only screen and (max-width:782px){.nfd-wba-modal .nfd-wba-modal__categories-select{display:flex}}.nfd-wba-search-toggle svg{transform:rotate(-90deg)}.components-search-control.nfd-wba-keyword-filter .components-base-control__field{align-items:center;display:flex;gap:12px;margin:0}.components-search-control.nfd-wba-keyword-filter input[type=search].components-input-control__input,.components-search-control.nfd-wba-keyword-filter input[type=search].components-search-control__input{border-radius:.25rem;font-size:14px;height:36px;line-height:20px}.components-search-control.nfd-wba-keyword-filter input[type=search].components-input-control__input:disabled,.components-search-control.nfd-wba-keyword-filter input[type=search].components-search-control__input:disabled{cursor:wait;opacity:1}.components-search-control.nfd-wba-keyword-filter .components-input-base{align-items:center;flex-direction:row;gap:12px}.components-search-control.nfd-wba-keyword-filter .components-input-control__container{border-radius:.25rem;height:36px}.nfd-wba-sr-only{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0,0,0,0);border-width:0;white-space:nowrap}.nfd-wba-pointer-events-none{pointer-events:none}.nfd-wba-invisible{visibility:hidden}.nfd-wba-absolute{position:absolute}.nfd-wba-relative{position:relative}.nfd-wba-inset-0{inset:0}.nfd-wba-left-0{left:0}.nfd-wba-right-0{right:0}.nfd-wba-top-0{top:0}.nfd-wba-z-10{z-index:10}.nfd-wba-z-\[2\]{z-index:2}.nfd-wba-m-0{margin:0}.nfd-wba-mx-4{margin-left:1rem;margin-right:1rem}.nfd-wba-my-0{margin-bottom:0;margin-top:0}.-nfd-wba-ml-1{margin-left:-.25rem}.-nfd-wba-ml-\[var\(--nfd-wba-masonry-gap\)\]{margin-left:calc(var(--nfd-wba-masonry-gap)*-1)}.-nfd-wba-mt-2{margin-top:-.5rem}.nfd-wba-mb-0{margin-bottom:0}.nfd-wba-mb-1{margin-bottom:.25rem}.nfd-wba-mb-3{margin-bottom:.75rem}.nfd-wba-mb-8{margin-bottom:2rem}.nfd-wba-mb-\[var\(--nfd-wba-masonry-gap\)\]{margin-bottom:var(--nfd-wba-masonry-gap)}.nfd-wba-ml-0\.5{margin-left:.125rem}.nfd-wba-ml-2{margin-left:.5rem}.nfd-wba-ml-auto{margin-left:auto}.nfd-wba-mr-2{margin-right:.5rem}.nfd-wba-mt-0\.5{margin-top:.125rem}.nfd-wba-mt-1{margin-top:.25rem}.nfd-wba-mt-10{margin-top:2.5rem}.nfd-wba-mt-2{margin-top:.5rem}.nfd-wba-mt-8{margin-top:2rem}.nfd-wba-mt-9{margin-top:2.25rem}.nfd-wba-inline-block{display:inline-block}.nfd-wba-flex{display:flex}.nfd-wba-hidden{display:none}.nfd-wba-size-5{height:1.25rem;width:1.25rem}.nfd-wba-size-9{height:2.25rem;width:2.25rem}.\!nfd-wba-h-9{height:2.25rem!important}.nfd-wba-h-0{height:0}.nfd-wba-h-12{height:3rem}.nfd-wba-h-4{height:1rem}.nfd-wba-h-5{height:1.25rem}.nfd-wba-h-6{height:1.5rem}.nfd-wba-h-7{height:1.75rem}.nfd-wba-h-full{height:100%}.nfd-wba-max-h-40{max-height:10rem}.nfd-wba-min-h-10{min-height:2.5rem}.nfd-wba-min-h-\[116px\]{min-height:116px}.nfd-wba-min-h-\[43px\]{min-height:43px}.nfd-wba-min-h-\[50vh\]{min-height:50vh}.\!nfd-wba-w-full{width:100%!important}.nfd-wba-w-12{width:3rem}.nfd-wba-w-4{width:1rem}.nfd-wba-w-7{width:1.75rem}.nfd-wba-w-8{width:2rem}.nfd-wba-w-\[calc\(50\%-4px\)\]{width:calc(50% - 4px)}.nfd-wba-w-auto{width:auto}.nfd-wba-w-full{width:100%}.\!nfd-wba-min-w-0{min-width:0!important}.\!nfd-wba-min-w-\[36px\]{min-width:36px!important}.nfd-wba-max-w-\[270px\]{max-width:270px}.nfd-wba-max-w-\[300px\]{max-width:300px}.nfd-wba-max-w-\[420px\]{max-width:420px}.nfd-wba-max-w-\[640px\]{max-width:640px}.nfd-wba-max-w-prose{max-width:65ch}.nfd-wba-flex-1{flex:1 1 0%}.nfd-wba-shrink-0{flex-shrink:0}.nfd-wba-flex-grow,.nfd-wba-grow{flex-grow:1}.nfd-wba-grow-0{flex-grow:0}.-nfd-wba-translate-y-1\/2{--tw-translate-y:-50%}.-nfd-wba-translate-y-1\/2,.nfd-wba-transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes nfd-wba-spin{to{transform:rotate(1turn)}}.nfd-wba-animate-spin{animation:nfd-wba-spin 1s linear infinite}.nfd-wba-cursor-default{cursor:default}.nfd-wba-cursor-pointer{cursor:pointer}.nfd-wba-select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.nfd-wba-list-none{list-style-type:none}.nfd-wba-flex-col{flex-direction:column}.nfd-wba-items-start{align-items:flex-start}.nfd-wba-items-center{align-items:center}.nfd-wba-justify-start{justify-content:flex-start}.nfd-wba-justify-center{justify-content:center}.nfd-wba-justify-between{justify-content:space-between}.nfd-wba-gap-0\.5{gap:.125rem}.nfd-wba-gap-1{gap:.25rem}.nfd-wba-gap-14{gap:3.5rem}.nfd-wba-gap-2{gap:.5rem}.nfd-wba-gap-3{gap:.75rem}.nfd-wba-gap-4{gap:1rem}.nfd-wba-gap-6{gap:1.5rem}.nfd-wba-gap-8{gap:2rem}.nfd-wba-gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.nfd-wba-gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.nfd-wba-gap-x-3{-moz-column-gap:.75rem;column-gap:.75rem}.nfd-wba-gap-y-10{row-gap:2.5rem}.nfd-wba-gap-y-6{row-gap:1.5rem}.nfd-wba-overflow-hidden{overflow:hidden}.nfd-wba-overflow-clip{overflow:clip}.nfd-wba-overflow-y-auto{overflow-y:auto}.nfd-wba-text-balance{text-wrap:balance}.nfd-wba-rounded{border-radius:.25rem}.nfd-wba-rounded-2xl{border-radius:1rem}.nfd-wba-rounded-\[4px\]{border-radius:4px}.nfd-wba-rounded-\[9px\]{border-radius:9px}.nfd-wba-rounded-full{border-radius:9999px}.nfd-wba-rounded-lg{border-radius:.5rem}.nfd-wba-rounded-none{border-radius:0}.nfd-wba-rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.nfd-wba-border{border-width:1px}.nfd-wba-border-0{border-width:0}.nfd-wba-border-2{border-width:2px}.nfd-wba-border-\[1px\]{border-width:1px}.\!nfd-wba-border-b-0{border-bottom-width:0!important}.nfd-wba-border-t{border-top-width:1px}.nfd-wba-border-solid{border-style:solid}.nfd-wba-border-none{border-style:none}.nfd-wba-border-brand{--tw-border-opacity:1;border-color:rgb(var(--nfd-wba-color-brand-rgb)/var(--tw-border-opacity))}.nfd-wba-border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.nfd-wba-border-grey-b{border-color:var(--nfd-wba-color-borders)}.nfd-wba-border-grey-darker\/20{border-color:rgb(var(--nfd-wba-color-grey-darker-rgb)/.2)}.nfd-wba-border-r-brand\/10{border-right-color:rgb(var(--nfd-wba-color-brand-rgb)/.1)}.\!nfd-wba-bg-dark{--tw-bg-opacity:1!important;background-color:rgb(var(--nfd-wba-color-dark-rgb)/var(--tw-bg-opacity))!important}.nfd-wba-bg-brand{--tw-bg-opacity:1;background-color:rgb(var(--nfd-wba-color-brand-rgb)/var(--tw-bg-opacity))}.nfd-wba-bg-dark{--tw-bg-opacity:1;background-color:rgb(var(--nfd-wba-color-dark-rgb)/var(--tw-bg-opacity))}.nfd-wba-bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.nfd-wba-bg-grey{--tw-bg-opacity:1;background-color:rgb(var(--nfd-wba-color-grey-rgb)/var(--tw-bg-opacity))}.nfd-wba-bg-grey-darker\/20{background-color:rgb(var(--nfd-wba-color-grey-darker-rgb)/.2)}.nfd-wba-bg-transparent{background-color:transparent}.nfd-wba-bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.\!nfd-wba-fill-none{fill:none!important}.nfd-wba-fill-current{fill:currentColor}.nfd-wba-fill-gray-500{fill:#6b7280}.nfd-wba-fill-red-600{fill:#dc2626}.\!nfd-wba-stroke-brand{stroke:rgb(var(--nfd-wba-color-brand-rgb)/1)!important}.nfd-wba-stroke-brand{stroke:rgb(var(--nfd-wba-color-brand-rgb)/1)}.nfd-wba-stroke-red-600{stroke:#dc2626}.nfd-wba-stroke-white{stroke:#fff}.\!nfd-wba-p-0{padding:0!important}.nfd-wba-p-0{padding:0}.nfd-wba-p-2{padding:.5rem}.nfd-wba-p-6{padding:1.5rem}.\!nfd-wba-px-3{padding-left:.75rem!important;padding-right:.75rem!important}.nfd-wba-px-0{padding-left:0;padding-right:0}.nfd-wba-px-2{padding-left:.5rem;padding-right:.5rem}.nfd-wba-px-2\.5{padding-left:.625rem;padding-right:.625rem}.nfd-wba-px-4{padding-left:1rem;padding-right:1rem}.nfd-wba-px-5{padding-left:1.25rem;padding-right:1.25rem}.nfd-wba-px-6{padding-left:1.5rem;padding-right:1.5rem}.nfd-wba-px-\[10px\]{padding-left:10px;padding-right:10px}.nfd-wba-py-1{padding-bottom:.25rem;padding-top:.25rem}.nfd-wba-py-1\.5{padding-bottom:.375rem;padding-top:.375rem}.nfd-wba-py-2{padding-bottom:.5rem;padding-top:.5rem}.nfd-wba-py-3{padding-bottom:.75rem;padding-top:.75rem}.nfd-wba-py-4{padding-bottom:1rem;padding-top:1rem}.nfd-wba-py-8{padding-bottom:2rem;padding-top:2rem}.nfd-wba-py-\[5px\]{padding-bottom:5px;padding-top:5px}.nfd-wba-pb-\[10\%\]{padding-bottom:10%}.nfd-wba-pb-\[56\.25\%\]{padding-bottom:56.25%}.nfd-wba-pl-3{padding-left:.75rem}.nfd-wba-pl-5{padding-left:1.25rem}.nfd-wba-pl-6{padding-left:1.5rem}.nfd-wba-pl-\[var\(--nfd-wba-masonry-gap\)\]{padding-left:var(--nfd-wba-masonry-gap)}.nfd-wba-pr-1{padding-right:.25rem}.nfd-wba-pr-5{padding-right:1.25rem}.nfd-wba-pr-6{padding-right:1.5rem}.nfd-wba-pr-9{padding-right:2.25rem}.nfd-wba-pt-10{padding-top:2.5rem}.nfd-wba-pt-6{padding-top:1.5rem}.nfd-wba-pt-\[5vh\]{padding-top:5vh}.nfd-wba-text-left{text-align:left}.nfd-wba-text-center{text-align:center}.nfd-wba-align-middle{vertical-align:middle}.nfd-wba-align-\[-0\.125em\]{vertical-align:-.125em}.nfd-wba-text-2xl{font-size:1.5rem;line-height:2rem}.nfd-wba-text-3xl{font-size:1.875rem;line-height:2.25rem}.nfd-wba-text-\[14px\]{font-size:14px}.nfd-wba-text-\[15px\]{font-size:15px}.nfd-wba-text-base{font-size:1rem;line-height:1.5rem}.nfd-wba-text-lg{font-size:1.125rem;line-height:1.75rem}.nfd-wba-text-md{font-size:14px;line-height:22px}.nfd-wba-text-sm{font-size:12px;line-height:19px}.nfd-wba-text-xl{font-size:1.25rem;line-height:1.75rem}.nfd-wba-font-light{font-weight:300}.nfd-wba-font-medium{font-weight:500}.nfd-wba-font-normal{font-weight:400}.nfd-wba-font-semibold{font-weight:600}.nfd-wba-leading-5{line-height:1.25rem}.\!nfd-wba-text-red-600{--tw-text-opacity:1!important;color:rgb(220 38 38/var(--tw-text-opacity))!important}.nfd-wba-text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.nfd-wba-text-brand{--tw-text-opacity:1;color:rgb(var(--nfd-wba-color-brand-rgb)/var(--tw-text-opacity))}.nfd-wba-text-current{color:currentColor}.nfd-wba-text-dark{--tw-text-opacity:1;color:rgb(var(--nfd-wba-color-dark-rgb)/var(--tw-text-opacity))}.nfd-wba-text-dark-lighter{--tw-text-opacity:1;color:rgb(var(--nfd-wba-color-dark-lighter-rgb)/var(--tw-text-opacity))}.nfd-wba-text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.nfd-wba-text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.nfd-wba-shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.nfd-wba-shadow-lg,.nfd-wba-shadow-none{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.nfd-wba-shadow-none{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}.nfd-wba-transition-all{transition-duration:var(--nfd-wba-transition-duration);transition-property:all;transition-timing-function:var(--nfd-wba-transition-timing)}.nfd-wba-transition-opacity{transition-duration:var(--nfd-wba-transition-duration);transition-property:opacity;transition-timing-function:var(--nfd-wba-transition-timing)}.nfd-wba-duration-75{transition-duration:75ms}.nfd-wb--hide-theme-patterns [aria-label^="Wonder - "]:not([aria-label="Wonder - Pages"]){display:none}.first\:nfd-wba-mt-1\.5:first-child{margin-top:.375rem}.last\:nfd-wba-mb-1\.5:last-child{margin-bottom:.375rem}.hover\:nfd-wba-border-brand:hover{--tw-border-opacity:1;border-color:rgb(var(--nfd-wba-color-brand-rgb)/var(--tw-border-opacity))}.hover\:nfd-wba-border-gray-300:hover{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.hover\:\!nfd-wba-bg-brand-darker:hover{--tw-bg-opacity:1!important;background-color:rgb(var(--nfd-wba-color-brand-darker-rgb)/var(--tw-bg-opacity))!important}.hover\:nfd-wba-bg-brand-darker:hover{--tw-bg-opacity:1;background-color:rgb(var(--nfd-wba-color-brand-darker-rgb)/var(--tw-bg-opacity))}.hover\:nfd-wba-bg-gray-100:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.hover\:nfd-wba-text-brand:hover{--tw-text-opacity:1;color:rgb(var(--nfd-wba-color-brand-rgb)/var(--tw-text-opacity))}.hover\:nfd-wba-text-dark:hover{--tw-text-opacity:1;color:rgb(var(--nfd-wba-color-dark-rgb)/var(--tw-text-opacity))}.hover\:nfd-wba-text-gray-900:hover{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity))}.hover\:nfd-wba-text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.hover\:nfd-wba-text-white:hover{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.hover\:nfd-wba-underline:hover{text-decoration-line:underline}.focus-visible\:nfd-wba-text-white:focus-visible{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.focus-visible\:nfd-wba-outline-2:focus-visible{outline-width:2px}.focus-visible\:nfd-wba-outline-brand:focus-visible{outline-color:rgb(var(--nfd-wba-color-brand-rgb)/1)}.active\:nfd-wba-bg-brand-darker-10:active{--tw-bg-opacity:1;background-color:rgb(var(--nfd-wba-color-brand-darker-10-rgb)/var(--tw-bg-opacity))}.active\:\!nfd-wba-text-white:active{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important}@media (min-width:782px){.sm\:nfd-wba-visible{visibility:visible}.sm\:nfd-wba-row-span-2{grid-row:span 2/span 2}.sm\:nfd-wba-mx-0{margin-left:0;margin-right:0}.sm\:-nfd-wba-ml-\[var\(--nfd-wba-masonry-gap\)\]{margin-left:calc(var(--nfd-wba-masonry-gap)*-1)}.sm\:nfd-wba-mt-0{margin-top:0}.sm\:nfd-wba-flex{display:flex}.sm\:\!nfd-wba-hidden{display:none!important}.sm\:nfd-wba-hidden{display:none}.sm\:nfd-wba-max-h-\[90\%\]{max-height:90%}.sm\:nfd-wba-w-full{width:100%}.sm\:nfd-wba-max-w-full{max-width:100%}.sm\:nfd-wba-justify-start{justify-content:flex-start}.sm\:nfd-wba-justify-center{justify-content:center}.sm\:nfd-wba-overflow-y-auto{overflow-y:auto}.sm\:nfd-wba-rounded-none{border-radius:0}.sm\:nfd-wba-border-r{border-right-width:1px}.sm\:nfd-wba-border-solid{border-style:solid}.sm\:nfd-wba-border-none{border-style:none}.sm\:nfd-wba-border-grey-b{border-color:var(--nfd-wba-color-borders)}.sm\:nfd-wba-px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:nfd-wba-py-0{padding-bottom:0;padding-top:0}.sm\:nfd-wba-pb-40{padding-bottom:10rem}.sm\:nfd-wba-pl-\[var\(--nfd-wba-masonry-gap\)\]{padding-left:var(--nfd-wba-masonry-gap)}.sm\:nfd-wba-pt-0{padding-top:0}.md\:nfd-wba-min-w-\[400px\]{min-width:400px}.md\:nfd-wba-max-w-\[90\%\]{max-width:90%}}@media (min-width:1024px){.lg\:nfd-wba-inline{display:inline}.lg\:\!nfd-wba-pl-3{padding-left:.75rem!important}.lg\:\!nfd-wba-pr-\[15px\]{padding-right:15px!important}} diff --git a/build/2.3.0/wonder-blocks.js b/build/2.4.0/wonder-blocks.js similarity index 62% rename from build/2.3.0/wonder-blocks.js rename to build/2.4.0/wonder-blocks.js index 756b182..4b6813f 100644 --- a/build/2.3.0/wonder-blocks.js +++ b/build/2.4.0/wonder-blocks.js @@ -1,7 +1,7 @@ -(()=>{var e={873:(e,t,n)=>{var a=n(325).Symbol;e.exports=a},552:(e,t,n)=>{var a=n(873),r=n(659),s=n(350),o=a?a.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?r(e):s(e)}},128:(e,t,n)=>{var a=n(800),r=/^\s+/;e.exports=function(e){return e?e.slice(0,a(e)+1).replace(r,""):e}},840:(e,t,n)=>{var a="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=a},659:(e,t,n)=>{var a=n(873),r=Object.prototype,s=r.hasOwnProperty,o=r.toString,l=a?a.toStringTag:void 0;e.exports=function(e){var t=s.call(e,l),n=e[l];try{e[l]=void 0;var a=!0}catch(e){}var r=o.call(e);return a&&(t?e[l]=n:delete e[l]),r}},350:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},325:(e,t,n)=>{var a=n(840),r="object"==typeof self&&self&&self.Object===Object&&self,s=a||r||Function("return this")();e.exports=s},800:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},221:(e,t,n)=>{var a=n(805),r=n(124),s=n(374),o=Math.max,l=Math.min;e.exports=function(e,t,n){var i,d,c,f,u,w,b=0,m=!1,p=!1,h=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var n=i,a=d;return i=d=void 0,b=t,f=e.apply(a,n)}function g(e){var n=e-w;return void 0===w||n>=t||n<0||p&&e-b>=c}function y(){var e=r();if(g(e))return _(e);u=setTimeout(y,function(e){var n=t-(e-w);return p?l(n,c-(e-b)):n}(e))}function _(e){return u=void 0,h&&i?v(e):(i=d=void 0,f)}function x(){var e=r(),n=g(e);if(i=arguments,d=this,w=e,n){if(void 0===u)return function(e){return b=e,u=setTimeout(y,t),m?v(e):f}(w);if(p)return clearTimeout(u),u=setTimeout(y,t),v(w)}return void 0===u&&(u=setTimeout(y,t)),f}return t=s(t)||0,a(n)&&(m=!!n.leading,c=(p="maxWait"in n)?o(s(n.maxWait)||0,t):c,h="trailing"in n?!!n.trailing:h),x.cancel=function(){void 0!==u&&clearTimeout(u),b=0,i=w=d=u=void 0},x.flush=function(){return void 0===u?f:_(r())},x}},805:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},346:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},394:(e,t,n)=>{var a=n(552),r=n(346);e.exports=function(e){return"symbol"==typeof e||r(e)&&"[object Symbol]"==a(e)}},124:(e,t,n)=>{var a=n(325);e.exports=function(){return a.Date.now()}},374:(e,t,n)=>{var a=n(128),r=n(805),s=n(394),o=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,i=/^0o[0-7]+$/i,d=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(s(e))return NaN;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=a(e);var n=l.test(e);return n||i.test(e)?d(e.slice(2),n?2:8):o.test(e)?NaN:+e}},63:(e,t,n)=>{"use strict";var a=n(609),r="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=a.useState,o=a.useEffect,l=a.useLayoutEffect,i=a.useDebugValue;function d(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),a=s({inst:{value:n,getSnapshot:t}}),r=a[0].inst,c=a[1];return l((function(){r.value=n,r.getSnapshot=t,d(r)&&c({inst:r})}),[e,n,t]),o((function(){return d(r)&&c({inst:r}),e((function(){d(r)&&c({inst:r})}))}),[e]),i(n),n};t.useSyncExternalStore=void 0!==a.useSyncExternalStore?a.useSyncExternalStore:c},888:(e,t,n)=>{"use strict";e.exports=n(63)},609:e=>{"use strict";e.exports=window.React},942:(e,t)=>{var n;!function(){"use strict";var a={}.hasOwnProperty;function r(){for(var e="",t=0;t{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};(()=>{"use strict";n.r(a);var e={};n.r(e),n.d(e,{initializeNamespace:()=>d,updateHiiveDebounceInstance:()=>b,updateHiiveDebounceTime:()=>w,updateHiiveEventsQueue:()=>f,updateHiiveEventsQueueThreshold:()=>u,updateHiiveUrls:()=>c});var t={};n.r(t),n.d(t,{getHiiveBatchUrl:()=>v,getHiiveDebounce:()=>g,getHiiveEventsQueue:()=>m,getHiiveEventsQueueThreshold:()=>p,getHiiveSingleUrl:()=>h});var r={};n.r(r),n.d(r,{setActivePatternsCategory:()=>Q,setActiveTab:()=>ee,setActiveTemplatesCategory:()=>Y,setCurrentView:()=>ae,setIsContentLoading:()=>Z,setIsModalOpen:()=>q,setIsSidebarLoading:()=>K,setKeywordsFilter:()=>J,setModalGridColumns:()=>te,setShouldResetKeywords:()=>X,setSortOrder:()=>ne});var s={};n.r(s),n.d(s,{getActivePatternsCategory:()=>ce,getActiveTab:()=>de,getActiveTemplatesCategory:()=>fe,getCurrentView:()=>be,getKeywordsFilter:()=>le,getModalGridColumns:()=>ue,getSortOrder:()=>we,isContentLoading:()=>oe,isModalOpen:()=>re,isSidebarLoading:()=>se,shouldResetKeywords:()=>ie});const o=window.wp.data;class l{constructor(e,t,n,a){this.category=e,this.action=t,this.data=n,this.namespace=a}}const i={urls:{single:void 0,batch:void 0},queue:{events:[],threshold:100},debounce:{time:void 0,instance:void 0}};function d(e){return{type:"INITIALIZE_NAMESPACE",namespace:e}}function c(e,t){return{type:"UPDATE_HIIVE_URLS",urls:e,namespace:t}}function f(e,t){return{type:"UPDATE_HIIVE_EVENTS_QUEUE",events:e,namespace:t}}function u(e,t){return{type:"UPDATE_HIIVE_EVENTS_QUEUE_THRESHOLD",threshold:e,namespace:t}}function w(e,t){return{type:"UPDATE_HIIVE_DEBOUNCE_TIME",debounceTime:e,namespace:t}}function b(e,t){return{type:"UPDATE_HIIVE_DEBOUNCE_INSTANCE",instance:e,namespace:t}}function m(e,t){return e.hiive[t]?.queue.events}function p(e,t){return e.hiive[t]?.queue.threshold}function h(e,t){return e.hiive[t]?.urls.single}function v(e,t){return e.hiive[t]?.urls.batch}function g(e,t){return e.hiive[t]?.debounce}const y={reducer:(0,o.combineReducers)({hiive:(e,t)=>{switch(t.type){case"INITIALIZE_NAMESPACE":return{...e,[t.namespace]:i};case"UPDATE_HIIVE_URLS":return{...e,[t.namespace]:{...e[t.namespace],urls:{single:t.urls.single,batch:t.urls.batch}}};case"UPDATE_HIIVE_EVENTS_QUEUE":return{...e,[t.namespace]:{...e[t.namespace],queue:{events:t.events,threshold:e[t.namespace].queue.threshold}}};case"UPDATE_HIIVE_EVENTS_QUEUE_THRESHOLD":return{...e,[t.namespace]:{...e[t.namespace],queue:{events:e[t.namespace].queue.events,threshold:t.threshold}}};case"UPDATE_HIIVE_DEBOUNCE_TIME":return{...e,[t.namespace]:{...e[t.namespace],debounce:{time:t.debounceTime,instance:e[t.namespace].debounce.instance}}};case"UPDATE_HIIVE_DEBOUNCE_INSTANCE":return{...e,[t.namespace]:{...e[t.namespace],debounce:{time:e[t.namespace].debounce.time,instance:t.instance}}}}return e}}),actions:e,selectors:t},_=(0,o.createReduxStore)("newfold/ui-analytics",y);(0,o.register)(_);const x=window.wp.apiFetch;var k=n.n(x);const E=e=>!!window?.nfdUIAnalytics?.hiive&&e in window.nfdUIAnalytics.hiive,C=async e=>{if(!e||!E(e))return!1;const t=(0,o.select)(_).getHiiveBatchUrl(e);if(!t)return!1;const n=(0,o.select)(_).getHiiveEventsQueue(e);if(0===n.length)return!0;(0,o.dispatch)(_).updateHiiveEventsQueue([],e);try{await k()({url:t,method:"POST",data:n})}catch(t){console.error(t),(0,o.dispatch)(_).updateHiiveEventsQueue(n,e)}return!0},j=e=>{if(!(e=>e instanceof l)(e)||!E(e.namespace))return!1;const t=e.namespace;delete e.namespace;const n=(0,o.select)(_).getHiiveEventsQueue(t);n.push(e),(0,o.dispatch)(_).updateHiiveEventsQueue(n,t);const a=(0,o.select)(_).getHiiveEventsQueueThreshold(t);return a&&a{if(!e)return!1;const t=(0,o.select)(_).getHiiveDebounce(e);!!t.time&&(clearInterval(t.instance),(0,o.dispatch)(_).updateHiiveDebounceInstance(setTimeout((()=>{C(e),(0,o.dispatch)(_).updateHiiveDebounceInstance(void 0,e)}),t.time),e))})(t),!0},S=window.wp.domReady;var M=n.n(S);const N=window.wp.element,T=window.wp.plugins,O=window.wp.compose,z="WonderBlocks",A=window.nfdWonderBlocks?.wpVer||"",P="nfd-wba-toolbar-button",V=window.nfdWonderBlocks?.nfdRestURL||"",R=window.nfdWonderBlocks?.supportURL||"#",I=["header","footer"],B="featured",L="featured",D="wonder_blocks",F=window.nfdWonderBlocks?.nfdWBVersion||"",H=window.wp.blocks,U=window.wp.primitives,G=window.ReactJSXRuntime,W=(U.SVG,U.Path,(0,G.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",height:"20",className:"nfd-wba-h-5 nfd-wba-w-auto",viewBox:"0 0 24 22",children:(0,G.jsx)(U.Path,{d:"M12 21.99L10.77 20.88C8.65 18.94 6.9 17.265 5.52 15.855C4.14 14.445 3.04 13.185 2.22 12.075C1.4 10.965 0.825 9.96 0.495 9.06C0.165 8.16 0 7.25 0 6.33C0 4.53 0.605 3.025 1.815 1.815C3.025 0.605 4.52 0 6.3 0C7.44 0 8.495 0.27 9.465 0.81C10.435 1.35 11.28 2.13 12 3.15C12.84 2.07 13.73 1.275 14.67 0.765C15.61 0.255 16.62 0 17.7 0C19.48 0 20.975 0.605 22.185 1.815C23.395 3.025 24 4.53 24 6.33C24 7.25 23.835 8.16 23.505 9.06C23.175 9.96 22.6 10.965 21.78 12.075C20.96 13.185 19.86 14.445 18.48 15.855C17.1 17.265 15.35 18.94 13.23 20.88L12 21.99Z"})})),$=(U.SVG,U.Path,U.SVG,U.Path,U.SVG,U.Path,(0,G.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:(0,G.jsx)(U.Path,{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 7.125C2.25 6.504 2.754 6 3.375 6h6c.621 0 1.125.504 1.125 1.125v3.75c0 .621-.504 1.125-1.125 1.125h-6a1.125 1.125 0 0 1-1.125-1.125v-3.75ZM14.25 8.625c0-.621.504-1.125 1.125-1.125h5.25c.621 0 1.125.504 1.125 1.125v8.25c0 .621-.504 1.125-1.125 1.125h-5.25a1.125 1.125 0 0 1-1.125-1.125v-8.25ZM3.75 16.125c0-.621.504-1.125 1.125-1.125h5.25c.621 0 1.125.504 1.125 1.125v2.25c0 .621-.504 1.125-1.125 1.125h-5.25a1.125 1.125 0 0 1-1.125-1.125v-2.25Z"})}));function q(e){return{type:"SET_MODAL_OPEN",isOpen:e}}function Z(e){return{type:"SET_CONTENT_LOADING",isContentLoading:e}}function K(e){return{type:"SET_SIDEBAR_LOADING",isSidebarLoading:e}}function Q(e){return{type:"SET_ACTIVE_PATTERNS_CATEGORY",activeCategory:e}}function Y(e){return{type:"SET_ACTIVE_TEMPLATES_CATEGORY",activeCategory:e}}function J(e){return{type:"SET_KEYWORDS_FILTER",keywordsFilter:e}}function X(e){return{type:"SET_SHOULD_RESET_KEYWORDS",shouldResetKeywords:e}}function ee(e){return{type:"SET_ACTIVE_TAB",activeTab:e}}function te(e){return{type:"SET_GRID_COLUMNS",gridColumns:e}}function ne(e){return{type:"SET_SORT_ORDER",sortOrder:e}}function ae(e){return{type:"SET_CURRENT_VIEW",currentView:e}}function re(e){return e.modal.isOpen}function se(e){return e.modal.isSidebarLoading}function oe(e){return e.modal.isContentLoading}function le(e){return e.modal.keywordsFilter}function ie(e){return e.modal.shouldResetKeywords}function de(e){return e.modal.activeTab}function ce(e){return e.patterns.activeCategory}function fe(e){return e.templates.activeCategory}function ue(e){return e.modal.gridColumns}function we(e){return e.modal.sortOrder}function be(e){return e.modal.currentView}function me(){const e=localStorage.getItem("nfdWBGridColumns");return e?Number(e):2}function pe(){return localStorage.getItem("nfdWBSortOrder")||"oldest"}const he={reducer:(0,o.combineReducers)({modal:function(e={isOpen:!1,isContentLoading:!1,keywordsFilter:"",activeTab:"patterns",gridColumns:me(),sortOrder:pe(),currentView:"library"},t){switch(t.type){case"SET_MODAL_OPEN":return{...e,isOpen:t.isOpen};case"SET_SIDEBAR_LOADING":return{...e,isSidebarLoading:t.isSidebarLoading};case"SET_CONTENT_LOADING":return{...e,isContentLoading:t.isContentLoading};case"SET_KEYWORDS_FILTER":return{...e,keywordsFilter:t.keywordsFilter};case"SET_SHOULD_RESET_KEYWORDS":return{...e,shouldResetKeywords:!!t.shouldResetKeywords};case"SET_ACTIVE_TAB":return{...e,activeTab:t.activeTab};case"SET_GRID_COLUMNS":return localStorage.setItem("nfdWBGridColumns",t.gridColumns),{...e,gridColumns:t.gridColumns};case"SET_SORT_ORDER":return localStorage.setItem("nfdWBSortOrder",t.sortOrder),{...e,sortOrder:t.sortOrder};case"SET_CURRENT_VIEW":return{...e,currentView:t.currentView}}return e},patterns:function(e={activeCategory:B},t){return"SET_ACTIVE_PATTERNS_CATEGORY"===t.type?{...e,activeCategory:t.activeCategory}:e},templates:function(e={activeCategory:L},t){return"SET_ACTIVE_TEMPLATES_CATEGORY"===t.type?{...e,activeCategory:t.activeCategory}:e}}),actions:r,selectors:s},ve=(0,o.createReduxStore)("newfold/wonder-blocks",he);(0,o.register)(ve);const ge=(e,t)=>{const n=t.label_key;if(n&&!t[n])return void console.error(`Missing or empty '${n}' in Hiive event data`,t);t={...t,page:window.location.href};const a=new l(D,e,t,D);j(a)},ye=window.wp.i18n,_e=(0,G.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,G.jsx)(U.Path,{d:"M16.375 4.5H4.625a.125.125 0 0 0-.125.125v8.254l2.859-1.54a.75.75 0 0 1 .68-.016l2.384 1.142 2.89-2.074a.75.75 0 0 1 .874 0l2.313 1.66V4.625a.125.125 0 0 0-.125-.125Zm.125 9.398-2.75-1.975-2.813 2.02a.75.75 0 0 1-.76.067l-2.444-1.17L4.5 14.583v1.792c0 .069.056.125.125.125h11.75a.125.125 0 0 0 .125-.125v-2.477ZM4.625 3C3.728 3 3 3.728 3 4.625v11.75C3 17.273 3.728 18 4.625 18h11.75c.898 0 1.625-.727 1.625-1.625V4.625C18 3.728 17.273 3 16.375 3H4.625ZM20 8v11c0 .69-.31 1-.999 1H6v1.5h13.001c1.52 0 2.499-.982 2.499-2.5V8H20Z",fillRule:"evenodd",clipRule:"evenodd"})}),xe=(0,G.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,G.jsx)(U.Path,{d:"M18 5.5H6a.5.5 0 0 0-.5.5v12a.5.5 0 0 0 .5.5h12a.5.5 0 0 0 .5-.5V6a.5.5 0 0 0-.5-.5ZM6 4h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Zm1 5h1.5v1.5H7V9Zm1.5 4.5H7V15h1.5v-1.5ZM10 9h7v1.5h-7V9Zm7 4.5h-7V15h7v-1.5Z"})}),ke=(0,G.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,G.jsx)(U.Path,{d:"M8 12.5h8V11H8v1.5Z M19 6.5H5a2 2 0 0 0-2 2V15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8.5a2 2 0 0 0-2-2ZM5 8h14a.5.5 0 0 1 .5.5V15a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V8.5A.5.5 0 0 1 5 8Z"})}),Ee=(0,G.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,G.jsx)(U.Path,{d:"M12 4.75a7.25 7.25 0 100 14.5 7.25 7.25 0 000-14.5zM3.25 12a8.75 8.75 0 1117.5 0 8.75 8.75 0 01-17.5 0zM12 8.75a1.5 1.5 0 01.167 2.99c-.465.052-.917.44-.917 1.01V14h1.5v-.845A3 3 0 109 10.25h1.5a1.5 1.5 0 011.5-1.5zM11.25 15v1.5h1.5V15h-1.5z"})}),Ce=(0,G.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,G.jsx)(U.Path,{d:"M6 5.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM4 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2V6zm11-.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM13 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2h-3a2 2 0 01-2-2V6zm5 8.5h-3a.5.5 0 00-.5.5v3a.5.5 0 00.5.5h3a.5.5 0 00.5-.5v-3a.5.5 0 00-.5-.5zM15 13a2 2 0 00-2 2v3a2 2 0 002 2h3a2 2 0 002-2v-3a2 2 0 00-2-2h-3zm-9 1.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5v-3a.5.5 0 01.5-.5zM4 15a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2v-3z",fillRule:"evenodd",clipRule:"evenodd"})}),je=(0,G.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,G.jsx)(U.Path,{fillRule:"evenodd",d:"M6 5.5h12a.5.5 0 01.5.5v7H14a2 2 0 11-4 0H5.5V6a.5.5 0 01.5-.5zm-.5 9V18a.5.5 0 00.5.5h12a.5.5 0 00.5-.5v-3.5h-3.337a3.5 3.5 0 01-6.326 0H5.5zM4 13V6a2 2 0 012-2h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2v-5z",clipRule:"evenodd"})}),Se=(0,G.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,G.jsx)(U.Path,{d:"M6 5V18.5911L12 13.8473L18 18.5911V5H6Z"})}),Me=(0,G.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,G.jsx)(U.Path,{d:"M19 3H5c-.6 0-1 .4-1 1v7c0 .5.4 1 1 1h14c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1zM5.5 10.5v-.4l1.8-1.3 1.3.8c.3.2.7.2.9-.1L11 8.1l2.4 2.4H5.5zm13 0h-2.9l-4-4c-.3-.3-.8-.3-1.1 0L8.9 8l-1.2-.8c-.3-.2-.6-.2-.9 0l-1.3 1V4.5h13v6zM4 20h9v-1.5H4V20zm0-4h16v-1.5H4V16z"})}),Ne=(0,G.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,G.jsx)(U.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M15 7.5h-5v10h5v-10Zm1.5 0v10H19a.5.5 0 0 0 .5-.5V8a.5.5 0 0 0-.5-.5h-2.5ZM6 7.5h2.5v10H6a.5.5 0 0 1-.5-.5V8a.5.5 0 0 1 .5-.5ZM6 6h13a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2Z"})}),Te=(0,G.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,G.jsx)(U.Path,{d:"M4 4v1.5h16V4H4zm8 8.5h8V11h-8v1.5zM4 20h16v-1.5H4V20zm4-8c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2z"})}),Oe=(0,G.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,G.jsx)(U.Path,{d:"M15.5 9.5a1 1 0 100-2 1 1 0 000 2zm0 1.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5zm-2.25 6v-2a2.75 2.75 0 00-2.75-2.75h-4A2.75 2.75 0 003.75 15v2h1.5v-2c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v2h1.5zm7-2v2h-1.5v-2c0-.69-.56-1.25-1.25-1.25H15v-1.5h2.5A2.75 2.75 0 0120.25 15zM9.5 8.5a1 1 0 11-2 0 1 1 0 012 0zm1.5 0a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0z",fillRule:"evenodd"})}),ze=(0,G.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,G.jsx)(U.Path,{d:"M13 6v6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H13zm-9 6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H4v6z"})}),Ae=(0,G.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,G.jsx)(U.Path,{d:"M6.9 7L3 17.8h1.7l1-2.8h4.1l1 2.8h1.7L8.6 7H6.9zm-.7 6.6l1.5-4.3 1.5 4.3h-3zM21.6 17c-.1.1-.2.2-.3.2-.1.1-.2.1-.4.1s-.3-.1-.4-.2c-.1-.1-.1-.3-.1-.6V12c0-.5 0-1-.1-1.4-.1-.4-.3-.7-.5-1-.2-.2-.5-.4-.9-.5-.4 0-.8-.1-1.3-.1s-1 .1-1.4.2c-.4.1-.7.3-1 .4-.2.2-.4.3-.6.5-.1.2-.2.4-.2.7 0 .3.1.5.2.8.2.2.4.3.8.3.3 0 .6-.1.8-.3.2-.2.3-.4.3-.7 0-.3-.1-.5-.2-.7-.2-.2-.4-.3-.6-.4.2-.2.4-.3.7-.4.3-.1.6-.1.8-.1.3 0 .6 0 .8.1.2.1.4.3.5.5.1.2.2.5.2.9v1.1c0 .3-.1.5-.3.6-.2.2-.5.3-.9.4-.3.1-.7.3-1.1.4-.4.1-.8.3-1.1.5-.3.2-.6.4-.8.7-.2.3-.3.7-.3 1.2 0 .6.2 1.1.5 1.4.3.4.9.5 1.6.5.5 0 1-.1 1.4-.3.4-.2.8-.6 1.1-1.1 0 .4.1.7.3 1 .2.3.6.4 1.2.4.4 0 .7-.1.9-.2.2-.1.5-.3.7-.4h-.3zm-3-.9c-.2.4-.5.7-.8.8-.3.2-.6.2-.8.2-.4 0-.6-.1-.9-.3-.2-.2-.3-.6-.3-1.1 0-.5.1-.9.3-1.2s.5-.5.8-.7c.3-.2.7-.3 1-.5.3-.1.6-.3.7-.6v3.4z"})}),Pe=(0,G.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,G.jsx)(U.Path,{d:"M18.5 10.5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"})}),Ve=(0,G.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,G.jsx)(U.Path,{fillRule:"evenodd",d:"M18 5.5h-8v8h8.5V6a.5.5 0 00-.5-.5zm-9.5 8h-3V6a.5.5 0 01.5-.5h2.5v8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"})}),Re=(0,G.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,G.jsx)(U.Path,{d:"M8.1 12.3c.1.1.3.3.5.3.2.1.4.1.6.1.2 0 .4 0 .6-.1.2-.1.4-.2.5-.3l3-3c.3-.3.5-.7.5-1.1 0-.4-.2-.8-.5-1.1L9.7 3.5c-.1-.2-.3-.3-.5-.3H5c-.4 0-.8.4-.8.8v4.2c0 .2.1.4.2.5l3.7 3.6zM5.8 4.8h3.1l3.4 3.4v.1l-3 3 .5.5-.7-.5-3.3-3.4V4.8zM4 20h9v-1.5H4V20zm0-5.5V16h16v-1.5H4z"})}),Ie=[{name:"gallery",icon:{foreground:"var(--nfd-wba-color-brand)",src:_e},category:"nfd-wonder-blocks",attributes:{category:"gallery"},title:(0,ye.__)("Gallery Patterns","nfd-wonder-blocks"),description:(0,ye.__)("Add Gallery patterns.","nfd-wonder-blocks"),keywords:[(0,ye.__)("images","nfd-wonder-blocks"),(0,ye.__)("photos","nfd-wonder-blocks"),(0,ye.__)("photography","nfd-wonder-blocks")],example:{attributes:{preview:"https://hiive.cloud/workers/wonderblocks-assets/previews/gallery.webp"}}},{name:"blog",icon:{foreground:"var(--nfd-wba-color-brand)",src:xe},category:"nfd-wonder-blocks",attributes:{category:"blog"},title:(0,ye.__)("Blog Patterns","nfd-wonder-blocks"),description:(0,ye.__)("Add Blog patterns.","nfd-wonder-blocks"),keywords:[(0,ye.__)("articles","nfd-wonder-blocks"),(0,ye.__)("posts","nfd-wonder-blocks"),(0,ye.__)("news","nfd-wonder-blocks")],example:{attributes:{preview:"https://hiive.cloud/workers/wonderblocks-assets/previews/blog.webp"}}},{name:"call-to-action",icon:{foreground:"var(--nfd-wba-color-brand)",src:ke},category:"nfd-wonder-blocks",attributes:{category:"call-to-action"},title:(0,ye.__)("Call to Action Patterns","nfd-wonder-blocks"),description:(0,ye.__)("Add Call to Action patterns.","nfd-wonder-blocks"),keywords:[(0,ye.__)("cta","nfd-wonder-blocks"),(0,ye.__)("conversion","nfd-wonder-blocks"),(0,ye.__)("button","nfd-wonder-blocks")],example:{attributes:{preview:"https://hiive.cloud/workers/wonderblocks-assets/previews/cta.webp"}}},{name:"faq",icon:{foreground:"var(--nfd-wba-color-brand)",src:Ee},category:"nfd-wonder-blocks",attributes:{category:"faq"},title:(0,ye.__)("FAQ Patterns","nfd-wonder-blocks"),description:(0,ye.__)("Add FAQ patterns.","nfd-wonder-blocks"),keywords:[(0,ye.__)("frequently asked questions","nfd-wonder-blocks")],example:{attributes:{preview:"https://hiive.cloud/workers/wonderblocks-assets/previews/faq.webp"}}},{name:"features",icon:{foreground:"var(--nfd-wba-color-brand)",src:Ce},category:"nfd-wonder-blocks",attributes:{category:"features"},title:(0,ye.__)("Features Patterns","nfd-wonder-blocks"),description:(0,ye.__)("Add Features patterns.","nfd-wonder-blocks"),keywords:[(0,ye.__)("columns","nfd-wonder-blocks"),(0,ye.__)("about","nfd-wonder-blocks")],example:{attributes:{preview:"https://hiive.cloud/workers/wonderblocks-assets/previews/features.webp"}}},{name:"forms",icon:{foreground:"var(--nfd-wba-color-brand)",src:je},category:"nfd-wonder-blocks",attributes:{category:"forms"},title:(0,ye.__)("Form Patterns","nfd-wonder-blocks"),description:(0,ye.__)("Add Form patterns.","nfd-wonder-blocks"),keywords:[(0,ye.__)("form","nfd-wonder-blocks"),(0,ye.__)("email","nfd-wonder-blocks"),(0,ye.__)("CRM","nfd-wonder-blocks"),(0,ye.__)("contact","nfd-wonder-blocks")],example:{attributes:{preview:"https://hiive.cloud/workers/wonderblocks-assets/previews/forms.webp"}}},{name:"headings",icon:{foreground:"var(--nfd-wba-color-brand)",src:Se},category:"nfd-wonder-blocks",attributes:{category:"headings"},title:(0,ye.__)("Heading Patterns","nfd-wonder-blocks"),description:(0,ye.__)("Add Heading patterns.","nfd-wonder-blocks"),keywords:[(0,ye.__)("title","nfd-wonder-blocks"),(0,ye.__)("headline","nfd-wonder-blocks"),(0,ye.__)("tagline","nfd-wonder-blocks"),(0,ye.__)("text","nfd-wonder-blocks")],example:{attributes:{preview:"https://hiive.cloud/workers/wonderblocks-assets/previews/headings.webp"}}},{name:"hero",icon:{foreground:"var(--nfd-wba-color-brand)",src:Me},category:"nfd-wonder-blocks",attributes:{category:"hero"},title:(0,ye.__)("Hero Patterns","nfd-wonder-blocks"),description:(0,ye.__)("Add Hero patterns.","nfd-wonder-blocks"),keywords:[(0,ye.__)("banner","nfd-wonder-blocks"),(0,ye.__)("image slider","nfd-wonder-blocks"),(0,ye.__)("homepage","nfd-wonder-blocks")],example:{attributes:{preview:"https://hiive.cloud/workers/wonderblocks-assets/previews/hero.webp"}}},{name:"pricing",icon:{foreground:"var(--nfd-wba-color-brand)",src:Ne},category:"nfd-wonder-blocks",attributes:{category:"pricing-table"},title:(0,ye.__)("Pricing Table Patterns","nfd-wonder-blocks"),description:(0,ye.__)("Add Pricing Table patterns.","nfd-wonder-blocks"),keywords:[(0,ye.__)("plans","nfd-wonder-blocks"),(0,ye.__)("comparison","nfd-wonder-blocks"),(0,ye.__)("packages","nfd-wonder-blocks")],example:{attributes:{preview:"https://hiive.cloud/workers/wonderblocks-assets/previews/pricing-table.webp"}}},{name:"menu",icon:{foreground:"var(--nfd-wba-color-brand)",src:Te},category:"nfd-wonder-blocks",attributes:{category:"menu"},title:(0,ye.__)("Menu Patterns","nfd-wonder-blocks"),description:(0,ye.__)("Add Menu patterns.","nfd-wonder-blocks"),keywords:[(0,ye.__)("restaurant","nfd-wonder-blocks"),(0,ye.__)("cafe","nfd-wonder-blocks"),(0,ye.__)("coffee","nfd-wonder-blocks"),(0,ye.__)("catering","nfd-wonder-blocks"),(0,ye.__)("food","nfd-wonder-blocks"),(0,ye.__)("recipe","nfd-wonder-blocks")],example:{attributes:{preview:"https://hiive.cloud/workers/wonderblocks-assets/previews/menu.webp"}}},{name:"team",icon:{foreground:"var(--nfd-wba-color-brand)",src:Oe},category:"nfd-wonder-blocks",attributes:{category:"team"},title:(0,ye.__)("Team Patterns","nfd-wonder-blocks"),description:(0,ye.__)("Add Team patterns.","nfd-wonder-blocks"),keywords:[(0,ye.__)("employees","nfd-wonder-blocks"),(0,ye.__)("members","nfd-wonder-blocks"),(0,ye.__)("profiles","nfd-wonder-blocks")],example:{attributes:{preview:"https://hiive.cloud/workers/wonderblocks-assets/previews/team.webp"}}},{name:"testimonials",icon:{foreground:"var(--nfd-wba-color-brand)",src:ze},category:"nfd-wonder-blocks",attributes:{category:"testimonials"},title:(0,ye.__)("Testimonial Patterns","nfd-wonder-blocks"),description:(0,ye.__)("Add Testimonial patterns.","nfd-wonder-blocks"),keywords:[(0,ye.__)("reviews","nfd-wonder-blocks"),(0,ye.__)("feedback","nfd-wonder-blocks"),(0,ye.__)("ratings","nfd-wonder-blocks")],example:{attributes:{preview:"https://hiive.cloud/workers/wonderblocks-assets/previews/testimonials.webp"}}},{name:"text",icon:{foreground:"var(--nfd-wba-color-brand)",src:Ae},category:"nfd-wonder-blocks",attributes:{category:"text"},title:(0,ye.__)("Text Patterns","nfd-wonder-blocks"),description:(0,ye.__)("Add Text patterns.","nfd-wonder-blocks"),keywords:[(0,ye.__)("highlight","nfd-wonder-blocks"),(0,ye.__)("write","nfd-wonder-blocks"),(0,ye.__)("format","nfd-wonder-blocks")],example:{attributes:{preview:"https://hiive.cloud/workers/wonderblocks-assets/previews/text.webp"}}},{name:"header",icon:{foreground:"var(--nfd-wba-color-brand)",src:Pe},category:"nfd-wonder-blocks",attributes:{category:"header"},title:(0,ye.__)("Header Patterns","nfd-wonder-blocks"),description:(0,ye.__)("Add Header patterns.","nfd-wonder-blocks"),example:{attributes:{preview:"https://hiive.cloud/workers/wonderblocks-assets/previews/header.webp"}}},{name:"footer",icon:{foreground:"var(--nfd-wba-color-brand)",src:Ve},category:"nfd-wonder-blocks",attributes:{category:"footer"},title:(0,ye.__)("Footer Patterns","nfd-wonder-blocks"),description:(0,ye.__)("Add Footer patterns.","nfd-wonder-blocks"),example:{attributes:{preview:"https://hiive.cloud/workers/wonderblocks-assets/previews/footer.webp"}}},{name:"products",icon:{foreground:"var(--nfd-wba-color-brand)",src:Re},category:"nfd-wonder-blocks",attributes:{category:"products"},title:(0,ye.__)("Product Patterns","nfd-wonder-blocks"),description:(0,ye.__)("Add Product patterns.","nfd-wonder-blocks"),example:{attributes:{preview:"https://hiive.cloud/workers/wonderblocks-assets/previews/products.webp"}}},{name:"favorites",icon:{foreground:"var(--nfd-wba-color-brand)",src:W},category:"nfd-wonder-blocks",attributes:{category:"favorites"},title:(0,ye.__)("My Favorite Patterns","nfd-wonder-blocks"),description:(0,ye.__)("A collection of patterns you've selected.","nfd-wonder-blocks"),keywords:[(0,ye.__)("liked","nfd-wonder-blocks"),(0,ye.__)("saved","nfd-wonder-blocks"),(0,ye.__)("bookmarked","nfd-wonder-blocks"),(0,ye.__)("starred","nfd-wonder-blocks")]}],Be=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"wonder-blocks/library","title":"WonderBlocks","description":"Add patterns and page templates tailored for your site.","keywords":["template","patterns","blocks"],"textdomain":"nfd-wonder-blocks","attributes":{"preview":{"type":"string"},"category":{"type":"string"}}}'),Le=(0,N.forwardRef)((function({icon:e,size:t=24,...n},a){return(0,N.cloneElement)(e,{width:t,height:t,...n,ref:a})}));(0,H.registerBlockType)(Be,{icon:(0,G.jsx)(Le,{icon:$,className:"!nfd-wba-fill-none !nfd-wba-stroke-brand"}),category:"nfd-wonder-blocks",example:{attributes:{preview:"https://hiive.cloud/workers/wonderblocks-assets/previews/default.webp"}},variations:[...Ie],edit:function({clientId:e,attributes:t}){const{removeBlock:n}=(0,o.useDispatch)("core/block-editor"),{setIsModalOpen:a,setActivePatternsCategory:r,setActiveTab:s}=(0,o.useDispatch)(ve);return(0,N.useEffect)((()=>{t.preview||(n(e),s("patterns"),r(t.category?t.category:B),ge("modal_open",{label_key:"trigger",trigger:"block"}),a(!0))}),[t.category,t.preview,e,n,r,s,a]),(0,G.jsx)("img",{style:{display:"block",maxWidth:"100%"},src:t.preview,alt:"WonderBlocks"})}});const De=window.wp.blockEditor,Fe=window.wp.components,He=window.wp.hooks;var Ue=n(942),Ge=n.n(Ue);const We=({title:e})=>(0,G.jsxs)("div",{className:"nfd-wba-relative nfd-wba-w-full nfd-wba-pr-9 nfd-wba-flex nfd-wba-items-center",children:[(0,G.jsx)("div",{className:"nfd-wba-flex-1",children:e}),(0,G.jsx)("div",{className:"nfd-wba-bg-brand nfd-wba-rounded-full nfd-wba-flex nfd-wba-justify-center nfd-wba-items-center nfd-wba-w-7 nfd-wba-h-7 nfd-wba-absolute nfd-wba-right-0 nfd-wba-transform -nfd-wba-translate-y-1/2",children:(0,G.jsx)(Le,{icon:$,className:"!nfd-wba-fill-none nfd-wba-stroke-white",size:16})})]}),$e=["core/archives","core/calendar","core/latest-comments","core/rss","core/tag-cloud"],qe=(0,O.createHigherOrderComponent)((e=>t=>{var n,a,r,s,l;const{name:i,clientId:d}=t,c=null!==(n=t?.attributes?.nfdGroupDivider)&&void 0!==n?n:"default",f=null!==(a=t?.attributes?.nfdGroupTheme)&&void 0!==a?a:"",u=null!==(r=t?.attributes?.nfdGroupEffect)&&void 0!==r?r:"",w=null!==(s=t?.attributes?.nfdAnimation)&&void 0!==s?s:"",b=null!==(l=t?.attributes?.nfdAnimationDelay)&&void 0!==l?l:"",m=(0,o.useSelect)((e=>{const{getBlockRootClientId:t}=e("core/block-editor");return!t(d)}),[d]),p=(0,N.useMemo)((()=>[{name:"",label:(0,ye.__)("Default","nfd-wonder-blocks"),isDefault:!0},{name:"nfd-divider-arrow",label:(0,ye.__)("Arrow","nfd-wonder-blocks")},{name:"nfd-divider-ellipse",label:(0,ye.__)("Ellipse","nfd-wonder-blocks")},{name:"nfd-divider-rounded",label:(0,ye.__)("Rounded","nfd-wonder-blocks")},{name:"nfd-divider-slant",label:(0,ye.__)("Slant","nfd-wonder-blocks")},{name:"nfd-divider-slant-invert",label:(0,ye.__)("Slant Invert","nfd-wonder-blocks")},{name:"nfd-divider-triangle",label:(0,ye.__)("Triangle","nfd-wonder-blocks")},{name:"nfd-divider-zigzag",label:(0,ye.__)("Zigzag","nfd-wonder-blocks")}]),[]),h=(0,N.useMemo)((()=>[{value:"",label:(0,ye.__)("None","nfd-wonder-blocks")},{value:"nfd-wb-fade-in-bottom",label:(0,ye.__)("Fade In Bottom","nfd-wonder-blocks")},{value:"nfd-wb-fade-in-top-short",label:(0,ye.__)("Fade In Top Short","nfd-wonder-blocks")},{value:"nfd-wb-fade-in-right-short",label:(0,ye.__)("Fade In Right Short","nfd-wonder-blocks")},{value:"nfd-wb-fade-in-bottom-short",label:(0,ye.__)("Fade In Bottom Short","nfd-wonder-blocks")},{value:"nfd-wb-fade-in-left-short",label:(0,ye.__)("Fade In Left Short","nfd-wonder-blocks")},{value:"nfd-wb-twist-in",label:(0,ye.__)("Twist In","nfd-wonder-blocks")},{value:"nfd-wb-zoom-in",label:(0,ye.__)("Zoom In","nfd-wonder-blocks")},{value:"nfd-wb-zoom-in-short",label:(0,ye.__)("Zoom In Short","nfd-wonder-blocks")},{value:"nfd-wb-reveal-right",label:(0,ye.__)("Reveal Right","nfd-wonder-blocks")}]),[]),v=(0,N.useMemo)((()=>[{value:"",label:(0,ye.__)("None","nfd-wonder-blocks")},{value:"nfd-delay-50",label:(0,ye.__)("50ms","nfd-wonder-blocks")},{value:"nfd-delay-150",label:(0,ye.__)("150ms","nfd-wonder-blocks")},{value:"nfd-delay-300",label:(0,ye.__)("300ms","nfd-wonder-blocks")},{value:"nfd-delay-450",label:(0,ye.__)("450ms","nfd-wonder-blocks")},{value:"nfd-delay-600",label:(0,ye.__)("600ms","nfd-wonder-blocks")},{value:"nfd-delay-750",label:(0,ye.__)("750ms","nfd-wonder-blocks")},{value:"nfd-delay-900",label:(0,ye.__)("900ms","nfd-wonder-blocks")},{value:"nfd-delay-1050",label:(0,ye.__)("1050ms","nfd-wonder-blocks")},{value:"nfd-delay-1200",label:(0,ye.__)("1200ms","nfd-wonder-blocks")},{value:"nfd-delay-1350",label:(0,ye.__)("1350ms","nfd-wonder-blocks")},{value:"nfd-delay-1500",label:(0,ye.__)("1500ms","nfd-wonder-blocks")}]),[]),g=(0,N.useMemo)((()=>[{name:"",label:(0,ye.__)("Default","nfd-wonder-blocks"),isDefault:!0},{name:"white",label:(0,ye.__)("White","nfd-wonder-blocks")},{name:"light",label:(0,ye.__)("Light","nfd-wonder-blocks")},{name:"dark",label:(0,ye.__)("Dark","nfd-wonder-blocks")},{name:"darker",label:(0,ye.__)("Darker","nfd-wonder-blocks")},{name:"primary",label:(0,ye.__)("Primary","nfd-wonder-blocks")}]),[]),y=(0,N.useMemo)((()=>[{name:"",label:(0,ye.__)("None","nfd-wonder-blocks"),isDefault:!0},{name:"dots",label:(0,ye.__)("Dots","nfd-wonder-blocks")},{name:"grid",label:(0,ye.__)("Grid","nfd-wonder-blocks")},{name:"grid-2",label:(0,ye.__)("Grid 2","nfd-wonder-blocks")},{name:"grid-3",label:(0,ye.__)("Grid 3","nfd-wonder-blocks")},{name:"grid-perspective",label:(0,ye.__)("Grid Perspective","nfd-wonder-blocks")},{name:"lines",label:(0,ye.__)("Lines","nfd-wonder-blocks")},{name:"lines-2",label:(0,ye.__)("Lines 2","nfd-wonder-blocks")}]),[]);return(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(e,{...t}),"core/group"===i&&m&&(0,G.jsx)(De.InspectorControls,{children:(0,G.jsx)(Fe.PanelBody,{title:(0,G.jsx)(We,{title:(0,ye.__)("Section Divider","nfd-wonder-blocks")}),initialOpen:!1,className:"nfd-wb-panel__body",children:(0,G.jsx)("div",{className:"block-editor-block-styles",children:(0,G.jsx)("div",{className:"block-editor-block-styles__variants",children:p.map((e=>{const n=e.isDefault?(0,ye.__)("Default","nfd-wonder-blocks"):e.label||e.name;return(0,G.jsx)(Fe.Button,{className:Ge()("block-editor-block-styles__item",{"is-active":c===e.name}),variant:"secondary",label:n,onClick:()=>t.setAttributes({nfdGroupDivider:e.name}),"aria-current":c===e.name,children:(0,G.jsx)(Fe.__experimentalTruncate,{numberOfLines:1,className:"block-editor-block-styles__item-text",children:n})},e.name)}))})})})}),"core/group"===i&&(0,G.jsx)(De.InspectorControls,{children:(0,G.jsx)(Fe.PanelBody,{title:(0,G.jsx)(We,{title:(0,ye.__)("Section Theme Color","nfd-wonder-blocks")}),initialOpen:!1,children:(0,G.jsx)("div",{className:"block-editor-block-styles",children:(0,G.jsx)("div",{className:"block-editor-block-styles__variants",children:g.map((e=>{const n=e.isDefault?(0,ye.__)("Default","nfd-wonder-blocks"):e.label||e.name;return(0,G.jsx)(Fe.Button,{className:Ge()("block-editor-block-styles__item",{"is-active":f===e.name}),variant:"secondary",label:n,onClick:()=>{t.setAttributes({nfdGroupTheme:e.name})},"aria-current":f===e.name,children:(0,G.jsx)(Fe.__experimentalTruncate,{numberOfLines:1,className:"block-editor-block-styles__item-text",children:n})},e.name)}))})})})}),"core/group"===i&&(0,G.jsx)(De.InspectorControls,{children:(0,G.jsx)(Fe.PanelBody,{title:(0,G.jsx)(We,{title:(0,ye.__)("Section Background Effect","nfd-wonder-blocks")}),initialOpen:!1,children:(0,G.jsx)("div",{className:"block-editor-block-styles",children:(0,G.jsx)("div",{className:"block-editor-block-styles__variants",children:y.map((e=>{const n=e.label||e.name;return(0,G.jsx)(Fe.Button,{className:Ge()("block-editor-block-styles__item",{"is-active":u===e.name}),variant:"secondary",label:n,onClick:()=>{t.setAttributes({nfdGroupEffect:e.name})},"aria-current":u===e.name,children:(0,G.jsx)(Fe.__experimentalTruncate,{numberOfLines:1,className:"block-editor-block-styles__item-text",children:n})},e.name)}))})})})}),!$e.includes(i)&&(0,G.jsx)(De.InspectorControls,{children:(0,G.jsxs)(Fe.PanelBody,{title:(0,G.jsx)(We,{title:(0,ye.__)("Entrance Animations","nfd-wonder-blocks")}),initialOpen:!1,children:[(0,G.jsx)(Fe.SelectControl,{label:(0,ye.__)("Animation","nfd-wonder-blocks"),options:h,value:w,onChange:e=>{t.setAttributes({nfdAnimation:e}),document.dispatchEvent(new CustomEvent("wonder-blocks/animation-changed",{detail:{clientId:t?.clientId}}))}}),(0,G.jsx)(Fe.SelectControl,{label:(0,ye.__)("Delay","nfd-wonder-blocks"),options:v,value:b,onChange:e=>{t.setAttributes({nfdAnimationDelay:e})}})]})})]})}),"withInspectorControl");function Ze(e,t,n){var a,r;const s=null!==(a=e?.className)&&void 0!==a?a:[],o=[...n?.nfdGroupDivider?[n.nfdGroupDivider]:[],...n?.nfdAnimation?["nfd-wb-animate",n.nfdAnimation]:[],...n?.nfdAnimationDelay&&n?.nfdAnimation?[n.nfdAnimationDelay]:[],...n?.nfdGroupTheme?["nfd-bg-surface",`nfd-theme-${n.nfdGroupTheme}`]:[],...n?.nfdGroupEffect?[`nfd-bg-effect-${n.nfdGroupEffect}`]:[]],l=null!==(r=n?.className)&&void 0!==r?r:[];if(!o)return e;const i=e=>{switch(Object.prototype.toString.call(e)){case"[object String]":return e.split(" ");case"[object Array]":return e;default:return[]}},d=new Set([...i(l),...i(s),...i(o)]);return Object.assign({},e,{className:[...d].join(" ")})}(0,He.addFilter)("blocks.registerBlockType","nfd-wonder-blocks/utilities/attributes",(function(e,t){return $e.includes(t)?e:("core/group"===t&&(e.attributes={...e.attributes,nfdGroupDivider:{type:"string"},nfdGroupTheme:{type:"string"},nfdGroupEffect:{type:"string"}}),{...e,attributes:{...e.attributes,nfdAnimation:{type:"string"},nfdAnimationDelay:{type:"string"}}})})),(0,He.addFilter)("blocks.registerBlockType","nfd-wonder-blocks/utilities/addEditProps",(function(e){const t=e.getEditWrapperProps;return e.getEditWrapperProps=e=>{let n={};return t&&(n=t(e)),Ze(n,0,e)},e})),(0,He.addFilter)("editor.BlockEdit","nfd-wonder-blocks/utilities/inspectorControl",qe),(0,He.addFilter)("blocks.getSaveContent.extraProps","nfd-wonder-blocks/utilities/extraProps",Ze);const Ke=(0,o.select)("core/blocks").getCategories();(0,H.setCategories)([{slug:"nfd-wonder-blocks",title:"WonderBlocks",icon:null},...Ke]),(0,H.registerBlockCollection)("nfd-wonder-blocks",{title:"WonderBlocks",icon:(0,G.jsx)(Le,{icon:$})});const Qe=({...e})=>{const t={method:"GET",headers:{"x-nfd-wonder-blocks":"nfd_wonder_blocks"},...e};return k()(t)};function Ye(e){if(/^\d+\.\d+\.\d+/.test(e))return e;const[t,n]=e.split(/-(.+)/),a=t.split(".");for(;a.length<3;)a.push("0");return n?`${a.join(".")}-${n}`:a.join(".")}var Je=n(609),Xe=n.n(Je),et=n(888);const tt=()=>{},nt=tt(),at=Object,rt=e=>e===nt,st=e=>"function"==typeof e,ot=(e,t)=>({...e,...t}),lt=new WeakMap;let it=0;const dt=e=>{const t=typeof e,n=e&&e.constructor,a=n==Date;let r,s;if(at(e)!==e||a||n==RegExp)r=a?e.toJSON():"symbol"==t?e.toString():"string"==t?JSON.stringify(e):""+e;else{if(r=lt.get(e),r)return r;if(r=++it+"~",lt.set(e,r),n==Array){for(r="@",s=0;s{const n=ct.get(e);return[()=>!rt(t)&&e.get(t)||ft,a=>{if(!rt(t)){const r=e.get(t);t in ut||(ut[t]=r),n[5](t,ot(r,a),r||ft)}},n[6],()=>!rt(t)&&t in ut?ut[t]:!rt(t)&&e.get(t)||ft]};let ht=!0;const[vt,gt]=bt&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[tt,tt],yt={isOnline:()=>ht,isVisible:()=>{const e=mt&&document.visibilityState;return rt(e)||"hidden"!==e}},_t={initFocus:e=>(mt&&document.addEventListener("visibilitychange",e),vt("focus",e),()=>{mt&&document.removeEventListener("visibilitychange",e),gt("focus",e)}),initReconnect:e=>{const t=()=>{ht=!0,e()},n=()=>{ht=!1};return vt("online",t),vt("offline",n),()=>{gt("online",t),gt("offline",n)}}},xt=!Je.useId,kt=!bt||"Deno"in window,Et=e=>bt&&typeof window.requestAnimationFrame!=wt?window.requestAnimationFrame(e):setTimeout(e,1),Ct=kt?Je.useEffect:Je.useLayoutEffect,jt="undefined"!=typeof navigator&&navigator.connection,St=!kt&&jt&&(["slow-2g","2g"].includes(jt.effectiveType)||jt.saveData),Mt=e=>{if(st(e))try{e=e()}catch(t){e=""}const t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?dt(e):"",t]};let Nt=0;const Tt=()=>++Nt;async function Ot(...e){const[t,n,a,r]=e,s=ot({populateCache:!0,throwOnError:!0},"boolean"==typeof r?{revalidate:r}:r||{});let o=s.populateCache;const l=s.rollbackOnError;let i=s.optimisticData;const d=s.throwOnError;if(st(n)){const e=n,a=[],r=t.keys();for(const n of r)!/^\$(inf|sub)\$/.test(n)&&e(t.get(n)._k)&&a.push(n);return Promise.all(a.map(c))}return c(n);async function c(n){const[r]=Mt(n);if(!r)return;const[c,f]=pt(t,r),[u,w,b,m]=ct.get(t),p=()=>{const e=u[r];return(st(s.revalidate)?s.revalidate(c().data,n):!1!==s.revalidate)&&(delete b[r],delete m[r],e&&e[0])?e[0](2).then((()=>c().data)):c().data};if(e.length<3)return p();let h,v=a;const g=Tt();w[r]=[g,0];const y=!rt(i),_=c(),x=_.data,k=_._c,E=rt(k)?x:k;if(y&&(i=st(i)?i(E,x):i,f({data:i,_c:E})),st(v))try{v=v(E)}catch(e){h=e}if(v&&st(v.then)){if(v=await v.catch((e=>{h=e})),g!==w[r][0]){if(h)throw h;return v}h&&y&&(e=>"function"==typeof l?l(e):!1!==l)(h)&&(o=!0,f({data:E,_c:nt}))}if(o&&!h)if(st(o)){const e=o(v,E);f({data:e,error:nt,_c:nt})}else f({data:v,error:nt,_c:nt});if(w[r][1]=Tt(),Promise.resolve(p()).then((()=>{f({_c:nt})})),!h)return v;if(d)throw h}}const zt=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},At=(e,t)=>{if(!ct.has(e)){const n=ot(_t,t),a={},r=Ot.bind(nt,e);let s=tt;const o={},l=(e,t)=>{const n=o[e]||[];return o[e]=n,n.push(t),()=>n.splice(n.indexOf(t),1)},i=(t,n,a)=>{e.set(t,n);const r=o[t];if(r)for(const e of r)e(n,a)},d=()=>{if(!ct.has(e)&&(ct.set(e,[a,{},{},{},r,i,l]),!kt)){const t=n.initFocus(setTimeout.bind(nt,zt.bind(nt,a,0))),r=n.initReconnect(setTimeout.bind(nt,zt.bind(nt,a,1)));s=()=>{t&&t(),r&&r(),ct.delete(e)}}};return d(),[e,r,d,s]}return[e,ct.get(e)[4]]},[Pt,Vt]=At(new Map),Rt=ot({onLoadingSlow:tt,onSuccess:tt,onError:tt,onErrorRetry:(e,__,t,n,a)=>{const r=t.errorRetryCount,s=a.retryCount,o=~~((Math.random()+.5)*(1<<(s<8?s:8)))*t.errorRetryInterval;!rt(r)&&s>r||setTimeout(n,o,a)},onDiscarded:tt,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:St?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:St?5e3:3e3,compare:(e,t)=>dt(e)==dt(t),isPaused:()=>!1,cache:Pt,mutate:Vt,fallback:{}},yt),It=(e,t)=>{const n=ot(e,t);if(t){const{use:a,fallback:r}=e,{use:s,fallback:o}=t;a&&s&&(n.use=a.concat(s)),r&&o&&(n.fallback=ot(r,o))}return n},Bt=(0,Je.createContext)({}),Lt=e=>{const{value:t}=e,n=(0,Je.useContext)(Bt),a=st(t),r=(0,Je.useMemo)((()=>a?t(n):t),[a,n,t]),s=(0,Je.useMemo)((()=>a?r:It(n,r)),[a,n,r]),o=r&&r.provider,l=(0,Je.useRef)(nt);o&&!l.current&&(l.current=At(o(s.cache||Pt),r));const i=l.current;return i&&(s.cache=i[0],s.mutate=i[1]),Ct((()=>{if(i)return i[2]&&i[2](),i[3]}),[]),(0,Je.createElement)(Bt.Provider,ot(e,{value:s}))},Dt="$inf$",Ft=bt&&window.__SWR_DEVTOOLS_USE__,Ht=Ft?window.__SWR_DEVTOOLS_USE__:[],Ut=e=>st(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],Gt=Ht.concat((e=>(t,n,a)=>e(t,n&&((...e)=>{const[a]=Mt(t),[,,,r]=ct.get(Pt);if(a.startsWith(Dt))return n(...e);const s=r[a];return rt(s)?n(...e):(delete r[a],s)}),a))),Wt=e=>function(...t){const n=ot(Rt,(0,Je.useContext)(Bt)),[a,r,s]=Ut(t),o=It(n,s);let l=e;const{use:i}=o,d=(i||[]).concat(Gt);for(let e=d.length;e--;)l=d[e](l);return l(a,r||o.fetcher||null,o)},$t=(e,t,n)=>{const a=t[e]||(t[e]=[]);return a.push(n),()=>{const e=a.indexOf(n);e>=0&&(a[e]=a[a.length-1],a.pop())}};Ft&&(window.__SWR_DEVTOOLS_REACT__=Je);const qt=Je.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;throw"rejected"===e.status?e.reason:(e.status="pending",e.then((t=>{e.status="fulfilled",e.value=t}),(t=>{e.status="rejected",e.reason=t})),e)}),Zt={dedupe:!0};at.defineProperty(Lt,"defaultValue",{value:Rt});const Kt=Wt(((e,t,n)=>{const{cache:a,compare:r,suspense:s,fallbackData:o,revalidateOnMount:l,revalidateIfStale:i,refreshInterval:d,refreshWhenHidden:c,refreshWhenOffline:f,keepPreviousData:u}=n,[w,b,m,p]=ct.get(a),[h,v]=Mt(e),g=(0,Je.useRef)(!1),y=(0,Je.useRef)(!1),_=(0,Je.useRef)(h),x=(0,Je.useRef)(t),k=(0,Je.useRef)(n),E=()=>k.current,C=()=>E().isVisible()&&E().isOnline(),[j,S,M,N]=pt(a,h),T=(0,Je.useRef)({}).current,O=rt(o)?n.fallback[h]:o,z=(e,t)=>{for(const n in T){const a=n;if("data"===a){if(!r(e[a],t[a])){if(!rt(e[a]))return!1;if(!r(F,t[a]))return!1}}else if(t[a]!==e[a])return!1}return!0},A=(0,Je.useMemo)((()=>{const e=!!h&&!!t&&(rt(l)?!E().isPaused()&&!s&&(!!rt(i)||i):l),n=t=>{const n=ot(t);return delete n._k,e?{isValidating:!0,isLoading:!0,...n}:n},a=j(),r=N(),o=n(a),d=a===r?o:n(r);let c=o;return[()=>{const e=n(j());return z(e,c)?(c.data=e.data,c.isLoading=e.isLoading,c.isValidating=e.isValidating,c.error=e.error,c):(c=e,e)},()=>d]}),[a,h]),P=(0,et.useSyncExternalStore)((0,Je.useCallback)((e=>M(h,((t,n)=>{z(n,t)||e()}))),[a,h]),A[0],A[1]),V=!g.current,R=w[h]&&w[h].length>0,I=P.data,B=rt(I)?O:I,L=P.error,D=(0,Je.useRef)(B),F=u?rt(I)?D.current:I:B,H=!(R&&!rt(L))&&(V&&!rt(l)?l:!E().isPaused()&&(s?!rt(B)&&i:rt(B)||i)),U=!!(h&&t&&V&&H),G=rt(P.isValidating)?U:P.isValidating,W=rt(P.isLoading)?U:P.isLoading,$=(0,Je.useCallback)((async e=>{const t=x.current;if(!h||!t||y.current||E().isPaused())return!1;let a,s,o=!0;const l=e||{},i=!m[h]||!l.dedupe,d=()=>xt?!y.current&&h===_.current&&g.current:h===_.current,c={isValidating:!1,isLoading:!1},f=()=>{S(c)},u=()=>{const e=m[h];e&&e[1]===s&&delete m[h]},p={isValidating:!0};rt(j().data)&&(p.isLoading=!0);try{if(i&&(S(p),n.loadingTimeout&&rt(j().data)&&setTimeout((()=>{o&&d()&&E().onLoadingSlow(h,n)}),n.loadingTimeout),m[h]=[t(v),Tt()]),[a,s]=m[h],a=await a,i&&setTimeout(u,n.dedupingInterval),!m[h]||m[h][1]!==s)return i&&d()&&E().onDiscarded(h),!1;c.error=nt;const e=b[h];if(!rt(e)&&(s<=e[0]||s<=e[1]||0===e[1]))return f(),i&&d()&&E().onDiscarded(h),!1;const l=j().data;c.data=r(l,a)?l:a,i&&d()&&E().onSuccess(a,h,n)}catch(e){u();const t=E(),{shouldRetryOnError:n}=t;t.isPaused()||(c.error=e,i&&d()&&(t.onError(e,h,t),(!0===n||st(n)&&n(e))&&(E().revalidateOnFocus&&E().revalidateOnReconnect&&!C()||t.onErrorRetry(e,h,t,(e=>{const t=w[h];t&&t[0]&&t[0](3,e)}),{retryCount:(l.retryCount||0)+1,dedupe:!0}))))}return o=!1,f(),!0}),[h,a]),q=(0,Je.useCallback)(((...e)=>Ot(a,_.current,...e)),[]);if(Ct((()=>{x.current=t,k.current=n,rt(I)||(D.current=I)})),Ct((()=>{if(!h)return;const e=$.bind(nt,Zt);let t=0;const n=$t(h,w,((n,a={})=>{if(0==n){const n=Date.now();E().revalidateOnFocus&&n>t&&C()&&(t=n+E().focusThrottleInterval,e())}else if(1==n)E().revalidateOnReconnect&&C()&&e();else{if(2==n)return $();if(3==n)return $(a)}}));return y.current=!1,_.current=h,g.current=!0,S({_k:v}),H&&(rt(B)||kt?e():Et(e)),()=>{y.current=!0,n()}}),[h]),Ct((()=>{let e;function t(){const t=st(d)?d(j().data):d;t&&-1!==e&&(e=setTimeout(n,t))}function n(){j().error||!c&&!E().isVisible()||!f&&!E().isOnline()?t():$(Zt).then(t)}return t(),()=>{e&&(clearTimeout(e),e=-1)}}),[d,c,f,h]),(0,Je.useDebugValue)(F),s&&rt(B)&&h){if(!xt&&kt)throw new Error("Fallback data is required when using suspense in SSR.");x.current=t,k.current=n,y.current=!1;const e=p[h];if(!rt(e)){const t=q(e);qt(t)}if(!rt(L))throw L;{const e=$(Zt);rt(F)||(e.status="fulfilled",e.value=!0),qt(e)}}return{mutate:q,get data(){return T.data=!0,F},get error(){return T.error=!0,L},get isValidating(){return T.isValidating=!0,G},get isLoading(){return T.isLoading=!0,W}}})),Qt=Promise.resolve(),Yt=((e,t)=>(...n)=>{const[a,r,s]=Ut(n),o=(s.use||[]).concat(t);return e(a,r,{...s,use:o})})(Kt,(e=>(t,n,a)=>{const r=(0,Je.useRef)(!1),{cache:s,initialSize:o=1,revalidateAll:l=!1,persistSize:i=!1,revalidateFirstPage:d=!0,revalidateOnMount:c=!1,parallel:f=!1}=a,[,,,u]=ct.get(Pt);let w;try{w=(e=>Mt(e?e(0,null):null)[0])(t),w&&(w=Dt+w)}catch(e){}const[b,m,p]=pt(s,w),h=(0,Je.useCallback)((()=>rt(b()._l)?o:b()._l),[s,w,o]);(0,et.useSyncExternalStore)((0,Je.useCallback)((e=>w?p(w,(()=>{e()})):()=>{}),[s,w]),h,h);const v=(0,Je.useCallback)((()=>{const e=b()._l;return rt(e)?o:e}),[w,o]),g=(0,Je.useRef)(v());Ct((()=>{r.current?w&&m({_l:i?g.current:v()}):r.current=!0}),[w,s]);const y=c&&!r.current,_=e(w,(async e=>{const r=b()._i,o=b()._r;m({_r:nt});const i=[],c=v(),[w]=pt(s,e),p=w().data,h=[];let g=null;for(let e=0;e{if(c in u){const e=u[c];delete u[c],v=await e}else v=await n(w);m({data:v,_k:w}),i[e]=v};f?h.push(t):await t()}else i[e]=v;f||(g=v)}return f&&await Promise.all(h.map((e=>e()))),m({_i:nt}),i}),a),x=(0,Je.useCallback)((function(e,t){const n="boolean"==typeof t?{revalidate:t}:t||{},a=!1!==n.revalidate;return w?(a&&(rt(e)?m({_i:!0,_r:n.revalidate}):m({_i:!1,_r:n.revalidate})),arguments.length?_.mutate(e,{...n,revalidate:a}):_.mutate()):Qt}),[w,s]),k=(0,Je.useCallback)((e=>{if(!w)return Qt;const[,n]=pt(s,w);let a;if(st(e)?a=e(v()):"number"==typeof e&&(a=e),"number"!=typeof a)return Qt;n({_l:a}),g.current=a;const r=[],[o]=pt(s,w);let l=null;for(let e=0;e{const{activePatternsCategory:n,activeTemplatesCategory:a,activeTab:r,keywords:s,sortOrder:l}=(0,o.useSelect)((e=>({activePatternsCategory:e(ve).getActivePatternsCategory(),activeTemplatesCategory:e(ve).getActiveTemplatesCategory(),activeTab:e(ve).getActiveTab(),keywords:e(ve).getKeywordsFilter(),sortOrder:e(ve).getSortOrder()})));let i=null;i="patterns"===r?n||B:a||L;const d="patterns"===r?"patterns":"templates";let c=null,f="";f="string"==typeof V&&V.startsWith("http")?V:window.location.origin+V,e||"favorites"===i&&!s?c=new URL(`${f}/favorites`):(c=new URL(`${f}/${d}`),s?c.searchParams.append("keywords",s):c.searchParams.append("category",i),c.searchParams.append("sort_by",l));const{data:u,error:w,isValidating:b,mutate:m,size:p,setSize:h}=Yt(((e,n)=>n&&!n.length?null:(t>0&&(c.searchParams.set("page",e+1),c.searchParams.set("per_page",t)),{url:c.href})),Qe,{revalidateIfStale:!1,revalidateOnFocus:!1,revalidateOnReconnect:!0,errorRetryCount:3,dedupingInterval:5e3});return(0,N.useMemo)((()=>{let e=null;const n=u?[].concat(...u):[];return n&&Array.isArray(n)&&(e=n?.map((e=>({...e,type:d})))),{data:"favorites"!==i?e:n,hasMore:u&&u[u.length-1]?.length===t,isError:w,isValidating:b,isFavorites:"favorites"===i&&!s,mutate:m,size:p,setSize:h}}),[u,i,t,w,b,s,m,p,h,d])},Xt=Je.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;throw"rejected"===e.status?e.reason:(e.status="pending",e.then((t=>{e.status="fulfilled",e.value=t}),(t=>{e.status="rejected",e.reason=t})),e)}),en={dedupe:!0},tn=(at.defineProperty(Lt,"defaultValue",{value:Rt}),Wt(((e,t,n)=>{const{cache:a,compare:r,suspense:s,fallbackData:o,revalidateOnMount:l,revalidateIfStale:i,refreshInterval:d,refreshWhenHidden:c,refreshWhenOffline:f,keepPreviousData:u}=n,[w,b,m,p]=ct.get(a),[h,v]=Mt(e),g=(0,Je.useRef)(!1),y=(0,Je.useRef)(!1),_=(0,Je.useRef)(h),x=(0,Je.useRef)(t),k=(0,Je.useRef)(n),E=()=>k.current,C=()=>E().isVisible()&&E().isOnline(),[j,S,M,N]=pt(a,h),T=(0,Je.useRef)({}).current,O=rt(o)?n.fallback[h]:o,z=(e,t)=>{for(const n in T){const a=n;if("data"===a){if(!r(e[a],t[a])){if(!rt(e[a]))return!1;if(!r(F,t[a]))return!1}}else if(t[a]!==e[a])return!1}return!0},A=(0,Je.useMemo)((()=>{const e=!!h&&!!t&&(rt(l)?!E().isPaused()&&!s&&(!!rt(i)||i):l),n=t=>{const n=ot(t);return delete n._k,e?{isValidating:!0,isLoading:!0,...n}:n},a=j(),r=N(),o=n(a),d=a===r?o:n(r);let c=o;return[()=>{const e=n(j());return z(e,c)?(c.data=e.data,c.isLoading=e.isLoading,c.isValidating=e.isValidating,c.error=e.error,c):(c=e,e)},()=>d]}),[a,h]),P=(0,et.useSyncExternalStore)((0,Je.useCallback)((e=>M(h,((t,n)=>{z(n,t)||e()}))),[a,h]),A[0],A[1]),V=!g.current,R=w[h]&&w[h].length>0,I=P.data,B=rt(I)?O:I,L=P.error,D=(0,Je.useRef)(B),F=u?rt(I)?D.current:I:B,H=!(R&&!rt(L))&&(V&&!rt(l)?l:!E().isPaused()&&(s?!rt(B)&&i:rt(B)||i)),U=!!(h&&t&&V&&H),G=rt(P.isValidating)?U:P.isValidating,W=rt(P.isLoading)?U:P.isLoading,$=(0,Je.useCallback)((async e=>{const t=x.current;if(!h||!t||y.current||E().isPaused())return!1;let a,s,o=!0;const l=e||{},i=!m[h]||!l.dedupe,d=()=>xt?!y.current&&h===_.current&&g.current:h===_.current,c={isValidating:!1,isLoading:!1},f=()=>{S(c)},u=()=>{const e=m[h];e&&e[1]===s&&delete m[h]},p={isValidating:!0};rt(j().data)&&(p.isLoading=!0);try{if(i&&(S(p),n.loadingTimeout&&rt(j().data)&&setTimeout((()=>{o&&d()&&E().onLoadingSlow(h,n)}),n.loadingTimeout),m[h]=[t(v),Tt()]),[a,s]=m[h],a=await a,i&&setTimeout(u,n.dedupingInterval),!m[h]||m[h][1]!==s)return i&&d()&&E().onDiscarded(h),!1;c.error=nt;const e=b[h];if(!rt(e)&&(s<=e[0]||s<=e[1]||0===e[1]))return f(),i&&d()&&E().onDiscarded(h),!1;const l=j().data;c.data=r(l,a)?l:a,i&&d()&&E().onSuccess(a,h,n)}catch(e){u();const t=E(),{shouldRetryOnError:n}=t;t.isPaused()||(c.error=e,i&&d()&&(t.onError(e,h,t),(!0===n||st(n)&&n(e))&&(E().revalidateOnFocus&&E().revalidateOnReconnect&&!C()||t.onErrorRetry(e,h,t,(e=>{const t=w[h];t&&t[0]&&t[0](3,e)}),{retryCount:(l.retryCount||0)+1,dedupe:!0}))))}return o=!1,f(),!0}),[h,a]),q=(0,Je.useCallback)(((...e)=>Ot(a,_.current,...e)),[]);if(Ct((()=>{x.current=t,k.current=n,rt(I)||(D.current=I)})),Ct((()=>{if(!h)return;const e=$.bind(nt,en);let t=0;const n=$t(h,w,((n,a={})=>{if(0==n){const n=Date.now();E().revalidateOnFocus&&n>t&&C()&&(t=n+E().focusThrottleInterval,e())}else if(1==n)E().revalidateOnReconnect&&C()&&e();else{if(2==n)return $();if(3==n)return $(a)}}));return y.current=!1,_.current=h,g.current=!0,S({_k:v}),H&&(rt(B)||kt?e():Et(e)),()=>{y.current=!0,n()}}),[h]),Ct((()=>{let e;function t(){const t=st(d)?d(j().data):d;t&&-1!==e&&(e=setTimeout(n,t))}function n(){j().error||!c&&!E().isVisible()||!f&&!E().isOnline()?t():$(en).then(t)}return t(),()=>{e&&(clearTimeout(e),e=-1)}}),[d,c,f,h]),(0,Je.useDebugValue)(F),s&&rt(B)&&h){if(!xt&&kt)throw new Error("Fallback data is required when using suspense in SSR.");x.current=t,k.current=n,y.current=!1;const e=p[h];if(!rt(e)){const t=q(e);Xt(t)}if(!rt(L))throw L;{const e=$(en);rt(F)||(e.status="fulfilled",e.value=!0),Xt(e)}}return{mutate:q,get data(){return T.data=!0,F},get error(){return T.error=!0,L},get isValidating(){return T.isValidating=!0,G},get isLoading(){return T.isLoading=!0,W}}}))),nn=(e="patterns")=>{const t="patterns"===e?"categories":"templateCategories",{data:n,error:a,isValidating:r,mutate:s}=tn({url:`${V}/${t}`},Qe);return Array.isArray(n)?{data:n,isError:a,isValidating:r,mutate:s}:{data:null,isError:a,isValidating:r}},an=()=>{const e=F,t=window.nfdWonderBlocks.brand.name,n=window.nfdWonderBlocks.brand.plugin,a=window.nfdWonderBlocks.brand.pluginDashboardPage,[r,s]=(0,N.useState)(!1),{mutate:o}=nn(),{mutate:l}=nn("templates");return(0,G.jsx)("div",{className:"nfd-wba-inset-0 nfd-wba-flex nfd-wba-grow nfd-wba-px-4 nfd-wba-py-8 sm:nfd-wba-px-6 nfd-wba-items-start nfd-wba-justify-center",children:(0,G.jsxs)("div",{className:"nfd-wba-max-w-prose",children:[(0,G.jsxs)("div",{className:"nfd-wba-flex nfd-wba-row nfd-wba-gap-4 nfd-wba-items-center",children:[(0,G.jsx)("h1",{children:"WonderBlocks"}),(0,G.jsxs)("p",{className:"nfd-wba-bg-gray-100 nfd-wba-border-gray-200 nfd-wba-border-solid nfd-wba-border-[1px] nfd-wba-rounded-full nfd-wba-py-1 nfd-wba-px-2 nfd-wba-text-[15px] nfd-wba-text-dark-lighter",children:["v",e]})]}),(0,G.jsx)("p",{className:"nfd-wba-text-[15px]",children:"WonderBlocks lets you customize premade page templates and section design patterns using the built-in Blocks in WordPress – but made wonderful. Take the stress out of going from blank canvas to beautiful creation with professionally-designed Patterns for common website needs."}),(0,G.jsxs)("p",{className:"nfd-wba-text-[15px]",children:["WonderBlocks is a feature of your ",t," hosting plan and is powered by"," "+n,". You can update your WonderBlocks settings"," ",(0,G.jsx)("a",{href:a,className:"nfd-wba-text-blue-500 hover:nfd-wba-underline",children:"here"}),"."]}),(0,G.jsx)(De.Warning,{className:"nfd-wba-mt-10 nfd-wba-rounded-[4px] nfd-wba-border-gray-200 nfd-wba-bg-gray-100",actions:[(0,G.jsx)(Fe.Button,{variant:"primary",className:"hover:!nfd-wba-bg-brand-darker hover:nfd-wba-text-white focus-visible:nfd-wba-text-white active:nfd-wba-bg-brand-darker-10 active:!nfd-wba-text-white",disabled:r,onClick:async()=>{try{s(!0),await k()({url:`${V}/clear-cache`,method:"POST",headers:{"x-nfd-wonder-blocks":"nfd_wonder_blocks"}}),o(),l(),s(!1)}catch(e){console.error(e)}},children:r?(0,ye.__)("Syncing...","nfd-wonder-blocks"):(0,ye.__)("Sync Now","nfd-wonder-blocks")})],children:(0,G.jsx)("p",{className:"nfd-wba-text-dark-lighter nfd-wba-mt-0.5 nfd-wba-text-[15px]",children:(0,ye.__)("Pattern & Template library automatically syncs once a day. If you want to manually refresh the library, you can do so by pressing the button to get the most recent designs.","nfd-wonder-blocks")})})]})})},rn=()=>(0,G.jsx)("div",{className:"nfd-wba-inset-0 nfd-wba-flex nfd-wba-grow nfd-wba-flex-col nfd-wba-px-4 nfd-wba-py-8 sm:nfd-wba-px-6",children:(0,G.jsx)("div",{class:"nfd-wba-relative !nfd-wba-w-full nfd-wba-pb-[56.25%] nfd-wba-h-0 nfd-wba-overflow-hidden",children:(0,G.jsx)("iframe",{src:"https://www.youtube.com/embed/EVzZ-RFZv7c?si=k0Ap5bYJ2nQLQfnk",title:"WonderBlocks Overview",frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerpolicy:"strict-origin-when-cross-origin",allowfullscreen:!0,class:"nfd-wba-absolute nfd-wba-top-0 nfd-wba-left-0 nfd-wba-w-full nfd-wba-h-full nfd-wba-border-0"})})});Object.defineProperty;var sn=new Map,on=new WeakMap,ln=0;function dn(e,t,n={},a=undefined){if(void 0===window.IntersectionObserver&&void 0!==a){const r=e.getBoundingClientRect();return t(a,{isIntersecting:a,target:e,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:r,intersectionRect:r,rootBounds:r}),()=>{}}const{id:r,observer:s,elements:o}=function(e){const t=function(e){return Object.keys(e).sort().filter((t=>void 0!==e[t])).map((t=>{return`${t}_${"root"===t?(n=e.root,n?(on.has(n)||(ln+=1,on.set(n,ln.toString())),on.get(n)):"0"):e[t]}`;var n})).toString()}(e);let n=sn.get(t);if(!n){const a=new Map;let r;const s=new IntersectionObserver((t=>{t.forEach((t=>{var n;const s=t.isIntersecting&&r.some((e=>t.intersectionRatio>=e));e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=s),null==(n=a.get(t.target))||n.forEach((e=>{e(s,t)}))}))}),e);r=s.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:s,elements:a},sn.set(t,n)}return n}(n),l=o.get(e)||[];return o.has(e)||o.set(e,l),l.push(t),s.observe(e),function(){l.splice(l.indexOf(t),1),0===l.length&&(o.delete(e),s.unobserve(e)),0===o.size&&(s.disconnect(),sn.delete(r))}}function cn(){return cn=Object.assign||function(e){for(var t=1;t{this.reCalculateColumnCount()}))):this.reCalculateColumnCount()}reCalculateColumnCount(){const e=window&&window.innerWidth||1/0;let t=this.props.breakpointCols;"object"!=typeof t&&(t={default:parseInt(t)||2});let n=1/0,a=t.default||2;for(let r in t){const s=parseInt(r);s>0&&e<=s&&sXe().createElement("div",cn({},o,{key:t}),e)))}logDeprecated(e){console.error("[Masonry]",e)}render(){const e=this.props,{children:t,breakpointCols:n,columnClassName:a,columnAttrs:r,column:s,className:o}=e,l=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},s=Object.keys(e);for(a=0;a=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["children","breakpointCols","columnClassName","columnAttrs","column","className"]);let i=o;return"string"!=typeof o&&(this.logDeprecated('The property "className" requires a string'),void 0===o&&(i="my-masonry-grid")),Xe().createElement("div",cn({},l,{className:i}),this.renderColumns())}}bn.defaultProps={breakpointCols:void 0,className:void 0,columnClassName:void 0,children:void 0,columnAttrs:void 0,column:void 0};const mn=bn,pn=(...e)=>e.filter(((e,t,n)=>Boolean(e)&&n.indexOf(e)===t)).join(" ");var hn={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const vn=(0,Je.forwardRef)((({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:a,className:r="",children:s,iconNode:o,...l},i)=>(0,Je.createElement)("svg",{ref:i,...hn,width:t,height:t,stroke:e,strokeWidth:a?24*Number(n)/Number(t):n,className:pn("lucide",r),...l},[...o.map((([e,t])=>(0,Je.createElement)(e,t))),...Array.isArray(s)?s:[s]]))),gn=(e,t)=>{const n=(0,Je.forwardRef)((({className:n,...a},r)=>{return(0,Je.createElement)(vn,{ref:r,iconNode:t,className:pn(`lucide-${s=e,s.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,n),...a});var s}));return n.displayName=`${e}`,n},yn=gn("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]),xn=gn("HeartOff",[["line",{x1:"2",y1:"2",x2:"22",y2:"22",key:"1w4vcy"}],["path",{d:"M16.5 16.5 12 21l-7-7c-1.5-1.45-3-3.2-3-5.5a5.5 5.5 0 0 1 2.14-4.35",key:"3mpagl"}],["path",{d:"M8.76 3.1c1.15.22 2.13.78 3.24 1.9 1.5-1.5 2.74-2 4.5-2A5.5 5.5 0 0 1 22 8.5c0 2.12-1.3 3.78-2.67 5.17",key:"1gh3v3"}]]),kn=gn("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]),En=window.wp.editor,Cn=window.wp.notices,jn=(0,N.memo)((({item:e})=>{var t;const[n,a]=(0,N.useState)(!1),[r,s]=(0,N.useState)(!1),{data:l,mutate:i}=Jt({onlyFavorites:!0}),d=(0,N.useRef)(),[c,f]=(0,N.useState)(!1),{adminEmail:u}=(0,o.useSelect)((e=>({adminEmail:e("core").getEntityRecord("root","site")?.email}))),w=(0,N.useCallback)(((e="",t={})=>{let n=e;return Object.keys(t).forEach((e=>{"string"==typeof t[e]&&(n=n.replaceAll(e,t[e]))})),n}),[]),b=(0,N.useMemo)((()=>({"email@example.com":u})),[u]),{data:m,mutate:p}=Jt({onlyFavorites:!0,perPage:-1}),h=null!==(t=e?.content)&&void 0!==t?t:"",v=(0,N.useMemo)((()=>w(h,b)),[w,h,b]),g=(0,N.useMemo)((()=>(0,H.rawHandler)({HTML:v})),[v]),y=(0,N.useMemo)((()=>{return(0,H.rawHandler)({HTML:(e=h,e.replace(/https?:\/\/[\w-]+(\.[\w-]+)+([\w.,@?^=%&:/~+#-]*[\w@?^=%&/~+#-;]*)?/g,(e=>{const t=e.match(/w=(\d+)/),n=e.match(/h=(\d+)/),a=e.match(/q=(\d+)/);let r=e;if(t){const n=Math.floor(Number(t[1])/2);r=e.replace(`w=${t[1]}`,`w=${n}`)}if(n){const e=Math.floor(Number(n[1])/2);r=r.replace(`h=${n[1]}`,`h=${e}`)}return a&&(r=r.replace(`${a[0]}`,"q=50")),r})))});var e}),[h]),{createErrorNotice:_,createSuccessNotice:x}=(0,o.useDispatch)(Cn.store),{editPost:E}=(0,o.useDispatch)(En.store),{setIsModalOpen:C}=(0,o.useDispatch)(ve),{activeTab:j,activeTemplatesCategory:S,activePatternsCategory:M,selectedTemplateSlug:T,keywords:O,currentTheme:z}=(0,o.useSelect)((e=>({activeTab:e(ve).getActiveTab(),activeTemplatesCategory:e(ve).getActiveTemplatesCategory(),activePatternsCategory:e(ve).getActivePatternsCategory(),selectedTemplateSlug:e(En.store).getEditedPostAttribute("template"),keywords:e(ve).getKeywordsFilter(),currentTheme:e("core").getCurrentTheme()}))),A=(0,N.useCallback)((()=>"patterns"===j&&"favorites"===M&&n&&!O||"templates"===j&&"favorites"===S&&n&&!O),[M,j,S,n,O]),P=(0,N.useCallback)((()=>{if("templates"===e?.type&&"yith-wonder"===z?.template)if(e?.slug.includes("coming-soon")||e?.slug.includes("link-in-bio")){if("no-header-footer"!==T)return"no-header-footer"}else if("no-title"!==T)return"no-title";return!1}),[e?.type,e?.slug,z?.template,T]),R=(0,N.useCallback)((()=>{const e=P();e&&E({template:e})}),[P,E]),I=(0,N.useCallback)((()=>{"patterns"===j?ge("pattern_inserted",{label_key:"pattern_slug",pattern_id:e.id,pattern_slug:e.slug}):"templates"===j&&ge("template_inserted",{label_key:"template_slug",template_id:e.id,template_slug:e.slug})}),[j,e.id,e.slug]);(0,N.useEffect)((()=>{let t=!1;Array.isArray(m)&&(t=m.find((t=>t.id===e.id)),a(!!t))}),[m,e.id]);const B=async()=>{s(!0);try{R(),await(e=>{const{insertBlocks:t,replaceBlock:n}=(0,o.dispatch)("core/block-editor"),{getSelectedBlock:a,getBlockHierarchyRootClientId:r,getBlockIndex:s,getGlobalBlockCount:l}=(0,o.select)("core/block-editor"),{clientId:i,name:d,attributes:c}=a()||{},f=i?r(i):"",u=(f?s(f):l())+1;return"core/paragraph"===d&&""===c?.content?n(i,e):t(e,u)})(g),I(),x((0,ye.sprintf)( +(()=>{var e={873:(e,t,n)=>{var a=n(325).Symbol;e.exports=a},552:(e,t,n)=>{var a=n(873),r=n(659),s=n(350),o=a?a.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?r(e):s(e)}},128:(e,t,n)=>{var a=n(800),r=/^\s+/;e.exports=function(e){return e?e.slice(0,a(e)+1).replace(r,""):e}},840:(e,t,n)=>{var a="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=a},659:(e,t,n)=>{var a=n(873),r=Object.prototype,s=r.hasOwnProperty,o=r.toString,l=a?a.toStringTag:void 0;e.exports=function(e){var t=s.call(e,l),n=e[l];try{e[l]=void 0;var a=!0}catch(e){}var r=o.call(e);return a&&(t?e[l]=n:delete e[l]),r}},350:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},325:(e,t,n)=>{var a=n(840),r="object"==typeof self&&self&&self.Object===Object&&self,s=a||r||Function("return this")();e.exports=s},800:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},221:(e,t,n)=>{var a=n(805),r=n(124),s=n(374),o=Math.max,l=Math.min;e.exports=function(e,t,n){var i,d,c,f,u,b,w=0,m=!1,p=!1,h=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var n=i,a=d;return i=d=void 0,w=t,f=e.apply(a,n)}function g(e){var n=e-b;return void 0===b||n>=t||n<0||p&&e-w>=c}function y(){var e=r();if(g(e))return _(e);u=setTimeout(y,function(e){var n=t-(e-b);return p?l(n,c-(e-w)):n}(e))}function _(e){return u=void 0,h&&i?v(e):(i=d=void 0,f)}function x(){var e=r(),n=g(e);if(i=arguments,d=this,b=e,n){if(void 0===u)return function(e){return w=e,u=setTimeout(y,t),m?v(e):f}(b);if(p)return clearTimeout(u),u=setTimeout(y,t),v(b)}return void 0===u&&(u=setTimeout(y,t)),f}return t=s(t)||0,a(n)&&(m=!!n.leading,c=(p="maxWait"in n)?o(s(n.maxWait)||0,t):c,h="trailing"in n?!!n.trailing:h),x.cancel=function(){void 0!==u&&clearTimeout(u),w=0,i=b=d=u=void 0},x.flush=function(){return void 0===u?f:_(r())},x}},805:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},346:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},394:(e,t,n)=>{var a=n(552),r=n(346);e.exports=function(e){return"symbol"==typeof e||r(e)&&"[object Symbol]"==a(e)}},124:(e,t,n)=>{var a=n(325);e.exports=function(){return a.Date.now()}},374:(e,t,n)=>{var a=n(128),r=n(805),s=n(394),o=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,i=/^0o[0-7]+$/i,d=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(s(e))return NaN;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=a(e);var n=l.test(e);return n||i.test(e)?d(e.slice(2),n?2:8):o.test(e)?NaN:+e}},63:(e,t,n)=>{"use strict";var a=n(609),r="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=a.useState,o=a.useEffect,l=a.useLayoutEffect,i=a.useDebugValue;function d(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),a=s({inst:{value:n,getSnapshot:t}}),r=a[0].inst,c=a[1];return l((function(){r.value=n,r.getSnapshot=t,d(r)&&c({inst:r})}),[e,n,t]),o((function(){return d(r)&&c({inst:r}),e((function(){d(r)&&c({inst:r})}))}),[e]),i(n),n};t.useSyncExternalStore=void 0!==a.useSyncExternalStore?a.useSyncExternalStore:c},888:(e,t,n)=>{"use strict";e.exports=n(63)},609:e=>{"use strict";e.exports=window.React},942:(e,t)=>{var n;!function(){"use strict";var a={}.hasOwnProperty;function r(){for(var e="",t=0;t{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};(()=>{"use strict";n.r(a);var e={};n.r(e),n.d(e,{initializeNamespace:()=>d,updateHiiveDebounceInstance:()=>w,updateHiiveDebounceTime:()=>b,updateHiiveEventsQueue:()=>f,updateHiiveEventsQueueThreshold:()=>u,updateHiiveUrls:()=>c});var t={};n.r(t),n.d(t,{getHiiveBatchUrl:()=>v,getHiiveDebounce:()=>g,getHiiveEventsQueue:()=>m,getHiiveEventsQueueThreshold:()=>p,getHiiveSingleUrl:()=>h});var r={};n.r(r),n.d(r,{setActivePatternsCategory:()=>Q,setActiveTab:()=>ee,setActiveTemplatesCategory:()=>Y,setCurrentView:()=>ae,setIsContentLoading:()=>Z,setIsModalOpen:()=>q,setIsSidebarLoading:()=>K,setKeywordsFilter:()=>J,setModalGridColumns:()=>te,setShouldResetKeywords:()=>X,setSortOrder:()=>ne});var s={};n.r(s),n.d(s,{getActivePatternsCategory:()=>ce,getActiveTab:()=>de,getActiveTemplatesCategory:()=>fe,getCurrentView:()=>we,getKeywordsFilter:()=>le,getModalGridColumns:()=>ue,getSortOrder:()=>be,isContentLoading:()=>oe,isModalOpen:()=>re,isSidebarLoading:()=>se,shouldResetKeywords:()=>ie});const o=window.wp.data;class l{constructor(e,t,n,a){this.category=e,this.action=t,this.data=n,this.namespace=a}}const i={urls:{single:void 0,batch:void 0},queue:{events:[],threshold:100},debounce:{time:void 0,instance:void 0}};function d(e){return{type:"INITIALIZE_NAMESPACE",namespace:e}}function c(e,t){return{type:"UPDATE_HIIVE_URLS",urls:e,namespace:t}}function f(e,t){return{type:"UPDATE_HIIVE_EVENTS_QUEUE",events:e,namespace:t}}function u(e,t){return{type:"UPDATE_HIIVE_EVENTS_QUEUE_THRESHOLD",threshold:e,namespace:t}}function b(e,t){return{type:"UPDATE_HIIVE_DEBOUNCE_TIME",debounceTime:e,namespace:t}}function w(e,t){return{type:"UPDATE_HIIVE_DEBOUNCE_INSTANCE",instance:e,namespace:t}}function m(e,t){return e.hiive[t]?.queue.events}function p(e,t){return e.hiive[t]?.queue.threshold}function h(e,t){return e.hiive[t]?.urls.single}function v(e,t){return e.hiive[t]?.urls.batch}function g(e,t){return e.hiive[t]?.debounce}const y={reducer:(0,o.combineReducers)({hiive:(e,t)=>{switch(t.type){case"INITIALIZE_NAMESPACE":return{...e,[t.namespace]:i};case"UPDATE_HIIVE_URLS":return{...e,[t.namespace]:{...e[t.namespace],urls:{single:t.urls.single,batch:t.urls.batch}}};case"UPDATE_HIIVE_EVENTS_QUEUE":return{...e,[t.namespace]:{...e[t.namespace],queue:{events:t.events,threshold:e[t.namespace].queue.threshold}}};case"UPDATE_HIIVE_EVENTS_QUEUE_THRESHOLD":return{...e,[t.namespace]:{...e[t.namespace],queue:{events:e[t.namespace].queue.events,threshold:t.threshold}}};case"UPDATE_HIIVE_DEBOUNCE_TIME":return{...e,[t.namespace]:{...e[t.namespace],debounce:{time:t.debounceTime,instance:e[t.namespace].debounce.instance}}};case"UPDATE_HIIVE_DEBOUNCE_INSTANCE":return{...e,[t.namespace]:{...e[t.namespace],debounce:{time:e[t.namespace].debounce.time,instance:t.instance}}}}return e}}),actions:e,selectors:t},_=(0,o.createReduxStore)("newfold/ui-analytics",y);(0,o.register)(_);const x=window.wp.apiFetch;var k=n.n(x);const E=e=>!!window?.nfdUIAnalytics?.hiive&&e in window.nfdUIAnalytics.hiive,C=async e=>{if(!e||!E(e))return!1;const t=(0,o.select)(_).getHiiveBatchUrl(e);if(!t)return!1;const n=(0,o.select)(_).getHiiveEventsQueue(e);if(0===n.length)return!0;(0,o.dispatch)(_).updateHiiveEventsQueue([],e);try{await k()({url:t,method:"POST",data:n})}catch(t){console.error(t),(0,o.dispatch)(_).updateHiiveEventsQueue(n,e)}return!0},j=e=>{if(!(e=>e instanceof l)(e)||!E(e.namespace))return!1;const t=e.namespace;delete e.namespace;const n=(0,o.select)(_).getHiiveEventsQueue(t);n.push(e),(0,o.dispatch)(_).updateHiiveEventsQueue(n,t);const a=(0,o.select)(_).getHiiveEventsQueueThreshold(t);return a&&a{if(!e)return!1;const t=(0,o.select)(_).getHiiveDebounce(e);!!t.time&&(clearInterval(t.instance),(0,o.dispatch)(_).updateHiiveDebounceInstance(setTimeout((()=>{C(e),(0,o.dispatch)(_).updateHiiveDebounceInstance(void 0,e)}),t.time),e))})(t),!0},S=window.wp.domReady;var M=n.n(S);const N=window.wp.element,T=window.wp.plugins,O=window.wp.compose,A="WonderBlocks",z=window.nfdWonderBlocks?.wpVer||"",P="nfd-wba-toolbar-button",V=window.nfdWonderBlocks?.nfdRestURL||"",R=window.nfdWonderBlocks?.supportURL||"#",B=["header","footer"],I="featured",D="featured",L="wonder_blocks",F=window.nfdWonderBlocks?.nfdWBVersion||"",H=window.wp.blocks,U=window.wp.primitives,G=window.ReactJSXRuntime,W=(U.SVG,U.Path,(0,G.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",height:"20",className:"nfd-wba-h-5 nfd-wba-w-auto",viewBox:"0 0 24 22",children:(0,G.jsx)(U.Path,{d:"M12 21.99L10.77 20.88C8.65 18.94 6.9 17.265 5.52 15.855C4.14 14.445 3.04 13.185 2.22 12.075C1.4 10.965 0.825 9.96 0.495 9.06C0.165 8.16 0 7.25 0 6.33C0 4.53 0.605 3.025 1.815 1.815C3.025 0.605 4.52 0 6.3 0C7.44 0 8.495 0.27 9.465 0.81C10.435 1.35 11.28 2.13 12 3.15C12.84 2.07 13.73 1.275 14.67 0.765C15.61 0.255 16.62 0 17.7 0C19.48 0 20.975 0.605 22.185 1.815C23.395 3.025 24 4.53 24 6.33C24 7.25 23.835 8.16 23.505 9.06C23.175 9.96 22.6 10.965 21.78 12.075C20.96 13.185 19.86 14.445 18.48 15.855C17.1 17.265 15.35 18.94 13.23 20.88L12 21.99Z"})})),$=(U.SVG,U.Path,U.SVG,U.Path,U.SVG,U.Path,(0,G.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:(0,G.jsx)(U.Path,{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 7.125C2.25 6.504 2.754 6 3.375 6h6c.621 0 1.125.504 1.125 1.125v3.75c0 .621-.504 1.125-1.125 1.125h-6a1.125 1.125 0 0 1-1.125-1.125v-3.75ZM14.25 8.625c0-.621.504-1.125 1.125-1.125h5.25c.621 0 1.125.504 1.125 1.125v8.25c0 .621-.504 1.125-1.125 1.125h-5.25a1.125 1.125 0 0 1-1.125-1.125v-8.25ZM3.75 16.125c0-.621.504-1.125 1.125-1.125h5.25c.621 0 1.125.504 1.125 1.125v2.25c0 .621-.504 1.125-1.125 1.125h-5.25a1.125 1.125 0 0 1-1.125-1.125v-2.25Z"})}));function q(e){return{type:"SET_MODAL_OPEN",isOpen:e}}function Z(e){return{type:"SET_CONTENT_LOADING",isContentLoading:e}}function K(e){return{type:"SET_SIDEBAR_LOADING",isSidebarLoading:e}}function Q(e){return{type:"SET_ACTIVE_PATTERNS_CATEGORY",activeCategory:e}}function Y(e){return{type:"SET_ACTIVE_TEMPLATES_CATEGORY",activeCategory:e}}function J(e){return{type:"SET_KEYWORDS_FILTER",keywordsFilter:e}}function X(e){return{type:"SET_SHOULD_RESET_KEYWORDS",shouldResetKeywords:e}}function ee(e){return{type:"SET_ACTIVE_TAB",activeTab:e}}function te(e){return{type:"SET_GRID_COLUMNS",gridColumns:e}}function ne(e){return{type:"SET_SORT_ORDER",sortOrder:e}}function ae(e){return{type:"SET_CURRENT_VIEW",currentView:e}}function re(e){return e.modal.isOpen}function se(e){return e.modal.isSidebarLoading}function oe(e){return e.modal.isContentLoading}function le(e){return e.modal.keywordsFilter}function ie(e){return e.modal.shouldResetKeywords}function de(e){return e.modal.activeTab}function ce(e){return e.patterns.activeCategory}function fe(e){return e.templates.activeCategory}function ue(e){return e.modal.gridColumns}function be(e){return e.modal.sortOrder}function we(e){return e.modal.currentView}function me(){const e=localStorage.getItem("nfdWBGridColumns");return e?Number(e):2}function pe(){return localStorage.getItem("nfdWBSortOrder")||"oldest"}const he={reducer:(0,o.combineReducers)({modal:function(e={isOpen:!1,isContentLoading:!1,keywordsFilter:"",activeTab:"patterns",gridColumns:me(),sortOrder:pe(),currentView:"library"},t){switch(t.type){case"SET_MODAL_OPEN":return{...e,isOpen:t.isOpen};case"SET_SIDEBAR_LOADING":return{...e,isSidebarLoading:t.isSidebarLoading};case"SET_CONTENT_LOADING":return{...e,isContentLoading:t.isContentLoading};case"SET_KEYWORDS_FILTER":return{...e,keywordsFilter:t.keywordsFilter};case"SET_SHOULD_RESET_KEYWORDS":return{...e,shouldResetKeywords:!!t.shouldResetKeywords};case"SET_ACTIVE_TAB":return{...e,activeTab:t.activeTab};case"SET_GRID_COLUMNS":return localStorage.setItem("nfdWBGridColumns",t.gridColumns),{...e,gridColumns:t.gridColumns};case"SET_SORT_ORDER":return localStorage.setItem("nfdWBSortOrder",t.sortOrder),{...e,sortOrder:t.sortOrder};case"SET_CURRENT_VIEW":return{...e,currentView:t.currentView}}return e},patterns:function(e={activeCategory:I},t){return"SET_ACTIVE_PATTERNS_CATEGORY"===t.type?{...e,activeCategory:t.activeCategory}:e},templates:function(e={activeCategory:D},t){return"SET_ACTIVE_TEMPLATES_CATEGORY"===t.type?{...e,activeCategory:t.activeCategory}:e}}),actions:r,selectors:s},ve=(0,o.createReduxStore)("newfold/wonder-blocks",he);(0,o.register)(ve);const ge=(e,t)=>{const n=t.label_key;if(n&&!t[n])return void console.error(`Missing or empty '${n}' in Hiive event data`,t);t={...t,page:window.location.href};const a=new l(L,e,t,L);j(a)},ye=window.wp.i18n,_e=(0,G.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,G.jsx)(U.Path,{d:"M16.375 4.5H4.625a.125.125 0 0 0-.125.125v8.254l2.859-1.54a.75.75 0 0 1 .68-.016l2.384 1.142 2.89-2.074a.75.75 0 0 1 .874 0l2.313 1.66V4.625a.125.125 0 0 0-.125-.125Zm.125 9.398-2.75-1.975-2.813 2.02a.75.75 0 0 1-.76.067l-2.444-1.17L4.5 14.583v1.792c0 .069.056.125.125.125h11.75a.125.125 0 0 0 .125-.125v-2.477ZM4.625 3C3.728 3 3 3.728 3 4.625v11.75C3 17.273 3.728 18 4.625 18h11.75c.898 0 1.625-.727 1.625-1.625V4.625C18 3.728 17.273 3 16.375 3H4.625ZM20 8v11c0 .69-.31 1-.999 1H6v1.5h13.001c1.52 0 2.499-.982 2.499-2.5V8H20Z",fillRule:"evenodd",clipRule:"evenodd"})}),xe=(0,G.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,G.jsx)(U.Path,{d:"M18 5.5H6a.5.5 0 0 0-.5.5v12a.5.5 0 0 0 .5.5h12a.5.5 0 0 0 .5-.5V6a.5.5 0 0 0-.5-.5ZM6 4h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Zm1 5h1.5v1.5H7V9Zm1.5 4.5H7V15h1.5v-1.5ZM10 9h7v1.5h-7V9Zm7 4.5h-7V15h7v-1.5Z"})}),ke=(0,G.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,G.jsx)(U.Path,{d:"M8 12.5h8V11H8v1.5Z M19 6.5H5a2 2 0 0 0-2 2V15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8.5a2 2 0 0 0-2-2ZM5 8h14a.5.5 0 0 1 .5.5V15a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V8.5A.5.5 0 0 1 5 8Z"})}),Ee=(0,G.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,G.jsx)(U.Path,{d:"M12 4.75a7.25 7.25 0 100 14.5 7.25 7.25 0 000-14.5zM3.25 12a8.75 8.75 0 1117.5 0 8.75 8.75 0 01-17.5 0zM12 8.75a1.5 1.5 0 01.167 2.99c-.465.052-.917.44-.917 1.01V14h1.5v-.845A3 3 0 109 10.25h1.5a1.5 1.5 0 011.5-1.5zM11.25 15v1.5h1.5V15h-1.5z"})}),Ce=(0,G.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,G.jsx)(U.Path,{d:"M6 5.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM4 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2V6zm11-.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM13 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2h-3a2 2 0 01-2-2V6zm5 8.5h-3a.5.5 0 00-.5.5v3a.5.5 0 00.5.5h3a.5.5 0 00.5-.5v-3a.5.5 0 00-.5-.5zM15 13a2 2 0 00-2 2v3a2 2 0 002 2h3a2 2 0 002-2v-3a2 2 0 00-2-2h-3zm-9 1.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5v-3a.5.5 0 01.5-.5zM4 15a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2v-3z",fillRule:"evenodd",clipRule:"evenodd"})}),je=(0,G.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,G.jsx)(U.Path,{fillRule:"evenodd",d:"M6 5.5h12a.5.5 0 01.5.5v7H14a2 2 0 11-4 0H5.5V6a.5.5 0 01.5-.5zm-.5 9V18a.5.5 0 00.5.5h12a.5.5 0 00.5-.5v-3.5h-3.337a3.5 3.5 0 01-6.326 0H5.5zM4 13V6a2 2 0 012-2h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2v-5z",clipRule:"evenodd"})}),Se=(0,G.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,G.jsx)(U.Path,{d:"M6 5V18.5911L12 13.8473L18 18.5911V5H6Z"})}),Me=(0,G.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,G.jsx)(U.Path,{d:"M19 3H5c-.6 0-1 .4-1 1v7c0 .5.4 1 1 1h14c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1zM5.5 10.5v-.4l1.8-1.3 1.3.8c.3.2.7.2.9-.1L11 8.1l2.4 2.4H5.5zm13 0h-2.9l-4-4c-.3-.3-.8-.3-1.1 0L8.9 8l-1.2-.8c-.3-.2-.6-.2-.9 0l-1.3 1V4.5h13v6zM4 20h9v-1.5H4V20zm0-4h16v-1.5H4V16z"})}),Ne=(0,G.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,G.jsx)(U.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M15 7.5h-5v10h5v-10Zm1.5 0v10H19a.5.5 0 0 0 .5-.5V8a.5.5 0 0 0-.5-.5h-2.5ZM6 7.5h2.5v10H6a.5.5 0 0 1-.5-.5V8a.5.5 0 0 1 .5-.5ZM6 6h13a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2Z"})}),Te=(0,G.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,G.jsx)(U.Path,{d:"M4 4v1.5h16V4H4zm8 8.5h8V11h-8v1.5zM4 20h16v-1.5H4V20zm4-8c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2z"})}),Oe=(0,G.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,G.jsx)(U.Path,{d:"M15.5 9.5a1 1 0 100-2 1 1 0 000 2zm0 1.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5zm-2.25 6v-2a2.75 2.75 0 00-2.75-2.75h-4A2.75 2.75 0 003.75 15v2h1.5v-2c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v2h1.5zm7-2v2h-1.5v-2c0-.69-.56-1.25-1.25-1.25H15v-1.5h2.5A2.75 2.75 0 0120.25 15zM9.5 8.5a1 1 0 11-2 0 1 1 0 012 0zm1.5 0a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0z",fillRule:"evenodd"})}),Ae=(0,G.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,G.jsx)(U.Path,{d:"M13 6v6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H13zm-9 6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H4v6z"})}),ze=(0,G.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,G.jsx)(U.Path,{d:"M6.9 7L3 17.8h1.7l1-2.8h4.1l1 2.8h1.7L8.6 7H6.9zm-.7 6.6l1.5-4.3 1.5 4.3h-3zM21.6 17c-.1.1-.2.2-.3.2-.1.1-.2.1-.4.1s-.3-.1-.4-.2c-.1-.1-.1-.3-.1-.6V12c0-.5 0-1-.1-1.4-.1-.4-.3-.7-.5-1-.2-.2-.5-.4-.9-.5-.4 0-.8-.1-1.3-.1s-1 .1-1.4.2c-.4.1-.7.3-1 .4-.2.2-.4.3-.6.5-.1.2-.2.4-.2.7 0 .3.1.5.2.8.2.2.4.3.8.3.3 0 .6-.1.8-.3.2-.2.3-.4.3-.7 0-.3-.1-.5-.2-.7-.2-.2-.4-.3-.6-.4.2-.2.4-.3.7-.4.3-.1.6-.1.8-.1.3 0 .6 0 .8.1.2.1.4.3.5.5.1.2.2.5.2.9v1.1c0 .3-.1.5-.3.6-.2.2-.5.3-.9.4-.3.1-.7.3-1.1.4-.4.1-.8.3-1.1.5-.3.2-.6.4-.8.7-.2.3-.3.7-.3 1.2 0 .6.2 1.1.5 1.4.3.4.9.5 1.6.5.5 0 1-.1 1.4-.3.4-.2.8-.6 1.1-1.1 0 .4.1.7.3 1 .2.3.6.4 1.2.4.4 0 .7-.1.9-.2.2-.1.5-.3.7-.4h-.3zm-3-.9c-.2.4-.5.7-.8.8-.3.2-.6.2-.8.2-.4 0-.6-.1-.9-.3-.2-.2-.3-.6-.3-1.1 0-.5.1-.9.3-1.2s.5-.5.8-.7c.3-.2.7-.3 1-.5.3-.1.6-.3.7-.6v3.4z"})}),Pe=(0,G.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,G.jsx)(U.Path,{d:"M18.5 10.5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"})}),Ve=(0,G.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,G.jsx)(U.Path,{fillRule:"evenodd",d:"M18 5.5h-8v8h8.5V6a.5.5 0 00-.5-.5zm-9.5 8h-3V6a.5.5 0 01.5-.5h2.5v8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"})}),Re=(0,G.jsx)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,G.jsx)(U.Path,{d:"M8.1 12.3c.1.1.3.3.5.3.2.1.4.1.6.1.2 0 .4 0 .6-.1.2-.1.4-.2.5-.3l3-3c.3-.3.5-.7.5-1.1 0-.4-.2-.8-.5-1.1L9.7 3.5c-.1-.2-.3-.3-.5-.3H5c-.4 0-.8.4-.8.8v4.2c0 .2.1.4.2.5l3.7 3.6zM5.8 4.8h3.1l3.4 3.4v.1l-3 3 .5.5-.7-.5-3.3-3.4V4.8zM4 20h9v-1.5H4V20zm0-5.5V16h16v-1.5H4z"})}),Be=[{name:"gallery",icon:{foreground:"var(--nfd-wba-color-brand)",src:_e},category:"nfd-wonder-blocks",attributes:{category:"gallery"},title:(0,ye.__)("Gallery Patterns","nfd-wonder-blocks"),description:(0,ye.__)("Add Gallery patterns.","nfd-wonder-blocks"),keywords:[(0,ye.__)("images","nfd-wonder-blocks"),(0,ye.__)("photos","nfd-wonder-blocks"),(0,ye.__)("photography","nfd-wonder-blocks")],example:{attributes:{preview:"https://hiive.cloud/workers/wonderblocks-assets/previews/gallery.webp"}}},{name:"blog",icon:{foreground:"var(--nfd-wba-color-brand)",src:xe},category:"nfd-wonder-blocks",attributes:{category:"blog"},title:(0,ye.__)("Blog Patterns","nfd-wonder-blocks"),description:(0,ye.__)("Add Blog patterns.","nfd-wonder-blocks"),keywords:[(0,ye.__)("articles","nfd-wonder-blocks"),(0,ye.__)("posts","nfd-wonder-blocks"),(0,ye.__)("news","nfd-wonder-blocks")],example:{attributes:{preview:"https://hiive.cloud/workers/wonderblocks-assets/previews/blog.webp"}}},{name:"call-to-action",icon:{foreground:"var(--nfd-wba-color-brand)",src:ke},category:"nfd-wonder-blocks",attributes:{category:"call-to-action"},title:(0,ye.__)("Call to Action Patterns","nfd-wonder-blocks"),description:(0,ye.__)("Add Call to Action patterns.","nfd-wonder-blocks"),keywords:[(0,ye.__)("cta","nfd-wonder-blocks"),(0,ye.__)("conversion","nfd-wonder-blocks"),(0,ye.__)("button","nfd-wonder-blocks")],example:{attributes:{preview:"https://hiive.cloud/workers/wonderblocks-assets/previews/cta.webp"}}},{name:"faq",icon:{foreground:"var(--nfd-wba-color-brand)",src:Ee},category:"nfd-wonder-blocks",attributes:{category:"faq"},title:(0,ye.__)("FAQ Patterns","nfd-wonder-blocks"),description:(0,ye.__)("Add FAQ patterns.","nfd-wonder-blocks"),keywords:[(0,ye.__)("frequently asked questions","nfd-wonder-blocks")],example:{attributes:{preview:"https://hiive.cloud/workers/wonderblocks-assets/previews/faq.webp"}}},{name:"features",icon:{foreground:"var(--nfd-wba-color-brand)",src:Ce},category:"nfd-wonder-blocks",attributes:{category:"features"},title:(0,ye.__)("Features Patterns","nfd-wonder-blocks"),description:(0,ye.__)("Add Features patterns.","nfd-wonder-blocks"),keywords:[(0,ye.__)("columns","nfd-wonder-blocks"),(0,ye.__)("about","nfd-wonder-blocks")],example:{attributes:{preview:"https://hiive.cloud/workers/wonderblocks-assets/previews/features.webp"}}},{name:"forms",icon:{foreground:"var(--nfd-wba-color-brand)",src:je},category:"nfd-wonder-blocks",attributes:{category:"forms"},title:(0,ye.__)("Form Patterns","nfd-wonder-blocks"),description:(0,ye.__)("Add Form patterns.","nfd-wonder-blocks"),keywords:[(0,ye.__)("form","nfd-wonder-blocks"),(0,ye.__)("email","nfd-wonder-blocks"),(0,ye.__)("CRM","nfd-wonder-blocks"),(0,ye.__)("contact","nfd-wonder-blocks")],example:{attributes:{preview:"https://hiive.cloud/workers/wonderblocks-assets/previews/forms.webp"}}},{name:"headings",icon:{foreground:"var(--nfd-wba-color-brand)",src:Se},category:"nfd-wonder-blocks",attributes:{category:"headings"},title:(0,ye.__)("Heading Patterns","nfd-wonder-blocks"),description:(0,ye.__)("Add Heading patterns.","nfd-wonder-blocks"),keywords:[(0,ye.__)("title","nfd-wonder-blocks"),(0,ye.__)("headline","nfd-wonder-blocks"),(0,ye.__)("tagline","nfd-wonder-blocks"),(0,ye.__)("text","nfd-wonder-blocks")],example:{attributes:{preview:"https://hiive.cloud/workers/wonderblocks-assets/previews/headings.webp"}}},{name:"hero",icon:{foreground:"var(--nfd-wba-color-brand)",src:Me},category:"nfd-wonder-blocks",attributes:{category:"hero"},title:(0,ye.__)("Hero Patterns","nfd-wonder-blocks"),description:(0,ye.__)("Add Hero patterns.","nfd-wonder-blocks"),keywords:[(0,ye.__)("banner","nfd-wonder-blocks"),(0,ye.__)("image slider","nfd-wonder-blocks"),(0,ye.__)("homepage","nfd-wonder-blocks")],example:{attributes:{preview:"https://hiive.cloud/workers/wonderblocks-assets/previews/hero.webp"}}},{name:"pricing",icon:{foreground:"var(--nfd-wba-color-brand)",src:Ne},category:"nfd-wonder-blocks",attributes:{category:"pricing-table"},title:(0,ye.__)("Pricing Table Patterns","nfd-wonder-blocks"),description:(0,ye.__)("Add Pricing Table patterns.","nfd-wonder-blocks"),keywords:[(0,ye.__)("plans","nfd-wonder-blocks"),(0,ye.__)("comparison","nfd-wonder-blocks"),(0,ye.__)("packages","nfd-wonder-blocks")],example:{attributes:{preview:"https://hiive.cloud/workers/wonderblocks-assets/previews/pricing-table.webp"}}},{name:"menu",icon:{foreground:"var(--nfd-wba-color-brand)",src:Te},category:"nfd-wonder-blocks",attributes:{category:"menu"},title:(0,ye.__)("Menu Patterns","nfd-wonder-blocks"),description:(0,ye.__)("Add Menu patterns.","nfd-wonder-blocks"),keywords:[(0,ye.__)("restaurant","nfd-wonder-blocks"),(0,ye.__)("cafe","nfd-wonder-blocks"),(0,ye.__)("coffee","nfd-wonder-blocks"),(0,ye.__)("catering","nfd-wonder-blocks"),(0,ye.__)("food","nfd-wonder-blocks"),(0,ye.__)("recipe","nfd-wonder-blocks")],example:{attributes:{preview:"https://hiive.cloud/workers/wonderblocks-assets/previews/menu.webp"}}},{name:"team",icon:{foreground:"var(--nfd-wba-color-brand)",src:Oe},category:"nfd-wonder-blocks",attributes:{category:"team"},title:(0,ye.__)("Team Patterns","nfd-wonder-blocks"),description:(0,ye.__)("Add Team patterns.","nfd-wonder-blocks"),keywords:[(0,ye.__)("employees","nfd-wonder-blocks"),(0,ye.__)("members","nfd-wonder-blocks"),(0,ye.__)("profiles","nfd-wonder-blocks")],example:{attributes:{preview:"https://hiive.cloud/workers/wonderblocks-assets/previews/team.webp"}}},{name:"testimonials",icon:{foreground:"var(--nfd-wba-color-brand)",src:Ae},category:"nfd-wonder-blocks",attributes:{category:"testimonials"},title:(0,ye.__)("Testimonial Patterns","nfd-wonder-blocks"),description:(0,ye.__)("Add Testimonial patterns.","nfd-wonder-blocks"),keywords:[(0,ye.__)("reviews","nfd-wonder-blocks"),(0,ye.__)("feedback","nfd-wonder-blocks"),(0,ye.__)("ratings","nfd-wonder-blocks")],example:{attributes:{preview:"https://hiive.cloud/workers/wonderblocks-assets/previews/testimonials.webp"}}},{name:"text",icon:{foreground:"var(--nfd-wba-color-brand)",src:ze},category:"nfd-wonder-blocks",attributes:{category:"text"},title:(0,ye.__)("Text Patterns","nfd-wonder-blocks"),description:(0,ye.__)("Add Text patterns.","nfd-wonder-blocks"),keywords:[(0,ye.__)("highlight","nfd-wonder-blocks"),(0,ye.__)("write","nfd-wonder-blocks"),(0,ye.__)("format","nfd-wonder-blocks")],example:{attributes:{preview:"https://hiive.cloud/workers/wonderblocks-assets/previews/text.webp"}}},{name:"header",icon:{foreground:"var(--nfd-wba-color-brand)",src:Pe},category:"nfd-wonder-blocks",attributes:{category:"header"},title:(0,ye.__)("Header Patterns","nfd-wonder-blocks"),description:(0,ye.__)("Add Header patterns.","nfd-wonder-blocks"),example:{attributes:{preview:"https://hiive.cloud/workers/wonderblocks-assets/previews/header.webp"}}},{name:"footer",icon:{foreground:"var(--nfd-wba-color-brand)",src:Ve},category:"nfd-wonder-blocks",attributes:{category:"footer"},title:(0,ye.__)("Footer Patterns","nfd-wonder-blocks"),description:(0,ye.__)("Add Footer patterns.","nfd-wonder-blocks"),example:{attributes:{preview:"https://hiive.cloud/workers/wonderblocks-assets/previews/footer.webp"}}},{name:"products",icon:{foreground:"var(--nfd-wba-color-brand)",src:Re},category:"nfd-wonder-blocks",attributes:{category:"products"},title:(0,ye.__)("Product Patterns","nfd-wonder-blocks"),description:(0,ye.__)("Add Product patterns.","nfd-wonder-blocks"),example:{attributes:{preview:"https://hiive.cloud/workers/wonderblocks-assets/previews/products.webp"}}},{name:"favorites",icon:{foreground:"var(--nfd-wba-color-brand)",src:W},category:"nfd-wonder-blocks",attributes:{category:"favorites"},title:(0,ye.__)("My Favorite Patterns","nfd-wonder-blocks"),description:(0,ye.__)("A collection of patterns you've selected.","nfd-wonder-blocks"),keywords:[(0,ye.__)("liked","nfd-wonder-blocks"),(0,ye.__)("saved","nfd-wonder-blocks"),(0,ye.__)("bookmarked","nfd-wonder-blocks"),(0,ye.__)("starred","nfd-wonder-blocks")]}],Ie=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"wonder-blocks/library","title":"WonderBlocks","description":"Add patterns and page templates tailored for your site.","keywords":["template","patterns","blocks"],"textdomain":"nfd-wonder-blocks","attributes":{"preview":{"type":"string"},"category":{"type":"string"}}}'),De=(0,N.forwardRef)((function({icon:e,size:t=24,...n},a){return(0,N.cloneElement)(e,{width:t,height:t,...n,ref:a})}));(0,H.registerBlockType)(Ie,{icon:(0,G.jsx)(De,{icon:$,className:"!nfd-wba-fill-none !nfd-wba-stroke-brand"}),category:"nfd-wonder-blocks",example:{attributes:{preview:"https://hiive.cloud/workers/wonderblocks-assets/previews/default.webp"}},variations:[...Be],edit:function({clientId:e,attributes:t}){const{removeBlock:n}=(0,o.useDispatch)("core/block-editor"),{setIsModalOpen:a,setActivePatternsCategory:r,setActiveTab:s}=(0,o.useDispatch)(ve);return(0,N.useEffect)((()=>{t.preview||(n(e),s("patterns"),r(t.category?t.category:I),ge("modal_open",{label_key:"trigger",trigger:"block"}),a(!0))}),[t.category,t.preview,e,n,r,s,a]),(0,G.jsx)("img",{style:{display:"block",maxWidth:"100%"},src:t.preview,alt:"WonderBlocks"})}});const Le=window.wp.blockEditor,Fe=window.wp.components,He=window.wp.hooks;var Ue=n(942),Ge=n.n(Ue);const We=({title:e})=>(0,G.jsxs)("div",{className:"nfd-wba-relative nfd-wba-w-full nfd-wba-pr-9 nfd-wba-flex nfd-wba-items-center",children:[(0,G.jsx)("div",{className:"nfd-wba-flex-1",children:e}),(0,G.jsx)("div",{className:"nfd-wba-bg-brand nfd-wba-rounded-full nfd-wba-flex nfd-wba-justify-center nfd-wba-items-center nfd-wba-w-7 nfd-wba-h-7 nfd-wba-absolute nfd-wba-right-0 nfd-wba-transform -nfd-wba-translate-y-1/2",children:(0,G.jsx)(De,{icon:$,className:"!nfd-wba-fill-none nfd-wba-stroke-white",size:16})})]}),$e=["core/archives","core/calendar","core/latest-comments","core/rss","core/tag-cloud"],qe=(0,O.createHigherOrderComponent)((e=>t=>{var n,a,r,s,l;const{name:i,clientId:d}=t,c=null!==(n=t?.attributes?.nfdGroupDivider)&&void 0!==n?n:"default",f=null!==(a=t?.attributes?.nfdGroupTheme)&&void 0!==a?a:"",u=null!==(r=t?.attributes?.nfdGroupEffect)&&void 0!==r?r:"",b=null!==(s=t?.attributes?.nfdAnimation)&&void 0!==s?s:"",w=null!==(l=t?.attributes?.nfdAnimationDelay)&&void 0!==l?l:"",m=(0,o.useSelect)((e=>{const{getBlockRootClientId:t}=e("core/block-editor");return!t(d)}),[d]),p=(0,N.useMemo)((()=>[{name:"",label:(0,ye.__)("Default","nfd-wonder-blocks"),isDefault:!0},{name:"nfd-divider-arrow",label:(0,ye.__)("Arrow","nfd-wonder-blocks")},{name:"nfd-divider-ellipse",label:(0,ye.__)("Ellipse","nfd-wonder-blocks")},{name:"nfd-divider-rounded",label:(0,ye.__)("Rounded","nfd-wonder-blocks")},{name:"nfd-divider-slant",label:(0,ye.__)("Slant","nfd-wonder-blocks")},{name:"nfd-divider-slant-invert",label:(0,ye.__)("Slant Invert","nfd-wonder-blocks")},{name:"nfd-divider-triangle",label:(0,ye.__)("Triangle","nfd-wonder-blocks")},{name:"nfd-divider-zigzag",label:(0,ye.__)("Zigzag","nfd-wonder-blocks")}]),[]),h=(0,N.useMemo)((()=>[{value:"",label:(0,ye.__)("None","nfd-wonder-blocks")},{value:"nfd-wb-fade-in-bottom",label:(0,ye.__)("Fade In Bottom","nfd-wonder-blocks")},{value:"nfd-wb-fade-in-top-short",label:(0,ye.__)("Fade In Top Short","nfd-wonder-blocks")},{value:"nfd-wb-fade-in-right-short",label:(0,ye.__)("Fade In Right Short","nfd-wonder-blocks")},{value:"nfd-wb-fade-in-bottom-short",label:(0,ye.__)("Fade In Bottom Short","nfd-wonder-blocks")},{value:"nfd-wb-fade-in-left-short",label:(0,ye.__)("Fade In Left Short","nfd-wonder-blocks")},{value:"nfd-wb-twist-in",label:(0,ye.__)("Twist In","nfd-wonder-blocks")},{value:"nfd-wb-zoom-in",label:(0,ye.__)("Zoom In","nfd-wonder-blocks")},{value:"nfd-wb-zoom-in-short",label:(0,ye.__)("Zoom In Short","nfd-wonder-blocks")},{value:"nfd-wb-reveal-right",label:(0,ye.__)("Reveal Right","nfd-wonder-blocks")}]),[]),v=(0,N.useMemo)((()=>[{value:"",label:(0,ye.__)("None","nfd-wonder-blocks")},{value:"nfd-delay-50",label:(0,ye.__)("50ms","nfd-wonder-blocks")},{value:"nfd-delay-150",label:(0,ye.__)("150ms","nfd-wonder-blocks")},{value:"nfd-delay-300",label:(0,ye.__)("300ms","nfd-wonder-blocks")},{value:"nfd-delay-450",label:(0,ye.__)("450ms","nfd-wonder-blocks")},{value:"nfd-delay-600",label:(0,ye.__)("600ms","nfd-wonder-blocks")},{value:"nfd-delay-750",label:(0,ye.__)("750ms","nfd-wonder-blocks")},{value:"nfd-delay-900",label:(0,ye.__)("900ms","nfd-wonder-blocks")},{value:"nfd-delay-1050",label:(0,ye.__)("1050ms","nfd-wonder-blocks")},{value:"nfd-delay-1200",label:(0,ye.__)("1200ms","nfd-wonder-blocks")},{value:"nfd-delay-1350",label:(0,ye.__)("1350ms","nfd-wonder-blocks")},{value:"nfd-delay-1500",label:(0,ye.__)("1500ms","nfd-wonder-blocks")}]),[]),g=(0,N.useMemo)((()=>[{name:"",label:(0,ye.__)("Default","nfd-wonder-blocks"),isDefault:!0},{name:"white",label:(0,ye.__)("White","nfd-wonder-blocks")},{name:"light",label:(0,ye.__)("Light","nfd-wonder-blocks")},{name:"dark",label:(0,ye.__)("Dark","nfd-wonder-blocks")},{name:"darker",label:(0,ye.__)("Darker","nfd-wonder-blocks")},{name:"primary",label:(0,ye.__)("Primary","nfd-wonder-blocks")}]),[]),y=(0,N.useMemo)((()=>[{name:"",label:(0,ye.__)("None","nfd-wonder-blocks"),isDefault:!0},{name:"dots",label:(0,ye.__)("Dots","nfd-wonder-blocks")},{name:"grid",label:(0,ye.__)("Grid","nfd-wonder-blocks")},{name:"grid-2",label:(0,ye.__)("Grid 2","nfd-wonder-blocks")},{name:"grid-3",label:(0,ye.__)("Grid 3","nfd-wonder-blocks")},{name:"grid-perspective",label:(0,ye.__)("Grid Perspective","nfd-wonder-blocks")},{name:"lines",label:(0,ye.__)("Lines","nfd-wonder-blocks")},{name:"lines-2",label:(0,ye.__)("Lines 2","nfd-wonder-blocks")}]),[]);return(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(e,{...t}),"core/group"===i&&m&&(0,G.jsx)(Le.InspectorControls,{children:(0,G.jsx)(Fe.PanelBody,{title:(0,G.jsx)(We,{title:(0,ye.__)("Section Divider","nfd-wonder-blocks")}),initialOpen:!1,className:"nfd-wb-panel__body",children:(0,G.jsx)("div",{className:"block-editor-block-styles",children:(0,G.jsx)("div",{className:"block-editor-block-styles__variants",children:p.map((e=>{const n=e.isDefault?(0,ye.__)("Default","nfd-wonder-blocks"):e.label||e.name;return(0,G.jsx)(Fe.Button,{className:Ge()("block-editor-block-styles__item",{"is-active":c===e.name}),variant:"secondary",label:n,onClick:()=>t.setAttributes({nfdGroupDivider:e.name}),"aria-current":c===e.name,children:(0,G.jsx)(Fe.__experimentalTruncate,{numberOfLines:1,className:"block-editor-block-styles__item-text",children:n})},e.name)}))})})})}),"core/group"===i&&(0,G.jsx)(Le.InspectorControls,{children:(0,G.jsx)(Fe.PanelBody,{title:(0,G.jsx)(We,{title:(0,ye.__)("Section Theme Color","nfd-wonder-blocks")}),initialOpen:!1,children:(0,G.jsx)("div",{className:"block-editor-block-styles",children:(0,G.jsxs)("div",{className:"block-editor-block-styles__variants",children:[(0,G.jsx)(Fe.Notice,{className:"nfd-wba-mt-2 nfd-wba-mb-1",status:"warning",isDismissible:!1,children:(0,ye.__)("This feature is now located in the Block Styles section.","nfd-wonder-blocks")}),g.map((e=>{const n=e.isDefault?(0,ye.__)("Default","nfd-wonder-blocks"):e.label||e.name;return(0,G.jsx)(Fe.Button,{className:Ge()("nfd-wba-w-[calc(50%-4px)] nfd-wba-inline-block"),variant:"secondary",label:n,onClick:()=>{t.setAttributes({nfdGroupTheme:e.name})},disabled:!0,"aria-current":f===e.name,children:(0,G.jsx)(Fe.__experimentalTruncate,{numberOfLines:1,className:"block-editor-block-styles__item-text",children:n})},e.name)}))]})})})}),"core/group"===i&&(0,G.jsx)(Le.InspectorControls,{children:(0,G.jsx)(Fe.PanelBody,{title:(0,G.jsx)(We,{title:(0,ye.__)("Section Background Effect","nfd-wonder-blocks")}),initialOpen:!1,children:(0,G.jsx)("div",{className:"block-editor-block-styles",children:(0,G.jsx)("div",{className:"block-editor-block-styles__variants",children:y.map((e=>{const n=e.label||e.name;return(0,G.jsx)(Fe.Button,{className:Ge()("block-editor-block-styles__item",{"is-active":u===e.name}),variant:"secondary",label:n,onClick:()=>{t.setAttributes({nfdGroupEffect:e.name})},"aria-current":u===e.name,children:(0,G.jsx)(Fe.__experimentalTruncate,{numberOfLines:1,className:"block-editor-block-styles__item-text",children:n})},e.name)}))})})})}),!$e.includes(i)&&(0,G.jsx)(Le.InspectorControls,{children:(0,G.jsxs)(Fe.PanelBody,{title:(0,G.jsx)(We,{title:(0,ye.__)("Entrance Animations","nfd-wonder-blocks")}),initialOpen:!1,children:[(0,G.jsx)(Fe.SelectControl,{label:(0,ye.__)("Animation","nfd-wonder-blocks"),options:h,value:b,onChange:e=>{t.setAttributes({nfdAnimation:e}),document.dispatchEvent(new CustomEvent("wonder-blocks/animation-changed",{detail:{clientId:t?.clientId}}))}}),(0,G.jsx)(Fe.SelectControl,{label:(0,ye.__)("Delay","nfd-wonder-blocks"),options:v,value:w,onChange:e=>{t.setAttributes({nfdAnimationDelay:e})}})]})})]})}),"withInspectorControl");function Ze(e,t,n){var a,r;const s=null!==(a=e?.className)&&void 0!==a?a:[],o=[...n?.nfdGroupDivider?[n.nfdGroupDivider]:[],...n?.nfdAnimation?["nfd-wb-animate",n.nfdAnimation]:[],...n?.nfdAnimationDelay&&n?.nfdAnimation?[n.nfdAnimationDelay]:[],...n?.nfdGroupEffect?[`nfd-bg-effect-${n.nfdGroupEffect}`]:[]],l=null!==(r=n?.className)&&void 0!==r?r:[];if(!o)return e;const i=e=>{switch(Object.prototype.toString.call(e)){case"[object String]":return e.split(" ");case"[object Array]":return e;default:return[]}},d=new Set([...i(l),...i(s),...i(o)]);return Object.assign({},e,{className:[...d].join(" ")})}(0,He.addFilter)("blocks.registerBlockType","nfd-wonder-blocks/utilities/attributes",(function(e,t){return $e.includes(t)?e:("core/group"===t&&(e.attributes={...e.attributes,nfdGroupDivider:{type:"string"},nfdGroupTheme:{type:"string"},nfdGroupEffect:{type:"string"}}),{...e,attributes:{...e.attributes,nfdAnimation:{type:"string"},nfdAnimationDelay:{type:"string"}}})})),(0,He.addFilter)("blocks.registerBlockType","nfd-wonder-blocks/utilities/addEditProps",(function(e){const t=e.getEditWrapperProps;return e.getEditWrapperProps=e=>{let n={};return t&&(n=t(e)),Ze(n,0,e)},e})),(0,He.addFilter)("editor.BlockEdit","nfd-wonder-blocks/utilities/inspectorControl",qe),(0,He.addFilter)("blocks.getSaveContent.extraProps","nfd-wonder-blocks/utilities/extraProps",Ze);const Ke=(0,o.select)("core/blocks").getCategories();(0,H.setCategories)([{slug:"nfd-wonder-blocks",title:"WonderBlocks",icon:null},...Ke]),(0,H.registerBlockCollection)("nfd-wonder-blocks",{title:"WonderBlocks",icon:(0,G.jsx)(De,{icon:$})});const Qe=({...e})=>{const t={method:"GET",headers:{"x-nfd-wonder-blocks":"nfd_wonder_blocks"},...e};return k()(t)};function Ye(e){if(/^\d+\.\d+\.\d+/.test(e))return e;const[t,n]=e.split(/-(.+)/),a=t.split(".");for(;a.length<3;)a.push("0");return n?`${a.join(".")}-${n}`:a.join(".")}function Je(e){return e.replace(/nfd-bg-surface nfd-theme-([^\s]+)/g,"is-style-nfd-theme-$1")}const Xe=(e,t)=>{e.forEach((e=>{if(e?.attributes?.nfdGroupTheme){const n=`${e.attributes.className.replace(/\bis-style-[^\s]+/g,"").trim()} is-style-nfd-theme-${e.attributes.nfdGroupTheme}`;n!==e.attributes.className&&t(e.clientId,{className:n,nfdGroupTheme:""})}e.innerBlocks?.length&&Xe(e.innerBlocks,t)}))};var et=n(609),tt=n.n(et),nt=n(888);const at=()=>{},rt=at(),st=Object,ot=e=>e===rt,lt=e=>"function"==typeof e,it=(e,t)=>({...e,...t}),dt=new WeakMap;let ct=0;const ft=e=>{const t=typeof e,n=e&&e.constructor,a=n==Date;let r,s;if(st(e)!==e||a||n==RegExp)r=a?e.toJSON():"symbol"==t?e.toString():"string"==t?JSON.stringify(e):""+e;else{if(r=dt.get(e),r)return r;if(r=++ct+"~",dt.set(e,r),n==Array){for(r="@",s=0;s{const n=ut.get(e);return[()=>!ot(t)&&e.get(t)||bt,a=>{if(!ot(t)){const r=e.get(t);t in wt||(wt[t]=r),n[5](t,it(r,a),r||bt)}},n[6],()=>!ot(t)&&t in wt?wt[t]:!ot(t)&&e.get(t)||bt]};let gt=!0;const[yt,_t]=pt&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[at,at],xt={isOnline:()=>gt,isVisible:()=>{const e=ht&&document.visibilityState;return ot(e)||"hidden"!==e}},kt={initFocus:e=>(ht&&document.addEventListener("visibilitychange",e),yt("focus",e),()=>{ht&&document.removeEventListener("visibilitychange",e),_t("focus",e)}),initReconnect:e=>{const t=()=>{gt=!0,e()},n=()=>{gt=!1};return yt("online",t),yt("offline",n),()=>{_t("online",t),_t("offline",n)}}},Et=!et.useId,Ct=!pt||"Deno"in window,jt=e=>pt&&typeof window.requestAnimationFrame!=mt?window.requestAnimationFrame(e):setTimeout(e,1),St=Ct?et.useEffect:et.useLayoutEffect,Mt="undefined"!=typeof navigator&&navigator.connection,Nt=!Ct&&Mt&&(["slow-2g","2g"].includes(Mt.effectiveType)||Mt.saveData),Tt=e=>{if(lt(e))try{e=e()}catch(t){e=""}const t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?ft(e):"",t]};let Ot=0;const At=()=>++Ot;async function zt(...e){const[t,n,a,r]=e,s=it({populateCache:!0,throwOnError:!0},"boolean"==typeof r?{revalidate:r}:r||{});let o=s.populateCache;const l=s.rollbackOnError;let i=s.optimisticData;const d=s.throwOnError;if(lt(n)){const e=n,a=[],r=t.keys();for(const n of r)!/^\$(inf|sub)\$/.test(n)&&e(t.get(n)._k)&&a.push(n);return Promise.all(a.map(c))}return c(n);async function c(n){const[r]=Tt(n);if(!r)return;const[c,f]=vt(t,r),[u,b,w,m]=ut.get(t),p=()=>{const e=u[r];return(lt(s.revalidate)?s.revalidate(c().data,n):!1!==s.revalidate)&&(delete w[r],delete m[r],e&&e[0])?e[0](2).then((()=>c().data)):c().data};if(e.length<3)return p();let h,v=a;const g=At();b[r]=[g,0];const y=!ot(i),_=c(),x=_.data,k=_._c,E=ot(k)?x:k;if(y&&(i=lt(i)?i(E,x):i,f({data:i,_c:E})),lt(v))try{v=v(E)}catch(e){h=e}if(v&<(v.then)){if(v=await v.catch((e=>{h=e})),g!==b[r][0]){if(h)throw h;return v}h&&y&&(e=>"function"==typeof l?l(e):!1!==l)(h)&&(o=!0,f({data:E,_c:rt}))}if(o&&!h)if(lt(o)){const e=o(v,E);f({data:e,error:rt,_c:rt})}else f({data:v,error:rt,_c:rt});if(b[r][1]=At(),Promise.resolve(p()).then((()=>{f({_c:rt})})),!h)return v;if(d)throw h}}const Pt=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},Vt=(e,t)=>{if(!ut.has(e)){const n=it(kt,t),a={},r=zt.bind(rt,e);let s=at;const o={},l=(e,t)=>{const n=o[e]||[];return o[e]=n,n.push(t),()=>n.splice(n.indexOf(t),1)},i=(t,n,a)=>{e.set(t,n);const r=o[t];if(r)for(const e of r)e(n,a)},d=()=>{if(!ut.has(e)&&(ut.set(e,[a,{},{},{},r,i,l]),!Ct)){const t=n.initFocus(setTimeout.bind(rt,Pt.bind(rt,a,0))),r=n.initReconnect(setTimeout.bind(rt,Pt.bind(rt,a,1)));s=()=>{t&&t(),r&&r(),ut.delete(e)}}};return d(),[e,r,d,s]}return[e,ut.get(e)[4]]},[Rt,Bt]=Vt(new Map),It=it({onLoadingSlow:at,onSuccess:at,onError:at,onErrorRetry:(e,__,t,n,a)=>{const r=t.errorRetryCount,s=a.retryCount,o=~~((Math.random()+.5)*(1<<(s<8?s:8)))*t.errorRetryInterval;!ot(r)&&s>r||setTimeout(n,o,a)},onDiscarded:at,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Nt?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:Nt?5e3:3e3,compare:(e,t)=>ft(e)==ft(t),isPaused:()=>!1,cache:Rt,mutate:Bt,fallback:{}},xt),Dt=(e,t)=>{const n=it(e,t);if(t){const{use:a,fallback:r}=e,{use:s,fallback:o}=t;a&&s&&(n.use=a.concat(s)),r&&o&&(n.fallback=it(r,o))}return n},Lt=(0,et.createContext)({}),Ft=e=>{const{value:t}=e,n=(0,et.useContext)(Lt),a=lt(t),r=(0,et.useMemo)((()=>a?t(n):t),[a,n,t]),s=(0,et.useMemo)((()=>a?r:Dt(n,r)),[a,n,r]),o=r&&r.provider,l=(0,et.useRef)(rt);o&&!l.current&&(l.current=Vt(o(s.cache||Rt),r));const i=l.current;return i&&(s.cache=i[0],s.mutate=i[1]),St((()=>{if(i)return i[2]&&i[2](),i[3]}),[]),(0,et.createElement)(Lt.Provider,it(e,{value:s}))},Ht="$inf$",Ut=pt&&window.__SWR_DEVTOOLS_USE__,Gt=Ut?window.__SWR_DEVTOOLS_USE__:[],Wt=e=>lt(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],$t=Gt.concat((e=>(t,n,a)=>e(t,n&&((...e)=>{const[a]=Tt(t),[,,,r]=ut.get(Rt);if(a.startsWith(Ht))return n(...e);const s=r[a];return ot(s)?n(...e):(delete r[a],s)}),a))),qt=e=>function(...t){const n=it(It,(0,et.useContext)(Lt)),[a,r,s]=Wt(t),o=Dt(n,s);let l=e;const{use:i}=o,d=(i||[]).concat($t);for(let e=d.length;e--;)l=d[e](l);return l(a,r||o.fetcher||null,o)},Zt=(e,t,n)=>{const a=t[e]||(t[e]=[]);return a.push(n),()=>{const e=a.indexOf(n);e>=0&&(a[e]=a[a.length-1],a.pop())}};Ut&&(window.__SWR_DEVTOOLS_REACT__=et);const Kt=et.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;throw"rejected"===e.status?e.reason:(e.status="pending",e.then((t=>{e.status="fulfilled",e.value=t}),(t=>{e.status="rejected",e.reason=t})),e)}),Qt={dedupe:!0};st.defineProperty(Ft,"defaultValue",{value:It});const Yt=qt(((e,t,n)=>{const{cache:a,compare:r,suspense:s,fallbackData:o,revalidateOnMount:l,revalidateIfStale:i,refreshInterval:d,refreshWhenHidden:c,refreshWhenOffline:f,keepPreviousData:u}=n,[b,w,m,p]=ut.get(a),[h,v]=Tt(e),g=(0,et.useRef)(!1),y=(0,et.useRef)(!1),_=(0,et.useRef)(h),x=(0,et.useRef)(t),k=(0,et.useRef)(n),E=()=>k.current,C=()=>E().isVisible()&&E().isOnline(),[j,S,M,N]=vt(a,h),T=(0,et.useRef)({}).current,O=ot(o)?n.fallback[h]:o,A=(e,t)=>{for(const n in T){const a=n;if("data"===a){if(!r(e[a],t[a])){if(!ot(e[a]))return!1;if(!r(F,t[a]))return!1}}else if(t[a]!==e[a])return!1}return!0},z=(0,et.useMemo)((()=>{const e=!!h&&!!t&&(ot(l)?!E().isPaused()&&!s&&(!!ot(i)||i):l),n=t=>{const n=it(t);return delete n._k,e?{isValidating:!0,isLoading:!0,...n}:n},a=j(),r=N(),o=n(a),d=a===r?o:n(r);let c=o;return[()=>{const e=n(j());return A(e,c)?(c.data=e.data,c.isLoading=e.isLoading,c.isValidating=e.isValidating,c.error=e.error,c):(c=e,e)},()=>d]}),[a,h]),P=(0,nt.useSyncExternalStore)((0,et.useCallback)((e=>M(h,((t,n)=>{A(n,t)||e()}))),[a,h]),z[0],z[1]),V=!g.current,R=b[h]&&b[h].length>0,B=P.data,I=ot(B)?O:B,D=P.error,L=(0,et.useRef)(I),F=u?ot(B)?L.current:B:I,H=!(R&&!ot(D))&&(V&&!ot(l)?l:!E().isPaused()&&(s?!ot(I)&&i:ot(I)||i)),U=!!(h&&t&&V&&H),G=ot(P.isValidating)?U:P.isValidating,W=ot(P.isLoading)?U:P.isLoading,$=(0,et.useCallback)((async e=>{const t=x.current;if(!h||!t||y.current||E().isPaused())return!1;let a,s,o=!0;const l=e||{},i=!m[h]||!l.dedupe,d=()=>Et?!y.current&&h===_.current&&g.current:h===_.current,c={isValidating:!1,isLoading:!1},f=()=>{S(c)},u=()=>{const e=m[h];e&&e[1]===s&&delete m[h]},p={isValidating:!0};ot(j().data)&&(p.isLoading=!0);try{if(i&&(S(p),n.loadingTimeout&&ot(j().data)&&setTimeout((()=>{o&&d()&&E().onLoadingSlow(h,n)}),n.loadingTimeout),m[h]=[t(v),At()]),[a,s]=m[h],a=await a,i&&setTimeout(u,n.dedupingInterval),!m[h]||m[h][1]!==s)return i&&d()&&E().onDiscarded(h),!1;c.error=rt;const e=w[h];if(!ot(e)&&(s<=e[0]||s<=e[1]||0===e[1]))return f(),i&&d()&&E().onDiscarded(h),!1;const l=j().data;c.data=r(l,a)?l:a,i&&d()&&E().onSuccess(a,h,n)}catch(e){u();const t=E(),{shouldRetryOnError:n}=t;t.isPaused()||(c.error=e,i&&d()&&(t.onError(e,h,t),(!0===n||lt(n)&&n(e))&&(E().revalidateOnFocus&&E().revalidateOnReconnect&&!C()||t.onErrorRetry(e,h,t,(e=>{const t=b[h];t&&t[0]&&t[0](3,e)}),{retryCount:(l.retryCount||0)+1,dedupe:!0}))))}return o=!1,f(),!0}),[h,a]),q=(0,et.useCallback)(((...e)=>zt(a,_.current,...e)),[]);if(St((()=>{x.current=t,k.current=n,ot(B)||(L.current=B)})),St((()=>{if(!h)return;const e=$.bind(rt,Qt);let t=0;const n=Zt(h,b,((n,a={})=>{if(0==n){const n=Date.now();E().revalidateOnFocus&&n>t&&C()&&(t=n+E().focusThrottleInterval,e())}else if(1==n)E().revalidateOnReconnect&&C()&&e();else{if(2==n)return $();if(3==n)return $(a)}}));return y.current=!1,_.current=h,g.current=!0,S({_k:v}),H&&(ot(I)||Ct?e():jt(e)),()=>{y.current=!0,n()}}),[h]),St((()=>{let e;function t(){const t=lt(d)?d(j().data):d;t&&-1!==e&&(e=setTimeout(n,t))}function n(){j().error||!c&&!E().isVisible()||!f&&!E().isOnline()?t():$(Qt).then(t)}return t(),()=>{e&&(clearTimeout(e),e=-1)}}),[d,c,f,h]),(0,et.useDebugValue)(F),s&&ot(I)&&h){if(!Et&&Ct)throw new Error("Fallback data is required when using suspense in SSR.");x.current=t,k.current=n,y.current=!1;const e=p[h];if(!ot(e)){const t=q(e);Kt(t)}if(!ot(D))throw D;{const e=$(Qt);ot(F)||(e.status="fulfilled",e.value=!0),Kt(e)}}return{mutate:q,get data(){return T.data=!0,F},get error(){return T.error=!0,D},get isValidating(){return T.isValidating=!0,G},get isLoading(){return T.isLoading=!0,W}}})),Jt=Promise.resolve(),Xt=((e,t)=>(...n)=>{const[a,r,s]=Wt(n),o=(s.use||[]).concat(t);return e(a,r,{...s,use:o})})(Yt,(e=>(t,n,a)=>{const r=(0,et.useRef)(!1),{cache:s,initialSize:o=1,revalidateAll:l=!1,persistSize:i=!1,revalidateFirstPage:d=!0,revalidateOnMount:c=!1,parallel:f=!1}=a,[,,,u]=ut.get(Rt);let b;try{b=(e=>Tt(e?e(0,null):null)[0])(t),b&&(b=Ht+b)}catch(e){}const[w,m,p]=vt(s,b),h=(0,et.useCallback)((()=>ot(w()._l)?o:w()._l),[s,b,o]);(0,nt.useSyncExternalStore)((0,et.useCallback)((e=>b?p(b,(()=>{e()})):()=>{}),[s,b]),h,h);const v=(0,et.useCallback)((()=>{const e=w()._l;return ot(e)?o:e}),[b,o]),g=(0,et.useRef)(v());St((()=>{r.current?b&&m({_l:i?g.current:v()}):r.current=!0}),[b,s]);const y=c&&!r.current,_=e(b,(async e=>{const r=w()._i,o=w()._r;m({_r:rt});const i=[],c=v(),[b]=vt(s,e),p=b().data,h=[];let g=null;for(let e=0;e{if(c in u){const e=u[c];delete u[c],v=await e}else v=await n(b);m({data:v,_k:b}),i[e]=v};f?h.push(t):await t()}else i[e]=v;f||(g=v)}return f&&await Promise.all(h.map((e=>e()))),m({_i:rt}),i}),a),x=(0,et.useCallback)((function(e,t){const n="boolean"==typeof t?{revalidate:t}:t||{},a=!1!==n.revalidate;return b?(a&&(ot(e)?m({_i:!0,_r:n.revalidate}):m({_i:!1,_r:n.revalidate})),arguments.length?_.mutate(e,{...n,revalidate:a}):_.mutate()):Jt}),[b,s]),k=(0,et.useCallback)((e=>{if(!b)return Jt;const[,n]=vt(s,b);let a;if(lt(e)?a=e(v()):"number"==typeof e&&(a=e),"number"!=typeof a)return Jt;n({_l:a}),g.current=a;const r=[],[o]=vt(s,b);let l=null;for(let e=0;e{const{activePatternsCategory:n,activeTemplatesCategory:a,activeTab:r,keywords:s,sortOrder:l}=(0,o.useSelect)((e=>({activePatternsCategory:e(ve).getActivePatternsCategory(),activeTemplatesCategory:e(ve).getActiveTemplatesCategory(),activeTab:e(ve).getActiveTab(),keywords:e(ve).getKeywordsFilter(),sortOrder:e(ve).getSortOrder()})));let i=null;i="patterns"===r?n||I:a||D;const d="patterns"===r?"patterns":"templates";let c=null,f="";f="string"==typeof V&&V.startsWith("http")?V:window.location.origin+V,e||"favorites"===i&&!s?c=new URL(`${f}/favorites`):(c=new URL(`${f}/${d}`),s?c.searchParams.append("keywords",s):c.searchParams.append("category",i),c.searchParams.append("sort_by",l));const{data:u,error:b,isValidating:w,mutate:m,size:p,setSize:h}=Xt(((e,n)=>n&&!n.length?null:(t>0&&(c.searchParams.set("page",e+1),c.searchParams.set("per_page",t)),{url:c.href})),Qe,{revalidateIfStale:!1,revalidateOnFocus:!1,revalidateOnReconnect:!0,errorRetryCount:3,dedupingInterval:5e3});return(0,N.useMemo)((()=>{let e=null;const n=u?[].concat(...u):[];return n&&Array.isArray(n)&&(e=n?.map((e=>({...e,type:d})))),{data:"favorites"!==i?e:n,hasMore:u&&u[u.length-1]?.length===t,isError:b,isValidating:w,isFavorites:"favorites"===i&&!s,mutate:m,size:p,setSize:h}}),[u,i,t,b,w,s,m,p,h,d])},tn=et.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;throw"rejected"===e.status?e.reason:(e.status="pending",e.then((t=>{e.status="fulfilled",e.value=t}),(t=>{e.status="rejected",e.reason=t})),e)}),nn={dedupe:!0},an=(st.defineProperty(Ft,"defaultValue",{value:It}),qt(((e,t,n)=>{const{cache:a,compare:r,suspense:s,fallbackData:o,revalidateOnMount:l,revalidateIfStale:i,refreshInterval:d,refreshWhenHidden:c,refreshWhenOffline:f,keepPreviousData:u}=n,[b,w,m,p]=ut.get(a),[h,v]=Tt(e),g=(0,et.useRef)(!1),y=(0,et.useRef)(!1),_=(0,et.useRef)(h),x=(0,et.useRef)(t),k=(0,et.useRef)(n),E=()=>k.current,C=()=>E().isVisible()&&E().isOnline(),[j,S,M,N]=vt(a,h),T=(0,et.useRef)({}).current,O=ot(o)?n.fallback[h]:o,A=(e,t)=>{for(const n in T){const a=n;if("data"===a){if(!r(e[a],t[a])){if(!ot(e[a]))return!1;if(!r(F,t[a]))return!1}}else if(t[a]!==e[a])return!1}return!0},z=(0,et.useMemo)((()=>{const e=!!h&&!!t&&(ot(l)?!E().isPaused()&&!s&&(!!ot(i)||i):l),n=t=>{const n=it(t);return delete n._k,e?{isValidating:!0,isLoading:!0,...n}:n},a=j(),r=N(),o=n(a),d=a===r?o:n(r);let c=o;return[()=>{const e=n(j());return A(e,c)?(c.data=e.data,c.isLoading=e.isLoading,c.isValidating=e.isValidating,c.error=e.error,c):(c=e,e)},()=>d]}),[a,h]),P=(0,nt.useSyncExternalStore)((0,et.useCallback)((e=>M(h,((t,n)=>{A(n,t)||e()}))),[a,h]),z[0],z[1]),V=!g.current,R=b[h]&&b[h].length>0,B=P.data,I=ot(B)?O:B,D=P.error,L=(0,et.useRef)(I),F=u?ot(B)?L.current:B:I,H=!(R&&!ot(D))&&(V&&!ot(l)?l:!E().isPaused()&&(s?!ot(I)&&i:ot(I)||i)),U=!!(h&&t&&V&&H),G=ot(P.isValidating)?U:P.isValidating,W=ot(P.isLoading)?U:P.isLoading,$=(0,et.useCallback)((async e=>{const t=x.current;if(!h||!t||y.current||E().isPaused())return!1;let a,s,o=!0;const l=e||{},i=!m[h]||!l.dedupe,d=()=>Et?!y.current&&h===_.current&&g.current:h===_.current,c={isValidating:!1,isLoading:!1},f=()=>{S(c)},u=()=>{const e=m[h];e&&e[1]===s&&delete m[h]},p={isValidating:!0};ot(j().data)&&(p.isLoading=!0);try{if(i&&(S(p),n.loadingTimeout&&ot(j().data)&&setTimeout((()=>{o&&d()&&E().onLoadingSlow(h,n)}),n.loadingTimeout),m[h]=[t(v),At()]),[a,s]=m[h],a=await a,i&&setTimeout(u,n.dedupingInterval),!m[h]||m[h][1]!==s)return i&&d()&&E().onDiscarded(h),!1;c.error=rt;const e=w[h];if(!ot(e)&&(s<=e[0]||s<=e[1]||0===e[1]))return f(),i&&d()&&E().onDiscarded(h),!1;const l=j().data;c.data=r(l,a)?l:a,i&&d()&&E().onSuccess(a,h,n)}catch(e){u();const t=E(),{shouldRetryOnError:n}=t;t.isPaused()||(c.error=e,i&&d()&&(t.onError(e,h,t),(!0===n||lt(n)&&n(e))&&(E().revalidateOnFocus&&E().revalidateOnReconnect&&!C()||t.onErrorRetry(e,h,t,(e=>{const t=b[h];t&&t[0]&&t[0](3,e)}),{retryCount:(l.retryCount||0)+1,dedupe:!0}))))}return o=!1,f(),!0}),[h,a]),q=(0,et.useCallback)(((...e)=>zt(a,_.current,...e)),[]);if(St((()=>{x.current=t,k.current=n,ot(B)||(L.current=B)})),St((()=>{if(!h)return;const e=$.bind(rt,nn);let t=0;const n=Zt(h,b,((n,a={})=>{if(0==n){const n=Date.now();E().revalidateOnFocus&&n>t&&C()&&(t=n+E().focusThrottleInterval,e())}else if(1==n)E().revalidateOnReconnect&&C()&&e();else{if(2==n)return $();if(3==n)return $(a)}}));return y.current=!1,_.current=h,g.current=!0,S({_k:v}),H&&(ot(I)||Ct?e():jt(e)),()=>{y.current=!0,n()}}),[h]),St((()=>{let e;function t(){const t=lt(d)?d(j().data):d;t&&-1!==e&&(e=setTimeout(n,t))}function n(){j().error||!c&&!E().isVisible()||!f&&!E().isOnline()?t():$(nn).then(t)}return t(),()=>{e&&(clearTimeout(e),e=-1)}}),[d,c,f,h]),(0,et.useDebugValue)(F),s&&ot(I)&&h){if(!Et&&Ct)throw new Error("Fallback data is required when using suspense in SSR.");x.current=t,k.current=n,y.current=!1;const e=p[h];if(!ot(e)){const t=q(e);tn(t)}if(!ot(D))throw D;{const e=$(nn);ot(F)||(e.status="fulfilled",e.value=!0),tn(e)}}return{mutate:q,get data(){return T.data=!0,F},get error(){return T.error=!0,D},get isValidating(){return T.isValidating=!0,G},get isLoading(){return T.isLoading=!0,W}}}))),rn=(e="patterns")=>{const t="patterns"===e?"categories":"templateCategories",{data:n,error:a,isValidating:r,mutate:s}=an({url:`${V}/${t}`},Qe);return Array.isArray(n)?{data:n,isError:a,isValidating:r,mutate:s}:{data:null,isError:a,isValidating:r}},sn=()=>{const e=F,t=window.nfdWonderBlocks.brand.name,n=window.nfdWonderBlocks.brand.plugin,a=window.nfdWonderBlocks.brand.pluginDashboardPage,[r,s]=(0,N.useState)(!1),{mutate:o}=rn(),{mutate:l}=rn("templates");return(0,G.jsx)("div",{className:"nfd-wba-inset-0 nfd-wba-flex nfd-wba-grow nfd-wba-px-4 nfd-wba-py-8 sm:nfd-wba-px-6 nfd-wba-items-start nfd-wba-justify-center",children:(0,G.jsxs)("div",{className:"nfd-wba-max-w-prose",children:[(0,G.jsxs)("div",{className:"nfd-wba-flex nfd-wba-row nfd-wba-gap-4 nfd-wba-items-center",children:[(0,G.jsx)("h1",{children:"WonderBlocks"}),(0,G.jsxs)("p",{className:"nfd-wba-bg-gray-100 nfd-wba-border-gray-200 nfd-wba-border-solid nfd-wba-border-[1px] nfd-wba-rounded-full nfd-wba-py-1 nfd-wba-px-2 nfd-wba-text-[15px] nfd-wba-text-dark-lighter",children:["v",e]})]}),(0,G.jsx)("p",{className:"nfd-wba-text-[15px]",children:"WonderBlocks lets you customize premade page templates and section design patterns using the built-in Blocks in WordPress – but made wonderful. Take the stress out of going from blank canvas to beautiful creation with professionally-designed Patterns for common website needs."}),(0,G.jsxs)("p",{className:"nfd-wba-text-[15px]",children:["WonderBlocks is a feature of your ",t," hosting plan and is powered by"," "+n,". You can update your WonderBlocks settings"," ",(0,G.jsx)("a",{href:a,className:"nfd-wba-text-blue-500 hover:nfd-wba-underline",children:"here"}),"."]}),(0,G.jsx)(Le.Warning,{className:"nfd-wba-mt-10 nfd-wba-rounded-[4px] nfd-wba-border-gray-200 nfd-wba-bg-gray-100",actions:[(0,G.jsx)(Fe.Button,{variant:"primary",className:"hover:!nfd-wba-bg-brand-darker hover:nfd-wba-text-white focus-visible:nfd-wba-text-white active:nfd-wba-bg-brand-darker-10 active:!nfd-wba-text-white",disabled:r,onClick:async()=>{try{s(!0),await k()({url:`${V}/clear-cache`,method:"POST",headers:{"x-nfd-wonder-blocks":"nfd_wonder_blocks"}}),o(),l(),s(!1)}catch(e){console.error(e)}},children:r?(0,ye.__)("Syncing...","nfd-wonder-blocks"):(0,ye.__)("Sync Now","nfd-wonder-blocks")})],children:(0,G.jsx)("p",{className:"nfd-wba-text-dark-lighter nfd-wba-mt-0.5 nfd-wba-text-[15px]",children:(0,ye.__)("Pattern & Template library automatically syncs once a day. If you want to manually refresh the library, you can do so by pressing the button to get the most recent designs.","nfd-wonder-blocks")})})]})})},on=()=>(0,G.jsx)("div",{className:"nfd-wba-inset-0 nfd-wba-flex nfd-wba-grow nfd-wba-flex-col nfd-wba-px-4 nfd-wba-py-8 sm:nfd-wba-px-6",children:(0,G.jsx)("div",{class:"nfd-wba-relative !nfd-wba-w-full nfd-wba-pb-[56.25%] nfd-wba-h-0 nfd-wba-overflow-hidden",children:(0,G.jsx)("iframe",{src:"https://www.youtube.com/embed/EVzZ-RFZv7c?si=k0Ap5bYJ2nQLQfnk",title:"WonderBlocks Overview",frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerpolicy:"strict-origin-when-cross-origin",allowfullscreen:!0,class:"nfd-wba-absolute nfd-wba-top-0 nfd-wba-left-0 nfd-wba-w-full nfd-wba-h-full nfd-wba-border-0"})})});Object.defineProperty;var ln=new Map,dn=new WeakMap,cn=0;function fn(e,t,n={},a=undefined){if(void 0===window.IntersectionObserver&&void 0!==a){const r=e.getBoundingClientRect();return t(a,{isIntersecting:a,target:e,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:r,intersectionRect:r,rootBounds:r}),()=>{}}const{id:r,observer:s,elements:o}=function(e){const t=function(e){return Object.keys(e).sort().filter((t=>void 0!==e[t])).map((t=>{return`${t}_${"root"===t?(n=e.root,n?(dn.has(n)||(cn+=1,dn.set(n,cn.toString())),dn.get(n)):"0"):e[t]}`;var n})).toString()}(e);let n=ln.get(t);if(!n){const a=new Map;let r;const s=new IntersectionObserver((t=>{t.forEach((t=>{var n;const s=t.isIntersecting&&r.some((e=>t.intersectionRatio>=e));e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=s),null==(n=a.get(t.target))||n.forEach((e=>{e(s,t)}))}))}),e);r=s.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:s,elements:a},ln.set(t,n)}return n}(n),l=o.get(e)||[];return o.has(e)||o.set(e,l),l.push(t),s.observe(e),function(){l.splice(l.indexOf(t),1),0===l.length&&(o.delete(e),s.unobserve(e)),0===o.size&&(s.disconnect(),ln.delete(r))}}function un(){return un=Object.assign||function(e){for(var t=1;t{this.reCalculateColumnCount()}))):this.reCalculateColumnCount()}reCalculateColumnCount(){const e=window&&window.innerWidth||1/0;let t=this.props.breakpointCols;"object"!=typeof t&&(t={default:parseInt(t)||2});let n=1/0,a=t.default||2;for(let r in t){const s=parseInt(r);s>0&&e<=s&&stt().createElement("div",un({},o,{key:t}),e)))}logDeprecated(e){console.error("[Masonry]",e)}render(){const e=this.props,{children:t,breakpointCols:n,columnClassName:a,columnAttrs:r,column:s,className:o}=e,l=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},s=Object.keys(e);for(a=0;a=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["children","breakpointCols","columnClassName","columnAttrs","column","className"]);let i=o;return"string"!=typeof o&&(this.logDeprecated('The property "className" requires a string'),void 0===o&&(i="my-masonry-grid")),tt().createElement("div",un({},l,{className:i}),this.renderColumns())}}pn.defaultProps={breakpointCols:void 0,className:void 0,columnClassName:void 0,children:void 0,columnAttrs:void 0,column:void 0};const hn=pn,vn=(...e)=>e.filter(((e,t,n)=>Boolean(e)&&n.indexOf(e)===t)).join(" ");var gn={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const yn=(0,et.forwardRef)((({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:a,className:r="",children:s,iconNode:o,...l},i)=>(0,et.createElement)("svg",{ref:i,...gn,width:t,height:t,stroke:e,strokeWidth:a?24*Number(n)/Number(t):n,className:vn("lucide",r),...l},[...o.map((([e,t])=>(0,et.createElement)(e,t))),...Array.isArray(s)?s:[s]]))),xn=(e,t)=>{const n=(0,et.forwardRef)((({className:n,...a},r)=>{return(0,et.createElement)(yn,{ref:r,iconNode:t,className:vn(`lucide-${s=e,s.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,n),...a});var s}));return n.displayName=`${e}`,n},kn=xn("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]),En=xn("HeartOff",[["line",{x1:"2",y1:"2",x2:"22",y2:"22",key:"1w4vcy"}],["path",{d:"M16.5 16.5 12 21l-7-7c-1.5-1.45-3-3.2-3-5.5a5.5 5.5 0 0 1 2.14-4.35",key:"3mpagl"}],["path",{d:"M8.76 3.1c1.15.22 2.13.78 3.24 1.9 1.5-1.5 2.74-2 4.5-2A5.5 5.5 0 0 1 22 8.5c0 2.12-1.3 3.78-2.67 5.17",key:"1gh3v3"}]]),Cn=xn("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]),jn=window.wp.editor,Sn=window.wp.notices,Mn=(0,N.memo)((({item:e})=>{var t;const[n,a]=(0,N.useState)(!1),[r,s]=(0,N.useState)(!1),{data:l,mutate:i}=en({onlyFavorites:!0}),d=(0,N.useRef)(),[c,f]=(0,N.useState)(!1),{adminEmail:u}=(0,o.useSelect)((e=>({adminEmail:e("core").getEntityRecord("root","site")?.email}))),b=(0,N.useCallback)(((e="",t={})=>{let n=e;return Object.keys(t).forEach((e=>{"string"==typeof t[e]&&(n=n.replaceAll(e,t[e]))})),n}),[]),w=(0,N.useMemo)((()=>({"email@example.com":u})),[u]),{data:m,mutate:p}=en({onlyFavorites:!0,perPage:-1}),h=null!==(t=e?.content)&&void 0!==t?t:"",v=(0,N.useMemo)((()=>Je(b(h,w))),[b,h,w,Je]),g=(0,N.useMemo)((()=>(0,H.rawHandler)({HTML:v})),[v]),y=(0,N.useMemo)((()=>{const e=h.replace(/https?:\/\/[\w-]+(\.[\w-]+)+([\w.,@?^=%&:/~+#-]*[\w@?^=%&/~+#-;]*)?/g,(e=>{const t=e.match(/w=(\d+)/),n=e.match(/h=(\d+)/),a=e.match(/q=(\d+)/);let r=e;if(t){const n=Math.floor(Number(t[1])/2);r=e.replace(`w=${t[1]}`,`w=${n}`)}if(n){const e=Math.floor(Number(n[1])/2);r=r.replace(`h=${n[1]}`,`h=${e}`)}return a&&(r=r.replace(`${a[0]}`,"q=50")),r}));return(0,H.rawHandler)({HTML:Je(e)})}),[h,Je]),{createErrorNotice:_,createSuccessNotice:x}=(0,o.useDispatch)(Sn.store),{editPost:E}=(0,o.useDispatch)(jn.store),{setIsModalOpen:C}=(0,o.useDispatch)(ve),{activeTab:j,activeTemplatesCategory:S,activePatternsCategory:M,selectedTemplateSlug:T,keywords:O,currentTheme:A}=(0,o.useSelect)((e=>({activeTab:e(ve).getActiveTab(),activeTemplatesCategory:e(ve).getActiveTemplatesCategory(),activePatternsCategory:e(ve).getActivePatternsCategory(),selectedTemplateSlug:e(jn.store).getEditedPostAttribute("template"),keywords:e(ve).getKeywordsFilter(),currentTheme:e("core").getCurrentTheme()}))),z=(0,N.useCallback)((()=>"patterns"===j&&"favorites"===M&&n&&!O||"templates"===j&&"favorites"===S&&n&&!O),[M,j,S,n,O]),P=(0,N.useCallback)((()=>{if("templates"===e?.type&&"yith-wonder"===A?.template)if(e?.slug.includes("coming-soon")||e?.slug.includes("link-in-bio")){if("no-header-footer"!==T)return"no-header-footer"}else if("no-title"!==T)return"no-title";return!1}),[e?.type,e?.slug,A?.template,T]),R=(0,N.useCallback)((()=>{const e=P();e&&E({template:e})}),[P,E]),B=(0,N.useCallback)((()=>{"patterns"===j?ge("pattern_inserted",{label_key:"pattern_slug",pattern_id:e.id,pattern_slug:e.slug}):"templates"===j&&ge("template_inserted",{label_key:"template_slug",template_id:e.id,template_slug:e.slug})}),[j,e.id,e.slug]);(0,N.useEffect)((()=>{let t=!1;Array.isArray(m)&&(t=m.find((t=>t.id===e.id)),a(!!t))}),[m,e.id]);const I=async()=>{s(!0);try{R(),await(e=>{const{insertBlocks:t,replaceBlock:n}=(0,o.dispatch)("core/block-editor"),{getSelectedBlock:a,getBlockHierarchyRootClientId:r,getBlockIndex:s,getGlobalBlockCount:l}=(0,o.select)("core/block-editor"),{clientId:i,name:d,attributes:c}=a()||{},f=i?r(i):"",u=(f?s(f):l())+1;return"core/paragraph"===d&&""===c?.content?n(i,e):t(e,u)})(g),B(),x((0,ye.sprintf)( // translators: %s is the pattern title // translators: %s is the pattern title -(0,ye.__)('Block pattern "%s" inserted.',"nfd-wonder-blocks"),e.title),{type:"snackbar"})}catch(e){_((0,ye.__)("Failed to insert block pattern. Please try again.","nfd-wonder-blocks"),{type:"snackbar"}),console.warn(e)}finally{s(!1),C(!1)}},L=async(t=!0)=>{if(n&&!t)return;n||("patterns"===j?ge("pattern_favorited",{label_key:"pattern_slug",pattern_id:e.id,pattern_slug:e.slug}):"templates"===j&&ge("template_favorited",{label_key:"template_slug",template_id:e.id,template_slug:e.slug})),a((e=>!e));const r=n?"DELETE":"POST",s="DELETE"===r?l.filter((t=>t.id!==e.id)):[...l,{...e,type:j}],o="DELETE"===r?m.filter((t=>t.id!==e.id)):[...m,{...e,type:j}];i((async()=>await k()({url:`${V}/favorites`,method:r,data:{...e,type:j},headers:{"x-nfd-wonder-blocks":"nfd_wonder_blocks"}})),{optimisticData:[...s],rollbackOnError:!1,populateCache:!0,revalidate:!1}),p((()=>[...o]),{optimisticData:[...o],rollbackOnError:!1,populateCache:!0,revalidate:!1})};return(0,N.useEffect)((()=>{f(!0);const e=setTimeout((()=>{f(!1)}),600),t=setTimeout((()=>{f((e=>!e))}),1e3);return()=>{clearTimeout(e),clearTimeout(t)}}),[j,S,M]),(0,N.useEffect)((()=>{let e;const t=()=>{const n=d.current,a=n?.querySelector("iframe[title]"),r=a?.contentDocument;if(r){const e=r.querySelector(".is-root-container"),t=e?.scrollHeight||0;let s=n.querySelector('[style*="scale"]')?.style?.transform?.match(/scale\((.*?)\)/)?.[1];s=s?parseFloat(s):1;const o=.3*window.innerWidth/s;t{clearTimeout(e),e=setTimeout(t,500)};return window.addEventListener("resize",n),t(),e=setTimeout(t,1e3),()=>{clearTimeout(e),window.removeEventListener("resize",n)}}),[e?.type,c]),(0,G.jsx)(G.Fragment,{children:(0,G.jsxs)("div",{className:"nfd-wba-relative nfd-wba-mb-[var(--nfd-wba-masonry-gap)] nfd-wba-flex nfd-wba-flex-col nfd-wba-border-grey-b nfd-wba-transition-all nfd-wba-duration-75 hover:nfd-wba-border-gray-300 nfd-wba-border nfd-wba-overflow-clip nfd-wba-rounded nfd-wba-border-solid",children:[(0,G.jsx)("div",{className:Ge()("nfd-wba-design-item nfd-wba-flex nfd-wba-min-h-[116px] nfd-wba-cursor-pointer nfd-wba-flex-col nfd-wba-justify-center nfd-wba-bg-white nfd-wba-transition-opacity focus-visible:nfd-wba-outline-2 focus-visible:nfd-wba-outline-brand nfd-wba-rounded","templates"===e?.type&&"nfd-wba-design-item--template",r&&"nfd-wba-inserting-design"),ref:d,role:"button",tabIndex:"0",onClick:()=>B(),onKeyUp:e=>{"Enter"===e.key&&B()},children:y&&(0,G.jsx)(De.BlockPreview,{blocks:y,viewportWidth:1200,live:!1})}),(0,G.jsxs)("div",{className:"nfd-wba-flex nfd-wba-py-2 nfd-wba-px-5 nfd-wba-items-center nfd-wba-justify-between nfd-wba-gap-3 nfd-wba-border-0 nfd-wba-border-grey-b nfd-wba-border-solid nfd-wba-border-t",children:[(0,G.jsx)("div",{}),(0,G.jsxs)("div",{className:"nfd-wba-flex nfd-wba-gap-0.5 nfd-wba-shrink-0 nfd-wba-items-center",children:[e?.isPremium&&(0,G.jsx)("span",{className:"nfd-wba-rounded nfd-wba-bg-dark nfd-wba-px-[10px] nfd-wba-py-[5px] nfd-wba-text-white",children:"Premium"}),!A()&&(0,G.jsx)(Fe.Button,{className:Ge()("nfd-wba-size-9 nfd-wba-text-gray-500 hover:nfd-wba-text-gray-900 hover:nfd-wba-bg-gray-100 !nfd-wba-min-w-0 nfd-wba-rounded-full nfd-wba-bg-white nfd-wba-transition-all nfd-wba-duration-75",n?"nfd-wba-cursor-default nfd-wba-bg-gray-100 !nfd-wba-text-red-600":"nfd-wba-cursor-not-pointer hover:nfd-wba-text-red-600"),showTooltip:!0,label:n?(0,ye.__)("Added to favorites","nfd-wonder-blocks"):(0,ye.__)("Add to favorites","nfd-wonder-blocks"),onClick:()=>L(!1),icon:(0,G.jsx)(yn,{className:Ge()(" nfd-wba-shrink-0 nfd-wba-size-5",!n&&"!nfd-wba-fill-none")})}),A()&&(0,G.jsx)(Fe.Button,{className:Ge()("nfd-wba-size-9 nfd-wba-text-gray-500 hover:nfd-wba-bg-gray-100 !nfd-wba-min-w-0 nfd-wba-rounded-full nfd-wba-bg-white nfd-wba-transition-all nfd-wba-duration-75 hover:nfd-wba-text-red-600"),showTooltip:!0,label:(0,ye.__)("Remove from Favorites","nfd-wonder-blocks"),onClick:()=>L(),icon:(0,G.jsx)(xn,{className:"nfd-wba-shrink-0 nfd-wba-size-5 !nfd-wba-fill-none"})}),(0,G.jsx)(Fe.Button,{className:"nfd-wba-size-9 nfd-wba-text-gray-500 hover:nfd-wba-text-gray-900 hover:nfd-wba-bg-gray-100 !nfd-wba-min-w-0 nfd-wba-rounded-full nfd-wba-bg-white nfd-wba-transition-all nfd-wba-duration-75",isBusy:r,isPressed:r,label:(0,ye.__)("Add pattern to page","nfd-wonder-blocks"),showTooltip:!0,onClick:()=>B(),icon:(0,G.jsx)(kn,{className:"nfd-wba-shrink-0 !nfd-wba-fill-none nfd-wba-size-5"})})]})]})]})})})),Sn=(0,N.memo)((({data:e})=>{const{gridColumns:t,sortOrder:n}=(0,o.useSelect)((e=>({gridColumns:e(ve).getModalGridColumns(),sortOrder:e(ve).getSortOrder()})));return e&&Array.isArray(e)?(0,G.jsx)(G.Fragment,{children:(0,G.jsx)(mn,{breakpointCols:{default:t,1600:2,1100:1},className:"nfd-wba-design-list nfd-wba-flex nfd-wba-w-auto sm:-nfd-wba-ml-[var(--nfd-wba-masonry-gap)]",columnClassName:"nfd-wba-design-list__column sm:nfd-wba-pl-[var(--nfd-wba-masonry-gap)]",children:e?.map(((e,t)=>(0,G.jsx)(jn,{item:e},`${e.key}-${t}-${n}`)))},`nfd-wba-masonry-${t}`)}):null}));var Mn,Nn;function Tn(){return Tn=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const e=(0,N.createInterpolateElement)((0,ye.__)("Sorry! There was an error loading this page. If this issue persists, contact our support team."),{a:(0,G.jsx)("a",{href:R,target:"_blank",rel:"noreferrer",children:(0,ye.__)("support team","nfd-wonder-blocks")})});return(0,G.jsx)("div",{className:"nfd-wba-flex nfd-wba-grow nfd-wba-items-center nfd-wba-justify-center",children:(0,G.jsxs)("div",{className:"nfd-wba-state-message nfd-wba-flex nfd-wba-w-full nfd-wba-max-w-[640px] nfd-wba-flex-col nfd-wba-items-center nfd-wba-justify-center nfd-wba-gap-8 nfd-wba-pb-[10%]",children:[(0,G.jsx)(On,{}),(0,G.jsx)("p",{className:"nfd-wba-m-0 nfd-wba-text-center nfd-wba-text-2xl nfd-wba-font-light nfd-wba-text-dark",children:e})]})})},An={"patterns-gallery":_e,"patterns-blog":xe,"patterns-call-to-action":ke,"patterns-faq":Ee,"patterns-features":Ce,"patterns-forms":je,"patterns-headings":Se,"patterns-hero":Me,"patterns-pricing-table":Ne,"patterns-menu":Te,"patterns-team":Oe,"patterns-testimonials":ze,"patterns-text":Ae,"patterns-header":Pe,"patterns-footer":Ve,"patterns-products":Re,"patterns-media-embeds":(0,G.jsxs)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,G.jsx)(U.Path,{d:"m7 6.5 4 2.5-4 2.5z"}),(0,G.jsx)(U.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"m5 3c-1.10457 0-2 .89543-2 2v14c0 1.1046.89543 2 2 2h14c1.1046 0 2-.8954 2-2v-14c0-1.10457-.8954-2-2-2zm14 1.5h-14c-.27614 0-.5.22386-.5.5v10.7072l3.62953-2.6465c.25108-.1831.58905-.1924.84981-.0234l2.92666 1.8969 3.5712-3.4719c.2911-.2831.7545-.2831 1.0456 0l2.9772 2.8945v-9.3568c0-.27614-.2239-.5-.5-.5zm-14.5 14.5v-1.4364l4.09643-2.987 2.99567 1.9417c.2936.1903.6798.1523.9307-.0917l3.4772-3.3806 3.4772 3.3806.0228-.0234v2.5968c0 .2761-.2239.5-.5.5h-14c-.27614 0-.5-.2239-.5-.5z"})]}),"patterns-featured":(0,G.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,G.jsx)(U.Path,{d:"M11.776 4.454a.25.25 0 01.448 0l2.069 4.192a.25.25 0 00.188.137l4.626.672a.25.25 0 01.139.426l-3.348 3.263a.25.25 0 00-.072.222l.79 4.607a.25.25 0 01-.362.263l-4.138-2.175a.25.25 0 00-.232 0l-4.138 2.175a.25.25 0 01-.363-.263l.79-4.607a.25.25 0 00-.071-.222L4.754 9.881a.25.25 0 01.139-.426l4.626-.672a.25.25 0 00.188-.137l2.069-4.192z"})})};var Pn,Vn,Rn,In,Bn,Ln,Dn,Fn,Hn,Un,Gn,Wn,$n,qn,Zn,Kn,Qn,Yn,Jn,Xn,ea,ta,na,aa,ra;function sa(){return sa=Object.assign?Object.assign.bind():function(e){for(var t=1;t(0,G.jsx)("button",{className:Ge()("nfd-wba-text-base nfd-wba-pl-5 nfd-wba-pr-6 nfd-wba-py-3 nfd-wba-rounded-[4px] nfd-wba-cursor-pointer nfd-wba-border nfd-wba-bg-transparent nfd-wba-border-solid focus-visible:nfd-wba-outline-brand nfd-wba-border-grey-b nfd-wba-text-current hover:nfd-wba-text-brand hover:nfd-wba-border-brand",t),type:"button",ref:s,...r,children:(0,G.jsxs)("span",{className:"nfd-wba-flex nfd-wba-items-center nfd-wba-gap-2 nfd-wba-text-left",children:[n&&n,(0,G.jsx)("span",{children:e})]})}))),ua=fa;fa.displayName="CategoryButton";const wa=({isFavorites:e})=>{let t;const{setActivePatternsCategory:n,setShouldResetKeywords:a}=(0,o.useDispatch)(ve);if(e){const e=(0,ye.__)("Click the %s on your favorite and frequently-used Patterns & Templates for quick access.","nfd-wonder-blocks").split("%s");t=(0,G.jsxs)("span",{children:[e[0],(0,G.jsx)(yn,{className:"nfd-wba-fill-red-600 nfd-wba-stroke-red-600 -nfd-wba-mt-2 nfd-wba-align-middle"}),e[1]]})}else t=(0,ye.__)("Sorry, we couldn't find any results for that. Please try a different search term.","nfd-wonder-blocks");const r=e?(0,G.jsx)(ia,{}):(0,G.jsx)(ca,{});return(0,G.jsx)("div",{className:"nfd-wba-flex nfd-wba-grow nfd-wba-items-center nfd-wba-justify-center",children:(0,G.jsxs)("div",{className:"nfd-wba-state-message nfd-wba-flex nfd-wba-w-full nfd-wba-max-w-[640px] nfd-wba-flex-col nfd-wba-items-center nfd-wba-justify-center nfd-wba-gap-8 nfd-wba-pb-[10%]",children:[r,(0,G.jsx)("p",{className:"nfd-wba-m-0 nfd-wba-max-w-[420px] nfd-wba-text-center nfd-wba-text-2xl nfd-wba-font-light nfd-wba-text-dark",children:t}),e&&(0,G.jsxs)("div",{className:"nfd-wba-flex nfd-wba-gap-6 nfd-wba-mt-8",children:[(0,G.jsx)(ua,{category:"Features",icon:(0,G.jsx)(Le,{icon:An["patterns-features"],size:24,className:"nfd-wba-fill-current"}),onClick:()=>{n("features"),a(!0)}}),(0,G.jsx)(ua,{category:"Text",icon:(0,G.jsx)(Le,{icon:An["patterns-text"],size:24,className:"nfd-wba-fill-current"}),onClick:()=>{n("text"),a(!0)}})]})]})})},ba=gn("ArrowUpDown",[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]]),ma=gn("CalendarArrowDown",[["path",{d:"m14 18 4 4 4-4",key:"1waygx"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M18 14v8",key:"irew45"}],["path",{d:"M21 11.354V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7.343",key:"bse4f3"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 2v4",key:"1cmpym"}]]),pa=gn("CalendarArrowUp",[["path",{d:"m14 18 4-4 4 4",key:"ftkppy"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M18 22v-8",key:"su0gjh"}],["path",{d:"M21 11.343V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h9",key:"1exg90"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 2v4",key:"1cmpym"}]]),ha=gn("Grid2x2",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M12 3v18",key:"108xh3"}]]),va=gn("Columns2",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 3v18",key:"108xh3"}]]),ga=gn("Columns3",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]]),ya=gn("Columns4",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7.5 3v18",key:"w0wo6v"}],["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M16.5 3v18",key:"10tjh1"}]]),_a=(0,G.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,G.jsx)(U.Path,{d:"M13 5c-3.3 0-6 2.7-6 6 0 1.4.5 2.7 1.3 3.7l-3.8 3.8 1.1 1.1 3.8-3.8c1 .8 2.3 1.3 3.7 1.3 3.3 0 6-2.7 6-6S16.3 5 13 5zm0 10.5c-2.5 0-4.5-2-4.5-4.5s2-4.5 4.5-4.5 4.5 2 4.5 4.5-2 4.5-4.5 4.5z"})}),xa=(0,G.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,G.jsx)(U.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"})});var ka=n(221),Ea=n.n(ka);const Ca=()=>{const{setActivePatternsCategory:e,setActiveTemplatesCategory:t,setShouldResetKeywords:n,setCurrentView:a}=(0,o.useDispatch)(ve);return r=>{"string"==typeof r&&("library"===r||"favorites"===r?a("library"):"info"===r?(a("info"),e(""),t(""),n(!0)):"about"===r&&(a("about"),e(""),t(""),n(!0)))}},ja=()=>{const[e,t]=(0,N.useState)(""),[n,a]=(0,N.useState)(!1),[r,s]=(0,N.useTransition)(),[l,i]=(0,N.useState)(!1),[d,c]=(0,N.useState)(!1),f=(0,N.useRef)(null),u=(0,N.useRef)(null),w=Ca(),{suggestions:b,loadSuggestions:m,addSuggestion:p,removeSuggestion:h}=((e="nfdWBSearchTerms",t=10)=>{const[n,a]=(0,Je.useState)([]);return(0,Je.useEffect)((()=>{const t=JSON.parse(localStorage.getItem(e))||[];a(t)}),[e]),{suggestions:n,setSuggestions:a,addSuggestion:r=>{if(r.length<4)return;let s=[...n];s=s.filter((e=>e!==r)),s.unshift(r),s.length>t&&s.pop(),a(s),localStorage.setItem(e,JSON.stringify(s))},removeSuggestion:t=>{const r=n.filter((e=>e!==t));a(r),localStorage.setItem(e,JSON.stringify(r))},loadSuggestions:()=>{const e=JSON.parse(localStorage.getItem("nfdWBSearchTerms"))||[];a(e)}}})(),{setKeywordsFilter:v,setShouldResetKeywords:g}=(0,o.useDispatch)(ve),{isSidebarLoading:y,shouldResetKeywords:_}=(0,o.useSelect)((e=>({isSidebarLoading:e(ve).isSidebarLoading(),shouldResetKeywords:e(ve).shouldResetKeywords()})));return(0,N.useEffect)((()=>{const t=Ea()((()=>{s((()=>{v(e.trim()),w("library"),e.trim().length>=5&&p(e.trim())}))}),""===e.trim()?0:800);return"string"==typeof e&&e.trim().length>=2?t():s((()=>{v("")})),t.cancel}),[e,v]),(0,N.useEffect)((()=>{_&&(t(""),g(!1))}),[g,_]),(0,N.useEffect)((()=>{const e=e=>{f.current&&!f.current.contains(e.target)&&u.current&&!u.current.contains(e.target)&&a(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[]),(0,N.useEffect)((()=>{const e=Ea()((()=>{s((()=>{i(!0)}))}));return n&&b.length>0?e():s((()=>{i(!1)})),e.cancel}),[n,b]),(0,G.jsxs)("div",{className:"nfd-wba-relative nfd-wba-flex nfd-wba-items-center nfd-wba-gap-x-3",children:[!n&&(0,G.jsx)(Fe.Button,{label:(0,ye.__)("Search","nfd-wonder-blocks"),"aria-label":(0,ye.__)("Search","nfd-wonder-blocks"),"aria-haspopup":"true","aria-expanded":n,"aria-controls":"nfd-wba-filter-patterns","aria-busy":r,className:"nfd-wba-search-toggle sm:nfd-wba-hidden",type:"button",showTooltip:!0,onClick:()=>{a(!0),setTimeout((()=>{f.current?.focus()}),50)},children:(0,G.jsx)(Le,{icon:_a,iconSize:24})}),(0,G.jsx)(Fe.SearchControl,{id:"nfd-wba-filter-patterns",ref:f,className:Ge()("nfd-wba-keyword-filter nfd-wba-m-0",!n&&"nfd-wba-invisible sm:nfd-wba-visible"),disabled:y,label:(0,ye.__)("Search","nfd-wonder-blocks"),hideLabelFromVision:!0,placeholder:(0,ye.__)("Search","nfd-wonder-blocks"),value:e,onFocus:()=>{a(!0),c(!1),m()},onBlur:()=>{d||setTimeout((()=>{a(!1)}),100)},onChange:e=>{t(e)}}),l&&(0,G.jsx)("ul",{ref:u,className:"nfd-wba-absolute nfd-wba-bg-white nfd-wba-shadow-lg nfd-wba-w-full nfd-wba-max-h-40 nfd-wba-overflow-y-auto nfd-wba-z-10 nfd-wba-mt-9 nfd-wba-top-0 nfd-wba-mb-0",children:b.map(((n,a)=>!e||n.toLowerCase().includes(e.toLowerCase())&&n.toLowerCase()!==e.toLowerCase()?(0,G.jsxs)("li",{className:"nfd-wba-flex nfd-wba-justify-between nfd-wba-items-center nfd-wba-pl-3 nfd-wba-py-1.5 nfd-wba-pr-1 nfd-wba-mb-0 nfd-wba-cursor-pointer hover:nfd-wba-bg-gray-100 nfd-wba-text-gray-500 last:nfd-wba-mb-1.5 first:nfd-wba-mt-1.5",children:[(0,G.jsx)("span",{onMouseDown:()=>t(n),className:"nfd-wba-flex-grow",children:n}),(0,G.jsx)("button",{type:"button",className:"nfd-wba-bg-transparent nfd-wba-border-none nfd-wba-cursor-pointer nfd-wba-flex nfd-wba-items-center",onMouseDown:e=>{e.stopPropagation(),c(!0),h(n)},onMouseUp:()=>c(!1),children:(0,G.jsx)(Le,{icon:xa,size:16,className:"nfd-wba-fill-gray-500"})})]},a):null))})]})},Sa=()=>{const{setModalGridColumns:e,setSortOrder:t}=(0,o.useDispatch)(ve),{gridColumns:n,sortOrder:a}=(0,o.useSelect)((e=>({gridColumns:e(ve).getModalGridColumns(),sortOrder:e(ve).getSortOrder()})));return(0,G.jsx)("div",{className:"nfd-wba-modal__content-filter",children:(0,G.jsxs)("div",{className:"nfd-wba-flex nfd-wba-items-center nfd-wba-gap-x-2",children:[(0,G.jsx)(Fe.DropdownMenu,{icon:(0,G.jsx)(ba,{className:"!nfd-wba-fill-none nfd-wba-w-4 nfd-wba-h-4"}),toggleProps:{className:"!nfd-wba-px-3 nfd-wba-mt-0.5",children:(0,G.jsxs)("span",{className:"nfd-wba-ml-2",children:[(0,ye.__)("Sort By: ","nfd-wonder-blocks"),a.split("-").map((e=>e.charAt(0).toUpperCase()+e.slice(1))).join(" ")]})},label:(0,ye.__)("Sort By","nfd-wonder-blocks"),popoverProps:{className:"nfd-wba-filter-dropdown"},controls:[{title:(0,ye.__)("Newest","nfd-wonder-blocks"),onClick:()=>t("newest"),icon:(0,G.jsx)(ma,{className:"nfd-wba-w-4 nfd-wba-h-4 !nfd-wba-fill-none"}),isActive:"newest"===a},{title:(0,ye.__)("Oldest","nfd-wonder-blocks"),onClick:()=>t("oldest"),icon:(0,G.jsx)(pa,{className:"nfd-wba-w-4 nfd-wba-h-4 !nfd-wba-fill-none"}),isActive:"oldest"===a}]}),(0,G.jsx)(Fe.DropdownMenu,{icon:(0,G.jsx)(ha,{className:"!nfd-wba-fill-none nfd-wba-w-4 nfd-wba-h-4"}),toggleProps:{className:"!nfd-wba-px-3 nfd-wba-mt-0.5",children:(0,G.jsx)("span",{className:"nfd-wba-ml-2",children:(0,ye.__)("Grid View","nfd-wonder-blocks")})},popoverProps:{className:"nfd-wba-filter-dropdown"},label:(0,ye.__)("Grid View","nfd-wonder-blocks"),controls:[{title:(0,ye.__)("2 columns","nfd-wonder-blocks"),icon:(0,G.jsx)(va,{className:"nfd-wba-w-4 nfd-wba-h-4 !nfd-wba-fill-none"}),onClick:()=>e(2),isActive:2===n},{title:(0,ye.__)("3 columns","nfd-wonder-blocks"),icon:(0,G.jsx)(ga,{className:"nfd-wba-w-4 nfd-wba-h-4 !nfd-wba-fill-none"}),onClick:()=>e(3),isActive:3===n},{title:(0,ye.__)("4 columns","nfd-wonder-blocks"),icon:(0,G.jsx)(ya,{className:"nfd-wba-w-4 nfd-wba-h-4 !nfd-wba-fill-none"}),onClick:()=>e(4),isActive:4===n}]})]})})},Ma=({size:e="regular",color:t="dark"})=>(0,G.jsxs)("div",{className:"nfd-wba-m-0 -nfd-wba-ml-1 nfd-wba-flex nfd-wba-items-center nfd-wba-gap-2 nfd-wba-text-lg nfd-wba-font-normal nfd-wba-text-dark",children:[(0,G.jsx)(Le,{className:Ge()("brand"===t&&"nfd-wba-stroke-brand"),size:"large"===e?40:24,icon:$}),(0,G.jsx)("span",{className:Ge()("nfd-wba-select-none","large"===e&&"nfd-wba-text-3xl","brand"===t&&"nfd-wba-text-brand"),children:z})]}),Na=({size:e=60})=>(0,G.jsx)("div",{className:"nfd-wba-flex nfd-wba-shrink-0 nfd-wba-grow-0 nfd-wba-animate-spin nfd-wba-rounded-full nfd-wba-border-2 nfd-wba-border-solid nfd-wba-border-brand nfd-wba-border-r-brand/10 nfd-wba-align-[-0.125em]",style:{width:`${e}px`,height:`${e}px`},role:"status",children:(0,G.jsx)("span",{className:"nfd-wba-sr-only",children:(0,ye.__)("Loading…","nfd-wonder-blocks")})}),Ta=function({isComplete:e}){return e?null:(0,G.jsxs)("div",{className:"nfd-wba-absolute nfd-wba-inset-0 nfd-wba-z-[2] nfd-wba-flex nfd-wba-flex-col nfd-wba-items-center nfd-wba-justify-start nfd-wba-gap-y-6 nfd-wba-bg-white nfd-wba-px-6 nfd-wba-pt-10 sm:nfd-wba-justify-center sm:nfd-wba-pb-40 sm:nfd-wba-pt-0",children:[(0,G.jsx)(Ma,{size:"large",color:"brand"}),(0,G.jsx)("h2",{className:"nfd-wba-m-0 nfd-wba-mb-3 nfd-wba-max-w-[300px] nfd-wba-text-center nfd-wba-text-xl nfd-wba-font-light nfd-wba-text-balance nfd-wba-text-dark-lighter sm:nfd-wba-max-w-full",children:(0,ye.__)("One moment while we load content tailored for your site.","nfd-wonder-blocks")}),(0,G.jsx)(Na,{})]})},Oa=(0,N.memo)((({count:e=6,minHeight:t=120,maxHeight:n=320})=>{const a=(0,N.useMemo)((()=>{const a=[];for(let r=0;r(0,G.jsxs)("div",{className:"nfd-wba-skeleton--item nfd-wba-mb-[var(--nfd-wba-masonry-gap)] nfd-wba-flex nfd-wba-w-full nfd-wba-flex-col nfd-wba-gap-6 nfd-wba-rounded-2xl nfd-wba-bg-grey nfd-wba-p-6",children:[(0,G.jsx)("div",{className:"nfd-wba-rounded-[9px] nfd-wba-border-2 nfd-wba-border-solid nfd-wba-border-grey-darker/20",style:{height:`${e}px`}}),(0,G.jsxs)("div",{className:"nfd-wba-flex nfd-wba-items-center nfd-wba-justify-between nfd-wba-gap-14",children:[(0,G.jsx)("div",{className:"nfd-wba-h-12 nfd-wba-max-w-[270px] nfd-wba-grow nfd-wba-rounded-lg nfd-wba-bg-grey-darker/20"}),(0,G.jsxs)("div",{className:"items-center nfd-wba-flex nfd-wba-gap-3",children:[(0,G.jsx)("div",{className:"nfd-wba-h-12 nfd-wba-w-12 nfd-wba-rounded-lg nfd-wba-bg-grey-darker/20"}),(0,G.jsx)("div",{className:"nfd-wba-h-12 nfd-wba-w-12 nfd-wba-rounded-lg nfd-wba-bg-grey-darker/20"})]})]})]}),Aa=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,Pa=e=>{if("string"!=typeof e)throw new TypeError("Invalid argument expected string");const t=e.match(Aa);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},Va=e=>"*"===e||"x"===e||"X"===e,Ra=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},Ia=(e,t)=>{if(Va(e)||Va(t))return 0;const[n,a]=((e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t])(Ra(e),Ra(t));return n>a?1:n{for(let n=0;n":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1],"!=":[-1,1]},Da=Object.keys(La),Fa=e=>{if("string"!=typeof e)throw new TypeError("Invalid operator type, expected string but got "+typeof e);if(-1===Da.indexOf(e))throw new Error(`Invalid operator, expected one of ${Da.join("|")}`)},Ha=window.wp.url,Ua=()=>{try{if(((e,t,n)=>{Fa(n);const a=((e,t)=>{const n=Pa(e),a=Pa(t),r=n.pop(),s=a.pop(),o=Ba(n,a);return 0!==o?o:r&&s?Ba(r.split("."),s.split(".")):r||s?r?-1:1:0})(e,t);return La[n].includes(a)})(Ye(A),Ye("6.3.1"),">="))return null}catch(e){return console.error("Error comparing versions:",e),null}const e=(0,Ha.addQueryArgs)("update-core.php"),t=(0,N.createInterpolateElement)((0,ye.sprintf)( +(0,ye.__)('Block pattern "%s" inserted.',"nfd-wonder-blocks"),e.title),{type:"snackbar"})}catch(e){_((0,ye.__)("Failed to insert block pattern. Please try again.","nfd-wonder-blocks"),{type:"snackbar"}),console.warn(e)}finally{s(!1),C(!1)}},D=async(t=!0)=>{if(n&&!t)return;n||("patterns"===j?ge("pattern_favorited",{label_key:"pattern_slug",pattern_id:e.id,pattern_slug:e.slug}):"templates"===j&&ge("template_favorited",{label_key:"template_slug",template_id:e.id,template_slug:e.slug})),a((e=>!e));const r=n?"DELETE":"POST",s="DELETE"===r?l.filter((t=>t.id!==e.id)):[...l,{...e,type:j}],o="DELETE"===r?m.filter((t=>t.id!==e.id)):[...m,{...e,type:j}];i((async()=>await k()({url:`${V}/favorites`,method:r,data:{...e,type:j},headers:{"x-nfd-wonder-blocks":"nfd_wonder_blocks"}})),{optimisticData:[...s],rollbackOnError:!1,populateCache:!0,revalidate:!1}),p((()=>[...o]),{optimisticData:[...o],rollbackOnError:!1,populateCache:!0,revalidate:!1})};return(0,N.useEffect)((()=>{f(!0);const e=setTimeout((()=>{f(!1)}),600),t=setTimeout((()=>{f((e=>!e))}),1e3);return()=>{clearTimeout(e),clearTimeout(t)}}),[j,S,M]),(0,N.useEffect)((()=>{let e;const t=()=>{const n=d.current,a=n?.querySelector("iframe[title]"),r=a?.contentDocument;if(r){const e=r.querySelector(".is-root-container"),t=e?.scrollHeight||0;let s=n.querySelector('[style*="scale"]')?.style?.transform?.match(/scale\((.*?)\)/)?.[1];s=s?parseFloat(s):1;const o=.3*window.innerWidth/s;t{clearTimeout(e),e=setTimeout(t,500)};return window.addEventListener("resize",n),t(),e=setTimeout(t,1e3),()=>{clearTimeout(e),window.removeEventListener("resize",n)}}),[e?.type,c]),(0,G.jsx)(G.Fragment,{children:(0,G.jsxs)("div",{className:"nfd-wba-relative nfd-wba-mb-[var(--nfd-wba-masonry-gap)] nfd-wba-flex nfd-wba-flex-col nfd-wba-border-grey-b nfd-wba-transition-all nfd-wba-duration-75 hover:nfd-wba-border-gray-300 nfd-wba-border nfd-wba-overflow-clip nfd-wba-rounded nfd-wba-border-solid",children:[(0,G.jsx)("div",{className:Ge()("nfd-wba-design-item nfd-wba-flex nfd-wba-min-h-[116px] nfd-wba-cursor-pointer nfd-wba-flex-col nfd-wba-justify-center nfd-wba-bg-white nfd-wba-transition-opacity focus-visible:nfd-wba-outline-2 focus-visible:nfd-wba-outline-brand nfd-wba-rounded","templates"===e?.type&&"nfd-wba-design-item--template",r&&"nfd-wba-inserting-design"),ref:d,role:"button",tabIndex:"0",onClick:()=>I(),onKeyUp:e=>{"Enter"===e.key&&I()},children:y&&(0,G.jsx)(Le.BlockPreview,{blocks:y,viewportWidth:1200,live:!1})}),(0,G.jsxs)("div",{className:"nfd-wba-flex nfd-wba-py-2 nfd-wba-px-5 nfd-wba-items-center nfd-wba-justify-between nfd-wba-gap-3 nfd-wba-border-0 nfd-wba-border-grey-b nfd-wba-border-solid nfd-wba-border-t",children:[(0,G.jsx)("div",{}),(0,G.jsxs)("div",{className:"nfd-wba-flex nfd-wba-gap-0.5 nfd-wba-shrink-0 nfd-wba-items-center",children:[e?.isPremium&&(0,G.jsx)("span",{className:"nfd-wba-rounded nfd-wba-bg-dark nfd-wba-px-[10px] nfd-wba-py-[5px] nfd-wba-text-white",children:"Premium"}),!z()&&(0,G.jsx)(Fe.Button,{className:Ge()("nfd-wba-size-9 nfd-wba-text-gray-500 hover:nfd-wba-text-gray-900 hover:nfd-wba-bg-gray-100 !nfd-wba-min-w-0 nfd-wba-rounded-full nfd-wba-bg-white nfd-wba-transition-all nfd-wba-duration-75",n?"nfd-wba-cursor-default nfd-wba-bg-gray-100 !nfd-wba-text-red-600":"nfd-wba-cursor-not-pointer hover:nfd-wba-text-red-600"),showTooltip:!0,label:n?(0,ye.__)("Added to favorites","nfd-wonder-blocks"):(0,ye.__)("Add to favorites","nfd-wonder-blocks"),onClick:()=>D(!1),icon:(0,G.jsx)(kn,{className:Ge()(" nfd-wba-shrink-0 nfd-wba-size-5",!n&&"!nfd-wba-fill-none")})}),z()&&(0,G.jsx)(Fe.Button,{className:Ge()("nfd-wba-size-9 nfd-wba-text-gray-500 hover:nfd-wba-bg-gray-100 !nfd-wba-min-w-0 nfd-wba-rounded-full nfd-wba-bg-white nfd-wba-transition-all nfd-wba-duration-75 hover:nfd-wba-text-red-600"),showTooltip:!0,label:(0,ye.__)("Remove from Favorites","nfd-wonder-blocks"),onClick:()=>D(),icon:(0,G.jsx)(En,{className:"nfd-wba-shrink-0 nfd-wba-size-5 !nfd-wba-fill-none"})}),(0,G.jsx)(Fe.Button,{className:"nfd-wba-size-9 nfd-wba-text-gray-500 hover:nfd-wba-text-gray-900 hover:nfd-wba-bg-gray-100 !nfd-wba-min-w-0 nfd-wba-rounded-full nfd-wba-bg-white nfd-wba-transition-all nfd-wba-duration-75",isBusy:r,isPressed:r,label:(0,ye.__)("Add pattern to page","nfd-wonder-blocks"),showTooltip:!0,onClick:()=>I(),icon:(0,G.jsx)(Cn,{className:"nfd-wba-shrink-0 !nfd-wba-fill-none nfd-wba-size-5"})})]})]})]})})})),Nn=(0,N.memo)((({data:e})=>{const{gridColumns:t,sortOrder:n}=(0,o.useSelect)((e=>({gridColumns:e(ve).getModalGridColumns(),sortOrder:e(ve).getSortOrder()})));return e&&Array.isArray(e)?(0,G.jsx)(G.Fragment,{children:(0,G.jsx)(hn,{breakpointCols:{default:t,1600:2,1100:1},className:"nfd-wba-design-list nfd-wba-flex nfd-wba-w-auto sm:-nfd-wba-ml-[var(--nfd-wba-masonry-gap)]",columnClassName:"nfd-wba-design-list__column sm:nfd-wba-pl-[var(--nfd-wba-masonry-gap)]",children:e?.map(((e,t)=>(0,G.jsx)(Mn,{item:e},`${e.key}-${t}-${n}`)))},`nfd-wba-masonry-${t}`)}):null}));var Tn,On;function An(){return An=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const e=(0,N.createInterpolateElement)((0,ye.__)("Sorry! There was an error loading this page. If this issue persists, contact our support team."),{a:(0,G.jsx)("a",{href:R,target:"_blank",rel:"noreferrer",children:(0,ye.__)("support team","nfd-wonder-blocks")})});return(0,G.jsx)("div",{className:"nfd-wba-flex nfd-wba-grow nfd-wba-items-center nfd-wba-justify-center",children:(0,G.jsxs)("div",{className:"nfd-wba-state-message nfd-wba-flex nfd-wba-w-full nfd-wba-max-w-[640px] nfd-wba-flex-col nfd-wba-items-center nfd-wba-justify-center nfd-wba-gap-8 nfd-wba-pb-[10%]",children:[(0,G.jsx)(zn,{}),(0,G.jsx)("p",{className:"nfd-wba-m-0 nfd-wba-text-center nfd-wba-text-2xl nfd-wba-font-light nfd-wba-text-dark",children:e})]})})},Vn={"patterns-gallery":_e,"patterns-blog":xe,"patterns-call-to-action":ke,"patterns-faq":Ee,"patterns-features":Ce,"patterns-forms":je,"patterns-headings":Se,"patterns-hero":Me,"patterns-pricing-table":Ne,"patterns-menu":Te,"patterns-team":Oe,"patterns-testimonials":Ae,"patterns-text":ze,"patterns-header":Pe,"patterns-footer":Ve,"patterns-products":Re,"patterns-media-embeds":(0,G.jsxs)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,G.jsx)(U.Path,{d:"m7 6.5 4 2.5-4 2.5z"}),(0,G.jsx)(U.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"m5 3c-1.10457 0-2 .89543-2 2v14c0 1.1046.89543 2 2 2h14c1.1046 0 2-.8954 2-2v-14c0-1.10457-.8954-2-2-2zm14 1.5h-14c-.27614 0-.5.22386-.5.5v10.7072l3.62953-2.6465c.25108-.1831.58905-.1924.84981-.0234l2.92666 1.8969 3.5712-3.4719c.2911-.2831.7545-.2831 1.0456 0l2.9772 2.8945v-9.3568c0-.27614-.2239-.5-.5-.5zm-14.5 14.5v-1.4364l4.09643-2.987 2.99567 1.9417c.2936.1903.6798.1523.9307-.0917l3.4772-3.3806 3.4772 3.3806.0228-.0234v2.5968c0 .2761-.2239.5-.5.5h-14c-.27614 0-.5-.2239-.5-.5z"})]}),"patterns-featured":(0,G.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,G.jsx)(U.Path,{d:"M11.776 4.454a.25.25 0 01.448 0l2.069 4.192a.25.25 0 00.188.137l4.626.672a.25.25 0 01.139.426l-3.348 3.263a.25.25 0 00-.072.222l.79 4.607a.25.25 0 01-.362.263l-4.138-2.175a.25.25 0 00-.232 0l-4.138 2.175a.25.25 0 01-.363-.263l.79-4.607a.25.25 0 00-.071-.222L4.754 9.881a.25.25 0 01.139-.426l4.626-.672a.25.25 0 00.188-.137l2.069-4.192z"})})};var Rn,Bn,In,Dn,Ln,Fn,Hn,Un,Gn,Wn,$n,qn,Zn,Kn,Qn,Yn,Jn,Xn,ea,ta,na,aa,ra,sa,oa;function la(){return la=Object.assign?Object.assign.bind():function(e){for(var t=1;t(0,G.jsx)("button",{className:Ge()("nfd-wba-text-base nfd-wba-pl-5 nfd-wba-pr-6 nfd-wba-py-3 nfd-wba-rounded-[4px] nfd-wba-cursor-pointer nfd-wba-border nfd-wba-bg-transparent nfd-wba-border-solid focus-visible:nfd-wba-outline-brand nfd-wba-border-grey-b nfd-wba-text-current hover:nfd-wba-text-brand hover:nfd-wba-border-brand",t),type:"button",ref:s,...r,children:(0,G.jsxs)("span",{className:"nfd-wba-flex nfd-wba-items-center nfd-wba-gap-2 nfd-wba-text-left",children:[n&&n,(0,G.jsx)("span",{children:e})]})}))),wa=ba;ba.displayName="CategoryButton";const ma=({isFavorites:e})=>{let t;const{setActivePatternsCategory:n,setShouldResetKeywords:a}=(0,o.useDispatch)(ve);if(e){const e=(0,ye.__)("Click the %s on your favorite and frequently-used Patterns & Templates for quick access.","nfd-wonder-blocks").split("%s");t=(0,G.jsxs)("span",{children:[e[0],(0,G.jsx)(kn,{className:"nfd-wba-fill-red-600 nfd-wba-stroke-red-600 -nfd-wba-mt-2 nfd-wba-align-middle"}),e[1]]})}else t=(0,ye.__)("Sorry, we couldn't find any results for that. Please try a different search term.","nfd-wonder-blocks");const r=e?(0,G.jsx)(ca,{}):(0,G.jsx)(ua,{});return(0,G.jsx)("div",{className:"nfd-wba-flex nfd-wba-grow nfd-wba-items-center nfd-wba-justify-center",children:(0,G.jsxs)("div",{className:"nfd-wba-state-message nfd-wba-flex nfd-wba-w-full nfd-wba-max-w-[640px] nfd-wba-flex-col nfd-wba-items-center nfd-wba-justify-center nfd-wba-gap-8 nfd-wba-pb-[10%]",children:[r,(0,G.jsx)("p",{className:"nfd-wba-m-0 nfd-wba-max-w-[420px] nfd-wba-text-center nfd-wba-text-2xl nfd-wba-font-light nfd-wba-text-dark",children:t}),e&&(0,G.jsxs)("div",{className:"nfd-wba-flex nfd-wba-gap-6 nfd-wba-mt-8",children:[(0,G.jsx)(wa,{category:"Features",icon:(0,G.jsx)(De,{icon:Vn["patterns-features"],size:24,className:"nfd-wba-fill-current"}),onClick:()=>{n("features"),a(!0)}}),(0,G.jsx)(wa,{category:"Text",icon:(0,G.jsx)(De,{icon:Vn["patterns-text"],size:24,className:"nfd-wba-fill-current"}),onClick:()=>{n("text"),a(!0)}})]})]})})},pa=xn("ArrowUpDown",[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]]),ha=xn("CalendarArrowDown",[["path",{d:"m14 18 4 4 4-4",key:"1waygx"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M18 14v8",key:"irew45"}],["path",{d:"M21 11.354V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7.343",key:"bse4f3"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 2v4",key:"1cmpym"}]]),va=xn("CalendarArrowUp",[["path",{d:"m14 18 4-4 4 4",key:"ftkppy"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M18 22v-8",key:"su0gjh"}],["path",{d:"M21 11.343V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h9",key:"1exg90"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 2v4",key:"1cmpym"}]]),ga=xn("Grid2x2",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M12 3v18",key:"108xh3"}]]),ya=xn("Columns2",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 3v18",key:"108xh3"}]]),_a=xn("Columns3",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]]),xa=xn("Columns4",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7.5 3v18",key:"w0wo6v"}],["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M16.5 3v18",key:"10tjh1"}]]),ka=(0,G.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,G.jsx)(U.Path,{d:"M13 5c-3.3 0-6 2.7-6 6 0 1.4.5 2.7 1.3 3.7l-3.8 3.8 1.1 1.1 3.8-3.8c1 .8 2.3 1.3 3.7 1.3 3.3 0 6-2.7 6-6S16.3 5 13 5zm0 10.5c-2.5 0-4.5-2-4.5-4.5s2-4.5 4.5-4.5 4.5 2 4.5 4.5-2 4.5-4.5 4.5z"})}),Ea=(0,G.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,G.jsx)(U.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"})});var Ca=n(221),ja=n.n(Ca);const Sa=()=>{const{setActivePatternsCategory:e,setActiveTemplatesCategory:t,setShouldResetKeywords:n,setCurrentView:a}=(0,o.useDispatch)(ve);return r=>{"string"==typeof r&&("library"===r||"favorites"===r?a("library"):"info"===r?(a("info"),e(""),t(""),n(!0)):"about"===r&&(a("about"),e(""),t(""),n(!0)))}},Ma=()=>{const[e,t]=(0,N.useState)(""),[n,a]=(0,N.useState)(!1),[r,s]=(0,N.useTransition)(),[l,i]=(0,N.useState)(!1),[d,c]=(0,N.useState)(!1),f=(0,N.useRef)(null),u=(0,N.useRef)(null),b=Sa(),{suggestions:w,loadSuggestions:m,addSuggestion:p,removeSuggestion:h}=((e="nfdWBSearchTerms",t=10)=>{const[n,a]=(0,et.useState)([]);return(0,et.useEffect)((()=>{const t=JSON.parse(localStorage.getItem(e))||[];a(t)}),[e]),{suggestions:n,setSuggestions:a,addSuggestion:r=>{if(r.length<4)return;let s=[...n];s=s.filter((e=>e!==r)),s.unshift(r),s.length>t&&s.pop(),a(s),localStorage.setItem(e,JSON.stringify(s))},removeSuggestion:t=>{const r=n.filter((e=>e!==t));a(r),localStorage.setItem(e,JSON.stringify(r))},loadSuggestions:()=>{const e=JSON.parse(localStorage.getItem("nfdWBSearchTerms"))||[];a(e)}}})(),{setKeywordsFilter:v,setShouldResetKeywords:g}=(0,o.useDispatch)(ve),{isSidebarLoading:y,shouldResetKeywords:_}=(0,o.useSelect)((e=>({isSidebarLoading:e(ve).isSidebarLoading(),shouldResetKeywords:e(ve).shouldResetKeywords()})));return(0,N.useEffect)((()=>{const t=ja()((()=>{s((()=>{v(e.trim()),b("library"),e.trim().length>=5&&p(e.trim())}))}),""===e.trim()?0:800);return"string"==typeof e&&e.trim().length>=2?t():s((()=>{v("")})),t.cancel}),[e,v]),(0,N.useEffect)((()=>{_&&(t(""),g(!1))}),[g,_]),(0,N.useEffect)((()=>{const e=e=>{f.current&&!f.current.contains(e.target)&&u.current&&!u.current.contains(e.target)&&a(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[]),(0,N.useEffect)((()=>{const e=ja()((()=>{s((()=>{i(!0)}))}));return n&&w.length>0?e():s((()=>{i(!1)})),e.cancel}),[n,w]),(0,G.jsxs)("div",{className:"nfd-wba-relative nfd-wba-flex nfd-wba-items-center nfd-wba-gap-x-3",children:[!n&&(0,G.jsx)(Fe.Button,{label:(0,ye.__)("Search","nfd-wonder-blocks"),"aria-label":(0,ye.__)("Search","nfd-wonder-blocks"),"aria-haspopup":"true","aria-expanded":n,"aria-controls":"nfd-wba-filter-patterns","aria-busy":r,className:"nfd-wba-search-toggle sm:nfd-wba-hidden",type:"button",showTooltip:!0,onClick:()=>{a(!0),setTimeout((()=>{f.current?.focus()}),50)},children:(0,G.jsx)(De,{icon:ka,iconSize:24})}),(0,G.jsx)(Fe.SearchControl,{id:"nfd-wba-filter-patterns",ref:f,className:Ge()("nfd-wba-keyword-filter nfd-wba-m-0",!n&&"nfd-wba-invisible sm:nfd-wba-visible"),disabled:y,label:(0,ye.__)("Search","nfd-wonder-blocks"),hideLabelFromVision:!0,placeholder:(0,ye.__)("Search","nfd-wonder-blocks"),value:e,onFocus:()=>{a(!0),c(!1),m()},onBlur:()=>{d||setTimeout((()=>{a(!1)}),100)},onChange:e=>{t(e)}}),l&&(0,G.jsx)("ul",{ref:u,className:"nfd-wba-absolute nfd-wba-bg-white nfd-wba-shadow-lg nfd-wba-w-full nfd-wba-max-h-40 nfd-wba-overflow-y-auto nfd-wba-z-10 nfd-wba-mt-9 nfd-wba-top-0 nfd-wba-mb-0",children:w.map(((n,a)=>!e||n.toLowerCase().includes(e.toLowerCase())&&n.toLowerCase()!==e.toLowerCase()?(0,G.jsxs)("li",{className:"nfd-wba-flex nfd-wba-justify-between nfd-wba-items-center nfd-wba-pl-3 nfd-wba-py-1.5 nfd-wba-pr-1 nfd-wba-mb-0 nfd-wba-cursor-pointer hover:nfd-wba-bg-gray-100 nfd-wba-text-gray-500 last:nfd-wba-mb-1.5 first:nfd-wba-mt-1.5",children:[(0,G.jsx)("span",{onMouseDown:()=>t(n),className:"nfd-wba-flex-grow",children:n}),(0,G.jsx)("button",{type:"button",className:"nfd-wba-bg-transparent nfd-wba-border-none nfd-wba-cursor-pointer nfd-wba-flex nfd-wba-items-center",onMouseDown:e=>{e.stopPropagation(),c(!0),h(n)},onMouseUp:()=>c(!1),children:(0,G.jsx)(De,{icon:Ea,size:16,className:"nfd-wba-fill-gray-500"})})]},a):null))})]})},Na=()=>{const{setModalGridColumns:e,setSortOrder:t}=(0,o.useDispatch)(ve),{gridColumns:n,sortOrder:a}=(0,o.useSelect)((e=>({gridColumns:e(ve).getModalGridColumns(),sortOrder:e(ve).getSortOrder()})));return(0,G.jsx)("div",{className:"nfd-wba-modal__content-filter",children:(0,G.jsxs)("div",{className:"nfd-wba-flex nfd-wba-items-center nfd-wba-gap-x-2",children:[(0,G.jsx)(Fe.DropdownMenu,{icon:(0,G.jsx)(pa,{className:"!nfd-wba-fill-none nfd-wba-w-4 nfd-wba-h-4"}),toggleProps:{className:"!nfd-wba-px-3 nfd-wba-mt-0.5",children:(0,G.jsxs)("span",{className:"nfd-wba-ml-2",children:[(0,ye.__)("Sort By: ","nfd-wonder-blocks"),a.split("-").map((e=>e.charAt(0).toUpperCase()+e.slice(1))).join(" ")]})},label:(0,ye.__)("Sort By","nfd-wonder-blocks"),popoverProps:{className:"nfd-wba-filter-dropdown"},controls:[{title:(0,ye.__)("Newest","nfd-wonder-blocks"),onClick:()=>t("newest"),icon:(0,G.jsx)(ha,{className:"nfd-wba-w-4 nfd-wba-h-4 !nfd-wba-fill-none"}),isActive:"newest"===a},{title:(0,ye.__)("Oldest","nfd-wonder-blocks"),onClick:()=>t("oldest"),icon:(0,G.jsx)(va,{className:"nfd-wba-w-4 nfd-wba-h-4 !nfd-wba-fill-none"}),isActive:"oldest"===a}]}),(0,G.jsx)(Fe.DropdownMenu,{icon:(0,G.jsx)(ga,{className:"!nfd-wba-fill-none nfd-wba-w-4 nfd-wba-h-4"}),toggleProps:{className:"!nfd-wba-px-3 nfd-wba-mt-0.5",children:(0,G.jsx)("span",{className:"nfd-wba-ml-2",children:(0,ye.__)("Grid View","nfd-wonder-blocks")})},popoverProps:{className:"nfd-wba-filter-dropdown"},label:(0,ye.__)("Grid View","nfd-wonder-blocks"),controls:[{title:(0,ye.__)("2 columns","nfd-wonder-blocks"),icon:(0,G.jsx)(ya,{className:"nfd-wba-w-4 nfd-wba-h-4 !nfd-wba-fill-none"}),onClick:()=>e(2),isActive:2===n},{title:(0,ye.__)("3 columns","nfd-wonder-blocks"),icon:(0,G.jsx)(_a,{className:"nfd-wba-w-4 nfd-wba-h-4 !nfd-wba-fill-none"}),onClick:()=>e(3),isActive:3===n},{title:(0,ye.__)("4 columns","nfd-wonder-blocks"),icon:(0,G.jsx)(xa,{className:"nfd-wba-w-4 nfd-wba-h-4 !nfd-wba-fill-none"}),onClick:()=>e(4),isActive:4===n}]})]})})},Ta=({size:e="regular",color:t="dark"})=>(0,G.jsxs)("div",{className:"nfd-wba-m-0 -nfd-wba-ml-1 nfd-wba-flex nfd-wba-items-center nfd-wba-gap-2 nfd-wba-text-lg nfd-wba-font-normal nfd-wba-text-dark",children:[(0,G.jsx)(De,{className:Ge()("brand"===t&&"nfd-wba-stroke-brand"),size:"large"===e?40:24,icon:$}),(0,G.jsx)("span",{className:Ge()("nfd-wba-select-none","large"===e&&"nfd-wba-text-3xl","brand"===t&&"nfd-wba-text-brand"),children:A})]}),Oa=({size:e=60})=>(0,G.jsx)("div",{className:"nfd-wba-flex nfd-wba-shrink-0 nfd-wba-grow-0 nfd-wba-animate-spin nfd-wba-rounded-full nfd-wba-border-2 nfd-wba-border-solid nfd-wba-border-brand nfd-wba-border-r-brand/10 nfd-wba-align-[-0.125em]",style:{width:`${e}px`,height:`${e}px`},role:"status",children:(0,G.jsx)("span",{className:"nfd-wba-sr-only",children:(0,ye.__)("Loading…","nfd-wonder-blocks")})}),Aa=function({isComplete:e}){return e?null:(0,G.jsxs)("div",{className:"nfd-wba-absolute nfd-wba-inset-0 nfd-wba-z-[2] nfd-wba-flex nfd-wba-flex-col nfd-wba-items-center nfd-wba-justify-start nfd-wba-gap-y-6 nfd-wba-bg-white nfd-wba-px-6 nfd-wba-pt-10 sm:nfd-wba-justify-center sm:nfd-wba-pb-40 sm:nfd-wba-pt-0",children:[(0,G.jsx)(Ta,{size:"large",color:"brand"}),(0,G.jsx)("h2",{className:"nfd-wba-m-0 nfd-wba-mb-3 nfd-wba-max-w-[300px] nfd-wba-text-center nfd-wba-text-xl nfd-wba-font-light nfd-wba-text-balance nfd-wba-text-dark-lighter sm:nfd-wba-max-w-full",children:(0,ye.__)("One moment while we load content tailored for your site.","nfd-wonder-blocks")}),(0,G.jsx)(Oa,{})]})},za=(0,N.memo)((({count:e=6,minHeight:t=120,maxHeight:n=320})=>{const a=(0,N.useMemo)((()=>{const a=[];for(let r=0;r(0,G.jsxs)("div",{className:"nfd-wba-skeleton--item nfd-wba-mb-[var(--nfd-wba-masonry-gap)] nfd-wba-flex nfd-wba-w-full nfd-wba-flex-col nfd-wba-gap-6 nfd-wba-rounded-2xl nfd-wba-bg-grey nfd-wba-p-6",children:[(0,G.jsx)("div",{className:"nfd-wba-rounded-[9px] nfd-wba-border-2 nfd-wba-border-solid nfd-wba-border-grey-darker/20",style:{height:`${e}px`}}),(0,G.jsxs)("div",{className:"nfd-wba-flex nfd-wba-items-center nfd-wba-justify-between nfd-wba-gap-14",children:[(0,G.jsx)("div",{className:"nfd-wba-h-12 nfd-wba-max-w-[270px] nfd-wba-grow nfd-wba-rounded-lg nfd-wba-bg-grey-darker/20"}),(0,G.jsxs)("div",{className:"items-center nfd-wba-flex nfd-wba-gap-3",children:[(0,G.jsx)("div",{className:"nfd-wba-h-12 nfd-wba-w-12 nfd-wba-rounded-lg nfd-wba-bg-grey-darker/20"}),(0,G.jsx)("div",{className:"nfd-wba-h-12 nfd-wba-w-12 nfd-wba-rounded-lg nfd-wba-bg-grey-darker/20"})]})]})]}),Va=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,Ra=e=>{if("string"!=typeof e)throw new TypeError("Invalid argument expected string");const t=e.match(Va);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},Ba=e=>"*"===e||"x"===e||"X"===e,Ia=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},Da=(e,t)=>{if(Ba(e)||Ba(t))return 0;const[n,a]=((e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t])(Ia(e),Ia(t));return n>a?1:n{for(let n=0;n":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1],"!=":[-1,1]},Ha=Object.keys(Fa),Ua=e=>{if("string"!=typeof e)throw new TypeError("Invalid operator type, expected string but got "+typeof e);if(-1===Ha.indexOf(e))throw new Error(`Invalid operator, expected one of ${Ha.join("|")}`)},Ga=window.wp.url,Wa=()=>{try{if(((e,t,n)=>{Ua(n);const a=((e,t)=>{const n=Ra(e),a=Ra(t),r=n.pop(),s=a.pop(),o=La(n,a);return 0!==o?o:r&&s?La(r.split("."),s.split(".")):r||s?r?-1:1:0})(e,t);return Fa[n].includes(a)})(Ye(z),Ye("6.6"),">="))return null}catch(e){return console.error("Error comparing versions:",e),null}const e=(0,Ga.addQueryArgs)("update-core.php"),t=(0,N.createInterpolateElement)((0,ye.sprintf)( // translators: %s: brand name - 'WonderBlocks'. // translators: %s: brand name - 'WonderBlocks'. -(0,ye.__)("%s needs the latest version of WordPress, please update your site.","nfd-wonder-blocks"),z),{a:(0,G.jsx)("a",{href:e})});return(0,G.jsx)(Fe.Notice,{className:"nfd-wba-m-0 nfd-wba-mb-8",isDismissible:!1,status:"warning",children:t})},Ga=()=>{const[e,t]=(0,N.useState)(!1),[n,a]=function({threshold:e,delay:t,trackVisibility:n,rootMargin:a,root:r,triggerOnce:s,skip:o,initialInView:l,fallbackInView:i,onChange:d}={}){var c;const[f,u]=Je.useState(null),w=Je.useRef(),[b,m]=Je.useState({inView:!!l,entry:void 0});w.current=d,Je.useEffect((()=>{if(o||!f)return;let l;return l=dn(f,((e,t)=>{m({inView:e,entry:t}),w.current&&w.current(e,t),t.isIntersecting&&s&&l&&(l(),l=void 0)}),{root:r,rootMargin:a,threshold:e,trackVisibility:n,delay:t},i),()=>{l&&l()}}),[Array.isArray(e)?e.toString():e,f,r,a,s,o,n,i,t]);const p=null==(c=b.entry)?void 0:c.target,h=Je.useRef();f||!p||s||o||h.current===p||(h.current=p,m({inView:!!l,entry:void 0}));const v=[u,b.inView,b.entry];return v.ref=v[0],v.inView=v[1],v.entry=v[2],v}({threshold:0}),{activeTab:r,isContentLoading:s,isSidebarLoading:l,keywordsFilter:i}=(0,o.useSelect)((e=>({activeTab:e(ve).getActiveTab(),isSidebarLoading:e(ve).isSidebarLoading(),isContentLoading:e(ve).isContentLoading(),keywordsFilter:e(ve).getKeywordsFilter()}))),{data:d,isValidating:c,isFavorites:f,isError:u,size:w,setSize:b,hasMore:m}=Jt(),{setIsContentLoading:p}=(0,o.useDispatch)(ve);return(0,N.useEffect)((()=>{p((!d||0===d.length)&&c)}),[d,c,p]),(0,N.useEffect)((()=>{m&&a&&b(w+1)}),[a,m]),(0,N.useEffect)((()=>{const e=setTimeout((()=>{t(!0)}),300);return()=>{clearTimeout(e)}}),[]),(0,N.useEffect)((()=>{if(!i)return;if(void 0===m)return;if(m&&0===d?.length)return;const e={label_key:"search_term",search_term:i,count:d?.length};"patterns"===r?ge("pattern_searched",e):"templates"===r&&ge("template_searched",e)}),[r,d?.length,m,i]),(0,G.jsxs)(G.Fragment,{children:[l&&!u&&(0,G.jsx)(Ta,{}),(0,G.jsxs)("div",{className:"nfd-wba-inset-0 nfd-wba-flex nfd-wba-grow nfd-wba-flex-col nfd-wba-px-4 nfd-wba-py-2 sm:nfd-wba-py-0 sm:nfd-wba-px-6",children:[(0,G.jsx)(Ua,{}),(0,G.jsx)(Sa,{}),!l&&s&&!u||!e&&(0,G.jsx)(Oa,{}),u&&(0,G.jsx)(zn,{}),0===d?.length&&!u&&!c&&(0,G.jsx)(wa,{isFavorites:f}),e&&d&&d?.length>0&&(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(Sn,{data:d}),m&&(0,G.jsx)("div",{className:"nfd-wba-z-[2] nfd-wba-flex nfd-wba-flex-col nfd-wba-items-center nfd-wba-justify-center nfd-wba-gap-y-6 nfd-wba-bg-white nfd-wba-px-6 nfd-wba-pt-6",ref:n,children:(0,G.jsx)(Na,{size:40})})]})]})]})},Wa=({view:e})=>(0,G.jsx)("div",{className:"nfd-wba-flex nfd-wba-grow nfd-wba-flex-col sm:nfd-wba-overflow-y-auto md:nfd-wba-min-w-[400px]",children:(0,G.jsxs)("div",{className:"nfd-wba-relative nfd-wba-flex nfd-wba-min-h-[50vh] nfd-wba-grow nfd-wba-flex-col nfd-wba-gap-y-10",children:["library"===e&&(0,G.jsx)(Ga,{}),"info"===e&&(0,G.jsx)(rn,{}),"about"===e&&(0,G.jsx)(an,{})]})}),$a=gn("EllipsisVertical",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]]),qa=gn("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]),Za=gn("Store",[["path",{d:"m2 7 4.41-4.41A2 2 0 0 1 7.83 2h8.34a2 2 0 0 1 1.42.59L22 7",key:"ztvudi"}],["path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8",key:"1b2hhj"}],["path",{d:"M15 22v-4a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v4",key:"2ebpfo"}],["path",{d:"M2 7h20",key:"1fcdvo"}],["path",{d:"M22 7v3a2 2 0 0 1-2 2a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 16 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 12 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 8 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 4 12a2 2 0 0 1-2-2V7",key:"6c3vgh"}]]),Ka=(0,G.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,G.jsx)(U.Path,{d:"m13.06 12 6.47-6.47-1.06-1.06L12 10.94 5.53 4.47 4.47 5.53 10.94 12l-6.47 6.47 1.06 1.06L12 13.06l6.47 6.47 1.06-1.06L13.06 12Z"})}),Qa=()=>null,Ya=()=>{const[e,t]=(0,N.useState)(!1),{setIsModalOpen:n,setActivePatternsCategory:a,setActiveTemplatesCategory:r,setShouldResetKeywords:s}=(0,o.useDispatch)(ve),{activeTab:l,activePatternsCategory:i,activeTemplatesCategory:d,keywords:c}=(0,o.useSelect)((e=>({activePatternsCategory:e(ve).getActivePatternsCategory(),activeTemplatesCategory:e(ve).getActiveTemplatesCategory(),keywords:e(ve).getKeywordsFilter(),activeTab:e(ve).getActiveTab()}))),f=Ca();return(0,N.useEffect)((()=>{t(!c&&("patterns"===l&&"favorites"===i||"templates"===l&&"favorites"===d))}),[l,c,i,d,t]),(0,G.jsxs)("header",{className:"nfd-wba-modal__header",children:[(0,G.jsx)(ja,{}),(0,G.jsxs)("div",{className:"nfd-items-center nfd-wba-ml-auto nfd-wba-flex nfd-wba-gap-x-1",children:[(0,G.jsx)(Qa,{}),(0,G.jsx)("button",{className:Ge()("nfd-wba-cursor-pointer nfd-wba-border-none nfd-wba-bg-transparent focus-visible:nfd-wba-outline-brand hover:nfd-wba-text-brand hover:nfd-wba-border-brand nfd-wba-p-2",e?"nfd-wba-text-brand nfd-wba-font-semibold":""),onClick:()=>{"templates"===l?(r("favorites"),a(null)):"patterns"===l&&(a("favorites"),r(null)),s(!0)},children:(0,G.jsxs)("span",{className:"nfd-wba-flex nfd-wba-items-center nfd-wba-gap-2 nfd-wba-text-left nfd-wba-text-[14px]",children:[(0,G.jsx)(yn,{className:"!nfd-wba-fill-none nfd-wba-shrink-0 nfd-wba-size-5"}),(0,G.jsx)("span",{children:(0,ye.__)("Favorites","nfd-wonder-blocks")})]})}),(0,G.jsx)(Fe.DropdownMenu,{icon:(0,G.jsx)($a,{className:"!nfd-wba-fill-none nfd-wba-w-4 nfd-wba-h-4"}),toggleProps:{className:"!nfd-wba-px-3"},popoverProps:{className:"nfd-wba-filter-dropdown"},label:(0,ye.__)("WonderBlocks Menu","nfd-wonder-blocks"),controls:[{title:(0,ye.__)("Info","nfd-wonder-blocks"),icon:(0,G.jsx)(qa,{className:"nfd-wba-w-4 nfd-wba-h-4 !nfd-wba-fill-none"}),onClick:()=>f("info")},{title:(0,ye.__)("About","nfd-wonder-blocks"),icon:(0,G.jsx)(Za,{className:"nfd-wba-w-4 nfd-wba-h-4 !nfd-wba-fill-none"}),onClick:()=>f("about")}]}),(0,G.jsx)(Fe.Button,{className:"nfd-wba-ml-auto nfd-wba-text-current hover:nfd-wba-text-dark",showTooltip:!0,onClick:()=>{n(!1)},icon:Ka,iconSize:24,label:(0,ye.__)("Close dialog","nfd-wonder-blocks")})]})]})},Ja=()=>(0,G.jsx)("p",{className:"nfd-wba-m-0 nfd-wba-px-6 nfd-wba-pt-[5vh] nfd-wba-text-center",children:(0,ye.__)("Failed to load data.","nfd-wonder-blocks")}),Xa=(0,N.forwardRef)((({category:e,className:t,icon:n,isActive:a,...r},s)=>{var o;const l=null!==(o=e?.count)&&void 0!==o?o:null;return(0,G.jsx)("li",{className:"nfd-wba-m-0 nfd-wba-p-0",children:(0,G.jsxs)("button",{className:Ge()("nfd-wba-list-element nfd-wba-relative nfd-wba-flex nfd-wba-min-h-10 nfd-wba-w-full nfd-wba-select-none nfd-wba-items-center nfd-wba-justify-between nfd-wba-gap-x-2 nfd-wba-rounded-none nfd-wba-border-0 nfd-wba-bg-transparent nfd-wba-py-1 nfd-wba-pl-6 nfd-wba-text-[15px] focus-visible:nfd-wba-outline-brand",null!==l&&"nfd-wba-pr-5",null===l&&"nfd-wba-pr-6",!a&&"nfd-wba-cursor-pointer nfd-wba-text-current hover:nfd-wba-text-brand",a&&"nfd-wba--is-active nfd-wba-pointer-events-none nfd-wba-font-medium nfd-wba-text-brand",t),type:"button",ref:s,...r,children:[(0,G.jsxs)("span",{className:"nfd-wba-flex nfd-wba-items-center nfd-wba-gap-3 nfd-wba-text-left",children:[n&&n,(0,G.jsx)("span",{children:e?.label})]}),null!==l&&(0,G.jsx)("span",{className:Ge()("nfd-wba-list-element__count nfd-wba-px-2.5 nfd-wba-py-1 nfd-wba-text-sm nfd-wba-text-dark-lighter","favorites"!==e?.title&&"nfd-wba-rounded-full nfd-wba-bg-gray-100"),children:l})]})})})),er=Xa;Xa.displayName="ListElement";const tr=({count:e,minWidth:t=40,maxWidth:n=110})=>{const a=(0,N.useMemo)((()=>{const a=[];for(let r=0;r(0,G.jsxs)("li",{className:"nfd-wba-my-0 nfd-wba-flex nfd-wba-min-h-[43px] nfd-wba-items-center nfd-wba-justify-between",children:[(0,G.jsx)("span",{className:"nfd-wba-skeleton--item nfd-wba-h-4 nfd-wba-rounded nfd-wba-bg-grey",style:{width:`${e}px`}}),(0,G.jsx)("span",{className:"nfd-wba-skeleton--item nfd-wba-h-6 nfd-wba-w-8 nfd-wba-rounded-full nfd-wba-bg-grey"})]}),ar=(0,N.memo)((({type:e="patterns",isSiteEditor:t=!1})=>{const{data:n,error:a,isValidating:r}=nn(e),{data:s}=Jt({onlyFavorites:!0,perPage:-1}),l=(0,N.useMemo)((()=>(n?.forEach((e=>{"faq"!==e.label.toLowerCase()&&"frequently asked questions"!==e.label.toLowerCase()||(e.label="FAQ"),"media embeds"===e.label.toLowerCase()&&(e.label="Media & Embeds")})),t?n:n?.filter((e=>!I.includes(e.title))))),[t,n]),i=(0,N.useMemo)((()=>l?.map((t=>({...t,icon:An[`${e}-${t.title}`]||null})))),[l]),d=(0,N.useMemo)((()=>{var e;return i?.reduce(((e,t)=>{var n;const a=t.label||"",r=null!==(n=t.count)&&void 0!==n?n:"";let s=a;return r&&(s+=` (${r})`),[...e,{label:s,value:t.title||""}]}),[{value:"favorites",label:`${(0,ye.__)("Favorites","nfd-wonder-blocks")} (${null!==(e=s?.length)&&void 0!==e?e:0})`}]).sort(((e,t)=>"favorites"===e.value?1:"favorites"===t.value?-1:0))}),[i,s?.length]),{setIsSidebarLoading:c,setActivePatternsCategory:f,setActiveTemplatesCategory:u,setShouldResetKeywords:w}=(0,o.useDispatch)(ve),b=Ca(),{activePatternsCategory:m,activeTemplatesCategory:p,keywordsFilter:h,currentView:v}=(0,o.useSelect)((e=>({activePatternsCategory:e(ve).getActivePatternsCategory(),activeTemplatesCategory:e(ve).getActiveTemplatesCategory(),currentView:e(ve).getCurrentView(),keywordsFilter:e(ve).getKeywordsFilter()})));(0,N.useEffect)((()=>{c(!n&&r)}),[n,r,c]);const g=(0,N.useCallback)((t=>{"patterns"===e?f(t):u(t)}),[f,u,e]),y=(0,N.useCallback)((e=>{"favorites"===e||n.some((function(t){return t.title===e}))?g(e):n.length>0&&n[0].title&&"library"===v&&g(n[0].title),w(!0),b("library")}),[g,w,n]),_=(0,N.useCallback)((()=>{let t="";return t="patterns"===e?m:p,!("favorites"===t||n.some((function(e){return e.title===t})))&&n.length>0&&n[0].title&&"library"===v&&(t=n[0].title,g(t)),t}),[e,n,m,p,g]);return(0,G.jsxs)(G.Fragment,{children:[!n&&r&&(0,G.jsx)(tr,{count:12}),!n&&a&&(0,G.jsx)(Ja,{}),n&&(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(Fe.SelectControl,{className:"nfd-wba-modal__categories-select nfd-wba-mt-8 nfd-wba-h-12 nfd-wba-font-medium sm:!nfd-wba-hidden","aria-label":(0,ye.__)("Select a category","nfd-wonder-blocks"),value:_(),options:d,onChange:e=>y(e),__nextHasNoMarginBottom:!0}),(0,G.jsx)("ul",{className:"nfd-wba-list-elements nfd-wba-m-0 nfd-wba-list-none nfd-wba-flex-col nfd-wba-px-0 nfd-wba-py-4 nfd-wba-text-md nfd-wba-leading-5 sm:nfd-wba-flex",children:i?.map((e=>(0,G.jsx)(er,{category:e,isActive:!h&&e?.title===_(),onClick:()=>{y(e?.title)},icon:e.icon&&(0,G.jsx)(Le,{fill:"currentColor",icon:e.icon,size:20})},e.id)))})]})]})})),rr=(0,N.memo)((({isSiteEditor:e=!1})=>{const{setActiveTab:t,setShouldResetKeywords:n}=(0,o.useDispatch)(ve),{activeTab:a}=(0,o.useSelect)((e=>({activeTab:e(ve).getActiveTab()})));return(0,G.jsxs)("div",{className:"nfd-wba-mx-4 nfd-wba-mt-1 nfd-wba-flex nfd-wba-shrink-0 nfd-wba-flex-col nfd-wba-border-0 sm:nfd-wba-row-span-2 sm:nfd-wba-mx-0 sm:nfd-wba-mt-0 sm:nfd-wba-w-full sm:nfd-wba-overflow-y-auto sm:nfd-wba-border-r sm:nfd-wba-border-solid sm:nfd-wba-border-grey-b",children:[(0,G.jsx)("div",{className:"nfd-wba-modal__header nfd-wba-modal__sidebar-header nfd-wba-justify-center nfd-wba-rounded-t nfd-wba-border !nfd-wba-border-b-0 nfd-wba-border-solid nfd-wba-border-grey-b sm:nfd-wba-justify-start sm:nfd-wba-rounded-none sm:nfd-wba-border-none",children:(0,G.jsx)(Ma,{})}),(0,G.jsx)(Fe.TabPanel,{className:"nfd-wba-tab-panel nfd-wba-z-10 nfd-wba-flex nfd-wba-grow nfd-wba-flex-col",activeClass:"nfd-wba--is-active",initialTabName:a,onSelect:e=>{t(e),n(!0)},tabs:[{name:"patterns",title:(0,ye.__)("Patterns","nfd-wonder-blocks")},{name:"templates",title:(0,ye.__)("Templates","nfd-wonder-blocks")}],children:t=>(0,G.jsx)(ar,{isSiteEditor:e,type:t.name})})]})})),sr=()=>{const{setIsModalOpen:e,setActiveTab:t}=(0,o.useDispatch)(ve),{isModalOpen:n,isEditingTemplate:a,editedPostType:r,currentView:s}=(0,o.useSelect)((e=>({currentView:e(ve).getCurrentView(),editedPostType:e("core/edit-site")?.getEditedPostType(),isEditingTemplate:e("core/edit-post").isEditingTemplate(),isModalOpen:e(ve).isModalOpen()}))),l=(0,N.useMemo)((()=>a||!!r),[a,r]);return(()=>{const e=(0,o.useSelect)((e=>e("core/block-editor").getBlocks()),[]);(0,N.useEffect)((()=>{document.dispatchEvent(new CustomEvent("wonder-blocks/block-order-changed"))}),[e])})(),(0,N.useEffect)((()=>{const n=new URLSearchParams(window?.location?.search);let a;return n.has("wonder-blocks-library")&&(a=setTimeout((()=>{"templates"===n.get("wonder-blocks-library")&&t("templates"),ge("modal_open",{label_key:"trigger",trigger:"url"}),e(!0)}),300)),()=>{clearTimeout(a)}}),[t,e]),n?(0,G.jsx)(Fe.Modal,{className:"nfd-wba-modal nfd-wba-shadow-none sm:nfd-wba-max-h-[90%] md:nfd-wba-max-w-[90%]",__experimentalHideHeader:!0,"aria-expanded":!0,isFullScreen:!0,onRequestClose:()=>e(!1),children:(0,G.jsxs)("div",{className:"nfd-wba-library-modal-grid nfd-wba-grow nfd-wba-bg-white nfd-wba-text-dark-lighter",children:[(0,G.jsx)(rr,{isSiteEditor:l}),(0,G.jsx)(Ya,{}),(0,G.jsx)(Wa,{view:s})]})}):null},or=()=>{const{isModalOpen:e}=(0,o.useSelect)((e=>({isModalOpen:e(ve).isModalOpen()}))),{setIsModalOpen:t}=(0,o.useDispatch)(ve);return(0,G.jsx)(Fe.ToolbarButton,{icon:(0,G.jsx)(Le,{icon:$}),className:Ge()("nfd-wba-gap-1 nfd-wba-mr-2 nfd-wba-flex !nfd-wba-h-9 !nfd-wba-min-w-[36px] nfd-wba-shrink-0 nfd-wba-bg-brand !nfd-wba-p-0 nfd-wba-text-white hover:nfd-wba-bg-brand-darker hover:nfd-wba-text-white focus-visible:nfd-wba-text-white active:nfd-wba-bg-brand-darker-10 active:!nfd-wba-text-white lg:!nfd-wba-pl-3 lg:!nfd-wba-pr-[15px]",e&&"!nfd-wba-bg-dark nfd-wba-text-white"),isPressed:e,onClick:()=>{ge("modal_open",{label_key:"trigger",trigger:"toolbarButton"}),t(!0)},children:(0,G.jsx)("span",{className:"nfd-wba-ml-0.5 nfd-wba-hidden lg:nfd-wba-inline",children:z})})};M()((()=>{ir(),lr()}));const lr=(e="nfd-wba-modal")=>{if(document.getElementById(e))return;const t=Object.assign(document.createElement("div"),{id:e,className:"nfd-wba-modal"});document.body.append(t),(0,N.createRoot)(t).render((0,G.jsx)(sr,{}))},ir=()=>{(async({namespace:e,urls:{single:t,batch:n}={},settings:{debounce:{time:a}={},queue:{threshold:r=100}={}}={}})=>{!e||!E(e)&&(!t&&!n||((0,o.dispatch)(_).initializeNamespace(e),(0,o.dispatch)(_).updateHiiveUrls({single:t,batch:n},e),(0,o.dispatch)(_).updateHiiveDebounceTime(a,e),(0,o.dispatch)(_).updateHiiveEventsQueueThreshold(r,e),window.nfdUIAnalytics?.hiive?window.nfdUIAnalytics.hiive[e]=!0:window.nfdUIAnalytics={hiive:{[e]:!0}}))})({namespace:D,urls:{single:`${V}/events`,batch:`${V}/events/batch`},settings:{debounce:{time:3e3}}})};(0,T.registerPlugin)("wonder-blocks",{render:()=>{const e=new window.MutationObserver((e=>{for(const t of e)"childList"===t.type&&n()})),t=()=>{if(document.getElementById(P))return;const e=document.querySelector(".edit-post-header-toolbar")||document.querySelector(".edit-site-header-edit-mode__start");if(!e)return;const t=Object.assign(document.createElement("div"),{id:P,className:"nfd-wba-shrink-0"});e?.append(t),(0,N.createRoot)(t).render((0,G.jsx)(or,{})),document.dispatchEvent(new Event("wonder-blocks/toolbar-button-added"))},n=(0,O.debounce)(t,300);if(document.querySelector(".edit-post-header-toolbar")||document.querySelector(".edit-site-header-edit-mode__start"))t();else{const t=document.body;t&&e.observe(t,{childList:!0,subtree:!0})}}})})(),((window.newfold=window.newfold||{}).WonderBlocks=window.newfold.WonderBlocks||{})["wonder-blocks"]=a})(); \ No newline at end of file +(0,ye.__)("%s needs the latest version of WordPress, please update your site.","nfd-wonder-blocks"),A),{a:(0,G.jsx)("a",{href:e})});return(0,G.jsx)(Fe.Notice,{className:"nfd-wba-m-0 nfd-wba-mb-8",isDismissible:!1,status:"warning",children:t})},$a=()=>{const[e,t]=(0,N.useState)(!1),[n,a]=function({threshold:e,delay:t,trackVisibility:n,rootMargin:a,root:r,triggerOnce:s,skip:o,initialInView:l,fallbackInView:i,onChange:d}={}){var c;const[f,u]=et.useState(null),b=et.useRef(),[w,m]=et.useState({inView:!!l,entry:void 0});b.current=d,et.useEffect((()=>{if(o||!f)return;let l;return l=fn(f,((e,t)=>{m({inView:e,entry:t}),b.current&&b.current(e,t),t.isIntersecting&&s&&l&&(l(),l=void 0)}),{root:r,rootMargin:a,threshold:e,trackVisibility:n,delay:t},i),()=>{l&&l()}}),[Array.isArray(e)?e.toString():e,f,r,a,s,o,n,i,t]);const p=null==(c=w.entry)?void 0:c.target,h=et.useRef();f||!p||s||o||h.current===p||(h.current=p,m({inView:!!l,entry:void 0}));const v=[u,w.inView,w.entry];return v.ref=v[0],v.inView=v[1],v.entry=v[2],v}({threshold:0}),{activeTab:r,isContentLoading:s,isSidebarLoading:l,keywordsFilter:i}=(0,o.useSelect)((e=>({activeTab:e(ve).getActiveTab(),isSidebarLoading:e(ve).isSidebarLoading(),isContentLoading:e(ve).isContentLoading(),keywordsFilter:e(ve).getKeywordsFilter()}))),{data:d,isValidating:c,isFavorites:f,isError:u,size:b,setSize:w,hasMore:m}=en(),{setIsContentLoading:p}=(0,o.useDispatch)(ve);return(0,N.useEffect)((()=>{p((!d||0===d.length)&&c)}),[d,c,p]),(0,N.useEffect)((()=>{m&&a&&w(b+1)}),[a,m]),(0,N.useEffect)((()=>{const e=setTimeout((()=>{t(!0)}),300);return()=>{clearTimeout(e)}}),[]),(0,N.useEffect)((()=>{if(!i)return;if(void 0===m)return;if(m&&0===d?.length)return;const e={label_key:"search_term",search_term:i,count:d?.length};"patterns"===r?ge("pattern_searched",e):"templates"===r&&ge("template_searched",e)}),[r,d?.length,m,i]),(0,G.jsxs)(G.Fragment,{children:[l&&!u&&(0,G.jsx)(Aa,{}),(0,G.jsxs)("div",{className:"nfd-wba-inset-0 nfd-wba-flex nfd-wba-grow nfd-wba-flex-col nfd-wba-px-4 nfd-wba-py-2 sm:nfd-wba-py-0 sm:nfd-wba-px-6",children:[(0,G.jsx)(Wa,{}),(0,G.jsx)(Na,{}),!l&&s&&!u||!e&&(0,G.jsx)(za,{}),u&&(0,G.jsx)(Pn,{}),0===d?.length&&!u&&!c&&(0,G.jsx)(ma,{isFavorites:f}),e&&d&&d?.length>0&&(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(Nn,{data:d}),m&&(0,G.jsx)("div",{className:"nfd-wba-z-[2] nfd-wba-flex nfd-wba-flex-col nfd-wba-items-center nfd-wba-justify-center nfd-wba-gap-y-6 nfd-wba-bg-white nfd-wba-px-6 nfd-wba-pt-6",ref:n,children:(0,G.jsx)(Oa,{size:40})})]})]})]})},qa=({view:e})=>(0,G.jsx)("div",{className:"nfd-wba-flex nfd-wba-grow nfd-wba-flex-col sm:nfd-wba-overflow-y-auto md:nfd-wba-min-w-[400px]",children:(0,G.jsxs)("div",{className:"nfd-wba-relative nfd-wba-flex nfd-wba-min-h-[50vh] nfd-wba-grow nfd-wba-flex-col nfd-wba-gap-y-10",children:["library"===e&&(0,G.jsx)($a,{}),"info"===e&&(0,G.jsx)(on,{}),"about"===e&&(0,G.jsx)(sn,{})]})}),Za=xn("EllipsisVertical",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]]),Ka=xn("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]),Qa=xn("Store",[["path",{d:"m2 7 4.41-4.41A2 2 0 0 1 7.83 2h8.34a2 2 0 0 1 1.42.59L22 7",key:"ztvudi"}],["path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8",key:"1b2hhj"}],["path",{d:"M15 22v-4a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v4",key:"2ebpfo"}],["path",{d:"M2 7h20",key:"1fcdvo"}],["path",{d:"M22 7v3a2 2 0 0 1-2 2a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 16 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 12 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 8 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 4 12a2 2 0 0 1-2-2V7",key:"6c3vgh"}]]),Ya=(0,G.jsx)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,G.jsx)(U.Path,{d:"m13.06 12 6.47-6.47-1.06-1.06L12 10.94 5.53 4.47 4.47 5.53 10.94 12l-6.47 6.47 1.06 1.06L12 13.06l6.47 6.47 1.06-1.06L13.06 12Z"})}),Ja=()=>null,Xa=()=>{const[e,t]=(0,N.useState)(!1),{setIsModalOpen:n,setActivePatternsCategory:a,setActiveTemplatesCategory:r,setShouldResetKeywords:s}=(0,o.useDispatch)(ve),{activeTab:l,activePatternsCategory:i,activeTemplatesCategory:d,keywords:c}=(0,o.useSelect)((e=>({activePatternsCategory:e(ve).getActivePatternsCategory(),activeTemplatesCategory:e(ve).getActiveTemplatesCategory(),keywords:e(ve).getKeywordsFilter(),activeTab:e(ve).getActiveTab()}))),f=Sa();return(0,N.useEffect)((()=>{t(!c&&("patterns"===l&&"favorites"===i||"templates"===l&&"favorites"===d))}),[l,c,i,d,t]),(0,G.jsxs)("header",{className:"nfd-wba-modal__header",children:[(0,G.jsx)(Ma,{}),(0,G.jsxs)("div",{className:"nfd-items-center nfd-wba-ml-auto nfd-wba-flex nfd-wba-gap-x-1",children:[(0,G.jsx)(Ja,{}),(0,G.jsx)("button",{className:Ge()("nfd-wba-cursor-pointer nfd-wba-border-none nfd-wba-bg-transparent focus-visible:nfd-wba-outline-brand hover:nfd-wba-text-brand hover:nfd-wba-border-brand nfd-wba-p-2",e?"nfd-wba-text-brand nfd-wba-font-semibold":""),onClick:()=>{"templates"===l?(r("favorites"),a(null)):"patterns"===l&&(a("favorites"),r(null)),s(!0)},children:(0,G.jsxs)("span",{className:"nfd-wba-flex nfd-wba-items-center nfd-wba-gap-2 nfd-wba-text-left nfd-wba-text-[14px]",children:[(0,G.jsx)(kn,{className:"!nfd-wba-fill-none nfd-wba-shrink-0 nfd-wba-size-5"}),(0,G.jsx)("span",{children:(0,ye.__)("Favorites","nfd-wonder-blocks")})]})}),(0,G.jsx)(Fe.DropdownMenu,{icon:(0,G.jsx)(Za,{className:"!nfd-wba-fill-none nfd-wba-w-4 nfd-wba-h-4"}),toggleProps:{className:"!nfd-wba-px-3"},popoverProps:{className:"nfd-wba-filter-dropdown"},label:(0,ye.__)("WonderBlocks Menu","nfd-wonder-blocks"),controls:[{title:(0,ye.__)("Info","nfd-wonder-blocks"),icon:(0,G.jsx)(Ka,{className:"nfd-wba-w-4 nfd-wba-h-4 !nfd-wba-fill-none"}),onClick:()=>f("info")},{title:(0,ye.__)("About","nfd-wonder-blocks"),icon:(0,G.jsx)(Qa,{className:"nfd-wba-w-4 nfd-wba-h-4 !nfd-wba-fill-none"}),onClick:()=>f("about")}]}),(0,G.jsx)(Fe.Button,{className:"nfd-wba-ml-auto nfd-wba-text-current hover:nfd-wba-text-dark",showTooltip:!0,onClick:()=>{n(!1)},icon:Ya,iconSize:24,label:(0,ye.__)("Close dialog","nfd-wonder-blocks")})]})]})},er=()=>(0,G.jsx)("p",{className:"nfd-wba-m-0 nfd-wba-px-6 nfd-wba-pt-[5vh] nfd-wba-text-center",children:(0,ye.__)("Failed to load data.","nfd-wonder-blocks")}),tr=(0,N.forwardRef)((({category:e,className:t,icon:n,isActive:a,...r},s)=>{var o;const l=null!==(o=e?.count)&&void 0!==o?o:null;return(0,G.jsx)("li",{className:"nfd-wba-m-0 nfd-wba-p-0",children:(0,G.jsxs)("button",{className:Ge()("nfd-wba-list-element nfd-wba-relative nfd-wba-flex nfd-wba-min-h-10 nfd-wba-w-full nfd-wba-select-none nfd-wba-items-center nfd-wba-justify-between nfd-wba-gap-x-2 nfd-wba-rounded-none nfd-wba-border-0 nfd-wba-bg-transparent nfd-wba-py-1 nfd-wba-pl-6 nfd-wba-text-[15px] focus-visible:nfd-wba-outline-brand",null!==l&&"nfd-wba-pr-5",null===l&&"nfd-wba-pr-6",!a&&"nfd-wba-cursor-pointer nfd-wba-text-current hover:nfd-wba-text-brand",a&&"nfd-wba--is-active nfd-wba-pointer-events-none nfd-wba-font-medium nfd-wba-text-brand",t),type:"button",ref:s,...r,children:[(0,G.jsxs)("span",{className:"nfd-wba-flex nfd-wba-items-center nfd-wba-gap-3 nfd-wba-text-left",children:[n&&n,(0,G.jsx)("span",{children:e?.label})]}),null!==l&&(0,G.jsx)("span",{className:Ge()("nfd-wba-list-element__count nfd-wba-px-2.5 nfd-wba-py-1 nfd-wba-text-sm nfd-wba-text-dark-lighter","favorites"!==e?.title&&"nfd-wba-rounded-full nfd-wba-bg-gray-100"),children:l})]})})})),nr=tr;tr.displayName="ListElement";const ar=({count:e,minWidth:t=40,maxWidth:n=110})=>{const a=(0,N.useMemo)((()=>{const a=[];for(let r=0;r(0,G.jsxs)("li",{className:"nfd-wba-my-0 nfd-wba-flex nfd-wba-min-h-[43px] nfd-wba-items-center nfd-wba-justify-between",children:[(0,G.jsx)("span",{className:"nfd-wba-skeleton--item nfd-wba-h-4 nfd-wba-rounded nfd-wba-bg-grey",style:{width:`${e}px`}}),(0,G.jsx)("span",{className:"nfd-wba-skeleton--item nfd-wba-h-6 nfd-wba-w-8 nfd-wba-rounded-full nfd-wba-bg-grey"})]}),sr=(0,N.memo)((({type:e="patterns",isSiteEditor:t=!1})=>{const{data:n,error:a,isValidating:r}=rn(e),{data:s}=en({onlyFavorites:!0,perPage:-1}),l=(0,N.useMemo)((()=>(n?.forEach((e=>{"faq"!==e.label.toLowerCase()&&"frequently asked questions"!==e.label.toLowerCase()||(e.label="FAQ"),"media embeds"===e.label.toLowerCase()&&(e.label="Media & Embeds")})),t?n:n?.filter((e=>!B.includes(e.title))))),[t,n]),i=(0,N.useMemo)((()=>l?.map((t=>({...t,icon:Vn[`${e}-${t.title}`]||null})))),[l]),d=(0,N.useMemo)((()=>{var e;return i?.reduce(((e,t)=>{var n;const a=t.label||"",r=null!==(n=t.count)&&void 0!==n?n:"";let s=a;return r&&(s+=` (${r})`),[...e,{label:s,value:t.title||""}]}),[{value:"favorites",label:`${(0,ye.__)("Favorites","nfd-wonder-blocks")} (${null!==(e=s?.length)&&void 0!==e?e:0})`}]).sort(((e,t)=>"favorites"===e.value?1:"favorites"===t.value?-1:0))}),[i,s?.length]),{setIsSidebarLoading:c,setActivePatternsCategory:f,setActiveTemplatesCategory:u,setShouldResetKeywords:b}=(0,o.useDispatch)(ve),w=Sa(),{activePatternsCategory:m,activeTemplatesCategory:p,keywordsFilter:h,currentView:v}=(0,o.useSelect)((e=>({activePatternsCategory:e(ve).getActivePatternsCategory(),activeTemplatesCategory:e(ve).getActiveTemplatesCategory(),currentView:e(ve).getCurrentView(),keywordsFilter:e(ve).getKeywordsFilter()})));(0,N.useEffect)((()=>{c(!n&&r)}),[n,r,c]);const g=(0,N.useCallback)((t=>{"patterns"===e?f(t):u(t)}),[f,u,e]),y=(0,N.useCallback)((e=>{"favorites"===e||n.some((function(t){return t.title===e}))?g(e):n.length>0&&n[0].title&&"library"===v&&g(n[0].title),b(!0),w("library")}),[g,b,n]),_=(0,N.useCallback)((()=>{let t="";return t="patterns"===e?m:p,!("favorites"===t||n.some((function(e){return e.title===t})))&&n.length>0&&n[0].title&&"library"===v&&(t=n[0].title,g(t)),t}),[e,n,m,p,g]);return(0,G.jsxs)(G.Fragment,{children:[!n&&r&&(0,G.jsx)(ar,{count:12}),!n&&a&&(0,G.jsx)(er,{}),n&&(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(Fe.SelectControl,{className:"nfd-wba-modal__categories-select nfd-wba-mt-8 nfd-wba-h-12 nfd-wba-font-medium sm:!nfd-wba-hidden","aria-label":(0,ye.__)("Select a category","nfd-wonder-blocks"),value:_(),options:d,onChange:e=>y(e),__nextHasNoMarginBottom:!0}),(0,G.jsx)("ul",{className:"nfd-wba-list-elements nfd-wba-m-0 nfd-wba-list-none nfd-wba-flex-col nfd-wba-px-0 nfd-wba-py-4 nfd-wba-text-md nfd-wba-leading-5 sm:nfd-wba-flex",children:i?.map((e=>(0,G.jsx)(nr,{category:e,isActive:!h&&e?.title===_(),onClick:()=>{y(e?.title)},icon:e.icon&&(0,G.jsx)(De,{fill:"currentColor",icon:e.icon,size:20})},e.id)))})]})]})})),or=(0,N.memo)((({isSiteEditor:e=!1})=>{const{setActiveTab:t,setShouldResetKeywords:n}=(0,o.useDispatch)(ve),{activeTab:a}=(0,o.useSelect)((e=>({activeTab:e(ve).getActiveTab()})));return(0,G.jsxs)("div",{className:"nfd-wba-mx-4 nfd-wba-mt-1 nfd-wba-flex nfd-wba-shrink-0 nfd-wba-flex-col nfd-wba-border-0 sm:nfd-wba-row-span-2 sm:nfd-wba-mx-0 sm:nfd-wba-mt-0 sm:nfd-wba-w-full sm:nfd-wba-overflow-y-auto sm:nfd-wba-border-r sm:nfd-wba-border-solid sm:nfd-wba-border-grey-b",children:[(0,G.jsx)("div",{className:"nfd-wba-modal__header nfd-wba-modal__sidebar-header nfd-wba-justify-center nfd-wba-rounded-t nfd-wba-border !nfd-wba-border-b-0 nfd-wba-border-solid nfd-wba-border-grey-b sm:nfd-wba-justify-start sm:nfd-wba-rounded-none sm:nfd-wba-border-none",children:(0,G.jsx)(Ta,{})}),(0,G.jsx)(Fe.TabPanel,{className:"nfd-wba-tab-panel nfd-wba-z-10 nfd-wba-flex nfd-wba-grow nfd-wba-flex-col",activeClass:"nfd-wba--is-active",initialTabName:a,onSelect:e=>{t(e),n(!0)},tabs:[{name:"patterns",title:(0,ye.__)("Patterns","nfd-wonder-blocks")},{name:"templates",title:(0,ye.__)("Templates","nfd-wonder-blocks")}],children:t=>(0,G.jsx)(sr,{isSiteEditor:e,type:t.name})})]})})),lr=()=>{const{setIsModalOpen:e,setActiveTab:t,setActivePatternsCategory:n,setActiveTemplatesCategory:a}=(0,o.useDispatch)(ve),{isModalOpen:r,isEditingTemplate:s,editedPostType:l,currentView:i}=(0,o.useSelect)((e=>({currentView:e(ve).getCurrentView(),editedPostType:e("core/edit-site")?.getEditedPostType(),isEditingTemplate:e("core/edit-post")?.isEditingTemplate(),isModalOpen:e(ve).isModalOpen()}))),d=(0,N.useMemo)((()=>s||!!l),[s,l]);return(()=>{const e=(0,o.useSelect)((e=>e("core/block-editor").getBlocks()),[]);(0,N.useEffect)((()=>{document.dispatchEvent(new CustomEvent("wonder-blocks/block-order-changed"))}),[e])})(),(()=>{const e=(0,o.useSelect)((e=>e("core/block-editor").getBlocks()),[]),{updateBlockAttributes:t}=(0,o.useDispatch)("core/block-editor");(0,N.useEffect)((()=>{Xe(e,t)}),[e,t])})(),(0,N.useEffect)((()=>{const r=new URLSearchParams(window?.location?.search);let s;return r.has("wb-library")&&(s=setTimeout((()=>{"templates"===r.get("wb-library")?(t("templates"),r.has("wb-category")&&a(r.get("wb-category"))):r.has("wb-category")&&(t("patterns"),n(r.get("wb-category"))),ge("modal_open",{label_key:"trigger",trigger:"url"}),e(!0)}),300)),()=>{clearTimeout(s)}}),[t,e]),r?(0,G.jsx)(Fe.Modal,{className:"nfd-wba-modal nfd-wba-shadow-none sm:nfd-wba-max-h-[90%] md:nfd-wba-max-w-[90%]",__experimentalHideHeader:!0,"aria-expanded":!0,isFullScreen:!0,onRequestClose:()=>e(!1),children:(0,G.jsxs)("div",{className:"nfd-wba-library-modal-grid nfd-wba-grow nfd-wba-bg-white nfd-wba-text-dark-lighter",children:[(0,G.jsx)(or,{isSiteEditor:d}),(0,G.jsx)(Xa,{}),(0,G.jsx)(qa,{view:i})]})}):null},ir=()=>{const{isModalOpen:e}=(0,o.useSelect)((e=>({isModalOpen:e(ve).isModalOpen()}))),{setIsModalOpen:t}=(0,o.useDispatch)(ve);return(0,G.jsx)(Fe.ToolbarButton,{icon:(0,G.jsx)(De,{icon:$}),className:Ge()("nfd-wba-gap-1 nfd-wba-mr-2 nfd-wba-flex !nfd-wba-h-9 !nfd-wba-min-w-[36px] nfd-wba-shrink-0 nfd-wba-bg-brand !nfd-wba-p-0 nfd-wba-text-white hover:nfd-wba-bg-brand-darker hover:nfd-wba-text-white focus-visible:nfd-wba-text-white active:nfd-wba-bg-brand-darker-10 active:!nfd-wba-text-white lg:!nfd-wba-pl-3 lg:!nfd-wba-pr-[15px]",e&&"!nfd-wba-bg-dark nfd-wba-text-white"),isPressed:e,onClick:()=>{ge("modal_open",{label_key:"trigger",trigger:"toolbarButton"}),t(!0)},children:(0,G.jsx)("span",{className:"nfd-wba-ml-0.5 nfd-wba-hidden lg:nfd-wba-inline",children:A})})};M()((()=>{cr(),dr()}));const dr=(e="nfd-wba-modal")=>{if(document.getElementById(e))return;const t=Object.assign(document.createElement("div"),{id:e,className:"nfd-wba-modal"});document.body.append(t),(0,N.createRoot)(t).render((0,G.jsx)(lr,{}))},cr=()=>{(async({namespace:e,urls:{single:t,batch:n}={},settings:{debounce:{time:a}={},queue:{threshold:r=100}={}}={}})=>{!e||!E(e)&&(!t&&!n||((0,o.dispatch)(_).initializeNamespace(e),(0,o.dispatch)(_).updateHiiveUrls({single:t,batch:n},e),(0,o.dispatch)(_).updateHiiveDebounceTime(a,e),(0,o.dispatch)(_).updateHiiveEventsQueueThreshold(r,e),window.nfdUIAnalytics?.hiive?window.nfdUIAnalytics.hiive[e]=!0:window.nfdUIAnalytics={hiive:{[e]:!0}}))})({namespace:L,urls:{single:`${V}/events`,batch:`${V}/events/batch`},settings:{debounce:{time:3e3}}})};(0,T.registerPlugin)("wonder-blocks",{render:()=>{const e=new window.MutationObserver((e=>{for(const t of e)"childList"===t.type&&n()})),t=()=>{if(document.getElementById(P))return;const e=document.querySelector(".edit-post-header-toolbar")||document.querySelector(".edit-site-header-edit-mode__start");if(!e)return;const t=Object.assign(document.createElement("div"),{id:P,className:"nfd-wba-shrink-0"});e?.append(t),(0,N.createRoot)(t).render((0,G.jsx)(ir,{})),document.dispatchEvent(new Event("wonder-blocks/toolbar-button-added"))},n=(0,O.debounce)(t,300);if(document.querySelector(".edit-post-header-toolbar")||document.querySelector(".edit-site-header-edit-mode__start"))t();else{const t=document.body;t&&e.observe(t,{childList:!0,subtree:!0})}}})})(),((window.newfold=window.newfold||{}).WonderBlocks=window.newfold.WonderBlocks||{})["wonder-blocks"]=a})(); \ No newline at end of file diff --git a/includes/Api/Controllers/CacheController.php b/includes/Api/Controllers/CacheController.php index 6e12508..07065f5 100644 --- a/includes/Api/Controllers/CacheController.php +++ b/includes/Api/Controllers/CacheController.php @@ -14,42 +14,42 @@ public static function clear_cache( \WP_REST_Request $request ) { $type = $request->get_param( 'type' ); - $primary_type = SiteClassification::get_primary_type(); + $primary_type = SiteClassification::get_primary_type(); $secondary_type = SiteClassification::get_secondary_type(); - // Initialize response - $response = []; + // Initialize response + $response = array(); - if ( ! $type || $type === 'patterns' ) { - // Clear cache for patterns - $pattern_request = new WonderBlocksFetchRequest( + if ( ! $type || $type === 'patterns' ) { + // Clear cache for patterns + $pattern_request = new WonderBlocksFetchRequest( array( 'endpoint' => 'patterns', 'primary_type' => $primary_type, 'secondary_type' => $secondary_type, ) ); - WonderBlocks::clear_cache( $pattern_request ); - $response['patterns'] = 'Cache cleared'; - } + WonderBlocks::clear_cache( $pattern_request ); + $response['patterns'] = 'Cache cleared'; + } - if ( ! $type || $type === 'templates' ) { - // Clear cache for templates - $template_request = new WonderBlocksFetchRequest( + if ( ! $type || $type === 'templates' ) { + // Clear cache for templates + $template_request = new WonderBlocksFetchRequest( array( 'endpoint' => 'templates', 'primary_type' => $primary_type, 'secondary_type' => $secondary_type, ) ); - WonderBlocks::clear_cache( $template_request ); - $response['templates'] = 'Cache cleared'; - } + WonderBlocks::clear_cache( $template_request ); + $response['templates'] = 'Cache cleared'; + } - if ( ! $type || $type === 'categories' ) { + if ( ! $type || $type === 'categories' ) { - // Clear cache for categories - $category_request = new WonderBlocksFetchRequest( + // Clear cache for categories + $category_request = new WonderBlocksFetchRequest( array( 'endpoint' => 'categories', 'slug' => 'patterns', @@ -57,8 +57,8 @@ public static function clear_cache( \WP_REST_Request $request ) { 'secondary_type' => $secondary_type, ) ); - WonderBlocks::clear_cache( $category_request ); - + WonderBlocks::clear_cache( $category_request ); + $category_request = new WonderBlocksFetchRequest( array( 'endpoint' => 'categories', @@ -67,11 +67,11 @@ public static function clear_cache( \WP_REST_Request $request ) { 'secondary_type' => $secondary_type, ) ); - WonderBlocks::clear_cache( $category_request ); - - $response['categories'] = 'Cache cleared'; - } + WonderBlocks::clear_cache( $category_request ); + + $response['categories'] = 'Cache cleared'; + } - return new \WP_REST_Response( $response, 200 ); - } -} \ No newline at end of file + return new \WP_REST_Response( $response, 200 ); + } +} diff --git a/includes/Api/RestApi.php b/includes/Api/RestApi.php index 0a949e9..cd1e30d 100644 --- a/includes/Api/RestApi.php +++ b/includes/Api/RestApi.php @@ -39,7 +39,7 @@ public function register_routes() { RestApiController::post( '/events', array( EventsController::class, 'send' ), EventsController::get_send_event_args() ); RestApiController::post( '/events/batch', array( EventsController::class, 'send_batch' ) ); - + RestApiController::post( '/clear-cache', array( CacheController::class, 'clear_cache' ) ); } } diff --git a/includes/BlockStyles.php b/includes/BlockStyles.php index 72f02f9..1b724f2 100644 --- a/includes/BlockStyles.php +++ b/includes/BlockStyles.php @@ -8,36 +8,36 @@ class BlockStyles { * Constructor to hook into WordPress. */ public function __construct() { - add_action( 'init', [ $this, 'register_block_styles' ] ); + add_action( 'init', array( $this, 'register_block_styles' ) ); } /** * Register custom block styles for the core/group block. */ public function register_block_styles() { - - $styles = [ - [ + + $styles = array( + array( 'name' => 'nfd-theme-white', 'label' => __( 'White', 'nfd-wonder-blocks' ), - ], - [ + ), + array( 'name' => 'nfd-theme-light', 'label' => __( 'Light', 'nfd-wonder-blocks' ), - ], - [ + ), + array( 'name' => 'nfd-theme-dark', 'label' => __( 'Dark', 'nfd-wonder-blocks' ), - ], - [ + ), + array( 'name' => 'nfd-theme-darker', 'label' => __( 'Darker', 'nfd-wonder-blocks' ), - ], - [ + ), + array( 'name' => 'nfd-theme-primary', 'label' => __( 'Primary', 'nfd-wonder-blocks' ), - ], - ]; + ), + ); foreach ( $styles as $style ) { register_block_style( diff --git a/includes/PatternsFeature.php b/includes/PatternsFeature.php index af720b7..459acac 100644 --- a/includes/PatternsFeature.php +++ b/includes/PatternsFeature.php @@ -62,4 +62,4 @@ public function defineConstants( Container $container ) { ); } } -} \ No newline at end of file +} diff --git a/package-lock.json b/package-lock.json index 2a41f6f..d330c8b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,33 +1,33 @@ { "name": "@newfold-labs/wp-module-patterns", - "version": "2.3.0", + "version": "2.4.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@newfold-labs/wp-module-patterns", - "version": "2.3.0", + "version": "2.4.0", "license": "GPL-2.0-or-later", "dependencies": { "@newfold-labs/js-utility-ui-analytics": "1.2.0", - "@wordpress/icons": "^10.5.0", + "@wordpress/icons": "^10.6.0", "classnames": "^2.5.1", "compare-versions": "^6.1.1", "lodash": "^4.17.21", - "lucide-react": "^0.428.0", + "lucide-react": "^0.436.0", "react-intersection-observer": "^9.13.0", "react-masonry-css": "^1.0.16", "swr": "^2.2.5" }, "devDependencies": { - "@wordpress/eslint-plugin": "^20.2.0", - "@wordpress/prettier-config": "^4.5.0", - "@wordpress/scripts": "^28.5.0", + "@wordpress/eslint-plugin": "^20.3.0", + "@wordpress/prettier-config": "^4.6.0", + "@wordpress/scripts": "^28.6.0", "autoprefixer": "^10.4.20", "concurrently": "^8.2.2", "cssnano": "^7.0.5", "esbuild": "^0.23.1", - "eslint": "^9.9.0", + "eslint": "^9.9.1", "eslint-plugin-prettier": "^5.2.1", "postcss": "^8.4.41", "postcss-cli": "^11.0.0", @@ -35,7 +35,6 @@ "postcss-safe-important": "^2.0.1", "prettier": "^3.3.3", "prettier-plugin-tailwindcss": "^0.6.6", - "rimraf": "^6.0.1", "tailwindcss": "^3.4.10", "webpack-merge": "^6.0.1" } @@ -322,7 +321,9 @@ } }, "node_modules/@babel/helper-plugin-utils": { - "version": "7.24.7", + "version": "7.24.8", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.8.tgz", + "integrity": "sha512-FFWx5142D8h2Mgr/iPVGH5G7w6jDn4jUSpZTyDnQO0Yn7Ks2Kuz6Pci8H6MPCoUJegd/UZQ3tAvfLCxQSnWWwg==", "dev": true, "license": "MIT", "engines": { @@ -1467,16 +1468,16 @@ } }, "node_modules/@babel/plugin-transform-runtime": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.24.7.tgz", - "integrity": "sha512-YqXjrk4C+a1kZjewqt+Mmu2UuV1s07y8kqcUf4qYLnoqemhR4gRQikhdAhSVJioMjVTu6Mo6pAbaypEA3jY6fw==", + "version": "7.25.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.25.4.tgz", + "integrity": "sha512-8hsyG+KUYGY0coX6KUCDancA0Vw225KJ2HJO0yCNr1vq5r+lJTleDaJf0K7iOhjw4SWhu03TMBzYTJ9krmzULQ==", "dev": true, "license": "MIT", "dependencies": { "@babel/helper-module-imports": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7", + "@babel/helper-plugin-utils": "^7.24.8", "babel-plugin-polyfill-corejs2": "^0.4.10", - "babel-plugin-polyfill-corejs3": "^0.10.1", + "babel-plugin-polyfill-corejs3": "^0.10.6", "babel-plugin-polyfill-regenerator": "^0.6.1", "semver": "^6.3.1" }, @@ -2326,9 +2327,9 @@ } }, "node_modules/@eslint/config-array": { - "version": "0.17.1", - "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.17.1.tgz", - "integrity": "sha512-BlYOpej8AQ8Ev9xVqroV7a02JK3SkBAaN9GfMMH9W6Ch8FlQlkjGw4Ir7+FgYwfirivAf4t+GtzuAxqfukmISA==", + "version": "0.18.0", + "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.18.0.tgz", + "integrity": "sha512-fTxvnS1sRMu3+JjXwJG0j/i4RT9u4qJ+lqS/yCGap4lH4zZGzQ7tu+xZqQmcMZq5OBZDL4QRxQzRjkWcGt8IVw==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -2390,9 +2391,9 @@ } }, "node_modules/@eslint/js": { - "version": "9.9.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.9.0.tgz", - "integrity": "sha512-hhetes6ZHP3BlXLxmd8K2SNgkhNSi+UcecbnwWKwpP7kyi/uC75DJ1lOOBO3xrC4jyojtGE3YxKZPHfk4yrgug==", + "version": "9.9.1", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.9.1.tgz", + "integrity": "sha512-xIDQRsfg5hNBqHz04H1R3scSVwmI+KUbqjsQKHKQ1DAUSaUjYPReZZmS/5PNiKu1fUvzDd6H7DEDKACSEhu+TQ==", "dev": true, "license": "MIT", "engines": { @@ -3327,23 +3328,6 @@ "url": "https://opencollective.com/unts" } }, - "node_modules/@playwright/test": { - "version": "1.46.1", - "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.46.1.tgz", - "integrity": "sha512-Fq6SwLujA/DOIvNC2EL/SojJnkKf/rAwJ//APpJJHRyMi1PdKrY3Az+4XNQ51N4RTbItbIByQ0jgd1tayq1aeA==", - "dev": true, - "license": "Apache-2.0", - "peer": true, - "dependencies": { - "playwright": "1.46.1" - }, - "bin": { - "playwright": "cli.js" - }, - "engines": { - "node": ">=18" - } - }, "node_modules/@pmmmwh/react-refresh-webpack-plugin": { "version": "0.5.15", "dev": true, @@ -4785,9 +4769,9 @@ } }, "node_modules/@wordpress/babel-preset-default": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/@wordpress/babel-preset-default/-/babel-preset-default-8.5.0.tgz", - "integrity": "sha512-ra9UWhidrAIoYTuqIIMFs+5LawUis/qDhiB2c3mc9HJUXXQDOvdhww5f9H9SjWqOo1oB9jSuVh4pXtBpcR1E6A==", + "version": "8.6.0", + "resolved": "https://registry.npmjs.org/@wordpress/babel-preset-default/-/babel-preset-default-8.6.0.tgz", + "integrity": "sha512-g8Soek91qosZgF7GVuXu8MIe/T5HZh/sxjN2w7+XWwHpT3OqOOExKbPpfHRVa2kfvqyU0M5HOG3rWU9p5grAMw==", "dev": true, "license": "GPL-2.0-or-later", "dependencies": { @@ -4797,8 +4781,8 @@ "@babel/preset-env": "^7.16.0", "@babel/preset-typescript": "^7.16.0", "@babel/runtime": "^7.16.0", - "@wordpress/browserslist-config": "^6.5.0", - "@wordpress/warning": "^3.5.0", + "@wordpress/browserslist-config": "^6.6.0", + "@wordpress/warning": "^3.6.0", "browserslist": "^4.21.10", "core-js": "^3.31.0", "react": "^18.3.0" @@ -4809,9 +4793,9 @@ } }, "node_modules/@wordpress/base-styles": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@wordpress/base-styles/-/base-styles-5.5.0.tgz", - "integrity": "sha512-7sXNXkF/oayvnupDLMfDktkvDlCt8V9jOgKFWhWeVrthwccI8hYLylS7ZHsD1+Cg2uKfQ1In4xJ4ThHNjl2JUQ==", + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@wordpress/base-styles/-/base-styles-5.6.0.tgz", + "integrity": "sha512-U+4ROBYaxzyf96bvFEJTzTJTaSS1igk3UxMJZIUa2Ixs+rBirywEkMPbbwto8uRCCEy4c0Gq/f+lmzfU02Vvpg==", "dev": true, "license": "GPL-2.0-or-later", "engines": { @@ -4820,9 +4804,9 @@ } }, "node_modules/@wordpress/browserslist-config": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/@wordpress/browserslist-config/-/browserslist-config-6.5.0.tgz", - "integrity": "sha512-B5cYN5INRknBjzbNH2qJOq6x66qXS2UoLk5Ebyew1JkW9xzvX1O+eQumjFv65fAN6RNPtomHs8c7BNoD3wAebQ==", + "version": "6.6.0", + "resolved": "https://registry.npmjs.org/@wordpress/browserslist-config/-/browserslist-config-6.6.0.tgz", + "integrity": "sha512-godfjZwl9gZmgXKxUctl01MxX5uDGIgcGa7VrFxtoVX0YZPKuZob0LUOkENddfWTTRmPQfrQBMDA05XtPsmPcA==", "dev": true, "license": "GPL-2.0-or-later", "engines": { @@ -4883,9 +4867,9 @@ } }, "node_modules/@wordpress/dependency-extraction-webpack-plugin": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/@wordpress/dependency-extraction-webpack-plugin/-/dependency-extraction-webpack-plugin-6.5.0.tgz", - "integrity": "sha512-UpbBNUh+lc8cquul08c6jKVgjxf6+pUJE3Rd08kDz3DUrD3sq3W8lYnJ92mqcZO1RgoZGwtM6Swbliv6erxV8g==", + "version": "6.6.0", + "resolved": "https://registry.npmjs.org/@wordpress/dependency-extraction-webpack-plugin/-/dependency-extraction-webpack-plugin-6.6.0.tgz", + "integrity": "sha512-w3TqOnLnjmbBaZRea7uBoF3Uo5pH4ORdmGTiIigezl/tp7c14VIw0x9xJNs3an7hWX6yal8L5We6WR4ixSJXOQ==", "dev": true, "license": "GPL-2.0-or-later", "dependencies": { @@ -4922,9 +4906,9 @@ } }, "node_modules/@wordpress/e2e-test-utils-playwright": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@wordpress/e2e-test-utils-playwright/-/e2e-test-utils-playwright-1.5.0.tgz", - "integrity": "sha512-gQuhdDMejum7a4hWW4ejIWSBv1xeeCFda5o7eq766evarU+HwcN+4GPiSYKj2iEHJ4dge1On2VXeg1RFLY3w5Q==", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@wordpress/e2e-test-utils-playwright/-/e2e-test-utils-playwright-1.6.0.tgz", + "integrity": "sha512-ncu9cgaysr4tYwMfWYAu0O6E6vV8iMGvHeMmZow965ogIldePkIonQIwLB3PdXz536/u5kgUAjqcTb+nhEB8lQ==", "dev": true, "license": "GPL-2.0-or-later", "dependencies": { @@ -4971,17 +4955,17 @@ } }, "node_modules/@wordpress/eslint-plugin": { - "version": "20.2.0", - "resolved": "https://registry.npmjs.org/@wordpress/eslint-plugin/-/eslint-plugin-20.2.0.tgz", - "integrity": "sha512-lC8sUkzf4x3ByQHs3xF7X0XxS3SPEYzXho9+NeIgB5Cg0s/PlyWuPQI+4oHVgZI3hzPH76G6ewRtIt27gQRcdw==", + "version": "20.3.0", + "resolved": "https://registry.npmjs.org/@wordpress/eslint-plugin/-/eslint-plugin-20.3.0.tgz", + "integrity": "sha512-Y272ZtosmXPJJ0K5X7j0ufcpuDf1unEEDOmdyStHhYV3DGjfETPKgMBVjpmWIObu5oMlqqkTiiQaNb+lho3EIQ==", "dev": true, "license": "GPL-2.0-or-later", "dependencies": { "@babel/eslint-parser": "^7.16.0", "@typescript-eslint/eslint-plugin": "^6.4.1", "@typescript-eslint/parser": "^6.4.1", - "@wordpress/babel-preset-default": "^8.5.0", - "@wordpress/prettier-config": "^4.5.0", + "@wordpress/babel-preset-default": "^8.6.0", + "@wordpress/prettier-config": "^4.6.0", "cosmiconfig": "^7.0.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-import": "^2.25.2", @@ -5518,14 +5502,14 @@ } }, "node_modules/@wordpress/icons": { - "version": "10.5.0", - "resolved": "https://registry.npmjs.org/@wordpress/icons/-/icons-10.5.0.tgz", - "integrity": "sha512-BZwKBRKoTef9uW73T+FwK6d4JlcvgdVAaz3LB5dCluXg5PLV5ufMdumAaMxKWq/Ffl92/ddt8CKIdHjxfAZF4A==", + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/@wordpress/icons/-/icons-10.6.0.tgz", + "integrity": "sha512-dy58bQFVee2izXA65Ptar1f8mVhL1hilOJI3BWbLWmxHr9H4VjI0ohjW4ZkAhahBG2yIvKZja/HaFMTs5O/7Xg==", "license": "GPL-2.0-or-later", "dependencies": { "@babel/runtime": "^7.16.0", - "@wordpress/element": "^6.5.0", - "@wordpress/primitives": "^4.5.0" + "@wordpress/element": "^6.6.0", + "@wordpress/primitives": "^4.6.0" }, "engines": { "node": ">=18.12.0", @@ -5533,15 +5517,15 @@ } }, "node_modules/@wordpress/icons/node_modules/@wordpress/element": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/@wordpress/element/-/element-6.5.0.tgz", - "integrity": "sha512-N9w3jfceltdDEN71jpaMCXU+jbvec9kredvQIn/6YNiUMarPXWth7DJYU3+mDtbYawnTIvytzGjbj/J+bqqdHg==", + "version": "6.6.0", + "resolved": "https://registry.npmjs.org/@wordpress/element/-/element-6.6.0.tgz", + "integrity": "sha512-IvSocvmd0fNus/XZo7K1EU4UD7aOKUdi3Y7pFUW2ljBbL3vuXk3E+6bwYahCjUIlBhpgGuCjemWTdg2Awzfmiw==", "license": "GPL-2.0-or-later", "dependencies": { "@babel/runtime": "^7.16.0", "@types/react": "^18.2.79", "@types/react-dom": "^18.2.25", - "@wordpress/escape-html": "^3.5.0", + "@wordpress/escape-html": "^3.6.0", "change-case": "^4.1.2", "is-plain-object": "^5.0.0", "react": "^18.3.0", @@ -5553,9 +5537,9 @@ } }, "node_modules/@wordpress/icons/node_modules/@wordpress/escape-html": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/@wordpress/escape-html/-/escape-html-3.5.0.tgz", - "integrity": "sha512-8dUWTmsDZuqAmBtRgk0JpiIafRKPM4n8tqCr147AugTbP/vyQ7rIzG3M/YCtVSmDr6f/qZ32YU8J7c34RhZ/9g==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/@wordpress/escape-html/-/escape-html-3.6.0.tgz", + "integrity": "sha512-NY9As0uJ81TPTogBzD6G/m7L4+sjvkjTEKkNsHLD5aEYxRX+RHlPYPyyd6y4CmlOkttwymbV9eKNP+LrfX5zZQ==", "license": "GPL-2.0-or-later", "dependencies": { "@babel/runtime": "^7.16.0" @@ -5576,9 +5560,9 @@ } }, "node_modules/@wordpress/jest-console": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/@wordpress/jest-console/-/jest-console-8.5.0.tgz", - "integrity": "sha512-kcNNbPFUNMCZfeNgPoee2SpyL3XgNTuPdKHa3JBM/lUNiWl1FAxFnqmElM/0UBUrVdbl/NmggVdOspsCE0eY8w==", + "version": "8.6.0", + "resolved": "https://registry.npmjs.org/@wordpress/jest-console/-/jest-console-8.6.0.tgz", + "integrity": "sha512-U680VvNbmg8oGcNpeovuFN8w2Y8iN/lVDyjvO+iT/hsM74qAzUfjb4EOhQiaSnT/GEGP8KAqw7FNSUSMLv+/YA==", "dev": true, "license": "GPL-2.0-or-later", "dependencies": { @@ -5594,13 +5578,13 @@ } }, "node_modules/@wordpress/jest-preset-default": { - "version": "12.5.0", - "resolved": "https://registry.npmjs.org/@wordpress/jest-preset-default/-/jest-preset-default-12.5.0.tgz", - "integrity": "sha512-VeSW5dbZzwrNF0ffpZedTLbj1wG7ByJflReMRwT/ljjIK+CDTUCUbLynnGsvSfV/lc2GzNqI6bqgY22DmK53Lw==", + "version": "12.6.0", + "resolved": "https://registry.npmjs.org/@wordpress/jest-preset-default/-/jest-preset-default-12.6.0.tgz", + "integrity": "sha512-02ZozKXzlBdJnr5fD4PKfNrDFmsA44KvPJa1zNOsIILxHk+C5ZfqcSL0q++k2dOsSpLuIZg+tNwKkOeluL+s3Q==", "dev": true, "license": "GPL-2.0-or-later", "dependencies": { - "@wordpress/jest-console": "^8.5.0", + "@wordpress/jest-console": "^8.6.0", "babel-jest": "^29.6.2" }, "engines": { @@ -5624,9 +5608,9 @@ } }, "node_modules/@wordpress/npm-package-json-lint-config": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@wordpress/npm-package-json-lint-config/-/npm-package-json-lint-config-5.5.0.tgz", - "integrity": "sha512-W48a+iIwia+RXN6fg6vxUZj4fyrbuRKFiEV0sIOsxKRJK9zFSink/RKEEKq3aLT17QUTcQjuV2DA4f+eSVaadA==", + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@wordpress/npm-package-json-lint-config/-/npm-package-json-lint-config-5.6.0.tgz", + "integrity": "sha512-wJKEX0XC0eDQFTnvpuBQdV12KyJzWHJaAA8n6pyIgRWz8RjdeANEaKHAbdDK1aHOA5DbwuxZh7NUm4ngMaPBrA==", "dev": true, "license": "GPL-2.0-or-later", "engines": { @@ -5638,13 +5622,13 @@ } }, "node_modules/@wordpress/postcss-plugins-preset": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@wordpress/postcss-plugins-preset/-/postcss-plugins-preset-5.5.0.tgz", - "integrity": "sha512-DatUnlrFMX6MtW+KsmuMiLaBSad78oX5nsroZPSFveXELL6CD5BHNcc24SoV2U8XI5ZGNJHHxzqVar/TQ2tbSQ==", + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@wordpress/postcss-plugins-preset/-/postcss-plugins-preset-5.6.0.tgz", + "integrity": "sha512-r8QShU9dKd23nPcnOtW4Cvaf8LyZ9qyoIWw50lVNV4H9LAvaaXFN7kzID+B7bosLaqoB5vAe/H17n6/kxdDfHQ==", "dev": true, "license": "GPL-2.0-or-later", "dependencies": { - "@wordpress/base-styles": "^5.5.0", + "@wordpress/base-styles": "^5.6.0", "autoprefixer": "^10.2.5" }, "engines": { @@ -5656,9 +5640,9 @@ } }, "node_modules/@wordpress/prettier-config": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/@wordpress/prettier-config/-/prettier-config-4.5.0.tgz", - "integrity": "sha512-HxpR4128yfJJs1idQaBJfBffa6P2JXKN7mvx+D/G2UukjjWlXHaCXLO8wuBLnXwXSg4pOq5vfDM/p5TawZd7Zg==", + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/@wordpress/prettier-config/-/prettier-config-4.6.0.tgz", + "integrity": "sha512-e43Ep9OiNt/zRkY0NAdPni3ac7Tf761lEZDVwxwSZdrm5N4u6SXqXJrHo5/AxcnLhq/21TG4Ry+g4zEA6L1aXA==", "dev": true, "license": "GPL-2.0-or-later", "engines": { @@ -5670,13 +5654,13 @@ } }, "node_modules/@wordpress/primitives": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/@wordpress/primitives/-/primitives-4.5.0.tgz", - "integrity": "sha512-1TYCpCAr2BmYJESlD8v325GgYXSgUbrFtebwgvpMN/28CEwmPN+ORRECV41nPX4yVJ2k0kYzYxzQUGp/78xWsw==", + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/@wordpress/primitives/-/primitives-4.6.0.tgz", + "integrity": "sha512-uu4ANmgwslB2YOyIBQDSwKTQXXqGDL9Gz5INe+UeJZBMt2uU/TGEjKcZ63dqbuM8mqlPAcdVGL52RCt7mIKEhQ==", "license": "GPL-2.0-or-later", "dependencies": { "@babel/runtime": "^7.16.0", - "@wordpress/element": "^6.5.0", + "@wordpress/element": "^6.6.0", "clsx": "^2.1.1" }, "engines": { @@ -5688,15 +5672,15 @@ } }, "node_modules/@wordpress/primitives/node_modules/@wordpress/element": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/@wordpress/element/-/element-6.5.0.tgz", - "integrity": "sha512-N9w3jfceltdDEN71jpaMCXU+jbvec9kredvQIn/6YNiUMarPXWth7DJYU3+mDtbYawnTIvytzGjbj/J+bqqdHg==", + "version": "6.6.0", + "resolved": "https://registry.npmjs.org/@wordpress/element/-/element-6.6.0.tgz", + "integrity": "sha512-IvSocvmd0fNus/XZo7K1EU4UD7aOKUdi3Y7pFUW2ljBbL3vuXk3E+6bwYahCjUIlBhpgGuCjemWTdg2Awzfmiw==", "license": "GPL-2.0-or-later", "dependencies": { "@babel/runtime": "^7.16.0", "@types/react": "^18.2.79", "@types/react-dom": "^18.2.25", - "@wordpress/escape-html": "^3.5.0", + "@wordpress/escape-html": "^3.6.0", "change-case": "^4.1.2", "is-plain-object": "^5.0.0", "react": "^18.3.0", @@ -5708,9 +5692,9 @@ } }, "node_modules/@wordpress/primitives/node_modules/@wordpress/escape-html": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/@wordpress/escape-html/-/escape-html-3.5.0.tgz", - "integrity": "sha512-8dUWTmsDZuqAmBtRgk0JpiIafRKPM4n8tqCr147AugTbP/vyQ7rIzG3M/YCtVSmDr6f/qZ32YU8J7c34RhZ/9g==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/@wordpress/escape-html/-/escape-html-3.6.0.tgz", + "integrity": "sha512-NY9As0uJ81TPTogBzD6G/m7L4+sjvkjTEKkNsHLD5aEYxRX+RHlPYPyyd6y4CmlOkttwymbV9eKNP+LrfX5zZQ==", "license": "GPL-2.0-or-later", "dependencies": { "@babel/runtime": "^7.16.0" @@ -5758,25 +5742,25 @@ } }, "node_modules/@wordpress/scripts": { - "version": "28.5.0", - "resolved": "https://registry.npmjs.org/@wordpress/scripts/-/scripts-28.5.0.tgz", - "integrity": "sha512-J98tOf5+nWaKneVpGqCB8RcBzm/Rv+SWVIgTvUE3AOtp721r7GBkClLMDzjwC08sYW2cANG/JCYZ69LHaK3mlg==", + "version": "28.6.0", + "resolved": "https://registry.npmjs.org/@wordpress/scripts/-/scripts-28.6.0.tgz", + "integrity": "sha512-CBmmC3ftafLQ0hXXust5w9W/H1D14k28oQxCSYWQncAcCocGyOlALoEN27BGh+Hb79PZDqC/HB71ni6fQZOQTQ==", "dev": true, "license": "GPL-2.0-or-later", "dependencies": { "@babel/core": "^7.16.0", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.11", "@svgr/webpack": "^8.0.1", - "@wordpress/babel-preset-default": "^8.5.0", - "@wordpress/browserslist-config": "^6.5.0", - "@wordpress/dependency-extraction-webpack-plugin": "^6.5.0", - "@wordpress/e2e-test-utils-playwright": "^1.5.0", - "@wordpress/eslint-plugin": "^20.2.0", - "@wordpress/jest-preset-default": "^12.5.0", - "@wordpress/npm-package-json-lint-config": "^5.5.0", - "@wordpress/postcss-plugins-preset": "^5.5.0", - "@wordpress/prettier-config": "^4.5.0", - "@wordpress/stylelint-config": "^22.5.0", + "@wordpress/babel-preset-default": "^8.6.0", + "@wordpress/browserslist-config": "^6.6.0", + "@wordpress/dependency-extraction-webpack-plugin": "^6.6.0", + "@wordpress/e2e-test-utils-playwright": "^1.6.0", + "@wordpress/eslint-plugin": "^20.3.0", + "@wordpress/jest-preset-default": "^12.6.0", + "@wordpress/npm-package-json-lint-config": "^5.6.0", + "@wordpress/postcss-plugins-preset": "^5.6.0", + "@wordpress/prettier-config": "^4.6.0", + "@wordpress/stylelint-config": "^22.6.0", "adm-zip": "^0.5.9", "babel-jest": "^29.6.2", "babel-loader": "^8.2.3", @@ -5832,7 +5816,7 @@ "npm": ">=8.19.2" }, "peerDependencies": { - "@playwright/test": "^1.45.1", + "@playwright/test": "^1.46.0", "react": "^18.0.0", "react-dom": "^18.0.0" } @@ -6770,9 +6754,9 @@ } }, "node_modules/@wordpress/stylelint-config": { - "version": "22.5.0", - "resolved": "https://registry.npmjs.org/@wordpress/stylelint-config/-/stylelint-config-22.5.0.tgz", - "integrity": "sha512-CgKU37JVYgcje8SUXt87/5tWpor6zYm+mFf4FGZFPDCIGh9KXuLfsfyau4sJ2YI16qMlFiSwyWQMKWG86p1AhA==", + "version": "22.6.0", + "resolved": "https://registry.npmjs.org/@wordpress/stylelint-config/-/stylelint-config-22.6.0.tgz", + "integrity": "sha512-wtGdEbHp99Vh/ya4swP8AWKzZCDFHke1SYHvmgdbomSJ+C87APp9q4ggfk2VOk/tIcrHPK9oagDFH05B8H+VLA==", "dev": true, "license": "MIT", "dependencies": { @@ -6810,9 +6794,9 @@ } }, "node_modules/@wordpress/warning": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/@wordpress/warning/-/warning-3.5.0.tgz", - "integrity": "sha512-cYM2Vqf2EokJJoWHD5Ry15OUmdsKtDgR8/qxE0sWHUAdSQeoTuJZnqhgYI898cZGxHaZWX2xJCxQa7Qtwl8lqw==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/@wordpress/warning/-/warning-3.6.0.tgz", + "integrity": "sha512-pm57z1LZkzfQsXsji6yxcP0XSymKbvP087vJLlMkmLf+MoNVyTD6UvFpXl8hRSH6C6pySoJSgGFXaH81CRuO2Q==", "dev": true, "license": "GPL-2.0-or-later", "engines": { @@ -7575,12 +7559,14 @@ } }, "node_modules/babel-plugin-polyfill-corejs3": { - "version": "0.10.4", + "version": "0.10.6", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.10.6.tgz", + "integrity": "sha512-b37+KR2i/khY5sKmWNVQAnitvquQbNdWy6lJdsr0kmquCKEEUgMKK4SboVM3HtfnZilfjr4MMQ7vY58FVWDtIA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-define-polyfill-provider": "^0.6.1", - "core-js-compat": "^3.36.1" + "@babel/helper-define-polyfill-provider": "^0.6.2", + "core-js-compat": "^3.38.0" }, "peerDependencies": { "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" @@ -8227,6 +8213,19 @@ "node": ">=6.0" } }, + "node_modules/chromium-bidi": { + "version": "0.4.16", + "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-0.4.16.tgz", + "integrity": "sha512-7ZbXdWERxRxSwo3txsBjjmc/NLxqb1Bk30mRb0BMS4YIaiV6zvKZqL/UAH+DdqcDYayDWk2n/y8klkBDODrPvA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "mitt": "3.0.0" + }, + "peerDependencies": { + "devtools-protocol": "*" + } + }, "node_modules/ci-info": { "version": "3.9.0", "dev": true, @@ -8673,9 +8672,9 @@ } }, "node_modules/core-js": { - "version": "3.38.0", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.38.0.tgz", - "integrity": "sha512-XPpwqEodRljce9KswjZShh95qJ1URisBeKCjUdq27YdenkslVe7OO0ZJhlYXAChW7OhXaRLl8AAba7IBfoIHug==", + "version": "3.38.1", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.38.1.tgz", + "integrity": "sha512-OP35aUorbU3Zvlx7pjsFdu1rGNnD4pgw/CWoYzRY3t2EzoVT7shKHY1dlAy3f41cGIO7ZDPQimhGFTlEYkG/Hw==", "dev": true, "hasInstallScript": true, "license": "MIT", @@ -8685,11 +8684,13 @@ } }, "node_modules/core-js-compat": { - "version": "3.37.1", + "version": "3.38.1", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.38.1.tgz", + "integrity": "sha512-JRH6gfXxGmrzF3tZ57lFx97YARxCXPaMzPo6jELZhv88pBH5VXpQ+y0znKGlFnzuaihqhLbefxSJxWJMPtfDzw==", "dev": true, "license": "MIT", "dependencies": { - "browserslist": "^4.23.0" + "browserslist": "^4.23.3" }, "funding": { "type": "opencollective", @@ -10070,17 +10071,17 @@ } }, "node_modules/eslint": { - "version": "9.9.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.9.0.tgz", - "integrity": "sha512-JfiKJrbx0506OEerjK2Y1QlldtBxkAlLxT5OEcRF8uaQ86noDe2k31Vw9rnSWv+MXZHj7OOUV/dA0AhdLFcyvA==", + "version": "9.9.1", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.9.1.tgz", + "integrity": "sha512-dHvhrbfr4xFQ9/dq+jcVneZMyRYLjggWjk6RVsIiHsP8Rz6yZ8LvZ//iU4TrZF+SXWG+JkNF2OyiZRvzgRDqMg==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.11.0", - "@eslint/config-array": "^0.17.1", + "@eslint/config-array": "^0.18.0", "@eslint/eslintrc": "^3.1.0", - "@eslint/js": "9.9.0", + "@eslint/js": "9.9.1", "@humanwhocodes/module-importer": "^1.0.1", "@humanwhocodes/retry": "^0.3.0", "@nodelib/fs.walk": "^1.2.8", @@ -14872,19 +14873,6 @@ } } }, - "node_modules/lighthouse/node_modules/puppeteer-core/node_modules/chromium-bidi": { - "version": "0.4.16", - "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-0.4.16.tgz", - "integrity": "sha512-7ZbXdWERxRxSwo3txsBjjmc/NLxqb1Bk30mRb0BMS4YIaiV6zvKZqL/UAH+DdqcDYayDWk2n/y8klkBDODrPvA==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "mitt": "3.0.0" - }, - "peerDependencies": { - "devtools-protocol": "*" - } - }, "node_modules/lighthouse/node_modules/puppeteer-core/node_modules/devtools-protocol": { "version": "0.0.1147663", "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1147663.tgz", @@ -15191,9 +15179,9 @@ } }, "node_modules/lucide-react": { - "version": "0.428.0", - "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.428.0.tgz", - "integrity": "sha512-rGrzslfEcgqwh+TLBC5qJ8wvVIXhLvAIXVFKNHndYyb1utSxxn9rXOC+1CNJLi6yNOooyPqIs6+3YCp6uSiEvg==", + "version": "0.436.0", + "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.436.0.tgz", + "integrity": "sha512-N292bIxoqm1aObAg0MzFtvhYwgQE6qnIOWx/GLj5ONgcTPH6N0fD9bVq/GfdeC9ZORBXozt/XeEKDpiB3x3vlQ==", "license": "ISC", "peerDependencies": { "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0-rc" @@ -16760,56 +16748,6 @@ "node": ">=8" } }, - "node_modules/playwright": { - "version": "1.46.1", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.46.1.tgz", - "integrity": "sha512-oPcr1yqoXLCkgKtD5eNUPLiN40rYEM39odNpIb6VE6S7/15gJmA1NzVv6zJYusV0e7tzvkU/utBFNa/Kpxmwng==", - "dev": true, - "license": "Apache-2.0", - "peer": true, - "dependencies": { - "playwright-core": "1.46.1" - }, - "bin": { - "playwright": "cli.js" - }, - "engines": { - "node": ">=18" - }, - "optionalDependencies": { - "fsevents": "2.3.2" - } - }, - "node_modules/playwright-core": { - "version": "1.46.1", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.46.1.tgz", - "integrity": "sha512-h9LqIQaAv+CYvWzsZ+h3RsrqCStkBHlgo6/TJlFst3cOTlLghBQlJwPOZKQJTKNaD3QIB7aAVQ+gfWbN3NXB7A==", - "dev": true, - "license": "Apache-2.0", - "peer": true, - "bin": { - "playwright-core": "cli.js" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/playwright/node_modules/fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "peer": true, - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, "node_modules/plur": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/plur/-/plur-4.0.0.tgz", @@ -18602,122 +18540,6 @@ "node": ">=0.10.0" } }, - "node_modules/rimraf": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-6.0.1.tgz", - "integrity": "sha512-9dkvaxAsk/xNXSJzMgFqqMCuFgt2+KsOFek3TMLfo8NCPfWpBmqwyNn5Y+NX56QUYfCtsyhF3ayiboEoUmJk/A==", - "dev": true, - "license": "ISC", - "dependencies": { - "glob": "^11.0.0", - "package-json-from-dist": "^1.0.0" - }, - "bin": { - "rimraf": "dist/esm/bin.mjs" - }, - "engines": { - "node": "20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/rimraf/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dev": true, - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/rimraf/node_modules/glob": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-11.0.0.tgz", - "integrity": "sha512-9UiX/Bl6J2yaBbxKoEBRm4Cipxgok8kQYcOPEhScPwebu2I0HoQOuYdIO6S3hLuWoZgpDpwQZMzTFxgpkyT76g==", - "dev": true, - "license": "ISC", - "dependencies": { - "foreground-child": "^3.1.0", - "jackspeak": "^4.0.1", - "minimatch": "^10.0.0", - "minipass": "^7.1.2", - "package-json-from-dist": "^1.0.0", - "path-scurry": "^2.0.0" - }, - "bin": { - "glob": "dist/esm/bin.mjs" - }, - "engines": { - "node": "20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/rimraf/node_modules/jackspeak": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-4.0.1.tgz", - "integrity": "sha512-cub8rahkh0Q/bw1+GxP7aeSe29hHHn2V4m29nnDlvCdlgU+3UGxkZp7Z53jLUdpX3jdTO0nJZUDl3xvbWc2Xog==", - "dev": true, - "license": "BlueOak-1.0.0", - "dependencies": { - "@isaacs/cliui": "^8.0.2" - }, - "engines": { - "node": "20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - }, - "optionalDependencies": { - "@pkgjs/parseargs": "^0.11.0" - } - }, - "node_modules/rimraf/node_modules/lru-cache": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.0.0.tgz", - "integrity": "sha512-Qv32eSV1RSCfhY3fpPE2GNZ8jgM9X7rdAfemLWqTUxwiyIC4jJ6Sy0fZ8H+oLWevO6i4/bizg7c8d8i6bxrzbA==", - "dev": true, - "license": "ISC", - "engines": { - "node": "20 || >=22" - } - }, - "node_modules/rimraf/node_modules/minimatch": { - "version": "10.0.1", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.0.1.tgz", - "integrity": "sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ==", - "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": "20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/rimraf/node_modules/path-scurry": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.0.tgz", - "integrity": "sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==", - "dev": true, - "license": "BlueOak-1.0.0", - "dependencies": { - "lru-cache": "^11.0.0", - "minipass": "^7.1.2" - }, - "engines": { - "node": "20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/robots-parser": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/robots-parser/-/robots-parser-3.0.1.tgz", @@ -19687,9 +19509,9 @@ } }, "node_modules/streamx": { - "version": "2.18.0", - "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.18.0.tgz", - "integrity": "sha512-LLUC1TWdjVdn1weXGcSxyTR3T4+acB6tVGXT95y0nGbca4t4o/ng1wKAGTljm9VicuCVLvRlqFYXYy5GwgM7sQ==", + "version": "2.19.0", + "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.19.0.tgz", + "integrity": "sha512-5z6CNR4gtkPbwlxyEqoDGDmWIzoNJqCBt4Eac1ICP9YaIT08ct712cFj0u1rx4F8luAuL+3Qc+RFIdI4OX00kg==", "dev": true, "license": "MIT", "dependencies": { @@ -21042,19 +20864,6 @@ "is-typedarray": "^1.0.0" } }, - "node_modules/typescript": { - "version": "5.5.2", - "dev": true, - "license": "Apache-2.0", - "peer": true, - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=14.17" - } - }, "node_modules/uc.micro": { "version": "1.0.6", "dev": true, diff --git a/package.json b/package.json index c252f0f..ba354ea 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@newfold-labs/wp-module-patterns", - "version": "2.3.0", + "version": "2.4.0", "description": "WonderBlocks", "license": "GPL-2.0-or-later", "private": true, @@ -20,14 +20,14 @@ "utils:prod": "concurrently \"postcss ./source/css-utilities/utilities.css -o ./assets/build/utilities.css --env production\" \"esbuild --bundle ./source/scripts/utilities.js --minify --outfile=./assets/build/utilities.js --target=es2020 && rimraf ./assets/build/utilities.js.map\"" }, "devDependencies": { - "@wordpress/eslint-plugin": "^20.2.0", - "@wordpress/prettier-config": "^4.5.0", - "@wordpress/scripts": "^28.5.0", + "@wordpress/eslint-plugin": "^20.3.0", + "@wordpress/prettier-config": "^4.6.0", + "@wordpress/scripts": "^28.6.0", "autoprefixer": "^10.4.20", "concurrently": "^8.2.2", "cssnano": "^7.0.5", "esbuild": "^0.23.1", - "eslint": "^9.9.0", + "eslint": "^9.9.1", "eslint-plugin-prettier": "^5.2.1", "postcss": "^8.4.41", "postcss-cli": "^11.0.0", @@ -40,11 +40,11 @@ }, "dependencies": { "@newfold-labs/js-utility-ui-analytics": "1.2.0", - "@wordpress/icons": "^10.5.0", + "@wordpress/icons": "^10.6.0", "classnames": "^2.5.1", "compare-versions": "^6.1.1", "lodash": "^4.17.21", - "lucide-react": "^0.428.0", + "lucide-react": "^0.436.0", "react-intersection-observer": "^9.13.0", "react-masonry-css": "^1.0.16", "swr": "^2.2.5"