Stackable – Page Builder Gutenberg Blocks - Version 3.1.0

Version Description

Introducing: Wireframes

  • New: Added Wireframes in the Design Library
  • Change: Removed plugin deactivation feedback
  • Fixed: Block alignments not inherited properly in tablet and mobile
  • Fixed: Text in post block not aligning in tablet and mobile
  • Fixed: Shadows in the design library are cut when viewing only a few designs
Download this release

Release Info

Developer bfintal
Plugin Icon 128x128 Stackable – Page Builder Gutenberg Blocks
Version 3.1.0
Comparing to
See all releases

Code changes from version 3.0.7 to 3.1.0

Files changed (1) hide show
  1. dist/admin_welcome.js +1 -1
dist/admin_welcome.js CHANGED
@@ -1,2 +1,2 @@
1
  /*! For license information please see admin_welcome.js.LICENSE.txt */
2
- var admin_welcome;(()=>{var e={7385:()=>{Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){let t=this;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null})},914:(e,t,a)=>{"use strict";function n(){return n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},n.apply(this,arguments)}a.r(t),a.d(t,{BLOCKS:()=>vs,BLOCK_CATEROGIES:()=>bs});const i=wp.element,l=wp.ajax;function r(e){"undefined"!=typeof document&&("complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e):e())}const s=wp.components,o=stackable;r((()=>{const e=document.querySelector(".s-news-box-content");e&&""===e.innerHTML&&((0,i.render)((0,i.createElement)("div",null,(0,i.createElement)(s.Spinner,null)),e),(0,l.send)("stackable_news_feed_ajax",{success:t=>{e.innerHTML=t},error:e=>{alert(e)},data:{nonce:o.nonceNews}}))}));var u=a(7294);const c=function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"#3ca540",strokeWidth:7,strokeLinecap:"round",strokeLinejoin:"round"},e),(0,i.createElement)("path",{d:"M88 44.32V48a40 40 0 01-28.659 38.335 40 40 0 01-44.898-16.587 40 40 0 013.149-47.76A40 40 0 0164.28 11.44"}),(0,i.createElement)("path",{d:"M88 16L48 56.04l-12-12"}))};var g=a(4184),m=a.n(g);const d=wp.blockEditor,h=wp.i18n,p=lodash,v=e=>(0,i.createElement)(hr,{label:e.label,id:"url-input-control",help:e.help,allowReset:e.allowReset,value:e.value,onChange:e.onChange},(0,i.createElement)(d.URLInput,n({className:"ugb-url-input-control__input",value:e.value,onChange:e.onChange,autoFocus:!1},(0,p.omit)(e,["label","help"]))));v.defaultProps={label:(0,h.__)("URL",o.i18n),help:null,value:"",onChange:()=>{},allowReset:!0};const b=v,f=(0,i.forwardRef)(((e,t)=>{const a=m()([e.className,"ugb-button-component"]);return(0,i.createElement)(s.Button,n({},e,{className:a,ref:t}))})),y=e=>(0,i.createElement)("path",e),k=e=>{let{className:t,isPressed:a,...n}=e;const l={...n,className:m()(t,{"is-pressed":a})||void 0,role:"img","aria-hidden":!0,focusable:!1};return(0,i.createElement)("svg",l)},_=((0,i.createElement)(k,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,i.createElement)(y,{d:"M6.734 16.106l2.176-2.38-1.093-1.028-3.846 4.158 3.846 4.157 1.093-1.027-2.176-2.38h2.811c1.125 0 2.25.03 3.374 0 1.428-.001 3.362-.25 4.963-1.277 1.66-1.065 2.868-2.906 2.868-5.859 0-2.479-1.327-4.896-3.65-5.93-1.82-.813-3.044-.8-4.806-.788l-.567.002v1.5c.184 0 .368 0 .553-.002 1.82-.007 2.704-.014 4.21.657 1.854.827 2.76 2.657 2.76 4.561 0 2.472-.973 3.824-2.178 4.596-1.258.807-2.864 1.04-4.163 1.04h-.02c-1.115.03-2.229 0-3.344 0H6.734z"})),(0,h.__)("Opens in new tab",o.i18n),(0,h.__)("Nofollow link",o.i18n),(0,h.__)("Sponsored",o.i18n),(0,h.__)("UGC",o.i18n),e=>{const{value:t,options:a}=e,[n,l]=(0,i.useState)(!1),[r,o]=(0,i.useState)(!1),u=(0,i.useRef)(null),c=(0,i.useMemo)((()=>e.options.findIndex((e=>e.value===t))/a.length*100),[a,t]),g=(0,i.useCallback)((e=>{var t;r&&((null===(t=e.target)||void 0===t?void 0:t.closest(".stk-label-unit-toggle"))!==u.current&&o(!1))}));if((0,i.useEffect)((()=>(document.body.addEventListener("click",g),()=>document.body.removeEventListener("click",g))),[g]),a.length<=1)return null;const d=m()([e.className,"stk-label-unit-toggle"],{"stk-label-unit-toggle__colored":e.hasColors});return(0,i.createElement)("div",{className:d,"aria-expanded":r,ref:u},(0,i.createElement)("div",{className:m()("stk-label-unit-toggle__wrapper",{"is-open":r}),style:{transform:`translateY(-${c}%)`}},a.length>1&&a.map(((a,u)=>{const c=a.label||a.value,g=r?e.hasLabels?c:"":e.buttonLabel||c;return(0,i.createElement)("div",{key:u,onMouseEnter:()=>{l(a.value)},onMouseLeave:()=>{l(!1)}},(0,i.createElement)(f,{className:t===a.value?"is-active":"","data-index":u,"data-value":a.value,disabled:a.disabled,onClick:()=>{r?(e.onChange(a.value),o(!1)):o(!0)},icon:a.icon,showTooltip:!1,label:c},a.icon?void 0:c),g&&n===a.value&&(0,i.createElement)(s.Popover,{focusOnMount:!1,position:`middle ${e.labelPosition}`,className:"components-tooltip stk-label-unit-toggle__popup","aria-hidden":"true"},a.tooltip||g))}))))});_.defaultProps={className:"",value:"",options:[],onChange:null,labelPosition:"right",buttonLabel:"",hasLabels:!0,hasColors:!0};const w=(0,i.memo)(_),x=wp.data,C=()=>{const[e,t]=(0,i.useState)(!1);return(0,i.useEffect)((()=>{const e=e=>{t(e.shiftKey)};return window.addEventListener("keydown",e),window.addEventListener("keyup",e),()=>{window.removeEventListener("keydown",e),window.removeEventListener("keyup",e)}}),[]),e},S=()=>{const{deviceType:e}=(0,x.useSelect)((e=>{var t;return{deviceType:(null===(t=e("core/edit-post"))||void 0===t?void 0:t.__experimentalGetPreviewDeviceType())||"Desktop"}}),[]);return e||""},E=e=>(0,x.useSelect)((t=>t("core/block-editor").getBlockAttributes(e)||{}),[e]),M=(wp.tokenList,wp.hooks),T={ru_RU:"cyrillic",bg_BG:"cyrillic",he_IL:"hebrew",el:"greek",vi:"vietnamese",uk:"cyrillic",cs_CZ:"latin-ext",ro_RO:"latin-ext",pl_PL:"latin-ext"},N=e=>`https://fonts.googleapis.com/css?family=${e.replace(/ /g,"+")}:100,100italic,200,200italic,300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic${T[o.locale]?`&subset=${T}`:""}`,B=e=>e&&!(null!=e&&e.match(/^(sans[-+]serif|serif|monospace|serif-alt)$/i)),I=e=>{setTimeout((()=>{const t=t=>{if(t&&B(e)){if(P(e,t))return;const a=O(e);t.appendChild(a)}},a=xe();t(a),a!==document.querySelector("head")&&t(document.querySelector("head"))}),50)},O=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const t=document.createElement("link");return t.classList.add("ugb-google-fonts"),t.setAttribute("data-font-name",e),t.setAttribute("href",N(e)),t.setAttribute("rel","stylesheet"),t.setAttribute("type","text/css"),t},P=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.querySelector("head");return t.querySelector(`[data-font-name="${e}"]`)},R=e=>B(e)?`"${e}", Sans-serif`:e.match(/^serif$/i)?'"Palatino Linotype", Palatino, Palladio, "URW Palladio L", "Book Antiqua", Baskerville, "Bookman Old Style", "Bitstream Charter", "Nimbus Roman No9 L", Garamond, "Apple Garamond", "ITC Garamond Narrow", "New Century Schoolbook", "Century Schoolbook", "Century Schoolbook L", Georgia, serif':e.match(/^serif-alt$/i)?'Constantia, Lucida Bright, Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif':e.match(/^monospace$/i)?'SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace':'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',L=e=>{Object.keys(e).filter((e=>e.match(/fontfamily/i))).forEach((t=>{const a=e[t];a&&I(a)}))};var z=a(4247),A=a.n(z),D=a(4863),F=a.n(D);const H=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"normal";const n="desktop"===t.toLowerCase()?"":(0,p.upperFirst)(t),i="normal"===a?"":"hover"===a?"Hover":"collapsed"===a?"Collapsed":"ParentHover";return null!=e&&e.includes("%s")?(0,h.sprintf)(e,`${n}${i}`):`${e}${n}${i}`},j=e=>{const t=document.createElement("div");if(t.classList.add("editor-styles-wrapper"),t.classList.add("ugb-default-font-size"),t.innerHTML=`<div class="wp-block">${e.map((e=>e.startsWith(".")?`<p class="${e.substring(1)}"></p>`:`<${e}></${e}>`)).join()}</div>`,!document||!document.body)return{};document.body.appendChild(t);const a={};return e.forEach((e=>{const n=window.getComputedStyle(t.querySelector(e)).getPropertyValue("font-size");a[e]=Math.round(parseFloat(n))})),document.body.removeChild(t),a};let U={};const V=()=>{U={...j(["h1","h2","h3","h4","h5","h6","p",".stk-subtitle"])}};(0,M.addFilter)("stackable.global-settings.typography.editor-styles","stackable/default-font-sizes",((e,t,a,n)=>(e[`.ugb-default-font-size .wp-block ${t}`]=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const n=re(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},(t=>(0,p.camelCase)((0,h.sprintf)(e,t))),""),{importantSize:i=!1,important:l=!0,inherit:r=!0,inheritMax:s=50,inheritMin:o}=a;let u={};const c=n("FontSize"),g=n("TabletFontSize"),m=n("MobileFontSize");if("tablet"!==t&&"mobile"!==t)u={fontFamily:""!==n("FontFamily")?R(n("FontFamily")):void 0,fontSize:""!==c?le(`${c}${n("FontSizeUnit")||"px"}`,i):void 0,fontWeight:""!==n("FontWeight")?n("FontWeight"):void 0,textTransform:""!==n("TextTransform")?n("TextTransform"):void 0,letterSpacing:""!==n("LetterSpacing")?`${n("LetterSpacing")}px`:void 0,lineHeight:""!==n("LineHeight")?`${n("LineHeight")}${n("LineHeightUnit")||"em"}`:void 0};else if("tablet"===t){if(u={lineHeight:""!==n("TabletLineHeight")?`${n("TabletLineHeight")}${n("TabletLineHeightUnit")||"em"}`:void 0},r){const e=se(c,{min:o,max:s});e&&(u.fontSize=`${e}${n("FontSizeUnit")||"px"}`)}g&&(u.fontSize=n("TabletFontSize",`%s${n("TabletFontSizeUnit")||"px"}`))}else{if(u={lineHeight:""!==n("MobileLineHeight")?`${n("MobileLineHeight")}${n("MobileLineHeightUnit")||"em"}`:void 0},r){const e=se(c,{min:o,max:s});e&&(u.fontSize=`${e}${n("FontSizeUnit")||"px"}`);const t=se(g,{min:o,max:s});t?u.fontSize=`${t}${n("TabletFontSizeUnit")||"px"}`:(e||g)&&(u.fontSize=void 0)}m&&(u.fontSize=n("MobileFontSize",`%s${n("MobileFontSizeUnit")||"px"}`))}return l?ie(u):u}("%s","desktop",n,{important:!0}),U={},e)));const G=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"p",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Object.keys(U).length&&!t||V(),U[e]||U.p||21};r((()=>{V()}));const $=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{width:e.media_details?e.media_details.width:"",height:e.media_details?e.media_details.height:"",source_url:e.source_url||""}},q=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e?e.media_details&&e.media_details.sizes&&e.media_details.sizes[t]||$(e):null};window._stackableCachedImageData={};const W=(e,t)=>{const{getMedia:a}=t("core"),n=e?a(e):null;return n&&void 0!==n.id&&(window._stackableCachedImageData[n.id]=n),n},K=e=>window._stackableCachedImageData[e]||null;a(6537);var J=a(8874);const Y=function(e){var t,a,n=[],i=1;if("string"==typeof e)if(J[e])n=J[e].slice(),a="rgb";else if("transparent"===e)i=0,a="rgb",n=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(e)){var l=(o=e.slice(1)).length;i=1,l<=4?(n=[parseInt(o[0]+o[0],16),parseInt(o[1]+o[1],16),parseInt(o[2]+o[2],16)],4===l&&(i=parseInt(o[3]+o[3],16)/255)):(n=[parseInt(o[0]+o[1],16),parseInt(o[2]+o[3],16),parseInt(o[4]+o[5],16)],8===l&&(i=parseInt(o[6]+o[7],16)/255)),n[0]||(n[0]=0),n[1]||(n[1]=0),n[2]||(n[2]=0),a="rgb"}else if(t=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(e)){var r=t[1],s="rgb"===r,o=r.replace(/a$/,"");a=o,l="cmyk"===o?4:"gray"===o?1:3,n=t[2].trim().split(/\s*[,\/]\s*|\s+/).map((function(e,t){if(/%$/.test(e))return t===l?parseFloat(e)/100:"rgb"===o?255*parseFloat(e)/100:parseFloat(e);if("h"===o[t]){if(/deg$/.test(e))return parseFloat(e);if(void 0!==X[e])return X[e]}return parseFloat(e)})),r===o&&n.push(1),i=s||void 0===n[l]?1:n[l],n=n.slice(0,l)}else e.length>10&&/[0-9](?:\s|\/)/.test(e)&&(n=e.match(/([0-9]+)/g).map((function(e){return parseFloat(e)})),a=e.match(/([a-z])/gi).join("").toLowerCase());else isNaN(e)?Array.isArray(e)||e.length?(n=[e[0],e[1],e[2]],a="rgb",i=4===e.length?e[3]:1):e instanceof Object&&(null!=e.r||null!=e.red||null!=e.R?(a="rgb",n=[e.r||e.red||e.R||0,e.g||e.green||e.G||0,e.b||e.blue||e.B||0]):(a="hsl",n=[e.h||e.hue||e.H||0,e.s||e.saturation||e.S||0,e.l||e.lightness||e.L||e.b||e.brightness]),i=e.a||e.alpha||e.opacity||1,null!=e.opacity&&(i/=100)):(a="rgb",n=[e>>>16,(65280&e)>>>8,255&e]);return{space:a,values:n,alpha:i}};var X={red:0,orange:60,yellow:120,green:180,blue:240,purple:300},Z=a(2409),Q=a(5985);function ee(e){var t;Array.isArray(e)&&e.raw&&(e=String.raw(...arguments));var a=Y(e);if(!a.space)return[];const n="h"===a.space[0]?Q.min:Z.min,i="h"===a.space[0]?Q.max:Z.max;return(t=Array(3))[0]=Math.min(Math.max(a.values[0],n[0]),i[0]),t[1]=Math.min(Math.max(a.values[1],n[1]),i[1]),t[2]=Math.min(Math.max(a.values[2],n[2]),i[2]),"h"===a.space[0]&&(t=Q.rgb(t)),t.push(Math.min(Math.max(a.alpha,0),1)),t}const te=wp.compose,ae=(0,i.createContext)(null);(0,te.createHigherOrderComponent)((e=>t=>(0,i.createElement)(ae.Provider,{value:t.context},(0,i.createElement)(e,t))),"withQueryLoopContext");const ne={},ie=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Object.keys(e).reduce(((a,n)=>({...a,[n]:le(e[n],t)})),{})},le=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return""!==e&&void 0!==e&&t&&!String(e).match(/!important/i)?`${e} !important`:e},re=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;return function(n){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a;const r=null!==t?t:e=>(0,p.lowerFirst)(e),s=void 0===e[r(n)]?"":e[r(n)];return""!==s?i?(0,h.sprintf)(i.replace(/%([sd])%/,"%$1%%"),s):s:l}},se=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{min:a=Number.NEGATIVE_INFINITY,max:n=Number.POSITIVE_INFINITY}=t;if(""!==e){const t=(0,p.clamp)(e,parseFloat(a),parseFloat(n));if(!isNaN(t))return parseFloat(t)!==parseFloat(e)?t:void 0}},oe={facebook:{label:(0,h.__)("Facebook",o.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="facebook-f" class="svg-inline--fa fa-facebook-f fa-w-10" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="currentColor" d="M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z"></path></svg>'},twitter:{label:(0,h.__)("Twitter",o.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="twitter" class="svg-inline--fa fa-twitter fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"></path></svg>'},instagram:{label:(0,h.__)("Instagram",o.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="instagram" class="svg-inline--fa fa-instagram fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"></path></svg>'},pinterest:{label:(0,h.__)("Pinterest",o.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="pinterest-p" class="svg-inline--fa fa-pinterest-p fa-w-12" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="currentColor" d="M204 6.5C101.4 6.5 0 74.9 0 185.6 0 256 39.6 296 63.6 296c9.9 0 15.6-27.6 15.6-35.4 0-9.3-23.7-29.1-23.7-67.8 0-80.4 61.2-137.4 140.4-137.4 68.1 0 118.5 38.7 118.5 109.8 0 53.1-21.3 152.7-90.3 152.7-24.9 0-46.2-18-46.2-43.8 0-37.8 26.4-74.4 26.4-113.4 0-66.2-93.9-54.2-93.9 25.8 0 16.8 2.1 35.4 9.6 50.7-13.8 59.4-42 147.9-42 209.1 0 18.9 2.7 37.5 4.5 56.4 3.4 3.8 1.7 3.4 6.9 1.5 50.4-69 48.6-82.5 71.4-172.8 12.3 23.4 44.1 36 69.3 36 106.2 0 153.9-103.5 153.9-196.8C384 71.3 298.2 6.5 204 6.5z"></path></svg>'},linkedin:{label:(0,h.__)("LinkedIn",o.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="linkedin-in" class="svg-inline--fa fa-linkedin-in fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"></path></svg>'},youtube:{label:(0,h.__)("YouTube",o.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="youtube" class="svg-inline--fa fa-youtube fa-w-18" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="currentColor" d="M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"></path></svg>'},email:{label:(0,h.__)("Email",o.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="far" data-icon="envelope" class="svg-inline--fa fa-envelope fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm0 48v40.805c-22.422 18.259-58.168 46.651-134.587 106.49-16.841 13.247-50.201 45.072-73.413 44.701-23.208.375-56.579-31.459-73.413-44.701C106.18 199.465 70.425 171.067 48 152.805V112h416zM48 400V214.398c22.914 18.251 55.409 43.862 104.938 82.646 21.857 17.205 60.134 55.186 103.062 54.955 42.717.231 80.509-37.199 103.053-54.947 49.528-38.783 82.032-64.401 104.947-82.653V400H48z"></path></svg>'}},ue=wp.blocks,ce=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const{getBlockName:a,getSelectedBlockClientId:n,getBlockAttributes:i,hasMultiSelection:l,getMultiSelectedBlockClientIds:r}=(0,x.select)("core/block-editor"),{updateBlockAttributes:s}=(0,x.dispatch)("core/block-editor"),{getBlockType:o}=(0,x.select)("core/blocks");if(!t&&l())return void r().forEach((t=>{ce(e,t)}));const u=t||n();if(!u)return;const c=i(u),g=a(u).replace(/^\w+\//g,""),m=o(a(u)).attributes,d=Object.keys(m).reduce(((e,t)=>({...e,[t]:m[t]?m[t].default:""})),{}),h=(0,M.applyFilters)(`stackable.${g}.design.filtered-block-attributes`,{...d,...e},c),v=(0,M.applyFilters)(`stackable.${g}.design.no-text-attributes`,h,c);L(v),s(u,(0,p.omit)(v,["uniqueClass"]))},ge=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const[a,n]=(0,i.useState)((()=>{try{const a=window.localStorage.getItem(e);return a?JSON.parse(a):t}catch(e){return t}})),l=t=>{try{const i=t instanceof Function?t(a):t;n(i),window.localStorage.setItem(e,JSON.stringify(i))}catch(e){}};return[a,l]},me=e=>{const t=document.createElement("div");return t.innerHTML=e,t.firstElementChild},de=(e,t)=>{const a=he(e,t);return a?a.html[0]:""},he=(e,t)=>window.FontAwesome?window.FontAwesome.icon({prefix:e,iconName:t}):null,pe=wp.apiFetch;var ve=a.n(pe);const be=wp.url;a(3726);const fe=e=>e?`stk-${e}`:"",ye=e=>(null==e?void 0:e.endsWith("mp4"))||(null==e?void 0:e.endsWith("webm"))||(null==e?void 0:e.endsWith("ogg")),ke=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const a=e.replace(/\/\*.*?\*\//g,"").replace(/\n\s*\n/g,"").replace(/[\n\r \t]/g," ").replace(/ +/g," ").replace(/:is/g," :is").replace(/ ?([,:;{}]) ?/g,"$1").replace(/[^\}\{]+\{\}/g,"").replace(/[^\}\{]+\{\}/g,"").replace(/;}/g,"}").trim();return t?a.replace(/\s?\!important/g,"").replace(/([;\}])/g," !important$1").replace(/\} !important\}/g,"}}").trim():a},_e={},we=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";const i=`${e}-${t}-${a}-${n}`;if(_e[i])return _e[i];const l=e.trim().replace(/[\n\s\t]+/g," ").replace(/:(is|where|matches)\([^\)]*\)/g,(e=>e.replace(/,/g,"|||"))).split(",").map((e=>{let i="";return i=e.includes("[data-block=")?e:e.includes("%s")?e.replaceAll("%s",a):a&&t?e.includes(a)?e:a&&!t?`.${a} ${e.trim()}`:`.${a} ${e.trim()}`.replace(new RegExp(`(.${a}) (.${t}(#|:|\\[|\\.|\\s|$))`,"g"),"$1$2").replace(/\s:(?!(is|where))/,":"):e,n?`${n} ${i}`:i})).join(", ").replace(/\|\|\|/g,", ");return _e[i]=l,l},xe=()=>{let e=document.querySelector("head");return Ce()&&(e=document.querySelector('iframe[name="editor-canvas"]').contentWindow.document.querySelector("head")),e},Ce=()=>!!document.querySelector('iframe[name="editor-canvas"]'),Se=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"all";const n=S(),[i]=Te();let l="desktop";("all"===t||Array.isArray(t)&&t.includes(n))&&(l=n);let r="normal";return("all"===a||Array.isArray(a)&&a.includes(i))&&(r=i),H(e,l,r)},Ee={selectedBlock:null,hoverState:"normal",hasParentHoverState:!1,selectedParentHoverBlock:null,selectedParentHoverChildren:[],selectedHoverChildren:[],hasCollapsedState:!1,selectedCollapsedBlock:null,selectedCollapsedChildren:[]},Me={updateSelectedBlock:e=>{var t,a;const n=document.querySelector(`.editor-styles-wrapper [data-block="${e}"]`),i=null==n||null===(t=n.closest(".stk-hover-parent"))||void 0===t?void 0:t.closest("[data-block]"),l=(null==i?void 0:i.getAttribute("data-block"))||null,r=Array.from((null==i?void 0:i.querySelectorAll("[data-block]"))||[]).map((e=>e.getAttribute("data-block")))||[],s=Array.from((null==n?void 0:n.querySelectorAll("[data-block]"))||[]).map((e=>e.getAttribute("data-block")))||[],o=(null==n||null===(a=n.closest(".stk-block-accordion"))||void 0===a?void 0:a.closest("[data-block]"))||("stackable/accordion"===(null==n?void 0:n.getAttribute("data-type"))?n:null),u=(null==o?void 0:o.getAttribute("data-block"))||null;return{type:"UPDATE_SELECTED_BLOCK",clientId:e,parentHoverClientId:l,hasParentHoverState:!!l,parentHoverChildrenClientIds:r,hoverChildrenClientIds:s,collapsedClientId:u,collapsedChildrenClientIds:Array.from((null==o?void 0:o.querySelectorAll("[data-block]"))||[]).map((e=>e.getAttribute("data-block")))||[],hasCollapsedState:!!u}},clearSelectedBlock:()=>({type:"CLEAR_SELECTED_BLOCK"}),updateHoverState:e=>({type:"UPDATE_HOVER_STATE",value:e})};(0,x.registerStore)("stackable/hover-state",{reducer:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ee,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_SELECTED_BLOCK":return{...e,selectedBlock:t.clientId,selectedParentHoverBlock:t.parentHoverClientId,hasParentHoverState:t.hasParentHoverState,selectedParentHoverChildren:t.parentHoverChildrenClientIds,selectedHoverChildren:t.hoverChildrenClientIds,hasCollapsedState:t.hasCollapsedState,selectedCollapsedBlock:t.collapsedClientId,selectedCollapsedChildren:t.collapsedChildrenClientIds};case"CLEAR_SELECTED_BLOCK":return{...Ee};case"UPDATE_HOVER_STATE":return{...e,hoverState:t.value}}return e},actions:Me,selectors:{getSelectedBlock:e=>e.selectedBlock,getHoverState:e=>e.hoverState,getHasParentHoverState:e=>e.hasParentHoverState,getSelectedParentHoverBlock:e=>e.selectedParentHoverBlock,getSelectedParentHoverBlockChildren:e=>e.selectedParentHoverChildren,getSelectedHoverChildren:e=>e.selectedHoverChildren,getHasCollapsedState:e=>e.hasCollapsedState,getSelectedCollapsedBlock:e=>e.selectedCollapsedBlock,getSelectedCollapsedBlockChildren:e=>e.selectedCollapsedChildren}});const Te=()=>{const{clientId:e}=(0,d.useBlockEditContext)(),{hoverStateClientId:t,hoverState:a,parentHoverClientId:n,parentHoverChildrenClientIds:l,hoverChildrenClientIds:r,hasParentHoverState:s,hasCollapsedState:o,collapsedClientId:u,collapsedChildrenClientIds:c}=(0,x.useSelect)((e=>({selectedClientId:e("core/block-editor").getSelectedBlockClientId(),hoverStateClientId:e("stackable/hover-state").getSelectedBlock(),hoverState:e("stackable/hover-state").getHoverState(),parentHoverClientId:e("stackable/hover-state").getSelectedParentHoverBlock(),parentHoverChildrenClientIds:e("stackable/hover-state").getSelectedParentHoverBlockChildren(),hoverChildrenClientIds:e("stackable/hover-state").getSelectedHoverChildren(),hasParentHoverState:e("stackable/hover-state").getHasParentHoverState(),hasCollapsedState:e("stackable/hover-state").getHasCollapsedState(),collapsedClientId:e("stackable/hover-state").getSelectedCollapsedBlock(),collapsedChildrenClientIds:e("stackable/hover-state").getSelectedCollapsedBlockChildren()})),[]),g=(0,i.useCallback)((e=>{(0,x.dispatch)("stackable/hover-state").updateHoverState(e)}),[]),m=e===t,h=e===n,p=l.includes(e),v=r.includes(e),b=e===u,f=c.includes(e);let y="",k="normal";return m?("hover"!==a&&"parent-hovered"!==a||(y="stk--is-hovered"),k=a,s||"parent-hovered"!==a||(k="hover")):h?"hover"!==a&&"parent-hovered"!==a||(y="stk--is-hovered",k="hover"):p||v?"hover"!==a&&"parent-hovered"!==a||(y="stk--is-hovered",k="parent-hovered"):(f||b)&&(k="collapsed"),[k,g,y,s,o,b]},Ne={desktop:"Desktop",tablet:"Tablet",mobile:"Mobile"},Be=[{label:(0,h.__)("Desktop",o.i18n),value:"desktop",icon:(0,i.createElement)((function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,i.createElement)("path",{d:"M14.5 2.4h-13c-.4 0-.8.3-.8.8v7c0 .4.3.8.8.8h5.8v1.3H5.6c-.4 0-.8.3-.8.8s.3.8.8.8h4.8c.4 0 .8-.3.8-.8s-.3-.8-.8-.8H8.8V11h5.8c.4 0 .8-.3.8-.8v-7c-.2-.5-.5-.8-.9-.8zm-.7 7H2.2V3.9h11.5v5.5z"}))}),null)},{label:(0,h.__)("Tablet",o.i18n),value:"tablet",icon:(0,i.createElement)((function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,i.createElement)("path",{d:"M13 14.8H3c-.4 0-.8-.3-.8-.8V2c0-.4.3-.8.8-.8h10c.4 0 .8.3.8.8v12c0 .4-.4.8-.8.8zm-9.2-2.6h8.5V2.8H3.8v9.4z"}))}),null)},{label:(0,h.__)("Mobile",o.i18n),value:"mobile",icon:(0,i.createElement)((function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,i.createElement)("path",{d:"M11 14.2H5c-.4 0-.8-.3-.8-.8v-11c0-.4.3-.8.8-.8h6c.4 0 .8.3.8.8v11c0 .5-.4.8-.8.8zm-5.2-2h4.5v-9H5.8v9z"}))}),null)}],Ie=e=>{const t=S(),a=(0,i.useCallback)((e=>{const{__experimentalSetPreviewDeviceType:t}=(0,x.dispatch)("core/edit-post");t(Ne[e])}),[]),n=(0,i.useMemo)((()=>Be.filter((t=>{var a;let{value:n}=t;return null===(a=e.screens)||void 0===a?void 0:a.includes(n)}))),[e.screens]);return n<=1?null:t?(0,i.createElement)(w,{className:"stk-control-responsive-toggle",value:t.toLowerCase(),options:n,onChange:e=>a(e)}):null};Ie.defaultProps={screens:["desktop"]};const Oe=(0,i.memo)(Ie),Pe=function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,i.createElement)("path",{className:"state-parent-hover_svg__st0",d:"M9.8 15.8c-.3 0-.6-.2-.7-.5l-3.8-9c-.1-.3 0-.6.2-.8.2-.2.5-.3.8-.2l9 3.8c.3.1.5.4.5.7 0 .3-.2.6-.5.7l-3.6 1.2-1.2 3.6c-.1.2-.4.4-.7.5zM7.4 7.4l2.3 5.5.7-2c.1-.2.2-.4.5-.5l2-.7-5.5-2.3z"}),(0,i.createElement)("path",{className:"state-parent-hover_svg__st0",d:"M6.4 12.8H2.2V2.2h11.5v4.5l1.5.6V1.5c0-.4-.3-.8-.8-.8h-13c-.4 0-.8.3-.8.8v12c0 .4.3.8.8.8H7l-.6-1.5z"}))},Re=[{label:(0,h.__)("Normal",o.i18n),value:"normal",icon:(0,i.createElement)((function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,i.createElement)("path",{className:"state-normal_svg__st0",d:"M7 14.8c-.3 0-.6-.2-.7-.5l-5-12c-.1-.3 0-.6.2-.8.2-.2.5-.3.8-.2l12 5c.3.1.5.4.5.7 0 .3-.2.6-.5.7L9.4 9.4l-1.7 4.9c-.1.2-.4.4-.7.5zM3.4 3.4l3.5 8.5L8 8.6c.1-.2.2-.4.5-.5L11.8 7 3.4 3.4z"}))}),null)},{label:(0,h.__)("Hover",o.i18n),value:"hover",icon:(0,i.createElement)((function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,i.createElement)("path",{className:"state-hover_svg__st0",d:"M9.2 15.8c-.3 0-.6-.2-.7-.5l-4.2-10c-.1-.3 0-.6.2-.8.2-.2.5-.3.8-.2l10 4.2c.3.1.5.4.5.7 0 .3-.2.6-.5.7l-4 1.4-1.4 4c-.1.2-.4.4-.7.5zM6.4 6.4l2.7 6.5.8-2.5c.1-.2.2-.4.5-.5l2.5-.8-6.5-2.7z"}),(0,i.createElement)("path",{className:"state-hover_svg__st0",d:"M3.7 7.6C2.7 7.2 2 6.2 2 5c0-1.6 1.3-3 3-3 1.2 0 2.2.7 2.7 1.7l1.7.7C9.1 2.2 7.3.5 5 .5 2.5.5.5 2.5.5 5c0 2.3 1.7 4.1 3.9 4.4l-.7-1.8z"}))}),null)},{label:(0,h.__)("Parent Hovered",o.i18n),value:"parent-hovered",icon:(0,i.createElement)(Pe,null)},{label:(0,h.__)("Collapsed",o.i18n),value:"collapsed",icon:(0,i.createElement)(Pe,null)}],Le=e=>{const[t,a,n,l,r,s]=Te(),u=(0,i.useMemo)((()=>{const t="all"===e.hover?["normal","hover","parent-hovered","collapsed"]:e.hover;return Re.filter((e=>{let{value:a}=e;return!(!r&&"collapsed"===a&&!s)&&t.includes(a)})).map((e=>"parent-hovered"===e.value?{disabled:!l,tooltip:l?void 0:(0,i.createElement)("span",{className:"stk-tooltip__text"},(0,h.sprintf)("%s - %s",(0,h.__)("Parent Hovered",o.i18n),(0,h.__)("Add a Container Background to a parent block to enable this state.",o.i18n)),(0,i.createElement)("br",null),(0,i.createElement)("a",{href:"https://docs.wpstackable.com/article/465-how-to-style-the-different-block-hover-states?utm_source=wp-settings-global-settings&utm_campaign=learnmore&utm_medium=wp-dashboard",target:"_docs"},(0,h.__)("Learn more",o.i18n))),...e}:e))}),[e.hover,l]);return(0,i.createElement)(w,{value:t,options:u,onChange:e=>a(e),buttonLabel:(0,h.__)("Hover State",o.i18n)})};Le.defaultProps={hover:!1};const ze=Le,Ae=e=>{var t,a,n;const l=m()(["stk-control",e.className]),r=!(null===(t=e.responsive)||void 0===t||!t.length),u=!(null===(a=e.hover)||void 0===a||!a.length),c=!(null===(n=e.units)||void 0===n||!n.length),g="all"===e.responsive?["desktop","tablet","mobile"]:e.responsive,d=(0,i.useMemo)((()=>{var t;return e.units&&(null===(t=e.units)||void 0===t?void 0:t.map((e=>({value:e}))))}),[e.units])||[],p=m()(["stk-control-label"],{"stk-control-label--bold":e.boldLabel}),v=e.boldLabel?(0,i.createElement)("h3",null,e.label):e.label;return(0,i.createElement)(s.BaseControl,{help:e.help,className:l},(0,i.createElement)("div",{className:p},(0,i.createElement)("div",{className:"components-base-control__label"},v),(0,i.createElement)("div",{className:"stk-control-label__toggles"},r&&(0,i.createElement)(Oe,{screens:g}),u&&(0,i.createElement)(ze,{hover:e.hover})),(0,i.createElement)("div",{className:"stk-control-label__after"},c&&(0,i.createElement)(w,{className:"stk-control-label__units",value:e.unit,options:d,onChange:t=>e.onChangeUnit(t),buttonLabel:(0,h.__)("Unit",o.i18n),hasLabels:!1,hasColors:!1,labelPosition:"left"}),e.after)),(0,i.createElement)("div",{className:"stk-control-content"},e.children))};Ae.defaultProps={className:"",label:"",help:"",boldLabel:!1,responsive:!1,hover:!1,units:!1,unit:"",onChangeUnit:null,after:null};const De=e=>{const{clientId:t}=(0,d.useBlockEditContext)(),{updateBlockAttributes:a}=(0,x.useDispatch)("core/block-editor"),l=E(t),r=Se(`${e.attribute}Unit`,e.responsive,e.hover),s=e.unit?e.unit:l?l[r]:"",o=(0,i.useCallback)((e=>a(t,{[r]:e})),[r]),u=(0,p.omit)(e,["attribute"]);return(0,i.createElement)(Ae,n({},u,{unit:s,onChangeUnit:e.onChangeUnit||o}))};De.defaultProps={className:"",label:"",help:"",attribute:"",responsive:!1,hover:!1,units:!1,onChangeUnit:null,unit:null,after:null};const Fe=De,He=e=>{const t=[...Object.keys(De.defaultProps),"allowReset","screens"],a=(0,p.pick)(e,t);return e.screens&&(a.responsive=e.screens),[(0,p.omit)(e,t),a]},je=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;const{clientId:r}=(0,d.useBlockEditContext)(),s=E(r),o=Se(e,t,a),u=s?s[o]:"";let c=s?s[o]:"";n&&(c=n(c));const g=(0,i.useCallback)((e=>{const t=l?l(e,u):e;(0,x.dispatch)("core/block-editor").updateBlockAttributes(r,{[o]:t})}),[r,o,l,u]);return[c,g]},Ue=(0,h.__)("(current %s: %s)",o.i18n),Ve=(0,i.memo)((e=>{const{disableCustomColors:t,label:a,className:l=""}=e,[r,u]=je(e.attribute,e.responsive,e.hover,e.valueCallback,e.changeCallback),[c,g]=He(e),v=(0,p.compact)(e.colors.map((e=>(0,p.isPlainObject)(e)?{...e,name:e.name||e.fallback||e.color||(0,h.__)("Untitled Color",o.i18n)}:null)));e.hasTransparent&&v.push({name:(0,h.__)("Transparent",o.i18n),slug:"_stk-transparent",color:"transparent"});let b=void 0===e.value?r:e.value;const f=void 0===e.onChange?u:e.onChange,y=(0,d.getColorObjectByColorValue)(v,b),k=y&&y.name,_=(0,h.sprintf)(Ue,a.toLowerCase(),k||r);"string"==typeof b&&b.includes("--stk-global-color")&&b.match(/#[\d\w]{6}/)&&(b=b.match(/#[\d\w]{6}/)[0]);const w=(0,i.createElement)(i.Fragment,null,a,b&&(0,i.createElement)(s.ColorIndicator,{colorValue:b,"aria-label":_}));return(0,i.createElement)(Fe,n({},g,{className:m()([l,"editor-color-palette-control","stk-color-palette-control"]),id:"editor-color-palette-control",label:w}),(0,i.createElement)(s.ColorPalette,{className:"editor-color-palette-control__color-palette",value:b,onChange:e=>{const t=(0,d.getColorObjectByColorValue)(v,e);f((0,M.applyFilters)("stackable.color-palette-control.change",e,t))},colors:v,disableCustomColors:t}))})),Ge=(0,te.compose)([d.withColorContext,(0,te.ifCondition)((e=>{let{hasColorsToChoose:t}=e;return t}))])(Ve),$e=e=>(0,i.createElement)(gt,n({},e,{className:m()(["ugb--help-tip-background-blend-mode",e.className]),options:[{value:"",label:(0,h.__)("None",o.i18n)},{value:"normal",label:(0,h.__)("Normal",o.i18n)},{value:"multiply",label:(0,h.__)("Multiply",o.i18n)},{value:"screen",label:(0,h.__)("Screen",o.i18n)},{value:"overlay",label:(0,h.__)("Overlay",o.i18n)},{value:"darken",label:(0,h.__)("Darken",o.i18n)},{value:"lighten",label:(0,h.__)("Lighten",o.i18n)},{value:"color-dodge",label:(0,h.__)("Color Dodge",o.i18n)},{value:"color-burn",label:(0,h.__)("Color Burn",o.i18n)},{value:"hard-light",label:(0,h.__)("Hard Light",o.i18n)},{value:"soft-light",label:(0,h.__)("Soft Light",o.i18n)},{value:"difference",label:(0,h.__)("Difference",o.i18n)},{value:"exclusion",label:(0,h.__)("Exclusion",o.i18n)},{value:"hue",label:(0,h.__)("Hue",o.i18n)},{value:"saturation",label:(0,h.__)("Saturation",o.i18n)},{value:"color",label:(0,h.__)("Color",o.i18n)},{value:"luminosity",label:(0,h.__)("Luminosity",o.i18n)},{value:"initial",label:(0,h.__)("Initial",o.i18n)},{value:"inherit",label:(0,h.__)("Inherit",o.i18n)},{value:"unset",label:(0,h.__)("Unset",o.i18n)}]}));$e.defaultProps={className:"",label:(0,h.__)("Mix Blend Mode",o.i18n),help:(0,h.__)("Not supported in all browsers.",o.i18n)};const qe=$e,We=function(e){return(0,i.createElement)("svg",n({viewBox:"0 0 512 376",xmlns:"http://www.w3.org/2000/svg"},e),(0,i.createElement)("path",{d:"M0 0v376h512V0H0zm480 344H32V32h448v312z"}),(0,i.createElement)("circle",{cx:409.1,cy:102.9,r:40.9}),(0,i.createElement)("path",{d:"M480 344H32l86.3-164.2 21.7 11.3 49-77.3 100 113.1 8.9-9.3 17.1 22.3 26-46.4 52.9 71.2 15.1-15.9z"}))},Ke=e=>{const t=e.imageURL&&e.imageURL.match(/(mp4|webm|ogg)$/i)?"video":"image",a=()=>{e.onRemove?e.onRemove():e.onChange({url:"",id:"",width:"",height:""})};return(0,i.createElement)("div",{className:"ugb-image-control"},(0,i.createElement)(s.BaseControl,{help:e.help},(0,i.createElement)(ki,{label:e.label,screens:e.screens}),(0,i.createElement)(d.MediaUpload,{onSelect:e.onChange,allowedTypes:e.allowedTypes,value:e.imageID,render:n=>(0,i.createElement)(i.Fragment,null,e.imageURL&&(0,i.createElement)("div",{className:"ugb-image-preview-wrapper"},(0,i.createElement)("button",{className:"ugb-image-preview-remove",onClick:a},(0,i.createElement)(s.Dashicon,{icon:"no"})),"video"===t&&(0,i.createElement)("video",{className:"ugb-image-preview",autoPlay:!0,muted:!0,loop:!0,src:e.imageURL,onClick:n.open,onKeyDown:e=>{13===e.keyCode&&n.open()}}),"image"===t&&(0,i.createElement)("img",{className:"ugb-image-preview",draggable:"false",src:e.imageURL,onClick:n.open,onKeyDown:e=>{13===e.keyCode&&n.open()},alt:(0,h.__)("preview",o.i18n)})),!e.imageURL&&(0,i.createElement)("div",{className:"ugb-placeholder",onClick:n.open,onKeyDown:e=>{13===e.keyCode&&n.open()},role:"button",tabIndex:0},(0,i.createElement)(We,null)))})))};Ke.defaultProps={label:"",imageID:"",imageURL:"",onChange:e=>{let{url:t,id:a,width:n,height:i}=e},onRemove:()=>{},allowedTypes:["image"],help:"",screens:["desktop"]};const Je=Ke,Ye=e=>(0,i.createElement)(s.TextareaControl,n({},e,{help:(0,i.createElement)(i.Fragment,null,(0,i.createElement)(s.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},(0,h.__)("Describe the purpose of the image",o.i18n)),(0,h.__)("Leave empty if the image is purely decorative.",o.i18n))}));Ye.defaultProps={label:(0,h.__)("Alt Text (Alternative Text)",o.i18n)};const Xe=Ye,Ze=e=>{const{className:t,hasDefault:a,...l}=e;return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(Pn,n({},l,{className:m()(t,["ugb-image-shape-control","ugb--help-tip-image-shape"]),options:[...a?[{label:(0,h.__)("Default",o.i18n),value:"",image:"dist/images/components-image-shape-control-default.5e465f6.png"}]:[],{label:(0,h.__)("Square",o.i18n),value:"square",image:"dist/images/components-image-shape-control-square.d8d54ee.png"},{label:(0,h.__)("Circle",o.i18n),value:"circle",image:"dist/images/components-image-shape-control-circle.ddaef4e.png"},{label:(0,h.sprintf)((0,h.__)("Blob %s",o.i18n),1),value:"blob1",image:"dist/images/components-image-shape-control-blob1.3c54e8e.png"},...(0,M.applyFilters)("stackable.image.control.shapes",[])]})),o.showProNotice&&(0,i.createElement)(fi,{type:"image"}))};Ze.defaultProps={className:"",label:(0,h.__)("Shape",o.i18n),selected:"",hasDefault:!0};const Qe=Ze,et=e=>{const t=e.imageData?q(e.imageData,e.imageSize||"full"):null,a=null!==e.isSquareImage?e.isSquareImage:!!t&&t.width===t.height;return(0,i.createElement)(i.Fragment,null,e.onChangeShape&&(0,i.createElement)(Qe,{selected:e.shape,onChange:e.onChangeShape}),e.onChangeShapeStretch&&!["","square","circle"].includes(e.shape)&&(0,i.createElement)(vr,{label:(0,h.__)("Flip Shape Horizontally",o.i18n),checked:e.shapeFlipX,onChange:e.onChangeShapeFlipX}),e.onChangeShapeStretch&&!["","square","circle"].includes(e.shape)&&(0,i.createElement)(vr,{label:(0,h.__)("Flip Shape Vertically",o.i18n),checked:e.shapeFlipY,onChange:e.onChangeShapeFlipY}),e.onChangeShapeStretch&&!["","square"].includes(e.shape)&&!a&&(0,i.createElement)(vr,{label:(0,h.__)("Stretch Shape Mask",o.i18n),checked:e.shapeStretch,onChange:e.onChangeShapeStretch,defaultValue:!0}))};et.defaultProps={imageId:"",imageSize:"full",isSquareImage:null,shape:"",shapeFlipX:!1,shapeFlipY:!1,shapeStretch:!1,onChangeShape:()=>{},onChangeShapeFlipX:()=>{},onChangeShapeFlipY:()=>{},onChangeShapeStretch:()=>{}};const tt=(0,te.compose)([(0,x.withSelect)(((e,t)=>{const{getMedia:a}=e("core");return{imageData:t.imageId?a(t.imageId):null}}))])(et),at=e=>{let{imageSizes:t,value:a,className:l,defaultValue:r,...s}=e;const o=(e=>(0,p.map)(e,(e=>{let{name:t,slug:a}=e;return{value:a,label:t}})))(t);return(0,p.isEmpty)(o)?null:(0,i.createElement)(gt,n({},s,{value:a||"large",options:o,className:m()(l,["ugb--help-tip-image-size"]),defaultValue:r||"large"}))};at.defaultProps={className:"",label:(0,h.__)("Image Size"),value:"large",defaultValue:"",imageSizes:[],onChange:()=>{}};const nt=(0,te.compose)([(0,x.withSelect)((e=>({imageSizes:e("core/block-editor").getSettings().imageSizes})))])(at);(0,h.__)("Column Paddings",o.i18n);const it=!!s.__experimentalNumberControl,lt=(0,i.memo)((e=>{const{allowReset:t,withInputField:a,isShiftStepEnabled:l,placeholderRender:r,defaultValue:u,...c}=e,g=(0,i.useRef)(null),[d,v]=(0,i.useState)(""===e.value||isNaN(e.value)&&"auto"!==e.value?"":e.value);(0,i.useEffect)((()=>{""===e.value||isNaN(e.value)&&"auto"!==e.value?v(""):v(e.value)}),[e.value]);const b=(0,i.useCallback)((t=>{if(v(t),"string"!=typeof t||"auto"!==t.toLowerCase()){if(!isNaN(t)){const a=parseFloat(t);if(!isNaN(a))return void e.onChange((0,p.clamp)(a,e.min,e.max))}e.onChange(e.resetFallbackValue)}else e.onChange(t)}),[e.onChange,e.min,e.max,e.resetFallbackValue]),y=(0,i.useCallback)((()=>{v(e.resetFallbackValue),e.onChange(e.resetFallbackValue)}),[e.onChange,e.resetFallbackValue]),k=(0,i.useCallback)((()=>{if("string"!=typeof d||"auto"!==d.toLowerCase()){if(!isNaN(d)){const t=parseFloat(d);if(!isNaN(t))return void v((0,p.clamp)(t,e.min,e.max))}v(e.resetFallbackValue)}else v(d)}),[d,e.min,e.max,e.resetFallbackValue]),_=m()(["ugb-range-control",e.className],{"ugb-range-control--blank":""===d}),w=""===d,x=null!==e.initialPosition?e.initialPosition:e.placeholder||e.sliderMin||e.min,C=((e,t,a)=>{const n=(e-t)/(a-t)*100;return`${(0,p.clamp)(n,0,100)}%`})(w?x:d,e.sliderMin||e.min||0,e.sliderMax||e.max||100),[E,M]=(0,i.useState)(e.placeholder);(0,i.useEffect)((()=>{M(e.placeholder)}),[e.placeholder]);const T=S();return(0,i.useLayoutEffect)((()=>{const t=setTimeout((()=>{M(r&&!d?r(d):null!==e.placeholder?e.placeholder:x)}),400);return()=>clearTimeout(t)}),[T,!!d,e.placeholder]),(0,i.createElement)("div",{className:_,style:{"--ugb-advanced-range-control--width":C}},(0,i.createElement)(s.RangeControl,n({},c,{initialPosition:"",onChange:b,withInputField:!1,allowReset:!1,min:null!==e.sliderMin?e.sliderMin:e.min===-1/0?0:e.min,max:null!==e.sliderMax?e.sliderMax:e.max===1/0?100:e.max})),a&&it&&(0,i.createElement)(s.__experimentalNumberControl,{ref:g,disabled:e.disabled,isShiftStepEnabled:l,max:e.max,min:e.min,onChange:b,onBlur:k,shiftStep:e.shiftStep,step:e.step,value:d,placeholder:E,type:"text"}),t&&(0,i.createElement)(f,{className:"components-range-control__reset",disabled:e.disabled,isSecondary:!0,isSmall:!0,onClick:y},(0,h.__)("Reset",o.i18n)))}));lt.defaultProps={className:"",allowReset:!1,withInputField:!0,isShiftStepEnabled:!0,max:1/0,min:-1/0,sliderMax:null,sliderMin:null,shiftStep:10,step:1,resetFallbackValue:"",placeholder:null,placeholderRender:null,initialPosition:null,onChange:()=>{}};const rt=lt,st=e=>{const t=null!==e.showReset?e.showReset:void 0!==e.value&&e.value!==e.default&&e.value!==e.placeholder;return e.allowReset&&t&&(0,i.createElement)(f,{className:"stk-control__reset-button",isSmall:!0,isTertiary:!0,"aria-label":(0,h.__)("Reset",o.i18n),onClick:()=>e.onChange(void 0===e.default?"":e.default),icon:(0,i.createElement)(s.Dashicon,{icon:"image-rotate"})})};st.defaultProps={allowReset:!0,showReset:null,value:"",default:"",onChange:null};const ot=e=>{var t,a;const[l,r]=je(e.attribute,e.responsive,e.hover,e.valueCallback,e.changeCallback),[s,o]=He(e),u=S(),[c]=Te(),g=!(null===(t=e.units)||void 0===t||!t.length),m=Se(`${e.attribute}Unit`,e.responsive,e.hover),{clientId:h}=(0,d.useBlockEditContext)(),p=E(h),v="string"==typeof e.unit?e.unit||(null===(a=e.units)||void 0===a?void 0:a[0])||"px":p?p[m]:"";if(g){const t=e.units.indexOf(v)<0?0:e.units.indexOf(v);Array.isArray(e.min)&&(s.min=e.min[t]),Array.isArray(e.max)&&(s.max=e.max[t]),Array.isArray(e.sliderMin)&&(s.sliderMin=e.sliderMin[t]),Array.isArray(e.sliderMax)&&(s.sliderMax=e.sliderMax[t]),Array.isArray(e.step)&&(s.step=e.step[t]),s.initialPosition=""!==e.initialPosition?e.initialPosition:e.placeholder,0!==t&&(s.initialPosition="",s.placeholder="")}"Desktop"===u&&"normal"===c||(s.initialPosition="",s.placeholder="");let b=e.placeholderRender;return("Desktop"!==u||"normal"!==c||g&&v!==e.units[0])&&(b=null),(0,i.createElement)(Fe,o,(0,i.createElement)(rt,n({},s,{value:void 0===e.value?l:e.value,onChange:void 0===e.onChange?r:e.onChange,allowReset:!1,placeholderRender:b})),(0,i.createElement)(st,{allowReset:e.allowReset,value:void 0===e.value?l:e.value,default:e.default,onChange:void 0===e.onChange?r:e.onChange}))};ot.defaultProps={allowReset:!0,default:"",attribute:"",responsive:!1,hover:!1,value:void 0,onChange:void 0};const ut=(0,i.memo)(ot),ct=e=>{const[t,a]=je(e.attribute,e.responsive,e.hover),[l,r]=He(e),{defaultValue:o,...u}=l;return(0,i.createElement)(Fe,n({},r,{className:m()("ugb-advanced-select-control",e.className)}),(0,i.createElement)(s.SelectControl,n({},u,{role:"listbox",value:void 0===e.value?t:e.value,onChange:void 0===e.onChange?a:e.onChange})),(0,i.createElement)(st,{allowReset:e.allowReset,value:void 0===e.value?t:e.value,default:e.default,onChange:void 0===e.onChange?a:e.onChange}))};ct.defaultProps={className:"",url:"",allowReset:!0,default:"",attribute:"",responsive:!1,hover:!1,value:void 0,onChange:void 0};const gt=ct,mt=function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 200"},e),(0,i.createElement)("path",{d:"M64.1 136L23 176.7c-1.9 1.8-1.9 4.8-.1 6.7.9 1 2.3 1.5 3.6 1.4l86.9.1L64.1 136z"}),(0,i.createElement)("path",{d:"M177.9 128.4c0-4.5-1.8-8.9-5-12.1L71.4 14.7 26.6 59.5c-3.2 3.2-5 7.5-5 12.1 0 4.5 1.8 8.9 5 12.1l101.6 101.6v-.1l44.8-44.8c3.1-3.2 4.9-7.5 4.9-12z",opacity:.75}),(0,i.createElement)("path",{d:"M71.4 14.7L26.6 59.5c-3.2 3.2-5 7.5-5 12h49.8V14.7zM128.2 71.6H71.4v56.8h56.8zM128.2 185.1l44.7-44.7c3.1-3.1 4.9-7.4 5-11.8h-49.7v56.5z"}),(0,i.createElement)("path",{d:"M71.4 14.7L26.6 59.5c-3.2 3.2-5 7.5-5 12h49.8V14.7zM172.9 14.7H86.1l49.4 49.6 40.9-41.2c1.9-2 1.8-5.2-.1-7.1-.9-.8-2.1-1.3-3.4-1.3z"}))},dt=function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg"},e),(0,i.createElement)("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.5c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM4.5 10.6h1.8l-1.8 1.8v-1.8zm3.1-1.2H4.5V7.7h4.8L7.6 9.4zm2.9-2.9h-6V5H12l-1.5 1.5zM3.3 15H1.5V5h1.7v10zm1.2-.8L13.7 5h1.8v.8L6.3 15H4.5v-.8zm11-4.8h-1.8l1.8-1.8v1.8zm-3.1 1.2h3.1v1.7h-4.8l1.7-1.7zm-2.9 2.9h6V15H8l1.5-1.5zM16.8 5h1.7v10h-1.7V5zM1.5 1.8c0-.2.1-.3.3-.3h16.3c.2 0 .3.1.3.3v1.3c0 .2-.1.3-.3.3H1.8c-.2 0-.3-.1-.3-.3V1.8zm17 16.4c0 .2-.1.3-.3.3H1.8c-.2 0-.3-.1-.3-.3v-1.3c0-.2.1-.3.3-.3h16.3c.2 0 .3.1.3.3v1.3zm-14.9-.7c0 .3-.2.5-.5.5s-.5-.2-.5-.5.3-.5.5-.5.5.2.5.5zm13.8 0c0 .3-.2.5-.5.5s-.5-.2-.5-.5.2-.5.5-.5.5.2.5.5zM2.6 2.5c0-.3.3-.5.5-.5s.5.2.5.5-.2.5-.5.5-.5-.2-.5-.5zm13.8 0c0-.3.2-.5.5-.5s.5.2.5.5-.2.5-.5.5-.5-.2-.5-.5z"}))},ht=function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),(0,i.createElement)("path",{d:"M10.9 20h-9c-1 0-1.8-.8-1.8-1.8v-5.1c0-1 .8-1.8 1.8-1.8h9c1 0 1.8.8 1.8 1.8v5.1c0 1-.8 1.8-1.8 1.8zm-9.1-7.4c-.3 0-.5.2-.5.5v5.1c0 .3.2.5.5.5h9c.3 0 .5-.2.5-.5v-5.1c0-.3-.2-.5-.5-.5h-9zM18.2 8.7h-9c-1 0-1.8-.8-1.8-1.8V1.8C7.4.8 8.2 0 9.2 0h9c1 0 1.8.8 1.8 1.8v5.1c0 1-.8 1.8-1.8 1.8zM9.1 1.3c-.3 0-.5.2-.5.5v5.1c0 .3.2.5.5.5h9c.3 0 .5-.2.5-.5V1.8c0-.3-.2-.5-.5-.5h-9z"}))};function pt(e){return(0,i.cloneElement)(e,{fill:"url(#stackable-gradient)",className:`stk-stackable-icon-gradient ${e.props.className||""}`})}function vt(e){let{className:t}=e;return(0,i.createElement)(mt,{className:t,width:"20",height:"20"})}r((()=>{if(document.querySelector("svg.ugb-stackable-gradient"))return;const e=document.createElement("DIV");e.setAttribute("style","height: 0; width: 0; overflow: hidden;"),e.setAttribute("aria-hidden","true"),document.querySelector("body").appendChild(e),(0,i.render)((0,i.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"ugb-stackable-gradient",height:"0",width:"0",style:{opacity:0}},(0,i.createElement)("defs",null,(0,i.createElement)("linearGradient",{id:"stackable-gradient"},(0,i.createElement)("stop",{offset:"0%",stopColor:"#8c33da",stopOpacity:"1"}),(0,i.createElement)("stop",{offset:"100%",stopColor:"#f34957",stopOpacity:"1"})))),e)}));class bt extends i.Component{constructor(){super(...arguments),this.state={isOpen:!1,slide:0},this.open=this.open.bind(this),this.close=this.close.bind(this),this.prev=this.prev.bind(this),this.next=this.next.bind(this)}open(){this.setState({isOpen:!0})}close(){this.setState({isOpen:!1})}next(){const e=this.state.slide>=4?0:this.state.slide+1;this.setState({slide:e})}prev(){const e=this.state.slide<=0?4:this.state.slide-1;this.setState({slide:e})}render(){const e=this.props.tag;return(0,i.createElement)(e,null,(0,i.createElement)("a",{href:`https://wpstackable.com/upgrade/?utm_source=${this.props.buttonUtmSource}&utm_campaign=learnmore&utm_medium=gutenberg`,target:"_premium",onClick:this.open,className:this.props.buttonClassName},this.props.button),this.state.isOpen&&(0,i.createElement)(s.Modal,{className:"ugb-pro-modal",onRequestClose:this.close},(0,i.createElement)("img",{src:"https://da4bu55kgdxvv.cloudfront.net/premium-popup.jpg",alt:(0,h.__)("Premium features",o.i18n)}),(0,i.createElement)("div",{className:"ugb-pro-modal__footer"},(0,i.createElement)("a",{href:"https://wpstackable.com/upgrade/?utm_source=editor-modal-popup&utm_campaign=upgrade&utm_medium=gutenberg",className:"button button-secondary",target:"_premium",title:(0,h.__)("Upgrade to Premium",o.i18n)},(0,i.createElement)(vt,null),(0,h.__)("Upgrade to Premium",o.i18n)),(0,i.createElement)("a",{href:"https://demo.wpstackable.com?utm_source=editor-modal-popup&utm_campaign=trydemo&utm_medium=gutenberg",target:"_premium",title:(0,h.__)("Try Premium Demo",o.i18n)},(0,h.__)("Try Premium Demo",o.i18n)))))}}bt.defaultProps={button:(0,h.__)("Learn More",o.i18n),buttonClassName:"button button-secondary",tag:"div",buttonUtmSource:"editor-learn-more"};const ft=bt,yt=function(e){return(0,i.createElement)("svg",n({id:"pro-icon_svg__Layer_3",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 155.8 175.1",xmlSpace:"preserve"},e),(0,i.createElement)("style",null,".pro-icon_svg__st2{fill:#8c33da}"),(0,i.createElement)("path",{d:"M107 175.1l43.7-44.8c3.7-3.8 5.4-8.8 5.1-13.8 0-.4-.1-.8-.1-1.2H107v59.8z",fill:"#5fb3dd"}),(0,i.createElement)("path",{d:"M48.8.4L5.1 45.2C1.4 49-.3 54 0 59c0 .4.1.7.1 1.1h48.6V.4z",fill:"#e2735d"}),(0,i.createElement)("path",{className:"pro-icon_svg__st2",d:"M48.8 115.3zM107 60.1z"}),(0,i.createElement)("path",{fill:"#e1565d",d:"M48.8 60.1v55.2H107V60.1z"}),(0,i.createElement)("path",{fill:"#47a0dd",d:"M48.8 115.3l58.2 59.8v-59.8z"}),(0,i.createElement)("path",{fill:"#ef9856",d:"M107 60.1L48.8.4v59.7z"}),(0,i.createElement)("path",{className:"pro-icon_svg__st2",d:"M107 60.1v55.2h48.6c-.5-3.8-2.1-7.5-4.9-10.4L107 60.1z"}),(0,i.createElement)("path",{d:"M48.8 115.3V60.1H.2c.5 3.8 2.1 7.5 4.9 10.4l43.7 44.8z",fill:"#ea75d4"}),(0,i.createElement)("path",{d:"M154.3 8.5c3.1-3.2.9-8.5-3.6-8.5H62.3l50.3 51.5 41.7-43z",fill:"#eabd59"}),(0,i.createElement)("path",{d:"M1.5 166.8C-1.7 170 .6 175 5 175h88.5l-50.3-51.4-41.7 43.2z",fill:"#49cbce"}))},kt={layout:{title:(0,h.__)("Say Hello to More Layouts 👋",o.i18n),description:(0,h.__)("Get more layouts for this block. This feature is only available on Stackable Premium.",o.i18n),button:(0,h.__)("Learn More",o.i18n)},design:{title:(0,h.__)("Say Hello to More Designs 👋",o.i18n),description:(0,h.__)("Get more pre-set sections / designs for this block. This feature is only available on Stackable Premium.",o.i18n),button:(0,h.__)("Learn More",o.i18n)},image:{title:(0,h.__)("Say Hello to More Shapes 👋",o.i18n),description:(0,h.__)("Get more cool shapes for your images. This feature is only available on Stackable Premium.",o.i18n),button:(0,h.__)("Learn More",o.i18n)},effect:{title:(0,h.__)("Say Hello to More Effects 👋",o.i18n),description:(0,h.__)("Get more flashy image & hover effects. This feature is only available on Stackable Premium.",o.i18n),button:(0,h.__)("Learn More",o.i18n)},advanced:{title:(0,h.__)("Say Hello to Fine-Grained Controls 👋",o.i18n),description:(0,h.__)("Get column spacing options, column colors and more. This feature is only available on Stackable Premium.",o.i18n),button:(0,h.__)("Learn More",o.i18n)},postsBlock:{title:(0,h.__)("Say Hello to More Post Controls 👋",o.i18n),description:(0,h.__)("Get a load more button, more post options and Custom Post Types. This feature is only available on Stackable Premium.",o.i18n),button:(0,h.__)("Learn More",o.i18n)},display:{title:(0,h.__)("Say Hello to More Display Conditions 👋",o.i18n),description:(0,h.__)("Get more condition types, add multiple conditions and more. This feature is only available on Stackable Premium.",o.i18n),button:(0,h.__)("Learn More",o.i18n)}},_t=e=>{const t=m()(["ugb-design-control-pro-note",e.className]);return(0,i.createElement)("div",{className:t},e.isDismissible&&(0,i.createElement)(f,{className:"ugb-design-control-pro-note__close",icon:"no-alt",isTertiary:!0,onClick:e.onClose}),(0,i.createElement)(yt,{className:"ugb-design-control-pro-note__logo"}),(0,i.createElement)("h4",null,e.title||kt[e.type].title),(0,i.createElement)("p",null,e.description||kt[e.type].description),e.showButton&&(0,i.createElement)(ft,{button:e.button||kt[e.type].button,buttonUtmSource:e.buttonUtmSource}),e.showHideNote&&(0,i.createElement)("p",{className:"ugb-design-control-pro-note__notice"},(0,h.__)("You can hide premium hints in the settings",o.i18n)))};_t.defaultProps={className:"",type:"layout",title:"",description:"",button:"",showButton:!0,showHideNote:!0,isDismissible:!1,onClose:()=>{},buttonUtmSource:void 0};const wt=_t,xt=function(e){return(0,i.createElement)("svg",n({"aria-hidden":"true","data-prefix":"fal","data-icon":"database",className:"database-light_svg__svg-inline--fa database-light_svg__fa-database database-light_svg__fa-w-14",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},e),(0,i.createElement)("path",{fill:"currentColor",d:"M224 32c106 0 192 28.75 192 64v32c0 35.25-86 64-192 64S32 163.25 32 128V96c0-35.25 86-64 192-64m192 149.5V224c0 35.25-86 64-192 64S32 259.25 32 224v-42.5c41.25 29 116.75 42.5 192 42.5s150.749-13.5 192-42.5m0 96V320c0 35.25-86 64-192 64S32 355.25 32 320v-42.5c41.25 29 116.75 42.5 192 42.5s150.749-13.5 192-42.5m0 96V416c0 35.25-86 64-192 64S32 451.25 32 416v-42.5c41.25 29 116.75 42.5 192 42.5s150.749-13.5 192-42.5M224 0C145.858 0 0 18.801 0 96v320c0 77.338 146.096 96 224 96 78.142 0 224-18.801 224-96V96c0-77.338-146.096-96-224-96z"}))},Ct=e=>{var t,a;const[n,l]=(0,i.useState)(!1),[r,s]=(0,i.useState)(e.value),o=(0,i.useCallback)((e=>{n&&(e.target.closest(".stackable-dynamic-content__popover")||e.target.closest(".stackable-dynamic-content__popover")||l(!1))}));(0,i.useEffect)((()=>(document.body.addEventListener("click",o),()=>document.body.removeEventListener("click",o))),[o]),(0,i.useEffect)((()=>{const t=setTimeout((()=>{s(e.value)}),300);return()=>clearTimeout(t)}),[e.value]);const u=[];var c,g;null!=r&&null!==(t=r.includes)&&void 0!==t&&t.call(r,"!#stk_dynamic")&&(null===(c=r.match(/\!#stk_dynamic\/(.*)\!#/g))||void 0===c||c.forEach((e=>{const t=e.replace(/\!#/g,"").replace("stk_dynamic/","");u.push(t)}))),null!=r&&null!==(a=r.includes)&&void 0!==a&&a.call(r,'data-stk-dynamic="')&&(null===(g=r.match(/data-stk-dynamic="[^"]*"/g))||void 0===g||g.forEach((e=>{var t,a,n;const i=null===(t=e.match(/data-stk-dynamic="(.*?(?="))"/g))||void 0===t||null===(a=t[0])||void 0===a||null===(n=a.replace(/"/g,""))||void 0===n?void 0:n.replace("data-stk-dynamic=","");i&&u.push(i)})));const m=St(r),d=Et(r),h=n||u.length,v=(0,p.first)(u)||"",b=(0,i.useCallback)(((t,a,n)=>{const i=e.isFormatType?`<span data-stk-dynamic="${n}" contenteditable="false" class="stk-dynamic-content">${t}</span>`:`!#stk_dynamic/${n}!#`;e.onChange(i),s(i),l(!1)}),[e.isFormatType,e.onChange]);return{onClick:()=>l(!n),isPressed:h,isPopoverOpen:n,value:m,placeholder:d,onClose:()=>l(!1),onReset:()=>e.onChange(""),onChange:b,activeAttribute:v}},St=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const t=(0,i.useContext)(ae);return(0,x.useSelect)((a=>{var n,i;if(!a("stackable/dynamic-content"))return e;if(!(0,p.isString)(e))return e;if(!e.includes("!#stk_dynamic")&&!e.includes("data-stk-dynamic"))return e;const l=(null===(n=a("core/editor"))||void 0===n?void 0:n.getCurrentPostId())||-1;let r=e;var s,o;return-1!==l&&null!=t&&t.postId&&t.postId!==l&&(r=null===(s=r)||void 0===s?void 0:s.replace(/<span[^\>]+data-stk-dynamic=[^\>]*>(.*?)<\/span>/g,(e=>{const a=e.match(/data-stk-dynamic="([^\"]*)"/)[1],n=a.split("/");return a.startsWith("current-page")?(n.length>2&&n[2].startsWith("?")?n.splice(2,0,t.postId.toString()):2===n.length&&n.push(t.postId.toString()),e.replace(/data-stk-dynamic="[^\"]*"/g,'data-stk-dynamic="'+n.join("/")+'"')):e})),r=null===(o=r)||void 0===o?void 0:o.replace(/!#stk_dynamic(.*)\!#/g,(e=>{const a=e.replace(/\!#/g,"").replace("stk_dynamic/",""),n=a.split("/");return a.startsWith("current-page")?(n.length>2?n.splice(2,0,t.postId.toString()):2===n.length&&n.push(t.postId.toString()),"!#stk_dynamic/"+n.join("/")+"!#"):e}))),null===(i=a("core/editor"))||void 0===i||i.getPostEdits(),a("stackable/dynamic-content").parseDynamicContents(r)}),[e,t])},Et=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return(0,x.useSelect)((t=>{var a,n;if(!t("stackable/dynamic-content"))return e;let i=e;return null!=e&&null!==(a=e.includes)&&void 0!==a&&a.call(e,"!#stk_dynamic")&&(i=i.replace(/\!#stk_dynamic\/(.*)\!#/g,(e=>{const a=e.replace(/\!#/g,"").replace("stk_dynamic/","");let n=(0,p.first)(t("stackable/dynamic-content").getFieldTitle(a));var i;n||(n=null===(i=new URL(`stk:${a}`).pathname.split("/"))||void 0===i?void 0:i[1]);return n?`[${n}]`:""}))),null!=e&&null!==(n=e.includes)&&void 0!==n&&n.call(e,'data-stk-dynamic="')&&(i=i.replace(/<span[^\>]+data-stk-dynamic="[^>"]*"[^\>]*>(.*?)<\/span>/g,(a=>{var n,i,l;const r=null===(n=a.match(/data-stk-dynamic="(.*?(?="))"/g))||void 0===n||null===(i=n[0])||void 0===i||null===(l=i.replace(/"/g,""))||void 0===l?void 0:l.replace("data-stk-dynamic=","");if(e){let e=(0,p.first)(t("stackable/dynamic-content").getFieldTitle(r));var s;if(!e)e=null===(s=new URL(`stk:${r}`).pathname.split("/"))||void 0===s?void 0:s[1];return e?`[${e}]`:""}return a}))),i}))},Mt=(0,M.applyFilters)("stackable.dynamic-content.component")||i.Fragment,Tt=e=>o.isPro||o.showProNotice?(0,i.createElement)(i.Fragment,null,(0,i.createElement)(s.Button,{className:"stk-dynamic-content-control__button",icon:(0,i.createElement)(xt,null),"aria-haspopup":"true",label:(0,h.__)("Dynamic Fields",o.i18n),isSmall:!0,isTertiary:!0,onClick:e.onClick,isPressed:!!e.isPressed}),e.isPopoverOpen&&(0,i.createElement)(s.Popover,{position:"top right",className:"stackable-dynamic-content__popover"},!o.isPro&&(0,i.createElement)(wt,{title:(0,h.__)("Say Hello to Dynamic Attributes 👋",o.i18n),description:(0,h.__)("Add dynamic values to your Stackable blocks. This feature is only available on Stackable Premium.",o.i18n)}),o.isPro&&(0,i.createElement)(Mt,{onClose:e.onClose,onChange:e.onChange,activeAttribute:e.activeAttribute,type:e.type}))):null,Nt=e=>{let{children:t,enable:a,...n}=e;if(!a)return t;const l=""!==n.activeAttribute,r=m()(["stk-dynamic-content-control"],{"stk--has-dynamic-content":l});return(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{className:r},l?(0,i.createElement)(s.TextControl,{value:n.placeholder,disabled:!0}):t,(0,i.createElement)(Tt,n)),(0,i.createElement)(st,{allowReset:!0,value:n.activeAttribute,default:"",onChange:n.onReset}))};Nt.defaultProps={enable:!1,children:null,activeAttribute:"",onReset:()=>{}};const Bt=Nt,It=e=>{const[t,a]=je(e.attribute,e.responsive,e.hover,e.valueCallback,e.changeCallback),[l,r]=He(e),{isDynamic:o,isMultiline:u,changeDynamicContent:c,allowReset:g,isFormatType:d,...h}=l,p=void 0!==c?c:void 0===e.onChange?a:e.onChange,v=Ct({value:void 0===e.value?t:e.value,onChange:p,isFormatType:d}),b=u?s.TextareaControl:s.TextControl;return(0,i.createElement)(Fe,r,(0,i.createElement)(Bt,n({enable:o},v),(0,i.createElement)(b,n({},h,{value:void 0===e.value?t:e.value,onChange:void 0===e.onChange?a:e.onChange,className:m()(l.className,"ugb-advanced-text-control")}))),(0,i.createElement)(st,{allowReset:g&&!e.dynamic,value:void 0===e.value?t:e.value,default:e.default,onChange:void 0===e.onChange?a:e.onChange}))};It.defaultProps={isMultiline:!1,allowReset:!0,default:"",attribute:"",responsive:!1,hover:!1,isDynamic:!1,isFormatType:!0,value:void 0,onChange:void 0,changeDynamicContent:void 0};const Ot=It;var Pt=a(8808),Rt=a.n(Pt);const Lt=(e,t)=>{const a=e.trim().replace(/[.*+?^${}()|[\]\\]/g,"\\$&");if(!a)return t;const n=new RegExp(a,"i");return zt(t)?t.map((e=>{let{title:t,options:a}=e;return{title:t,options:a.filter((e=>n.test(e.label)||n.test(e.value)))}})).filter((e=>e.options.length>0)):t.filter((e=>"string"==typeof e?n.test(e):n.test(e.label)||n.test(e.value)))},zt=e=>!(!e.length||"object"!=typeof e[0].options),At=(e,t)=>{if(!t.length)return e;if(!zt(t)){const a=t.filter((t=>("string"==typeof t?t:t.value)===e));return a.length?a[0].label:e}const a=t.map((t=>{let{title:a,options:n}=t;return{title:a,options:n.filter((t=>t.value===e))}})).filter((e=>e.options.length>0));return a.length?a[0].options[0].label:e},Dt=e=>e.value,Ft=e=>(0,i.createElement)("div",{className:"ugb--autosuggest-group"},e.title),Ht=e=>e.options,jt=()=>!0;class Ut extends i.Component{constructor(){super(...arguments),this.state={value:"",label:"",suggestions:[],isEmpty:!1},this.onSuggestionsFetchRequested=this.onSuggestionsFetchRequested.bind(this),this.onSuggestionsClearRequested=this.onSuggestionsClearRequested.bind(this),this.onChange=this.onChange.bind(this),this.onFocus=this.onFocus.bind(this),this.autosuggestDiv=(0,i.createRef)()}onChange(e,t){let{newValue:a}=t;this.props.onChange(a),this.setState({value:a,label:At(a,this.props.options)})}onFocus(){this.props.highlightValueOnFocus&&setTimeout((()=>{const e=this.autosuggestDiv.current.querySelector(`[data-value="${this.state.value}"]`);e&&e.scrollIntoView()}),0)}onSuggestionsFetchRequested(e){let{value:t,reason:a}=e;if(this.props.disableAutoIndex)return void this.setState({suggestions:Lt("",this.props.options)});if("input-focused"===a||"suggestion-selected"===a)return void this.setState({suggestions:this.props.options,isEmpty:!1});const n=Lt(t,this.props.options);this.setState({suggestions:n,isEmpty:""!==t.trim()&&0===n.length})}componentDidMount(){this.props.options.length&&this.props.value&&this.setState({value:this.props.value,label:this.props.value?At(this.props.value,this.props.options):this.props.value,suggestions:Lt(this.props.disableAutoIndex?"":this.props.value,this.props.options)})}componentWillReceiveProps(e){this.setState({value:e.value,label:e.value?At(e.value,e.options):e.value,suggestions:Lt(this.props.disableAutoIndex?"":e.value,e.options)})}onSuggestionsClearRequested(){this.setState({suggestions:[]})}render(){const{label:e,suggestions:t}=this.state,a={placeholder:this.props.placeholder,value:e,onChange:this.onChange,onFocus:this.onFocus,type:"search",...this.props.inputProps};return(0,i.createElement)(hr,{help:this.props.help,className:m()("ugb-advanced-autosuggest-control",this.props.className),label:this.props.label,screens:this.props.screens,value:this.props.value,onChange:e=>{""===e&&this.onChange(null,{newValue:""})},allowReset:this.props.allowReset},(0,i.createElement)("div",{className:"ugb-advanced-autosuggest-control__select",ref:this.autosuggestDiv},(0,i.createElement)(Rt(),{multiSection:zt(this.props.options),suggestions:t,focusInputOnSuggestionClick:!1,onSuggestionsFetchRequested:this.onSuggestionsFetchRequested,onSuggestionsClearRequested:this.onSuggestionsClearRequested,onSuggestionSelected:this.props.onSuggestionSelected,getSuggestionValue:this.props.getSuggestionValue||Dt,renderSuggestion:e=>(0,i.createElement)("div",{className:"ugb-autosuggest-option","data-value":e.value,id:`ugb-autosuggest-option--${e.id||(0,p.kebabCase)(e.value)}`},this.props.renderOption?this.props.renderOption(e):e.label),renderSectionTitle:Ft,getSectionSuggestions:Ht,shouldRenderSuggestions:jt,inputProps:a,renderInputComponent:this.props.renderInputComponent?this.props.renderInputComponent:e=>(0,i.createElement)("input",e)}),this.state.isEmpty&&(0,i.createElement)("div",{className:"ugb--autosuggest-empty"},this.props.noMatchesLabel),this.props.children))}}Ut.defaultProps={onChange:()=>{},help:"",className:"",screens:["desktop"],options:[],value:"",noMatchesLabel:(0,h.__)("No matches found",o.i18n),renderOption:null,highlightValueOnFocus:!1,allowReset:!0,placeholder:"",getSuggestionValue:null,disableAutoIndex:!1,onSuggestionSelected:()=>{},renderInputComponent:null,inputProps:{}};const Vt=Ut,Gt=function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),(0,i.createElement)("path",{d:"M3 15.1h14v2H3zM9.4 2.9h1.2v8.6l1.3-1.3 1.1.8-3 3-3-3 1.1-.8 1.3 1.3V2.9z"}))},$t=function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),(0,i.createElement)("path",{d:"M3 3h14v2H3zM10.6 17.1H9.4V8.4L8.1 9.7 7 9l3-3 3 3-1.1.8-1.3-1.3v8.6z"}))},qt=function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),(0,i.createElement)("path",{d:"M3 9h14v2H3zM10.6 18.4H9.4v-3.9l-1.3 1.3L7 15l3-3 3 3-1.1.8-1.3-1.3v3.9zM9.4 1.6h1.2v3.9l1.3-1.3L13 5l-3 3-3-3 1.1-.8 1.3 1.3V1.6z"}))},Wt=[{value:"flex-start",title:(0,h.__)("Align Left",o.i18n),icon:(0,i.createElement)((function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),(0,i.createElement)("path",{d:"M2.9 3h2v14h-2zM17.1 9.4v1.2H8.5l1.3 1.3L9 13l-3-3 3-3 .8 1.1-1.3 1.3h8.6z"}))}),null)},{value:"center",title:(0,h.__)("Align Center",o.i18n),icon:(0,i.createElement)((function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),(0,i.createElement)("path",{d:"M9 3h2v14H9zM1.6 10.6V9.4h3.9L4.2 8.1 5 7l3 3-3 3-.8-1.1 1.3-1.3H1.6zM18.4 9.4v1.2h-3.9l1.3 1.3L15 13l-3-3 3-3 .8 1.1-1.3 1.3h3.9z"}))}),null)},{value:"flex-end",title:(0,h.__)("Align Right",o.i18n),icon:(0,i.createElement)((function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),(0,i.createElement)("path",{d:"M15.1 3h2v14h-2zM2.9 10.6V9.4h8.6l-1.3-1.3L11 7l3 3-3 3-.8-1.1 1.3-1.3H2.9z"}))}),null)}],Kt=[{value:"flex-start",title:(0,h.__)("Align Top",o.i18n),icon:(0,i.createElement)($t,null)},{value:"center",title:(0,h.__)("Align Center",o.i18n),icon:(0,i.createElement)(qt,null)},{value:"flex-end",title:(0,h.__)("Align Bottom",o.i18n),icon:(0,i.createElement)(Gt,null)},{value:"stretch",title:(0,h.__)("Stretch",o.i18n),icon:(0,i.createElement)((function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),(0,i.createElement)("path",{d:"M3 16.4h14v2H3zM3 1.6h14v2H3zM10.6 12.8V7.2l1.3 1.3 1.1-.8-3-3-3 3 1.1.8 1.3-1.3v5.6l-1.3-1.3-1.1.8 3 3 3-3-1.1-.8z"}))}),null)}],Jt={"flex-horizontal":Wt,"flex-vertical":[{value:"flex-start",title:(0,h.__)("Align Top",o.i18n),icon:(0,i.createElement)($t,null)},{value:"center",title:(0,h.__)("Align Center",o.i18n),icon:(0,i.createElement)(qt,null)},{value:"flex-end",title:(0,h.__)("Align Bottom",o.i18n),icon:(0,i.createElement)(Gt,null)}],"flex-vertical-with-stretch":Kt},Yt=e=>{const[t,a]=je(e.attribute,e.responsive,e.hover,e.valueCallback,e.changeCallback),[l,r]=He(e),{className:o="",controls:u,fullwidth:c,multiline:g,isToggleOnly:d}=l,h="string"==typeof u?Jt[u]:u,v=m()({"ugb-toolbar--full-width":c,"ugb-toolbar--multiline":g,"ugb-toolbar--small":e.isSmall}),b=void 0===e.value?t:e.value,y=void 0===e.onChange?a:e.onChange;return(0,i.createElement)(Fe,n({},r,{className:m()("ugb-advanced-toolbar-control",o)}),(0,i.createElement)(s.ButtonGroup,{children:h.map(((t,a)=>{const l={...(0,p.omit)(t,"controls","show"),onClick:()=>{d&&t.value===b||y(t.value!==b?t.value:"")},isPrimary:b===t.value,isSmall:e.isSmall,children:t.icon?null:t.custom||(0,i.createElement)("span",{className:"ugb-advanced-toolbar-control__text-button"},t.title)};return(0,i.createElement)(f,n({key:a},l))})),className:v}),(0,i.createElement)(st,{allowReset:e.allowReset,value:b,default:e.default,onChange:y}))};Yt.defaultProps={controls:[],multiline:!1,fullwidth:!0,isSmall:!1,isToggleOnly:!1,allowReset:!0,default:"",attribute:"",responsive:!1,hover:!1,value:void 0,onChange:void 0};const Xt=Yt,Zt=e=>{let t=e.placeholder;const a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:21;return""===e?1:Math.round(parseFloat(e)/parseFloat(t)*10)/10};return"string"==typeof t&&(t=[t,a(t)]),(0,i.createElement)(ut,n({},e,{placeholder:t,onChangeUnit:t=>{""!==e.value&&("em"===t||"rem"===t?e.onChange(a(e.value)):"px"===t&&e.onChange(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:21;return""===e?21:Math.round(parseFloat(e)*t)}(e.value))),e.onChangeUnit(t)}}))};Zt.defaultProps={label:(0,h.__)("Font Size",o.i18n),value:"",onChange:()=>{},unit:"px",onChangeUnit:()=>{},min:[0,0],max:[150,7],step:[1,.05],units:["px","em"],placeholder:""};const Qt=Zt,ea=JSON.parse('[{"family":"ABeeZee","variants":["regular","italic"],"subsets":["latin"]},{"family":"Abel","variants":["regular"],"subsets":["latin"]},{"family":"Abhaya Libre","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","sinhala"]},{"family":"Abril Fatface","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Aclonica","variants":["regular"],"subsets":["latin"]},{"family":"Acme","variants":["regular"],"subsets":["latin"]},{"family":"Actor","variants":["regular"],"subsets":["latin"]},{"family":"Adamina","variants":["regular"],"subsets":["latin"]},{"family":"Advent Pro","variants":["100","200","300","regular","500","600","700"],"subsets":["greek","latin","latin-ext"]},{"family":"Aguafina Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Akaya Kanadaka","variants":["regular"],"subsets":["kannada","latin","latin-ext"]},{"family":"Akaya Telivigala","variants":["regular"],"subsets":["latin","latin-ext","telugu"]},{"family":"Akronim","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Aladin","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Alata","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Alatsi","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Aldrich","variants":["regular"],"subsets":["latin"]},{"family":"Alef","variants":["regular","700"],"subsets":["hebrew","latin"]},{"family":"Alegreya","variants":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Alegreya SC","variants":["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Alegreya Sans","variants":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Alegreya Sans SC","variants":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Aleo","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Alex Brush","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Alfa Slab One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Alice","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin"]},{"family":"Alike","variants":["regular"],"subsets":["latin"]},{"family":"Alike Angular","variants":["regular"],"subsets":["latin"]},{"family":"Allan","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Allerta","variants":["regular"],"subsets":["latin"]},{"family":"Allerta Stencil","variants":["regular"],"subsets":["latin"]},{"family":"Allison","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Allura","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Almarai","variants":["300","regular","700","800"],"subsets":["arabic"]},{"family":"Almendra","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Almendra Display","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Almendra SC","variants":["regular"],"subsets":["latin"]},{"family":"Alumni Sans","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Amarante","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Amaranth","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Amatic SC","variants":["regular","700"],"subsets":["cyrillic","hebrew","latin","latin-ext","vietnamese"]},{"family":"Amethysta","variants":["regular"],"subsets":["latin"]},{"family":"Amiko","variants":["regular","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Amiri","variants":["regular","italic","700","700italic"],"subsets":["arabic","latin","latin-ext"]},{"family":"Amita","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Anaheim","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Andada Pro","variants":["regular","500","600","700","800","italic","500italic","600italic","700italic","800italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Andika","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Andika New Basic","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Angkor","variants":["regular"],"subsets":["khmer","latin"]},{"family":"Annie Use Your Telescope","variants":["regular"],"subsets":["latin"]},{"family":"Anonymous Pro","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","greek","latin","latin-ext"]},{"family":"Antic","variants":["regular"],"subsets":["latin"]},{"family":"Antic Didone","variants":["regular"],"subsets":["latin"]},{"family":"Antic Slab","variants":["regular"],"subsets":["latin"]},{"family":"Anton","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Antonio","variants":["100","200","300","regular","500","600","700"],"subsets":["latin","latin-ext"]},{"family":"Arapey","variants":["regular","italic"],"subsets":["latin"]},{"family":"Arbutus","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Arbutus Slab","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Architects Daughter","variants":["regular"],"subsets":["latin"]},{"family":"Archivo","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Archivo Black","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Archivo Narrow","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Are You Serious","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Aref Ruqaa","variants":["regular","700"],"subsets":["arabic","latin","latin-ext"]},{"family":"Arima Madurai","variants":["100","200","300","regular","500","700","800","900"],"subsets":["latin","latin-ext","tamil","vietnamese"]},{"family":"Arimo","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","latin","latin-ext","vietnamese"]},{"family":"Arizonia","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Armata","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Arsenal","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Artifika","variants":["regular"],"subsets":["latin"]},{"family":"Arvo","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Arya","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Asap","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Asap Condensed","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Asar","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Asset","variants":["regular"],"subsets":["latin"]},{"family":"Assistant","variants":["200","300","regular","500","600","700","800"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Astloch","variants":["regular","700"],"subsets":["latin"]},{"family":"Asul","variants":["regular","700"],"subsets":["latin"]},{"family":"Athiti","variants":["200","300","regular","500","600","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Atkinson Hyperlegible","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Atma","variants":["300","regular","500","600","700"],"subsets":["bengali","latin","latin-ext"]},{"family":"Atomic Age","variants":["regular"],"subsets":["latin"]},{"family":"Aubrey","variants":["regular"],"subsets":["latin"]},{"family":"Audiowide","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Autour One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Average","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Average Sans","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Averia Gruesa Libre","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Averia Libre","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Averia Sans Libre","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Averia Serif Libre","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Azeret Mono","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext"]},{"family":"B612","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"B612 Mono","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Bad Script","variants":["regular"],"subsets":["cyrillic","latin"]},{"family":"Bahiana","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bahianita","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bai Jamjuree","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Ballet","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Baloo 2","variants":["regular","500","600","700","800"],"subsets":["devanagari","latin","latin-ext","vietnamese"]},{"family":"Baloo Bhai 2","variants":["regular","500","600","700","800"],"subsets":["gujarati","latin","latin-ext","vietnamese"]},{"family":"Baloo Bhaijaan 2","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Baloo Bhaina 2","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","oriya","vietnamese"]},{"family":"Baloo Chettan 2","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","malayalam","vietnamese"]},{"family":"Baloo Da 2","variants":["regular","500","600","700","800"],"subsets":["bengali","latin","latin-ext","vietnamese"]},{"family":"Baloo Paaji 2","variants":["regular","500","600","700","800"],"subsets":["gurmukhi","latin","latin-ext","vietnamese"]},{"family":"Baloo Tamma 2","variants":["regular","500","600","700","800"],"subsets":["kannada","latin","latin-ext","vietnamese"]},{"family":"Baloo Tammudu 2","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","telugu","vietnamese"]},{"family":"Baloo Thambi 2","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","tamil","vietnamese"]},{"family":"Balsamiq Sans","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Balthazar","variants":["regular"],"subsets":["latin"]},{"family":"Bangers","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Barlow","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Barlow Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Barlow Semi Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Barriecito","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Barrio","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Basic","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Baskervville","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Battambang","variants":["100","300","regular","700","900"],"subsets":["khmer","latin"]},{"family":"Baumans","variants":["regular"],"subsets":["latin"]},{"family":"Bayon","variants":["regular"],"subsets":["khmer","latin"]},{"family":"Be Vietnam Pro","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bebas Neue","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Belgrano","variants":["regular"],"subsets":["latin"]},{"family":"Bellefair","variants":["regular"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Belleza","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bellota","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Bellota Text","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"BenchNine","variants":["300","regular","700"],"subsets":["latin","latin-ext"]},{"family":"Benne","variants":["regular"],"subsets":["kannada","latin","latin-ext"]},{"family":"Bentham","variants":["regular"],"subsets":["latin"]},{"family":"Berkshire Swash","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Besley","variants":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext"]},{"family":"Beth Ellen","variants":["regular"],"subsets":["latin"]},{"family":"Bevan","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Big Shoulders Display","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Big Shoulders Inline Display","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Big Shoulders Inline Text","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Big Shoulders Stencil Display","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Big Shoulders Stencil Text","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Big Shoulders Text","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bigelow Rules","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bigshot One","variants":["regular"],"subsets":["latin"]},{"family":"Bilbo","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bilbo Swash Caps","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"BioRhyme","variants":["200","300","regular","700","800"],"subsets":["latin","latin-ext"]},{"family":"BioRhyme Expanded","variants":["200","300","regular","700","800"],"subsets":["latin","latin-ext"]},{"family":"Birthstone","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Birthstone Bounce","variants":["regular","500"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Biryani","variants":["200","300","regular","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Bitter","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Black And White Picture","variants":["regular"],"subsets":["korean","latin"]},{"family":"Black Han Sans","variants":["regular"],"subsets":["korean","latin"]},{"family":"Black Ops One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Blinker","variants":["100","200","300","regular","600","700","800","900"],"subsets":["latin","latin-ext"]},{"family":"Bodoni Moda","variants":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext"]},{"family":"Bokor","variants":["regular"],"subsets":["khmer","latin"]},{"family":"Bona Nova","variants":["regular","italic","700"],"subsets":["cyrillic","cyrillic-ext","greek","hebrew","latin","latin-ext","vietnamese"]},{"family":"Bonbon","variants":["regular"],"subsets":["latin"]},{"family":"Bonheur Royale","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Boogaloo","variants":["regular"],"subsets":["latin"]},{"family":"Bowlby One","variants":["regular"],"subsets":["latin"]},{"family":"Bowlby One SC","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Brawler","variants":["regular"],"subsets":["latin"]},{"family":"Bree Serif","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Brygada 1918","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Bubblegum Sans","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bubbler One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Buda","variants":["300"],"subsets":["latin"]},{"family":"Buenard","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Bungee","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bungee Hairline","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bungee Inline","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bungee Outline","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bungee Shade","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Butcherman","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Butterfly Kids","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cabin","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Cabin Condensed","variants":["regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Cabin Sketch","variants":["regular","700"],"subsets":["latin"]},{"family":"Caesar Dressing","variants":["regular"],"subsets":["latin"]},{"family":"Cagliostro","variants":["regular"],"subsets":["latin"]},{"family":"Cairo","variants":["200","300","regular","500","600","700","800","900"],"subsets":["arabic","latin","latin-ext"]},{"family":"Caladea","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Calistoga","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Calligraffitti","variants":["regular"],"subsets":["latin"]},{"family":"Cambay","variants":["regular","italic","700","700italic"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Cambo","variants":["regular"],"subsets":["latin"]},{"family":"Candal","variants":["regular"],"subsets":["latin"]},{"family":"Cantarell","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Cantata One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cantora One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Capriola","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Caramel","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Carattere","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Cardo","variants":["regular","italic","700"],"subsets":["greek","greek-ext","latin","latin-ext"]},{"family":"Carme","variants":["regular"],"subsets":["latin"]},{"family":"Carrois Gothic","variants":["regular"],"subsets":["latin"]},{"family":"Carrois Gothic SC","variants":["regular"],"subsets":["latin"]},{"family":"Carter One","variants":["regular"],"subsets":["latin"]},{"family":"Castoro","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Catamaran","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","tamil"]},{"family":"Caudex","variants":["regular","italic","700","700italic"],"subsets":["greek","greek-ext","latin","latin-ext"]},{"family":"Caveat","variants":["regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Caveat Brush","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cedarville Cursive","variants":["regular"],"subsets":["latin"]},{"family":"Ceviche One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Chakra Petch","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Changa","variants":["200","300","regular","500","600","700","800"],"subsets":["arabic","latin","latin-ext"]},{"family":"Changa One","variants":["regular","italic"],"subsets":["latin"]},{"family":"Chango","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Charm","variants":["regular","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Charmonman","variants":["regular","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Chathura","variants":["100","300","regular","700","800"],"subsets":["latin","telugu"]},{"family":"Chau Philomene One","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Chela One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Chelsea Market","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Chenla","variants":["regular"],"subsets":["khmer"]},{"family":"Cherish","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Cherry Cream Soda","variants":["regular"],"subsets":["latin"]},{"family":"Cherry Swash","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Chewy","variants":["regular"],"subsets":["latin"]},{"family":"Chicle","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Chilanka","variants":["regular"],"subsets":["latin","malayalam"]},{"family":"Chivo","variants":["300","300italic","regular","italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Chonburi","variants":["regular"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Cinzel","variants":["regular","500","600","700","800","900"],"subsets":["latin","latin-ext"]},{"family":"Cinzel Decorative","variants":["regular","700","900"],"subsets":["latin"]},{"family":"Clicker Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Coda","variants":["regular","800"],"subsets":["latin","latin-ext"]},{"family":"Coda Caption","variants":["800"],"subsets":["latin","latin-ext"]},{"family":"Codystar","variants":["300","regular"],"subsets":["latin","latin-ext"]},{"family":"Coiny","variants":["regular"],"subsets":["latin","latin-ext","tamil","vietnamese"]},{"family":"Combo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Comfortaa","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Comforter","variants":["regular"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Comforter Brush","variants":["regular"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Comic Neue","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Coming Soon","variants":["regular"],"subsets":["latin"]},{"family":"Commissioner","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Concert One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Condiment","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Content","variants":["regular","700"],"subsets":["khmer"]},{"family":"Contrail One","variants":["regular"],"subsets":["latin"]},{"family":"Convergence","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cookie","variants":["regular"],"subsets":["latin"]},{"family":"Copse","variants":["regular"],"subsets":["latin"]},{"family":"Corben","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Corinthia","variants":["regular","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Cormorant","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cormorant Garamond","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cormorant Infant","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cormorant SC","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cormorant Unicase","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cormorant Upright","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Courgette","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Courier Prime","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Cousine","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","latin","latin-ext","vietnamese"]},{"family":"Coustard","variants":["regular","900"],"subsets":["latin"]},{"family":"Covered By Your Grace","variants":["regular"],"subsets":["latin"]},{"family":"Crafty Girls","variants":["regular"],"subsets":["latin"]},{"family":"Creepster","variants":["regular"],"subsets":["latin"]},{"family":"Crete Round","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Crimson Pro","variants":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Croissant One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Crushed","variants":["regular"],"subsets":["latin"]},{"family":"Cuprum","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cute Font","variants":["regular"],"subsets":["korean","latin"]},{"family":"Cutive","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cutive Mono","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"DM Mono","variants":["300","300italic","regular","italic","500","500italic"],"subsets":["latin","latin-ext"]},{"family":"DM Sans","variants":["regular","italic","500","500italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"DM Serif Display","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"DM Serif Text","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Damion","variants":["regular"],"subsets":["latin"]},{"family":"Dancing Script","variants":["regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Dangrek","variants":["regular"],"subsets":["khmer","latin"]},{"family":"Darker Grotesque","variants":["300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"David Libre","variants":["regular","500","700"],"subsets":["hebrew","latin","latin-ext","vietnamese"]},{"family":"Dawning of a New Day","variants":["regular"],"subsets":["latin"]},{"family":"Days One","variants":["regular"],"subsets":["latin"]},{"family":"Dekko","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Dela Gothic One","variants":["regular"],"subsets":["cyrillic","greek","japanese","latin","latin-ext","vietnamese"]},{"family":"Delius","variants":["regular"],"subsets":["latin"]},{"family":"Delius Swash Caps","variants":["regular"],"subsets":["latin"]},{"family":"Delius Unicase","variants":["regular","700"],"subsets":["latin"]},{"family":"Della Respira","variants":["regular"],"subsets":["latin"]},{"family":"Denk One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Devonshire","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Dhurjati","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Didact Gothic","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Diplomata","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Diplomata SC","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Do Hyeon","variants":["regular"],"subsets":["korean","latin"]},{"family":"Dokdo","variants":["regular"],"subsets":["korean","latin"]},{"family":"Domine","variants":["regular","500","600","700"],"subsets":["latin","latin-ext"]},{"family":"Donegal One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Dongle","variants":["300","regular","700"],"subsets":["korean","latin","latin-ext","vietnamese"]},{"family":"Doppio One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Dorsa","variants":["regular"],"subsets":["latin"]},{"family":"Dosis","variants":["200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"DotGothic16","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Dr Sugiyama","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Duru Sans","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Dynalight","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"EB Garamond","variants":["regular","500","600","700","800","italic","500italic","600italic","700italic","800italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Eagle Lake","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"East Sea Dokdo","variants":["regular"],"subsets":["korean","latin"]},{"family":"Eater","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Economica","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Eczar","variants":["regular","500","600","700","800"],"subsets":["devanagari","latin","latin-ext"]},{"family":"El Messiri","variants":["regular","500","600","700"],"subsets":["arabic","cyrillic","latin","latin-ext"]},{"family":"Electrolize","variants":["regular"],"subsets":["latin"]},{"family":"Elsie","variants":["regular","900"],"subsets":["latin","latin-ext"]},{"family":"Elsie Swash Caps","variants":["regular","900"],"subsets":["latin","latin-ext"]},{"family":"Emblema One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Emilys Candy","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Encode Sans","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Encode Sans Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Encode Sans Expanded","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Encode Sans SC","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Encode Sans Semi Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Encode Sans Semi Expanded","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Engagement","variants":["regular"],"subsets":["latin"]},{"family":"Englebert","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Enriqueta","variants":["regular","500","600","700"],"subsets":["latin","latin-ext"]},{"family":"Ephesis","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Epilogue","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Erica One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Esteban","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Estonia","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Euphoria Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ewert","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Exo","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Exo 2","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Expletus Sans","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin"]},{"family":"Explora","variants":["regular"],"subsets":["cherokee","latin","latin-ext","vietnamese"]},{"family":"Fahkwang","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Fanwood Text","variants":["regular","italic"],"subsets":["latin"]},{"family":"Farro","variants":["300","regular","500","700"],"subsets":["latin","latin-ext"]},{"family":"Farsan","variants":["regular"],"subsets":["gujarati","latin","latin-ext","vietnamese"]},{"family":"Fascinate","variants":["regular"],"subsets":["latin"]},{"family":"Fascinate Inline","variants":["regular"],"subsets":["latin"]},{"family":"Faster One","variants":["regular"],"subsets":["latin"]},{"family":"Fasthand","variants":["regular"],"subsets":["khmer","latin"]},{"family":"Fauna One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Faustina","variants":["300","regular","500","600","700","800","300italic","italic","500italic","600italic","700italic","800italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Federant","variants":["regular"],"subsets":["latin"]},{"family":"Federo","variants":["regular"],"subsets":["latin"]},{"family":"Felipa","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fenix","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Festive","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Finger Paint","variants":["regular"],"subsets":["latin"]},{"family":"Fira Code","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Fira Mono","variants":["regular","500","700"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Fira Sans","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Fira Sans Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Fira Sans Extra Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Fjalla One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fjord One","variants":["regular"],"subsets":["latin"]},{"family":"Flamenco","variants":["300","regular"],"subsets":["latin"]},{"family":"Flavors","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fleur De Leah","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Flow Block","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Flow Circular","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Flow Rounded","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Fondamento","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Fontdiner Swanky","variants":["regular"],"subsets":["latin"]},{"family":"Forum","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Francois One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Frank Ruhl Libre","variants":["300","regular","500","700","900"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Fraunces","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Freckle Face","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fredericka the Great","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fredoka One","variants":["regular"],"subsets":["latin"]},{"family":"Freehand","variants":["regular"],"subsets":["khmer","latin"]},{"family":"Fresca","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Frijole","variants":["regular"],"subsets":["latin"]},{"family":"Fruktur","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fugaz One","variants":["regular"],"subsets":["latin"]},{"family":"Fuggles","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Fuzzy Bubbles","variants":["regular","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"GFS Didot","variants":["regular"],"subsets":["greek"]},{"family":"GFS Neohellenic","variants":["regular","italic","700","700italic"],"subsets":["greek"]},{"family":"Gabriela","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin"]},{"family":"Gaegu","variants":["300","regular","700"],"subsets":["korean","latin"]},{"family":"Gafata","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Galada","variants":["regular"],"subsets":["bengali","latin"]},{"family":"Galdeano","variants":["regular"],"subsets":["latin"]},{"family":"Galindo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Gamja Flower","variants":["regular"],"subsets":["korean","latin"]},{"family":"Gayathri","variants":["100","regular","700"],"subsets":["latin","malayalam"]},{"family":"Gelasio","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Gemunu Libre","variants":["200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext","sinhala"]},{"family":"Genos","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cherokee","latin","latin-ext","vietnamese"]},{"family":"Gentium Basic","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Gentium Book Basic","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Geo","variants":["regular","italic"],"subsets":["latin"]},{"family":"Georama","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Geostar","variants":["regular"],"subsets":["latin"]},{"family":"Geostar Fill","variants":["regular"],"subsets":["latin"]},{"family":"Germania One","variants":["regular"],"subsets":["latin"]},{"family":"Gideon Roman","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Gidugu","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Gilda Display","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Girassol","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Give You Glory","variants":["regular"],"subsets":["latin"]},{"family":"Glass Antiqua","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Glegoo","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Gloria Hallelujah","variants":["regular"],"subsets":["latin"]},{"family":"Glory","variants":["100","200","300","regular","500","600","700","800","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Gluten","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Goblin One","variants":["regular"],"subsets":["latin"]},{"family":"Gochi Hand","variants":["regular"],"subsets":["latin"]},{"family":"Goldman","variants":["regular","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Gorditas","variants":["regular","700"],"subsets":["latin"]},{"family":"Gothic A1","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["korean","latin"]},{"family":"Gotu","variants":["regular"],"subsets":["devanagari","latin","latin-ext","vietnamese"]},{"family":"Goudy Bookletter 1911","variants":["regular"],"subsets":["latin"]},{"family":"Gowun Batang","variants":["regular","700"],"subsets":["korean","latin","latin-ext","vietnamese"]},{"family":"Gowun Dodum","variants":["regular"],"subsets":["korean","latin","latin-ext","vietnamese"]},{"family":"Graduate","variants":["regular"],"subsets":["latin"]},{"family":"Grand Hotel","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Grandstander","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Gravitas One","variants":["regular"],"subsets":["latin"]},{"family":"Great Vibes","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Grechen Fuemen","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Grenze","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Grenze Gotisch","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Grey Qo","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Griffy","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Gruppo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Gudea","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Gugi","variants":["regular"],"subsets":["korean","latin"]},{"family":"Gupter","variants":["regular","500","700"],"subsets":["latin"]},{"family":"Gurajada","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Gwendolyn","variants":["regular","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Habibi","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Hachi Maru Pop","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Hahmlet","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["korean","latin","latin-ext","vietnamese"]},{"family":"Halant","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Hammersmith One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Hanalei","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Hanalei Fill","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Handlee","variants":["regular"],"subsets":["latin"]},{"family":"Hanuman","variants":["100","300","regular","700","900"],"subsets":["khmer","latin"]},{"family":"Happy Monkey","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Harmattan","variants":["regular","700"],"subsets":["arabic","latin","latin-ext"]},{"family":"Headland One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Heebo","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["hebrew","latin"]},{"family":"Henny Penny","variants":["regular"],"subsets":["latin"]},{"family":"Hepta Slab","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Herr Von Muellerhoff","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Hi Melody","variants":["regular"],"subsets":["korean","latin"]},{"family":"Hina Mincho","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext","vietnamese"]},{"family":"Hind","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Hind Guntur","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","telugu"]},{"family":"Hind Madurai","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","tamil"]},{"family":"Hind Siliguri","variants":["300","regular","500","600","700"],"subsets":["bengali","latin","latin-ext"]},{"family":"Hind Vadodara","variants":["300","regular","500","600","700"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Holtwood One SC","variants":["regular"],"subsets":["latin"]},{"family":"Homemade Apple","variants":["regular"],"subsets":["latin"]},{"family":"Homenaje","variants":["regular"],"subsets":["latin"]},{"family":"Hurricane","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"IBM Plex Mono","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"IBM Plex Sans","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"IBM Plex Sans Arabic","variants":["100","200","300","regular","500","600","700"],"subsets":["arabic","cyrillic-ext","latin","latin-ext"]},{"family":"IBM Plex Sans Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"IBM Plex Sans Devanagari","variants":["100","200","300","regular","500","600","700"],"subsets":["cyrillic-ext","devanagari","latin","latin-ext"]},{"family":"IBM Plex Sans Hebrew","variants":["100","200","300","regular","500","600","700"],"subsets":["cyrillic-ext","hebrew","latin","latin-ext"]},{"family":"IBM Plex Sans KR","variants":["100","200","300","regular","500","600","700"],"subsets":["korean","latin","latin-ext"]},{"family":"IBM Plex Sans Thai","variants":["100","200","300","regular","500","600","700"],"subsets":["cyrillic-ext","latin","latin-ext","thai"]},{"family":"IBM Plex Sans Thai Looped","variants":["100","200","300","regular","500","600","700"],"subsets":["cyrillic-ext","latin","latin-ext","thai"]},{"family":"IBM Plex Serif","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"IM Fell DW Pica","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell DW Pica SC","variants":["regular"],"subsets":["latin"]},{"family":"IM Fell Double Pica","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell Double Pica SC","variants":["regular"],"subsets":["latin"]},{"family":"IM Fell English","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell English SC","variants":["regular"],"subsets":["latin"]},{"family":"IM Fell French Canon","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell French Canon SC","variants":["regular"],"subsets":["latin"]},{"family":"IM Fell Great Primer","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell Great Primer SC","variants":["regular"],"subsets":["latin"]},{"family":"Ibarra Real Nova","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext"]},{"family":"Iceberg","variants":["regular"],"subsets":["latin"]},{"family":"Iceland","variants":["regular"],"subsets":["latin"]},{"family":"Imbue","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Imprima","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Inconsolata","variants":["200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Inder","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Indie Flower","variants":["regular"],"subsets":["latin"]},{"family":"Inika","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Inknut Antiqua","variants":["300","regular","500","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Inria Sans","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Inria Serif","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Inter","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Irish Grover","variants":["regular"],"subsets":["latin"]},{"family":"Istok Web","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Italiana","variants":["regular"],"subsets":["latin"]},{"family":"Italianno","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Itim","variants":["regular"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Jacques Francois","variants":["regular"],"subsets":["latin"]},{"family":"Jacques Francois Shadow","variants":["regular"],"subsets":["latin"]},{"family":"Jaldi","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"JetBrains Mono","variants":["100","200","300","regular","500","600","700","800","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Jim Nightshade","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Jockey One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Jolly Lodger","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Jomhuria","variants":["regular"],"subsets":["arabic","latin","latin-ext"]},{"family":"Jomolhari","variants":["regular"],"subsets":["latin","tibetan"]},{"family":"Josefin Sans","variants":["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Josefin Slab","variants":["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],"subsets":["latin"]},{"family":"Jost","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Joti One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Jua","variants":["regular"],"subsets":["korean","latin"]},{"family":"Judson","variants":["regular","italic","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Julee","variants":["regular"],"subsets":["latin"]},{"family":"Julius Sans One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Junge","variants":["regular"],"subsets":["latin"]},{"family":"Jura","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","kayah-li","latin","latin-ext","vietnamese"]},{"family":"Just Another Hand","variants":["regular"],"subsets":["latin"]},{"family":"Just Me Again Down Here","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"K2D","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kadwa","variants":["regular","700"],"subsets":["devanagari","latin"]},{"family":"Kaisei Decol","variants":["regular","500","700"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Kaisei HarunoUmi","variants":["regular","500","700"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Kaisei Opti","variants":["regular","500","700"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Kaisei Tokumin","variants":["regular","500","700","800"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Kalam","variants":["300","regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Kameron","variants":["regular","700"],"subsets":["latin"]},{"family":"Kanit","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kantumruy","variants":["300","regular","700"],"subsets":["khmer"]},{"family":"Karantina","variants":["300","regular","700"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Karla","variants":["200","300","regular","500","600","700","800","200italic","300italic","italic","500italic","600italic","700italic","800italic"],"subsets":["latin","latin-ext"]},{"family":"Karma","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Katibeh","variants":["regular"],"subsets":["arabic","latin","latin-ext"]},{"family":"Kaushan Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Kavivanar","variants":["regular"],"subsets":["latin","latin-ext","tamil"]},{"family":"Kavoon","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Kdam Thmor","variants":["regular"],"subsets":["khmer"]},{"family":"Keania One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Kelly Slab","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Kenia","variants":["regular"],"subsets":["latin"]},{"family":"Khand","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Khmer","variants":["regular"],"subsets":["khmer"]},{"family":"Khula","variants":["300","regular","600","700","800"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Kings","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Kirang Haerang","variants":["regular"],"subsets":["korean","latin"]},{"family":"Kite One","variants":["regular"],"subsets":["latin"]},{"family":"Kiwi Maru","variants":["300","regular","500"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Klee One","variants":["regular","600"],"subsets":["cyrillic","greek-ext","japanese","latin","latin-ext"]},{"family":"Knewave","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"KoHo","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kodchasan","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Koh Santepheap","variants":["100","300","regular","700","900"],"subsets":["khmer","latin"]},{"family":"Kosugi","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Kosugi Maru","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Kotta One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Koulen","variants":["regular"],"subsets":["khmer","latin"]},{"family":"Kranky","variants":["regular"],"subsets":["latin"]},{"family":"Kreon","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext"]},{"family":"Kristi","variants":["regular"],"subsets":["latin"]},{"family":"Krona One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Krub","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kufam","variants":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["arabic","latin","latin-ext","vietnamese"]},{"family":"Kulim Park","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Kumar One","variants":["regular"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Kumar One Outline","variants":["regular"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Kumbh Sans","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext"]},{"family":"Kurale","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","devanagari","latin","latin-ext"]},{"family":"La Belle Aurore","variants":["regular"],"subsets":["latin"]},{"family":"Lacquer","variants":["regular"],"subsets":["latin"]},{"family":"Laila","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Lakki Reddy","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Lalezar","variants":["regular"],"subsets":["arabic","latin","latin-ext","vietnamese"]},{"family":"Lancelot","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Langar","variants":["regular"],"subsets":["gurmukhi","latin","latin-ext"]},{"family":"Lateef","variants":["regular"],"subsets":["arabic","latin"]},{"family":"Lato","variants":["100","100italic","300","300italic","regular","italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"League Script","variants":["regular"],"subsets":["latin"]},{"family":"Leckerli One","variants":["regular"],"subsets":["latin"]},{"family":"Ledger","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Lekton","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Lemon","variants":["regular"],"subsets":["latin"]},{"family":"Lemonada","variants":["300","regular","500","600","700"],"subsets":["arabic","latin","latin-ext","vietnamese"]},{"family":"Lexend","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Deca","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Exa","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Giga","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Mega","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Peta","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Tera","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Zetta","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Libre Barcode 128","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 128 Text","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 39","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 39 Extended","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 39 Extended Text","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 39 Text","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode EAN13 Text","variants":["regular"],"subsets":["latin"]},{"family":"Libre Baskerville","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Libre Caslon Display","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Libre Caslon Text","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Libre Franklin","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Life Savers","variants":["regular","700","800"],"subsets":["latin","latin-ext"]},{"family":"Lilita One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Lily Script One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Limelight","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Linden Hill","variants":["regular","italic"],"subsets":["latin"]},{"family":"Literata","variants":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Liu Jian Mao Cao","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Livvic","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lobster","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Lobster Two","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Londrina Outline","variants":["regular"],"subsets":["latin"]},{"family":"Londrina Shadow","variants":["regular"],"subsets":["latin"]},{"family":"Londrina Sketch","variants":["regular"],"subsets":["latin"]},{"family":"Londrina Solid","variants":["100","300","regular","900"],"subsets":["latin"]},{"family":"Long Cang","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Lora","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Love Ya Like A Sister","variants":["regular"],"subsets":["latin"]},{"family":"Loved by the King","variants":["regular"],"subsets":["latin"]},{"family":"Lovers Quarrel","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Luckiest Guy","variants":["regular"],"subsets":["latin"]},{"family":"Lusitana","variants":["regular","700"],"subsets":["latin"]},{"family":"Lustria","variants":["regular"],"subsets":["latin"]},{"family":"Luxurious Script","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"M PLUS 1","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["japanese","latin","latin-ext","vietnamese"]},{"family":"M PLUS 1 Code","variants":["100","200","300","regular","500","600","700"],"subsets":["japanese","latin","latin-ext","vietnamese"]},{"family":"M PLUS 1p","variants":["100","300","regular","500","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","japanese","latin","latin-ext","vietnamese"]},{"family":"M PLUS 2","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["japanese","latin","latin-ext","vietnamese"]},{"family":"M PLUS Code Latin","variants":["100","200","300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"M PLUS Rounded 1c","variants":["100","300","regular","500","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","japanese","latin","latin-ext","vietnamese"]},{"family":"Ma Shan Zheng","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Macondo","variants":["regular"],"subsets":["latin"]},{"family":"Macondo Swash Caps","variants":["regular"],"subsets":["latin"]},{"family":"Mada","variants":["200","300","regular","500","600","700","900"],"subsets":["arabic","latin"]},{"family":"Magra","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Maiden Orange","variants":["regular"],"subsets":["latin"]},{"family":"Maitree","variants":["200","300","regular","500","600","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Major Mono Display","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Mako","variants":["regular"],"subsets":["latin"]},{"family":"Mali","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Mallanna","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Mandali","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Manjari","variants":["100","regular","700"],"subsets":["latin","latin-ext","malayalam"]},{"family":"Manrope","variants":["200","300","regular","500","600","700","800"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Mansalva","variants":["regular"],"subsets":["latin"]},{"family":"Manuale","variants":["300","regular","500","600","700","800","300italic","italic","500italic","600italic","700italic","800italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Marcellus","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Marcellus SC","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Marck Script","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Margarine","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Markazi Text","variants":["regular","500","600","700"],"subsets":["arabic","latin","latin-ext","vietnamese"]},{"family":"Marko One","variants":["regular"],"subsets":["latin"]},{"family":"Marmelad","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Martel","variants":["200","300","regular","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Martel Sans","variants":["200","300","regular","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Marvel","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Mate","variants":["regular","italic"],"subsets":["latin"]},{"family":"Mate SC","variants":["regular"],"subsets":["latin"]},{"family":"Maven Pro","variants":["regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"McLaren","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Meddon","variants":["regular"],"subsets":["latin"]},{"family":"MedievalSharp","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Medula One","variants":["regular"],"subsets":["latin"]},{"family":"Meera Inimai","variants":["regular"],"subsets":["latin","tamil"]},{"family":"Megrim","variants":["regular"],"subsets":["latin"]},{"family":"Meie Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Meow Script","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Merienda","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Merienda One","variants":["regular"],"subsets":["latin"]},{"family":"Merriweather","variants":["300","300italic","regular","italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Merriweather Sans","variants":["300","regular","500","600","700","800","300italic","italic","500italic","600italic","700italic","800italic"],"subsets":["cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Metal","variants":["regular"],"subsets":["khmer","latin"]},{"family":"Metal Mania","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Metamorphous","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Metrophobic","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Michroma","variants":["regular"],"subsets":["latin"]},{"family":"Milonga","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Miltonian","variants":["regular"],"subsets":["latin"]},{"family":"Miltonian Tattoo","variants":["regular"],"subsets":["latin"]},{"family":"Mina","variants":["regular","700"],"subsets":["bengali","latin","latin-ext"]},{"family":"Miniver","variants":["regular"],"subsets":["latin"]},{"family":"Miriam Libre","variants":["regular","700"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Mirza","variants":["regular","500","600","700"],"subsets":["arabic","latin","latin-ext"]},{"family":"Miss Fajardose","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mitr","variants":["200","300","regular","500","600","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Mochiy Pop One","variants":["regular"],"subsets":["japanese","latin"]},{"family":"Mochiy Pop P One","variants":["regular"],"subsets":["japanese","latin"]},{"family":"Modak","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Modern Antiqua","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mogra","variants":["regular"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Mohave","variants":["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext"]},{"family":"Molengo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Molle","variants":["italic"],"subsets":["latin","latin-ext"]},{"family":"Monda","variants":["regular","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Monofett","variants":["regular"],"subsets":["latin"]},{"family":"Monoton","variants":["regular"],"subsets":["latin"]},{"family":"Monsieur La Doulaise","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Montaga","variants":["regular"],"subsets":["latin"]},{"family":"Montagu Slab","variants":["100","200","300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"MonteCarlo","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Montez","variants":["regular"],"subsets":["latin"]},{"family":"Montserrat","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Montserrat Alternates","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Montserrat Subrayada","variants":["regular","700"],"subsets":["latin"]},{"family":"Moul","variants":["regular"],"subsets":["khmer","latin"]},{"family":"Moulpali","variants":["regular"],"subsets":["khmer","latin"]},{"family":"Mountains of Christmas","variants":["regular","700"],"subsets":["latin"]},{"family":"Mouse Memoirs","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mr Bedfort","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mr Dafoe","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mr De Haviland","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mrs Saint Delafield","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mrs Sheppards","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mukta","variants":["200","300","regular","500","600","700","800"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Mukta Mahee","variants":["200","300","regular","500","600","700","800"],"subsets":["gurmukhi","latin","latin-ext"]},{"family":"Mukta Malar","variants":["200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext","tamil"]},{"family":"Mukta Vaani","variants":["200","300","regular","500","600","700","800"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Mulish","variants":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Murecho","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","japanese","latin","latin-ext"]},{"family":"MuseoModerno","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Mystery Quest","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"NTR","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Nanum Brush Script","variants":["regular"],"subsets":["korean","latin"]},{"family":"Nanum Gothic","variants":["regular","700","800"],"subsets":["korean","latin"]},{"family":"Nanum Gothic Coding","variants":["regular","700"],"subsets":["korean","latin"]},{"family":"Nanum Myeongjo","variants":["regular","700","800"],"subsets":["korean","latin"]},{"family":"Nanum Pen Script","variants":["regular"],"subsets":["korean","latin"]},{"family":"Nerko One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Neucha","variants":["regular"],"subsets":["cyrillic","latin"]},{"family":"Neuton","variants":["200","300","regular","italic","700","800"],"subsets":["latin","latin-ext"]},{"family":"New Rocker","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"New Tegomin","variants":["regular"],"subsets":["japanese","latin","latin-ext"]},{"family":"News Cycle","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Newsreader","variants":["200","300","regular","500","600","700","800","200italic","300italic","italic","500italic","600italic","700italic","800italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Niconne","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Niramit","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Nixie One","variants":["regular"],"subsets":["latin"]},{"family":"Nobile","variants":["regular","italic","500","500italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Nokora","variants":["100","300","regular","700","900"],"subsets":["khmer","latin"]},{"family":"Norican","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Nosifer","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Notable","variants":["regular"],"subsets":["latin"]},{"family":"Nothing You Could Do","variants":["regular"],"subsets":["latin"]},{"family":"Noticia Text","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Noto Kufi Arabic","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["arabic"]},{"family":"Noto Music","variants":["regular"],"subsets":["music"]},{"family":"Noto Naskh Arabic","variants":["regular","500","600","700"],"subsets":["arabic"]},{"family":"Noto Nastaliq Urdu","variants":["regular","700"],"subsets":["arabic"]},{"family":"Noto Rashi Hebrew","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["hebrew"]},{"family":"Noto Sans","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","devanagari","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Noto Sans Adlam","variants":["regular","500","600","700"],"subsets":["adlam"]},{"family":"Noto Sans Adlam Unjoined","variants":["regular","500","600","700"],"subsets":["adlam"]},{"family":"Noto Sans Anatolian Hieroglyphs","variants":["regular"],"subsets":["anatolian-hieroglyphs"]},{"family":"Noto Sans Arabic","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["arabic"]},{"family":"Noto Sans Armenian","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["armenian"]},{"family":"Noto Sans Avestan","variants":["regular"],"subsets":["avestan"]},{"family":"Noto Sans Balinese","variants":["regular","500","600","700"],"subsets":["balinese"]},{"family":"Noto Sans Bamum","variants":["regular","500","600","700"],"subsets":["bamum"]},{"family":"Noto Sans Bassa Vah","variants":["regular"],"subsets":["bassa-vah"]},{"family":"Noto Sans Batak","variants":["regular"],"subsets":["batak"]},{"family":"Noto Sans Bengali","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["bengali"]},{"family":"Noto Sans Bhaiksuki","variants":["regular"],"subsets":["bhaiksuki"]},{"family":"Noto Sans Brahmi","variants":["regular"],"subsets":["brahmi"]},{"family":"Noto Sans Buginese","variants":["regular"],"subsets":["buginese"]},{"family":"Noto Sans Buhid","variants":["regular"],"subsets":["buhid"]},{"family":"Noto Sans Canadian Aboriginal","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["canadian-aboriginal"]},{"family":"Noto Sans Carian","variants":["regular"],"subsets":["carian"]},{"family":"Noto Sans Caucasian Albanian","variants":["regular"],"subsets":["caucasian-albanian"]},{"family":"Noto Sans Chakma","variants":["regular"],"subsets":["chakma"]},{"family":"Noto Sans Cham","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["cham"]},{"family":"Noto Sans Cherokee","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["cherokee"]},{"family":"Noto Sans Coptic","variants":["regular"],"subsets":["coptic"]},{"family":"Noto Sans Cuneiform","variants":["regular"],"subsets":["cuneiform"]},{"family":"Noto Sans Cypriot","variants":["regular"],"subsets":["cypriot"]},{"family":"Noto Sans Deseret","variants":["regular"],"subsets":["deseret"]},{"family":"Noto Sans Devanagari","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["devanagari"]},{"family":"Noto Sans Display","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Noto Sans Duployan","variants":["regular"],"subsets":["duployan"]},{"family":"Noto Sans Egyptian Hieroglyphs","variants":["regular"],"subsets":["egyptian-hieroglyphs"]},{"family":"Noto Sans Elbasan","variants":["regular"],"subsets":["elbasan"]},{"family":"Noto Sans Elymaic","variants":["regular"],"subsets":["elymaic"]},{"family":"Noto Sans Georgian","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["georgian"]},{"family":"Noto Sans Glagolitic","variants":["regular"],"subsets":["glagolitic"]},{"family":"Noto Sans Gothic","variants":["regular"],"subsets":["gothic"]},{"family":"Noto Sans Grantha","variants":["regular"],"subsets":["grantha"]},{"family":"Noto Sans Gujarati","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["gujarati"]},{"family":"Noto Sans Gunjala Gondi","variants":["regular"],"subsets":["gunjala-gondi"]},{"family":"Noto Sans Gurmukhi","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["gurmukhi"]},{"family":"Noto Sans HK","variants":["100","300","regular","500","700","900"],"subsets":["chinese-hongkong","latin"]},{"family":"Noto Sans Hanifi Rohingya","variants":["regular","500","600","700"],"subsets":["hanifi-rohingya"]},{"family":"Noto Sans Hanunoo","variants":["regular"],"subsets":["hanunoo"]},{"family":"Noto Sans Hatran","variants":["regular"],"subsets":["hatran"]},{"family":"Noto Sans Hebrew","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["hebrew"]},{"family":"Noto Sans Imperial Aramaic","variants":["regular"],"subsets":["imperial-aramaic"]},{"family":"Noto Sans Indic Siyaq Numbers","variants":["regular"],"subsets":["indic-siyaq-numbers"]},{"family":"Noto Sans Inscriptional Pahlavi","variants":["regular"],"subsets":["inscriptional-pahlavi"]},{"family":"Noto Sans Inscriptional Parthian","variants":["regular"],"subsets":["inscriptional-parthian"]},{"family":"Noto Sans JP","variants":["100","300","regular","500","700","900"],"subsets":["japanese","latin"]},{"family":"Noto Sans Javanese","variants":["regular","700"],"subsets":["javanese"]},{"family":"Noto Sans KR","variants":["100","300","regular","500","700","900"],"subsets":["korean","latin"]},{"family":"Noto Sans Kaithi","variants":["regular"],"subsets":["kaithi"]},{"family":"Noto Sans Kannada","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["kannada"]},{"family":"Noto Sans Kayah Li","variants":["regular","500","600","700"],"subsets":["kayah-li"]},{"family":"Noto Sans Kharoshthi","variants":["regular"],"subsets":["kharoshthi"]},{"family":"Noto Sans Khmer","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["khmer"]},{"family":"Noto Sans Khojki","variants":["regular"],"subsets":["khojki"]},{"family":"Noto Sans Khudawadi","variants":["regular"],"subsets":["khudawadi"]},{"family":"Noto Sans Lao","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["lao"]},{"family":"Noto Sans Lepcha","variants":["regular"],"subsets":["lepcha"]},{"family":"Noto Sans Limbu","variants":["regular"],"subsets":["limbu"]},{"family":"Noto Sans Linear A","variants":["regular"],"subsets":["linear-a"]},{"family":"Noto Sans Linear B","variants":["regular"],"subsets":["linear-b"]},{"family":"Noto Sans Lisu","variants":["regular","500","600","700"],"subsets":["lisu"]},{"family":"Noto Sans Lycian","variants":["regular"],"subsets":["lycian"]},{"family":"Noto Sans Lydian","variants":["regular"],"subsets":["lydian"]},{"family":"Noto Sans Mahajani","variants":["regular"],"subsets":["mahajani"]},{"family":"Noto Sans Malayalam","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["malayalam"]},{"family":"Noto Sans Mandaic","variants":["regular"],"subsets":["mandaic"]},{"family":"Noto Sans Manichaean","variants":["regular"],"subsets":["manichaean"]},{"family":"Noto Sans Marchen","variants":["regular"],"subsets":["marchen"]},{"family":"Noto Sans Masaram Gondi","variants":["regular"],"subsets":["masaram-gondi"]},{"family":"Noto Sans Math","variants":["regular"],"subsets":["math"]},{"family":"Noto Sans Mayan Numerals","variants":["regular"],"subsets":["mayan-numerals"]},{"family":"Noto Sans Medefaidrin","variants":["regular","500","600","700"],"subsets":["medefaidrin"]},{"family":"Noto Sans Meetei Mayek","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["meetei-mayek"]},{"family":"Noto Sans Meroitic","variants":["regular"],"subsets":["meroitic"]},{"family":"Noto Sans Miao","variants":["regular"],"subsets":["miao"]},{"family":"Noto Sans Modi","variants":["regular"],"subsets":["modi"]},{"family":"Noto Sans Mongolian","variants":["regular"],"subsets":["mongolian"]},{"family":"Noto Sans Mono","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Noto Sans Mro","variants":["regular"],"subsets":["mro"]},{"family":"Noto Sans Multani","variants":["regular"],"subsets":["multani"]},{"family":"Noto Sans Myanmar","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["myanmar"]},{"family":"Noto Sans N Ko","variants":["regular"],"subsets":["nko"]},{"family":"Noto Sans Nabataean","variants":["regular"],"subsets":["nabataean"]},{"family":"Noto Sans New Tai Lue","variants":["regular"],"subsets":["new-tai-lue"]},{"family":"Noto Sans Newa","variants":["regular"],"subsets":["newa"]},{"family":"Noto Sans Nushu","variants":["regular"],"subsets":["nushu"]},{"family":"Noto Sans Ogham","variants":["regular"],"subsets":["ogham"]},{"family":"Noto Sans Ol Chiki","variants":["regular","500","600","700"],"subsets":["ol-chiki"]},{"family":"Noto Sans Old Hungarian","variants":["regular"],"subsets":["old-hungarian"]},{"family":"Noto Sans Old Italic","variants":["regular"],"subsets":["old-italic"]},{"family":"Noto Sans Old North Arabian","variants":["regular"],"subsets":["old-north-arabian"]},{"family":"Noto Sans Old Permic","variants":["regular"],"subsets":["old-permic"]},{"family":"Noto Sans Old Persian","variants":["regular"],"subsets":["old-persian"]},{"family":"Noto Sans Old Sogdian","variants":["regular"],"subsets":["old-sogdian"]},{"family":"Noto Sans Old South Arabian","variants":["regular"],"subsets":["old-south-arabian"]},{"family":"Noto Sans Old Turkic","variants":["regular"],"subsets":["old-turkic"]},{"family":"Noto Sans Oriya","variants":["100","regular","700","900"],"subsets":["oriya"]},{"family":"Noto Sans Osage","variants":["regular"],"subsets":["osage"]},{"family":"Noto Sans Osmanya","variants":["regular"],"subsets":["osmanya"]},{"family":"Noto Sans Pahawh Hmong","variants":["regular"],"subsets":["pahawh-hmong"]},{"family":"Noto Sans Palmyrene","variants":["regular"],"subsets":["palmyrene"]},{"family":"Noto Sans Pau Cin Hau","variants":["regular"],"subsets":["pau-cin-hau"]},{"family":"Noto Sans Phags Pa","variants":["regular"],"subsets":["phags-pa"]},{"family":"Noto Sans Phoenician","variants":["regular"],"subsets":["phoenician"]},{"family":"Noto Sans Psalter Pahlavi","variants":["regular"],"subsets":["psalter-pahlavi"]},{"family":"Noto Sans Rejang","variants":["regular"],"subsets":["rejang"]},{"family":"Noto Sans Runic","variants":["regular"],"subsets":["runic"]},{"family":"Noto Sans SC","variants":["100","300","regular","500","700","900"],"subsets":["chinese-simplified","latin"]},{"family":"Noto Sans Samaritan","variants":["regular"],"subsets":["samaritan"]},{"family":"Noto Sans Saurashtra","variants":["regular"],"subsets":["saurashtra"]},{"family":"Noto Sans Sharada","variants":["regular"],"subsets":["sharada"]},{"family":"Noto Sans Shavian","variants":["regular"],"subsets":["shavian"]},{"family":"Noto Sans Siddham","variants":["regular"],"subsets":["siddham"]},{"family":"Noto Sans Sinhala","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["sinhala"]},{"family":"Noto Sans Sogdian","variants":["regular"],"subsets":["sogdian"]},{"family":"Noto Sans Sora Sompeng","variants":["regular","500","600","700"],"subsets":["sora-sompeng"]},{"family":"Noto Sans Soyombo","variants":["regular"],"subsets":["soyombo"]},{"family":"Noto Sans Sundanese","variants":["regular","500","600","700"],"subsets":["sundanese"]},{"family":"Noto Sans Syloti Nagri","variants":["regular"],"subsets":["syloti-nagri"]},{"family":"Noto Sans Symbols","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["symbols"]},{"family":"Noto Sans Symbols 2","variants":["regular"],"subsets":["symbols"]},{"family":"Noto Sans Syriac","variants":["100","regular","900"],"subsets":["syriac"]},{"family":"Noto Sans TC","variants":["100","300","regular","500","700","900"],"subsets":["chinese-traditional","latin"]},{"family":"Noto Sans Tagalog","variants":["regular"],"subsets":["tagalog"]},{"family":"Noto Sans Tagbanwa","variants":["regular"],"subsets":["tagbanwa"]},{"family":"Noto Sans Tai Le","variants":["regular"],"subsets":["tai-le"]},{"family":"Noto Sans Tai Tham","variants":["regular","500","600","700"],"subsets":["tai-tham"]},{"family":"Noto Sans Tai Viet","variants":["regular"],"subsets":["tai-viet"]},{"family":"Noto Sans Takri","variants":["regular"],"subsets":["takri"]},{"family":"Noto Sans Tamil","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["tamil"]},{"family":"Noto Sans Tamil Supplement","variants":["regular"],"subsets":["tamil-supplement"]},{"family":"Noto Sans Telugu","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["telugu"]},{"family":"Noto Sans Thaana","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["thaana"]},{"family":"Noto Sans Thai","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["thai"]},{"family":"Noto Sans Thai Looped","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["thai"]},{"family":"Noto Sans Tifinagh","variants":["regular"],"subsets":["tifinagh"]},{"family":"Noto Sans Tirhuta","variants":["regular"],"subsets":["tirhuta"]},{"family":"Noto Sans Ugaritic","variants":["regular"],"subsets":["ugaritic"]},{"family":"Noto Sans Vai","variants":["regular"],"subsets":["vai"]},{"family":"Noto Sans Wancho","variants":["regular"],"subsets":["wancho"]},{"family":"Noto Sans Warang Citi","variants":["regular"],"subsets":["warang-citi"]},{"family":"Noto Sans Yi","variants":["regular"],"subsets":["yi"]},{"family":"Noto Sans Zanabazar Square","variants":["regular"],"subsets":["zanabazar-square"]},{"family":"Noto Serif","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Noto Serif Ahom","variants":["regular"],"subsets":["ahom"]},{"family":"Noto Serif Armenian","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["armenian"]},{"family":"Noto Serif Balinese","variants":["regular"],"subsets":["balinese"]},{"family":"Noto Serif Bengali","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["bengali"]},{"family":"Noto Serif Devanagari","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["devanagari"]},{"family":"Noto Serif Display","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Noto Serif Dogra","variants":["regular"],"subsets":["dogra"]},{"family":"Noto Serif Ethiopic","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["ethiopic"]},{"family":"Noto Serif Georgian","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["georgian"]},{"family":"Noto Serif Grantha","variants":["regular"],"subsets":["grantha"]},{"family":"Noto Serif Gujarati","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["gujarati"]},{"family":"Noto Serif Gurmukhi","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["gurmukhi"]},{"family":"Noto Serif Hebrew","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["hebrew"]},{"family":"Noto Serif JP","variants":["200","300","regular","500","600","700","900"],"subsets":["japanese","latin"]},{"family":"Noto Serif KR","variants":["200","300","regular","500","600","700","900"],"subsets":["korean","latin"]},{"family":"Noto Serif Kannada","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["kannada"]},{"family":"Noto Serif Khmer","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["khmer"]},{"family":"Noto Serif Lao","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["lao"]},{"family":"Noto Serif Malayalam","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["malayalam"]},{"family":"Noto Serif Myanmar","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["myanmar"]},{"family":"Noto Serif Nyiakeng Puachue Hmong","variants":["regular","500","600","700"],"subsets":["nyiakeng-puachue-hmong"]},{"family":"Noto Serif SC","variants":["200","300","regular","500","600","700","900"],"subsets":["chinese-simplified","latin"]},{"family":"Noto Serif Sinhala","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["sinhala"]},{"family":"Noto Serif TC","variants":["200","300","regular","500","600","700","900"],"subsets":["chinese-traditional","latin"]},{"family":"Noto Serif Tamil","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["tamil"]},{"family":"Noto Serif Tangut","variants":["regular"],"subsets":["tangut"]},{"family":"Noto Serif Telugu","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["telugu"]},{"family":"Noto Serif Thai","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["thai"]},{"family":"Noto Serif Tibetan","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["tibetan"]},{"family":"Noto Serif Yezidi","variants":["regular","500","600","700"],"subsets":["yezidi"]},{"family":"Noto Traditional Nushu","variants":["regular"],"subsets":["nushu"]},{"family":"Nova Cut","variants":["regular"],"subsets":["latin"]},{"family":"Nova Flat","variants":["regular"],"subsets":["latin"]},{"family":"Nova Mono","variants":["regular"],"subsets":["greek","latin"]},{"family":"Nova Oval","variants":["regular"],"subsets":["latin"]},{"family":"Nova Round","variants":["regular"],"subsets":["latin"]},{"family":"Nova Script","variants":["regular"],"subsets":["latin"]},{"family":"Nova Slim","variants":["regular"],"subsets":["latin"]},{"family":"Nova Square","variants":["regular"],"subsets":["latin"]},{"family":"Numans","variants":["regular"],"subsets":["latin"]},{"family":"Nunito","variants":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Nunito Sans","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Odibee Sans","variants":["regular"],"subsets":["latin"]},{"family":"Odor Mean Chey","variants":["regular"],"subsets":["khmer","latin"]},{"family":"Offside","variants":["regular"],"subsets":["latin"]},{"family":"Oi","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","tamil","vietnamese"]},{"family":"Old Standard TT","variants":["regular","italic","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Oldenburg","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Oleo Script","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Oleo Script Swash Caps","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Open Sans","variants":["300","regular","500","600","700","800","300italic","italic","500italic","600italic","700italic","800italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","latin","latin-ext","vietnamese"]},{"family":"Open Sans Condensed","variants":["300","300italic","700"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Oranienbaum","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Orbitron","variants":["regular","500","600","700","800","900"],"subsets":["latin"]},{"family":"Oregano","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Orelega One","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Orienta","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Original Surfer","variants":["regular"],"subsets":["latin"]},{"family":"Oswald","variants":["200","300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Otomanopee One","variants":["regular"],"subsets":["japanese","latin","latin-ext"]},{"family":"Outfit","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin"]},{"family":"Over the Rainbow","variants":["regular"],"subsets":["latin"]},{"family":"Overlock","variants":["regular","italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Overlock SC","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Overpass","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Overpass Mono","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Ovo","variants":["regular"],"subsets":["latin"]},{"family":"Oxanium","variants":["200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext"]},{"family":"Oxygen","variants":["300","regular","700"],"subsets":["latin","latin-ext"]},{"family":"Oxygen Mono","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"PT Mono","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"PT Sans","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"PT Sans Caption","variants":["regular","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"PT Sans Narrow","variants":["regular","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"PT Serif","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"PT Serif Caption","variants":["regular","italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Pacifico","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Padauk","variants":["regular","700"],"subsets":["latin","myanmar"]},{"family":"Palanquin","variants":["100","200","300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Palanquin Dark","variants":["regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Palette Mosaic","variants":["regular"],"subsets":["japanese","latin"]},{"family":"Pangolin","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Paprika","variants":["regular"],"subsets":["latin"]},{"family":"Parisienne","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Passero One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Passion One","variants":["regular","700","900"],"subsets":["latin","latin-ext"]},{"family":"Passions Conflict","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Pathway Gothic One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Patrick Hand","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Patrick Hand SC","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Pattaya","variants":["regular"],"subsets":["cyrillic","latin","latin-ext","thai","vietnamese"]},{"family":"Patua One","variants":["regular"],"subsets":["latin"]},{"family":"Pavanam","variants":["regular"],"subsets":["latin","latin-ext","tamil"]},{"family":"Paytone One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Peddana","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Peralta","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Permanent Marker","variants":["regular"],"subsets":["latin"]},{"family":"Petemoss","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Petit Formal Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Petrona","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Philosopher","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","vietnamese"]},{"family":"Piazzolla","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Piedra","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Pinyon Script","variants":["regular"],"subsets":["latin"]},{"family":"Pirata One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Plaster","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Play","variants":["regular","700"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Playball","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Playfair Display","variants":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Playfair Display SC","variants":["regular","italic","700","700italic","900","900italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Podkova","variants":["regular","500","600","700","800"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Poiret One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Poller One","variants":["regular"],"subsets":["latin"]},{"family":"Poly","variants":["regular","italic"],"subsets":["latin"]},{"family":"Pompiere","variants":["regular"],"subsets":["latin"]},{"family":"Pontano Sans","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Poor Story","variants":["regular"],"subsets":["korean","latin"]},{"family":"Poppins","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Port Lligat Sans","variants":["regular"],"subsets":["latin"]},{"family":"Port Lligat Slab","variants":["regular"],"subsets":["latin"]},{"family":"Potta One","variants":["regular"],"subsets":["japanese","latin","latin-ext","vietnamese"]},{"family":"Pragati Narrow","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Praise","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Prata","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","vietnamese"]},{"family":"Preahvihear","variants":["regular"],"subsets":["khmer","latin"]},{"family":"Press Start 2P","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext"]},{"family":"Pridi","variants":["200","300","regular","500","600","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Princess Sofia","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Prociono","variants":["regular"],"subsets":["latin"]},{"family":"Prompt","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Prosto One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Proza Libre","variants":["regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["latin","latin-ext"]},{"family":"Public Sans","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext"]},{"family":"Puppies Play","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Puritan","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Purple Purse","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Qahiri","variants":["regular"],"subsets":["arabic","latin"]},{"family":"Quando","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Quantico","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Quattrocento","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Quattrocento Sans","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Questrial","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Quicksand","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Quintessential","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Qwigley","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Racing Sans One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Radley","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Rajdhani","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Rakkas","variants":["regular"],"subsets":["arabic","latin","latin-ext"]},{"family":"Raleway","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Raleway Dots","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ramabhadra","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Ramaraja","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Rambla","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Rammetto One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Rampart One","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Ranchers","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Rancho","variants":["regular"],"subsets":["latin"]},{"family":"Ranga","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Rasa","variants":["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],"subsets":["gujarati","latin","latin-ext","vietnamese"]},{"family":"Rationale","variants":["regular"],"subsets":["latin"]},{"family":"Ravi Prakash","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Readex Pro","variants":["200","300","regular","500","600","700"],"subsets":["arabic","latin","latin-ext","vietnamese"]},{"family":"Recursive","variants":["300","regular","500","600","700","800","900"],"subsets":["cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Red Hat Display","variants":["300","regular","500","600","700","800","900","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext"]},{"family":"Red Hat Mono","variants":["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext"]},{"family":"Red Hat Text","variants":["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext"]},{"family":"Red Rose","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Redacted","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Redacted Script","variants":["300","regular","700"],"subsets":["latin","latin-ext"]},{"family":"Redressed","variants":["regular"],"subsets":["latin"]},{"family":"Reem Kufi","variants":["regular","500","600","700"],"subsets":["arabic","latin"]},{"family":"Reenie Beanie","variants":["regular"],"subsets":["latin"]},{"family":"Reggae One","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Revalia","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Rhodium Libre","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Ribeye","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ribeye Marrow","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Righteous","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Risque","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Road Rage","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Roboto","variants":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Roboto Condensed","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Roboto Mono","variants":["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Roboto Slab","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Rochester","variants":["regular"],"subsets":["latin"]},{"family":"Rock Salt","variants":["regular"],"subsets":["latin"]},{"family":"RocknRoll One","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Rokkitt","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Romanesco","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ropa Sans","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Rosario","variants":["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Rosarivo","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Rouge Script","variants":["regular"],"subsets":["latin"]},{"family":"Rowdies","variants":["300","regular","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Rozha One","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Rubik","variants":["300","regular","500","600","700","800","900","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"]},{"family":"Rubik Beastly","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"]},{"family":"Rubik Mono One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Ruda","variants":["regular","500","600","700","800","900"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Rufina","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Ruge Boogie","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Ruluko","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Rum Raisin","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ruslan Display","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Russo One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Ruthie","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Rye","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"STIX Two Text","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Sacramento","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sahitya","variants":["regular","700"],"subsets":["devanagari","latin"]},{"family":"Sail","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Saira","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Saira Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Saira Extra Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Saira Semi Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Saira Stencil One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Salsa","variants":["regular"],"subsets":["latin"]},{"family":"Sanchez","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Sancreek","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sansita","variants":["regular","italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Sansita Swashed","variants":["300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Sarabun","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Sarala","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Sarina","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sarpanch","variants":["regular","500","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Sassy Frass","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Satisfy","variants":["regular"],"subsets":["latin"]},{"family":"Sawarabi Gothic","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext","vietnamese"]},{"family":"Sawarabi Mincho","variants":["regular"],"subsets":["japanese","latin","latin-ext"]},{"family":"Scada","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Scheherazade New","variants":["regular","700"],"subsets":["arabic","latin","latin-ext"]},{"family":"Schoolbell","variants":["regular"],"subsets":["latin"]},{"family":"Scope One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Seaweed Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Secular One","variants":["regular"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Sedgwick Ave","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Sedgwick Ave Display","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Sen","variants":["regular","700","800"],"subsets":["latin","latin-ext"]},{"family":"Sevillana","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Seymour One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Shadows Into Light","variants":["regular"],"subsets":["latin"]},{"family":"Shadows Into Light Two","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Shalimar","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Shanti","variants":["regular"],"subsets":["latin"]},{"family":"Share","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Share Tech","variants":["regular"],"subsets":["latin"]},{"family":"Share Tech Mono","variants":["regular"],"subsets":["latin"]},{"family":"Shippori Antique","variants":["regular"],"subsets":["japanese","latin","latin-ext"]},{"family":"Shippori Antique B1","variants":["regular"],"subsets":["japanese","latin","latin-ext"]},{"family":"Shippori Mincho","variants":["regular","500","600","700","800"],"subsets":["japanese","latin","latin-ext"]},{"family":"Shippori Mincho B1","variants":["regular","500","600","700","800"],"subsets":["japanese","latin","latin-ext"]},{"family":"Shojumaru","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Short Stack","variants":["regular"],"subsets":["latin"]},{"family":"Shrikhand","variants":["regular"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Siemreap","variants":["regular"],"subsets":["khmer"]},{"family":"Sigmar One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Signika","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Signika Negative","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Simonetta","variants":["regular","italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Single Day","variants":["regular"],"subsets":["korean"]},{"family":"Sintony","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Sirin Stencil","variants":["regular"],"subsets":["latin"]},{"family":"Six Caps","variants":["regular"],"subsets":["latin"]},{"family":"Skranji","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Slabo 13px","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Slabo 27px","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Slackey","variants":["regular"],"subsets":["latin"]},{"family":"Smokum","variants":["regular"],"subsets":["latin"]},{"family":"Smooch","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Smythe","variants":["regular"],"subsets":["latin"]},{"family":"Sniglet","variants":["regular","800"],"subsets":["latin","latin-ext"]},{"family":"Snippet","variants":["regular"],"subsets":["latin"]},{"family":"Snowburst One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sofadi One","variants":["regular"],"subsets":["latin"]},{"family":"Sofia","variants":["regular"],"subsets":["latin"]},{"family":"Solway","variants":["300","regular","500","700","800"],"subsets":["latin"]},{"family":"Song Myung","variants":["regular"],"subsets":["korean","latin"]},{"family":"Sonsie One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sora","variants":["100","200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext"]},{"family":"Sorts Mill Goudy","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Source Code Pro","variants":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Source Sans 3","variants":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Source Sans Pro","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Source Serif Pro","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Space Grotesk","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Space Mono","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Spartan","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext"]},{"family":"Special Elite","variants":["regular"],"subsets":["latin"]},{"family":"Spectral","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Spectral SC","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Spicy Rice","variants":["regular"],"subsets":["latin"]},{"family":"Spinnaker","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Spirax","variants":["regular"],"subsets":["latin"]},{"family":"Squada One","variants":["regular"],"subsets":["latin"]},{"family":"Sree Krushnadevaraya","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Sriracha","variants":["regular"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Srisakdi","variants":["regular","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Staatliches","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Stalemate","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Stalinist One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Stardos Stencil","variants":["regular","700"],"subsets":["latin"]},{"family":"Stick","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Stick No Bills","variants":["200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext","sinhala"]},{"family":"Stint Ultra Condensed","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Stint Ultra Expanded","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Stoke","variants":["300","regular"],"subsets":["latin","latin-ext"]},{"family":"Strait","variants":["regular"],"subsets":["latin"]},{"family":"Style Script","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Stylish","variants":["regular"],"subsets":["korean","latin"]},{"family":"Sue Ellen Francisco","variants":["regular"],"subsets":["latin"]},{"family":"Suez One","variants":["regular"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Sulphur Point","variants":["300","regular","700"],"subsets":["latin","latin-ext"]},{"family":"Sumana","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Sunflower","variants":["300","500","700"],"subsets":["korean","latin"]},{"family":"Sunshiney","variants":["regular"],"subsets":["latin"]},{"family":"Supermercado One","variants":["regular"],"subsets":["latin"]},{"family":"Sura","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Suranna","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Suravaram","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Suwannaphum","variants":["100","300","regular","700","900"],"subsets":["khmer","latin"]},{"family":"Swanky and Moo Moo","variants":["regular"],"subsets":["latin"]},{"family":"Syncopate","variants":["regular","700"],"subsets":["latin"]},{"family":"Syne","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext"]},{"family":"Syne Mono","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Syne Tactile","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Tajawal","variants":["200","300","regular","500","700","800","900"],"subsets":["arabic","latin"]},{"family":"Tangerine","variants":["regular","700"],"subsets":["latin"]},{"family":"Taprom","variants":["regular"],"subsets":["khmer","latin"]},{"family":"Tauri","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Taviraj","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Teko","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Telex","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Tenali Ramakrishna","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Tenor Sans","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Text Me One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Texturina","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Thasadith","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"The Girl Next Door","variants":["regular"],"subsets":["latin"]},{"family":"Tienne","variants":["regular","700","900"],"subsets":["latin"]},{"family":"Tillana","variants":["regular","500","600","700","800"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Timmana","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Tinos","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","latin","latin-ext","vietnamese"]},{"family":"Titan One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Titillium Web","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900"],"subsets":["latin","latin-ext"]},{"family":"Tomorrow","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Tourney","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Trade Winds","variants":["regular"],"subsets":["latin"]},{"family":"Train One","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Trirong","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Trispace","variants":["100","200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Trocchi","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Trochut","variants":["regular","italic","700"],"subsets":["latin"]},{"family":"Truculenta","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Trykker","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Tulpen One","variants":["regular"],"subsets":["latin"]},{"family":"Turret Road","variants":["200","300","regular","500","700","800"],"subsets":["latin","latin-ext"]},{"family":"Ubuntu","variants":["300","300italic","regular","italic","500","500italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Ubuntu Condensed","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Ubuntu Mono","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Uchen","variants":["regular"],"subsets":["latin","tibetan"]},{"family":"Ultra","variants":["regular"],"subsets":["latin"]},{"family":"Uncial Antiqua","variants":["regular"],"subsets":["latin"]},{"family":"Underdog","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Unica One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"UnifrakturCook","variants":["700"],"subsets":["latin"]},{"family":"UnifrakturMaguntia","variants":["regular"],"subsets":["latin"]},{"family":"Unkempt","variants":["regular","700"],"subsets":["latin"]},{"family":"Unlock","variants":["regular"],"subsets":["latin"]},{"family":"Unna","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Urbanist","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext"]},{"family":"VT323","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Vampiro One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Varela","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Varela Round","variants":["regular"],"subsets":["hebrew","latin","latin-ext","vietnamese"]},{"family":"Varta","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Vast Shadow","variants":["regular"],"subsets":["latin"]},{"family":"Vesper Libre","variants":["regular","500","700","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Viaoda Libre","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Vibes","variants":["regular"],"subsets":["arabic","latin"]},{"family":"Vibur","variants":["regular"],"subsets":["latin"]},{"family":"Vidaloka","variants":["regular"],"subsets":["latin"]},{"family":"Viga","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Voces","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Volkhov","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Vollkorn","variants":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Vollkorn SC","variants":["regular","600","700","900"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Voltaire","variants":["regular"],"subsets":["latin"]},{"family":"Waiting for the Sunrise","variants":["regular"],"subsets":["latin"]},{"family":"Wallpoet","variants":["regular"],"subsets":["latin"]},{"family":"Walter Turncoat","variants":["regular"],"subsets":["latin"]},{"family":"Warnes","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Wellfleet","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Wendy One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"WindSong","variants":["regular","500"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Wire One","variants":["regular"],"subsets":["latin"]},{"family":"Work Sans","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Xanh Mono","variants":["regular","italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Yaldevi","variants":["200","300","regular","500","600","700"],"subsets":["latin","latin-ext","sinhala"]},{"family":"Yanone Kaffeesatz","variants":["200","300","regular","500","600","700"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Yantramanav","variants":["100","300","regular","500","700","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Yatra One","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Yellowtail","variants":["regular"],"subsets":["latin"]},{"family":"Yeon Sung","variants":["regular"],"subsets":["korean","latin"]},{"family":"Yeseva One","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Yesteryear","variants":["regular"],"subsets":["latin"]},{"family":"Yomogi","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext","vietnamese"]},{"family":"Yrsa","variants":["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Yuji Boku","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Yuji Mai","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Yuji Syuku","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Yusei Magic","variants":["regular"],"subsets":["japanese","latin","latin-ext"]},{"family":"ZCOOL KuaiLe","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"ZCOOL QingKe HuangYou","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"ZCOOL XiaoWei","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Zen Antique","variants":["regular"],"subsets":["cyrillic","greek","japanese","latin","latin-ext"]},{"family":"Zen Antique Soft","variants":["regular"],"subsets":["cyrillic","greek","japanese","latin","latin-ext"]},{"family":"Zen Dots","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Zen Kaku Gothic Antique","variants":["300","regular","500","700","900"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Zen Kaku Gothic New","variants":["300","regular","500","700","900"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Zen Kurenaido","variants":["regular"],"subsets":["cyrillic","greek","japanese","latin","latin-ext"]},{"family":"Zen Loop","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Zen Maru Gothic","variants":["300","regular","500","700","900"],"subsets":["cyrillic","greek","japanese","latin","latin-ext"]},{"family":"Zen Old Mincho","variants":["regular","700","900"],"subsets":["cyrillic","greek","japanese","latin","latin-ext"]},{"family":"Zen Tokyo Zoo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Zeyada","variants":["regular"],"subsets":["latin"]},{"family":"Zhi Mang Xing","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Zilla Slab","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Zilla Slab Highlight","variants":["regular","700"],"subsets":["latin","latin-ext"]}]').map((e=>({label:e.family,value:e.family}))),ta=e=>{const t=(0,i.useMemo)((()=>(0,M.applyFilters)("stackable.font-family-control.options",[{id:"system-fonts",title:(0,h.__)("System Fonts",o.i18n),options:[{label:(0,h.__)("Sans-Serif",o.i18n),value:"Sans-Serif"},{label:(0,h.__)("Serif",o.i18n),value:"Serif"},{label:(0,h.__)("Serif Alternative",o.i18n),value:"Serif-Alt"},{label:(0,h.__)("Monospace",o.i18n),value:"Monospace"}]},{id:"google-fonts",title:(0,h.__)("Google Fonts",o.i18n),options:ea}])),[]);return(0,i.createElement)(Vt,n({options:t,highlightValueOnFocus:!0},e,{onChange:t=>{ea.some((e=>e.value===t&&(I(t),!0))),e.onChange(t)}}))};ta.defaultProps={onChange:()=>{},label:(0,h.__)("Font Family",o.i18n),value:""};const aa=ta;function na(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a<t;a++)n[a]=e[a];return n}function ia(e,t){if(e){if("string"==typeof e)return na(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?na(e,t):void 0}}function la(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,i,l=[],r=!0,s=!1;try{for(a=a.call(e);!(r=(n=a.next()).done)&&(l.push(n.value),!t||l.length!==t);r=!0);}catch(e){s=!0,i=e}finally{try{r||null==a.return||a.return()}finally{if(s)throw i}}return l}}(e,t)||ia(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ra(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function sa(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(a).filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable}))),n.forEach((function(t){ra(e,t,a[t])}))}return e}function oa(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ua(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ca(e,t,a){return t&&ua(e.prototype,t),a&&ua(e,a),e}function ga(e){return ga="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ga(e)}function ma(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function da(e,t){if(t&&("object"===ga(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return ma(e)}function ha(e){return ha=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ha(e)}function pa(e,t){return pa=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},pa(e,t)}function va(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pa(e,t)}var ba=a(1143),fa=a.n(ba);function ya(e){return function(e){if(Array.isArray(e))return na(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ia(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var ka=a(5697),_a=a.n(ka),wa=function(){function e(){oa(this,e),ra(this,"refs",{})}return ca(e,[{key:"add",value:function(e,t){this.refs[e]||(this.refs[e]=[]),this.refs[e].push(t)}},{key:"remove",value:function(e,t){var a=this.getIndex(e,t);-1!==a&&this.refs[e].splice(a,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var e=this;return this.refs[this.active.collection].find((function(t){return t.node.sortableInfo.index==e.active.index}))}},{key:"getIndex",value:function(e,t){return this.refs[e].indexOf(t)}},{key:"getOrderedRefs",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.active.collection;return this.refs[e].sort(xa)}}]),e}();function xa(e,t){return e.node.sortableInfo.index-t.node.sortableInfo.index}function Ca(e,t){return Object.keys(e).reduce((function(a,n){return-1===t.indexOf(n)&&(a[n]=e[n]),a}),{})}var Sa={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},Ea=function(){if("undefined"==typeof window||"undefined"==typeof document)return"";var e=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],t=(Array.prototype.slice.call(e).join("").match(/-(moz|webkit|ms)-/)||""===e.OLink&&["","o"])[1];return"ms"===t?"ms":t&&t.length?t[0].toUpperCase()+t.substr(1):""}();function Ma(e,t){Object.keys(t).forEach((function(a){e.style[a]=t[a]}))}function Ta(e,t){e.style["".concat(Ea,"Transform")]=null==t?"":"translate3d(".concat(t.x,"px,").concat(t.y,"px,0)")}function Na(e,t){e.style["".concat(Ea,"TransitionDuration")]=null==t?"":"".concat(t,"ms")}function Ba(e,t){for(;e;){if(t(e))return e;e=e.parentNode}return null}function Ia(e,t,a){return Math.max(e,Math.min(a,t))}function Oa(e){return"px"===e.substr(-2)?parseFloat(e):0}function Pa(e){var t=window.getComputedStyle(e);return{bottom:Oa(t.marginBottom),left:Oa(t.marginLeft),right:Oa(t.marginRight),top:Oa(t.marginTop)}}function Ra(e,t){var a=t.displayName||t.name;return a?"".concat(e,"(").concat(a,")"):e}function La(e,t){var a=e.getBoundingClientRect();return{top:a.top+t.top,left:a.left+t.left}}function za(e){return e.touches&&e.touches.length?{x:e.touches[0].pageX,y:e.touches[0].pageY}:e.changedTouches&&e.changedTouches.length?{x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY}:{x:e.pageX,y:e.pageY}}function Aa(e){return e.touches&&e.touches.length||e.changedTouches&&e.changedTouches.length}function Da(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{left:0,top:0};if(e){var n={left:a.left+e.offsetLeft,top:a.top+e.offsetTop};return e.parentNode===t?n:Da(e.parentNode,t,n)}}function Fa(e,t,a){return e<a&&e>t?e-1:e>a&&e<t?e+1:e}function Ha(e){var t=e.lockOffset,a=e.width,n=e.height,i=t,l=t,r="px";if("string"==typeof t){var s=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(t);fa()(null!==s,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',t),i=parseFloat(t),l=parseFloat(t),r=s[1]}return fa()(isFinite(i)&&isFinite(l),"lockOffset value should be a finite. Given %s",t),"%"===r&&(i=i*a/100,l=l*n/100),{x:i,y:l}}function ja(e){var t=e.height,a=e.width,n=e.lockOffset,i=Array.isArray(n)?n:[n,n];fa()(2===i.length,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",n);var l=la(i,2),r=l[0],s=l[1];return[Ha({height:t,lockOffset:r,width:a}),Ha({height:t,lockOffset:s,width:a})]}function Ua(e){return e instanceof HTMLElement?function(e){var t=window.getComputedStyle(e),a=/(auto|scroll)/;return["overflow","overflowX","overflowY"].find((function(e){return a.test(t[e])}))}(e)?e:Ua(e.parentNode):null}function Va(e){var t=window.getComputedStyle(e);return"grid"===t.display?{x:Oa(t.gridColumnGap),y:Oa(t.gridRowGap)}:{x:0,y:0}}var Ga="BUTTON",$a="INPUT",qa="OPTION",Wa="TEXTAREA",Ka="SELECT";function Ja(e){var t="input, textarea, select, canvas, [contenteditable]",a=e.querySelectorAll(t),n=e.cloneNode(!0);return ya(n.querySelectorAll(t)).forEach((function(e,t){"file"!==e.type&&(e.value=a[t].value),"radio"===e.type&&e.name&&(e.name="__sortableClone__".concat(e.name)),"CANVAS"===e.tagName&&a[t].width>0&&a[t].height>0&&e.getContext("2d").drawImage(a[t],0,0)})),n}function Ya(e){return null!=e.sortableHandle}var Xa=function(){function e(t,a){oa(this,e),this.container=t,this.onScrollCallback=a}return ca(e,[{key:"clear",value:function(){null!=this.interval&&(clearInterval(this.interval),this.interval=null)}},{key:"update",value:function(e){var t=this,a=e.translate,n=e.minTranslate,i=e.maxTranslate,l=e.width,r=e.height,s={x:0,y:0},o={x:1,y:1},u=this.container,c=u.scrollTop,g=u.scrollLeft,m=u.scrollHeight,d=u.scrollWidth,h=0===c,p=m-c-u.clientHeight==0,v=0===g,b=d-g-u.clientWidth==0;a.y>=i.y-r/2&&!p?(s.y=1,o.y=10*Math.abs((i.y-r/2-a.y)/r)):a.x>=i.x-l/2&&!b?(s.x=1,o.x=10*Math.abs((i.x-l/2-a.x)/l)):a.y<=n.y+r/2&&!h?(s.y=-1,o.y=10*Math.abs((a.y-r/2-n.y)/r)):a.x<=n.x+l/2&&!v&&(s.x=-1,o.x=10*Math.abs((a.x-l/2-n.x)/l)),this.interval&&(this.clear(),this.isAutoScrolling=!1),0===s.x&&0===s.y||(this.interval=setInterval((function(){t.isAutoScrolling=!0;var e={left:o.x*s.x,top:o.y*s.y};t.container.scrollTop+=e.top,t.container.scrollLeft+=e.left,t.onScrollCallback(e)}),5))}}]),e}(),Za={axis:_a().oneOf(["x","y","xy"]),contentWindow:_a().any,disableAutoscroll:_a().bool,distance:_a().number,getContainer:_a().func,getHelperDimensions:_a().func,helperClass:_a().string,helperContainer:_a().oneOfType([_a().func,"undefined"==typeof HTMLElement?_a().any:_a().instanceOf(HTMLElement)]),hideSortableGhost:_a().bool,keyboardSortingTransitionDuration:_a().number,lockAxis:_a().string,lockOffset:_a().oneOfType([_a().number,_a().string,_a().arrayOf(_a().oneOfType([_a().number,_a().string]))]),lockToContainerEdges:_a().bool,onSortEnd:_a().func,onSortMove:_a().func,onSortOver:_a().func,onSortStart:_a().func,pressDelay:_a().number,pressThreshold:_a().number,keyCodes:_a().shape({lift:_a().arrayOf(_a().number),drop:_a().arrayOf(_a().number),cancel:_a().arrayOf(_a().number),up:_a().arrayOf(_a().number),down:_a().arrayOf(_a().number)}),shouldCancelStart:_a().func,transitionDuration:_a().number,updateBeforeSortStart:_a().func,useDragHandle:_a().bool,useWindowAsScrollContainer:_a().bool},Qa={lift:[32],drop:[32],cancel:[27],up:[38,37],down:[40,39]},en={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:function(e){var t=e.node;return{height:t.offsetHeight,width:t.offsetWidth}},hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:Qa,shouldCancelStart:function(e){return-1!==[$a,Wa,Ka,qa,Ga].indexOf(e.target.tagName)||!!Ba(e.target,(function(e){return"true"===e.contentEditable}))},transitionDuration:300,useWindowAsScrollContainer:!1},tn=Object.keys(Za);function an(e){fa()(!(e.distance&&e.pressDelay),"Attempted to set both `pressDelay` and `distance` on SortableContainer, you may only use one or the other, not both at the same time.")}function nn(e,t){try{var a=e()}catch(e){return t(!0,e)}return a&&a.then?a.then(t.bind(null,!1),t.bind(null,!0)):t(!1,value)}var ln=(0,u.createContext)({manager:{}}),rn={index:_a().number.isRequired,collection:_a().oneOfType([_a().number,_a().string]),disabled:_a().bool},sn=Object.keys(rn);const on=function(e){var t,a,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return a=t=function(t){function a(e){var t;oa(this,a),ra(ma(ma(t=da(this,ha(a).call(this,e)))),"state",{}),ra(ma(ma(t)),"handleStart",(function(e){var a=t.props,n=a.distance,i=a.shouldCancelStart;if(2!==e.button&&!i(e)){t.touched=!0,t.position=za(e);var l=Ba(e.target,(function(e){return null!=e.sortableInfo}));if(l&&l.sortableInfo&&t.nodeIsChild(l)&&!t.state.sorting){var r=t.props.useDragHandle,s=l.sortableInfo,o=s.index,u=s.collection;if(s.disabled)return;if(r&&!Ba(e.target,Ya))return;t.manager.active={collection:u,index:o},Aa(e)||"A"!==e.target.tagName||e.preventDefault(),n||(0===t.props.pressDelay?t.handlePress(e):t.pressTimer=setTimeout((function(){return t.handlePress(e)}),t.props.pressDelay))}}})),ra(ma(ma(t)),"nodeIsChild",(function(e){return e.sortableInfo.manager===t.manager})),ra(ma(ma(t)),"handleMove",(function(e){var a=t.props,n=a.distance,i=a.pressThreshold;if(!t.state.sorting&&t.touched&&!t._awaitingUpdateBeforeSortStart){var l=za(e),r={x:t.position.x-l.x,y:t.position.y-l.y},s=Math.abs(r.x)+Math.abs(r.y);t.delta=r,n||i&&!(s>=i)?n&&s>=n&&t.manager.isActive()&&t.handlePress(e):(clearTimeout(t.cancelTimer),t.cancelTimer=setTimeout(t.cancel,0))}})),ra(ma(ma(t)),"handleEnd",(function(){t.touched=!1,t.cancel()})),ra(ma(ma(t)),"cancel",(function(){var e=t.props.distance;t.state.sorting||(e||clearTimeout(t.pressTimer),t.manager.active=null)})),ra(ma(ma(t)),"handlePress",(function(e){try{var a=t.manager.getActive(),n=function(){if(a){var n=function(){var a=m.sortableInfo.index,n=Pa(m),i=Va(t.container),u=t.scrollContainer.getBoundingClientRect(),p=r({index:a,node:m,collection:d});if(t.node=m,t.margin=n,t.gridGap=i,t.width=p.width,t.height=p.height,t.marginOffset={x:t.margin.left+t.margin.right+t.gridGap.x,y:Math.max(t.margin.top,t.margin.bottom,t.gridGap.y)},t.boundingClientRect=m.getBoundingClientRect(),t.containerBoundingRect=u,t.index=a,t.newIndex=a,t.axis={x:l.indexOf("x")>=0,y:l.indexOf("y")>=0},t.offsetEdge=Da(m,t.container),t.initialOffset=za(h?sa({},e,{pageX:t.boundingClientRect.left,pageY:t.boundingClientRect.top}):e),t.initialScroll={left:t.scrollContainer.scrollLeft,top:t.scrollContainer.scrollTop},t.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},t.helper=t.helperContainer.appendChild(Ja(m)),Ma(t.helper,{boxSizing:"border-box",height:"".concat(t.height,"px"),left:"".concat(t.boundingClientRect.left-n.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(t.boundingClientRect.top-n.top,"px"),width:"".concat(t.width,"px")}),h&&t.helper.focus(),o&&(t.sortableGhost=m,Ma(m,{opacity:0,visibility:"hidden"})),t.minTranslate={},t.maxTranslate={},h){var v=g?{top:0,left:0,width:t.contentWindow.innerWidth,height:t.contentWindow.innerHeight}:t.containerBoundingRect,b=v.top,f=v.left,y=v.width,k=b+v.height,_=f+y;t.axis.x&&(t.minTranslate.x=f-t.boundingClientRect.left,t.maxTranslate.x=_-(t.boundingClientRect.left+t.width)),t.axis.y&&(t.minTranslate.y=b-t.boundingClientRect.top,t.maxTranslate.y=k-(t.boundingClientRect.top+t.height))}else t.axis.x&&(t.minTranslate.x=(g?0:u.left)-t.boundingClientRect.left-t.width/2,t.maxTranslate.x=(g?t.contentWindow.innerWidth:u.left+u.width)-t.boundingClientRect.left-t.width/2),t.axis.y&&(t.minTranslate.y=(g?0:u.top)-t.boundingClientRect.top-t.height/2,t.maxTranslate.y=(g?t.contentWindow.innerHeight:u.top+u.height)-t.boundingClientRect.top-t.height/2);s&&s.split(" ").forEach((function(e){return t.helper.classList.add(e)})),t.listenerNode=e.touches?e.target:t.contentWindow,h?(t.listenerNode.addEventListener("wheel",t.handleKeyEnd,!0),t.listenerNode.addEventListener("mousedown",t.handleKeyEnd,!0),t.listenerNode.addEventListener("keydown",t.handleKeyDown)):(Sa.move.forEach((function(e){return t.listenerNode.addEventListener(e,t.handleSortMove,!1)})),Sa.end.forEach((function(e){return t.listenerNode.addEventListener(e,t.handleSortEnd,!1)}))),t.setState({sorting:!0,sortingIndex:a}),c&&c({node:m,index:a,collection:d,isKeySorting:h,nodes:t.manager.getOrderedRefs(),helper:t.helper},e),h&&t.keyMove(0)},i=t.props,l=i.axis,r=i.getHelperDimensions,s=i.helperClass,o=i.hideSortableGhost,u=i.updateBeforeSortStart,c=i.onSortStart,g=i.useWindowAsScrollContainer,m=a.node,d=a.collection,h=t.manager.isKeySorting,p=function(){if("function"==typeof u){t._awaitingUpdateBeforeSortStart=!0;var a=nn((function(){var t=m.sortableInfo.index;return Promise.resolve(u({collection:d,index:t,node:m,isKeySorting:h},e)).then((function(){}))}),(function(e,a){if(t._awaitingUpdateBeforeSortStart=!1,e)throw a;return a}));if(a&&a.then)return a.then((function(){}))}}();return p&&p.then?p.then(n):n()}}();return Promise.resolve(n&&n.then?n.then((function(){})):void 0)}catch(e){return Promise.reject(e)}})),ra(ma(ma(t)),"handleSortMove",(function(e){var a=t.props.onSortMove;"function"==typeof e.preventDefault&&e.cancelable&&e.preventDefault(),t.updateHelperPosition(e),t.animateNodes(),t.autoscroll(),a&&a(e)})),ra(ma(ma(t)),"handleSortEnd",(function(e){var a=t.props,n=a.hideSortableGhost,i=a.onSortEnd,l=t.manager,r=l.active.collection,s=l.isKeySorting,o=t.manager.getOrderedRefs();t.listenerNode&&(s?(t.listenerNode.removeEventListener("wheel",t.handleKeyEnd,!0),t.listenerNode.removeEventListener("mousedown",t.handleKeyEnd,!0),t.listenerNode.removeEventListener("keydown",t.handleKeyDown)):(Sa.move.forEach((function(e){return t.listenerNode.removeEventListener(e,t.handleSortMove)})),Sa.end.forEach((function(e){return t.listenerNode.removeEventListener(e,t.handleSortEnd)})))),t.helper.parentNode.removeChild(t.helper),n&&t.sortableGhost&&Ma(t.sortableGhost,{opacity:"",visibility:""});for(var u=0,c=o.length;u<c;u++){var g=o[u],m=g.node;g.edgeOffset=null,g.boundingClientRect=null,Ta(m,null),Na(m,null),g.translate=null}t.autoScroller.clear(),t.manager.active=null,t.manager.isKeySorting=!1,t.setState({sorting:!1,sortingIndex:null}),"function"==typeof i&&i({collection:r,newIndex:t.newIndex,oldIndex:t.index,isKeySorting:s,nodes:o},e),t.touched=!1})),ra(ma(ma(t)),"autoscroll",(function(){var e=t.props.disableAutoscroll,a=t.manager.isKeySorting;if(e)t.autoScroller.clear();else{if(a){var n=sa({},t.translate),i=0,l=0;return t.axis.x&&(n.x=Math.min(t.maxTranslate.x,Math.max(t.minTranslate.x,t.translate.x)),i=t.translate.x-n.x),t.axis.y&&(n.y=Math.min(t.maxTranslate.y,Math.max(t.minTranslate.y,t.translate.y)),l=t.translate.y-n.y),t.translate=n,Ta(t.helper,t.translate),t.scrollContainer.scrollLeft+=i,void(t.scrollContainer.scrollTop+=l)}t.autoScroller.update({height:t.height,maxTranslate:t.maxTranslate,minTranslate:t.minTranslate,translate:t.translate,width:t.width})}})),ra(ma(ma(t)),"onAutoScroll",(function(e){t.translate.x+=e.left,t.translate.y+=e.top,t.animateNodes()})),ra(ma(ma(t)),"handleKeyDown",(function(e){var a=e.keyCode,n=t.props,i=n.shouldCancelStart,l=n.keyCodes,r=sa({},Qa,void 0===l?{}:l);t.manager.active&&!t.manager.isKeySorting||!(t.manager.active||r.lift.includes(a)&&!i(e)&&t.isValidSortingTarget(e))||(e.stopPropagation(),e.preventDefault(),r.lift.includes(a)&&!t.manager.active?t.keyLift(e):r.drop.includes(a)&&t.manager.active?t.keyDrop(e):r.cancel.includes(a)?(t.newIndex=t.manager.active.index,t.keyDrop(e)):r.up.includes(a)?t.keyMove(-1):r.down.includes(a)&&t.keyMove(1))})),ra(ma(ma(t)),"keyLift",(function(e){var a=e.target,n=Ba(a,(function(e){return null!=e.sortableInfo})).sortableInfo,i=n.index,l=n.collection;t.initialFocusedNode=a,t.manager.isKeySorting=!0,t.manager.active={index:i,collection:l},t.handlePress(e)})),ra(ma(ma(t)),"keyMove",(function(e){var a=t.manager.getOrderedRefs(),n=a[a.length-1].node.sortableInfo.index,i=t.newIndex+e,l=t.newIndex;if(!(i<0||i>n)){t.prevIndex=l,t.newIndex=i;var r=Fa(t.newIndex,t.prevIndex,t.index),s=a.find((function(e){return e.node.sortableInfo.index===r})),o=s.node,u=t.containerScrollDelta,c=s.boundingClientRect||La(o,u),g=s.translate||{x:0,y:0},m=c.top+g.y-u.top,d=c.left+g.x-u.left,h=l<i,p=h&&t.axis.x?o.offsetWidth-t.width:0,v=h&&t.axis.y?o.offsetHeight-t.height:0;t.handleSortMove({pageX:d+p,pageY:m+v,ignoreTransition:0===e})}})),ra(ma(ma(t)),"keyDrop",(function(e){t.handleSortEnd(e),t.initialFocusedNode&&t.initialFocusedNode.focus()})),ra(ma(ma(t)),"handleKeyEnd",(function(e){t.manager.active&&t.keyDrop(e)})),ra(ma(ma(t)),"isValidSortingTarget",(function(e){var a=t.props.useDragHandle,n=e.target,i=Ba(n,(function(e){return null!=e.sortableInfo}));return i&&i.sortableInfo&&!i.sortableInfo.disabled&&(a?Ya(n):n.sortableInfo)}));var n=new wa;return an(e),t.manager=n,t.wrappedInstance=(0,u.createRef)(),t.sortableContextValue={manager:n},t.events={end:t.handleEnd,move:t.handleMove,start:t.handleStart},t}return va(a,t),ca(a,[{key:"componentDidMount",value:function(){var e=this,t=this.props.useWindowAsScrollContainer,a=this.getContainer();Promise.resolve(a).then((function(a){e.container=a,e.document=e.container.ownerDocument||document;var n=e.props.contentWindow||e.document.defaultView||window;e.contentWindow="function"==typeof n?n():n,e.scrollContainer=t?e.document.scrollingElement||e.document.documentElement:Ua(e.container)||e.container,e.autoScroller=new Xa(e.scrollContainer,e.onAutoScroll),Object.keys(e.events).forEach((function(t){return Sa[t].forEach((function(a){return e.container.addEventListener(a,e.events[t],!1)}))})),e.container.addEventListener("keydown",e.handleKeyDown)}))}},{key:"componentWillUnmount",value:function(){var e=this;this.helper&&this.helper.parentNode&&this.helper.parentNode.removeChild(this.helper),this.container&&(Object.keys(this.events).forEach((function(t){return Sa[t].forEach((function(a){return e.container.removeEventListener(a,e.events[t])}))})),this.container.removeEventListener("keydown",this.handleKeyDown))}},{key:"updateHelperPosition",value:function(e){var t=this.props,a=t.lockAxis,n=t.lockOffset,i=t.lockToContainerEdges,l=t.transitionDuration,r=t.keyboardSortingTransitionDuration,s=void 0===r?l:r,o=this.manager.isKeySorting,u=e.ignoreTransition,c=za(e),g={x:c.x-this.initialOffset.x,y:c.y-this.initialOffset.y};if(g.y-=window.pageYOffset-this.initialWindowScroll.top,g.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=g,i){var m=la(ja({height:this.height,lockOffset:n,width:this.width}),2),d=m[0],h=m[1],p={x:this.width/2-d.x,y:this.height/2-d.y},v={x:this.width/2-h.x,y:this.height/2-h.y};g.x=Ia(this.minTranslate.x+p.x,this.maxTranslate.x-v.x,g.x),g.y=Ia(this.minTranslate.y+p.y,this.maxTranslate.y-v.y,g.y)}"x"===a?g.y=0:"y"===a&&(g.x=0),o&&s&&!u&&Na(this.helper,s),Ta(this.helper,g)}},{key:"animateNodes",value:function(){var e=this.props,t=e.transitionDuration,a=e.hideSortableGhost,n=e.onSortOver,i=this.containerScrollDelta,l=this.windowScrollDelta,r=this.manager.getOrderedRefs(),s=this.offsetEdge.left+this.translate.x+i.left,o=this.offsetEdge.top+this.translate.y+i.top,u=this.manager.isKeySorting,c=this.newIndex;this.newIndex=null;for(var g=0,m=r.length;g<m;g++){var d=r[g].node,h=d.sortableInfo.index,p=d.offsetWidth,v=d.offsetHeight,b={height:this.height>v?v/2:this.height/2,width:this.width>p?p/2:this.width/2},f=u&&h>this.index&&h<=c,y=u&&h<this.index&&h>=c,k={x:0,y:0},_=r[g].edgeOffset;_||(_=Da(d,this.container),r[g].edgeOffset=_,u&&(r[g].boundingClientRect=La(d,i)));var w=g<r.length-1&&r[g+1],x=g>0&&r[g-1];w&&!w.edgeOffset&&(w.edgeOffset=Da(w.node,this.container),u&&(w.boundingClientRect=La(w.node,i))),h!==this.index?(t&&Na(d,t),this.axis.x?this.axis.y?y||h<this.index&&(s+l.left-b.width<=_.left&&o+l.top<=_.top+b.height||o+l.top+b.height<=_.top)?(k.x=this.width+this.marginOffset.x,_.left+k.x>this.containerBoundingRect.width-b.width&&w&&(k.x=w.edgeOffset.left-_.left,k.y=w.edgeOffset.top-_.top),null===this.newIndex&&(this.newIndex=h)):(f||h>this.index&&(s+l.left+b.width>=_.left&&o+l.top+b.height>=_.top||o+l.top+b.height>=_.top+v))&&(k.x=-(this.width+this.marginOffset.x),_.left+k.x<this.containerBoundingRect.left+b.width&&x&&(k.x=x.edgeOffset.left-_.left,k.y=x.edgeOffset.top-_.top),this.newIndex=h):f||h>this.index&&s+l.left+b.width>=_.left?(k.x=-(this.width+this.marginOffset.x),this.newIndex=h):(y||h<this.index&&s+l.left<=_.left+b.width)&&(k.x=this.width+this.marginOffset.x,null==this.newIndex&&(this.newIndex=h)):this.axis.y&&(f||h>this.index&&o+l.top+b.height>=_.top?(k.y=-(this.height+this.marginOffset.y),this.newIndex=h):(y||h<this.index&&o+l.top<=_.top+b.height)&&(k.y=this.height+this.marginOffset.y,null==this.newIndex&&(this.newIndex=h))),Ta(d,k),r[g].translate=k):a&&(this.sortableGhost=d,Ma(d,{opacity:0,visibility:"hidden"}))}null==this.newIndex&&(this.newIndex=this.index),u&&(this.newIndex=c);var C=u?this.prevIndex:c;n&&this.newIndex!==C&&n({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:C,isKeySorting:u,nodes:r,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return fa()(l.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableContainer() call"),this.wrappedInstance.current}},{key:"getContainer",value:function(){var e=this.props.getContainer;return"function"!=typeof e?(0,i.findDOMNode)(this):e(l.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var t=l.withRef?this.wrappedInstance:null;return(0,u.createElement)(ln.Provider,{value:this.sortableContextValue},(0,u.createElement)(e,n({ref:t},Ca(this.props,tn))))}},{key:"helperContainer",get:function(){var e=this.props.helperContainer;return"function"==typeof e?e():this.props.helperContainer||this.document.body}},{key:"containerScrollDelta",get:function(){return this.props.useWindowAsScrollContainer?{left:0,top:0}:{left:this.scrollContainer.scrollLeft-this.initialScroll.left,top:this.scrollContainer.scrollTop-this.initialScroll.top}}},{key:"windowScrollDelta",get:function(){return{left:this.contentWindow.pageXOffset-this.initialWindowScroll.left,top:this.contentWindow.pageYOffset-this.initialWindowScroll.top}}}]),a}(u.Component),ra(t,"displayName",Ra("sortableList",e)),ra(t,"defaultProps",en),ra(t,"propTypes",Za),a}((e=>{let{children:t}=e;return(0,i.createElement)("div",{className:"ugb-sort-control__container"},t)})),un=function(e){var t,a,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return a=t=function(t){function a(){var e,t;oa(this,a);for(var n=arguments.length,i=new Array(n),l=0;l<n;l++)i[l]=arguments[l];return ra(ma(ma(t=da(this,(e=ha(a)).call.apply(e,[this].concat(i))))),"wrappedInstance",(0,u.createRef)()),t}return va(a,t),ca(a,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(e){this.node&&(e.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),e.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),e.collection!==this.props.collection&&(this.unregister(e.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var e=this.props,t=e.collection,a=e.disabled,n=e.index,l=(0,i.findDOMNode)(this);l.sortableInfo={collection:t,disabled:a,index:n,manager:this.context.manager},this.node=l,this.ref={node:l},this.context.manager.add(t,this.ref)}},{key:"unregister",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.collection;this.context.manager.remove(e,this.ref)}},{key:"getWrappedInstance",value:function(){return fa()(l.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call"),this.wrappedInstance.current}},{key:"render",value:function(){var t=l.withRef?this.wrappedInstance:null;return(0,u.createElement)(e,n({ref:t},Ca(this.props,sn)))}}]),a}(u.Component),ra(t,"displayName",Ra("sortableElement",e)),ra(t,"contextType",ln),ra(t,"propTypes",rn),ra(t,"defaultProps",{collection:0}),a}((e=>{let{value:t,key:a,index:l,...r}=e;return(0,i.createElement)("div",n({className:"ugb-sort-control__item"},r),t)}));let cn=!1;const gn=e=>{const t=e.values?e.values.splice(0,e.num):(0,p.range)(e.num).map((e=>e+1));for(;t.length<e.num;)t.push(t.length+1);return(0,i.createElement)(s.BaseControl,{help:e.help,className:m()(["ugb-sort-control",e.className,`ugb-sort-control--axis-${e.axis}`])},(0,i.createElement)(ki,n({label:e.label},(0,p.omit)(e,Object.keys(gn.defaultProps)),{afterButton:e.hasReset?(0,i.createElement)(f,{disabled:!e.values,onClick:()=>e.onChange("",{oldIndex:0,newIndex:0}),isSmall:!0,isSecondary:!0},(0,h.__)("Reset")):null})),(0,i.createElement)(on,{onSortStart:()=>cn=!0,onSortOver:t=>{let{newIndex:a}=t;e.onHover(a)},onSortEnd:a=>{let{oldIndex:n,newIndex:i}=a;cn=!1;const l=((e,t,a)=>(e.splice(t<a?a+1:a,0,e[t]),e.splice(t<a?t:t+1,1),e))(t,n,i);e.onChange(l,{oldIndex:n,newIndex:i})},axis:e.axis},t.map(((t,a)=>(0,i.createElement)(un,{key:a,index:a,value:t,onMouseEnter:()=>{cn||e.onHover(a)},onMouseLeave:()=>{cn||e.onHover(null)}})))))};function mn(e){this.value=e,this.subscribers=[],this.getValue=function(){return this.value},this.setValue=function(e){if(this.getValue()===e)return;this.value=e;const t=this;this.subscribers.forEach((function(e){e(t.value)}))},this.subscribe=function(e){this.subscribers.indexOf(e)>-1||this.subscribers.push(e)},this.unsubscribe=function(e){this.subscribers=this.subscribers.filter((function(t){return t!==e}))}}function dn(e,t){void 0===t&&(t=null);const[,a]=(0,i.useState)(),n=hn.getState(e,t),l=n.getValue();function r(){a({})}return(0,i.useEffect)((function(){return n.subscribe(r),function(){n.unsubscribe(r)}})),[l,function(e){n.setValue(e)}]}gn.defaultProps={className:"",help:"",label:(0,h.__)("Column Arrangement",o.i18n),num:2,axis:"x",values:null,onChange:()=>{},onHover:()=>{},hasReset:!1};const hn=new function(){this.value={},this.init=function(e){for(const t in e)this.setState(t,e[t])},this.getState=function(e,t){return void 0===this.value[e]&&this.setState(e,t),this.value[e]},this.setState=function(e,t){this.value[e]=new mn(t)}},pn=e=>{const{isSelected:t,name:a}=(0,d.useBlockEditContext)(),[n]=dn(`tabCache-${a}`,"style"),[l,r]=dn(`panelCache-${a}-${n}-${e.title}`,e.initialOpen),[u,c]=(0,i.useState)(l),[g,p]=(0,i.useState)(e.initialAdvanced),v=(0,i.useMemo)((()=>parseInt(1e6*Math.random(),10)),[]),b=e.hasToggle&&e.onChange,f=(0,i.useCallback)(((t,a)=>{if(!e.hasToggle||!e.toggleAttributeName||!e.toggleOnSetAttributes.length)return t;if(a.attributes[e.toggleAttributeName])return t;console.warn("[Stackable V3 deprecation warning] toggleOnSetAttributes and toggleAttributeName props of PanelAdvancedSettings are deprecated, use stackable/hooks/useDidAttributesChange instead");let n=!1;return e.toggleOnSetAttributes.some((e=>!(!Object.keys(t).includes(e)||""===t[e]||(n=!0,0)))),n?(e.onChange&&e.onChange(!0),{...t,[e.toggleAttributeName]:!0}):t}),[b,e.toggleAttributeName,e.toggleOnSetAttributes,e.onChange]);(0,i.useEffect)((()=>((0,M.addFilter)("stackable.setAttributes",`stackable/panel-advanced-settings-${v}`,f,9),()=>{(0,M.removeFilter)("stackable.setAttributes",`stackable/panel-advanced-settings-${v}`)})),[]);const y=(0,i.useCallback)((()=>{c(!u),r(!u)}),[u]),k=(0,i.useCallback)((()=>p(!g)),[g]),_=m()([e.className,"ugb-toggle-panel-body"],{"ugb-toggle-panel-body--advanced":g,[`ugb-panel--${e.id}`]:e.id}),w=(0,i.useMemo)((()=>(0,i.createElement)(i.Fragment,null,b&&(0,i.createElement)("span",{className:"editor-panel-toggle-settings__panel-title"},(0,i.createElement)(s.FormToggle,{className:"ugb-toggle-panel-form-toggle",checked:e.checked,onClick:t=>{t.stopPropagation(),t.preventDefault();const a=e.checked;a&&u||a||u||y(),e.onChange&&e.onChange(!a)},"aria-describedby":e.title}),e.title),!b&&e.title)),[y,b,e.checked,e.onChange,e.title]);return(t||!a)&&(0,i.createElement)(s.PanelBody,{className:_,initialOpen:l,onToggle:y,opened:u,title:w},e.children,g&&e.advancedChildren,e.advancedChildren&&(0,i.createElement)("button",{className:"ugb-panel-advanced-button",onClick:k},g?(0,h.__)("Simple",o.i18n):(0,h.__)("Advanced",o.i18n)))};pn.defaultProps={id:"",className:"",title:(0,h.__)("Settings",o.i18n),checked:!1,onChange:null,initialOpen:!1,hasToggle:!0,initialAdvanced:!1,advancedChildren:null,toggleOnSetAttributes:[],toggleAttributeName:""};const vn="v3";let bn=null,fn=[];const yn=async function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(!bn||e){const t=await ve()({path:"/stackable/v2/design_library"+(e?"/reset":""),method:"GET"});bn=await t,e&&((0,M.doAction)("stackable.design-library.reset-cache"),fn=[])}return bn[t||vn]},kn=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(!fn[e]){const a=await ve()({path:`/stackable/v2/design/${t||vn}/${e}`,method:"GET"});fn[e]=await a}return fn[e]},_n=async e=>{let{type:t="",block:a="",mood:n="",plan:i="",colors:l=[],categories:r=[],uikit:s="",search:o="",reset:u=!1,apiVersion:c=""}=e,g=Object.values(await yn(u,c));if(t&&(g=g.filter((e=>{let{type:a}=e;return a===t}))),a){const e=a.replace(/^\w+\//,"");g=g.filter((t=>{let{block:a}=t;return a.endsWith(`/${e}`)}))}return n&&(g=g.filter((e=>{let{mood:t}=e;return t===n}))),i&&(g=g.filter((e=>{let{plan:t}=e;return t===i}))),l&&l.length&&(g=g.filter((e=>{let{colors:t}=e;return t.some((e=>l.includes(e)))}))),r&&r.length&&(g=g.filter((e=>{let{categories:t}=e;return t.some((e=>r.includes(e)))}))),s&&(g=g.filter((e=>{let{uikit:t}=e;return t===s}))),o&&o.toLowerCase().replace(/\s+/," ").trim().split(" ").forEach((e=>{g=g.filter((t=>(0,M.applyFilters)("stackable.design-library.search-properties",["label","plan","tags","categories","colors"],c).some((a=>-1!==t[a].toString().toLowerCase().indexOf(e)))))})),g},wn=e=>{const{designId:t,image:a,label:n,onClick:l,plan:r,isPro:o,apiVersion:u}=e,[c,g]=(0,i.useState)(!1),[d,h]=(0,i.useState)(!1),p=m()(["ugb-design-library-item"],{"ugb--is-busy":c,[`ugb--is-${r}`]:!o&&"free"!==r});return(0,i.createElement)("div",{className:p,onMouseEnter:()=>h(!0),onMouseLeave:()=>h(!1)},c&&(0,i.createElement)("span",{className:"ugb-design-library-item__spinner","data-testid":"spinner"},(0,i.createElement)(s.Spinner,null)),!o&&"free"!==r&&(0,i.createElement)("span",{className:"ugb-design-library-item__premium","data-testid":"premium-tag"},r),(0,i.createElement)("button",{className:"ugb-design-library-item__image",onClick:()=>{(o||"free"===r)&&(g(!0),async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const a=(await yn(!1,t))[e];let n=await(0,M.applyFilters)("stackable.design-library.get-design",null,e,a,t);return!n&&a.template&&(n=await kn(e,t)),n}(t,u).then((e=>{g(!1),l(e)})))}},!o&&"free"!==r&&(0,i.createElement)(s.Dashicon,{icon:"lock"}),(0,i.createElement)("img",{src:a,alt:n,loading:"lazy"})),(0,i.createElement)("footer",null,(o||"free"===r)&&(0,i.createElement)("span",null,n),!o&&"free"!==r&&!d&&(0,i.createElement)("span",null,n),!o&&"free"!==r&&d&&(0,i.createElement)(ft,{buttonClassName:"ugb-design-library-item__premium-link",button:(0,i.createElement)(i.Fragment,null,e.premiumLabel)})))};wn.defaultProps={designId:"",image:"",label:"",onClick:()=>{},plan:"free",isPro:o.isPro,premiumLabel:(0,h.__)("Go Premium",o.i18n),apiVersion:""};const xn=wn,Cn=e=>{const{designs:t,isBusy:a,onSelect:n,apiVersion:l}=e,r=m()(["ugb-design-library-items"],{[`ugb-design-library-items--columns-${e.columns}`]:!a&&e.columns});return(0,i.createElement)("div",{className:r},(t||[]).map(((e,t)=>(0,i.createElement)(xn,{key:t,type:e.type,block:e.block,template:e.template,plan:e.plan,designId:e.id,image:e.image,label:e.label,apiVersion:l,onClick:e=>{n(e)}}))),a&&(0,i.createElement)("div",{className:"ugb-design-library-search__spinner","data-testid":"spinner"},(0,i.createElement)(s.Spinner,null)),!a&&!(t||[]).length&&(0,i.createElement)("p",{className:"components-base-control__help","data-testid":"nothing-found-note"},(0,h.__)("No designs found",o.i18n)))};Cn.defaultProps={designs:[],columns:1,onSelect:()=>{},isBusy:!1,apiVersion:""};const Sn=Cn;a(7385);const En=[{value:"block",title:(0,h.__)("Block",o.i18n),label:(0,h.__)("Block Tab",o.i18n),icon:"block-default"},{value:"style",title:(0,h.__)("Style",o.i18n),label:(0,h.__)("Style Tab",o.i18n),icon:"admin-appearance"},{value:"advanced",title:(0,h.__)("Advanced",o.i18n),label:(0,h.__)("Advanced Tab",o.i18n),icon:"admin-tools"}],Mn=["block","style","advanced"];class Tn extends i.Component{constructor(){super(...arguments),this.tabsToUse=this.props.tabs||Mn,this.state={activeTab:this.props.initialTab?this.props.initialTab:this.tabsToUse[0]},this.onButtonPanelClick=this.onButtonPanelClick.bind(this),this.updateSidebarPanelTab=this.updateSidebarPanelTab.bind(this),this.select=this.select.bind(this),this.containerDiv=(0,i.createRef)(),this.props.onTabFirstOpen(this.state.activeTab)}updateSidebarPanelTab(e){const t=this.containerDiv.current.closest(".components-panel");t&&setTimeout((()=>{var a;t&&(t.setAttribute("data-ugb-tab",e),null===(a=t.closest(".edit-post-sidebar, .edit-widgets-sidebar"))||void 0===a||a.classList.add("ugb--has-panel-tabs"))}),1)}componentDidMount(){this.updateSidebarPanelTab(this.state.activeTab),this.props.closeOtherPanels&&o.settings.stackable_auto_collapse_panels&&document.body.addEventListener("click",this.onButtonPanelClick)}componentWillUnmount(){const e=document.querySelector("[data-ugb-tab]");e&&(e.removeAttribute("data-ugb-tab"),e.closest(".edit-post-sidebar, .edit-widgets-sidebar").classList.remove("ugb--has-panel-tabs")),this.props.closeOtherPanels&&o.settings.stackable_auto_collapse_panels&&document.body.removeEventListener("click",this.onButtonPanelClick)}onButtonPanelClick(e){const t=e.target.closest(".components-panel__body-toggle");var a,n;t&&"layout"!==this.state.activeTab&&(a=t,[].forEach.call((null===(n=document.querySelector(".edit-post-sidebar, .edit-widgets-sidebar"))||void 0===n?void 0:n.querySelectorAll(".components-panel__body .components-panel__body-toggle"))||[],(e=>{0!==e.offsetHeight&&e.parentElement.parentElement.classList.contains("is-opened")&&a!==e&&e.click()})),this.props.onClickPanel(t.closest(".components-panel__body")))}select(e){this.setState({activeTab:e}),this.updateSidebarPanelTab(e),this.props.onClick(e)}render(){const e=m()([this.props.className,"components-panel__body","ugb-panel-tabs"]);return(0,i.createElement)("div",{className:e,style:this.props.style,ref:this.containerDiv},(0,i.createElement)("div",{className:"ugb-panel-tabs__wrapper"},(0,M.applyFilters)("stackable.inspector.tabs",En).map(((e,t)=>{let{value:a,title:n,label:l,icon:r}=e;return this.tabsToUse.includes(a)?(0,i.createElement)("button",{key:t,onClick:()=>this.select(a),className:m()(["edit-post-sidebar__panel-tab",`ugb-tab--${a}`],{"is-active":this.state.activeTab===a}),"aria-label":l,"data-label":l},(0,i.createElement)(s.Icon,{icon:r}),n):null}))))}}Tn.defaultProps={className:"",style:{},closeOtherPanels:!0,initialTab:"",onClickPanel:()=>{},onClick:()=>{},tabs:null,onTabFirstOpen:()=>{}};const Nn=Tn,Bn=e=>{const t=m()(["ugb-global-style-control__item"],{"ugb-global-style-control__item--large-preview":e.largePreview}),a=e.renderPreview&&e.renderPreview((0,p.pick)(e,["label","value"]));return(0,i.createElement)("div",{className:t},a&&(0,i.createElement)("div",{className:"ugb-global-style-control__item-preview"},a),(0,i.createElement)("div",{className:"ugb-global-style-control__item-label"},e.label),(0,i.createElement)(f,{className:"ugb-global-style-control__item-button",onClick:t=>{t.preventDefault(),t.stopPropagation(),e.onEdit(e.value)},label:(0,h.__)("Edit Style",o.i18n),isTertiary:!0,icon:"edit"}))};Bn.defaultProps={largePreview:!1,renderPreview:()=>{},onEdit:()=>{}};(0,h.__)("Style",o.i18n);const In=function(e){let{imageFile:t,imageHoverFile:a,imageWidth:n="",imageHeight:l="",label:r}=e;const s=t?t.match(/https?:/i)?t:o.srcUrl?`${o.srcUrl}/${t}`:t:"",u=a?a.match(/https?:/i)?a:o.srcUrl?`${o.srcUrl}/${a}`:a:null;return(0,i.createElement)("span",{className:"ugb-design-panel-item"},u&&(0,i.createElement)("img",{className:"ugb-design-panel-item__hover-image",src:u,alt:r,width:n,height:l}),s&&(0,i.createElement)("img",{className:"ugb-design-panel-item__image",src:s,alt:r,width:n,height:l}),(0,i.createElement)("span",{className:"design-label"},r))},On=e=>{const t=e.options.filter((e=>!e.premium||o.isPro)).map((e=>({...e,label:(0,i.createElement)(In,{imageFile:e.image,imageHoverFile:e.hoverImage,imageWidth:e.imageWidth,imageHeight:e.imageHeight,isPro:e.isPro,label:e.label}),title:e.label,value:e.value}))),a=m()([e.className,"ugb-design-control-wrapper","components-base-control",`ugb-design-control--columns-${e.columns}`]);return(0,i.createElement)("div",{className:a},e.label&&(0,i.createElement)("div",{className:"components-base-control__label"},e.label),(0,i.createElement)(s.RadioControl,n({},(0,p.omit)(e,["label"]),{className:"ugb-design-control",selected:e.selected,options:t,onChange:e.onChange})))};On.defaultProps={className:"",columns:2,selected:"",options:[],onChange:()=>{}};const Pn=On,Rn=[{image:"dist/images/components-design-separator-control-wave-1.fe7d2e5.png",label:(0,h.sprintf)((0,h._x)("%s %d","Nth Title",o.i18n),(0,h.__)("Wave",o.i18n),1),value:"wave-1"},{image:"dist/images/components-design-separator-control-straight-1.fba0f99.png",label:(0,h.__)("Straight",o.i18n),value:"straight-1"},{image:"dist/images/components-design-separator-control-wave-2.bc3ff78.png",label:(0,h.sprintf)((0,h._x)("%s %d","Nth Title",o.i18n),(0,h.__)("Wave",o.i18n),2),value:"wave-2"},{image:"dist/images/components-design-separator-control-wave-3.9e204d5.png",label:(0,h.sprintf)((0,h._x)("%s %d","Nth Title",o.i18n),(0,h.__)("Wave",o.i18n),3),value:"wave-3"},{image:"dist/images/components-design-separator-control-wave-4.b82e3aa.png",label:(0,h.sprintf)((0,h._x)("%s %d","Nth Title",o.i18n),(0,h.__)("Wave",o.i18n),4),value:"wave-4"},{image:"dist/images/components-design-separator-control-slant-1.645f0b9.png",label:(0,h.sprintf)((0,h._x)("%s %d","Nth Title",o.i18n),(0,h.__)("Slant",o.i18n),1),value:"slant-1"},{image:"dist/images/components-design-separator-control-slant-2.50e3178.png",label:(0,h.sprintf)((0,h._x)("%s %d","Nth Title",o.i18n),(0,h.__)("Slant",o.i18n),2),value:"slant-2"},{image:"dist/images/components-design-separator-control-curve-1.277a020.png",label:(0,h.sprintf)((0,h._x)("%s %d","Nth Title",o.i18n),(0,h.__)("Curve",o.i18n),1),value:"curve-1"},{image:"dist/images/components-design-separator-control-curve-2.4b8c7da.png",label:(0,h.sprintf)((0,h._x)("%s %d","Nth Title",o.i18n),(0,h.__)("Curve",o.i18n),2),value:"curve-2"},{image:"dist/images/components-design-separator-control-curve-3.da5eb6d.png",label:(0,h.sprintf)((0,h._x)("%s %d","Nth Title",o.i18n),(0,h.__)("Curve",o.i18n),3),value:"curve-3"},{image:"dist/images/components-design-separator-control-rounded-1.85d0e25.png",label:(0,h.sprintf)((0,h._x)("%s %d","Nth Title",o.i18n),(0,h.__)("Rounded",o.i18n),1),value:"rounded-1"},{image:"dist/images/components-design-separator-control-rounded-2.6e57ec5.png",label:(0,h.sprintf)((0,h._x)("%s %d","Nth Title",o.i18n),(0,h.__)("Rounded",o.i18n),2),value:"rounded-2"},{image:"dist/images/components-design-separator-control-rounded-3.78cb6da.png",label:(0,h.sprintf)((0,h._x)("%s %d","Nth Title",o.i18n),(0,h.__)("Rounded",o.i18n),3),value:"rounded-3"}];(0,M.addFilter)("stackable.separator.edit.layouts","default",(e=>(0,p.uniqBy)([...e,...Rn],"value")));const Ln=function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 496 512"},e),(0,i.createElement)("path",{fill:"currentColor",d:"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-80-216c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm4 72.6c-20.8 25-51.5 39.4-84 39.4s-63.2-14.3-84-39.4c-8.5-10.2-23.7-11.5-33.8-3.1-10.2 8.5-11.5 23.6-3.1 33.8 30 36 74.1 56.6 120.9 56.6s90.9-20.6 120.9-56.6c8.5-10.2 7.1-25.3-3.1-33.8-10.1-8.4-25.3-7.1-33.8 3.1z"}))},zn=e=>{const[t,a]=(0,i.useState)(!1),[l,r]=(0,i.useState)(!1),s=(0,te.useInstanceId)(zn,"iconControl");return(0,i.createElement)(hr,n({className:`ugb-icon-control ugb-icon-control-${s}`},(0,p.omit)(e,["onChange","value"]),{allowReset:!0,value:e.value,onChange:e.onChange}),(0,i.createElement)("div",{className:"ugb-icon-control__wrapper"},(0,i.createElement)("div",{className:"ugb-icon-control__button-wrapper"},(0,i.createElement)(f,{isSecondary:!0,className:"ugb-icon-control__icon-button",onClick:()=>{l?(a(!1),r(!1)):a(!0)}},e.value&&(0,i.createElement)(mr,{value:e.value}),!e.value&&(0,i.createElement)(Ln,{style:{opacity:.3}})),t&&(0,i.createElement)(qn,{onClickOutside:e=>{e.target&&e.target.closest(`.ugb-icon-control-${s}`)?r(!0):(a(!1),r(!1))},onClose:()=>a(!1),returnSVGValue:e.returnSVGValue,onChange:e.onChange}))))};zn.defaultProps={label:(0,h.__)("Icon",o.i18n),value:"",returnSVGValue:!0,onChange:()=>{}};const An=zn,Dn=function(e){return(0,i.createElement)("svg",n({"aria-hidden":"true","data-prefix":"fas","data-icon":"arrow-alt-to-bottom",className:"drop_svg__svg-inline--fa drop_svg__fa-arrow-alt-to-bottom drop_svg__fa-w-12",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"},e),(0,i.createElement)("path",{fill:"currentColor",d:"M360 480H24c-13.3 0-24-10.7-24-24v-24c0-13.3 10.7-24 24-24h336c13.3 0 24 10.7 24 24v24c0 13.3-10.7 24-24 24zM128 56v136H40.3c-17.8 0-26.7 21.5-14.1 34.1l152.2 152.2c7.5 7.5 19.8 7.5 27.3 0l152.2-152.2c12.6-12.6 3.7-34.1-14.1-34.1H256V56c0-13.3-10.7-24-24-24h-80c-13.3 0-24 10.7-24 24z"}))},Fn=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const a=[...e.membership.free,...t?e.membership.pro.filter((t=>!e.membership.free.includes(t))):[]];return a.map((t=>({className:`fa${t[0]} fa-${e.id}`,prefix:`fa${t[0]}`,iconName:e.id})))};var Hn=a(5112);let jn=null,Un=null;const Vn=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ugb-custom-icon";return e.match(/(<svg[^>]*class=["'])/)?e.replace(/(<svg[^>]*class=["'])/,`$1${t} `):e.match(/(<svg)/)?e.replace(/(<svg)/,`$1 class="${t}"`):e},Gn=e=>{let t=e.replace(/(^[\s\S]*?)(<svg)/gm,"$2").replace(/(<\/svg>)([\s\S]*)/g,"$1");for(let e=0;e<2;e++)t=t.replace(/\s*<g\s*>([\s\S]*?)<\/g>\s*/gm,"$1");return t},$n=e=>{const[t,a]=(0,i.useState)(""),[n,l]=(0,i.useState)([]),[r,u]=(0,i.useState)(!1),[c,g]=(0,i.useState)(!1),d=e.returnSVGValue;(0,i.useEffect)((()=>{let e=!0;return clearTimeout(jn),jn=setTimeout((()=>{e&&(u(!0),async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"icon",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.fontAwesomeSearchProIcons;const a=`{ search(version: "latest", first: 50, query: "${(e||"info").replace(/["'\\]/g,"")}") {\n\t\t\tid\n\t\t\tmembership {\n\t\t\t\tfree\n\t\t\t\t${t?"pro":""}\n\t\t\t}\n\t\t} }`;return(await fetch("https://api.fontawesome.com",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({query:a})}).then((e=>e.json()))).data.search.reduce(((e,a)=>(Fn(a,t).forEach((t=>{e.push(t)})),e)),[])}(t).then((t=>{e&&l(t)})).finally((()=>{e&&u(!1)})))}),500),()=>{e=!1,clearTimeout(jn)}}),[t]),(0,i.useEffect)((()=>{Un||(Un=wp.data.select("core/block-editor").getSettings().mediaUpload),c?wp.data.dispatch("core/block-editor").updateSettings({mediaUpload:null}):wp.data.select("core/block-editor").getSettings().mediaUpload!==Un&&wp.data.dispatch("core/block-editor").updateSettings({mediaUpload:Un})}),[c]);const p=m()(["ugb-icon-popover__label-container"],{"ugb-icon--has-settings":o.isPro,"ugb-icon--has-upload":d,"ugb-icon--has-reset":e.allowReset});return(0,i.createElement)(s.Popover,{className:"ugb-icon-popover",onClose:e.onClose,onClickOutside:e.onClickOutside,position:e.position,anchorRef:e.anchorRef,useRef:e.useRef},(0,i.createElement)(s.PanelBody,null,(0,i.createElement)(Hn.FileDrop,{onFrameDragEnter:()=>g(!0),onFrameDragLeave:()=>g(!1),onFrameDrop:()=>g(!1),onDrop:t=>{if(!d||!t.length)return void g(!1);if("image/svg+xml"!==t[0].type)return void g(!1);const a=new FileReader;a.onload=function(t){g(!1);const a=Gn(Vn(t.target.result));e.onChange(a),e.onClose()},a.readAsText(t[0])}},(0,i.createElement)("div",{className:p},(0,i.createElement)(s.TextControl,{className:"ugb-icon-popover__input",value:t,onChange:a,placeholder:(0,h.__)("Type to search icon",o.i18n)}),o.isPro&&(0,i.createElement)(f,{className:"ugb-icon-popover__settings-button",icon:"admin-generic",href:o.settingsUrl+"#icon-settings",target:"_settings",iconSize:"16",label:(0,h.__)("Icon Settings",o.i18n),showTooltip:!0,isSmall:!0,isSecondary:!0}),d&&(0,i.createElement)(f,{onClick:t=>{t.preventDefault();const a=document.createElement("input");a.accept="image/svg+xml",a.type="file",a.onchange=t=>{const a=t.target.files;if(!a.length)return void g(!1);const n=new FileReader;n.onload=function(t){g(!1);const a=Gn(Vn(t.target.result));e.onChange(a),e.onClose()},n.readAsText(a[0])},a.click()},isSmall:!0,isPrimary:!0,className:"components-range-control__upload"},(0,h.__)("Upload SVG",o.i18n)),e.allowReset&&(0,i.createElement)(f,{onClick:()=>{e.onChange(""),e.onClose()},isSmall:!0,isSecondary:!0,className:"components-range-control__reset"},(0,h.__)("Clear icon",o.i18n))),(0,i.createElement)("div",{className:"ugb-icon-popover__iconlist"},r&&(0,i.createElement)(s.Spinner,null),!r&&n.map(((t,a)=>{let{prefix:n,iconName:l}=t;const r=`${n}-${l}`;return(0,i.createElement)("button",{key:a,className:`components-button ugb-prefix--${n} ugb-icon--${l}`,onClick:()=>{e.returnSVGValue?e.onChange(Gn(de(n,l))):e.onChange(r,n,l),e.onClose()}},(0,i.createElement)(ur,{prefix:n,iconName:l}))})),!r&&!n.length&&(0,i.createElement)("p",{className:"components-base-control__help"},(0,h.__)("No matches found",o.i18n))),d&&c&&(0,i.createElement)("div",{className:"ugb-icon-popover__drop-indicator"},(0,i.createElement)(Dn,{height:"40",width:"40"}),(0,h.__)("Drop your SVG here",o.i18n)))))};$n.defaultProps={onChange:()=>{},onClose:()=>{},onClickOutside:()=>{},returnSVGValue:!0,allowReset:!0,anchorRef:void 0,position:"center"};const qn=$n,Wn=e=>{let t=e.color||"transparent";if(Array.isArray(t)){const[e,a]=t;t=`linear-gradient(90deg, ${e||"transparent"}, ${a||"transparent"})`}const a=m()(["components-circular-option-picker__option-wrapper","ugb-button-icon-popover-control-color-preview"],{"ugb-button-icon-popover-control-color-preview--transparent":!t||"transparent"===t});return(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{className:a},(0,i.createElement)(f,{className:"components-circular-option-picker__option",label:(0,h.__)("Selected color",o.i18n),style:{background:t},onClick:e.onClick,ref:e._ref}),e.children))};Wn.defaultProps={color:"",onClick:()=>{},_ref:null};const Kn=Wn,Jn=function(e){return(0,i.createElement)("svg",n({viewBox:"0 0 512 376",xmlns:"http://www.w3.org/2000/svg"},e),(0,i.createElement)("path",{d:"M0 0v376h512V0H0zm480 344H32V32h448v312z"}),(0,i.createElement)("circle",{cx:409.1,cy:102.9,r:40.9}),(0,i.createElement)("path",{d:"M480 344H32l86.3-164.2 21.7 11.3 49-77.3 100 113.1 8.9-9.3 17.1 22.3 26-46.4 52.9 71.2 15.1-15.9z"}))},Yn=e=>(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{className:"components-circular-option-picker__option-wrapper ugb-button-icon-popover-control-image-preview"},(0,i.createElement)(f,{className:"components-circular-option-picker__option",label:(0,h.__)("Selected image",o.i18n),style:{backgroundImage:e.imageUrl?`url(${e.imageUrl})`:void 0},onClick:e.onClick,ref:e._ref},!e.imageUrl&&(0,i.createElement)(Jn,null)),e.children));Yn.defaultProps={imageUrl:"",onClick:()=>{},_ref:null};const Xn=Yn;let Zn=1;class Qn extends i.Component{constructor(){super(...arguments),this.state={open:!1,isMouseOutside:!1,showResetPopover:!1},this.handleOpen=this.handleOpen.bind(this),this.handleClose=this.handleClose.bind(this),this.handleMouseLeave=this.handleMouseLeave.bind(this),this.handleMouseEnter=this.handleMouseEnter.bind(this),this.handleOnClickOutside=this.handleOnClickOutside.bind(this),this.handleReset=this.handleReset.bind(this),this.buttonRef=(0,i.createRef)(),this.buttonRefColorPreview=(0,i.createRef)(),this.buttonRefImagePreview=(0,i.createRef)(),this.instanceId=Zn++}checkIfAttributeShouldToggleOn(e,t){if(!this.props.onToggle||!this.props.toggleAttributeName||!this.props.toggleOnSetAttributes.length)return e;if(t.attributes[this.props.toggleAttributeName])return e;let a=!1;return this.props.toggleOnSetAttributes.some((t=>!(!Object.keys(e).includes(t)||""===e[t]||(a=!0,0)))),a?{...e,[this.props.toggleAttributeName]:!0}:e}componentDidMount(){(0,M.addFilter)("stackable.setAttributes",`stackable/button-icon-popover-control-${this.instanceId}`,this.checkIfAttributeShouldToggleOn.bind(this),9),document.addEventListener("mousedown",this.handleOnClickOutside)}componentWillUnmount(){(0,M.removeFilter)("stackable.setAttributes",`stackable/button-icon-popover-control-${this.instanceId}`),document.removeEventListener("mousedown",this.handleOnClickOutside)}handleOpen(){this.setState({open:!this.state.open})}handleClose(){this.setState({open:!1})}handleMouseLeave(){this.setState({isMouseOutside:!0})}handleMouseEnter(){this.setState({isMouseOutside:!1})}handleReset(){this.props.resetPopoverTitle||this.props.resetPopoverDescription?this.setState({showResetPopover:!0}):this.props.onReset()}handleOnClickOutside(e){var t,a,n,i;null!==(t=window.wp)&&void 0!==t&&null!==(a=t.media)&&void 0!==a&&null!==(n=a.frame)&&void 0!==n&&null!==(i=n.el)&&void 0!==i&&i.clientHeight||this.state.isMouseOutside&&e.target.closest("button")!==this.buttonRef.current&&e.target.closest("button")!==this.buttonRefColorPreview.current&&e.target.closest("button")!==this.buttonRefImagePreview.current&&(e.target.closest(".ugb-button-icon-control__popover")||this.handleClose())}render(){return(0,i.createElement)(hr,{help:this.props.help,label:!this.props.onToggle&&(0,i.createElement)("label",{htmlFor:`ugb-button-icon-control__edit-${this.instanceId}`},this.props.label),id:"ugb-button-icon-control",className:m()("ugb-button-icon-control",this.props.className),allowReset:!0,showReset:this.props.allowReset||!!this.props.onToggle&&this.props.checked,onReset:()=>{this.props.onReset(),this.props.onToggle&&this.props.onToggle(!1)},hasLabel:!this.props.onToggle},this.props.onToggle&&(0,i.createElement)(s.ToggleControl,{label:this.props.label,checked:this.props.checked,onChange:this.props.onToggle}),(0,i.createElement)("div",{className:"ugb-button-icon-control__wrapper"},this.props.hasImagePreview&&(0,i.createElement)(Xn,{imageUrl:this.props.imageUrlPreview,onClick:this.handleOpen,_ref:this.buttonRefImagePreview}),this.props.hasColorPreview&&(0,i.createElement)(Kn,{color:this.props.colorPreview,onClick:this.handleOpen,_ref:this.buttonRefColorPreview}),this.props.renderCustomPreview&&this.props.renderCustomPreview(),(0,i.createElement)(f,{onClick:this.handleOpen,className:"ugb-button-icon-control__edit",label:(0,h.__)("Edit",o.i18n),isSecondary:!0,icon:"edit",id:`ugb-button-icon-control__edit-${this.instanceId}`,ref:this.buttonRef}),this.state.open&&(0,i.createElement)(s.Popover,{className:"ugb-button-icon-control__popover",focusOnMount:"container",anchorRef:this.buttonRef.current,onMouseLeave:this.handleMouseLeave,onMouseEnter:this.handleMouseEnter},(0,i.createElement)(s.PanelBody,null,(void 0!==this.props.popoverLabel?this.props.popoverLabel:this.props.label)&&(0,i.createElement)("h2",{className:"components-panel__body-title"},this.props.popoverLabel||this.props.label),this.props.children))))}}Qn.defaultProps={help:"",label:"",popoverLabel:void 0,className:"",allowReset:!1,onReset:()=>{},checked:!1,onToggle:void 0,toggleOnSetAttributes:[],toggleAttributeName:"",colorPreview:null,imageUrlPreview:"",hasColorPreview:!1,hasImagePreview:!1,renderCustomPreview:null};const ei=Qn,ti=e=>{const t=q(e.imageData,e.size||"full");let a=e.widthMax||1e3,n=0;e.imageData&&e.onChangeSize&&t&&(a=t.width,n=t.height);const l=!!t&&t.width===t.height;return(0,i.createElement)(i.Fragment,null,e.onChangeImage&&(0,i.createElement)(Je,{label:(0,h.__)("Image",o.i18n),imageID:e.id,imageURL:e.url,onRemove:()=>e.onChangeImage({url:"",id:"",width:"",height:""}),onChange:t=>{let{url:a,width:n,height:i}=t;const l=e.size||"full";t.sizes[l]&&(a=t.sizes[l].url,n=t.sizes[l].width,i=t.sizes[l].height),e.onChangeImage({id:t.id,url:a,width:n,height:i})}}),e.onChangeShape&&(0,i.createElement)(tt,{isSquareImage:l,shape:e.shape,shapeFlipX:e.shapeFlipX,shapeFlipY:e.shapeFlipY,shapeStretch:e.shapeStretch,onChangeShape:e.onChangeShape,onChangeShapeFlipX:e.onChangeShapeFlipX,onChangeShapeFlipY:e.onChangeShapeFlipY,onChangeShapeStretch:e.onChangeShapeStretch}),(0,i.createElement)(lr,null),e.onChangeAlt&&(0,i.createElement)(Xe,{value:e.alt,onChange:e.onChangeAlt}),e.onChangeSize&&(0,i.createElement)(nt,{label:(0,h.__)("Image Size",o.i18n),value:e.size,onChange:t=>{const a=q(e.imageData,t||"full");let n="",i="",l=e.url;a&&(n=a.width,i=a.height,l=a.source_url),e.onChangeSize(t,l,n,i)}}),e.onChangeWidth&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(Il,null,(0,i.createElement)(ut,{label:(0,h.__)("Image Width",o.i18n),value:e.width,placeholder:e.placeholder,max:a,min:0,onChange:t=>{const i=n/a;e.onChangeWidth("number"==typeof t?t:"","number"==typeof t?parseInt(i*t,10):"")},allowReset:!0,className:"ugb--help-tip-image-size-no-crop"})),(0,i.createElement)(Il,{screen:"tablet"},(0,i.createElement)(ut,{label:(0,h.__)("Image Width",o.i18n),value:e.tabletWidth,max:a,min:0,onChange:e.onChangeTabletWidth,allowReset:!0,className:"ugb--help-tip-image-size-no-crop"})),(0,i.createElement)(Il,{screen:"mobile"},(0,i.createElement)(ut,{label:(0,h.__)("Image Width",o.i18n),value:e.mobileWidth,max:a,min:0,onChange:e.onChangeMobileWidth,allowReset:!0,className:"ugb--help-tip-image-size-no-crop"}))),e.onChangeSquare&&(0,i.createElement)(i.Fragment,null,("number"==typeof e.width||e.width)&&(0,i.createElement)(Il,null,(0,i.createElement)(vr,{label:(0,h.__)("Force square image",o.i18n),checked:e.square,onChange:e.onChangeSquare,className:"ugb--help-tip-image-square"})),("number"==typeof e.tabletWidth||e.tabletWidth)&&(0,i.createElement)(Il,{screen:"tablet"},(0,i.createElement)(vr,{label:(0,h.__)("Force square image",o.i18n),checked:e.tabletSquare,onChange:e.onChangeTabletSquare,className:"ugb--help-tip-image-square"})),("number"==typeof e.mobileWidth||e.mobileWidth)&&(0,i.createElement)(Il,{screen:"mobile"},(0,i.createElement)(vr,{label:(0,h.__)("Force square image",o.i18n),checked:e.mobileSquare,onChange:e.onChangeMobileSquare,className:"ugb--help-tip-image-square",defaultValue:!0}))),e.onChangeBorderRadius&&""===e.shape&&(0,i.createElement)(ut,{label:(0,h.__)("Border Radius",o.i18n),value:e.borderRadius,onChange:e.onChangeBorderRadius,min:0,max:100,allowReset:!0,placeholder:"0",className:"ugb--help-tip-image-border-radius"}),e.onChangeShadow&&""===e.shape&&(0,i.createElement)(ut,{label:(0,h.__)("Shadow / Outline",o.i18n),value:e.shadow,onChange:e.onChangeShadow,min:0,max:9,allowReset:!0,placeholder:"0",className:"ugb--help-tip-image-shadow"}),e.onChangeBlendMode&&(0,i.createElement)(qe,{label:(0,h.__)("Blend Mode",o.i18n),value:e.blendMode,onChange:e.onChangeBlendMode}))};ti.defaultProps={id:"",url:"",onChangeImage:e=>{let{url:t,id:a,width:n,height:i}=e},shape:"",onChangeShape:()=>{},shapeStretch:"",onChangeShapeStretch:()=>{},alt:"",onChangeAlt:()=>{},size:"large",onChangeSize:()=>{},widthMax:1e3,width:"",tabletWidth:"",mobileWidth:"",onChangeWidth:()=>{},onChangeTabletWidth:()=>{},onChangeMobileWidth:()=>{},square:"",tabletSquare:"",mobileSquare:"",onChangeSquare:()=>{},onChangeTabletSquare:()=>{},onChangeMobileSquare:()=>{},borderRadius:"",onChangeBorderRadius:()=>{},shadow:"",onChangeShadow:()=>{},blendMode:"",onChangeBlendMode:()=>{}};(0,te.compose)((0,x.withSelect)(((e,t)=>{const{getMedia:a}=e("core");return W(t.id,e),{imageData:t.id?a(t.id):null}})))(ti);const ai=e=>(0,i.createElement)(i.Fragment,null,e.onChangeImage&&(0,i.createElement)(Je,{label:(0,h.__)("Image",o.i18n),imageID:e.id,imageURL:e.url,onRemove:()=>e.onChangeImage({url:"",id:""}),onChange:t=>{let{url:a}=t;const n=e.size||"full";t.sizes[n]&&(a=t.sizes[n].url),e.onChangeImage({id:t.id,url:a})}}),e.onChangeSize&&(0,i.createElement)(nt,{label:(0,h.__)("Image Size",o.i18n),value:e.size,onChange:t=>{e.onChangeSize(t,function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"full";const a=K(e)||W(e,x.select);return a?a.media_details.sizes[t]?a.media_details.sizes[t].source_url:a.source_url:""}(e.id,t||"full"))},className:"ugb--help-tip-image-size"}),e.onChangeBackgroundPosition&&(0,i.createElement)(gt,{label:(0,h.__)("Background Image Position",o.i18n),options:[{label:(0,h.__)("Default",o.i18n),value:""},{label:(0,h.__)("Top Left",o.i18n),value:"top left"},{label:(0,h.__)("Top Center",o.i18n),value:"top center"},{label:(0,h.__)("Top Right",o.i18n),value:"top right"},{label:(0,h.__)("Center Left",o.i18n),value:"center left"},{label:(0,h.__)("Center Center",o.i18n),value:"center center"},{label:(0,h.__)("Center Right",o.i18n),value:"center right"},{label:(0,h.__)("Bottom Left",o.i18n),value:"bottom left"},{label:(0,h.__)("Bottom Center",o.i18n),value:"bottom center"},{label:(0,h.__)("Bottom Right",o.i18n),value:"bottom right"}],value:e.backgroundPosition,onChange:e.onChangeBackgroundPosition,className:"ugb--help-tip-background-image-position"}),e.onChangeBackgroundRepeat&&(0,i.createElement)(gt,{label:(0,h.__)("Background Image Repeat",o.i18n),options:[{label:(0,h.__)("Default",o.i18n),value:""},{label:(0,h.__)("No-Repeat",o.i18n),value:"no-repeat"},{label:(0,h.__)("Repeat",o.i18n),value:"repeat"},{label:(0,h.__)("Repeat-X",o.i18n),value:"repeat-x"},{label:(0,h.__)("Repeat-Y",o.i18n),value:"repeat-y"}],value:e.backgroundRepeat,onChange:e.onChangeBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"}),e.onChangeBackgroundSize&&(0,i.createElement)(gt,{label:(0,h.__)("Background Image Size",o.i18n),options:[{label:(0,h.__)("Default",o.i18n),value:""},{label:(0,h.__)("Auto",o.i18n),value:"auto"},{label:(0,h.__)("Cover",o.i18n),value:"cover"},{label:(0,h.__)("Contain",o.i18n),value:"contain"},{label:(0,h.__)("Custom",o.i18n),value:"custom"}],value:e.backgroundSize,onChange:e.onChangeBackgroundSize,className:"ugb--help-tip-background-image-size"}),e.onChangeBackgroundSize&&"custom"===e.backgroundSize&&(0,i.createElement)(ut,{label:(0,h.__)("Custom Size",o.i18n),units:["px","%"],min:[0,0],max:[1e3,100],unit:e.backgroundCustomSizeUnit,onChangeUnit:e.onChangeBackgroundCustomSizeUnit,value:e.backgroundCustomSize,onChange:e.onChangeBackgroundCustomSize,allowReset:!0}));ai.defaultProps={id:"",url:"",onChangeImage:e=>{let{url:t,id:a}=e},size:"",onChangeSize:()=>{},backgroundPosition:"",onChangeBackgroundPosition:()=>{},backgroundRepeat:"",onChangeBackgroundRepeat:()=>{},backgroundSize:"",onChangeBackgroundSize:()=>{},backgroundCustomSizeUnit:"",onChangeBackgroundCustomSizeUnit:()=>{},backgroundCustomSize:"",onChangeBackgroundCustomSize:()=>{}};(0,te.compose)((0,x.withSelect)(((e,t)=>{const{getMedia:a}=e("core");return W(t.id,e),{imageData:t.id?a(t.id):null}})))(ai);const ni=e=>{const t=(0,i.useMemo)((()=>"function"==typeof e.placeholder?e.fontSize||Math.round(e.placeholder(G(e.htmlTag,!0))):e.fontSize||e.placeholder||G(e.htmlTag,!0)),[e.htmlTag,e.fontSize]);return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(ei,{label:e.label,popoverLabel:e.popoverLabel,onReset:e.onReset,allowReset:e.fontFamily||e.fontSize||e.tabletFontSize||e.mobileFontSize||e.fontWeight||e.textTransform||e.lineHeight||e.tabletLineHeight||e.mobileLineHeight||e.letterSpacing,resetPopoverTitle:e.resetPopoverTitle,resetPopoverDescription:e.resetPopoverDescription,className:e.className,help:e.help},e.onChangeFontFamily&&(0,i.createElement)(aa,{label:(0,h.__)("Font Family",o.i18n),onChange:e.onChangeFontFamily,value:e.fontFamily,className:"ugb--help-tip-typography-family"}),e.onChangeFontSize&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(Il,null,(0,i.createElement)(Qt,n({label:(0,h.__)("Size",o.i18n),onChange:e.onChangeFontSize,value:e.fontSize,allowReset:!0,unit:e.fontSizeUnit,onChangeUnit:e.onChangeFontSizeUnit},e.fontSizeProps,{placeholder:t,className:"ugb--help-tip-typography-size"}))),(0,i.createElement)(Il,{screen:"tablet"},(0,i.createElement)(Qt,n({label:(0,h.__)("Size",o.i18n),onChange:e.onChangeTabletFontSize,value:e.tabletFontSize,allowReset:!0,unit:e.tabletFontSizeUnit,onChangeUnit:e.onChangeTabletFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"}))),(0,i.createElement)(Il,{screen:"mobile"},(0,i.createElement)(Qt,n({label:(0,h.__)("Size",o.i18n),onChange:e.onChangeMobileFontSize,value:e.mobileFontSize,allowReset:!0,unit:e.mobileFontSizeUnit,onChangeUnit:e.onChangeMobileFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"})))),e.onChangeFontWeight&&(0,i.createElement)(gt,{label:(0,h.__)("Weight",o.i18n),options:[{label:"100",value:"100"},{label:"200",value:"200"},{label:"300",value:"300"},{label:"400",value:"400"},{label:"500",value:"500"},{label:"600",value:"600"},{label:"700",value:"700"},{label:"800",value:"800"},{label:"900",value:"900"},{label:(0,h.__)("Default",o.i18n),value:""},{label:(0,h.__)("Normal",o.i18n),value:"normal"},{label:(0,h.__)("Bold",o.i18n),value:"bold"}],onChange:e.onChangeFontWeight,value:e.fontWeight,className:"ugb--help-tip-typography-weight"}),e.onChangeTextTransform&&(0,i.createElement)(gt,{label:(0,h.__)("Transform",o.i18n),options:[{label:(0,h.__)("Default",o.i18n),value:""},{label:(0,h.__)("Uppercase",o.i18n),value:"uppercase"},{label:(0,h.__)("Lowercase",o.i18n),value:"lowercase"},{label:(0,h.__)("Capitalize",o.i18n),value:"capitalize"},{label:(0,h.__)("None",o.i18n),value:"none"}],onChange:e.onChangeTextTransform,value:e.textTransform,className:"ugb--help-tip-typography-transform"}),e.onChangeLineHeight&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(Il,null,(0,i.createElement)(ut,{label:(0,h.__)("Line-Height",o.i18n),units:e.lineHeightUnits,min:[1,.1],max:[100,10],step:[1,.1],placeholder:[30,1.5],allowReset:!0,value:e.lineHeight,onChange:e.onChangeLineHeight,unit:e.lineHeightUnit,onChangeUnit:e.onChangeLineHeightUnit,initialPosition:[37,1.8],className:"ugb--help-tip-typography-line-height"})),(0,i.createElement)(Il,{screen:"tablet"},(0,i.createElement)(ut,{label:(0,h.__)("Line-Height",o.i18n),units:["px","em"],min:[1,.1],max:[100,10],step:[1,.1],placeholder:[30,1.5],allowReset:!0,value:e.tabletLineHeight,onChange:e.onChangeTabletLineHeight,unit:e.tabletLineHeightUnit,onChangeUnit:e.onChangeTabletLineHeightUnit,initialPosition:[37,1.8],className:"ugb--help-tip-typography-line-height"})),(0,i.createElement)(Il,{screen:"mobile"},(0,i.createElement)(ut,{label:(0,h.__)("Line-Height",o.i18n),units:["px","em"],min:[1,.1],max:[100,10],step:[1,.1],placeholder:[30,1.5],allowReset:!0,value:e.mobileLineHeight,onChange:e.onChangeMobileLineHeight,unit:e.mobileLineHeightUnit,onChangeUnit:e.onChangeMobileLineHeightUnit,initialPosition:[37,1.8],className:"ugb--help-tip-typography-line-height"}))),e.onChangeLetterSpacing&&(0,i.createElement)(ut,{label:(0,h.__)("Letter Spacing",o.i18n),min:-5,max:10,step:.1,allowReset:!0,onChange:e.onChangeLetterSpacing,value:e.letterSpacing,placeholder:"0",className:"ugb--help-tip-typography-letter-spacing"})),e.showSecondFontSize&&e.onChangeFontSize&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(Il,null,(0,i.createElement)(Qt,n({label:(0,h.__)("Size",o.i18n),onChange:e.onChangeFontSize,value:e.fontSize,allowReset:!0,unit:e.fontSizeUnit,onChangeUnit:e.onChangeFontSizeUnit},e.fontSizeProps,{placeholder:t,className:"ugb--help-tip-typography-size"}))),(0,i.createElement)(Il,{screen:"tablet"},(0,i.createElement)(Qt,n({label:(0,h.__)("Size",o.i18n),onChange:e.onChangeTabletFontSize,value:e.tabletFontSize,allowReset:!0,unit:e.tabletFontSizeUnit,onChangeUnit:e.onChangeTabletFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"}))),(0,i.createElement)(Il,{screen:"mobile"},(0,i.createElement)(Qt,n({label:(0,h.__)("Size",o.i18n),onChange:e.onChangeMobileFontSize,value:e.mobileFontSize,allowReset:!0,unit:e.mobileFontSizeUnit,onChangeUnit:e.onChangeMobileFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"})))))};ni.defaultProps={label:(0,h.__)("Typography",o.i18n),popoverLabel:void 0,className:"ugb--help-tip-typography",showSecondFontSize:!0,fontFamily:"",fontSize:"",tabletFontSize:"",mobileFontSize:"",fontSizeUnit:"px",tabletFontSizeUnit:"px",mobileFontSizeUnit:"px",fontWeight:"",textTransform:"",lineHeight:"",tabletLineHeight:"",mobileLineHeight:"",lineHeightUnit:"em",lineHeightUnits:["px","em"],tabletLineHeightUnit:"em",mobileLineHeightUnit:"em",letterSpacing:"",fontSizeProps:{},resetPopoverTitle:"",resetPopoverDescription:"",placeholder:"",htmlTag:"p",onReset:()=>{},onChangeFontFamily:()=>{},onChangeFontSize:()=>{},onChangeTabletFontSize:()=>{},onChangeMobileFontSize:()=>{},onChangeFontSizeUnit:()=>{},onChangeTabletFontSizeUnit:()=>{},onChangeMobileFontSizeUnit:()=>{},onChangeFontWeight:()=>{},onChangeTextTransform:()=>{},onChangeLineHeight:()=>{},onChangeTabletLineHeight:()=>{},onChangeMobileLineHeight:()=>{},onChangeLineHeightUnit:()=>{},onChangeTabletLineHeightUnit:()=>{},onChangeMobileLineHeightUnit:()=>{},onChangeLetterSpacing:()=>{}};const ii=ni,li=e=>{const{setAttributes:t}=e,a=t=>(0,p.camelCase)((0,h.sprintf)(e.attrNameTemplate,t));return(0,i.createElement)(ii,n({fontFamily:e.blockAttributes[a("FontFamily")]||"",fontSize:e.blockAttributes[a("FontSize")]||"",tabletFontSize:e.blockAttributes[a("TabletFontSize")]||"",mobileFontSize:e.blockAttributes[a("MobileFontSize")]||"",fontSizeUnit:e.blockAttributes[a("FontSizeUnit")]||"px",tabletFontSizeUnit:e.blockAttributes[a("TabletFontSizeUnit")]||"px",mobileFontSizeUnit:e.blockAttributes[a("MobileFontSizeUnit")]||"px",fontWeight:e.blockAttributes[a("FontWeight")]||"",textTransform:e.blockAttributes[a("TextTransform")]||"",letterSpacing:e.blockAttributes[a("LetterSpacing")]||"",lineHeight:e.blockAttributes[a("LineHeight")]||"",tabletLineHeight:e.blockAttributes[a("TabletLineHeight")]||"",mobileLineHeight:e.blockAttributes[a("MobileLineHeight")]||"",lineHeightUnit:e.blockAttributes[a("LineHeightUnit")]||"em",tabletLineHeightUnit:e.blockAttributes[a("TabletLineHeightUnit")]||"em",mobileLineHeightUnit:e.blockAttributes[a("MobileLineHeightUnit")]||"em",onChangeFontFamily:e=>t({[a("FontFamily")]:e}),onChangeFontSize:e=>t({[a("FontSize")]:e}),onChangeTabletFontSize:e=>t({[a("TabletFontSize")]:e}),onChangeMobileFontSize:e=>t({[a("MobileFontSize")]:e}),onChangeFontSizeUnit:e=>t({[a("FontSizeUnit")]:e}),onChangeTabletFontSizeUnit:e=>t({[a("TabletFontSizeUnit")]:e}),onChangeMobileFontSizeUnit:e=>t({[a("MobileFontSizeUnit")]:e}),onChangeFontWeight:e=>t({[a("FontWeight")]:e}),onChangeTextTransform:e=>t({[a("TextTransform")]:e}),onChangeLetterSpacing:e=>t({[a("LetterSpacing")]:e}),onChangeLineHeight:e=>t({[a("LineHeight")]:e}),onChangeTabletLineHeight:e=>t({[a("TabletLineHeight")]:e}),onChangeMobileLineHeight:e=>t({[a("MobileLineHeight")]:e}),onChangeLineHeightUnit:e=>t({[a("LineHeightUnit")]:e}),onChangeTabletLineHeightUnit:e=>t({[a("TabletLineHeightUnit")]:e}),onChangeMobileLineHeightUnit:e=>t({[a("MobileLineHeightUnit")]:e}),onReset:()=>{t({[a("FontFamily")]:"",[a("FontSize")]:"",[a("TabletFontSize")]:"",[a("MobileFontSize")]:"",[a("FontSizeUnit")]:"px",[a("TabletFontSizeUnit")]:"px",[a("MobileFontSizeUnit")]:"px",[a("FontWeight")]:"",[a("TextTransform")]:"",[a("LetterSpacing")]:"",[a("LineHeight")]:"",[a("TabletLineHeight")]:"",[a("MobileLineHeight")]:"",[a("LineHeightUnit")]:"em",[a("TabletLineHeightUnit")]:"em",[a("MobileLineHeightUnit")]:"em"})}},e))};li.defaultProps={attrNameTemplate:"%s",setAttributes:()=>{},blockAttributes:{}};const ri=li,si=e=>(0,i.createElement)(i.Fragment,null,e.onChangeBackgroundColorType&&(0,i.createElement)(s.BaseControl,{id:"ugb-background-color-type",className:"ugb--help-tip-background-color-type"},(0,i.createElement)(Xt,{controls:[{value:"",title:(0,h.__)("Single",o.i18n)},{value:"gradient",title:(0,h.__)("Gradient",o.i18n)}],value:e.backgroundColorType,onChange:e.onChangeBackgroundColorType,fullwidth:!1,isSmall:!0})),e.onChangeBackgroundColor&&(0,i.createElement)(Ge,{label:e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType?(0,h.sprintf)((0,h._x)("%s #%d","Panel title",o.i18n),e.labelBackgroundColor,1):e.labelBackgroundColor,value:e.backgroundColor,onChange:e.onChangeBackgroundColor}),e.onChangeBackgroundColorOpacity&&"gradient"!==e.backgroundColorType&&!e.backgroundMediaURL&&!e.tabletBackgroundMediaURL&&!e.mobileBackgroundMediaURL&&(0,i.createElement)(ut,{label:(0,h.__)("Background Color Opacity",o.i18n),value:e.backgroundColorOpacity,onChange:e.onChangeBackgroundColorOpacity,min:0,max:1,step:.1,allowReset:!0,placeholder:"1.0",className:"ugb--help-tip-background-color-opacity"}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&(0,i.createElement)(Ge,{label:(0,h.sprintf)((0,h._x)("%s #%d","Panel title",o.i18n),e.labelBackgroundColor,2),value:e.backgroundColor2,onChange:e.onChangeBackgroundColor2}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&e.hasAdvancedGradient&&(0,i.createElement)(ei,{label:(0,h.__)("Adv. Gradient Color Settings",o.i18n),onReset:e.onResetAdvancedGradient,allowReset:""!==e.backgroundGradientDirection&&90!==e.backgroundGradientDirection||""!==e.backgroundGradientLocation1&&0!==e.backgroundGradientLocation1||""!==e.backgroundGradientLocation2&&100!==e.backgroundGradientLocation2||e.backgroundGradientBlendMode},e.onChangeBackgroundGradientDirection&&(0,i.createElement)(ut,{label:(0,h.__)("Gradient Direction (degrees)",o.i18n),value:e.backgroundGradientDirection,onChange:e.onChangeBackgroundGradientDirection,min:0,max:360,step:10,allowReset:!0,placeholder:"90",className:"ugb--help-tip-gradient-direction"}),e.onChangeBackgroundGradientLocation1&&(0,i.createElement)(ut,{label:(0,h.sprintf)((0,h.__)("Color %d Location",o.i18n),1),value:e.backgroundGradientLocation1,onChange:e.onChangeBackgroundGradientLocation1,min:0,max:100,step:1,allowReset:!0,placeholder:"0",className:"ugb--help-tip-gradient-location"}),e.onChangeBackgroundGradientLocation2&&(0,i.createElement)(ut,{label:(0,h.sprintf)((0,h.__)("Color %d Location",o.i18n),2),value:e.backgroundGradientLocation2,onChange:e.onChangeBackgroundGradientLocation2,min:0,max:100,step:1,allowReset:!0,placeholder:"100",className:"ugb--help-tip-gradient-location"}),e.onChangeBackgroundGradientBlendMode&&(0,i.createElement)(qe,{label:(0,h.__)("Background Gradient Blend Mode",o.i18n),value:e.backgroundGradientBlendMode,onChange:e.onChangeBackgroundGradientBlendMode,className:"ugb--help-tip-background-blend-mode"})),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&e.hasAdvancedGradient&&e.onChangeBackgroundMedia&&(0,i.createElement)(lr,null),e.onChangeBackgroundMedia&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(Il,null,(0,i.createElement)(Je,{label:e.backgroundMediaAllowVideo?(0,h.__)("Background Image or Video",o.i18n):(0,h.__)("Background Image",o.i18n),help:e.backgroundMediaAllowVideo?(0,h.__)("Use .mp4 format for videos",o.i18n):"",onRemove:()=>e.onChangeBackgroundMedia({url:"",id:""}),onChange:e.onChangeBackgroundMedia,imageID:e.backgroundMediaID,imageURL:e.backgroundMediaURL,allowedTypes:e.backgroundMediaAllowVideo?["image","video"]:["image"]})),(0,i.createElement)(Il,{screen:"tablet"},(0,i.createElement)(Je,{label:e.backgroundMediaAllowVideo?(0,h.__)("Background Image or Video",o.i18n):(0,h.__)("Background Image",o.i18n),help:e.backgroundMediaAllowVideo?(0,h.__)("Use .mp4 format for videos",o.i18n):"",onRemove:()=>e.onChangeTabletBackgroundMedia({url:"",id:""}),onChange:e.onChangeTabletBackgroundMedia,imageID:e.tabletBackgroundMediaID,imageURL:e.tabletBackgroundMediaURL,allowedTypes:e.backgroundMediaAllowVideo?["image","video"]:["image"]})),(0,i.createElement)(Il,{screen:"mobile"},(0,i.createElement)(Je,{label:e.backgroundMediaAllowVideo?(0,h.__)("Background Image or Video",o.i18n):(0,h.__)("Background Image",o.i18n),help:e.backgroundMediaAllowVideo?(0,h.__)("Use .mp4 format for videos",o.i18n):"",onRemove:()=>e.onChangeMobileBackgroundMedia({url:"",id:""}),onChange:e.onChangeMobileBackgroundMedia,imageID:e.mobileBackgroundMediaID,imageURL:e.mobileBackgroundMediaURL,allowedTypes:e.backgroundMediaAllowVideo?["image","video"]:["image"]}))),e.onChangeBackgroundTintStrength&&e.onChangeBackgroundMedia&&(e.backgroundMediaURL||e.tabletBackgroundMediaURL||e.mobileBackgroundMediaURL)&&(0,i.createElement)(ut,{label:(0,h.__)("Background Media Tint Strength",o.i18n),value:e.backgroundTintStrength,onChange:t=>{const a=void 0===t||""===t;""!==e.backgroundColor||a?"#000000"===e.backgroundColor&&a?e.onChangeBackgroundTintStrength(t,""):e.onChangeBackgroundTintStrength(t,e.backgroundColor):e.onChangeBackgroundTintStrength(t,"#000000")},min:0,max:10,step:1,allowReset:!0,placeholder:e.backgroundColor?"5":"0",className:"ugb--help-tip-background-tint"}),e.onChangeFixedBackground&&e.onChangeBackgroundMedia&&(e.backgroundMediaURL||e.tabletBackgroundMediaURL||e.mobileBackgroundMediaURL)&&!([e.backgroundMediaURL,e.tabletBackgroundMediaURL,e.mobileBackgroundMediaURL].filter((e=>e)).filter(ye).length>0)&&(0,i.createElement)(vr,{label:(0,h.__)("Fixed Background",o.i18n),checked:e.fixedBackground,onChange:e.onChangeFixedBackground,className:"ugb--help-tip-background-fixed"}),e.hasAdvancedBackground&&e.onChangeBackgroundMedia&&(e.backgroundMediaURL||e.tabletBackgroundMediaURL||e.mobileBackgroundMediaURL)&&(0,i.createElement)(ei,{label:(0,h.__)("Adv. Background Image Settings",o.i18n),onReset:e.onResetAdvancedBackground,allowReset:e.backgroundPosition||e.tabletBackgroundPosition||e.mobileBackgroundPosition||e.backgroundRepeat||e.tabletBackgroundRepeat||e.mobileBackgroundRepeat||e.backgroundSize||e.tabletBackgroundSize||e.mobileBackgroundSize||e.backgroundImageBlendMode},(0,i.createElement)(Il,null,(0,i.createElement)(gt,{label:(0,h.__)("Image Position",o.i18n),options:[{label:(0,h.__)("Default",o.i18n),value:""},{label:(0,h.__)("Top Left",o.i18n),value:"top left"},{label:(0,h.__)("Top Center",o.i18n),value:"top center"},{label:(0,h.__)("Top Right",o.i18n),value:"top right"},{label:(0,h.__)("Center Left",o.i18n),value:"center left"},{label:(0,h.__)("Center Center",o.i18n),value:"center center"},{label:(0,h.__)("Center Right",o.i18n),value:"center right"},{label:(0,h.__)("Bottom Left",o.i18n),value:"bottom left"},{label:(0,h.__)("Bottom Center",o.i18n),value:"bottom center"},{label:(0,h.__)("Bottom Right",o.i18n),value:"bottom right"}],value:e.backgroundPosition,onChange:e.onChangeBackgroundPosition,className:"ugb--help-tip-background-image-position"})),(0,i.createElement)(Il,{screen:"tablet"},(0,i.createElement)(gt,{label:(0,h.__)("Image Position",o.i18n),options:[{label:(0,h.__)("Default",o.i18n),value:""},{label:(0,h.__)("Top Left",o.i18n),value:"top left"},{label:(0,h.__)("Top Center",o.i18n),value:"top center"},{label:(0,h.__)("Top Right",o.i18n),value:"top right"},{label:(0,h.__)("Center Left",o.i18n),value:"center left"},{label:(0,h.__)("Center Center",o.i18n),value:"center center"},{label:(0,h.__)("Center Right",o.i18n),value:"center right"},{label:(0,h.__)("Bottom Left",o.i18n),value:"bottom left"},{label:(0,h.__)("Bottom Center",o.i18n),value:"bottom center"},{label:(0,h.__)("Bottom Right",o.i18n),value:"bottom right"}],value:e.tabletBackgroundPosition,onChange:e.onChangeTabletBackgroundPosition,className:"ugb--help-tip-background-image-position"})),(0,i.createElement)(Il,{screen:"mobile"},(0,i.createElement)(gt,{label:(0,h.__)("Image Position",o.i18n),options:[{label:(0,h.__)("Default",o.i18n),value:""},{label:(0,h.__)("Top Left",o.i18n),value:"top left"},{label:(0,h.__)("Top Center",o.i18n),value:"top center"},{label:(0,h.__)("Top Right",o.i18n),value:"top right"},{label:(0,h.__)("Center Left",o.i18n),value:"center left"},{label:(0,h.__)("Center Center",o.i18n),value:"center center"},{label:(0,h.__)("Center Right",o.i18n),value:"center right"},{label:(0,h.__)("Bottom Left",o.i18n),value:"bottom left"},{label:(0,h.__)("Bottom Center",o.i18n),value:"bottom center"},{label:(0,h.__)("Bottom Right",o.i18n),value:"bottom right"}],value:e.mobileBackgroundPosition,onChange:e.onChangeMobileBackgroundPosition,className:"ugb--help-tip-background-image-position"})),(0,i.createElement)(Il,null,(0,i.createElement)(gt,{label:(0,h.__)("Image Repeat",o.i18n),options:[{label:(0,h.__)("Default",o.i18n),value:""},{label:(0,h.__)("No-Repeat",o.i18n),value:"no-repeat"},{label:(0,h.__)("Repeat",o.i18n),value:"repeat"},{label:(0,h.__)("Repeat-X",o.i18n),value:"repeat-x"},{label:(0,h.__)("Repeat-Y",o.i18n),value:"repeat-y"}],value:e.backgroundRepeat,onChange:e.onChangeBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"})),(0,i.createElement)(Il,{screen:"tablet"},(0,i.createElement)(gt,{label:(0,h.__)("Image Repeat",o.i18n),options:[{label:(0,h.__)("Default",o.i18n),value:""},{label:(0,h.__)("No-Repeat",o.i18n),value:"no-repeat"},{label:(0,h.__)("Repeat",o.i18n),value:"repeat"},{label:(0,h.__)("Repeat-X",o.i18n),value:"repeat-x"},{label:(0,h.__)("Repeat-Y",o.i18n),value:"repeat-y"}],value:e.tabletBackgroundRepeat,onChange:e.onChangeTabletBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"})),(0,i.createElement)(Il,{screen:"mobile"},(0,i.createElement)(gt,{label:(0,h.__)("Image Repeat",o.i18n),options:[{label:(0,h.__)("Default",o.i18n),value:""},{label:(0,h.__)("No-Repeat",o.i18n),value:"no-repeat"},{label:(0,h.__)("Repeat",o.i18n),value:"repeat"},{label:(0,h.__)("Repeat-X",o.i18n),value:"repeat-x"},{label:(0,h.__)("Repeat-Y",o.i18n),value:"repeat-y"}],value:e.mobileBackgroundRepeat,onChange:e.onChangeMobileBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"})),(0,i.createElement)(Il,null,(0,i.createElement)(gt,{label:(0,h.__)("Image Size",o.i18n),options:[{label:(0,h.__)("Default",o.i18n),value:""},{label:(0,h.__)("Auto",o.i18n),value:"auto"},{label:(0,h.__)("Cover",o.i18n),value:"cover"},{label:(0,h.__)("Contain",o.i18n),value:"contain"},{label:(0,h.__)("Custom",o.i18n),value:"custom"}],value:e.backgroundSize,onChange:e.onChangeBackgroundSize,className:"ugb--help-tip-background-image-size"})),(0,i.createElement)(Il,{screen:"tablet"},(0,i.createElement)(gt,{label:(0,h.__)("Image Size",o.i18n),options:[{label:(0,h.__)("Default",o.i18n),value:""},{label:(0,h.__)("Auto",o.i18n),value:"auto"},{label:(0,h.__)("Cover",o.i18n),value:"cover"},{label:(0,h.__)("Contain",o.i18n),value:"contain"},{label:(0,h.__)("Custom",o.i18n),value:"custom"}],value:e.tabletBackgroundSize,onChange:e.onChangeTabletBackgroundSize,className:"ugb--help-tip-background-image-size"})),(0,i.createElement)(Il,{screen:"mobile"},(0,i.createElement)(gt,{label:(0,h.__)("Image Size",o.i18n),options:[{label:(0,h.__)("Default",o.i18n),value:""},{label:(0,h.__)("Auto",o.i18n),value:"auto"},{label:(0,h.__)("Cover",o.i18n),value:"cover"},{label:(0,h.__)("Contain",o.i18n),value:"contain"},{label:(0,h.__)("Custom",o.i18n),value:"custom"}],value:e.mobileBackgroundSize,onChange:e.onChangeMobileBackgroundSize,className:"ugb--help-tip-background-image-size"})),"custom"===e.backgroundSize&&(0,i.createElement)(Il,null,(0,i.createElement)(ut,{label:(0,h.__)("Custom Size",o.i18n),units:["px","%","vw"],min:[0,0,0],max:[1e3,100,100],unit:e.backgroundCustomSizeUnit,onChangeUnit:e.onChangeBackgroundCustomSizeUnit,value:e.backgroundCustomSize,onChange:e.onChangeBackgroundCustomSize,allowReset:!0})),"custom"===e.tabletBackgroundSize&&(0,i.createElement)(Il,{screen:"tablet"},(0,i.createElement)(ut,{label:(0,h.__)("Custom Size",o.i18n),units:["px","%","vw"],min:[0,0,0],max:[1e3,100,100],unit:e.tabletBackgroundCustomSizeUnit,onChangeUnit:e.onChangeTabletBackgroundCustomSizeUnit,value:e.tabletBackgroundCustomSize,onChange:e.onChangeTabletBackgroundCustomSize,allowReset:!0})),"custom"===e.mobileBackgroundSize&&(0,i.createElement)(Il,{screen:"mobile"},(0,i.createElement)(ut,{label:(0,h.__)("Custom Size",o.i18n),units:["px","%","vw"],min:[0,0,0],max:[1e3,100,100],unit:e.mobileBackgroundCustomSizeUnit,onChangeUnit:e.onChangeMobileBackgroundCustomSizeUnit,value:e.mobileBackgroundCustomSize,onChange:e.onChangeMobileBackgroundCustomSize,allowReset:!0})),e.onChangeBackgroundImageBlendMode&&(0,i.createElement)(qe,{label:(0,h.__)("Image Blend Mode",o.i18n),value:e.backgroundImageBlendMode,onChange:e.onChangeBackgroundImageBlendMode})));si.defaultProps={backgroundColorType:"",backgroundColor:"",backgroundColorOpacity:"",backgroundColor2:"",backgroundMediaID:"",backgroundMediaURL:"",tabletBackgroundMediaID:"",tabletBackgroundMediaURL:"",mobileBackgroundMediaID:"",mobileBackgroundMediaURL:"",backgroundTintStrength:"",fixedBackground:"",onChangeBackgroundColorType:()=>{},onChangeBackgroundColor:()=>{},onChangeBackgroundColorOpacity:()=>{},onChangeBackgroundColor2:()=>{},onChangeBackgroundMedia:e=>{let{url:t,id:a}=e},onChangeTabletBackgroundMedia:e=>{let{url:t,id:a}=e},onChangeMobileBackgroundMedia:e=>{let{url:t,id:a}=e},onChangeBackgroundTintStrength:()=>{},onChangeFixedBackground:()=>{},labelBackgroundColorType:(0,h.__)("Background Color Type",o.i18n),labelBackgroundColor:(0,h.__)("Background Color",o.i18n),hasAdvancedGradient:!0,backgroundGradientDirection:"",backgroundGradientBlendMode:"",backgroundGradientLocation1:0,backgroundGradientLocation2:100,onResetAdvancedGradient:()=>{},onChangeBackgroundGradientDirection:()=>{},onChangeBackgroundGradientBlendMode:()=>{},onChangeBackgroundGradientLocation1:()=>{},onChangeBackgroundGradientLocation2:()=>{},hasAdvancedBackground:!0,backgroundMediaAllowVideo:!0,backgroundPosition:"",tabletBackgroundPosition:"",mobileBackgroundPosition:"",backgroundRepeat:"",tabletBackgroundRepeat:"",mobileBackgroundRepeat:"",backgroundSize:"",tabletBackgroundSize:"",mobileBackgroundSize:"",backgroundCustomSize:"",tabletBackgroundCustomSize:"",mobileBackgroundCustomSize:"",backgroundCustomSizeUnit:"%",tabletBackgroundCustomSizeUnit:"%",mobileBackgroundCustomSizeUnit:"%",backgroundImageBlendMode:"",onResetAdvancedBackground:()=>{},onChangeBackgroundPosition:()=>{},onChangeTabletBackgroundPosition:()=>{},onChangeMobileBackgroundPosition:()=>{},onChangeBackgroundRepeat:()=>{},onChangeTabletBackgroundRepeat:()=>{},onChangeMobileBackgroundRepeat:()=>{},onChangeBackgroundSize:()=>{},onChangeTabletBackgroundSize:()=>{},onChangeMobileBackgroundSize:()=>{},onChangeBackgroundCustomSize:()=>{},onChangeTabletBackgroundCustomSize:()=>{},onChangeMobileBackgroundCustomSize:()=>{},onChangeBackgroundCustomSizeUnit:()=>{},onChangeTabletBackgroundCustomSizeUnit:()=>{},onChangeMobileBackgroundCustomSizeUnit:()=>{},onChangeBackgroundImageBlendMode:()=>{}};const oi=e=>{const t=e.design?e.design:"basic",a=e.size?e.size:"normal",n="basic"===t;return(0,i.createElement)(i.Fragment,null,e.onChangeUrl&&(0,i.createElement)(b,{label:(0,h.__)("Link / URL",o.i18n),value:e.url,onChange:e.onChangeUrl,placeholder:"http://"}),e.onChangeUrl&&e.onChangeNewTab&&(0,i.createElement)(vr,{label:(0,h.__)("Open link in new tab",o.i18n),checked:e.newTab,onChange:e.onChangeNewTab}),e.onChangeUrl&&e.onChangeNoFollow&&(0,i.createElement)(vr,{label:(0,h.__)("Nofollow link",o.i18n),checked:e.noFollow,onChange:e.onChangeNoFollow}),e.onChangeUrl&&e.onChangeSponsored&&(0,i.createElement)(vr,{label:(0,h.__)("Sponsored",o.i18n),checked:e.sponsored,onChange:e.onChangeSponsored}),e.onChangeUrl&&e.onChangeUgc&&(0,i.createElement)(vr,{label:(0,h.__)("UGC",o.i18n),checked:e.ugc,onChange:e.onChangeUgc}),e.onChangeUrl&&(0,i.createElement)(lr,null),e.onChangeDesign&&(0,i.createElement)(Pn,{label:(0,h.__)("Design",o.i18n),selected:t,options:[{label:(0,h.__)("Basic",o.i18n),value:"basic",image:"dist/images/components-button-controls-basic.491974a.png"},{label:(0,h.__)("Ghost",o.i18n),value:"ghost",image:"dist/images/components-button-controls-ghost.a0ffb12.png"},{label:(0,h.__)("Plain",o.i18n),value:"plain",image:"dist/images/components-button-controls-plain.c53a21e.png"},...e.onChangeUseSocialColors?[]:[{label:(0,h.__)("Link",o.i18n),value:"link",image:"dist/images/components-button-controls-link.0f2d52b.png"}],...(0,M.applyFilters)("stackable.button-controls.layouts",[])],onChange:e.onChangeDesign,columns:4}),(0,i.createElement)(lr,null),e.onChangeUseSocialColors&&(0,i.createElement)(vr,{label:(0,h.__)("Use social colors",o.i18n),checked:e.useSocialColors,onChange:e.onChangeUseSocialColors}),(!e.onChangeUseSocialColors||!e.useSocialColors)&&(0,i.createElement)(i.Fragment,null,e.onChangeBackgroundColorType&&n&&(0,i.createElement)(s.BaseControl,{id:"button-color-type",className:"ugb--help-tip-button-color-type"},(0,i.createElement)(Xt,{controls:[{value:"",title:(0,h.__)("Single",o.i18n)},{value:"gradient",title:(0,h.__)("Gradient",o.i18n)}],value:e.backgroundColorType,onChange:e.onChangeBackgroundColorType,fullwidth:!1,isSmall:!0})),e.onChangeBackgroundColor&&"link"!==t&&(0,i.createElement)(Ge,{label:e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&n?(0,h.sprintf)((0,h._x)("%s #%d","Panel title",o.i18n),(0,h.__)("Button Color",o.i18n),1):(0,h.__)("Button Color",o.i18n),value:e.backgroundColor,onChange:e.onChangeBackgroundColor}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&n&&(0,i.createElement)(Ge,{label:(0,h.sprintf)((0,h._x)("%s #%d","Panel title",o.i18n),(0,h.__)("Button Color",o.i18n),2),value:e.backgroundColor2,onChange:e.onChangeBackgroundColor2}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&n&&(0,i.createElement)(ut,{label:(0,h.__)("Gradient Direction (degrees)",o.i18n),value:e.backgroundGradientDirection,onChange:e.onChangeBackgroundGradientDirection,min:0,max:360,step:10,allowReset:!0,placeholder:"90",className:"ugb--help-tip-gradient-direction"}),e.onChangeTextColor&&n&&(0,i.createElement)(Ge,{label:(0,h.__)("Text Color",o.i18n),value:e.textColor,onChange:e.onChangeTextColor})),"link"!==t&&(0,i.createElement)(lr,null),e.onChangeHoverGhostToNormal&&"ghost"===t&&(0,i.createElement)(vr,{label:(0,h.__)("Change to Normal Button on Hover",o.i18n),checked:e.hoverGhostToNormal,onChange:e.onChangeHoverGhostToNormal,className:"ugb--help-tip-button-to-normal"}),e.onChangeHoverEffect&&"link"!==t&&(0,i.createElement)(gt,{label:(0,h.__)("Hover Effect",o.i18n),value:e.hoverEffect,onChange:e.onChangeHoverEffect,options:[{value:"",label:(0,h.__)("None",o.i18n)},{value:"lift",label:(0,h.__)("Lift",o.i18n)},{value:"scale",label:(0,h.__)("Scale",o.i18n)},{value:"lift-scale",label:(0,h.__)("Lift & Scale",o.i18n)},{value:"scale-more",label:(0,h.__)("Scale More",o.i18n)},{value:"lift-scale-more",label:(0,h.__)("Lift & Scale More",o.i18n)}],className:"ugb--help-tip-button-hover-effect"}),e.onChangeOpacity&&(0,i.createElement)(ut,{label:e.hoverOpacityLabel,value:e.hoverOpacity,onChange:e.onChangeHoverOpacity,min:0,max:1,step:.1,placeholder:"0.8",allowReset:!0,className:"ugb--help-tip-button-hover-opacity"}),e.hasHoverColors&&"link"!==t&&(!e.onChangeUseSocialColors||!e.useSocialColors)&&(0,i.createElement)(ei,{label:e.hoverColorsLabel,onReset:e.onResetHoverColors,allowReset:e.hoverBackgroundColor||e.hoverBackgroundColor2||e.hoverBackgroundGradientDirection||e.hoverTextColor,className:"ugb--help-tip-button-hover-color"},e.onChangeHoverBackgroundColor&&(0,i.createElement)(Ge,{label:e.onChangeHoverBackgroundColor&&("ghost"===t&&e.hoverGhostToNormal||"gradient"===e.backgroundColorType&&n)?(0,h.sprintf)((0,h._x)("%s #%d","Panel title",o.i18n),(0,h.__)("Button Color",o.i18n),1):(0,h.__)("Button Color",o.i18n),value:e.hoverBackgroundColor,onChange:e.onChangeHoverBackgroundColor,className:"ugb--help-tip-button-hover-color"}),e.onChangeHoverBackgroundColor2&&("ghost"===t&&e.hoverGhostToNormal||"gradient"===e.backgroundColorType&&n)&&(0,i.createElement)(Ge,{label:(0,h.sprintf)((0,h._x)("%s #%d","Panel title",o.i18n),(0,h.__)("Button Color",o.i18n),2),value:e.hoverBackgroundColor2,onChange:e.onChangeHoverBackgroundColor2}),e.onChangeHoverBackgroundColor2&&("ghost"===t&&e.hoverGhostToNormal||"gradient"===e.backgroundColorType&&n)&&(0,i.createElement)(ut,{label:(0,h.__)("Gradient Direction (degrees)",o.i18n),value:e.hoverBackgroundGradientDirection,onChange:e.onChangeHoverBackgroundGradientDirection,min:0,max:360,step:10,allowReset:!0,placeholder:"90",className:"ugb--help-tip-gradient-direction"}),e.onChangeHoverTextColor&&("ghost"===t&&e.hoverGhostToNormal||n)&&(0,i.createElement)(Ge,{label:(0,h.__)("Text Color",o.i18n),value:e.hoverTextColor,onChange:e.onChangeHoverTextColor})),"link"!==t&&(0,i.createElement)(lr,null),e.hasTypography&&"link"!==t&&(0,i.createElement)(ri,{attrNameTemplate:e.attrNameTemplate,setAttributes:e.setAttributes,blockAttributes:e.blockAttributes,onChangeLineHeight:null,showSecondFontSize:!1,placeholder:e.placeholder}),e.onChangeSize&&(!e.onChangeDesign||"link"!==t)&&(0,i.createElement)(gt,{label:(0,h.__)("Button Size",o.i18n),value:a,options:[{value:"tiny",label:(0,h.__)("Tiny",o.i18n)},{value:"small",label:(0,h.__)("Small",o.i18n)},{value:"normal",label:(0,h.__)("Normal",o.i18n)},{value:"medium",label:(0,h.__)("Medium",o.i18n)},{value:"large",label:(0,h.__)("Large",o.i18n)}],onChange:e.onChangeSize,defaultValue:"normal",className:"ugb--help-tip-button-size"}),e.onChangeBorderRadius&&"link"!==t&&"plain"!==t&&(0,i.createElement)(ut,{label:(0,h.__)("Border Radius",o.i18n),value:e.borderRadius,min:"0",max:"100",onChange:e.onChangeBorderRadius,allowReset:!0,placeholder:"4",className:"ugb--help-tip-button-border-radius"}),e.onChangePaddings&&"link"!==t&&"plain"!==t&&(0,i.createElement)(Ni,{label:(0,h.__)("Vertical Padding",o.i18n),top:e.paddingTop,bottom:e.paddingBottom,onChange:e.onChangePaddings,enableLeft:!1,enableRight:!1,placeholder:8,className:"ugb--help-tip-button-vertical-padding"}),e.onChangePaddings&&"link"!==t&&"plain"!==t&&(0,i.createElement)(Ni,{label:(0,h.__)("Horizontal Padding",o.i18n),right:e.paddingRight,left:e.paddingLeft,onChange:e.onChangePaddings,enableTop:!1,enableBottom:!1,max:100,placeholder:26,className:"ugb--help-tip-button-horizontal-padding"}),e.onChangeBorderWidth&&"ghost"===t&&(0,i.createElement)(ut,{label:(0,h.__)("Border Width",o.i18n),value:e.borderWidth,min:"1",max:"6",onChange:e.onChangeBorderWidth,allowReset:!0,placeholder:"2"}),e.onChangeShadow&&(""===t||"basic"===t)&&(0,i.createElement)(ut,{label:(0,h.__)("Shadow",o.i18n),value:e.shadow,onChange:e.onChangeShadow,min:0,max:9,allowReset:!0,placeholder:"0",className:"ugb--help-tip-button-shadow"}),e.onChangeOpacity&&(0,i.createElement)(ut,{label:(0,h.__)("Opacity",o.i18n),value:e.opacity,onChange:e.onChangeOpacity,min:0,max:1,step:.1,allowReset:!0,placeholder:"1.0"}),e.onChangeIcon&&"link"!==t&&(0,i.createElement)(lr,null),e.onChangeIcon&&"link"!==t&&(0,i.createElement)(An,{label:(0,h.__)("Icon",o.i18n),value:e.icon,onChange:e.onChangeIcon}),e.hasAdvancedIcon&&"link"!==t&&""!==e.icon&&(0,i.createElement)(ei,{label:(0,h.__)("Adv. Icon Settings",o.i18n),onReset:e.onResetAdvancedIcon,allowReset:e.iconPosition||""!==e.iconSize||""!==e.iconSpacing},e.onChangeIconSize&&(0,i.createElement)(ut,{label:(0,h.__)("Icon Size",o.i18n),value:e.iconSize,onChange:e.onChangeIconSize,min:5,max:100,step:1,allowReset:!0}),e.onChangeIconPosition&&(0,i.createElement)(gt,{label:(0,h.__)("Icon Position",o.i18n),value:e.iconPosition,options:[{value:"",label:(0,h.__)("Left",o.i18n)},{value:"right",label:(0,h.__)("Right",o.i18n)}],onChange:e.onChangeIconPosition}),e.onChangeIconSpacing&&(0,i.createElement)(ut,{label:(0,h.__)("Icon Spacing",o.i18n),value:e.iconSpacing,onChange:e.onChangeIconSpacing,min:0,max:50,step:1,allowReset:!0,placeholder:"16"})))};oi.defaultProps={hasTypography:!0,attrNameTemplate:"%s",setAttributes:()=>{},blockAttributes:{},design:"",onChangeDesign:()=>{},url:"",newTab:"",noFollow:"",sponsored:"",ugc:"",onChangeUrl:()=>{},onChangeNewTab:()=>{},onChangeNoFollow:()=>{},onChangeSponsored:()=>{},onChangeUgc:()=>{},size:"",onChangeSize:()=>{},opacity:"",textColor:"",backgroundColorType:"",backgroundColor:"",backgroundColor2:"",backgroundGradientDirection:"",onChangeOpacity:()=>{},onChangeTextColor:()=>{},onChangeBackgroundColorType:()=>{},onChangeBackgroundColor:()=>{},onChangeBackgroundColor2:()=>{},onChangeBackgroundGradientDirection:()=>{},hasHoverColors:!0,onResetHoverColors:()=>{},hoverEffect:"",hoverOpacity:"",hoverOpacityLabel:(0,h.__)("Hover Opacity",o.i18n),hoverTextColor:"",hoverColorsLabel:(0,h.__)("Hover Colors",o.i18n),hoverBackgroundColor:"",hoverBackgroundColor2:"",hoverBackgroundGradientDirection:"",hoverGhostToNormal:!1,onChangeHoverEffect:()=>{},onChangeHoverOpacity:()=>{},onChangeHoverTextColor:()=>{},onChangeHoverBackgroundColor:()=>{},onChangeHoverBackgroundColor2:()=>{},onChangeHoverBackgroundGradientDirection:()=>{},onChangeHoverGhostToNormal:()=>{},borderRadius:"",onChangeBorderRadius:()=>{},borderWidth:"",onChangeBorderWidth:()=>{},shadow:"",onChangeShadow:()=>{},paddingTop:"",paddingRight:"",paddingBottom:"",paddingLeft:"",onChangePaddings:()=>{},hasAdvancedIcon:!0,onResetAdvancedIcon:()=>{},icon:"",iconSize:"",iconPosition:"",iconSpacing:"",onChangeIcon:()=>{},onChangeIconSize:()=>{},onChangeIconPosition:()=>{},onChangeIconSpacing:()=>{},useSocialColors:!0,onChangeUseSocialColors:null};const ui=oi,ci=e=>{const{setAttributes:t}=e,a=t=>(0,p.camelCase)((0,h.sprintf)(e.attrNameTemplate,t)),l=re(e.blockAttributes,a,"");return(0,i.createElement)(ui,n({design:e.blockAttributes[a("Design")]||"",onChangeDesign:e=>t({[a("Design")]:e}),url:e.blockAttributes[a("Url")]||"",newTab:e.blockAttributes[a("NewTab")]||"",noFollow:e.blockAttributes[a("NoFollow")]||"",sponsored:e.blockAttributes[a("Sponsored")]||"",ugc:e.blockAttributes[a("Ugc")]||"",onChangeUrl:e=>t({[a("Url")]:e}),onChangeNewTab:e=>t({[a("NewTab")]:e}),onChangeNoFollow:e=>t({[a("NoFollow")]:e}),onChangeSponsored:e=>t({[a("Sponsored")]:e}),onChangeUgc:e=>t({[a("Ugc")]:e}),size:e.blockAttributes[a("Size")]||"",onChangeSize:e=>t({[a("Size")]:e}),opacity:e.blockAttributes[a("Opacity")]||"",textColor:e.blockAttributes[a("TextColor")]||"",backgroundColorType:e.blockAttributes[a("BackgroundColorType")]||"",backgroundColor:e.blockAttributes[a("BackgroundColor")]||"",backgroundColor2:e.blockAttributes[a("BackgroundColor2")]||"",backgroundGradientDirection:l("BackgroundGradientDirection"),onChangeOpacity:e=>t({[a("Opacity")]:e}),onChangeTextColor:e=>t({[a("TextColor")]:e}),onChangeBackgroundColorType:e=>t({[a("BackgroundColorType")]:e}),onChangeBackgroundColor:e=>t({[a("BackgroundColor")]:e}),onChangeBackgroundColor2:e=>t({[a("BackgroundColor2")]:e}),onChangeBackgroundGradientDirection:e=>t({[a("BackgroundGradientDirection")]:e}),onResetHoverColors:()=>{t({[a("HoverBackgroundColor")]:"",[a("HoverBackgroundColor2")]:"",[a("HoverBackgroundGradientDirection")]:"",[a("HoverTextColor")]:""})},hoverEffect:e.blockAttributes[a("HoverEffect")]||"",hoverOpacity:e.blockAttributes[a("HoverOpacity")]||"",hoverOpacityLabel:e.hoverOpacityLabel,hoverColorsLabel:e.hoverColorsLabel,hoverTextColor:e.blockAttributes[a("HoverTextColor")]||"",hoverBackgroundColor:e.blockAttributes[a("HoverBackgroundColor")]||"",hoverBackgroundColor2:e.blockAttributes[a("HoverBackgroundColor2")]||"",hoverBackgroundGradientDirection:l("HoverBackgroundGradientDirection"),hoverGhostToNormal:e.blockAttributes[a("HoverGhostToNormal")]||"",onChangeHoverEffect:e=>t({[a("HoverEffect")]:e}),onChangeHoverOpacity:e=>t({[a("HoverOpacity")]:e}),onChangeHoverTextColor:e=>t({[a("HoverTextColor")]:e}),onChangeHoverBackgroundColor:e=>t({[a("HoverBackgroundColor")]:e}),onChangeHoverBackgroundColor2:e=>t({[a("HoverBackgroundColor2")]:e}),onChangeHoverBackgroundGradientDirection:e=>t({[a("HoverBackgroundGradientDirection")]:e}),onChangeHoverGhostToNormal:e=>t({[a("HoverGhostToNormal")]:e}),borderRadius:e.blockAttributes[a("BorderRadius")],borderWidth:e.blockAttributes[a("BorderWidth")],shadow:e.blockAttributes[a("Shadow")],onChangeBorderRadius:e=>t({[a("BorderRadius")]:e}),onChangeBorderWidth:e=>t({[a("BorderWidth")]:e}),onChangeShadow:e=>t({[a("Shadow")]:e}),paddingTop:l("PaddingTop"),paddingRight:l("PaddingRight"),paddingBottom:l("PaddingBottom"),paddingLeft:l("PaddingLeft"),onChangePaddings:e=>{const n={};void 0!==e.top&&(n[a("PaddingTop")]=""!==e.top?parseInt(e.top,10):""),void 0!==e.right&&(n[a("PaddingRight")]=""!==e.right?parseInt(e.right,10):""),void 0!==e.bottom&&(n[a("PaddingBottom")]=""!==e.bottom?parseInt(e.bottom,10):""),void 0!==e.left&&(n[a("PaddingLeft")]=""!==e.left?parseInt(e.left,10):""),t(n)},icon:e.blockAttributes[a("Icon")]||"",onChangeIcon:e.enableIcon?e=>t({[a("Icon")]:e}):null,onResetAdvancedIcon:()=>{t({[a("IconSize")]:"",[a("IconPosition")]:"",[a("IconSpacing")]:""})},iconSize:e.blockAttributes[a("IconSize")]||"",iconPosition:e.blockAttributes[a("IconPosition")]||"",iconSpacing:e.blockAttributes[a("IconSpacing")],onChangeIconSize:e=>t({[a("IconSize")]:e}),onChangeIconPosition:e=>t({[a("IconPosition")]:e}),onChangeIconSpacing:e=>t({[a("IconSpacing")]:e})},e))};ci.defaultProps={attrNameTemplate:"%s",setAttributes:()=>{},blockAttributes:{},enableIcon:!0,hoverOpacityLabel:(0,h.__)("Hover Opacity",o.i18n),hoverColorsLabel:(0,h.__)("Hover Colors",o.i18n)};const gi=ci,mi=e=>(0,i.createElement)(i.Fragment,null,e.onChangeBorderType&&(0,i.createElement)(Xt,{label:(0,h.__)("Borders",o.i18n),controls:[{value:"",title:(0,h.__)("None",o.i18n)},{value:"solid",title:(0,h.__)("Solid",o.i18n)},{value:"dashed",title:(0,h.__)("Dashed",o.i18n)},{value:"dotted",title:(0,h.__)("Dotted",o.i18n)}],className:"ugb-border-controls__border-type-toolbar",value:e.borderType,onChange:e.onChangeBorderType,fullwidth:!0,isSmall:!0}),e.onChangeBorderWidth&&e.borderType&&(0,i.createElement)(vi,{label:(0,h.__)("Border Width"),units:["px"],min:0,max:99,step:1,sliderMax:5,defaultLocked:!0,valueDesktop:{top:e.borderWidthTop,right:e.borderWidthRight,bottom:e.borderWidthBottom,left:e.borderWidthLeft},onChangeDesktop:t=>{let{top:a,right:n,bottom:i,left:l}=t;e.onChangeBorderWidth({top:a||0===a?parseInt(a,10):"",right:n||0===n?parseInt(n,10):"",bottom:i||0===i?parseInt(i,10):"",left:l||0===l?parseInt(l,10):"",borderType:e.borderType?void 0:"solid"})},valueTablet:{top:e.tabletBorderWidthTop,right:e.tabletBorderWidthRight,bottom:e.tabletBorderWidthBottom,left:e.tabletBorderWidthLeft},onChangeTablet:t=>{let{top:a,right:n,bottom:i,left:l}=t;e.onChangeTabletBorderWidth({top:a||0===a?parseInt(a,10):"",right:n||0===n?parseInt(n,10):"",bottom:i||0===i?parseInt(i,10):"",left:l||0===l?parseInt(l,10):""})},valueMobile:{top:e.mobileBorderWidthTop,right:e.mobileBorderWidthRight,bottom:e.mobileBorderWidthBottom,left:e.mobileBorderWidthLeft},onChangeMobile:t=>{let{top:a,right:n,bottom:i,left:l}=t;e.onChangeMobileBorderWidth({top:a||0===a?parseInt(a,10):"",right:n||0===n?parseInt(n,10):"",bottom:i||0===i?parseInt(i,10):"",left:l||0===l?parseInt(l,10):""})},placeholder:"1",placeholderTop:"1",placeholderLeft:"1",placeholderBottom:"1",placeholderRight:"1"}),e.onChangeBorderColor&&e.borderType&&(0,i.createElement)(Ge,{value:e.borderColor,onChange:t=>{e.onChangeBorderColor({color:t,borderType:e.borderType?void 0:"solid"})},label:(0,h.__)("Border Color",o.i18n)}));mi.defaultProps={onResetBorder:()=>{},borderType:"",onChangeBorderType:()=>{},borderWidthTop:"",borderWidthRight:"",borderWidthBottom:"",borderWidthLeft:"",tabletBorderWidthTop:"",tabletBorderWidthRight:"",tabletBorderWidthBottom:"",tabletBorderWidthLeft:"",mobileBorderWidthTop:"",mobileBorderWidthRight:"",mobileBorderWidthBottom:"",mobileBorderWidthLeft:"",onChangeBorderWidth:()=>{},onChangeTabletBorderWidth:()=>{},onChangeMobileBorderWidth:()=>{},borderColor:"",onChangeBorderColor:()=>{}};const di=e=>{const t=e.design?e.design:"basic",a="shaped"===t||"outlined"===t;return(0,i.createElement)(i.Fragment,null,e.onChangeIcon&&(0,i.createElement)(An,{label:(0,h.__)("Icon",o.i18n),value:e.icon,onChange:e.onChangeIcon}),e.onChangeDesign&&(0,i.createElement)(Pn,{label:(0,h.__)("Design",o.i18n),selected:e.design,columns:3,options:[{label:(0,h.__)("Plain",o.i18n),value:"plain",image:"dist/images/components-icon-controls-plain.9b70a90.png"},{label:(0,h.__)("Shaped",o.i18n),value:"shaped",image:"dist/images/components-icon-controls-shaped.bd63950.png"},{label:(0,h.__)("Outlined",o.i18n),value:"outlined",image:"dist/images/components-icon-controls-outlined.fcce4ac.png"},...(0,M.applyFilters)("stackable.icon-controls.edit.layouts",[])],onChange:e.onChangeDesign}),o.showProNotice&&(0,i.createElement)(fi,{title:(0,h.__)("Say Hello to Gorgeous Icons 👋",o.i18n),description:(0,h.__)("Liven up your icons with gradient fills, multiple colors and background shapes. This feature is only available on Stackable Premium",o.i18n)}),o.showProNotice&&(0,i.createElement)(s.BaseControl,{label:(0,h.__)("Icon Color Type",o.i18n),id:"icon-color-type"},(0,i.createElement)(Xt,{controls:[{value:"",title:(0,h.__)("Single",o.i18n)},{value:"gradient",title:(0,h.__)("Gradient",o.i18n),className:"ugb--is-premium",disabled:!0},{value:"multicolor",title:(0,h.__)("Multicolor",o.i18n),className:"ugb--is-premium",disabled:!0}],value:"",fullwidth:!1,isSmall:!0})),(0,M.applyFilters)("stackable.icon-controls.edit.color",(0,i.createElement)(i.Fragment,null,e.onChangeColor&&(0,i.createElement)(Ge,{label:(0,h.__)("Icon Color",o.i18n),value:e.color,onChange:e.onChangeColor})),e),e.onChangeColor&&e.onChangeDesign&&(0,i.createElement)(lr,null),a&&e.onChangeBackgroundColor&&(0,i.createElement)(i.Fragment,null,o.showProNotice&&e.onChangeBackgroundColorType&&"outlined"!==e.design&&(0,i.createElement)(s.BaseControl,{label:(0,h.__)("Icon Shape / Outline Color",o.i18n),id:"icon-shape-color-type"},(0,i.createElement)(Xt,{controls:[{value:"",title:(0,h.__)("Single",o.i18n)},{value:"gradient",title:(0,h.__)("Gradient",o.i18n),className:"ugb--is-premium",disabled:!0}],value:"",fullwidth:!1,isSmall:!0})),(0,M.applyFilters)("stackable.icon-controls.edit.background-color",(0,i.createElement)(i.Fragment,null,e.onChangeBackgroundColor&&(0,i.createElement)(Ge,{label:(0,h.__)("Icon Shape / Outline Color",o.i18n),value:e.backgroundColor,onChange:e.onChangeBackgroundColor})),e),e.onChangeBorderRadius&&(0,i.createElement)(ut,{label:"shaped"===e.design?(0,h.__)("Icon Shape Border Radius",o.i18n):(0,h.__)("Outline Border Radius",o.i18n),value:e.borderRadius,onChange:e.onChangeBorderRadius,min:0,max:50,step:1,allowReset:!0,placeholder:50}),e.onChangePadding&&(0,i.createElement)(ut,{label:"shaped"===e.design?(0,h.__)("Icon Shape Padding",o.i18n):(0,h.__)("Outline Padding",o.i18n),value:e.padding,onChange:e.onChangePadding,min:0,max:150,step:1,allowReset:!0,placeholder:20}),"shaped"===t&&e.onChangeShadow&&(0,i.createElement)(ut,{label:(0,h.__)("Shadow / Outline",o.i18n),value:e.shadow,onChange:e.onChangeShadow,min:0,max:9,allowReset:!0,placeholder:"0",className:"ugb--help-tip-general-shadow"}),"outlined"===t&&e.onChangeOutlineWidth&&(0,i.createElement)(ut,{label:(0,h.__)("Outline Width",o.i18n),value:e.outlineWidth,onChange:e.onChangeOutlineWidth,min:0,max:10,step:1,allowReset:!0,placeholder:"3"}),e.onChangeBackgroundColorType&&(0,i.createElement)(lr,null)),e.onChangeSize&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(Il,null,(0,i.createElement)(ut,{label:(0,h.__)("Icon Size",o.i18n),value:e.size,max:e.sizeMax,onChange:e.onChangeSize,allowReset:!0,placeholder:"50"})),(0,i.createElement)(Il,{screen:"tablet"},(0,i.createElement)(ut,{label:(0,h.__)("Icon Size",o.i18n),value:e.tabletSize,max:e.sizeMax,onChange:e.onChangeTabletSize,allowReset:!0,placeholder:e.size||50})),(0,i.createElement)(Il,{screen:"mobile"},(0,i.createElement)(ut,{label:(0,h.__)("Icon Size",o.i18n),value:e.mobileSize,max:e.sizeMax,onChange:e.onChangeMobileSize,allowReset:!0,placeholder:e.tabletSize||e.size||50}))),e.onChangeOpacity&&(0,i.createElement)(ut,{label:(0,h.__)("Icon Opacity",o.i18n),value:e.opacity,min:0,max:1,step:.1,onChange:e.onChangeOpacity,allowReset:!0,placeholder:"1.0"}),e.onChangeRotation&&(0,i.createElement)(ut,{label:(0,h.__)("Icon Rotation",o.i18n),value:e.rotation,min:0,max:360,onChange:e.onChangeRotation,allowReset:!0,placeholder:"0"}),(0,M.applyFilters)("stackable.icon-controls.edit.after",null,e))};di.defaultProps={icon:"",onChangeIcon:()=>{},design:"",onChangeDesign:()=>{},colorType:"",onChangeColorType:()=>{},color:"",onChangeColor:()=>{},color2:"",onChangeColor2:()=>{},colorGradientDirection:"",onChangeColorGradientDirection:()=>{},numPaths:"",color3:"",onChangeColor3:()=>{},color4:"",onChangeColor4:()=>{},color5:"",onChangeColor5:()=>{},color6:"",onChangeColor6:()=>{},color7:"",onChangeColor7:()=>{},color8:"",onChangeColor8:()=>{},color9:"",onChangeColor9:()=>{},color10:"",onChangeColor10:()=>{},multiOpacity1:"",onChangeMultiOpacity1:()=>{},multiOpacity2:"",onChangeMultiOpacity2:()=>{},multiOpacity3:"",onChangeMultiOpacity3:()=>{},multiOpacity4:"",onChangeMultiOpacity4:()=>{},multiOpacity5:"",onChangeMultiOpacity5:()=>{},multiOpacity6:"",onChangeMultiOpacity6:()=>{},multiOpacity7:"",onChangeMultiOpacity7:()=>{},multiOpacity8:"",onChangeMultiOpacity8:()=>{},multiOpacity9:"",onChangeMultiOpacity9:()=>{},multiOpacity10:"",onChangeMultiOpacity10:()=>{},borderRadius:"",onChangeBorderRadius:()=>{},padding:"",onChangePadding:()=>{},shadow:"",onChangeShadow:()=>{},outlineWidth:"",onChangeOutlineWidth:()=>{},backgroundColorType:"",onChangeBackgroundColorType:()=>{},backgroundColor:"",onChangeBackgroundColor:()=>{},backgroundColor2:"",onChangeBackgroundColor2:()=>{},backgroundColorGradientDirection:"",onChangeBackgroundColorGradientDirection:()=>{},size:"",tabletSize:"",mobileSize:"",sizeMax:300,onChangeSize:()=>{},onChangeTabletSize:()=>{},onChangeMobileSize:()=>{},opacity:"",onChangeOpacity:()=>{},rotation:"",onChangeRotation:()=>{},showBackgroundShape:"",onChangeShowBackgroundShape:()=>{},backgroundShape:"",onChangeBackgroundShape:()=>{},backgroundShapeSize:"",onChangeBackgroundShapeSize:()=>{},backgroundShapeColor:"",onChangeBackgroundShapeColor:()=>{},backgroundShapeOffsetHorizontal:"",onChangeBackgroundShapeHorizontalOffset:()=>{},backgroundShapeOffsetVertical:"",onChangeBackgroundShapeVerticalOffset:()=>{}};const hi=e=>(0,i.createElement)(i.Fragment,null,e.socialUrlFields&&(0,i.createElement)(i.Fragment,null,Object.keys(oe).map((t=>(0,i.createElement)(s.TextControl,{key:t,className:"ugb-social-url-text-control",label:(0,h.sprintf)((0,h._x)("%s Link","name",o.i18n),oe[t].label),value:e[`${t}Url`],onChange:e[`onChange${(0,p.upperFirst)(t)}Url`],placeholder:"http://"})))),e.onChangeNewTab&&(0,i.createElement)(vr,{label:(0,h.__)("Open link in new tab",o.i18n),checked:e.newTab,onChange:e.onChangeNewTab}),(0,i.createElement)(lr,null),(0,i.createElement)(gi,{attrNameTemplate:e.attrNameTemplate,setAttributes:e.setAttributes,blockAttributes:e.blockAttributes,useSocialColors:e.useSocialColors,onChangeUseSocialColors:e.onChangeUseSocialColors,onChangeUrl:!1,onChangeNewTab:!1,onChangeNoFollow:!1,onChangeIcon:!1,hasTypography:!1}));hi.defaultProps={attrNameTemplate:"%s",setAttributes:()=>{},blockAttributes:{},socialUrlFields:!0,newTab:!1,onChangeNewTab:()=>{},useSocialColors:!0,onChangeUseSocialColors:()=>{}};const pi=e=>{const t=(0,p.pick)(e,["label","units","screens","defaultLocked","enableTop","enableRight","enableBottom","enableLeft","className","sliderMax","sliderMin"]),a=Array.isArray(e.min)?e.min:[e.min,e.min,e.min],l=Array.isArray(e.max)?e.max:[e.max,e.max,e.max],r=Array.isArray(e.sliderMin)?e.sliderMin:[e.sliderMin,e.sliderMin,e.sliderMin],s=Array.isArray(e.sliderMax)?e.sliderMax:[e.sliderMax,e.sliderMax,e.sliderMax],o=Array.isArray(e.step)?e.step:[e.step,e.step,e.step];return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(Il,{screen:"desktop"},(0,i.createElement)(Ni,n({},t,{min:a[0],max:l[0],sliderMin:r[0],sliderMax:s[0],step:o[0],top:e.valueDesktop.top,right:e.valueDesktop.right,bottom:e.valueDesktop.bottom,left:e.valueDesktop.left,unit:e.valueDesktopUnit||e.units[0],onChange:t=>{let{top:a,right:n,bottom:i,left:l}=t;e.onChangeDesktop({top:a||0===a?parseInt(a,10):"",right:n||0===n?parseInt(n,10):"",bottom:i||0===i?parseInt(i,10):"",left:l||0===l?parseInt(l,10):""})},onChangeUnit:t=>e.onChangeDesktopUnit(t),placeholder:e.placeholder,placeholderTop:e.placeholderTop,placeholderLeft:e.placeholderLeft,placeholderBottom:e.placeholderBottom,placeholderRight:e.placeholderRight}))),(0,i.createElement)(Il,{screen:"tablet"},(0,i.createElement)(Ni,n({},t,{min:a[1],max:l[1],sliderMin:r[1],sliderMax:s[1],step:o[1],top:e.valueTablet.top,right:e.valueTablet.right,bottom:e.valueTablet.bottom,left:e.valueTablet.left,unit:e.valueTabletUnit||e.units[0],onChange:t=>{let{top:a,right:n,bottom:i,left:l}=t;e.onChangeTablet({top:a||0===a?parseInt(a,10):"",right:n||0===n?parseInt(n,10):"",bottom:i||0===i?parseInt(i,10):"",left:l||0===l?parseInt(l,10):""})},onChangeUnit:t=>e.onChangeTabletUnit(t)}))),(0,i.createElement)(Il,{screen:"mobile"},(0,i.createElement)(Ni,n({},t,{min:a[2],max:l[2],sliderMin:r[2],sliderMax:s[2],step:o[2],top:e.valueMobile.top,right:e.valueMobile.right,bottom:e.valueMobile.bottom,left:e.valueMobile.left,unit:e.valueMobileUnit||e.units[0],onChange:t=>{let{top:a,right:n,bottom:i,left:l}=t;e.onChangeMobile({top:a||0===a?parseInt(a,10):"",right:n||0===n?parseInt(n,10):"",bottom:i||0===i?parseInt(i,10):"",left:l||0===l?parseInt(l,10):""})},onChangeUnit:t=>e.onChangeMobileUnit(t)}))))};pi.defaultProps={label:(0,h.__)("Spacing",o.i18n),defaultLocked:!0,units:["px","em","%"],screens:["desktop","tablet","mobile"],min:0,max:1/0,sliderMax:null,sliderMin:null,step:1,enableTop:!0,enableRight:!0,enableBottom:!0,enableLeft:!0,valueDesktop:{},valueTablet:{},valueMobile:{},valueDesktopUnit:"",valueTabletUnit:"",valueMobileUnit:"",onChangeDesktop:()=>{},onChangeTablet:()=>{},onChangeMobile:()=>{},onChangeDesktopUnit:()=>{},onChangeTabletUnit:()=>{},onChangeMobileUnit:()=>{},placeholderTop:"60",placeholderLeft:"35",placeholderBottom:"60",placeholderRight:"35",placeholder:"",className:"ugb--help-tip-advanced-column-paddings"};const vi=pi;class bi extends i.Component{constructor(){super(...arguments),this.state={isOpen:!!this.props.initialOpen&&this.props.initialOpen},this.onClick=this.onClick.bind(this)}onClick(){this.setState({isOpen:!this.state.isOpen})}render(){const e=m()(["ugb-pro-control-button__wrapper"],{"ugb-pro-control-button--hidden":!this.state.isOpen});return(0,i.createElement)("div",{className:"components-base-control"},(0,i.createElement)("button",{className:"ugb-pro-control-more-dots",onClick:this.onClick},(0,i.createElement)("div",{className:"ugb-pro-control-more-dots__dot"}),(0,i.createElement)("div",{className:"ugb-pro-control-more-dots__dot"}),(0,i.createElement)("div",{className:"ugb-pro-control-more-dots__dot"})),(0,i.createElement)("div",{className:e},(0,i.createElement)(wt,{type:this.props.type,title:this.props.title,description:this.props.description,button:this.props.button,showButton:this.props.showButton})))}}const fi=bi,yi=e=>{const t="all"===e.screens?["desktop","tablet","mobile"]:e.screens,a=(0,i.useMemo)((()=>{var t;return null===(t=e.units)||void 0===t?void 0:t.map((e=>({value:e})))}),[e.units])||[];return(0,i.createElement)("div",{className:"ugb-base-control-multi-label"},(0,i.createElement)("div",{className:"ugb-base-control-multi-label__label components-base-control__label"},e.label),(0,i.createElement)(Oe,{screens:t}),(0,i.createElement)("div",{className:"ugb-base-control-multi-label__units"},(0,i.createElement)(w,{className:"stk-control-unit-toggle",value:e.unit,options:a,onChange:t=>e.onChangeUnit(t),labelPosition:"left",buttonLabel:(0,h.__)("Unit",o.i18n),hasLabels:!1,hasColors:!1}),e.afterButton))};yi.defaultProps={label:"",units:["px"],unit:"px",onChangeUnit:()=>{},screens:["desktop"],afterButton:null};const ki=yi;class _i extends i.Component{constructor(){super(...arguments);const e=this.getEnabledValues(),t=!e.length||e.every((t=>t===e[0])),a=e.every((e=>""===e));this.state={locked:a?this.props.defaultLocked:t},this.onToggleLock=this.onToggleLock.bind(this),this.onChangeTop=this.onChangeTop.bind(this),this.onChangeRight=this.onChangeRight.bind(this),this.onChangeBottom=this.onChangeBottom.bind(this),this.onChangeLeft=this.onChangeLeft.bind(this)}getEnabledValues(){return[...this.props.enableTop?[this.props.top]:[],...this.props.enableRight?[this.props.right]:[],...this.props.enableBottom?[this.props.bottom]:[],...this.props.enableLeft?[this.props.left]:[]]}getEnabledLocations(){return[...this.props.enableTop?["top"]:[],...this.props.enableRight?["right"]:[],...this.props.enableBottom?["bottom"]:[],...this.props.enableLeft?["left"]:[]]}filterOnlyEnabled(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,p.pick)(e,this.getEnabledLocations())}onToggleLock(){this.setState({locked:!this.state.locked})}onChangeTop(e){const t=e.target.value,a=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:a,right:a,bottom:a,left:a})):this.props.onChange({...this.getEnabledValues(),top:a})}onChangeRight(e){const t=e.target.value,a=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:a,right:a,bottom:a,left:a})):this.props.onChange({...this.getEnabledValues(),right:a})}onChangeBottom(e){const t=e.target.value,a=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:a,right:a,bottom:a,left:a})):this.props.onChange({...this.getEnabledValues(),bottom:a})}onChangeLeft(e){const t=e.target.value,a=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:a,right:a,bottom:a,left:a})):this.props.onChange({...this.getEnabledValues(),left:a})}render(){const{instanceId:e}=this.props,t=`ugb-four-number-control-${e}__item-`;return(0,i.createElement)(s.BaseControl,{help:this.props.help,className:m()("ugb-four-number-control",this.props.className)},(0,i.createElement)(ki,{label:this.props.label,units:this.props.units,unit:this.props.unit,onChangeUnit:this.props.onChangeUnit,screens:this.props.screens}),(0,i.createElement)("div",{className:"ugb-four-number-control__wrapper"},(0,i.createElement)("label",{className:"ugb-four-number-control__label",htmlFor:`${t}-top`},(0,i.createElement)("input",{id:`${t}-top`,type:"number",onChange:this.onChangeTop,"aria-label":(0,h.__)("Top",o.i18n),value:this.props.top,placeholder:this.props.enableTop?"":(0,h.__)("auto",o.i18n),disabled:!this.props.enableTop}),(0,i.createElement)("span",null,(0,h.__)("Top",o.i18n))),(0,i.createElement)("label",{className:"ugb-four-number-control__label",htmlFor:`${t}-right`},(0,i.createElement)("input",{id:`${t}-right`,type:"number",onChange:this.onChangeRight,"aria-label":this.props.label,value:this.props.right,placeholder:this.props.enableRight?"":(0,h.__)("auto",o.i18n),disabled:!this.props.enableRight}),(0,i.createElement)("span",null,(0,h.__)("Right",o.i18n))),(0,i.createElement)("label",{className:"ugb-four-number-control__label",htmlFor:`${t}-bottom`},(0,i.createElement)("input",{id:`${t}-bottom`,type:"number",onChange:this.onChangeBottom,"aria-label":this.props.label,value:this.props.bottom,placeholder:this.props.enableBottom?"":(0,h.__)("auto",o.i18n),disabled:!this.props.enableBottom}),(0,i.createElement)("span",null,(0,h.__)("Bottom",o.i18n))),(0,i.createElement)("label",{className:"ugb-four-number-control__label",htmlFor:`${t}-left`},(0,i.createElement)("input",{id:`${t}-left`,type:"number",onChange:this.onChangeLeft,"aria-label":this.props.label,value:this.props.left,placeholder:this.props.enableLeft?"":(0,h.__)("auto",o.i18n),disabled:!this.props.enableLeft}),(0,i.createElement)("span",null,(0,h.__)("Left",o.i18n))),(0,i.createElement)(f,{className:this.state.locked?"ugb--is-locked":"",onClick:this.onToggleLock,icon:(0,i.createElement)(s.Dashicon,{icon:this.state.locked?"admin-links":"editor-unlink",size:"16"})})))}}_i.defaultProps={onChange:()=>{},defaultLocked:!0,top:"",right:"",bottom:"",left:"",units:["px"],unit:"px",onChangeUnit:()=>{},screens:["desktop"],enableTop:!0,enableRight:!0,enableBottom:!0,enableLeft:!0},(0,te.withInstanceId)(_i);const wi=function(e){return(0,i.createElement)("svg",n({id:"all_svg__Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",xmlSpace:"preserve"},e),(0,i.createElement)("style",null,".all_svg__st0{fill:#555d63}"),(0,i.createElement)("path",{className:"all_svg__st0",d:"M13 11.5v-7l2.3-1.9c.3-.2.7-.1.7.1v10.5c0 .2-.3.3-.7.2L13 11.5zM3 4.5v7L.7 13.4c-.3.2-.7.1-.7-.1V2.7c0-.2.3-.3.7-.2l2.3 2zM11.5 3h-7L2.6.7c-.2-.3-.1-.7.1-.7h10.5c.2 0 .3.3.2.7L11.5 3zM4.5 13h7l1.9 2.3c.2.2.1.7-.2.7H2.7c-.2 0-.3-.3-.2-.7l2-2.3z"}))},xi=function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,i.createElement)("path",{d:"M0 0v16h16V0H0zm13 13H3V3h10v10z",opacity:.06,fill:"#555d63"}),(0,i.createElement)("path",{d:"M3.8 13h8.4l2.2 2.3c.2.2.1.7-.2.7H1.8c-.3 0-.4-.3-.2-.7L3.8 13z",fill:"#555d63"}))},Ci=function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,i.createElement)("path",{d:"M0 0v16h16V0H0zm13 13H3V3h10v10z",opacity:.06,fill:"#555d63"}),(0,i.createElement)("path",{d:"M3 3.8v8.4L.7 14.3c-.3.3-.7.2-.7-.1V1.9c0-.4.4-.5.7-.3L3 3.8z",fill:"#555d63"}))},Si=function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,i.createElement)("path",{d:"M0 0v16h16V0H0zm13 13H3V3h10v10z",opacity:.06,fill:"#555d63"}),(0,i.createElement)("path",{d:"M13 12.2V3.8l2.3-2.2c.3-.2.7-.1.7.2v12.4c0 .3-.3.4-.7.2L13 12.2z",fill:"#555d63"}))},Ei=function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,i.createElement)("path",{d:"M0 0v16h16V0H0zm13 13H3V3h10v10z",opacity:.06,fill:"#555d63"}),(0,i.createElement)("path",{d:"M1.6.7c-.2-.3-.1-.7.2-.7h12.4c.3 0 .4.3.2.7L12.2 3H3.8L1.6.7z",fill:"#555d63"}))},Mi=function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,i.createElement)("path",{d:"M0 0v16h16V0H0zm13 13H3V3h10v10z",fill:"#555d63"}))},Ti=e=>{var t;const[a,l]=je(e.attribute,e.responsive,e.hover,e.valueCallback,e.changeCallback),[r,u]=He(e);let c=a||{top:e.defaultTop,right:e.defaultRight,bottom:e.defaultBottom,left:e.defaultLeft};(void 0!==e.top||void 0!==e.right||void 0!==e.bottom||void 0!==e.left)&&(c={top:void 0!==e.top?e.top:e.enableTop?e.defaultTop:void 0,right:void 0!==e.right?e.right:e.enableRight?e.defaultRight:void 0,bottom:void 0!==e.bottom?e.bottom:e.enableBottom?e.defaultBottom:void 0,left:void 0!==e.left?e.left:e.enableLeft?e.defaultLeft:void 0});const g=void 0===e.onChange?l:e.onChange,p=e.enableTop&&""===c.top&&e.enableRight&&""===c.right&&e.enableBottom&&""===c.bottom&&e.enableLeft&&""===c.left,v=e.enableTop?c.top:e.enableRight?c.right:e.enableBottom?c.bottom:c.left,b=(0,i.useMemo)((()=>{let t=!0;return t=(!e.enableTop||c.top===v)&&t,t=(!e.enableRight||c.right===v)&&t,t=(!e.enableBottom||c.bottom===v)&&t,t=(!e.enableLeft||c.left===v)&&t,t}),[]),[y,k]=(0,i.useState)(p?e.defaultLocked:b),_=m()(["ugb-four-range-control__lock"],{"ugb--is-locked":e.hasLock&&y});u.after=e.hasLock&&(0,i.createElement)(f,{className:_,onClick:()=>k(!y),isSecondary:!0,icon:y?(0,i.createElement)(wi,null):(0,i.createElement)(Mi,null),label:y?(0,h.__)("Individual sides",o.i18n):(0,h.__)("All sides",o.i18n)});const w=!(null===(t=e.units)||void 0===t||!t.length),x=Se(`${e.attribute}Unit`,e.responsive,e.hover),{clientId:C}=(0,d.useBlockEditContext)(),M=E(C)[x];if(w){const t=e.units.indexOf(M)<0?0:e.units.indexOf(M);Array.isArray(e.min)&&(r.min=e.min[t]),Array.isArray(e.max)&&(r.max=e.max[t]),Array.isArray(e.sliderMin)&&(r.sliderMin=e.sliderMin[t]),Array.isArray(e.sliderMax)&&(r.sliderMax=e.sliderMax[t]),Array.isArray(e.step)&&(r.step=e.step[t]),Array.isArray(e.placeholder)&&(r.placeholder=e.placeholder[t]),r.initialPosition=""!==e.initialPosition?e.initialPosition:e.placeholder,0!==t&&(r.initialPosition="",r.placeholder=e.placeholder)}"Desktop"!==S()&&(r.initialPosition="",r.placeholder=e.placeholder);const T=(0,i.useCallback)((t=>{g({top:e.enableTop?t:c.top,right:e.enableRight?t:c.right,bottom:e.enableBottom?t:c.bottom,left:e.enableLeft?t:c.left})})),N=(0,i.useCallback)((e=>{g({top:e,right:c.right,bottom:c.bottom,left:c.left})})),B=(0,i.useCallback)((e=>{g({top:c.top,right:e,bottom:c.bottom,left:c.left})})),I=(0,i.useCallback)((e=>{g({top:c.top,right:c.right,bottom:e,left:c.left})})),O=(0,i.useCallback)((e=>{g({top:c.top,right:c.right,bottom:c.bottom,left:e})}));return(0,i.createElement)(Fe,u,y&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(rt,n({},r,{value:v,onChange:T,allowReset:!1})),(0,i.createElement)(st,{allowReset:e.allowReset,value:v,default:e.defaultTop,onChange:T})),!y&&(0,i.createElement)(i.Fragment,null,e.enableTop&&(0,i.createElement)("div",{className:"ugb-four-range-control__range"},(0,i.createElement)(s.Tooltip,{text:(0,h.__)("Top",o.i18n)},(0,i.createElement)("span",{className:"ugb-four-range-control__icon"},(0,i.createElement)(Ei,null))),(0,i.createElement)(rt,n({},r,{value:c.top,onChange:N,allowReset:!1,placeholder:void 0===e.placeholderTop?r.placeholder:e.placeholderTop})),(0,i.createElement)(st,{allowReset:e.allowReset,value:c.top,default:e.defaultTop,onChange:N})),e.enableRight&&(0,i.createElement)("div",{className:"ugb-four-range-control__range"},(0,i.createElement)(s.Tooltip,{text:(0,h.__)("Right",o.i18n)},(0,i.createElement)("span",{className:"ugb-four-range-control__icon"},(0,i.createElement)(Si,null))),(0,i.createElement)(rt,n({},r,{value:c.right,onChange:B,allowReset:!1,placeholder:void 0===e.placeholderRight?r.placeholder:e.placeholderRight})),(0,i.createElement)(st,{allowReset:e.allowReset,value:c.right,default:e.defaultRight,onChange:B})),e.enableBottom&&(0,i.createElement)("div",{className:"ugb-four-range-control__range"},(0,i.createElement)(s.Tooltip,{text:(0,h.__)("Bottom",o.i18n)},(0,i.createElement)("span",{className:"ugb-four-range-control__icon"},(0,i.createElement)(xi,null))),(0,i.createElement)(rt,n({},r,{value:c.bottom,onChange:I,allowReset:!1,placeholder:void 0===e.placeholderBottom?r.placeholder:e.placeholderBottom})),(0,i.createElement)(st,{allowReset:e.allowReset,value:c.bottom,default:e.defaultBottom,onChange:I})),e.enableLeft&&(0,i.createElement)("div",{className:"ugb-four-range-control__range"},(0,i.createElement)(s.Tooltip,{text:(0,h.__)("Left",o.i18n)},(0,i.createElement)("span",{className:"ugb-four-range-control__icon"},(0,i.createElement)(Ci,null))),(0,i.createElement)(rt,n({},r,{value:c.left,onChange:O,allowReset:!1,placeholder:void 0===e.placeholderLeft?r.placeholder:e.placeholderLeft})),(0,i.createElement)(st,{allowReset:e.allowReset,value:c.left,default:e.defaultLeft,onChange:O}))))};Ti.defaultProps={defaultLocked:!0,hasLock:!0,enableTop:!0,enableRight:!0,enableBottom:!0,enableLeft:!0,defaultTop:"",defaultRight:"",defaultBottom:"",defaultLeft:"",placeholder:"",placeholderTop:"",placeholderRight:"",placeholderBottom:"",placeholderLeft:"",allowReset:!0,default:"",attribute:"",responsive:!1,hover:!1,top:void 0,right:void 0,bottom:void 0,left:void 0,onChange:void 0};const Ni=(0,i.memo)(Ti);var Bi=a(670),Ii=a.n(Bi),Oi=function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return function(){for(var e=arguments.length,a=new Array(e),n=0;n<e;n++)a[n]=arguments[n];return t.forEach((function(e){return e&&e.apply(void 0,a)}))}};function Pi(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Ri(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Pi(Object(a),!0).forEach((function(t){ra(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Pi(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var Li=function(e){function t(){var e,a;oa(this,t);for(var n=arguments.length,i=new Array(n),l=0;l<n;l++)i[l]=arguments[l];return ra(ma(a=da(this,(e=ha(t)).call.apply(e,[this].concat(i)))),"getRailProps",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=a.props,n=t.emitMouse,i=t.emitTouch;return Ri({},e,{onMouseDown:Oi(e.onMouseDown,n),onTouchStart:Oi(e.onTouchStart,i)})})),a}return va(t,e),ca(t,[{key:"render",value:function(){var e=this.getRailProps,t=this.props,a=t.getEventData,n=t.activeHandleID,i=(0,t.children)({getEventData:a,activeHandleID:n,getRailProps:e});return i&&u.Children.only(i)}}]),t}(u.Component);Li.propTypes={};const zi=Li;var Ai=function(e){function t(){return oa(this,t),da(this,ha(t).apply(this,arguments))}return va(t,e),ca(t,[{key:"render",value:function(){var e=this.props,t=e.children,a=e.values,n=e.scale,i=e.count,l=t({getEventData:e.getEventData,activeHandleID:e.activeHandleID,ticks:(a||n.getTicks(i)).map((function(e){return{id:"$$-".concat(e),value:e,percent:n.getValue(e)}}))});return l&&u.Children.only(l)}}]),t}(u.Component);Ai.propTypes={},Ai.defaultProps={count:10};const Di=Ai;function Fi(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Hi(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Fi(Object(a),!0).forEach((function(t){ra(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Fi(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var ji=function(e){function t(){var e,a;oa(this,t);for(var n=arguments.length,i=new Array(n),l=0;l<n;l++)i[l]=arguments[l];return ra(ma(a=da(this,(e=ha(t)).call.apply(e,[this].concat(i)))),"getTrackProps",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=a.props,n=t.emitMouse,i=t.emitTouch;return Hi({},e,{onMouseDown:Oi(e.onMouseDown,n),onTouchStart:Oi(e.onTouchStart,i)})})),a}return va(t,e),ca(t,[{key:"render",value:function(){for(var e=this.getTrackProps,t=this.props,a=t.children,n=t.left,i=t.right,l=t.scale,r=t.handles,s=t.getEventData,o=t.activeHandleID,c=l.getDomain(),g=[],m=0;m<r.length+1;m++){var d=r[m-1],h=r[m];0===m&&!0===n?d={id:"$",value:c[0],percent:0}:m===r.length&&!0===i&&(h={id:"$",value:c[1],percent:100}),d&&h&&g.push({id:"".concat(d.id,"-").concat(h.id),source:d,target:h})}var p=a({getEventData:s,activeHandleID:o,tracks:g,getTrackProps:e});return p&&u.Children.only(p)}}]),t}(u.Component);ji.propTypes={},ji.defaultProps={left:!0,right:!0};const Ui=ji;function Vi(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Gi(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Vi(Object(a),!0).forEach((function(t){ra(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Vi(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var $i=function(e){function t(){var e,a;oa(this,t);for(var n=arguments.length,i=new Array(n),l=0;l<n;l++)i[l]=arguments[l];return ra(ma(a=da(this,(e=ha(t)).call.apply(e,[this].concat(i)))),"autofocus",(function(e){e.target.focus()})),ra(ma(a),"getHandleProps",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=a.props,i=n.emitKeyboard,l=n.emitMouse,r=n.emitTouch;return Gi({},t,{onKeyDown:Oi(t.onKeyDown,(function(t){return i(t,e)})),onMouseDown:Oi(t.onMouseDown,a.autofocus,(function(t){return l(t,e)})),onTouchStart:Oi(t.onTouchStart,(function(t){return r(t,e)}))})})),a}return va(t,e),ca(t,[{key:"render",value:function(){var e=this.getHandleProps,t=this.props,a=t.activeHandleID,n=(0,t.children)({handles:t.handles,activeHandleID:a,getHandleProps:e});return n&&u.Children.only(n)}}]),t}(u.Component);$i.propTypes={};const qi=$i;var Wi="react-compound-slider:";function Ki(e){return function(t,a){return t.val>a.val?e?-1:1:a.val>t.val?e?1:-1:0}}function Ji(e,t,a,n){var i=e.findIndex((function(e){return e.key===t}));if(-1!==i){var l=e[i],r=l.key;return l.val===a?e:[].concat(ya(e.slice(0,i)),[{key:r,val:a}],ya(e.slice(i+1))).sort(Ki(n))}return e}function Yi(e,t){if(!e)return[0,0];var a=e.getBoundingClientRect();return[t?a.top:a.left,t?a.bottom:a.right]}function Xi(e){var t=e.type,a=void 0===t?"":t,n=e.touches;return!n||n.length>1||"touchend"===a.toLowerCase()&&n.length>0}function Zi(e,t){return e?t.touches[0].clientY:t.touches[0].pageX}function Qi(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,a=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0,i=0,l=e.map((function(e){var t=a.getValue(e);return e!==t&&(i+=1,Ii()(!n,"".concat(Wi," Invalid value encountered. Changing ").concat(e," to ").concat(t,"."))),t})).map((function(e,t){return{key:"$$-".concat(t),val:e}})).sort(Ki(t));return{handles:l,changes:i}}function el(e,t,a,n,i){for(var l=-1,r=!0,s=0;s<e.length;s++){var o=e[s],u=t[s];if(!u||u.key!==o.key)return e;u.val!==o.val&&(l=s,r=u.val-o.val>0)}if(-1===l)return e;for(var c=r?a:-a,g=0;g<t.length;g++){var m=t[g],d=t[g+1];if(d&&m.val===d.val){if(g===l){var h=d.val+c;if(i(h)===h){var p=el(t,Ji(t,d.key,d.val+c,n),a,n,i);return p===t?e:p}return e}var v=m.val+c;if(i(v)===v){var b=el(t,Ji(t,m.key,m.val+c,n),a,n,i);return b===t?e:b}return e}}return t}function tl(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}1===(al=tl).length&&(nl=al,al=function(e,t){return tl(nl(e),t)});var al,nl,il=Array.prototype,ll=(il.slice,il.map,Math.sqrt(50)),rl=Math.sqrt(10),sl=Math.sqrt(2);var ol=function(){function e(){oa(this,e),this.domain=[0,1],this.range=[0,1],this.interpolator=null}return ca(e,[{key:"createInterpolator",value:function(e,t){var a=e[0],n=e[1],i=t[0],l=t[1];return n<a?(a=this.deinterpolateValue(n,a),i=this.interpolateValue(l,i)):(a=this.deinterpolateValue(a,n),i=this.interpolateValue(i,l)),function(e){return i(a(e))}}},{key:"interpolateValue",value:function(e,t){return t-=e=+e,function(a){return e+t*a}}},{key:"deinterpolateValue",value:function(e,t){return(t-=e=+e)?function(a){return(a-e)/t}:function(){return t}}},{key:"rescale",value:function(){return this.interpolator=null,this}},{key:"getValue",value:function(e){var t=this.domain,a=this.range;return(this.interpolator||(this.interpolator=this.createInterpolator(t,a)))(+e)}},{key:"setDomain",value:function(e){return this.domain=e.map((function(e){return+e})),this.rescale(),this}},{key:"getDomain",value:function(){return this.domain}},{key:"setRange",value:function(e){return this.range=e.map((function(e){return+e})),this}},{key:"getTicks",value:function(e){var t=this.domain;return function(e,t,a){var n,i,l,r,s=-1;if(a=+a,(e=+e)==(t=+t)&&a>0)return[e];if((n=t<e)&&(i=e,e=t,t=i),0===(r=function(e,t,a){var n=(t-e)/Math.max(0,a),i=Math.floor(Math.log(n)/Math.LN10),l=n/Math.pow(10,i);return i>=0?(l>=ll?10:l>=rl?5:l>=sl?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(l>=ll?10:l>=rl?5:l>=sl?2:1)}(e,t,a))||!isFinite(r))return[];if(r>0)for(e=Math.ceil(e/r),t=Math.floor(t/r),l=new Array(i=Math.ceil(t-e+1));++s<i;)l[s]=(e+s)*r;else for(e=Math.floor(e*r),t=Math.ceil(t*r),l=new Array(i=Math.ceil(e-t+1));++s<i;)l[s]=(e-s)/r;return n&&l.reverse(),l}(t[0],t[t.length-1],e||10)}}]),e}();function ul(e,t,a){return Math.min(Math.max(e,t),a)}const cl=function e(){var t=this;oa(this,e),ra(this,"setDomain",(function(e){return t.domain=e.slice(),t})),ra(this,"setRange",(function(e){return t.range=e.slice(),t})),ra(this,"setStep",(function(e){return t.step=e,t})),ra(this,"getValue",(function(e){var a=la(t.domain,2),n=a[0],i=a[1],l=la(t.range,2),r=l[0],s=l[1],o=t.step,u=(ul(e,n,i)-n)/(i-n);return ul(o*Math.round(u*(s-r)/o)+r,r<s?r:s,s>r?s:r)})),this.step=1,this.domain=[0,1],this.range=[0,1]};var gl="undefined"!=typeof window&&"undefined"!=typeof document,ml=function(){},dl=function(e,t,a,n){var i=n?e-t:e+t;return n?Math.max(a[0],i):Math.min(a[1],i)},hl=function(e,t,a,n){var i=n?e+t:e-t;return n?Math.min(a[1],i):Math.max(a[0],i)},pl=function(e){function t(){var e,a;oa(this,t);for(var n=arguments.length,i=new Array(n),l=0;l<n;l++)i[l]=arguments[l];return ra(ma(a=da(this,(e=ha(t)).call.apply(e,[this].concat(i)))),"state",{step:null,values:null,domain:null,handles:[],reversed:null,activeHandleID:null,valueToPerc:null,valueToStep:null,pixelToStep:null}),ra(ma(a),"slider",u.createRef()),ra(ma(a),"onKeyDown",(function(e,t){var n=["ArrowRight","ArrowUp"],i=["ArrowDown","ArrowLeft"],l=ma(a),r=l.state.handles,s=l.props,o=s.step,u=s.reversed,c=s.vertical,g=s.domain,m=e.key||e.keyCode;if(n.concat(i).includes(m)){if(c){var d=[i,n];n=d[0],i=d[1]}e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault();var h=r.find((function(e){return e.key===t}));if(h){var p=h.val,v=p;n.includes(m)?v=dl(p,o,g,u):i.includes(m)&&(v=hl(p,o,g,u));var b=r.map((function(e){return e.key===t?{key:e.key,val:v}:e}));a.submitUpdate(b,!0)}}})),ra(ma(a),"onMouseDown",(function(e,t){a.onStart(e,t,!1)})),ra(ma(a),"onTouchStart",(function(e,t){Xi(e)||a.onStart(e,t,!0)})),ra(ma(a),"getEventData",(function(e,t){var n,i=ma(a),l=i.state,r=l.pixelToStep,s=l.valueToPerc,o=i.props.vertical;return r.setDomain(Yi(a.slider.current,o)),{value:n=t?r.getValue(Zi(o,e)):r.getValue(o?e.clientY:e.pageX),percent:s.getValue(n)}})),ra(ma(a),"onMouseMove",(function(e){var t=ma(a),n=t.state,i=n.handles,l=n.pixelToStep,r=n.activeHandleID,s=t.props,o=s.vertical,u=s.reversed;l.setDomain(Yi(a.slider.current,o));var c=Ji(i,r,l.getValue(o?e.clientY:e.pageX),u);a.submitUpdate(c)})),ra(ma(a),"onTouchMove",(function(e){var t=ma(a),n=t.state,i=n.handles,l=n.pixelToStep,r=n.activeHandleID,s=t.props,o=s.vertical,u=s.reversed;if(!Xi(e)){l.setDomain(Yi(a.slider.current,o));var c=Ji(i,r,l.getValue(Zi(o,e)),u);a.submitUpdate(c)}})),ra(ma(a),"onMouseUp",(function(){var e=ma(a),t=e.state,n=t.handles,i=t.activeHandleID,l=e.props,r=l.onChange,s=l.onSlideEnd;r(n.map((function(e){return e.val}))),s(n.map((function(e){return e.val})),{activeHandleID:i}),a.setState({activeHandleID:null}),gl&&(document.removeEventListener("mousemove",a.onMouseMove),document.removeEventListener("mouseup",a.onMouseUp))})),ra(ma(a),"onTouchEnd",(function(){var e=ma(a),t=e.state,n=t.handles,i=t.activeHandleID,l=e.props,r=l.onChange,s=l.onSlideEnd;r(n.map((function(e){return e.val}))),s(n.map((function(e){return e.val})),{activeHandleID:i}),a.setState({activeHandleID:null}),gl&&(document.removeEventListener("touchmove",a.onTouchMove),document.removeEventListener("touchend",a.onTouchEnd))})),a}return va(t,e),ca(t,[{key:"componentDidMount",value:function(){var e=this.state.pixelToStep,t=this.props.vertical;e.setDomain(Yi(this.slider.current,t))}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"removeListeners",value:function(){gl&&(document.removeEventListener("mousemove",this.onMouseMove),document.removeEventListener("mouseup",this.onMouseUp),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"onStart",value:function(e,t,a){var n=this.state.handles,i=this.props.onSlideStart;a||e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),n.find((function(e){return e.key===t}))?(this.setState({activeHandleID:t}),i(n.map((function(e){return e.val})),{activeHandleID:t}),a?this.addTouchEvents():this.addMouseEvents()):(this.setState({activeHandleID:null}),this.handleRailAndTrackClicks(e,a))}},{key:"handleRailAndTrackClicks",value:function(e,t){var a,n=this,i=this.state,l=i.handles,r=i.pixelToStep,s=this.props,o=s.vertical,u=s.reversed,c=this.slider;r.setDomain(Yi(c.current,o)),a=t?r.getValue(Zi(o,e)):r.getValue(o?e.clientY:e.pageX);for(var g=null,m=1/0,d=0;d<l.length;d++){var h=l[d],p=h.key,v=h.val,b=Math.abs(v-a);b<m&&(g=p,m=b)}var f=Ji(l,g,a,u);this.setState({activeHandleID:g},(function(){n.submitUpdate(f,!0),t?n.addTouchEvents():n.addMouseEvents()}))}},{key:"addMouseEvents",value:function(){gl&&(document.addEventListener("mousemove",this.onMouseMove),document.addEventListener("mouseup",this.onMouseUp))}},{key:"addTouchEvents",value:function(){gl&&(document.addEventListener("touchmove",this.onTouchMove),document.addEventListener("touchend",this.onTouchEnd))}},{key:"submitUpdate",value:function(e,t){var a=this.props,n=a.mode,i=a.step,l=a.onUpdate,r=a.onChange,s=a.reversed,o=this.state.valueToStep.getValue;this.setState((function(a){var u,c=a.handles;if("function"==typeof n)u=n(c,e,i,s,o),Ii()(Array.isArray(u),"Custom mode function did not return an array.");else switch(n){case 1:u=function(e,t){return t}(0,e);break;case 2:u=function(e,t){for(var a=0;a<e.length;a++){if(e[a].key!==t[a].key)return e;if(t[a+1]&&t[a].val===t[a+1].val)return e}return t}(c,e);break;case 3:u=el(c,e,i,s,o);break;default:u=e,Ii()(!1,"".concat(Wi," Invalid mode value."))}return l(u.map((function(e){return e.val}))),t&&r(u.map((function(e){return e.val}))),{handles:u}}))}},{key:"render",value:function(){var e=this,t=this.state,a=t.handles,i=t.valueToPerc,l=t.activeHandleID,r=this.props,s=r.className,o=r.rootStyle,c=r.rootProps,g=r.component,m=r.disabled,d=r.flatten,h=a.map((function(e){var t=e.key,a=e.val;return{id:t,value:a,percent:i.getValue(a)}})),p=u.Children.map(this.props.children,(function(t){return!t||t.type.name!==zi.name&&t.type.name!==Di.name&&t.type.name!==Ui.name&&t.type.name!==qi.name?t:u.cloneElement(t,{scale:i,handles:h,activeHandleID:l,getEventData:e.getEventData,emitKeyboard:m?ml:e.onKeyDown,emitMouse:m?ml:e.onMouseDown,emitTouch:m?ml:e.onTouchStart})}));return d?u.createElement(u.Fragment,null,u.createElement(g,n({},c,{style:o,className:s,ref:this.slider})),p):u.createElement(g,n({},c,{style:o,className:s,ref:this.slider}),p)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var a,n,i=e.step,l=e.values,r=e.domain,s=e.reversed,o=e.onUpdate,u=e.onChange,c=e.warnOnChanges,g=t.valueToPerc,m=t.valueToStep,d=t.pixelToStep,h={};if(g&&m&&d||(g=new ol,m=new cl,d=new cl,h.valueToPerc=g,h.valueToStep=m,h.pixelToStep=d),null===t.step||null===t.domain||null===t.reversed||i!==t.step||r[0]!==t.domain[0]||r[1]!==t.domain[1]||s!==t.reversed){var p=la(r,2),v=p[0],b=p[1];m.setStep(i).setRange([v,b]).setDomain([v,b]),!0===s?(g.setDomain([v,b]).setRange([100,0]),d.setStep(i).setRange([b,v])):(g.setDomain([v,b]).setRange([0,100]),d.setStep(i).setRange([v,b])),Ii()(b>v,"".concat(Wi," Max must be greater than min (even if reversed). Max is ").concat(b,". Min is ").concat(v,"."));var f=Qi(l||t.values,s,m,c),y=f.handles;(f.changes||void 0===l||l===t.values)&&(o(y.map((function(e){return e.val}))),u(y.map((function(e){return e.val})))),h.step=i,h.values=l,h.domain=r,h.handles=y,h.reversed=s}else if(!((a=l)===(n=t.values)||a.length===n.length&&a.reduce(function(e){return function(t,a,n){return t&&e[n]===a}}(n),!0))){var k=Qi(l,s,m,c),_=k.handles;k.changes&&(o(_.map((function(e){return e.val}))),u(_.map((function(e){return e.val})))),h.values=l,h.handles=_}return Object.keys(h).length?h:null}}]),t}(u.PureComponent);pl.propTypes={},pl.defaultProps={mode:1,step:.1,domain:[0,100],component:"div",rootProps:{},rootStyle:{},vertical:!1,reversed:!1,onChange:ml,onUpdate:ml,onSlideStart:ml,onSlideEnd:ml,disabled:!1,flatten:!1,warnOnChanges:!1};const vl=pl;vl.Rail=zi,vl.Ticks=Di,vl.Tracks=Ui,vl.Handles=qi;const bl={position:"absolute",width:"100%",height:42,transform:"translate(0%, -50%)",borderRadius:7,cursor:"pointer"},fl={position:"absolute",width:"100%",height:3,backgroundColor:"#e2e4e7",transform:"translate(0%, -50%)",borderRadius:7,pointerEvents:"none"},yl=e=>{let{getRailProps:t}=e;return(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",n({style:bl},t())),(0,i.createElement)("div",{style:fl}))},kl=e=>{const{domain:[t,a],handle:{id:l,value:r,percent:s},disabled:o=!1,getHandleProps:u}=e;return(0,i.createElement)("button",n({role:"slider","aria-valuemin":t,"aria-valuemax":a,"aria-valuenow":r,disabled:o,style:{left:`${s}%`}},u(l)))},_l=10,wl=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"right";if("left"===t)for(let t=e.length-1;t>=1;t--)if(e[t]<_l){const a=_l-e[t];e[t]=_l,e[t-1]-=a}for(let t=0;t<e.length-1;t++)if(e[t]<_l){const a=_l-e[t];e[t]=_l,e[t+1]-=a}if("right"===t)for(let t=e.length-1;t>=1;t--)if(e[t]<_l){const a=_l-e[t];e[t]=_l,e[t-1]-=a}return e},xl={position:"relative",width:"100%"},Cl=[0,100],Sl=e=>{let t=0;return[...e,100].map((e=>{const a=e-t;return t+=a,a}))},El=e=>{let t=0;return[...e].pop(),e.reduce(((a,n,i)=>{if(i===e.length-1)return a;const l=n+t;return t+=n,a.push(l),a}),[])},Ml=e=>(0,i.createElement)(vl,{className:"ugb-column-widths-control__columns-slider",rootStyle:xl,mode:(e,t)=>{const a=e.map((e=>e.val)),n=t.map((e=>e.val));if((0,p.isEqual)(a,n))return t;if((e=>{const t=[0,...e,100];return t.some(((e,a)=>0!==a&&e-t[a-1]<10))})(n)){const[e,i]=((e,t)=>{let a,n=0;return t.some(((t,i)=>t!==e[i]&&(n=i,a=t>e[i]?"right":"left",!0))),[n,a]})(a,n),l=((e,t,a)=>{const n=Sl(e),i=wl(n,a);return El(i)})(n,0,i);l.forEach(((e,a)=>{t[a].val=e}))}return t},step:1,onUpdate:t=>e.onChange(Sl(t)),domain:Cl,values:El(e.value)},(0,i.createElement)(zi,null,(e=>{let{getRailProps:t}=e;return(0,i.createElement)(yl,{getRailProps:t})})),(0,i.createElement)(qi,null,(e=>{let{handles:t,getHandleProps:a}=e;return(0,i.createElement)("div",{className:"slider-handles"},t.map((e=>(0,i.createElement)(kl,{key:e.id,handle:e,domain:Cl,getHandleProps:a}))))})));Ml.defaultProps={onChange:()=>{},value:[]};const Tl=e=>e.every((e=>!e)),Nl=e=>{const t={gridTemplateColumns:(a=e.value,a.map((e=>(e/100*a.length).toFixed(2)+"fr")).join(" ")),gridAutoFlow:Tl(e.value)?"column":void 0,justifyContent:Tl(e.value)?"space-around":void 0};var a;return(0,i.createElement)("div",{className:"ugb-column-widths-control__columns-input",style:t},e.value.map(((t,a)=>(0,i.createElement)("input",{key:a,className:"components-column-widths-control__number",type:"number",value:t||"",onChange:t=>{const n=parseInt(t.target.value,10),i=[...e.value];i[a]=isNaN(n)?"":n,e.onChange(i)},onBlur:()=>{const t=wl(e.value),n=100-t.reduce(((e,t)=>e+t),0);a<e.value.length-1?t[a+1]+=n:t[a-1]+=n,e.onChange(wl(t))}}))))};Nl.defaultProps={onChange:()=>{},value:[]};(0,h.__)("Column Widths",o.i18n);const Bl=e=>{const t=S(),a=i.Children.toArray(e.children).map((a=>(0,i.cloneElement)(a,{screens:e.screens,screen:t.toLowerCase()}))),n=t?(null==t?void 0:t.toLowerCase())===e.screen:"desktop"===e.screen.toLowerCase(),l=!e.screens.includes(t.toLowerCase())&&!n&&"Desktop"===t;return(0,i.createElement)(i.Fragment,null,(n||l)&&a)};Bl.defaultProps={screen:"desktop",screens:["desktop","tablet","mobile"]};const Il=Bl,Ol=[{value:"h1",title:(0,h.sprintf)((0,h._x)("%s %d","Nth Title",o.i18n),(0,h.__)("Heading",o.i18n),1),icon:(0,i.createElement)((function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,i.createElement)("path",{d:"M8.5 13H5.8V8.9H2.7V13H0V3h2.7v3.7h3.1V3h2.7v10zM16 13h-2.7V7.7 5.9c-.2.2-.4.4-.6.7l-1.1.9-1.4-1.7L13.6 3H16v10z"}))}),null)},{value:"h2",title:(0,h.sprintf)((0,h._x)("%s %d","Nth Title",o.i18n),(0,h.__)("Heading",o.i18n),2),icon:(0,i.createElement)((function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,i.createElement)("path",{d:"M7.7 12.7h-2v-4H2v4H0V3.4h2v3.7h3.7V3.4h2v9.3zM16 12.7H9.4v-1.4L11.8 9c.7-.7 1.1-1.2 1.4-1.5.2-.3.4-.5.5-.8.1-.2.1-.5.1-.7 0-.4-.1-.7-.3-.8-.2-.2-.5-.3-.8-.3-.4 0-.7.1-1 .3-.3.2-.7.4-1.1.7L9.4 4.6c.5-.4.8-.7 1.1-.8.3-.2.6-.3 1-.4.4-.1.8-.1 1.2-.1.6 0 1.1.1 1.6.3.5.2.8.5 1 .9s.4.8.4 1.3c0 .4-.1.8-.2 1.2-.2.4-.4.8-.7 1.2s-.9 1-1.7 1.7L11.9 11v.1H16v1.6z"}))}),null)},{value:"h3",title:(0,h.sprintf)((0,h._x)("%s %d","Nth Title",o.i18n),(0,h.__)("Heading",o.i18n),3),icon:(0,i.createElement)((function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,i.createElement)("path",{d:"M7.7 12.6H6.2V8.4H2v4.2H.5V3.3H2v3.8h4.2V3.3h1.5v9.3zM15.2 5.5c0 .6-.2 1.1-.5 1.5-.3.4-.8.7-1.4.8v.1c.7.1 1.3.3 1.6.7.4.4.6.9.6 1.5 0 .9-.3 1.6-.9 2.1-.6.5-1.5.7-2.6.7-1 0-1.9-.2-2.5-.5v-1.3c.4.2.8.3 1.2.5.4.1.8.2 1.2.2.7 0 1.2-.1 1.6-.4.4-.3.5-.7.5-1.2s-.2-.9-.6-1.1-1-.3-1.8-.3h-.8V7.3h.8c1.4 0 2.2-.5 2.2-1.5 0-.4-.1-.7-.4-.9-.3-.2-.6-.3-1.1-.3-.4 0-.7 0-1 .1-.3.1-.7.3-1.1.6l-.7-1c.8-.6 1.8-.9 2.9-.9.9 0 1.6.2 2.1.6.4.2.7.8.7 1.5z"}))}),null)},{value:"h4",title:(0,h.sprintf)((0,h._x)("%s %d","Nth Title",o.i18n),(0,h.__)("Heading",o.i18n),4),icon:(0,i.createElement)((function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,i.createElement)("path",{d:"M7.5 12.5H6v-4H1.9v4H.5v-9h1.4v3.7H6V3.5h1.4l.1 9zM15.5 10.5h-1.2v2h-1.4v-2h-4V9.4l4-5.9h1.4v5.8h1.2v1.2zm-2.6-1.2V7.1c0-.8 0-1.5.1-2-.1.3-.3.6-.5 1l-2.2 3.2h2.6z"}))}),null)},{value:"h5",title:(0,h.sprintf)((0,h._x)("%s %d","Nth Title",o.i18n),(0,h.__)("Heading",o.i18n),5),icon:(0,i.createElement)((function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,i.createElement)("path",{d:"M7.7 12.1H6.3V8.4H2.4v3.8H1V3.8h1.4v3.4h3.9V3.8h1.4v8.3zM12.2 6.9c.9 0 1.5.2 2 .7.5.4.8 1 .8 1.8 0 .9-.3 1.6-.9 2.1-.6.5-1.4.7-2.4.7-.9 0-1.7-.1-2.2-.4v-1.2c.3.2.7.3 1.1.4.4.1.8.1 1.1.1.6 0 1.1-.1 1.4-.4.3-.3.5-.7.5-1.2 0-1-.6-1.5-1.9-1.5H11c-.3 0-.5.1-.7.1l-.7-.3.4-4h4.4V5h-3.2L11 7.1c.1 0 .3 0 .5-.1.2 0 .4-.1.7-.1z"}))}),null)},{value:"h6",title:(0,h.sprintf)((0,h._x)("%s %d","Nth Title",o.i18n),(0,h.__)("Heading",o.i18n),6),icon:(0,i.createElement)((function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,i.createElement)("path",{d:"M7.6 12.1H6.3V8.4H2.6v3.7H1.2V3.8h1.3v3.4h3.8V3.8h1.3v8.3zM9.2 8.6c0-3.2 1.3-4.8 3.9-4.8.4 0 .8 0 1 .1V5c-.3-.1-.6-.1-1-.1-.9 0-1.5.2-2 .7-.4.5-.7 1.2-.7 2.3h.1c.2-.3.4-.5.7-.7.3-.2.7-.2 1.1-.2.7 0 1.3.2 1.7.7s.6 1.1.6 1.9c0 .9-.2 1.5-.7 2.1-.5.5-1.1.8-2 .8-.6 0-1.1-.1-1.5-.4-.4-.3-.8-.7-1-1.3 0-.8-.2-1.5-.2-2.2zm2.9 2.5c.4 0 .8-.2 1-.4.2-.3.4-.7.4-1.3 0-.5-.1-.9-.4-1.1-.2-.3-.6-.4-1-.4-.3 0-.6.1-.8.2-.2.1-.4.3-.6.5-.1.2-.2.4-.2.6 0 .5.2 1 .4 1.3.4.4.7.6 1.2.6z"}))}),null)},{value:"p",title:(0,h.__)("Paragraph",o.i18n),icon:(0,i.createElement)((function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,i.createElement)("path",{d:"M4.5 3h3.1c2.2 0 3.9.8 3.9 3.1 0 2.2-1.6 3.2-3.8 3.2H6.3V13H4.5V3zm3.1 4.9c1.5 0 2.2-.6 2.2-1.8 0-1.3-.8-1.7-2.3-1.7H6.3v3.5h1.3z"}))}),null)}];Ol.filter((e=>{let{value:t}=e;return"p"!==t}));(0,h.sprintf)((0,h._x)("%s HTML Tag","component",o.i18n),(0,h.__)("Title",o.i18n)),Ol[0].value;(0,h.__)("Align Left",o.i18n),(0,h.__)("Align Center",o.i18n),(0,h.__)("Align Right",o.i18n),(0,h.__)("Justified",o.i18n);(0,h.__)("Align",o.i18n);const Pl=wp.codeEditor,Rl=e=>{const[t,a]=(0,i.useState)(e.value),[n,l]=(0,i.useState)(null),r=(0,i.useMemo)((()=>(0,p.uniqueId)("ugb-code-textarea-")),[]),s=(0,i.useRef)((0,p.debounce)((t=>{e.onChange(t)}),500,{leading:!0})),o=(0,i.useCallback)((e=>{const t=e.getValue?e.getValue():e;a(t),s.current(t)}),[]);return(0,i.useEffect)((()=>{if(Pl.initialize){const t=(0,Pl.initialize)(r,F()(Pl.defaultSettings,e.editorSettings));l(t),t.codemirror.on("change",o)}return()=>{var e;null==s||null===(e=s.current)||void 0===e||e.cancel(),null==n||n.codemirror.off("change",o)}}),[]),(0,i.createElement)("textarea",{className:"ugb-code-textarea",id:r,value:t,onChange:o})};Rl.defaultProps={value:"",onChange:()=>{},editorSettings:{}};const Ll=(0,i.createElement)(s.Icon,{icon:function(){return pt((0,i.createElement)(dt,{width:"20",height:"20",className:"components-menu-items__item-icon"}))}}),zl=(0,i.createElement)(s.Icon,{icon:function(){return pt((0,i.createElement)(ht,{width:"20",height:"20",className:"components-menu-items__item-icon"}))}}),Al=(0,te.compose)([(0,x.withSelect)(((e,t)=>{let{clientIds:a}=t;const{getBlockRootClientId:n,getBlocksByClientId:i,canInsertBlockType:l}=e("core/block-editor"),r="ugb/container",s=l(r,a&&a.length>0?n(a[0]):void 0),o=i(a),u=1===o.length&&o[0]&&o[0].name===r;return{isGroupable:s&&o.length&&!u,isUngroupable:u&&!!o[0].innerBlocks.length,blocksSelection:o,groupingBlockName:r}})),(0,x.withDispatch)(((e,t)=>{let{clientIds:a,onToggle:n=p.noop,blocksSelection:i=[]}=t;const{replaceBlocks:l}=e("core/block-editor");return{onConvertToGroup(){if(!i.length)return;const e=i.map((e=>(0,ue.cloneBlock)(e))),t=(0,ue.createBlock)("ugb/container",{},e);l(a,t),n()},onConvertFromGroup(){if(!i.length)return;const e=i[0].innerBlocks;e.length&&(l(a,e),n())}}}))])((function(e){let{onConvertToGroup:t,onConvertFromGroup:a,isGroupable:n=!1,isUngroupable:l=!1}=e;return(0,x.select)("core/block-editor").getSelectedBlockClientIds?(0,i.createElement)(i.Fragment,null,n&&(0,i.createElement)(d.BlockSettingsMenuControls,null,(e=>{let{onClose:a}=e;return(0,i.createElement)(s.MenuItem,{icon:Ll,onClick:()=>{t(),a()}},(0,h.__)("Group into Container",o.i18n))})),l&&(0,i.createElement)(d.BlockSettingsMenuControls,null,(e=>{let{onClose:t}=e;return(0,i.createElement)(s.MenuItem,{icon:zl,onClick:()=>{a(),t()}},(0,h.__)("Ungroup from Container",o.i18n))}))):null})),Dl=((0,x.withSelect)((e=>{const{getSelectedBlockClientIds:t}=e("core/block-editor");return t?{clientIds:t()}:{}}))(Al),e=>{let{clientId:t}=e;const[a,n]=(0,i.useState)(!1),[l,r]=(0,i.useState)(!1),{blockName:o,getJSONBlockAttributes:u}=(0,x.useSelect)((e=>{const{getBlockName:a}=e("core/block-editor");return{blockName:t&&a(t)?a(t).replace(/^\w+\//g,""):"",getJSONBlockAttributes:()=>{const{getBlockName:a}=e("core/block-editor"),{getBlockType:n}=e("core/blocks");if(!t)return{};const i=e("core/block-editor").getBlockAttributes(t),l=a(t).replace(/^\w+\//g,""),r=n(a(t)).attributes,s=Object.keys(i).reduce(((e,t)=>(i[t]!==(r[t]?r[t].default:"")&&(e[t]=i[t]),e)),{});return s.uniqueClass=void 0,JSON.stringify((0,M.applyFilters)(`stackable.${l}.design.filtered-block-attributes`,s),null,4)}}}));return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(d.BlockSettingsMenuControls,null,(e=>{let{onClose:t}=e;return(0,i.createElement)(s.MenuItem,{icon:"editor-code",onClick:()=>{n(!0),r(!1),setTimeout((()=>document.querySelector(".ugb-modal-get-block-attributes-button textarea").select()),100),t()}},"Get / Set Block Attributes")})),a&&(0,i.createElement)(s.Modal,{title:`${(0,p.startCase)(o)} Block Attributes`,focusOnMount:!0,className:"ugb-modal-get-block-attributes-button",onRequestClose:()=>{l&&(e=>{if(t)try{const a=JSON.parse(e);ce(a,t)}catch(e){console.error(e)}})(document.querySelector(".ugb-modal-get-block-attributes-button textarea").value),n(!1)}},(0,i.createElement)("p",null,'Copy or modify the attributes of the block directly. Use only double quotes "'),(0,i.createElement)("textarea",{onChange:()=>r(!0)},u())))});((0,x.withSelect)((e=>{const{getSelectedBlockClientId:t}=e("core/block-editor");return t?{clientId:t()}:{}}))(Dl),e=>(0,i.createElement)(s.Modal,{title:(0,h.__)("Stackable Welcome Guide",o.i18n),className:"ugb-modal-welcome-video",overlayClassName:"ugb-modal-welcome-video__overlay",shouldCloseOnClickOutside:!1,onRequestClose:e.onRequestClose},(0,i.createElement)("p",null,(0,h.__)("Hello there 👋 I see you might be new to Stackable, we've made a short 3-minute video so you can make the most out of our unique blocks.",o.i18n)),(0,i.createElement)("iframe",{title:(0,h.__)("Video Tutorial",o.i18n),width:"800",height:"413",src:"https://www.youtube.com/embed/UW0Rg96aATA",frameBorder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0}),(0,i.createElement)("p",null,(0,i.createElement)(f,{className:"button-primary",onClick:e.onRequestClose,"data-testid":"button-close"},(0,h.__)("Close it, I'm good",o.i18n))))).defaultProps={onRequestClose:()=>{}};const Fl=function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"},e),(0,i.createElement)("path",{d:"M38 12H12v26h26V12z"}))},Hl=function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"},e),(0,i.createElement)("path",{d:"M12.5 12.5H0V0h12.5v12.5zM31.2 0H18.8v12.5h12.5V0zM50 0H37.5v12.5H50V0zM12.5 18.8H0v12.5h12.5V18.8zm18.7 0H18.8v12.5h12.5V18.8zm18.8 0H37.5v12.5H50V18.8zM12.5 37.5H0V50h12.5V37.5zm18.7 0H18.8V50h12.5V37.5zm18.8 0H37.5V50H50V37.5z"}))},jl=function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"},e),(0,i.createElement)("path",{d:"M21.1 5.3H5.3v15.8h15.8V5.3zm23.6 0H28.9v15.8h15.8V5.3zM21.1 28.9H5.3v15.8h15.8V28.9zm23.6 0H28.9v15.8h15.8V28.9z"}))},Ul=e=>{const[t,a]=(0,i.useState)([]),[n,l]=(0,i.useState)([]),[r,s]=ge("stk__design_library__block-list__selected",""),[u,c]=ge("stk__design_library__block-list__view_by","uikit"),{apiVersion:g}=e;return(0,i.useEffect)((()=>{yn(g).then((e=>{const t=Object.keys(e).reduce(((t,a)=>{const n=e[a],{categories:i,uikit:l}=n;return void 0===t.uikits[l]&&(t.uikits[l]={id:l,label:n.uikit,plan:n.plan,count:0}),i.forEach((e=>{void 0===t.categories[e]&&(t.categories[e]={id:e,label:e,count:0})})),t}),{uikits:{},categories:{}});let n=["label"];o.isPro||(n=["plan","label"]);const i=(0,p.sortBy)(Object.values(t.uikits),n),r=(0,p.sortBy)(Object.values(t.categories),"label");r.unshift({id:"all",label:(0,h.__)("All",o.i18n),count:0}),a(i),l(r)}))}),[g]),(0,i.useEffect)((()=>{if(!t.length||!n.length)return;const i=t.reduce(((e,t)=>(e[t.id]={...t,count:0},e)),{}),r=n.reduce(((e,t)=>(e[t.id]={...t,count:0},e)),{});e.designs.forEach((e=>{e.uikit&&i[e.uikit]&&i[e.uikit].count++,e.categories.forEach((e=>{e&&r[e]&&r[e].count++}))}));let s=["label"];o.isPro||(s=["plan","label"]),a((0,p.sortBy)(Object.values(i),s)),r.all&&(r.all.count=e.designs.length,r.all.label=" ");const u=(0,p.sortBy)(Object.values(r),"label");u[0]&&(u[0].label=(0,h.__)("All",o.i18n)),l(u)}),[e.designs.length,JSON.stringify(t),JSON.stringify(n)]),(0,i.useEffect)((()=>{t.length&&n.length&&s("uikit"===u?t[0].id:"all")}),[u]),(0,i.useEffect)((()=>{e.onSelect({id:r,type:u})}),[r]),(0,i.createElement)("ul",{className:"ugb-block-list"},(0,i.createElement)(Xt,{controls:[{value:"uikit",title:(0,h.__)("UI Kits",o.i18n)},{value:"category",title:(0,h.__)("Categories",o.i18n)}],value:u,onChange:c,isSmall:!0,fullwidth:!1,isToggleOnly:!0,allowReset:!1}),("uikit"===u?t:n).reduce(((e,t)=>{const{id:a,label:n,count:l,plan:u}=t,c=m()(["stk-design-library__sidebar-item"],{"is-active":r===a,"is-disabled":!o.isPro&&"premium"===u});return e.push((0,i.createElement)("li",{key:a},(0,i.createElement)("div",{className:c,"data-count":l,onClick:()=>s(a),onKeyPress:e=>{13===e.keyCode&&(void 0).click()},role:"button",tabIndex:0,"aria-pressed":r===a?"true":"false"},n,(0,i.createElement)("span",{className:"ugb-block-list__count","data-testid":`${a}-count`},l)))),e}),[]))};Ul.defaultProps={select:"",onSelect:()=>{},apiVersion:"",designs:[]};const Vl=Ul,Gl=e=>{const[t,a]=(0,i.useState)(e.search),[n,l]=(0,i.useState)(3),[r,u]=(0,i.useState)(!0),[c,g]=(0,i.useState)(!1),[m,d]=(0,i.useState)(""),[p,v]=(0,i.useState)(""),[b,y]=ge("stk__design_library_dev_mode",!1),[k,_]=(0,i.useState)([]),[w,x]=(0,i.useState)([]),[C,S]=(0,i.useState)(t),[E,M]=(0,i.useState)(null);return(0,i.useEffect)((()=>{E&&(clearTimeout(E),M(null)),M(setTimeout((()=>{S(t)}),500))}),[t]),(0,i.useEffect)((()=>{const e=document.querySelector(".ugb-modal-design-library__search input");e&&e.focus()}),[]),(0,i.useEffect)((()=>{c&&(_([]),x([])),_n({search:C,reset:c,apiVersion:e.apiVersion}).then((e=>{_(e)})).finally((()=>{g(!1)}))}),[C,c,e.apiVersion]),(0,i.useEffect)((()=>{u(!0),_n({apiVersion:e.apiVersion,search:C,uikit:"uikit"===p?m:"",categories:"category"===p&&"all"!==m?[m]:[]}).then((e=>{x(e)})).finally((()=>{u(!1)}))}),[m,p,c,C,e.apiVersion]),(0,i.createElement)(s.Modal,{title:(0,i.createElement)(i.Fragment,null,(0,h.__)("Stackable Design Library",o.i18n),e.hasVersionSwitcher&&(0,i.createElement)(Xt,{controls:[{value:"",title:(0,h.__)("Latest Design Library",o.i18n)},{value:"v2",title:(0,h.__)("V2 Design Library",o.i18n)}],value:e.apiVersion,onChange:e.onChangeApiVersion,isSmall:!0,fullwidth:!1,isToggleOnly:!0,allowReset:!1})),className:"ugb-modal-design-library",onRequestClose:e.onClose},(0,i.createElement)("div",{className:"ugb-modal-design-library__wrapper"},(0,i.createElement)("aside",{className:"ugb-modal-design-library__sidebar"},(0,i.createElement)(s.TextControl,{className:"ugb-modal-design-library__search",placeholder:(0,h.__)("E.g. light, dark, red, minimalist…",o.i18n),value:t,onChange:e=>a(e),"data-testid":"input-search",type:"search"}),(0,i.createElement)("div",{className:"ugb-modal-design-library__filters"},(0,i.createElement)(Vl,{apiVersion:e.apiVersion,designs:k,onSelect:e=>{let{id:t,type:a}=e;d(t),v(a)}}))),(0,i.createElement)("aside",{className:"ugb-modal-design-library__topbar"},o.devMode&&(0,i.createElement)(s.ToggleControl,{className:"ugb-modal-design-library__dev-mode",label:"Dev Mode",checked:b,onChange:e=>{(async function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=await ve()({path:"/stackable/v2/design_library_dev_mode/",method:"POST",data:{devmode:e}});return await t})(e).then((()=>{g(!0)})),y(e)}}),(0,i.createElement)(f,{icon:"image-rotate",label:(0,h.__)("Refresh Library",o.i18n),className:"ugb-modal-design-library__refresh",onClick:()=>g(!0)}),(0,i.createElement)(f,{icon:(0,i.createElement)(Fl,{width:"18",height:"18"}),className:2===n?"is-active":"",label:(0,h.__)("Large preview",o.i18n),onClick:()=>l(2)}),(0,i.createElement)(f,{icon:(0,i.createElement)(jl,{width:"18",height:"18"}),className:3===n?"is-active":"",label:(0,h.__)("Medium preview",o.i18n),onClick:()=>l(3)}),(0,i.createElement)(f,{icon:(0,i.createElement)(Hl,{width:"18",height:"18"}),className:4===n?"is-active":"",label:(0,h.__)("Small preview",o.i18n),onClick:()=>l(4)})),(0,i.createElement)("div",{className:"ugb-modal-design-library__designs"},(0,i.createElement)(Sn,{columns:n,onSelect:e.onSelect,isBusy:r,designs:w,apiVersion:e.apiVersion}))))};Gl.defaultProps={search:"",onClose:()=>{},onSelect:()=>{},hasVersionSwitcher:!1,apiVersion:"",onChangeApiVersion:()=>{}};let $l=1;const ql=e=>{const[t]=(0,i.useState)("ugb-admin-setting-"+$l++),a=m()(["ugb-admin-setting"],{[`ugb-admin-setting--${e.size}`]:e.size});return(0,i.createElement)("div",{className:a,id:t},(0,i.createElement)("label",{className:"ugb-admin-setting__label-wrapper",htmlFor:t,onClick:e.onClick},!!e.label&&(0,i.createElement)("span",{className:"ugb-admin-setting__label"},e.label),(0,i.createElement)("div",{className:"ugb-admin-setting__field"},e.children)),e.help&&(0,i.createElement)("p",{className:"ugb-admin-setting__help"},e.help))};ql.defaultProps={label:"",onClick:()=>{}};const Wl=ql,Kl=e=>{const t=(0,i.createRef)();return(0,i.createElement)(Wl,n({onClick:e=>{e.preventDefault(),t.current.focus()}},e),(0,i.createElement)("input",{ref:t,className:"ugb-admin-text-setting",type:e.type,value:e.value,placeholder:e.placeholder,onChange:t=>{e.onChange(t.target.value),t.preventDefault(),t.stopPropagation()}}),e.children)};Kl.defaultProps={label:"",type:"text",value:"",placeholder:"",onChange:()=>{}};const Jl=Kl,Yl=e=>{const t=(0,i.createRef)();return(0,i.createElement)(Wl,n({onClick:a=>{e.onChange(!e.value),a.preventDefault(),t.current.focus()}},e),(0,i.createElement)("button",{ref:t,className:"ugb-admin-toggle-setting__button",type:"button",role:"switch","aria-checked":!!e.value,onClick:t=>{e.onChange(!e.value),t.preventDefault(),t.stopPropagation()},style:{minWidth:e.width||void 0},disabled:e.isDisabled?"disabled":""},(0,i.createElement)("span",null,e.disabled),(0,i.createElement)("span",null,e.enabled)))};Yl.defaultProps={label:"",value:!1,placeholder:"",onChange:()=>{},disabled:(0,h.__)("Disabled",o.i18n),enabled:(0,h.__)("Enabled",o.i18n),width:"",isDisabled:!1};const Xl=Yl;let Zl=[];class Ql extends i.Component{constructor(){super(...arguments),this.state={isLoading:0===Zl.length,termList:Zl}}componentWillMount(){this.state.termList.length||(this.isStillMounted=!0,this.fetchRequest=ve()({path:(0,be.addQueryArgs)(`/stackable/${"v"+(this.props.stkVersion||"2")}/terms`,{per_page:-1})}).then((e=>{this.isStillMounted&&(Zl=e,this.setState({termList:e,isLoading:!1}))})).catch((()=>{this.isStillMounted&&this.setState({termList:[],isLoading:!1})})))}componentWillUnmount(){this.isStillMounted=!1}render(){const e=[],t=[],a=[];let n="";const{taxonomy:l,allowReset:r}=this.props;Object.keys(this.state.termList).forEach((n=>{const{label:i,taxonomies:l}=this.state.termList[n];e.push({label:i,value:n}),n===this.props.postType&&Object.keys(l).forEach(((e,n)=>{const{label:i,terms:r}=l[e];t.push({label:i,value:e});const s=!this.props.taxonomyType&&0===n;(e===this.props.taxonomyType||s)&&Object.keys(r).forEach((e=>{a.push({name:r[e].name,value:r[e].term_id})}))}))}));const u=a.map((e=>e.name));let c=""!==l?l.split(",").map((e=>{const{name:t}=(0,p.find)(a,(t=>t.value===parseInt(e)))||{};return t})):void 0;if((0,p.compact)(c).length||(c=void 0),t.length){const e=this.props.taxonomyType||t[0].value,a=t.filter((t=>{let{value:a}=t;return e===a}));n=a.length?a[0].label:t[0].label}return this.state.isLoading?(0,i.createElement)("div",{className:"stk-taxonomy-control__spinner"},(0,i.createElement)(s.Spinner,null)):(0,i.createElement)("div",{className:"stk-taxonomy-control"},o.isPro&&(0,i.createElement)(gt,{label:(0,h.__)("Post Type",o.i18n),options:e,value:this.props.postType,allowReset:r,onChange:e=>{const t=Object.keys(this.state.termList[e].taxonomies);this.props.onChangePostType(e),this.props.onChangeTaxonomyType(t.length?t[0]:""),this.props.onChangeTaxonomy("")},default:"post"}),t.length>0&&(0,i.createElement)(gt,{label:(0,h.__)("Filter by Taxonomy",o.i18n),options:t,value:this.props.taxonomyType,allowReset:r,onChange:e=>{this.props.onChangeTaxonomyType(e),this.props.onChangeTaxonomy("")},default:"category"}),t.length>0&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(gt,{label:(0,h.__)("Taxonomy Filter Type",o.i18n),allowReset:r,options:[{label:(0,h.__)("Included In",o.i18n),value:"__in"},{label:(0,h.__)("Not In",o.i18n),value:"__not_in"}],value:this.props.taxonomyFilterType,onChange:this.props.onChangeTaxonomyFilterType,default:"__in"}),(0,i.createElement)(yr,{label:n,suggestions:u,value:c,onChange:e=>{var t;const n=null==e||null===(t=e.map)||void 0===t?void 0:t.call(e,(e=>{const{value:t}=(0,p.find)(a||[],(t=>t.name===e))||{};return t}));this.props.onChangeTaxonomy((0,p.compact)(n||[]).join(","))}})))}}Ql.defaultProps={postType:"post",onChangePostType:()=>{},taxonomyType:"category",onChangeTaxonomyType:()=>{},taxonomy:"",onChangeTaxonomy:()=>{},allowReset:!1};const er={Edit:e=>{const{blockProps:t,render:a,mainClass:l,blockTag:r,...s}=e,{blockName:o}=t,{anchor:u="",design:c,blockTag:g="div"}=t.attributes,d=m()([e.className],(0,M.applyFilters)(`stackable.${o}.main-block.classes`,{"ugb-main-block":l},t)),h=m()(["ugb-inner-block"],(0,M.applyFilters)(`stackable.${o}.main-block.inner-classes`,{},t)),p=(0,M.applyFilters)(`stackable.${o}.main-block.extraProps`,s,t),v=""!==u?u:void 0,b=g||r||"div";return(0,i.createElement)(b,n({},p,{id:v,className:d}),t.styles,(0,M.applyFilters)(`stackable.${o}.edit.output.outer`,null,c,t),a&&(0,i.createElement)("div",{className:h},(0,M.applyFilters)(`stackable.${o}.edit.output.before`,null,c,t),(0,i.createElement)("div",{className:"ugb-block-content"},a(t)),(0,M.applyFilters)(`stackable.${o}.edit.output.after`,null,c,t)))}};er.Edit.defaultProps={styles:null,mainClass:!0},er.Save=e=>{const{blockProps:t,render:a,mainClass:l,blockTag:r,...s}=e,{blockName:o}=t,{anchor:u="",design:c,blockTag:g="div"}=t.attributes,d=m()([e.className],(0,M.applyFilters)(`stackable.${o}.main-block.classes`,{"ugb-main-block":l},t)),h=m()(["ugb-inner-block"],(0,M.applyFilters)(`stackable.${o}.main-block.inner-classes`,{},t)),p=(0,M.applyFilters)(`stackable.${o}.main-block.extraProps`,s,t),v=""!==u?u:void 0,b=g||r||"div";return(0,i.createElement)(b,n({},p,{id:v,className:d}),t.styles,(0,M.applyFilters)(`stackable.${o}.save.output.outer`,null,c,t),a&&(0,i.createElement)("div",{className:h},(0,M.applyFilters)(`stackable.${o}.save.output.before`,null,c,t),(0,i.createElement)("div",{className:"ugb-block-content"},a(t)),(0,M.applyFilters)(`stackable.${o}.save.output.after`,null,c,t)))},er.Save.defaultProps={styles:null,mainClass:!0};const tr=function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M-10 210h1620V105.2H-10z"}))},ar=function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#straight-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"straight-1-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{d:"M-10 121.6h1620v-16.4H-10z"}))},nr={"wave-1":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{className:"wave-1_svg__st2",d:"M1341.4 48.9c-182.4 0-254.2 80.4-429.4 80.4-117.8 0-209.7-67.5-393.5-67.5-142.2 0-212.6 38.8-324.6 38.8S-10 64.7-10 64.7V210h1620V102c-110.6-40.2-181-53.1-268.6-53.1z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#wave-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"wave-1-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{className:"wave-1-shadow_svg__st2",d:"M1341.4 48.9c-182.4 0-254.2 80.4-429.4 80.4-117.8 0-209.7-67.5-393.5-67.5-142.2 0-212.6 38.8-324.6 38.8S-10 64.7-10 64.7v10s91.9 35.9 203.9 35.9 182.4-38.8 324.6-38.8c183.8 0 275.7 67.5 393.5 67.5 175.2 0 247-80.4 429.4-80.4 87.6 0 158 12.9 268.6 53.1v-10c-110.6-40.2-181-53.1-268.6-53.1z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1341.4 151.4C1159 151.4 1087.2 71 912 71c-117.8 0-209.7 67.5-393.5 67.5-142.2 0-212.6-38.8-324.6-38.8S-10 135.6-10 135.6v75.9h1620V98.3c-110.6 40.2-181 53.1-268.6 53.1z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#wave-1-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"wave-1-inverted-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{d:"M1341.4 151.4C1159 151.4 1087.2 71 912 71c-117.8 0-209.7 67.5-393.5 67.5-142.2 0-212.6-38.8-324.6-38.8S-10 135.6-10 135.6v10s91.9-35.9 203.9-35.9 182.4 38.8 324.6 38.8C702.3 148.5 794.2 81 912 81c175.2 0 247 80.4 429.4 80.4 87.6 0 158-12.9 268.6-53.1v-10c-110.6 40.2-181 53.1-268.6 53.1z"}))}}},"wave-2":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{className:"wave-2_svg__st2",d:"M1432.2 67.4c-88.8-16.7-156-5.3-204 8.5s-147.1 62.2-223.1 73.9c-75.4 11.6-164-7.5-275-27.9S571 88.1 456 98.1c-119.7 10.4-224.7 52-294.4 73-94.5 28.5-171.6-3-171.6-3V210h1620V91.6c-53 10-86.8-7.1-177.8-24.2z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#wave-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"wave-2-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{className:"wave-2-shadow_svg__st2",d:"M1432.2 67.4c-88.8-16.7-156-5.3-204 8.5s-147.1 62.2-223.1 73.9c-75.4 11.6-164-7.5-275-27.9S571 88.1 456 98.1c-119.7 10.4-224.7 52-294.4 73-94.5 28.5-171.6-3-171.6-3v10s77.1 31.5 171.6 3c69.7-21 174.7-62.6 294.4-73 115-10 163.1 3.4 274.1 23.8 111 20.4 199.6 39.5 275 27.9 76-11.7 175.1-60.1 223.1-73.9s115.2-25.2 204-8.5c91 17.1 124.8 34.2 177.8 24.2v-10c-53 10-86.8-7.1-177.8-24.2z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1432.2 156.2c-88.8 16.7-156 5.3-204-8.5s-147.1-62.2-223.1-73.9c-75.4-11.6-164 7.5-275 27.9S571 135.5 456 125.5c-119.7-10.4-224.7-52-294.4-73C67.1 24-10 55.5-10 55.5v155.2h1620V132c-53-10-86.8 7.1-177.8 24.2z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#wave-2-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"wave-2-inverted-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{d:"M1432.2 156.2c-88.8 16.7-156 5.3-204-8.5s-147.1-62.2-223.1-73.9c-75.4-11.6-164 7.5-275 27.9S571 135.5 456 125.5c-119.7-10.4-224.7-52-294.4-73C67.1 24-10 55.5-10 55.5v10s77.1-31.5 171.6-3c69.7 21 174.7 62.6 294.4 73 115 10 163.1-3.4 274.1-23.8 111-20.4 199.6-39.5 275-27.9 76 11.7 175.1 60.1 223.1 73.9s115.2 25.2 204 8.5c91-17.1 124.8-34.2 177.8-24.2v-10c-53-10-86.8 7.1-177.8 24.2z"}))}}},"wave-3":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{className:"wave-3_svg__st2",d:"M1413.6 161.4c-157.9 0-338.2-37.7-495.1-67.4-215.6-40.8-328.1-44.6-418.2-41.1S317 73.4 188.4 102-10 136.2-10 136.2v74.2h1620v-68.5s-68.8 19.5-196.4 19.5z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#wave-3-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"wave-3-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{className:"wave-3-shadow_svg__st2",d:"M1413.6 161.4c-157.9 0-338.2-37.7-495.1-67.4-215.6-40.8-328.1-44.6-418.2-41.1S317 73.4 188.5 102-10 136.2-10 136.2v10s69.9-5.7 198.5-34.3 221.7-45.7 311.8-49.1 202.6.3 418.2 41.1c156.9 29.7 337.2 67.4 495.1 67.4 127.6 0 196.4-19.4 196.4-19.4v-10s-68.8 19.5-196.4 19.5z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1413.6 39.3c-157.9 0-338.2 37.7-495.1 67.4-215.6 40.8-328.1 44.6-418.2 41.1S317 127.3 188.4 98.7-10 64.5-10 64.5v150.2h1620V58.8s-68.8-19.5-196.4-19.5z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#wave-3-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"wave-3-inverted-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{d:"M1413.6 39.3c-157.9 0-338.2 37.7-495.1 67.4-215.6 40.8-328.1 44.6-418.2 41.1S317 127.3 188.4 98.7C59.8 70.1-10 64.5-10 64.5v10s69.8 5.6 198.4 34.2c128.6 28.6 221.8 45.6 311.9 49.1s202.6-.3 418.2-41.1c156.9-29.7 337.2-67.4 495.1-67.4 127.6 0 196.4 19.5 196.4 19.5v-10s-68.8-19.5-196.4-19.5z"}))}}},"wave-4":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1610 209.7v-51.2s-81.4-33.3-241.4-23.1c-157.4 10-247.9 49.6-340.9 49.4-93.1-.1-121-14.6-174.2-33.6-75.7-27.1-166.9-27.2-185.5-25.1-18.7 2.1-67.8 5.5-106-19.3-38.2-24.7-94.8-55.4-209.2-43.1C238.1 76.3 80 111.8-10 55.7v154h1620z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#wave-4-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"wave-4-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{d:"M1368.6 135.4c-157.4 10-247.9 49.6-340.9 49.4-93.1-.1-121-14.6-174.2-33.6-75.7-27.1-166.9-27.2-185.5-25.1-18.7 2.1-67.8 5.5-106-19.3-38.2-24.7-94.8-55.4-209.2-43.1C238.1 76.3 80 111.8-10 55.7v10c90 56.1 248.1 20.6 362.8 8 114.4-12.3 171 18.4 209.2 43.1 38.2 24.8 87.3 21.4 106 19.3 18.6-2.1 109.8-2 185.5 25.1 53.2 19 81.1 33.5 174.2 33.6 93 .2 183.5-39.4 340.9-49.4 160-10.2 241.4 23.1 241.4 23.1v-10s-81.4-33.3-241.4-23.1z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1610 208.9V79.2s-81.4 33.3-241.4 23.1c-157.4-10-247.9-49.6-340.9-49.4-93.1.1-121 14.6-174.2 33.6-75.7 27.1-166.9 27.2-185.5 25.1-18.7-2.1-67.8-5.5-106 19.3-38.2 24.7-94.8 55.4-209.2 43.1C238.1 161.4 80 125.9-10 182v26.9h1620z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#wave-4-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"wave-4-inverted-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{d:"M1368.6 102.3c-157.4-10-247.9-49.6-340.9-49.4-93.1.1-121 14.6-174.2 33.6-75.7 27.1-166.9 27.2-185.5 25.1-18.7-2.1-67.8-5.5-106 19.3-38.2 24.7-94.8 55.4-209.2 43.1C238.1 161.4 80 125.9-10 182v10c90-56.1 248.1-20.6 362.8-8 114.4 12.3 171-18.4 209.2-43.1 38.2-24.8 87.3-21.4 106-19.3 18.6 2.1 109.8 2 185.5-25.1 53.2-19 81.1-33.5 174.2-33.6 93-.2 183.5 39.4 340.9 49.4 160 10.2 241.4-23.1 241.4-23.1v-10s-81.4 33.3-241.4 23.1z"}))}}},"curve-1":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{className:"curve-1_svg__st2",d:"M1610 177.3C1423 122.9 1133.3 88 808 88c-334.7 0-631.8 37-818 94.1v28h1620v-32.8z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#curve-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"curve-1-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{className:"curve-1-shadow_svg__st2",d:"M808 87.9c-334.7 0-631.8 37-818 94.1v10c186.2-57.1 483.3-94.1 818-94.1 325.3 0 615 34.9 802 89.3v-10c-187-54.3-476.7-89.3-802-89.3z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1610 78.3c-187 54.4-476.7 89.3-802 89.3-334.7 0-631.8-37-818-94.1v136.8h1620v-132z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#curve-1-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"curve-1-inverted-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{d:"M808 167.6c-334.7 0-631.8-37-818-94.1v10c186.2 57.1 483.3 94.1 818 94.1 325.3 0 615-34.9 802-89.3v-10c-187 54.4-476.7 89.3-802 89.3z"}))}}},"curve-2":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{className:"curve-2_svg__st2",d:"M-10 207.6h1620S1430.8 23.8 1138.3 23.8C884 23.8 234.9 140.1-10 197.9v9.7z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#curve-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"curve-2-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{className:"curve-2-shadow_svg__st2",d:"M1138.3 36.2c246.1 0 412 130.1 458.4 171.4h13.3S1430.8 23.8 1138.3 23.8C884 23.8 172 156.9-10 197.9v9.7H2.2C201.7 163.7 889.3 36.2 1138.3 36.2z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M-10 207.4h1620S1608.1.1 1604.2 3.7c-32.8 30.8-203.9 178.2-465.9 178.2C884 181.9 234.9 65.6-10 7.8v199.6z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#curve-2-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"curve-2-inverted-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{d:"M1604.2 13.7c3.3-3.1 5.2 152.3 5.7 193.7h.1S1608.1.1 1604.2 3.7c-32.8 30.8-203.9 178.2-465.9 178.2C884 181.9 234.9 65.6-10 7.8v10c244.9 57.8 894 174.1 1148.3 174.1 262 0 433.1-147.5 465.9-178.2z"}))}}},"curve-3":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{className:"curve-3_svg__st1",d:"M-6.7 13.4S456 171.1 876.1 171.1 1606.4 16 1606.4 16v192.6H-6.7V13.4z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#curve-3-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"curve-3-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{className:"curve-3-shadow_svg__st1",d:"M876.1 171.1C456 171.1-6.7 13.4-6.7 13.4v13.7S456 184.8 876.1 184.8s730.3-155.1 730.3-155.1V16s-310.3 155.1-730.3 155.1z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M-6.6 177.6S456.1 40.3 876.2 40.3s730.3 135.1 730.3 135.1v33.5H-6.6v-31.3z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#curve-3-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"curve-3-inverted-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{d:"M876.2 40.3C456.1 40.3-6.5 177.6-6.5 177.6v10S456.2 50.3 876.3 50.3s730.3 135.1 730.3 135.1v-10c0-.1-310.3-135.1-730.4-135.1z"}))}}},"slant-1":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{className:"slant-1_svg__st2",d:"M-10 210h1620V.5L-10 183.9z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#slant-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"slant-1-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{className:"slant-1-shadow_svg__st2",d:"M-10 183.9v10L1610 10.5V.5z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1610 210H-10V.5l1620 183.4z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#slant-1-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"slant-1-inverted-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{d:"M-10 .5v10l1620 183.4v-10z"}))}}},"slant-2":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{className:"slant-2_svg__st1",d:"M1610 39.2V209H-10V39.2l810 118.9 810-118.9z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#slant-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"slant-2-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{className:"slant-2-shadow_svg__st1",d:"M1610 39.2v12L800 170.1-10 51.2v-12l810 118.9 810-118.9z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1610 160v53.2H-10V160L800 41.1 1610 160z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#slant-2-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"slant-2-inverted-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{d:"M800 41.1L-10 160v10L800 51.1 1610 170v-10z"}))}}},"straight-1":{default:{shape:tr,shadow:ar},inverted:{shape:tr,shadow:ar}},"rounded-1":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{className:"rounded-1_svg__st1",d:"M1602.9 209l-9.3-117.7c-3.8-48.1-46.3-84.4-94.4-80.6L-8 131.2V209h1610.9z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#rounded-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"rounded-1-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{className:"rounded-1-shadow_svg__st1",d:"M1491.2 20.7c48.1-3.8 90.6 32.5 94.4 80.6l8.5 107.7h8.8l-9.3-117.7c-3.8-48.1-46.3-84.4-94.4-80.6L-8 131.2v9.4L1491.2 20.7z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1604.5-2.7l-10.9 104.5c-3.8 48.1-46.3 84.4-94.4 80.6L-8 61.8v148.5h1613.9l-1.4-213z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#rounded-1-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"rounded-1-inverted-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{d:"M1596.6 111.7l8.2-78-.2-36.4-10.9 104.5c-3.8 48.1-46.3 84.4-94.4 80.6L-8 61.8v10l1507.2 120.5c48.1 3.8 93.6-32.5 97.4-80.6z"}))}}},"rounded-2":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{className:"rounded-2_svg__st2",d:"M1609.5 133.2h-9.5c0-10.9-8.9-19.8-19.8-19.8H19.8C8.9 113.3 0 122.2 0 133.2l-10-.2v77h1619.5v-76.8z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#rounded-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"rounded-2-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{className:"rounded-2-shadow_svg__st2",d:"M1600 133.2c0-10.9-8.9-19.8-19.8-19.8H19.8C8.9 113.3 0 122.2 0 133.2V210h9v-66.8c0-10.9 8.9-19.8 19.8-19.8h1542.4c10.9 0 19.8 8.9 19.8 19.8V210h9v-76.8z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1609.5 128.5h-9.5c0 10.9-8.9 19.8-19.8 19.8H19.8C8.9 148.4 0 139.5 0 128.5l-10 .2v83.1h1619.5v-83.3z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#rounded-2-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"rounded-2-inverted-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{d:"M1600 128.5c0 10.9-8.9 19.8-19.8 19.8H19.8C8.9 148.4 0 139.5 0 128.5l-10 .2v10l10-.2c0 11 8.9 19.9 19.8 19.8h1560.4c10.9 0 19.8-8.9 19.8-19.8h9.5v-10h-9.5z"}))}}},"rounded-3":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1610.5 189.1s-128.2-82.6-138.2-89.2c-17.1-11.3-37.2-15.5-87-18.1-49.7-2.6-753.6-40.7-783.9-42.3-30.3-1.5-81.1-1.3-121.1 8.2S-9.5 163.2-9.5 163.2v50h1620v-24.1z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#rounded-3-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"rounded-3-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{d:"M1472.3 99.9c-17.1-11.3-37.2-15.5-87-18.1-49.7-2.6-753.6-40.7-783.9-42.3-30.3-1.5-81.1-1.3-121.1 8.2S-9.5 163.2-9.5 163.2v10s449.8-106 489.8-115.5 90.8-9.7 121.1-8.2c30.3 1.6 734.2 39.7 783.9 42.3 49.8 2.6 69.9 6.8 87 18.1 10 6.6 138.2 89.2 138.2 89.2v-10s-128.2-82.6-138.2-89.2z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1610.5 24.1s-128.2 82.6-138.2 89.2c-17.1 11.3-37.2 15.5-87 18.1-49.7 2.6-753.6 40.7-783.9 42.3-30.3 1.5-81.1 1.3-121.1-8.2S-9.5 50-9.5 50v158.9h1620V24.1z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#rounded-3-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"rounded-3-inverted-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{d:"M1472.3 113.3c-17.1 11.3-37.2 15.5-87 18.1-49.7 2.6-753.6 40.7-783.9 42.3-30.3 1.5-81.1 1.3-121.1-8.2S-9.5 50-9.5 50v10s449.8 106 489.8 115.5 90.8 9.7 121.1 8.2c30.3-1.6 734.2-39.7 783.9-42.3 49.8-2.6 69.9-6.8 87-18.1 10-6.6 138.2-89.2 138.2-89.2v-10s-128.2 82.6-138.2 89.2z"}))}}}},ir=e=>{const{shape:t,shadow:a}=nr[e.design||"wave-1"][e.inverted?"inverted":"default"],n=m()([e.className,"ugb-separator-wrapper"]);return(0,i.createElement)("div",{className:n},e.shadow&&(0,i.createElement)(a,{className:"ugb-separator__shadow",preserveAspectRatio:"none","aria-hidden":"true"}),(0,i.createElement)(t,{className:"ugb-separator__layer-1",preserveAspectRatio:"none","aria-hidden":"true"}),e.children)};ir.defaultProps={className:"",design:"wave-1",shadow:!1,inverted:!1},ir.Save=e=>(0,i.createElement)(ir,e);const lr=()=>(0,i.createElement)("hr",{className:"ugb-control-separator"}),rr=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a="";return a=t?sr(e,{"aria-label":t,role:"img"},["aria-hidden"]):sr(e,{"aria-hidden":"true"},["aria-label","role"]),a},sr=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const n=me(e);return n?(Object.keys(t).forEach((e=>{n.setAttribute(e,t[e])})),a.forEach((e=>{n.removeAttribute(e)})),n.outerHTML):""},or=e=>{const[t,a]=(0,i.useState)(0),n=()=>{a(t+1)},l=(0,i.useMemo)((()=>e.prependRender?(0,i.renderToString)(e.prependRender):""),[e.prependRender]);(0,i.useEffect)((()=>{(window.FontAwesome?Promise.resolve(!0):new Promise(((e,t)=>{let a=240;const n=setInterval((()=>{window.FontAwesome?(clearInterval(n),e(!0)):a--<0&&(clearInterval(n),t(!1))}),250)}))).then(n)}),[]);const r=(0,p.pick)(e,["className","color","fill","style"]);if("string"==typeof e.value&&e.value.match(/^<svg/)){let t=rr(e.value,e.ariaLabel);return t=sr(t,{width:"32",height:"32"}),(0,i.createElement)(i.RawHTML,r,l+t)}if(!window.FontAwesome)return(0,i.createElement)(s.Spinner,null);const o=e.value?e.value.replace(/-.*$/,""):e.prefix,u=e.value?e.value.replace(/^.*?-/,""):e.iconName;if(o&&u){const t=de(o,u);if(!t)return((e,t)=>{const a=he(e,t);return a?Promise.resolve(a):new Promise(((a,n)=>{let i=240;const l=setInterval((()=>{const r=he(e,t);window.FontAwesome?(clearInterval(l),a(r)):i--<0&&(clearInterval(l),n(!1))}),250)}))})(o,u).then(n),(0,i.createElement)(s.Spinner,null);let a=rr(t,e.ariaLabel);return a=sr(a,{width:"32",height:"32"}),(0,i.createElement)(i.RawHTML,r,l+a)}const c=de("far","smile");let g=rr(c,e.ariaLabel);return g=sr(g,{width:"32",height:"32"}),(0,i.createElement)(i.RawHTML,r,l+g)};or.Content=e=>{const t=(0,p.pick)(e,["className","color","fill","style"]),a=e.prependRender?(0,i.renderToString)(e.prependRender):"";if("string"==typeof e.value&&e.value.match(/^<svg/)){let n=rr(e.value,e.ariaLabel);return n=sr(n,{width:"32",height:"32"}),(0,i.createElement)(i.RawHTML,t,a+n)}const n=e.value?e.value.replace(/-.*$/,""):e.prefix,l=e.value?e.value.replace(/^.*?-/,""):e.iconName,r=de(n,l);let s=rr(r,e.ariaLabel);return s=sr(s,{width:"32",height:"32"}),(0,i.createElement)(i.RawHTML,t,a+s)},or.defaultProps={ariaLabel:"",prefix:"",iconName:"",value:""};const ur=or,cr=e=>e.match(/^<svg(.*?)<\/svg>$/g)?e:e.match(/<svg/)?(e.match(/<svg.*?<\/svg>/g)||[e])[0]:e,gr=e=>{const{...t}=e;return t.value=(0,i.useMemo)((()=>"string"===e.value?cr(e.value):e.value),[e.value]),(0,i.createElement)(ur,t)};gr.Content=e=>{const{...t}=e;return t.value="string"===e.value?cr(e.value):e.value,(0,i.createElement)(ur.Content,t)};const mr=gr,dr=e=>{const t=m()(["stk-inspector-control",e.className],{"stk-inspector-control--allow-reset":e.allowReset,"stk--is-small":e.isSmall}),a=null!==e.showReset?e.showReset:void 0!==e.value&&e.value!==e.defaultValue&&e.value!==e.placeholder;return(0,i.createElement)(s.BaseControl,{help:e.help,className:t},e.hasLabel&&(0,i.createElement)(ki,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens,afterButton:e.afterButton}),e.children,e.allowReset&&a&&(0,i.createElement)(f,{className:"stk-inspector-control__reset-button",isSmall:!0,isTertiary:!0,"aria-label":(0,h.__)("Reset",o.i18n),onClick:()=>{e.onReset?e.onReset():e.onChange(e.defaultValue)},icon:(0,i.createElement)(s.Dashicon,{icon:"image-rotate"})}))};dr.defaultProps={className:"",help:"",id:"",screens:["desktop"],units:null,unit:"px",onChangeUnit:()=>{},value:"",onChange:()=>{},allowReset:!1,showReset:null,defaultValue:"",onReset:null,isLinked:!0,onLink:()=>{},afterButton:null,isSmall:!1,hasLabel:!0};const hr=dr,pr=e=>{const{label:t,help:a}=e,n=`inspector-toggle-control-${(0,te.useInstanceId)(pr)}`,[l,r]=je(e.attribute,e.responsive,e.hover,e.changeCallback),o=void 0===e.checked?l:e.checked,u=void 0===e.onChange?r:e.onChange;let c,g;a&&(c=n+"__help",g=(0,p.isFunction)(a)?a(o):a);const d=m()(["components-toggle-control","stk-toggle-control",e.className]);return(0,i.createElement)(hr,{id:n,help:g,className:d,allowReset:!0,value:o,showReset:e.defaultValue?o!==e.defaultValue:o,onChange:u,hasLabel:!1,defaultValue:e.defaultValue},(0,i.createElement)(s.FormToggle,{id:n,checked:o,onChange:e=>u(e.target.checked),"aria-describedby":c}),(0,i.createElement)("label",{htmlFor:n,className:"components-toggle-control__label"},t))};pr.defaultProps={className:"",allowReset:!1,showReset:null,defaultValue:"",attribute:"",responsive:!1,hover:!1,checked:void 0,onChange:void 0};const vr=pr,br=e=>{var t;const[a,l]=je(e.attribute,e.responsive,e.hover),[r,o]=He(e);return r.url=St(r.url),null!==(t=r.url)&&void 0!==t&&t.includes("http")||(r.url=void 0),(0,i.createElement)(Fe,n({},o,{className:m()("stk-advanced-focal-point-control",e.className)}),(0,i.createElement)(s.FocalPointPicker,n({},r,{value:void 0===e.value?a:e.value,onChange:void 0===e.onChange?l:e.onChange})),(0,i.createElement)(st,{allowReset:e.allowReset,value:void 0===e.value?a:e.value,default:e.default,onChange:void 0===e.onChange?l:e.onChange}))};br.defaultProps={className:"",url:"",allowReset:!0,default:"",attribute:"",responsive:!1,hover:!1,value:void 0,onChange:void 0},(0,i.memo)(br);const fr=e=>{const[t,a]=je(e.attribute,e.responsive,e.hover),[l,r]=He(e),{...o}=l,u=void 0===e.value?t:e.value,c=void 0===e.onChange?a:e.onChange;return(0,i.createElement)(Fe,n({},r,{className:m()("stk-advanced-token-field",e.className)}),(0,i.createElement)(s.FormTokenField,n({},o,{value:u,onChange:c})),(0,i.createElement)(st,{allowReset:e.allowReset,value:u,default:e.default,onChange:c}))};fr.defaultProps={className:"",allowReset:!0,default:"",attribute:"",value:void 0,onChange:void 0};const yr=fr;(0,h.__)("Blur",o.i18n),(0,h.__)("Brightness",o.i18n),(0,h.__)("Contrast",o.i18n),(0,h.__)("Grayscale",o.i18n),(0,h.__)("Hue Rotate",o.i18n),(0,h.__)("Invert",o.i18n),(0,h.__)("Opacity",o.i18n),(0,h.__)("Saturate",o.i18n),(0,h.__)("Sepia",o.i18n),(0,i.createElement)(k,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,i.createElement)(y,{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"}));(0,h.__)("Add Column",o.i18n);(0,h.__)("Horizontal Offset",o.i18n),(0,h.__)("Vertical Offset",o.i18n),(0,h.__)("Blur",o.i18n),(0,h.__)("Shadow Spread",o.i18n),(0,h.__)("Shadow Color",o.i18n),(0,h.__)("Shadow Opacity",o.i18n);(0,h.__)("Shadow / Outline",o.i18n);const kr=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Object.keys(e).reduce(((n,i)=>({...n,[we(i,t,t,a?".editor-styles-wrapper":"")]:e[i]})),{})},_r=e=>Object.keys(e).reduce(((t,a)=>{const n=Object.keys(e[a]).reduce(((t,n)=>{const i=e[a][n];if(void 0===i)return t;const l=n.replace(/^(--?)?(.*?$)/,((e,t,a)=>`${t||""}${(0,p.kebabCase)(a)}`));return t+"\n\t"+l+": "+i+";"}),"");return t.push("\n\n"+a+" {"+n+"\n}"),t}),[]),wr=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["desktop"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1024,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:768;const n=(0,p.sortBy)("string"==typeof e?e.split(",").map((e=>e.trim())):e);return(0,p.isEqual)(n,["desktop","tablet"])?"@media screen and (min-width: "+a+"px)":(0,p.isEqual)(n,["desktop"])?"@media screen and (min-width: "+t+"px)":(0,p.isEqual)(n,["mobile","tablet"])?"@media screen and (max-width: "+(t-1)+"px)":(0,p.isEqual)(n,["tablet"])?"@media screen and (min-width: "+a+"px) and (max-width: "+(t-1)+"px)":(0,p.isEqual)(n,["mobile"])?"@media screen and (max-width: "+(a-1)+"px)":null},xr=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1024,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:768,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;const r=[];Object.keys(e).forEach((t=>{if(["desktopTablet","desktopOnly","tablet","tabletOnly","mobile","ie11","editor","saveOnly","custom"].includes(t)){const a=t;Object.keys(e[a]).forEach((t=>{Object.keys(e[a][t]).forEach((n=>void 0===e[a][t][n]?delete e[a][t][n]:{})),Object.keys(e[a][t]).length||delete e[a][t]})),Object.keys(e[a]).length||delete e[a]}else Object.keys(e[t]).forEach((a=>void 0===e[t][a]?delete e[t][a]:{})),Object.keys(e[t]).length||delete e[t]}));const s=(0,p.omit)(e,["desktopTablet","desktopOnly","tablet","tabletOnly","mobile","ie11","editor","saveOnly","custom"]);if(Object.keys(s).length){const e=kr(s,t,i);Array.prototype.push.apply(r,_r(e))}if(void 0!==e.desktopTablet){const l=kr(e.desktopTablet,t,i),s=_r(l);s&&(i?s.forEach((e=>{r.push("\n\n"+wr(["desktop","tablet"],a,n)+" {\n"+e+" }")})):r.push(`\n\n${wr(["desktop","tablet"],a,n)} {\n${s.join("")} }`))}if(void 0!==e.desktopOnly){const l=kr(e.desktopOnly,t,i),s=_r(l);s&&(i?s.forEach((e=>{r.push("\n\n"+wr(["desktop"],a,n)+" {\n"+e+" }")})):r.push(`\n\n${wr(["desktop"],a,n)} {\n${s.join("")} }`))}if(void 0!==e.tablet){const l=kr(e.tablet,t,i),s=_r(l);s&&(i?s.forEach((e=>{r.push("\n\n"+wr(["mobile","tablet"],a,n)+" {\n"+e+" }")})):r.push(`\n\n${wr(["mobile","tablet"],a,n)} {\n${s.join("")} }`))}if(void 0!==e.tabletOnly){const l=kr(e.tabletOnly,t,i),s=_r(l);s&&(i?s.forEach((e=>{r.push("\n\n"+wr(["tablet"],a,n)+" {\n"+e+" }")})):r.push(`\n\n${wr(["tablet"],a,n)} {\n${s.join("")} }`))}if(void 0!==e.mobile){const l=kr(e.mobile,t,i),s=_r(l);s&&(i?s.forEach((e=>{r.push("\n\n"+wr(["mobile"],a,n)+" {\n"+e+" }")})):r.push(`\n\n${wr(["mobile"],a,n)} {\n${s.join("")} }`))}if(void 0!==e.ie11){const a=kr(e.ie11,t,i),n=_r(a);n&&r.push(`\n\n@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {\n${n.join("")} }`)}return void 0!==e.custom&&Array.prototype.push.apply(r,_r(e.custom)),i&&void 0!==e.editor&&!l&&Array.prototype.push.apply(r,xr(e.editor,t,a,n,i,l++)),i||void 0===e.saveOnly||l||Array.prototype.push.apply(r,xr(e.saveOnly,t,a,n,i,l++)),r},Cr=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Desktop";const a=[(0,p.omit)(e,["desktopTablet","desktopOnly","tablet","tabletOnly","mobile","editor","ie11","saveOnly"])];return"Desktop"===t?(a.push(e.desktopTablet||{}),a.push(e.desktopOnly||{}),e.editor&&(a.push((0,p.omit)(e.editor,["desktopTablet","desktopOnly","tablet","tabletOnly","mobile","editor","ie11","saveOnly"])),a.push(e.editor.desktopTablet||{}),a.push(e.editor.desktopOnly||{}))):"Tablet"===t?(a.push(e.desktopTablet||{}),a.push(e.tablet||{}),a.push(e.tabletOnly||{}),e.editor&&(a.push((0,p.omit)(e.editor,["desktopTablet","desktopOnly","tablet","tabletOnly","mobile","editor","ie11","saveOnly"])),a.push(e.editor.desktopTablet||{}),a.push(e.editor.tablet||{}),a.push(e.editor.tabletOnly||{}))):(a.push(e.tablet||{}),a.push(e.mobile||{}),e.editor&&(a.push((0,p.omit)(e.editor,["desktopTablet","desktopOnly","tablet","tabletOnly","mobile","editor","ie11","saveOnly"])),a.push(e.editor.tablet||{}),a.push(e.editor.mobile||{}))),a.forEach((e=>{Object.keys(e).forEach((t=>{Object.keys(e[t]).forEach((a=>void 0===e[t][a]?delete e[t][a]:{})),Object.keys(e[t]).length||delete e[t]}))})),F().all(a)},Sr=(0,i.memo)((e=>{const{breakTablet:t=1024,breakMobile:a=768,styleFunc:n=(()=>{})}=e,l=S(),{clientId:r}=(0,d.useBlockEditContext)(),s=E(r),o=fe(s.uniqueId),u=n({...s,clientId:r}).map((e=>{const n=Cr(e,l);return xr(n,o,t,a,!0)}));return u?u.map(((e,t)=>(0,i.createElement)("style",{key:t},e))):null}));Sr.Content=e=>{const{breakTablet:t=1024,breakMobile:a=768,styleFunc:n=(()=>{}),attributes:l={}}=e,r=fe(l.uniqueId),s=xr(Er(n(l)),r,t,a,!1);return s&&s.length?(0,i.createElement)("style",null,ke(s.join(""))):null},Sr.displayName="Style";const Er=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const a=F().all(e);return t?Tr(a):a};Sr.addAttributes=e=>{e.add({attributes:{generatedCss:{type:"string",source:"html",selector:"style:not(.stk-custom-css)",default:""}},versionAdded:"3.0.3",versionDeprecated:""})};const Mr=(0,i.memo)((e=>{const{version:t,versionAdded:a,versionDeprecated:n,styles:l,deviceType:r,blockUniqueClassName:s,breakTablet:o,breakMobile:u}=e,c=(e=>{const t=(0,i.useContext)(ae),a=(0,x.useSelect)((e=>{var t;return null===(t=e("core/editor"))||void 0===t?void 0:t.getCurrentPostId()})),[n,l]=(0,i.useState)(0);return(0,i.useEffect)((()=>{if(((e,t)=>(null==e?void 0:e.postId)&&t&&(null==e?void 0:e.postId)!==t)(t,a)&&e){const a=ne[e]||[];a.includes(null==t?void 0:t.postId)||a.push(null==t?void 0:t.postId),ne[e]=a,l(a.findIndex((e=>e===(null==t?void 0:t.postId)))+1)}}),[null==t?void 0:t.id,a,e]),n})((null==s?void 0:s.replace("stk-",""))||""),g=c&&!s.match(/-[\d]$/g)?s+`-${c}`:s,m=(0,i.useMemo)((()=>t?A()(t,a)>=0&&(!n||-1===A()(t,n)):!!n),[t,a,n]),d=(0,i.useMemo)((()=>{if(!m)return"";const e=Cr(l,r);return xr(Tr(e),g,o,u)}),[m,l,r,g,o,u]),h=St(d.join(""));return m&&d&&h?(0,i.createElement)("style",null,h):null}));Mr.defaultProps={styles:null,blockUniqueClassName:"",breakTablet:1024,breakMobile:768,doImportant:!0,deviceType:"",version:"",versionAdded:"",versionDeprecated:!1},Mr.Content=e=>{const{version:t,versionAdded:a,versionDeprecated:n,styles:l,blockUniqueClassName:r,breakTablet:s,breakMobile:o}=e;if(!(t?A()(t,a)>=0&&(!n||-1===A()(t,n)):n))return null;const u=xr(Tr(l),r,s,o);return u?(0,i.createElement)(i.Fragment,null,ke(u.join(""))):null},Mr.Content.defaultProps={styles:null,blockUniqueClassName:"",breakTablet:1024,breakMobile:768,doImportant:!0,version:"",versionAdded:"",versionDeprecated:!1};const Tr=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return"object"!=typeof e?le(e,t):Object.keys(e).reduce(((a,n)=>({...a,[n]:Tr(e[n],t)})),{})},Nr=(0,i.forwardRef)(((e,t)=>{const{children:a,className:l,tagName:r,...s}=e,o=m()(["stk-link",l]),u=r||"a";return(0,i.createElement)(u,n({ref:t,className:o,href:"#0"},s),a)}));Nr.defaultProps={className:"",tagName:"a"},Nr.Content=e=>{const t=m()(["stk-link",e.className]),a=(0,p.omit)(e,["target","rel","tagName"]),l=e.tagName||"a";e.target&&(a.target=e.target);const r=(e.rel||"").split(" ").filter((e=>!!e));return"_blank"===e.target&&(r.includes("noreferrer")||r.push("noreferrer"),r.includes("noopener")||r.push("noopener")),r.length&&(a.rel=r.join(" ")),(0,i.createElement)(l,n({},a,{className:t}))},Nr.Content.defaultProps={className:"",target:"",rel:"",href:"",tagName:"a"};const Br=(0,p.throttle)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const t=document.querySelector(".editor-styles-wrapper");t&&!t.classList.contains(`stk-preview-device-${e.toLowerCase()}`)&&(t.classList.remove("stk-preview-device-desktop","stk-preview-device-tablet","stk-preview-device-mobile"),t.classList.add(`stk-preview-device-${e.toLowerCase()}`))}),100),Ir=[.25,.33333,.5,.66666,.75,1],Or=[.1,.2,.3,.4,.5,.6,.7,.8,.9,1],Pr=function(e,t,a){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"right",i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];const l=e.slice(0,t).reduce(((e,t)=>e+t),0),r=l+e[t],s=i?Or:Ir;return s.map((e=>{const t=a*e;return"right"===n?t-l:r-t}))},Rr=Ir.map((e=>100*e)),Lr=Or.map((e=>100*e)),zr=(0,i.createContext)({showColumnTooltip:!1,setShowColumnTooltip:()=>{}}),Ar={Desktop:5,Tablet:10,Mobile:10},Dr=e=>{const{clientId:t}=(0,d.useBlockEditContext)(),a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const t=(0,d.useBlockEditContext)(),a=e||t.clientId,n=(0,x.useSelect)((e=>{var t,n,i,l,r;const{getBlock:s,getBlockParents:o}=e("core/block-editor"),u=s(a),c=(0,p.last)(o(a)),g=c&&c!==a;var m,d;if(!g)return{numInnerBlocks:null==u||null===(m=u.innerBlocks)||void 0===m?void 0:m.length,hasInnerBlocks:!(null==u||null===(d=u.innerBlocks)||void 0===d||!d.length),innerBlocks:null==u?void 0:u.innerBlocks};const h=g?s(c):null,v=g?(0,p.indexOf)(null==h?void 0:h.innerBlocks,s(a)):-1,b=!!g&&(null===(t=(0,p.last)(null==h?void 0:h.innerBlocks))||void 0===t?void 0:t.clientId)===a;var f,y,k;return g&&"stackable/column"===u.name&&!(null===(f=document.querySelector(`.editor-styles-wrapper [data-block="${h.clientId}"] .stk-block`))||void 0===f?void 0:f.classList.contains("stk-row"))?{blockIndex:v,parentBlock:h,isFirstBlock:!0,isLastBlock:!0,isOnlyBlock:!0,adjacentBlock:null,adjacentBlockIndex:-1,adjacentBlocks:[],numInnerBlocks:null==u||null===(y=u.innerBlocks)||void 0===y?void 0:y.length,hasInnerBlocks:!(null==u||null===(k=u.innerBlocks)||void 0===k||!k.length),innerBlocks:null==u?void 0:u.innerBlocks}:{blockIndex:v,parentBlock:h,isFirstBlock:!!g&&(null===(n=(0,p.first)(null==h?void 0:h.innerBlocks))||void 0===n?void 0:n.clientId)===a,isLastBlock:b,isOnlyBlock:!!g&&(null==h||null===(i=h.innerBlocks)||void 0===i?void 0:i.length)<=1,adjacentBlock:g?(0,p.nth)(null==h?void 0:h.innerBlocks,b?v-1:v+1):null,adjacentBlockIndex:g?b?v-1:v+1:-1,adjacentBlocks:(null==h?void 0:h.innerBlocks)||[],numInnerBlocks:null==u||null===(l=u.innerBlocks)||void 0===l?void 0:l.length,hasInnerBlocks:!(null==u||null===(r=u.innerBlocks)||void 0===r||!r.length),innerBlocks:null==u?void 0:u.innerBlocks}}),[a]);return n}(),{isFirstBlock:n,isLastBlock:l,isOnlyBlock:r,adjacentBlocks:o,blockIndex:u,parentBlock:c}=a,g=!e.context["stackable/columnFit"],h=S();(()=>{const e=S();(0,i.useEffect)((()=>{Br(e)}),[e])})();const[v,b]=(0,i.useState)([]),[f,y]=(0,i.useState)(""),[k,_]=(0,i.useState)([]),[w,E]=(0,i.useState)(2e3),[M,T]=(0,i.useState)(""),[N,B]=(0,i.useState)(null),I="Desktop"===h,O="Tablet"===h,[P,R]=(0,i.useState)(null==o?void 0:o.length);(0,i.useEffect)((()=>{P&&null!=o&&o.length?P!==(null==o?void 0:o.length)&&(e.onResetDesktop(),R(o.length)):R(null==o?void 0:o.length)}),[o]);const[L,z]=(0,i.useState)(!1);(0,i.useEffect)((()=>(z(!0),()=>{z(!1)})),[]);const A=C();(0,i.useEffect)((()=>{B(null)}),[A]);const D=m()(["stk-column-resizeable",e.className]),{columnGap:F,columnGapTablet:H,columnGapMobile:j}=c.attributes,U=(0,i.useMemo)((()=>({top:!1,right:"Desktop"===h?!r&&!l:!r,bottom:!1,left:"Desktop"===h&&!r&&!n,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1})),[h,r,l,n]),V=(0,i.useCallback)(((e,a)=>{if(I){const e=(F||0)*(o.length-1),t=document.querySelector(`.editor-styles-wrapper [data-block="${c.clientId}"]`).clientWidth-e,n=o.every((e=>{let{attributes:t}=e;return!t.columnWidth})),i=o.map((e=>{let{clientId:a,attributes:i}=e;if(n)return 1*t/o.length;if(i.columnWidth)return t*i.columnWidth/100;const l=document.querySelector(`.editor-styles-wrapper [data-block="${a}"]`);return(null==l?void 0:l.clientWidth)||0}));b(i);const l="right"===a?u+1:u-1,r=i[u]+(i[l]-30);E(r)}else{const e=o.map((e=>{let{attributes:t}=e;return t.columnWidthTablet||t.columnWidth||100/o.length}));b(e);const a=document.querySelector(`.editor-styles-wrapper [data-block="${t}"]`),n=(null==a?void 0:a.clientWidth)||0;y(n);const i=document.querySelector(`.editor-styles-wrapper [data-block="${c.clientId}"]`),l=(null==i?void 0:i.clientWidth)||0;E(l)}Y(!0)}),[I,null==c?void 0:c.clientId,o,u,t,F,H,j]),G=(0,i.useCallback)(((e,a,n,i)=>{let l=[];if(I){const e=[...v],t=v.reduce(((e,t)=>e+t),0),n="right"===a?u+1:u-1;e[n]-=i.width,e[u]+=i.width,l=(e||[]).map((e=>parseFloat((e/t*100).toFixed(1)))),l=function(e){const t=arguments.length>1&&void 0!==arguments[1]&&arguments[1]?Lr:Rr;return e.map((e=>{let a=e;return t.some((t=>Math.abs(e-t)<.2&&(a=t,!0))),a}))}(l,A);const r=l.reduce(((e,t)=>e+t),0);100!==r&&(l[n]=parseFloat((l[n]+100-r).toFixed(1))),_(l);const s=l.map(((e,t)=>`.editor-styles-wrapper [data-block][data-block="${o[t].clientId}"] {\n\t\t\t\t\tflex: 1 1 ${e}% !important;\n\t\t\t\t\tmax-width: ${e}% !important;\n\t\t\t\t}\n\t\t\t\t[data-block="${o[t].clientId}"] .stk-resizable-column__size-tooltip {\n\t\t\t\t\t--width: '${e.toFixed(1)}%' !important;\n\t\t\t\t}`)).join("");T(s),N||B({x:Pr(e,u,t,a,A)})}else{const e=f+i.width;l=(0,p.clamp)(parseFloat((e/w*100).toFixed(1)),0,100),_(l);const n=[...v];n[u]=l;const r=(e=>{const t=[];return e.reduce(((e,a)=>((0,p.sum)(e[e.length-1])+a>100?e.push([a]):e[e.length-1].push(a),t.push(e.length),e)),[[]]),t})(n),s=r.filter((e=>e===r[u])).length,o=`.editor-styles-wrapper [data-block][data-block="${t}"] {\n\t\t\t\t\tflex: 1 1 calc(${l}% - var(--stk-column-gap, 0px) * ${s-1} / ${s} ) !important;\n\t\t\t\t\tmax-width: calc(${l}% - var(--stk-column-gap, 0px) * ${s-1} / ${s} ) !important;\n\t\t\t\t}\n\t\t\t\t[data-block="${t}"] .stk-resizable-column__size-tooltip {\n\t\t\t\t\t--width: '${l.toFixed(1)}%' !important;\n\t\t\t\t}`;T(o),N||B({x:Pr([100],0,w,a,A)})}}),[I,v,f,u,o,A,w,t,N]),$=(0,i.useCallback)(((t,a,n,i)=>{if(i.width)if(I)(0,p.isEqual)(k.map((e=>0|e)),[33,33,33])?e.onChangeDesktop([33.33,33.33,33.33]):e.onChangeDesktop(k);else if(O){const t=o.map((e=>{let{attributes:t}=e;return t.columnWidthTablet||t.columnWidth||100/o.length}));t[u]=k,e.onChangeTablet(k,t,u)}else{const t=o.map((e=>{let{attributes:t}=e;return t.columnWidthMobile||100}));t[u]=k,e.onChangeMobile(k,t,u)}M&&setTimeout((()=>{L&&T("")}),400),B(null),Y(!1)}),[I,O,k,e.onChangeDesktop,e.onChangeTablet,e.onChangeMobile,M,o,u,L]),q=(0,i.useCallback)((t=>{if(!(""!==t&&t<Ar[h]))if(I){const a=o.every((e=>{let{attributes:t}=e;return!t.columnWidth})),n=o.map((e=>{let{attributes:t}=e;return a?100/o.length:t.columnWidth})),i=o.length-1!==u?u+1:u-1,l=n[u]+(n[i]-5),r=(0,p.clamp)(t,Ar.Desktop,l),s=r-n[u];n[i]-=s,n[u]=r,e.onChangeDesktop(n)}else if(O){const a=o.map((e=>{let{attributes:t}=e;return t.columnWidthTablet||t.columnWidth||100/o.length})),n=t?(0,p.clamp)(t,Ar[h],100):"";a[u]=n,e.onChangeTablet(n,a,u)}else{const a=o.map((e=>{let{attributes:t}=e;return t.columnWidthMobile||100})),n=t?(0,p.clamp)(t,Ar[h],100):"";a[u]=n,e.onChangeMobile(n,a,u)}}),[h,I,O,o,u]),[W,K]=(0,i.useState)(!1),[J,Y]=(0,i.useState)(!1),X=(0,i.useCallback)((()=>Y(!0)),[]),Z=(0,i.useCallback)((()=>Y(!1)),[]),{showColumnTooltip:Q,setShowColumnTooltip:ee}=(0,i.useContext)(zr),te=(0,i.useCallback)((e=>{K(e),e?ee(t):J||Q!==t||ee(!1)}),[Q,ee,K,J,t]);return(0,i.useEffect)((()=>{W||(J&&!Q?ee(t):J||Q!==t||ee(!1))}),[Q,ee,J,W,t]),(0,i.createElement)(s.ResizableBox,{enable:U,minWidth:"30",minHeight:"100",maxWidth:w,className:D,showHandle:!!g&&e.showHandle,snap:N,snapGap:20,onResizeStart:V,onResize:G,onResizeStop:$},g&&(0,i.createElement)(Fr,{isVisible:!r,blockContext:a,value:I?e.columnWidth:O?e.columnWidthTablet||e.columnWidth:e.columnWidthMobile,onChange:q,onTogglePopup:te,tooltipProps:{onMouseEnter:X,onMouseLeave:Z}}),M&&(0,i.createElement)("style",null,M),e.children)},Fr=(0,i.memo)((e=>{const{adjacentBlocks:t,isOnlyBlock:a,blockIndex:l,isLastBlock:r,isFirstBlock:u}=e.blockContext,c=S(),[g,m]=(0,i.useState)(!1),[d,v]=(0,i.useState)(""),[b,f]=(0,i.useState)(""),y=(0,i.useRef)(),k=(0,i.useRef)(),_=(0,i.useMemo)((()=>{if(void 0!==t&&!e.value&&!d){if("Desktop"===c){const e=(100/t.length).toFixed(1);return"33.3"===e.toString()?33.33:e}return"Tablet"===c?(0,h.__)("Auto",o.i18n):100}return""}),[null==t?void 0:t.length,e.value,d,c]),w=(0,i.useMemo)((()=>{const t=(e.value?parseFloat(e.value).toFixed(1):"")||d||_;return t!==(0,h.__)("Auto",o.i18n)?`'${t}%'`:`'${t}'`}),[e.value,d,_]);(0,i.useEffect)((()=>{e.onTogglePopup&&e.onTogglePopup(g),g&&(v(e.value),f(e.value||(_!==(0,h.__)("Auto",o.i18n)?_:"")),setTimeout((()=>{var e;null===(e=y.current)||void 0===e||e.querySelector("input").select()}),1))}),[g]);const x=(0,i.useCallback)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"right";if(window.CustomEvent)if("right"===e){const e=r?0:l+1,t=k.current.closest(".stk-row").querySelectorAll(".stk-resizable-column__size-tooltip")[e];null==t||t.dispatchEvent(new window.CustomEvent("openColumnInputPopup"))}else{const e=u?t.length-1:l-1,a=k.current.closest(".stk-row").querySelectorAll(".stk-resizable-column__size-tooltip")[e];null==a||a.dispatchEvent(new window.CustomEvent("openColumnInputPopup"))}}),[k.current,null==t?void 0:t.map((e=>{let{clientId:t}=e;return t})).join(",")]),C=(0,i.useCallback)((()=>{m(!0)}),[]);return(0,i.useEffect)((()=>{var e;return null===(e=k.current)||void 0===e||e.addEventListener("openColumnInputPopup",C),()=>{var e;null===(e=k.current)||void 0===e||e.removeEventListener("openColumnInputPopup",C)}}),[k.current,C]),(0,i.createElement)(i.Fragment,null,!a&&g&&(0,i.createElement)(s.Popover,{className:"stk-resizable-column__popup",anchorRef:k.current,position:"bottom right",onFocusOutside:e=>{e.relatedTarget!==k.current&&m(!1)}},(0,i.createElement)("div",{ref:y},(0,i.createElement)(Ot,{label:(0,h.__)("Column",o.i18n),className:"stk-resizable-column__input",value:b,allowReset:!1,onChange:t=>{const a="Desktop"===c?d:"",n=(0,p.clamp)(t,0,100)||a;""===n&&v(""),e.onChange(n),f(t)},onKeyDown:e=>{9===e.keyCode&&(x(e.shiftKey?"left":"right"),e.stopPropagation(),e.preventDefault())},placeholder:d||_||e.value}))),!a&&(0,i.createElement)("div",n({},e.tooltipProps,{className:"stk-resizable-column__size-tooltip",ref:k,style:{"--width":w},onMouseDown:e=>{m(!g),e.preventDefault()},onKeyDown:e=>{13===e.keyCode&&m(!g)},role:"button",tabIndex:"0"})))}));Fr.defaultProps={isVisible:!0,blockContext:{},value:"",onChange:()=>{},tooltipProps:{},onTogglePopup:null},Dr.defaultProps={className:"",context:null,showHandle:!0,columnWidth:"",columnWidthTablet:"",columnWidthMobile:"",onChangeDesktop:()=>{},onChangeTablet:()=>{},onChangeMobile:()=>{},onResetDesktop:()=>{}},(0,i.memo)(Dr);(0,h.__)("Image",o.i18n);const Hr={Desktop:24,Tablet:24,Mobile:16},jr=(0,p.range)(50,1001,50),Ur=(0,p.range)(8,1001,8),Vr={bottom:{height:"100%"}},Gr={top:!1,right:!1,bottom:!0,left:!1},$r=e=>{const[t,a]=(0,i.useState)(0),[n,l]=(0,i.useState)(null),[r,o]=(0,i.useState)(!1),[u,c]=(0,i.useState)(jr),g=C();(0,i.useEffect)((()=>{c(null)}),[g]);const d=S(),h=(0,M.applyFilters)("stackable.resizable-bottom-margin.default",Hr[d]),p=m()(["stk-resizable-bottom-margin"],{"stk--is-resizing":null!==n,"stk--is-tiny":(""!==e.value?e.value:h)<5}),v=(0,i.useCallback)((()=>{let t=e.value?parseFloat(e.value):0;if(!e.value&&e.previewSelector){const a=document.querySelector(e.previewSelector);a&&(t=parseFloat(window.getComputedStyle(a).marginBottom))}return a(t||0),t||0}),[e.value,e.previewSelector]);(0,i.useEffect)((()=>{v()}),[e.previewSelector]);const b=(0,i.useMemo)((()=>({height:e.value||0===e.value?e.value:t||h})),[e.value,t,h]);return(0,i.createElement)(s.ResizableBox,{className:p,minHeight:"0",handleStyles:Vr,enable:Gr,size:b,snap:u,snapGap:5,onResizeStart:()=>{const e=v();l(e),o(!0)},onResize:(e,a,n,i)=>{l(t+i.height),u||c(function(){return{y:arguments.length>0&&void 0!==arguments[0]&&arguments[0]?Ur:jr}}(g))},onResizeStop:()=>{e.onChange(n===h?"":n),a(0),l(null),o(!1)}},e.previewSelector&&r&&(0,i.createElement)("style",null,`.editor-styles-wrapper ${e.previewSelector} { margin-bottom: ${n}px !important; }`),(0,i.createElement)("span",{className:"stk-resizable-bottom-margin__label"},`${r?n:""!==e.value?e.value:t||h}px`))};$r.defaultProps={previewSelector:"",value:"",onChange:()=>{}};const qr=(e,t)=>({...t||{},bottom:e});(0,i.memo)((e=>{const{clientId:t}=(0,d.useBlockEditContext)(),a=E(t),n=S(),l=(0,i.useCallback)((t=>{let i=null!=t&&t.bottom||0===(null==t?void 0:t.bottom)?null==t?void 0:t.bottom:"";return i||0===i||("Mobile"===n?["mobile","tablet","desktop"]:"Tablet"===n?["tablet","desktop"]:["desktop"]).some((t=>{const n=a[H(e.attribute,t)];return!(""===n||void 0===n||(i=i=null!=n&&n.bottom||0===(null==n?void 0:n.bottom)?null==n?void 0:n.bottom:"",!i&&0!==i))})),i}),[e.attribute,a,n]),[r,s]=je(e.attribute,e.responsive,!1,l,qr);return(0,i.createElement)($r,{previewSelector:e.previewSelector,value:r,onChange:s})})).defaultProps={previewSelector:"",attribute:"",responsive:!1};const{Slot:Wr,Fill:Kr}=(0,s.createSlotFill)("StackablePreInspectorTab"),{Slot:Jr,Fill:Yr}=(0,s.createSlotFill)("StackableBlockInspectorTab"),{Slot:Xr,Fill:Zr}=(0,s.createSlotFill)("StackableStyleInspectorTab"),{Slot:Qr,Fill:es}=(0,s.createSlotFill)("StackableAdvancedInspectorTab"),ts=e=>{const{name:t}=(0,d.useBlockEditContext)(),[a,n]=dn(`tabCache-${t}`,e.tabs.includes("style")?"style":"block");return(0,i.createElement)(d.InspectorControls,null,(0,i.createElement)(Wr,null),(0,i.createElement)(Nn,{tabs:e.tabs,initialTab:a,onClick:n}),(0,i.createElement)(Jr,null),(0,i.createElement)(Xr,null),(0,i.createElement)(Qr,null))};ts.defaultProps={tabs:["block","style","advanced"]},(0,i.memo)(ts);const as=e=>{let t=e.videoUrl;const a=S();return"Desktop"!==a&&e.videoUrlTablet&&(t=e.videoUrlTablet),"Mobile"===a&&e.videoUrlMobile&&(t=e.videoUrlMobile),ye(t)?(0,i.createElement)("video",{className:"stk-video-background",autoPlay:!0,muted:!0,loop:!0,playsinline:!0,src:t}):null};as.defaultProps={videoUrl:"",videoUrlTablet:"",videoUrlMobile:""},(as.Content=e=>{const t=m()(["stk-video-background"],{"stk--hide-tablet":e.videoUrlTablet,"stk--hide-mobile":e.videoUrlTablet||e.videoUrlMobile}),a=m()(["stk-video-background"],{"stk--hide-desktop":!0,"stk--hide-mobile":e.videoUrlMobile}),n=m()(["stk-video-background"],{"stk--hide-desktop":!0,"stk--hide-tablet":!0});return(0,i.createElement)(i.Fragment,null,ye(e.videoUrl)&&(0,i.createElement)("video",{className:t,autoPlay:!0,muted:!0,loop:!0,playsinline:!0,src:e.videoUrl}),ye(e.videoUrlTablet)&&(0,i.createElement)("video",{className:a,autoPlay:!0,muted:!0,loop:!0,playsinline:!0,src:e.videoUrlTablet}),ye(e.videoUrlMobile)&&(0,i.createElement)("video",{className:n,autoPlay:!0,muted:!0,loop:!0,playsinline:!0,src:e.videoUrlMobile}))}).defaultProps={videoUrl:"",videoUrlTablet:"",videoUrlMobile:""};const ns=as,is=e=>{const{blockTag:t,className:a,hasBackground:l,backgroundUrl:r,backgroundUrlTablet:s,backgroundUrlMobile:o,backgroundColorType:u,...c}=e,g=m()([a],{"stk--has-background-overlay":l&&("gradient"===u||r||s||o)});return(0,i.createElement)(t,n({className:g},c),e.children,(0,i.createElement)(ns,{videoUrl:r,videoUrlTablet:s,videoUrlMobile:o}))};is.defaultProps={blockTag:"div",className:"",hasBackground:!0,backgroundUrl:"",backgroundUrlTablet:"",backgroundUrlMobile:"",backgroundColorType:""},(is.Content=e=>{const{blockTag:t,className:a,hasBackground:l,backgroundUrl:r,backgroundUrlTablet:s,backgroundUrlMobile:o,backgroundColorType:u,...c}=e,g=m()([a],{"stk--has-background-overlay":l&&("gradient"===u||r||s||o)});return(0,i.createElement)(t,n({className:g},c),e.children,(0,i.createElement)(ns.Content,{videoUrl:r,videoUrlTablet:s,videoUrlMobile:o}))}).defaultProps={...is.defaultProps};const ls=function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M-10 210h1620V105.2H-10z"}))},rs={"wave-1":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{className:"wave-1_svg__st2",d:"M1341.4 48.9c-182.4 0-254.2 80.4-429.4 80.4-117.8 0-209.7-67.5-393.5-67.5-142.2 0-212.6 38.8-324.6 38.8S-10 64.7-10 64.7V210h1620V102c-110.6-40.2-181-53.1-268.6-53.1z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1341.4 151.4C1159 151.4 1087.2 71 912 71c-117.8 0-209.7 67.5-393.5 67.5-142.2 0-212.6-38.8-324.6-38.8S-10 135.6-10 135.6v75.9h1620V98.3c-110.6 40.2-181 53.1-268.6 53.1z"}))}}},"wave-2":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{className:"wave-2_svg__st2",d:"M1432.2 67.4c-88.8-16.7-156-5.3-204 8.5s-147.1 62.2-223.1 73.9c-75.4 11.6-164-7.5-275-27.9S571 88.1 456 98.1c-119.7 10.4-224.7 52-294.4 73-94.5 28.5-171.6-3-171.6-3V210h1620V91.6c-53 10-86.8-7.1-177.8-24.2z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1432.2 156.2c-88.8 16.7-156 5.3-204-8.5s-147.1-62.2-223.1-73.9c-75.4-11.6-164 7.5-275 27.9S571 135.5 456 125.5c-119.7-10.4-224.7-52-294.4-73C67.1 24-10 55.5-10 55.5v155.2h1620V132c-53-10-86.8 7.1-177.8 24.2z"}))}}},"wave-3":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{className:"wave-3_svg__st2",d:"M1413.6 161.4c-157.9 0-338.2-37.7-495.1-67.4-215.6-40.8-328.1-44.6-418.2-41.1S317 73.4 188.4 102-10 136.2-10 136.2v74.2h1620v-68.5s-68.8 19.5-196.4 19.5z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1413.6 39.3c-157.9 0-338.2 37.7-495.1 67.4-215.6 40.8-328.1 44.6-418.2 41.1S317 127.3 188.4 98.7-10 64.5-10 64.5v150.2h1620V58.8s-68.8-19.5-196.4-19.5z"}))}}},"wave-4":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1610 209.7v-51.2s-81.4-33.3-241.4-23.1c-157.4 10-247.9 49.6-340.9 49.4-93.1-.1-121-14.6-174.2-33.6-75.7-27.1-166.9-27.2-185.5-25.1-18.7 2.1-67.8 5.5-106-19.3-38.2-24.7-94.8-55.4-209.2-43.1C238.1 76.3 80 111.8-10 55.7v154h1620z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1610 208.9V79.2s-81.4 33.3-241.4 23.1c-157.4-10-247.9-49.6-340.9-49.4-93.1.1-121 14.6-174.2 33.6-75.7 27.1-166.9 27.2-185.5 25.1-18.7-2.1-67.8-5.5-106 19.3-38.2 24.7-94.8 55.4-209.2 43.1C238.1 161.4 80 125.9-10 182v26.9h1620z"}))}}},"curve-1":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{className:"curve-1_svg__st2",d:"M1610 177.3C1423 122.9 1133.3 88 808 88c-334.7 0-631.8 37-818 94.1v28h1620v-32.8z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1610 78.3c-187 54.4-476.7 89.3-802 89.3-334.7 0-631.8-37-818-94.1v136.8h1620v-132z"}))}}},"curve-2":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{className:"curve-2_svg__st2",d:"M-10 207.6h1620S1430.8 23.8 1138.3 23.8C884 23.8 234.9 140.1-10 197.9v9.7z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M-10 207.4h1620S1608.1.1 1604.2 3.7c-32.8 30.8-203.9 178.2-465.9 178.2C884 181.9 234.9 65.6-10 7.8v199.6z"}))}}},"curve-3":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{className:"curve-3_svg__st1",d:"M-6.7 13.4S456 171.1 876.1 171.1 1606.4 16 1606.4 16v192.6H-6.7V13.4z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M-6.6 177.6S456.1 40.3 876.2 40.3s730.3 135.1 730.3 135.1v33.5H-6.6v-31.3z"}))}}},"slant-1":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{className:"slant-1_svg__st2",d:"M-10 210h1620V.5L-10 183.9z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1610 210H-10V.5l1620 183.4z"}))}}},"slant-2":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{className:"slant-2_svg__st1",d:"M1610 39.2V209H-10V39.2l810 118.9 810-118.9z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1610 160v53.2H-10V160L800 41.1 1610 160z"}))}}},"straight-1":{default:{shape:ls},inverted:{shape:ls}},"rounded-1":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{className:"rounded-1_svg__st1",d:"M1602.9 209l-9.3-117.7c-3.8-48.1-46.3-84.4-94.4-80.6L-8 131.2V209h1610.9z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1604.5-2.7l-10.9 104.5c-3.8 48.1-46.3 84.4-94.4 80.6L-8 61.8v148.5h1613.9l-1.4-213z"}))}}},"rounded-2":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{className:"rounded-2_svg__st2",d:"M1609.5 133.2h-9.5c0-10.9-8.9-19.8-19.8-19.8H19.8C8.9 113.3 0 122.2 0 133.2l-10-.2v77h1619.5v-76.8z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1609.5 128.5h-9.5c0 10.9-8.9 19.8-19.8 19.8H19.8C8.9 148.4 0 139.5 0 128.5l-10 .2v83.1h1619.5v-83.3z"}))}}},"rounded-3":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1610.5 189.1s-128.2-82.6-138.2-89.2c-17.1-11.3-37.2-15.5-87-18.1-49.7-2.6-753.6-40.7-783.9-42.3-30.3-1.5-81.1-1.3-121.1 8.2S-9.5 163.2-9.5 163.2v50h1620v-24.1z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1610.5 24.1s-128.2 82.6-138.2 89.2c-17.1 11.3-37.2 15.5-87 18.1-49.7 2.6-753.6 40.7-783.9 42.3-30.3 1.5-81.1 1.3-121.1-8.2S-9.5 50-9.5 50v158.9h1620V24.1z"}))}}}},ss=e=>{const{design:t,inverted:a,layer:n}=e,{shape:l}=rs[t||"wave-1"][a?"inverted":"default"];return(0,i.createElement)(l,{className:`stk-separator__layer-${n}`,preserveAspectRatio:"none","aria-hidden":!0})};ss.defaultProps={className:"",design:"wave-1",inverted:!1,layer:1},ss.Content=e=>(0,i.createElement)(ss,e);const os=wp.api;var us;const cs=parseInt((null===(us=location.hash.match(/^#step-(\d+)/))||void 0===us?void 0:us[1])||1,10),gs=()=>{var e;const[t,a]=(0,i.useState)(cs);(0,i.useEffect)((()=>{location.hash=`step-${t}`}),[t]);let n=(0,M.applyFilters)("stackable.welcome-wizard.steps",ps);o.isPro||(n=n.filter((e=>!e.isPro)));const l=(null===(e=n[t-1])||void 0===e?void 0:e.component)||null;return(0,i.createElement)("div",{className:`s-welcome-wizard__wrapper s-welcome-wizard--step-${t}`},(0,i.createElement)(hs,{steps:n.filter((e=>{let{id:t}=e;return"done"!==t})),step:t}),l&&(0,i.createElement)(l,null),t!==n.length&&(0,i.createElement)("div",{className:"s-welcome-wizard__buttons"},t>1&&(0,i.createElement)("button",{className:"s-getting-started__button secondary",onClick:()=>a(t-1)},(0,h.__)("Previous",o.i18n)),(0,i.createElement)("button",{className:"s-getting-started__button primary",onClick:()=>{t===n.length?location.search="?page=stackable-getting-started":a(t+1)}},1===t?(0,h.__)("Get Started",o.i18n):t===n.length?(0,h.__)("Finish",o.i18n):(0,h.__)("Next / Skip",o.i18n))),t>1&&(0,i.createElement)("p",null,(0,i.createElement)("em",null,(0,h.__)("All these settings can be changed in the settings page.",o.i18n))))},ms={essential:{description:(0,h.__)("All the necessary building blocks you need to design anything.",o.i18n)},special:{description:(0,h.__)("Blocks with special functionality that will allow you to create distinctive designs.",o.i18n)},section:{description:(0,h.__)("Use these blocks act as templates to help you build sections effortlessly.",o.i18n)}};let ds=o.wizard.disabled_blocks;const hs=e=>{const{step:t,steps:a}=e,n=m()(["s-welcome-wizard__steps",`s-welcome-wizard__steps--num-${a.length}`]);return(0,i.createElement)("div",{className:n},a.map(((e,a)=>{const n=m()("s-welcome-wizard__step",{"s-welcome-wizard__step--active":t>=a+1}),l=m()("s-welcome-wizard__step-divider",{"s-welcome-wizard__step--active":t>=a+1});return(0,i.createElement)(i.Fragment,{key:a},a>0&&(0,i.createElement)("div",{className:l}),(0,i.createElement)("div",{className:n},(0,i.createElement)("span",{className:"s-welcome-wizard__step-number"},a+1),(0,i.createElement)("span",{className:"s-welcome-wizard__step-label"},e.label)))})))},ps=[{id:"welcome",label:(0,h.__)("Welcome",o.i18n),component:()=>(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{className:"s-welcome-wizard__content s-welcome-wizard--centered"},(0,i.createElement)("h2",null,(0,h.__)("Welcome to Stackable!",o.i18n)),(0,i.createElement)("p",null,(0,h.__)("Let's get you started with your page building journey by configuring some settings first.",o.i18n))))},{id:"disable-blocks",label:(0,h.__)("Choose Blocks",o.i18n),component:()=>{const[e,t]=(0,i.useState)(ds),[a,n]=(0,i.useState)({}),[l,r]=(0,i.useState)(!1);(0,i.useEffect)((()=>{ds=e}),[e]);const u=(0,i.useCallback)((e=>{new os.models.Settings({stackable_disabled_blocks:e}).save().then((()=>r(!1))),r(!0)}),[r]);return(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{className:"s-welcome-wizard__content"},(0,i.createElement)("h2",null,(0,h.__)("Choose Blocks That Fit You",o.i18n)),(0,i.createElement)("p",null,(0,h.__)("Stackable has 3 categories of blocks, and you can choose which blocks to use to fit your specific workflow.",o.i18n)),(0,i.createElement)("div",{className:"s-welcome-wizard__options s-welcome-wizard__blocks"},bs.map((l=>{var r;let{id:c,label:g,Icon:d}=l;const p=a[c]||!1,v=vs[c].every((t=>{let{name:a}=t;return e.includes(a)})),b=vs[c].some((t=>{let{name:a}=t;return e.includes(a)})),f=vs[c].every((t=>{let{name:a}=t;return!e.includes(a)}));return(0,i.createElement)("div",{className:`s-welcome-wizard__option s-box s-box--${c}`,key:c},d&&(0,i.createElement)(d,{className:"s-welcome-wizard__option-icon",height:"32",width:"32"}),(0,i.createElement)("h3",null,g),(0,i.createElement)(Xl,{value:f||!v&&b,onChange:a=>{const n=vs[c].map((e=>e.name));let i=e.filter((e=>!n.includes(e)));a||(i=[...i,...n]),t(i),u(i)},disabled:(0,h.__)("All blocks disabled",o.i18n),enabled:f?(0,h.__)("All blocks enabled",o.i18n):(0,h.__)("Some blocks enabled",o.i18n)}),(0,i.createElement)("p",null,null===(r=ms[c])||void 0===r?void 0:r.description),(0,i.createElement)(s.Button,{onClick:()=>n({...a,[c]:!p})},p?(0,h.__)("Hide all blocks",o.i18n):(0,h.__)("Show all blocks",o.i18n)+` (${vs[c].length})`),(0,i.createElement)("div",{className:m()("s-welcome-wizard__block-list",{"s--show-all-blocks":p})},vs[c].map(((a,n)=>{const l=e.includes(a.name);return(0,i.createElement)(Xl,{key:n,label:a.title,value:!l,onChange:n=>{let i=e.filter((e=>e!==a.name));n||(i=[...i,a.name]),t(i),u(i)},disabled:(0,h.__)("Disabled",o.i18n),enabled:(0,h.__)("Enabled",o.i18n),isDisabled:!p})}))))})))),l&&(0,i.createElement)(s.Spinner,{className:"s-wizard-spinner"}))}},{id:"icon",label:(0,h.__)("Icons",o.i18n),component:()=>{const e=(0,i.useMemo)((()=>(0,M.applyFilters)("stackable.welcome-wizard.icon",null)),[]);return(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{className:"s-welcome-wizard__content s-box"},(0,i.createElement)("h2",null,(0,h.__)("Icon Settings",o.i18n)),(0,i.createElement)("p",null,(0,h.__)("Our integration with FontAwesome Pro allows you to import icons from their extensive icon library and use them in Stackable blocks.",o.i18n)),(0,i.createElement)("p",null,(0,h.sprintf)((0,h.__)("If you have %sFont Awesome Pro%s, you can use your Pro icons by inputting your Pro Kit code below.",o.i18n),"","")),e&&(0,i.createElement)(e,null)))},isPro:!0},{id:"role-manager",label:(0,h.__)("Role Manager",o.i18n),component:()=>{const[e,t]=(0,i.useState)(!1),a=(0,i.useMemo)((()=>(0,M.applyFilters)("stackable.welcome-wizard.role-manager",null)),[]);return(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{className:"s-welcome-wizard__content s-box"},(0,i.createElement)("h2",null,(0,h.__)("Role Manager",o.i18n)),(0,i.createElement)("p",null,(0,h.__)("Stackable comes with a Role Manager so you can allow who can edit your content. By default, all user roles have full editing access in the Block Editor.",o.i18n)," ",(0,i.createElement)("a",{href:"https://docs.wpstackable.com/article/360-role-manager-and-content-editing-mode?utm_source=wp-settings-role-manager&utm_campaign=learnmore&utm_medium=wp-dashboard",target:"_docs"},(0,h.__)("Learn more",o.i18n))),(0,i.createElement)("br",null),a&&(0,i.createElement)(a,{doneCallback:()=>t(!1),saveCallback:()=>t(!0)})),e&&(0,i.createElement)(s.Spinner,null))},isPro:!0},{id:"custom-fields",label:(0,h.__)("Custom Fields",o.i18n),component:()=>{const e=(0,i.useMemo)((()=>(0,M.applyFilters)("stackable.welcome-wizard.custom-fields",null)),[]);return(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{className:"s-welcome-wizard__content s-box"},(0,i.createElement)("h2",null,(0,h.__)("Custom Fields",o.i18n)),(0,i.createElement)("p",null,(0,h.__)("Custom Fields allow you to create Fields that you can reference across your entire site. This is helpful when you display the same text in multiple areas in your site.",o.i18n)," ",(0,i.createElement)("a",{href:"https://docs.wpstackable.com/article/463-how-to-use-stackable-custom-fields/?utm_source=wp-settings-custom-fields&utm_campaign=learnmore&utm_medium=wp-dashboard",target:"_docs"},(0,h.__)("Learn more",o.i18n))),(0,i.createElement)("br",null),e&&(0,i.createElement)(e,{label:(0,h.__)("Custom Fields",o.i18n)})))},isPro:!0},{id:"done",label:"",component:()=>(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{className:"s-welcome-wizard__content s-welcome-wizard--centered s-box"},(0,i.createElement)(c,{className:"s-welcome-wizard__check",height:"96",width:"96"}),(0,i.createElement)("h2",null,(0,h.__)("You're all set!",o.i18n)),(0,i.createElement)("p",null,(0,h.__)("Let's get you started on your page building journey with Stackable.",o.i18n)),(0,i.createElement)("button",{className:"s-getting-started__button primary",onClick:()=>{location.search="?page=stackable-getting-started"}},(0,h.__)("Finish",o.i18n))))}];r((()=>{document.querySelector(".s-onboarding-wizard")&&(0,i.render)((0,i.createElement)(gs,null),document.querySelector(".s-onboarding-wizard"))}));const vs=(e=>{const t={};return e.keys().forEach((a=>{const n=e(a),i=n["stk-type"];i&&(t[i]||(t[i]=[]),t[i].push(n)),(n.variations||[]).forEach((e=>{const a=e["stk-type"];a&&(t[a]||(t[a]=[]),t[a].push({...e,name:`${n.name}|${e.name}`}))}))})),Object.keys(t).forEach((e=>{t[e]=(0,p.sortBy)(t[e],"name")})),t})(a(9737)),bs=[{id:"essential",label:(0,h.__)("Essential Blocks",o.i18n),Icon:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"none",stroke:"#47a0dd",strokeWidth:2.5,strokeLinejoin:"round"},e),(0,i.createElement)("path",{d:"M25.333 4H6.667A2.667 2.667 0 004 6.667v18.667A2.667 2.667 0 006.667 28h18.667A2.667 2.667 0 0028 25.333V6.667A2.667 2.667 0 0025.333 4z"}),(0,i.createElement)("path",{d:"M11.333 13.333a2 2 0 100-4 2 2 0 100 4z"}),(0,i.createElement)("path",{d:"M28 20l-6.667-6.667L6.667 28",strokeLinecap:"round"}))}},{id:"special",label:(0,h.__)("Special Blocks",o.i18n),Icon:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"none",stroke:"#e2735d",strokeWidth:2.5,strokeLinejoin:"round"},e),(0,i.createElement)("path",{d:"M30.667 9.333L21.333 16l9.333 6.667V9.333z"}),(0,i.createElement)("path",{d:"M18.667 6.667H4a2.667 2.667 0 00-2.667 2.667v13.333A2.667 2.667 0 004 25.334h14.667a2.667 2.667 0 002.667-2.667V9.333a2.667 2.667 0 00-2.667-2.667z"}))}},{id:"section",label:(0,h.__)("Section Blocks",o.i18n),Icon:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"none",stroke:"#eabd59",strokeWidth:2.5,strokeLinejoin:"round"},e),(0,i.createElement)("path",{d:"M25.333 4H6.667A2.667 2.667 0 004 6.667v18.667A2.667 2.667 0 006.667 28h18.667A2.667 2.667 0 0028 25.333V6.667A2.667 2.667 0 0025.333 4z"}),(0,i.createElement)("path",{d:"M4 12h24M12 28V12",strokeLinecap:"round"}))}}],fs=e=>{const{onChange:t,value:a="",label:l="",demo:r="",...s}=e,u=(0,i.createRef)();return(0,i.createElement)("label",n({onClick:e=>{t(a),e.preventDefault(),u.current.focus()}},s),(0,i.createElement)("h4",null,l),!1,(0,i.createElement)("button",{className:"s-toggle-button",ref:u,"data-value":a,onClick:e=>{t(a),e.stopPropagation(),e.preventDefault()}},(0,i.createElement)("span",null,(0,h.__)("Disabled",o.i18n)),(0,i.createElement)("span",null,(0,h.__)("Enabled",o.i18n))))};fs.defaultProps={label:"",value:"",onChange:()=>{},demo:""};const ys=()=>{const[e,t]=(0,i.useState)(!1),[a,n]=(0,i.useState)([]);(0,i.useEffect)((()=>{os.loadPromise.then((()=>{(new os.models.Settings).fetch().then((e=>{n(e.stackable_disabled_blocks)}))}))}),[]);const l=(e,a)=>{t(a),new os.models.Settings({stackable_disabled_blocks:e}).save().then((()=>t(!1)))},r=e=>()=>{const t=[...a];vs[e].forEach((e=>{t.includes(e.name)||t.push(e.name)})),n(t),l(t,e)},u=(0,i.useCallback)(((e,t)=>{let i=null;i=a.includes(e)?a.filter((t=>t!==e)):[...a,e],n(i),l(i,t)}),[n,a]);return(0,i.createElement)(i.Fragment,null,bs.map((t=>{let{id:c,label:g,Icon:d}=t;const p=m()(["s-box-block__title",`s-box-block__title--${c}`]);return(0,i.createElement)("div",{className:"s-box s-box-block",key:c},(0,i.createElement)("h3",{className:p},d&&(0,i.createElement)(d,{height:"20",width:"20"}),(0,i.createElement)("span",null,g)),(0,i.createElement)("div",{className:"s-settings-header"},e===c&&(0,i.createElement)(s.Spinner,null),(0,i.createElement)("button",{onClick:(v=c,()=>{let e=[...a];vs[v].forEach((t=>{e=e.filter((e=>e!==t.name))})),n(e),l(e,v)}),className:"button button-large button-link"},(0,h.__)("Enable All",o.i18n)),(0,i.createElement)("button",{onClick:r(c),className:"button button-large button-link"},(0,h.__)("Disable All",o.i18n))),(0,i.createElement)("div",{className:"s-settings-grid"},vs[c].map(((e,t)=>{const n=a.includes(e.name),l=m()(["s-block"],{"s-is-disabled":n});return(0,i.createElement)(fs,{key:t+1,label:(0,h.__)(e.title,o.i18n),value:e.name,className:l,demo:e["stk-demo"],onChange:e=>{u(e,c)}})}))));var v})))},ks=()=>{const[e,t]=(0,i.useState)({}),[a,n]=(0,i.useState)(!1),[l,r]=(0,i.useState)(null);return(0,i.useEffect)((()=>{os.loadPromise.then((()=>{(new os.models.Settings).fetch().then((e=>{t((0,p.pick)(e,["stackable_enable_design_library","stackable_block_default_width","stackable_block_wide_width","stackable_auto_collapse_panels","stackable_enable_block_linking"]))}))}))}),[]),(0,i.createElement)(i.Fragment,null,(0,i.createElement)(Xl,{label:(0,h.__)("Design Library",o.i18n),value:e.stackable_enable_design_library,onChange:a=>{n(!0),new os.models.Settings({stackable_enable_design_library:a}).save().then((()=>n(!1))),t({...e,stackable_enable_design_library:a})},help:(0,h.__)("Adds a button on the top of the editor which gives access to a collection of pre-made block designs.",o.i18n),disabled:(0,h.__)("Disable feature",o.i18n),enabled:(0,h.__)("Enable feature",o.i18n)}),(0,i.createElement)(Jl,{label:(0,h.__)("Nested Block Width",o.i18n),value:e.stackable_block_default_width,type:"text",onChange:a=>{clearTimeout(l),t({...e,stackable_block_default_width:a}),r(setTimeout((()=>{n(!0),new os.models.Settings({stackable_block_default_width:a}).save().then((()=>n(!1)))}),400))},help:(0,h.__)("The width used when a Columns block has its Content Width set to center. This is automatically detected from your theme. You can adjust it if your blocks are not aligned correctly. In px, you can also use other units or use a calc() formula.",o.i18n)}),(0,i.createElement)(Jl,{label:(0,h.__)("Nested Wide Block Width",o.i18n),value:e.stackable_block_wide_width,type:"text",onChange:a=>{clearTimeout(l),t({...e,stackable_block_wide_width:a}),r(setTimeout((()=>{n(!0),new os.models.Settings({stackable_block_wide_width:a}).save().then((()=>n(!1)))}),400))},help:(0,h.__)("The width used when a Columns block has its Content Width set to wide. This is automatically detected from your theme. You can adjust it if your blocks are not aligned correctly. In px, you can also use other units or use a calc() formula.",o.i18n)}),(0,i.createElement)(Xl,{label:(0,h.__)("Auto-Collapse Panels",o.i18n),value:e.stackable_auto_collapse_panels,onChange:a=>{n(!0),new os.models.Settings({stackable_auto_collapse_panels:a}).save().then((()=>n(!1))),t({...e,stackable_auto_collapse_panels:a})},help:(0,h.__)("Collapse other inspector panels when opening another, keeping only one open at a time.",o.i18n),disabled:(0,h.__)("Disable feature",o.i18n),enabled:(0,h.__)("Enable feature",o.i18n)}),(0,i.createElement)(Xl,{label:(0,h.__)("Block Linking (Beta)",o.i18n),value:e.stackable_enable_block_linking,onChange:a=>{n(!0),new os.models.Settings({stackable_enable_block_linking:a}).save().then((()=>n(!1))),t({...e,stackable_enable_block_linking:a})},help:(0,i.createElement)(i.Fragment,null,(0,h.__)("Gives you the ability to link columns. Any changes you make on one column will automatically get applied on the other columns.",o.i18n)," ",(0,i.createElement)("a",{target:"_docs",href:"https://docs.wpstackable.com/article/462-migrating-from-version-2-to-version-3?utm_source=wp-settings-migrating&utm_campaign=learnmore&utm_medium=wp-dashboard"},(0,h.__)("Learn more",o.i18n))),disabled:(0,h.__)("Disable feature",o.i18n),enabled:(0,h.__)("Enable feature",o.i18n)}),a&&(0,i.createElement)("div",{className:"s-absolute-spinner"},(0,i.createElement)(s.Spinner,null)))},_s=()=>{const[e,t]=(0,i.useState)(""),[a,n]=(0,i.useState)(""),[l,r]=(0,i.useState)(!1),[u,c]=(0,i.useState)(!1);return(0,i.useEffect)((()=>{c(!0),os.loadPromise.then((()=>{(new os.models.Settings).fetch().then((e=>{const a=e.stackable_dynamic_breakpoints;a&&(t(a.tablet||""),n(a.mobile||"")),r(!0),c(!1)}))}))}),[]),(0,i.useEffect)((()=>{if(l){const t=setTimeout((()=>{c(!0),new os.models.Settings({stackable_dynamic_breakpoints:{tablet:e,mobile:a}}).save().then((()=>c(!1)))}),400);return()=>clearTimeout(t)}}),[e,a,l]),(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",null,(0,i.createElement)(Jl,{label:(0,h.__)("Tablet Breakpoint",o.i18n),type:"number",value:e,onChange:e=>t(e),placeholder:"1024"}," px"),(0,i.createElement)(Jl,{label:(0,h.__)("Mobile Breakpoint",o.i18n),type:"number",value:a,onChange:e=>n(e),placeholder:"768"}," px")),u&&(0,i.createElement)("div",{className:"s-absolute-spinner"},(0,i.createElement)(s.Spinner,null)))},ws=()=>{const[e,t]=(0,i.useState)(!1);return(0,i.useEffect)((()=>{os.loadPromise.then((()=>{(new os.models.Settings).fetch().then((e=>{t(!!e.stackable_global_force_typography)}))}))}),[]),(0,i.createElement)(i.Fragment,null,(0,i.createElement)(Xl,{label:(0,h.__)("Force Typography Styles",o.i18n),value:e,onChange:e=>{new os.models.Settings({stackable_global_force_typography:e}).save(),t(e)},disabled:(0,h.__)("Not forced",o.i18n),enabled:(0,h.__)("Force styles",o.i18n)}))},xs=e=>{const[t,a]=(0,i.useState)(!1),[n,l]=(0,i.useState)(!1),[r,u]=(0,i.useState)(!1),[c,g]=(0,i.useState)(!1),[m,d]=(0,i.useState)(!1),[p,v]=(0,i.useState)(!1),[b,f]=(0,i.useState)(!1);(0,i.useEffect)((()=>{f(!0),os.loadPromise.then((()=>{(new os.models.Settings).fetch().then((e=>{a(!!e.stackable_help_tooltip_disabled),l("1"===e.stackable_load_v1_styles),u("1"===e.stackable_v2_editor_compatibility),g("1"===e.stackable_v2_editor_compatibility_usage),d("1"===e.stackable_v2_frontend_compatibility),v("1"===e.stackable_show_pro_notices),f(!1)}))}))}),[]);const y=e=>{f(!0),new os.models.Settings(e).save().then((()=>f(!1)))};return(0,i.createElement)("div",null,e.showProNoticesOption&&(0,i.createElement)(s.CheckboxControl,{label:(0,h.__)('Show "Go premium" notices',o.i18n),checked:p,onChange:e=>{y({stackable_show_pro_notices:e?"1":""}),v(e)}}),(0,i.createElement)(s.CheckboxControl,{label:(0,h.__)("Don't show help video tooltips",o.i18n),checked:t,onChange:e=>{y({stackable_help_tooltip_disabled:e?"1":""}),a(e)}}),(0,i.createElement)("h3",null,(0,h.__)("🏠 Migration Settings",o.i18n)),(0,i.createElement)("p",null,(0,h.__)("Migrating from version 2 to version 3?",o.i18n)," ",(0,i.createElement)("a",{target:"_docs",href:"https://docs.wpstackable.com/article/462-migrating-from-version-2-to-version-3?utm_source=wp-settings-migrating&utm_campaign=learnmore&utm_medium=wp-dashboard"},(0,h.__)("Learn more about migration and the settings below",o.i18n))),(0,i.createElement)(s.CheckboxControl,{label:(0,h.__)("Load version 2 blocks in the editor",o.i18n),checked:r,onChange:e=>{const t={stackable_v2_editor_compatibility:e?"1":""};e&&(t.stackable_v2_editor_compatibility_usage="",g(!1)),y(t),u(e)}}),(0,i.createElement)(s.CheckboxControl,{label:(0,h.__)("Load version 2 blocks in the editor only when the page was using version 2 blocks",o.i18n),checked:c,onChange:e=>{const t={stackable_v2_editor_compatibility_usage:e?"1":""};e&&(t.stackable_v2_editor_compatibility="",u(!1)),y(t),g(e)}}),(0,i.createElement)(s.CheckboxControl,{disabled:r||c,label:(0,h.__)("Load version 2 frontend block stylesheet and scripts for backward compatibility",o.i18n),checked:r||c||m,onChange:e=>{y({stackable_v2_frontend_compatibility:e?"1":""}),d(e)}}),(0,i.createElement)(s.CheckboxControl,{label:(0,h.__)("Load version 1 block stylesheet for backward compatibility",o.i18n),checked:n,onChange:e=>{y({stackable_load_v1_styles:e?"1":""}),l(e)}}),b&&(0,i.createElement)("div",{className:"ugb--saving-wrapper"},(0,i.createElement)(s.Spinner,null)))};xs.defaultProps={showProNoticesOption:!1},r((()=>{document.querySelector(".s-settings-wrapper")&&(0,i.render)((0,i.createElement)(ys,null),document.querySelector(".s-settings-wrapper")),document.querySelector(".s-other-options-wrapper")&&(0,i.render)((0,i.createElement)(xs,{showProNoticesOption:o.showProNoticesOption}),document.querySelector(".s-other-options-wrapper")),document.querySelector(".s-editor-settings")&&(0,i.render)((0,i.createElement)(ks,null),document.querySelector(".s-editor-settings")),document.querySelector(".s-dynamic-breakpoints")&&(0,i.render)((0,i.createElement)(_s,null),document.querySelector(".s-dynamic-breakpoints")),document.querySelector(".s-global-settings")&&(0,i.render)((0,i.createElement)(ws,null),document.querySelector(".s-global-settings"))}))},4184:(e,t)=>{var a;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var a=arguments[t];if(a){var l=typeof a;if("string"===l||"number"===l)e.push(a);else if(Array.isArray(a)){if(a.length){var r=i.apply(null,a);r&&e.push(r)}}else if("object"===l)if(a.toString===Object.prototype.toString)for(var s in a)n.call(a,s)&&a[s]&&e.push(s);else e.push(a.toString())}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(a=function(){return i}.apply(t,[]))||(e.exports=a)}()},8874:e=>{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},5985:(e,t,a)=>{"use strict";var n=a(2409);e.exports={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(e){var t,a,n,i,l,r=e[0]/360,s=e[1]/100,o=e[2]/100;if(0===s)return[l=255*o,l,l];t=2*o-(a=o<.5?o*(1+s):o+s-o*s),i=[0,0,0];for(var u=0;u<3;u++)(n=r+1/3*-(u-1))<0?n++:n>1&&n--,l=6*n<1?t+6*(a-t)*n:2*n<1?a:3*n<2?t+(a-t)*(2/3-n)*6:t,i[u]=255*l;return i}},n.hsl=function(e){var t,a,n=e[0]/255,i=e[1]/255,l=e[2]/255,r=Math.min(n,i,l),s=Math.max(n,i,l),o=s-r;return s===r?t=0:n===s?t=(i-l)/o:i===s?t=2+(l-n)/o:l===s&&(t=4+(n-i)/o),(t=Math.min(60*t,360))<0&&(t+=360),a=(r+s)/2,[t,100*(s===r?0:a<=.5?o/(s+r):o/(2-s-r)),100*a]}},2409:e=>{"use strict";e.exports={name:"rgb",min:[0,0,0],max:[255,255,255],channel:["red","green","blue"],alias:["RGB"]}},4247:function(e,t){var a,n;void 0===(n="function"==typeof(a=function(){var e=/^v?(?:\d+)(\.(?:[x*]|\d+)(\.(?:[x*]|\d+)(\.(?:[x*]|\d+))?(?:-[\da-z\-]+(?:\.[\da-z\-]+)*)?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i;function t(e){var t,a,n=e.replace(/^v/,"").replace(/\+.*$/,""),i=(a="-",-1===(t=n).indexOf(a)?t.length:t.indexOf(a)),l=n.substring(0,i).split(".");return l.push(n.substring(i+1)),l}function a(e){return isNaN(Number(e))?e:Number(e)}function n(t){if("string"!=typeof t)throw new TypeError("Invalid argument expected string");if(!e.test(t))throw new Error("Invalid argument not valid semver ('"+t+"' received)")}function i(e,i){[e,i].forEach(n);for(var l=t(e),r=t(i),s=0;s<Math.max(l.length-1,r.length-1);s++){var o=parseInt(l[s]||0,10),u=parseInt(r[s]||0,10);if(o>u)return 1;if(u>o)return-1}var c=l[l.length-1],g=r[r.length-1];if(c&&g){var m=c.split(".").map(a),d=g.split(".").map(a);for(s=0;s<Math.max(m.length,d.length);s++){if(void 0===m[s]||"string"==typeof d[s]&&"number"==typeof m[s])return-1;if(void 0===d[s]||"string"==typeof m[s]&&"number"==typeof d[s])return 1;if(m[s]>d[s])return 1;if(d[s]>m[s])return-1}}else if(c||g)return c?-1:1;return 0}var l=[">",">=","=","<","<="],r={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]};return i.validate=function(t){return"string"==typeof t&&e.test(t)},i.compare=function(e,t,a){!function(e){if("string"!=typeof e)throw new TypeError("Invalid operator type, expected string but got "+typeof e);if(-1===l.indexOf(e))throw new TypeError("Invalid operator, expected one of "+l.join("|"))}(a);var n=i(e,t);return r[a].indexOf(n)>-1},i})?a.apply(t,[]):a)||(e.exports=n)},4863:function(e){e.exports=function(){"use strict";var e=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var a=Object.prototype.toString.call(e);return"[object RegExp]"===a||"[object Date]"===a||function(e){return e.$$typeof===t}(e)}(e)};var t="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function a(e,t){return!1!==t.clone&&t.isMergeableObject(e)?r((a=e,Array.isArray(a)?[]:{}),e,t):e;var a}function n(e,t,n){return e.concat(t).map((function(e){return a(e,n)}))}function i(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function l(e,t,n){var l={};return n.isMergeableObject(e)&&i(e).forEach((function(t){l[t]=a(e[t],n)})),i(t).forEach((function(i){n.isMergeableObject(t[i])&&e[i]?l[i]=function(e,t){if(!t.customMerge)return r;var a=t.customMerge(e);return"function"==typeof a?a:r}(i,n)(e[i],t[i],n):l[i]=a(t[i],n)})),l}function r(t,i,r){(r=r||{}).arrayMerge=r.arrayMerge||n,r.isMergeableObject=r.isMergeableObject||e;var s=Array.isArray(i);return s===Array.isArray(t)?s?r.arrayMerge(t,i,r):l(t,i,r):a(i,r)}return r.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,a){return r(e,a,t)}),{})},r}()},1143:e=>{"use strict";e.exports=function(e,t,a,n,i,l,r,s){if(!e){var o;if(void 0===t)o=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[a,n,i,l,r,s],c=0;(o=new Error(t.replace(/%s/g,(function(){return u[c++]})))).name="Invariant Violation"}throw o.framesToPop=1,o}}},4017:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hexToRgb=function(e){var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null}},6537:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a(7193);t.default=n.isDarkColor,e.exports=t.default},7193:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDarkColor=void 0;var n=a(4017);t.isDarkColor=function(e,t){if(t&&t.override){var a=Object.keys(t.override).find((function(t){return t.toLowerCase()===e.toLowerCase()}));if(void 0!==a)return t.override[a]}var i=(0,n.hexToRgb)(e),l=[i.r/255,i.g/255,i.b/255].map((function(e){return e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}));return.2126*l[0]+.7152*l[1]+.0722*l[2]<=.179}},7418:e=>{"use strict";var t=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},a=0;a<10;a++)t["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,l){for(var r,s,o=i(e),u=1;u<arguments.length;u++){for(var c in r=Object(arguments[u]))a.call(r,c)&&(o[c]=r[c]);if(t){s=t(r);for(var g=0;g<s.length;g++)n.call(r,s[g])&&(o[s[g]]=r[s[g]])}}return o}},2703:(e,t,a)=>{"use strict";var n=a(414);function i(){}function l(){}l.resetWarningCache=i,e.exports=function(){function e(e,t,a,i,l,r){if(r!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var a={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:l,resetWarningCache:i};return a.PropTypes=a,a}},5697:(e,t,a)=>{e.exports=a(2703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8394:(e,t,a)=>{"use strict";var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},i=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),l=a(7294),r=g(l),s=g(a(5697)),o=g(a(1444)),u=g(a(8497)),c=a(7581);function g(e){return e&&e.__esModule?e:{default:e}}var m=function(){return!0},d=function(e){function t(e){var a=e.alwaysRenderSuggestions;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return h.call(n),n.state={isFocused:!1,isCollapsed:!a,highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null},n.justPressedUpDown=!1,n.justMouseEntered=!1,n.pressedSuggestion=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){document.addEventListener("mousedown",this.onDocumentMouseDown),document.addEventListener("mouseup",this.onDocumentMouseUp),this.input=this.autowhatever.input,this.suggestionsContainer=this.autowhatever.itemsContainer}},{key:"componentWillReceiveProps",value:function(e){(0,o.default)(e.suggestions,this.props.suggestions)?e.highlightFirstSuggestion&&e.suggestions.length>0&&!1===this.justPressedUpDown&&!1===this.justMouseEntered&&this.highlightFirstSuggestion():this.willRenderSuggestions(e)?this.state.isCollapsed&&!this.justSelectedSuggestion&&this.revealSuggestions():this.resetHighlightedSuggestion()}},{key:"componentDidUpdate",value:function(e,t){var a=this.props,n=a.suggestions,i=a.onSuggestionHighlighted,l=a.highlightFirstSuggestion;if(!(0,o.default)(n,e.suggestions)&&n.length>0&&l)this.highlightFirstSuggestion();else if(i){var r=this.getHighlightedSuggestion();r!=t.highlightedSuggestion&&i({suggestion:r})}}},{key:"componentWillUnmount",value:function(){document.removeEventListener("mousedown",this.onDocumentMouseDown),document.removeEventListener("mouseup",this.onDocumentMouseUp)}},{key:"updateHighlightedSuggestion",value:function(e,t,a){var n=this;this.setState((function(i){var l=i.valueBeforeUpDown;return null===t?l=null:null===l&&void 0!==a&&(l=a),{highlightedSectionIndex:e,highlightedSuggestionIndex:t,highlightedSuggestion:null===t?null:n.getSuggestion(e,t),valueBeforeUpDown:l}}))}},{key:"resetHighlightedSuggestion",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.setState((function(t){var a=t.valueBeforeUpDown;return{highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:e?null:a}}))}},{key:"revealSuggestions",value:function(){this.setState({isCollapsed:!1})}},{key:"closeSuggestions",value:function(){this.setState({highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null,isCollapsed:!0})}},{key:"getSuggestion",value:function(e,t){var a=this.props,n=a.suggestions,i=a.multiSection,l=a.getSectionSuggestions;return i?l(n[e])[t]:n[t]}},{key:"getHighlightedSuggestion",value:function(){var e=this.state,t=e.highlightedSectionIndex,a=e.highlightedSuggestionIndex;return null===a?null:this.getSuggestion(t,a)}},{key:"getSuggestionValueByIndex",value:function(e,t){return(0,this.props.getSuggestionValue)(this.getSuggestion(e,t))}},{key:"getSuggestionIndices",value:function(e){var t=e.getAttribute("data-section-index"),a=e.getAttribute("data-suggestion-index");return{sectionIndex:"string"==typeof t?parseInt(t,10):null,suggestionIndex:parseInt(a,10)}}},{key:"findSuggestionElement",value:function(e){var t=e;do{if(null!==t.getAttribute("data-suggestion-index"))return t;t=t.parentNode}while(null!==t);throw console.error("Clicked element:",e),new Error("Couldn't find suggestion element")}},{key:"maybeCallOnChange",value:function(e,t,a){var n=this.props.inputProps,i=n.value,l=n.onChange;t!==i&&l(e,{newValue:t,method:a})}},{key:"willRenderSuggestions",value:function(e){var t=e.suggestions,a=e.inputProps,n=e.shouldRenderSuggestions,i=a.value;return t.length>0&&n(i)}},{key:"getQuery",value:function(){var e=this.props.inputProps.value,t=this.state.valueBeforeUpDown;return(null===t?e:t).trim()}},{key:"render",value:function(){var e=this,t=this.props,a=t.suggestions,i=t.renderInputComponent,l=t.onSuggestionsFetchRequested,s=t.renderSuggestion,o=t.inputProps,g=t.multiSection,d=t.renderSectionTitle,h=t.id,p=t.getSectionSuggestions,v=t.theme,b=t.getSuggestionValue,f=t.alwaysRenderSuggestions,y=t.highlightFirstSuggestion,k=this.state,_=k.isFocused,w=k.isCollapsed,x=k.highlightedSectionIndex,C=k.highlightedSuggestionIndex,S=k.valueBeforeUpDown,E=f?m:this.props.shouldRenderSuggestions,M=o.value,T=o.onFocus,N=o.onKeyDown,B=this.willRenderSuggestions(this.props),I=f||_&&!w&&B,O=I?a:[],P=n({},o,{onFocus:function(t){if(!e.justSelectedSuggestion&&!e.justClickedOnSuggestionsContainer){var a=E(M);e.setState({isFocused:!0,isCollapsed:!a}),T&&T(t),a&&l({value:M,reason:"input-focused"})}},onBlur:function(t){e.justClickedOnSuggestionsContainer?e.input.focus():(e.blurEvent=t,e.justSelectedSuggestion||(e.onBlur(),e.onSuggestionsClearRequested()))},onChange:function(t){var a=t.target.value,i=E(a);e.maybeCallOnChange(t,a,"type"),e.suggestionsContainer&&(e.suggestionsContainer.scrollTop=0),e.setState(n({},y?{}:{highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null},{valueBeforeUpDown:null,isCollapsed:!i})),i?l({value:a,reason:"input-changed"}):e.onSuggestionsClearRequested()},onKeyDown:function(t,n){var i=t.keyCode;switch(i){case 40:case 38:if(w)E(M)&&(l({value:M,reason:"suggestions-revealed"}),e.revealSuggestions());else if(a.length>0){var r,s=n.newHighlightedSectionIndex,o=n.newHighlightedItemIndex;r=null===o?null===S?M:S:e.getSuggestionValueByIndex(s,o),e.updateHighlightedSuggestion(s,o,M),e.maybeCallOnChange(t,r,40===i?"down":"up")}t.preventDefault(),e.justPressedUpDown=!0,setTimeout((function(){e.justPressedUpDown=!1}));break;case 13:if(229===t.keyCode)break;var u=e.getHighlightedSuggestion();if(I&&!f&&e.closeSuggestions(),null!=u){var c=b(u);e.maybeCallOnChange(t,c,"enter"),e.onSuggestionSelected(t,{suggestion:u,suggestionValue:c,suggestionIndex:C,sectionIndex:x,method:"enter"}),e.justSelectedSuggestion=!0,setTimeout((function(){e.justSelectedSuggestion=!1}))}break;case 27:I&&t.preventDefault();var g=I&&!f;null===S?g||(e.maybeCallOnChange(t,"","escape"),E("")?l({value:"",reason:"escape-pressed"}):e.onSuggestionsClearRequested()):e.maybeCallOnChange(t,S,"escape"),g?(e.onSuggestionsClearRequested(),e.closeSuggestions()):e.resetHighlightedSuggestion()}N&&N(t)}}),R={query:this.getQuery()};return r.default.createElement(u.default,{multiSection:g,items:O,renderInputComponent:i,renderItemsContainer:this.renderSuggestionsContainer,renderItem:s,renderItemData:R,renderSectionTitle:d,getSectionItems:p,highlightedSectionIndex:x,highlightedItemIndex:C,inputProps:P,itemProps:this.itemProps,theme:(0,c.mapToAutowhateverTheme)(v),id:h,ref:this.storeAutowhateverRef})}}]),t}(l.Component);d.propTypes={suggestions:s.default.array.isRequired,onSuggestionsFetchRequested:function(e,t){if("function"!=typeof e[t])throw new Error("'onSuggestionsFetchRequested' must be implemented. See: https://github.com/moroshko/react-autosuggest#onSuggestionsFetchRequestedProp")},onSuggestionsClearRequested:function(e,t){var a=e[t];if(!1===e.alwaysRenderSuggestions&&"function"!=typeof a)throw new Error("'onSuggestionsClearRequested' must be implemented. See: https://github.com/moroshko/react-autosuggest#onSuggestionsClearRequestedProp")},onSuggestionSelected:s.default.func,onSuggestionHighlighted:s.default.func,renderInputComponent:s.default.func,renderSuggestionsContainer:s.default.func,getSuggestionValue:s.default.func.isRequired,renderSuggestion:s.default.func.isRequired,inputProps:function(e,t){var a=e[t];if(!a.hasOwnProperty("value"))throw new Error("'inputProps' must have 'value'.");if(!a.hasOwnProperty("onChange"))throw new Error("'inputProps' must have 'onChange'.")},shouldRenderSuggestions:s.default.func,alwaysRenderSuggestions:s.default.bool,multiSection:s.default.bool,renderSectionTitle:function(e,t){var a=e[t];if(!0===e.multiSection&&"function"!=typeof a)throw new Error("'renderSectionTitle' must be implemented. See: https://github.com/moroshko/react-autosuggest#renderSectionTitleProp")},getSectionSuggestions:function(e,t){var a=e[t];if(!0===e.multiSection&&"function"!=typeof a)throw new Error("'getSectionSuggestions' must be implemented. See: https://github.com/moroshko/react-autosuggest#getSectionSuggestionsProp")},focusInputOnSuggestionClick:s.default.bool,highlightFirstSuggestion:s.default.bool,theme:s.default.object,id:s.default.string},d.defaultProps={renderSuggestionsContainer:function(e){var t=e.containerProps,a=e.children;return r.default.createElement("div",t,a)},shouldRenderSuggestions:function(e){return e.trim().length>0},alwaysRenderSuggestions:!1,multiSection:!1,focusInputOnSuggestionClick:!0,highlightFirstSuggestion:!1,theme:c.defaultTheme,id:"1"};var h=function(){var e=this;this.onDocumentMouseDown=function(t){e.justClickedOnSuggestionsContainer=!1;for(var a=t.detail&&t.detail.target||t.target;null!==a&&a!==document;){if(null!==a.getAttribute("data-suggestion-index"))return;if(a===e.suggestionsContainer)return void(e.justClickedOnSuggestionsContainer=!0);a=a.parentNode}},this.storeAutowhateverRef=function(t){null!==t&&(e.autowhatever=t)},this.onSuggestionMouseEnter=function(t,a){var n=a.sectionIndex,i=a.itemIndex;e.updateHighlightedSuggestion(n,i),t.target===e.pressedSuggestion&&(e.justSelectedSuggestion=!0),e.justMouseEntered=!0,setTimeout((function(){e.justMouseEntered=!1}))},this.highlightFirstSuggestion=function(){e.updateHighlightedSuggestion(e.props.multiSection?0:null,0)},this.onDocumentMouseUp=function(){e.pressedSuggestion&&!e.justSelectedSuggestion&&e.input.focus(),e.pressedSuggestion=null},this.onSuggestionMouseDown=function(t){e.justSelectedSuggestion||(e.justSelectedSuggestion=!0,e.pressedSuggestion=t.target)},this.onSuggestionsClearRequested=function(){var t=e.props.onSuggestionsClearRequested;t&&t()},this.onSuggestionSelected=function(t,a){var n=e.props,i=n.alwaysRenderSuggestions,l=n.onSuggestionSelected,r=n.onSuggestionsFetchRequested;l&&l(t,a),i?r({value:a.suggestionValue,reason:"suggestion-selected"}):e.onSuggestionsClearRequested(),e.resetHighlightedSuggestion()},this.onSuggestionClick=function(t){var a=e.props,n=a.alwaysRenderSuggestions,i=a.focusInputOnSuggestionClick,l=e.getSuggestionIndices(e.findSuggestionElement(t.target)),r=l.sectionIndex,s=l.suggestionIndex,o=e.getSuggestion(r,s),u=e.props.getSuggestionValue(o);e.maybeCallOnChange(t,u,"click"),e.onSuggestionSelected(t,{suggestion:o,suggestionValue:u,suggestionIndex:s,sectionIndex:r,method:"click"}),n||e.closeSuggestions(),!0===i?e.input.focus():e.onBlur(),setTimeout((function(){e.justSelectedSuggestion=!1}))},this.onBlur=function(){var t=e.props,a=t.inputProps,n=t.shouldRenderSuggestions,i=a.value,l=a.onBlur,r=e.getHighlightedSuggestion(),s=n(i);e.setState({isFocused:!1,highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null,isCollapsed:!s}),l&&l(e.blurEvent,{highlightedSuggestion:r})},this.onSuggestionMouseLeave=function(t){e.resetHighlightedSuggestion(!1),e.justSelectedSuggestion&&t.target===e.pressedSuggestion&&(e.justSelectedSuggestion=!1)},this.onSuggestionTouchStart=function(){e.justSelectedSuggestion=!0},this.onSuggestionTouchMove=function(){e.justSelectedSuggestion=!1,e.pressedSuggestion=null,e.input.focus()},this.itemProps=function(t){return{"data-section-index":t.sectionIndex,"data-suggestion-index":t.itemIndex,onMouseEnter:e.onSuggestionMouseEnter,onMouseLeave:e.onSuggestionMouseLeave,onMouseDown:e.onSuggestionMouseDown,onTouchStart:e.onSuggestionTouchStart,onTouchMove:e.onSuggestionTouchMove,onClick:e.onSuggestionClick}},this.renderSuggestionsContainer=function(t){var a=t.containerProps,n=t.children;return(0,e.props.renderSuggestionsContainer)({containerProps:a,children:n,query:e.getQuery()})}};t.default=d},8808:(e,t,a)=>{"use strict";e.exports=a(8394).default},7581:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultTheme={container:"react-autosuggest__container",containerOpen:"react-autosuggest__container--open",input:"react-autosuggest__input",inputOpen:"react-autosuggest__input--open",inputFocused:"react-autosuggest__input--focused",suggestionsContainer:"react-autosuggest__suggestions-container",suggestionsContainerOpen:"react-autosuggest__suggestions-container--open",suggestionsList:"react-autosuggest__suggestions-list",suggestion:"react-autosuggest__suggestion",suggestionFirst:"react-autosuggest__suggestion--first",suggestionHighlighted:"react-autosuggest__suggestion--highlighted",sectionContainer:"react-autosuggest__section-container",sectionContainerFirst:"react-autosuggest__section-container--first",sectionTitle:"react-autosuggest__section-title"},t.mapToAutowhateverTheme=function(e){var t={};for(var a in e)switch(a){case"suggestionsContainer":t.itemsContainer=e[a];break;case"suggestionsContainerOpen":t.itemsContainerOpen=e[a];break;case"suggestion":t.item=e[a];break;case"suggestionFirst":t.itemFirst=e[a];break;case"suggestionHighlighted":t.itemHighlighted=e[a];break;case"suggestionsList":t.itemsList=e[a];break;default:t[a]=e[a]}return t}},6514:(e,t,a)=>{"use strict";var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},i=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),l=a(7294),r=m(l),s=m(a(5697)),o=m(a(2383)),u=m(a(8379)),c=m(a(1560)),g=m(a(7489));function m(e){return e&&e.__esModule?e:{default:e}}var d={},h=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return a.storeInputReference=function(e){null!==e&&(a.input=e)},a.storeItemsContainerReference=function(e){null!==e&&(a.itemsContainer=e)},a.onHighlightedItemChange=function(e){a.highlightedItem=e},a.getItemId=function(e,t){return null===t?null:"react-autowhatever-"+a.props.id+"-"+(null===e?"":"section-"+e)+"-item-"+t},a.onFocus=function(e){var t=a.props.inputProps;a.setState({isInputFocused:!0}),t.onFocus&&t.onFocus(e)},a.onBlur=function(e){var t=a.props.inputProps;a.setState({isInputFocused:!1}),t.onBlur&&t.onBlur(e)},a.onKeyDown=function(e){var t=a.props,n=t.inputProps,i=t.highlightedSectionIndex,l=t.highlightedItemIndex;switch(e.key){case"ArrowDown":case"ArrowUp":var r="ArrowDown"===e.key?"next":"prev",s=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var a=[],n=!0,i=!1,l=void 0;try{for(var r,s=e[Symbol.iterator]();!(n=(r=s.next()).done)&&(a.push(r.value),!t||a.length!==t);n=!0);}catch(e){i=!0,l=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw l}}return a}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(a.sectionIterator[r]([i,l]),2),o=s[0],u=s[1];n.onKeyDown(e,{newHighlightedSectionIndex:o,newHighlightedItemIndex:u});break;default:n.onKeyDown(e,{highlightedSectionIndex:i,highlightedItemIndex:l})}},a.highlightedItem=null,a.state={isInputFocused:!1},a.setSectionsItems(e),a.setSectionIterator(e),a.setTheme(e),a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){this.ensureHighlightedItemIsVisible()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){e.items!==this.props.items&&this.setSectionsItems(e),e.items===this.props.items&&e.multiSection===this.props.multiSection||this.setSectionIterator(e),e.theme!==this.props.theme&&this.setTheme(e)}},{key:"componentDidUpdate",value:function(){this.ensureHighlightedItemIsVisible()}},{key:"setSectionsItems",value:function(e){e.multiSection&&(this.sectionsItems=e.items.map((function(t){return e.getSectionItems(t)})),this.sectionsLengths=this.sectionsItems.map((function(e){return e.length})),this.allSectionsAreEmpty=this.sectionsLengths.every((function(e){return 0===e})))}},{key:"setSectionIterator",value:function(e){this.sectionIterator=(0,o.default)({multiSection:e.multiSection,data:e.multiSection?this.sectionsLengths:e.items.length})}},{key:"setTheme",value:function(e){this.theme=(0,u.default)(e.theme)}},{key:"renderSections",value:function(){var e=this;if(this.allSectionsAreEmpty)return null;var t=this.theme,a=this.props,n=a.id,i=a.items,l=a.renderItem,s=a.renderItemData,o=a.renderSectionTitle,u=a.highlightedSectionIndex,m=a.highlightedItemIndex,d=a.itemProps;return i.map((function(a,i){var h="react-autowhatever-"+n+"-",p=h+"section-"+i+"-",v=0===i;return r.default.createElement("div",t(p+"container","sectionContainer",v&&"sectionContainerFirst"),r.default.createElement(c.default,{section:a,renderSectionTitle:o,theme:t,sectionKeyPrefix:p}),r.default.createElement(g.default,{items:e.sectionsItems[i],itemProps:d,renderItem:l,renderItemData:s,sectionIndex:i,highlightedItemIndex:u===i?m:null,onHighlightedItemChange:e.onHighlightedItemChange,getItemId:e.getItemId,theme:t,keyPrefix:h,ref:e.storeItemsListReference}))}))}},{key:"renderItems",value:function(){var e=this.props.items;if(0===e.length)return null;var t=this.theme,a=this.props,n=a.id,i=a.renderItem,l=a.renderItemData,s=a.highlightedSectionIndex,o=a.highlightedItemIndex,u=a.itemProps;return r.default.createElement(g.default,{items:e,itemProps:u,renderItem:i,renderItemData:l,highlightedItemIndex:null===s?o:null,onHighlightedItemChange:this.onHighlightedItemChange,getItemId:this.getItemId,theme:t,keyPrefix:"react-autowhatever-"+n+"-"})}},{key:"ensureHighlightedItemIsVisible",value:function(){var e=this.highlightedItem;if(e){var t=this.itemsContainer,a=e.offsetParent===t?e.offsetTop:e.offsetTop-t.offsetTop,n=t.scrollTop;a<n?n=a:a+e.offsetHeight>n+t.offsetHeight&&(n=a+e.offsetHeight-t.offsetHeight),n!==t.scrollTop&&(t.scrollTop=n)}}},{key:"render",value:function(){var e=this.theme,t=this.props,a=t.id,i=t.multiSection,l=t.renderInputComponent,s=t.renderItemsContainer,o=t.highlightedSectionIndex,u=t.highlightedItemIndex,c=this.state.isInputFocused,g=i?this.renderSections():this.renderItems(),m=null!==g,d=this.getItemId(o,u),h="react-autowhatever-"+a,p=n({role:"combobox","aria-haspopup":"listbox","aria-owns":h,"aria-expanded":m},e("react-autowhatever-"+a+"-container","container",m&&"containerOpen"),this.props.containerProps),v=l(n({type:"text",value:"",autoComplete:"off","aria-autocomplete":"list","aria-controls":h,"aria-activedescendant":d},e("react-autowhatever-"+a+"-input","input",m&&"inputOpen",c&&"inputFocused"),this.props.inputProps,{onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.props.inputProps.onKeyDown&&this.onKeyDown,ref:this.storeInputReference})),b=s({containerProps:n({id:h,role:"listbox"},e("react-autowhatever-"+a+"-items-container","itemsContainer",m&&"itemsContainerOpen"),{ref:this.storeItemsContainerReference}),children:g});return r.default.createElement("div",p,v,b)}}]),t}(l.Component);h.propTypes={id:s.default.string,multiSection:s.default.bool,renderInputComponent:s.default.func,renderItemsContainer:s.default.func,items:s.default.array.isRequired,renderItem:s.default.func,renderItemData:s.default.object,renderSectionTitle:s.default.func,getSectionItems:s.default.func,containerProps:s.default.object,inputProps:s.default.object,itemProps:s.default.oneOfType([s.default.object,s.default.func]),highlightedSectionIndex:s.default.number,highlightedItemIndex:s.default.number,theme:s.default.oneOfType([s.default.object,s.default.array])},h.defaultProps={id:"1",multiSection:!1,renderInputComponent:function(e){return r.default.createElement("input",e)},renderItemsContainer:function(e){var t=e.containerProps,a=e.children;return r.default.createElement("div",t,a)},renderItem:function(){throw new Error("`renderItem` must be provided")},renderItemData:d,renderSectionTitle:function(){throw new Error("`renderSectionTitle` must be provided")},getSectionItems:function(){throw new Error("`getSectionItems` must be provided")},containerProps:d,inputProps:d,itemProps:d,highlightedSectionIndex:null,highlightedItemIndex:null,theme:{container:"react-autowhatever__container",containerOpen:"react-autowhatever__container--open",input:"react-autowhatever__input",inputOpen:"react-autowhatever__input--open",inputFocused:"react-autowhatever__input--focused",itemsContainer:"react-autowhatever__items-container",itemsContainerOpen:"react-autowhatever__items-container--open",itemsList:"react-autowhatever__items-list",item:"react-autowhatever__item",itemFirst:"react-autowhatever__item--first",itemHighlighted:"react-autowhatever__item--highlighted",sectionContainer:"react-autowhatever__section-container",sectionContainerFirst:"react-autowhatever__section-container--first",sectionTitle:"react-autowhatever__section-title"}},t.default=h},6844:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},i=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),l=a(7294),r=u(l),s=u(a(5697)),o=u(a(3130));function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var m=function(e){function t(){var e,a,n;c(this,t);for(var i=arguments.length,l=Array(i),r=0;r<i;r++)l[r]=arguments[r];return a=n=g(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),n.storeItemReference=function(e){null!==e&&(n.item=e)},n.onMouseEnter=function(e){var t=n.props,a=t.sectionIndex,i=t.itemIndex;n.props.onMouseEnter(e,{sectionIndex:a,itemIndex:i})},n.onMouseLeave=function(e){var t=n.props,a=t.sectionIndex,i=t.itemIndex;n.props.onMouseLeave(e,{sectionIndex:a,itemIndex:i})},n.onMouseDown=function(e){var t=n.props,a=t.sectionIndex,i=t.itemIndex;n.props.onMouseDown(e,{sectionIndex:a,itemIndex:i})},n.onClick=function(e){var t=n.props,a=t.sectionIndex,i=t.itemIndex;n.props.onClick(e,{sectionIndex:a,itemIndex:i})},g(n,a)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"shouldComponentUpdate",value:function(e){return(0,o.default)(e,this.props,["renderItemData"])}},{key:"render",value:function(){var e=this.props,t=e.isHighlighted,a=e.item,i=e.renderItem,l=e.renderItemData,s=function(e,t){var a={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(a[n]=e[n]);return a}(e,["isHighlighted","item","renderItem","renderItemData"]);return delete s.sectionIndex,delete s.itemIndex,"function"==typeof s.onMouseEnter&&(s.onMouseEnter=this.onMouseEnter),"function"==typeof s.onMouseLeave&&(s.onMouseLeave=this.onMouseLeave),"function"==typeof s.onMouseDown&&(s.onMouseDown=this.onMouseDown),"function"==typeof s.onClick&&(s.onClick=this.onClick),r.default.createElement("li",n({role:"option"},s,{ref:this.storeItemReference}),i(a,n({isHighlighted:t},l)))}}]),t}(l.Component);m.propTypes={sectionIndex:s.default.number,isHighlighted:s.default.bool.isRequired,itemIndex:s.default.number.isRequired,item:s.default.any.isRequired,renderItem:s.default.func.isRequired,renderItemData:s.default.object.isRequired,onMouseEnter:s.default.func,onMouseLeave:s.default.func,onMouseDown:s.default.func,onClick:s.default.func},t.default=m},7489:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},i=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),l=a(7294),r=c(l),s=c(a(5697)),o=c(a(6844)),u=c(a(3130));function c(e){return e&&e.__esModule?e:{default:e}}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var d=function(e){function t(){var e,a,n;g(this,t);for(var i=arguments.length,l=Array(i),r=0;r<i;r++)l[r]=arguments[r];return a=n=m(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),n.storeHighlightedItemReference=function(e){n.props.onHighlightedItemChange(null===e?null:e.item)},m(n,a)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"shouldComponentUpdate",value:function(e){return(0,u.default)(e,this.props,["itemProps"])}},{key:"render",value:function(){var e=this,t=this.props,a=t.items,i=t.itemProps,l=t.renderItem,s=t.renderItemData,u=t.sectionIndex,c=t.highlightedItemIndex,g=t.getItemId,m=t.theme,d=t.keyPrefix,h=null===u?d:d+"section-"+u+"-",p="function"==typeof i;return r.default.createElement("ul",n({role:"listbox"},m(h+"items-list","itemsList")),a.map((function(t,a){var d=0===a,v=a===c,b=h+"item-"+a,f=p?i({sectionIndex:u,itemIndex:a}):i,y=n({id:g(u,a),"aria-selected":v},m(b,"item",d&&"itemFirst",v&&"itemHighlighted"),f);return v&&(y.ref=e.storeHighlightedItemReference),r.default.createElement(o.default,n({},y,{sectionIndex:u,isHighlighted:v,itemIndex:a,item:t,renderItem:l,renderItemData:s}))})))}}]),t}(l.Component);d.propTypes={items:s.default.array.isRequired,itemProps:s.default.oneOfType([s.default.object,s.default.func]),renderItem:s.default.func.isRequired,renderItemData:s.default.object.isRequired,sectionIndex:s.default.number,highlightedItemIndex:s.default.number,onHighlightedItemChange:s.default.func.isRequired,getItemId:s.default.func.isRequired,theme:s.default.func.isRequired,keyPrefix:s.default.string.isRequired},d.defaultProps={sectionIndex:null},t.default=d},1560:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),i=a(7294),l=o(i),r=o(a(5697)),s=o(a(3130));function o(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var g=function(e){function t(){return u(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n(t,[{key:"shouldComponentUpdate",value:function(e){return(0,s.default)(e,this.props)}},{key:"render",value:function(){var e=this.props,t=e.section,a=e.renderSectionTitle,n=e.theme,i=e.sectionKeyPrefix,r=a(t);return r?l.default.createElement("div",n(i+"title","sectionTitle"),r):null}}]),t}(i.Component);g.propTypes={section:r.default.any.isRequired,renderSectionTitle:r.default.func.isRequired,theme:r.default.func.isRequired,sectionKeyPrefix:r.default.string.isRequired},t.default=g},3130:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(e===t)return!1;var i=Object.keys(e),l=Object.keys(t);if(i.length!==l.length)return!0;var r={},s=void 0,o=void 0;for(s=0,o=n.length;s<o;s++)r[n[s]]=!0;for(s=0,o=i.length;s<o;s++){var u=i[s],c=e[u],g=t[u];if(c!==g){if(!r[u]||null===c||null===g||"object"!==(void 0===c?"undefined":a(c))||"object"!==(void 0===g?"undefined":a(g)))return!0;var m=Object.keys(c),d=Object.keys(g);if(m.length!==d.length)return!0;for(var h=0,p=m.length;h<p;h++){var v=m[h];if(c[v]!==g[v])return!0}}}return!1}},8497:(e,t,a)=>{"use strict";e.exports=a(6514).default},5112:function(e,t,a){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)t.hasOwnProperty(a)&&(e[a]=t[a])},n(e,t)},function(e,t){function a(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(a.prototype=t.prototype,new a)}),l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var r=l(a(5697)),s=l(a(7294)),o=function(e){function t(a){var n=e.call(this,a)||this;return n.resetDragging=function(){n.frameDragCounter=0,n.setState({draggingOverFrame:!1,draggingOverTarget:!1})},n.handleWindowDragOverOrDrop=function(e){e.preventDefault()},n.handleFrameDrag=function(e){if(t.eventHasFiles(e))return n.frameDragCounter+="dragenter"===e.type?1:-1,1===n.frameDragCounter?(n.setState({draggingOverFrame:!0}),void(n.props.onFrameDragEnter&&n.props.onFrameDragEnter(e))):0===n.frameDragCounter?(n.setState({draggingOverFrame:!1}),void(n.props.onFrameDragLeave&&n.props.onFrameDragLeave(e))):void 0},n.handleFrameDrop=function(e){n.state.draggingOverTarget||(n.resetDragging(),n.props.onFrameDrop&&n.props.onFrameDrop(e))},n.handleDragOver=function(e){t.eventHasFiles(e)&&(n.setState({draggingOverTarget:!0}),!t.isIE()&&n.props.dropEffect&&(e.dataTransfer.dropEffect=n.props.dropEffect),n.props.onDragOver&&n.props.onDragOver(e))},n.handleDragLeave=function(e){n.setState({draggingOverTarget:!1}),n.props.onDragLeave&&n.props.onDragLeave(e)},n.handleDrop=function(e){if(n.props.onDrop&&t.eventHasFiles(e)){var a=e.dataTransfer?e.dataTransfer.files:null;n.props.onDrop(a,e)}n.resetDragging()},n.handleTargetClick=function(e){n.props.onTargetClick&&n.props.onTargetClick(e),n.resetDragging()},n.stopFrameListeners=function(e){e&&(e.removeEventListener("dragenter",n.handleFrameDrag),e.removeEventListener("dragleave",n.handleFrameDrag),e.removeEventListener("drop",n.handleFrameDrop))},n.startFrameListeners=function(e){e&&(e.addEventListener("dragenter",n.handleFrameDrag),e.addEventListener("dragleave",n.handleFrameDrag),e.addEventListener("drop",n.handleFrameDrop))},n.frameDragCounter=0,n.state={draggingOverFrame:!1,draggingOverTarget:!1},n}return i(t,e),t.prototype.componentDidMount=function(){this.startFrameListeners(this.props.frame),this.resetDragging(),window.addEventListener("dragover",this.handleWindowDragOverOrDrop),window.addEventListener("drop",this.handleWindowDragOverOrDrop)},t.prototype.UNSAFE_componentWillReceiveProps=function(e){e.frame!==this.props.frame&&(this.resetDragging(),this.stopFrameListeners(this.props.frame),this.startFrameListeners(e.frame))},t.prototype.componentWillUnmount=function(){this.stopFrameListeners(this.props.frame),window.removeEventListener("dragover",this.handleWindowDragOverOrDrop),window.removeEventListener("drop",this.handleWindowDragOverOrDrop)},t.prototype.render=function(){var e=this.props,t=e.children,a=e.className,n=e.targetClassName,i=e.draggingOverFrameClassName,l=e.draggingOverTargetClassName,r=this.state,o=r.draggingOverTarget,u=n;return r.draggingOverFrame&&(u+=" "+i),o&&(u+=" "+l),s.default.createElement("div",{className:a,onDragOver:this.handleDragOver,onDragLeave:this.handleDragLeave,onDrop:this.handleDrop},s.default.createElement("div",{className:u,onClick:this.handleTargetClick},t))},t.isIE=function(){return"undefined"!=typeof window&&(-1!==window.navigator.userAgent.indexOf("MSIE")||window.navigator.appVersion.indexOf("Trident/")>0)},t.eventHasFiles=function(e){var t=!1;if(e.dataTransfer){var a=e.dataTransfer.types;for(var n in a)if("Files"===a[n]){t=!0;break}}return t},t.propTypes={className:r.default.string,targetClassName:r.default.string,draggingOverFrameClassName:r.default.string,draggingOverTargetClassName:r.default.string,onDragOver:r.default.func,onDragLeave:r.default.func,onDrop:r.default.func,onTargetClick:r.default.func,dropEffect:r.default.oneOf(["copy","move","link","none"]),frame:function(e,t,a){var n=e[t];return null==n?new Error("Warning: Required prop `"+t+"` was not specified in `"+a+"`"):n===document||n instanceof HTMLElement?void 0:new Error("Warning: Prop `"+t+"` must be one of the following: document, HTMLElement!")},onFrameDragEnter:r.default.func,onFrameDragLeave:r.default.func,onFrameDrop:r.default.func},t.defaultProps={dropEffect:"copy",frame:"undefined"==typeof window?void 0:window.document,className:"file-drop",targetClassName:"file-drop-target",draggingOverFrameClassName:"file-drop-dragging-over-frame",draggingOverTargetClassName:"file-drop-dragging-over-target"},t}(s.default.PureComponent);t.FileDrop=o},8379:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});function n(e){if(Array.isArray(e)){for(var t=0,a=Array(e.length);t<e.length;t++)a[t]=e[t];return a}return Array.from(e)}var i,l=(i=a(1894))&&i.__esModule?i:{default:i},r=function(e){return e};t.default=function(e){var t=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var a=[],n=!0,i=!1,l=void 0;try{for(var r,s=e[Symbol.iterator]();!(n=(r=s.next()).done)&&(a.push(r.value),!t||a.length!==t);n=!0);}catch(e){i=!0,l=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw l}}return a}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(Array.isArray(e)&&2===e.length?e:[e,null],2),a=t[0],i=t[1];return function(e){for(var t=arguments.length,s=Array(t>1?t-1:0),o=1;o<t;o++)s[o-1]=arguments[o];var u=s.map((function(e){return a[e]})).filter(r);return"string"==typeof u[0]||"function"==typeof i?{key:e,className:i?i.apply(void 0,n(u)):u.join(" ")}:{key:e,style:l.default.apply(void 0,[{}].concat(n(u)))}}},e.exports=t.default},1894:e=>{"use strict";var t=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function n(e){var a=Object.getOwnPropertyNames(e);return Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(e))),a.filter((function(a){return t.call(e,a)}))}e.exports=Object.assign||function(e,t){for(var i,l,r=a(e),s=1;s<arguments.length;s++){i=arguments[s],l=n(Object(i));for(var o=0;o<l.length;o++)r[l[o]]=i[l[o]]}return r}},2408:(e,t,a)=>{"use strict";var n=a(7418),i=60103,l=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var r=60109,s=60110,o=60112;t.Suspense=60113;var u=60115,c=60116;if("function"==typeof Symbol&&Symbol.for){var g=Symbol.for;i=g("react.element"),l=g("react.portal"),t.Fragment=g("react.fragment"),t.StrictMode=g("react.strict_mode"),t.Profiler=g("react.profiler"),r=g("react.provider"),s=g("react.context"),o=g("react.forward_ref"),t.Suspense=g("react.suspense"),u=g("react.memo"),c=g("react.lazy")}var m="function"==typeof Symbol&&Symbol.iterator;function d(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,a=1;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},p={};function v(e,t,a){this.props=e,this.context=t,this.refs=p,this.updater=a||h}function b(){}function f(e,t,a){this.props=e,this.context=t,this.refs=p,this.updater=a||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(d(85));this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=v.prototype;var y=f.prototype=new b;y.constructor=f,n(y,v.prototype),y.isPureReactComponent=!0;var k={current:null},_=Object.prototype.hasOwnProperty,w={key:!0,ref:!0,__self:!0,__source:!0};function x(e,t,a){var n,l={},r=null,s=null;if(null!=t)for(n in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(r=""+t.key),t)_.call(t,n)&&!w.hasOwnProperty(n)&&(l[n]=t[n]);var o=arguments.length-2;if(1===o)l.children=a;else if(1<o){for(var u=Array(o),c=0;c<o;c++)u[c]=arguments[c+2];l.children=u}if(e&&e.defaultProps)for(n in o=e.defaultProps)void 0===l[n]&&(l[n]=o[n]);return{$$typeof:i,type:e,key:r,ref:s,props:l,_owner:k.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var S=/\/+/g;function E(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function M(e,t,a,n,r){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var o=!1;if(null===e)o=!0;else switch(s){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case i:case l:o=!0}}if(o)return r=r(o=e),e=""===n?"."+E(o,0):n,Array.isArray(r)?(a="",null!=e&&(a=e.replace(S,"$&/")+"/"),M(r,t,a,"",(function(e){return e}))):null!=r&&(C(r)&&(r=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(r,a+(!r.key||o&&o.key===r.key?"":(""+r.key).replace(S,"$&/")+"/")+e)),t.push(r)),1;if(o=0,n=""===n?".":n+":",Array.isArray(e))for(var u=0;u<e.length;u++){var c=n+E(s=e[u],u);o+=M(s,t,a,c,r)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=m&&e[m]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),u=0;!(s=e.next()).done;)o+=M(s=s.value,t,a,c=n+E(s,u++),r);else if("object"===s)throw t=""+e,Error(d(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return o}function T(e,t,a){if(null==e)return e;var n=[],i=0;return M(e,n,"","",(function(e){return t.call(a,e,i++)})),n}function N(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var B={current:null};function I(){var e=B.current;if(null===e)throw Error(d(321));return e}var O={ReactCurrentDispatcher:B,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:k,IsSomeRendererActing:{current:!1},assign:n};t.Children={map:T,forEach:function(e,t,a){T(e,(function(){t.apply(this,arguments)}),a)},count:function(e){var t=0;return T(e,(function(){t++})),t},toArray:function(e){return T(e,(function(e){return e}))||[]},only:function(e){if(!C(e))throw Error(d(143));return e}},t.Component=v,t.PureComponent=f,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=O,t.cloneElement=function(e,t,a){if(null==e)throw Error(d(267,e));var l=n({},e.props),r=e.key,s=e.ref,o=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,o=k.current),void 0!==t.key&&(r=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(c in t)_.call(t,c)&&!w.hasOwnProperty(c)&&(l[c]=void 0===t[c]&&void 0!==u?u[c]:t[c])}var c=arguments.length-2;if(1===c)l.children=a;else if(1<c){u=Array(c);for(var g=0;g<c;g++)u[g]=arguments[g+2];l.children=u}return{$$typeof:i,type:e.type,key:r,ref:s,props:l,_owner:o}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:s,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:r,_context:e},e.Consumer=e},t.createElement=x,t.createFactory=function(e){var t=x.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:o,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:c,_payload:{_status:-1,_result:e},_init:N}},t.memo=function(e,t){return{$$typeof:u,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return I().useCallback(e,t)},t.useContext=function(e,t){return I().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return I().useEffect(e,t)},t.useImperativeHandle=function(e,t,a){return I().useImperativeHandle(e,t,a)},t.useLayoutEffect=function(e,t){return I().useLayoutEffect(e,t)},t.useMemo=function(e,t){return I().useMemo(e,t)},t.useReducer=function(e,t,a){return I().useReducer(e,t,a)},t.useRef=function(e){return I().useRef(e)},t.useState=function(e){return I().useState(e)},t.version="17.0.2"},7294:(e,t,a)=>{"use strict";e.exports=a(2408)},2383:e=>{"use strict";var t=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var a=[],n=!0,i=!1,l=void 0;try{for(var r,s=e[Symbol.iterator]();!(n=(r=s.next()).done)&&(a.push(r.value),!t||a.length!==t);n=!0);}catch(e){i=!0,l=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw l}}return a}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};e.exports=function(e){var a=e.data,n=e.multiSection;function i(e){var i=t(e,2),l=i[0],r=i[1];return n?null===r||r===a[l]-1?null===(l=function(e){for(null===e?e=0:e++;e<a.length&&0===a[e];)e++;return e===a.length?null:e}(l))?[null,null]:[l,0]:[l,r+1]:0===a||r===a-1?[null,null]:null===r?[null,0]:[null,r+1]}return{next:i,prev:function(e){var i=t(e,2),l=i[0],r=i[1];return n?null===r||0===r?null===(l=function(e){for(null===e?e=a.length-1:e--;e>=0&&0===a[e];)e--;return-1===e?null:e}(l))?[null,null]:[l,a[l]-1]:[l,r-1]:0===a||0===r?[null,null]:null===r?[null,a-1]:[null,r-1]},isLast:function(e){return null===i(e)[1]}}}},1444:e=>{"use strict";e.exports=function(e,t){if(e===t)return!0;if(!e||!t)return!1;var a=e.length;if(t.length!==a)return!1;for(var n=0;n<a;n++)if(e[n]!==t[n])return!1;return!0}},3726:function(e,t,a){"use strict";var n;!function(i){if("function"!=typeof l){var l=function(e){return e};l.nonNative=!0}const r=l("plaintext"),s=l("html"),o=l("comment"),u=/<(\w*)>/g,c=/<\/?([^\s\/>]+)/;function g(e,t,a){return d(e=e||"",m(t=t||[],a=a||""))}function m(e,t){return{allowable_tags:e=function(e){let t=new Set;if("string"==typeof e){let a;for(;a=u.exec(e);)t.add(a[1])}else l.nonNative||"function"!=typeof e[l.iterator]?"function"==typeof e.forEach&&e.forEach(t.add,t):t=new Set(e);return t}(e),tag_replacement:t,state:r,tag_buffer:"",depth:0,in_quote_char:""}}function d(e,t){if("string"!=typeof e)throw new TypeError("'html' parameter must be a string");let a=t.allowable_tags,n=t.tag_replacement,i=t.state,l=t.tag_buffer,u=t.depth,c=t.in_quote_char,g="";for(let t=0,m=e.length;t<m;t++){let m=e[t];if(i===r)"<"===m?(i=s,l+=m):g+=m;else if(i===s)switch(m){case"<":if(c)break;u++;break;case">":if(c)break;if(u){u--;break}c="",i=r,l+=">",a.has(h(l))?g+=l:g+=n,l="";break;case'"':case"'":c=m===c?"":c||m,l+=m;break;case"-":"<!-"===l&&(i=o),l+=m;break;case" ":case"\n":if("<"===l){i=r,g+="< ",l="";break}l+=m;break;default:l+=m}else i===o&&(">"===m?("--"==l.slice(-2)&&(i=r),l=""):l+=m)}return t.state=i,t.tag_buffer=l,t.depth=u,t.in_quote_char=c,g}function h(e){let t=c.exec(e);return t?t[1].toLowerCase():null}g.init_streaming_mode=function(e,t){let a=m(e=e||[],t=t||"");return function(e){return d(e||"",a)}},void 0===(n=function(){return g}.call(t,a,t,e))||(e.exports=n)}()},670:e=>{"use strict";e.exports=function(){}},9737:(e,t,a)=>{var n={"./accordion/block.json":2103,"./blockquote/block.json":8317,"./button-group/block.json":2405,"./button/block.json":4379,"./call-to-action/block.json":1578,"./card/block.json":8598,"./column/block.json":8325,"./columns/block.json":7317,"./count-up/block.json":9730,"./design-library/block.json":6914,"./divider/block.json":3695,"./expand/block.json":6705,"./feature-grid/block.json":3705,"./feature/block.json":4859,"./heading/block.json":1642,"./hero/block.json":7125,"./icon-box/block.json":285,"./icon-button/block.json":1897,"./icon-label/block.json":5983,"./icon-list/block.json":2413,"./icon/block.json":8293,"./image-box/block.json":782,"./image/block.json":4639,"./notification/block.json":1705,"./number-box/block.json":9222,"./posts/block.json":7327,"./price/block.json":6386,"./pricing-box/block.json":3345,"./separator/block.json":7388,"./spacer/block.json":9206,"./subtitle/block.json":8381,"./team-member/block.json":8511,"./testimonial/block.json":8227,"./text/block.json":7921,"./video-popup/block.json":7562};function i(e){var t=l(e);return a(t)}function l(e){if(!a.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}i.keys=function(){return Object.keys(n)},i.resolve=l,e.exports=i,i.id=9737},2103:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/accordion","title":"Accordion","description":"A title that your visitors can toggle to view more text. Use as FAQs or multiple ones for an Accordion.","category":"layout","usesContext":["postId","postType","queryId"],"keywords":["Toggle","Faq"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special","stk-demo":"https://wpstackable.com/accordion-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},8317:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/blockquote","title":"Blockquote","description":"Display a quote in style","category":"layout","usesContext":["postId","postType","queryId"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"section","stk-demo":"https://wpstackable.com/blockquote-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},2405:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/button-group","title":"Button Group","description":"Add a customizable button.","category":"layout","usesContext":["postId","postType","queryId"],"keywords":["Link"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"hidden"}')},4379:e=>{"use strict";e.exports=JSON.parse('{"apiVersion":2,"name":"stackable/button","title":"Button","description":"Add a customizable button.","category":"layout","usesContext":["postId","postType","queryId"],"parent":["stackable/button-group"],"keywords":["Link"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"hidden"}')},1578:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/call-to-action","title":"Call to Action","description":"A small section you can use to call the attention of your visitors. Great for calling attention to your products or deals.","category":"layout","usesContext":["postId","postType","queryId"],"keywords":["CTA"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"section","stk-demo":"https://wpstackable.com/call-to-action-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},8598:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/card","title":"Card","description":"Describe a single subject in a small card. You can use this to describe your product, service or a person.","category":"layout","usesContext":["postId","postType","queryId"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special","stk-demo":"https://wpstackable.com/card-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},8325:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/column","title":"Column","description":"A single column within an advanced columns block. Get advanced options on how you want your column to look.","category":"layout","usesContext":["postId","postType","queryId","stackable/columnFit"],"keywords":["Section rows"],"parent":["stackable/columns","stackable/feature","stackable/feature-grid"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"hidden"}')},7317:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/columns","title":"Columns / Container","description":"Add a block that displays content in multiple columns. Get advanced options on how you want your columns to look.","category":"layout","usesContext":["postId","postType","queryId"],"keywords":["Section rows","Container"],"providesContext":{"stackable/columnFit":"columnFit"},"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"essential","stk-demo":"https://wpstackable.com/columns-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},9730:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/count-up","title":"Count Up","description":"Showcase your stats. Display how many customers you have or the number of downloads of your app.","category":"common","usesContext":["postId","postType","queryId"],"keywords":["Number"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special","stk-demo":"https://wpstackable.com/count-up-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},6914:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/design-library","title":"Design Library","description":"Choose a layout or block from the Stackable Design Library.","category":"layout","usesContext":["postId","postType","queryId"],"keywords":["Template"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special"}')},3695:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/divider","title":"Divider","description":"Add a pause between your content.","category":"common","usesContext":["postId","postType","queryId"],"keywords":["Horizontal Rule","HR"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special"}')},6705:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/expand","title":"Expand / Show More","description":"Display a small snippet of text. Your readers can toggle it to show more information.","category":"layout","usesContext":["postId","postType","queryId"],"keywords":["Hide","Less"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special","stk-demo":"https://wpstackable.com/expand-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},3705:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/feature-grid","title":"Feature Grid","description":"Display multiple product features or services. You can use Feature Grids one after another.","category":"layout","usesContext":["postId","postType","queryId"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"section","stk-demo":"https://wpstackable.com/feature-grid-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},4859:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/feature","title":"Feature","description":"Display a product feature or a service in a large area.","category":"layout","usesContext":["postId","postType","queryId"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"section","stk-demo":"https://wpstackable.com/feature-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},1642:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/heading","title":"Heading","description":"Introduce new sections of your content in style.","category":"common","usesContext":["postId","postType","queryId"],"keywords":["Title"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"essential","stk-demo":"https://wpstackable.com/advanced-heading-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},7125:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/hero","title":"Hero","description":"A large hero area. Typically used at the very top of a page.","category":"layout","usesContext":["postId","postType","queryId"],"keywords":["Header"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"section"}')},285:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/icon-box","title":"Icon Box","description":"A small text area with an icon that can be used to summarize features or services","category":"layout","usesContext":["postId","postType","queryId"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"section"}')},1897:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/icon-button","title":"Icon Button","description":"Add a customizable button.","category":"layout","usesContext":["postId","postType","queryId"],"parent":["stackable/button-group"],"keywords":["Link"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"hidden"}')},5983:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/icon-label","title":"Icon Label","category":"layout","usesContext":["postId","postType","queryId"],"keywords":["SVG"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special"}')},2413:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/icon-list","title":"Icon List","description":"An unordered list with icons. You can use this as a list of features or benefits.","category":"common","usesContext":["postId","postType","queryId"],"keywords":["Checklist","Bullets","Number list"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"essential","stk-demo":"https://wpstackable.com/icon-list-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},8293:e=>{"use strict";e.exports=JSON.parse('{"apiVersion":2,"name":"stackable/icon","title":"Icon","description":"Pick an icon or upload your own SVG icon to decorate your content.","category":"common","usesContext":["postId","postType","queryId"],"keywords":["SVG"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"essential","stk-demo":"https://wpstackable.com/icon-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},782:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/image-box","title":"Image Box","description":"Display an image that shows more information when hovered on. Can be used as a fancy link to other pages.","category":"layout","usesContext":["postId","postType","queryId"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special","stk-demo":"https://wpstackable.com/image-box-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},4639:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/image","title":"Image","description":"An image with advanced controls to make a visual statement.","category":"media","usesContext":["postId","postType","queryId"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"essential"}')},1705:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/notification","title":"Notification","description":"Show a notice to your readers. People can dismiss the notice to permanently hide it.","category":"layout","usesContext":["postId","postType","queryId"],"keywords":["Notice","Alert"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special","stk-demo":"https://wpstackable.com/notification-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},9222:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/number-box","title":"Number Box","description":"Display steps or methods that your users will do in your service.","category":"common","usesContext":["postId","postType","queryId"],"keywords":["Steps"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special","stk-demo":"https://wpstackable.com/number-box-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},7327:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/posts","title":"Posts","description":"Your latest blog posts. Use this to showcase a few of your posts in your landing pages.","category":"layout","usesContext":["postId","postType","queryId"],"keywords":["Blog Posts","Lastest Posts","Query Loop"],"providesContext":{"type":"type","orderBy":"orderBy","order":"order","taxonomyType":"taxonomyType","taxonomy":"taxonomy","taxonomyFilterType":"taxonomyFilterType","postOffset":"postOffset","postExclude":"postExclude","postInclude":"postInclude","numberOfItems":"numberOfItems","stkQueryId":"stkQueryId"},"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special","stk-demo":"https://wpstackable.com/blog-posts-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},6386:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/price","title":"Price","description":"Show a price of a product or service with currency and a suffix styled with different weights","category":"common","usesContext":["postId","postType","queryId"],"keywords":["Currency","Pricing","Number"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special"}')},3345:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/pricing-box","title":"Pricing Box","description":"Display the different pricing tiers of your business.","category":"layout","usesContext":["postId","postType","queryId"],"keywords":["Currency","Price","Pricing Table"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"section","stk-demo":"https://wpstackable.com/pricing-table-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},7388:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/separator","title":"Separator","description":"A fancy separator to be placed between content.","category":"layout","usesContext":["postId","postType","queryId"],"keywords":["Svg Divider"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special","stk-demo":"https://wpstackable.com/separator-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},9206:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/spacer","title":"Spacer","description":"Sometimes you just need some space.","category":"layout","usesContext":["postId","postType","queryId"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special"}')},8381:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/subtitle","title":"Subtitle","description":"Subtitle text that you can add custom styling to from the global settings.","category":"common","usesContext":["postId","postType","queryId"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special"}')},8511:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/team-member","title":"Team Member","description":"Display members of your team or your office. Use multiple Team Member blocks if you have a large team.","category":"layout","usesContext":["postId","postType","queryId"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"section","stk-demo":"https://wpstackable.com/team-member-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},8227:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/testimonial","title":"Testimonial","description":"Showcase what your users say about your product or service.","category":"layout","usesContext":["postId","postType","queryId"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"section","stk-demo":"https://wpstackable.com/testimonial-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},7921:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/text","title":"Text","description":"Start with the building block of all page layouts.","category":"common","usesContext":["postId","postType","queryId"],"keywords":["Paragraph"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"essential","stk-demo":"https://wpstackable.com/advanced-text-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},7562:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/video-popup","title":"Video Popup","description":"Display a large thumbnail that your users can click to play a video full-screen. Great for introductory or tutorial videos.","category":"media","usesContext":["postId","postType","queryId"],"keywords":["YouTube","Vimeo","Embed Mp4"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special","stk-demo":"https://wpstackable.com/video-popup-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')}},t={};function a(n){var i=t[n];if(void 0!==i)return i.exports;var l=t[n]={exports:{}};return e[n].call(l.exports,l,l.exports,a),l.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n=a(914);admin_welcome=n})();
1
  /*! For license information please see admin_welcome.js.LICENSE.txt */
2
+ var admin_welcome;(()=>{var e={7385:()=>{Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){let t=this;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null})},914:(e,t,a)=>{"use strict";function n(){return n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},n.apply(this,arguments)}a.r(t),a.d(t,{BLOCKS:()=>bs,BLOCK_CATEROGIES:()=>fs});const i=wp.element,l=wp.ajax;function r(e){"undefined"!=typeof document&&("complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e):e())}const s=wp.components,o=stackable;r((()=>{const e=document.querySelector(".s-news-box-content");e&&""===e.innerHTML&&((0,i.render)((0,i.createElement)("div",null,(0,i.createElement)(s.Spinner,null)),e),(0,l.send)("stackable_news_feed_ajax",{success:t=>{e.innerHTML=t},error:e=>{alert(e)},data:{nonce:o.nonceNews}}))}));var u=a(7294);const c=function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"#3ca540",strokeWidth:7,strokeLinecap:"round",strokeLinejoin:"round"},e),(0,i.createElement)("path",{d:"M88 44.32V48a40 40 0 01-28.659 38.335 40 40 0 01-44.898-16.587 40 40 0 013.149-47.76A40 40 0 0164.28 11.44"}),(0,i.createElement)("path",{d:"M88 16L48 56.04l-12-12"}))};var g=a(4184),m=a.n(g);const d=wp.blockEditor,h=wp.i18n,p=lodash,v=e=>(0,i.createElement)(pr,{label:e.label,id:"url-input-control",help:e.help,allowReset:e.allowReset,value:e.value,onChange:e.onChange},(0,i.createElement)(d.URLInput,n({className:"ugb-url-input-control__input",value:e.value,onChange:e.onChange,autoFocus:!1},(0,p.omit)(e,["label","help"]))));v.defaultProps={label:(0,h.__)("URL",o.i18n),help:null,value:"",onChange:()=>{},allowReset:!0};const b=v,f=(0,i.forwardRef)(((e,t)=>{const a=m()([e.className,"ugb-button-component"]);return(0,i.createElement)(s.Button,n({},e,{className:a,ref:t}))})),y=e=>(0,i.createElement)("path",e),k=e=>{let{className:t,isPressed:a,...n}=e;const l={...n,className:m()(t,{"is-pressed":a})||void 0,role:"img","aria-hidden":!0,focusable:!1};return(0,i.createElement)("svg",l)},_=((0,i.createElement)(k,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,i.createElement)(y,{d:"M6.734 16.106l2.176-2.38-1.093-1.028-3.846 4.158 3.846 4.157 1.093-1.027-2.176-2.38h2.811c1.125 0 2.25.03 3.374 0 1.428-.001 3.362-.25 4.963-1.277 1.66-1.065 2.868-2.906 2.868-5.859 0-2.479-1.327-4.896-3.65-5.93-1.82-.813-3.044-.8-4.806-.788l-.567.002v1.5c.184 0 .368 0 .553-.002 1.82-.007 2.704-.014 4.21.657 1.854.827 2.76 2.657 2.76 4.561 0 2.472-.973 3.824-2.178 4.596-1.258.807-2.864 1.04-4.163 1.04h-.02c-1.115.03-2.229 0-3.344 0H6.734z"})),(0,h.__)("Opens in new tab",o.i18n),(0,h.__)("Nofollow link",o.i18n),(0,h.__)("Sponsored",o.i18n),(0,h.__)("UGC",o.i18n),e=>{const{value:t,options:a}=e,[n,l]=(0,i.useState)(!1),[r,o]=(0,i.useState)(!1),u=(0,i.useRef)(null),c=(0,i.useMemo)((()=>e.options.findIndex((e=>e.value===t))/a.length*100),[a,t]),g=(0,i.useCallback)((e=>{var t;r&&((null===(t=e.target)||void 0===t?void 0:t.closest(".stk-label-unit-toggle"))!==u.current&&o(!1))}));if((0,i.useEffect)((()=>(document.body.addEventListener("click",g),()=>document.body.removeEventListener("click",g))),[g]),a.length<=1)return null;const d=m()([e.className,"stk-label-unit-toggle"],{"stk-label-unit-toggle__colored":e.hasColors});return(0,i.createElement)("div",{className:d,"aria-expanded":r,ref:u},(0,i.createElement)("div",{className:m()("stk-label-unit-toggle__wrapper",{"is-open":r}),style:{transform:`translateY(-${c}%)`}},a.length>1&&a.map(((a,u)=>{const c=a.label||a.value,g=r?e.hasLabels?c:"":e.buttonLabel||c;return(0,i.createElement)("div",{key:u,onMouseEnter:()=>{l(a.value)},onMouseLeave:()=>{l(!1)}},(0,i.createElement)(f,{className:t===a.value?"is-active":"","data-index":u,"data-value":a.value,disabled:a.disabled,onClick:()=>{r?(e.onChange(a.value),o(!1)):o(!0)},icon:a.icon,showTooltip:!1,label:c},a.icon?void 0:c),g&&n===a.value&&(0,i.createElement)(s.Popover,{focusOnMount:!1,position:`middle ${e.labelPosition}`,className:"components-tooltip stk-label-unit-toggle__popup","aria-hidden":"true"},a.tooltip||g))}))))});_.defaultProps={className:"",value:"",options:[],onChange:null,labelPosition:"right",buttonLabel:"",hasLabels:!0,hasColors:!0};const w=(0,i.memo)(_),x=wp.data,C=()=>{const[e,t]=(0,i.useState)(!1);return(0,i.useEffect)((()=>{const e=e=>{t(e.shiftKey)};return window.addEventListener("keydown",e),window.addEventListener("keyup",e),()=>{window.removeEventListener("keydown",e),window.removeEventListener("keyup",e)}}),[]),e},S=()=>{const{deviceType:e}=(0,x.useSelect)((e=>{var t;return{deviceType:(null===(t=e("core/edit-post"))||void 0===t?void 0:t.__experimentalGetPreviewDeviceType())||"Desktop"}}),[]);return e||""},E=e=>(0,x.useSelect)((t=>t("core/block-editor").getBlockAttributes(e)||{}),[e]),M=(wp.tokenList,wp.hooks),T={ru_RU:"cyrillic",bg_BG:"cyrillic",he_IL:"hebrew",el:"greek",vi:"vietnamese",uk:"cyrillic",cs_CZ:"latin-ext",ro_RO:"latin-ext",pl_PL:"latin-ext"},N=e=>`https://fonts.googleapis.com/css?family=${e.replace(/ /g,"+")}:100,100italic,200,200italic,300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic${T[o.locale]?`&subset=${T}`:""}`,B=e=>e&&!(null!=e&&e.match(/^(sans[-+]serif|serif|monospace|serif-alt)$/i)),I=e=>{setTimeout((()=>{const t=t=>{if(t&&B(e)){if(P(e,t))return;const a=O(e);t.appendChild(a)}},a=xe();t(a),a!==document.querySelector("head")&&t(document.querySelector("head"))}),50)},O=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const t=document.createElement("link");return t.classList.add("ugb-google-fonts"),t.setAttribute("data-font-name",e),t.setAttribute("href",N(e)),t.setAttribute("rel","stylesheet"),t.setAttribute("type","text/css"),t},P=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.querySelector("head");return t.querySelector(`[data-font-name="${e}"]`)},R=e=>B(e)?`"${e}", Sans-serif`:e.match(/^serif$/i)?'"Palatino Linotype", Palatino, Palladio, "URW Palladio L", "Book Antiqua", Baskerville, "Bookman Old Style", "Bitstream Charter", "Nimbus Roman No9 L", Garamond, "Apple Garamond", "ITC Garamond Narrow", "New Century Schoolbook", "Century Schoolbook", "Century Schoolbook L", Georgia, serif':e.match(/^serif-alt$/i)?'Constantia, Lucida Bright, Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif':e.match(/^monospace$/i)?'SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace':'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',L=e=>{Object.keys(e).filter((e=>e.match(/fontfamily/i))).forEach((t=>{const a=e[t];a&&I(a)}))};var z=a(4247),A=a.n(z),D=a(4863),F=a.n(D);const H=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"normal";const n="desktop"===t.toLowerCase()?"":(0,p.upperFirst)(t),i="normal"===a?"":"hover"===a?"Hover":"collapsed"===a?"Collapsed":"ParentHover";return null!=e&&e.includes("%s")?(0,h.sprintf)(e,`${n}${i}`):`${e}${n}${i}`},j=e=>{const t=document.createElement("div");if(t.classList.add("editor-styles-wrapper"),t.classList.add("ugb-default-font-size"),t.innerHTML=`<div class="wp-block">${e.map((e=>e.startsWith(".")?`<p class="${e.substring(1)}"></p>`:`<${e}></${e}>`)).join()}</div>`,!document||!document.body)return{};document.body.appendChild(t);const a={};return e.forEach((e=>{const n=window.getComputedStyle(t.querySelector(e)).getPropertyValue("font-size");a[e]=Math.round(parseFloat(n))})),document.body.removeChild(t),a};let U={};const V=()=>{U={...j(["h1","h2","h3","h4","h5","h6","p",".stk-subtitle"])}};(0,M.addFilter)("stackable.global-settings.typography.editor-styles","stackable/default-font-sizes",((e,t,a,n)=>(e[`.ugb-default-font-size .wp-block ${t}`]=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const n=re(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},(t=>(0,p.camelCase)((0,h.sprintf)(e,t))),""),{importantSize:i=!1,important:l=!0,inherit:r=!0,inheritMax:s=50,inheritMin:o}=a;let u={};const c=n("FontSize"),g=n("TabletFontSize"),m=n("MobileFontSize");if("tablet"!==t&&"mobile"!==t)u={fontFamily:""!==n("FontFamily")?R(n("FontFamily")):void 0,fontSize:""!==c?le(`${c}${n("FontSizeUnit")||"px"}`,i):void 0,fontWeight:""!==n("FontWeight")?n("FontWeight"):void 0,textTransform:""!==n("TextTransform")?n("TextTransform"):void 0,letterSpacing:""!==n("LetterSpacing")?`${n("LetterSpacing")}px`:void 0,lineHeight:""!==n("LineHeight")?`${n("LineHeight")}${n("LineHeightUnit")||"em"}`:void 0};else if("tablet"===t){if(u={lineHeight:""!==n("TabletLineHeight")?`${n("TabletLineHeight")}${n("TabletLineHeightUnit")||"em"}`:void 0},r){const e=se(c,{min:o,max:s});e&&(u.fontSize=`${e}${n("FontSizeUnit")||"px"}`)}g&&(u.fontSize=n("TabletFontSize",`%s${n("TabletFontSizeUnit")||"px"}`))}else{if(u={lineHeight:""!==n("MobileLineHeight")?`${n("MobileLineHeight")}${n("MobileLineHeightUnit")||"em"}`:void 0},r){const e=se(c,{min:o,max:s});e&&(u.fontSize=`${e}${n("FontSizeUnit")||"px"}`);const t=se(g,{min:o,max:s});t?u.fontSize=`${t}${n("TabletFontSizeUnit")||"px"}`:(e||g)&&(u.fontSize=void 0)}m&&(u.fontSize=n("MobileFontSize",`%s${n("MobileFontSizeUnit")||"px"}`))}return l?ie(u):u}("%s","desktop",n,{important:!0}),U={},e)));const G=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"p",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Object.keys(U).length&&!t||V(),U[e]||U.p||21};r((()=>{V()}));const $=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{width:e.media_details?e.media_details.width:"",height:e.media_details?e.media_details.height:"",source_url:e.source_url||""}},q=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e?e.media_details&&e.media_details.sizes&&e.media_details.sizes[t]||$(e):null};window._stackableCachedImageData={};const W=(e,t)=>{const{getMedia:a}=t("core"),n=e?a(e):null;return n&&void 0!==n.id&&(window._stackableCachedImageData[n.id]=n),n},K=e=>window._stackableCachedImageData[e]||null;a(6537);var J=a(8874);const Y=function(e){var t,a,n=[],i=1;if("string"==typeof e)if(J[e])n=J[e].slice(),a="rgb";else if("transparent"===e)i=0,a="rgb",n=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(e)){var l=(o=e.slice(1)).length;i=1,l<=4?(n=[parseInt(o[0]+o[0],16),parseInt(o[1]+o[1],16),parseInt(o[2]+o[2],16)],4===l&&(i=parseInt(o[3]+o[3],16)/255)):(n=[parseInt(o[0]+o[1],16),parseInt(o[2]+o[3],16),parseInt(o[4]+o[5],16)],8===l&&(i=parseInt(o[6]+o[7],16)/255)),n[0]||(n[0]=0),n[1]||(n[1]=0),n[2]||(n[2]=0),a="rgb"}else if(t=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(e)){var r=t[1],s="rgb"===r,o=r.replace(/a$/,"");a=o,l="cmyk"===o?4:"gray"===o?1:3,n=t[2].trim().split(/\s*[,\/]\s*|\s+/).map((function(e,t){if(/%$/.test(e))return t===l?parseFloat(e)/100:"rgb"===o?255*parseFloat(e)/100:parseFloat(e);if("h"===o[t]){if(/deg$/.test(e))return parseFloat(e);if(void 0!==X[e])return X[e]}return parseFloat(e)})),r===o&&n.push(1),i=s||void 0===n[l]?1:n[l],n=n.slice(0,l)}else e.length>10&&/[0-9](?:\s|\/)/.test(e)&&(n=e.match(/([0-9]+)/g).map((function(e){return parseFloat(e)})),a=e.match(/([a-z])/gi).join("").toLowerCase());else isNaN(e)?Array.isArray(e)||e.length?(n=[e[0],e[1],e[2]],a="rgb",i=4===e.length?e[3]:1):e instanceof Object&&(null!=e.r||null!=e.red||null!=e.R?(a="rgb",n=[e.r||e.red||e.R||0,e.g||e.green||e.G||0,e.b||e.blue||e.B||0]):(a="hsl",n=[e.h||e.hue||e.H||0,e.s||e.saturation||e.S||0,e.l||e.lightness||e.L||e.b||e.brightness]),i=e.a||e.alpha||e.opacity||1,null!=e.opacity&&(i/=100)):(a="rgb",n=[e>>>16,(65280&e)>>>8,255&e]);return{space:a,values:n,alpha:i}};var X={red:0,orange:60,yellow:120,green:180,blue:240,purple:300},Q=a(2409),Z=a(5985);function ee(e){var t;Array.isArray(e)&&e.raw&&(e=String.raw(...arguments));var a=Y(e);if(!a.space)return[];const n="h"===a.space[0]?Z.min:Q.min,i="h"===a.space[0]?Z.max:Q.max;return(t=Array(3))[0]=Math.min(Math.max(a.values[0],n[0]),i[0]),t[1]=Math.min(Math.max(a.values[1],n[1]),i[1]),t[2]=Math.min(Math.max(a.values[2],n[2]),i[2]),"h"===a.space[0]&&(t=Z.rgb(t)),t.push(Math.min(Math.max(a.alpha,0),1)),t}const te=wp.compose,ae=(0,i.createContext)(null);(0,te.createHigherOrderComponent)((e=>t=>(0,i.createElement)(ae.Provider,{value:t.context},(0,i.createElement)(e,t))),"withQueryLoopContext");const ne={},ie=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Object.keys(e).reduce(((a,n)=>({...a,[n]:le(e[n],t)})),{})},le=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return""!==e&&void 0!==e&&t&&!String(e).match(/!important/i)?`${e} !important`:e},re=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;return function(n){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a;const r=null!==t?t:e=>(0,p.lowerFirst)(e),s=void 0===e[r(n)]?"":e[r(n)];return""!==s?i?(0,h.sprintf)(i.replace(/%([sd])%/,"%$1%%"),s):s:l}},se=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{min:a=Number.NEGATIVE_INFINITY,max:n=Number.POSITIVE_INFINITY}=t;if(""!==e){const t=(0,p.clamp)(e,parseFloat(a),parseFloat(n));if(!isNaN(t))return parseFloat(t)!==parseFloat(e)?t:void 0}},oe={facebook:{label:(0,h.__)("Facebook",o.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="facebook-f" class="svg-inline--fa fa-facebook-f fa-w-10" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="currentColor" d="M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z"></path></svg>'},twitter:{label:(0,h.__)("Twitter",o.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="twitter" class="svg-inline--fa fa-twitter fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"></path></svg>'},instagram:{label:(0,h.__)("Instagram",o.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="instagram" class="svg-inline--fa fa-instagram fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"></path></svg>'},pinterest:{label:(0,h.__)("Pinterest",o.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="pinterest-p" class="svg-inline--fa fa-pinterest-p fa-w-12" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="currentColor" d="M204 6.5C101.4 6.5 0 74.9 0 185.6 0 256 39.6 296 63.6 296c9.9 0 15.6-27.6 15.6-35.4 0-9.3-23.7-29.1-23.7-67.8 0-80.4 61.2-137.4 140.4-137.4 68.1 0 118.5 38.7 118.5 109.8 0 53.1-21.3 152.7-90.3 152.7-24.9 0-46.2-18-46.2-43.8 0-37.8 26.4-74.4 26.4-113.4 0-66.2-93.9-54.2-93.9 25.8 0 16.8 2.1 35.4 9.6 50.7-13.8 59.4-42 147.9-42 209.1 0 18.9 2.7 37.5 4.5 56.4 3.4 3.8 1.7 3.4 6.9 1.5 50.4-69 48.6-82.5 71.4-172.8 12.3 23.4 44.1 36 69.3 36 106.2 0 153.9-103.5 153.9-196.8C384 71.3 298.2 6.5 204 6.5z"></path></svg>'},linkedin:{label:(0,h.__)("LinkedIn",o.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="linkedin-in" class="svg-inline--fa fa-linkedin-in fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"></path></svg>'},youtube:{label:(0,h.__)("YouTube",o.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="youtube" class="svg-inline--fa fa-youtube fa-w-18" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="currentColor" d="M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"></path></svg>'},email:{label:(0,h.__)("Email",o.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="far" data-icon="envelope" class="svg-inline--fa fa-envelope fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm0 48v40.805c-22.422 18.259-58.168 46.651-134.587 106.49-16.841 13.247-50.201 45.072-73.413 44.701-23.208.375-56.579-31.459-73.413-44.701C106.18 199.465 70.425 171.067 48 152.805V112h416zM48 400V214.398c22.914 18.251 55.409 43.862 104.938 82.646 21.857 17.205 60.134 55.186 103.062 54.955 42.717.231 80.509-37.199 103.053-54.947 49.528-38.783 82.032-64.401 104.947-82.653V400H48z"></path></svg>'}},ue=wp.blocks,ce=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const{getBlockName:a,getSelectedBlockClientId:n,getBlockAttributes:i,hasMultiSelection:l,getMultiSelectedBlockClientIds:r}=(0,x.select)("core/block-editor"),{updateBlockAttributes:s}=(0,x.dispatch)("core/block-editor"),{getBlockType:o}=(0,x.select)("core/blocks");if(!t&&l())return void r().forEach((t=>{ce(e,t)}));const u=t||n();if(!u)return;const c=i(u),g=a(u).replace(/^\w+\//g,""),m=o(a(u)).attributes,d=Object.keys(m).reduce(((e,t)=>({...e,[t]:m[t]?m[t].default:""})),{}),h=(0,M.applyFilters)(`stackable.${g}.design.filtered-block-attributes`,{...d,...e},c),v=(0,M.applyFilters)(`stackable.${g}.design.no-text-attributes`,h,c);L(v),s(u,(0,p.omit)(v,["uniqueClass"]))},ge=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const[a,n]=(0,i.useState)((()=>{try{const a=window.localStorage.getItem(e);return a?JSON.parse(a):t}catch(e){return t}})),l=t=>{try{const i=t instanceof Function?t(a):t;n(i),window.localStorage.setItem(e,JSON.stringify(i))}catch(e){}};return[a,l]},me=e=>{const t=document.createElement("div");return t.innerHTML=e,t.firstElementChild},de=(e,t)=>{const a=he(e,t);return a?a.html[0]:""},he=(e,t)=>window.FontAwesome?window.FontAwesome.icon({prefix:e,iconName:t}):null,pe=wp.apiFetch;var ve=a.n(pe);const be=wp.url;a(3726);const fe=e=>e?`stk-${e}`:"",ye=e=>(null==e?void 0:e.endsWith("mp4"))||(null==e?void 0:e.endsWith("webm"))||(null==e?void 0:e.endsWith("ogg")),ke=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const a=e.replace(/\/\*.*?\*\//g,"").replace(/\n\s*\n/g,"").replace(/[\n\r \t]/g," ").replace(/ +/g," ").replace(/:is/g," :is").replace(/ ?([,:;{}]) ?/g,"$1").replace(/[^\}\{]+\{\}/g,"").replace(/[^\}\{]+\{\}/g,"").replace(/;}/g,"}").trim();return t?a.replace(/\s?\!important/g,"").replace(/([;\}])/g," !important$1").replace(/\} !important\}/g,"}}").trim():a},_e={},we=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";const i=`${e}-${t}-${a}-${n}`;if(_e[i])return _e[i];const l=e.trim().replace(/[\n\s\t]+/g," ").replace(/:(is|where|matches)\([^\)]*\)/g,(e=>e.replace(/,/g,"|||"))).split(",").map((e=>{let i="";return i=e.includes("[data-block=")?e:e.includes("%s")?e.replaceAll("%s",a):a&&t?e.includes(a)?e:a&&!t?`.${a} ${e.trim()}`:`.${a} ${e.trim()}`.replace(new RegExp(`(.${a}) (.${t}(#|:|\\[|\\.|\\s|$))`,"g"),"$1$2").replace(/\s:(?!(is|where))/,":"):e,n?`${n} ${i}`:i})).join(", ").replace(/\|\|\|/g,", ");return _e[i]=l,l},xe=()=>{let e=document.querySelector("head");return Ce()&&(e=document.querySelector('iframe[name="editor-canvas"]').contentWindow.document.querySelector("head")),e},Ce=()=>!!document.querySelector('iframe[name="editor-canvas"]'),Se=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"all";const n=S(),[i]=Te();let l="desktop";("all"===t||Array.isArray(t)&&t.includes(n))&&(l=n);let r="normal";return("all"===a||Array.isArray(a)&&a.includes(i))&&(r=i),H(e,l,r)},Ee={selectedBlock:null,hoverState:"normal",hasParentHoverState:!1,selectedParentHoverBlock:null,selectedParentHoverChildren:[],selectedHoverChildren:[],hasCollapsedState:!1,selectedCollapsedBlock:null,selectedCollapsedChildren:[]},Me={updateSelectedBlock:e=>{var t,a;const n=document.querySelector(`.editor-styles-wrapper [data-block="${e}"]`),i=null==n||null===(t=n.closest(".stk-hover-parent"))||void 0===t?void 0:t.closest("[data-block]"),l=(null==i?void 0:i.getAttribute("data-block"))||null,r=Array.from((null==i?void 0:i.querySelectorAll("[data-block]"))||[]).map((e=>e.getAttribute("data-block")))||[],s=Array.from((null==n?void 0:n.querySelectorAll("[data-block]"))||[]).map((e=>e.getAttribute("data-block")))||[],o=(null==n||null===(a=n.closest(".stk-block-accordion"))||void 0===a?void 0:a.closest("[data-block]"))||("stackable/accordion"===(null==n?void 0:n.getAttribute("data-type"))?n:null),u=(null==o?void 0:o.getAttribute("data-block"))||null;return{type:"UPDATE_SELECTED_BLOCK",clientId:e,parentHoverClientId:l,hasParentHoverState:!!l,parentHoverChildrenClientIds:r,hoverChildrenClientIds:s,collapsedClientId:u,collapsedChildrenClientIds:Array.from((null==o?void 0:o.querySelectorAll("[data-block]"))||[]).map((e=>e.getAttribute("data-block")))||[],hasCollapsedState:!!u}},clearSelectedBlock:()=>({type:"CLEAR_SELECTED_BLOCK"}),updateHoverState:e=>({type:"UPDATE_HOVER_STATE",value:e})};(0,x.registerStore)("stackable/hover-state",{reducer:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ee,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_SELECTED_BLOCK":return{...e,selectedBlock:t.clientId,selectedParentHoverBlock:t.parentHoverClientId,hasParentHoverState:t.hasParentHoverState,selectedParentHoverChildren:t.parentHoverChildrenClientIds,selectedHoverChildren:t.hoverChildrenClientIds,hasCollapsedState:t.hasCollapsedState,selectedCollapsedBlock:t.collapsedClientId,selectedCollapsedChildren:t.collapsedChildrenClientIds};case"CLEAR_SELECTED_BLOCK":return{...Ee};case"UPDATE_HOVER_STATE":return{...e,hoverState:t.value}}return e},actions:Me,selectors:{getSelectedBlock:e=>e.selectedBlock,getHoverState:e=>e.hoverState,getHasParentHoverState:e=>e.hasParentHoverState,getSelectedParentHoverBlock:e=>e.selectedParentHoverBlock,getSelectedParentHoverBlockChildren:e=>e.selectedParentHoverChildren,getSelectedHoverChildren:e=>e.selectedHoverChildren,getHasCollapsedState:e=>e.hasCollapsedState,getSelectedCollapsedBlock:e=>e.selectedCollapsedBlock,getSelectedCollapsedBlockChildren:e=>e.selectedCollapsedChildren}});const Te=()=>{const{clientId:e}=(0,d.useBlockEditContext)(),{hoverStateClientId:t,hoverState:a,parentHoverClientId:n,parentHoverChildrenClientIds:l,hoverChildrenClientIds:r,hasParentHoverState:s,hasCollapsedState:o,collapsedClientId:u,collapsedChildrenClientIds:c}=(0,x.useSelect)((e=>({selectedClientId:e("core/block-editor").getSelectedBlockClientId(),hoverStateClientId:e("stackable/hover-state").getSelectedBlock(),hoverState:e("stackable/hover-state").getHoverState(),parentHoverClientId:e("stackable/hover-state").getSelectedParentHoverBlock(),parentHoverChildrenClientIds:e("stackable/hover-state").getSelectedParentHoverBlockChildren(),hoverChildrenClientIds:e("stackable/hover-state").getSelectedHoverChildren(),hasParentHoverState:e("stackable/hover-state").getHasParentHoverState(),hasCollapsedState:e("stackable/hover-state").getHasCollapsedState(),collapsedClientId:e("stackable/hover-state").getSelectedCollapsedBlock(),collapsedChildrenClientIds:e("stackable/hover-state").getSelectedCollapsedBlockChildren()})),[]),g=(0,i.useCallback)((e=>{(0,x.dispatch)("stackable/hover-state").updateHoverState(e)}),[]),m=e===t,h=e===n,p=l.includes(e),v=r.includes(e),b=e===u,f=c.includes(e);let y="",k="normal";return m?("hover"!==a&&"parent-hovered"!==a||(y="stk--is-hovered"),k=a,s||"parent-hovered"!==a||(k="hover")):h?"hover"!==a&&"parent-hovered"!==a||(y="stk--is-hovered",k="hover"):p||v?"hover"!==a&&"parent-hovered"!==a||(y="stk--is-hovered",k="parent-hovered"):(f||b)&&(k="collapsed"),[k,g,y,s,o,b]},Ne={desktop:"Desktop",tablet:"Tablet",mobile:"Mobile"},Be=[{label:(0,h.__)("Desktop",o.i18n),value:"desktop",icon:(0,i.createElement)((function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,i.createElement)("path",{d:"M14.5 2.4h-13c-.4 0-.8.3-.8.8v7c0 .4.3.8.8.8h5.8v1.3H5.6c-.4 0-.8.3-.8.8s.3.8.8.8h4.8c.4 0 .8-.3.8-.8s-.3-.8-.8-.8H8.8V11h5.8c.4 0 .8-.3.8-.8v-7c-.2-.5-.5-.8-.9-.8zm-.7 7H2.2V3.9h11.5v5.5z"}))}),null)},{label:(0,h.__)("Tablet",o.i18n),value:"tablet",icon:(0,i.createElement)((function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,i.createElement)("path",{d:"M13 14.8H3c-.4 0-.8-.3-.8-.8V2c0-.4.3-.8.8-.8h10c.4 0 .8.3.8.8v12c0 .4-.4.8-.8.8zm-9.2-2.6h8.5V2.8H3.8v9.4z"}))}),null)},{label:(0,h.__)("Mobile",o.i18n),value:"mobile",icon:(0,i.createElement)((function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,i.createElement)("path",{d:"M11 14.2H5c-.4 0-.8-.3-.8-.8v-11c0-.4.3-.8.8-.8h6c.4 0 .8.3.8.8v11c0 .5-.4.8-.8.8zm-5.2-2h4.5v-9H5.8v9z"}))}),null)}],Ie=e=>{const t=S(),a=(0,i.useCallback)((e=>{const{__experimentalSetPreviewDeviceType:t}=(0,x.dispatch)("core/edit-post");t(Ne[e])}),[]),n=(0,i.useMemo)((()=>Be.filter((t=>{var a;let{value:n}=t;return null===(a=e.screens)||void 0===a?void 0:a.includes(n)}))),[e.screens]);return n<=1?null:t?(0,i.createElement)(w,{className:"stk-control-responsive-toggle",value:t.toLowerCase(),options:n,onChange:e=>a(e)}):null};Ie.defaultProps={screens:["desktop"]};const Oe=(0,i.memo)(Ie),Pe=function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,i.createElement)("path",{className:"state-parent-hover_svg__st0",d:"M9.8 15.8c-.3 0-.6-.2-.7-.5l-3.8-9c-.1-.3 0-.6.2-.8.2-.2.5-.3.8-.2l9 3.8c.3.1.5.4.5.7 0 .3-.2.6-.5.7l-3.6 1.2-1.2 3.6c-.1.2-.4.4-.7.5zM7.4 7.4l2.3 5.5.7-2c.1-.2.2-.4.5-.5l2-.7-5.5-2.3z"}),(0,i.createElement)("path",{className:"state-parent-hover_svg__st0",d:"M6.4 12.8H2.2V2.2h11.5v4.5l1.5.6V1.5c0-.4-.3-.8-.8-.8h-13c-.4 0-.8.3-.8.8v12c0 .4.3.8.8.8H7l-.6-1.5z"}))},Re=[{label:(0,h.__)("Normal",o.i18n),value:"normal",icon:(0,i.createElement)((function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,i.createElement)("path",{className:"state-normal_svg__st0",d:"M7 14.8c-.3 0-.6-.2-.7-.5l-5-12c-.1-.3 0-.6.2-.8.2-.2.5-.3.8-.2l12 5c.3.1.5.4.5.7 0 .3-.2.6-.5.7L9.4 9.4l-1.7 4.9c-.1.2-.4.4-.7.5zM3.4 3.4l3.5 8.5L8 8.6c.1-.2.2-.4.5-.5L11.8 7 3.4 3.4z"}))}),null)},{label:(0,h.__)("Hover",o.i18n),value:"hover",icon:(0,i.createElement)((function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,i.createElement)("path",{className:"state-hover_svg__st0",d:"M9.2 15.8c-.3 0-.6-.2-.7-.5l-4.2-10c-.1-.3 0-.6.2-.8.2-.2.5-.3.8-.2l10 4.2c.3.1.5.4.5.7 0 .3-.2.6-.5.7l-4 1.4-1.4 4c-.1.2-.4.4-.7.5zM6.4 6.4l2.7 6.5.8-2.5c.1-.2.2-.4.5-.5l2.5-.8-6.5-2.7z"}),(0,i.createElement)("path",{className:"state-hover_svg__st0",d:"M3.7 7.6C2.7 7.2 2 6.2 2 5c0-1.6 1.3-3 3-3 1.2 0 2.2.7 2.7 1.7l1.7.7C9.1 2.2 7.3.5 5 .5 2.5.5.5 2.5.5 5c0 2.3 1.7 4.1 3.9 4.4l-.7-1.8z"}))}),null)},{label:(0,h.__)("Parent Hovered",o.i18n),value:"parent-hovered",icon:(0,i.createElement)(Pe,null)},{label:(0,h.__)("Collapsed",o.i18n),value:"collapsed",icon:(0,i.createElement)(Pe,null)}],Le=e=>{const[t,a,n,l,r,s]=Te(),u=(0,i.useMemo)((()=>{const t="all"===e.hover?["normal","hover","parent-hovered","collapsed"]:e.hover;return Re.filter((e=>{let{value:a}=e;return!(!r&&"collapsed"===a&&!s)&&t.includes(a)})).map((e=>"parent-hovered"===e.value?{disabled:!l,tooltip:l?void 0:(0,i.createElement)("span",{className:"stk-tooltip__text"},(0,h.sprintf)("%s - %s",(0,h.__)("Parent Hovered",o.i18n),(0,h.__)("Add a Container Background to a parent block to enable this state.",o.i18n)),(0,i.createElement)("br",null),(0,i.createElement)("a",{href:"https://docs.wpstackable.com/article/465-how-to-style-the-different-block-hover-states?utm_source=wp-settings-global-settings&utm_campaign=learnmore&utm_medium=wp-dashboard",target:"_docs"},(0,h.__)("Learn more",o.i18n))),...e}:e))}),[e.hover,l]);return(0,i.createElement)(w,{value:t,options:u,onChange:e=>a(e),buttonLabel:(0,h.__)("Hover State",o.i18n)})};Le.defaultProps={hover:!1};const ze=Le,Ae=e=>{var t,a,n;const l=m()(["stk-control",e.className]),r=!(null===(t=e.responsive)||void 0===t||!t.length),u=!(null===(a=e.hover)||void 0===a||!a.length),c=!(null===(n=e.units)||void 0===n||!n.length),g="all"===e.responsive?["desktop","tablet","mobile"]:e.responsive,d=(0,i.useMemo)((()=>{var t;return e.units&&(null===(t=e.units)||void 0===t?void 0:t.map((e=>({value:e}))))}),[e.units])||[],p=m()(["stk-control-label"],{"stk-control-label--bold":e.boldLabel}),v=e.boldLabel?(0,i.createElement)("h3",null,e.label):e.label;return(0,i.createElement)(s.BaseControl,{help:e.help,className:l},(0,i.createElement)("div",{className:p},(0,i.createElement)("div",{className:"components-base-control__label"},v),(0,i.createElement)("div",{className:"stk-control-label__toggles"},r&&(0,i.createElement)(Oe,{screens:g}),u&&(0,i.createElement)(ze,{hover:e.hover})),(0,i.createElement)("div",{className:"stk-control-label__after"},c&&(0,i.createElement)(w,{className:"stk-control-label__units",value:e.unit,options:d,onChange:t=>e.onChangeUnit(t),buttonLabel:(0,h.__)("Unit",o.i18n),hasLabels:!1,hasColors:!1,labelPosition:"left"}),e.after)),(0,i.createElement)("div",{className:"stk-control-content"},e.children))};Ae.defaultProps={className:"",label:"",help:"",boldLabel:!1,responsive:!1,hover:!1,units:!1,unit:"",onChangeUnit:null,after:null};const De=e=>{const{clientId:t}=(0,d.useBlockEditContext)(),{updateBlockAttributes:a}=(0,x.useDispatch)("core/block-editor"),l=E(t),r=Se(`${e.attribute}Unit`,e.responsive,e.hover),s=e.unit?e.unit:l?l[r]:"",o=(0,i.useCallback)((e=>a(t,{[r]:e})),[r]),u=(0,p.omit)(e,["attribute"]);return(0,i.createElement)(Ae,n({},u,{unit:s,onChangeUnit:e.onChangeUnit||o}))};De.defaultProps={className:"",label:"",help:"",attribute:"",responsive:!1,hover:!1,units:!1,onChangeUnit:null,unit:null,after:null};const Fe=De,He=e=>{const t=[...Object.keys(De.defaultProps),"allowReset","screens"],a=(0,p.pick)(e,t);return e.screens&&(a.responsive=e.screens),[(0,p.omit)(e,t),a]},je=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;const{clientId:r}=(0,d.useBlockEditContext)(),s=E(r),o=Se(e,t,a),u=s?s[o]:"";let c=s?s[o]:"";n&&(c=n(c));const g=(0,i.useCallback)((e=>{const t=l?l(e,u):e;(0,x.dispatch)("core/block-editor").updateBlockAttributes(r,{[o]:t})}),[r,o,l,u]);return[c,g]},Ue=(0,h.__)("(current %s: %s)",o.i18n),Ve=(0,i.memo)((e=>{const{disableCustomColors:t,label:a,className:l=""}=e,[r,u]=je(e.attribute,e.responsive,e.hover,e.valueCallback,e.changeCallback),[c,g]=He(e),v=(0,p.compact)(e.colors.map((e=>(0,p.isPlainObject)(e)?{...e,name:e.name||e.fallback||e.color||(0,h.__)("Untitled Color",o.i18n)}:null)));e.hasTransparent&&v.push({name:(0,h.__)("Transparent",o.i18n),slug:"_stk-transparent",color:"transparent"});let b=void 0===e.value?r:e.value;const f=void 0===e.onChange?u:e.onChange,y=(0,d.getColorObjectByColorValue)(v,b),k=y&&y.name,_=(0,h.sprintf)(Ue,a.toLowerCase(),k||r);"string"==typeof b&&b.includes("--stk-global-color")&&b.match(/#[\d\w]{6}/)&&(b=b.match(/#[\d\w]{6}/)[0]);const w=(0,i.createElement)(i.Fragment,null,a,b&&(0,i.createElement)(s.ColorIndicator,{colorValue:b,"aria-label":_}));return(0,i.createElement)(Fe,n({},g,{className:m()([l,"editor-color-palette-control","stk-color-palette-control"]),id:"editor-color-palette-control",label:w}),(0,i.createElement)(s.ColorPalette,{className:"editor-color-palette-control__color-palette",value:b,onChange:e=>{const t=(0,d.getColorObjectByColorValue)(v,e);f((0,M.applyFilters)("stackable.color-palette-control.change",e,t))},colors:v,disableCustomColors:t}))})),Ge=(0,te.compose)([d.withColorContext,(0,te.ifCondition)((e=>{let{hasColorsToChoose:t}=e;return t}))])(Ve),$e=e=>(0,i.createElement)(gt,n({},e,{className:m()(["ugb--help-tip-background-blend-mode",e.className]),options:[{value:"",label:(0,h.__)("None",o.i18n)},{value:"normal",label:(0,h.__)("Normal",o.i18n)},{value:"multiply",label:(0,h.__)("Multiply",o.i18n)},{value:"screen",label:(0,h.__)("Screen",o.i18n)},{value:"overlay",label:(0,h.__)("Overlay",o.i18n)},{value:"darken",label:(0,h.__)("Darken",o.i18n)},{value:"lighten",label:(0,h.__)("Lighten",o.i18n)},{value:"color-dodge",label:(0,h.__)("Color Dodge",o.i18n)},{value:"color-burn",label:(0,h.__)("Color Burn",o.i18n)},{value:"hard-light",label:(0,h.__)("Hard Light",o.i18n)},{value:"soft-light",label:(0,h.__)("Soft Light",o.i18n)},{value:"difference",label:(0,h.__)("Difference",o.i18n)},{value:"exclusion",label:(0,h.__)("Exclusion",o.i18n)},{value:"hue",label:(0,h.__)("Hue",o.i18n)},{value:"saturation",label:(0,h.__)("Saturation",o.i18n)},{value:"color",label:(0,h.__)("Color",o.i18n)},{value:"luminosity",label:(0,h.__)("Luminosity",o.i18n)},{value:"initial",label:(0,h.__)("Initial",o.i18n)},{value:"inherit",label:(0,h.__)("Inherit",o.i18n)},{value:"unset",label:(0,h.__)("Unset",o.i18n)}]}));$e.defaultProps={className:"",label:(0,h.__)("Mix Blend Mode",o.i18n),help:(0,h.__)("Not supported in all browsers.",o.i18n)};const qe=$e,We=function(e){return(0,i.createElement)("svg",n({viewBox:"0 0 512 376",xmlns:"http://www.w3.org/2000/svg"},e),(0,i.createElement)("path",{d:"M0 0v376h512V0H0zm480 344H32V32h448v312z"}),(0,i.createElement)("circle",{cx:409.1,cy:102.9,r:40.9}),(0,i.createElement)("path",{d:"M480 344H32l86.3-164.2 21.7 11.3 49-77.3 100 113.1 8.9-9.3 17.1 22.3 26-46.4 52.9 71.2 15.1-15.9z"}))},Ke=e=>{const t=e.imageURL&&e.imageURL.match(/(mp4|webm|ogg)$/i)?"video":"image",a=()=>{e.onRemove?e.onRemove():e.onChange({url:"",id:"",width:"",height:""})};return(0,i.createElement)("div",{className:"ugb-image-control"},(0,i.createElement)(s.BaseControl,{help:e.help},(0,i.createElement)(ki,{label:e.label,screens:e.screens}),(0,i.createElement)(d.MediaUpload,{onSelect:e.onChange,allowedTypes:e.allowedTypes,value:e.imageID,render:n=>(0,i.createElement)(i.Fragment,null,e.imageURL&&(0,i.createElement)("div",{className:"ugb-image-preview-wrapper"},(0,i.createElement)("button",{className:"ugb-image-preview-remove",onClick:a},(0,i.createElement)(s.Dashicon,{icon:"no"})),"video"===t&&(0,i.createElement)("video",{className:"ugb-image-preview",autoPlay:!0,muted:!0,loop:!0,src:e.imageURL,onClick:n.open,onKeyDown:e=>{13===e.keyCode&&n.open()}}),"image"===t&&(0,i.createElement)("img",{className:"ugb-image-preview",draggable:"false",src:e.imageURL,onClick:n.open,onKeyDown:e=>{13===e.keyCode&&n.open()},alt:(0,h.__)("preview",o.i18n)})),!e.imageURL&&(0,i.createElement)("div",{className:"ugb-placeholder",onClick:n.open,onKeyDown:e=>{13===e.keyCode&&n.open()},role:"button",tabIndex:0},(0,i.createElement)(We,null)))})))};Ke.defaultProps={label:"",imageID:"",imageURL:"",onChange:e=>{let{url:t,id:a,width:n,height:i}=e},onRemove:()=>{},allowedTypes:["image"],help:"",screens:["desktop"]};const Je=Ke,Ye=e=>(0,i.createElement)(s.TextareaControl,n({},e,{help:(0,i.createElement)(i.Fragment,null,(0,i.createElement)(s.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},(0,h.__)("Describe the purpose of the image",o.i18n)),(0,h.__)("Leave empty if the image is purely decorative.",o.i18n))}));Ye.defaultProps={label:(0,h.__)("Alt Text (Alternative Text)",o.i18n)};const Xe=Ye,Qe=e=>{const{className:t,hasDefault:a,...l}=e;return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(Pn,n({},l,{className:m()(t,["ugb-image-shape-control","ugb--help-tip-image-shape"]),options:[...a?[{label:(0,h.__)("Default",o.i18n),value:"",image:"dist/images/components-image-shape-control-default.5e465f6.png"}]:[],{label:(0,h.__)("Square",o.i18n),value:"square",image:"dist/images/components-image-shape-control-square.d8d54ee.png"},{label:(0,h.__)("Circle",o.i18n),value:"circle",image:"dist/images/components-image-shape-control-circle.ddaef4e.png"},{label:(0,h.sprintf)((0,h.__)("Blob %s",o.i18n),1),value:"blob1",image:"dist/images/components-image-shape-control-blob1.3c54e8e.png"},...(0,M.applyFilters)("stackable.image.control.shapes",[])]})),o.showProNotice&&(0,i.createElement)(fi,{type:"image"}))};Qe.defaultProps={className:"",label:(0,h.__)("Shape",o.i18n),selected:"",hasDefault:!0};const Ze=Qe,et=e=>{const t=e.imageData?q(e.imageData,e.imageSize||"full"):null,a=null!==e.isSquareImage?e.isSquareImage:!!t&&t.width===t.height;return(0,i.createElement)(i.Fragment,null,e.onChangeShape&&(0,i.createElement)(Ze,{selected:e.shape,onChange:e.onChangeShape}),e.onChangeShapeStretch&&!["","square","circle"].includes(e.shape)&&(0,i.createElement)(br,{label:(0,h.__)("Flip Shape Horizontally",o.i18n),checked:e.shapeFlipX,onChange:e.onChangeShapeFlipX}),e.onChangeShapeStretch&&!["","square","circle"].includes(e.shape)&&(0,i.createElement)(br,{label:(0,h.__)("Flip Shape Vertically",o.i18n),checked:e.shapeFlipY,onChange:e.onChangeShapeFlipY}),e.onChangeShapeStretch&&!["","square"].includes(e.shape)&&!a&&(0,i.createElement)(br,{label:(0,h.__)("Stretch Shape Mask",o.i18n),checked:e.shapeStretch,onChange:e.onChangeShapeStretch,defaultValue:!0}))};et.defaultProps={imageId:"",imageSize:"full",isSquareImage:null,shape:"",shapeFlipX:!1,shapeFlipY:!1,shapeStretch:!1,onChangeShape:()=>{},onChangeShapeFlipX:()=>{},onChangeShapeFlipY:()=>{},onChangeShapeStretch:()=>{}};const tt=(0,te.compose)([(0,x.withSelect)(((e,t)=>{const{getMedia:a}=e("core");return{imageData:t.imageId?a(t.imageId):null}}))])(et),at=e=>{let{imageSizes:t,value:a,className:l,defaultValue:r,...s}=e;const o=(e=>(0,p.map)(e,(e=>{let{name:t,slug:a}=e;return{value:a,label:t}})))(t);return(0,p.isEmpty)(o)?null:(0,i.createElement)(gt,n({},s,{value:a||"large",options:o,className:m()(l,["ugb--help-tip-image-size"]),defaultValue:r||"large"}))};at.defaultProps={className:"",label:(0,h.__)("Image Size"),value:"large",defaultValue:"",imageSizes:[],onChange:()=>{}};const nt=(0,te.compose)([(0,x.withSelect)((e=>({imageSizes:e("core/block-editor").getSettings().imageSizes})))])(at);(0,h.__)("Column Paddings",o.i18n);const it=!!s.__experimentalNumberControl,lt=(0,i.memo)((e=>{const{allowReset:t,withInputField:a,isShiftStepEnabled:l,placeholderRender:r,defaultValue:u,...c}=e,g=(0,i.useRef)(null),[d,v]=(0,i.useState)(""===e.value||isNaN(e.value)&&"auto"!==e.value?"":e.value);(0,i.useEffect)((()=>{""===e.value||isNaN(e.value)&&"auto"!==e.value?v(""):v(e.value)}),[e.value]);const b=(0,i.useCallback)((t=>{if(v(t),"string"!=typeof t||"auto"!==t.toLowerCase()){if(!isNaN(t)){const a=parseFloat(t);if(!isNaN(a))return void e.onChange((0,p.clamp)(a,e.min,e.max))}e.onChange(e.resetFallbackValue)}else e.onChange(t)}),[e.onChange,e.min,e.max,e.resetFallbackValue]),y=(0,i.useCallback)((()=>{v(e.resetFallbackValue),e.onChange(e.resetFallbackValue)}),[e.onChange,e.resetFallbackValue]),k=(0,i.useCallback)((()=>{if("string"!=typeof d||"auto"!==d.toLowerCase()){if(!isNaN(d)){const t=parseFloat(d);if(!isNaN(t))return void v((0,p.clamp)(t,e.min,e.max))}v(e.resetFallbackValue)}else v(d)}),[d,e.min,e.max,e.resetFallbackValue]),_=m()(["ugb-range-control",e.className],{"ugb-range-control--blank":""===d}),w=""===d,x=null!==e.initialPosition?e.initialPosition:e.placeholder||e.sliderMin||e.min,C=((e,t,a)=>{const n=(e-t)/(a-t)*100;return`${(0,p.clamp)(n,0,100)}%`})(w?x:d,e.sliderMin||e.min||0,e.sliderMax||e.max||100),[E,M]=(0,i.useState)(e.placeholder);(0,i.useEffect)((()=>{M(e.placeholder)}),[e.placeholder]);const T=S();return(0,i.useLayoutEffect)((()=>{const t=setTimeout((()=>{M(r&&!d?r(d):null!==e.placeholder?e.placeholder:x)}),400);return()=>clearTimeout(t)}),[T,!!d,e.placeholder]),(0,i.createElement)("div",{className:_,style:{"--ugb-advanced-range-control--width":C}},(0,i.createElement)(s.RangeControl,n({},c,{initialPosition:"",onChange:b,withInputField:!1,allowReset:!1,min:null!==e.sliderMin?e.sliderMin:e.min===-1/0?0:e.min,max:null!==e.sliderMax?e.sliderMax:e.max===1/0?100:e.max})),a&&it&&(0,i.createElement)(s.__experimentalNumberControl,{ref:g,disabled:e.disabled,isShiftStepEnabled:l,max:e.max,min:e.min,onChange:b,onBlur:k,shiftStep:e.shiftStep,step:e.step,value:d,placeholder:E,type:"text"}),t&&(0,i.createElement)(f,{className:"components-range-control__reset",disabled:e.disabled,isSecondary:!0,isSmall:!0,onClick:y},(0,h.__)("Reset",o.i18n)))}));lt.defaultProps={className:"",allowReset:!1,withInputField:!0,isShiftStepEnabled:!0,max:1/0,min:-1/0,sliderMax:null,sliderMin:null,shiftStep:10,step:1,resetFallbackValue:"",placeholder:null,placeholderRender:null,initialPosition:null,onChange:()=>{}};const rt=lt,st=e=>{const t=null!==e.showReset?e.showReset:void 0!==e.value&&e.value!==e.default&&e.value!==e.placeholder;return e.allowReset&&t&&(0,i.createElement)(f,{className:"stk-control__reset-button",isSmall:!0,isTertiary:!0,"aria-label":(0,h.__)("Reset",o.i18n),onClick:()=>e.onChange(void 0===e.default?"":e.default),icon:(0,i.createElement)(s.Dashicon,{icon:"image-rotate"})})};st.defaultProps={allowReset:!0,showReset:null,value:"",default:"",onChange:null};const ot=e=>{var t,a;const[l,r]=je(e.attribute,e.responsive,e.hover,e.valueCallback,e.changeCallback),[s,o]=He(e),u=S(),[c]=Te(),g=!(null===(t=e.units)||void 0===t||!t.length),m=Se(`${e.attribute}Unit`,e.responsive,e.hover),{clientId:h}=(0,d.useBlockEditContext)(),p=E(h),v="string"==typeof e.unit?e.unit||(null===(a=e.units)||void 0===a?void 0:a[0])||"px":p?p[m]:"";if(g){const t=e.units.indexOf(v)<0?0:e.units.indexOf(v);Array.isArray(e.min)&&(s.min=e.min[t]),Array.isArray(e.max)&&(s.max=e.max[t]),Array.isArray(e.sliderMin)&&(s.sliderMin=e.sliderMin[t]),Array.isArray(e.sliderMax)&&(s.sliderMax=e.sliderMax[t]),Array.isArray(e.step)&&(s.step=e.step[t]),s.initialPosition=""!==e.initialPosition?e.initialPosition:e.placeholder,0!==t&&(s.initialPosition="",s.placeholder="")}"Desktop"===u&&"normal"===c||(s.initialPosition="",s.placeholder="");let b=e.placeholderRender;return("Desktop"!==u||"normal"!==c||g&&v!==e.units[0])&&(b=null),(0,i.createElement)(Fe,o,(0,i.createElement)(rt,n({},s,{value:void 0===e.value?l:e.value,onChange:void 0===e.onChange?r:e.onChange,allowReset:!1,placeholderRender:b})),(0,i.createElement)(st,{allowReset:e.allowReset,value:void 0===e.value?l:e.value,default:e.default,onChange:void 0===e.onChange?r:e.onChange}))};ot.defaultProps={allowReset:!0,default:"",attribute:"",responsive:!1,hover:!1,value:void 0,onChange:void 0};const ut=(0,i.memo)(ot),ct=e=>{const[t,a]=je(e.attribute,e.responsive,e.hover),[l,r]=He(e),{defaultValue:o,...u}=l;return(0,i.createElement)(Fe,n({},r,{className:m()("ugb-advanced-select-control",e.className)}),(0,i.createElement)(s.SelectControl,n({},u,{role:"listbox",value:void 0===e.value?t:e.value,onChange:void 0===e.onChange?a:e.onChange})),(0,i.createElement)(st,{allowReset:e.allowReset,value:void 0===e.value?t:e.value,default:e.default,onChange:void 0===e.onChange?a:e.onChange}))};ct.defaultProps={className:"",url:"",allowReset:!0,default:"",attribute:"",responsive:!1,hover:!1,value:void 0,onChange:void 0};const gt=ct,mt=function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 200"},e),(0,i.createElement)("path",{d:"M64.1 136L23 176.7c-1.9 1.8-1.9 4.8-.1 6.7.9 1 2.3 1.5 3.6 1.4l86.9.1L64.1 136z"}),(0,i.createElement)("path",{d:"M177.9 128.4c0-4.5-1.8-8.9-5-12.1L71.4 14.7 26.6 59.5c-3.2 3.2-5 7.5-5 12.1 0 4.5 1.8 8.9 5 12.1l101.6 101.6v-.1l44.8-44.8c3.1-3.2 4.9-7.5 4.9-12z",opacity:.75}),(0,i.createElement)("path",{d:"M71.4 14.7L26.6 59.5c-3.2 3.2-5 7.5-5 12h49.8V14.7zM128.2 71.6H71.4v56.8h56.8zM128.2 185.1l44.7-44.7c3.1-3.1 4.9-7.4 5-11.8h-49.7v56.5z"}),(0,i.createElement)("path",{d:"M71.4 14.7L26.6 59.5c-3.2 3.2-5 7.5-5 12h49.8V14.7zM172.9 14.7H86.1l49.4 49.6 40.9-41.2c1.9-2 1.8-5.2-.1-7.1-.9-.8-2.1-1.3-3.4-1.3z"}))},dt=function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg"},e),(0,i.createElement)("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.5c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM4.5 10.6h1.8l-1.8 1.8v-1.8zm3.1-1.2H4.5V7.7h4.8L7.6 9.4zm2.9-2.9h-6V5H12l-1.5 1.5zM3.3 15H1.5V5h1.7v10zm1.2-.8L13.7 5h1.8v.8L6.3 15H4.5v-.8zm11-4.8h-1.8l1.8-1.8v1.8zm-3.1 1.2h3.1v1.7h-4.8l1.7-1.7zm-2.9 2.9h6V15H8l1.5-1.5zM16.8 5h1.7v10h-1.7V5zM1.5 1.8c0-.2.1-.3.3-.3h16.3c.2 0 .3.1.3.3v1.3c0 .2-.1.3-.3.3H1.8c-.2 0-.3-.1-.3-.3V1.8zm17 16.4c0 .2-.1.3-.3.3H1.8c-.2 0-.3-.1-.3-.3v-1.3c0-.2.1-.3.3-.3h16.3c.2 0 .3.1.3.3v1.3zm-14.9-.7c0 .3-.2.5-.5.5s-.5-.2-.5-.5.3-.5.5-.5.5.2.5.5zm13.8 0c0 .3-.2.5-.5.5s-.5-.2-.5-.5.2-.5.5-.5.5.2.5.5zM2.6 2.5c0-.3.3-.5.5-.5s.5.2.5.5-.2.5-.5.5-.5-.2-.5-.5zm13.8 0c0-.3.2-.5.5-.5s.5.2.5.5-.2.5-.5.5-.5-.2-.5-.5z"}))},ht=function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),(0,i.createElement)("path",{d:"M10.9 20h-9c-1 0-1.8-.8-1.8-1.8v-5.1c0-1 .8-1.8 1.8-1.8h9c1 0 1.8.8 1.8 1.8v5.1c0 1-.8 1.8-1.8 1.8zm-9.1-7.4c-.3 0-.5.2-.5.5v5.1c0 .3.2.5.5.5h9c.3 0 .5-.2.5-.5v-5.1c0-.3-.2-.5-.5-.5h-9zM18.2 8.7h-9c-1 0-1.8-.8-1.8-1.8V1.8C7.4.8 8.2 0 9.2 0h9c1 0 1.8.8 1.8 1.8v5.1c0 1-.8 1.8-1.8 1.8zM9.1 1.3c-.3 0-.5.2-.5.5v5.1c0 .3.2.5.5.5h9c.3 0 .5-.2.5-.5V1.8c0-.3-.2-.5-.5-.5h-9z"}))};function pt(e){return(0,i.cloneElement)(e,{fill:"url(#stackable-gradient)",className:`stk-stackable-icon-gradient ${e.props.className||""}`})}function vt(e){let{className:t}=e;return(0,i.createElement)(mt,{className:t,width:"20",height:"20"})}r((()=>{if(document.querySelector("svg.ugb-stackable-gradient"))return;const e=document.createElement("DIV");e.setAttribute("style","height: 0; width: 0; overflow: hidden;"),e.setAttribute("aria-hidden","true"),document.querySelector("body").appendChild(e),(0,i.render)((0,i.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"ugb-stackable-gradient",height:"0",width:"0",style:{opacity:0}},(0,i.createElement)("defs",null,(0,i.createElement)("linearGradient",{id:"stackable-gradient"},(0,i.createElement)("stop",{offset:"0%",stopColor:"#8c33da",stopOpacity:"1"}),(0,i.createElement)("stop",{offset:"100%",stopColor:"#f34957",stopOpacity:"1"})))),e)}));class bt extends i.Component{constructor(){super(...arguments),this.state={isOpen:!1,slide:0},this.open=this.open.bind(this),this.close=this.close.bind(this),this.prev=this.prev.bind(this),this.next=this.next.bind(this)}open(){this.setState({isOpen:!0})}close(){this.setState({isOpen:!1})}next(){const e=this.state.slide>=4?0:this.state.slide+1;this.setState({slide:e})}prev(){const e=this.state.slide<=0?4:this.state.slide-1;this.setState({slide:e})}render(){const e=this.props.tag;return(0,i.createElement)(e,null,(0,i.createElement)("a",{href:`https://wpstackable.com/upgrade/?utm_source=${this.props.buttonUtmSource}&utm_campaign=learnmore&utm_medium=gutenberg`,target:"_premium",onClick:this.open,className:this.props.buttonClassName},this.props.button),this.state.isOpen&&(0,i.createElement)(s.Modal,{className:"ugb-pro-modal",onRequestClose:this.close},(0,i.createElement)("img",{src:"https://da4bu55kgdxvv.cloudfront.net/premium-popup.jpg",alt:(0,h.__)("Premium features",o.i18n)}),(0,i.createElement)("div",{className:"ugb-pro-modal__footer"},(0,i.createElement)("a",{href:"https://wpstackable.com/upgrade/?utm_source=editor-modal-popup&utm_campaign=upgrade&utm_medium=gutenberg",className:"button button-secondary",target:"_premium",title:(0,h.__)("Upgrade to Premium",o.i18n)},(0,i.createElement)(vt,null),(0,h.__)("Upgrade to Premium",o.i18n)),(0,i.createElement)("a",{href:"https://demo.wpstackable.com?utm_source=editor-modal-popup&utm_campaign=trydemo&utm_medium=gutenberg",target:"_premium",title:(0,h.__)("Try Premium Demo",o.i18n)},(0,h.__)("Try Premium Demo",o.i18n)))))}}bt.defaultProps={button:(0,h.__)("Learn More",o.i18n),buttonClassName:"button button-secondary",tag:"div",buttonUtmSource:"editor-learn-more"};const ft=bt,yt=function(e){return(0,i.createElement)("svg",n({id:"pro-icon_svg__Layer_3",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 155.8 175.1",xmlSpace:"preserve"},e),(0,i.createElement)("style",null,".pro-icon_svg__st2{fill:#8c33da}"),(0,i.createElement)("path",{d:"M107 175.1l43.7-44.8c3.7-3.8 5.4-8.8 5.1-13.8 0-.4-.1-.8-.1-1.2H107v59.8z",fill:"#5fb3dd"}),(0,i.createElement)("path",{d:"M48.8.4L5.1 45.2C1.4 49-.3 54 0 59c0 .4.1.7.1 1.1h48.6V.4z",fill:"#e2735d"}),(0,i.createElement)("path",{className:"pro-icon_svg__st2",d:"M48.8 115.3zM107 60.1z"}),(0,i.createElement)("path",{fill:"#e1565d",d:"M48.8 60.1v55.2H107V60.1z"}),(0,i.createElement)("path",{fill:"#47a0dd",d:"M48.8 115.3l58.2 59.8v-59.8z"}),(0,i.createElement)("path",{fill:"#ef9856",d:"M107 60.1L48.8.4v59.7z"}),(0,i.createElement)("path",{className:"pro-icon_svg__st2",d:"M107 60.1v55.2h48.6c-.5-3.8-2.1-7.5-4.9-10.4L107 60.1z"}),(0,i.createElement)("path",{d:"M48.8 115.3V60.1H.2c.5 3.8 2.1 7.5 4.9 10.4l43.7 44.8z",fill:"#ea75d4"}),(0,i.createElement)("path",{d:"M154.3 8.5c3.1-3.2.9-8.5-3.6-8.5H62.3l50.3 51.5 41.7-43z",fill:"#eabd59"}),(0,i.createElement)("path",{d:"M1.5 166.8C-1.7 170 .6 175 5 175h88.5l-50.3-51.4-41.7 43.2z",fill:"#49cbce"}))},kt={layout:{title:(0,h.__)("Say Hello to More Layouts 👋",o.i18n),description:(0,h.__)("Get more layouts for this block. This feature is only available on Stackable Premium.",o.i18n),button:(0,h.__)("Learn More",o.i18n)},design:{title:(0,h.__)("Say Hello to More Designs 👋",o.i18n),description:(0,h.__)("Get more pre-set sections / designs for this block. This feature is only available on Stackable Premium.",o.i18n),button:(0,h.__)("Learn More",o.i18n)},image:{title:(0,h.__)("Say Hello to More Shapes 👋",o.i18n),description:(0,h.__)("Get more cool shapes for your images. This feature is only available on Stackable Premium.",o.i18n),button:(0,h.__)("Learn More",o.i18n)},effect:{title:(0,h.__)("Say Hello to More Effects 👋",o.i18n),description:(0,h.__)("Get more flashy image & hover effects. This feature is only available on Stackable Premium.",o.i18n),button:(0,h.__)("Learn More",o.i18n)},advanced:{title:(0,h.__)("Say Hello to Fine-Grained Controls 👋",o.i18n),description:(0,h.__)("Get column spacing options, column colors and more. This feature is only available on Stackable Premium.",o.i18n),button:(0,h.__)("Learn More",o.i18n)},postsBlock:{title:(0,h.__)("Say Hello to More Post Controls 👋",o.i18n),description:(0,h.__)("Get a load more button, more post options and Custom Post Types. This feature is only available on Stackable Premium.",o.i18n),button:(0,h.__)("Learn More",o.i18n)},display:{title:(0,h.__)("Say Hello to More Display Conditions 👋",o.i18n),description:(0,h.__)("Get more condition types, add multiple conditions and more. This feature is only available on Stackable Premium.",o.i18n),button:(0,h.__)("Learn More",o.i18n)}},_t=e=>{const t=m()(["ugb-design-control-pro-note",e.className]);return(0,i.createElement)("div",{className:t},e.isDismissible&&(0,i.createElement)(f,{className:"ugb-design-control-pro-note__close",icon:"no-alt",isTertiary:!0,onClick:e.onClose}),(0,i.createElement)(yt,{className:"ugb-design-control-pro-note__logo"}),(0,i.createElement)("h4",null,e.title||kt[e.type].title),(0,i.createElement)("p",null,e.description||kt[e.type].description),e.showButton&&(0,i.createElement)(ft,{button:e.button||kt[e.type].button,buttonUtmSource:e.buttonUtmSource}),e.showHideNote&&(0,i.createElement)("p",{className:"ugb-design-control-pro-note__notice"},(0,h.__)("You can hide premium hints in the settings",o.i18n)))};_t.defaultProps={className:"",type:"layout",title:"",description:"",button:"",showButton:!0,showHideNote:!0,isDismissible:!1,onClose:()=>{},buttonUtmSource:void 0};const wt=_t,xt=function(e){return(0,i.createElement)("svg",n({"aria-hidden":"true","data-prefix":"fal","data-icon":"database",className:"database-light_svg__svg-inline--fa database-light_svg__fa-database database-light_svg__fa-w-14",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},e),(0,i.createElement)("path",{fill:"currentColor",d:"M224 32c106 0 192 28.75 192 64v32c0 35.25-86 64-192 64S32 163.25 32 128V96c0-35.25 86-64 192-64m192 149.5V224c0 35.25-86 64-192 64S32 259.25 32 224v-42.5c41.25 29 116.75 42.5 192 42.5s150.749-13.5 192-42.5m0 96V320c0 35.25-86 64-192 64S32 355.25 32 320v-42.5c41.25 29 116.75 42.5 192 42.5s150.749-13.5 192-42.5m0 96V416c0 35.25-86 64-192 64S32 451.25 32 416v-42.5c41.25 29 116.75 42.5 192 42.5s150.749-13.5 192-42.5M224 0C145.858 0 0 18.801 0 96v320c0 77.338 146.096 96 224 96 78.142 0 224-18.801 224-96V96c0-77.338-146.096-96-224-96z"}))},Ct=e=>{var t,a;const[n,l]=(0,i.useState)(!1),[r,s]=(0,i.useState)(e.value),o=(0,i.useCallback)((e=>{n&&(e.target.closest(".stackable-dynamic-content__popover")||e.target.closest(".stackable-dynamic-content__popover")||l(!1))}));(0,i.useEffect)((()=>(document.body.addEventListener("click",o),()=>document.body.removeEventListener("click",o))),[o]),(0,i.useEffect)((()=>{const t=setTimeout((()=>{s(e.value)}),300);return()=>clearTimeout(t)}),[e.value]);const u=[];var c,g;null!=r&&null!==(t=r.includes)&&void 0!==t&&t.call(r,"!#stk_dynamic")&&(null===(c=r.match(/\!#stk_dynamic\/(.*)\!#/g))||void 0===c||c.forEach((e=>{const t=e.replace(/\!#/g,"").replace("stk_dynamic/","");u.push(t)}))),null!=r&&null!==(a=r.includes)&&void 0!==a&&a.call(r,'data-stk-dynamic="')&&(null===(g=r.match(/data-stk-dynamic="[^"]*"/g))||void 0===g||g.forEach((e=>{var t,a,n;const i=null===(t=e.match(/data-stk-dynamic="(.*?(?="))"/g))||void 0===t||null===(a=t[0])||void 0===a||null===(n=a.replace(/"/g,""))||void 0===n?void 0:n.replace("data-stk-dynamic=","");i&&u.push(i)})));const m=St(r),d=Et(r),h=n||u.length,v=(0,p.first)(u)||"",b=(0,i.useCallback)(((t,a,n)=>{const i=e.isFormatType?`<span data-stk-dynamic="${n}" contenteditable="false" class="stk-dynamic-content">${t}</span>`:`!#stk_dynamic/${n}!#`;e.onChange(i),s(i),l(!1)}),[e.isFormatType,e.onChange]);return{onClick:()=>l(!n),isPressed:h,isPopoverOpen:n,value:m,placeholder:d,onClose:()=>l(!1),onReset:()=>e.onChange(""),onChange:b,activeAttribute:v}},St=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const t=(0,i.useContext)(ae);return(0,x.useSelect)((a=>{var n,i;if(!a("stackable/dynamic-content"))return e;if(!(0,p.isString)(e))return e;if(!e.includes("!#stk_dynamic")&&!e.includes("data-stk-dynamic"))return e;const l=(null===(n=a("core/editor"))||void 0===n?void 0:n.getCurrentPostId())||-1;let r=e;var s,o;return-1!==l&&null!=t&&t.postId&&t.postId!==l&&(r=null===(s=r)||void 0===s?void 0:s.replace(/<span[^\>]+data-stk-dynamic=[^\>]*>(.*?)<\/span>/g,(e=>{const a=e.match(/data-stk-dynamic="([^\"]*)"/)[1],n=a.split("/");return a.startsWith("current-page")?(n.length>2&&n[2].startsWith("?")?n.splice(2,0,t.postId.toString()):2===n.length&&n.push(t.postId.toString()),e.replace(/data-stk-dynamic="[^\"]*"/g,'data-stk-dynamic="'+n.join("/")+'"')):e})),r=null===(o=r)||void 0===o?void 0:o.replace(/!#stk_dynamic(.*)\!#/g,(e=>{const a=e.replace(/\!#/g,"").replace("stk_dynamic/",""),n=a.split("/");return a.startsWith("current-page")?(n.length>2?n.splice(2,0,t.postId.toString()):2===n.length&&n.push(t.postId.toString()),"!#stk_dynamic/"+n.join("/")+"!#"):e}))),null===(i=a("core/editor"))||void 0===i||i.getPostEdits(),a("stackable/dynamic-content").parseDynamicContents(r)}),[e,t])},Et=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return(0,x.useSelect)((t=>{var a,n;if(!t("stackable/dynamic-content"))return e;let i=e;return null!=e&&null!==(a=e.includes)&&void 0!==a&&a.call(e,"!#stk_dynamic")&&(i=i.replace(/\!#stk_dynamic\/(.*)\!#/g,(e=>{const a=e.replace(/\!#/g,"").replace("stk_dynamic/","");let n=(0,p.first)(t("stackable/dynamic-content").getFieldTitle(a));var i;n||(n=null===(i=new URL(`stk:${a}`).pathname.split("/"))||void 0===i?void 0:i[1]);return n?`[${n}]`:""}))),null!=e&&null!==(n=e.includes)&&void 0!==n&&n.call(e,'data-stk-dynamic="')&&(i=i.replace(/<span[^\>]+data-stk-dynamic="[^>"]*"[^\>]*>(.*?)<\/span>/g,(a=>{var n,i,l;const r=null===(n=a.match(/data-stk-dynamic="(.*?(?="))"/g))||void 0===n||null===(i=n[0])||void 0===i||null===(l=i.replace(/"/g,""))||void 0===l?void 0:l.replace("data-stk-dynamic=","");if(e){let e=(0,p.first)(t("stackable/dynamic-content").getFieldTitle(r));var s;if(!e)e=null===(s=new URL(`stk:${r}`).pathname.split("/"))||void 0===s?void 0:s[1];return e?`[${e}]`:""}return a}))),i}))},Mt=(0,M.applyFilters)("stackable.dynamic-content.component")||i.Fragment,Tt=e=>o.isPro||o.showProNotice?(0,i.createElement)(i.Fragment,null,(0,i.createElement)(s.Button,{className:"stk-dynamic-content-control__button",icon:(0,i.createElement)(xt,null),"aria-haspopup":"true",label:(0,h.__)("Dynamic Fields",o.i18n),isSmall:!0,isTertiary:!0,onClick:e.onClick,isPressed:!!e.isPressed}),e.isPopoverOpen&&(0,i.createElement)(s.Popover,{position:"top right",className:"stackable-dynamic-content__popover"},!o.isPro&&(0,i.createElement)(wt,{title:(0,h.__)("Say Hello to Dynamic Attributes 👋",o.i18n),description:(0,h.__)("Add dynamic values to your Stackable blocks. This feature is only available on Stackable Premium.",o.i18n)}),o.isPro&&(0,i.createElement)(Mt,{onClose:e.onClose,onChange:e.onChange,activeAttribute:e.activeAttribute,type:e.type}))):null,Nt=e=>{let{children:t,enable:a,...n}=e;if(!a)return t;const l=""!==n.activeAttribute,r=m()(["stk-dynamic-content-control"],{"stk--has-dynamic-content":l});return(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{className:r},l?(0,i.createElement)(s.TextControl,{value:n.placeholder,disabled:!0}):t,(0,i.createElement)(Tt,n)),(0,i.createElement)(st,{allowReset:!0,value:n.activeAttribute,default:"",onChange:n.onReset}))};Nt.defaultProps={enable:!1,children:null,activeAttribute:"",onReset:()=>{}};const Bt=Nt,It=e=>{const[t,a]=je(e.attribute,e.responsive,e.hover,e.valueCallback,e.changeCallback),[l,r]=He(e),{isDynamic:o,isMultiline:u,changeDynamicContent:c,allowReset:g,isFormatType:d,...h}=l,p=void 0!==c?c:void 0===e.onChange?a:e.onChange,v=Ct({value:void 0===e.value?t:e.value,onChange:p,isFormatType:d}),b=u?s.TextareaControl:s.TextControl;return(0,i.createElement)(Fe,r,(0,i.createElement)(Bt,n({enable:o},v),(0,i.createElement)(b,n({},h,{value:void 0===e.value?t:e.value,onChange:void 0===e.onChange?a:e.onChange,className:m()(l.className,"ugb-advanced-text-control")}))),(0,i.createElement)(st,{allowReset:g&&!e.dynamic,value:void 0===e.value?t:e.value,default:e.default,onChange:void 0===e.onChange?a:e.onChange}))};It.defaultProps={isMultiline:!1,allowReset:!0,default:"",attribute:"",responsive:!1,hover:!1,isDynamic:!1,isFormatType:!0,value:void 0,onChange:void 0,changeDynamicContent:void 0};const Ot=It;var Pt=a(8808),Rt=a.n(Pt);const Lt=(e,t)=>{const a=e.trim().replace(/[.*+?^${}()|[\]\\]/g,"\\$&");if(!a)return t;const n=new RegExp(a,"i");return zt(t)?t.map((e=>{let{title:t,options:a}=e;return{title:t,options:a.filter((e=>n.test(e.label)||n.test(e.value)))}})).filter((e=>e.options.length>0)):t.filter((e=>"string"==typeof e?n.test(e):n.test(e.label)||n.test(e.value)))},zt=e=>!(!e.length||"object"!=typeof e[0].options),At=(e,t)=>{if(!t.length)return e;if(!zt(t)){const a=t.filter((t=>("string"==typeof t?t:t.value)===e));return a.length?a[0].label:e}const a=t.map((t=>{let{title:a,options:n}=t;return{title:a,options:n.filter((t=>t.value===e))}})).filter((e=>e.options.length>0));return a.length?a[0].options[0].label:e},Dt=e=>e.value,Ft=e=>(0,i.createElement)("div",{className:"ugb--autosuggest-group"},e.title),Ht=e=>e.options,jt=()=>!0;class Ut extends i.Component{constructor(){super(...arguments),this.state={value:"",label:"",suggestions:[],isEmpty:!1},this.onSuggestionsFetchRequested=this.onSuggestionsFetchRequested.bind(this),this.onSuggestionsClearRequested=this.onSuggestionsClearRequested.bind(this),this.onChange=this.onChange.bind(this),this.onFocus=this.onFocus.bind(this),this.autosuggestDiv=(0,i.createRef)()}onChange(e,t){let{newValue:a}=t;this.props.onChange(a),this.setState({value:a,label:At(a,this.props.options)})}onFocus(){this.props.highlightValueOnFocus&&setTimeout((()=>{const e=this.autosuggestDiv.current.querySelector(`[data-value="${this.state.value}"]`);e&&e.scrollIntoView()}),0)}onSuggestionsFetchRequested(e){let{value:t,reason:a}=e;if(this.props.disableAutoIndex)return void this.setState({suggestions:Lt("",this.props.options)});if("input-focused"===a||"suggestion-selected"===a)return void this.setState({suggestions:this.props.options,isEmpty:!1});const n=Lt(t,this.props.options);this.setState({suggestions:n,isEmpty:""!==t.trim()&&0===n.length})}componentDidMount(){this.props.options.length&&this.props.value&&this.setState({value:this.props.value,label:this.props.value?At(this.props.value,this.props.options):this.props.value,suggestions:Lt(this.props.disableAutoIndex?"":this.props.value,this.props.options)})}componentWillReceiveProps(e){this.setState({value:e.value,label:e.value?At(e.value,e.options):e.value,suggestions:Lt(this.props.disableAutoIndex?"":e.value,e.options)})}onSuggestionsClearRequested(){this.setState({suggestions:[]})}render(){const{label:e,suggestions:t}=this.state,a={placeholder:this.props.placeholder,value:e,onChange:this.onChange,onFocus:this.onFocus,type:"search",...this.props.inputProps};return(0,i.createElement)(pr,{help:this.props.help,className:m()("ugb-advanced-autosuggest-control",this.props.className),label:this.props.label,screens:this.props.screens,value:this.props.value,onChange:e=>{""===e&&this.onChange(null,{newValue:""})},allowReset:this.props.allowReset},(0,i.createElement)("div",{className:"ugb-advanced-autosuggest-control__select",ref:this.autosuggestDiv},(0,i.createElement)(Rt(),{multiSection:zt(this.props.options),suggestions:t,focusInputOnSuggestionClick:!1,onSuggestionsFetchRequested:this.onSuggestionsFetchRequested,onSuggestionsClearRequested:this.onSuggestionsClearRequested,onSuggestionSelected:this.props.onSuggestionSelected,getSuggestionValue:this.props.getSuggestionValue||Dt,renderSuggestion:e=>(0,i.createElement)("div",{className:"ugb-autosuggest-option","data-value":e.value,id:`ugb-autosuggest-option--${e.id||(0,p.kebabCase)(e.value)}`},this.props.renderOption?this.props.renderOption(e):e.label),renderSectionTitle:Ft,getSectionSuggestions:Ht,shouldRenderSuggestions:jt,inputProps:a,renderInputComponent:this.props.renderInputComponent?this.props.renderInputComponent:e=>(0,i.createElement)("input",e)}),this.state.isEmpty&&(0,i.createElement)("div",{className:"ugb--autosuggest-empty"},this.props.noMatchesLabel),this.props.children))}}Ut.defaultProps={onChange:()=>{},help:"",className:"",screens:["desktop"],options:[],value:"",noMatchesLabel:(0,h.__)("No matches found",o.i18n),renderOption:null,highlightValueOnFocus:!1,allowReset:!0,placeholder:"",getSuggestionValue:null,disableAutoIndex:!1,onSuggestionSelected:()=>{},renderInputComponent:null,inputProps:{}};const Vt=Ut,Gt=function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),(0,i.createElement)("path",{d:"M3 15.1h14v2H3zM9.4 2.9h1.2v8.6l1.3-1.3 1.1.8-3 3-3-3 1.1-.8 1.3 1.3V2.9z"}))},$t=function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),(0,i.createElement)("path",{d:"M3 3h14v2H3zM10.6 17.1H9.4V8.4L8.1 9.7 7 9l3-3 3 3-1.1.8-1.3-1.3v8.6z"}))},qt=function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),(0,i.createElement)("path",{d:"M3 9h14v2H3zM10.6 18.4H9.4v-3.9l-1.3 1.3L7 15l3-3 3 3-1.1.8-1.3-1.3v3.9zM9.4 1.6h1.2v3.9l1.3-1.3L13 5l-3 3-3-3 1.1-.8 1.3 1.3V1.6z"}))},Wt=[{value:"flex-start",title:(0,h.__)("Align Left",o.i18n),icon:(0,i.createElement)((function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),(0,i.createElement)("path",{d:"M2.9 3h2v14h-2zM17.1 9.4v1.2H8.5l1.3 1.3L9 13l-3-3 3-3 .8 1.1-1.3 1.3h8.6z"}))}),null)},{value:"center",title:(0,h.__)("Align Center",o.i18n),icon:(0,i.createElement)((function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),(0,i.createElement)("path",{d:"M9 3h2v14H9zM1.6 10.6V9.4h3.9L4.2 8.1 5 7l3 3-3 3-.8-1.1 1.3-1.3H1.6zM18.4 9.4v1.2h-3.9l1.3 1.3L15 13l-3-3 3-3 .8 1.1-1.3 1.3h3.9z"}))}),null)},{value:"flex-end",title:(0,h.__)("Align Right",o.i18n),icon:(0,i.createElement)((function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),(0,i.createElement)("path",{d:"M15.1 3h2v14h-2zM2.9 10.6V9.4h8.6l-1.3-1.3L11 7l3 3-3 3-.8-1.1 1.3-1.3H2.9z"}))}),null)}],Kt=[{value:"flex-start",title:(0,h.__)("Align Top",o.i18n),icon:(0,i.createElement)($t,null)},{value:"center",title:(0,h.__)("Align Center",o.i18n),icon:(0,i.createElement)(qt,null)},{value:"flex-end",title:(0,h.__)("Align Bottom",o.i18n),icon:(0,i.createElement)(Gt,null)},{value:"stretch",title:(0,h.__)("Stretch",o.i18n),icon:(0,i.createElement)((function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),(0,i.createElement)("path",{d:"M3 16.4h14v2H3zM3 1.6h14v2H3zM10.6 12.8V7.2l1.3 1.3 1.1-.8-3-3-3 3 1.1.8 1.3-1.3v5.6l-1.3-1.3-1.1.8 3 3 3-3-1.1-.8z"}))}),null)}],Jt={"flex-horizontal":Wt,"flex-vertical":[{value:"flex-start",title:(0,h.__)("Align Top",o.i18n),icon:(0,i.createElement)($t,null)},{value:"center",title:(0,h.__)("Align Center",o.i18n),icon:(0,i.createElement)(qt,null)},{value:"flex-end",title:(0,h.__)("Align Bottom",o.i18n),icon:(0,i.createElement)(Gt,null)}],"flex-vertical-with-stretch":Kt},Yt=e=>{const[t,a]=je(e.attribute,e.responsive,e.hover,e.valueCallback,e.changeCallback),[l,r]=He(e),{className:o="",controls:u,fullwidth:c,multiline:g,isToggleOnly:d}=l,h="string"==typeof u?Jt[u]:u,v=m()({"ugb-toolbar--full-width":c,"ugb-toolbar--multiline":g,"ugb-toolbar--small":e.isSmall}),b=void 0===e.value?t:e.value,y=void 0===e.onChange?a:e.onChange;return(0,i.createElement)(Fe,n({},r,{className:m()("ugb-advanced-toolbar-control",o,r.className)}),(0,i.createElement)(s.ButtonGroup,{children:h.map(((t,a)=>{const l={...(0,p.omit)(t,"controls","show"),onClick:()=>{d&&t.value===b||y(t.value!==b?t.value:"")},isPrimary:b===t.value,isSmall:e.isSmall,children:t.icon?null:t.custom||(0,i.createElement)("span",{className:"ugb-advanced-toolbar-control__text-button"},t.title)};return(0,i.createElement)(f,n({key:a},l))})),className:v}),(0,i.createElement)(st,{allowReset:e.allowReset,value:b,default:e.default,onChange:y}))};Yt.defaultProps={controls:[],multiline:!1,fullwidth:!0,isSmall:!1,isToggleOnly:!1,allowReset:!0,default:"",attribute:"",responsive:!1,hover:!1,value:void 0,onChange:void 0};const Xt=Yt,Qt=e=>{let t=e.placeholder;const a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:21;return""===e?1:Math.round(parseFloat(e)/parseFloat(t)*10)/10};return"string"==typeof t&&(t=[t,a(t)]),(0,i.createElement)(ut,n({},e,{placeholder:t,onChangeUnit:t=>{""!==e.value&&("em"===t||"rem"===t?e.onChange(a(e.value)):"px"===t&&e.onChange(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:21;return""===e?21:Math.round(parseFloat(e)*t)}(e.value))),e.onChangeUnit(t)}}))};Qt.defaultProps={label:(0,h.__)("Font Size",o.i18n),value:"",onChange:()=>{},unit:"px",onChangeUnit:()=>{},min:[0,0],max:[150,7],step:[1,.05],units:["px","em"],placeholder:""};const Zt=Qt,ea=JSON.parse('[{"family":"ABeeZee","variants":["regular","italic"],"subsets":["latin"]},{"family":"Abel","variants":["regular"],"subsets":["latin"]},{"family":"Abhaya Libre","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","sinhala"]},{"family":"Abril Fatface","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Aclonica","variants":["regular"],"subsets":["latin"]},{"family":"Acme","variants":["regular"],"subsets":["latin"]},{"family":"Actor","variants":["regular"],"subsets":["latin"]},{"family":"Adamina","variants":["regular"],"subsets":["latin"]},{"family":"Advent Pro","variants":["100","200","300","regular","500","600","700"],"subsets":["greek","latin","latin-ext"]},{"family":"Aguafina Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Akaya Kanadaka","variants":["regular"],"subsets":["kannada","latin","latin-ext"]},{"family":"Akaya Telivigala","variants":["regular"],"subsets":["latin","latin-ext","telugu"]},{"family":"Akronim","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Aladin","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Alata","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Alatsi","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Aldrich","variants":["regular"],"subsets":["latin"]},{"family":"Alef","variants":["regular","700"],"subsets":["hebrew","latin"]},{"family":"Alegreya","variants":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Alegreya SC","variants":["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Alegreya Sans","variants":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Alegreya Sans SC","variants":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Aleo","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Alex Brush","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Alfa Slab One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Alice","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Alike","variants":["regular"],"subsets":["latin"]},{"family":"Alike Angular","variants":["regular"],"subsets":["latin"]},{"family":"Allan","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Allerta","variants":["regular"],"subsets":["latin"]},{"family":"Allerta Stencil","variants":["regular"],"subsets":["latin"]},{"family":"Allison","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Allura","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Almarai","variants":["300","regular","700","800"],"subsets":["arabic"]},{"family":"Almendra","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Almendra Display","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Almendra SC","variants":["regular"],"subsets":["latin"]},{"family":"Alumni Sans","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Amarante","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Amaranth","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Amatic SC","variants":["regular","700"],"subsets":["cyrillic","hebrew","latin","latin-ext","vietnamese"]},{"family":"Amethysta","variants":["regular"],"subsets":["latin"]},{"family":"Amiko","variants":["regular","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Amiri","variants":["regular","italic","700","700italic"],"subsets":["arabic","latin","latin-ext"]},{"family":"Amita","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Anaheim","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Andada Pro","variants":["regular","500","600","700","800","italic","500italic","600italic","700italic","800italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Andika","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Andika New Basic","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Angkor","variants":["regular"],"subsets":["khmer","latin"]},{"family":"Annie Use Your Telescope","variants":["regular"],"subsets":["latin"]},{"family":"Anonymous Pro","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","greek","latin","latin-ext"]},{"family":"Antic","variants":["regular"],"subsets":["latin"]},{"family":"Antic Didone","variants":["regular"],"subsets":["latin"]},{"family":"Antic Slab","variants":["regular"],"subsets":["latin"]},{"family":"Anton","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Antonio","variants":["100","200","300","regular","500","600","700"],"subsets":["latin","latin-ext"]},{"family":"Arapey","variants":["regular","italic"],"subsets":["latin"]},{"family":"Arbutus","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Arbutus Slab","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Architects Daughter","variants":["regular"],"subsets":["latin"]},{"family":"Archivo","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Archivo Black","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Archivo Narrow","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Are You Serious","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Aref Ruqaa","variants":["regular","700"],"subsets":["arabic","latin","latin-ext"]},{"family":"Arima Madurai","variants":["100","200","300","regular","500","700","800","900"],"subsets":["latin","latin-ext","tamil","vietnamese"]},{"family":"Arimo","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","latin","latin-ext","vietnamese"]},{"family":"Arizonia","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Armata","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Arsenal","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Artifika","variants":["regular"],"subsets":["latin"]},{"family":"Arvo","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Arya","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Asap","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Asap Condensed","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Asar","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Asset","variants":["regular"],"subsets":["latin"]},{"family":"Assistant","variants":["200","300","regular","500","600","700","800"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Astloch","variants":["regular","700"],"subsets":["latin"]},{"family":"Asul","variants":["regular","700"],"subsets":["latin"]},{"family":"Athiti","variants":["200","300","regular","500","600","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Atkinson Hyperlegible","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Atma","variants":["300","regular","500","600","700"],"subsets":["bengali","latin","latin-ext"]},{"family":"Atomic Age","variants":["regular"],"subsets":["latin"]},{"family":"Aubrey","variants":["regular"],"subsets":["latin"]},{"family":"Audiowide","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Autour One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Average","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Average Sans","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Averia Gruesa Libre","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Averia Libre","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Averia Sans Libre","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Averia Serif Libre","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Azeret Mono","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext"]},{"family":"B612","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"B612 Mono","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Bad Script","variants":["regular"],"subsets":["cyrillic","latin"]},{"family":"Bahiana","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bahianita","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bai Jamjuree","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Bakbak One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ballet","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Baloo 2","variants":["regular","500","600","700","800"],"subsets":["devanagari","latin","latin-ext","vietnamese"]},{"family":"Baloo Bhai 2","variants":["regular","500","600","700","800"],"subsets":["gujarati","latin","latin-ext","vietnamese"]},{"family":"Baloo Bhaijaan 2","variants":["regular","500","600","700","800"],"subsets":["arabic","latin","latin-ext","vietnamese"]},{"family":"Baloo Bhaina 2","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","oriya","vietnamese"]},{"family":"Baloo Chettan 2","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","malayalam","vietnamese"]},{"family":"Baloo Da 2","variants":["regular","500","600","700","800"],"subsets":["bengali","latin","latin-ext","vietnamese"]},{"family":"Baloo Paaji 2","variants":["regular","500","600","700","800"],"subsets":["gurmukhi","latin","latin-ext","vietnamese"]},{"family":"Baloo Tamma 2","variants":["regular","500","600","700","800"],"subsets":["kannada","latin","latin-ext","vietnamese"]},{"family":"Baloo Tammudu 2","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","telugu","vietnamese"]},{"family":"Baloo Thambi 2","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","tamil","vietnamese"]},{"family":"Balsamiq Sans","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Balthazar","variants":["regular"],"subsets":["latin"]},{"family":"Bangers","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Barlow","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Barlow Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Barlow Semi Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Barriecito","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Barrio","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Basic","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Baskervville","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Battambang","variants":["100","300","regular","700","900"],"subsets":["khmer","latin"]},{"family":"Baumans","variants":["regular"],"subsets":["latin"]},{"family":"Bayon","variants":["regular"],"subsets":["khmer","latin"]},{"family":"Be Vietnam Pro","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bebas Neue","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Belgrano","variants":["regular"],"subsets":["latin"]},{"family":"Bellefair","variants":["regular"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Belleza","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bellota","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Bellota Text","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"BenchNine","variants":["300","regular","700"],"subsets":["latin","latin-ext"]},{"family":"Benne","variants":["regular"],"subsets":["kannada","latin","latin-ext"]},{"family":"Bentham","variants":["regular"],"subsets":["latin"]},{"family":"Berkshire Swash","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Besley","variants":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext"]},{"family":"Beth Ellen","variants":["regular"],"subsets":["latin"]},{"family":"Bevan","variants":["regular","italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Big Shoulders Display","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Big Shoulders Inline Display","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Big Shoulders Inline Text","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Big Shoulders Stencil Display","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Big Shoulders Stencil Text","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Big Shoulders Text","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bigelow Rules","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bigshot One","variants":["regular"],"subsets":["latin"]},{"family":"Bilbo","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bilbo Swash Caps","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"BioRhyme","variants":["200","300","regular","700","800"],"subsets":["latin","latin-ext"]},{"family":"BioRhyme Expanded","variants":["200","300","regular","700","800"],"subsets":["latin","latin-ext"]},{"family":"Birthstone","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Birthstone Bounce","variants":["regular","500"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Biryani","variants":["200","300","regular","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Bitter","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Black And White Picture","variants":["regular"],"subsets":["korean","latin"]},{"family":"Black Han Sans","variants":["regular"],"subsets":["korean","latin"]},{"family":"Black Ops One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Blinker","variants":["100","200","300","regular","600","700","800","900"],"subsets":["latin","latin-ext"]},{"family":"Bodoni Moda","variants":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext"]},{"family":"Bokor","variants":["regular"],"subsets":["khmer","latin"]},{"family":"Bona Nova","variants":["regular","italic","700"],"subsets":["cyrillic","cyrillic-ext","greek","hebrew","latin","latin-ext","vietnamese"]},{"family":"Bonbon","variants":["regular"],"subsets":["latin"]},{"family":"Bonheur Royale","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Boogaloo","variants":["regular"],"subsets":["latin"]},{"family":"Bowlby One","variants":["regular"],"subsets":["latin"]},{"family":"Bowlby One SC","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Brawler","variants":["regular"],"subsets":["latin"]},{"family":"Bree Serif","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Brygada 1918","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Bubblegum Sans","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bubbler One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Buda","variants":["300"],"subsets":["latin"]},{"family":"Buenard","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Bungee","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bungee Hairline","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bungee Inline","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bungee Outline","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bungee Shade","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Butcherman","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Butterfly Kids","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cabin","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Cabin Condensed","variants":["regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Cabin Sketch","variants":["regular","700"],"subsets":["latin"]},{"family":"Caesar Dressing","variants":["regular"],"subsets":["latin"]},{"family":"Cagliostro","variants":["regular"],"subsets":["latin"]},{"family":"Cairo","variants":["200","300","regular","500","600","700","800","900"],"subsets":["arabic","latin","latin-ext"]},{"family":"Caladea","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Calistoga","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Calligraffitti","variants":["regular"],"subsets":["latin"]},{"family":"Cambay","variants":["regular","italic","700","700italic"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Cambo","variants":["regular"],"subsets":["latin"]},{"family":"Candal","variants":["regular"],"subsets":["latin"]},{"family":"Cantarell","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Cantata One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cantora One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Capriola","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Caramel","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Carattere","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Cardo","variants":["regular","italic","700"],"subsets":["greek","greek-ext","latin","latin-ext"]},{"family":"Carme","variants":["regular"],"subsets":["latin"]},{"family":"Carrois Gothic","variants":["regular"],"subsets":["latin"]},{"family":"Carrois Gothic SC","variants":["regular"],"subsets":["latin"]},{"family":"Carter One","variants":["regular"],"subsets":["latin"]},{"family":"Castoro","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Catamaran","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","tamil"]},{"family":"Caudex","variants":["regular","italic","700","700italic"],"subsets":["greek","greek-ext","latin","latin-ext"]},{"family":"Caveat","variants":["regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Caveat Brush","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cedarville Cursive","variants":["regular"],"subsets":["latin"]},{"family":"Ceviche One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Chakra Petch","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Changa","variants":["200","300","regular","500","600","700","800"],"subsets":["arabic","latin","latin-ext"]},{"family":"Changa One","variants":["regular","italic"],"subsets":["latin"]},{"family":"Chango","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Charm","variants":["regular","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Charmonman","variants":["regular","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Chathura","variants":["100","300","regular","700","800"],"subsets":["latin","telugu"]},{"family":"Chau Philomene One","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Chela One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Chelsea Market","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Chenla","variants":["regular"],"subsets":["khmer"]},{"family":"Cherish","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Cherry Cream Soda","variants":["regular"],"subsets":["latin"]},{"family":"Cherry Swash","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Chewy","variants":["regular"],"subsets":["latin"]},{"family":"Chicle","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Chilanka","variants":["regular"],"subsets":["latin","malayalam"]},{"family":"Chivo","variants":["300","300italic","regular","italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Chonburi","variants":["regular"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Cinzel","variants":["regular","500","600","700","800","900"],"subsets":["latin","latin-ext"]},{"family":"Cinzel Decorative","variants":["regular","700","900"],"subsets":["latin"]},{"family":"Clicker Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Coda","variants":["regular","800"],"subsets":["latin","latin-ext"]},{"family":"Coda Caption","variants":["800"],"subsets":["latin","latin-ext"]},{"family":"Codystar","variants":["300","regular"],"subsets":["latin","latin-ext"]},{"family":"Coiny","variants":["regular"],"subsets":["latin","latin-ext","tamil","vietnamese"]},{"family":"Combo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Comfortaa","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Comforter","variants":["regular"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Comforter Brush","variants":["regular"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Comic Neue","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Coming Soon","variants":["regular"],"subsets":["latin"]},{"family":"Commissioner","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Concert One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Condiment","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Content","variants":["regular","700"],"subsets":["khmer"]},{"family":"Contrail One","variants":["regular"],"subsets":["latin"]},{"family":"Convergence","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cookie","variants":["regular"],"subsets":["latin"]},{"family":"Copse","variants":["regular"],"subsets":["latin"]},{"family":"Corben","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Corinthia","variants":["regular","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Cormorant","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cormorant Garamond","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cormorant Infant","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cormorant SC","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cormorant Unicase","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cormorant Upright","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Courgette","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Courier Prime","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Cousine","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","latin","latin-ext","vietnamese"]},{"family":"Coustard","variants":["regular","900"],"subsets":["latin"]},{"family":"Covered By Your Grace","variants":["regular"],"subsets":["latin"]},{"family":"Crafty Girls","variants":["regular"],"subsets":["latin"]},{"family":"Creepster","variants":["regular"],"subsets":["latin"]},{"family":"Crete Round","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Crimson Pro","variants":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Croissant One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Crushed","variants":["regular"],"subsets":["latin"]},{"family":"Cuprum","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cute Font","variants":["regular"],"subsets":["korean","latin"]},{"family":"Cutive","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cutive Mono","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"DM Mono","variants":["300","300italic","regular","italic","500","500italic"],"subsets":["latin","latin-ext"]},{"family":"DM Sans","variants":["regular","italic","500","500italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"DM Serif Display","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"DM Serif Text","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Damion","variants":["regular"],"subsets":["latin"]},{"family":"Dancing Script","variants":["regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Dangrek","variants":["regular"],"subsets":["khmer","latin"]},{"family":"Darker Grotesque","variants":["300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"David Libre","variants":["regular","500","700"],"subsets":["hebrew","latin","latin-ext","vietnamese"]},{"family":"Dawning of a New Day","variants":["regular"],"subsets":["latin"]},{"family":"Days One","variants":["regular"],"subsets":["latin"]},{"family":"Dekko","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Dela Gothic One","variants":["regular"],"subsets":["cyrillic","greek","japanese","latin","latin-ext","vietnamese"]},{"family":"Delius","variants":["regular"],"subsets":["latin"]},{"family":"Delius Swash Caps","variants":["regular"],"subsets":["latin"]},{"family":"Delius Unicase","variants":["regular","700"],"subsets":["latin"]},{"family":"Della Respira","variants":["regular"],"subsets":["latin"]},{"family":"Denk One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Devonshire","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Dhurjati","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Didact Gothic","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Diplomata","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Diplomata SC","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Do Hyeon","variants":["regular"],"subsets":["korean","latin"]},{"family":"Dokdo","variants":["regular"],"subsets":["korean","latin"]},{"family":"Domine","variants":["regular","500","600","700"],"subsets":["latin","latin-ext"]},{"family":"Donegal One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Dongle","variants":["300","regular","700"],"subsets":["korean","latin","latin-ext","vietnamese"]},{"family":"Doppio One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Dorsa","variants":["regular"],"subsets":["latin"]},{"family":"Dosis","variants":["200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"DotGothic16","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Dr Sugiyama","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Duru Sans","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Dynalight","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"EB Garamond","variants":["regular","500","600","700","800","italic","500italic","600italic","700italic","800italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Eagle Lake","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"East Sea Dokdo","variants":["regular"],"subsets":["korean","latin"]},{"family":"Eater","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Economica","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Eczar","variants":["regular","500","600","700","800"],"subsets":["devanagari","latin","latin-ext"]},{"family":"El Messiri","variants":["regular","500","600","700"],"subsets":["arabic","cyrillic","latin","latin-ext"]},{"family":"Electrolize","variants":["regular"],"subsets":["latin"]},{"family":"Elsie","variants":["regular","900"],"subsets":["latin","latin-ext"]},{"family":"Elsie Swash Caps","variants":["regular","900"],"subsets":["latin","latin-ext"]},{"family":"Emblema One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Emilys Candy","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Encode Sans","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Encode Sans Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Encode Sans Expanded","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Encode Sans SC","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Encode Sans Semi Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Encode Sans Semi Expanded","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Engagement","variants":["regular"],"subsets":["latin"]},{"family":"Englebert","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Enriqueta","variants":["regular","500","600","700"],"subsets":["latin","latin-ext"]},{"family":"Ephesis","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Epilogue","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Erica One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Esteban","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Estonia","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Euphoria Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ewert","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Exo","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Exo 2","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Expletus Sans","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext"]},{"family":"Explora","variants":["regular"],"subsets":["cherokee","latin","latin-ext","vietnamese"]},{"family":"Fahkwang","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Fanwood Text","variants":["regular","italic"],"subsets":["latin"]},{"family":"Farro","variants":["300","regular","500","700"],"subsets":["latin","latin-ext"]},{"family":"Farsan","variants":["regular"],"subsets":["gujarati","latin","latin-ext","vietnamese"]},{"family":"Fascinate","variants":["regular"],"subsets":["latin"]},{"family":"Fascinate Inline","variants":["regular"],"subsets":["latin"]},{"family":"Faster One","variants":["regular"],"subsets":["latin"]},{"family":"Fasthand","variants":["regular"],"subsets":["khmer","latin"]},{"family":"Fauna One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Faustina","variants":["300","regular","500","600","700","800","300italic","italic","500italic","600italic","700italic","800italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Federant","variants":["regular"],"subsets":["latin"]},{"family":"Federo","variants":["regular"],"subsets":["latin"]},{"family":"Felipa","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fenix","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Festive","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Finger Paint","variants":["regular"],"subsets":["latin"]},{"family":"Fira Code","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Fira Mono","variants":["regular","500","700"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Fira Sans","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Fira Sans Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Fira Sans Extra Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Fjalla One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fjord One","variants":["regular"],"subsets":["latin"]},{"family":"Flamenco","variants":["300","regular"],"subsets":["latin"]},{"family":"Flavors","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fleur De Leah","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Flow Block","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Flow Circular","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Flow Rounded","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Fondamento","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Fontdiner Swanky","variants":["regular"],"subsets":["latin"]},{"family":"Forum","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Francois One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Frank Ruhl Libre","variants":["300","regular","500","700","900"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Fraunces","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Freckle Face","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fredericka the Great","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fredoka One","variants":["regular"],"subsets":["latin"]},{"family":"Freehand","variants":["regular"],"subsets":["khmer","latin"]},{"family":"Fresca","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Frijole","variants":["regular"],"subsets":["latin"]},{"family":"Fruktur","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fugaz One","variants":["regular"],"subsets":["latin"]},{"family":"Fuggles","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Fuzzy Bubbles","variants":["regular","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"GFS Didot","variants":["regular"],"subsets":["greek"]},{"family":"GFS Neohellenic","variants":["regular","italic","700","700italic"],"subsets":["greek"]},{"family":"Gabriela","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin"]},{"family":"Gaegu","variants":["300","regular","700"],"subsets":["korean","latin"]},{"family":"Gafata","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Galada","variants":["regular"],"subsets":["bengali","latin"]},{"family":"Galdeano","variants":["regular"],"subsets":["latin"]},{"family":"Galindo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Gamja Flower","variants":["regular"],"subsets":["korean","latin"]},{"family":"Gayathri","variants":["100","regular","700"],"subsets":["latin","malayalam"]},{"family":"Gelasio","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Gemunu Libre","variants":["200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext","sinhala"]},{"family":"Genos","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cherokee","latin","latin-ext","vietnamese"]},{"family":"Gentium Basic","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Gentium Book Basic","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Geo","variants":["regular","italic"],"subsets":["latin"]},{"family":"Georama","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Geostar","variants":["regular"],"subsets":["latin"]},{"family":"Geostar Fill","variants":["regular"],"subsets":["latin"]},{"family":"Germania One","variants":["regular"],"subsets":["latin"]},{"family":"Gideon Roman","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Gidugu","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Gilda Display","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Girassol","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Give You Glory","variants":["regular"],"subsets":["latin"]},{"family":"Glass Antiqua","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Glegoo","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Gloria Hallelujah","variants":["regular"],"subsets":["latin"]},{"family":"Glory","variants":["100","200","300","regular","500","600","700","800","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Gluten","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Goblin One","variants":["regular"],"subsets":["latin"]},{"family":"Gochi Hand","variants":["regular"],"subsets":["latin"]},{"family":"Goldman","variants":["regular","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Gorditas","variants":["regular","700"],"subsets":["latin"]},{"family":"Gothic A1","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["korean","latin"]},{"family":"Gotu","variants":["regular"],"subsets":["devanagari","latin","latin-ext","vietnamese"]},{"family":"Goudy Bookletter 1911","variants":["regular"],"subsets":["latin"]},{"family":"Gowun Batang","variants":["regular","700"],"subsets":["korean","latin","latin-ext","vietnamese"]},{"family":"Gowun Dodum","variants":["regular"],"subsets":["korean","latin","latin-ext","vietnamese"]},{"family":"Graduate","variants":["regular"],"subsets":["latin"]},{"family":"Grand Hotel","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Grandstander","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Gravitas One","variants":["regular"],"subsets":["latin"]},{"family":"Great Vibes","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Grechen Fuemen","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Grenze","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Grenze Gotisch","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Grey Qo","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Griffy","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Gruppo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Gudea","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Gugi","variants":["regular"],"subsets":["korean","latin"]},{"family":"Gupter","variants":["regular","500","700"],"subsets":["latin"]},{"family":"Gurajada","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Gwendolyn","variants":["regular","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Habibi","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Hachi Maru Pop","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Hahmlet","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["korean","latin","latin-ext","vietnamese"]},{"family":"Halant","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Hammersmith One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Hanalei","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Hanalei Fill","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Handlee","variants":["regular"],"subsets":["latin"]},{"family":"Hanuman","variants":["100","300","regular","700","900"],"subsets":["khmer","latin"]},{"family":"Happy Monkey","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Harmattan","variants":["regular","700"],"subsets":["arabic","latin","latin-ext"]},{"family":"Headland One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Heebo","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["hebrew","latin"]},{"family":"Henny Penny","variants":["regular"],"subsets":["latin"]},{"family":"Hepta Slab","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Herr Von Muellerhoff","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Hi Melody","variants":["regular"],"subsets":["korean","latin"]},{"family":"Hina Mincho","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext","vietnamese"]},{"family":"Hind","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Hind Guntur","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","telugu"]},{"family":"Hind Madurai","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","tamil"]},{"family":"Hind Siliguri","variants":["300","regular","500","600","700"],"subsets":["bengali","latin","latin-ext"]},{"family":"Hind Vadodara","variants":["300","regular","500","600","700"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Holtwood One SC","variants":["regular"],"subsets":["latin"]},{"family":"Homemade Apple","variants":["regular"],"subsets":["latin"]},{"family":"Homenaje","variants":["regular"],"subsets":["latin"]},{"family":"Hurricane","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"IBM Plex Mono","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"IBM Plex Sans","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"IBM Plex Sans Arabic","variants":["100","200","300","regular","500","600","700"],"subsets":["arabic","cyrillic-ext","latin","latin-ext"]},{"family":"IBM Plex Sans Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"IBM Plex Sans Devanagari","variants":["100","200","300","regular","500","600","700"],"subsets":["cyrillic-ext","devanagari","latin","latin-ext"]},{"family":"IBM Plex Sans Hebrew","variants":["100","200","300","regular","500","600","700"],"subsets":["cyrillic-ext","hebrew","latin","latin-ext"]},{"family":"IBM Plex Sans KR","variants":["100","200","300","regular","500","600","700"],"subsets":["korean","latin","latin-ext"]},{"family":"IBM Plex Sans Thai","variants":["100","200","300","regular","500","600","700"],"subsets":["cyrillic-ext","latin","latin-ext","thai"]},{"family":"IBM Plex Sans Thai Looped","variants":["100","200","300","regular","500","600","700"],"subsets":["cyrillic-ext","latin","latin-ext","thai"]},{"family":"IBM Plex Serif","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"IM Fell DW Pica","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell DW Pica SC","variants":["regular"],"subsets":["latin"]},{"family":"IM Fell Double Pica","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell Double Pica SC","variants":["regular"],"subsets":["latin"]},{"family":"IM Fell English","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell English SC","variants":["regular"],"subsets":["latin"]},{"family":"IM Fell French Canon","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell French Canon SC","variants":["regular"],"subsets":["latin"]},{"family":"IM Fell Great Primer","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell Great Primer SC","variants":["regular"],"subsets":["latin"]},{"family":"Ibarra Real Nova","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext"]},{"family":"Iceberg","variants":["regular"],"subsets":["latin"]},{"family":"Iceland","variants":["regular"],"subsets":["latin"]},{"family":"Imbue","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Imperial Script","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Imprima","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Inconsolata","variants":["200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Inder","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Indie Flower","variants":["regular"],"subsets":["latin"]},{"family":"Inika","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Inknut Antiqua","variants":["300","regular","500","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Inria Sans","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Inria Serif","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Inspiration","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Inter","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Irish Grover","variants":["regular"],"subsets":["latin"]},{"family":"Island Moments","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Istok Web","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Italiana","variants":["regular"],"subsets":["latin"]},{"family":"Italianno","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Itim","variants":["regular"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Jacques Francois","variants":["regular"],"subsets":["latin"]},{"family":"Jacques Francois Shadow","variants":["regular"],"subsets":["latin"]},{"family":"Jaldi","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"JetBrains Mono","variants":["100","200","300","regular","500","600","700","800","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Jim Nightshade","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Jockey One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Jolly Lodger","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Jomhuria","variants":["regular"],"subsets":["arabic","latin","latin-ext"]},{"family":"Jomolhari","variants":["regular"],"subsets":["latin","tibetan"]},{"family":"Josefin Sans","variants":["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Josefin Slab","variants":["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],"subsets":["latin"]},{"family":"Jost","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Joti One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Jua","variants":["regular"],"subsets":["korean","latin"]},{"family":"Judson","variants":["regular","italic","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Julee","variants":["regular"],"subsets":["latin"]},{"family":"Julius Sans One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Junge","variants":["regular"],"subsets":["latin"]},{"family":"Jura","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","kayah-li","latin","latin-ext","vietnamese"]},{"family":"Just Another Hand","variants":["regular"],"subsets":["latin"]},{"family":"Just Me Again Down Here","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"K2D","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kadwa","variants":["regular","700"],"subsets":["devanagari","latin"]},{"family":"Kaisei Decol","variants":["regular","500","700"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Kaisei HarunoUmi","variants":["regular","500","700"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Kaisei Opti","variants":["regular","500","700"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Kaisei Tokumin","variants":["regular","500","700","800"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Kalam","variants":["300","regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Kameron","variants":["regular","700"],"subsets":["latin"]},{"family":"Kanit","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kantumruy","variants":["300","regular","700"],"subsets":["khmer"]},{"family":"Karantina","variants":["300","regular","700"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Karla","variants":["200","300","regular","500","600","700","800","200italic","300italic","italic","500italic","600italic","700italic","800italic"],"subsets":["latin","latin-ext"]},{"family":"Karma","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Katibeh","variants":["regular"],"subsets":["arabic","latin","latin-ext"]},{"family":"Kaushan Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Kavivanar","variants":["regular"],"subsets":["latin","latin-ext","tamil"]},{"family":"Kavoon","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Kdam Thmor","variants":["regular"],"subsets":["khmer"]},{"family":"Keania One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Kelly Slab","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Kenia","variants":["regular"],"subsets":["latin"]},{"family":"Khand","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Khmer","variants":["regular"],"subsets":["khmer"]},{"family":"Khula","variants":["300","regular","600","700","800"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Kings","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Kirang Haerang","variants":["regular"],"subsets":["korean","latin"]},{"family":"Kite One","variants":["regular"],"subsets":["latin"]},{"family":"Kiwi Maru","variants":["300","regular","500"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Klee One","variants":["regular","600"],"subsets":["cyrillic","greek-ext","japanese","latin","latin-ext"]},{"family":"Knewave","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"KoHo","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kodchasan","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Koh Santepheap","variants":["100","300","regular","700","900"],"subsets":["khmer","latin"]},{"family":"Kolker Brush","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Kosugi","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Kosugi Maru","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Kotta One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Koulen","variants":["regular"],"subsets":["khmer","latin"]},{"family":"Kranky","variants":["regular"],"subsets":["latin"]},{"family":"Kreon","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext"]},{"family":"Kristi","variants":["regular"],"subsets":["latin"]},{"family":"Krona One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Krub","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kufam","variants":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["arabic","latin","latin-ext","vietnamese"]},{"family":"Kulim Park","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Kumar One","variants":["regular"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Kumar One Outline","variants":["regular"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Kumbh Sans","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext"]},{"family":"Kurale","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","devanagari","latin","latin-ext"]},{"family":"La Belle Aurore","variants":["regular"],"subsets":["latin"]},{"family":"Lacquer","variants":["regular"],"subsets":["latin"]},{"family":"Laila","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Lakki Reddy","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Lalezar","variants":["regular"],"subsets":["arabic","latin","latin-ext","vietnamese"]},{"family":"Lancelot","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Langar","variants":["regular"],"subsets":["gurmukhi","latin","latin-ext"]},{"family":"Lateef","variants":["regular"],"subsets":["arabic","latin"]},{"family":"Lato","variants":["100","100italic","300","300italic","regular","italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"League Script","variants":["regular"],"subsets":["latin"]},{"family":"Leckerli One","variants":["regular"],"subsets":["latin"]},{"family":"Ledger","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Lekton","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Lemon","variants":["regular"],"subsets":["latin"]},{"family":"Lemonada","variants":["300","regular","500","600","700"],"subsets":["arabic","latin","latin-ext","vietnamese"]},{"family":"Lexend","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Deca","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Exa","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Giga","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Mega","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Peta","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Tera","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Zetta","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Libre Barcode 128","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 128 Text","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 39","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 39 Extended","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 39 Extended Text","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 39 Text","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode EAN13 Text","variants":["regular"],"subsets":["latin"]},{"family":"Libre Baskerville","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Libre Caslon Display","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Libre Caslon Text","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Libre Franklin","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Licorice","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Life Savers","variants":["regular","700","800"],"subsets":["latin","latin-ext"]},{"family":"Lilita One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Lily Script One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Limelight","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Linden Hill","variants":["regular","italic"],"subsets":["latin"]},{"family":"Literata","variants":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Liu Jian Mao Cao","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Livvic","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lobster","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Lobster Two","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Londrina Outline","variants":["regular"],"subsets":["latin"]},{"family":"Londrina Shadow","variants":["regular"],"subsets":["latin"]},{"family":"Londrina Sketch","variants":["regular"],"subsets":["latin"]},{"family":"Londrina Solid","variants":["100","300","regular","900"],"subsets":["latin"]},{"family":"Long Cang","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Lora","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Love Light","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Love Ya Like A Sister","variants":["regular"],"subsets":["latin"]},{"family":"Loved by the King","variants":["regular"],"subsets":["latin"]},{"family":"Lovers Quarrel","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Luckiest Guy","variants":["regular"],"subsets":["latin"]},{"family":"Lusitana","variants":["regular","700"],"subsets":["latin"]},{"family":"Lustria","variants":["regular"],"subsets":["latin"]},{"family":"Luxurious Roman","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Luxurious Script","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"M PLUS 1","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["japanese","latin","latin-ext","vietnamese"]},{"family":"M PLUS 1 Code","variants":["100","200","300","regular","500","600","700"],"subsets":["japanese","latin","latin-ext","vietnamese"]},{"family":"M PLUS 1p","variants":["100","300","regular","500","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","japanese","latin","latin-ext","vietnamese"]},{"family":"M PLUS 2","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["japanese","latin","latin-ext","vietnamese"]},{"family":"M PLUS Code Latin","variants":["100","200","300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"M PLUS Rounded 1c","variants":["100","300","regular","500","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","japanese","latin","latin-ext","vietnamese"]},{"family":"Ma Shan Zheng","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Macondo","variants":["regular"],"subsets":["latin"]},{"family":"Macondo Swash Caps","variants":["regular"],"subsets":["latin"]},{"family":"Mada","variants":["200","300","regular","500","600","700","900"],"subsets":["arabic","latin"]},{"family":"Magra","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Maiden Orange","variants":["regular"],"subsets":["latin"]},{"family":"Maitree","variants":["200","300","regular","500","600","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Major Mono Display","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Mako","variants":["regular"],"subsets":["latin"]},{"family":"Mali","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Mallanna","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Mandali","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Manjari","variants":["100","regular","700"],"subsets":["latin","latin-ext","malayalam"]},{"family":"Manrope","variants":["200","300","regular","500","600","700","800"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Mansalva","variants":["regular"],"subsets":["latin"]},{"family":"Manuale","variants":["300","regular","500","600","700","800","300italic","italic","500italic","600italic","700italic","800italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Marcellus","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Marcellus SC","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Marck Script","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Margarine","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Markazi Text","variants":["regular","500","600","700"],"subsets":["arabic","latin","latin-ext","vietnamese"]},{"family":"Marko One","variants":["regular"],"subsets":["latin"]},{"family":"Marmelad","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Martel","variants":["200","300","regular","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Martel Sans","variants":["200","300","regular","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Marvel","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Mate","variants":["regular","italic"],"subsets":["latin"]},{"family":"Mate SC","variants":["regular"],"subsets":["latin"]},{"family":"Maven Pro","variants":["regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"McLaren","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mea Culpa","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Meddon","variants":["regular"],"subsets":["latin"]},{"family":"MedievalSharp","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Medula One","variants":["regular"],"subsets":["latin"]},{"family":"Meera Inimai","variants":["regular"],"subsets":["latin","tamil"]},{"family":"Megrim","variants":["regular"],"subsets":["latin"]},{"family":"Meie Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Meow Script","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Merienda","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Merienda One","variants":["regular"],"subsets":["latin"]},{"family":"Merriweather","variants":["300","300italic","regular","italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Merriweather Sans","variants":["300","regular","500","600","700","800","300italic","italic","500italic","600italic","700italic","800italic"],"subsets":["cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Metal","variants":["regular"],"subsets":["khmer","latin"]},{"family":"Metal Mania","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Metamorphous","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Metrophobic","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Michroma","variants":["regular"],"subsets":["latin"]},{"family":"Milonga","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Miltonian","variants":["regular"],"subsets":["latin"]},{"family":"Miltonian Tattoo","variants":["regular"],"subsets":["latin"]},{"family":"Mina","variants":["regular","700"],"subsets":["bengali","latin","latin-ext"]},{"family":"Miniver","variants":["regular"],"subsets":["latin"]},{"family":"Miriam Libre","variants":["regular","700"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Mirza","variants":["regular","500","600","700"],"subsets":["arabic","latin","latin-ext"]},{"family":"Miss Fajardose","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mitr","variants":["200","300","regular","500","600","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Mochiy Pop One","variants":["regular"],"subsets":["japanese","latin"]},{"family":"Mochiy Pop P One","variants":["regular"],"subsets":["japanese","latin"]},{"family":"Modak","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Modern Antiqua","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mogra","variants":["regular"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Mohave","variants":["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext"]},{"family":"Molengo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Molle","variants":["italic"],"subsets":["latin","latin-ext"]},{"family":"Monda","variants":["regular","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Monofett","variants":["regular"],"subsets":["latin"]},{"family":"Monoton","variants":["regular"],"subsets":["latin"]},{"family":"Monsieur La Doulaise","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Montaga","variants":["regular"],"subsets":["latin"]},{"family":"Montagu Slab","variants":["100","200","300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"MonteCarlo","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Montez","variants":["regular"],"subsets":["latin"]},{"family":"Montserrat","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Montserrat Alternates","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Montserrat Subrayada","variants":["regular","700"],"subsets":["latin"]},{"family":"Moo Lah Lah","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Moon Dance","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Moul","variants":["regular"],"subsets":["khmer","latin"]},{"family":"Moulpali","variants":["regular"],"subsets":["khmer","latin"]},{"family":"Mountains of Christmas","variants":["regular","700"],"subsets":["latin"]},{"family":"Mouse Memoirs","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mr Bedfort","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mr Dafoe","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mr De Haviland","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mrs Saint Delafield","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mrs Sheppards","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mukta","variants":["200","300","regular","500","600","700","800"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Mukta Mahee","variants":["200","300","regular","500","600","700","800"],"subsets":["gurmukhi","latin","latin-ext"]},{"family":"Mukta Malar","variants":["200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext","tamil"]},{"family":"Mukta Vaani","variants":["200","300","regular","500","600","700","800"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Mulish","variants":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Murecho","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","japanese","latin","latin-ext"]},{"family":"MuseoModerno","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Mystery Quest","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"NTR","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Nanum Brush Script","variants":["regular"],"subsets":["korean","latin"]},{"family":"Nanum Gothic","variants":["regular","700","800"],"subsets":["korean","latin"]},{"family":"Nanum Gothic Coding","variants":["regular","700"],"subsets":["korean","latin"]},{"family":"Nanum Myeongjo","variants":["regular","700","800"],"subsets":["korean","latin"]},{"family":"Nanum Pen Script","variants":["regular"],"subsets":["korean","latin"]},{"family":"Nerko One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Neucha","variants":["regular"],"subsets":["cyrillic","latin"]},{"family":"Neuton","variants":["200","300","regular","italic","700","800"],"subsets":["latin","latin-ext"]},{"family":"New Rocker","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"New Tegomin","variants":["regular"],"subsets":["japanese","latin","latin-ext"]},{"family":"News Cycle","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Newsreader","variants":["200","300","regular","500","600","700","800","200italic","300italic","italic","500italic","600italic","700italic","800italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Niconne","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Niramit","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Nixie One","variants":["regular"],"subsets":["latin"]},{"family":"Nobile","variants":["regular","italic","500","500italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Nokora","variants":["100","300","regular","700","900"],"subsets":["khmer","latin"]},{"family":"Norican","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Nosifer","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Notable","variants":["regular"],"subsets":["latin"]},{"family":"Nothing You Could Do","variants":["regular"],"subsets":["latin"]},{"family":"Noticia Text","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Noto Kufi Arabic","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["arabic"]},{"family":"Noto Music","variants":["regular"],"subsets":["music"]},{"family":"Noto Naskh Arabic","variants":["regular","500","600","700"],"subsets":["arabic"]},{"family":"Noto Nastaliq Urdu","variants":["regular","700"],"subsets":["arabic"]},{"family":"Noto Rashi Hebrew","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["hebrew"]},{"family":"Noto Sans","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","devanagari","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Noto Sans Adlam","variants":["regular","500","600","700"],"subsets":["adlam"]},{"family":"Noto Sans Adlam Unjoined","variants":["regular","500","600","700"],"subsets":["adlam"]},{"family":"Noto Sans Anatolian Hieroglyphs","variants":["regular"],"subsets":["anatolian-hieroglyphs"]},{"family":"Noto Sans Arabic","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["arabic"]},{"family":"Noto Sans Armenian","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["armenian"]},{"family":"Noto Sans Avestan","variants":["regular"],"subsets":["avestan"]},{"family":"Noto Sans Balinese","variants":["regular","500","600","700"],"subsets":["balinese"]},{"family":"Noto Sans Bamum","variants":["regular","500","600","700"],"subsets":["bamum"]},{"family":"Noto Sans Bassa Vah","variants":["regular"],"subsets":["bassa-vah"]},{"family":"Noto Sans Batak","variants":["regular"],"subsets":["batak"]},{"family":"Noto Sans Bengali","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["bengali"]},{"family":"Noto Sans Bhaiksuki","variants":["regular"],"subsets":["bhaiksuki"]},{"family":"Noto Sans Brahmi","variants":["regular"],"subsets":["brahmi"]},{"family":"Noto Sans Buginese","variants":["regular"],"subsets":["buginese"]},{"family":"Noto Sans Buhid","variants":["regular"],"subsets":["buhid"]},{"family":"Noto Sans Canadian Aboriginal","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["canadian-aboriginal"]},{"family":"Noto Sans Carian","variants":["regular"],"subsets":["carian"]},{"family":"Noto Sans Caucasian Albanian","variants":["regular"],"subsets":["caucasian-albanian"]},{"family":"Noto Sans Chakma","variants":["regular"],"subsets":["chakma"]},{"family":"Noto Sans Cham","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["cham"]},{"family":"Noto Sans Cherokee","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["cherokee"]},{"family":"Noto Sans Coptic","variants":["regular"],"subsets":["coptic"]},{"family":"Noto Sans Cuneiform","variants":["regular"],"subsets":["cuneiform"]},{"family":"Noto Sans Cypriot","variants":["regular"],"subsets":["cypriot"]},{"family":"Noto Sans Deseret","variants":["regular"],"subsets":["deseret"]},{"family":"Noto Sans Devanagari","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["devanagari"]},{"family":"Noto Sans Display","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Noto Sans Duployan","variants":["regular"],"subsets":["duployan"]},{"family":"Noto Sans Egyptian Hieroglyphs","variants":["regular"],"subsets":["egyptian-hieroglyphs"]},{"family":"Noto Sans Elbasan","variants":["regular"],"subsets":["elbasan"]},{"family":"Noto Sans Elymaic","variants":["regular"],"subsets":["elymaic"]},{"family":"Noto Sans Georgian","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["georgian"]},{"family":"Noto Sans Glagolitic","variants":["regular"],"subsets":["glagolitic"]},{"family":"Noto Sans Gothic","variants":["regular"],"subsets":["gothic"]},{"family":"Noto Sans Grantha","variants":["regular"],"subsets":["grantha"]},{"family":"Noto Sans Gujarati","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["gujarati"]},{"family":"Noto Sans Gunjala Gondi","variants":["regular"],"subsets":["gunjala-gondi"]},{"family":"Noto Sans Gurmukhi","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["gurmukhi"]},{"family":"Noto Sans HK","variants":["100","300","regular","500","700","900"],"subsets":["chinese-hongkong","latin"]},{"family":"Noto Sans Hanifi Rohingya","variants":["regular","500","600","700"],"subsets":["hanifi-rohingya"]},{"family":"Noto Sans Hanunoo","variants":["regular"],"subsets":["hanunoo"]},{"family":"Noto Sans Hatran","variants":["regular"],"subsets":["hatran"]},{"family":"Noto Sans Hebrew","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["hebrew"]},{"family":"Noto Sans Imperial Aramaic","variants":["regular"],"subsets":["imperial-aramaic"]},{"family":"Noto Sans Indic Siyaq Numbers","variants":["regular"],"subsets":["indic-siyaq-numbers"]},{"family":"Noto Sans Inscriptional Pahlavi","variants":["regular"],"subsets":["inscriptional-pahlavi"]},{"family":"Noto Sans Inscriptional Parthian","variants":["regular"],"subsets":["inscriptional-parthian"]},{"family":"Noto Sans JP","variants":["100","300","regular","500","700","900"],"subsets":["japanese","latin"]},{"family":"Noto Sans Javanese","variants":["regular","700"],"subsets":["javanese"]},{"family":"Noto Sans KR","variants":["100","300","regular","500","700","900"],"subsets":["korean","latin"]},{"family":"Noto Sans Kaithi","variants":["regular"],"subsets":["kaithi"]},{"family":"Noto Sans Kannada","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["kannada"]},{"family":"Noto Sans Kayah Li","variants":["regular","500","600","700"],"subsets":["kayah-li"]},{"family":"Noto Sans Kharoshthi","variants":["regular"],"subsets":["kharoshthi"]},{"family":"Noto Sans Khmer","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["khmer"]},{"family":"Noto Sans Khojki","variants":["regular"],"subsets":["khojki"]},{"family":"Noto Sans Khudawadi","variants":["regular"],"subsets":["khudawadi"]},{"family":"Noto Sans Lao","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["lao"]},{"family":"Noto Sans Lepcha","variants":["regular"],"subsets":["lepcha"]},{"family":"Noto Sans Limbu","variants":["regular"],"subsets":["limbu"]},{"family":"Noto Sans Linear A","variants":["regular"],"subsets":["linear-a"]},{"family":"Noto Sans Linear B","variants":["regular"],"subsets":["linear-b"]},{"family":"Noto Sans Lisu","variants":["regular","500","600","700"],"subsets":["lisu"]},{"family":"Noto Sans Lycian","variants":["regular"],"subsets":["lycian"]},{"family":"Noto Sans Lydian","variants":["regular"],"subsets":["lydian"]},{"family":"Noto Sans Mahajani","variants":["regular"],"subsets":["mahajani"]},{"family":"Noto Sans Malayalam","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["malayalam"]},{"family":"Noto Sans Mandaic","variants":["regular"],"subsets":["mandaic"]},{"family":"Noto Sans Manichaean","variants":["regular"],"subsets":["manichaean"]},{"family":"Noto Sans Marchen","variants":["regular"],"subsets":["marchen"]},{"family":"Noto Sans Masaram Gondi","variants":["regular"],"subsets":["masaram-gondi"]},{"family":"Noto Sans Math","variants":["regular"],"subsets":["math"]},{"family":"Noto Sans Mayan Numerals","variants":["regular"],"subsets":["mayan-numerals"]},{"family":"Noto Sans Medefaidrin","variants":["regular","500","600","700"],"subsets":["medefaidrin"]},{"family":"Noto Sans Meetei Mayek","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["meetei-mayek"]},{"family":"Noto Sans Meroitic","variants":["regular"],"subsets":["meroitic"]},{"family":"Noto Sans Miao","variants":["regular"],"subsets":["miao"]},{"family":"Noto Sans Modi","variants":["regular"],"subsets":["modi"]},{"family":"Noto Sans Mongolian","variants":["regular"],"subsets":["mongolian"]},{"family":"Noto Sans Mono","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Noto Sans Mro","variants":["regular"],"subsets":["mro"]},{"family":"Noto Sans Multani","variants":["regular"],"subsets":["multani"]},{"family":"Noto Sans Myanmar","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["myanmar"]},{"family":"Noto Sans N Ko","variants":["regular"],"subsets":["nko"]},{"family":"Noto Sans Nabataean","variants":["regular"],"subsets":["nabataean"]},{"family":"Noto Sans New Tai Lue","variants":["regular"],"subsets":["new-tai-lue"]},{"family":"Noto Sans Newa","variants":["regular"],"subsets":["newa"]},{"family":"Noto Sans Nushu","variants":["regular"],"subsets":["nushu"]},{"family":"Noto Sans Ogham","variants":["regular"],"subsets":["ogham"]},{"family":"Noto Sans Ol Chiki","variants":["regular","500","600","700"],"subsets":["ol-chiki"]},{"family":"Noto Sans Old Hungarian","variants":["regular"],"subsets":["old-hungarian"]},{"family":"Noto Sans Old Italic","variants":["regular"],"subsets":["old-italic"]},{"family":"Noto Sans Old North Arabian","variants":["regular"],"subsets":["old-north-arabian"]},{"family":"Noto Sans Old Permic","variants":["regular"],"subsets":["old-permic"]},{"family":"Noto Sans Old Persian","variants":["regular"],"subsets":["old-persian"]},{"family":"Noto Sans Old Sogdian","variants":["regular"],"subsets":["old-sogdian"]},{"family":"Noto Sans Old South Arabian","variants":["regular"],"subsets":["old-south-arabian"]},{"family":"Noto Sans Old Turkic","variants":["regular"],"subsets":["old-turkic"]},{"family":"Noto Sans Oriya","variants":["100","regular","700","900"],"subsets":["oriya"]},{"family":"Noto Sans Osage","variants":["regular"],"subsets":["osage"]},{"family":"Noto Sans Osmanya","variants":["regular"],"subsets":["osmanya"]},{"family":"Noto Sans Pahawh Hmong","variants":["regular"],"subsets":["pahawh-hmong"]},{"family":"Noto Sans Palmyrene","variants":["regular"],"subsets":["palmyrene"]},{"family":"Noto Sans Pau Cin Hau","variants":["regular"],"subsets":["pau-cin-hau"]},{"family":"Noto Sans Phags Pa","variants":["regular"],"subsets":["phags-pa"]},{"family":"Noto Sans Phoenician","variants":["regular"],"subsets":["phoenician"]},{"family":"Noto Sans Psalter Pahlavi","variants":["regular"],"subsets":["psalter-pahlavi"]},{"family":"Noto Sans Rejang","variants":["regular"],"subsets":["rejang"]},{"family":"Noto Sans Runic","variants":["regular"],"subsets":["runic"]},{"family":"Noto Sans SC","variants":["100","300","regular","500","700","900"],"subsets":["chinese-simplified","latin"]},{"family":"Noto Sans Samaritan","variants":["regular"],"subsets":["samaritan"]},{"family":"Noto Sans Saurashtra","variants":["regular"],"subsets":["saurashtra"]},{"family":"Noto Sans Sharada","variants":["regular"],"subsets":["sharada"]},{"family":"Noto Sans Shavian","variants":["regular"],"subsets":["shavian"]},{"family":"Noto Sans Siddham","variants":["regular"],"subsets":["siddham"]},{"family":"Noto Sans Sinhala","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["sinhala"]},{"family":"Noto Sans Sogdian","variants":["regular"],"subsets":["sogdian"]},{"family":"Noto Sans Sora Sompeng","variants":["regular","500","600","700"],"subsets":["sora-sompeng"]},{"family":"Noto Sans Soyombo","variants":["regular"],"subsets":["soyombo"]},{"family":"Noto Sans Sundanese","variants":["regular","500","600","700"],"subsets":["sundanese"]},{"family":"Noto Sans Syloti Nagri","variants":["regular"],"subsets":["syloti-nagri"]},{"family":"Noto Sans Symbols","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["symbols"]},{"family":"Noto Sans Symbols 2","variants":["regular"],"subsets":["symbols"]},{"family":"Noto Sans Syriac","variants":["100","regular","900"],"subsets":["syriac"]},{"family":"Noto Sans TC","variants":["100","300","regular","500","700","900"],"subsets":["chinese-traditional","latin"]},{"family":"Noto Sans Tagalog","variants":["regular"],"subsets":["tagalog"]},{"family":"Noto Sans Tagbanwa","variants":["regular"],"subsets":["tagbanwa"]},{"family":"Noto Sans Tai Le","variants":["regular"],"subsets":["tai-le"]},{"family":"Noto Sans Tai Tham","variants":["regular","500","600","700"],"subsets":["tai-tham"]},{"family":"Noto Sans Tai Viet","variants":["regular"],"subsets":["tai-viet"]},{"family":"Noto Sans Takri","variants":["regular"],"subsets":["takri"]},{"family":"Noto Sans Tamil","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["tamil"]},{"family":"Noto Sans Tamil Supplement","variants":["regular"],"subsets":["tamil-supplement"]},{"family":"Noto Sans Telugu","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["telugu"]},{"family":"Noto Sans Thaana","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["thaana"]},{"family":"Noto Sans Thai","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["thai"]},{"family":"Noto Sans Thai Looped","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["thai"]},{"family":"Noto Sans Tifinagh","variants":["regular"],"subsets":["tifinagh"]},{"family":"Noto Sans Tirhuta","variants":["regular"],"subsets":["tirhuta"]},{"family":"Noto Sans Ugaritic","variants":["regular"],"subsets":["ugaritic"]},{"family":"Noto Sans Vai","variants":["regular"],"subsets":["vai"]},{"family":"Noto Sans Wancho","variants":["regular"],"subsets":["wancho"]},{"family":"Noto Sans Warang Citi","variants":["regular"],"subsets":["warang-citi"]},{"family":"Noto Sans Yi","variants":["regular"],"subsets":["yi"]},{"family":"Noto Sans Zanabazar Square","variants":["regular"],"subsets":["zanabazar-square"]},{"family":"Noto Serif","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Noto Serif Ahom","variants":["regular"],"subsets":["ahom"]},{"family":"Noto Serif Armenian","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["armenian"]},{"family":"Noto Serif Balinese","variants":["regular"],"subsets":["balinese"]},{"family":"Noto Serif Bengali","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["bengali"]},{"family":"Noto Serif Devanagari","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["devanagari"]},{"family":"Noto Serif Display","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Noto Serif Dogra","variants":["regular"],"subsets":["dogra"]},{"family":"Noto Serif Ethiopic","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["ethiopic"]},{"family":"Noto Serif Georgian","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["georgian"]},{"family":"Noto Serif Grantha","variants":["regular"],"subsets":["grantha"]},{"family":"Noto Serif Gujarati","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["gujarati"]},{"family":"Noto Serif Gurmukhi","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["gurmukhi"]},{"family":"Noto Serif Hebrew","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["hebrew"]},{"family":"Noto Serif JP","variants":["200","300","regular","500","600","700","900"],"subsets":["japanese","latin"]},{"family":"Noto Serif KR","variants":["200","300","regular","500","600","700","900"],"subsets":["korean","latin"]},{"family":"Noto Serif Kannada","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["kannada"]},{"family":"Noto Serif Khmer","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["khmer"]},{"family":"Noto Serif Lao","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["lao"]},{"family":"Noto Serif Malayalam","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["malayalam"]},{"family":"Noto Serif Myanmar","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["myanmar"]},{"family":"Noto Serif Nyiakeng Puachue Hmong","variants":["regular","500","600","700"],"subsets":["nyiakeng-puachue-hmong"]},{"family":"Noto Serif SC","variants":["200","300","regular","500","600","700","900"],"subsets":["chinese-simplified","latin"]},{"family":"Noto Serif Sinhala","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["sinhala"]},{"family":"Noto Serif TC","variants":["200","300","regular","500","600","700","900"],"subsets":["chinese-traditional","latin"]},{"family":"Noto Serif Tamil","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["tamil"]},{"family":"Noto Serif Tangut","variants":["regular"],"subsets":["tangut"]},{"family":"Noto Serif Telugu","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["telugu"]},{"family":"Noto Serif Thai","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["thai"]},{"family":"Noto Serif Tibetan","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["tibetan"]},{"family":"Noto Serif Yezidi","variants":["regular","500","600","700"],"subsets":["yezidi"]},{"family":"Noto Traditional Nushu","variants":["regular"],"subsets":["nushu"]},{"family":"Nova Cut","variants":["regular"],"subsets":["latin"]},{"family":"Nova Flat","variants":["regular"],"subsets":["latin"]},{"family":"Nova Mono","variants":["regular"],"subsets":["greek","latin"]},{"family":"Nova Oval","variants":["regular"],"subsets":["latin"]},{"family":"Nova Round","variants":["regular"],"subsets":["latin"]},{"family":"Nova Script","variants":["regular"],"subsets":["latin"]},{"family":"Nova Slim","variants":["regular"],"subsets":["latin"]},{"family":"Nova Square","variants":["regular"],"subsets":["latin"]},{"family":"Numans","variants":["regular"],"subsets":["latin"]},{"family":"Nunito","variants":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Nunito Sans","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Odibee Sans","variants":["regular"],"subsets":["latin"]},{"family":"Odor Mean Chey","variants":["regular"],"subsets":["khmer","latin"]},{"family":"Offside","variants":["regular"],"subsets":["latin"]},{"family":"Oi","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","tamil","vietnamese"]},{"family":"Old Standard TT","variants":["regular","italic","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Oldenburg","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ole","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Oleo Script","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Oleo Script Swash Caps","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Oooh Baby","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Open Sans","variants":["300","regular","500","600","700","800","300italic","italic","500italic","600italic","700italic","800italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","latin","latin-ext","vietnamese"]},{"family":"Open Sans Condensed","variants":["300","300italic","700"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Oranienbaum","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Orbitron","variants":["regular","500","600","700","800","900"],"subsets":["latin"]},{"family":"Oregano","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Orelega One","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Orienta","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Original Surfer","variants":["regular"],"subsets":["latin"]},{"family":"Oswald","variants":["200","300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Otomanopee One","variants":["regular"],"subsets":["japanese","latin","latin-ext"]},{"family":"Outfit","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin"]},{"family":"Over the Rainbow","variants":["regular"],"subsets":["latin"]},{"family":"Overlock","variants":["regular","italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Overlock SC","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Overpass","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Overpass Mono","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Ovo","variants":["regular"],"subsets":["latin"]},{"family":"Oxanium","variants":["200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext"]},{"family":"Oxygen","variants":["300","regular","700"],"subsets":["latin","latin-ext"]},{"family":"Oxygen Mono","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"PT Mono","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"PT Sans","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"PT Sans Caption","variants":["regular","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"PT Sans Narrow","variants":["regular","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"PT Serif","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"PT Serif Caption","variants":["regular","italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Pacifico","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Padauk","variants":["regular","700"],"subsets":["latin","myanmar"]},{"family":"Palanquin","variants":["100","200","300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Palanquin Dark","variants":["regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Palette Mosaic","variants":["regular"],"subsets":["japanese","latin"]},{"family":"Pangolin","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Paprika","variants":["regular"],"subsets":["latin"]},{"family":"Parisienne","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Passero One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Passion One","variants":["regular","700","900"],"subsets":["latin","latin-ext"]},{"family":"Passions Conflict","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Pathway Gothic One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Patrick Hand","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Patrick Hand SC","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Pattaya","variants":["regular"],"subsets":["cyrillic","latin","latin-ext","thai","vietnamese"]},{"family":"Patua One","variants":["regular"],"subsets":["latin"]},{"family":"Pavanam","variants":["regular"],"subsets":["latin","latin-ext","tamil"]},{"family":"Paytone One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Peddana","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Peralta","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Permanent Marker","variants":["regular"],"subsets":["latin"]},{"family":"Petemoss","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Petit Formal Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Petrona","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Philosopher","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","vietnamese"]},{"family":"Piazzolla","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Piedra","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Pinyon Script","variants":["regular"],"subsets":["latin"]},{"family":"Pirata One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Plaster","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Play","variants":["regular","700"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Playball","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Playfair Display","variants":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Playfair Display SC","variants":["regular","italic","700","700italic","900","900italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Podkova","variants":["regular","500","600","700","800"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Poiret One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Poller One","variants":["regular"],"subsets":["latin"]},{"family":"Poly","variants":["regular","italic"],"subsets":["latin"]},{"family":"Pompiere","variants":["regular"],"subsets":["latin"]},{"family":"Pontano Sans","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Poor Story","variants":["regular"],"subsets":["korean","latin"]},{"family":"Poppins","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Port Lligat Sans","variants":["regular"],"subsets":["latin"]},{"family":"Port Lligat Slab","variants":["regular"],"subsets":["latin"]},{"family":"Potta One","variants":["regular"],"subsets":["japanese","latin","latin-ext","vietnamese"]},{"family":"Pragati Narrow","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Praise","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Prata","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","vietnamese"]},{"family":"Preahvihear","variants":["regular"],"subsets":["khmer","latin"]},{"family":"Press Start 2P","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext"]},{"family":"Pridi","variants":["200","300","regular","500","600","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Princess Sofia","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Prociono","variants":["regular"],"subsets":["latin"]},{"family":"Prompt","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Prosto One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Proza Libre","variants":["regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["latin","latin-ext"]},{"family":"Public Sans","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext"]},{"family":"Puppies Play","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Puritan","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Purple Purse","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Pushster","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Qahiri","variants":["regular"],"subsets":["arabic","latin"]},{"family":"Quando","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Quantico","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Quattrocento","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Quattrocento Sans","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Questrial","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Quicksand","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Quintessential","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Qwigley","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Qwitcher Grypen","variants":["regular","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Racing Sans One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Radley","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Rajdhani","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Rakkas","variants":["regular"],"subsets":["arabic","latin","latin-ext"]},{"family":"Raleway","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Raleway Dots","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ramabhadra","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Ramaraja","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Rambla","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Rammetto One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Rampart One","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Ranchers","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Rancho","variants":["regular"],"subsets":["latin"]},{"family":"Ranga","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Rasa","variants":["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],"subsets":["gujarati","latin","latin-ext","vietnamese"]},{"family":"Rationale","variants":["regular"],"subsets":["latin"]},{"family":"Ravi Prakash","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Readex Pro","variants":["200","300","regular","500","600","700"],"subsets":["arabic","latin","latin-ext","vietnamese"]},{"family":"Recursive","variants":["300","regular","500","600","700","800","900"],"subsets":["cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Red Hat Display","variants":["300","regular","500","600","700","800","900","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext"]},{"family":"Red Hat Mono","variants":["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext"]},{"family":"Red Hat Text","variants":["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext"]},{"family":"Red Rose","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Redacted","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Redacted Script","variants":["300","regular","700"],"subsets":["latin","latin-ext"]},{"family":"Redressed","variants":["regular"],"subsets":["latin"]},{"family":"Reem Kufi","variants":["regular","500","600","700"],"subsets":["arabic","latin"]},{"family":"Reenie Beanie","variants":["regular"],"subsets":["latin"]},{"family":"Reggae One","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Revalia","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Rhodium Libre","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Ribeye","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ribeye Marrow","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Righteous","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Risque","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Road Rage","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Roboto","variants":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Roboto Condensed","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Roboto Mono","variants":["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Roboto Slab","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Rochester","variants":["regular"],"subsets":["latin"]},{"family":"Rock 3D","variants":["regular"],"subsets":["japanese","latin"]},{"family":"Rock Salt","variants":["regular"],"subsets":["latin"]},{"family":"RocknRoll One","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Rokkitt","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Romanesco","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ropa Sans","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Rosario","variants":["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Rosarivo","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Rouge Script","variants":["regular"],"subsets":["latin"]},{"family":"Rowdies","variants":["300","regular","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Rozha One","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Rubik","variants":["300","regular","500","600","700","800","900","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"]},{"family":"Rubik Beastly","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"]},{"family":"Rubik Mono One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Ruda","variants":["regular","500","600","700","800","900"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Rufina","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Ruge Boogie","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Ruluko","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Rum Raisin","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ruslan Display","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Russo One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Ruthie","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Rye","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"STIX Two Text","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Sacramento","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sahitya","variants":["regular","700"],"subsets":["devanagari","latin"]},{"family":"Sail","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Saira","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Saira Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Saira Extra Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Saira Semi Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Saira Stencil One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Salsa","variants":["regular"],"subsets":["latin"]},{"family":"Sanchez","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Sancreek","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sansita","variants":["regular","italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Sansita Swashed","variants":["300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Sarabun","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Sarala","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Sarina","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sarpanch","variants":["regular","500","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Sassy Frass","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Satisfy","variants":["regular"],"subsets":["latin"]},{"family":"Sawarabi Gothic","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext","vietnamese"]},{"family":"Sawarabi Mincho","variants":["regular"],"subsets":["japanese","latin","latin-ext"]},{"family":"Scada","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Scheherazade New","variants":["regular","700"],"subsets":["arabic","latin","latin-ext"]},{"family":"Schoolbell","variants":["regular"],"subsets":["latin"]},{"family":"Scope One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Seaweed Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Secular One","variants":["regular"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Sedgwick Ave","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Sedgwick Ave Display","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Sen","variants":["regular","700","800"],"subsets":["latin","latin-ext"]},{"family":"Sevillana","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Seymour One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Shadows Into Light","variants":["regular"],"subsets":["latin"]},{"family":"Shadows Into Light Two","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Shalimar","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Shanti","variants":["regular"],"subsets":["latin"]},{"family":"Share","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Share Tech","variants":["regular"],"subsets":["latin"]},{"family":"Share Tech Mono","variants":["regular"],"subsets":["latin"]},{"family":"Shippori Antique","variants":["regular"],"subsets":["japanese","latin","latin-ext"]},{"family":"Shippori Antique B1","variants":["regular"],"subsets":["japanese","latin","latin-ext"]},{"family":"Shippori Mincho","variants":["regular","500","600","700","800"],"subsets":["japanese","latin","latin-ext"]},{"family":"Shippori Mincho B1","variants":["regular","500","600","700","800"],"subsets":["japanese","latin","latin-ext"]},{"family":"Shizuru","variants":["regular"],"subsets":["japanese","latin"]},{"family":"Shojumaru","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Short Stack","variants":["regular"],"subsets":["latin"]},{"family":"Shrikhand","variants":["regular"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Siemreap","variants":["regular"],"subsets":["khmer"]},{"family":"Sigmar One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Signika","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Signika Negative","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Simonetta","variants":["regular","italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Single Day","variants":["regular"],"subsets":["korean"]},{"family":"Sintony","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Sirin Stencil","variants":["regular"],"subsets":["latin"]},{"family":"Six Caps","variants":["regular"],"subsets":["latin"]},{"family":"Skranji","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Slabo 13px","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Slabo 27px","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Slackey","variants":["regular"],"subsets":["latin"]},{"family":"Smokum","variants":["regular"],"subsets":["latin"]},{"family":"Smooch","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Smythe","variants":["regular"],"subsets":["latin"]},{"family":"Sniglet","variants":["regular","800"],"subsets":["latin","latin-ext"]},{"family":"Snippet","variants":["regular"],"subsets":["latin"]},{"family":"Snowburst One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sofadi One","variants":["regular"],"subsets":["latin"]},{"family":"Sofia","variants":["regular"],"subsets":["latin"]},{"family":"Solway","variants":["300","regular","500","700","800"],"subsets":["latin"]},{"family":"Song Myung","variants":["regular"],"subsets":["korean","latin"]},{"family":"Sonsie One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sora","variants":["100","200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext"]},{"family":"Sorts Mill Goudy","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Source Code Pro","variants":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Source Sans 3","variants":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Source Sans Pro","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Source Serif 4","variants":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Source Serif Pro","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Space Grotesk","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Space Mono","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Spartan","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext"]},{"family":"Special Elite","variants":["regular"],"subsets":["latin"]},{"family":"Spectral","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Spectral SC","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Spicy Rice","variants":["regular"],"subsets":["latin"]},{"family":"Spinnaker","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Spirax","variants":["regular"],"subsets":["latin"]},{"family":"Spline Sans","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext"]},{"family":"Squada One","variants":["regular"],"subsets":["latin"]},{"family":"Sree Krushnadevaraya","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Sriracha","variants":["regular"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Srisakdi","variants":["regular","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Staatliches","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Stalemate","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Stalinist One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Stardos Stencil","variants":["regular","700"],"subsets":["latin"]},{"family":"Stick","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Stick No Bills","variants":["200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext","sinhala"]},{"family":"Stint Ultra Condensed","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Stint Ultra Expanded","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Stoke","variants":["300","regular"],"subsets":["latin","latin-ext"]},{"family":"Strait","variants":["regular"],"subsets":["latin"]},{"family":"Style Script","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Stylish","variants":["regular"],"subsets":["korean","latin"]},{"family":"Sue Ellen Francisco","variants":["regular"],"subsets":["latin"]},{"family":"Suez One","variants":["regular"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Sulphur Point","variants":["300","regular","700"],"subsets":["latin","latin-ext"]},{"family":"Sumana","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Sunflower","variants":["300","500","700"],"subsets":["korean","latin"]},{"family":"Sunshiney","variants":["regular"],"subsets":["latin"]},{"family":"Supermercado One","variants":["regular"],"subsets":["latin"]},{"family":"Sura","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Suranna","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Suravaram","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Suwannaphum","variants":["100","300","regular","700","900"],"subsets":["khmer","latin"]},{"family":"Swanky and Moo Moo","variants":["regular"],"subsets":["latin"]},{"family":"Syncopate","variants":["regular","700"],"subsets":["latin"]},{"family":"Syne","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext"]},{"family":"Syne Mono","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Syne Tactile","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Tajawal","variants":["200","300","regular","500","700","800","900"],"subsets":["arabic","latin"]},{"family":"Tangerine","variants":["regular","700"],"subsets":["latin"]},{"family":"Taprom","variants":["regular"],"subsets":["khmer","latin"]},{"family":"Tauri","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Taviraj","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Teko","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Telex","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Tenali Ramakrishna","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Tenor Sans","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Text Me One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Texturina","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Thasadith","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"The Girl Next Door","variants":["regular"],"subsets":["latin"]},{"family":"The Nautigal","variants":["regular","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Tienne","variants":["regular","700","900"],"subsets":["latin"]},{"family":"Tillana","variants":["regular","500","600","700","800"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Timmana","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Tinos","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","latin","latin-ext","vietnamese"]},{"family":"Titan One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Titillium Web","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900"],"subsets":["latin","latin-ext"]},{"family":"Tomorrow","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Tourney","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Trade Winds","variants":["regular"],"subsets":["latin"]},{"family":"Train One","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Trirong","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Trispace","variants":["100","200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Trocchi","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Trochut","variants":["regular","italic","700"],"subsets":["latin"]},{"family":"Truculenta","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Trykker","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Tulpen One","variants":["regular"],"subsets":["latin"]},{"family":"Turret Road","variants":["200","300","regular","500","700","800"],"subsets":["latin","latin-ext"]},{"family":"Twinkle Star","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Ubuntu","variants":["300","300italic","regular","italic","500","500italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Ubuntu Condensed","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Ubuntu Mono","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Uchen","variants":["regular"],"subsets":["latin","tibetan"]},{"family":"Ultra","variants":["regular"],"subsets":["latin"]},{"family":"Uncial Antiqua","variants":["regular"],"subsets":["latin"]},{"family":"Underdog","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Unica One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"UnifrakturCook","variants":["700"],"subsets":["latin"]},{"family":"UnifrakturMaguntia","variants":["regular"],"subsets":["latin"]},{"family":"Unkempt","variants":["regular","700"],"subsets":["latin"]},{"family":"Unlock","variants":["regular"],"subsets":["latin"]},{"family":"Unna","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Urbanist","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext"]},{"family":"VT323","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Vampiro One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Varela","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Varela Round","variants":["regular"],"subsets":["hebrew","latin","latin-ext","vietnamese"]},{"family":"Varta","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Vast Shadow","variants":["regular"],"subsets":["latin"]},{"family":"Vesper Libre","variants":["regular","500","700","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Viaoda Libre","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Vibes","variants":["regular"],"subsets":["arabic","latin"]},{"family":"Vibur","variants":["regular"],"subsets":["latin"]},{"family":"Vidaloka","variants":["regular"],"subsets":["latin"]},{"family":"Viga","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Voces","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Volkhov","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Vollkorn","variants":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Vollkorn SC","variants":["regular","600","700","900"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Voltaire","variants":["regular"],"subsets":["latin"]},{"family":"Vujahday Script","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Waiting for the Sunrise","variants":["regular"],"subsets":["latin"]},{"family":"Wallpoet","variants":["regular"],"subsets":["latin"]},{"family":"Walter Turncoat","variants":["regular"],"subsets":["latin"]},{"family":"Warnes","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Waterfall","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Wellfleet","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Wendy One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"WindSong","variants":["regular","500"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Wire One","variants":["regular"],"subsets":["latin"]},{"family":"Work Sans","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Xanh Mono","variants":["regular","italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Yaldevi","variants":["200","300","regular","500","600","700"],"subsets":["latin","latin-ext","sinhala"]},{"family":"Yanone Kaffeesatz","variants":["200","300","regular","500","600","700"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Yantramanav","variants":["100","300","regular","500","700","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Yatra One","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Yellowtail","variants":["regular"],"subsets":["latin"]},{"family":"Yeon Sung","variants":["regular"],"subsets":["korean","latin"]},{"family":"Yeseva One","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Yesteryear","variants":["regular"],"subsets":["latin"]},{"family":"Yomogi","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext","vietnamese"]},{"family":"Yrsa","variants":["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Yuji Boku","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Yuji Hentaigana Akari","variants":["regular"],"subsets":["japanese","latin","latin-ext"]},{"family":"Yuji Hentaigana Akebono","variants":["regular"],"subsets":["japanese","latin","latin-ext"]},{"family":"Yuji Mai","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Yuji Syuku","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Yusei Magic","variants":["regular"],"subsets":["japanese","latin","latin-ext"]},{"family":"ZCOOL KuaiLe","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"ZCOOL QingKe HuangYou","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"ZCOOL XiaoWei","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Zen Antique","variants":["regular"],"subsets":["cyrillic","greek","japanese","latin","latin-ext"]},{"family":"Zen Antique Soft","variants":["regular"],"subsets":["cyrillic","greek","japanese","latin","latin-ext"]},{"family":"Zen Dots","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Zen Kaku Gothic Antique","variants":["300","regular","500","700","900"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Zen Kaku Gothic New","variants":["300","regular","500","700","900"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Zen Kurenaido","variants":["regular"],"subsets":["cyrillic","greek","japanese","latin","latin-ext"]},{"family":"Zen Loop","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Zen Maru Gothic","variants":["300","regular","500","700","900"],"subsets":["cyrillic","greek","japanese","latin","latin-ext"]},{"family":"Zen Old Mincho","variants":["regular","700","900"],"subsets":["cyrillic","greek","japanese","latin","latin-ext"]},{"family":"Zen Tokyo Zoo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Zeyada","variants":["regular"],"subsets":["latin"]},{"family":"Zhi Mang Xing","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Zilla Slab","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Zilla Slab Highlight","variants":["regular","700"],"subsets":["latin","latin-ext"]}]').map((e=>({label:e.family,value:e.family}))),ta=e=>{const t=(0,i.useMemo)((()=>(0,M.applyFilters)("stackable.font-family-control.options",[{id:"system-fonts",title:(0,h.__)("System Fonts",o.i18n),options:[{label:(0,h.__)("Sans-Serif",o.i18n),value:"Sans-Serif"},{label:(0,h.__)("Serif",o.i18n),value:"Serif"},{label:(0,h.__)("Serif Alternative",o.i18n),value:"Serif-Alt"},{label:(0,h.__)("Monospace",o.i18n),value:"Monospace"}]},{id:"google-fonts",title:(0,h.__)("Google Fonts",o.i18n),options:ea}])),[]);return(0,i.createElement)(Vt,n({options:t,highlightValueOnFocus:!0},e,{onChange:t=>{ea.some((e=>e.value===t&&(I(t),!0))),e.onChange(t)}}))};ta.defaultProps={onChange:()=>{},label:(0,h.__)("Font Family",o.i18n),value:""};const aa=ta;function na(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a<t;a++)n[a]=e[a];return n}function ia(e,t){if(e){if("string"==typeof e)return na(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?na(e,t):void 0}}function la(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,i,l=[],r=!0,s=!1;try{for(a=a.call(e);!(r=(n=a.next()).done)&&(l.push(n.value),!t||l.length!==t);r=!0);}catch(e){s=!0,i=e}finally{try{r||null==a.return||a.return()}finally{if(s)throw i}}return l}}(e,t)||ia(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ra(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function sa(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(a).filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable}))),n.forEach((function(t){ra(e,t,a[t])}))}return e}function oa(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ua(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ca(e,t,a){return t&&ua(e.prototype,t),a&&ua(e,a),e}function ga(e){return ga="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ga(e)}function ma(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function da(e,t){if(t&&("object"===ga(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return ma(e)}function ha(e){return ha=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ha(e)}function pa(e,t){return pa=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},pa(e,t)}function va(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pa(e,t)}var ba=a(1143),fa=a.n(ba);function ya(e){return function(e){if(Array.isArray(e))return na(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ia(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var ka=a(5697),_a=a.n(ka),wa=function(){function e(){oa(this,e),ra(this,"refs",{})}return ca(e,[{key:"add",value:function(e,t){this.refs[e]||(this.refs[e]=[]),this.refs[e].push(t)}},{key:"remove",value:function(e,t){var a=this.getIndex(e,t);-1!==a&&this.refs[e].splice(a,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var e=this;return this.refs[this.active.collection].find((function(t){return t.node.sortableInfo.index==e.active.index}))}},{key:"getIndex",value:function(e,t){return this.refs[e].indexOf(t)}},{key:"getOrderedRefs",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.active.collection;return this.refs[e].sort(xa)}}]),e}();function xa(e,t){return e.node.sortableInfo.index-t.node.sortableInfo.index}function Ca(e,t){return Object.keys(e).reduce((function(a,n){return-1===t.indexOf(n)&&(a[n]=e[n]),a}),{})}var Sa={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},Ea=function(){if("undefined"==typeof window||"undefined"==typeof document)return"";var e=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],t=(Array.prototype.slice.call(e).join("").match(/-(moz|webkit|ms)-/)||""===e.OLink&&["","o"])[1];return"ms"===t?"ms":t&&t.length?t[0].toUpperCase()+t.substr(1):""}();function Ma(e,t){Object.keys(t).forEach((function(a){e.style[a]=t[a]}))}function Ta(e,t){e.style["".concat(Ea,"Transform")]=null==t?"":"translate3d(".concat(t.x,"px,").concat(t.y,"px,0)")}function Na(e,t){e.style["".concat(Ea,"TransitionDuration")]=null==t?"":"".concat(t,"ms")}function Ba(e,t){for(;e;){if(t(e))return e;e=e.parentNode}return null}function Ia(e,t,a){return Math.max(e,Math.min(a,t))}function Oa(e){return"px"===e.substr(-2)?parseFloat(e):0}function Pa(e){var t=window.getComputedStyle(e);return{bottom:Oa(t.marginBottom),left:Oa(t.marginLeft),right:Oa(t.marginRight),top:Oa(t.marginTop)}}function Ra(e,t){var a=t.displayName||t.name;return a?"".concat(e,"(").concat(a,")"):e}function La(e,t){var a=e.getBoundingClientRect();return{top:a.top+t.top,left:a.left+t.left}}function za(e){return e.touches&&e.touches.length?{x:e.touches[0].pageX,y:e.touches[0].pageY}:e.changedTouches&&e.changedTouches.length?{x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY}:{x:e.pageX,y:e.pageY}}function Aa(e){return e.touches&&e.touches.length||e.changedTouches&&e.changedTouches.length}function Da(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{left:0,top:0};if(e){var n={left:a.left+e.offsetLeft,top:a.top+e.offsetTop};return e.parentNode===t?n:Da(e.parentNode,t,n)}}function Fa(e,t,a){return e<a&&e>t?e-1:e>a&&e<t?e+1:e}function Ha(e){var t=e.lockOffset,a=e.width,n=e.height,i=t,l=t,r="px";if("string"==typeof t){var s=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(t);fa()(null!==s,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',t),i=parseFloat(t),l=parseFloat(t),r=s[1]}return fa()(isFinite(i)&&isFinite(l),"lockOffset value should be a finite. Given %s",t),"%"===r&&(i=i*a/100,l=l*n/100),{x:i,y:l}}function ja(e){var t=e.height,a=e.width,n=e.lockOffset,i=Array.isArray(n)?n:[n,n];fa()(2===i.length,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",n);var l=la(i,2),r=l[0],s=l[1];return[Ha({height:t,lockOffset:r,width:a}),Ha({height:t,lockOffset:s,width:a})]}function Ua(e){return e instanceof HTMLElement?function(e){var t=window.getComputedStyle(e),a=/(auto|scroll)/;return["overflow","overflowX","overflowY"].find((function(e){return a.test(t[e])}))}(e)?e:Ua(e.parentNode):null}function Va(e){var t=window.getComputedStyle(e);return"grid"===t.display?{x:Oa(t.gridColumnGap),y:Oa(t.gridRowGap)}:{x:0,y:0}}var Ga="BUTTON",$a="INPUT",qa="OPTION",Wa="TEXTAREA",Ka="SELECT";function Ja(e){var t="input, textarea, select, canvas, [contenteditable]",a=e.querySelectorAll(t),n=e.cloneNode(!0);return ya(n.querySelectorAll(t)).forEach((function(e,t){"file"!==e.type&&(e.value=a[t].value),"radio"===e.type&&e.name&&(e.name="__sortableClone__".concat(e.name)),"CANVAS"===e.tagName&&a[t].width>0&&a[t].height>0&&e.getContext("2d").drawImage(a[t],0,0)})),n}function Ya(e){return null!=e.sortableHandle}var Xa=function(){function e(t,a){oa(this,e),this.container=t,this.onScrollCallback=a}return ca(e,[{key:"clear",value:function(){null!=this.interval&&(clearInterval(this.interval),this.interval=null)}},{key:"update",value:function(e){var t=this,a=e.translate,n=e.minTranslate,i=e.maxTranslate,l=e.width,r=e.height,s={x:0,y:0},o={x:1,y:1},u=this.container,c=u.scrollTop,g=u.scrollLeft,m=u.scrollHeight,d=u.scrollWidth,h=0===c,p=m-c-u.clientHeight==0,v=0===g,b=d-g-u.clientWidth==0;a.y>=i.y-r/2&&!p?(s.y=1,o.y=10*Math.abs((i.y-r/2-a.y)/r)):a.x>=i.x-l/2&&!b?(s.x=1,o.x=10*Math.abs((i.x-l/2-a.x)/l)):a.y<=n.y+r/2&&!h?(s.y=-1,o.y=10*Math.abs((a.y-r/2-n.y)/r)):a.x<=n.x+l/2&&!v&&(s.x=-1,o.x=10*Math.abs((a.x-l/2-n.x)/l)),this.interval&&(this.clear(),this.isAutoScrolling=!1),0===s.x&&0===s.y||(this.interval=setInterval((function(){t.isAutoScrolling=!0;var e={left:o.x*s.x,top:o.y*s.y};t.container.scrollTop+=e.top,t.container.scrollLeft+=e.left,t.onScrollCallback(e)}),5))}}]),e}(),Qa={axis:_a().oneOf(["x","y","xy"]),contentWindow:_a().any,disableAutoscroll:_a().bool,distance:_a().number,getContainer:_a().func,getHelperDimensions:_a().func,helperClass:_a().string,helperContainer:_a().oneOfType([_a().func,"undefined"==typeof HTMLElement?_a().any:_a().instanceOf(HTMLElement)]),hideSortableGhost:_a().bool,keyboardSortingTransitionDuration:_a().number,lockAxis:_a().string,lockOffset:_a().oneOfType([_a().number,_a().string,_a().arrayOf(_a().oneOfType([_a().number,_a().string]))]),lockToContainerEdges:_a().bool,onSortEnd:_a().func,onSortMove:_a().func,onSortOver:_a().func,onSortStart:_a().func,pressDelay:_a().number,pressThreshold:_a().number,keyCodes:_a().shape({lift:_a().arrayOf(_a().number),drop:_a().arrayOf(_a().number),cancel:_a().arrayOf(_a().number),up:_a().arrayOf(_a().number),down:_a().arrayOf(_a().number)}),shouldCancelStart:_a().func,transitionDuration:_a().number,updateBeforeSortStart:_a().func,useDragHandle:_a().bool,useWindowAsScrollContainer:_a().bool},Za={lift:[32],drop:[32],cancel:[27],up:[38,37],down:[40,39]},en={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:function(e){var t=e.node;return{height:t.offsetHeight,width:t.offsetWidth}},hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:Za,shouldCancelStart:function(e){return-1!==[$a,Wa,Ka,qa,Ga].indexOf(e.target.tagName)||!!Ba(e.target,(function(e){return"true"===e.contentEditable}))},transitionDuration:300,useWindowAsScrollContainer:!1},tn=Object.keys(Qa);function an(e){fa()(!(e.distance&&e.pressDelay),"Attempted to set both `pressDelay` and `distance` on SortableContainer, you may only use one or the other, not both at the same time.")}function nn(e,t){try{var a=e()}catch(e){return t(!0,e)}return a&&a.then?a.then(t.bind(null,!1),t.bind(null,!0)):t(!1,value)}var ln=(0,u.createContext)({manager:{}}),rn={index:_a().number.isRequired,collection:_a().oneOfType([_a().number,_a().string]),disabled:_a().bool},sn=Object.keys(rn);const on=function(e){var t,a,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return a=t=function(t){function a(e){var t;oa(this,a),ra(ma(ma(t=da(this,ha(a).call(this,e)))),"state",{}),ra(ma(ma(t)),"handleStart",(function(e){var a=t.props,n=a.distance,i=a.shouldCancelStart;if(2!==e.button&&!i(e)){t.touched=!0,t.position=za(e);var l=Ba(e.target,(function(e){return null!=e.sortableInfo}));if(l&&l.sortableInfo&&t.nodeIsChild(l)&&!t.state.sorting){var r=t.props.useDragHandle,s=l.sortableInfo,o=s.index,u=s.collection;if(s.disabled)return;if(r&&!Ba(e.target,Ya))return;t.manager.active={collection:u,index:o},Aa(e)||"A"!==e.target.tagName||e.preventDefault(),n||(0===t.props.pressDelay?t.handlePress(e):t.pressTimer=setTimeout((function(){return t.handlePress(e)}),t.props.pressDelay))}}})),ra(ma(ma(t)),"nodeIsChild",(function(e){return e.sortableInfo.manager===t.manager})),ra(ma(ma(t)),"handleMove",(function(e){var a=t.props,n=a.distance,i=a.pressThreshold;if(!t.state.sorting&&t.touched&&!t._awaitingUpdateBeforeSortStart){var l=za(e),r={x:t.position.x-l.x,y:t.position.y-l.y},s=Math.abs(r.x)+Math.abs(r.y);t.delta=r,n||i&&!(s>=i)?n&&s>=n&&t.manager.isActive()&&t.handlePress(e):(clearTimeout(t.cancelTimer),t.cancelTimer=setTimeout(t.cancel,0))}})),ra(ma(ma(t)),"handleEnd",(function(){t.touched=!1,t.cancel()})),ra(ma(ma(t)),"cancel",(function(){var e=t.props.distance;t.state.sorting||(e||clearTimeout(t.pressTimer),t.manager.active=null)})),ra(ma(ma(t)),"handlePress",(function(e){try{var a=t.manager.getActive(),n=function(){if(a){var n=function(){var a=m.sortableInfo.index,n=Pa(m),i=Va(t.container),u=t.scrollContainer.getBoundingClientRect(),p=r({index:a,node:m,collection:d});if(t.node=m,t.margin=n,t.gridGap=i,t.width=p.width,t.height=p.height,t.marginOffset={x:t.margin.left+t.margin.right+t.gridGap.x,y:Math.max(t.margin.top,t.margin.bottom,t.gridGap.y)},t.boundingClientRect=m.getBoundingClientRect(),t.containerBoundingRect=u,t.index=a,t.newIndex=a,t.axis={x:l.indexOf("x")>=0,y:l.indexOf("y")>=0},t.offsetEdge=Da(m,t.container),t.initialOffset=za(h?sa({},e,{pageX:t.boundingClientRect.left,pageY:t.boundingClientRect.top}):e),t.initialScroll={left:t.scrollContainer.scrollLeft,top:t.scrollContainer.scrollTop},t.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},t.helper=t.helperContainer.appendChild(Ja(m)),Ma(t.helper,{boxSizing:"border-box",height:"".concat(t.height,"px"),left:"".concat(t.boundingClientRect.left-n.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(t.boundingClientRect.top-n.top,"px"),width:"".concat(t.width,"px")}),h&&t.helper.focus(),o&&(t.sortableGhost=m,Ma(m,{opacity:0,visibility:"hidden"})),t.minTranslate={},t.maxTranslate={},h){var v=g?{top:0,left:0,width:t.contentWindow.innerWidth,height:t.contentWindow.innerHeight}:t.containerBoundingRect,b=v.top,f=v.left,y=v.width,k=b+v.height,_=f+y;t.axis.x&&(t.minTranslate.x=f-t.boundingClientRect.left,t.maxTranslate.x=_-(t.boundingClientRect.left+t.width)),t.axis.y&&(t.minTranslate.y=b-t.boundingClientRect.top,t.maxTranslate.y=k-(t.boundingClientRect.top+t.height))}else t.axis.x&&(t.minTranslate.x=(g?0:u.left)-t.boundingClientRect.left-t.width/2,t.maxTranslate.x=(g?t.contentWindow.innerWidth:u.left+u.width)-t.boundingClientRect.left-t.width/2),t.axis.y&&(t.minTranslate.y=(g?0:u.top)-t.boundingClientRect.top-t.height/2,t.maxTranslate.y=(g?t.contentWindow.innerHeight:u.top+u.height)-t.boundingClientRect.top-t.height/2);s&&s.split(" ").forEach((function(e){return t.helper.classList.add(e)})),t.listenerNode=e.touches?e.target:t.contentWindow,h?(t.listenerNode.addEventListener("wheel",t.handleKeyEnd,!0),t.listenerNode.addEventListener("mousedown",t.handleKeyEnd,!0),t.listenerNode.addEventListener("keydown",t.handleKeyDown)):(Sa.move.forEach((function(e){return t.listenerNode.addEventListener(e,t.handleSortMove,!1)})),Sa.end.forEach((function(e){return t.listenerNode.addEventListener(e,t.handleSortEnd,!1)}))),t.setState({sorting:!0,sortingIndex:a}),c&&c({node:m,index:a,collection:d,isKeySorting:h,nodes:t.manager.getOrderedRefs(),helper:t.helper},e),h&&t.keyMove(0)},i=t.props,l=i.axis,r=i.getHelperDimensions,s=i.helperClass,o=i.hideSortableGhost,u=i.updateBeforeSortStart,c=i.onSortStart,g=i.useWindowAsScrollContainer,m=a.node,d=a.collection,h=t.manager.isKeySorting,p=function(){if("function"==typeof u){t._awaitingUpdateBeforeSortStart=!0;var a=nn((function(){var t=m.sortableInfo.index;return Promise.resolve(u({collection:d,index:t,node:m,isKeySorting:h},e)).then((function(){}))}),(function(e,a){if(t._awaitingUpdateBeforeSortStart=!1,e)throw a;return a}));if(a&&a.then)return a.then((function(){}))}}();return p&&p.then?p.then(n):n()}}();return Promise.resolve(n&&n.then?n.then((function(){})):void 0)}catch(e){return Promise.reject(e)}})),ra(ma(ma(t)),"handleSortMove",(function(e){var a=t.props.onSortMove;"function"==typeof e.preventDefault&&e.cancelable&&e.preventDefault(),t.updateHelperPosition(e),t.animateNodes(),t.autoscroll(),a&&a(e)})),ra(ma(ma(t)),"handleSortEnd",(function(e){var a=t.props,n=a.hideSortableGhost,i=a.onSortEnd,l=t.manager,r=l.active.collection,s=l.isKeySorting,o=t.manager.getOrderedRefs();t.listenerNode&&(s?(t.listenerNode.removeEventListener("wheel",t.handleKeyEnd,!0),t.listenerNode.removeEventListener("mousedown",t.handleKeyEnd,!0),t.listenerNode.removeEventListener("keydown",t.handleKeyDown)):(Sa.move.forEach((function(e){return t.listenerNode.removeEventListener(e,t.handleSortMove)})),Sa.end.forEach((function(e){return t.listenerNode.removeEventListener(e,t.handleSortEnd)})))),t.helper.parentNode.removeChild(t.helper),n&&t.sortableGhost&&Ma(t.sortableGhost,{opacity:"",visibility:""});for(var u=0,c=o.length;u<c;u++){var g=o[u],m=g.node;g.edgeOffset=null,g.boundingClientRect=null,Ta(m,null),Na(m,null),g.translate=null}t.autoScroller.clear(),t.manager.active=null,t.manager.isKeySorting=!1,t.setState({sorting:!1,sortingIndex:null}),"function"==typeof i&&i({collection:r,newIndex:t.newIndex,oldIndex:t.index,isKeySorting:s,nodes:o},e),t.touched=!1})),ra(ma(ma(t)),"autoscroll",(function(){var e=t.props.disableAutoscroll,a=t.manager.isKeySorting;if(e)t.autoScroller.clear();else{if(a){var n=sa({},t.translate),i=0,l=0;return t.axis.x&&(n.x=Math.min(t.maxTranslate.x,Math.max(t.minTranslate.x,t.translate.x)),i=t.translate.x-n.x),t.axis.y&&(n.y=Math.min(t.maxTranslate.y,Math.max(t.minTranslate.y,t.translate.y)),l=t.translate.y-n.y),t.translate=n,Ta(t.helper,t.translate),t.scrollContainer.scrollLeft+=i,void(t.scrollContainer.scrollTop+=l)}t.autoScroller.update({height:t.height,maxTranslate:t.maxTranslate,minTranslate:t.minTranslate,translate:t.translate,width:t.width})}})),ra(ma(ma(t)),"onAutoScroll",(function(e){t.translate.x+=e.left,t.translate.y+=e.top,t.animateNodes()})),ra(ma(ma(t)),"handleKeyDown",(function(e){var a=e.keyCode,n=t.props,i=n.shouldCancelStart,l=n.keyCodes,r=sa({},Za,void 0===l?{}:l);t.manager.active&&!t.manager.isKeySorting||!(t.manager.active||r.lift.includes(a)&&!i(e)&&t.isValidSortingTarget(e))||(e.stopPropagation(),e.preventDefault(),r.lift.includes(a)&&!t.manager.active?t.keyLift(e):r.drop.includes(a)&&t.manager.active?t.keyDrop(e):r.cancel.includes(a)?(t.newIndex=t.manager.active.index,t.keyDrop(e)):r.up.includes(a)?t.keyMove(-1):r.down.includes(a)&&t.keyMove(1))})),ra(ma(ma(t)),"keyLift",(function(e){var a=e.target,n=Ba(a,(function(e){return null!=e.sortableInfo})).sortableInfo,i=n.index,l=n.collection;t.initialFocusedNode=a,t.manager.isKeySorting=!0,t.manager.active={index:i,collection:l},t.handlePress(e)})),ra(ma(ma(t)),"keyMove",(function(e){var a=t.manager.getOrderedRefs(),n=a[a.length-1].node.sortableInfo.index,i=t.newIndex+e,l=t.newIndex;if(!(i<0||i>n)){t.prevIndex=l,t.newIndex=i;var r=Fa(t.newIndex,t.prevIndex,t.index),s=a.find((function(e){return e.node.sortableInfo.index===r})),o=s.node,u=t.containerScrollDelta,c=s.boundingClientRect||La(o,u),g=s.translate||{x:0,y:0},m=c.top+g.y-u.top,d=c.left+g.x-u.left,h=l<i,p=h&&t.axis.x?o.offsetWidth-t.width:0,v=h&&t.axis.y?o.offsetHeight-t.height:0;t.handleSortMove({pageX:d+p,pageY:m+v,ignoreTransition:0===e})}})),ra(ma(ma(t)),"keyDrop",(function(e){t.handleSortEnd(e),t.initialFocusedNode&&t.initialFocusedNode.focus()})),ra(ma(ma(t)),"handleKeyEnd",(function(e){t.manager.active&&t.keyDrop(e)})),ra(ma(ma(t)),"isValidSortingTarget",(function(e){var a=t.props.useDragHandle,n=e.target,i=Ba(n,(function(e){return null!=e.sortableInfo}));return i&&i.sortableInfo&&!i.sortableInfo.disabled&&(a?Ya(n):n.sortableInfo)}));var n=new wa;return an(e),t.manager=n,t.wrappedInstance=(0,u.createRef)(),t.sortableContextValue={manager:n},t.events={end:t.handleEnd,move:t.handleMove,start:t.handleStart},t}return va(a,t),ca(a,[{key:"componentDidMount",value:function(){var e=this,t=this.props.useWindowAsScrollContainer,a=this.getContainer();Promise.resolve(a).then((function(a){e.container=a,e.document=e.container.ownerDocument||document;var n=e.props.contentWindow||e.document.defaultView||window;e.contentWindow="function"==typeof n?n():n,e.scrollContainer=t?e.document.scrollingElement||e.document.documentElement:Ua(e.container)||e.container,e.autoScroller=new Xa(e.scrollContainer,e.onAutoScroll),Object.keys(e.events).forEach((function(t){return Sa[t].forEach((function(a){return e.container.addEventListener(a,e.events[t],!1)}))})),e.container.addEventListener("keydown",e.handleKeyDown)}))}},{key:"componentWillUnmount",value:function(){var e=this;this.helper&&this.helper.parentNode&&this.helper.parentNode.removeChild(this.helper),this.container&&(Object.keys(this.events).forEach((function(t){return Sa[t].forEach((function(a){return e.container.removeEventListener(a,e.events[t])}))})),this.container.removeEventListener("keydown",this.handleKeyDown))}},{key:"updateHelperPosition",value:function(e){var t=this.props,a=t.lockAxis,n=t.lockOffset,i=t.lockToContainerEdges,l=t.transitionDuration,r=t.keyboardSortingTransitionDuration,s=void 0===r?l:r,o=this.manager.isKeySorting,u=e.ignoreTransition,c=za(e),g={x:c.x-this.initialOffset.x,y:c.y-this.initialOffset.y};if(g.y-=window.pageYOffset-this.initialWindowScroll.top,g.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=g,i){var m=la(ja({height:this.height,lockOffset:n,width:this.width}),2),d=m[0],h=m[1],p={x:this.width/2-d.x,y:this.height/2-d.y},v={x:this.width/2-h.x,y:this.height/2-h.y};g.x=Ia(this.minTranslate.x+p.x,this.maxTranslate.x-v.x,g.x),g.y=Ia(this.minTranslate.y+p.y,this.maxTranslate.y-v.y,g.y)}"x"===a?g.y=0:"y"===a&&(g.x=0),o&&s&&!u&&Na(this.helper,s),Ta(this.helper,g)}},{key:"animateNodes",value:function(){var e=this.props,t=e.transitionDuration,a=e.hideSortableGhost,n=e.onSortOver,i=this.containerScrollDelta,l=this.windowScrollDelta,r=this.manager.getOrderedRefs(),s=this.offsetEdge.left+this.translate.x+i.left,o=this.offsetEdge.top+this.translate.y+i.top,u=this.manager.isKeySorting,c=this.newIndex;this.newIndex=null;for(var g=0,m=r.length;g<m;g++){var d=r[g].node,h=d.sortableInfo.index,p=d.offsetWidth,v=d.offsetHeight,b={height:this.height>v?v/2:this.height/2,width:this.width>p?p/2:this.width/2},f=u&&h>this.index&&h<=c,y=u&&h<this.index&&h>=c,k={x:0,y:0},_=r[g].edgeOffset;_||(_=Da(d,this.container),r[g].edgeOffset=_,u&&(r[g].boundingClientRect=La(d,i)));var w=g<r.length-1&&r[g+1],x=g>0&&r[g-1];w&&!w.edgeOffset&&(w.edgeOffset=Da(w.node,this.container),u&&(w.boundingClientRect=La(w.node,i))),h!==this.index?(t&&Na(d,t),this.axis.x?this.axis.y?y||h<this.index&&(s+l.left-b.width<=_.left&&o+l.top<=_.top+b.height||o+l.top+b.height<=_.top)?(k.x=this.width+this.marginOffset.x,_.left+k.x>this.containerBoundingRect.width-b.width&&w&&(k.x=w.edgeOffset.left-_.left,k.y=w.edgeOffset.top-_.top),null===this.newIndex&&(this.newIndex=h)):(f||h>this.index&&(s+l.left+b.width>=_.left&&o+l.top+b.height>=_.top||o+l.top+b.height>=_.top+v))&&(k.x=-(this.width+this.marginOffset.x),_.left+k.x<this.containerBoundingRect.left+b.width&&x&&(k.x=x.edgeOffset.left-_.left,k.y=x.edgeOffset.top-_.top),this.newIndex=h):f||h>this.index&&s+l.left+b.width>=_.left?(k.x=-(this.width+this.marginOffset.x),this.newIndex=h):(y||h<this.index&&s+l.left<=_.left+b.width)&&(k.x=this.width+this.marginOffset.x,null==this.newIndex&&(this.newIndex=h)):this.axis.y&&(f||h>this.index&&o+l.top+b.height>=_.top?(k.y=-(this.height+this.marginOffset.y),this.newIndex=h):(y||h<this.index&&o+l.top<=_.top+b.height)&&(k.y=this.height+this.marginOffset.y,null==this.newIndex&&(this.newIndex=h))),Ta(d,k),r[g].translate=k):a&&(this.sortableGhost=d,Ma(d,{opacity:0,visibility:"hidden"}))}null==this.newIndex&&(this.newIndex=this.index),u&&(this.newIndex=c);var C=u?this.prevIndex:c;n&&this.newIndex!==C&&n({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:C,isKeySorting:u,nodes:r,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return fa()(l.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableContainer() call"),this.wrappedInstance.current}},{key:"getContainer",value:function(){var e=this.props.getContainer;return"function"!=typeof e?(0,i.findDOMNode)(this):e(l.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var t=l.withRef?this.wrappedInstance:null;return(0,u.createElement)(ln.Provider,{value:this.sortableContextValue},(0,u.createElement)(e,n({ref:t},Ca(this.props,tn))))}},{key:"helperContainer",get:function(){var e=this.props.helperContainer;return"function"==typeof e?e():this.props.helperContainer||this.document.body}},{key:"containerScrollDelta",get:function(){return this.props.useWindowAsScrollContainer?{left:0,top:0}:{left:this.scrollContainer.scrollLeft-this.initialScroll.left,top:this.scrollContainer.scrollTop-this.initialScroll.top}}},{key:"windowScrollDelta",get:function(){return{left:this.contentWindow.pageXOffset-this.initialWindowScroll.left,top:this.contentWindow.pageYOffset-this.initialWindowScroll.top}}}]),a}(u.Component),ra(t,"displayName",Ra("sortableList",e)),ra(t,"defaultProps",en),ra(t,"propTypes",Qa),a}((e=>{let{children:t}=e;return(0,i.createElement)("div",{className:"ugb-sort-control__container"},t)})),un=function(e){var t,a,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return a=t=function(t){function a(){var e,t;oa(this,a);for(var n=arguments.length,i=new Array(n),l=0;l<n;l++)i[l]=arguments[l];return ra(ma(ma(t=da(this,(e=ha(a)).call.apply(e,[this].concat(i))))),"wrappedInstance",(0,u.createRef)()),t}return va(a,t),ca(a,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(e){this.node&&(e.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),e.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),e.collection!==this.props.collection&&(this.unregister(e.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var e=this.props,t=e.collection,a=e.disabled,n=e.index,l=(0,i.findDOMNode)(this);l.sortableInfo={collection:t,disabled:a,index:n,manager:this.context.manager},this.node=l,this.ref={node:l},this.context.manager.add(t,this.ref)}},{key:"unregister",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.collection;this.context.manager.remove(e,this.ref)}},{key:"getWrappedInstance",value:function(){return fa()(l.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call"),this.wrappedInstance.current}},{key:"render",value:function(){var t=l.withRef?this.wrappedInstance:null;return(0,u.createElement)(e,n({ref:t},Ca(this.props,sn)))}}]),a}(u.Component),ra(t,"displayName",Ra("sortableElement",e)),ra(t,"contextType",ln),ra(t,"propTypes",rn),ra(t,"defaultProps",{collection:0}),a}((e=>{let{value:t,key:a,index:l,...r}=e;return(0,i.createElement)("div",n({className:"ugb-sort-control__item"},r),t)}));let cn=!1;const gn=e=>{const t=e.values?e.values.splice(0,e.num):(0,p.range)(e.num).map((e=>e+1));for(;t.length<e.num;)t.push(t.length+1);return(0,i.createElement)(s.BaseControl,{help:e.help,className:m()(["ugb-sort-control",e.className,`ugb-sort-control--axis-${e.axis}`])},(0,i.createElement)(ki,n({label:e.label},(0,p.omit)(e,Object.keys(gn.defaultProps)),{afterButton:e.hasReset?(0,i.createElement)(f,{disabled:!e.values,onClick:()=>e.onChange("",{oldIndex:0,newIndex:0}),isSmall:!0,isSecondary:!0},(0,h.__)("Reset")):null})),(0,i.createElement)(on,{onSortStart:()=>cn=!0,onSortOver:t=>{let{newIndex:a}=t;e.onHover(a)},onSortEnd:a=>{let{oldIndex:n,newIndex:i}=a;cn=!1;const l=((e,t,a)=>(e.splice(t<a?a+1:a,0,e[t]),e.splice(t<a?t:t+1,1),e))(t,n,i);e.onChange(l,{oldIndex:n,newIndex:i})},axis:e.axis},t.map(((t,a)=>(0,i.createElement)(un,{key:a,index:a,value:t,onMouseEnter:()=>{cn||e.onHover(a)},onMouseLeave:()=>{cn||e.onHover(null)}})))))};function mn(e){this.value=e,this.subscribers=[],this.getValue=function(){return this.value},this.setValue=function(e){if(this.getValue()===e)return;this.value=e;const t=this;this.subscribers.forEach((function(e){e(t.value)}))},this.subscribe=function(e){this.subscribers.indexOf(e)>-1||this.subscribers.push(e)},this.unsubscribe=function(e){this.subscribers=this.subscribers.filter((function(t){return t!==e}))}}function dn(e,t){void 0===t&&(t=null);const[,a]=(0,i.useState)(),n=hn.getState(e,t),l=n.getValue();function r(){a({})}return(0,i.useEffect)((function(){return n.subscribe(r),function(){n.unsubscribe(r)}})),[l,function(e){n.setValue(e)}]}gn.defaultProps={className:"",help:"",label:(0,h.__)("Column Arrangement",o.i18n),num:2,axis:"x",values:null,onChange:()=>{},onHover:()=>{},hasReset:!1};const hn=new function(){this.value={},this.init=function(e){for(const t in e)this.setState(t,e[t])},this.getState=function(e,t){return void 0===this.value[e]&&this.setState(e,t),this.value[e]},this.setState=function(e,t){this.value[e]=new mn(t)}},pn=e=>{const{isSelected:t,name:a}=(0,d.useBlockEditContext)(),[n]=dn(`tabCache-${a}`,"style"),[l,r]=dn(`panelCache-${a}-${n}-${e.title}`,e.initialOpen),[u,c]=(0,i.useState)(l),[g,p]=(0,i.useState)(e.initialAdvanced),v=(0,i.useMemo)((()=>parseInt(1e6*Math.random(),10)),[]),b=e.hasToggle&&e.onChange,f=(0,i.useCallback)(((t,a)=>{if(!e.hasToggle||!e.toggleAttributeName||!e.toggleOnSetAttributes.length)return t;if(a.attributes[e.toggleAttributeName])return t;console.warn("[Stackable V3 deprecation warning] toggleOnSetAttributes and toggleAttributeName props of PanelAdvancedSettings are deprecated, use stackable/hooks/useDidAttributesChange instead");let n=!1;return e.toggleOnSetAttributes.some((e=>!(!Object.keys(t).includes(e)||""===t[e]||(n=!0,0)))),n?(e.onChange&&e.onChange(!0),{...t,[e.toggleAttributeName]:!0}):t}),[b,e.toggleAttributeName,e.toggleOnSetAttributes,e.onChange]);(0,i.useEffect)((()=>((0,M.addFilter)("stackable.setAttributes",`stackable/panel-advanced-settings-${v}`,f,9),()=>{(0,M.removeFilter)("stackable.setAttributes",`stackable/panel-advanced-settings-${v}`)})),[]);const y=(0,i.useCallback)((()=>{c(!u),r(!u)}),[u]),k=(0,i.useCallback)((()=>p(!g)),[g]),_=m()([e.className,"ugb-toggle-panel-body"],{"ugb-toggle-panel-body--advanced":g,[`ugb-panel--${e.id}`]:e.id}),w=(0,i.useMemo)((()=>(0,i.createElement)(i.Fragment,null,b&&(0,i.createElement)("span",{className:"editor-panel-toggle-settings__panel-title"},(0,i.createElement)(s.FormToggle,{className:"ugb-toggle-panel-form-toggle",checked:e.checked,onClick:t=>{t.stopPropagation(),t.preventDefault();const a=e.checked;a&&u||a||u||y(),e.onChange&&e.onChange(!a)},"aria-describedby":e.title}),e.title),!b&&e.title)),[y,b,e.checked,e.onChange,e.title]);return(t||!a)&&(0,i.createElement)(s.PanelBody,{className:_,initialOpen:l,onToggle:y,opened:u,title:w},e.children,g&&e.advancedChildren,e.advancedChildren&&(0,i.createElement)("button",{className:"ugb-panel-advanced-button",onClick:k},g?(0,h.__)("Simple",o.i18n):(0,h.__)("Advanced",o.i18n)))};pn.defaultProps={id:"",className:"",title:(0,h.__)("Settings",o.i18n),checked:!1,onChange:null,initialOpen:!1,hasToggle:!0,initialAdvanced:!1,advancedChildren:null,toggleOnSetAttributes:[],toggleAttributeName:""};const vn="v3";let bn=null,fn=[];const yn=async function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(!bn||e){const t=await ve()({path:"/stackable/v2/design_library"+(e?"/reset":""),method:"GET"});bn=await t,e&&((0,M.doAction)("stackable.design-library.reset-cache"),fn=[])}return bn[t||vn]},kn=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(!fn[e]){const a=await ve()({path:`/stackable/v2/design/${t||vn}/${e}`,method:"GET"});fn[e]=await a}return fn[e]},_n=async e=>{let{type:t="",block:a="",mood:n="",plan:i="",colors:l=[],categories:r=[],uikit:s="",search:o="",reset:u=!1,apiVersion:c=""}=e,g=Object.values(await yn(u,c));if(t&&(g=g.filter((e=>{let{type:a}=e;return a===t}))),a){const e=a.replace(/^\w+\//,"");g=g.filter((t=>{let{block:a}=t;return a.endsWith(`/${e}`)}))}return n&&(g=g.filter((e=>{let{mood:t}=e;return t===n}))),i&&(g=g.filter((e=>{let{plan:t}=e;return t===i}))),l&&l.length&&(g=g.filter((e=>{let{colors:t}=e;return t.some((e=>l.includes(e)))}))),r&&r.length&&(g=g.filter((e=>{let{categories:t}=e;return t.some((e=>r.includes(e)))}))),s&&(g=g.filter((e=>{let{uikit:t}=e;return t===s}))),o&&o.toLowerCase().replace(/\s+/," ").trim().split(" ").forEach((e=>{g=g.filter((t=>(0,M.applyFilters)("stackable.design-library.search-properties",["label","plan","tags","categories","colors"],c).some((a=>-1!==t[a].toString().toLowerCase().indexOf(e)))))})),g},wn=e=>{const{designId:t,image:a,label:n,onClick:l,plan:r,isPro:o,apiVersion:u}=e,[c,g]=(0,i.useState)(!1),[d,h]=(0,i.useState)(!1),p=m()(["ugb-design-library-item"],{"ugb--is-busy":c,[`ugb--is-${r}`]:!o&&"free"!==r});return(0,i.createElement)("div",{className:p,onMouseEnter:()=>h(!0),onMouseLeave:()=>h(!1)},c&&(0,i.createElement)("span",{className:"ugb-design-library-item__spinner","data-testid":"spinner"},(0,i.createElement)(s.Spinner,null)),!o&&"free"!==r&&(0,i.createElement)("span",{className:"ugb-design-library-item__premium","data-testid":"premium-tag"},r),(0,i.createElement)("button",{className:"ugb-design-library-item__image",onClick:()=>{(o||"free"===r)&&(g(!0),async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const a=(await yn(!1,t))[e];let n=await(0,M.applyFilters)("stackable.design-library.get-design",null,e,a,t);return!n&&a.template&&(n=await kn(e,t)),n}(t,u).then((e=>{g(!1),l(e)})))}},!o&&"free"!==r&&(0,i.createElement)(s.Dashicon,{icon:"lock"}),(0,i.createElement)("img",{src:a,alt:n,loading:"lazy"})),(0,i.createElement)("footer",null,(o||"free"===r)&&(0,i.createElement)("span",null,n),!o&&"free"!==r&&!d&&(0,i.createElement)("span",null,n),!o&&"free"!==r&&d&&(0,i.createElement)(ft,{buttonClassName:"ugb-design-library-item__premium-link",button:(0,i.createElement)(i.Fragment,null,e.premiumLabel)})))};wn.defaultProps={designId:"",image:"",label:"",onClick:()=>{},plan:"free",isPro:o.isPro,premiumLabel:(0,h.__)("Go Premium",o.i18n),apiVersion:""};const xn=wn,Cn=e=>{const{className:t="",designs:a,isBusy:n,onSelect:l,apiVersion:r}=e,u=m()(["ugb-design-library-items",t],{[`ugb-design-library-items--columns-${e.columns}`]:!n&&e.columns});return(0,i.createElement)("div",{className:u},(a||[]).map(((e,t)=>(0,i.createElement)(xn,{key:t,type:e.type,block:e.block,template:e.template,plan:e.plan,designId:e.id,image:e.image,label:e.label,apiVersion:r,onClick:e=>{l(e)}}))),n&&(0,i.createElement)("div",{className:"ugb-design-library-search__spinner","data-testid":"spinner"},(0,i.createElement)(s.Spinner,null)),!n&&!(a||[]).length&&(0,i.createElement)("p",{className:"components-base-control__help","data-testid":"nothing-found-note"},(0,h.__)("No designs found",o.i18n)))};Cn.defaultProps={designs:[],columns:1,onSelect:()=>{},isBusy:!1,apiVersion:""};const Sn=Cn;a(7385);const En=[{value:"block",title:(0,h.__)("Block",o.i18n),label:(0,h.__)("Block Tab",o.i18n),icon:"block-default"},{value:"style",title:(0,h.__)("Style",o.i18n),label:(0,h.__)("Style Tab",o.i18n),icon:"admin-appearance"},{value:"advanced",title:(0,h.__)("Advanced",o.i18n),label:(0,h.__)("Advanced Tab",o.i18n),icon:"admin-tools"}],Mn=["block","style","advanced"];class Tn extends i.Component{constructor(){super(...arguments),this.tabsToUse=this.props.tabs||Mn,this.state={activeTab:this.props.initialTab?this.props.initialTab:this.tabsToUse[0]},this.onButtonPanelClick=this.onButtonPanelClick.bind(this),this.updateSidebarPanelTab=this.updateSidebarPanelTab.bind(this),this.select=this.select.bind(this),this.containerDiv=(0,i.createRef)(),this.props.onTabFirstOpen(this.state.activeTab)}updateSidebarPanelTab(e){const t=this.containerDiv.current.closest(".components-panel");t&&setTimeout((()=>{var a;t&&(t.setAttribute("data-ugb-tab",e),null===(a=t.closest(".edit-post-sidebar, .edit-widgets-sidebar"))||void 0===a||a.classList.add("ugb--has-panel-tabs"))}),1)}componentDidMount(){this.updateSidebarPanelTab(this.state.activeTab),this.props.closeOtherPanels&&o.settings.stackable_auto_collapse_panels&&document.body.addEventListener("click",this.onButtonPanelClick)}componentWillUnmount(){const e=document.querySelector("[data-ugb-tab]");e&&(e.removeAttribute("data-ugb-tab"),e.closest(".edit-post-sidebar, .edit-widgets-sidebar").classList.remove("ugb--has-panel-tabs")),this.props.closeOtherPanels&&o.settings.stackable_auto_collapse_panels&&document.body.removeEventListener("click",this.onButtonPanelClick)}onButtonPanelClick(e){const t=e.target.closest(".components-panel__body-toggle");var a,n;t&&"layout"!==this.state.activeTab&&(a=t,[].forEach.call((null===(n=document.querySelector(".edit-post-sidebar, .edit-widgets-sidebar"))||void 0===n?void 0:n.querySelectorAll(".components-panel__body .components-panel__body-toggle"))||[],(e=>{0!==e.offsetHeight&&e.parentElement.parentElement.classList.contains("is-opened")&&a!==e&&e.click()})),this.props.onClickPanel(t.closest(".components-panel__body")))}select(e){this.setState({activeTab:e}),this.updateSidebarPanelTab(e),this.props.onClick(e)}render(){const e=m()([this.props.className,"components-panel__body","ugb-panel-tabs"]);return(0,i.createElement)("div",{className:e,style:this.props.style,ref:this.containerDiv},(0,i.createElement)("div",{className:"ugb-panel-tabs__wrapper"},(0,M.applyFilters)("stackable.inspector.tabs",En).map(((e,t)=>{let{value:a,title:n,label:l,icon:r}=e;return this.tabsToUse.includes(a)?(0,i.createElement)("button",{key:t,onClick:()=>this.select(a),className:m()(["edit-post-sidebar__panel-tab",`ugb-tab--${a}`],{"is-active":this.state.activeTab===a}),"aria-label":l,"data-label":l},(0,i.createElement)(s.Icon,{icon:r}),n):null}))))}}Tn.defaultProps={className:"",style:{},closeOtherPanels:!0,initialTab:"",onClickPanel:()=>{},onClick:()=>{},tabs:null,onTabFirstOpen:()=>{}};const Nn=Tn,Bn=e=>{const t=m()(["ugb-global-style-control__item"],{"ugb-global-style-control__item--large-preview":e.largePreview}),a=e.renderPreview&&e.renderPreview((0,p.pick)(e,["label","value"]));return(0,i.createElement)("div",{className:t},a&&(0,i.createElement)("div",{className:"ugb-global-style-control__item-preview"},a),(0,i.createElement)("div",{className:"ugb-global-style-control__item-label"},e.label),(0,i.createElement)(f,{className:"ugb-global-style-control__item-button",onClick:t=>{t.preventDefault(),t.stopPropagation(),e.onEdit(e.value)},label:(0,h.__)("Edit Style",o.i18n),isTertiary:!0,icon:"edit"}))};Bn.defaultProps={largePreview:!1,renderPreview:()=>{},onEdit:()=>{}};(0,h.__)("Style",o.i18n);const In=function(e){let{imageFile:t,imageHoverFile:a,imageWidth:n="",imageHeight:l="",label:r}=e;const s=t?t.match(/https?:/i)?t:o.srcUrl?`${o.srcUrl}/${t}`:t:"",u=a?a.match(/https?:/i)?a:o.srcUrl?`${o.srcUrl}/${a}`:a:null;return(0,i.createElement)("span",{className:"ugb-design-panel-item"},u&&(0,i.createElement)("img",{className:"ugb-design-panel-item__hover-image",src:u,alt:r,width:n,height:l}),s&&(0,i.createElement)("img",{className:"ugb-design-panel-item__image",src:s,alt:r,width:n,height:l}),(0,i.createElement)("span",{className:"design-label"},r))},On=e=>{const t=e.options.filter((e=>!e.premium||o.isPro)).map((e=>({...e,label:(0,i.createElement)(In,{imageFile:e.image,imageHoverFile:e.hoverImage,imageWidth:e.imageWidth,imageHeight:e.imageHeight,isPro:e.isPro,label:e.label}),title:e.label,value:e.value}))),a=m()([e.className,"ugb-design-control-wrapper","components-base-control",`ugb-design-control--columns-${e.columns}`]);return(0,i.createElement)("div",{className:a},e.label&&(0,i.createElement)("div",{className:"components-base-control__label"},e.label),(0,i.createElement)(s.RadioControl,n({},(0,p.omit)(e,["label"]),{className:"ugb-design-control",selected:e.selected,options:t,onChange:e.onChange})))};On.defaultProps={className:"",columns:2,selected:"",options:[],onChange:()=>{}};const Pn=On,Rn=[{image:"dist/images/components-design-separator-control-wave-1.fe7d2e5.png",label:(0,h.sprintf)((0,h._x)("%s %d","Nth Title",o.i18n),(0,h.__)("Wave",o.i18n),1),value:"wave-1"},{image:"dist/images/components-design-separator-control-straight-1.fba0f99.png",label:(0,h.__)("Straight",o.i18n),value:"straight-1"},{image:"dist/images/components-design-separator-control-wave-2.bc3ff78.png",label:(0,h.sprintf)((0,h._x)("%s %d","Nth Title",o.i18n),(0,h.__)("Wave",o.i18n),2),value:"wave-2"},{image:"dist/images/components-design-separator-control-wave-3.9e204d5.png",label:(0,h.sprintf)((0,h._x)("%s %d","Nth Title",o.i18n),(0,h.__)("Wave",o.i18n),3),value:"wave-3"},{image:"dist/images/components-design-separator-control-wave-4.b82e3aa.png",label:(0,h.sprintf)((0,h._x)("%s %d","Nth Title",o.i18n),(0,h.__)("Wave",o.i18n),4),value:"wave-4"},{image:"dist/images/components-design-separator-control-slant-1.645f0b9.png",label:(0,h.sprintf)((0,h._x)("%s %d","Nth Title",o.i18n),(0,h.__)("Slant",o.i18n),1),value:"slant-1"},{image:"dist/images/components-design-separator-control-slant-2.50e3178.png",label:(0,h.sprintf)((0,h._x)("%s %d","Nth Title",o.i18n),(0,h.__)("Slant",o.i18n),2),value:"slant-2"},{image:"dist/images/components-design-separator-control-curve-1.277a020.png",label:(0,h.sprintf)((0,h._x)("%s %d","Nth Title",o.i18n),(0,h.__)("Curve",o.i18n),1),value:"curve-1"},{image:"dist/images/components-design-separator-control-curve-2.4b8c7da.png",label:(0,h.sprintf)((0,h._x)("%s %d","Nth Title",o.i18n),(0,h.__)("Curve",o.i18n),2),value:"curve-2"},{image:"dist/images/components-design-separator-control-curve-3.da5eb6d.png",label:(0,h.sprintf)((0,h._x)("%s %d","Nth Title",o.i18n),(0,h.__)("Curve",o.i18n),3),value:"curve-3"},{image:"dist/images/components-design-separator-control-rounded-1.85d0e25.png",label:(0,h.sprintf)((0,h._x)("%s %d","Nth Title",o.i18n),(0,h.__)("Rounded",o.i18n),1),value:"rounded-1"},{image:"dist/images/components-design-separator-control-rounded-2.6e57ec5.png",label:(0,h.sprintf)((0,h._x)("%s %d","Nth Title",o.i18n),(0,h.__)("Rounded",o.i18n),2),value:"rounded-2"},{image:"dist/images/components-design-separator-control-rounded-3.78cb6da.png",label:(0,h.sprintf)((0,h._x)("%s %d","Nth Title",o.i18n),(0,h.__)("Rounded",o.i18n),3),value:"rounded-3"}];(0,M.addFilter)("stackable.separator.edit.layouts","default",(e=>(0,p.uniqBy)([...e,...Rn],"value")));const Ln=function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 496 512"},e),(0,i.createElement)("path",{fill:"currentColor",d:"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-80-216c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm4 72.6c-20.8 25-51.5 39.4-84 39.4s-63.2-14.3-84-39.4c-8.5-10.2-23.7-11.5-33.8-3.1-10.2 8.5-11.5 23.6-3.1 33.8 30 36 74.1 56.6 120.9 56.6s90.9-20.6 120.9-56.6c8.5-10.2 7.1-25.3-3.1-33.8-10.1-8.4-25.3-7.1-33.8 3.1z"}))},zn=e=>{const[t,a]=(0,i.useState)(!1),[l,r]=(0,i.useState)(!1),s=(0,te.useInstanceId)(zn,"iconControl");return(0,i.createElement)(pr,n({className:`ugb-icon-control ugb-icon-control-${s}`},(0,p.omit)(e,["onChange","value"]),{allowReset:!0,value:e.value,onChange:e.onChange}),(0,i.createElement)("div",{className:"ugb-icon-control__wrapper"},(0,i.createElement)("div",{className:"ugb-icon-control__button-wrapper"},(0,i.createElement)(f,{isSecondary:!0,className:"ugb-icon-control__icon-button",onClick:()=>{l?(a(!1),r(!1)):a(!0)}},e.value&&(0,i.createElement)(dr,{value:e.value}),!e.value&&(0,i.createElement)(Ln,{style:{opacity:.3}})),t&&(0,i.createElement)(qn,{onClickOutside:e=>{e.target&&e.target.closest(`.ugb-icon-control-${s}`)?r(!0):(a(!1),r(!1))},onClose:()=>a(!1),returnSVGValue:e.returnSVGValue,onChange:e.onChange}))))};zn.defaultProps={label:(0,h.__)("Icon",o.i18n),value:"",returnSVGValue:!0,onChange:()=>{}};const An=zn,Dn=function(e){return(0,i.createElement)("svg",n({"aria-hidden":"true","data-prefix":"fas","data-icon":"arrow-alt-to-bottom",className:"drop_svg__svg-inline--fa drop_svg__fa-arrow-alt-to-bottom drop_svg__fa-w-12",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"},e),(0,i.createElement)("path",{fill:"currentColor",d:"M360 480H24c-13.3 0-24-10.7-24-24v-24c0-13.3 10.7-24 24-24h336c13.3 0 24 10.7 24 24v24c0 13.3-10.7 24-24 24zM128 56v136H40.3c-17.8 0-26.7 21.5-14.1 34.1l152.2 152.2c7.5 7.5 19.8 7.5 27.3 0l152.2-152.2c12.6-12.6 3.7-34.1-14.1-34.1H256V56c0-13.3-10.7-24-24-24h-80c-13.3 0-24 10.7-24 24z"}))},Fn=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const a=[...e.membership.free,...t?e.membership.pro.filter((t=>!e.membership.free.includes(t))):[]];return a.map((t=>({className:`fa${t[0]} fa-${e.id}`,prefix:`fa${t[0]}`,iconName:e.id})))};var Hn=a(5112);let jn=null,Un=null;const Vn=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ugb-custom-icon";return e.match(/(<svg[^>]*class=["'])/)?e.replace(/(<svg[^>]*class=["'])/,`$1${t} `):e.match(/(<svg)/)?e.replace(/(<svg)/,`$1 class="${t}"`):e},Gn=e=>{let t=e.replace(/(^[\s\S]*?)(<svg)/gm,"$2").replace(/(<\/svg>)([\s\S]*)/g,"$1");for(let e=0;e<2;e++)t=t.replace(/\s*<g\s*>([\s\S]*?)<\/g>\s*/gm,"$1");return t},$n=e=>{const[t,a]=(0,i.useState)(""),[n,l]=(0,i.useState)([]),[r,u]=(0,i.useState)(!1),[c,g]=(0,i.useState)(!1),d=e.returnSVGValue;(0,i.useEffect)((()=>{let e=!0;return clearTimeout(jn),jn=setTimeout((()=>{e&&(u(!0),async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"icon",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.fontAwesomeSearchProIcons;const a=`{ search(version: "latest", first: 50, query: "${(e||"info").replace(/["'\\]/g,"")}") {\n\t\t\tid\n\t\t\tmembership {\n\t\t\t\tfree\n\t\t\t\t${t?"pro":""}\n\t\t\t}\n\t\t} }`;return(await fetch("https://api.fontawesome.com",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({query:a})}).then((e=>e.json()))).data.search.reduce(((e,a)=>(Fn(a,t).forEach((t=>{e.push(t)})),e)),[])}(t).then((t=>{e&&l(t)})).finally((()=>{e&&u(!1)})))}),500),()=>{e=!1,clearTimeout(jn)}}),[t]),(0,i.useEffect)((()=>{Un||(Un=wp.data.select("core/block-editor").getSettings().mediaUpload),c?wp.data.dispatch("core/block-editor").updateSettings({mediaUpload:null}):wp.data.select("core/block-editor").getSettings().mediaUpload!==Un&&wp.data.dispatch("core/block-editor").updateSettings({mediaUpload:Un})}),[c]);const p=m()(["ugb-icon-popover__label-container"],{"ugb-icon--has-settings":o.isPro,"ugb-icon--has-upload":d,"ugb-icon--has-reset":e.allowReset});return(0,i.createElement)(s.Popover,{className:"ugb-icon-popover",onClose:e.onClose,onClickOutside:e.onClickOutside,position:e.position,anchorRef:e.anchorRef,useRef:e.useRef},(0,i.createElement)(s.PanelBody,null,(0,i.createElement)(Hn.FileDrop,{onFrameDragEnter:()=>g(!0),onFrameDragLeave:()=>g(!1),onFrameDrop:()=>g(!1),onDrop:t=>{if(!d||!t.length)return void g(!1);if("image/svg+xml"!==t[0].type)return void g(!1);const a=new FileReader;a.onload=function(t){g(!1);const a=Gn(Vn(t.target.result));e.onChange(a),e.onClose()},a.readAsText(t[0])}},(0,i.createElement)("div",{className:p},(0,i.createElement)(s.TextControl,{className:"ugb-icon-popover__input",value:t,onChange:a,placeholder:(0,h.__)("Type to search icon",o.i18n)}),o.isPro&&(0,i.createElement)(f,{className:"ugb-icon-popover__settings-button",icon:"admin-generic",href:o.settingsUrl+"#icon-settings",target:"_settings",iconSize:"16",label:(0,h.__)("Icon Settings",o.i18n),showTooltip:!0,isSmall:!0,isSecondary:!0}),d&&(0,i.createElement)(f,{onClick:t=>{t.preventDefault();const a=document.createElement("input");a.accept="image/svg+xml",a.type="file",a.onchange=t=>{const a=t.target.files;if(!a.length)return void g(!1);const n=new FileReader;n.onload=function(t){g(!1);const a=Gn(Vn(t.target.result));e.onChange(a),e.onClose()},n.readAsText(a[0])},a.click()},isSmall:!0,isPrimary:!0,className:"components-range-control__upload"},(0,h.__)("Upload SVG",o.i18n)),e.allowReset&&(0,i.createElement)(f,{onClick:()=>{e.onChange(""),e.onClose()},isSmall:!0,isSecondary:!0,className:"components-range-control__reset"},(0,h.__)("Clear icon",o.i18n))),(0,i.createElement)("div",{className:"ugb-icon-popover__iconlist"},r&&(0,i.createElement)(s.Spinner,null),!r&&n.map(((t,a)=>{let{prefix:n,iconName:l}=t;const r=`${n}-${l}`;return(0,i.createElement)("button",{key:a,className:`components-button ugb-prefix--${n} ugb-icon--${l}`,onClick:()=>{e.returnSVGValue?e.onChange(Gn(de(n,l))):e.onChange(r,n,l),e.onClose()}},(0,i.createElement)(cr,{prefix:n,iconName:l}))})),!r&&!n.length&&(0,i.createElement)("p",{className:"components-base-control__help"},(0,h.__)("No matches found",o.i18n))),d&&c&&(0,i.createElement)("div",{className:"ugb-icon-popover__drop-indicator"},(0,i.createElement)(Dn,{height:"40",width:"40"}),(0,h.__)("Drop your SVG here",o.i18n)))))};$n.defaultProps={onChange:()=>{},onClose:()=>{},onClickOutside:()=>{},returnSVGValue:!0,allowReset:!0,anchorRef:void 0,position:"center"};const qn=$n,Wn=e=>{let t=e.color||"transparent";if(Array.isArray(t)){const[e,a]=t;t=`linear-gradient(90deg, ${e||"transparent"}, ${a||"transparent"})`}const a=m()(["components-circular-option-picker__option-wrapper","ugb-button-icon-popover-control-color-preview"],{"ugb-button-icon-popover-control-color-preview--transparent":!t||"transparent"===t});return(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{className:a},(0,i.createElement)(f,{className:"components-circular-option-picker__option",label:(0,h.__)("Selected color",o.i18n),style:{background:t},onClick:e.onClick,ref:e._ref}),e.children))};Wn.defaultProps={color:"",onClick:()=>{},_ref:null};const Kn=Wn,Jn=function(e){return(0,i.createElement)("svg",n({viewBox:"0 0 512 376",xmlns:"http://www.w3.org/2000/svg"},e),(0,i.createElement)("path",{d:"M0 0v376h512V0H0zm480 344H32V32h448v312z"}),(0,i.createElement)("circle",{cx:409.1,cy:102.9,r:40.9}),(0,i.createElement)("path",{d:"M480 344H32l86.3-164.2 21.7 11.3 49-77.3 100 113.1 8.9-9.3 17.1 22.3 26-46.4 52.9 71.2 15.1-15.9z"}))},Yn=e=>(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{className:"components-circular-option-picker__option-wrapper ugb-button-icon-popover-control-image-preview"},(0,i.createElement)(f,{className:"components-circular-option-picker__option",label:(0,h.__)("Selected image",o.i18n),style:{backgroundImage:e.imageUrl?`url(${e.imageUrl})`:void 0},onClick:e.onClick,ref:e._ref},!e.imageUrl&&(0,i.createElement)(Jn,null)),e.children));Yn.defaultProps={imageUrl:"",onClick:()=>{},_ref:null};const Xn=Yn;let Qn=1;class Zn extends i.Component{constructor(){super(...arguments),this.state={open:!1,isMouseOutside:!1,showResetPopover:!1},this.handleOpen=this.handleOpen.bind(this),this.handleClose=this.handleClose.bind(this),this.handleMouseLeave=this.handleMouseLeave.bind(this),this.handleMouseEnter=this.handleMouseEnter.bind(this),this.handleOnClickOutside=this.handleOnClickOutside.bind(this),this.handleReset=this.handleReset.bind(this),this.buttonRef=(0,i.createRef)(),this.buttonRefColorPreview=(0,i.createRef)(),this.buttonRefImagePreview=(0,i.createRef)(),this.instanceId=Qn++}checkIfAttributeShouldToggleOn(e,t){if(!this.props.onToggle||!this.props.toggleAttributeName||!this.props.toggleOnSetAttributes.length)return e;if(t.attributes[this.props.toggleAttributeName])return e;let a=!1;return this.props.toggleOnSetAttributes.some((t=>!(!Object.keys(e).includes(t)||""===e[t]||(a=!0,0)))),a?{...e,[this.props.toggleAttributeName]:!0}:e}componentDidMount(){(0,M.addFilter)("stackable.setAttributes",`stackable/button-icon-popover-control-${this.instanceId}`,this.checkIfAttributeShouldToggleOn.bind(this),9),document.addEventListener("mousedown",this.handleOnClickOutside)}componentWillUnmount(){(0,M.removeFilter)("stackable.setAttributes",`stackable/button-icon-popover-control-${this.instanceId}`),document.removeEventListener("mousedown",this.handleOnClickOutside)}handleOpen(){this.setState({open:!this.state.open})}handleClose(){this.setState({open:!1})}handleMouseLeave(){this.setState({isMouseOutside:!0})}handleMouseEnter(){this.setState({isMouseOutside:!1})}handleReset(){this.props.resetPopoverTitle||this.props.resetPopoverDescription?this.setState({showResetPopover:!0}):this.props.onReset()}handleOnClickOutside(e){var t,a,n,i;null!==(t=window.wp)&&void 0!==t&&null!==(a=t.media)&&void 0!==a&&null!==(n=a.frame)&&void 0!==n&&null!==(i=n.el)&&void 0!==i&&i.clientHeight||this.state.isMouseOutside&&e.target.closest("button")!==this.buttonRef.current&&e.target.closest("button")!==this.buttonRefColorPreview.current&&e.target.closest("button")!==this.buttonRefImagePreview.current&&(e.target.closest(".ugb-button-icon-control__popover")||this.handleClose())}render(){return(0,i.createElement)(pr,{help:this.props.help,label:!this.props.onToggle&&(0,i.createElement)("label",{htmlFor:`ugb-button-icon-control__edit-${this.instanceId}`},this.props.label),id:"ugb-button-icon-control",className:m()("ugb-button-icon-control",this.props.className),allowReset:!0,showReset:this.props.allowReset||!!this.props.onToggle&&this.props.checked,onReset:()=>{this.props.onReset(),this.props.onToggle&&this.props.onToggle(!1)},hasLabel:!this.props.onToggle},this.props.onToggle&&(0,i.createElement)(s.ToggleControl,{label:this.props.label,checked:this.props.checked,onChange:this.props.onToggle}),(0,i.createElement)("div",{className:"ugb-button-icon-control__wrapper"},this.props.hasImagePreview&&(0,i.createElement)(Xn,{imageUrl:this.props.imageUrlPreview,onClick:this.handleOpen,_ref:this.buttonRefImagePreview}),this.props.hasColorPreview&&(0,i.createElement)(Kn,{color:this.props.colorPreview,onClick:this.handleOpen,_ref:this.buttonRefColorPreview}),this.props.renderCustomPreview&&this.props.renderCustomPreview(),(0,i.createElement)(f,{onClick:this.handleOpen,className:"ugb-button-icon-control__edit",label:(0,h.__)("Edit",o.i18n),isSecondary:!0,icon:"edit",id:`ugb-button-icon-control__edit-${this.instanceId}`,ref:this.buttonRef}),this.state.open&&(0,i.createElement)(s.Popover,{className:"ugb-button-icon-control__popover",focusOnMount:"container",anchorRef:this.buttonRef.current,onMouseLeave:this.handleMouseLeave,onMouseEnter:this.handleMouseEnter},(0,i.createElement)(s.PanelBody,null,(void 0!==this.props.popoverLabel?this.props.popoverLabel:this.props.label)&&(0,i.createElement)("h2",{className:"components-panel__body-title"},this.props.popoverLabel||this.props.label),this.props.children))))}}Zn.defaultProps={help:"",label:"",popoverLabel:void 0,className:"",allowReset:!1,onReset:()=>{},checked:!1,onToggle:void 0,toggleOnSetAttributes:[],toggleAttributeName:"",colorPreview:null,imageUrlPreview:"",hasColorPreview:!1,hasImagePreview:!1,renderCustomPreview:null};const ei=Zn,ti=e=>{const t=q(e.imageData,e.size||"full");let a=e.widthMax||1e3,n=0;e.imageData&&e.onChangeSize&&t&&(a=t.width,n=t.height);const l=!!t&&t.width===t.height;return(0,i.createElement)(i.Fragment,null,e.onChangeImage&&(0,i.createElement)(Je,{label:(0,h.__)("Image",o.i18n),imageID:e.id,imageURL:e.url,onRemove:()=>e.onChangeImage({url:"",id:"",width:"",height:""}),onChange:t=>{let{url:a,width:n,height:i}=t;const l=e.size||"full";t.sizes[l]&&(a=t.sizes[l].url,n=t.sizes[l].width,i=t.sizes[l].height),e.onChangeImage({id:t.id,url:a,width:n,height:i})}}),e.onChangeShape&&(0,i.createElement)(tt,{isSquareImage:l,shape:e.shape,shapeFlipX:e.shapeFlipX,shapeFlipY:e.shapeFlipY,shapeStretch:e.shapeStretch,onChangeShape:e.onChangeShape,onChangeShapeFlipX:e.onChangeShapeFlipX,onChangeShapeFlipY:e.onChangeShapeFlipY,onChangeShapeStretch:e.onChangeShapeStretch}),(0,i.createElement)(rr,null),e.onChangeAlt&&(0,i.createElement)(Xe,{value:e.alt,onChange:e.onChangeAlt}),e.onChangeSize&&(0,i.createElement)(nt,{label:(0,h.__)("Image Size",o.i18n),value:e.size,onChange:t=>{const a=q(e.imageData,t||"full");let n="",i="",l=e.url;a&&(n=a.width,i=a.height,l=a.source_url),e.onChangeSize(t,l,n,i)}}),e.onChangeWidth&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(Il,null,(0,i.createElement)(ut,{label:(0,h.__)("Image Width",o.i18n),value:e.width,placeholder:e.placeholder,max:a,min:0,onChange:t=>{const i=n/a;e.onChangeWidth("number"==typeof t?t:"","number"==typeof t?parseInt(i*t,10):"")},allowReset:!0,className:"ugb--help-tip-image-size-no-crop"})),(0,i.createElement)(Il,{screen:"tablet"},(0,i.createElement)(ut,{label:(0,h.__)("Image Width",o.i18n),value:e.tabletWidth,max:a,min:0,onChange:e.onChangeTabletWidth,allowReset:!0,className:"ugb--help-tip-image-size-no-crop"})),(0,i.createElement)(Il,{screen:"mobile"},(0,i.createElement)(ut,{label:(0,h.__)("Image Width",o.i18n),value:e.mobileWidth,max:a,min:0,onChange:e.onChangeMobileWidth,allowReset:!0,className:"ugb--help-tip-image-size-no-crop"}))),e.onChangeSquare&&(0,i.createElement)(i.Fragment,null,("number"==typeof e.width||e.width)&&(0,i.createElement)(Il,null,(0,i.createElement)(br,{label:(0,h.__)("Force square image",o.i18n),checked:e.square,onChange:e.onChangeSquare,className:"ugb--help-tip-image-square"})),("number"==typeof e.tabletWidth||e.tabletWidth)&&(0,i.createElement)(Il,{screen:"tablet"},(0,i.createElement)(br,{label:(0,h.__)("Force square image",o.i18n),checked:e.tabletSquare,onChange:e.onChangeTabletSquare,className:"ugb--help-tip-image-square"})),("number"==typeof e.mobileWidth||e.mobileWidth)&&(0,i.createElement)(Il,{screen:"mobile"},(0,i.createElement)(br,{label:(0,h.__)("Force square image",o.i18n),checked:e.mobileSquare,onChange:e.onChangeMobileSquare,className:"ugb--help-tip-image-square",defaultValue:!0}))),e.onChangeBorderRadius&&""===e.shape&&(0,i.createElement)(ut,{label:(0,h.__)("Border Radius",o.i18n),value:e.borderRadius,onChange:e.onChangeBorderRadius,min:0,max:100,allowReset:!0,placeholder:"0",className:"ugb--help-tip-image-border-radius"}),e.onChangeShadow&&""===e.shape&&(0,i.createElement)(ut,{label:(0,h.__)("Shadow / Outline",o.i18n),value:e.shadow,onChange:e.onChangeShadow,min:0,max:9,allowReset:!0,placeholder:"0",className:"ugb--help-tip-image-shadow"}),e.onChangeBlendMode&&(0,i.createElement)(qe,{label:(0,h.__)("Blend Mode",o.i18n),value:e.blendMode,onChange:e.onChangeBlendMode}))};ti.defaultProps={id:"",url:"",onChangeImage:e=>{let{url:t,id:a,width:n,height:i}=e},shape:"",onChangeShape:()=>{},shapeStretch:"",onChangeShapeStretch:()=>{},alt:"",onChangeAlt:()=>{},size:"large",onChangeSize:()=>{},widthMax:1e3,width:"",tabletWidth:"",mobileWidth:"",onChangeWidth:()=>{},onChangeTabletWidth:()=>{},onChangeMobileWidth:()=>{},square:"",tabletSquare:"",mobileSquare:"",onChangeSquare:()=>{},onChangeTabletSquare:()=>{},onChangeMobileSquare:()=>{},borderRadius:"",onChangeBorderRadius:()=>{},shadow:"",onChangeShadow:()=>{},blendMode:"",onChangeBlendMode:()=>{}};(0,te.compose)((0,x.withSelect)(((e,t)=>{const{getMedia:a}=e("core");return W(t.id,e),{imageData:t.id?a(t.id):null}})))(ti);const ai=e=>(0,i.createElement)(i.Fragment,null,e.onChangeImage&&(0,i.createElement)(Je,{label:(0,h.__)("Image",o.i18n),imageID:e.id,imageURL:e.url,onRemove:()=>e.onChangeImage({url:"",id:""}),onChange:t=>{let{url:a}=t;const n=e.size||"full";t.sizes[n]&&(a=t.sizes[n].url),e.onChangeImage({id:t.id,url:a})}}),e.onChangeSize&&(0,i.createElement)(nt,{label:(0,h.__)("Image Size",o.i18n),value:e.size,onChange:t=>{e.onChangeSize(t,function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"full";const a=K(e)||W(e,x.select);return a?a.media_details.sizes[t]?a.media_details.sizes[t].source_url:a.source_url:""}(e.id,t||"full"))},className:"ugb--help-tip-image-size"}),e.onChangeBackgroundPosition&&(0,i.createElement)(gt,{label:(0,h.__)("Background Image Position",o.i18n),options:[{label:(0,h.__)("Default",o.i18n),value:""},{label:(0,h.__)("Top Left",o.i18n),value:"top left"},{label:(0,h.__)("Top Center",o.i18n),value:"top center"},{label:(0,h.__)("Top Right",o.i18n),value:"top right"},{label:(0,h.__)("Center Left",o.i18n),value:"center left"},{label:(0,h.__)("Center Center",o.i18n),value:"center center"},{label:(0,h.__)("Center Right",o.i18n),value:"center right"},{label:(0,h.__)("Bottom Left",o.i18n),value:"bottom left"},{label:(0,h.__)("Bottom Center",o.i18n),value:"bottom center"},{label:(0,h.__)("Bottom Right",o.i18n),value:"bottom right"}],value:e.backgroundPosition,onChange:e.onChangeBackgroundPosition,className:"ugb--help-tip-background-image-position"}),e.onChangeBackgroundRepeat&&(0,i.createElement)(gt,{label:(0,h.__)("Background Image Repeat",o.i18n),options:[{label:(0,h.__)("Default",o.i18n),value:""},{label:(0,h.__)("No-Repeat",o.i18n),value:"no-repeat"},{label:(0,h.__)("Repeat",o.i18n),value:"repeat"},{label:(0,h.__)("Repeat-X",o.i18n),value:"repeat-x"},{label:(0,h.__)("Repeat-Y",o.i18n),value:"repeat-y"}],value:e.backgroundRepeat,onChange:e.onChangeBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"}),e.onChangeBackgroundSize&&(0,i.createElement)(gt,{label:(0,h.__)("Background Image Size",o.i18n),options:[{label:(0,h.__)("Default",o.i18n),value:""},{label:(0,h.__)("Auto",o.i18n),value:"auto"},{label:(0,h.__)("Cover",o.i18n),value:"cover"},{label:(0,h.__)("Contain",o.i18n),value:"contain"},{label:(0,h.__)("Custom",o.i18n),value:"custom"}],value:e.backgroundSize,onChange:e.onChangeBackgroundSize,className:"ugb--help-tip-background-image-size"}),e.onChangeBackgroundSize&&"custom"===e.backgroundSize&&(0,i.createElement)(ut,{label:(0,h.__)("Custom Size",o.i18n),units:["px","%"],min:[0,0],max:[1e3,100],unit:e.backgroundCustomSizeUnit,onChangeUnit:e.onChangeBackgroundCustomSizeUnit,value:e.backgroundCustomSize,onChange:e.onChangeBackgroundCustomSize,allowReset:!0}));ai.defaultProps={id:"",url:"",onChangeImage:e=>{let{url:t,id:a}=e},size:"",onChangeSize:()=>{},backgroundPosition:"",onChangeBackgroundPosition:()=>{},backgroundRepeat:"",onChangeBackgroundRepeat:()=>{},backgroundSize:"",onChangeBackgroundSize:()=>{},backgroundCustomSizeUnit:"",onChangeBackgroundCustomSizeUnit:()=>{},backgroundCustomSize:"",onChangeBackgroundCustomSize:()=>{}};(0,te.compose)((0,x.withSelect)(((e,t)=>{const{getMedia:a}=e("core");return W(t.id,e),{imageData:t.id?a(t.id):null}})))(ai);const ni=e=>{const t=(0,i.useMemo)((()=>"function"==typeof e.placeholder?e.fontSize||Math.round(e.placeholder(G(e.htmlTag,!0))):e.fontSize||e.placeholder||G(e.htmlTag,!0)),[e.htmlTag,e.fontSize]);return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(ei,{label:e.label,popoverLabel:e.popoverLabel,onReset:e.onReset,allowReset:e.fontFamily||e.fontSize||e.tabletFontSize||e.mobileFontSize||e.fontWeight||e.textTransform||e.lineHeight||e.tabletLineHeight||e.mobileLineHeight||e.letterSpacing,resetPopoverTitle:e.resetPopoverTitle,resetPopoverDescription:e.resetPopoverDescription,className:e.className,help:e.help},e.onChangeFontFamily&&(0,i.createElement)(aa,{label:(0,h.__)("Font Family",o.i18n),onChange:e.onChangeFontFamily,value:e.fontFamily,className:"ugb--help-tip-typography-family"}),e.onChangeFontSize&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(Il,null,(0,i.createElement)(Zt,n({label:(0,h.__)("Size",o.i18n),onChange:e.onChangeFontSize,value:e.fontSize,allowReset:!0,unit:e.fontSizeUnit,onChangeUnit:e.onChangeFontSizeUnit},e.fontSizeProps,{placeholder:t,className:"ugb--help-tip-typography-size"}))),(0,i.createElement)(Il,{screen:"tablet"},(0,i.createElement)(Zt,n({label:(0,h.__)("Size",o.i18n),onChange:e.onChangeTabletFontSize,value:e.tabletFontSize,allowReset:!0,unit:e.tabletFontSizeUnit,onChangeUnit:e.onChangeTabletFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"}))),(0,i.createElement)(Il,{screen:"mobile"},(0,i.createElement)(Zt,n({label:(0,h.__)("Size",o.i18n),onChange:e.onChangeMobileFontSize,value:e.mobileFontSize,allowReset:!0,unit:e.mobileFontSizeUnit,onChangeUnit:e.onChangeMobileFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"})))),e.onChangeFontWeight&&(0,i.createElement)(gt,{label:(0,h.__)("Weight",o.i18n),options:[{label:"100",value:"100"},{label:"200",value:"200"},{label:"300",value:"300"},{label:"400",value:"400"},{label:"500",value:"500"},{label:"600",value:"600"},{label:"700",value:"700"},{label:"800",value:"800"},{label:"900",value:"900"},{label:(0,h.__)("Default",o.i18n),value:""},{label:(0,h.__)("Normal",o.i18n),value:"normal"},{label:(0,h.__)("Bold",o.i18n),value:"bold"}],onChange:e.onChangeFontWeight,value:e.fontWeight,className:"ugb--help-tip-typography-weight"}),e.onChangeTextTransform&&(0,i.createElement)(gt,{label:(0,h.__)("Transform",o.i18n),options:[{label:(0,h.__)("Default",o.i18n),value:""},{label:(0,h.__)("Uppercase",o.i18n),value:"uppercase"},{label:(0,h.__)("Lowercase",o.i18n),value:"lowercase"},{label:(0,h.__)("Capitalize",o.i18n),value:"capitalize"},{label:(0,h.__)("None",o.i18n),value:"none"}],onChange:e.onChangeTextTransform,value:e.textTransform,className:"ugb--help-tip-typography-transform"}),e.onChangeLineHeight&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(Il,null,(0,i.createElement)(ut,{label:(0,h.__)("Line-Height",o.i18n),units:e.lineHeightUnits,min:[1,.1],max:[100,10],step:[1,.1],placeholder:[30,1.5],allowReset:!0,value:e.lineHeight,onChange:e.onChangeLineHeight,unit:e.lineHeightUnit,onChangeUnit:e.onChangeLineHeightUnit,initialPosition:[37,1.8],className:"ugb--help-tip-typography-line-height"})),(0,i.createElement)(Il,{screen:"tablet"},(0,i.createElement)(ut,{label:(0,h.__)("Line-Height",o.i18n),units:["px","em"],min:[1,.1],max:[100,10],step:[1,.1],placeholder:[30,1.5],allowReset:!0,value:e.tabletLineHeight,onChange:e.onChangeTabletLineHeight,unit:e.tabletLineHeightUnit,onChangeUnit:e.onChangeTabletLineHeightUnit,initialPosition:[37,1.8],className:"ugb--help-tip-typography-line-height"})),(0,i.createElement)(Il,{screen:"mobile"},(0,i.createElement)(ut,{label:(0,h.__)("Line-Height",o.i18n),units:["px","em"],min:[1,.1],max:[100,10],step:[1,.1],placeholder:[30,1.5],allowReset:!0,value:e.mobileLineHeight,onChange:e.onChangeMobileLineHeight,unit:e.mobileLineHeightUnit,onChangeUnit:e.onChangeMobileLineHeightUnit,initialPosition:[37,1.8],className:"ugb--help-tip-typography-line-height"}))),e.onChangeLetterSpacing&&(0,i.createElement)(ut,{label:(0,h.__)("Letter Spacing",o.i18n),min:-5,max:10,step:.1,allowReset:!0,onChange:e.onChangeLetterSpacing,value:e.letterSpacing,placeholder:"0",className:"ugb--help-tip-typography-letter-spacing"})),e.showSecondFontSize&&e.onChangeFontSize&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(Il,null,(0,i.createElement)(Zt,n({label:(0,h.__)("Size",o.i18n),onChange:e.onChangeFontSize,value:e.fontSize,allowReset:!0,unit:e.fontSizeUnit,onChangeUnit:e.onChangeFontSizeUnit},e.fontSizeProps,{placeholder:t,className:"ugb--help-tip-typography-size"}))),(0,i.createElement)(Il,{screen:"tablet"},(0,i.createElement)(Zt,n({label:(0,h.__)("Size",o.i18n),onChange:e.onChangeTabletFontSize,value:e.tabletFontSize,allowReset:!0,unit:e.tabletFontSizeUnit,onChangeUnit:e.onChangeTabletFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"}))),(0,i.createElement)(Il,{screen:"mobile"},(0,i.createElement)(Zt,n({label:(0,h.__)("Size",o.i18n),onChange:e.onChangeMobileFontSize,value:e.mobileFontSize,allowReset:!0,unit:e.mobileFontSizeUnit,onChangeUnit:e.onChangeMobileFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"})))))};ni.defaultProps={label:(0,h.__)("Typography",o.i18n),popoverLabel:void 0,className:"ugb--help-tip-typography",showSecondFontSize:!0,fontFamily:"",fontSize:"",tabletFontSize:"",mobileFontSize:"",fontSizeUnit:"px",tabletFontSizeUnit:"px",mobileFontSizeUnit:"px",fontWeight:"",textTransform:"",lineHeight:"",tabletLineHeight:"",mobileLineHeight:"",lineHeightUnit:"em",lineHeightUnits:["px","em"],tabletLineHeightUnit:"em",mobileLineHeightUnit:"em",letterSpacing:"",fontSizeProps:{},resetPopoverTitle:"",resetPopoverDescription:"",placeholder:"",htmlTag:"p",onReset:()=>{},onChangeFontFamily:()=>{},onChangeFontSize:()=>{},onChangeTabletFontSize:()=>{},onChangeMobileFontSize:()=>{},onChangeFontSizeUnit:()=>{},onChangeTabletFontSizeUnit:()=>{},onChangeMobileFontSizeUnit:()=>{},onChangeFontWeight:()=>{},onChangeTextTransform:()=>{},onChangeLineHeight:()=>{},onChangeTabletLineHeight:()=>{},onChangeMobileLineHeight:()=>{},onChangeLineHeightUnit:()=>{},onChangeTabletLineHeightUnit:()=>{},onChangeMobileLineHeightUnit:()=>{},onChangeLetterSpacing:()=>{}};const ii=ni,li=e=>{const{setAttributes:t}=e,a=t=>(0,p.camelCase)((0,h.sprintf)(e.attrNameTemplate,t));return(0,i.createElement)(ii,n({fontFamily:e.blockAttributes[a("FontFamily")]||"",fontSize:e.blockAttributes[a("FontSize")]||"",tabletFontSize:e.blockAttributes[a("TabletFontSize")]||"",mobileFontSize:e.blockAttributes[a("MobileFontSize")]||"",fontSizeUnit:e.blockAttributes[a("FontSizeUnit")]||"px",tabletFontSizeUnit:e.blockAttributes[a("TabletFontSizeUnit")]||"px",mobileFontSizeUnit:e.blockAttributes[a("MobileFontSizeUnit")]||"px",fontWeight:e.blockAttributes[a("FontWeight")]||"",textTransform:e.blockAttributes[a("TextTransform")]||"",letterSpacing:e.blockAttributes[a("LetterSpacing")]||"",lineHeight:e.blockAttributes[a("LineHeight")]||"",tabletLineHeight:e.blockAttributes[a("TabletLineHeight")]||"",mobileLineHeight:e.blockAttributes[a("MobileLineHeight")]||"",lineHeightUnit:e.blockAttributes[a("LineHeightUnit")]||"em",tabletLineHeightUnit:e.blockAttributes[a("TabletLineHeightUnit")]||"em",mobileLineHeightUnit:e.blockAttributes[a("MobileLineHeightUnit")]||"em",onChangeFontFamily:e=>t({[a("FontFamily")]:e}),onChangeFontSize:e=>t({[a("FontSize")]:e}),onChangeTabletFontSize:e=>t({[a("TabletFontSize")]:e}),onChangeMobileFontSize:e=>t({[a("MobileFontSize")]:e}),onChangeFontSizeUnit:e=>t({[a("FontSizeUnit")]:e}),onChangeTabletFontSizeUnit:e=>t({[a("TabletFontSizeUnit")]:e}),onChangeMobileFontSizeUnit:e=>t({[a("MobileFontSizeUnit")]:e}),onChangeFontWeight:e=>t({[a("FontWeight")]:e}),onChangeTextTransform:e=>t({[a("TextTransform")]:e}),onChangeLetterSpacing:e=>t({[a("LetterSpacing")]:e}),onChangeLineHeight:e=>t({[a("LineHeight")]:e}),onChangeTabletLineHeight:e=>t({[a("TabletLineHeight")]:e}),onChangeMobileLineHeight:e=>t({[a("MobileLineHeight")]:e}),onChangeLineHeightUnit:e=>t({[a("LineHeightUnit")]:e}),onChangeTabletLineHeightUnit:e=>t({[a("TabletLineHeightUnit")]:e}),onChangeMobileLineHeightUnit:e=>t({[a("MobileLineHeightUnit")]:e}),onReset:()=>{t({[a("FontFamily")]:"",[a("FontSize")]:"",[a("TabletFontSize")]:"",[a("MobileFontSize")]:"",[a("FontSizeUnit")]:"px",[a("TabletFontSizeUnit")]:"px",[a("MobileFontSizeUnit")]:"px",[a("FontWeight")]:"",[a("TextTransform")]:"",[a("LetterSpacing")]:"",[a("LineHeight")]:"",[a("TabletLineHeight")]:"",[a("MobileLineHeight")]:"",[a("LineHeightUnit")]:"em",[a("TabletLineHeightUnit")]:"em",[a("MobileLineHeightUnit")]:"em"})}},e))};li.defaultProps={attrNameTemplate:"%s",setAttributes:()=>{},blockAttributes:{}};const ri=li,si=e=>(0,i.createElement)(i.Fragment,null,e.onChangeBackgroundColorType&&(0,i.createElement)(s.BaseControl,{id:"ugb-background-color-type",className:"ugb--help-tip-background-color-type"},(0,i.createElement)(Xt,{controls:[{value:"",title:(0,h.__)("Single",o.i18n)},{value:"gradient",title:(0,h.__)("Gradient",o.i18n)}],value:e.backgroundColorType,onChange:e.onChangeBackgroundColorType,fullwidth:!1,isSmall:!0})),e.onChangeBackgroundColor&&(0,i.createElement)(Ge,{label:e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType?(0,h.sprintf)((0,h._x)("%s #%d","Panel title",o.i18n),e.labelBackgroundColor,1):e.labelBackgroundColor,value:e.backgroundColor,onChange:e.onChangeBackgroundColor}),e.onChangeBackgroundColorOpacity&&"gradient"!==e.backgroundColorType&&!e.backgroundMediaURL&&!e.tabletBackgroundMediaURL&&!e.mobileBackgroundMediaURL&&(0,i.createElement)(ut,{label:(0,h.__)("Background Color Opacity",o.i18n),value:e.backgroundColorOpacity,onChange:e.onChangeBackgroundColorOpacity,min:0,max:1,step:.1,allowReset:!0,placeholder:"1.0",className:"ugb--help-tip-background-color-opacity"}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&(0,i.createElement)(Ge,{label:(0,h.sprintf)((0,h._x)("%s #%d","Panel title",o.i18n),e.labelBackgroundColor,2),value:e.backgroundColor2,onChange:e.onChangeBackgroundColor2}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&e.hasAdvancedGradient&&(0,i.createElement)(ei,{label:(0,h.__)("Adv. Gradient Color Settings",o.i18n),onReset:e.onResetAdvancedGradient,allowReset:""!==e.backgroundGradientDirection&&90!==e.backgroundGradientDirection||""!==e.backgroundGradientLocation1&&0!==e.backgroundGradientLocation1||""!==e.backgroundGradientLocation2&&100!==e.backgroundGradientLocation2||e.backgroundGradientBlendMode},e.onChangeBackgroundGradientDirection&&(0,i.createElement)(ut,{label:(0,h.__)("Gradient Direction (degrees)",o.i18n),value:e.backgroundGradientDirection,onChange:e.onChangeBackgroundGradientDirection,min:0,max:360,step:10,allowReset:!0,placeholder:"90",className:"ugb--help-tip-gradient-direction"}),e.onChangeBackgroundGradientLocation1&&(0,i.createElement)(ut,{label:(0,h.sprintf)((0,h.__)("Color %d Location",o.i18n),1),value:e.backgroundGradientLocation1,onChange:e.onChangeBackgroundGradientLocation1,min:0,max:100,step:1,allowReset:!0,placeholder:"0",className:"ugb--help-tip-gradient-location"}),e.onChangeBackgroundGradientLocation2&&(0,i.createElement)(ut,{label:(0,h.sprintf)((0,h.__)("Color %d Location",o.i18n),2),value:e.backgroundGradientLocation2,onChange:e.onChangeBackgroundGradientLocation2,min:0,max:100,step:1,allowReset:!0,placeholder:"100",className:"ugb--help-tip-gradient-location"}),e.onChangeBackgroundGradientBlendMode&&(0,i.createElement)(qe,{label:(0,h.__)("Background Gradient Blend Mode",o.i18n),value:e.backgroundGradientBlendMode,onChange:e.onChangeBackgroundGradientBlendMode,className:"ugb--help-tip-background-blend-mode"})),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&e.hasAdvancedGradient&&e.onChangeBackgroundMedia&&(0,i.createElement)(rr,null),e.onChangeBackgroundMedia&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(Il,null,(0,i.createElement)(Je,{label:e.backgroundMediaAllowVideo?(0,h.__)("Background Image or Video",o.i18n):(0,h.__)("Background Image",o.i18n),help:e.backgroundMediaAllowVideo?(0,h.__)("Use .mp4 format for videos",o.i18n):"",onRemove:()=>e.onChangeBackgroundMedia({url:"",id:""}),onChange:e.onChangeBackgroundMedia,imageID:e.backgroundMediaID,imageURL:e.backgroundMediaURL,allowedTypes:e.backgroundMediaAllowVideo?["image","video"]:["image"]})),(0,i.createElement)(Il,{screen:"tablet"},(0,i.createElement)(Je,{label:e.backgroundMediaAllowVideo?(0,h.__)("Background Image or Video",o.i18n):(0,h.__)("Background Image",o.i18n),help:e.backgroundMediaAllowVideo?(0,h.__)("Use .mp4 format for videos",o.i18n):"",onRemove:()=>e.onChangeTabletBackgroundMedia({url:"",id:""}),onChange:e.onChangeTabletBackgroundMedia,imageID:e.tabletBackgroundMediaID,imageURL:e.tabletBackgroundMediaURL,allowedTypes:e.backgroundMediaAllowVideo?["image","video"]:["image"]})),(0,i.createElement)(Il,{screen:"mobile"},(0,i.createElement)(Je,{label:e.backgroundMediaAllowVideo?(0,h.__)("Background Image or Video",o.i18n):(0,h.__)("Background Image",o.i18n),help:e.backgroundMediaAllowVideo?(0,h.__)("Use .mp4 format for videos",o.i18n):"",onRemove:()=>e.onChangeMobileBackgroundMedia({url:"",id:""}),onChange:e.onChangeMobileBackgroundMedia,imageID:e.mobileBackgroundMediaID,imageURL:e.mobileBackgroundMediaURL,allowedTypes:e.backgroundMediaAllowVideo?["image","video"]:["image"]}))),e.onChangeBackgroundTintStrength&&e.onChangeBackgroundMedia&&(e.backgroundMediaURL||e.tabletBackgroundMediaURL||e.mobileBackgroundMediaURL)&&(0,i.createElement)(ut,{label:(0,h.__)("Background Media Tint Strength",o.i18n),value:e.backgroundTintStrength,onChange:t=>{const a=void 0===t||""===t;""!==e.backgroundColor||a?"#000000"===e.backgroundColor&&a?e.onChangeBackgroundTintStrength(t,""):e.onChangeBackgroundTintStrength(t,e.backgroundColor):e.onChangeBackgroundTintStrength(t,"#000000")},min:0,max:10,step:1,allowReset:!0,placeholder:e.backgroundColor?"5":"0",className:"ugb--help-tip-background-tint"}),e.onChangeFixedBackground&&e.onChangeBackgroundMedia&&(e.backgroundMediaURL||e.tabletBackgroundMediaURL||e.mobileBackgroundMediaURL)&&!([e.backgroundMediaURL,e.tabletBackgroundMediaURL,e.mobileBackgroundMediaURL].filter((e=>e)).filter(ye).length>0)&&(0,i.createElement)(br,{label:(0,h.__)("Fixed Background",o.i18n),checked:e.fixedBackground,onChange:e.onChangeFixedBackground,className:"ugb--help-tip-background-fixed"}),e.hasAdvancedBackground&&e.onChangeBackgroundMedia&&(e.backgroundMediaURL||e.tabletBackgroundMediaURL||e.mobileBackgroundMediaURL)&&(0,i.createElement)(ei,{label:(0,h.__)("Adv. Background Image Settings",o.i18n),onReset:e.onResetAdvancedBackground,allowReset:e.backgroundPosition||e.tabletBackgroundPosition||e.mobileBackgroundPosition||e.backgroundRepeat||e.tabletBackgroundRepeat||e.mobileBackgroundRepeat||e.backgroundSize||e.tabletBackgroundSize||e.mobileBackgroundSize||e.backgroundImageBlendMode},(0,i.createElement)(Il,null,(0,i.createElement)(gt,{label:(0,h.__)("Image Position",o.i18n),options:[{label:(0,h.__)("Default",o.i18n),value:""},{label:(0,h.__)("Top Left",o.i18n),value:"top left"},{label:(0,h.__)("Top Center",o.i18n),value:"top center"},{label:(0,h.__)("Top Right",o.i18n),value:"top right"},{label:(0,h.__)("Center Left",o.i18n),value:"center left"},{label:(0,h.__)("Center Center",o.i18n),value:"center center"},{label:(0,h.__)("Center Right",o.i18n),value:"center right"},{label:(0,h.__)("Bottom Left",o.i18n),value:"bottom left"},{label:(0,h.__)("Bottom Center",o.i18n),value:"bottom center"},{label:(0,h.__)("Bottom Right",o.i18n),value:"bottom right"}],value:e.backgroundPosition,onChange:e.onChangeBackgroundPosition,className:"ugb--help-tip-background-image-position"})),(0,i.createElement)(Il,{screen:"tablet"},(0,i.createElement)(gt,{label:(0,h.__)("Image Position",o.i18n),options:[{label:(0,h.__)("Default",o.i18n),value:""},{label:(0,h.__)("Top Left",o.i18n),value:"top left"},{label:(0,h.__)("Top Center",o.i18n),value:"top center"},{label:(0,h.__)("Top Right",o.i18n),value:"top right"},{label:(0,h.__)("Center Left",o.i18n),value:"center left"},{label:(0,h.__)("Center Center",o.i18n),value:"center center"},{label:(0,h.__)("Center Right",o.i18n),value:"center right"},{label:(0,h.__)("Bottom Left",o.i18n),value:"bottom left"},{label:(0,h.__)("Bottom Center",o.i18n),value:"bottom center"},{label:(0,h.__)("Bottom Right",o.i18n),value:"bottom right"}],value:e.tabletBackgroundPosition,onChange:e.onChangeTabletBackgroundPosition,className:"ugb--help-tip-background-image-position"})),(0,i.createElement)(Il,{screen:"mobile"},(0,i.createElement)(gt,{label:(0,h.__)("Image Position",o.i18n),options:[{label:(0,h.__)("Default",o.i18n),value:""},{label:(0,h.__)("Top Left",o.i18n),value:"top left"},{label:(0,h.__)("Top Center",o.i18n),value:"top center"},{label:(0,h.__)("Top Right",o.i18n),value:"top right"},{label:(0,h.__)("Center Left",o.i18n),value:"center left"},{label:(0,h.__)("Center Center",o.i18n),value:"center center"},{label:(0,h.__)("Center Right",o.i18n),value:"center right"},{label:(0,h.__)("Bottom Left",o.i18n),value:"bottom left"},{label:(0,h.__)("Bottom Center",o.i18n),value:"bottom center"},{label:(0,h.__)("Bottom Right",o.i18n),value:"bottom right"}],value:e.mobileBackgroundPosition,onChange:e.onChangeMobileBackgroundPosition,className:"ugb--help-tip-background-image-position"})),(0,i.createElement)(Il,null,(0,i.createElement)(gt,{label:(0,h.__)("Image Repeat",o.i18n),options:[{label:(0,h.__)("Default",o.i18n),value:""},{label:(0,h.__)("No-Repeat",o.i18n),value:"no-repeat"},{label:(0,h.__)("Repeat",o.i18n),value:"repeat"},{label:(0,h.__)("Repeat-X",o.i18n),value:"repeat-x"},{label:(0,h.__)("Repeat-Y",o.i18n),value:"repeat-y"}],value:e.backgroundRepeat,onChange:e.onChangeBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"})),(0,i.createElement)(Il,{screen:"tablet"},(0,i.createElement)(gt,{label:(0,h.__)("Image Repeat",o.i18n),options:[{label:(0,h.__)("Default",o.i18n),value:""},{label:(0,h.__)("No-Repeat",o.i18n),value:"no-repeat"},{label:(0,h.__)("Repeat",o.i18n),value:"repeat"},{label:(0,h.__)("Repeat-X",o.i18n),value:"repeat-x"},{label:(0,h.__)("Repeat-Y",o.i18n),value:"repeat-y"}],value:e.tabletBackgroundRepeat,onChange:e.onChangeTabletBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"})),(0,i.createElement)(Il,{screen:"mobile"},(0,i.createElement)(gt,{label:(0,h.__)("Image Repeat",o.i18n),options:[{label:(0,h.__)("Default",o.i18n),value:""},{label:(0,h.__)("No-Repeat",o.i18n),value:"no-repeat"},{label:(0,h.__)("Repeat",o.i18n),value:"repeat"},{label:(0,h.__)("Repeat-X",o.i18n),value:"repeat-x"},{label:(0,h.__)("Repeat-Y",o.i18n),value:"repeat-y"}],value:e.mobileBackgroundRepeat,onChange:e.onChangeMobileBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"})),(0,i.createElement)(Il,null,(0,i.createElement)(gt,{label:(0,h.__)("Image Size",o.i18n),options:[{label:(0,h.__)("Default",o.i18n),value:""},{label:(0,h.__)("Auto",o.i18n),value:"auto"},{label:(0,h.__)("Cover",o.i18n),value:"cover"},{label:(0,h.__)("Contain",o.i18n),value:"contain"},{label:(0,h.__)("Custom",o.i18n),value:"custom"}],value:e.backgroundSize,onChange:e.onChangeBackgroundSize,className:"ugb--help-tip-background-image-size"})),(0,i.createElement)(Il,{screen:"tablet"},(0,i.createElement)(gt,{label:(0,h.__)("Image Size",o.i18n),options:[{label:(0,h.__)("Default",o.i18n),value:""},{label:(0,h.__)("Auto",o.i18n),value:"auto"},{label:(0,h.__)("Cover",o.i18n),value:"cover"},{label:(0,h.__)("Contain",o.i18n),value:"contain"},{label:(0,h.__)("Custom",o.i18n),value:"custom"}],value:e.tabletBackgroundSize,onChange:e.onChangeTabletBackgroundSize,className:"ugb--help-tip-background-image-size"})),(0,i.createElement)(Il,{screen:"mobile"},(0,i.createElement)(gt,{label:(0,h.__)("Image Size",o.i18n),options:[{label:(0,h.__)("Default",o.i18n),value:""},{label:(0,h.__)("Auto",o.i18n),value:"auto"},{label:(0,h.__)("Cover",o.i18n),value:"cover"},{label:(0,h.__)("Contain",o.i18n),value:"contain"},{label:(0,h.__)("Custom",o.i18n),value:"custom"}],value:e.mobileBackgroundSize,onChange:e.onChangeMobileBackgroundSize,className:"ugb--help-tip-background-image-size"})),"custom"===e.backgroundSize&&(0,i.createElement)(Il,null,(0,i.createElement)(ut,{label:(0,h.__)("Custom Size",o.i18n),units:["px","%","vw"],min:[0,0,0],max:[1e3,100,100],unit:e.backgroundCustomSizeUnit,onChangeUnit:e.onChangeBackgroundCustomSizeUnit,value:e.backgroundCustomSize,onChange:e.onChangeBackgroundCustomSize,allowReset:!0})),"custom"===e.tabletBackgroundSize&&(0,i.createElement)(Il,{screen:"tablet"},(0,i.createElement)(ut,{label:(0,h.__)("Custom Size",o.i18n),units:["px","%","vw"],min:[0,0,0],max:[1e3,100,100],unit:e.tabletBackgroundCustomSizeUnit,onChangeUnit:e.onChangeTabletBackgroundCustomSizeUnit,value:e.tabletBackgroundCustomSize,onChange:e.onChangeTabletBackgroundCustomSize,allowReset:!0})),"custom"===e.mobileBackgroundSize&&(0,i.createElement)(Il,{screen:"mobile"},(0,i.createElement)(ut,{label:(0,h.__)("Custom Size",o.i18n),units:["px","%","vw"],min:[0,0,0],max:[1e3,100,100],unit:e.mobileBackgroundCustomSizeUnit,onChangeUnit:e.onChangeMobileBackgroundCustomSizeUnit,value:e.mobileBackgroundCustomSize,onChange:e.onChangeMobileBackgroundCustomSize,allowReset:!0})),e.onChangeBackgroundImageBlendMode&&(0,i.createElement)(qe,{label:(0,h.__)("Image Blend Mode",o.i18n),value:e.backgroundImageBlendMode,onChange:e.onChangeBackgroundImageBlendMode})));si.defaultProps={backgroundColorType:"",backgroundColor:"",backgroundColorOpacity:"",backgroundColor2:"",backgroundMediaID:"",backgroundMediaURL:"",tabletBackgroundMediaID:"",tabletBackgroundMediaURL:"",mobileBackgroundMediaID:"",mobileBackgroundMediaURL:"",backgroundTintStrength:"",fixedBackground:"",onChangeBackgroundColorType:()=>{},onChangeBackgroundColor:()=>{},onChangeBackgroundColorOpacity:()=>{},onChangeBackgroundColor2:()=>{},onChangeBackgroundMedia:e=>{let{url:t,id:a}=e},onChangeTabletBackgroundMedia:e=>{let{url:t,id:a}=e},onChangeMobileBackgroundMedia:e=>{let{url:t,id:a}=e},onChangeBackgroundTintStrength:()=>{},onChangeFixedBackground:()=>{},labelBackgroundColorType:(0,h.__)("Background Color Type",o.i18n),labelBackgroundColor:(0,h.__)("Background Color",o.i18n),hasAdvancedGradient:!0,backgroundGradientDirection:"",backgroundGradientBlendMode:"",backgroundGradientLocation1:0,backgroundGradientLocation2:100,onResetAdvancedGradient:()=>{},onChangeBackgroundGradientDirection:()=>{},onChangeBackgroundGradientBlendMode:()=>{},onChangeBackgroundGradientLocation1:()=>{},onChangeBackgroundGradientLocation2:()=>{},hasAdvancedBackground:!0,backgroundMediaAllowVideo:!0,backgroundPosition:"",tabletBackgroundPosition:"",mobileBackgroundPosition:"",backgroundRepeat:"",tabletBackgroundRepeat:"",mobileBackgroundRepeat:"",backgroundSize:"",tabletBackgroundSize:"",mobileBackgroundSize:"",backgroundCustomSize:"",tabletBackgroundCustomSize:"",mobileBackgroundCustomSize:"",backgroundCustomSizeUnit:"%",tabletBackgroundCustomSizeUnit:"%",mobileBackgroundCustomSizeUnit:"%",backgroundImageBlendMode:"",onResetAdvancedBackground:()=>{},onChangeBackgroundPosition:()=>{},onChangeTabletBackgroundPosition:()=>{},onChangeMobileBackgroundPosition:()=>{},onChangeBackgroundRepeat:()=>{},onChangeTabletBackgroundRepeat:()=>{},onChangeMobileBackgroundRepeat:()=>{},onChangeBackgroundSize:()=>{},onChangeTabletBackgroundSize:()=>{},onChangeMobileBackgroundSize:()=>{},onChangeBackgroundCustomSize:()=>{},onChangeTabletBackgroundCustomSize:()=>{},onChangeMobileBackgroundCustomSize:()=>{},onChangeBackgroundCustomSizeUnit:()=>{},onChangeTabletBackgroundCustomSizeUnit:()=>{},onChangeMobileBackgroundCustomSizeUnit:()=>{},onChangeBackgroundImageBlendMode:()=>{}};const oi=e=>{const t=e.design?e.design:"basic",a=e.size?e.size:"normal",n="basic"===t;return(0,i.createElement)(i.Fragment,null,e.onChangeUrl&&(0,i.createElement)(b,{label:(0,h.__)("Link / URL",o.i18n),value:e.url,onChange:e.onChangeUrl,placeholder:"http://"}),e.onChangeUrl&&e.onChangeNewTab&&(0,i.createElement)(br,{label:(0,h.__)("Open link in new tab",o.i18n),checked:e.newTab,onChange:e.onChangeNewTab}),e.onChangeUrl&&e.onChangeNoFollow&&(0,i.createElement)(br,{label:(0,h.__)("Nofollow link",o.i18n),checked:e.noFollow,onChange:e.onChangeNoFollow}),e.onChangeUrl&&e.onChangeSponsored&&(0,i.createElement)(br,{label:(0,h.__)("Sponsored",o.i18n),checked:e.sponsored,onChange:e.onChangeSponsored}),e.onChangeUrl&&e.onChangeUgc&&(0,i.createElement)(br,{label:(0,h.__)("UGC",o.i18n),checked:e.ugc,onChange:e.onChangeUgc}),e.onChangeUrl&&(0,i.createElement)(rr,null),e.onChangeDesign&&(0,i.createElement)(Pn,{label:(0,h.__)("Design",o.i18n),selected:t,options:[{label:(0,h.__)("Basic",o.i18n),value:"basic",image:"dist/images/components-button-controls-basic.491974a.png"},{label:(0,h.__)("Ghost",o.i18n),value:"ghost",image:"dist/images/components-button-controls-ghost.a0ffb12.png"},{label:(0,h.__)("Plain",o.i18n),value:"plain",image:"dist/images/components-button-controls-plain.c53a21e.png"},...e.onChangeUseSocialColors?[]:[{label:(0,h.__)("Link",o.i18n),value:"link",image:"dist/images/components-button-controls-link.0f2d52b.png"}],...(0,M.applyFilters)("stackable.button-controls.layouts",[])],onChange:e.onChangeDesign,columns:4}),(0,i.createElement)(rr,null),e.onChangeUseSocialColors&&(0,i.createElement)(br,{label:(0,h.__)("Use social colors",o.i18n),checked:e.useSocialColors,onChange:e.onChangeUseSocialColors}),(!e.onChangeUseSocialColors||!e.useSocialColors)&&(0,i.createElement)(i.Fragment,null,e.onChangeBackgroundColorType&&n&&(0,i.createElement)(s.BaseControl,{id:"button-color-type",className:"ugb--help-tip-button-color-type"},(0,i.createElement)(Xt,{controls:[{value:"",title:(0,h.__)("Single",o.i18n)},{value:"gradient",title:(0,h.__)("Gradient",o.i18n)}],value:e.backgroundColorType,onChange:e.onChangeBackgroundColorType,fullwidth:!1,isSmall:!0})),e.onChangeBackgroundColor&&"link"!==t&&(0,i.createElement)(Ge,{label:e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&n?(0,h.sprintf)((0,h._x)("%s #%d","Panel title",o.i18n),(0,h.__)("Button Color",o.i18n),1):(0,h.__)("Button Color",o.i18n),value:e.backgroundColor,onChange:e.onChangeBackgroundColor}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&n&&(0,i.createElement)(Ge,{label:(0,h.sprintf)((0,h._x)("%s #%d","Panel title",o.i18n),(0,h.__)("Button Color",o.i18n),2),value:e.backgroundColor2,onChange:e.onChangeBackgroundColor2}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&n&&(0,i.createElement)(ut,{label:(0,h.__)("Gradient Direction (degrees)",o.i18n),value:e.backgroundGradientDirection,onChange:e.onChangeBackgroundGradientDirection,min:0,max:360,step:10,allowReset:!0,placeholder:"90",className:"ugb--help-tip-gradient-direction"}),e.onChangeTextColor&&n&&(0,i.createElement)(Ge,{label:(0,h.__)("Text Color",o.i18n),value:e.textColor,onChange:e.onChangeTextColor})),"link"!==t&&(0,i.createElement)(rr,null),e.onChangeHoverGhostToNormal&&"ghost"===t&&(0,i.createElement)(br,{label:(0,h.__)("Change to Normal Button on Hover",o.i18n),checked:e.hoverGhostToNormal,onChange:e.onChangeHoverGhostToNormal,className:"ugb--help-tip-button-to-normal"}),e.onChangeHoverEffect&&"link"!==t&&(0,i.createElement)(gt,{label:(0,h.__)("Hover Effect",o.i18n),value:e.hoverEffect,onChange:e.onChangeHoverEffect,options:[{value:"",label:(0,h.__)("None",o.i18n)},{value:"lift",label:(0,h.__)("Lift",o.i18n)},{value:"scale",label:(0,h.__)("Scale",o.i18n)},{value:"lift-scale",label:(0,h.__)("Lift & Scale",o.i18n)},{value:"scale-more",label:(0,h.__)("Scale More",o.i18n)},{value:"lift-scale-more",label:(0,h.__)("Lift & Scale More",o.i18n)}],className:"ugb--help-tip-button-hover-effect"}),e.onChangeOpacity&&(0,i.createElement)(ut,{label:e.hoverOpacityLabel,value:e.hoverOpacity,onChange:e.onChangeHoverOpacity,min:0,max:1,step:.1,placeholder:"0.8",allowReset:!0,className:"ugb--help-tip-button-hover-opacity"}),e.hasHoverColors&&"link"!==t&&(!e.onChangeUseSocialColors||!e.useSocialColors)&&(0,i.createElement)(ei,{label:e.hoverColorsLabel,onReset:e.onResetHoverColors,allowReset:e.hoverBackgroundColor||e.hoverBackgroundColor2||e.hoverBackgroundGradientDirection||e.hoverTextColor,className:"ugb--help-tip-button-hover-color"},e.onChangeHoverBackgroundColor&&(0,i.createElement)(Ge,{label:e.onChangeHoverBackgroundColor&&("ghost"===t&&e.hoverGhostToNormal||"gradient"===e.backgroundColorType&&n)?(0,h.sprintf)((0,h._x)("%s #%d","Panel title",o.i18n),(0,h.__)("Button Color",o.i18n),1):(0,h.__)("Button Color",o.i18n),value:e.hoverBackgroundColor,onChange:e.onChangeHoverBackgroundColor,className:"ugb--help-tip-button-hover-color"}),e.onChangeHoverBackgroundColor2&&("ghost"===t&&e.hoverGhostToNormal||"gradient"===e.backgroundColorType&&n)&&(0,i.createElement)(Ge,{label:(0,h.sprintf)((0,h._x)("%s #%d","Panel title",o.i18n),(0,h.__)("Button Color",o.i18n),2),value:e.hoverBackgroundColor2,onChange:e.onChangeHoverBackgroundColor2}),e.onChangeHoverBackgroundColor2&&("ghost"===t&&e.hoverGhostToNormal||"gradient"===e.backgroundColorType&&n)&&(0,i.createElement)(ut,{label:(0,h.__)("Gradient Direction (degrees)",o.i18n),value:e.hoverBackgroundGradientDirection,onChange:e.onChangeHoverBackgroundGradientDirection,min:0,max:360,step:10,allowReset:!0,placeholder:"90",className:"ugb--help-tip-gradient-direction"}),e.onChangeHoverTextColor&&("ghost"===t&&e.hoverGhostToNormal||n)&&(0,i.createElement)(Ge,{label:(0,h.__)("Text Color",o.i18n),value:e.hoverTextColor,onChange:e.onChangeHoverTextColor})),"link"!==t&&(0,i.createElement)(rr,null),e.hasTypography&&"link"!==t&&(0,i.createElement)(ri,{attrNameTemplate:e.attrNameTemplate,setAttributes:e.setAttributes,blockAttributes:e.blockAttributes,onChangeLineHeight:null,showSecondFontSize:!1,placeholder:e.placeholder}),e.onChangeSize&&(!e.onChangeDesign||"link"!==t)&&(0,i.createElement)(gt,{label:(0,h.__)("Button Size",o.i18n),value:a,options:[{value:"tiny",label:(0,h.__)("Tiny",o.i18n)},{value:"small",label:(0,h.__)("Small",o.i18n)},{value:"normal",label:(0,h.__)("Normal",o.i18n)},{value:"medium",label:(0,h.__)("Medium",o.i18n)},{value:"large",label:(0,h.__)("Large",o.i18n)}],onChange:e.onChangeSize,defaultValue:"normal",className:"ugb--help-tip-button-size"}),e.onChangeBorderRadius&&"link"!==t&&"plain"!==t&&(0,i.createElement)(ut,{label:(0,h.__)("Border Radius",o.i18n),value:e.borderRadius,min:"0",max:"100",onChange:e.onChangeBorderRadius,allowReset:!0,placeholder:"4",className:"ugb--help-tip-button-border-radius"}),e.onChangePaddings&&"link"!==t&&"plain"!==t&&(0,i.createElement)(Ni,{label:(0,h.__)("Vertical Padding",o.i18n),top:e.paddingTop,bottom:e.paddingBottom,onChange:e.onChangePaddings,enableLeft:!1,enableRight:!1,placeholder:8,className:"ugb--help-tip-button-vertical-padding"}),e.onChangePaddings&&"link"!==t&&"plain"!==t&&(0,i.createElement)(Ni,{label:(0,h.__)("Horizontal Padding",o.i18n),right:e.paddingRight,left:e.paddingLeft,onChange:e.onChangePaddings,enableTop:!1,enableBottom:!1,max:100,placeholder:26,className:"ugb--help-tip-button-horizontal-padding"}),e.onChangeBorderWidth&&"ghost"===t&&(0,i.createElement)(ut,{label:(0,h.__)("Border Width",o.i18n),value:e.borderWidth,min:"1",max:"6",onChange:e.onChangeBorderWidth,allowReset:!0,placeholder:"2"}),e.onChangeShadow&&(""===t||"basic"===t)&&(0,i.createElement)(ut,{label:(0,h.__)("Shadow",o.i18n),value:e.shadow,onChange:e.onChangeShadow,min:0,max:9,allowReset:!0,placeholder:"0",className:"ugb--help-tip-button-shadow"}),e.onChangeOpacity&&(0,i.createElement)(ut,{label:(0,h.__)("Opacity",o.i18n),value:e.opacity,onChange:e.onChangeOpacity,min:0,max:1,step:.1,allowReset:!0,placeholder:"1.0"}),e.onChangeIcon&&"link"!==t&&(0,i.createElement)(rr,null),e.onChangeIcon&&"link"!==t&&(0,i.createElement)(An,{label:(0,h.__)("Icon",o.i18n),value:e.icon,onChange:e.onChangeIcon}),e.hasAdvancedIcon&&"link"!==t&&""!==e.icon&&(0,i.createElement)(ei,{label:(0,h.__)("Adv. Icon Settings",o.i18n),onReset:e.onResetAdvancedIcon,allowReset:e.iconPosition||""!==e.iconSize||""!==e.iconSpacing},e.onChangeIconSize&&(0,i.createElement)(ut,{label:(0,h.__)("Icon Size",o.i18n),value:e.iconSize,onChange:e.onChangeIconSize,min:5,max:100,step:1,allowReset:!0}),e.onChangeIconPosition&&(0,i.createElement)(gt,{label:(0,h.__)("Icon Position",o.i18n),value:e.iconPosition,options:[{value:"",label:(0,h.__)("Left",o.i18n)},{value:"right",label:(0,h.__)("Right",o.i18n)}],onChange:e.onChangeIconPosition}),e.onChangeIconSpacing&&(0,i.createElement)(ut,{label:(0,h.__)("Icon Spacing",o.i18n),value:e.iconSpacing,onChange:e.onChangeIconSpacing,min:0,max:50,step:1,allowReset:!0,placeholder:"16"})))};oi.defaultProps={hasTypography:!0,attrNameTemplate:"%s",setAttributes:()=>{},blockAttributes:{},design:"",onChangeDesign:()=>{},url:"",newTab:"",noFollow:"",sponsored:"",ugc:"",onChangeUrl:()=>{},onChangeNewTab:()=>{},onChangeNoFollow:()=>{},onChangeSponsored:()=>{},onChangeUgc:()=>{},size:"",onChangeSize:()=>{},opacity:"",textColor:"",backgroundColorType:"",backgroundColor:"",backgroundColor2:"",backgroundGradientDirection:"",onChangeOpacity:()=>{},onChangeTextColor:()=>{},onChangeBackgroundColorType:()=>{},onChangeBackgroundColor:()=>{},onChangeBackgroundColor2:()=>{},onChangeBackgroundGradientDirection:()=>{},hasHoverColors:!0,onResetHoverColors:()=>{},hoverEffect:"",hoverOpacity:"",hoverOpacityLabel:(0,h.__)("Hover Opacity",o.i18n),hoverTextColor:"",hoverColorsLabel:(0,h.__)("Hover Colors",o.i18n),hoverBackgroundColor:"",hoverBackgroundColor2:"",hoverBackgroundGradientDirection:"",hoverGhostToNormal:!1,onChangeHoverEffect:()=>{},onChangeHoverOpacity:()=>{},onChangeHoverTextColor:()=>{},onChangeHoverBackgroundColor:()=>{},onChangeHoverBackgroundColor2:()=>{},onChangeHoverBackgroundGradientDirection:()=>{},onChangeHoverGhostToNormal:()=>{},borderRadius:"",onChangeBorderRadius:()=>{},borderWidth:"",onChangeBorderWidth:()=>{},shadow:"",onChangeShadow:()=>{},paddingTop:"",paddingRight:"",paddingBottom:"",paddingLeft:"",onChangePaddings:()=>{},hasAdvancedIcon:!0,onResetAdvancedIcon:()=>{},icon:"",iconSize:"",iconPosition:"",iconSpacing:"",onChangeIcon:()=>{},onChangeIconSize:()=>{},onChangeIconPosition:()=>{},onChangeIconSpacing:()=>{},useSocialColors:!0,onChangeUseSocialColors:null};const ui=oi,ci=e=>{const{setAttributes:t}=e,a=t=>(0,p.camelCase)((0,h.sprintf)(e.attrNameTemplate,t)),l=re(e.blockAttributes,a,"");return(0,i.createElement)(ui,n({design:e.blockAttributes[a("Design")]||"",onChangeDesign:e=>t({[a("Design")]:e}),url:e.blockAttributes[a("Url")]||"",newTab:e.blockAttributes[a("NewTab")]||"",noFollow:e.blockAttributes[a("NoFollow")]||"",sponsored:e.blockAttributes[a("Sponsored")]||"",ugc:e.blockAttributes[a("Ugc")]||"",onChangeUrl:e=>t({[a("Url")]:e}),onChangeNewTab:e=>t({[a("NewTab")]:e}),onChangeNoFollow:e=>t({[a("NoFollow")]:e}),onChangeSponsored:e=>t({[a("Sponsored")]:e}),onChangeUgc:e=>t({[a("Ugc")]:e}),size:e.blockAttributes[a("Size")]||"",onChangeSize:e=>t({[a("Size")]:e}),opacity:e.blockAttributes[a("Opacity")]||"",textColor:e.blockAttributes[a("TextColor")]||"",backgroundColorType:e.blockAttributes[a("BackgroundColorType")]||"",backgroundColor:e.blockAttributes[a("BackgroundColor")]||"",backgroundColor2:e.blockAttributes[a("BackgroundColor2")]||"",backgroundGradientDirection:l("BackgroundGradientDirection"),onChangeOpacity:e=>t({[a("Opacity")]:e}),onChangeTextColor:e=>t({[a("TextColor")]:e}),onChangeBackgroundColorType:e=>t({[a("BackgroundColorType")]:e}),onChangeBackgroundColor:e=>t({[a("BackgroundColor")]:e}),onChangeBackgroundColor2:e=>t({[a("BackgroundColor2")]:e}),onChangeBackgroundGradientDirection:e=>t({[a("BackgroundGradientDirection")]:e}),onResetHoverColors:()=>{t({[a("HoverBackgroundColor")]:"",[a("HoverBackgroundColor2")]:"",[a("HoverBackgroundGradientDirection")]:"",[a("HoverTextColor")]:""})},hoverEffect:e.blockAttributes[a("HoverEffect")]||"",hoverOpacity:e.blockAttributes[a("HoverOpacity")]||"",hoverOpacityLabel:e.hoverOpacityLabel,hoverColorsLabel:e.hoverColorsLabel,hoverTextColor:e.blockAttributes[a("HoverTextColor")]||"",hoverBackgroundColor:e.blockAttributes[a("HoverBackgroundColor")]||"",hoverBackgroundColor2:e.blockAttributes[a("HoverBackgroundColor2")]||"",hoverBackgroundGradientDirection:l("HoverBackgroundGradientDirection"),hoverGhostToNormal:e.blockAttributes[a("HoverGhostToNormal")]||"",onChangeHoverEffect:e=>t({[a("HoverEffect")]:e}),onChangeHoverOpacity:e=>t({[a("HoverOpacity")]:e}),onChangeHoverTextColor:e=>t({[a("HoverTextColor")]:e}),onChangeHoverBackgroundColor:e=>t({[a("HoverBackgroundColor")]:e}),onChangeHoverBackgroundColor2:e=>t({[a("HoverBackgroundColor2")]:e}),onChangeHoverBackgroundGradientDirection:e=>t({[a("HoverBackgroundGradientDirection")]:e}),onChangeHoverGhostToNormal:e=>t({[a("HoverGhostToNormal")]:e}),borderRadius:e.blockAttributes[a("BorderRadius")],borderWidth:e.blockAttributes[a("BorderWidth")],shadow:e.blockAttributes[a("Shadow")],onChangeBorderRadius:e=>t({[a("BorderRadius")]:e}),onChangeBorderWidth:e=>t({[a("BorderWidth")]:e}),onChangeShadow:e=>t({[a("Shadow")]:e}),paddingTop:l("PaddingTop"),paddingRight:l("PaddingRight"),paddingBottom:l("PaddingBottom"),paddingLeft:l("PaddingLeft"),onChangePaddings:e=>{const n={};void 0!==e.top&&(n[a("PaddingTop")]=""!==e.top?parseInt(e.top,10):""),void 0!==e.right&&(n[a("PaddingRight")]=""!==e.right?parseInt(e.right,10):""),void 0!==e.bottom&&(n[a("PaddingBottom")]=""!==e.bottom?parseInt(e.bottom,10):""),void 0!==e.left&&(n[a("PaddingLeft")]=""!==e.left?parseInt(e.left,10):""),t(n)},icon:e.blockAttributes[a("Icon")]||"",onChangeIcon:e.enableIcon?e=>t({[a("Icon")]:e}):null,onResetAdvancedIcon:()=>{t({[a("IconSize")]:"",[a("IconPosition")]:"",[a("IconSpacing")]:""})},iconSize:e.blockAttributes[a("IconSize")]||"",iconPosition:e.blockAttributes[a("IconPosition")]||"",iconSpacing:e.blockAttributes[a("IconSpacing")],onChangeIconSize:e=>t({[a("IconSize")]:e}),onChangeIconPosition:e=>t({[a("IconPosition")]:e}),onChangeIconSpacing:e=>t({[a("IconSpacing")]:e})},e))};ci.defaultProps={attrNameTemplate:"%s",setAttributes:()=>{},blockAttributes:{},enableIcon:!0,hoverOpacityLabel:(0,h.__)("Hover Opacity",o.i18n),hoverColorsLabel:(0,h.__)("Hover Colors",o.i18n)};const gi=ci,mi=e=>(0,i.createElement)(i.Fragment,null,e.onChangeBorderType&&(0,i.createElement)(Xt,{label:(0,h.__)("Borders",o.i18n),controls:[{value:"",title:(0,h.__)("None",o.i18n)},{value:"solid",title:(0,h.__)("Solid",o.i18n)},{value:"dashed",title:(0,h.__)("Dashed",o.i18n)},{value:"dotted",title:(0,h.__)("Dotted",o.i18n)}],className:"ugb-border-controls__border-type-toolbar",value:e.borderType,onChange:e.onChangeBorderType,fullwidth:!0,isSmall:!0}),e.onChangeBorderWidth&&e.borderType&&(0,i.createElement)(vi,{label:(0,h.__)("Border Width"),units:["px"],min:0,max:99,step:1,sliderMax:5,defaultLocked:!0,valueDesktop:{top:e.borderWidthTop,right:e.borderWidthRight,bottom:e.borderWidthBottom,left:e.borderWidthLeft},onChangeDesktop:t=>{let{top:a,right:n,bottom:i,left:l}=t;e.onChangeBorderWidth({top:a||0===a?parseInt(a,10):"",right:n||0===n?parseInt(n,10):"",bottom:i||0===i?parseInt(i,10):"",left:l||0===l?parseInt(l,10):"",borderType:e.borderType?void 0:"solid"})},valueTablet:{top:e.tabletBorderWidthTop,right:e.tabletBorderWidthRight,bottom:e.tabletBorderWidthBottom,left:e.tabletBorderWidthLeft},onChangeTablet:t=>{let{top:a,right:n,bottom:i,left:l}=t;e.onChangeTabletBorderWidth({top:a||0===a?parseInt(a,10):"",right:n||0===n?parseInt(n,10):"",bottom:i||0===i?parseInt(i,10):"",left:l||0===l?parseInt(l,10):""})},valueMobile:{top:e.mobileBorderWidthTop,right:e.mobileBorderWidthRight,bottom:e.mobileBorderWidthBottom,left:e.mobileBorderWidthLeft},onChangeMobile:t=>{let{top:a,right:n,bottom:i,left:l}=t;e.onChangeMobileBorderWidth({top:a||0===a?parseInt(a,10):"",right:n||0===n?parseInt(n,10):"",bottom:i||0===i?parseInt(i,10):"",left:l||0===l?parseInt(l,10):""})},placeholder:"1",placeholderTop:"1",placeholderLeft:"1",placeholderBottom:"1",placeholderRight:"1"}),e.onChangeBorderColor&&e.borderType&&(0,i.createElement)(Ge,{value:e.borderColor,onChange:t=>{e.onChangeBorderColor({color:t,borderType:e.borderType?void 0:"solid"})},label:(0,h.__)("Border Color",o.i18n)}));mi.defaultProps={onResetBorder:()=>{},borderType:"",onChangeBorderType:()=>{},borderWidthTop:"",borderWidthRight:"",borderWidthBottom:"",borderWidthLeft:"",tabletBorderWidthTop:"",tabletBorderWidthRight:"",tabletBorderWidthBottom:"",tabletBorderWidthLeft:"",mobileBorderWidthTop:"",mobileBorderWidthRight:"",mobileBorderWidthBottom:"",mobileBorderWidthLeft:"",onChangeBorderWidth:()=>{},onChangeTabletBorderWidth:()=>{},onChangeMobileBorderWidth:()=>{},borderColor:"",onChangeBorderColor:()=>{}};const di=e=>{const t=e.design?e.design:"basic",a="shaped"===t||"outlined"===t;return(0,i.createElement)(i.Fragment,null,e.onChangeIcon&&(0,i.createElement)(An,{label:(0,h.__)("Icon",o.i18n),value:e.icon,onChange:e.onChangeIcon}),e.onChangeDesign&&(0,i.createElement)(Pn,{label:(0,h.__)("Design",o.i18n),selected:e.design,columns:3,options:[{label:(0,h.__)("Plain",o.i18n),value:"plain",image:"dist/images/components-icon-controls-plain.9b70a90.png"},{label:(0,h.__)("Shaped",o.i18n),value:"shaped",image:"dist/images/components-icon-controls-shaped.bd63950.png"},{label:(0,h.__)("Outlined",o.i18n),value:"outlined",image:"dist/images/components-icon-controls-outlined.fcce4ac.png"},...(0,M.applyFilters)("stackable.icon-controls.edit.layouts",[])],onChange:e.onChangeDesign}),o.showProNotice&&(0,i.createElement)(fi,{title:(0,h.__)("Say Hello to Gorgeous Icons 👋",o.i18n),description:(0,h.__)("Liven up your icons with gradient fills, multiple colors and background shapes. This feature is only available on Stackable Premium",o.i18n)}),o.showProNotice&&(0,i.createElement)(s.BaseControl,{label:(0,h.__)("Icon Color Type",o.i18n),id:"icon-color-type"},(0,i.createElement)(Xt,{controls:[{value:"",title:(0,h.__)("Single",o.i18n)},{value:"gradient",title:(0,h.__)("Gradient",o.i18n),className:"ugb--is-premium",disabled:!0},{value:"multicolor",title:(0,h.__)("Multicolor",o.i18n),className:"ugb--is-premium",disabled:!0}],value:"",fullwidth:!1,isSmall:!0})),(0,M.applyFilters)("stackable.icon-controls.edit.color",(0,i.createElement)(i.Fragment,null,e.onChangeColor&&(0,i.createElement)(Ge,{label:(0,h.__)("Icon Color",o.i18n),value:e.color,onChange:e.onChangeColor})),e),e.onChangeColor&&e.onChangeDesign&&(0,i.createElement)(rr,null),a&&e.onChangeBackgroundColor&&(0,i.createElement)(i.Fragment,null,o.showProNotice&&e.onChangeBackgroundColorType&&"outlined"!==e.design&&(0,i.createElement)(s.BaseControl,{label:(0,h.__)("Icon Shape / Outline Color",o.i18n),id:"icon-shape-color-type"},(0,i.createElement)(Xt,{controls:[{value:"",title:(0,h.__)("Single",o.i18n)},{value:"gradient",title:(0,h.__)("Gradient",o.i18n),className:"ugb--is-premium",disabled:!0}],value:"",fullwidth:!1,isSmall:!0})),(0,M.applyFilters)("stackable.icon-controls.edit.background-color",(0,i.createElement)(i.Fragment,null,e.onChangeBackgroundColor&&(0,i.createElement)(Ge,{label:(0,h.__)("Icon Shape / Outline Color",o.i18n),value:e.backgroundColor,onChange:e.onChangeBackgroundColor})),e),e.onChangeBorderRadius&&(0,i.createElement)(ut,{label:"shaped"===e.design?(0,h.__)("Icon Shape Border Radius",o.i18n):(0,h.__)("Outline Border Radius",o.i18n),value:e.borderRadius,onChange:e.onChangeBorderRadius,min:0,max:50,step:1,allowReset:!0,placeholder:50}),e.onChangePadding&&(0,i.createElement)(ut,{label:"shaped"===e.design?(0,h.__)("Icon Shape Padding",o.i18n):(0,h.__)("Outline Padding",o.i18n),value:e.padding,onChange:e.onChangePadding,min:0,max:150,step:1,allowReset:!0,placeholder:20}),"shaped"===t&&e.onChangeShadow&&(0,i.createElement)(ut,{label:(0,h.__)("Shadow / Outline",o.i18n),value:e.shadow,onChange:e.onChangeShadow,min:0,max:9,allowReset:!0,placeholder:"0",className:"ugb--help-tip-general-shadow"}),"outlined"===t&&e.onChangeOutlineWidth&&(0,i.createElement)(ut,{label:(0,h.__)("Outline Width",o.i18n),value:e.outlineWidth,onChange:e.onChangeOutlineWidth,min:0,max:10,step:1,allowReset:!0,placeholder:"3"}),e.onChangeBackgroundColorType&&(0,i.createElement)(rr,null)),e.onChangeSize&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(Il,null,(0,i.createElement)(ut,{label:(0,h.__)("Icon Size",o.i18n),value:e.size,max:e.sizeMax,onChange:e.onChangeSize,allowReset:!0,placeholder:"50"})),(0,i.createElement)(Il,{screen:"tablet"},(0,i.createElement)(ut,{label:(0,h.__)("Icon Size",o.i18n),value:e.tabletSize,max:e.sizeMax,onChange:e.onChangeTabletSize,allowReset:!0,placeholder:e.size||50})),(0,i.createElement)(Il,{screen:"mobile"},(0,i.createElement)(ut,{label:(0,h.__)("Icon Size",o.i18n),value:e.mobileSize,max:e.sizeMax,onChange:e.onChangeMobileSize,allowReset:!0,placeholder:e.tabletSize||e.size||50}))),e.onChangeOpacity&&(0,i.createElement)(ut,{label:(0,h.__)("Icon Opacity",o.i18n),value:e.opacity,min:0,max:1,step:.1,onChange:e.onChangeOpacity,allowReset:!0,placeholder:"1.0"}),e.onChangeRotation&&(0,i.createElement)(ut,{label:(0,h.__)("Icon Rotation",o.i18n),value:e.rotation,min:0,max:360,onChange:e.onChangeRotation,allowReset:!0,placeholder:"0"}),(0,M.applyFilters)("stackable.icon-controls.edit.after",null,e))};di.defaultProps={icon:"",onChangeIcon:()=>{},design:"",onChangeDesign:()=>{},colorType:"",onChangeColorType:()=>{},color:"",onChangeColor:()=>{},color2:"",onChangeColor2:()=>{},colorGradientDirection:"",onChangeColorGradientDirection:()=>{},numPaths:"",color3:"",onChangeColor3:()=>{},color4:"",onChangeColor4:()=>{},color5:"",onChangeColor5:()=>{},color6:"",onChangeColor6:()=>{},color7:"",onChangeColor7:()=>{},color8:"",onChangeColor8:()=>{},color9:"",onChangeColor9:()=>{},color10:"",onChangeColor10:()=>{},multiOpacity1:"",onChangeMultiOpacity1:()=>{},multiOpacity2:"",onChangeMultiOpacity2:()=>{},multiOpacity3:"",onChangeMultiOpacity3:()=>{},multiOpacity4:"",onChangeMultiOpacity4:()=>{},multiOpacity5:"",onChangeMultiOpacity5:()=>{},multiOpacity6:"",onChangeMultiOpacity6:()=>{},multiOpacity7:"",onChangeMultiOpacity7:()=>{},multiOpacity8:"",onChangeMultiOpacity8:()=>{},multiOpacity9:"",onChangeMultiOpacity9:()=>{},multiOpacity10:"",onChangeMultiOpacity10:()=>{},borderRadius:"",onChangeBorderRadius:()=>{},padding:"",onChangePadding:()=>{},shadow:"",onChangeShadow:()=>{},outlineWidth:"",onChangeOutlineWidth:()=>{},backgroundColorType:"",onChangeBackgroundColorType:()=>{},backgroundColor:"",onChangeBackgroundColor:()=>{},backgroundColor2:"",onChangeBackgroundColor2:()=>{},backgroundColorGradientDirection:"",onChangeBackgroundColorGradientDirection:()=>{},size:"",tabletSize:"",mobileSize:"",sizeMax:300,onChangeSize:()=>{},onChangeTabletSize:()=>{},onChangeMobileSize:()=>{},opacity:"",onChangeOpacity:()=>{},rotation:"",onChangeRotation:()=>{},showBackgroundShape:"",onChangeShowBackgroundShape:()=>{},backgroundShape:"",onChangeBackgroundShape:()=>{},backgroundShapeSize:"",onChangeBackgroundShapeSize:()=>{},backgroundShapeColor:"",onChangeBackgroundShapeColor:()=>{},backgroundShapeOffsetHorizontal:"",onChangeBackgroundShapeHorizontalOffset:()=>{},backgroundShapeOffsetVertical:"",onChangeBackgroundShapeVerticalOffset:()=>{}};const hi=e=>(0,i.createElement)(i.Fragment,null,e.socialUrlFields&&(0,i.createElement)(i.Fragment,null,Object.keys(oe).map((t=>(0,i.createElement)(s.TextControl,{key:t,className:"ugb-social-url-text-control",label:(0,h.sprintf)((0,h._x)("%s Link","name",o.i18n),oe[t].label),value:e[`${t}Url`],onChange:e[`onChange${(0,p.upperFirst)(t)}Url`],placeholder:"http://"})))),e.onChangeNewTab&&(0,i.createElement)(br,{label:(0,h.__)("Open link in new tab",o.i18n),checked:e.newTab,onChange:e.onChangeNewTab}),(0,i.createElement)(rr,null),(0,i.createElement)(gi,{attrNameTemplate:e.attrNameTemplate,setAttributes:e.setAttributes,blockAttributes:e.blockAttributes,useSocialColors:e.useSocialColors,onChangeUseSocialColors:e.onChangeUseSocialColors,onChangeUrl:!1,onChangeNewTab:!1,onChangeNoFollow:!1,onChangeIcon:!1,hasTypography:!1}));hi.defaultProps={attrNameTemplate:"%s",setAttributes:()=>{},blockAttributes:{},socialUrlFields:!0,newTab:!1,onChangeNewTab:()=>{},useSocialColors:!0,onChangeUseSocialColors:()=>{}};const pi=e=>{const t=(0,p.pick)(e,["label","units","screens","defaultLocked","enableTop","enableRight","enableBottom","enableLeft","className","sliderMax","sliderMin"]),a=Array.isArray(e.min)?e.min:[e.min,e.min,e.min],l=Array.isArray(e.max)?e.max:[e.max,e.max,e.max],r=Array.isArray(e.sliderMin)?e.sliderMin:[e.sliderMin,e.sliderMin,e.sliderMin],s=Array.isArray(e.sliderMax)?e.sliderMax:[e.sliderMax,e.sliderMax,e.sliderMax],o=Array.isArray(e.step)?e.step:[e.step,e.step,e.step];return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(Il,{screen:"desktop"},(0,i.createElement)(Ni,n({},t,{min:a[0],max:l[0],sliderMin:r[0],sliderMax:s[0],step:o[0],top:e.valueDesktop.top,right:e.valueDesktop.right,bottom:e.valueDesktop.bottom,left:e.valueDesktop.left,unit:e.valueDesktopUnit||e.units[0],onChange:t=>{let{top:a,right:n,bottom:i,left:l}=t;e.onChangeDesktop({top:a||0===a?parseInt(a,10):"",right:n||0===n?parseInt(n,10):"",bottom:i||0===i?parseInt(i,10):"",left:l||0===l?parseInt(l,10):""})},onChangeUnit:t=>e.onChangeDesktopUnit(t),placeholder:e.placeholder,placeholderTop:e.placeholderTop,placeholderLeft:e.placeholderLeft,placeholderBottom:e.placeholderBottom,placeholderRight:e.placeholderRight}))),(0,i.createElement)(Il,{screen:"tablet"},(0,i.createElement)(Ni,n({},t,{min:a[1],max:l[1],sliderMin:r[1],sliderMax:s[1],step:o[1],top:e.valueTablet.top,right:e.valueTablet.right,bottom:e.valueTablet.bottom,left:e.valueTablet.left,unit:e.valueTabletUnit||e.units[0],onChange:t=>{let{top:a,right:n,bottom:i,left:l}=t;e.onChangeTablet({top:a||0===a?parseInt(a,10):"",right:n||0===n?parseInt(n,10):"",bottom:i||0===i?parseInt(i,10):"",left:l||0===l?parseInt(l,10):""})},onChangeUnit:t=>e.onChangeTabletUnit(t)}))),(0,i.createElement)(Il,{screen:"mobile"},(0,i.createElement)(Ni,n({},t,{min:a[2],max:l[2],sliderMin:r[2],sliderMax:s[2],step:o[2],top:e.valueMobile.top,right:e.valueMobile.right,bottom:e.valueMobile.bottom,left:e.valueMobile.left,unit:e.valueMobileUnit||e.units[0],onChange:t=>{let{top:a,right:n,bottom:i,left:l}=t;e.onChangeMobile({top:a||0===a?parseInt(a,10):"",right:n||0===n?parseInt(n,10):"",bottom:i||0===i?parseInt(i,10):"",left:l||0===l?parseInt(l,10):""})},onChangeUnit:t=>e.onChangeMobileUnit(t)}))))};pi.defaultProps={label:(0,h.__)("Spacing",o.i18n),defaultLocked:!0,units:["px","em","%"],screens:["desktop","tablet","mobile"],min:0,max:1/0,sliderMax:null,sliderMin:null,step:1,enableTop:!0,enableRight:!0,enableBottom:!0,enableLeft:!0,valueDesktop:{},valueTablet:{},valueMobile:{},valueDesktopUnit:"",valueTabletUnit:"",valueMobileUnit:"",onChangeDesktop:()=>{},onChangeTablet:()=>{},onChangeMobile:()=>{},onChangeDesktopUnit:()=>{},onChangeTabletUnit:()=>{},onChangeMobileUnit:()=>{},placeholderTop:"60",placeholderLeft:"35",placeholderBottom:"60",placeholderRight:"35",placeholder:"",className:"ugb--help-tip-advanced-column-paddings"};const vi=pi;class bi extends i.Component{constructor(){super(...arguments),this.state={isOpen:!!this.props.initialOpen&&this.props.initialOpen},this.onClick=this.onClick.bind(this)}onClick(){this.setState({isOpen:!this.state.isOpen})}render(){const e=m()(["ugb-pro-control-button__wrapper"],{"ugb-pro-control-button--hidden":!this.state.isOpen});return(0,i.createElement)("div",{className:"components-base-control"},(0,i.createElement)("button",{className:"ugb-pro-control-more-dots",onClick:this.onClick},(0,i.createElement)("div",{className:"ugb-pro-control-more-dots__dot"}),(0,i.createElement)("div",{className:"ugb-pro-control-more-dots__dot"}),(0,i.createElement)("div",{className:"ugb-pro-control-more-dots__dot"})),(0,i.createElement)("div",{className:e},(0,i.createElement)(wt,{type:this.props.type,title:this.props.title,description:this.props.description,button:this.props.button,showButton:this.props.showButton})))}}const fi=bi,yi=e=>{const t="all"===e.screens?["desktop","tablet","mobile"]:e.screens,a=(0,i.useMemo)((()=>{var t;return null===(t=e.units)||void 0===t?void 0:t.map((e=>({value:e})))}),[e.units])||[];return(0,i.createElement)("div",{className:"ugb-base-control-multi-label"},(0,i.createElement)("div",{className:"ugb-base-control-multi-label__label components-base-control__label"},e.label),(0,i.createElement)(Oe,{screens:t}),(0,i.createElement)("div",{className:"ugb-base-control-multi-label__units"},(0,i.createElement)(w,{className:"stk-control-unit-toggle",value:e.unit,options:a,onChange:t=>e.onChangeUnit(t),labelPosition:"left",buttonLabel:(0,h.__)("Unit",o.i18n),hasLabels:!1,hasColors:!1}),e.afterButton))};yi.defaultProps={label:"",units:["px"],unit:"px",onChangeUnit:()=>{},screens:["desktop"],afterButton:null};const ki=yi;class _i extends i.Component{constructor(){super(...arguments);const e=this.getEnabledValues(),t=!e.length||e.every((t=>t===e[0])),a=e.every((e=>""===e));this.state={locked:a?this.props.defaultLocked:t},this.onToggleLock=this.onToggleLock.bind(this),this.onChangeTop=this.onChangeTop.bind(this),this.onChangeRight=this.onChangeRight.bind(this),this.onChangeBottom=this.onChangeBottom.bind(this),this.onChangeLeft=this.onChangeLeft.bind(this)}getEnabledValues(){return[...this.props.enableTop?[this.props.top]:[],...this.props.enableRight?[this.props.right]:[],...this.props.enableBottom?[this.props.bottom]:[],...this.props.enableLeft?[this.props.left]:[]]}getEnabledLocations(){return[...this.props.enableTop?["top"]:[],...this.props.enableRight?["right"]:[],...this.props.enableBottom?["bottom"]:[],...this.props.enableLeft?["left"]:[]]}filterOnlyEnabled(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,p.pick)(e,this.getEnabledLocations())}onToggleLock(){this.setState({locked:!this.state.locked})}onChangeTop(e){const t=e.target.value,a=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:a,right:a,bottom:a,left:a})):this.props.onChange({...this.getEnabledValues(),top:a})}onChangeRight(e){const t=e.target.value,a=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:a,right:a,bottom:a,left:a})):this.props.onChange({...this.getEnabledValues(),right:a})}onChangeBottom(e){const t=e.target.value,a=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:a,right:a,bottom:a,left:a})):this.props.onChange({...this.getEnabledValues(),bottom:a})}onChangeLeft(e){const t=e.target.value,a=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:a,right:a,bottom:a,left:a})):this.props.onChange({...this.getEnabledValues(),left:a})}render(){const{instanceId:e}=this.props,t=`ugb-four-number-control-${e}__item-`;return(0,i.createElement)(s.BaseControl,{help:this.props.help,className:m()("ugb-four-number-control",this.props.className)},(0,i.createElement)(ki,{label:this.props.label,units:this.props.units,unit:this.props.unit,onChangeUnit:this.props.onChangeUnit,screens:this.props.screens}),(0,i.createElement)("div",{className:"ugb-four-number-control__wrapper"},(0,i.createElement)("label",{className:"ugb-four-number-control__label",htmlFor:`${t}-top`},(0,i.createElement)("input",{id:`${t}-top`,type:"number",onChange:this.onChangeTop,"aria-label":(0,h.__)("Top",o.i18n),value:this.props.top,placeholder:this.props.enableTop?"":(0,h.__)("auto",o.i18n),disabled:!this.props.enableTop}),(0,i.createElement)("span",null,(0,h.__)("Top",o.i18n))),(0,i.createElement)("label",{className:"ugb-four-number-control__label",htmlFor:`${t}-right`},(0,i.createElement)("input",{id:`${t}-right`,type:"number",onChange:this.onChangeRight,"aria-label":this.props.label,value:this.props.right,placeholder:this.props.enableRight?"":(0,h.__)("auto",o.i18n),disabled:!this.props.enableRight}),(0,i.createElement)("span",null,(0,h.__)("Right",o.i18n))),(0,i.createElement)("label",{className:"ugb-four-number-control__label",htmlFor:`${t}-bottom`},(0,i.createElement)("input",{id:`${t}-bottom`,type:"number",onChange:this.onChangeBottom,"aria-label":this.props.label,value:this.props.bottom,placeholder:this.props.enableBottom?"":(0,h.__)("auto",o.i18n),disabled:!this.props.enableBottom}),(0,i.createElement)("span",null,(0,h.__)("Bottom",o.i18n))),(0,i.createElement)("label",{className:"ugb-four-number-control__label",htmlFor:`${t}-left`},(0,i.createElement)("input",{id:`${t}-left`,type:"number",onChange:this.onChangeLeft,"aria-label":this.props.label,value:this.props.left,placeholder:this.props.enableLeft?"":(0,h.__)("auto",o.i18n),disabled:!this.props.enableLeft}),(0,i.createElement)("span",null,(0,h.__)("Left",o.i18n))),(0,i.createElement)(f,{className:this.state.locked?"ugb--is-locked":"",onClick:this.onToggleLock,icon:(0,i.createElement)(s.Dashicon,{icon:this.state.locked?"admin-links":"editor-unlink",size:"16"})})))}}_i.defaultProps={onChange:()=>{},defaultLocked:!0,top:"",right:"",bottom:"",left:"",units:["px"],unit:"px",onChangeUnit:()=>{},screens:["desktop"],enableTop:!0,enableRight:!0,enableBottom:!0,enableLeft:!0},(0,te.withInstanceId)(_i);const wi=function(e){return(0,i.createElement)("svg",n({id:"all_svg__Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",xmlSpace:"preserve"},e),(0,i.createElement)("style",null,".all_svg__st0{fill:#555d63}"),(0,i.createElement)("path",{className:"all_svg__st0",d:"M13 11.5v-7l2.3-1.9c.3-.2.7-.1.7.1v10.5c0 .2-.3.3-.7.2L13 11.5zM3 4.5v7L.7 13.4c-.3.2-.7.1-.7-.1V2.7c0-.2.3-.3.7-.2l2.3 2zM11.5 3h-7L2.6.7c-.2-.3-.1-.7.1-.7h10.5c.2 0 .3.3.2.7L11.5 3zM4.5 13h7l1.9 2.3c.2.2.1.7-.2.7H2.7c-.2 0-.3-.3-.2-.7l2-2.3z"}))},xi=function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,i.createElement)("path",{d:"M0 0v16h16V0H0zm13 13H3V3h10v10z",opacity:.06,fill:"#555d63"}),(0,i.createElement)("path",{d:"M3.8 13h8.4l2.2 2.3c.2.2.1.7-.2.7H1.8c-.3 0-.4-.3-.2-.7L3.8 13z",fill:"#555d63"}))},Ci=function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,i.createElement)("path",{d:"M0 0v16h16V0H0zm13 13H3V3h10v10z",opacity:.06,fill:"#555d63"}),(0,i.createElement)("path",{d:"M3 3.8v8.4L.7 14.3c-.3.3-.7.2-.7-.1V1.9c0-.4.4-.5.7-.3L3 3.8z",fill:"#555d63"}))},Si=function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,i.createElement)("path",{d:"M0 0v16h16V0H0zm13 13H3V3h10v10z",opacity:.06,fill:"#555d63"}),(0,i.createElement)("path",{d:"M13 12.2V3.8l2.3-2.2c.3-.2.7-.1.7.2v12.4c0 .3-.3.4-.7.2L13 12.2z",fill:"#555d63"}))},Ei=function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,i.createElement)("path",{d:"M0 0v16h16V0H0zm13 13H3V3h10v10z",opacity:.06,fill:"#555d63"}),(0,i.createElement)("path",{d:"M1.6.7c-.2-.3-.1-.7.2-.7h12.4c.3 0 .4.3.2.7L12.2 3H3.8L1.6.7z",fill:"#555d63"}))},Mi=function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,i.createElement)("path",{d:"M0 0v16h16V0H0zm13 13H3V3h10v10z",fill:"#555d63"}))},Ti=e=>{var t;const[a,l]=je(e.attribute,e.responsive,e.hover,e.valueCallback,e.changeCallback),[r,u]=He(e);let c=a||{top:e.defaultTop,right:e.defaultRight,bottom:e.defaultBottom,left:e.defaultLeft};(void 0!==e.top||void 0!==e.right||void 0!==e.bottom||void 0!==e.left)&&(c={top:void 0!==e.top?e.top:e.enableTop?e.defaultTop:void 0,right:void 0!==e.right?e.right:e.enableRight?e.defaultRight:void 0,bottom:void 0!==e.bottom?e.bottom:e.enableBottom?e.defaultBottom:void 0,left:void 0!==e.left?e.left:e.enableLeft?e.defaultLeft:void 0});const g=void 0===e.onChange?l:e.onChange,p=e.enableTop&&""===c.top&&e.enableRight&&""===c.right&&e.enableBottom&&""===c.bottom&&e.enableLeft&&""===c.left,v=e.enableTop?c.top:e.enableRight?c.right:e.enableBottom?c.bottom:c.left,b=(0,i.useMemo)((()=>{let t=!0;return t=(!e.enableTop||c.top===v)&&t,t=(!e.enableRight||c.right===v)&&t,t=(!e.enableBottom||c.bottom===v)&&t,t=(!e.enableLeft||c.left===v)&&t,t}),[]),[y,k]=(0,i.useState)(p?e.defaultLocked:b),_=m()(["ugb-four-range-control__lock"],{"ugb--is-locked":e.hasLock&&y});u.after=e.hasLock&&(0,i.createElement)(f,{className:_,onClick:()=>k(!y),isSecondary:!0,icon:y?(0,i.createElement)(wi,null):(0,i.createElement)(Mi,null),label:y?(0,h.__)("Individual sides",o.i18n):(0,h.__)("All sides",o.i18n)});const w=!(null===(t=e.units)||void 0===t||!t.length),x=Se(`${e.attribute}Unit`,e.responsive,e.hover),{clientId:C}=(0,d.useBlockEditContext)(),M=E(C)[x];if(w){const t=e.units.indexOf(M)<0?0:e.units.indexOf(M);Array.isArray(e.min)&&(r.min=e.min[t]),Array.isArray(e.max)&&(r.max=e.max[t]),Array.isArray(e.sliderMin)&&(r.sliderMin=e.sliderMin[t]),Array.isArray(e.sliderMax)&&(r.sliderMax=e.sliderMax[t]),Array.isArray(e.step)&&(r.step=e.step[t]),Array.isArray(e.placeholder)&&(r.placeholder=e.placeholder[t]),r.initialPosition=""!==e.initialPosition?e.initialPosition:e.placeholder,0!==t&&(r.initialPosition="",r.placeholder=e.placeholder)}"Desktop"!==S()&&(r.initialPosition="",r.placeholder=e.placeholder);const T=(0,i.useCallback)((t=>{g({top:e.enableTop?t:c.top,right:e.enableRight?t:c.right,bottom:e.enableBottom?t:c.bottom,left:e.enableLeft?t:c.left})})),N=(0,i.useCallback)((e=>{g({top:e,right:c.right,bottom:c.bottom,left:c.left})})),B=(0,i.useCallback)((e=>{g({top:c.top,right:e,bottom:c.bottom,left:c.left})})),I=(0,i.useCallback)((e=>{g({top:c.top,right:c.right,bottom:e,left:c.left})})),O=(0,i.useCallback)((e=>{g({top:c.top,right:c.right,bottom:c.bottom,left:e})}));return(0,i.createElement)(Fe,u,y&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(rt,n({},r,{value:v,onChange:T,allowReset:!1})),(0,i.createElement)(st,{allowReset:e.allowReset,value:v,default:e.defaultTop,onChange:T})),!y&&(0,i.createElement)(i.Fragment,null,e.enableTop&&(0,i.createElement)("div",{className:"ugb-four-range-control__range"},(0,i.createElement)(s.Tooltip,{text:(0,h.__)("Top",o.i18n)},(0,i.createElement)("span",{className:"ugb-four-range-control__icon"},(0,i.createElement)(Ei,null))),(0,i.createElement)(rt,n({},r,{value:c.top,onChange:N,allowReset:!1,placeholder:void 0===e.placeholderTop?r.placeholder:e.placeholderTop})),(0,i.createElement)(st,{allowReset:e.allowReset,value:c.top,default:e.defaultTop,onChange:N})),e.enableRight&&(0,i.createElement)("div",{className:"ugb-four-range-control__range"},(0,i.createElement)(s.Tooltip,{text:(0,h.__)("Right",o.i18n)},(0,i.createElement)("span",{className:"ugb-four-range-control__icon"},(0,i.createElement)(Si,null))),(0,i.createElement)(rt,n({},r,{value:c.right,onChange:B,allowReset:!1,placeholder:void 0===e.placeholderRight?r.placeholder:e.placeholderRight})),(0,i.createElement)(st,{allowReset:e.allowReset,value:c.right,default:e.defaultRight,onChange:B})),e.enableBottom&&(0,i.createElement)("div",{className:"ugb-four-range-control__range"},(0,i.createElement)(s.Tooltip,{text:(0,h.__)("Bottom",o.i18n)},(0,i.createElement)("span",{className:"ugb-four-range-control__icon"},(0,i.createElement)(xi,null))),(0,i.createElement)(rt,n({},r,{value:c.bottom,onChange:I,allowReset:!1,placeholder:void 0===e.placeholderBottom?r.placeholder:e.placeholderBottom})),(0,i.createElement)(st,{allowReset:e.allowReset,value:c.bottom,default:e.defaultBottom,onChange:I})),e.enableLeft&&(0,i.createElement)("div",{className:"ugb-four-range-control__range"},(0,i.createElement)(s.Tooltip,{text:(0,h.__)("Left",o.i18n)},(0,i.createElement)("span",{className:"ugb-four-range-control__icon"},(0,i.createElement)(Ci,null))),(0,i.createElement)(rt,n({},r,{value:c.left,onChange:O,allowReset:!1,placeholder:void 0===e.placeholderLeft?r.placeholder:e.placeholderLeft})),(0,i.createElement)(st,{allowReset:e.allowReset,value:c.left,default:e.defaultLeft,onChange:O}))))};Ti.defaultProps={defaultLocked:!0,hasLock:!0,enableTop:!0,enableRight:!0,enableBottom:!0,enableLeft:!0,defaultTop:"",defaultRight:"",defaultBottom:"",defaultLeft:"",placeholder:"",placeholderTop:"",placeholderRight:"",placeholderBottom:"",placeholderLeft:"",allowReset:!0,default:"",attribute:"",responsive:!1,hover:!1,top:void 0,right:void 0,bottom:void 0,left:void 0,onChange:void 0};const Ni=(0,i.memo)(Ti);var Bi=a(670),Ii=a.n(Bi),Oi=function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return function(){for(var e=arguments.length,a=new Array(e),n=0;n<e;n++)a[n]=arguments[n];return t.forEach((function(e){return e&&e.apply(void 0,a)}))}};function Pi(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Ri(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Pi(Object(a),!0).forEach((function(t){ra(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Pi(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var Li=function(e){function t(){var e,a;oa(this,t);for(var n=arguments.length,i=new Array(n),l=0;l<n;l++)i[l]=arguments[l];return ra(ma(a=da(this,(e=ha(t)).call.apply(e,[this].concat(i)))),"getRailProps",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=a.props,n=t.emitMouse,i=t.emitTouch;return Ri({},e,{onMouseDown:Oi(e.onMouseDown,n),onTouchStart:Oi(e.onTouchStart,i)})})),a}return va(t,e),ca(t,[{key:"render",value:function(){var e=this.getRailProps,t=this.props,a=t.getEventData,n=t.activeHandleID,i=(0,t.children)({getEventData:a,activeHandleID:n,getRailProps:e});return i&&u.Children.only(i)}}]),t}(u.Component);Li.propTypes={};const zi=Li;var Ai=function(e){function t(){return oa(this,t),da(this,ha(t).apply(this,arguments))}return va(t,e),ca(t,[{key:"render",value:function(){var e=this.props,t=e.children,a=e.values,n=e.scale,i=e.count,l=t({getEventData:e.getEventData,activeHandleID:e.activeHandleID,ticks:(a||n.getTicks(i)).map((function(e){return{id:"$$-".concat(e),value:e,percent:n.getValue(e)}}))});return l&&u.Children.only(l)}}]),t}(u.Component);Ai.propTypes={},Ai.defaultProps={count:10};const Di=Ai;function Fi(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Hi(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Fi(Object(a),!0).forEach((function(t){ra(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Fi(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var ji=function(e){function t(){var e,a;oa(this,t);for(var n=arguments.length,i=new Array(n),l=0;l<n;l++)i[l]=arguments[l];return ra(ma(a=da(this,(e=ha(t)).call.apply(e,[this].concat(i)))),"getTrackProps",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=a.props,n=t.emitMouse,i=t.emitTouch;return Hi({},e,{onMouseDown:Oi(e.onMouseDown,n),onTouchStart:Oi(e.onTouchStart,i)})})),a}return va(t,e),ca(t,[{key:"render",value:function(){for(var e=this.getTrackProps,t=this.props,a=t.children,n=t.left,i=t.right,l=t.scale,r=t.handles,s=t.getEventData,o=t.activeHandleID,c=l.getDomain(),g=[],m=0;m<r.length+1;m++){var d=r[m-1],h=r[m];0===m&&!0===n?d={id:"$",value:c[0],percent:0}:m===r.length&&!0===i&&(h={id:"$",value:c[1],percent:100}),d&&h&&g.push({id:"".concat(d.id,"-").concat(h.id),source:d,target:h})}var p=a({getEventData:s,activeHandleID:o,tracks:g,getTrackProps:e});return p&&u.Children.only(p)}}]),t}(u.Component);ji.propTypes={},ji.defaultProps={left:!0,right:!0};const Ui=ji;function Vi(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Gi(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Vi(Object(a),!0).forEach((function(t){ra(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Vi(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var $i=function(e){function t(){var e,a;oa(this,t);for(var n=arguments.length,i=new Array(n),l=0;l<n;l++)i[l]=arguments[l];return ra(ma(a=da(this,(e=ha(t)).call.apply(e,[this].concat(i)))),"autofocus",(function(e){e.target.focus()})),ra(ma(a),"getHandleProps",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=a.props,i=n.emitKeyboard,l=n.emitMouse,r=n.emitTouch;return Gi({},t,{onKeyDown:Oi(t.onKeyDown,(function(t){return i(t,e)})),onMouseDown:Oi(t.onMouseDown,a.autofocus,(function(t){return l(t,e)})),onTouchStart:Oi(t.onTouchStart,(function(t){return r(t,e)}))})})),a}return va(t,e),ca(t,[{key:"render",value:function(){var e=this.getHandleProps,t=this.props,a=t.activeHandleID,n=(0,t.children)({handles:t.handles,activeHandleID:a,getHandleProps:e});return n&&u.Children.only(n)}}]),t}(u.Component);$i.propTypes={};const qi=$i;var Wi="react-compound-slider:";function Ki(e){return function(t,a){return t.val>a.val?e?-1:1:a.val>t.val?e?1:-1:0}}function Ji(e,t,a,n){var i=e.findIndex((function(e){return e.key===t}));if(-1!==i){var l=e[i],r=l.key;return l.val===a?e:[].concat(ya(e.slice(0,i)),[{key:r,val:a}],ya(e.slice(i+1))).sort(Ki(n))}return e}function Yi(e,t){if(!e)return[0,0];var a=e.getBoundingClientRect();return[t?a.top:a.left,t?a.bottom:a.right]}function Xi(e){var t=e.type,a=void 0===t?"":t,n=e.touches;return!n||n.length>1||"touchend"===a.toLowerCase()&&n.length>0}function Qi(e,t){return e?t.touches[0].clientY:t.touches[0].pageX}function Zi(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,a=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0,i=0,l=e.map((function(e){var t=a.getValue(e);return e!==t&&(i+=1,Ii()(!n,"".concat(Wi," Invalid value encountered. Changing ").concat(e," to ").concat(t,"."))),t})).map((function(e,t){return{key:"$$-".concat(t),val:e}})).sort(Ki(t));return{handles:l,changes:i}}function el(e,t,a,n,i){for(var l=-1,r=!0,s=0;s<e.length;s++){var o=e[s],u=t[s];if(!u||u.key!==o.key)return e;u.val!==o.val&&(l=s,r=u.val-o.val>0)}if(-1===l)return e;for(var c=r?a:-a,g=0;g<t.length;g++){var m=t[g],d=t[g+1];if(d&&m.val===d.val){if(g===l){var h=d.val+c;if(i(h)===h){var p=el(t,Ji(t,d.key,d.val+c,n),a,n,i);return p===t?e:p}return e}var v=m.val+c;if(i(v)===v){var b=el(t,Ji(t,m.key,m.val+c,n),a,n,i);return b===t?e:b}return e}}return t}function tl(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}1===(al=tl).length&&(nl=al,al=function(e,t){return tl(nl(e),t)});var al,nl,il=Array.prototype,ll=(il.slice,il.map,Math.sqrt(50)),rl=Math.sqrt(10),sl=Math.sqrt(2);var ol=function(){function e(){oa(this,e),this.domain=[0,1],this.range=[0,1],this.interpolator=null}return ca(e,[{key:"createInterpolator",value:function(e,t){var a=e[0],n=e[1],i=t[0],l=t[1];return n<a?(a=this.deinterpolateValue(n,a),i=this.interpolateValue(l,i)):(a=this.deinterpolateValue(a,n),i=this.interpolateValue(i,l)),function(e){return i(a(e))}}},{key:"interpolateValue",value:function(e,t){return t-=e=+e,function(a){return e+t*a}}},{key:"deinterpolateValue",value:function(e,t){return(t-=e=+e)?function(a){return(a-e)/t}:function(){return t}}},{key:"rescale",value:function(){return this.interpolator=null,this}},{key:"getValue",value:function(e){var t=this.domain,a=this.range;return(this.interpolator||(this.interpolator=this.createInterpolator(t,a)))(+e)}},{key:"setDomain",value:function(e){return this.domain=e.map((function(e){return+e})),this.rescale(),this}},{key:"getDomain",value:function(){return this.domain}},{key:"setRange",value:function(e){return this.range=e.map((function(e){return+e})),this}},{key:"getTicks",value:function(e){var t=this.domain;return function(e,t,a){var n,i,l,r,s=-1;if(a=+a,(e=+e)==(t=+t)&&a>0)return[e];if((n=t<e)&&(i=e,e=t,t=i),0===(r=function(e,t,a){var n=(t-e)/Math.max(0,a),i=Math.floor(Math.log(n)/Math.LN10),l=n/Math.pow(10,i);return i>=0?(l>=ll?10:l>=rl?5:l>=sl?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(l>=ll?10:l>=rl?5:l>=sl?2:1)}(e,t,a))||!isFinite(r))return[];if(r>0)for(e=Math.ceil(e/r),t=Math.floor(t/r),l=new Array(i=Math.ceil(t-e+1));++s<i;)l[s]=(e+s)*r;else for(e=Math.floor(e*r),t=Math.ceil(t*r),l=new Array(i=Math.ceil(e-t+1));++s<i;)l[s]=(e-s)/r;return n&&l.reverse(),l}(t[0],t[t.length-1],e||10)}}]),e}();function ul(e,t,a){return Math.min(Math.max(e,t),a)}const cl=function e(){var t=this;oa(this,e),ra(this,"setDomain",(function(e){return t.domain=e.slice(),t})),ra(this,"setRange",(function(e){return t.range=e.slice(),t})),ra(this,"setStep",(function(e){return t.step=e,t})),ra(this,"getValue",(function(e){var a=la(t.domain,2),n=a[0],i=a[1],l=la(t.range,2),r=l[0],s=l[1],o=t.step,u=(ul(e,n,i)-n)/(i-n);return ul(o*Math.round(u*(s-r)/o)+r,r<s?r:s,s>r?s:r)})),this.step=1,this.domain=[0,1],this.range=[0,1]};var gl="undefined"!=typeof window&&"undefined"!=typeof document,ml=function(){},dl=function(e,t,a,n){var i=n?e-t:e+t;return n?Math.max(a[0],i):Math.min(a[1],i)},hl=function(e,t,a,n){var i=n?e+t:e-t;return n?Math.min(a[1],i):Math.max(a[0],i)},pl=function(e){function t(){var e,a;oa(this,t);for(var n=arguments.length,i=new Array(n),l=0;l<n;l++)i[l]=arguments[l];return ra(ma(a=da(this,(e=ha(t)).call.apply(e,[this].concat(i)))),"state",{step:null,values:null,domain:null,handles:[],reversed:null,activeHandleID:null,valueToPerc:null,valueToStep:null,pixelToStep:null}),ra(ma(a),"slider",u.createRef()),ra(ma(a),"onKeyDown",(function(e,t){var n=["ArrowRight","ArrowUp"],i=["ArrowDown","ArrowLeft"],l=ma(a),r=l.state.handles,s=l.props,o=s.step,u=s.reversed,c=s.vertical,g=s.domain,m=e.key||e.keyCode;if(n.concat(i).includes(m)){if(c){var d=[i,n];n=d[0],i=d[1]}e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault();var h=r.find((function(e){return e.key===t}));if(h){var p=h.val,v=p;n.includes(m)?v=dl(p,o,g,u):i.includes(m)&&(v=hl(p,o,g,u));var b=r.map((function(e){return e.key===t?{key:e.key,val:v}:e}));a.submitUpdate(b,!0)}}})),ra(ma(a),"onMouseDown",(function(e,t){a.onStart(e,t,!1)})),ra(ma(a),"onTouchStart",(function(e,t){Xi(e)||a.onStart(e,t,!0)})),ra(ma(a),"getEventData",(function(e,t){var n,i=ma(a),l=i.state,r=l.pixelToStep,s=l.valueToPerc,o=i.props.vertical;return r.setDomain(Yi(a.slider.current,o)),{value:n=t?r.getValue(Qi(o,e)):r.getValue(o?e.clientY:e.pageX),percent:s.getValue(n)}})),ra(ma(a),"onMouseMove",(function(e){var t=ma(a),n=t.state,i=n.handles,l=n.pixelToStep,r=n.activeHandleID,s=t.props,o=s.vertical,u=s.reversed;l.setDomain(Yi(a.slider.current,o));var c=Ji(i,r,l.getValue(o?e.clientY:e.pageX),u);a.submitUpdate(c)})),ra(ma(a),"onTouchMove",(function(e){var t=ma(a),n=t.state,i=n.handles,l=n.pixelToStep,r=n.activeHandleID,s=t.props,o=s.vertical,u=s.reversed;if(!Xi(e)){l.setDomain(Yi(a.slider.current,o));var c=Ji(i,r,l.getValue(Qi(o,e)),u);a.submitUpdate(c)}})),ra(ma(a),"onMouseUp",(function(){var e=ma(a),t=e.state,n=t.handles,i=t.activeHandleID,l=e.props,r=l.onChange,s=l.onSlideEnd;r(n.map((function(e){return e.val}))),s(n.map((function(e){return e.val})),{activeHandleID:i}),a.setState({activeHandleID:null}),gl&&(document.removeEventListener("mousemove",a.onMouseMove),document.removeEventListener("mouseup",a.onMouseUp))})),ra(ma(a),"onTouchEnd",(function(){var e=ma(a),t=e.state,n=t.handles,i=t.activeHandleID,l=e.props,r=l.onChange,s=l.onSlideEnd;r(n.map((function(e){return e.val}))),s(n.map((function(e){return e.val})),{activeHandleID:i}),a.setState({activeHandleID:null}),gl&&(document.removeEventListener("touchmove",a.onTouchMove),document.removeEventListener("touchend",a.onTouchEnd))})),a}return va(t,e),ca(t,[{key:"componentDidMount",value:function(){var e=this.state.pixelToStep,t=this.props.vertical;e.setDomain(Yi(this.slider.current,t))}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"removeListeners",value:function(){gl&&(document.removeEventListener("mousemove",this.onMouseMove),document.removeEventListener("mouseup",this.onMouseUp),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"onStart",value:function(e,t,a){var n=this.state.handles,i=this.props.onSlideStart;a||e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),n.find((function(e){return e.key===t}))?(this.setState({activeHandleID:t}),i(n.map((function(e){return e.val})),{activeHandleID:t}),a?this.addTouchEvents():this.addMouseEvents()):(this.setState({activeHandleID:null}),this.handleRailAndTrackClicks(e,a))}},{key:"handleRailAndTrackClicks",value:function(e,t){var a,n=this,i=this.state,l=i.handles,r=i.pixelToStep,s=this.props,o=s.vertical,u=s.reversed,c=this.slider;r.setDomain(Yi(c.current,o)),a=t?r.getValue(Qi(o,e)):r.getValue(o?e.clientY:e.pageX);for(var g=null,m=1/0,d=0;d<l.length;d++){var h=l[d],p=h.key,v=h.val,b=Math.abs(v-a);b<m&&(g=p,m=b)}var f=Ji(l,g,a,u);this.setState({activeHandleID:g},(function(){n.submitUpdate(f,!0),t?n.addTouchEvents():n.addMouseEvents()}))}},{key:"addMouseEvents",value:function(){gl&&(document.addEventListener("mousemove",this.onMouseMove),document.addEventListener("mouseup",this.onMouseUp))}},{key:"addTouchEvents",value:function(){gl&&(document.addEventListener("touchmove",this.onTouchMove),document.addEventListener("touchend",this.onTouchEnd))}},{key:"submitUpdate",value:function(e,t){var a=this.props,n=a.mode,i=a.step,l=a.onUpdate,r=a.onChange,s=a.reversed,o=this.state.valueToStep.getValue;this.setState((function(a){var u,c=a.handles;if("function"==typeof n)u=n(c,e,i,s,o),Ii()(Array.isArray(u),"Custom mode function did not return an array.");else switch(n){case 1:u=function(e,t){return t}(0,e);break;case 2:u=function(e,t){for(var a=0;a<e.length;a++){if(e[a].key!==t[a].key)return e;if(t[a+1]&&t[a].val===t[a+1].val)return e}return t}(c,e);break;case 3:u=el(c,e,i,s,o);break;default:u=e,Ii()(!1,"".concat(Wi," Invalid mode value."))}return l(u.map((function(e){return e.val}))),t&&r(u.map((function(e){return e.val}))),{handles:u}}))}},{key:"render",value:function(){var e=this,t=this.state,a=t.handles,i=t.valueToPerc,l=t.activeHandleID,r=this.props,s=r.className,o=r.rootStyle,c=r.rootProps,g=r.component,m=r.disabled,d=r.flatten,h=a.map((function(e){var t=e.key,a=e.val;return{id:t,value:a,percent:i.getValue(a)}})),p=u.Children.map(this.props.children,(function(t){return!t||t.type.name!==zi.name&&t.type.name!==Di.name&&t.type.name!==Ui.name&&t.type.name!==qi.name?t:u.cloneElement(t,{scale:i,handles:h,activeHandleID:l,getEventData:e.getEventData,emitKeyboard:m?ml:e.onKeyDown,emitMouse:m?ml:e.onMouseDown,emitTouch:m?ml:e.onTouchStart})}));return d?u.createElement(u.Fragment,null,u.createElement(g,n({},c,{style:o,className:s,ref:this.slider})),p):u.createElement(g,n({},c,{style:o,className:s,ref:this.slider}),p)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var a,n,i=e.step,l=e.values,r=e.domain,s=e.reversed,o=e.onUpdate,u=e.onChange,c=e.warnOnChanges,g=t.valueToPerc,m=t.valueToStep,d=t.pixelToStep,h={};if(g&&m&&d||(g=new ol,m=new cl,d=new cl,h.valueToPerc=g,h.valueToStep=m,h.pixelToStep=d),null===t.step||null===t.domain||null===t.reversed||i!==t.step||r[0]!==t.domain[0]||r[1]!==t.domain[1]||s!==t.reversed){var p=la(r,2),v=p[0],b=p[1];m.setStep(i).setRange([v,b]).setDomain([v,b]),!0===s?(g.setDomain([v,b]).setRange([100,0]),d.setStep(i).setRange([b,v])):(g.setDomain([v,b]).setRange([0,100]),d.setStep(i).setRange([v,b])),Ii()(b>v,"".concat(Wi," Max must be greater than min (even if reversed). Max is ").concat(b,". Min is ").concat(v,"."));var f=Zi(l||t.values,s,m,c),y=f.handles;(f.changes||void 0===l||l===t.values)&&(o(y.map((function(e){return e.val}))),u(y.map((function(e){return e.val})))),h.step=i,h.values=l,h.domain=r,h.handles=y,h.reversed=s}else if(!((a=l)===(n=t.values)||a.length===n.length&&a.reduce(function(e){return function(t,a,n){return t&&e[n]===a}}(n),!0))){var k=Zi(l,s,m,c),_=k.handles;k.changes&&(o(_.map((function(e){return e.val}))),u(_.map((function(e){return e.val})))),h.values=l,h.handles=_}return Object.keys(h).length?h:null}}]),t}(u.PureComponent);pl.propTypes={},pl.defaultProps={mode:1,step:.1,domain:[0,100],component:"div",rootProps:{},rootStyle:{},vertical:!1,reversed:!1,onChange:ml,onUpdate:ml,onSlideStart:ml,onSlideEnd:ml,disabled:!1,flatten:!1,warnOnChanges:!1};const vl=pl;vl.Rail=zi,vl.Ticks=Di,vl.Tracks=Ui,vl.Handles=qi;const bl={position:"absolute",width:"100%",height:42,transform:"translate(0%, -50%)",borderRadius:7,cursor:"pointer"},fl={position:"absolute",width:"100%",height:3,backgroundColor:"#e2e4e7",transform:"translate(0%, -50%)",borderRadius:7,pointerEvents:"none"},yl=e=>{let{getRailProps:t}=e;return(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",n({style:bl},t())),(0,i.createElement)("div",{style:fl}))},kl=e=>{const{domain:[t,a],handle:{id:l,value:r,percent:s},disabled:o=!1,getHandleProps:u}=e;return(0,i.createElement)("button",n({role:"slider","aria-valuemin":t,"aria-valuemax":a,"aria-valuenow":r,disabled:o,style:{left:`${s}%`}},u(l)))},_l=10,wl=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"right";if("left"===t)for(let t=e.length-1;t>=1;t--)if(e[t]<_l){const a=_l-e[t];e[t]=_l,e[t-1]-=a}for(let t=0;t<e.length-1;t++)if(e[t]<_l){const a=_l-e[t];e[t]=_l,e[t+1]-=a}if("right"===t)for(let t=e.length-1;t>=1;t--)if(e[t]<_l){const a=_l-e[t];e[t]=_l,e[t-1]-=a}return e},xl={position:"relative",width:"100%"},Cl=[0,100],Sl=e=>{let t=0;return[...e,100].map((e=>{const a=e-t;return t+=a,a}))},El=e=>{let t=0;return[...e].pop(),e.reduce(((a,n,i)=>{if(i===e.length-1)return a;const l=n+t;return t+=n,a.push(l),a}),[])},Ml=e=>(0,i.createElement)(vl,{className:"ugb-column-widths-control__columns-slider",rootStyle:xl,mode:(e,t)=>{const a=e.map((e=>e.val)),n=t.map((e=>e.val));if((0,p.isEqual)(a,n))return t;if((e=>{const t=[0,...e,100];return t.some(((e,a)=>0!==a&&e-t[a-1]<10))})(n)){const[e,i]=((e,t)=>{let a,n=0;return t.some(((t,i)=>t!==e[i]&&(n=i,a=t>e[i]?"right":"left",!0))),[n,a]})(a,n),l=((e,t,a)=>{const n=Sl(e),i=wl(n,a);return El(i)})(n,0,i);l.forEach(((e,a)=>{t[a].val=e}))}return t},step:1,onUpdate:t=>e.onChange(Sl(t)),domain:Cl,values:El(e.value)},(0,i.createElement)(zi,null,(e=>{let{getRailProps:t}=e;return(0,i.createElement)(yl,{getRailProps:t})})),(0,i.createElement)(qi,null,(e=>{let{handles:t,getHandleProps:a}=e;return(0,i.createElement)("div",{className:"slider-handles"},t.map((e=>(0,i.createElement)(kl,{key:e.id,handle:e,domain:Cl,getHandleProps:a}))))})));Ml.defaultProps={onChange:()=>{},value:[]};const Tl=e=>e.every((e=>!e)),Nl=e=>{const t={gridTemplateColumns:(a=e.value,a.map((e=>(e/100*a.length).toFixed(2)+"fr")).join(" ")),gridAutoFlow:Tl(e.value)?"column":void 0,justifyContent:Tl(e.value)?"space-around":void 0};var a;return(0,i.createElement)("div",{className:"ugb-column-widths-control__columns-input",style:t},e.value.map(((t,a)=>(0,i.createElement)("input",{key:a,className:"components-column-widths-control__number",type:"number",value:t||"",onChange:t=>{const n=parseInt(t.target.value,10),i=[...e.value];i[a]=isNaN(n)?"":n,e.onChange(i)},onBlur:()=>{const t=wl(e.value),n=100-t.reduce(((e,t)=>e+t),0);a<e.value.length-1?t[a+1]+=n:t[a-1]+=n,e.onChange(wl(t))}}))))};Nl.defaultProps={onChange:()=>{},value:[]};(0,h.__)("Column Widths",o.i18n);const Bl=e=>{const t=S(),a=i.Children.toArray(e.children).map((a=>(0,i.cloneElement)(a,{screens:e.screens,screen:t.toLowerCase()}))),n=t?(null==t?void 0:t.toLowerCase())===e.screen:"desktop"===e.screen.toLowerCase(),l=!e.screens.includes(t.toLowerCase())&&!n&&"Desktop"===t;return(0,i.createElement)(i.Fragment,null,(n||l)&&a)};Bl.defaultProps={screen:"desktop",screens:["desktop","tablet","mobile"]};const Il=Bl,Ol=[{value:"h1",title:(0,h.sprintf)((0,h._x)("%s %d","Nth Title",o.i18n),(0,h.__)("Heading",o.i18n),1),icon:(0,i.createElement)((function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,i.createElement)("path",{d:"M8.5 13H5.8V8.9H2.7V13H0V3h2.7v3.7h3.1V3h2.7v10zM16 13h-2.7V7.7 5.9c-.2.2-.4.4-.6.7l-1.1.9-1.4-1.7L13.6 3H16v10z"}))}),null)},{value:"h2",title:(0,h.sprintf)((0,h._x)("%s %d","Nth Title",o.i18n),(0,h.__)("Heading",o.i18n),2),icon:(0,i.createElement)((function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,i.createElement)("path",{d:"M7.7 12.7h-2v-4H2v4H0V3.4h2v3.7h3.7V3.4h2v9.3zM16 12.7H9.4v-1.4L11.8 9c.7-.7 1.1-1.2 1.4-1.5.2-.3.4-.5.5-.8.1-.2.1-.5.1-.7 0-.4-.1-.7-.3-.8-.2-.2-.5-.3-.8-.3-.4 0-.7.1-1 .3-.3.2-.7.4-1.1.7L9.4 4.6c.5-.4.8-.7 1.1-.8.3-.2.6-.3 1-.4.4-.1.8-.1 1.2-.1.6 0 1.1.1 1.6.3.5.2.8.5 1 .9s.4.8.4 1.3c0 .4-.1.8-.2 1.2-.2.4-.4.8-.7 1.2s-.9 1-1.7 1.7L11.9 11v.1H16v1.6z"}))}),null)},{value:"h3",title:(0,h.sprintf)((0,h._x)("%s %d","Nth Title",o.i18n),(0,h.__)("Heading",o.i18n),3),icon:(0,i.createElement)((function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,i.createElement)("path",{d:"M7.7 12.6H6.2V8.4H2v4.2H.5V3.3H2v3.8h4.2V3.3h1.5v9.3zM15.2 5.5c0 .6-.2 1.1-.5 1.5-.3.4-.8.7-1.4.8v.1c.7.1 1.3.3 1.6.7.4.4.6.9.6 1.5 0 .9-.3 1.6-.9 2.1-.6.5-1.5.7-2.6.7-1 0-1.9-.2-2.5-.5v-1.3c.4.2.8.3 1.2.5.4.1.8.2 1.2.2.7 0 1.2-.1 1.6-.4.4-.3.5-.7.5-1.2s-.2-.9-.6-1.1-1-.3-1.8-.3h-.8V7.3h.8c1.4 0 2.2-.5 2.2-1.5 0-.4-.1-.7-.4-.9-.3-.2-.6-.3-1.1-.3-.4 0-.7 0-1 .1-.3.1-.7.3-1.1.6l-.7-1c.8-.6 1.8-.9 2.9-.9.9 0 1.6.2 2.1.6.4.2.7.8.7 1.5z"}))}),null)},{value:"h4",title:(0,h.sprintf)((0,h._x)("%s %d","Nth Title",o.i18n),(0,h.__)("Heading",o.i18n),4),icon:(0,i.createElement)((function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,i.createElement)("path",{d:"M7.5 12.5H6v-4H1.9v4H.5v-9h1.4v3.7H6V3.5h1.4l.1 9zM15.5 10.5h-1.2v2h-1.4v-2h-4V9.4l4-5.9h1.4v5.8h1.2v1.2zm-2.6-1.2V7.1c0-.8 0-1.5.1-2-.1.3-.3.6-.5 1l-2.2 3.2h2.6z"}))}),null)},{value:"h5",title:(0,h.sprintf)((0,h._x)("%s %d","Nth Title",o.i18n),(0,h.__)("Heading",o.i18n),5),icon:(0,i.createElement)((function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,i.createElement)("path",{d:"M7.7 12.1H6.3V8.4H2.4v3.8H1V3.8h1.4v3.4h3.9V3.8h1.4v8.3zM12.2 6.9c.9 0 1.5.2 2 .7.5.4.8 1 .8 1.8 0 .9-.3 1.6-.9 2.1-.6.5-1.4.7-2.4.7-.9 0-1.7-.1-2.2-.4v-1.2c.3.2.7.3 1.1.4.4.1.8.1 1.1.1.6 0 1.1-.1 1.4-.4.3-.3.5-.7.5-1.2 0-1-.6-1.5-1.9-1.5H11c-.3 0-.5.1-.7.1l-.7-.3.4-4h4.4V5h-3.2L11 7.1c.1 0 .3 0 .5-.1.2 0 .4-.1.7-.1z"}))}),null)},{value:"h6",title:(0,h.sprintf)((0,h._x)("%s %d","Nth Title",o.i18n),(0,h.__)("Heading",o.i18n),6),icon:(0,i.createElement)((function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,i.createElement)("path",{d:"M7.6 12.1H6.3V8.4H2.6v3.7H1.2V3.8h1.3v3.4h3.8V3.8h1.3v8.3zM9.2 8.6c0-3.2 1.3-4.8 3.9-4.8.4 0 .8 0 1 .1V5c-.3-.1-.6-.1-1-.1-.9 0-1.5.2-2 .7-.4.5-.7 1.2-.7 2.3h.1c.2-.3.4-.5.7-.7.3-.2.7-.2 1.1-.2.7 0 1.3.2 1.7.7s.6 1.1.6 1.9c0 .9-.2 1.5-.7 2.1-.5.5-1.1.8-2 .8-.6 0-1.1-.1-1.5-.4-.4-.3-.8-.7-1-1.3 0-.8-.2-1.5-.2-2.2zm2.9 2.5c.4 0 .8-.2 1-.4.2-.3.4-.7.4-1.3 0-.5-.1-.9-.4-1.1-.2-.3-.6-.4-1-.4-.3 0-.6.1-.8.2-.2.1-.4.3-.6.5-.1.2-.2.4-.2.6 0 .5.2 1 .4 1.3.4.4.7.6 1.2.6z"}))}),null)},{value:"p",title:(0,h.__)("Paragraph",o.i18n),icon:(0,i.createElement)((function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,i.createElement)("path",{d:"M4.5 3h3.1c2.2 0 3.9.8 3.9 3.1 0 2.2-1.6 3.2-3.8 3.2H6.3V13H4.5V3zm3.1 4.9c1.5 0 2.2-.6 2.2-1.8 0-1.3-.8-1.7-2.3-1.7H6.3v3.5h1.3z"}))}),null)}];Ol.filter((e=>{let{value:t}=e;return"p"!==t}));(0,h.sprintf)((0,h._x)("%s HTML Tag","component",o.i18n),(0,h.__)("Title",o.i18n)),Ol[0].value;(0,h.__)("Align Left",o.i18n),(0,h.__)("Align Center",o.i18n),(0,h.__)("Align Right",o.i18n),(0,h.__)("Justified",o.i18n);(0,h.__)("Align",o.i18n);const Pl=wp.codeEditor,Rl=e=>{const[t,a]=(0,i.useState)(e.value),[n,l]=(0,i.useState)(null),r=(0,i.useMemo)((()=>(0,p.uniqueId)("ugb-code-textarea-")),[]),s=(0,i.useRef)((0,p.debounce)((t=>{e.onChange(t)}),500,{leading:!0})),o=(0,i.useCallback)((e=>{const t=e.getValue?e.getValue():e;a(t),s.current(t)}),[]);return(0,i.useEffect)((()=>{if(Pl.initialize){const t=(0,Pl.initialize)(r,F()(Pl.defaultSettings,e.editorSettings));l(t),t.codemirror.on("change",o)}return()=>{var e;null==s||null===(e=s.current)||void 0===e||e.cancel(),null==n||n.codemirror.off("change",o)}}),[]),(0,i.createElement)("textarea",{className:"ugb-code-textarea",id:r,value:t,onChange:o})};Rl.defaultProps={value:"",onChange:()=>{},editorSettings:{}};const Ll=(0,i.createElement)(s.Icon,{icon:function(){return pt((0,i.createElement)(dt,{width:"20",height:"20",className:"components-menu-items__item-icon"}))}}),zl=(0,i.createElement)(s.Icon,{icon:function(){return pt((0,i.createElement)(ht,{width:"20",height:"20",className:"components-menu-items__item-icon"}))}}),Al=(0,te.compose)([(0,x.withSelect)(((e,t)=>{let{clientIds:a}=t;const{getBlockRootClientId:n,getBlocksByClientId:i,canInsertBlockType:l}=e("core/block-editor"),r="ugb/container",s=l(r,a&&a.length>0?n(a[0]):void 0),o=i(a),u=1===o.length&&o[0]&&o[0].name===r;return{isGroupable:s&&o.length&&!u,isUngroupable:u&&!!o[0].innerBlocks.length,blocksSelection:o,groupingBlockName:r}})),(0,x.withDispatch)(((e,t)=>{let{clientIds:a,onToggle:n=p.noop,blocksSelection:i=[]}=t;const{replaceBlocks:l}=e("core/block-editor");return{onConvertToGroup(){if(!i.length)return;const e=i.map((e=>(0,ue.cloneBlock)(e))),t=(0,ue.createBlock)("ugb/container",{},e);l(a,t),n()},onConvertFromGroup(){if(!i.length)return;const e=i[0].innerBlocks;e.length&&(l(a,e),n())}}}))])((function(e){let{onConvertToGroup:t,onConvertFromGroup:a,isGroupable:n=!1,isUngroupable:l=!1}=e;return(0,x.select)("core/block-editor").getSelectedBlockClientIds?(0,i.createElement)(i.Fragment,null,n&&(0,i.createElement)(d.BlockSettingsMenuControls,null,(e=>{let{onClose:a}=e;return(0,i.createElement)(s.MenuItem,{icon:Ll,onClick:()=>{t(),a()}},(0,h.__)("Group into Container",o.i18n))})),l&&(0,i.createElement)(d.BlockSettingsMenuControls,null,(e=>{let{onClose:t}=e;return(0,i.createElement)(s.MenuItem,{icon:zl,onClick:()=>{a(),t()}},(0,h.__)("Ungroup from Container",o.i18n))}))):null})),Dl=((0,x.withSelect)((e=>{const{getSelectedBlockClientIds:t}=e("core/block-editor");return t?{clientIds:t()}:{}}))(Al),e=>{let{clientId:t}=e;const[a,n]=(0,i.useState)(!1),[l,r]=(0,i.useState)(!1),{blockName:o,getJSONBlockAttributes:u}=(0,x.useSelect)((e=>{const{getBlockName:a}=e("core/block-editor");return{blockName:t&&a(t)?a(t).replace(/^\w+\//g,""):"",getJSONBlockAttributes:()=>{const{getBlockName:a}=e("core/block-editor"),{getBlockType:n}=e("core/blocks");if(!t)return{};const i=e("core/block-editor").getBlockAttributes(t),l=a(t).replace(/^\w+\//g,""),r=n(a(t)).attributes,s=Object.keys(i).reduce(((e,t)=>(i[t]!==(r[t]?r[t].default:"")&&(e[t]=i[t]),e)),{});return s.uniqueClass=void 0,JSON.stringify((0,M.applyFilters)(`stackable.${l}.design.filtered-block-attributes`,s),null,4)}}}));return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(d.BlockSettingsMenuControls,null,(e=>{let{onClose:t}=e;return(0,i.createElement)(s.MenuItem,{icon:"editor-code",onClick:()=>{n(!0),r(!1),setTimeout((()=>document.querySelector(".ugb-modal-get-block-attributes-button textarea").select()),100),t()}},"Get / Set Block Attributes")})),a&&(0,i.createElement)(s.Modal,{title:`${(0,p.startCase)(o)} Block Attributes`,focusOnMount:!0,className:"ugb-modal-get-block-attributes-button",onRequestClose:()=>{l&&(e=>{if(t)try{const a=JSON.parse(e);ce(a,t)}catch(e){console.error(e)}})(document.querySelector(".ugb-modal-get-block-attributes-button textarea").value),n(!1)}},(0,i.createElement)("p",null,'Copy or modify the attributes of the block directly. Use only double quotes "'),(0,i.createElement)("textarea",{onChange:()=>r(!0)},u())))});((0,x.withSelect)((e=>{const{getSelectedBlockClientId:t}=e("core/block-editor");return t?{clientId:t()}:{}}))(Dl),e=>(0,i.createElement)(s.Modal,{title:(0,h.__)("Stackable Welcome Guide",o.i18n),className:"ugb-modal-welcome-video",overlayClassName:"ugb-modal-welcome-video__overlay",shouldCloseOnClickOutside:!1,onRequestClose:e.onRequestClose},(0,i.createElement)("p",null,(0,h.__)("Hello there 👋 I see you might be new to Stackable, we've made a short 3-minute video so you can make the most out of our unique blocks.",o.i18n)),(0,i.createElement)("iframe",{title:(0,h.__)("Video Tutorial",o.i18n),width:"800",height:"413",src:"https://www.youtube.com/embed/UW0Rg96aATA",frameBorder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0}),(0,i.createElement)("p",null,(0,i.createElement)(f,{className:"button-primary",onClick:e.onRequestClose,"data-testid":"button-close"},(0,h.__)("Close it, I'm good",o.i18n))))).defaultProps={onRequestClose:()=>{}};const Fl=function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"},e),(0,i.createElement)("path",{d:"M38 12H12v26h26V12z"}))},Hl=function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"},e),(0,i.createElement)("path",{d:"M12.5 12.5H0V0h12.5v12.5zM31.2 0H18.8v12.5h12.5V0zM50 0H37.5v12.5H50V0zM12.5 18.8H0v12.5h12.5V18.8zm18.7 0H18.8v12.5h12.5V18.8zm18.8 0H37.5v12.5H50V18.8zM12.5 37.5H0V50h12.5V37.5zm18.7 0H18.8V50h12.5V37.5zm18.8 0H37.5V50H50V37.5z"}))},jl=function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"},e),(0,i.createElement)("path",{d:"M21.1 5.3H5.3v15.8h15.8V5.3zm23.6 0H28.9v15.8h15.8V5.3zM21.1 28.9H5.3v15.8h15.8V28.9zm23.6 0H28.9v15.8h15.8V28.9z"}))},Ul=e=>"wireframes"===e.uikit.toLowerCase(),Vl=e=>{const[t,a]=(0,i.useState)([]),[n,l]=(0,i.useState)([]),[r,s]=(0,i.useState)([]),[u,c]=ge("stk__design_library__block-list__selected",""),{viewBy:g,apiVersion:d}=e;(0,i.useEffect)((()=>{yn(d).then((e=>{const t=Object.keys(e).reduce(((t,a)=>{const n=e[a],{categories:i,uikit:l}=n;return void 0!==t.uikits[l]||Ul(n)||(t.uikits[l]={id:l,label:n.uikit,plan:n.plan,count:0}),Ul(n)?i.forEach((e=>{void 0===t.wireframes[e]&&(t.wireframes[e]={id:e,label:e,count:0})})):i.forEach((e=>{void 0===t.categories[e]&&(t.categories[e]={id:e,label:e,count:0})})),t}),{uikits:{},categories:{},wireframes:{}});let n=["label"];o.isPro||(n=["plan","label"]);const i=(0,p.sortBy)(Object.values(t.uikits),n),r=(0,p.sortBy)(Object.values(t.categories),"label");r.unshift({id:"all",label:(0,h.__)("All",o.i18n),count:0});const u=(0,p.sortBy)(Object.values(t.wireframes),"label");u.unshift({id:"all",label:(0,h.__)("All",o.i18n),count:0}),a(i),l(r),s(u)}))}),[d]),(0,i.useEffect)((()=>{if(!t.length||!n.length||!r.length)return;const i=t.reduce(((e,t)=>(e[t.id]={...t,count:0},e)),{}),u=n.reduce(((e,t)=>(e[t.id]={...t,count:0},e)),{}),c=r.reduce(((e,t)=>(e[t.id]={...t,count:0},e)),{});e.designs.forEach((e=>{Ul(e)?e.categories.forEach((e=>{e&&c[e]&&c[e].count++})):(e.uikit&&i[e.uikit]&&i[e.uikit].count++,e.categories.forEach((e=>{e&&u[e]&&u[e].count++})))}));let g=["label"];o.isPro||(g=["plan","label"]),a((0,p.sortBy)(Object.values(i),g)),u.all&&(u.all.count=e.designs.filter((e=>!Ul(e))).length,u.all.label=" ");const m=(0,p.sortBy)(Object.values(u),"label");m[0]&&(m[0].label=(0,h.__)("All",o.i18n)),l(m),c.all&&(c.all.count=e.designs.filter(Ul).length,c.all.label=" ");const d=(0,p.sortBy)(Object.values(c),"label");d[0]&&(d[0].label=(0,h.__)("All",o.i18n)),s(d)}),[e.designs.length,JSON.stringify(t),JSON.stringify(n),JSON.stringify(r)]),(0,i.useEffect)((()=>{t.length&&n.length&&r.length&&c("uikit"===g?t[0].id:"all")}),[g]),(0,i.useEffect)((()=>{e.onSelect(u)}),[u]);const v="uikit"===g?t:"category"===g?n:r;return(0,i.createElement)("ul",{className:"ugb-block-list"},v.reduce(((e,t)=>{const{id:a,label:n,count:l,plan:r}=t,s=m()(["stk-design-library__sidebar-item"],{"is-active":u===a,"is-disabled":!o.isPro&&"premium"===r});return e.push((0,i.createElement)("li",{key:a},(0,i.createElement)("div",{className:s,"data-count":l,onClick:()=>c(a),onKeyPress:e=>{13===e.keyCode&&(void 0).click()},role:"button",tabIndex:0,"aria-pressed":u===a?"true":"false"},n,(0,i.createElement)("span",{className:"ugb-block-list__count","data-testid":`${a}-count`},l)))),e}),[]))};Vl.defaultProps={select:"",onSelect:()=>{},apiVersion:"",designs:[]};const Gl=Vl,$l=e=>{const[t,a]=(0,i.useState)(e.search),[n,l]=(0,i.useState)(3),[r,u]=(0,i.useState)(!0),[c,g]=(0,i.useState)(!1),[m,d]=(0,i.useState)(""),[p,v]=ge("stk__design_library__block-list__view_by","uikit"),[b,y]=ge("stk__design_library_dev_mode",!1),[k,_]=(0,i.useState)([]),[w,x]=(0,i.useState)([]),[C,S]=(0,i.useState)(t),[E,M]=(0,i.useState)(null);return(0,i.useEffect)((()=>{E&&(clearTimeout(E),M(null)),M(setTimeout((()=>{S(t)}),500))}),[t]),(0,i.useEffect)((()=>{const e=document.querySelector(".ugb-modal-design-library__search input");e&&e.focus()}),[]),(0,i.useEffect)((()=>{c&&(_([]),x([])),_n({search:C,reset:c,apiVersion:e.apiVersion}).then((e=>{_(e)})).finally((()=>{g(!1)}))}),[C,c,e.apiVersion]),(0,i.useEffect)((()=>{u(!0),_n({apiVersion:e.apiVersion,search:C,uikit:"wireframe"===p?"Wireframes":"uikit"===p?m:"",categories:["category","wireframe"].includes(p)&&"all"!==m?[m]:[]}).then((e=>{x(e)})).finally((()=>{u(!1)}))}),[m,p,c,C,e.apiVersion]),(0,i.createElement)(s.Modal,{title:(0,i.createElement)(i.Fragment,null,(0,h.__)("Stackable Design Library",o.i18n),(0,i.createElement)(Xt,{className:"stk-design-library-tabs",controls:[{value:"category",title:(0,h.__)("Block Designs",o.i18n)},{value:"uikit",title:(0,h.__)("UI Kits",o.i18n)},{value:"wireframe",title:(0,h.__)("Wireframes",o.i18n)}],value:p,onChange:v,fullwidth:!1,isToggleOnly:!0,allowReset:!1}),e.hasVersionSwitcher&&(0,i.createElement)(Xt,{controls:[{value:"",title:(0,h.__)("Latest Design Library",o.i18n)},{value:"v2",title:(0,h.__)("V2 Design Library",o.i18n)}],value:e.apiVersion,onChange:e.onChangeApiVersion,isSmall:!0,fullwidth:!1,isToggleOnly:!0,allowReset:!1})),className:"ugb-modal-design-library",onRequestClose:e.onClose},(0,i.createElement)("div",{className:"ugb-modal-design-library__wrapper"},(0,i.createElement)("aside",{className:"ugb-modal-design-library__sidebar"},(0,i.createElement)(s.TextControl,{className:"ugb-modal-design-library__search",placeholder:(0,h.__)("E.g. light, dark, red, minimalist…",o.i18n),value:t,onChange:e=>a(e),"data-testid":"input-search",type:"search"}),(0,i.createElement)("div",{className:"ugb-modal-design-library__filters"},(0,i.createElement)(Gl,{apiVersion:e.apiVersion,designs:k,viewBy:p,onSelect:e=>d(e)}))),(0,i.createElement)("aside",{className:"ugb-modal-design-library__topbar"},o.devMode&&(0,i.createElement)(s.ToggleControl,{className:"ugb-modal-design-library__dev-mode",label:"Dev Mode",checked:b,onChange:e=>{(async function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=await ve()({path:"/stackable/v2/design_library_dev_mode/",method:"POST",data:{devmode:e}});return await t})(e).then((()=>{g(!0)})),y(e)}}),(0,i.createElement)(f,{icon:"image-rotate",label:(0,h.__)("Refresh Library",o.i18n),className:"ugb-modal-design-library__refresh",onClick:()=>g(!0)}),(0,i.createElement)(f,{icon:(0,i.createElement)(Fl,{width:"18",height:"18"}),className:2===n?"is-active":"",label:(0,h.__)("Large preview",o.i18n),onClick:()=>l(2)}),(0,i.createElement)(f,{icon:(0,i.createElement)(jl,{width:"18",height:"18"}),className:3===n?"is-active":"",label:(0,h.__)("Medium preview",o.i18n),onClick:()=>l(3)}),(0,i.createElement)(f,{icon:(0,i.createElement)(Hl,{width:"18",height:"18"}),className:4===n?"is-active":"",label:(0,h.__)("Small preview",o.i18n),onClick:()=>l(4)})),(0,i.createElement)("div",{className:"ugb-modal-design-library__designs"},(0,i.createElement)(Sn,{className:`stk-design-library__item-${p}`,columns:n,onSelect:e.onSelect,isBusy:r,designs:w,apiVersion:e.apiVersion}))))};$l.defaultProps={search:"",onClose:()=>{},onSelect:()=>{},hasVersionSwitcher:!1,apiVersion:"",onChangeApiVersion:()=>{}};let ql=1;const Wl=e=>{const[t]=(0,i.useState)("ugb-admin-setting-"+ql++),a=m()(["ugb-admin-setting"],{[`ugb-admin-setting--${e.size}`]:e.size});return(0,i.createElement)("div",{className:a,id:t},(0,i.createElement)("label",{className:"ugb-admin-setting__label-wrapper",htmlFor:t,onClick:e.onClick},!!e.label&&(0,i.createElement)("span",{className:"ugb-admin-setting__label"},e.label),(0,i.createElement)("div",{className:"ugb-admin-setting__field"},e.children)),e.help&&(0,i.createElement)("p",{className:"ugb-admin-setting__help"},e.help))};Wl.defaultProps={label:"",onClick:()=>{}};const Kl=Wl,Jl=e=>{const t=(0,i.createRef)();return(0,i.createElement)(Kl,n({onClick:e=>{e.preventDefault(),t.current.focus()}},e),(0,i.createElement)("input",{ref:t,className:"ugb-admin-text-setting",type:e.type,value:e.value,placeholder:e.placeholder,onChange:t=>{e.onChange(t.target.value),t.preventDefault(),t.stopPropagation()}}),e.children)};Jl.defaultProps={label:"",type:"text",value:"",placeholder:"",onChange:()=>{}};const Yl=Jl,Xl=e=>{const t=(0,i.createRef)();return(0,i.createElement)(Kl,n({onClick:a=>{e.onChange(!e.value),a.preventDefault(),t.current.focus()}},e),(0,i.createElement)("button",{ref:t,className:"ugb-admin-toggle-setting__button",type:"button",role:"switch","aria-checked":!!e.value,onClick:t=>{e.onChange(!e.value),t.preventDefault(),t.stopPropagation()},style:{minWidth:e.width||void 0},disabled:e.isDisabled?"disabled":""},(0,i.createElement)("span",null,e.disabled),(0,i.createElement)("span",null,e.enabled)))};Xl.defaultProps={label:"",value:!1,placeholder:"",onChange:()=>{},disabled:(0,h.__)("Disabled",o.i18n),enabled:(0,h.__)("Enabled",o.i18n),width:"",isDisabled:!1};const Ql=Xl;let Zl=[];class er extends i.Component{constructor(){super(...arguments),this.state={isLoading:0===Zl.length,termList:Zl}}componentWillMount(){this.state.termList.length||(this.isStillMounted=!0,this.fetchRequest=ve()({path:(0,be.addQueryArgs)(`/stackable/${"v"+(this.props.stkVersion||"2")}/terms`,{per_page:-1})}).then((e=>{this.isStillMounted&&(Zl=e,this.setState({termList:e,isLoading:!1}))})).catch((()=>{this.isStillMounted&&this.setState({termList:[],isLoading:!1})})))}componentWillUnmount(){this.isStillMounted=!1}render(){const e=[],t=[],a=[];let n="";const{taxonomy:l,allowReset:r}=this.props;Object.keys(this.state.termList).forEach((n=>{const{label:i,taxonomies:l}=this.state.termList[n];e.push({label:i,value:n}),n===this.props.postType&&Object.keys(l).forEach(((e,n)=>{const{label:i,terms:r}=l[e];t.push({label:i,value:e});const s=!this.props.taxonomyType&&0===n;(e===this.props.taxonomyType||s)&&Object.keys(r).forEach((e=>{a.push({name:r[e].name,value:r[e].term_id})}))}))}));const u=a.map((e=>e.name));let c=""!==l?l.split(",").map((e=>{const{name:t}=(0,p.find)(a,(t=>t.value===parseInt(e)))||{};return t})):void 0;if((0,p.compact)(c).length||(c=void 0),t.length){const e=this.props.taxonomyType||t[0].value,a=t.filter((t=>{let{value:a}=t;return e===a}));n=a.length?a[0].label:t[0].label}return this.state.isLoading?(0,i.createElement)("div",{className:"stk-taxonomy-control__spinner"},(0,i.createElement)(s.Spinner,null)):(0,i.createElement)("div",{className:"stk-taxonomy-control"},o.isPro&&(0,i.createElement)(gt,{label:(0,h.__)("Post Type",o.i18n),options:e,value:this.props.postType,allowReset:r,onChange:e=>{const t=Object.keys(this.state.termList[e].taxonomies);this.props.onChangePostType(e),this.props.onChangeTaxonomyType(t.length?t[0]:""),this.props.onChangeTaxonomy("")},default:"post"}),t.length>0&&(0,i.createElement)(gt,{label:(0,h.__)("Filter by Taxonomy",o.i18n),options:t,value:this.props.taxonomyType,allowReset:r,onChange:e=>{this.props.onChangeTaxonomyType(e),this.props.onChangeTaxonomy("")},default:"category"}),t.length>0&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(gt,{label:(0,h.__)("Taxonomy Filter Type",o.i18n),allowReset:r,options:[{label:(0,h.__)("Included In",o.i18n),value:"__in"},{label:(0,h.__)("Not In",o.i18n),value:"__not_in"}],value:this.props.taxonomyFilterType,onChange:this.props.onChangeTaxonomyFilterType,default:"__in"}),(0,i.createElement)(kr,{label:n,suggestions:u,value:c,onChange:e=>{var t;const n=null==e||null===(t=e.map)||void 0===t?void 0:t.call(e,(e=>{const{value:t}=(0,p.find)(a||[],(t=>t.name===e))||{};return t}));this.props.onChangeTaxonomy((0,p.compact)(n||[]).join(","))}})))}}er.defaultProps={postType:"post",onChangePostType:()=>{},taxonomyType:"category",onChangeTaxonomyType:()=>{},taxonomy:"",onChangeTaxonomy:()=>{},allowReset:!1};const tr={Edit:e=>{const{blockProps:t,render:a,mainClass:l,blockTag:r,...s}=e,{blockName:o}=t,{anchor:u="",design:c,blockTag:g="div"}=t.attributes,d=m()([e.className],(0,M.applyFilters)(`stackable.${o}.main-block.classes`,{"ugb-main-block":l},t)),h=m()(["ugb-inner-block"],(0,M.applyFilters)(`stackable.${o}.main-block.inner-classes`,{},t)),p=(0,M.applyFilters)(`stackable.${o}.main-block.extraProps`,s,t),v=""!==u?u:void 0,b=g||r||"div";return(0,i.createElement)(b,n({},p,{id:v,className:d}),t.styles,(0,M.applyFilters)(`stackable.${o}.edit.output.outer`,null,c,t),a&&(0,i.createElement)("div",{className:h},(0,M.applyFilters)(`stackable.${o}.edit.output.before`,null,c,t),(0,i.createElement)("div",{className:"ugb-block-content"},a(t)),(0,M.applyFilters)(`stackable.${o}.edit.output.after`,null,c,t)))}};tr.Edit.defaultProps={styles:null,mainClass:!0},tr.Save=e=>{const{blockProps:t,render:a,mainClass:l,blockTag:r,...s}=e,{blockName:o}=t,{anchor:u="",design:c,blockTag:g="div"}=t.attributes,d=m()([e.className],(0,M.applyFilters)(`stackable.${o}.main-block.classes`,{"ugb-main-block":l},t)),h=m()(["ugb-inner-block"],(0,M.applyFilters)(`stackable.${o}.main-block.inner-classes`,{},t)),p=(0,M.applyFilters)(`stackable.${o}.main-block.extraProps`,s,t),v=""!==u?u:void 0,b=g||r||"div";return(0,i.createElement)(b,n({},p,{id:v,className:d}),t.styles,(0,M.applyFilters)(`stackable.${o}.save.output.outer`,null,c,t),a&&(0,i.createElement)("div",{className:h},(0,M.applyFilters)(`stackable.${o}.save.output.before`,null,c,t),(0,i.createElement)("div",{className:"ugb-block-content"},a(t)),(0,M.applyFilters)(`stackable.${o}.save.output.after`,null,c,t)))},tr.Save.defaultProps={styles:null,mainClass:!0};const ar=function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M-10 210h1620V105.2H-10z"}))},nr=function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#straight-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"straight-1-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{d:"M-10 121.6h1620v-16.4H-10z"}))},ir={"wave-1":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{className:"wave-1_svg__st2",d:"M1341.4 48.9c-182.4 0-254.2 80.4-429.4 80.4-117.8 0-209.7-67.5-393.5-67.5-142.2 0-212.6 38.8-324.6 38.8S-10 64.7-10 64.7V210h1620V102c-110.6-40.2-181-53.1-268.6-53.1z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#wave-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"wave-1-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{className:"wave-1-shadow_svg__st2",d:"M1341.4 48.9c-182.4 0-254.2 80.4-429.4 80.4-117.8 0-209.7-67.5-393.5-67.5-142.2 0-212.6 38.8-324.6 38.8S-10 64.7-10 64.7v10s91.9 35.9 203.9 35.9 182.4-38.8 324.6-38.8c183.8 0 275.7 67.5 393.5 67.5 175.2 0 247-80.4 429.4-80.4 87.6 0 158 12.9 268.6 53.1v-10c-110.6-40.2-181-53.1-268.6-53.1z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1341.4 151.4C1159 151.4 1087.2 71 912 71c-117.8 0-209.7 67.5-393.5 67.5-142.2 0-212.6-38.8-324.6-38.8S-10 135.6-10 135.6v75.9h1620V98.3c-110.6 40.2-181 53.1-268.6 53.1z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#wave-1-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"wave-1-inverted-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{d:"M1341.4 151.4C1159 151.4 1087.2 71 912 71c-117.8 0-209.7 67.5-393.5 67.5-142.2 0-212.6-38.8-324.6-38.8S-10 135.6-10 135.6v10s91.9-35.9 203.9-35.9 182.4 38.8 324.6 38.8C702.3 148.5 794.2 81 912 81c175.2 0 247 80.4 429.4 80.4 87.6 0 158-12.9 268.6-53.1v-10c-110.6 40.2-181 53.1-268.6 53.1z"}))}}},"wave-2":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{className:"wave-2_svg__st2",d:"M1432.2 67.4c-88.8-16.7-156-5.3-204 8.5s-147.1 62.2-223.1 73.9c-75.4 11.6-164-7.5-275-27.9S571 88.1 456 98.1c-119.7 10.4-224.7 52-294.4 73-94.5 28.5-171.6-3-171.6-3V210h1620V91.6c-53 10-86.8-7.1-177.8-24.2z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#wave-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"wave-2-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{className:"wave-2-shadow_svg__st2",d:"M1432.2 67.4c-88.8-16.7-156-5.3-204 8.5s-147.1 62.2-223.1 73.9c-75.4 11.6-164-7.5-275-27.9S571 88.1 456 98.1c-119.7 10.4-224.7 52-294.4 73-94.5 28.5-171.6-3-171.6-3v10s77.1 31.5 171.6 3c69.7-21 174.7-62.6 294.4-73 115-10 163.1 3.4 274.1 23.8 111 20.4 199.6 39.5 275 27.9 76-11.7 175.1-60.1 223.1-73.9s115.2-25.2 204-8.5c91 17.1 124.8 34.2 177.8 24.2v-10c-53 10-86.8-7.1-177.8-24.2z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1432.2 156.2c-88.8 16.7-156 5.3-204-8.5s-147.1-62.2-223.1-73.9c-75.4-11.6-164 7.5-275 27.9S571 135.5 456 125.5c-119.7-10.4-224.7-52-294.4-73C67.1 24-10 55.5-10 55.5v155.2h1620V132c-53-10-86.8 7.1-177.8 24.2z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#wave-2-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"wave-2-inverted-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{d:"M1432.2 156.2c-88.8 16.7-156 5.3-204-8.5s-147.1-62.2-223.1-73.9c-75.4-11.6-164 7.5-275 27.9S571 135.5 456 125.5c-119.7-10.4-224.7-52-294.4-73C67.1 24-10 55.5-10 55.5v10s77.1-31.5 171.6-3c69.7 21 174.7 62.6 294.4 73 115 10 163.1-3.4 274.1-23.8 111-20.4 199.6-39.5 275-27.9 76 11.7 175.1 60.1 223.1 73.9s115.2 25.2 204 8.5c91-17.1 124.8-34.2 177.8-24.2v-10c-53-10-86.8 7.1-177.8 24.2z"}))}}},"wave-3":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{className:"wave-3_svg__st2",d:"M1413.6 161.4c-157.9 0-338.2-37.7-495.1-67.4-215.6-40.8-328.1-44.6-418.2-41.1S317 73.4 188.4 102-10 136.2-10 136.2v74.2h1620v-68.5s-68.8 19.5-196.4 19.5z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#wave-3-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"wave-3-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{className:"wave-3-shadow_svg__st2",d:"M1413.6 161.4c-157.9 0-338.2-37.7-495.1-67.4-215.6-40.8-328.1-44.6-418.2-41.1S317 73.4 188.5 102-10 136.2-10 136.2v10s69.9-5.7 198.5-34.3 221.7-45.7 311.8-49.1 202.6.3 418.2 41.1c156.9 29.7 337.2 67.4 495.1 67.4 127.6 0 196.4-19.4 196.4-19.4v-10s-68.8 19.5-196.4 19.5z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1413.6 39.3c-157.9 0-338.2 37.7-495.1 67.4-215.6 40.8-328.1 44.6-418.2 41.1S317 127.3 188.4 98.7-10 64.5-10 64.5v150.2h1620V58.8s-68.8-19.5-196.4-19.5z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#wave-3-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"wave-3-inverted-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{d:"M1413.6 39.3c-157.9 0-338.2 37.7-495.1 67.4-215.6 40.8-328.1 44.6-418.2 41.1S317 127.3 188.4 98.7C59.8 70.1-10 64.5-10 64.5v10s69.8 5.6 198.4 34.2c128.6 28.6 221.8 45.6 311.9 49.1s202.6-.3 418.2-41.1c156.9-29.7 337.2-67.4 495.1-67.4 127.6 0 196.4 19.5 196.4 19.5v-10s-68.8-19.5-196.4-19.5z"}))}}},"wave-4":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1610 209.7v-51.2s-81.4-33.3-241.4-23.1c-157.4 10-247.9 49.6-340.9 49.4-93.1-.1-121-14.6-174.2-33.6-75.7-27.1-166.9-27.2-185.5-25.1-18.7 2.1-67.8 5.5-106-19.3-38.2-24.7-94.8-55.4-209.2-43.1C238.1 76.3 80 111.8-10 55.7v154h1620z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#wave-4-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"wave-4-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{d:"M1368.6 135.4c-157.4 10-247.9 49.6-340.9 49.4-93.1-.1-121-14.6-174.2-33.6-75.7-27.1-166.9-27.2-185.5-25.1-18.7 2.1-67.8 5.5-106-19.3-38.2-24.7-94.8-55.4-209.2-43.1C238.1 76.3 80 111.8-10 55.7v10c90 56.1 248.1 20.6 362.8 8 114.4-12.3 171 18.4 209.2 43.1 38.2 24.8 87.3 21.4 106 19.3 18.6-2.1 109.8-2 185.5 25.1 53.2 19 81.1 33.5 174.2 33.6 93 .2 183.5-39.4 340.9-49.4 160-10.2 241.4 23.1 241.4 23.1v-10s-81.4-33.3-241.4-23.1z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1610 208.9V79.2s-81.4 33.3-241.4 23.1c-157.4-10-247.9-49.6-340.9-49.4-93.1.1-121 14.6-174.2 33.6-75.7 27.1-166.9 27.2-185.5 25.1-18.7-2.1-67.8-5.5-106 19.3-38.2 24.7-94.8 55.4-209.2 43.1C238.1 161.4 80 125.9-10 182v26.9h1620z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#wave-4-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"wave-4-inverted-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{d:"M1368.6 102.3c-157.4-10-247.9-49.6-340.9-49.4-93.1.1-121 14.6-174.2 33.6-75.7 27.1-166.9 27.2-185.5 25.1-18.7-2.1-67.8-5.5-106 19.3-38.2 24.7-94.8 55.4-209.2 43.1C238.1 161.4 80 125.9-10 182v10c90-56.1 248.1-20.6 362.8-8 114.4 12.3 171-18.4 209.2-43.1 38.2-24.8 87.3-21.4 106-19.3 18.6 2.1 109.8 2 185.5-25.1 53.2-19 81.1-33.5 174.2-33.6 93-.2 183.5 39.4 340.9 49.4 160 10.2 241.4-23.1 241.4-23.1v-10s-81.4 33.3-241.4 23.1z"}))}}},"curve-1":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{className:"curve-1_svg__st2",d:"M1610 177.3C1423 122.9 1133.3 88 808 88c-334.7 0-631.8 37-818 94.1v28h1620v-32.8z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#curve-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"curve-1-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{className:"curve-1-shadow_svg__st2",d:"M808 87.9c-334.7 0-631.8 37-818 94.1v10c186.2-57.1 483.3-94.1 818-94.1 325.3 0 615 34.9 802 89.3v-10c-187-54.3-476.7-89.3-802-89.3z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1610 78.3c-187 54.4-476.7 89.3-802 89.3-334.7 0-631.8-37-818-94.1v136.8h1620v-132z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#curve-1-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"curve-1-inverted-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{d:"M808 167.6c-334.7 0-631.8-37-818-94.1v10c186.2 57.1 483.3 94.1 818 94.1 325.3 0 615-34.9 802-89.3v-10c-187 54.4-476.7 89.3-802 89.3z"}))}}},"curve-2":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{className:"curve-2_svg__st2",d:"M-10 207.6h1620S1430.8 23.8 1138.3 23.8C884 23.8 234.9 140.1-10 197.9v9.7z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#curve-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"curve-2-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{className:"curve-2-shadow_svg__st2",d:"M1138.3 36.2c246.1 0 412 130.1 458.4 171.4h13.3S1430.8 23.8 1138.3 23.8C884 23.8 172 156.9-10 197.9v9.7H2.2C201.7 163.7 889.3 36.2 1138.3 36.2z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M-10 207.4h1620S1608.1.1 1604.2 3.7c-32.8 30.8-203.9 178.2-465.9 178.2C884 181.9 234.9 65.6-10 7.8v199.6z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#curve-2-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"curve-2-inverted-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{d:"M1604.2 13.7c3.3-3.1 5.2 152.3 5.7 193.7h.1S1608.1.1 1604.2 3.7c-32.8 30.8-203.9 178.2-465.9 178.2C884 181.9 234.9 65.6-10 7.8v10c244.9 57.8 894 174.1 1148.3 174.1 262 0 433.1-147.5 465.9-178.2z"}))}}},"curve-3":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{className:"curve-3_svg__st1",d:"M-6.7 13.4S456 171.1 876.1 171.1 1606.4 16 1606.4 16v192.6H-6.7V13.4z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#curve-3-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"curve-3-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{className:"curve-3-shadow_svg__st1",d:"M876.1 171.1C456 171.1-6.7 13.4-6.7 13.4v13.7S456 184.8 876.1 184.8s730.3-155.1 730.3-155.1V16s-310.3 155.1-730.3 155.1z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M-6.6 177.6S456.1 40.3 876.2 40.3s730.3 135.1 730.3 135.1v33.5H-6.6v-31.3z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#curve-3-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"curve-3-inverted-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{d:"M876.2 40.3C456.1 40.3-6.5 177.6-6.5 177.6v10S456.2 50.3 876.3 50.3s730.3 135.1 730.3 135.1v-10c0-.1-310.3-135.1-730.4-135.1z"}))}}},"slant-1":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{className:"slant-1_svg__st2",d:"M-10 210h1620V.5L-10 183.9z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#slant-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"slant-1-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{className:"slant-1-shadow_svg__st2",d:"M-10 183.9v10L1610 10.5V.5z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1610 210H-10V.5l1620 183.4z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#slant-1-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"slant-1-inverted-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{d:"M-10 .5v10l1620 183.4v-10z"}))}}},"slant-2":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{className:"slant-2_svg__st1",d:"M1610 39.2V209H-10V39.2l810 118.9 810-118.9z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#slant-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"slant-2-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{className:"slant-2-shadow_svg__st1",d:"M1610 39.2v12L800 170.1-10 51.2v-12l810 118.9 810-118.9z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1610 160v53.2H-10V160L800 41.1 1610 160z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#slant-2-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"slant-2-inverted-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{d:"M800 41.1L-10 160v10L800 51.1 1610 170v-10z"}))}}},"straight-1":{default:{shape:ar,shadow:nr},inverted:{shape:ar,shadow:nr}},"rounded-1":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{className:"rounded-1_svg__st1",d:"M1602.9 209l-9.3-117.7c-3.8-48.1-46.3-84.4-94.4-80.6L-8 131.2V209h1610.9z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#rounded-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"rounded-1-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{className:"rounded-1-shadow_svg__st1",d:"M1491.2 20.7c48.1-3.8 90.6 32.5 94.4 80.6l8.5 107.7h8.8l-9.3-117.7c-3.8-48.1-46.3-84.4-94.4-80.6L-8 131.2v9.4L1491.2 20.7z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1604.5-2.7l-10.9 104.5c-3.8 48.1-46.3 84.4-94.4 80.6L-8 61.8v148.5h1613.9l-1.4-213z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#rounded-1-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"rounded-1-inverted-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{d:"M1596.6 111.7l8.2-78-.2-36.4-10.9 104.5c-3.8 48.1-46.3 84.4-94.4 80.6L-8 61.8v10l1507.2 120.5c48.1 3.8 93.6-32.5 97.4-80.6z"}))}}},"rounded-2":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{className:"rounded-2_svg__st2",d:"M1609.5 133.2h-9.5c0-10.9-8.9-19.8-19.8-19.8H19.8C8.9 113.3 0 122.2 0 133.2l-10-.2v77h1619.5v-76.8z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#rounded-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"rounded-2-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{className:"rounded-2-shadow_svg__st2",d:"M1600 133.2c0-10.9-8.9-19.8-19.8-19.8H19.8C8.9 113.3 0 122.2 0 133.2V210h9v-66.8c0-10.9 8.9-19.8 19.8-19.8h1542.4c10.9 0 19.8 8.9 19.8 19.8V210h9v-76.8z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1609.5 128.5h-9.5c0 10.9-8.9 19.8-19.8 19.8H19.8C8.9 148.4 0 139.5 0 128.5l-10 .2v83.1h1619.5v-83.3z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#rounded-2-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"rounded-2-inverted-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{d:"M1600 128.5c0 10.9-8.9 19.8-19.8 19.8H19.8C8.9 148.4 0 139.5 0 128.5l-10 .2v10l10-.2c0 11 8.9 19.9 19.8 19.8h1560.4c10.9 0 19.8-8.9 19.8-19.8h9.5v-10h-9.5z"}))}}},"rounded-3":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1610.5 189.1s-128.2-82.6-138.2-89.2c-17.1-11.3-37.2-15.5-87-18.1-49.7-2.6-753.6-40.7-783.9-42.3-30.3-1.5-81.1-1.3-121.1 8.2S-9.5 163.2-9.5 163.2v50h1620v-24.1z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#rounded-3-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"rounded-3-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{d:"M1472.3 99.9c-17.1-11.3-37.2-15.5-87-18.1-49.7-2.6-753.6-40.7-783.9-42.3-30.3-1.5-81.1-1.3-121.1 8.2S-9.5 163.2-9.5 163.2v10s449.8-106 489.8-115.5 90.8-9.7 121.1-8.2c30.3 1.6 734.2 39.7 783.9 42.3 49.8 2.6 69.9 6.8 87 18.1 10 6.6 138.2 89.2 138.2 89.2v-10s-128.2-82.6-138.2-89.2z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1610.5 24.1s-128.2 82.6-138.2 89.2c-17.1 11.3-37.2 15.5-87 18.1-49.7 2.6-753.6 40.7-783.9 42.3-30.3 1.5-81.1 1.3-121.1-8.2S-9.5 50-9.5 50v158.9h1620V24.1z"}))},shadow:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#rounded-3-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,i.createElement)("filter",{id:"rounded-3-inverted-shadow_svg__a"},(0,i.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,i.createElement)("feComponentTransfer",null,(0,i.createElement)("feFuncA",{type:"linear",slope:.4})),(0,i.createElement)("feMerge",null,(0,i.createElement)("feMergeNode",null),(0,i.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,i.createElement)("path",{d:"M1472.3 113.3c-17.1 11.3-37.2 15.5-87 18.1-49.7 2.6-753.6 40.7-783.9 42.3-30.3 1.5-81.1 1.3-121.1-8.2S-9.5 50-9.5 50v10s449.8 106 489.8 115.5 90.8 9.7 121.1 8.2c30.3-1.6 734.2-39.7 783.9-42.3 49.8-2.6 69.9-6.8 87-18.1 10-6.6 138.2-89.2 138.2-89.2v-10s-128.2 82.6-138.2 89.2z"}))}}}},lr=e=>{const{shape:t,shadow:a}=ir[e.design||"wave-1"][e.inverted?"inverted":"default"],n=m()([e.className,"ugb-separator-wrapper"]);return(0,i.createElement)("div",{className:n},e.shadow&&(0,i.createElement)(a,{className:"ugb-separator__shadow",preserveAspectRatio:"none","aria-hidden":"true"}),(0,i.createElement)(t,{className:"ugb-separator__layer-1",preserveAspectRatio:"none","aria-hidden":"true"}),e.children)};lr.defaultProps={className:"",design:"wave-1",shadow:!1,inverted:!1},lr.Save=e=>(0,i.createElement)(lr,e);const rr=()=>(0,i.createElement)("hr",{className:"ugb-control-separator"}),sr=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a="";return a=t?or(e,{"aria-label":t,role:"img"},["aria-hidden"]):or(e,{"aria-hidden":"true"},["aria-label","role"]),a},or=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const n=me(e);return n?(Object.keys(t).forEach((e=>{n.setAttribute(e,t[e])})),a.forEach((e=>{n.removeAttribute(e)})),n.outerHTML):""},ur=e=>{const[t,a]=(0,i.useState)(0),n=()=>{a(t+1)},l=(0,i.useMemo)((()=>e.prependRender?(0,i.renderToString)(e.prependRender):""),[e.prependRender]);(0,i.useEffect)((()=>{(window.FontAwesome?Promise.resolve(!0):new Promise(((e,t)=>{let a=240;const n=setInterval((()=>{window.FontAwesome?(clearInterval(n),e(!0)):a--<0&&(clearInterval(n),t(!1))}),250)}))).then(n)}),[]);const r=(0,p.pick)(e,["className","color","fill","style"]);if("string"==typeof e.value&&e.value.match(/^<svg/)){let t=sr(e.value,e.ariaLabel);return t=or(t,{width:"32",height:"32"}),(0,i.createElement)(i.RawHTML,r,l+t)}if(!window.FontAwesome)return(0,i.createElement)(s.Spinner,null);const o=e.value?e.value.replace(/-.*$/,""):e.prefix,u=e.value?e.value.replace(/^.*?-/,""):e.iconName;if(o&&u){const t=de(o,u);if(!t)return((e,t)=>{const a=he(e,t);return a?Promise.resolve(a):new Promise(((a,n)=>{let i=240;const l=setInterval((()=>{const r=he(e,t);window.FontAwesome?(clearInterval(l),a(r)):i--<0&&(clearInterval(l),n(!1))}),250)}))})(o,u).then(n),(0,i.createElement)(s.Spinner,null);let a=sr(t,e.ariaLabel);return a=or(a,{width:"32",height:"32"}),(0,i.createElement)(i.RawHTML,r,l+a)}const c=de("far","smile");let g=sr(c,e.ariaLabel);return g=or(g,{width:"32",height:"32"}),(0,i.createElement)(i.RawHTML,r,l+g)};ur.Content=e=>{const t=(0,p.pick)(e,["className","color","fill","style"]),a=e.prependRender?(0,i.renderToString)(e.prependRender):"";if("string"==typeof e.value&&e.value.match(/^<svg/)){let n=sr(e.value,e.ariaLabel);return n=or(n,{width:"32",height:"32"}),(0,i.createElement)(i.RawHTML,t,a+n)}const n=e.value?e.value.replace(/-.*$/,""):e.prefix,l=e.value?e.value.replace(/^.*?-/,""):e.iconName,r=de(n,l);let s=sr(r,e.ariaLabel);return s=or(s,{width:"32",height:"32"}),(0,i.createElement)(i.RawHTML,t,a+s)},ur.defaultProps={ariaLabel:"",prefix:"",iconName:"",value:""};const cr=ur,gr=e=>e.match(/^<svg(.*?)<\/svg>$/g)?e:e.match(/<svg/)?(e.match(/<svg.*?<\/svg>/g)||[e])[0]:e,mr=e=>{const{...t}=e;return t.value=(0,i.useMemo)((()=>"string"===e.value?gr(e.value):e.value),[e.value]),(0,i.createElement)(cr,t)};mr.Content=e=>{const{...t}=e;return t.value="string"===e.value?gr(e.value):e.value,(0,i.createElement)(cr.Content,t)};const dr=mr,hr=e=>{const t=m()(["stk-inspector-control",e.className],{"stk-inspector-control--allow-reset":e.allowReset,"stk--is-small":e.isSmall}),a=null!==e.showReset?e.showReset:void 0!==e.value&&e.value!==e.defaultValue&&e.value!==e.placeholder;return(0,i.createElement)(s.BaseControl,{help:e.help,className:t},e.hasLabel&&(0,i.createElement)(ki,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens,afterButton:e.afterButton}),e.children,e.allowReset&&a&&(0,i.createElement)(f,{className:"stk-inspector-control__reset-button",isSmall:!0,isTertiary:!0,"aria-label":(0,h.__)("Reset",o.i18n),onClick:()=>{e.onReset?e.onReset():e.onChange(e.defaultValue)},icon:(0,i.createElement)(s.Dashicon,{icon:"image-rotate"})}))};hr.defaultProps={className:"",help:"",id:"",screens:["desktop"],units:null,unit:"px",onChangeUnit:()=>{},value:"",onChange:()=>{},allowReset:!1,showReset:null,defaultValue:"",onReset:null,isLinked:!0,onLink:()=>{},afterButton:null,isSmall:!1,hasLabel:!0};const pr=hr,vr=e=>{const{label:t,help:a}=e,n=`inspector-toggle-control-${(0,te.useInstanceId)(vr)}`,[l,r]=je(e.attribute,e.responsive,e.hover,e.changeCallback),o=void 0===e.checked?l:e.checked,u=void 0===e.onChange?r:e.onChange;let c,g;a&&(c=n+"__help",g=(0,p.isFunction)(a)?a(o):a);const d=m()(["components-toggle-control","stk-toggle-control",e.className]);return(0,i.createElement)(pr,{id:n,help:g,className:d,allowReset:!0,value:o,showReset:e.defaultValue?o!==e.defaultValue:o,onChange:u,hasLabel:!1,defaultValue:e.defaultValue},(0,i.createElement)(s.FormToggle,{id:n,checked:o,onChange:e=>u(e.target.checked),"aria-describedby":c}),(0,i.createElement)("label",{htmlFor:n,className:"components-toggle-control__label"},t))};vr.defaultProps={className:"",allowReset:!1,showReset:null,defaultValue:"",attribute:"",responsive:!1,hover:!1,checked:void 0,onChange:void 0};const br=vr,fr=e=>{var t;const[a,l]=je(e.attribute,e.responsive,e.hover),[r,o]=He(e);return r.url=St(r.url),null!==(t=r.url)&&void 0!==t&&t.includes("http")||(r.url=void 0),(0,i.createElement)(Fe,n({},o,{className:m()("stk-advanced-focal-point-control",e.className)}),(0,i.createElement)(s.FocalPointPicker,n({},r,{value:void 0===e.value?a:e.value,onChange:void 0===e.onChange?l:e.onChange})),(0,i.createElement)(st,{allowReset:e.allowReset,value:void 0===e.value?a:e.value,default:e.default,onChange:void 0===e.onChange?l:e.onChange}))};fr.defaultProps={className:"",url:"",allowReset:!0,default:"",attribute:"",responsive:!1,hover:!1,value:void 0,onChange:void 0},(0,i.memo)(fr);const yr=e=>{const[t,a]=je(e.attribute,e.responsive,e.hover),[l,r]=He(e),{...o}=l,u=void 0===e.value?t:e.value,c=void 0===e.onChange?a:e.onChange;return(0,i.createElement)(Fe,n({},r,{className:m()("stk-advanced-token-field",e.className)}),(0,i.createElement)(s.FormTokenField,n({},o,{value:u,onChange:c})),(0,i.createElement)(st,{allowReset:e.allowReset,value:u,default:e.default,onChange:c}))};yr.defaultProps={className:"",allowReset:!0,default:"",attribute:"",value:void 0,onChange:void 0};const kr=yr;(0,h.__)("Blur",o.i18n),(0,h.__)("Brightness",o.i18n),(0,h.__)("Contrast",o.i18n),(0,h.__)("Grayscale",o.i18n),(0,h.__)("Hue Rotate",o.i18n),(0,h.__)("Invert",o.i18n),(0,h.__)("Opacity",o.i18n),(0,h.__)("Saturate",o.i18n),(0,h.__)("Sepia",o.i18n),(0,i.createElement)(k,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,i.createElement)(y,{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"}));(0,h.__)("Add Column",o.i18n);(0,h.__)("Horizontal Offset",o.i18n),(0,h.__)("Vertical Offset",o.i18n),(0,h.__)("Blur",o.i18n),(0,h.__)("Shadow Spread",o.i18n),(0,h.__)("Shadow Color",o.i18n),(0,h.__)("Shadow Opacity",o.i18n);(0,h.__)("Shadow / Outline",o.i18n);const _r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Object.keys(e).reduce(((n,i)=>({...n,[we(i,t,t,a?".editor-styles-wrapper":"")]:e[i]})),{})},wr=e=>Object.keys(e).reduce(((t,a)=>{const n=Object.keys(e[a]).reduce(((t,n)=>{const i=e[a][n];if(void 0===i)return t;const l=n.replace(/^(--?)?(.*?$)/,((e,t,a)=>`${t||""}${(0,p.kebabCase)(a)}`));return t+"\n\t"+l+": "+i+";"}),"");return t.push("\n\n"+a+" {"+n+"\n}"),t}),[]),xr=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["desktop"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1024,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:768;const n=(0,p.sortBy)("string"==typeof e?e.split(",").map((e=>e.trim())):e);return(0,p.isEqual)(n,["desktop","tablet"])?"@media screen and (min-width: "+a+"px)":(0,p.isEqual)(n,["desktop"])?"@media screen and (min-width: "+t+"px)":(0,p.isEqual)(n,["mobile","tablet"])?"@media screen and (max-width: "+(t-1)+"px)":(0,p.isEqual)(n,["tablet"])?"@media screen and (min-width: "+a+"px) and (max-width: "+(t-1)+"px)":(0,p.isEqual)(n,["mobile"])?"@media screen and (max-width: "+(a-1)+"px)":null},Cr=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1024,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:768,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;const r=[];Object.keys(e).forEach((t=>{if(["desktopTablet","desktopOnly","tablet","tabletOnly","mobile","ie11","editor","saveOnly","custom"].includes(t)){const a=t;Object.keys(e[a]).forEach((t=>{Object.keys(e[a][t]).forEach((n=>void 0===e[a][t][n]?delete e[a][t][n]:{})),Object.keys(e[a][t]).length||delete e[a][t]})),Object.keys(e[a]).length||delete e[a]}else Object.keys(e[t]).forEach((a=>void 0===e[t][a]?delete e[t][a]:{})),Object.keys(e[t]).length||delete e[t]}));const s=(0,p.omit)(e,["desktopTablet","desktopOnly","tablet","tabletOnly","mobile","ie11","editor","saveOnly","custom"]);if(Object.keys(s).length){const e=_r(s,t,i);Array.prototype.push.apply(r,wr(e))}if(void 0!==e.desktopTablet){const l=_r(e.desktopTablet,t,i),s=wr(l);s&&(i?s.forEach((e=>{r.push("\n\n"+xr(["desktop","tablet"],a,n)+" {\n"+e+" }")})):r.push(`\n\n${xr(["desktop","tablet"],a,n)} {\n${s.join("")} }`))}if(void 0!==e.desktopOnly){const l=_r(e.desktopOnly,t,i),s=wr(l);s&&(i?s.forEach((e=>{r.push("\n\n"+xr(["desktop"],a,n)+" {\n"+e+" }")})):r.push(`\n\n${xr(["desktop"],a,n)} {\n${s.join("")} }`))}if(void 0!==e.tablet){const l=_r(e.tablet,t,i),s=wr(l);s&&(i?s.forEach((e=>{r.push("\n\n"+xr(["mobile","tablet"],a,n)+" {\n"+e+" }")})):r.push(`\n\n${xr(["mobile","tablet"],a,n)} {\n${s.join("")} }`))}if(void 0!==e.tabletOnly){const l=_r(e.tabletOnly,t,i),s=wr(l);s&&(i?s.forEach((e=>{r.push("\n\n"+xr(["tablet"],a,n)+" {\n"+e+" }")})):r.push(`\n\n${xr(["tablet"],a,n)} {\n${s.join("")} }`))}if(void 0!==e.mobile){const l=_r(e.mobile,t,i),s=wr(l);s&&(i?s.forEach((e=>{r.push("\n\n"+xr(["mobile"],a,n)+" {\n"+e+" }")})):r.push(`\n\n${xr(["mobile"],a,n)} {\n${s.join("")} }`))}if(void 0!==e.ie11){const a=_r(e.ie11,t,i),n=wr(a);n&&r.push(`\n\n@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {\n${n.join("")} }`)}return void 0!==e.custom&&Array.prototype.push.apply(r,wr(e.custom)),i&&void 0!==e.editor&&!l&&Array.prototype.push.apply(r,Cr(e.editor,t,a,n,i,l++)),i||void 0===e.saveOnly||l||Array.prototype.push.apply(r,Cr(e.saveOnly,t,a,n,i,l++)),r},Sr=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Desktop";const a=[(0,p.omit)(e,["desktopTablet","desktopOnly","tablet","tabletOnly","mobile","editor","ie11","saveOnly"])];return"Desktop"===t?(a.push(e.desktopTablet||{}),a.push(e.desktopOnly||{}),e.editor&&(a.push((0,p.omit)(e.editor,["desktopTablet","desktopOnly","tablet","tabletOnly","mobile","editor","ie11","saveOnly"])),a.push(e.editor.desktopTablet||{}),a.push(e.editor.desktopOnly||{}))):"Tablet"===t?(a.push(e.desktopTablet||{}),a.push(e.tablet||{}),a.push(e.tabletOnly||{}),e.editor&&(a.push((0,p.omit)(e.editor,["desktopTablet","desktopOnly","tablet","tabletOnly","mobile","editor","ie11","saveOnly"])),a.push(e.editor.desktopTablet||{}),a.push(e.editor.tablet||{}),a.push(e.editor.tabletOnly||{}))):(a.push(e.tablet||{}),a.push(e.mobile||{}),e.editor&&(a.push((0,p.omit)(e.editor,["desktopTablet","desktopOnly","tablet","tabletOnly","mobile","editor","ie11","saveOnly"])),a.push(e.editor.tablet||{}),a.push(e.editor.mobile||{}))),a.forEach((e=>{Object.keys(e).forEach((t=>{Object.keys(e[t]).forEach((a=>void 0===e[t][a]?delete e[t][a]:{})),Object.keys(e[t]).length||delete e[t]}))})),F().all(a)},Er=(0,i.memo)((e=>{const{breakTablet:t=1024,breakMobile:a=768,styleFunc:n=(()=>{})}=e,l=S(),{clientId:r}=(0,d.useBlockEditContext)(),s=E(r),o=fe(s.uniqueId),u=n({...s,clientId:r}).map((e=>{const n=Sr(e,l);return Cr(n,o,t,a,!0)}));return u?u.map(((e,t)=>(0,i.createElement)("style",{key:t},e))):null}));Er.Content=e=>{const{breakTablet:t=1024,breakMobile:a=768,styleFunc:n=(()=>{}),attributes:l={}}=e,r=fe(l.uniqueId),s=Cr(Mr(n(l)),r,t,a,!1);return s&&s.length?(0,i.createElement)("style",null,ke(s.join(""))):null},Er.displayName="Style";const Mr=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const a=F().all(e);return t?Nr(a):a};Er.addAttributes=e=>{e.add({attributes:{generatedCss:{type:"string",source:"html",selector:"style:not(.stk-custom-css)",default:""}},versionAdded:"3.0.3",versionDeprecated:""})};const Tr=(0,i.memo)((e=>{const{version:t,versionAdded:a,versionDeprecated:n,styles:l,deviceType:r,blockUniqueClassName:s,breakTablet:o,breakMobile:u}=e,c=(e=>{const t=(0,i.useContext)(ae),a=(0,x.useSelect)((e=>{var t;return null===(t=e("core/editor"))||void 0===t?void 0:t.getCurrentPostId()})),[n,l]=(0,i.useState)(0);return(0,i.useEffect)((()=>{if(((e,t)=>(null==e?void 0:e.postId)&&t&&(null==e?void 0:e.postId)!==t)(t,a)&&e){const a=ne[e]||[];a.includes(null==t?void 0:t.postId)||a.push(null==t?void 0:t.postId),ne[e]=a,l(a.findIndex((e=>e===(null==t?void 0:t.postId)))+1)}}),[null==t?void 0:t.id,a,e]),n})((null==s?void 0:s.replace("stk-",""))||""),g=c&&!s.match(/-[\d]$/g)?s+`-${c}`:s,m=(0,i.useMemo)((()=>t?A()(t,a)>=0&&(!n||-1===A()(t,n)):!!n),[t,a,n]),d=(0,i.useMemo)((()=>{if(!m)return"";const e=Sr(l,r);return Cr(Nr(e),g,o,u)}),[m,l,r,g,o,u]),h=St(d.join(""));return m&&d&&h?(0,i.createElement)("style",null,h):null}));Tr.defaultProps={styles:null,blockUniqueClassName:"",breakTablet:1024,breakMobile:768,doImportant:!0,deviceType:"",version:"",versionAdded:"",versionDeprecated:!1},Tr.Content=e=>{const{version:t,versionAdded:a,versionDeprecated:n,styles:l,blockUniqueClassName:r,breakTablet:s,breakMobile:o}=e;if(!(t?A()(t,a)>=0&&(!n||-1===A()(t,n)):n))return null;const u=Cr(Nr(l),r,s,o);return u?(0,i.createElement)(i.Fragment,null,ke(u.join(""))):null},Tr.Content.defaultProps={styles:null,blockUniqueClassName:"",breakTablet:1024,breakMobile:768,doImportant:!0,version:"",versionAdded:"",versionDeprecated:!1};const Nr=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return"object"!=typeof e?le(e,t):Object.keys(e).reduce(((a,n)=>({...a,[n]:Nr(e[n],t)})),{})},Br=(0,i.forwardRef)(((e,t)=>{const{children:a,className:l,tagName:r,...s}=e,o=m()(["stk-link",l]),u=r||"a";return(0,i.createElement)(u,n({ref:t,className:o,href:"#0"},s),a)}));Br.defaultProps={className:"",tagName:"a"},Br.Content=e=>{const t=m()(["stk-link",e.className]),a=(0,p.omit)(e,["target","rel","tagName"]),l=e.tagName||"a";e.target&&(a.target=e.target);const r=(e.rel||"").split(" ").filter((e=>!!e));return"_blank"===e.target&&(r.includes("noreferrer")||r.push("noreferrer"),r.includes("noopener")||r.push("noopener")),r.length&&(a.rel=r.join(" ")),(0,i.createElement)(l,n({},a,{className:t}))},Br.Content.defaultProps={className:"",target:"",rel:"",href:"",tagName:"a"};const Ir=(0,p.throttle)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const t=document.querySelector(".editor-styles-wrapper");t&&!t.classList.contains(`stk-preview-device-${e.toLowerCase()}`)&&(t.classList.remove("stk-preview-device-desktop","stk-preview-device-tablet","stk-preview-device-mobile"),t.classList.add(`stk-preview-device-${e.toLowerCase()}`))}),100),Or=[.25,.33333,.5,.66666,.75,1],Pr=[.1,.2,.3,.4,.5,.6,.7,.8,.9,1],Rr=function(e,t,a){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"right",i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];const l=e.slice(0,t).reduce(((e,t)=>e+t),0),r=l+e[t],s=i?Pr:Or;return s.map((e=>{const t=a*e;return"right"===n?t-l:r-t}))},Lr=Or.map((e=>100*e)),zr=Pr.map((e=>100*e)),Ar=(0,i.createContext)({showColumnTooltip:!1,setShowColumnTooltip:()=>{}}),Dr={Desktop:5,Tablet:10,Mobile:10},Fr=e=>{const{clientId:t}=(0,d.useBlockEditContext)(),a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const t=(0,d.useBlockEditContext)(),a=e||t.clientId,n=(0,x.useSelect)((e=>{var t,n,i,l,r;const{getBlock:s,getBlockParents:o}=e("core/block-editor"),u=s(a),c=(0,p.last)(o(a)),g=c&&c!==a;var m,d;if(!g)return{numInnerBlocks:null==u||null===(m=u.innerBlocks)||void 0===m?void 0:m.length,hasInnerBlocks:!(null==u||null===(d=u.innerBlocks)||void 0===d||!d.length),innerBlocks:null==u?void 0:u.innerBlocks};const h=g?s(c):null,v=g?(0,p.indexOf)(null==h?void 0:h.innerBlocks,s(a)):-1,b=!!g&&(null===(t=(0,p.last)(null==h?void 0:h.innerBlocks))||void 0===t?void 0:t.clientId)===a;var f,y,k;return g&&"stackable/column"===u.name&&!(null===(f=document.querySelector(`.editor-styles-wrapper [data-block="${h.clientId}"] .stk-block`))||void 0===f?void 0:f.classList.contains("stk-row"))?{blockIndex:v,parentBlock:h,isFirstBlock:!0,isLastBlock:!0,isOnlyBlock:!0,adjacentBlock:null,adjacentBlockIndex:-1,adjacentBlocks:[],numInnerBlocks:null==u||null===(y=u.innerBlocks)||void 0===y?void 0:y.length,hasInnerBlocks:!(null==u||null===(k=u.innerBlocks)||void 0===k||!k.length),innerBlocks:null==u?void 0:u.innerBlocks}:{blockIndex:v,parentBlock:h,isFirstBlock:!!g&&(null===(n=(0,p.first)(null==h?void 0:h.innerBlocks))||void 0===n?void 0:n.clientId)===a,isLastBlock:b,isOnlyBlock:!!g&&(null==h||null===(i=h.innerBlocks)||void 0===i?void 0:i.length)<=1,adjacentBlock:g?(0,p.nth)(null==h?void 0:h.innerBlocks,b?v-1:v+1):null,adjacentBlockIndex:g?b?v-1:v+1:-1,adjacentBlocks:(null==h?void 0:h.innerBlocks)||[],numInnerBlocks:null==u||null===(l=u.innerBlocks)||void 0===l?void 0:l.length,hasInnerBlocks:!(null==u||null===(r=u.innerBlocks)||void 0===r||!r.length),innerBlocks:null==u?void 0:u.innerBlocks}}),[a]);return n}(),{isFirstBlock:n,isLastBlock:l,isOnlyBlock:r,adjacentBlocks:o,blockIndex:u,parentBlock:c}=a,g=!e.context["stackable/columnFit"],h=S();(()=>{const e=S();(0,i.useEffect)((()=>{Ir(e)}),[e])})();const[v,b]=(0,i.useState)([]),[f,y]=(0,i.useState)(""),[k,_]=(0,i.useState)([]),[w,E]=(0,i.useState)(2e3),[M,T]=(0,i.useState)(""),[N,B]=(0,i.useState)(null),I="Desktop"===h,O="Tablet"===h,[P,R]=(0,i.useState)(null==o?void 0:o.length);(0,i.useEffect)((()=>{P&&null!=o&&o.length?P!==(null==o?void 0:o.length)&&(e.onResetDesktop(),R(o.length)):R(null==o?void 0:o.length)}),[o]);const[L,z]=(0,i.useState)(!1);(0,i.useEffect)((()=>(z(!0),()=>{z(!1)})),[]);const A=C();(0,i.useEffect)((()=>{B(null)}),[A]);const D=m()(["stk-column-resizeable",e.className]),{columnGap:F,columnGapTablet:H,columnGapMobile:j}=c.attributes,U=(0,i.useMemo)((()=>({top:!1,right:"Desktop"===h?!r&&!l:!r,bottom:!1,left:"Desktop"===h&&!r&&!n,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1})),[h,r,l,n]),V=(0,i.useCallback)(((e,a)=>{if(I){const e=(F||0)*(o.length-1),t=document.querySelector(`.editor-styles-wrapper [data-block="${c.clientId}"]`).clientWidth-e,n=o.every((e=>{let{attributes:t}=e;return!t.columnWidth})),i=o.map((e=>{let{clientId:a,attributes:i}=e;if(n)return 1*t/o.length;if(i.columnWidth)return t*i.columnWidth/100;const l=document.querySelector(`.editor-styles-wrapper [data-block="${a}"]`);return(null==l?void 0:l.clientWidth)||0}));b(i);const l="right"===a?u+1:u-1,r=i[u]+(i[l]-30);E(r)}else{const e=o.map((e=>{let{attributes:t}=e;return t.columnWidthTablet||t.columnWidth||100/o.length}));b(e);const a=document.querySelector(`.editor-styles-wrapper [data-block="${t}"]`),n=(null==a?void 0:a.clientWidth)||0;y(n);const i=document.querySelector(`.editor-styles-wrapper [data-block="${c.clientId}"]`),l=(null==i?void 0:i.clientWidth)||0;E(l)}Y(!0)}),[I,null==c?void 0:c.clientId,o,u,t,F,H,j]),G=(0,i.useCallback)(((e,a,n,i)=>{let l=[];if(I){const e=[...v],t=v.reduce(((e,t)=>e+t),0),n="right"===a?u+1:u-1;e[n]-=i.width,e[u]+=i.width,l=(e||[]).map((e=>parseFloat((e/t*100).toFixed(1)))),l=function(e){const t=arguments.length>1&&void 0!==arguments[1]&&arguments[1]?zr:Lr;return e.map((e=>{let a=e;return t.some((t=>Math.abs(e-t)<.2&&(a=t,!0))),a}))}(l,A);const r=l.reduce(((e,t)=>e+t),0);100!==r&&(l[n]=parseFloat((l[n]+100-r).toFixed(1))),_(l);const s=l.map(((e,t)=>`.editor-styles-wrapper [data-block][data-block="${o[t].clientId}"] {\n\t\t\t\t\tflex: 1 1 ${e}% !important;\n\t\t\t\t\tmax-width: ${e}% !important;\n\t\t\t\t}\n\t\t\t\t[data-block="${o[t].clientId}"] .stk-resizable-column__size-tooltip {\n\t\t\t\t\t--width: '${e.toFixed(1)}%' !important;\n\t\t\t\t}`)).join("");T(s),N||B({x:Rr(e,u,t,a,A)})}else{const e=f+i.width;l=(0,p.clamp)(parseFloat((e/w*100).toFixed(1)),0,100),_(l);const n=[...v];n[u]=l;const r=(e=>{const t=[];return e.reduce(((e,a)=>((0,p.sum)(e[e.length-1])+a>100?e.push([a]):e[e.length-1].push(a),t.push(e.length),e)),[[]]),t})(n),s=r.filter((e=>e===r[u])).length,o=`.editor-styles-wrapper [data-block][data-block="${t}"] {\n\t\t\t\t\tflex: 1 1 calc(${l}% - var(--stk-column-gap, 0px) * ${s-1} / ${s} ) !important;\n\t\t\t\t\tmax-width: calc(${l}% - var(--stk-column-gap, 0px) * ${s-1} / ${s} ) !important;\n\t\t\t\t}\n\t\t\t\t[data-block="${t}"] .stk-resizable-column__size-tooltip {\n\t\t\t\t\t--width: '${l.toFixed(1)}%' !important;\n\t\t\t\t}`;T(o),N||B({x:Rr([100],0,w,a,A)})}}),[I,v,f,u,o,A,w,t,N]),$=(0,i.useCallback)(((t,a,n,i)=>{if(i.width)if(I)(0,p.isEqual)(k.map((e=>0|e)),[33,33,33])?e.onChangeDesktop([33.33,33.33,33.33]):e.onChangeDesktop(k);else if(O){const t=o.map((e=>{let{attributes:t}=e;return t.columnWidthTablet||t.columnWidth||100/o.length}));t[u]=k,e.onChangeTablet(k,t,u)}else{const t=o.map((e=>{let{attributes:t}=e;return t.columnWidthMobile||100}));t[u]=k,e.onChangeMobile(k,t,u)}M&&setTimeout((()=>{L&&T("")}),400),B(null),Y(!1)}),[I,O,k,e.onChangeDesktop,e.onChangeTablet,e.onChangeMobile,M,o,u,L]),q=(0,i.useCallback)((t=>{if(!(""!==t&&t<Dr[h]))if(I){const a=o.every((e=>{let{attributes:t}=e;return!t.columnWidth})),n=o.map((e=>{let{attributes:t}=e;return a?100/o.length:t.columnWidth})),i=o.length-1!==u?u+1:u-1,l=n[u]+(n[i]-5),r=(0,p.clamp)(t,Dr.Desktop,l),s=r-n[u];n[i]-=s,n[u]=r,e.onChangeDesktop(n)}else if(O){const a=o.map((e=>{let{attributes:t}=e;return t.columnWidthTablet||t.columnWidth||100/o.length})),n=t?(0,p.clamp)(t,Dr[h],100):"";a[u]=n,e.onChangeTablet(n,a,u)}else{const a=o.map((e=>{let{attributes:t}=e;return t.columnWidthMobile||100})),n=t?(0,p.clamp)(t,Dr[h],100):"";a[u]=n,e.onChangeMobile(n,a,u)}}),[h,I,O,o,u]),[W,K]=(0,i.useState)(!1),[J,Y]=(0,i.useState)(!1),X=(0,i.useCallback)((()=>Y(!0)),[]),Q=(0,i.useCallback)((()=>Y(!1)),[]),{showColumnTooltip:Z,setShowColumnTooltip:ee}=(0,i.useContext)(Ar),te=(0,i.useCallback)((e=>{K(e),e?ee(t):J||Z!==t||ee(!1)}),[Z,ee,K,J,t]);return(0,i.useEffect)((()=>{W||(J&&!Z?ee(t):J||Z!==t||ee(!1))}),[Z,ee,J,W,t]),(0,i.createElement)(s.ResizableBox,{enable:U,minWidth:"30",minHeight:"100",maxWidth:w,className:D,showHandle:!!g&&e.showHandle,snap:N,snapGap:20,onResizeStart:V,onResize:G,onResizeStop:$},g&&(0,i.createElement)(Hr,{isVisible:!r,blockContext:a,value:I?e.columnWidth:O?e.columnWidthTablet||e.columnWidth:e.columnWidthMobile,onChange:q,onTogglePopup:te,tooltipProps:{onMouseEnter:X,onMouseLeave:Q}}),M&&(0,i.createElement)("style",null,M),e.children)},Hr=(0,i.memo)((e=>{const{adjacentBlocks:t,isOnlyBlock:a,blockIndex:l,isLastBlock:r,isFirstBlock:u}=e.blockContext,c=S(),[g,m]=(0,i.useState)(!1),[d,v]=(0,i.useState)(""),[b,f]=(0,i.useState)(""),y=(0,i.useRef)(),k=(0,i.useRef)(),_=(0,i.useMemo)((()=>{if(void 0!==t&&!e.value&&!d){if("Desktop"===c){const e=(100/t.length).toFixed(1);return"33.3"===e.toString()?33.33:e}return"Tablet"===c?(0,h.__)("Auto",o.i18n):100}return""}),[null==t?void 0:t.length,e.value,d,c]),w=(0,i.useMemo)((()=>{const t=(e.value?parseFloat(e.value).toFixed(1):"")||d||_;return t!==(0,h.__)("Auto",o.i18n)?`'${t}%'`:`'${t}'`}),[e.value,d,_]);(0,i.useEffect)((()=>{e.onTogglePopup&&e.onTogglePopup(g),g&&(v(e.value),f(e.value||(_!==(0,h.__)("Auto",o.i18n)?_:"")),setTimeout((()=>{var e;null===(e=y.current)||void 0===e||e.querySelector("input").select()}),1))}),[g]);const x=(0,i.useCallback)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"right";if(window.CustomEvent)if("right"===e){const e=r?0:l+1,t=k.current.closest(".stk-row").querySelectorAll(".stk-resizable-column__size-tooltip")[e];null==t||t.dispatchEvent(new window.CustomEvent("openColumnInputPopup"))}else{const e=u?t.length-1:l-1,a=k.current.closest(".stk-row").querySelectorAll(".stk-resizable-column__size-tooltip")[e];null==a||a.dispatchEvent(new window.CustomEvent("openColumnInputPopup"))}}),[k.current,null==t?void 0:t.map((e=>{let{clientId:t}=e;return t})).join(",")]),C=(0,i.useCallback)((()=>{m(!0)}),[]);return(0,i.useEffect)((()=>{var e;return null===(e=k.current)||void 0===e||e.addEventListener("openColumnInputPopup",C),()=>{var e;null===(e=k.current)||void 0===e||e.removeEventListener("openColumnInputPopup",C)}}),[k.current,C]),(0,i.createElement)(i.Fragment,null,!a&&g&&(0,i.createElement)(s.Popover,{className:"stk-resizable-column__popup",anchorRef:k.current,position:"bottom right",onFocusOutside:e=>{e.relatedTarget!==k.current&&m(!1)}},(0,i.createElement)("div",{ref:y},(0,i.createElement)(Ot,{label:(0,h.__)("Column",o.i18n),className:"stk-resizable-column__input",value:b,allowReset:!1,onChange:t=>{const a="Desktop"===c?d:"",n=(0,p.clamp)(t,0,100)||a;""===n&&v(""),e.onChange(n),f(t)},onKeyDown:e=>{9===e.keyCode&&(x(e.shiftKey?"left":"right"),e.stopPropagation(),e.preventDefault())},placeholder:d||_||e.value}))),!a&&(0,i.createElement)("div",n({},e.tooltipProps,{className:"stk-resizable-column__size-tooltip",ref:k,style:{"--width":w},onMouseDown:e=>{m(!g),e.preventDefault()},onKeyDown:e=>{13===e.keyCode&&m(!g)},role:"button",tabIndex:"0"})))}));Hr.defaultProps={isVisible:!0,blockContext:{},value:"",onChange:()=>{},tooltipProps:{},onTogglePopup:null},Fr.defaultProps={className:"",context:null,showHandle:!0,columnWidth:"",columnWidthTablet:"",columnWidthMobile:"",onChangeDesktop:()=>{},onChangeTablet:()=>{},onChangeMobile:()=>{},onResetDesktop:()=>{}},(0,i.memo)(Fr);(0,h.__)("Image",o.i18n);const jr={Desktop:24,Tablet:24,Mobile:16},Ur=(0,p.range)(50,1001,50),Vr=(0,p.range)(8,1001,8),Gr={bottom:{height:"100%"}},$r={top:!1,right:!1,bottom:!0,left:!1},qr=e=>{const[t,a]=(0,i.useState)(0),[n,l]=(0,i.useState)(null),[r,o]=(0,i.useState)(!1),[u,c]=(0,i.useState)(Ur),g=C();(0,i.useEffect)((()=>{c(null)}),[g]);const d=S(),h=(0,M.applyFilters)("stackable.resizable-bottom-margin.default",jr[d]),p=m()(["stk-resizable-bottom-margin"],{"stk--is-resizing":null!==n,"stk--is-tiny":(""!==e.value?e.value:h)<5}),v=(0,i.useCallback)((()=>{let t=e.value?parseFloat(e.value):0;if(!e.value&&e.previewSelector){const a=document.querySelector(e.previewSelector);a&&(t=parseFloat(window.getComputedStyle(a).marginBottom))}return a(t||0),t||0}),[e.value,e.previewSelector]);(0,i.useEffect)((()=>{v()}),[e.previewSelector]);const b=(0,i.useMemo)((()=>({height:e.value||0===e.value?e.value:t||h})),[e.value,t,h]);return(0,i.createElement)(s.ResizableBox,{className:p,minHeight:"0",handleStyles:Gr,enable:$r,size:b,snap:u,snapGap:5,onResizeStart:()=>{const e=v();l(e),o(!0)},onResize:(e,a,n,i)=>{l(t+i.height),u||c(function(){return{y:arguments.length>0&&void 0!==arguments[0]&&arguments[0]?Vr:Ur}}(g))},onResizeStop:()=>{e.onChange(n===h?"":n),a(0),l(null),o(!1)}},e.previewSelector&&r&&(0,i.createElement)("style",null,`.editor-styles-wrapper ${e.previewSelector} { margin-bottom: ${n}px !important; }`),(0,i.createElement)("span",{className:"stk-resizable-bottom-margin__label"},`${r?n:""!==e.value?e.value:t||h}px`))};qr.defaultProps={previewSelector:"",value:"",onChange:()=>{}};const Wr=(e,t)=>({...t||{},bottom:e});(0,i.memo)((e=>{const{clientId:t}=(0,d.useBlockEditContext)(),a=E(t),n=S(),l=(0,i.useCallback)((t=>{let i=null!=t&&t.bottom||0===(null==t?void 0:t.bottom)?null==t?void 0:t.bottom:"";return i||0===i||("Mobile"===n?["mobile","tablet","desktop"]:"Tablet"===n?["tablet","desktop"]:["desktop"]).some((t=>{const n=a[H(e.attribute,t)];return!(""===n||void 0===n||(i=i=null!=n&&n.bottom||0===(null==n?void 0:n.bottom)?null==n?void 0:n.bottom:"",!i&&0!==i))})),i}),[e.attribute,a,n]),[r,s]=je(e.attribute,e.responsive,!1,l,Wr);return(0,i.createElement)(qr,{previewSelector:e.previewSelector,value:r,onChange:s})})).defaultProps={previewSelector:"",attribute:"",responsive:!1};const{Slot:Kr,Fill:Jr}=(0,s.createSlotFill)("StackablePreInspectorTab"),{Slot:Yr,Fill:Xr}=(0,s.createSlotFill)("StackableBlockInspectorTab"),{Slot:Qr,Fill:Zr}=(0,s.createSlotFill)("StackableStyleInspectorTab"),{Slot:es,Fill:ts}=(0,s.createSlotFill)("StackableAdvancedInspectorTab"),as=e=>{const{name:t}=(0,d.useBlockEditContext)(),[a,n]=dn(`tabCache-${t}`,e.tabs.includes("style")?"style":"block");return(0,i.createElement)(d.InspectorControls,null,(0,i.createElement)(Kr,null),(0,i.createElement)(Nn,{tabs:e.tabs,initialTab:a,onClick:n}),(0,i.createElement)(Yr,null),(0,i.createElement)(Qr,null),(0,i.createElement)(es,null))};as.defaultProps={tabs:["block","style","advanced"]},(0,i.memo)(as);const ns=e=>{let t=e.videoUrl;const a=S();return"Desktop"!==a&&e.videoUrlTablet&&(t=e.videoUrlTablet),"Mobile"===a&&e.videoUrlMobile&&(t=e.videoUrlMobile),ye(t)?(0,i.createElement)("video",{className:"stk-video-background",autoPlay:!0,muted:!0,loop:!0,playsinline:!0,src:t}):null};ns.defaultProps={videoUrl:"",videoUrlTablet:"",videoUrlMobile:""},(ns.Content=e=>{const t=m()(["stk-video-background"],{"stk--hide-tablet":e.videoUrlTablet,"stk--hide-mobile":e.videoUrlTablet||e.videoUrlMobile}),a=m()(["stk-video-background"],{"stk--hide-desktop":!0,"stk--hide-mobile":e.videoUrlMobile}),n=m()(["stk-video-background"],{"stk--hide-desktop":!0,"stk--hide-tablet":!0});return(0,i.createElement)(i.Fragment,null,ye(e.videoUrl)&&(0,i.createElement)("video",{className:t,autoPlay:!0,muted:!0,loop:!0,playsinline:!0,src:e.videoUrl}),ye(e.videoUrlTablet)&&(0,i.createElement)("video",{className:a,autoPlay:!0,muted:!0,loop:!0,playsinline:!0,src:e.videoUrlTablet}),ye(e.videoUrlMobile)&&(0,i.createElement)("video",{className:n,autoPlay:!0,muted:!0,loop:!0,playsinline:!0,src:e.videoUrlMobile}))}).defaultProps={videoUrl:"",videoUrlTablet:"",videoUrlMobile:""};const is=ns,ls=e=>{const{blockTag:t,className:a,hasBackground:l,backgroundUrl:r,backgroundUrlTablet:s,backgroundUrlMobile:o,backgroundColorType:u,...c}=e,g=m()([a],{"stk--has-background-overlay":l&&("gradient"===u||r||s||o)});return(0,i.createElement)(t,n({className:g},c),e.children,(0,i.createElement)(is,{videoUrl:r,videoUrlTablet:s,videoUrlMobile:o}))};ls.defaultProps={blockTag:"div",className:"",hasBackground:!0,backgroundUrl:"",backgroundUrlTablet:"",backgroundUrlMobile:"",backgroundColorType:""},(ls.Content=e=>{const{blockTag:t,className:a,hasBackground:l,backgroundUrl:r,backgroundUrlTablet:s,backgroundUrlMobile:o,backgroundColorType:u,...c}=e,g=m()([a],{"stk--has-background-overlay":l&&("gradient"===u||r||s||o)});return(0,i.createElement)(t,n({className:g},c),e.children,(0,i.createElement)(is.Content,{videoUrl:r,videoUrlTablet:s,videoUrlMobile:o}))}).defaultProps={...ls.defaultProps};const rs=function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M-10 210h1620V105.2H-10z"}))},ss={"wave-1":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{className:"wave-1_svg__st2",d:"M1341.4 48.9c-182.4 0-254.2 80.4-429.4 80.4-117.8 0-209.7-67.5-393.5-67.5-142.2 0-212.6 38.8-324.6 38.8S-10 64.7-10 64.7V210h1620V102c-110.6-40.2-181-53.1-268.6-53.1z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1341.4 151.4C1159 151.4 1087.2 71 912 71c-117.8 0-209.7 67.5-393.5 67.5-142.2 0-212.6-38.8-324.6-38.8S-10 135.6-10 135.6v75.9h1620V98.3c-110.6 40.2-181 53.1-268.6 53.1z"}))}}},"wave-2":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{className:"wave-2_svg__st2",d:"M1432.2 67.4c-88.8-16.7-156-5.3-204 8.5s-147.1 62.2-223.1 73.9c-75.4 11.6-164-7.5-275-27.9S571 88.1 456 98.1c-119.7 10.4-224.7 52-294.4 73-94.5 28.5-171.6-3-171.6-3V210h1620V91.6c-53 10-86.8-7.1-177.8-24.2z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1432.2 156.2c-88.8 16.7-156 5.3-204-8.5s-147.1-62.2-223.1-73.9c-75.4-11.6-164 7.5-275 27.9S571 135.5 456 125.5c-119.7-10.4-224.7-52-294.4-73C67.1 24-10 55.5-10 55.5v155.2h1620V132c-53-10-86.8 7.1-177.8 24.2z"}))}}},"wave-3":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{className:"wave-3_svg__st2",d:"M1413.6 161.4c-157.9 0-338.2-37.7-495.1-67.4-215.6-40.8-328.1-44.6-418.2-41.1S317 73.4 188.4 102-10 136.2-10 136.2v74.2h1620v-68.5s-68.8 19.5-196.4 19.5z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1413.6 39.3c-157.9 0-338.2 37.7-495.1 67.4-215.6 40.8-328.1 44.6-418.2 41.1S317 127.3 188.4 98.7-10 64.5-10 64.5v150.2h1620V58.8s-68.8-19.5-196.4-19.5z"}))}}},"wave-4":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1610 209.7v-51.2s-81.4-33.3-241.4-23.1c-157.4 10-247.9 49.6-340.9 49.4-93.1-.1-121-14.6-174.2-33.6-75.7-27.1-166.9-27.2-185.5-25.1-18.7 2.1-67.8 5.5-106-19.3-38.2-24.7-94.8-55.4-209.2-43.1C238.1 76.3 80 111.8-10 55.7v154h1620z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1610 208.9V79.2s-81.4 33.3-241.4 23.1c-157.4-10-247.9-49.6-340.9-49.4-93.1.1-121 14.6-174.2 33.6-75.7 27.1-166.9 27.2-185.5 25.1-18.7-2.1-67.8-5.5-106 19.3-38.2 24.7-94.8 55.4-209.2 43.1C238.1 161.4 80 125.9-10 182v26.9h1620z"}))}}},"curve-1":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{className:"curve-1_svg__st2",d:"M1610 177.3C1423 122.9 1133.3 88 808 88c-334.7 0-631.8 37-818 94.1v28h1620v-32.8z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1610 78.3c-187 54.4-476.7 89.3-802 89.3-334.7 0-631.8-37-818-94.1v136.8h1620v-132z"}))}}},"curve-2":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{className:"curve-2_svg__st2",d:"M-10 207.6h1620S1430.8 23.8 1138.3 23.8C884 23.8 234.9 140.1-10 197.9v9.7z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M-10 207.4h1620S1608.1.1 1604.2 3.7c-32.8 30.8-203.9 178.2-465.9 178.2C884 181.9 234.9 65.6-10 7.8v199.6z"}))}}},"curve-3":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{className:"curve-3_svg__st1",d:"M-6.7 13.4S456 171.1 876.1 171.1 1606.4 16 1606.4 16v192.6H-6.7V13.4z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M-6.6 177.6S456.1 40.3 876.2 40.3s730.3 135.1 730.3 135.1v33.5H-6.6v-31.3z"}))}}},"slant-1":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{className:"slant-1_svg__st2",d:"M-10 210h1620V.5L-10 183.9z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1610 210H-10V.5l1620 183.4z"}))}}},"slant-2":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{className:"slant-2_svg__st1",d:"M1610 39.2V209H-10V39.2l810 118.9 810-118.9z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1610 160v53.2H-10V160L800 41.1 1610 160z"}))}}},"straight-1":{default:{shape:rs},inverted:{shape:rs}},"rounded-1":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{className:"rounded-1_svg__st1",d:"M1602.9 209l-9.3-117.7c-3.8-48.1-46.3-84.4-94.4-80.6L-8 131.2V209h1610.9z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1604.5-2.7l-10.9 104.5c-3.8 48.1-46.3 84.4-94.4 80.6L-8 61.8v148.5h1613.9l-1.4-213z"}))}}},"rounded-2":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{className:"rounded-2_svg__st2",d:"M1609.5 133.2h-9.5c0-10.9-8.9-19.8-19.8-19.8H19.8C8.9 113.3 0 122.2 0 133.2l-10-.2v77h1619.5v-76.8z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1609.5 128.5h-9.5c0 10.9-8.9 19.8-19.8 19.8H19.8C8.9 148.4 0 139.5 0 128.5l-10 .2v83.1h1619.5v-83.3z"}))}}},"rounded-3":{default:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1610.5 189.1s-128.2-82.6-138.2-89.2c-17.1-11.3-37.2-15.5-87-18.1-49.7-2.6-753.6-40.7-783.9-42.3-30.3-1.5-81.1-1.3-121.1 8.2S-9.5 163.2-9.5 163.2v50h1620v-24.1z"}))}},inverted:{shape:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,i.createElement)("path",{d:"M1610.5 24.1s-128.2 82.6-138.2 89.2c-17.1 11.3-37.2 15.5-87 18.1-49.7 2.6-753.6 40.7-783.9 42.3-30.3 1.5-81.1 1.3-121.1-8.2S-9.5 50-9.5 50v158.9h1620V24.1z"}))}}}},os=e=>{const{design:t,inverted:a,layer:n}=e,{shape:l}=ss[t||"wave-1"][a?"inverted":"default"];return(0,i.createElement)(l,{className:`stk-separator__layer-${n}`,preserveAspectRatio:"none","aria-hidden":!0})};os.defaultProps={className:"",design:"wave-1",inverted:!1,layer:1},os.Content=e=>(0,i.createElement)(os,e);const us=wp.api;var cs;const gs=parseInt((null===(cs=location.hash.match(/^#step-(\d+)/))||void 0===cs?void 0:cs[1])||1,10),ms=()=>{var e;const[t,a]=(0,i.useState)(gs);(0,i.useEffect)((()=>{location.hash=`step-${t}`}),[t]);let n=(0,M.applyFilters)("stackable.welcome-wizard.steps",vs);o.isPro||(n=n.filter((e=>!e.isPro)));const l=(null===(e=n[t-1])||void 0===e?void 0:e.component)||null;return(0,i.createElement)("div",{className:`s-welcome-wizard__wrapper s-welcome-wizard--step-${t}`},(0,i.createElement)(ps,{steps:n.filter((e=>{let{id:t}=e;return"done"!==t})),step:t}),l&&(0,i.createElement)(l,null),t!==n.length&&(0,i.createElement)("div",{className:"s-welcome-wizard__buttons"},t>1&&(0,i.createElement)("button",{className:"s-getting-started__button secondary",onClick:()=>a(t-1)},(0,h.__)("Previous",o.i18n)),(0,i.createElement)("button",{className:"s-getting-started__button primary",onClick:()=>{t===n.length?location.search="?page=stackable-getting-started":a(t+1)}},1===t?(0,h.__)("Get Started",o.i18n):t===n.length?(0,h.__)("Finish",o.i18n):(0,h.__)("Next / Skip",o.i18n))),t>1&&(0,i.createElement)("p",null,(0,i.createElement)("em",null,(0,h.__)("All these settings can be changed in the settings page.",o.i18n))))},ds={essential:{description:(0,h.__)("All the necessary building blocks you need to design anything.",o.i18n)},special:{description:(0,h.__)("Blocks with special functionality that will allow you to create distinctive designs.",o.i18n)},section:{description:(0,h.__)("Use these blocks act as templates to help you build sections effortlessly.",o.i18n)}};let hs=o.wizard.disabled_blocks;const ps=e=>{const{step:t,steps:a}=e,n=m()(["s-welcome-wizard__steps",`s-welcome-wizard__steps--num-${a.length}`]);return(0,i.createElement)("div",{className:n},a.map(((e,a)=>{const n=m()("s-welcome-wizard__step",{"s-welcome-wizard__step--active":t>=a+1}),l=m()("s-welcome-wizard__step-divider",{"s-welcome-wizard__step--active":t>=a+1});return(0,i.createElement)(i.Fragment,{key:a},a>0&&(0,i.createElement)("div",{className:l}),(0,i.createElement)("div",{className:n},(0,i.createElement)("span",{className:"s-welcome-wizard__step-number"},a+1),(0,i.createElement)("span",{className:"s-welcome-wizard__step-label"},e.label)))})))},vs=[{id:"welcome",label:(0,h.__)("Welcome",o.i18n),component:()=>(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{className:"s-welcome-wizard__content s-welcome-wizard--centered"},(0,i.createElement)("h2",null,(0,h.__)("Welcome to Stackable!",o.i18n)),(0,i.createElement)("p",null,(0,h.__)("Let's get you started with your page building journey by configuring some settings first.",o.i18n))))},{id:"disable-blocks",label:(0,h.__)("Choose Blocks",o.i18n),component:()=>{const[e,t]=(0,i.useState)(hs),[a,n]=(0,i.useState)({}),[l,r]=(0,i.useState)(!1);(0,i.useEffect)((()=>{hs=e}),[e]);const u=(0,i.useCallback)((e=>{new us.models.Settings({stackable_disabled_blocks:e}).save().then((()=>r(!1))),r(!0)}),[r]);return(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{className:"s-welcome-wizard__content"},(0,i.createElement)("h2",null,(0,h.__)("Choose Blocks That Fit You",o.i18n)),(0,i.createElement)("p",null,(0,h.__)("Stackable has 3 categories of blocks, and you can choose which blocks to use to fit your specific workflow.",o.i18n)),(0,i.createElement)("div",{className:"s-welcome-wizard__options s-welcome-wizard__blocks"},fs.map((l=>{var r;let{id:c,label:g,Icon:d}=l;const p=a[c]||!1,v=bs[c].every((t=>{let{name:a}=t;return e.includes(a)})),b=bs[c].some((t=>{let{name:a}=t;return e.includes(a)})),f=bs[c].every((t=>{let{name:a}=t;return!e.includes(a)}));return(0,i.createElement)("div",{className:`s-welcome-wizard__option s-box s-box--${c}`,key:c},d&&(0,i.createElement)(d,{className:"s-welcome-wizard__option-icon",height:"32",width:"32"}),(0,i.createElement)("h3",null,g),(0,i.createElement)(Ql,{value:f||!v&&b,onChange:a=>{const n=bs[c].map((e=>e.name));let i=e.filter((e=>!n.includes(e)));a||(i=[...i,...n]),t(i),u(i)},disabled:(0,h.__)("All blocks disabled",o.i18n),enabled:f?(0,h.__)("All blocks enabled",o.i18n):(0,h.__)("Some blocks enabled",o.i18n)}),(0,i.createElement)("p",null,null===(r=ds[c])||void 0===r?void 0:r.description),(0,i.createElement)(s.Button,{onClick:()=>n({...a,[c]:!p})},p?(0,h.__)("Hide all blocks",o.i18n):(0,h.__)("Show all blocks",o.i18n)+` (${bs[c].length})`),(0,i.createElement)("div",{className:m()("s-welcome-wizard__block-list",{"s--show-all-blocks":p})},bs[c].map(((a,n)=>{const l=e.includes(a.name);return(0,i.createElement)(Ql,{key:n,label:a.title,value:!l,onChange:n=>{let i=e.filter((e=>e!==a.name));n||(i=[...i,a.name]),t(i),u(i)},disabled:(0,h.__)("Disabled",o.i18n),enabled:(0,h.__)("Enabled",o.i18n),isDisabled:!p})}))))})))),l&&(0,i.createElement)(s.Spinner,{className:"s-wizard-spinner"}))}},{id:"icon",label:(0,h.__)("Icons",o.i18n),component:()=>{const e=(0,i.useMemo)((()=>(0,M.applyFilters)("stackable.welcome-wizard.icon",null)),[]);return(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{className:"s-welcome-wizard__content s-box"},(0,i.createElement)("h2",null,(0,h.__)("Icon Settings",o.i18n)),(0,i.createElement)("p",null,(0,h.__)("Our integration with FontAwesome Pro allows you to import icons from their extensive icon library and use them in Stackable blocks.",o.i18n)),(0,i.createElement)("p",null,(0,h.sprintf)((0,h.__)("If you have %sFont Awesome Pro%s, you can use your Pro icons by inputting your Pro Kit code below.",o.i18n),"","")),e&&(0,i.createElement)(e,null)))},isPro:!0},{id:"role-manager",label:(0,h.__)("Role Manager",o.i18n),component:()=>{const[e,t]=(0,i.useState)(!1),a=(0,i.useMemo)((()=>(0,M.applyFilters)("stackable.welcome-wizard.role-manager",null)),[]);return(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{className:"s-welcome-wizard__content s-box"},(0,i.createElement)("h2",null,(0,h.__)("Role Manager",o.i18n)),(0,i.createElement)("p",null,(0,h.__)("Stackable comes with a Role Manager so you can allow who can edit your content. By default, all user roles have full editing access in the Block Editor.",o.i18n)," ",(0,i.createElement)("a",{href:"https://docs.wpstackable.com/article/360-role-manager-and-content-editing-mode?utm_source=wp-settings-role-manager&utm_campaign=learnmore&utm_medium=wp-dashboard",target:"_docs"},(0,h.__)("Learn more",o.i18n))),(0,i.createElement)("br",null),a&&(0,i.createElement)(a,{doneCallback:()=>t(!1),saveCallback:()=>t(!0)})),e&&(0,i.createElement)(s.Spinner,null))},isPro:!0},{id:"custom-fields",label:(0,h.__)("Custom Fields",o.i18n),component:()=>{const e=(0,i.useMemo)((()=>(0,M.applyFilters)("stackable.welcome-wizard.custom-fields",null)),[]);return(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{className:"s-welcome-wizard__content s-box"},(0,i.createElement)("h2",null,(0,h.__)("Custom Fields",o.i18n)),(0,i.createElement)("p",null,(0,h.__)("Custom Fields allow you to create Fields that you can reference across your entire site. This is helpful when you display the same text in multiple areas in your site.",o.i18n)," ",(0,i.createElement)("a",{href:"https://docs.wpstackable.com/article/463-how-to-use-stackable-custom-fields/?utm_source=wp-settings-custom-fields&utm_campaign=learnmore&utm_medium=wp-dashboard",target:"_docs"},(0,h.__)("Learn more",o.i18n))),(0,i.createElement)("br",null),e&&(0,i.createElement)(e,{label:(0,h.__)("Custom Fields",o.i18n)})))},isPro:!0},{id:"done",label:"",component:()=>(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{className:"s-welcome-wizard__content s-welcome-wizard--centered s-box"},(0,i.createElement)(c,{className:"s-welcome-wizard__check",height:"96",width:"96"}),(0,i.createElement)("h2",null,(0,h.__)("You're all set!",o.i18n)),(0,i.createElement)("p",null,(0,h.__)("Let's get you started on your page building journey with Stackable.",o.i18n)),(0,i.createElement)("button",{className:"s-getting-started__button primary",onClick:()=>{location.search="?page=stackable-getting-started"}},(0,h.__)("Finish",o.i18n))))}];r((()=>{document.querySelector(".s-onboarding-wizard")&&(0,i.render)((0,i.createElement)(ms,null),document.querySelector(".s-onboarding-wizard"))}));const bs=(e=>{const t={};return e.keys().forEach((a=>{const n=e(a),i=n["stk-type"];i&&(t[i]||(t[i]=[]),t[i].push(n)),(n.variations||[]).forEach((e=>{const a=e["stk-type"];a&&(t[a]||(t[a]=[]),t[a].push({...e,name:`${n.name}|${e.name}`}))}))})),Object.keys(t).forEach((e=>{t[e]=(0,p.sortBy)(t[e],"name")})),t})(a(9737)),fs=[{id:"essential",label:(0,h.__)("Essential Blocks",o.i18n),Icon:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"none",stroke:"#47a0dd",strokeWidth:2.5,strokeLinejoin:"round"},e),(0,i.createElement)("path",{d:"M25.333 4H6.667A2.667 2.667 0 004 6.667v18.667A2.667 2.667 0 006.667 28h18.667A2.667 2.667 0 0028 25.333V6.667A2.667 2.667 0 0025.333 4z"}),(0,i.createElement)("path",{d:"M11.333 13.333a2 2 0 100-4 2 2 0 100 4z"}),(0,i.createElement)("path",{d:"M28 20l-6.667-6.667L6.667 28",strokeLinecap:"round"}))}},{id:"special",label:(0,h.__)("Special Blocks",o.i18n),Icon:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"none",stroke:"#e2735d",strokeWidth:2.5,strokeLinejoin:"round"},e),(0,i.createElement)("path",{d:"M30.667 9.333L21.333 16l9.333 6.667V9.333z"}),(0,i.createElement)("path",{d:"M18.667 6.667H4a2.667 2.667 0 00-2.667 2.667v13.333A2.667 2.667 0 004 25.334h14.667a2.667 2.667 0 002.667-2.667V9.333a2.667 2.667 0 00-2.667-2.667z"}))}},{id:"section",label:(0,h.__)("Section Blocks",o.i18n),Icon:function(e){return(0,i.createElement)("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"none",stroke:"#eabd59",strokeWidth:2.5,strokeLinejoin:"round"},e),(0,i.createElement)("path",{d:"M25.333 4H6.667A2.667 2.667 0 004 6.667v18.667A2.667 2.667 0 006.667 28h18.667A2.667 2.667 0 0028 25.333V6.667A2.667 2.667 0 0025.333 4z"}),(0,i.createElement)("path",{d:"M4 12h24M12 28V12",strokeLinecap:"round"}))}}],ys=e=>{const{onChange:t,value:a="",label:l="",demo:r="",...s}=e,u=(0,i.createRef)();return(0,i.createElement)("label",n({onClick:e=>{t(a),e.preventDefault(),u.current.focus()}},s),(0,i.createElement)("h4",null,l),!1,(0,i.createElement)("button",{className:"s-toggle-button",ref:u,"data-value":a,onClick:e=>{t(a),e.stopPropagation(),e.preventDefault()}},(0,i.createElement)("span",null,(0,h.__)("Disabled",o.i18n)),(0,i.createElement)("span",null,(0,h.__)("Enabled",o.i18n))))};ys.defaultProps={label:"",value:"",onChange:()=>{},demo:""};const ks=()=>{const[e,t]=(0,i.useState)(!1),[a,n]=(0,i.useState)([]);(0,i.useEffect)((()=>{us.loadPromise.then((()=>{(new us.models.Settings).fetch().then((e=>{n(e.stackable_disabled_blocks)}))}))}),[]);const l=(e,a)=>{t(a),new us.models.Settings({stackable_disabled_blocks:e}).save().then((()=>t(!1)))},r=e=>()=>{const t=[...a];bs[e].forEach((e=>{t.includes(e.name)||t.push(e.name)})),n(t),l(t,e)},u=(0,i.useCallback)(((e,t)=>{let i=null;i=a.includes(e)?a.filter((t=>t!==e)):[...a,e],n(i),l(i,t)}),[n,a]);return(0,i.createElement)(i.Fragment,null,fs.map((t=>{let{id:c,label:g,Icon:d}=t;const p=m()(["s-box-block__title",`s-box-block__title--${c}`]);return(0,i.createElement)("div",{className:"s-box s-box-block",key:c},(0,i.createElement)("h3",{className:p},d&&(0,i.createElement)(d,{height:"20",width:"20"}),(0,i.createElement)("span",null,g)),(0,i.createElement)("div",{className:"s-settings-header"},e===c&&(0,i.createElement)(s.Spinner,null),(0,i.createElement)("button",{onClick:(v=c,()=>{let e=[...a];bs[v].forEach((t=>{e=e.filter((e=>e!==t.name))})),n(e),l(e,v)}),className:"button button-large button-link"},(0,h.__)("Enable All",o.i18n)),(0,i.createElement)("button",{onClick:r(c),className:"button button-large button-link"},(0,h.__)("Disable All",o.i18n))),(0,i.createElement)("div",{className:"s-settings-grid"},bs[c].map(((e,t)=>{const n=a.includes(e.name),l=m()(["s-block"],{"s-is-disabled":n});return(0,i.createElement)(ys,{key:t+1,label:(0,h.__)(e.title,o.i18n),value:e.name,className:l,demo:e["stk-demo"],onChange:e=>{u(e,c)}})}))));var v})))},_s=()=>{const[e,t]=(0,i.useState)({}),[a,n]=(0,i.useState)(!1),[l,r]=(0,i.useState)(null);return(0,i.useEffect)((()=>{us.loadPromise.then((()=>{(new us.models.Settings).fetch().then((e=>{t((0,p.pick)(e,["stackable_enable_design_library","stackable_block_default_width","stackable_block_wide_width","stackable_auto_collapse_panels","stackable_enable_block_linking"]))}))}))}),[]),(0,i.createElement)(i.Fragment,null,(0,i.createElement)(Ql,{label:(0,h.__)("Design Library",o.i18n),value:e.stackable_enable_design_library,onChange:a=>{n(!0),new us.models.Settings({stackable_enable_design_library:a}).save().then((()=>n(!1))),t({...e,stackable_enable_design_library:a})},help:(0,h.__)("Adds a button on the top of the editor which gives access to a collection of pre-made block designs.",o.i18n),disabled:(0,h.__)("Disable feature",o.i18n),enabled:(0,h.__)("Enable feature",o.i18n)}),(0,i.createElement)(Yl,{label:(0,h.__)("Nested Block Width",o.i18n),value:e.stackable_block_default_width,type:"text",onChange:a=>{clearTimeout(l),t({...e,stackable_block_default_width:a}),r(setTimeout((()=>{n(!0),new us.models.Settings({stackable_block_default_width:a}).save().then((()=>n(!1)))}),400))},help:(0,h.__)("The width used when a Columns block has its Content Width set to center. This is automatically detected from your theme. You can adjust it if your blocks are not aligned correctly. In px, you can also use other units or use a calc() formula.",o.i18n)}),(0,i.createElement)(Yl,{label:(0,h.__)("Nested Wide Block Width",o.i18n),value:e.stackable_block_wide_width,type:"text",onChange:a=>{clearTimeout(l),t({...e,stackable_block_wide_width:a}),r(setTimeout((()=>{n(!0),new us.models.Settings({stackable_block_wide_width:a}).save().then((()=>n(!1)))}),400))},help:(0,h.__)("The width used when a Columns block has its Content Width set to wide. This is automatically detected from your theme. You can adjust it if your blocks are not aligned correctly. In px, you can also use other units or use a calc() formula.",o.i18n)}),(0,i.createElement)(Ql,{label:(0,h.__)("Auto-Collapse Panels",o.i18n),value:e.stackable_auto_collapse_panels,onChange:a=>{n(!0),new us.models.Settings({stackable_auto_collapse_panels:a}).save().then((()=>n(!1))),t({...e,stackable_auto_collapse_panels:a})},help:(0,h.__)("Collapse other inspector panels when opening another, keeping only one open at a time.",o.i18n),disabled:(0,h.__)("Disable feature",o.i18n),enabled:(0,h.__)("Enable feature",o.i18n)}),(0,i.createElement)(Ql,{label:(0,h.__)("Block Linking (Beta)",o.i18n),value:e.stackable_enable_block_linking,onChange:a=>{n(!0),new us.models.Settings({stackable_enable_block_linking:a}).save().then((()=>n(!1))),t({...e,stackable_enable_block_linking:a})},help:(0,i.createElement)(i.Fragment,null,(0,h.__)("Gives you the ability to link columns. Any changes you make on one column will automatically get applied on the other columns.",o.i18n)," ",(0,i.createElement)("a",{target:"_docs",href:"https://docs.wpstackable.com/article/462-migrating-from-version-2-to-version-3?utm_source=wp-settings-migrating&utm_campaign=learnmore&utm_medium=wp-dashboard"},(0,h.__)("Learn more",o.i18n))),disabled:(0,h.__)("Disable feature",o.i18n),enabled:(0,h.__)("Enable feature",o.i18n)}),a&&(0,i.createElement)("div",{className:"s-absolute-spinner"},(0,i.createElement)(s.Spinner,null)))},ws=()=>{const[e,t]=(0,i.useState)(""),[a,n]=(0,i.useState)(""),[l,r]=(0,i.useState)(!1),[u,c]=(0,i.useState)(!1);return(0,i.useEffect)((()=>{c(!0),us.loadPromise.then((()=>{(new us.models.Settings).fetch().then((e=>{const a=e.stackable_dynamic_breakpoints;a&&(t(a.tablet||""),n(a.mobile||"")),r(!0),c(!1)}))}))}),[]),(0,i.useEffect)((()=>{if(l){const t=setTimeout((()=>{c(!0),new us.models.Settings({stackable_dynamic_breakpoints:{tablet:e,mobile:a}}).save().then((()=>c(!1)))}),400);return()=>clearTimeout(t)}}),[e,a,l]),(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",null,(0,i.createElement)(Yl,{label:(0,h.__)("Tablet Breakpoint",o.i18n),type:"number",value:e,onChange:e=>t(e),placeholder:"1024"}," px"),(0,i.createElement)(Yl,{label:(0,h.__)("Mobile Breakpoint",o.i18n),type:"number",value:a,onChange:e=>n(e),placeholder:"768"}," px")),u&&(0,i.createElement)("div",{className:"s-absolute-spinner"},(0,i.createElement)(s.Spinner,null)))},xs=()=>{const[e,t]=(0,i.useState)(!1);return(0,i.useEffect)((()=>{us.loadPromise.then((()=>{(new us.models.Settings).fetch().then((e=>{t(!!e.stackable_global_force_typography)}))}))}),[]),(0,i.createElement)(i.Fragment,null,(0,i.createElement)(Ql,{label:(0,h.__)("Force Typography Styles",o.i18n),value:e,onChange:e=>{new us.models.Settings({stackable_global_force_typography:e}).save(),t(e)},disabled:(0,h.__)("Not forced",o.i18n),enabled:(0,h.__)("Force styles",o.i18n)}))},Cs=e=>{const[t,a]=(0,i.useState)(!1),[n,l]=(0,i.useState)(!1),[r,u]=(0,i.useState)(!1),[c,g]=(0,i.useState)(!1),[m,d]=(0,i.useState)(!1),[p,v]=(0,i.useState)(!1),[b,f]=(0,i.useState)(!1);(0,i.useEffect)((()=>{f(!0),us.loadPromise.then((()=>{(new us.models.Settings).fetch().then((e=>{a(!!e.stackable_help_tooltip_disabled),l("1"===e.stackable_load_v1_styles),u("1"===e.stackable_v2_editor_compatibility),g("1"===e.stackable_v2_editor_compatibility_usage),d("1"===e.stackable_v2_frontend_compatibility),v("1"===e.stackable_show_pro_notices),f(!1)}))}))}),[]);const y=e=>{f(!0),new us.models.Settings(e).save().then((()=>f(!1)))};return(0,i.createElement)("div",null,e.showProNoticesOption&&(0,i.createElement)(s.CheckboxControl,{label:(0,h.__)('Show "Go premium" notices',o.i18n),checked:p,onChange:e=>{y({stackable_show_pro_notices:e?"1":""}),v(e)}}),(0,i.createElement)(s.CheckboxControl,{label:(0,h.__)("Don't show help video tooltips",o.i18n),checked:t,onChange:e=>{y({stackable_help_tooltip_disabled:e?"1":""}),a(e)}}),(0,i.createElement)("h3",null,(0,h.__)("🏠 Migration Settings",o.i18n)),(0,i.createElement)("p",null,(0,h.__)("Migrating from version 2 to version 3?",o.i18n)," ",(0,i.createElement)("a",{target:"_docs",href:"https://docs.wpstackable.com/article/462-migrating-from-version-2-to-version-3?utm_source=wp-settings-migrating&utm_campaign=learnmore&utm_medium=wp-dashboard"},(0,h.__)("Learn more about migration and the settings below",o.i18n))),(0,i.createElement)(s.CheckboxControl,{label:(0,h.__)("Load version 2 blocks in the editor",o.i18n),checked:r,onChange:e=>{const t={stackable_v2_editor_compatibility:e?"1":""};e&&(t.stackable_v2_editor_compatibility_usage="",g(!1)),y(t),u(e)}}),(0,i.createElement)(s.CheckboxControl,{label:(0,h.__)("Load version 2 blocks in the editor only when the page was using version 2 blocks",o.i18n),checked:c,onChange:e=>{const t={stackable_v2_editor_compatibility_usage:e?"1":""};e&&(t.stackable_v2_editor_compatibility="",u(!1)),y(t),g(e)}}),(0,i.createElement)(s.CheckboxControl,{disabled:r||c,label:(0,h.__)("Load version 2 frontend block stylesheet and scripts for backward compatibility",o.i18n),checked:r||c||m,onChange:e=>{y({stackable_v2_frontend_compatibility:e?"1":""}),d(e)}}),(0,i.createElement)(s.CheckboxControl,{label:(0,h.__)("Load version 1 block stylesheet for backward compatibility",o.i18n),checked:n,onChange:e=>{y({stackable_load_v1_styles:e?"1":""}),l(e)}}),b&&(0,i.createElement)("div",{className:"ugb--saving-wrapper"},(0,i.createElement)(s.Spinner,null)))};Cs.defaultProps={showProNoticesOption:!1},r((()=>{document.querySelector(".s-settings-wrapper")&&(0,i.render)((0,i.createElement)(ks,null),document.querySelector(".s-settings-wrapper")),document.querySelector(".s-other-options-wrapper")&&(0,i.render)((0,i.createElement)(Cs,{showProNoticesOption:o.showProNoticesOption}),document.querySelector(".s-other-options-wrapper")),document.querySelector(".s-editor-settings")&&(0,i.render)((0,i.createElement)(_s,null),document.querySelector(".s-editor-settings")),document.querySelector(".s-dynamic-breakpoints")&&(0,i.render)((0,i.createElement)(ws,null),document.querySelector(".s-dynamic-breakpoints")),document.querySelector(".s-global-settings")&&(0,i.render)((0,i.createElement)(xs,null),document.querySelector(".s-global-settings"))}))},4184:(e,t)=>{var a;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var a=arguments[t];if(a){var l=typeof a;if("string"===l||"number"===l)e.push(a);else if(Array.isArray(a)){if(a.length){var r=i.apply(null,a);r&&e.push(r)}}else if("object"===l)if(a.toString===Object.prototype.toString)for(var s in a)n.call(a,s)&&a[s]&&e.push(s);else e.push(a.toString())}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(a=function(){return i}.apply(t,[]))||(e.exports=a)}()},8874:e=>{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},5985:(e,t,a)=>{"use strict";var n=a(2409);e.exports={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(e){var t,a,n,i,l,r=e[0]/360,s=e[1]/100,o=e[2]/100;if(0===s)return[l=255*o,l,l];t=2*o-(a=o<.5?o*(1+s):o+s-o*s),i=[0,0,0];for(var u=0;u<3;u++)(n=r+1/3*-(u-1))<0?n++:n>1&&n--,l=6*n<1?t+6*(a-t)*n:2*n<1?a:3*n<2?t+(a-t)*(2/3-n)*6:t,i[u]=255*l;return i}},n.hsl=function(e){var t,a,n=e[0]/255,i=e[1]/255,l=e[2]/255,r=Math.min(n,i,l),s=Math.max(n,i,l),o=s-r;return s===r?t=0:n===s?t=(i-l)/o:i===s?t=2+(l-n)/o:l===s&&(t=4+(n-i)/o),(t=Math.min(60*t,360))<0&&(t+=360),a=(r+s)/2,[t,100*(s===r?0:a<=.5?o/(s+r):o/(2-s-r)),100*a]}},2409:e=>{"use strict";e.exports={name:"rgb",min:[0,0,0],max:[255,255,255],channel:["red","green","blue"],alias:["RGB"]}},4247:function(e,t){var a,n;void 0===(n="function"==typeof(a=function(){var e=/^v?(?:\d+)(\.(?:[x*]|\d+)(\.(?:[x*]|\d+)(\.(?:[x*]|\d+))?(?:-[\da-z\-]+(?:\.[\da-z\-]+)*)?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i;function t(e){var t,a,n=e.replace(/^v/,"").replace(/\+.*$/,""),i=(a="-",-1===(t=n).indexOf(a)?t.length:t.indexOf(a)),l=n.substring(0,i).split(".");return l.push(n.substring(i+1)),l}function a(e){return isNaN(Number(e))?e:Number(e)}function n(t){if("string"!=typeof t)throw new TypeError("Invalid argument expected string");if(!e.test(t))throw new Error("Invalid argument not valid semver ('"+t+"' received)")}function i(e,i){[e,i].forEach(n);for(var l=t(e),r=t(i),s=0;s<Math.max(l.length-1,r.length-1);s++){var o=parseInt(l[s]||0,10),u=parseInt(r[s]||0,10);if(o>u)return 1;if(u>o)return-1}var c=l[l.length-1],g=r[r.length-1];if(c&&g){var m=c.split(".").map(a),d=g.split(".").map(a);for(s=0;s<Math.max(m.length,d.length);s++){if(void 0===m[s]||"string"==typeof d[s]&&"number"==typeof m[s])return-1;if(void 0===d[s]||"string"==typeof m[s]&&"number"==typeof d[s])return 1;if(m[s]>d[s])return 1;if(d[s]>m[s])return-1}}else if(c||g)return c?-1:1;return 0}var l=[">",">=","=","<","<="],r={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]};return i.validate=function(t){return"string"==typeof t&&e.test(t)},i.compare=function(e,t,a){!function(e){if("string"!=typeof e)throw new TypeError("Invalid operator type, expected string but got "+typeof e);if(-1===l.indexOf(e))throw new TypeError("Invalid operator, expected one of "+l.join("|"))}(a);var n=i(e,t);return r[a].indexOf(n)>-1},i})?a.apply(t,[]):a)||(e.exports=n)},4863:function(e){e.exports=function(){"use strict";var e=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var a=Object.prototype.toString.call(e);return"[object RegExp]"===a||"[object Date]"===a||function(e){return e.$$typeof===t}(e)}(e)};var t="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function a(e,t){return!1!==t.clone&&t.isMergeableObject(e)?r((a=e,Array.isArray(a)?[]:{}),e,t):e;var a}function n(e,t,n){return e.concat(t).map((function(e){return a(e,n)}))}function i(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function l(e,t,n){var l={};return n.isMergeableObject(e)&&i(e).forEach((function(t){l[t]=a(e[t],n)})),i(t).forEach((function(i){n.isMergeableObject(t[i])&&e[i]?l[i]=function(e,t){if(!t.customMerge)return r;var a=t.customMerge(e);return"function"==typeof a?a:r}(i,n)(e[i],t[i],n):l[i]=a(t[i],n)})),l}function r(t,i,r){(r=r||{}).arrayMerge=r.arrayMerge||n,r.isMergeableObject=r.isMergeableObject||e;var s=Array.isArray(i);return s===Array.isArray(t)?s?r.arrayMerge(t,i,r):l(t,i,r):a(i,r)}return r.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,a){return r(e,a,t)}),{})},r}()},1143:e=>{"use strict";e.exports=function(e,t,a,n,i,l,r,s){if(!e){var o;if(void 0===t)o=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[a,n,i,l,r,s],c=0;(o=new Error(t.replace(/%s/g,(function(){return u[c++]})))).name="Invariant Violation"}throw o.framesToPop=1,o}}},4017:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hexToRgb=function(e){var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null}},6537:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a(7193);t.default=n.isDarkColor,e.exports=t.default},7193:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDarkColor=void 0;var n=a(4017);t.isDarkColor=function(e,t){if(t&&t.override){var a=Object.keys(t.override).find((function(t){return t.toLowerCase()===e.toLowerCase()}));if(void 0!==a)return t.override[a]}var i=(0,n.hexToRgb)(e),l=[i.r/255,i.g/255,i.b/255].map((function(e){return e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}));return.2126*l[0]+.7152*l[1]+.0722*l[2]<=.179}},7418:e=>{"use strict";var t=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},a=0;a<10;a++)t["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,l){for(var r,s,o=i(e),u=1;u<arguments.length;u++){for(var c in r=Object(arguments[u]))a.call(r,c)&&(o[c]=r[c]);if(t){s=t(r);for(var g=0;g<s.length;g++)n.call(r,s[g])&&(o[s[g]]=r[s[g]])}}return o}},2703:(e,t,a)=>{"use strict";var n=a(414);function i(){}function l(){}l.resetWarningCache=i,e.exports=function(){function e(e,t,a,i,l,r){if(r!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var a={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:l,resetWarningCache:i};return a.PropTypes=a,a}},5697:(e,t,a)=>{e.exports=a(2703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8394:(e,t,a)=>{"use strict";var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},i=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),l=a(7294),r=g(l),s=g(a(5697)),o=g(a(1444)),u=g(a(8497)),c=a(7581);function g(e){return e&&e.__esModule?e:{default:e}}var m=function(){return!0},d=function(e){function t(e){var a=e.alwaysRenderSuggestions;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return h.call(n),n.state={isFocused:!1,isCollapsed:!a,highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null},n.justPressedUpDown=!1,n.justMouseEntered=!1,n.pressedSuggestion=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){document.addEventListener("mousedown",this.onDocumentMouseDown),document.addEventListener("mouseup",this.onDocumentMouseUp),this.input=this.autowhatever.input,this.suggestionsContainer=this.autowhatever.itemsContainer}},{key:"componentWillReceiveProps",value:function(e){(0,o.default)(e.suggestions,this.props.suggestions)?e.highlightFirstSuggestion&&e.suggestions.length>0&&!1===this.justPressedUpDown&&!1===this.justMouseEntered&&this.highlightFirstSuggestion():this.willRenderSuggestions(e)?this.state.isCollapsed&&!this.justSelectedSuggestion&&this.revealSuggestions():this.resetHighlightedSuggestion()}},{key:"componentDidUpdate",value:function(e,t){var a=this.props,n=a.suggestions,i=a.onSuggestionHighlighted,l=a.highlightFirstSuggestion;if(!(0,o.default)(n,e.suggestions)&&n.length>0&&l)this.highlightFirstSuggestion();else if(i){var r=this.getHighlightedSuggestion();r!=t.highlightedSuggestion&&i({suggestion:r})}}},{key:"componentWillUnmount",value:function(){document.removeEventListener("mousedown",this.onDocumentMouseDown),document.removeEventListener("mouseup",this.onDocumentMouseUp)}},{key:"updateHighlightedSuggestion",value:function(e,t,a){var n=this;this.setState((function(i){var l=i.valueBeforeUpDown;return null===t?l=null:null===l&&void 0!==a&&(l=a),{highlightedSectionIndex:e,highlightedSuggestionIndex:t,highlightedSuggestion:null===t?null:n.getSuggestion(e,t),valueBeforeUpDown:l}}))}},{key:"resetHighlightedSuggestion",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.setState((function(t){var a=t.valueBeforeUpDown;return{highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:e?null:a}}))}},{key:"revealSuggestions",value:function(){this.setState({isCollapsed:!1})}},{key:"closeSuggestions",value:function(){this.setState({highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null,isCollapsed:!0})}},{key:"getSuggestion",value:function(e,t){var a=this.props,n=a.suggestions,i=a.multiSection,l=a.getSectionSuggestions;return i?l(n[e])[t]:n[t]}},{key:"getHighlightedSuggestion",value:function(){var e=this.state,t=e.highlightedSectionIndex,a=e.highlightedSuggestionIndex;return null===a?null:this.getSuggestion(t,a)}},{key:"getSuggestionValueByIndex",value:function(e,t){return(0,this.props.getSuggestionValue)(this.getSuggestion(e,t))}},{key:"getSuggestionIndices",value:function(e){var t=e.getAttribute("data-section-index"),a=e.getAttribute("data-suggestion-index");return{sectionIndex:"string"==typeof t?parseInt(t,10):null,suggestionIndex:parseInt(a,10)}}},{key:"findSuggestionElement",value:function(e){var t=e;do{if(null!==t.getAttribute("data-suggestion-index"))return t;t=t.parentNode}while(null!==t);throw console.error("Clicked element:",e),new Error("Couldn't find suggestion element")}},{key:"maybeCallOnChange",value:function(e,t,a){var n=this.props.inputProps,i=n.value,l=n.onChange;t!==i&&l(e,{newValue:t,method:a})}},{key:"willRenderSuggestions",value:function(e){var t=e.suggestions,a=e.inputProps,n=e.shouldRenderSuggestions,i=a.value;return t.length>0&&n(i)}},{key:"getQuery",value:function(){var e=this.props.inputProps.value,t=this.state.valueBeforeUpDown;return(null===t?e:t).trim()}},{key:"render",value:function(){var e=this,t=this.props,a=t.suggestions,i=t.renderInputComponent,l=t.onSuggestionsFetchRequested,s=t.renderSuggestion,o=t.inputProps,g=t.multiSection,d=t.renderSectionTitle,h=t.id,p=t.getSectionSuggestions,v=t.theme,b=t.getSuggestionValue,f=t.alwaysRenderSuggestions,y=t.highlightFirstSuggestion,k=this.state,_=k.isFocused,w=k.isCollapsed,x=k.highlightedSectionIndex,C=k.highlightedSuggestionIndex,S=k.valueBeforeUpDown,E=f?m:this.props.shouldRenderSuggestions,M=o.value,T=o.onFocus,N=o.onKeyDown,B=this.willRenderSuggestions(this.props),I=f||_&&!w&&B,O=I?a:[],P=n({},o,{onFocus:function(t){if(!e.justSelectedSuggestion&&!e.justClickedOnSuggestionsContainer){var a=E(M);e.setState({isFocused:!0,isCollapsed:!a}),T&&T(t),a&&l({value:M,reason:"input-focused"})}},onBlur:function(t){e.justClickedOnSuggestionsContainer?e.input.focus():(e.blurEvent=t,e.justSelectedSuggestion||(e.onBlur(),e.onSuggestionsClearRequested()))},onChange:function(t){var a=t.target.value,i=E(a);e.maybeCallOnChange(t,a,"type"),e.suggestionsContainer&&(e.suggestionsContainer.scrollTop=0),e.setState(n({},y?{}:{highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null},{valueBeforeUpDown:null,isCollapsed:!i})),i?l({value:a,reason:"input-changed"}):e.onSuggestionsClearRequested()},onKeyDown:function(t,n){var i=t.keyCode;switch(i){case 40:case 38:if(w)E(M)&&(l({value:M,reason:"suggestions-revealed"}),e.revealSuggestions());else if(a.length>0){var r,s=n.newHighlightedSectionIndex,o=n.newHighlightedItemIndex;r=null===o?null===S?M:S:e.getSuggestionValueByIndex(s,o),e.updateHighlightedSuggestion(s,o,M),e.maybeCallOnChange(t,r,40===i?"down":"up")}t.preventDefault(),e.justPressedUpDown=!0,setTimeout((function(){e.justPressedUpDown=!1}));break;case 13:if(229===t.keyCode)break;var u=e.getHighlightedSuggestion();if(I&&!f&&e.closeSuggestions(),null!=u){var c=b(u);e.maybeCallOnChange(t,c,"enter"),e.onSuggestionSelected(t,{suggestion:u,suggestionValue:c,suggestionIndex:C,sectionIndex:x,method:"enter"}),e.justSelectedSuggestion=!0,setTimeout((function(){e.justSelectedSuggestion=!1}))}break;case 27:I&&t.preventDefault();var g=I&&!f;null===S?g||(e.maybeCallOnChange(t,"","escape"),E("")?l({value:"",reason:"escape-pressed"}):e.onSuggestionsClearRequested()):e.maybeCallOnChange(t,S,"escape"),g?(e.onSuggestionsClearRequested(),e.closeSuggestions()):e.resetHighlightedSuggestion()}N&&N(t)}}),R={query:this.getQuery()};return r.default.createElement(u.default,{multiSection:g,items:O,renderInputComponent:i,renderItemsContainer:this.renderSuggestionsContainer,renderItem:s,renderItemData:R,renderSectionTitle:d,getSectionItems:p,highlightedSectionIndex:x,highlightedItemIndex:C,inputProps:P,itemProps:this.itemProps,theme:(0,c.mapToAutowhateverTheme)(v),id:h,ref:this.storeAutowhateverRef})}}]),t}(l.Component);d.propTypes={suggestions:s.default.array.isRequired,onSuggestionsFetchRequested:function(e,t){if("function"!=typeof e[t])throw new Error("'onSuggestionsFetchRequested' must be implemented. See: https://github.com/moroshko/react-autosuggest#onSuggestionsFetchRequestedProp")},onSuggestionsClearRequested:function(e,t){var a=e[t];if(!1===e.alwaysRenderSuggestions&&"function"!=typeof a)throw new Error("'onSuggestionsClearRequested' must be implemented. See: https://github.com/moroshko/react-autosuggest#onSuggestionsClearRequestedProp")},onSuggestionSelected:s.default.func,onSuggestionHighlighted:s.default.func,renderInputComponent:s.default.func,renderSuggestionsContainer:s.default.func,getSuggestionValue:s.default.func.isRequired,renderSuggestion:s.default.func.isRequired,inputProps:function(e,t){var a=e[t];if(!a.hasOwnProperty("value"))throw new Error("'inputProps' must have 'value'.");if(!a.hasOwnProperty("onChange"))throw new Error("'inputProps' must have 'onChange'.")},shouldRenderSuggestions:s.default.func,alwaysRenderSuggestions:s.default.bool,multiSection:s.default.bool,renderSectionTitle:function(e,t){var a=e[t];if(!0===e.multiSection&&"function"!=typeof a)throw new Error("'renderSectionTitle' must be implemented. See: https://github.com/moroshko/react-autosuggest#renderSectionTitleProp")},getSectionSuggestions:function(e,t){var a=e[t];if(!0===e.multiSection&&"function"!=typeof a)throw new Error("'getSectionSuggestions' must be implemented. See: https://github.com/moroshko/react-autosuggest#getSectionSuggestionsProp")},focusInputOnSuggestionClick:s.default.bool,highlightFirstSuggestion:s.default.bool,theme:s.default.object,id:s.default.string},d.defaultProps={renderSuggestionsContainer:function(e){var t=e.containerProps,a=e.children;return r.default.createElement("div",t,a)},shouldRenderSuggestions:function(e){return e.trim().length>0},alwaysRenderSuggestions:!1,multiSection:!1,focusInputOnSuggestionClick:!0,highlightFirstSuggestion:!1,theme:c.defaultTheme,id:"1"};var h=function(){var e=this;this.onDocumentMouseDown=function(t){e.justClickedOnSuggestionsContainer=!1;for(var a=t.detail&&t.detail.target||t.target;null!==a&&a!==document;){if(null!==a.getAttribute("data-suggestion-index"))return;if(a===e.suggestionsContainer)return void(e.justClickedOnSuggestionsContainer=!0);a=a.parentNode}},this.storeAutowhateverRef=function(t){null!==t&&(e.autowhatever=t)},this.onSuggestionMouseEnter=function(t,a){var n=a.sectionIndex,i=a.itemIndex;e.updateHighlightedSuggestion(n,i),t.target===e.pressedSuggestion&&(e.justSelectedSuggestion=!0),e.justMouseEntered=!0,setTimeout((function(){e.justMouseEntered=!1}))},this.highlightFirstSuggestion=function(){e.updateHighlightedSuggestion(e.props.multiSection?0:null,0)},this.onDocumentMouseUp=function(){e.pressedSuggestion&&!e.justSelectedSuggestion&&e.input.focus(),e.pressedSuggestion=null},this.onSuggestionMouseDown=function(t){e.justSelectedSuggestion||(e.justSelectedSuggestion=!0,e.pressedSuggestion=t.target)},this.onSuggestionsClearRequested=function(){var t=e.props.onSuggestionsClearRequested;t&&t()},this.onSuggestionSelected=function(t,a){var n=e.props,i=n.alwaysRenderSuggestions,l=n.onSuggestionSelected,r=n.onSuggestionsFetchRequested;l&&l(t,a),i?r({value:a.suggestionValue,reason:"suggestion-selected"}):e.onSuggestionsClearRequested(),e.resetHighlightedSuggestion()},this.onSuggestionClick=function(t){var a=e.props,n=a.alwaysRenderSuggestions,i=a.focusInputOnSuggestionClick,l=e.getSuggestionIndices(e.findSuggestionElement(t.target)),r=l.sectionIndex,s=l.suggestionIndex,o=e.getSuggestion(r,s),u=e.props.getSuggestionValue(o);e.maybeCallOnChange(t,u,"click"),e.onSuggestionSelected(t,{suggestion:o,suggestionValue:u,suggestionIndex:s,sectionIndex:r,method:"click"}),n||e.closeSuggestions(),!0===i?e.input.focus():e.onBlur(),setTimeout((function(){e.justSelectedSuggestion=!1}))},this.onBlur=function(){var t=e.props,a=t.inputProps,n=t.shouldRenderSuggestions,i=a.value,l=a.onBlur,r=e.getHighlightedSuggestion(),s=n(i);e.setState({isFocused:!1,highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null,isCollapsed:!s}),l&&l(e.blurEvent,{highlightedSuggestion:r})},this.onSuggestionMouseLeave=function(t){e.resetHighlightedSuggestion(!1),e.justSelectedSuggestion&&t.target===e.pressedSuggestion&&(e.justSelectedSuggestion=!1)},this.onSuggestionTouchStart=function(){e.justSelectedSuggestion=!0},this.onSuggestionTouchMove=function(){e.justSelectedSuggestion=!1,e.pressedSuggestion=null,e.input.focus()},this.itemProps=function(t){return{"data-section-index":t.sectionIndex,"data-suggestion-index":t.itemIndex,onMouseEnter:e.onSuggestionMouseEnter,onMouseLeave:e.onSuggestionMouseLeave,onMouseDown:e.onSuggestionMouseDown,onTouchStart:e.onSuggestionTouchStart,onTouchMove:e.onSuggestionTouchMove,onClick:e.onSuggestionClick}},this.renderSuggestionsContainer=function(t){var a=t.containerProps,n=t.children;return(0,e.props.renderSuggestionsContainer)({containerProps:a,children:n,query:e.getQuery()})}};t.default=d},8808:(e,t,a)=>{"use strict";e.exports=a(8394).default},7581:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultTheme={container:"react-autosuggest__container",containerOpen:"react-autosuggest__container--open",input:"react-autosuggest__input",inputOpen:"react-autosuggest__input--open",inputFocused:"react-autosuggest__input--focused",suggestionsContainer:"react-autosuggest__suggestions-container",suggestionsContainerOpen:"react-autosuggest__suggestions-container--open",suggestionsList:"react-autosuggest__suggestions-list",suggestion:"react-autosuggest__suggestion",suggestionFirst:"react-autosuggest__suggestion--first",suggestionHighlighted:"react-autosuggest__suggestion--highlighted",sectionContainer:"react-autosuggest__section-container",sectionContainerFirst:"react-autosuggest__section-container--first",sectionTitle:"react-autosuggest__section-title"},t.mapToAutowhateverTheme=function(e){var t={};for(var a in e)switch(a){case"suggestionsContainer":t.itemsContainer=e[a];break;case"suggestionsContainerOpen":t.itemsContainerOpen=e[a];break;case"suggestion":t.item=e[a];break;case"suggestionFirst":t.itemFirst=e[a];break;case"suggestionHighlighted":t.itemHighlighted=e[a];break;case"suggestionsList":t.itemsList=e[a];break;default:t[a]=e[a]}return t}},6514:(e,t,a)=>{"use strict";var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},i=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),l=a(7294),r=m(l),s=m(a(5697)),o=m(a(2383)),u=m(a(8379)),c=m(a(1560)),g=m(a(7489));function m(e){return e&&e.__esModule?e:{default:e}}var d={},h=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return a.storeInputReference=function(e){null!==e&&(a.input=e)},a.storeItemsContainerReference=function(e){null!==e&&(a.itemsContainer=e)},a.onHighlightedItemChange=function(e){a.highlightedItem=e},a.getItemId=function(e,t){return null===t?null:"react-autowhatever-"+a.props.id+"-"+(null===e?"":"section-"+e)+"-item-"+t},a.onFocus=function(e){var t=a.props.inputProps;a.setState({isInputFocused:!0}),t.onFocus&&t.onFocus(e)},a.onBlur=function(e){var t=a.props.inputProps;a.setState({isInputFocused:!1}),t.onBlur&&t.onBlur(e)},a.onKeyDown=function(e){var t=a.props,n=t.inputProps,i=t.highlightedSectionIndex,l=t.highlightedItemIndex;switch(e.key){case"ArrowDown":case"ArrowUp":var r="ArrowDown"===e.key?"next":"prev",s=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var a=[],n=!0,i=!1,l=void 0;try{for(var r,s=e[Symbol.iterator]();!(n=(r=s.next()).done)&&(a.push(r.value),!t||a.length!==t);n=!0);}catch(e){i=!0,l=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw l}}return a}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(a.sectionIterator[r]([i,l]),2),o=s[0],u=s[1];n.onKeyDown(e,{newHighlightedSectionIndex:o,newHighlightedItemIndex:u});break;default:n.onKeyDown(e,{highlightedSectionIndex:i,highlightedItemIndex:l})}},a.highlightedItem=null,a.state={isInputFocused:!1},a.setSectionsItems(e),a.setSectionIterator(e),a.setTheme(e),a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){this.ensureHighlightedItemIsVisible()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){e.items!==this.props.items&&this.setSectionsItems(e),e.items===this.props.items&&e.multiSection===this.props.multiSection||this.setSectionIterator(e),e.theme!==this.props.theme&&this.setTheme(e)}},{key:"componentDidUpdate",value:function(){this.ensureHighlightedItemIsVisible()}},{key:"setSectionsItems",value:function(e){e.multiSection&&(this.sectionsItems=e.items.map((function(t){return e.getSectionItems(t)})),this.sectionsLengths=this.sectionsItems.map((function(e){return e.length})),this.allSectionsAreEmpty=this.sectionsLengths.every((function(e){return 0===e})))}},{key:"setSectionIterator",value:function(e){this.sectionIterator=(0,o.default)({multiSection:e.multiSection,data:e.multiSection?this.sectionsLengths:e.items.length})}},{key:"setTheme",value:function(e){this.theme=(0,u.default)(e.theme)}},{key:"renderSections",value:function(){var e=this;if(this.allSectionsAreEmpty)return null;var t=this.theme,a=this.props,n=a.id,i=a.items,l=a.renderItem,s=a.renderItemData,o=a.renderSectionTitle,u=a.highlightedSectionIndex,m=a.highlightedItemIndex,d=a.itemProps;return i.map((function(a,i){var h="react-autowhatever-"+n+"-",p=h+"section-"+i+"-",v=0===i;return r.default.createElement("div",t(p+"container","sectionContainer",v&&"sectionContainerFirst"),r.default.createElement(c.default,{section:a,renderSectionTitle:o,theme:t,sectionKeyPrefix:p}),r.default.createElement(g.default,{items:e.sectionsItems[i],itemProps:d,renderItem:l,renderItemData:s,sectionIndex:i,highlightedItemIndex:u===i?m:null,onHighlightedItemChange:e.onHighlightedItemChange,getItemId:e.getItemId,theme:t,keyPrefix:h,ref:e.storeItemsListReference}))}))}},{key:"renderItems",value:function(){var e=this.props.items;if(0===e.length)return null;var t=this.theme,a=this.props,n=a.id,i=a.renderItem,l=a.renderItemData,s=a.highlightedSectionIndex,o=a.highlightedItemIndex,u=a.itemProps;return r.default.createElement(g.default,{items:e,itemProps:u,renderItem:i,renderItemData:l,highlightedItemIndex:null===s?o:null,onHighlightedItemChange:this.onHighlightedItemChange,getItemId:this.getItemId,theme:t,keyPrefix:"react-autowhatever-"+n+"-"})}},{key:"ensureHighlightedItemIsVisible",value:function(){var e=this.highlightedItem;if(e){var t=this.itemsContainer,a=e.offsetParent===t?e.offsetTop:e.offsetTop-t.offsetTop,n=t.scrollTop;a<n?n=a:a+e.offsetHeight>n+t.offsetHeight&&(n=a+e.offsetHeight-t.offsetHeight),n!==t.scrollTop&&(t.scrollTop=n)}}},{key:"render",value:function(){var e=this.theme,t=this.props,a=t.id,i=t.multiSection,l=t.renderInputComponent,s=t.renderItemsContainer,o=t.highlightedSectionIndex,u=t.highlightedItemIndex,c=this.state.isInputFocused,g=i?this.renderSections():this.renderItems(),m=null!==g,d=this.getItemId(o,u),h="react-autowhatever-"+a,p=n({role:"combobox","aria-haspopup":"listbox","aria-owns":h,"aria-expanded":m},e("react-autowhatever-"+a+"-container","container",m&&"containerOpen"),this.props.containerProps),v=l(n({type:"text",value:"",autoComplete:"off","aria-autocomplete":"list","aria-controls":h,"aria-activedescendant":d},e("react-autowhatever-"+a+"-input","input",m&&"inputOpen",c&&"inputFocused"),this.props.inputProps,{onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.props.inputProps.onKeyDown&&this.onKeyDown,ref:this.storeInputReference})),b=s({containerProps:n({id:h,role:"listbox"},e("react-autowhatever-"+a+"-items-container","itemsContainer",m&&"itemsContainerOpen"),{ref:this.storeItemsContainerReference}),children:g});return r.default.createElement("div",p,v,b)}}]),t}(l.Component);h.propTypes={id:s.default.string,multiSection:s.default.bool,renderInputComponent:s.default.func,renderItemsContainer:s.default.func,items:s.default.array.isRequired,renderItem:s.default.func,renderItemData:s.default.object,renderSectionTitle:s.default.func,getSectionItems:s.default.func,containerProps:s.default.object,inputProps:s.default.object,itemProps:s.default.oneOfType([s.default.object,s.default.func]),highlightedSectionIndex:s.default.number,highlightedItemIndex:s.default.number,theme:s.default.oneOfType([s.default.object,s.default.array])},h.defaultProps={id:"1",multiSection:!1,renderInputComponent:function(e){return r.default.createElement("input",e)},renderItemsContainer:function(e){var t=e.containerProps,a=e.children;return r.default.createElement("div",t,a)},renderItem:function(){throw new Error("`renderItem` must be provided")},renderItemData:d,renderSectionTitle:function(){throw new Error("`renderSectionTitle` must be provided")},getSectionItems:function(){throw new Error("`getSectionItems` must be provided")},containerProps:d,inputProps:d,itemProps:d,highlightedSectionIndex:null,highlightedItemIndex:null,theme:{container:"react-autowhatever__container",containerOpen:"react-autowhatever__container--open",input:"react-autowhatever__input",inputOpen:"react-autowhatever__input--open",inputFocused:"react-autowhatever__input--focused",itemsContainer:"react-autowhatever__items-container",itemsContainerOpen:"react-autowhatever__items-container--open",itemsList:"react-autowhatever__items-list",item:"react-autowhatever__item",itemFirst:"react-autowhatever__item--first",itemHighlighted:"react-autowhatever__item--highlighted",sectionContainer:"react-autowhatever__section-container",sectionContainerFirst:"react-autowhatever__section-container--first",sectionTitle:"react-autowhatever__section-title"}},t.default=h},6844:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},i=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),l=a(7294),r=u(l),s=u(a(5697)),o=u(a(3130));function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var m=function(e){function t(){var e,a,n;c(this,t);for(var i=arguments.length,l=Array(i),r=0;r<i;r++)l[r]=arguments[r];return a=n=g(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),n.storeItemReference=function(e){null!==e&&(n.item=e)},n.onMouseEnter=function(e){var t=n.props,a=t.sectionIndex,i=t.itemIndex;n.props.onMouseEnter(e,{sectionIndex:a,itemIndex:i})},n.onMouseLeave=function(e){var t=n.props,a=t.sectionIndex,i=t.itemIndex;n.props.onMouseLeave(e,{sectionIndex:a,itemIndex:i})},n.onMouseDown=function(e){var t=n.props,a=t.sectionIndex,i=t.itemIndex;n.props.onMouseDown(e,{sectionIndex:a,itemIndex:i})},n.onClick=function(e){var t=n.props,a=t.sectionIndex,i=t.itemIndex;n.props.onClick(e,{sectionIndex:a,itemIndex:i})},g(n,a)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"shouldComponentUpdate",value:function(e){return(0,o.default)(e,this.props,["renderItemData"])}},{key:"render",value:function(){var e=this.props,t=e.isHighlighted,a=e.item,i=e.renderItem,l=e.renderItemData,s=function(e,t){var a={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(a[n]=e[n]);return a}(e,["isHighlighted","item","renderItem","renderItemData"]);return delete s.sectionIndex,delete s.itemIndex,"function"==typeof s.onMouseEnter&&(s.onMouseEnter=this.onMouseEnter),"function"==typeof s.onMouseLeave&&(s.onMouseLeave=this.onMouseLeave),"function"==typeof s.onMouseDown&&(s.onMouseDown=this.onMouseDown),"function"==typeof s.onClick&&(s.onClick=this.onClick),r.default.createElement("li",n({role:"option"},s,{ref:this.storeItemReference}),i(a,n({isHighlighted:t},l)))}}]),t}(l.Component);m.propTypes={sectionIndex:s.default.number,isHighlighted:s.default.bool.isRequired,itemIndex:s.default.number.isRequired,item:s.default.any.isRequired,renderItem:s.default.func.isRequired,renderItemData:s.default.object.isRequired,onMouseEnter:s.default.func,onMouseLeave:s.default.func,onMouseDown:s.default.func,onClick:s.default.func},t.default=m},7489:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},i=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),l=a(7294),r=c(l),s=c(a(5697)),o=c(a(6844)),u=c(a(3130));function c(e){return e&&e.__esModule?e:{default:e}}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var d=function(e){function t(){var e,a,n;g(this,t);for(var i=arguments.length,l=Array(i),r=0;r<i;r++)l[r]=arguments[r];return a=n=m(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),n.storeHighlightedItemReference=function(e){n.props.onHighlightedItemChange(null===e?null:e.item)},m(n,a)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"shouldComponentUpdate",value:function(e){return(0,u.default)(e,this.props,["itemProps"])}},{key:"render",value:function(){var e=this,t=this.props,a=t.items,i=t.itemProps,l=t.renderItem,s=t.renderItemData,u=t.sectionIndex,c=t.highlightedItemIndex,g=t.getItemId,m=t.theme,d=t.keyPrefix,h=null===u?d:d+"section-"+u+"-",p="function"==typeof i;return r.default.createElement("ul",n({role:"listbox"},m(h+"items-list","itemsList")),a.map((function(t,a){var d=0===a,v=a===c,b=h+"item-"+a,f=p?i({sectionIndex:u,itemIndex:a}):i,y=n({id:g(u,a),"aria-selected":v},m(b,"item",d&&"itemFirst",v&&"itemHighlighted"),f);return v&&(y.ref=e.storeHighlightedItemReference),r.default.createElement(o.default,n({},y,{sectionIndex:u,isHighlighted:v,itemIndex:a,item:t,renderItem:l,renderItemData:s}))})))}}]),t}(l.Component);d.propTypes={items:s.default.array.isRequired,itemProps:s.default.oneOfType([s.default.object,s.default.func]),renderItem:s.default.func.isRequired,renderItemData:s.default.object.isRequired,sectionIndex:s.default.number,highlightedItemIndex:s.default.number,onHighlightedItemChange:s.default.func.isRequired,getItemId:s.default.func.isRequired,theme:s.default.func.isRequired,keyPrefix:s.default.string.isRequired},d.defaultProps={sectionIndex:null},t.default=d},1560:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),i=a(7294),l=o(i),r=o(a(5697)),s=o(a(3130));function o(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var g=function(e){function t(){return u(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n(t,[{key:"shouldComponentUpdate",value:function(e){return(0,s.default)(e,this.props)}},{key:"render",value:function(){var e=this.props,t=e.section,a=e.renderSectionTitle,n=e.theme,i=e.sectionKeyPrefix,r=a(t);return r?l.default.createElement("div",n(i+"title","sectionTitle"),r):null}}]),t}(i.Component);g.propTypes={section:r.default.any.isRequired,renderSectionTitle:r.default.func.isRequired,theme:r.default.func.isRequired,sectionKeyPrefix:r.default.string.isRequired},t.default=g},3130:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(e===t)return!1;var i=Object.keys(e),l=Object.keys(t);if(i.length!==l.length)return!0;var r={},s=void 0,o=void 0;for(s=0,o=n.length;s<o;s++)r[n[s]]=!0;for(s=0,o=i.length;s<o;s++){var u=i[s],c=e[u],g=t[u];if(c!==g){if(!r[u]||null===c||null===g||"object"!==(void 0===c?"undefined":a(c))||"object"!==(void 0===g?"undefined":a(g)))return!0;var m=Object.keys(c),d=Object.keys(g);if(m.length!==d.length)return!0;for(var h=0,p=m.length;h<p;h++){var v=m[h];if(c[v]!==g[v])return!0}}}return!1}},8497:(e,t,a)=>{"use strict";e.exports=a(6514).default},5112:function(e,t,a){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)t.hasOwnProperty(a)&&(e[a]=t[a])},n(e,t)},function(e,t){function a(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(a.prototype=t.prototype,new a)}),l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var r=l(a(5697)),s=l(a(7294)),o=function(e){function t(a){var n=e.call(this,a)||this;return n.resetDragging=function(){n.frameDragCounter=0,n.setState({draggingOverFrame:!1,draggingOverTarget:!1})},n.handleWindowDragOverOrDrop=function(e){e.preventDefault()},n.handleFrameDrag=function(e){if(t.eventHasFiles(e))return n.frameDragCounter+="dragenter"===e.type?1:-1,1===n.frameDragCounter?(n.setState({draggingOverFrame:!0}),void(n.props.onFrameDragEnter&&n.props.onFrameDragEnter(e))):0===n.frameDragCounter?(n.setState({draggingOverFrame:!1}),void(n.props.onFrameDragLeave&&n.props.onFrameDragLeave(e))):void 0},n.handleFrameDrop=function(e){n.state.draggingOverTarget||(n.resetDragging(),n.props.onFrameDrop&&n.props.onFrameDrop(e))},n.handleDragOver=function(e){t.eventHasFiles(e)&&(n.setState({draggingOverTarget:!0}),!t.isIE()&&n.props.dropEffect&&(e.dataTransfer.dropEffect=n.props.dropEffect),n.props.onDragOver&&n.props.onDragOver(e))},n.handleDragLeave=function(e){n.setState({draggingOverTarget:!1}),n.props.onDragLeave&&n.props.onDragLeave(e)},n.handleDrop=function(e){if(n.props.onDrop&&t.eventHasFiles(e)){var a=e.dataTransfer?e.dataTransfer.files:null;n.props.onDrop(a,e)}n.resetDragging()},n.handleTargetClick=function(e){n.props.onTargetClick&&n.props.onTargetClick(e),n.resetDragging()},n.stopFrameListeners=function(e){e&&(e.removeEventListener("dragenter",n.handleFrameDrag),e.removeEventListener("dragleave",n.handleFrameDrag),e.removeEventListener("drop",n.handleFrameDrop))},n.startFrameListeners=function(e){e&&(e.addEventListener("dragenter",n.handleFrameDrag),e.addEventListener("dragleave",n.handleFrameDrag),e.addEventListener("drop",n.handleFrameDrop))},n.frameDragCounter=0,n.state={draggingOverFrame:!1,draggingOverTarget:!1},n}return i(t,e),t.prototype.componentDidMount=function(){this.startFrameListeners(this.props.frame),this.resetDragging(),window.addEventListener("dragover",this.handleWindowDragOverOrDrop),window.addEventListener("drop",this.handleWindowDragOverOrDrop)},t.prototype.UNSAFE_componentWillReceiveProps=function(e){e.frame!==this.props.frame&&(this.resetDragging(),this.stopFrameListeners(this.props.frame),this.startFrameListeners(e.frame))},t.prototype.componentWillUnmount=function(){this.stopFrameListeners(this.props.frame),window.removeEventListener("dragover",this.handleWindowDragOverOrDrop),window.removeEventListener("drop",this.handleWindowDragOverOrDrop)},t.prototype.render=function(){var e=this.props,t=e.children,a=e.className,n=e.targetClassName,i=e.draggingOverFrameClassName,l=e.draggingOverTargetClassName,r=this.state,o=r.draggingOverTarget,u=n;return r.draggingOverFrame&&(u+=" "+i),o&&(u+=" "+l),s.default.createElement("div",{className:a,onDragOver:this.handleDragOver,onDragLeave:this.handleDragLeave,onDrop:this.handleDrop},s.default.createElement("div",{className:u,onClick:this.handleTargetClick},t))},t.isIE=function(){return"undefined"!=typeof window&&(-1!==window.navigator.userAgent.indexOf("MSIE")||window.navigator.appVersion.indexOf("Trident/")>0)},t.eventHasFiles=function(e){var t=!1;if(e.dataTransfer){var a=e.dataTransfer.types;for(var n in a)if("Files"===a[n]){t=!0;break}}return t},t.propTypes={className:r.default.string,targetClassName:r.default.string,draggingOverFrameClassName:r.default.string,draggingOverTargetClassName:r.default.string,onDragOver:r.default.func,onDragLeave:r.default.func,onDrop:r.default.func,onTargetClick:r.default.func,dropEffect:r.default.oneOf(["copy","move","link","none"]),frame:function(e,t,a){var n=e[t];return null==n?new Error("Warning: Required prop `"+t+"` was not specified in `"+a+"`"):n===document||n instanceof HTMLElement?void 0:new Error("Warning: Prop `"+t+"` must be one of the following: document, HTMLElement!")},onFrameDragEnter:r.default.func,onFrameDragLeave:r.default.func,onFrameDrop:r.default.func},t.defaultProps={dropEffect:"copy",frame:"undefined"==typeof window?void 0:window.document,className:"file-drop",targetClassName:"file-drop-target",draggingOverFrameClassName:"file-drop-dragging-over-frame",draggingOverTargetClassName:"file-drop-dragging-over-target"},t}(s.default.PureComponent);t.FileDrop=o},8379:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});function n(e){if(Array.isArray(e)){for(var t=0,a=Array(e.length);t<e.length;t++)a[t]=e[t];return a}return Array.from(e)}var i,l=(i=a(1894))&&i.__esModule?i:{default:i},r=function(e){return e};t.default=function(e){var t=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var a=[],n=!0,i=!1,l=void 0;try{for(var r,s=e[Symbol.iterator]();!(n=(r=s.next()).done)&&(a.push(r.value),!t||a.length!==t);n=!0);}catch(e){i=!0,l=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw l}}return a}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(Array.isArray(e)&&2===e.length?e:[e,null],2),a=t[0],i=t[1];return function(e){for(var t=arguments.length,s=Array(t>1?t-1:0),o=1;o<t;o++)s[o-1]=arguments[o];var u=s.map((function(e){return a[e]})).filter(r);return"string"==typeof u[0]||"function"==typeof i?{key:e,className:i?i.apply(void 0,n(u)):u.join(" ")}:{key:e,style:l.default.apply(void 0,[{}].concat(n(u)))}}},e.exports=t.default},1894:e=>{"use strict";var t=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function n(e){var a=Object.getOwnPropertyNames(e);return Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(e))),a.filter((function(a){return t.call(e,a)}))}e.exports=Object.assign||function(e,t){for(var i,l,r=a(e),s=1;s<arguments.length;s++){i=arguments[s],l=n(Object(i));for(var o=0;o<l.length;o++)r[l[o]]=i[l[o]]}return r}},2408:(e,t,a)=>{"use strict";var n=a(7418),i=60103,l=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var r=60109,s=60110,o=60112;t.Suspense=60113;var u=60115,c=60116;if("function"==typeof Symbol&&Symbol.for){var g=Symbol.for;i=g("react.element"),l=g("react.portal"),t.Fragment=g("react.fragment"),t.StrictMode=g("react.strict_mode"),t.Profiler=g("react.profiler"),r=g("react.provider"),s=g("react.context"),o=g("react.forward_ref"),t.Suspense=g("react.suspense"),u=g("react.memo"),c=g("react.lazy")}var m="function"==typeof Symbol&&Symbol.iterator;function d(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,a=1;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},p={};function v(e,t,a){this.props=e,this.context=t,this.refs=p,this.updater=a||h}function b(){}function f(e,t,a){this.props=e,this.context=t,this.refs=p,this.updater=a||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(d(85));this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=v.prototype;var y=f.prototype=new b;y.constructor=f,n(y,v.prototype),y.isPureReactComponent=!0;var k={current:null},_=Object.prototype.hasOwnProperty,w={key:!0,ref:!0,__self:!0,__source:!0};function x(e,t,a){var n,l={},r=null,s=null;if(null!=t)for(n in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(r=""+t.key),t)_.call(t,n)&&!w.hasOwnProperty(n)&&(l[n]=t[n]);var o=arguments.length-2;if(1===o)l.children=a;else if(1<o){for(var u=Array(o),c=0;c<o;c++)u[c]=arguments[c+2];l.children=u}if(e&&e.defaultProps)for(n in o=e.defaultProps)void 0===l[n]&&(l[n]=o[n]);return{$$typeof:i,type:e,key:r,ref:s,props:l,_owner:k.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var S=/\/+/g;function E(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function M(e,t,a,n,r){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var o=!1;if(null===e)o=!0;else switch(s){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case i:case l:o=!0}}if(o)return r=r(o=e),e=""===n?"."+E(o,0):n,Array.isArray(r)?(a="",null!=e&&(a=e.replace(S,"$&/")+"/"),M(r,t,a,"",(function(e){return e}))):null!=r&&(C(r)&&(r=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(r,a+(!r.key||o&&o.key===r.key?"":(""+r.key).replace(S,"$&/")+"/")+e)),t.push(r)),1;if(o=0,n=""===n?".":n+":",Array.isArray(e))for(var u=0;u<e.length;u++){var c=n+E(s=e[u],u);o+=M(s,t,a,c,r)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=m&&e[m]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),u=0;!(s=e.next()).done;)o+=M(s=s.value,t,a,c=n+E(s,u++),r);else if("object"===s)throw t=""+e,Error(d(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return o}function T(e,t,a){if(null==e)return e;var n=[],i=0;return M(e,n,"","",(function(e){return t.call(a,e,i++)})),n}function N(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var B={current:null};function I(){var e=B.current;if(null===e)throw Error(d(321));return e}var O={ReactCurrentDispatcher:B,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:k,IsSomeRendererActing:{current:!1},assign:n};t.Children={map:T,forEach:function(e,t,a){T(e,(function(){t.apply(this,arguments)}),a)},count:function(e){var t=0;return T(e,(function(){t++})),t},toArray:function(e){return T(e,(function(e){return e}))||[]},only:function(e){if(!C(e))throw Error(d(143));return e}},t.Component=v,t.PureComponent=f,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=O,t.cloneElement=function(e,t,a){if(null==e)throw Error(d(267,e));var l=n({},e.props),r=e.key,s=e.ref,o=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,o=k.current),void 0!==t.key&&(r=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(c in t)_.call(t,c)&&!w.hasOwnProperty(c)&&(l[c]=void 0===t[c]&&void 0!==u?u[c]:t[c])}var c=arguments.length-2;if(1===c)l.children=a;else if(1<c){u=Array(c);for(var g=0;g<c;g++)u[g]=arguments[g+2];l.children=u}return{$$typeof:i,type:e.type,key:r,ref:s,props:l,_owner:o}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:s,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:r,_context:e},e.Consumer=e},t.createElement=x,t.createFactory=function(e){var t=x.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:o,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:c,_payload:{_status:-1,_result:e},_init:N}},t.memo=function(e,t){return{$$typeof:u,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return I().useCallback(e,t)},t.useContext=function(e,t){return I().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return I().useEffect(e,t)},t.useImperativeHandle=function(e,t,a){return I().useImperativeHandle(e,t,a)},t.useLayoutEffect=function(e,t){return I().useLayoutEffect(e,t)},t.useMemo=function(e,t){return I().useMemo(e,t)},t.useReducer=function(e,t,a){return I().useReducer(e,t,a)},t.useRef=function(e){return I().useRef(e)},t.useState=function(e){return I().useState(e)},t.version="17.0.2"},7294:(e,t,a)=>{"use strict";e.exports=a(2408)},2383:e=>{"use strict";var t=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var a=[],n=!0,i=!1,l=void 0;try{for(var r,s=e[Symbol.iterator]();!(n=(r=s.next()).done)&&(a.push(r.value),!t||a.length!==t);n=!0);}catch(e){i=!0,l=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw l}}return a}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};e.exports=function(e){var a=e.data,n=e.multiSection;function i(e){var i=t(e,2),l=i[0],r=i[1];return n?null===r||r===a[l]-1?null===(l=function(e){for(null===e?e=0:e++;e<a.length&&0===a[e];)e++;return e===a.length?null:e}(l))?[null,null]:[l,0]:[l,r+1]:0===a||r===a-1?[null,null]:null===r?[null,0]:[null,r+1]}return{next:i,prev:function(e){var i=t(e,2),l=i[0],r=i[1];return n?null===r||0===r?null===(l=function(e){for(null===e?e=a.length-1:e--;e>=0&&0===a[e];)e--;return-1===e?null:e}(l))?[null,null]:[l,a[l]-1]:[l,r-1]:0===a||0===r?[null,null]:null===r?[null,a-1]:[null,r-1]},isLast:function(e){return null===i(e)[1]}}}},1444:e=>{"use strict";e.exports=function(e,t){if(e===t)return!0;if(!e||!t)return!1;var a=e.length;if(t.length!==a)return!1;for(var n=0;n<a;n++)if(e[n]!==t[n])return!1;return!0}},3726:function(e,t,a){"use strict";var n;!function(i){if("function"!=typeof l){var l=function(e){return e};l.nonNative=!0}const r=l("plaintext"),s=l("html"),o=l("comment"),u=/<(\w*)>/g,c=/<\/?([^\s\/>]+)/;function g(e,t,a){return d(e=e||"",m(t=t||[],a=a||""))}function m(e,t){return{allowable_tags:e=function(e){let t=new Set;if("string"==typeof e){let a;for(;a=u.exec(e);)t.add(a[1])}else l.nonNative||"function"!=typeof e[l.iterator]?"function"==typeof e.forEach&&e.forEach(t.add,t):t=new Set(e);return t}(e),tag_replacement:t,state:r,tag_buffer:"",depth:0,in_quote_char:""}}function d(e,t){if("string"!=typeof e)throw new TypeError("'html' parameter must be a string");let a=t.allowable_tags,n=t.tag_replacement,i=t.state,l=t.tag_buffer,u=t.depth,c=t.in_quote_char,g="";for(let t=0,m=e.length;t<m;t++){let m=e[t];if(i===r)"<"===m?(i=s,l+=m):g+=m;else if(i===s)switch(m){case"<":if(c)break;u++;break;case">":if(c)break;if(u){u--;break}c="",i=r,l+=">",a.has(h(l))?g+=l:g+=n,l="";break;case'"':case"'":c=m===c?"":c||m,l+=m;break;case"-":"<!-"===l&&(i=o),l+=m;break;case" ":case"\n":if("<"===l){i=r,g+="< ",l="";break}l+=m;break;default:l+=m}else i===o&&(">"===m?("--"==l.slice(-2)&&(i=r),l=""):l+=m)}return t.state=i,t.tag_buffer=l,t.depth=u,t.in_quote_char=c,g}function h(e){let t=c.exec(e);return t?t[1].toLowerCase():null}g.init_streaming_mode=function(e,t){let a=m(e=e||[],t=t||"");return function(e){return d(e||"",a)}},void 0===(n=function(){return g}.call(t,a,t,e))||(e.exports=n)}()},670:e=>{"use strict";e.exports=function(){}},9737:(e,t,a)=>{var n={"./accordion/block.json":2103,"./blockquote/block.json":8317,"./button-group/block.json":2405,"./button/block.json":4379,"./call-to-action/block.json":1578,"./card/block.json":8598,"./column/block.json":8325,"./columns/block.json":7317,"./count-up/block.json":9730,"./design-library/block.json":6914,"./divider/block.json":3695,"./expand/block.json":6705,"./feature-grid/block.json":3705,"./feature/block.json":4859,"./heading/block.json":1642,"./hero/block.json":7125,"./icon-box/block.json":285,"./icon-button/block.json":1897,"./icon-label/block.json":5983,"./icon-list/block.json":2413,"./icon/block.json":8293,"./image-box/block.json":782,"./image/block.json":4639,"./notification/block.json":1705,"./number-box/block.json":9222,"./posts/block.json":7327,"./price/block.json":6386,"./pricing-box/block.json":3345,"./separator/block.json":7388,"./spacer/block.json":9206,"./subtitle/block.json":8381,"./team-member/block.json":8511,"./testimonial/block.json":8227,"./text/block.json":7921,"./video-popup/block.json":7562};function i(e){var t=l(e);return a(t)}function l(e){if(!a.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}i.keys=function(){return Object.keys(n)},i.resolve=l,e.exports=i,i.id=9737},2103:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/accordion","title":"Accordion","description":"A title that your visitors can toggle to view more text. Use as FAQs or multiple ones for an Accordion.","category":"layout","usesContext":["postId","postType","queryId"],"keywords":["Toggle","Faq"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special","stk-demo":"https://wpstackable.com/accordion-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},8317:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/blockquote","title":"Blockquote","description":"Display a quote in style","category":"layout","usesContext":["postId","postType","queryId"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"section","stk-demo":"https://wpstackable.com/blockquote-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},2405:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/button-group","title":"Button Group","description":"Add a customizable button.","category":"layout","usesContext":["postId","postType","queryId"],"keywords":["Link"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"hidden"}')},4379:e=>{"use strict";e.exports=JSON.parse('{"apiVersion":2,"name":"stackable/button","title":"Button","description":"Add a customizable button.","category":"layout","usesContext":["postId","postType","queryId"],"parent":["stackable/button-group"],"keywords":["Link"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"hidden"}')},1578:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/call-to-action","title":"Call to Action","description":"A small section you can use to call the attention of your visitors. Great for calling attention to your products or deals.","category":"layout","usesContext":["postId","postType","queryId"],"keywords":["CTA"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"section","stk-demo":"https://wpstackable.com/call-to-action-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},8598:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/card","title":"Card","description":"Describe a single subject in a small card. You can use this to describe your product, service or a person.","category":"layout","usesContext":["postId","postType","queryId"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special","stk-demo":"https://wpstackable.com/card-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},8325:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/column","title":"Column","description":"A single column within an advanced columns block. Get advanced options on how you want your column to look.","category":"layout","usesContext":["postId","postType","queryId","stackable/columnFit"],"keywords":["Section rows"],"parent":["stackable/columns","stackable/feature","stackable/feature-grid"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"hidden"}')},7317:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/columns","title":"Columns / Container","description":"Add a block that displays content in multiple columns. Get advanced options on how you want your columns to look.","category":"layout","usesContext":["postId","postType","queryId"],"keywords":["Section rows","Container"],"providesContext":{"stackable/columnFit":"columnFit"},"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"essential","stk-demo":"https://wpstackable.com/columns-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},9730:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/count-up","title":"Count Up","description":"Showcase your stats. Display how many customers you have or the number of downloads of your app.","category":"common","usesContext":["postId","postType","queryId"],"keywords":["Number"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special","stk-demo":"https://wpstackable.com/count-up-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},6914:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/design-library","title":"Design Library","description":"Choose a layout or block from the Stackable Design Library.","category":"layout","usesContext":["postId","postType","queryId"],"keywords":["Template"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special"}')},3695:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/divider","title":"Divider","description":"Add a pause between your content.","category":"common","usesContext":["postId","postType","queryId"],"keywords":["Horizontal Rule","HR"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special"}')},6705:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/expand","title":"Expand / Show More","description":"Display a small snippet of text. Your readers can toggle it to show more information.","category":"layout","usesContext":["postId","postType","queryId"],"keywords":["Hide","Less"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special","stk-demo":"https://wpstackable.com/expand-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},3705:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/feature-grid","title":"Feature Grid","description":"Display multiple product features or services. You can use Feature Grids one after another.","category":"layout","usesContext":["postId","postType","queryId"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"section","stk-demo":"https://wpstackable.com/feature-grid-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},4859:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/feature","title":"Feature","description":"Display a product feature or a service in a large area.","category":"layout","usesContext":["postId","postType","queryId"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"section","stk-demo":"https://wpstackable.com/feature-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},1642:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/heading","title":"Heading","description":"Introduce new sections of your content in style.","category":"common","usesContext":["postId","postType","queryId"],"keywords":["Title"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"essential","stk-demo":"https://wpstackable.com/advanced-heading-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},7125:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/hero","title":"Hero","description":"A large hero area. Typically used at the very top of a page.","category":"layout","usesContext":["postId","postType","queryId"],"keywords":["Header"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"section"}')},285:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/icon-box","title":"Icon Box","description":"A small text area with an icon that can be used to summarize features or services","category":"layout","usesContext":["postId","postType","queryId"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"section"}')},1897:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/icon-button","title":"Icon Button","description":"Add a customizable button.","category":"layout","usesContext":["postId","postType","queryId"],"parent":["stackable/button-group"],"keywords":["Link"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"hidden"}')},5983:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/icon-label","title":"Icon Label","category":"layout","usesContext":["postId","postType","queryId"],"keywords":["SVG"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special"}')},2413:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/icon-list","title":"Icon List","description":"An unordered list with icons. You can use this as a list of features or benefits.","category":"common","usesContext":["postId","postType","queryId"],"keywords":["Checklist","Bullets","Number list"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"essential","stk-demo":"https://wpstackable.com/icon-list-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},8293:e=>{"use strict";e.exports=JSON.parse('{"apiVersion":2,"name":"stackable/icon","title":"Icon","description":"Pick an icon or upload your own SVG icon to decorate your content.","category":"common","usesContext":["postId","postType","queryId"],"keywords":["SVG"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"essential","stk-demo":"https://wpstackable.com/icon-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},782:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/image-box","title":"Image Box","description":"Display an image that shows more information when hovered on. Can be used as a fancy link to other pages.","category":"layout","usesContext":["postId","postType","queryId"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special","stk-demo":"https://wpstackable.com/image-box-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},4639:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/image","title":"Image","description":"An image with advanced controls to make a visual statement.","category":"media","usesContext":["postId","postType","queryId"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"essential"}')},1705:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/notification","title":"Notification","description":"Show a notice to your readers. People can dismiss the notice to permanently hide it.","category":"layout","usesContext":["postId","postType","queryId"],"keywords":["Notice","Alert"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special","stk-demo":"https://wpstackable.com/notification-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},9222:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/number-box","title":"Number Box","description":"Display steps or methods that your users will do in your service.","category":"common","usesContext":["postId","postType","queryId"],"keywords":["Steps"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special","stk-demo":"https://wpstackable.com/number-box-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},7327:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/posts","title":"Posts","description":"Your latest blog posts. Use this to showcase a few of your posts in your landing pages.","category":"layout","usesContext":["postId","postType","queryId"],"keywords":["Blog Posts","Lastest Posts","Query Loop"],"providesContext":{"type":"type","orderBy":"orderBy","order":"order","taxonomyType":"taxonomyType","taxonomy":"taxonomy","taxonomyFilterType":"taxonomyFilterType","postOffset":"postOffset","postExclude":"postExclude","postInclude":"postInclude","numberOfItems":"numberOfItems","stkQueryId":"stkQueryId"},"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special","stk-demo":"https://wpstackable.com/blog-posts-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},6386:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/price","title":"Price","description":"Show a price of a product or service with currency and a suffix styled with different weights","category":"common","usesContext":["postId","postType","queryId"],"keywords":["Currency","Pricing","Number"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special"}')},3345:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/pricing-box","title":"Pricing Box","description":"Display the different pricing tiers of your business.","category":"layout","usesContext":["postId","postType","queryId"],"keywords":["Currency","Price","Pricing Table"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"section","stk-demo":"https://wpstackable.com/pricing-table-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},7388:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/separator","title":"Separator","description":"A fancy separator to be placed between content.","category":"layout","usesContext":["postId","postType","queryId"],"keywords":["Svg Divider"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special","stk-demo":"https://wpstackable.com/separator-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},9206:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/spacer","title":"Spacer","description":"Sometimes you just need some space.","category":"layout","usesContext":["postId","postType","queryId"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special"}')},8381:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/subtitle","title":"Subtitle","description":"Subtitle text that you can add custom styling to from the global settings.","category":"common","usesContext":["postId","postType","queryId"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special"}')},8511:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/team-member","title":"Team Member","description":"Display members of your team or your office. Use multiple Team Member blocks if you have a large team.","category":"layout","usesContext":["postId","postType","queryId"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"section","stk-demo":"https://wpstackable.com/team-member-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},8227:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/testimonial","title":"Testimonial","description":"Showcase what your users say about your product or service.","category":"layout","usesContext":["postId","postType","queryId"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"section","stk-demo":"https://wpstackable.com/testimonial-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}')},7921:e=>{"use strict";e.exports=JSON.parse('{"name":"stackable/text","title":"Text","description":"Start with t