stk.js 830 KB
/*! For license information please see stk.js.LICENSE.txt */
(()=>{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})},3487:(e,t,a)=>{"use strict";a.r(t),a.d(t,{blockComponents:()=>c,components:()=>l,designLibrary:()=>n,higherOrder:()=>o,hooks:()=>r,icons:()=>i,util:()=>s});var n={};a.r(n),a.d(n,{fetchDesign:()=>nl,fetchDesignLibrary:()=>al,getBlockName:()=>tl,getDesign:()=>rl,getDesigns:()=>ll,setDevModeDesignLibrary:()=>il});var i={};a.r(i),a.d(i,{AccordionIcon:()=>xo,BlockquoteIcon:()=>wo,BlogPostsIcon:()=>Co,ButtonGroupIcon:()=>So,ButtonIcon:()=>_o,CTAIcon:()=>Ao,CardIcon:()=>To,CarouselIcon:()=>Eo,ColumnIcon:()=>Mo,ColumnsIcon:()=>Bo,ContainerIcon:()=>No,CountUpIcon:()=>Ro,CountdownIcon:()=>Io,DividerIcon:()=>Oo,ExpandIcon:()=>Po,FeatureGridIcon:()=>Ho,FeatureIcon:()=>Lo,GhostButtonIcon:()=>gs,GroupContainerIcon:()=>$o,HeadingIcon:()=>Fo,HeroIcon:()=>zo,HorizontalScrollerIcon:()=>Do,IconBoxIcon:()=>Go,IconButtonIcon:()=>Vo,IconButtonsIcon:()=>Wo,IconIcon:()=>Uo,IconLabelIcon:()=>qo,IconListIcon:()=>jo,ImageBoxIcon:()=>Jo,ImageIcon:()=>Ko,LoadMoreIcon:()=>Yo,MapIcon:()=>Xo,NotificationIcon:()=>Zo,NumberBoxIcon:()=>Qo,PaginationIcon:()=>es,PricingBoxIcon:()=>ts,ProgressBarIcon:()=>ns,ProgressCircleIcon:()=>as,SVGStackableCategoryIcon:()=>fo,SVGStackableIcon:()=>yo,SeparatorIcon:()=>is,SocialButtonsIcon:()=>ls,SpacerIcon:()=>rs,StackableIcon:()=>ko,TableOfContentsIcon:()=>os,TeamMemberIcon:()=>ss,TestimonialIcon:()=>cs,TextIcon:()=>us,UngroupContainerIcon:()=>ms,VideoPopupIcon:()=>ds,colorizeIcon:()=>bo});var l={};a.r(l),a.d(l,{AdminBaseSetting:()=>Rs,AdminSelectSetting:()=>zs,AdminTextSetting:()=>Os,AdminToggleSetting:()=>Hs,AdvancedAutosuggestControl:()=>cn,AdvancedControl:()=>ia,AdvancedFocalPointControl:()=>bc,AdvancedRadioControl:()=>pc,AdvancedRangeControl:()=>Ja,AdvancedSelectControl:()=>Xa,AdvancedTextControl:()=>Ma,AdvancedToggleControl:()=>mc,AdvancedTokenField:()=>yc,AdvancedToolbarControl:()=>xn,AlignButtonsControl:()=>fr,BaseControl:()=>oc,BaseControl2:()=>ia,BaseControlMultiLabel:()=>Jl,BlendModeControl:()=>Pa,BlockContainer:()=>js,BlockCss:()=>pd,BlockCssCompiler:()=>ud,BlockWrapper:()=>ad,BorderControls:()=>$l,BorderControlsHelper:()=>Vl,Button:()=>mt,ButtonIconPopoverControl:()=>Ll,CodeTextarea:()=>xr,CodeTextareaControl:()=>Cr,ColorPaletteControl:()=>ua,ColumnInnerBlocks:()=>iu,ColumnInserter:()=>Ec,ColumnsWidthControl:()=>Im,ColumnsWidthMultiControl:()=>Am,ControlIconToggle:()=>kt,ControlSeparator:()=>Zs,ConvertToContainerButton:()=>bs,CustomAttributesControl:()=>Ra,DesignControl:()=>fl,DesignLibraryList:()=>ul,DesignPanelBody:()=>hl,DesignPanelItem:()=>vl,DesignSeparatorControl:()=>xl,Div:()=>qu,DynamicContentControl:()=>Ta,FontAwesomeIcon:()=>ac,FontFamilyControl:()=>En,FontSizeControl:()=>Cn,FourNumberControl:()=>Xl,FourRangeControl:()=>or,GetBlockAttributesButton:()=>fs,GroupPlaceholder:()=>Tc,HeadingButtonsControl:()=>pr,HelpTooltip:()=>jt,IconControl:()=>Sl,IconSearchPopover:()=>Pl,ImageAltControl:()=>Da,ImageControl:()=>za,ImageControl2:()=>uc,ImageFilterControl:()=>wc,ImageShapeControl:()=>Ua,ImageSizeControl:()=>Wa,ImageUploadPlaceholder:()=>ct,InspectorAdvancedControls:()=>$u,InspectorBlockControls:()=>Fu,InspectorBottomTip:()=>ed,InspectorLayoutControls:()=>zu,InspectorPanelControls:()=>Ji,InspectorStyleControls:()=>Du,InspectorTabs:()=>Vu,Link:()=>Yc,LinkControl:()=>Ac,ModalDesignLibrary:()=>Ms,ModalWelcomeTutorial:()=>ks,PanelAdvancedSettings:()=>ji,PanelDesignLibrary:()=>qi,PanelTabs:()=>pl,Popover:()=>ka,PreInspectorTabFill:()=>Mu,ProControl:()=>fa,ProControlButton:()=>ql,ResizableBottomMargin:()=>Su,ResizableColumn:()=>du,ResizerTooltip:()=>hu,ResponsiveControl2:()=>bu,ResponsiveToggle:()=>St,Separator:()=>Xs,Separator2:()=>Xu,ShadowControl:()=>Ic,SmallNumberControl:()=>sr,SortControl:()=>Oi,SpacingControl:()=>Gl,Style:()=>qc,StyleControl:()=>Lc,SvgIcon:()=>lc,TaxonomyControl:()=>Us,Tooltip:()=>Ws,TypographyControl:()=>Fl,URLInputControl:()=>dt,UrlInputPopover:()=>ft,VariationPicker:()=>Qu,WhenResponsiveScreen:()=>ur,advancedToolbarControlControls:()=>yn,extractControlProps:()=>la,useControlHandlers:()=>Qt,useDynamicContent:()=>wa});var r={};a.r(r),a.d(r,{BlockAttributesProvider:()=>Ie,DEFAULT_BLOCK_ATTRIBUTES_CONTEXT:()=>ke,DEFAULT_BLOCK_CONTEXT_CONTEXT:()=>we,DEFAULT_SET_ATTRIBUTES_CONTEXT:()=>xe,createContext:()=>be,getBlockStyle:()=>He,getDefinedBlockStyles:()=>Le,isBlockLinked:()=>Ze,useAttributeEditHandlers:()=>$e,useAttributeName:()=>je,useBlockAttributes:()=>me,useBlockAttributesContext:()=>Be,useBlockContext:()=>re,useBlockContextContext:()=>Ne,useBlockEl:()=>qe,useBlockHoverClass:()=>Ge,useBlockHoverState:()=>We,useBlockSetAttributesContext:()=>Me,useBlockStyle:()=>Pe,useContextSelector:()=>ye,useDeviceType:()=>de,useDidAttributesChange:()=>ue,useFontLoader:()=>De,useIsLinked:()=>Xe,useLinking:()=>Ye,useOnScreen:()=>Qe,useOnScreenOnce:()=>et,usePostsQuery:()=>tt,useRafEffect:()=>zm,useRafMemo:()=>Lm,useRafState:()=>Hm,useSavedDefaultBlockStyle:()=>Fe,useVariationPicker:()=>Om,useWithShift:()=>se});var o={};a.r(o),a.d(o,{QueryLoopContext:()=>ga,withBlockAttributeContext:()=>Gm,withBlockWrapper:()=>jm,withBlockWrapperIsHovered:()=>Zm,withIsHovered:()=>Vm,withQueryLoopContext:()=>pa,withVersion:()=>Wm,withVisualGuideContext:()=>Dt});var s={};a.r(s),a.d(s,{AttributeObject:()=>S,CONTENT_ATTRIBUTES:()=>D,SOCIAL_SITES:()=>rp,StyleObject:()=>eg,__getValue:()=>vg,addStackableBlockCategory:()=>bp,appendImportant:()=>hg,appendImportantAll:()=>pg,applyBlockDesign:()=>dp,cacheImageData:()=>Vg,clampInheritedStyle:()=>bg,compileCSS:()=>Vp,createAllCombinationAttributes:()=>N,createBlockCompleter:()=>gp,createBorderAttributeNames:()=>Bg,createBorderAttributes:()=>Tg,createBorderStyleSet:()=>Mg,createButtonAttributeNames:()=>ep,createButtonAttributes:()=>Qg,createButtonStyleSet:()=>tp,createElementFromHTMLString:()=>Ep,createIconAttributeNames:()=>Cp,createIconAttributes:()=>xp,createIconStyleSet:()=>_p,createImageAttributeNames:()=>Rg,createImageAttributes:()=>Ig,createImageBackgroundAttributeNames:()=>Kg,createImageBackgroundAttributes:()=>qg,createImageBackgroundStyleSet:()=>Xg,createImageBackgroundStyles:()=>Yg,createImageMask:()=>zg,createImageStyleSet:()=>Dg,createImageStyles:()=>Fg,createLinkTagWithGoogleFont:()=>b,createResponsiveAttributeNames:()=>O,createResponsiveAttributes:()=>I,createResponsiveEditorStyles:()=>kg,createResponsiveMarginAlign:()=>yg,createResponsiveStyles:()=>fg,createSocialButtonAttributeNames:()=>ip,createSocialButtonAttributes:()=>np,createSocialButtonStyleSet:()=>lp,createTypographyAttributeNames:()=>V,createTypographyAttributes:()=>U,createTypographyStyles:()=>xg,createUniqueClass:()=>Yp,currentUserHasCapability:()=>Rp,descriptionPlaceholder:()=>Fp,expandAttributes:()=>H,extractBlockStyleStructure:()=>pp,extractColor:()=>ee,faAPILoaded:()=>Np,faGetIcon:()=>Bp,faGetSVGIcon:()=>Tp,faIconLoaded:()=>Ip,faIsAPILoaded:()=>Mp,getAttrName:()=>B,getAttrNameFunction:()=>M,getAttributeName:()=>L,getBlockName:()=>op,getBlocksToStyle:()=>hp,getDefaultFontSize:()=>Sg,getFontFamily:()=>y,getGoogleFontURL:()=>p,getImageDataFromCache:()=>Gg,getImageSize:()=>Ug,getImageUrlFromCache:()=>Wg,getShapeSVG:()=>Pg,getStyles:()=>og,getUniqueBlockClass:()=>Pp,getVideoProviderFromURL:()=>zp,hexToRgba:()=>Q,importBlocks:()=>d,isDarkColor:()=>sg,isEditor:()=>Dp,isElementDescendant:()=>Kp,isEmptyAttribute:()=>z,isEmptyAttributes:()=>F,isGoogleFontEnqueued:()=>f,isUnmodifiedBlock:()=>up,isWebFont:()=>h,leftRightToFlex:()=>dg,loadGoogleFont:()=>v,loadGoogleFontInAttributes:()=>k,marginLeftAlign:()=>cg,marginRightAlign:()=>ug,minifyCSS:()=>$p,moveArrayIndex:()=>jp,moveInnerBlock:()=>mp,numShapesInSvg:()=>Sp,omitAttributes:()=>R,pickAttributes:()=>A,prependCSSClass:()=>Gp,range:()=>Hp,recursivelyAddUniqueIdToInnerBlocks:()=>qp,registerBlockType:()=>fp,sanitizeIdAttr:()=>Jp,semverCompare:()=>Xp,svgRenderToString:()=>Ag,urlIsVideo:()=>Lp,useLocalStorage:()=>yp,useQueryLoopInstanceId:()=>ag,useStyles:()=>rg,whiteIfDark:()=>mg,whiteIfDarkBlackIfLight:()=>gg});var c={};a.r(c),a.d(c,{Advanced:()=>th,Alignment:()=>Wv,BackgroundControls:()=>ch,BackgroundStyle:()=>lh,BlockDiv:()=>zh,BlockLink:()=>Vh,BlockStyle:()=>jh,BorderControls:()=>hh,BorderStyle:()=>gh,Button:()=>mv,Column:()=>kv,Columns:()=>Tv,ColumnsControl:()=>xv,ConditionalDisplay:()=>pv,ContainerDiv:()=>vv,ContentAlign:()=>Iv,CustomAttributes:()=>Lh,CustomCSS:()=>Av,EffectsAnimations:()=>Hv,FlexGapControls:()=>fh,FlexGapStyles:()=>kh,INVALID_HTML_ATTRIBUTES:()=>Ph,Icon:()=>Qh,Image:()=>gb,Link:()=>nv,Linking:()=>hb,MarginBottom:()=>Fb,NavigationView:()=>wb,ProgressBar:()=>rf,Responsive:()=>$b,Row:()=>jv,Separator:()=>Hb,SeparatorStyles:()=>_b,SizeControls:()=>Th,SizeStyle:()=>_h,Style:()=>Wc,Transform:()=>Wb,Typography:()=>ef,_Linking:()=>vb,addBackgroundAttributes:()=>nh,addBlockClassNames:()=>Fc,addBorderAttributes:()=>dh,addFlexGapAttributes:()=>bh,addSizeAttributes:()=>wh,backgroundAttributes:()=>ah,borderAttributes:()=>uh,combineStyleRules:()=>Dc,createSeparatorAttributes:()=>Ob,createSeparatorLayerAttributes:()=>Ab,flexGapAttributes:()=>vh,formMediaQuery:()=>$c,generateStyles:()=>Uc,getAlignmentClasses:()=>Vv,getBlockOrientation:()=>Uv,getButtonClasses:()=>dv,getColumnClasses:()=>yv,getContentAlignmentClasses:()=>Nv,getEditorStylesOnly:()=>Vc,getResponsiveClasses:()=>Db,getRowClasses:()=>Gv,getSeparatorClasses:()=>Cb,getTypographyClasses:()=>Qb,mergeStyles:()=>Gc,sizeAttributes:()=>xh,useGeneratedCss:()=>zc,useUniqueId:()=>Mh});const u=lodash,d=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["stk-variants"]||[]).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,u.sortBy)(t[e],"name")})),t},m=stackable,g={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"},p=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${g[m.locale]?`&subset=${g}`:""}`,h=e=>e&&!(null!=e&&e.match(/^(sans[-+]serif|serif|monospace|serif-alt)$/i)),v=e=>{const t=t=>{if(t&&h(e)){if(f(e,t))return;const a=b(e);t.appendChild(a)}};let a=0;const n=setInterval((()=>{a++,8===a&&clearInterval(n);const e=document.querySelector('iframe[name="editor-canvas"]')?document.querySelector('iframe[name="editor-canvas"]').contentWindow.document.querySelector("head"):document.querySelector("head");t(e),e!==document.querySelector("head")&&t(document.querySelector("head"))}),250)},b=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",p(e)),t.setAttribute("rel","stylesheet"),t.setAttribute("type","text/css"),t},f=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.querySelector("head");return t.querySelector(`[data-font-name="${e}"]`)},y=e=>h(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"',k=e=>{Object.keys(e).filter((e=>e.match(/fontfamily/i))).forEach((t=>{const a=e[t];a&&v(a)}))};var x=a(4247),w=a.n(x),C=a(4863),_=a.n(C);class S{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.attributes=e,this.defaultValues=[]}add(e){let{attributes:t,versionAdded:a,versionDeprecated:n,attrNameTemplate:i="%s"}=e;this.attributes.push({attributeObject:this.applyAttrNameTemplate(t,i),versionAdded:a||"",versionDeprecated:n||!1})}addDefaultValues(e){let{attributes:t,versionAdded:a,versionDeprecated:n,attrNameTemplate:i="%s"}=e;this.defaultValues.push({defaultValuesObject:this.applyAttrNameTemplate(t,i),versionAdded:a||"",versionDeprecated:n||!1})}applyAttrNameTemplate(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"%s";return"%s"!==t&&t?Object.keys(e).reduce(((a,n)=>(a[B(t,(0,u.upperFirst)(n))]={...e[n]},a)),{}):e}getDefaultValues(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.defaultValues.filter((t=>{let{versionAdded:a,versionDeprecated:n}=t;return e?w()(e,a)>=0&&(!n||-1===w()(e,n)):!!n})).map((e=>{let{defaultValuesObject:t}=e;return t}))}getAttributes(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.attributes.filter((t=>{let{versionAdded:a,versionDeprecated:n}=t;return e?w()(e,a)>=0&&(!n||-1===w()(e,n)):!!n})).map((e=>{let{attributeObject:t}=e;return t}))}getMerged(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const t=H(_().all(this.getAttributes(e)));if(this.defaultValues.length){const a=_().all(this.getDefaultValues(e));Object.keys(a).forEach((e=>{const n=a[e];void 0!==t[e]&&(t[e].default=n)}))}return t}}const E=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.length?e[0].reduce(((a,n)=>a.concat(E(e.slice(1),t+n))),[]):t},T=wp.i18n,B=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return(0,u.camelCase)((0,T.sprintf)(e,(0,u.upperFirst)(t),(0,u.upperFirst)(a)))},M=e=>function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return B(e,t,a)},N=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",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]:[];return n.length?a.reduce(((a,i)=>({...a,...n.reduce(((a,n,l)=>{const r={...t};return void 0!==r.selector&&(r.selector=(0,T.sprintf)(r.selector,l+1)),a[(0,u.camelCase)((0,T.sprintf)(e,i,n))]=r,a}),{})})),{}):a.reduce(((a,n,i)=>{const l={...t};return void 0!==l.selector&&(l.selector=(0,T.sprintf)(l.selector,i+1)),a[(0,u.camelCase)((0,T.sprintf)(e,n))]=l,a}),{})},I=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return N(e,t,["","Tablet","Mobile"])},R=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return(0,u.omit)(e,t.map((e=>(0,u.camelCase)((0,T.sprintf)(a,e)))))},A=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return t.length?(0,u.pick)(e,t.map((e=>(0,u.camelCase)((0,T.sprintf)(a,e))))):e},O=e=>Object.keys(I(e)),P=["stkResponsive","stkHover","stkUnits"],H=e=>Object.keys(e).reduce(((t,a)=>{const n=[[a]];let i="px";return t[a].stkUnits&&(n.push(["","Unit"]),i=t[a].stkUnits),t[a].stkResponsive&&n.push(["","Tablet","Mobile"]),t[a].stkHover&&n.push(["","Hover","ParentHover","Collapsed"]),E(n).forEach((n=>{const l=(0,u.omit)({...e[a]},P);n!==a&&(l.default=""),n.startsWith(`${a}Unit`)&&(l.type="string",l.default=i),t[n]=l})),t}),e),L=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,u.upperFirst)(t),i="normal"===a?"":"hover"===a?"Hover":"collapsed"===a?"Collapsed":"ParentHover";return null!=e&&e.includes("%s")?(0,T.sprintf)(e,`${n}${i}`):`${e}${n}${i}`},z=e=>"object"==typeof e?Object.values(e).every((e=>z(e))):void 0===e||!e&&""===e,F=e=>e.every((e=>z(e))),D=["imageUrl","imageId","imageAlt","text","linkHasLink","linkUrl","linkNewTab","linkRel","linkHasTitle","linkTitle","blockLinkHasLink","blockLinkUrl","blockLinkNewTab","blockLinkRel","blockLinkHasTitle","blockLinkTitle"],$=e=>({...N(e,{type:"string",default:""},["FontFamily","FontWeight","TextTransform"]),...N(e,{type:"number",default:""},["LetterSpacing","TabletLetterSpacing","MobileLetterSpacing","FontSize","TabletFontSize","MobileFontSize","LineHeight","TabletLineHeight","MobileLineHeight"]),...N(e,{type:"string",default:"px"},["FontSizeUnit","TabletFontSizeUnit","MobileFontSizeUnit"]),...N(e,{type:"string",default:"em"},["LineHeightUnit","TabletLineHeightUnit","MobileLineHeightUnit"])}),U=$,V=e=>Object.keys($(e));var W=a(6537),G=a.n(W),j=a(8874);const q=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=(s=e.slice(1)).length;i=1,l<=4?(n=[parseInt(s[0]+s[0],16),parseInt(s[1]+s[1],16),parseInt(s[2]+s[2],16)],4===l&&(i=parseInt(s[3]+s[3],16)/255)):(n=[parseInt(s[0]+s[1],16),parseInt(s[2]+s[3],16),parseInt(s[4]+s[5],16)],8===l&&(i=parseInt(s[6]+s[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],o="rgb"===r,s=r.replace(/a$/,"");a=s,l="cmyk"===s?4:"gray"===s?1:3,n=t[2].trim().split(/\s*[,\/]\s*|\s+/).map((function(e,t){if(/%$/.test(e))return t===l?parseFloat(e)/100:"rgb"===s?255*parseFloat(e)/100:parseFloat(e);if("h"===s[t]){if(/deg$/.test(e))return parseFloat(e);if(void 0!==K[e])return K[e]}return parseFloat(e)})),r===s&&n.push(1),i=o||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 K={red:0,orange:60,yellow:120,green:180,blue:240,purple:300},J=a(2409),Y=a(5985);function X(e){var t;Array.isArray(e)&&e.raw&&(e=String.raw(...arguments));var a=q(e);if(!a.space)return[];const n="h"===a.space[0]?Y.min:J.min,i="h"===a.space[0]?Y.max:J.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=Y.rgb(t)),t.push(Math.min(Math.max(a.alpha,0),1)),t}const Z=wp.hooks,Q=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!e)return"";const a=(0,Z.applyFilters)("stackable.util.hex-to-rgba",null,e,t);if(a)return a;let n=(0,Z.applyFilters)("stackable.util.hex-to-rgba.hex",e,t);if(n.indexOf("var(")>-1){const e=n.match(/--(.*?(?=,))/g);n=e?window.getComputedStyle(document.documentElement).getPropertyValue(e[0])||"#fff":window.getComputedStyle(document.documentElement).getPropertyValue(n.replace("var(","").replace(")",""))||"#fff"}if(n=n.replace(/#/,""),n.match(/rgb(a?)\(/g))return n;n.length<=4&&(n=n.replace(/#?(.)(.)(.)/,"$1$1$2$2$3$3"));const i=X(`#${n}ff`);return i[3]=null!==t?t:1,`rgba(${i.join(", ")})`},ee=e=>null!=e&&e.startsWith("var(--")&&e.match(/(#[^\)]*)/g)?e.match(/(#[^\)]*)/g)[0]:e,te=wp.data,ae=wp.blockEditor;(0,te.register)((0,te.createReduxStore)("stackable/block-context",{reducer:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("UPDATE_BLOCK_TREE"===t.type){const e={};return t.blockTree.forEach((t=>{const{clientId:a,innerBlocks:n,name:i}=t;e[a]={numInnerBlocks:n.length,hasInnerBlocks:!!n.length,innerBlocks:n,rootBlockClientId:a,parentTree:[]};const l=[{clientId:a,name:i}],r=(a,n)=>{a.forEach(((i,o)=>{if("stackable/column"===i.name&&(!1!==(0,te.select)("core/blocks").getBlockSupport(n.name,"stkColumnResize")||(e[i.clientId]={blockIndex:o,parentBlock:n,isFirstBlock:!0,isLastBlock:!0,isOnlyBlock:!0,adjacentBlock:null,adjacentBlockIndex:-1,adjacentBlocks:[],numInnerBlocks:i.innerBlocks.length,hasInnerBlocks:!!i.innerBlocks.length,innerBlocks:i.innerBlocks,rootBlockClientId:t.clientId,parentTree:(0,u.cloneDeep)(l)})),!e[i.clientId]){const r=a.length-1===o;e[i.clientId]={blockIndex:o,parentBlock:n,isFirstBlock:0===o,isLastBlock:r,isOnlyBlock:1===a.length,adjacentBlock:(0,u.nth)(a,r?o-1:o+1),adjacentBlockIndex:r?o-1:o+1,adjacentBlocks:a||[],numInnerBlocks:i.innerBlocks.length,hasInnerBlocks:!!i.innerBlocks.length,innerBlocks:i.innerBlocks,rootBlockClientId:t.clientId,parentTree:(0,u.cloneDeep)(l)}}l.push({clientId:i.clientId,name:i.name}),r(i.innerBlocks,i),l.pop()}))};r(n,t)})),{...e}}return e},actions:{setBlockTree:e=>({type:"UPDATE_BLOCK_TREE",blockTree:e})},selectors:{getBlockContext:(e,t)=>e[t]||{}}}));let ne=null;(0,te.subscribe)((()=>{const e=(0,te.select)("core/block-editor").__unstableGetClientIdsTree();if(ne){if(e!==ne){ne=e;const t=ie((0,te.select)("core/block-editor").getBlocks());(0,te.dispatch)("stackable/block-context").setBlockTree(t)}}else{ne=e;const t=ie((0,te.select)("core/block-editor").getBlocks());(0,te.dispatch)("stackable/block-context").setBlockTree(t)}}));const ie=e=>(e||[]).map((e=>{if(!["core/widget-area","core/block","core/template-part","core/post-content"].includes(e.name))return{...e,innerBlocks:ie(e.innerBlocks)};const t=(0,te.select)("core/block-editor").__unstableGetClientIdsTree(e.clientId);return{...e,innerBlocks:ie(t.map((e=>{let{clientId:t}=e;const[a]=(0,te.select)("core/block-editor").getBlocksByClientId(t);return a})))}})),le={hasInnerBlocks:!0},re=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const t=(0,ae.useBlockEditContext)(),a=e||t.clientId;return(0,te.useSelect)((e=>{const t=e("stackable/block-context").getBlockContext(a);return(0,u.isEmpty)(t)?le:t}))},oe=wp.element,se=()=>{const[e,t]=(0,oe.useState)(!1);return(0,oe.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},ce={},ue=function(e,t,a){let n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];const[i,l]=(0,oe.useState)(a);if(t&&!ce[t]){const e=(0,te.select)("core/blocks").getBlockType(t).attributes;ce[t]=Object.keys(e).reduce(((t,a)=>(t[a]=e[a].default||"",t)),{})}(0,oe.useEffect)((()=>{if(!t)return;const r=Object.keys(a).filter((e=>a[e]!==i[e])),o=[];n?r.forEach((e=>{const n=ce[t][e];a[e]!==n&&o.push(e)})):o.push(...r),o.length&&e((0,u.pick)(a,o),(0,u.pick)(i,o)),l(a)}),[JSON.stringify(a||{})])},de=()=>{const{deviceType:e}=(0,te.useSelect)((e=>{var t,a;let n="Desktop";return n=(null===(t=e("core/edit-site"))||void 0===t?void 0:t.__experimentalGetPreviewDeviceType())||(null===(a=e("core/edit-post"))||void 0===a?void 0:a.__experimentalGetPreviewDeviceType())||e("stackable/device-type").getDeviceType(),{deviceType:n}}),[]);return e||""};(0,te.register)((0,te.createReduxStore)("stackable/device-type",{reducer:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Desktop",t=arguments.length>1?arguments[1]:void 0;return"UPDATE_DEVICE_TYPE"===t.type?t.deviceType:e},actions:{setDeviceType:e=>({type:"UPDATE_DEVICE_TYPE",deviceType:e})},selectors:{getDeviceType:e=>e}}));const me=e=>(0,te.useSelect)((t=>t("core/block-editor").getBlockAttributes(e)||{}),[e]);var ge=a(4063),pe=a.n(ge);const he=Symbol(),ve=Symbol();function be(e){const t=(0,oe.createContext)({[he]:{v:{current:e},n:{current:-1},l:new Set,u:e=>e()}});var a;return t[ve]=t.Provider,t.Provider=(a=t.Provider,e=>{let{value:t,children:n}=e;const i=(0,oe.useRef)(t),l=(0,oe.useRef)(0),[r,o]=(0,oe.useState)(null);r&&(r(t),o(null));const s=(0,oe.useRef)();if(!s.current){const e=new Set,t=(t,a)=>{l.current+=1;const n={n:l.current};null!=a&&a.suspense&&(n.n*=-1,n.p=new Promise((e=>{o((()=>t=>{n.v=t,delete n.p,e(t)}))}))),e.forEach((e=>e(n))),t()};s.current={[he]:{v:i,n:l,l:e,u:t}}}return(0,oe.useLayoutEffect)((()=>{i.current=t,l.current+=1,s.current[he].l.forEach((e=>{e({n:l.current,v:t})}))}),[t]),(0,oe.createElement)(a,{value:s.current},n)}),delete t.Consumer,t}const fe=(e,t)=>(e=>!Array.isArray(e)&&"object"==typeof e)(e)?pe()(e,t):Object.is(e,t);function ye(e,t){const a=(0,oe.useContext)(e)[he],{v:{current:n},n:{current:i},l}=a,r=t(n),[o,s]=(0,oe.useReducer)(((e,a)=>{if(!a)return[n,r];if("p"in a)throw a.p;if(a.n===i)return fe(e[1],r)?e:[n,r];try{if("v"in a){if(fe(e[0],a.v))return e;const n=t(a.v);return fe(e[1],n)?e:[a.v,n]}}catch(e){}return[...e]}),[n,r]);return fe(o[1],r)||s(),(0,oe.useLayoutEffect)((()=>(l.add(s),()=>{l.delete(s)})),[l]),o[1]}const ke={},xe=()=>{},we={},Ce=be(ke),_e=(0,oe.createContext)(xe),Se=be(we),Ee=e=>e,Te={},Be=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ee;return ye(Ce,(t=>e(t)))},Me=()=>(0,oe.useContext)(_e),Ne=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ee;return ye(Se,(t=>e(t)))},Ie=e=>(0,oe.createElement)(Ce.Provider,{value:e.attributes},(0,oe.createElement)(_e.Provider,{value:e.setAttributes},(0,oe.createElement)(Se.Provider,{value:e.context||Te},e.children))),Re=wp.tokenList;var Ae=a.n(Re);const Oe={},Pe=e=>{const{name:t}=(0,ae.useBlockEditContext)(),a=Be((e=>e.className));if(Oe[t]=e,!a)return"default";for(const t of new(Ae())(a).values()){if(-1===t.indexOf("is-style-"))continue;const a=t.substring(9),n=(0,u.find)(e,{name:a});if(n)return n.name}const n=(0,u.find)(e,"isDefault");return(null==n?void 0:n.name)||"default"},He=(e,t)=>{if(t)for(const a of new(Ae())(t).values()){if(-1===a.indexOf("is-style-"))continue;const t=a.substring(9),n=(0,u.find)(e,{name:t});if(n)return n}return(0,u.find)(e,"isDefault")},Le=e=>Oe[e]||[],ze=wp.blocks,Fe=e=>{const{clientId:t,name:a,attributes:n}=e,[i,l]=(0,oe.useState)(!1),[r,o]=(0,oe.useState)(null);if((0,oe.useEffect)((()=>{t&&r&&((0,te.dispatch)("core/block-editor").replaceInnerBlocks(t,r,!1),o(null))}),[t,r]),a.startsWith("stackable/")&&!n.uniqueId&&!i&&!((0,ze.getBlockVariations)(a).length>0)){var s,c,d;const i=(null===(s=(0,te.select)("stackable/block-context").getBlockContext(t).parentTree)||void 0===s?void 0:s.map((e=>e.name)))||[];if(!(0,Z.applyFilters)("stackable.block-default-styles.use-saved-style",!0,e,i))return;const r=(0,te.select)("stackable/block-styles").getDefaultBlockStyle(a);if(!r)return;const m=JSON.parse(r.data);let g=(0,u.omit)(m.attributes,D,"uniqueId");if(null!==(c=n.className)&&void 0!==c&&c.includes("is-style-")){let e=n.className.match(/is-style-([^\s]+)/);e=e?e[1]:"";const t=Le(a),i=(0,u.find)(t,{name:e});i&&(g={...g,...i.onSelect(g)})}if(Object.keys(g).forEach((e=>{n[e]=g[e]})),null!==(d=m.innerBlocks)&&void 0!==d&&d.length){const e=(0,ze.createBlocksFromInnerBlocksTemplate)(m.innerBlocks);qp(e),o(e)}l(!0)}},De=e=>{(0,oe.useEffect)((()=>{v(e),(0,Z.doAction)("stackable.font-loader.load",e)}),[e])},$e=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s";const t=Me(),a=Be(),n=function(t){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"normal";return L(M(e)(t),a,n)},i=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"normal";const l=M(e);return a[L(l(t),n,i)]},l=()=>a,r=function(a,n){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"desktop",l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"normal";const r=M(e);return t({[L(r(a),i,l)]:n})},o=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";return n=>r(e,n,t,a)},s=e=>{const a=Object.keys(e).reduce(((t,a)=>(t[n(a)]=e[a],t)),{});t(a)};return{getAttrName:n,getAttribute:i,getAttributes:l,updateAttributeHandler:o,updateAttributes:s,updateAttribute:r}},Ue={selectedBlock:null,hoverState:"normal",hasParentHoverState:!1,selectedParentHoverBlock:null,selectedParentHoverChildren:[],selectedHoverChildren:[],hasCollapsedState:!1,selectedCollapsedBlock:null,selectedCollapsedChildren:[]},Ve={updateSelectedBlock:(e,t)=>{var a,n;const i=null==t?void 0:t.querySelector(`[data-block="${e}"]`),l=null==i||null===(a=i.closest(".stk-hover-parent"))||void 0===a?void 0:a.closest("[data-block]"),r=(null==l?void 0:l.getAttribute("data-block"))||null,o=Array.from((null==l?void 0:l.querySelectorAll("[data-block]"))||[]).map((e=>e.getAttribute("data-block")))||[],s=Array.from((null==i?void 0:i.querySelectorAll("[data-block]"))||[]).map((e=>e.getAttribute("data-block")))||[],c=(null==i||null===(n=i.closest(".stk-block-accordion"))||void 0===n?void 0:n.closest("[data-block]"))||("stackable/accordion"===(null==i?void 0:i.getAttribute("data-type"))?i:null),u=(null==c?void 0:c.getAttribute("data-block"))||null;return{type:"UPDATE_SELECTED_BLOCK",clientId:e,parentHoverClientId:r,hasParentHoverState:!!r,parentHoverChildrenClientIds:o,hoverChildrenClientIds:s,collapsedClientId:u,collapsedChildrenClientIds:Array.from((null==c?void 0:c.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,te.register)((0,te.createReduxStore)("stackable/hover-state",{reducer:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ue,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{...Ue};case"UPDATE_HOVER_STATE":return{...e,hoverState:t.value}}return e},actions:Ve,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 We=()=>{const{clientId:e}=(0,ae.useBlockEditContext)(),{hoverState:t,hoverStateClientId:a}=(0,te.useSelect)((e=>({hoverState:e("stackable/hover-state").getHoverState(),hoverStateClientId:e("stackable/hover-state").getSelectedBlock()})),[]),{getSelectedParentHoverBlock:n,getSelectedParentHoverBlockChildren:i,getSelectedHoverChildren:l,getHasParentHoverState:r,getHasCollapsedState:o,getSelectedCollapsedBlock:s,getSelectedCollapsedBlockChildren:c}=(0,te.useSelect)("stackable/hover-state"),u=r(),d=n(),m=o(),g=e===s();let p="",h="normal";if(e===a)"hover"!==t&&"parent-hover"!==t||(p="stk--is-hovered"),h=t,u||"parent-hover"!==t||(h="hover");else if(e===d)"hover"!==t&&"parent-hover"!==t||(p="stk--is-hovered",h="hover");else{const a=i(),n=l(),r=c(),o=a.includes(e),s=n.includes(e),u=r.includes(e);o||s?"hover"!==t&&"parent-hover"!==t||(p="stk--is-hovered",h="parent-hover"):(u||g)&&(h="collapsed")}return[h,p,u,m,g]},Ge=()=>{const{clientId:e}=(0,ae.useBlockEditContext)(),{hoverState:t,parentHoverChildrenClientIds:a}=(0,te.useSelect)((e=>({hoverState:e("stackable/hover-state").getHoverState(),parentHoverChildrenClientIds:e("stackable/hover-state").getSelectedParentHoverBlockChildren()})),[]),{getSelectedBlock:n,getSelectedParentHoverBlock:i,getSelectedParentHoverBlockChildren:l,getSelectedHoverChildren:r}=(0,te.useSelect)("stackable/hover-state"),o=n(),s=i();let c="";if(e===o)"hover"!==t&&"parent-hover"!==t||(c="stk--is-hovered");else if(e===s)"hover"!==t&&"parent-hover"!==t||(c="stk--is-hovered");else{const n=r(),i=a.includes(e),l=n.includes(e);(i||l)&&("hover"!==t&&"parent-hover"!==t||(c="stk--is-hovered"))}return c},je=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=de(),[i]=We();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),L(e,l,r)},qe=e=>{const t=Be((e=>e.uniqueId));return(0,oe.useMemo)((()=>new Ke(t,e)),[t,e])};class Ke{constructor(e,t){this.selector=`.stk-${e}${t?" "+t:""}`}el(){return document.querySelector(this.selector)}}const Je=()=>JSON.parse(window.localStorage.getItem("stackable-linking"))||[],Ye=()=>{const e=Be((e=>e.uniqueId)),[t,a]=(0,oe.useState)(Je());return(0,oe.useEffect)((()=>{const e=()=>{a(Je())};return window.addEventListener("stackable-linked-storage",e),()=>window.removeEventListener("stackable-linked-storage",e)}),[]),[(0,oe.useMemo)((()=>t.includes(e)),[t,e]),t=>{const a=Je(),n=t?[...a,e]:a.filter((t=>t!==e));window.localStorage.setItem("stackable-linking",JSON.stringify(n.slice(0,50))),window.dispatchEvent(new window.CustomEvent("stackable-linked-storage"))}]},Xe=e=>{const t=me(e);return null!=t&&t.uniqueId?Je().includes(t.uniqueId):null},Ze=e=>{if(!e)return null;const t=(0,te.select)("core/block-editor").getBlockAttributes(e);return null!=t&&t.uniqueId?Je().includes(t.uniqueId):null},Qe=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0px";const[a,n]=(0,oe.useState)(!1);return(0,oe.useEffect)((()=>{const a=new IntersectionObserver((e=>{let[t]=e;n(t.isIntersecting)}),{rootMargin:t});return e.current&&a.observe(e.current),()=>{e.current&&a.unobserve(e.current)}})),a},et=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0px";const[a,n]=(0,oe.useState)(!1);return(0,oe.useEffect)((()=>{const a=new IntersectionObserver((t=>{let[i]=t;i.isIntersecting&&(n(i.isIntersecting),a.unobserve(e.current))}),{rootMargin:t});return e.current&&a.observe(e.current),()=>{e.current&&a.unobserve(e.current)}})),a},tt=e=>{const{type:t,orderBy:a,order:n,taxonomyType:i,taxonomy:l,taxonomyFilterType:r,postOffset:o,postExclude:s,postInclude:c,numberOfItems:d=6,excludeCurrentPost:m}=e,g=(0,oe.useMemo)((()=>{const t=(0,u.pickBy)({...(0,Z.applyFilters)("stackable.posts.postQuery",{order:n,orderby:a,per_page:d},e)},(e=>Array.isArray(e)?!(0,u.isEmpty)(e):!(0,u.isUndefined)(e)&&""!==e));return l&&i&&("category"===i?t["__in"===r?"categories":"categories_exclude"]=l:"post_tag"===i?t["__in"===r?"tags":"tags_exclude"]=l:t["__in"===r?i:`${i}_exclude`]=l),t}),[t,a,n,i,l,r,o,s,c,d,m]),p=(0,te.useSelect)((e=>!e("core").hasFinishedResolution("getEntityRecords",["postType",t,g])),[g]),h=(0,te.useSelect)((e=>e("core").getEntityRecords)),v=(0,oe.useMemo)((()=>{const e=h("postType",t,g);return Array.isArray(e)?(0,u.uniqBy)(e,"id"):e}),[h,p,g]);return{posts:v,hasPosts:Array.isArray(v)&&!!v.length,isRequesting:p}};function at(){return at=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},at.apply(this,arguments)}var nt=a(7294);const it=function(e){return(0,oe.createElement)("svg",at({viewBox:"0 0 512 376",xmlns:"http://www.w3.org/2000/svg"},e),(0,oe.createElement)("path",{d:"M0 0v376h512V0H0zm480 344H32V32h448v312z"}),(0,oe.createElement)("circle",{cx:409.1,cy:102.9,r:40.9}),(0,oe.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"}))};var lt=a(4184),rt=a.n(lt);const ot=wp.components,st=e=>{const{imageID:t,imageURL:a,onRemove:n,className:i,allowedTypes:l,render:r,hasRemove:o,style:s}=e,c=rt()([i,"ugb-image-upload-placeholder"],{"ugb-image-upload-has-image":a,"ugb-image-upload-has-placeholder":!a}),u={...s,backgroundImage:a&&!r?`url(${a})`:void 0};return(0,oe.createElement)(ae.MediaUpload,{onSelect:t=>{let{url:a,width:n,height:i}=t;const l=e.imageSize||"full";t.sizes&&t.sizes[l]&&(a=t.sizes[l].url,n=t.sizes[l].width,i=t.sizes[l].height),e.onChange({...t,url:a,width:n,height:i})},allowedTypes:l,value:t,render:e=>a&&r?(0,oe.createElement)("div",{className:c,onClick:e.open,onKeyDown:t=>{13===t.keyCode&&e.open()},style:u,role:"button",tabIndex:0,"data-is-placeholder-visible":!a},a&&n&&o&&(0,oe.createElement)("button",{className:"ugb-image-upload-remove",onClick:e=>{n(),e.stopPropagation()}},(0,oe.createElement)(ot.Dashicon,{icon:"no"})),r):(0,oe.createElement)("div",{className:c,onClick:e.open,onKeyDown:t=>{13===t.keyCode&&e.open()},style:u,role:"button",tabIndex:0,"data-is-placeholder-visible":!a},a&&n&&o&&(0,oe.createElement)("button",{className:"ugb-image-upload-remove",onClick:e=>{n(),e.stopPropagation()}},(0,oe.createElement)(ot.Dashicon,{icon:"no"})),!a&&(0,oe.createElement)(it,null))})};st.defaultProps={imageID:"",imageURL:"",imageSize:"full",onChange:e=>{let{url:t,id:a}=e},onRemove:null,className:"",allowedTypes:["image"],render:void 0,hasRemove:!0,style:{}};const ct=st,ut=e=>(0,oe.createElement)(oc,{label:e.label,id:"url-input-control",help:e.help,allowReset:e.allowReset,value:e.value,onChange:e.onChange},(0,oe.createElement)(ae.URLInput,at({className:"ugb-url-input-control__input",value:e.value,onChange:e.onChange,autoFocus:!1},(0,u.omit)(e,["label","help"]))));ut.defaultProps={label:(0,T.__)("URL",m.i18n),help:null,value:"",onChange:()=>{},allowReset:!0};const dt=ut,mt=(0,oe.forwardRef)(((e,t)=>{const a=rt()([e.className,"ugb-button-component"]);return(0,oe.createElement)(ot.Button,at({},e,{className:a,ref:t}))})),gt=e=>(0,oe.createElement)("path",e),pt=e=>{let{className:t,isPressed:a,...n}=e;const i={...n,className:rt()(t,{"is-pressed":a})||void 0,role:"img","aria-hidden":!0,focusable:!1};return(0,oe.createElement)("svg",i)},ht=(0,oe.createElement)(pt,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,oe.createElement)(gt,{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"})),vt=[{id:"opensInNewTab",title:(0,T.__)("Opens in new tab",m.i18n)},{id:"noFollowLink",title:(0,T.__)("Nofollow link",m.i18n)},{id:"sponsored",title:(0,T.__)("Sponsored",m.i18n)},{id:"ugc",title:(0,T.__)("UGC",m.i18n)}],bt=e=>{const{value:t,newTab:a,noFollow:n,sponsored:i,ugc:l}=e,r={url:t,opensInNewTab:a,noFollowLink:n,sponsored:i,ugc:l};if(!(e.onChange||e.onChangeNewTab||e.onChangeNoFollow||e.onChangeSponsored||e.onChangeUgc))return null;const o=rt()(["ugb-url-input-popover"]),s=vt.filter((t=>{let{id:a}=t;switch(a){case"opensInNewTab":return e.onChangeNewTab;case"noFollowLink":return e.onChangeNoFollow;case"sponsored":return e.onChangeSponsored;case"ugc":return e.onChangeUgc;default:return!0}}));return(0,oe.createElement)(ot.Popover,{className:o,focusOnMount:!1,position:e.position},(0,oe.createElement)(ae.__experimentalLinkControl,{value:r,settings:s,showSuggestions:!e.disableSuggestions,onChange:t=>{const a={url:e.onChange,opensInNewTab:e.onChangeNewTab,noFollowLink:e.onChangeNoFollow,sponsored:e.onChangeSponsored,ugc:e.onChangeUgc},n=(0,u.omitBy)((0,u.omit)(t,"id","title","type"),((e,t)=>r[t]===e));(0,u.keys)(n).forEach((e=>{var t;null===(t=a[e])||void 0===t||t.call(a,n[e])}))}},(0,oe.createElement)("form",null,(0,oe.createElement)("input",{placeholder:(0,T.__)("Search or type url",m.i18n),value:t}),(0,oe.createElement)(mt,{icon:ht,type:"submit"}))))};bt.defaultProps={value:"",disableSuggestions:!1,onChange:null,position:"bottom center",newTab:!1,noFollow:!1,sponsored:!1,ugc:!1,onChangeNewTab:null,onChangeNoFollow:null,onChangeSponsored:null,onChangeUgc:null};const ft=bt,yt=e=>{const{value:t,options:a}=e,[n,i]=(0,oe.useState)(!1),l=(0,oe.useRef)(null),r=(0,oe.useMemo)((()=>e.options.findIndex((e=>e.value===t))/a.length*100),[a,t]);if((0,oe.useEffect)((()=>{const e=e=>{var t;n&&((null===(t=e.target)||void 0===t?void 0:t.closest(".stk-label-unit-toggle"))!==l.current&&i(!1))};return document.body.addEventListener("click",e),()=>document.body.removeEventListener("click",e)}),[n,l.current]),a.length<=1)return null;const o=rt()([e.className,"stk-label-unit-toggle"],{"stk-label-unit-toggle__colored":e.hasColors,"is-open":n});return(0,oe.createElement)("div",{className:o,"aria-expanded":n,ref:l},(0,oe.createElement)("div",{className:rt()("stk-label-unit-toggle__wrapper",{"is-open":n}),style:{transform:`translateY(-${r}%)`}},a.length>1&&a.map(((a,l)=>{const r=a.label||a.value,o=t===a.value,s=rt()({"is-active":o,"has-value":a.hasValue});return(0,oe.createElement)(mt,{key:l,className:s,"data-index":l,"data-value":a.value,disabled:a.disabled,tabindex:o?"0":"-1",onClick:()=>{n?(e.onChange(a.value),i(!1)):i(!0)},icon:a.icon,label:e.hasLabels?r:"","aria-haspopup":"true",tooltipPosition:"middle right",onKeyDown:e=>{const t=e.target;if(t&&n){if("ArrowUp"===e.key||"ArrowRight"===e.key||"ArrowDown"===e.key||"ArrowLeft"===e.key)if(e.preventDefault(),"ArrowUp"===e.key||"ArrowLeft"===e.key){const e=t.previousElementSibling||t.parentElement.lastElementChild;e&&e.focus()}else{const e=t.nextElementSibling||t.parentElement.firstElementChild;e&&e.focus()}"Tab"===e.key&&i(!1),"Escape"===e.key&&(e.preventDefault(),i(!1))}}},a.icon?void 0:r)}))))};yt.defaultProps={className:"",value:"",options:[],onChange:null,labelPosition:"right",buttonLabel:"",hasLabels:!0,hasColors:!0};const kt=(0,oe.memo)(yt),xt={desktop:"Desktop",tablet:"Tablet",mobile:"Mobile"},wt=[{label:(0,T.__)("Desktop",m.i18n),value:"desktop",icon:(0,oe.createElement)((function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,oe.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,T.__)("Tablet",m.i18n),value:"tablet",icon:(0,oe.createElement)((function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,oe.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,T.__)("Mobile",m.i18n),value:"mobile",icon:(0,oe.createElement)((function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,oe.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)}],Ct=["normal","hover","parent-hover","collapsed"].filter((e=>"normal"!==e)).map((e=>(0,u.upperFirst)((0,u.camelCase)(e)))),_t=e=>{const t=de(),a=wt.filter((t=>{var a;let{value:n}=t;return null===(a=e.screens)||void 0===a?void 0:a.includes(n)})),n=Be((t=>{const a=e.valueCheckAttribute||e.attribute;if(!a)return{};const n=[t[`${a}Tablet`]];Ct.forEach((e=>{n.push(t[`${a}Tablet${e}`])}));const i=[t[`${a}Mobile`]];return Ct.forEach((e=>{i.push(t[`${a}Mobile${e}`])})),{tablet:n,mobile:i}})),i=a.map((t=>{if("desktop"===t.value)return t;let a=!1;e.attribute&&(a=!F(n[t.value]));const i="desktop"!==t.value&&("tablet"===t.value?e.hasTabletValue:e.hasMobileValue);return{...t,hasValue:i||a}}));return i<=1?null:t?(0,oe.createElement)(kt,{className:"stk-control-responsive-toggle",value:t.toLowerCase(),options:i,onChange:e=>{(0,te.dispatch)("core/edit-site")&&(0,te.dispatch)("core/edit-site").__experimentalSetPreviewDeviceType?(0,te.dispatch)("core/edit-site").__experimentalSetPreviewDeviceType(xt[e]):(0,te.dispatch)("core/edit-post")&&(0,te.dispatch)("core/edit-post").__experimentalSetPreviewDeviceType?(0,te.dispatch)("core/edit-post").__experimentalSetPreviewDeviceType(xt[e]):(0,te.dispatch)("stackable/device-type").setDeviceType(xt[e])}}):null};_t.defaultProps={screens:["desktop"],attribute:"",suffix:"",hasTabletValue:void 0,hasMobileValue:void 0};const St=(0,oe.memo)(_t),Et=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,oe.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,oe.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"}))},Tt=[{label:(0,T.__)("Normal State",m.i18n),value:"normal",icon:(0,oe.createElement)((function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,oe.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,T.__)("Hovered State",m.i18n),value:"hover",icon:(0,oe.createElement)((function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,oe.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,oe.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,T.__)("Parent Hovered State",m.i18n),value:"parent-hover",icon:(0,oe.createElement)(Et,null)},{label:(0,T.__)("Collapsed",m.i18n),value:"collapsed",icon:(0,oe.createElement)(Et,null)}],Bt=["normal","hover","parent-hover","collapsed"],Mt=Bt.map((e=>(0,u.upperFirst)((0,u.camelCase)(e)))),Nt=e=>{const[t,a,n,i,l]=We(),r=de(),o=Be((t=>e.attribute?Bt.reduce(((a,n,i)=>({...a,[n]:t[`${e.attribute}${e.hasResponsive&&"Desktop"!==r?r:""}${Mt[i]}`]})),{}):{})),s="all"===e.hover?Bt:e.hover,c=Tt.filter((e=>{let{value:t}=e;return!(!i&&"collapsed"===t&&!l)&&s.includes(t)})).map((e=>"parent-hover"===e.value?{disabled:!n,tooltip:n?void 0:(0,oe.createElement)("span",{className:"stk-tooltip__text"},(0,T.sprintf)("%s - %s",(0,T.__)("Parent Hovered",m.i18n),(0,T.__)("Add a Container Background to a parent block to enable this state.",m.i18n)),(0,oe.createElement)("br",null),(0,oe.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,T.__)("Learn more",m.i18n))),...e}:e)).map((t=>"normal"!==t.value&&e.attribute?{...t,hasValue:!z(o[t.value])}:t));return(0,oe.createElement)(kt,{value:t,options:c,onChange:e=>(0,te.dispatch)("stackable/hover-state").updateHoverState(e)})};Nt.defaultProps={hover:!1,attribute:"",hasResponsive:!1};const It=(0,oe.memo)(Nt),Rt=e=>{const{uniqueId:t,selector:a="",highlight:n="",value:i="",defaultValue:l="",responsive:r="all"}=e||{},o=`.editor-styles-wrapper.editor-styles-wrapper .stk-${t} ${a.replace(/%s/g,t)}`.trim(),{getEditorDom:s}=(0,te.useSelect)("stackable/editor-dom"),c=de(),[u,d]=(0,oe.useState)(0),m=(0,oe.useMemo)((()=>{const e=o.split(",")[0],t=s().querySelector(e);return t||setTimeout((()=>{d&&d(u+1)}),50),t?window.getComputedStyle(t):{}}),[o,u])||{};if("all"!==r&&!r.includes(c.toLowerCase()))return null;const g=Lt(n,o,i,l,m);return(0,oe.createElement)("style",null,g)};Rt.defaultProps={uniqueId:"",highlightStyles:{}};const At=Rt,Ot="var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba))",Pt="rgba(220, 158, 93, 0.5)",Ht="rgba(220, 158, 93, 0.25)",Lt=(e,t,a,n,i)=>{switch(e){case"row-gap":return`${t} {\n\t\t\t\tposition: relative;\n\t\t\t}\n\t\t\t${t} > [data-type]:not(:nth-last-child(2))::before {\n\t\t\t\tcontent: '';\n\t\t\t\tposition: absolute;\n\t\t\t\tz-index: 2;\n\t\t\t\ttop: 100%;\n\t\t\t\tleft: 0;\n\t\t\t\twidth: 100%;\n\t\t\t\theight: max(${parseInt(i.rowGap,10)||0}px, 1px);\n\t\t\t\tbackground: ${Pt};\n\t\t\t\tpointer-events: none;\n\t\t\t}`;case"column-gap":return`${t} {\n\t\t\t\tposition: relative;\n\t\t\t}\n\t\t\t${t} > [data-type]:not(:nth-last-child(2))::before {\n\t\t\t\tcontent: '';\n\t\t\t\tposition: absolute;\n\t\t\t\tz-index: 2;\n\t\t\t\tleft: 100%;\n\t\t\t\ttop: 0;\n\t\t\t\twidth: max(${parseInt(i.columnGap,10)||0}px, 1px);\n\t\t\t\theight: 100%;\n\t\t\t\tbackground: ${Pt};\n\t\t\t\tpointer-events: none;\n\t\t\t}`;case"columns:column-gap":return`${t} {\n\t\t\t\tposition: relative;\n\t\t\t}\n\t\t\t${t} > [data-type="stackable/column"]:not(:last-child)::before {\n\t\t\t\tcontent: '';\n\t\t\t\tposition: absolute;\n\t\t\t\tz-index: 2;\n\t\t\t\tleft: 100%;\n\t\t\t\ttop: 0;\n\t\t\t\twidth: max(${parseInt(i.columnGap,10)||0}px, 1px);\n\t\t\t\theight: 100%;\n\t\t\t\tbackground: ${Pt};\n\t\t\t\tpointer-events: none;\n\t\t\t}`;case"padding":return`${t} {\n\t\t\t\tposition: relative;\n\t\t\t}\n\t\t\t${t}::after {\n\t\t\t\tall: unset;\n\t\t\t\tcontent: '' !important;\n\t\t\t\tz-index: 2;\n\t\t\t\tposition: absolute;\n\t\t\t\tinset: 0;\n\t\t\t\tborder-style: solid;\n\t\t\t\tborder-color: rgba(162, 201, 68, 0.5);\n\t\t\t\tborder-top-width: max(${i.paddingTop}, 1px);\n\t\t\t\tborder-right-width: max(${i.paddingRight}, 1px);\n\t\t\t\tborder-bottom-width: max(${i.paddingBottom}, 1px);\n\t\t\t\tborder-left-width: max(${i.paddingLeft}, 1px);\n\t\t\t\tbackground-color: transparent !important;\n\t\t\t}`;case"margin":return`${t} {\n\t\t\t\tposition: relative;\n\t\t\t\toverflow: visible !important;\n\t\t\t}\n\t\t\t${t}::after {\n\t\t\t\tall: unset;\n\t\t\t\tcontent: '' !important;\n\t\t\t\tz-index: 2;\n\t\t\t\tposition: absolute;\n\t\t\t\tinset: 0;\n\t\t\t\tborder-style: solid;\n\t\t\t\tborder-top-color: ${parseInt(i.marginTop,10)<0?Ht:Pt};\n\t\t\t\tborder-right-color: ${parseInt(i.marginRight,10)<0?Ht:Pt};\n\t\t\t\tborder-bottom-color: ${parseInt(i.marginBottom,10)<0?Ht:Pt};\n\t\t\t\tborder-left-color: ${parseInt(i.marginLeft,10)<0?Ht:Pt};\n\t\t\t\tborder-top-width: max(${i.marginTop}, calc(${i.marginTop} * -1), 1px);\n\t\t\t\tborder-right-width: max(${i.marginRight}, calc(${i.marginRight} * -1), 1px);\n\t\t\t\tborder-bottom-width: max(${i.marginBottom}, calc(${i.marginBottom} * -1), 1px);\n\t\t\t\tborder-left-width: max(${i.marginLeft}, calc(${i.marginLeft} * -1), 1px);\n\t\t\t\ttop: calc(max(${i.marginTop}, 1px) * -1);\n\t\t\t\tright: calc(max(${i.marginRight}, 1px) * -1);\n\t\t\t\tbottom: calc(max(${i.marginBottom}, 1px) * -1);\n\t\t\t\tleft: calc(max(${i.marginLeft}, 1px) * -1);\n\t\t\t\tbackground-color: transparent !important;\n\t\t\t}`;case"column-spacing":return`${t} {\n\t\t\t\tposition: relative;\n\t\t\t}\n\t\t\t${t}::after {\n\t\t\t\tall: unset;\n\t\t\t\tcontent: '';\n\t\t\t\tz-index: 2;\n\t\t\t\tposition: absolute;\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n\t\t\t\tborder-style: solid;\n\t\t\t\tborder-color: ${Pt};\n\t\t\t\ttop: calc(max(var(--column-spacing-top, var(--stk-columns-spacing, ${n})), 1px) * -1);\n\t\t\t\tborder-top-width: max(var(--column-spacing-top, var(--stk-columns-spacing, ${n})), 1px);\n\t\t\t\tright: calc(max(var(--column-spacing-right, var(--stk-columns-spacing, ${n})), 1px) * -1);\n\t\t\t\tborder-right-width: max(var(--column-spacing-right, var(--stk-columns-spacing, ${n})), 1px);\n\t\t\t\tbottom: calc(max(var(--column-spacing-bottom, var(--stk-columns-spacing, ${n})), 1px) * -1);\n\t\t\t\tborder-bottom-width: max(var(--column-spacing-bottom, var(--stk-columns-spacing, ${n})), 1px);\n\t\t\t\tleft: calc(max(var(--column-spacing-left, var(--stk-columns-spacing, ${n})), 1px) * -1);\n\t\t\t\tborder-left-width: max(var(--column-spacing-left, var(--stk-columns-spacing, ${n})), 1px);\n\t\t\t\tbackground-color: transparent !important;\n\t\t\t}`;case"outline-first-offset":return`${t} {\n\t\t\t\toutline: 1px dashed ${Ot};\n\t\t\t}\n\t\t\t${(0,u.first)(t.split(","))} {\n\t\t\t\toutline-offset: 8px;\n\t\t\t}`;case"outline-second-offset":return`${t} {\n\t\t\t\toutline: 1px dashed ${Ot};\n\t\t\t}\n\t\t\t${(0,u.last)(t.split(","))} {\n\t\t\t\toutline-offset: 8px;\n\t\t\t}`;default:return`${t} {\n\t\t\t\toutline: 1px dashed ${Ot};\n\t\t\t}`}},zt=wp.compose,Ft=(0,oe.createContext)(null),Dt=(0,zt.createHigherOrderComponent)((e=>t=>{const a=t.attributes.uniqueId,[n,i]=Hm(null);return(0,oe.useEffect)((()=>{t.isSelected||i(null)}),[t.isSelected]),(0,oe.createElement)(Ft.Provider,{value:i},n&&(0,oe.createElement)(At,at({uniqueId:a},n||{})),(0,oe.createElement)(e,at({className:rt()(t.className,{"stk-has-visual-guide":!!n})},t)))}),"withVisualGuideContext"),$t=e=>{const[t,a]=(0,oe.useState)(!1),n=(0,oe.useRef)(!1),i=(0,oe.useContext)(Ft);return(0,oe.useEffect)((()=>{!t&&i&&i(null)}),[t]),i?(t&&i(e),(0,oe.createElement)("div",{className:"stk-visual-guideer-trigger",onMouseEnter:()=>{var e,t,i,l;n.current=!1,setTimeout((()=>{!n.current&&a&&a(!0)}),10),null!==(e=document)&&void 0!==e&&null!==(t=e.activeElement)&&void 0!==t&&null!==(i=t.getAttribute("data-type"))&&void 0!==i&&i.startsWith("stackable/")&&(null===(l=document.activeElement)||void 0===l||l.blur())},onMouseLeave:()=>{n.current=!0,a(!1)}},e.children)):e.children},Ut={"inner-block-padding":"dist/videos/help/advanced-column-paddings.mp4","column-gap":"dist/videos/help/advanced-column-gap.mp4","advanced-block-paddings":"dist/videos/help/advanced-block-paddings.mp4","image-shape":"dist/videos/help/image-shape.mp4","image-size":"dist/videos/help/image-size-no-crop.mp4","image-border-radius":"dist/videos/help/image-border-radius.mp4","advanced-opacity":"dist/videos/help/advanced-opacity.mp4","advanced-zindex":"dist/videos/help/advanced-zindex.mp4","content-horizontal-align":"dist/videos/help/advanced-block-horizontal-align.mp4","block-height":"dist/videos/help/advanced-block-height.mp4","advanced-block-margin":"dist/videos/help/advanced-block-margins.mp4","content-vertical-align":"dist/videos/help/advanced-column-content-vertical-align.mp4","column-vertical-align":"dist/videos/help/advanced-block-vertical-align.mp4","max-content-width":"dist/videos/help/advanced-block-content-width.mp4","gradient-location":"dist/videos/help/gradient-location.mp4","background-color-opacity":"dist/videos/help/background-color-opacity.mp4","background-blend-mode":"dist/videos/help/background-blend-mode.mp4","background-tint":"dist/videos/help/background-tint.mp4","background-fixed":"dist/videos/help/background-fixed.mp4","background-image-position":"dist/videos/help/background-image-position.mp4","background-image-repeat":"dist/videos/help/background-image-repeat.mp4","background-image-size":"dist/videos/help/background-image-size.mp4","general-border-radius":"dist/videos/help/general-border-radius.mp4","general-shadow":"dist/videos/help/general-shadow.mp4","typography-family":"dist/videos/help/typography-family.mp4","typography-weight":"dist/videos/help/typography-weight.mp4","typography-transform":"dist/videos/help/typography-transform.mp4","typography-line-height":"dist/videos/help/typography-line-height.mp4","typography-letter-spacing":"dist/videos/help/typography-letter-spacing.mp4","button-hover-effect":"dist/videos/help/button-hover-effect.mp4","image-shadow":"dist/videos/help/image-shadow.mp4","separator-height":"dist/videos/help/separator-height.mp4","separator-width":"dist/videos/help/separator-width.mp4","separator-shadow":"dist/videos/help/separator-shadow.mp4","separator-bring-to-front":"dist/videos/help/separator-bring-to-front.mp4","separator-layer-blend-mode":"dist/videos/help/separator-layer-blend-mode.mp4","accordion-adjacent-open":"dist/videos/help/accordion-adjacent-open.mp4","alignment-all":"dist/videos/help/alignment-all.mp4","posts-content-order":"dist/videos/help/posts-content-order.mp4","posts-meta-separator":"dist/videos/help/posts-meta-separator.mp4"},Vt=e=>{const t=Ut[e]||"";return`${m.cdnUrl}/${t}`},Wt=()=>{},Gt=e=>(0,oe.createElement)(ot.Popover,{className:"stk-control-help-tooltip",title:e.title,focusOnMount:!1,placement:"left",offset:28,noArrow:!1,onFocusOutside:e.onClose},(0,oe.createElement)(ot.PanelBody,null,(0,oe.createElement)("button",{className:"stk-control-help-tooltip__remove",onClick:e.onClose},(0,oe.createElement)(ot.Dashicon,{icon:"no-alt"})),e.video&&(0,oe.createElement)("video",{width:"600",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,src:Vt(e.video)}),(0,oe.createElement)("h4",null,e.title),(0,oe.createElement)("p",null,e.description),(0,oe.createElement)(ot.CheckboxControl,{label:(0,T.__)("Stop showing tooltips",m.i18n),className:"ugb-help-tooltip__checkbox",checked:!e.tooltipsEnabled,onChange:t=>e.onTooltipsEnabledChange(!t)})));Gt.defaultProps={title:"",video:"",description:"",onClose:Wt,tooltipsEnabled:!0,onTooltipsEnabledChange:Wt};const jt=Gt,qt=wp.api;function Kt(e){"undefined"!=typeof document&&("complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e):e())}const Jt=e=>{const{title:t,label:a,video:n,description:i}=e,[l,r]=(0,oe.useState)(!1),[o,s]=function(){const[e,t]=(0,oe.useState)(Xt);return(0,oe.useEffect)((()=>{var e;const a=e=>t(e.detail);return null===(e=window)||void 0===e||e.addEventListener("_stkHelpTooltipEnabledChanged",a),()=>{window.removeEventListener("_stkHelpTooltipEnabledChanged",a)}}),[]),[e,e=>{Xt=e,new qt.models.Settings({stackable_help_tooltip_disabled:e?"":"1"}).save(),window.dispatchEvent(new CustomEvent("_stkHelpTooltipEnabledChanged",{detail:e}))}]}(),c=Zt(r),u=(0,oe.useRef)(),d=(0,oe.useRef)();return i&&(o||l)?(0,oe.createElement)("div",{className:"components-base-control__label"},(0,oe.createElement)("span",{className:"stk-control__label--has-tooltip",onMouseEnter:()=>{clearTimeout(u.current),u.current=setTimeout((()=>{c(!0),setTimeout((()=>{document.querySelector(".stk-control-help-tooltip").focus()}),100)}),800)},onMouseLeave:()=>{clearTimeout(u.current)},onMouseDown:()=>{d.current=l},onClick:()=>{d.current||(clearTimeout(u.current),c((e=>!e)),l||setTimeout((()=>{document.querySelector(".stk-control-help-tooltip").focus()}),100))},onKeyDown:e=>{13!==e.keyCode&&32!==e.keyCode||(e.preventDefault(),c((e=>!e)))},role:"button",tabIndex:"0"},a),l&&(0,oe.createElement)(jt,{title:t||a,description:i,video:n,onClose:()=>c(!1),tooltipsEnabled:o,onTooltipsEnabledChange:s})):(0,oe.createElement)("div",{className:"components-base-control__label"},a)};Jt.defaultProps={label:"",description:"",video:""};const Yt=Jt;let Xt=!0;Kt((()=>{qt.loadPromise.then((()=>{(new qt.models.Settings).fetch().then((e=>{Xt=!e.stackable_help_tooltip_disabled}))})).catch((()=>{}))}));const Zt=e=>((0,oe.useEffect)((()=>{var t;const a=()=>e(!1);return null===(t=window)||void 0===t||t.addEventListener("_stkHelpTooltipOpened",a),()=>{window.removeEventListener("_stkHelpTooltipOpened",a)}}),[]),t=>{t&&window.dispatchEvent(new CustomEvent("_stkHelpTooltipOpened")),e(t)}),Qt=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,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;const l=Me(),r=je(e,t,a),o=Be((e=>e[r])),s=void 0!==o?o:"";let c=void 0!==o?o:"";n&&(c=n(c));const u=e=>{const t=i?i(e,s):e;l({[r]:t})};return[c,u]},ea=["desktop","tablet","mobile"],ta={},aa=e=>{var t,a,n,i;const l=de(),r=rt()(["stk-control",e.className],{"stk-control--disabled":e.disableTablet&&"Tablet"===l||e.disableMobile&&"Mobile"===l}),o=!(null===(t=e.responsive)||void 0===t||!t.length),s=!(null===(a=e.hover)||void 0===a||!a.length),c=!(null===(n=e.units)||void 0===n||!n.length),u="all"===e.responsive?ea:e.responsive,d=e.units&&(null===(i=e.units)||void 0===i?void 0:i.map((e=>({value:e}))))||[],g=rt()(["stk-control-label"],{"stk-control-label--bold":e.boldLabel}),p=e.boldLabel?(0,oe.createElement)("h3",null,e.label):e.label,h=e.visualGuide!==ta?$t:oe.Fragment;return(0,oe.createElement)(ot.BaseControl,{help:e.help,className:r},(0,oe.createElement)(h,e.visualGuide,(0,oe.createElement)("div",{className:g},(0,oe.createElement)(Yt,at({label:p},e.helpTooltip)),(0,oe.createElement)("div",{className:"stk-control-label__toggles"},o&&(0,oe.createElement)(St,{screens:u,attribute:e.attribute,hasTabletValue:e.hasTabletValue,hasMobileValue:e.hasMobileValue,valueCheckAttribute:e.valueCheckAttribute}),s&&(0,oe.createElement)(It,{hover:e.hover,attribute:e.attribute,hasResponsive:o})),(0,oe.createElement)("div",{className:"stk-control-label__after"},c&&(0,oe.createElement)(kt,{className:"stk-control-label__units",value:e.unit,options:d,onChange:t=>e.onChangeUnit(t),buttonLabel:(0,T.__)("Unit",m.i18n),hasLabels:!1,hasColors:!1,labelPosition:"left"}),e.after)),(0,oe.createElement)("div",{className:"stk-control-content"},e.children)))};aa.defaultProps={className:"",label:"",help:"",boldLabel:!1,attribute:"",responsive:!1,hover:!1,units:!1,unit:"",onChangeUnit:null,after:null,disableTablet:!1,disableMobile:!1,hasTabletValue:void 0,hasMobileValue:void 0,visualGuide:ta,helpTooltip:ta};const na=e=>{const t=je(`${e.attribute}Unit`,e.responsive,e.hover),a=Be((e=>e[t]))||"",n=e.unit?e.unit:a,i=Me();return(0,oe.createElement)(aa,at({},e,{unit:n,onChangeUnit:e.onChangeUnit||(e=>i({[t]:e}))}))};na.defaultProps={className:"",label:"",help:"",attribute:"",responsive:!1,hover:!1,units:!1,onChangeUnit:null,unit:null,after:null,valueCheckAttribute:"",disableTablet:!1,disableMobile:!1,hasTabletValue:void 0,hasMobileValue:void 0,visualGuide:ta,helpTooltip:ta};const ia=na,la=e=>{const t=[...Object.keys(na.defaultProps),"allowReset","screens"],a=(0,u.pick)(e,t);return e.screens&&(a.responsive=e.screens),[(0,u.omit)(e,t),a]},ra=(0,oe.createElement)(ot.Dashicon,{icon:"image-rotate"}),oa=(0,oe.memo)((e=>{const t=null!==e.showReset?e.showReset:void 0!==e.value&&e.value!==e.default&&e.value!==e.placeholder,a=rt()(["stk-control__reset-button",{"stk-control__reset-button--no-modified":!e.hasPanelModifiedIndicator}]);return e.allowReset&&t&&(0,oe.createElement)(mt,{className:a,isSmall:!0,isTertiary:!0,label:(0,T.__)("Reset",m.i18n),onClick:()=>{e.onChange(void 0===e.default?"":e.default)},icon:ra})}));oa.defaultProps={allowReset:!0,showReset:null,value:"",default:"",onChange:null,hasPanelModifiedIndicator:!0};const sa={placement:"left-start",offset:36,shift:!0},ca=(0,oe.memo)((e=>{const{disableCustomColors:t,label:a,className:n=""}=e,[i,l]=Qt(e.attribute,e.responsive,e.hover,e.valueCallback,e.changeCallback),[r,o]=la(e),s=(0,ae.useSetting)("color.palette.theme")||[],c=(0,oe.useMemo)((()=>{const t=(0,u.compact)(s.map((e=>(0,u.isPlainObject)(e)?{...e,name:e.name||e.fallback||e.color||(0,T.__)("Untitled Color",m.i18n)}:null)));return e.hasTransparent&&t.push({name:(0,T.__)("Transparent",m.i18n),slug:"_stk-transparent",color:"transparent"}),t}),[s,e.hasTransparent]);let d=void 0===e.value?i:e.value;const g=void 0===e.onChange?l:e.onChange;"string"==typeof d&&d.includes("--stk-global-color")&&d.match(/#[\d\w]{6}/)&&(d=d.match(/#[\d\w]{6}/)[0]);const p=(0,ae.getColorObjectByColorValue)(c,d),h=p&&p.name||("transparent"===d?"Transparent":d),v={colorValue:d,label:h},b=(0,oe.createElement)(ot.ColorPalette,{value:d,onChange:e=>{const t=(0,ae.getColorObjectByColorValue)(c,e);g((0,Z.applyFilters)("stackable.color-palette-control.change",e,t))},label:h,clearable:!1,colors:c,disableCustomColors:t});return(0,oe.createElement)(ia,at({},o,{className:rt()([n,"editor-color-palette-control","stk-color-palette-control"]),label:a}),e.isExpanded&&b,!e.isExpanded&&(0,oe.createElement)(ot.Dropdown,{popoverProps:sa,className:"block-editor-tools-panel-color-gradient-settings__dropdown",renderToggle:da(v),renderContent:()=>(0,oe.createElement)("div",{className:"stk-color-palette-control__popover-content"},b)}),(0,oe.createElement)(oa,{allowReset:e.allowReset,value:d,default:e.default,onChange:g}))}));ca.defaultProps={allowReset:!0,default:"",attribute:"",value:void 0,onChange:void 0,isExpanded:!1};const ua=ca,da=e=>t=>{let{onToggle:a,isOpen:n}=t;const{colorValue:i,label:l}=e,r={onClick:a,className:rt()("block-editor-panel-color-gradient-settings__dropdown",{"is-open":n}),"aria-expanded":n};return(0,oe.createElement)(ot.Button,r,(0,oe.createElement)(ma,{colorValue:i,label:l}))},ma=e=>{let{colorValue:t,label:a}=e;return(0,oe.createElement)(ot.__experimentalHStack,{justify:"flex-start"},(0,oe.createElement)(ot.ColorIndicator,{className:"block-editor-panel-color-gradient-settings__color-indicator",colorValue:t}),(0,oe.createElement)(ot.FlexItem,{className:"block-editor-panel-color-gradient-settings__color-name",title:a},a))},ga=(0,oe.createContext)(null),pa=(0,zt.createHigherOrderComponent)((e=>t=>(0,oe.createElement)(ga.Provider,{value:t.context},(0,oe.createElement)(e,t))),"withQueryLoopContext"),ha=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},e),(0,oe.createElement)("path",{d:"M289 445l-33 35-33-35L0 208 112 32h288l112 176-223 237zm142-221H81l175 186 175-186zm3.7-48L385 97.9 311.5 176h123.2zM336 80H176l80 85 80-85zM127 97.9L77.3 176h123.2L127 97.9z"}))},va={image:{title:(0,T.__)("Get More Image Shapes",m.i18n),description:(0,oe.createElement)("ul",null,(0,oe.createElement)("li",null,(0,T.__)("Mask images with a variety of blob-like shapes",m.i18n)),(0,oe.createElement)("li",null,(0,T.__)("Choose from over 50 different shapes",m.i18n)),(0,oe.createElement)("li",null,(0,T.__)("Enhances the overall aesthetic of images",m.i18n)))},"dynamic-attributes":{title:(0,T.__)("Use Dynamic Content",m.i18n),description:(0,oe.createElement)("ul",null,(0,oe.createElement)("li",null,(0,T.__)("Add dynamic content from posts or post meta",m.i18n)),(0,oe.createElement)("li",null,(0,T.__)("Use third-party plugins as dynamic sources such as ACF, Meta Box, Toolset, and more",m.i18n)),(0,oe.createElement)("li",null,(0,T.__)("Build custom loop design with the Native Query Loop",m.i18n)))},separator:{title:(0,T.__)("Separator Layers",m.i18n),description:(0,oe.createElement)("ul",null,(0,oe.createElement)("li",null,(0,T.__)("Add a second and third layer to separators",m.i18n)),(0,oe.createElement)("li",null,(0,T.__)("Change layer color, size and opacity",m.i18n)),(0,oe.createElement)("li",null,(0,T.__)("Greater creativity in designing separators",m.i18n)))},"icon-colors":{title:(0,T.__)("Elevate Your Icons",m.i18n),description:(0,oe.createElement)("ul",null,(0,oe.createElement)("li",null,(0,T.__)("Liven up icons with gradient fills, multiple colors and background shapes",m.i18n)),(0,oe.createElement)("li",null,(0,T.__)("More design options and customization for icons",m.i18n)),(0,oe.createElement)("li",null,(0,T.__)("Choose from over 50 background shapes",m.i18n)),(0,oe.createElement)("li",null,(0,T.__)("Greater visual interest and variety for your icons",m.i18n)))},"icon-background-shape":{description:(0,oe.createElement)("ul",null,(0,oe.createElement)("li",null,(0,T.__)("Liven up icons with background shapes",m.i18n)),(0,oe.createElement)("li",null,(0,T.__)("Choose from over 50 background shapes",m.i18n)),(0,oe.createElement)("li",null,(0,T.__)("Greater visual interest and variety for your icons",m.i18n)))},transforms:{description:(0,oe.createElement)("ul",null,(0,oe.createElement)("li",null,(0,T.__)("Adjust timing of CSS transitions",m.i18n)),(0,oe.createElement)("li",null,(0,T.__)("Change X and Y position of blocks",m.i18n)),(0,oe.createElement)("li",null,(0,T.__)("Scale or rotate blocks",m.i18n)),(0,oe.createElement)("li",null,(0,T.__)("Perfect for hover animations",m.i18n)))},"motion-effects":{description:(0,oe.createElement)("ul",null,(0,oe.createElement)("li",null,(0,T.__)("Entrance fade-ins and animations when scrolling to blocks",m.i18n)),(0,oe.createElement)("li",null,(0,T.__)("Smooth scroll animations based on scrolling position",m.i18n)),(0,oe.createElement)("li",null,(0,T.__)("Create a more visually engaging and interactive experience",m.i18n)))},"conditional-display":{description:(0,oe.createElement)("ul",null,(0,oe.createElement)("li",null,(0,T.__)("Show or hide blocks based on conditions",m.i18n)),(0,oe.createElement)("li",null,(0,T.__)("Display blocks based on time, role, meta, custom PHP, option, taxonomy and more",m.i18n)),(0,oe.createElement)("li",null,(0,T.__)("Use multiple conditions",m.i18n)),(0,oe.createElement)("li",null,(0,T.__)("Show targeted content and personalization",m.i18n)),(0,oe.createElement)("li",null,(0,T.__)("Greater control over the visibility of content",m.i18n)))},"custom-css":{description:(0,oe.createElement)("ul",null,(0,oe.createElement)("li",null,(0,T.__)("Add custom CSS rules specific for each block",m.i18n)),(0,oe.createElement)("li",null,(0,T.__)("Support for media queries",m.i18n)),(0,oe.createElement)("li",null,(0,T.__)("Fine-tune styling on a per block basis",m.i18n)))},"column-arrangement":{title:(0,T.__)("Adjust Column Arrangement",m.i18n),description:(0,oe.createElement)("ul",null,(0,oe.createElement)("li",null,(0,T.__)("Adjust the arrangement of columns when collapsed on tablet and mobile",m.i18n)),(0,oe.createElement)("li",null,(0,T.__)("Ensure that content remains organized and easily readable on mobile",m.i18n)))},"design-library":{title:(0,T.__)("This is a Premium Design",m.i18n),description:(0,T.__)("Unlock access to the entire design library and set your website apart from the rest.",m.i18n)}},ba=e=>{var t,a,n;const i=rt()(["ugb-design-control-pro-note",e.className]),l=e.description||(null===(t=va[e.type])||void 0===t?void 0:t.description);return(0,oe.createElement)("div",{className:i},e.isDismissible&&(0,oe.createElement)(mt,{className:"ugb-design-control-pro-note__close",icon:"no-alt",isTertiary:!0,onClick:e.onClose}),e.showImage&&(0,oe.createElement)("img",{src:("dist/images/components-pro-control-pro-icon.05ae547.png",`${m.srcUrl}/dist/images/components-pro-control-pro-icon.05ae547.png`),className:"ugb-design-control-pro-note__logo",alt:""}),(0,oe.createElement)("h4",null,e.title||(null===(a=va[e.type])||void 0===a?void 0:a.title)||(0,T.__)("This Is a Premium Feature",m.i18n)),l&&(0,oe.createElement)("div",{className:"ugb-design-control-pro-note__description"},l),e.showButton&&(0,oe.createElement)("div",null,(0,oe.createElement)("a",{href:"https://wpstackable.com/upgrade/?utm_source=editor-learn-more&utm_campaign=learnmore&utm_medium=gutenberg",target:"_premium",className:"button button-secondary"},(0,oe.createElement)(ha,null),e.button||(null===(n=va[e.type])||void 0===n?void 0:n.button)||(0,T.__)("Learn More",m.i18n))),e.demoUrl&&(0,oe.createElement)("p",{className:"ugb-design-control-pro-note__demo-link"},(0,oe.createElement)("a",{href:e.demoUrl,target:"_premium",className:"button button-secondary"},(0,T.__)("View Demo",m.i18n))),e.showHideNote&&(0,oe.createElement)("p",{className:"ugb-design-control-pro-note__notice"},(0,T.__)("You can hide premium hints in the settings",m.i18n)))};ba.defaultProps={className:"",type:"",title:"",description:"",button:"",showImage:!0,showButton:!0,showHideNote:!0,demoUrl:"",buttonUtmSource:void 0,isDismissible:!1,onClose:()=>{}};const fa=ba,ya=e=>(0,oe.createElement)(ot.Popover,at({},e,{className:rt()("stk-popover",e.className)}));ya.defaultProps={className:""};const ka=ya,xa=e=>{var t,a;const[n,i]=(0,oe.useState)(!1),[l,r]=(0,oe.useState)(e.value);(0,oe.useEffect)((()=>{const e=e=>{n&&(e.target.closest(".stackable-dynamic-content__popover")||e.target.closest(".stk-dynamic-content-control__button")||e.target.closest(".components-color-picker")||e.target.closest(".react-autosuggest__suggestions-container")||e.target.closest(".components-dropdown__content")||i(!1))};return document.body.addEventListener("mousedown",e),()=>document.body.removeEventListener("mousedown",e)}),[n]),(0,oe.useEffect)((()=>{const t=setTimeout((()=>{r(e.value)}),300);return()=>clearTimeout(t)}),[e.value]);const o=[];var s,c;null!=l&&null!==(t=l.includes)&&void 0!==t&&t.call(l,"!#stk_dynamic")&&(null===(s=l.match(/\!#stk_dynamic\/(.*)\!#/g))||void 0===s||s.forEach((e=>{const t=e.replace(/\!#/g,"").replace("stk_dynamic/","");o.push(t)}))),null!=l&&null!==(a=l.includes)&&void 0!==a&&a.call(l,'data-stk-dynamic="')&&(null===(c=l.match(/data-stk-dynamic="[^"]*"/g))||void 0===c||c.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&&o.push(i)})));const d=wa(l),m=Ca(l),g=n||o.length,p=(0,u.first)(o)||"";return{onClick:()=>{i(!n)},isPressed:g,isPopoverOpen:n,value:d,placeholder:m,onClose:()=>{i(!1)},onReset:()=>{e.onChange("")},onChange:(t,a,n)=>{const l=e.isFormatType?`<span data-stk-dynamic="${n}" contenteditable="false" class="stk-dynamic-content">${t}</span>`:`!#stk_dynamic/${n}!#`;e.onChange(l),r(l),i(!1)},activeAttribute:p}},wa=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const{clientId:t}=(0,ae.useBlockEditContext)(),a=(0,te.select)("core/block-editor").getBlock(t),n=(0,oe.useContext)(ga);return(0,te.useSelect)((()=>{var t;if(!e||!(0,u.isString)(e))return e;if(!e.includes("!#stk_dynamic")&&!e.includes("data-stk-dynamic"))return e;if(!(0,te.select)("stackable/dynamic-content"))return e;let i=(null===(t=(0,te.select)("core/editor"))||void 0===t?void 0:t.getCurrentPostId())||-1;var l,r;i&&(null==n?void 0:n.postId)!==i&&(i=(null===(l=n.postId)||void 0===l?void 0:l.toString())||-1),-1===i&&(0,te.select)("core/edit-site")&&(i=(null===(r=(0,te.select)("core/edit-site").getEditedPostContext())||void 0===r?void 0:r.postId)||-1);let o=e;var s,c;return-1!==i&&(o=null===(s=o)||void 0===s?void 0:s.replace(/<span[^\>]+data-stk-dynamic=[^\>]*>(.*?)<\/span>/g,(e=>{const t=e.match(/data-stk-dynamic="([^\"]*)"/)[1],a=t.split("/");return t.startsWith("current-page")?(a.length>2&&a[2].startsWith("?")?a.splice(2,0,i):2===a.length&&a.push(i),e.replace(/data-stk-dynamic="[^\"]*"/g,'data-stk-dynamic="'+a.join("/")+'"')):e})),o=null===(c=o)||void 0===c?void 0:c.replace(/!#stk_dynamic(.*)\!#/g,(e=>{const t=e.replace(/\!#/g,"").replace("stk_dynamic/",""),a=t.split("/");return t.startsWith("current-page")?(a.length>2?a.splice(2,0,i):2===a.length&&a.push(i),"!#stk_dynamic/"+a.join("/")+"!#"):e}))),(0,te.select)("stackable/dynamic-content").parseDynamicContents(o,a)}),[e,null==n?void 0:n.postId])},Ca=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return(0,te.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,u.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,u.first)(t("stackable/dynamic-content").getFieldTitle(r));var o;if(!e)e=null===(o=new URL(`stk:${r}`).pathname.split("/"))||void 0===o?void 0:o[1];return e?`[${e}]`:""}return a}))),i}))},_a=(0,oe.createElement)((function(e){return(0,oe.createElement)("svg",at({"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,oe.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"}))}),null),Sa=(0,oe.memo)((e=>{if(!m.isPro&&!m.showProNotice)return null;const t=(0,Z.applyFilters)("stackable.dynamic-content.component")||oe.Fragment;return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(ot.Button,{className:"stk-dynamic-content-control__button",icon:_a,"aria-haspopup":"true",label:(0,T.__)("Dynamic Fields",m.i18n),variant:"secondary",onClick:e.onClick,isPressed:!!e.isPressed}),e.isPopoverOpen&&(0,oe.createElement)(ka,{position:"top right",className:rt()("stackable-dynamic-content__popover",{"stk-dynamic-content__popover--is-premium":!m.isPro})},!m.isPro&&(0,oe.createElement)(fa,{type:"dynamic-attributes"}),m.isPro&&(0,oe.createElement)(t,{onClose:e.onClose,onChange:e.onChange,activeAttribute:e.activeAttribute,type:e.type})))})),Ea=e=>{let{children:t,enable:a,...n}=e;if(!a)return t;const i=""!==n.activeAttribute,l=rt()(["stk-dynamic-content-control"],{"stk--has-dynamic-content":i,"stk--has-control-tooltip":n.controlHasTooltip});return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)("div",{className:l},i?(0,oe.createElement)(ot.TextControl,{value:n.placeholder,disabled:!0}):t,(0,oe.createElement)(Sa,n)),(0,oe.createElement)(oa,{allowReset:!0,value:n.activeAttribute,default:"",hasPanelModifiedIndicator:n.hasPanelModifiedIndicator,onChange:n.onReset}))};Ea.defaultProps={enable:!1,controlHasTooltip:!1,children:null,activeAttribute:"",onReset:()=>{}};const Ta=Ea,Ba=(0,oe.memo)((e=>{const[t,a]=Qt(e.attribute,e.responsive,e.hover,e.valueCallback,e.changeCallback),[n,i]=la(e),{isDynamic:l,isMultiline:r,changeDynamicContent:o,allowReset:s,isFormatType:c,...u}=n,d=void 0!==o?o:void 0===e.onChange?a:e.onChange,m=xa({value:void 0===e.value?t:e.value,onChange:d,isFormatType:c}),g=r?ot.TextareaControl:ot.TextControl;return(0,oe.createElement)(ia,at({className:e.className},i),(0,oe.createElement)(Ta,at({enable:l,hasPanelModifiedIndicator:e.hasPanelModifiedIndicator},m),(0,oe.createElement)(g,at({},u,{value:void 0===e.value?t:e.value,onChange:void 0===e.onChange?a:e.onChange,className:rt()(n.className,"ugb-advanced-text-control")}))),(0,oe.createElement)(oa,{allowReset:s&&!e.isDynamic,value:void 0===e.value?t:e.value,default:e.default,onChange:void 0===e.onChange?a:e.onChange,hasPanelModifiedIndicator:e.hasPanelModifiedIndicator}))}),u.isEqual);Ba.defaultProps={className:"",isMultiline:!1,allowReset:!0,default:"",attribute:"",responsive:!1,hover:!1,isDynamic:!1,isFormatType:!0,value:void 0,onChange:void 0,changeDynamicContent:void 0,hasPanelModifiedIndicator:!0};const Ma=Ba,Na=e=>Array.isArray(e)?e.map((e=>{const[t,a]=e;var n;return[t,`"${n=a,(0,u.escape)(unescape(n))}"`].join("=")})).join(" "):"",Ia=e=>{const t=(0,oe.useRef)(),[a,n]=(0,oe.useState)(!1),[i,l]=(0,oe.useState)(Na(e.value));return(0,oe.createElement)(Ma,{ref:t,"data-testid":"custom-attributes",className:"ugb-custom-attributes-control",label:(0,T.__)("Custom Attributes",m.i18n),value:i,onBlur:()=>{Array.isArray(e.value)&&e.value.length>0&&l(Na(e.value))},onChange:t=>{var a;l(t);const i=document.createElement("div");i.innerHTML=`<div ${t} />`;const r=(null===(a=i.children[0])||void 0===a?void 0:a.attributes)||[],o=[];let s=!1;""===i.innerHTML&&""!==t.trim()&&(s=!0);for(let t=0;t<r.length;t++)if(!e.invalidHtmlAttributes.includes(r[t].name))try{const e=document.createElement("div");(0,oe.render)((0,oe.createElement)("div",{[r[t].name]:r[t].value}),e),(0,oe.unmountComponentAtNode)(e),document.createElement("div").setAttribute(r[t].name,r[t].value),o.push([r[t].name,escape(r[t].value)])}catch{s=!0}n(s),e.onChange(o)},help:(0,oe.createElement)(oe.Fragment,null,(0,T.__)("You can type in custom HTML attributes for this block in the field above.",m.i18n)," ",(0,T.__)("Example:",m.i18n),(0,oe.createElement)("br",null),(0,oe.createElement)("code",null,'data-id="my-title"'),(0,oe.createElement)("br",null),(0,oe.createElement)(ot.ExternalLink,{href:"https://docs.wpstackable.com/article/461-how-to-use-custom-attributes?utm_source=inspector&utm_campaign=learnmore&utm_medium=gutenberg",target:"_docs"},(0,T.__)("Learn more about Custom Attributes",m.i18n)),a&&(0,oe.createElement)("span",{className:"ugb-custom-attributes-control__error"},(0,T.__)("There is an error in your custom attribute",m.i18n)))})};Ia.defaultProps={label:"",value:[],invalidHtmlAttributes:[],onChange:()=>{}};const Ra=Ia,Aa=[{value:"",label:(0,T.__)("None",m.i18n)},{value:"normal",label:(0,T.__)("Normal",m.i18n)},{value:"multiply",label:(0,T.__)("Multiply",m.i18n)},{value:"screen",label:(0,T.__)("Screen",m.i18n)},{value:"overlay",label:(0,T.__)("Overlay",m.i18n)},{value:"darken",label:(0,T.__)("Darken",m.i18n)},{value:"lighten",label:(0,T.__)("Lighten",m.i18n)},{value:"color-dodge",label:(0,T.__)("Color Dodge",m.i18n)},{value:"color-burn",label:(0,T.__)("Color Burn",m.i18n)},{value:"hard-light",label:(0,T.__)("Hard Light",m.i18n)},{value:"soft-light",label:(0,T.__)("Soft Light",m.i18n)},{value:"difference",label:(0,T.__)("Difference",m.i18n)},{value:"exclusion",label:(0,T.__)("Exclusion",m.i18n)},{value:"hue",label:(0,T.__)("Hue",m.i18n)},{value:"saturation",label:(0,T.__)("Saturation",m.i18n)},{value:"color",label:(0,T.__)("Color",m.i18n)},{value:"luminosity",label:(0,T.__)("Luminosity",m.i18n)},{value:"initial",label:(0,T.__)("Initial",m.i18n)},{value:"inherit",label:(0,T.__)("Inherit",m.i18n)},{value:"unset",label:(0,T.__)("Unset",m.i18n)}],Oa=e=>(0,oe.createElement)(Xa,at({},e,{className:e.className,options:Aa}));Oa.defaultProps={className:"",label:(0,T.__)("Mix Blend Mode",m.i18n),help:(0,T.__)("Not supported in all browsers.",m.i18n)};const Pa=Oa,Ha=function(e){return(0,oe.createElement)("svg",at({viewBox:"0 0 512 376",xmlns:"http://www.w3.org/2000/svg"},e),(0,oe.createElement)("path",{d:"M0 0v376h512V0H0zm480 344H32V32h448v312z"}),(0,oe.createElement)("circle",{cx:409.1,cy:102.9,r:40.9}),(0,oe.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"}))},La=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,oe.createElement)("div",{className:"ugb-image-control"},(0,oe.createElement)(ot.BaseControl,{help:e.help},(0,oe.createElement)(Jl,{label:e.label,screens:e.screens}),(0,oe.createElement)(ae.MediaUpload,{onSelect:e.onChange,allowedTypes:e.allowedTypes,value:e.imageID,render:n=>(0,oe.createElement)(oe.Fragment,null,e.imageURL&&(0,oe.createElement)("div",{className:"ugb-image-preview-wrapper"},(0,oe.createElement)("button",{className:"ugb-image-preview-remove",onClick:a},(0,oe.createElement)(ot.Dashicon,{icon:"no"})),"video"===t&&(0,oe.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,oe.createElement)("img",{className:"ugb-image-preview",draggable:"false",src:e.imageURL,onClick:n.open,onKeyDown:e=>{13===e.keyCode&&n.open()},alt:(0,T.__)("preview",m.i18n)})),!e.imageURL&&(0,oe.createElement)("div",{className:"ugb-placeholder",onClick:n.open,onKeyDown:e=>{13===e.keyCode&&n.open()},role:"button",tabIndex:0},(0,oe.createElement)(Ha,null)))})))};La.defaultProps={label:"",imageID:"",imageURL:"",onChange:e=>{let{url:t,id:a,width:n,height:i}=e},onRemove:()=>{},allowedTypes:["image"],help:"",screens:["desktop"]};const za=La,Fa=e=>(0,oe.createElement)(ot.TextareaControl,at({},e,{help:(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(ot.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},(0,T.__)("Describe the purpose of the image",m.i18n)),(0,T.__)("Leave empty if the image is purely decorative.",m.i18n))}));Fa.defaultProps={label:(0,T.__)("Alt Text (Alternative Text)",m.i18n)};const Da=Fa,$a=e=>{const{className:t,hasDefault:a,...n}=e;return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(fl,at({},n,{className:rt()(t,["ugb-image-shape-control"]),options:[...a?[{label:(0,T.__)("Default",m.i18n),value:"",image:"dist/images/components-image-shape-control-default.5e465f6.png"}]:[],{label:(0,T.__)("Square",m.i18n),value:"square",image:"dist/images/components-image-shape-control-square.d8d54ee.png"},{label:(0,T.__)("Circle",m.i18n),value:"circle",image:"dist/images/components-image-shape-control-circle.ddaef4e.png"},{label:(0,T.sprintf)((0,T.__)("Blob %s",m.i18n),1),value:"blob1",image:"dist/images/components-image-shape-control-blob1.3c54e8e.png"},...(0,Z.applyFilters)("stackable.image.control.shapes",[])]})),m.showProNotice&&(0,oe.createElement)(ql,{type:"image"}))};$a.defaultProps={className:"",label:(0,T.__)("Shape",m.i18n),selected:"",hasDefault:!0};const Ua=$a,Va=e=>{let{imageSizes:t,value:a,className:n,defaultValue:i,...l}=e;const r=(e=>(0,u.map)(e,(e=>{let{name:t,slug:a}=e;return{value:a,label:t}})))(t);return(0,u.isEmpty)(r)?null:(0,oe.createElement)(Xa,at({},l,{value:a||"large",options:r,className:n,defaultValue:i||"large",default:i||"large"}))};Va.defaultProps={className:"",label:(0,T.__)("Image Size",m.i18n),value:"large",defaultValue:"",imageSizes:[],onChange:()=>{}};const Wa=(0,zt.compose)([(0,te.withSelect)((e=>({imageSizes:e("core/block-editor").getSettings().imageSizes})))])(Va),Ga=!!ot.__experimentalNumberControl,ja=(0,oe.memo)((e=>{const{allowReset:t,withInputField:a,isShiftStepEnabled:n,placeholderRender:i,defaultValue:l,...r}=e,[o,s]=(0,oe.useState)(""===e.value||isNaN(e.value)&&"auto"!==e.value?"":e.value);(0,oe.useCallback)((0,u.debounce)(e.onChange,100),[e.onChange]),(0,oe.useEffect)((()=>{""===e.value||isNaN(e.value)&&"auto"!==e.value?s(""):s(e.value)}),[e.value]);const c=t=>{if(s(t),"string"!=typeof t||"auto"!==t.toLowerCase()){if(!isNaN(t)){const a=parseFloat(t);if(!isNaN(a)){const t=(0,u.clamp)(a,e.min,e.max);return s(t),void e.onChange(t)}}e.onChange(e.resetFallbackValue)}else e.onChange(t)},d=rt()(["ugb-range-control",e.className],{"ugb-range-control--blank":""===o}),g=""===o,p=null!==e.placeholder?e.placeholder:e.sliderMin||e.min,h=null!==e.initialPosition?e.initialPosition:p,v=((e,t,a)=>{const n=(e-t)/(a-t)*100;return`${(0,u.clamp)(n,0,100)}%`})(g?h:o,null!==e.sliderMin?e.sliderMin:e.min||0,null!==e.sliderMax?e.sliderMax:e.max||100),[b,f]=(0,oe.useState)(e.placeholder);(0,oe.useEffect)((()=>{f(e.placeholder)}),[e.placeholder]);const y=de();return(0,oe.useLayoutEffect)((()=>{const t=setTimeout((()=>{f(i&&!o?i(o):null!==e.placeholder?e.placeholder:h)}),400);return()=>clearTimeout(t)}),[y,!!o,e.placeholder]),(0,oe.createElement)("div",{className:d,style:{"--ugb-advanced-range-control--width":v}},(0,oe.createElement)(ot.RangeControl,at({},r,{value:o,initialPosition:"",onChange:c,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&&Ga&&(0,oe.createElement)(ot.__experimentalNumberControl,{disabled:e.disabled,isShiftStepEnabled:n,max:e.max,min:e.min,onChange:c,onBlur:()=>{if("string"!=typeof o||"auto"!==o.toLowerCase()){if(!isNaN(o)){const t=parseFloat(o);if(!isNaN(t))return void s((0,u.clamp)(t,e.min,e.max))}s(e.resetFallbackValue)}else s(o)},shiftStep:e.shiftStep,step:e.step,value:o,placeholder:b,type:"text"}),t&&(0,oe.createElement)(mt,{className:"components-range-control__reset",disabled:e.disabled,isSecondary:!0,isSmall:!0,onClick:()=>{s(e.resetFallbackValue),e.onChange(e.resetFallbackValue)}},(0,T.__)("Reset",m.i18n)))}));ja.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 qa=ja,Ka=e=>{var t,a;const[n,i]=Qt(e.attribute,e.responsive,e.hover,e.valueCallback,e.changeCallback),[l,r]=la(e),o=de(),[s]=We(),c=!(null===(t=e.units)||void 0===t||!t.length),u=je(`${e.attribute}Unit`,e.responsive,e.hover),d=Be((e=>e[u])),m="string"==typeof e.unit?e.unit||(null===(a=e.units)||void 0===a?void 0:a[0])||"px":d||"";if(c){const t=e.units.indexOf(m)<0?0:e.units.indexOf(m);Array.isArray(e.min)&&(l.min=e.min[t]),Array.isArray(e.max)&&(l.max=e.max[t]),Array.isArray(e.sliderMin)&&(l.sliderMin=e.sliderMin[t]),Array.isArray(e.sliderMax)&&(l.sliderMax=e.sliderMax[t]),Array.isArray(e.step)&&(l.step=e.step[t]),l.initialPosition=""!==e.initialPosition?e.initialPosition:e.placeholder,0!==t&&(l.initialPosition="",l.placeholder="")}e.forcePlaceholder||"Desktop"===o&&"normal"===s||(l.initialPosition="",l.placeholder="");let g=e.placeholderRender;("Desktop"!==o||"normal"!==s||c&&m!==e.units[0])&&(g=null);const p=t=>{(void 0===e.onChange?i:e.onChange)(e.isDynamic?t.toString():t)},h=void 0===e.value?n:e.value,v=xa({value:h,onChange:p});return(0,oe.createElement)(ia,r,(0,oe.createElement)(Ta,at({enable:l.isDynamic,controlHasTooltip:!0},v),(0,oe.createElement)(qa,at({},l,{value:l.isDynamic?parseFloat(h):h,onChange:p,allowReset:!1,placeholderRender:g}))),(0,oe.createElement)(oa,{allowReset:e.allowReset,value:h,default:e.default,onChange:p}))};Ka.defaultProps={allowReset:!0,isDynamic:!1,default:"",attribute:"",responsive:!1,hover:!1,value:void 0,onChange:void 0,forcePlaceholder:!1};const Ja=(0,oe.memo)(Ka,u.isEqual),Ya=(0,oe.memo)((e=>{const[t,a]=Qt(e.attribute,e.responsive,e.hover),[n,i]=la(e),{defaultValue:l,...r}=n;return(0,oe.createElement)(ia,at({},i,{className:rt()("ugb-advanced-select-control",e.className)}),(0,oe.createElement)(ot.SelectControl,at({},r,{role:"listbox",value:void 0===e.value?t:e.value,onChange:void 0===e.onChange?a:e.onChange})),(0,oe.createElement)(oa,{allowReset:e.allowReset,value:void 0===e.value?t:e.value,default:e.default,onChange:void 0===e.onChange?a:e.onChange}))}),u.isEqual);Ya.defaultProps={className:"",url:"",allowReset:!0,default:"",attribute:"",responsive:!1,hover:!1,value:void 0,onChange:void 0};const Xa=Ya;var Za=a(8808),Qa=a.n(Za);const en=(e,t)=>{const a=e.trim().replace(/[.*+?^${}()|[\]\\]/g,"\\$&");if(!a)return t;const n=new RegExp(a,"i");return tn(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)))},tn=e=>!(!e.length||"object"!=typeof e[0].options),an=(e,t)=>{if(!t.length)return e;if(!tn(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},nn=e=>e.value,ln=e=>(0,oe.createElement)("div",{className:"ugb--autosuggest-group"},e.title),rn=e=>e.options,on=()=>!0;class sn extends oe.Component{constructor(){super(...arguments),this.state={value:"",label:"",suggestions:[],isEmpty:!1,isShowingSuggestions:!1,containerRect:null},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,oe.createRef)(),this.suggestionContainerLocationUpdater=this.suggestionContainerLocationUpdater.bind(this)}onChange(e,t){let{newValue:a}=t;this.props.onChange(a),this.setState({value:a,label:an(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:en("",this.props.options)});if("input-focused"===a||"suggestion-selected"===a)return void this.setState({suggestions:this.props.options,isEmpty:!1});const n=en(t,this.props.options);this.setState({suggestions:n,isEmpty:""!==t.trim()&&0===n.length})}suggestionContainerLocationUpdater(){var e;null!==(e=this.autosuggestDiv)&&void 0!==e&&e.current&&this.state.isShowingSuggestions&&(this.setState({containerRect:this.autosuggestDiv.current.getBoundingClientRect()}),requestAnimationFrame(this.suggestionContainerLocationUpdater))}componentDidMount(){this.props.options.length&&this.props.value&&this.setState({value:this.props.value,label:this.props.value?an(this.props.value,this.props.options):this.props.value,suggestions:en(this.props.disableAutoIndex?"":this.props.value,this.props.options)})}componentWillReceiveProps(e){this.setState({value:e.value,label:e.value?an(e.value,e.options):e.value,suggestions:en(this.props.disableAutoIndex?"":e.value,e.options)})}onSuggestionsClearRequested(){this.setState({suggestions:[]})}render(){var e,t;const{label:a,suggestions:n}=this.state,i={placeholder:this.props.placeholder,value:a,onChange:this.onChange,onFocus:this.onFocus,type:"search",...this.props.inputProps};return(0,oe.createElement)(oc,{help:this.props.help,className:rt()("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,helpTooltip:this.props.helpTooltip},(0,oe.createElement)("div",{className:"ugb-advanced-autosuggest-control__select",ref:this.autosuggestDiv},this.state.isShowingSuggestions&&(0,oe.createElement)("style",null,`:root {\n\t\t\t\t\t\t\t\t--container-left: ${null===(e=this.state.containerRect)||void 0===e?void 0:e.left}px;\n\t\t\t\t\t\t\t\t--container-bottom: ${null===(t=this.state.containerRect)||void 0===t?void 0:t.bottom}px;\n\t\t\t\t\t\t\t}`),(0,oe.createElement)(Qa(),{multiSection:tn(this.props.options),suggestions:n,focusInputOnSuggestionClick:!1,onSuggestionsFetchRequested:this.onSuggestionsFetchRequested,onSuggestionsClearRequested:this.onSuggestionsClearRequested,onSuggestionSelected:this.props.onSuggestionSelected,getSuggestionValue:this.props.getSuggestionValue||nn,renderSuggestion:e=>(0,oe.createElement)("div",{className:"ugb-autosuggest-option","data-value":e.value,id:`ugb-autosuggest-option--${e.id||(0,u.kebabCase)(e.value)}`},this.props.renderOption?this.props.renderOption(e):e.label),renderSectionTitle:ln,getSectionSuggestions:rn,shouldRenderSuggestions:on,inputProps:i,renderInputComponent:this.props.renderInputComponent?this.props.renderInputComponent:e=>(0,oe.createElement)("input",e),renderSuggestionsContainer:e=>{let{containerProps:t,children:a}=e;const n=t.className.indexOf("react-autosuggest__suggestions-container--open")>=0;if(n&&!this.state.isShowingSuggestions?(this.setState({isShowingSuggestions:!0}),requestAnimationFrame(this.suggestionContainerLocationUpdater)):!n&&this.state.isShowingSuggestions&&this.setState({isShowingSuggestions:!1}),n){const e=this.autosuggestDiv.current.getBoundingClientRect(),n={left:`calc(var(--container-left, 0px) + ${window.scrollX}px)`,top:`calc(var(--container-bottom, 0px) + ${window.scrollY}px)`,width:e.width},i=(0,oe.createElement)("div",at({},t,{style:n,className:rt()(t.className,"ugb-advanced-autosuggest__suggestions-container")}),a);return(0,oe.createPortal)(i,document.body)}return null}}),this.state.isEmpty&&(0,oe.createElement)("div",{className:"ugb--autosuggest-empty"},this.props.noMatchesLabel),this.props.children))}}sn.defaultProps={onChange:()=>{},help:"",className:"",screens:["desktop"],options:[],value:"",noMatchesLabel:(0,T.__)("No matches found",m.i18n),renderOption:null,highlightValueOnFocus:!1,allowReset:!0,placeholder:"",getSuggestionValue:null,disableAutoIndex:!1,onSuggestionSelected:()=>{},renderInputComponent:null,inputProps:{},helpTooltip:{}};const cn=sn,un=function(e){return(0,oe.createElement)("svg",at({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),(0,oe.createElement)("path",{d:"M19 18H1v1h18v-1zM14 11h-3v6h3v-6zM9 9H6v8h3V9z"}))},dn=function(e){return(0,oe.createElement)("svg",at({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),(0,oe.createElement)("path",{d:"M10.5 1h-1v18h1V1zM8 5H5v10h3V5zM15 5h-3v10h3V5z"}))},mn=function(e){return(0,oe.createElement)("svg",at({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),(0,oe.createElement)("path",{d:"M2 1H1v18h1V1zM6 5H3v10h3V5zM10 5H7v10h3V5z"}))},gn=function(e){return(0,oe.createElement)("svg",at({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),(0,oe.createElement)("path",{d:"M19 1h-1v18h1V1zM13 5h-3v10h3V5zM17 5h-3v10h3V5z"}))},pn=function(e){return(0,oe.createElement)("svg",at({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),(0,oe.createElement)("path",{d:"M20 1h-1v18h1V1zM1 1H0v18h1V1zM5 5H2v10h3V5zM18 5h-3v10h3V5z"}))},hn=function(e){return(0,oe.createElement)("svg",at({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),(0,oe.createElement)("path",{d:"M20 1h-1v18h1V1zM1 1H0v18h1V1zM7 5H4v10h3V5zM16 5h-3v10h3V5z"}))},vn=function(e){return(0,oe.createElement)("svg",at({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),(0,oe.createElement)("path",{d:"M20 1h-1v18h1V1zM1 1H0v18h1V1zM8 5H5v10h3V5zM15 5h-3v10h3V5z"}))},bn=function(e){return(0,oe.createElement)("svg",at({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),(0,oe.createElement)("path",{d:"M19 1H1v1h18V1zM14 3h-3v6h3V3zM9 3H6v8h3V3z"}))},fn=function(e){return(0,oe.createElement)("svg",at({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),(0,oe.createElement)("path",{d:"M19 9.5H1v1h18v-1z"}),(0,oe.createElement)("path",{d:"M14 7h-3v6h3V7zM9 6H6v8h3V6z"}))},yn={"flex-horizontal":[{value:"flex-start",title:(0,T.__)("Start",m.i18n),icon:(0,oe.createElement)(mn,null)},{value:"center",title:(0,T.__)("Center",m.i18n),icon:(0,oe.createElement)(dn,null)},{value:"flex-end",title:(0,T.__)("End",m.i18n),icon:(0,oe.createElement)(gn,null)},{value:"space-between",title:(0,T.__)("Space Between",m.i18n),icon:(0,oe.createElement)(pn,null)},{value:"space-around",title:(0,T.__)("Space Around",m.i18n),icon:(0,oe.createElement)(hn,null)},{value:"space-evenly",title:(0,T.__)("Space Evenly",m.i18n),icon:(0,oe.createElement)(vn,null)}],"flex-horizontal-alt":[{value:"flex-start",title:(0,T.__)("Start",m.i18n),icon:(0,oe.createElement)(mn,null)},{value:"center",title:(0,T.__)("Center",m.i18n),icon:(0,oe.createElement)(dn,null)},{value:"flex-end",title:(0,T.__)("End",m.i18n),icon:(0,oe.createElement)(gn,null)},{value:"space-between",title:(0,T.__)("Space Between",m.i18n),icon:(0,oe.createElement)(pn,null)}],"flex-vertical":[{value:"flex-start",title:(0,T.__)("Start",m.i18n),icon:(0,oe.createElement)(bn,null)},{value:"center",title:(0,T.__)("Center",m.i18n),icon:(0,oe.createElement)(fn,null)},{value:"flex-end",title:(0,T.__)("End",m.i18n),icon:(0,oe.createElement)(un,null)},{value:"stretch",title:(0,T.__)("Stretch",m.i18n),icon:(0,oe.createElement)((function(e){return(0,oe.createElement)("svg",at({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),(0,oe.createElement)("path",{d:"M19 18H1v1h18v-1zM19 1H1v1h18V1zM14 3h-3v14h3V3zM9 3H6v14h3V3z"}))}),null)},{value:"baseline",title:(0,T.__)("Baseline",m.i18n),icon:(0,oe.createElement)((function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),(0,oe.createElement)("path",{d:"M1 14.1h18v1H1zM11.4 11.1h-3l-.6 2H6.5l2.6-8.3h1.7l2.6 8.3H12l-.6-2zm-2.6-1h2.4L10 5.9l-1.2 4.2z"}))}),null)}],"flex-justify-vertical":[{value:"flex-start",title:(0,T.__)("Start",m.i18n),icon:(0,oe.createElement)(bn,null)},{value:"center",title:(0,T.__)("Center",m.i18n),icon:(0,oe.createElement)(fn,null)},{value:"flex-end",title:(0,T.__)("End",m.i18n),icon:(0,oe.createElement)(un,null)},{value:"space-between",title:(0,T.__)("Space Between",m.i18n),icon:(0,oe.createElement)(pn,{style:{transform:"rotate(90deg)"}})},{value:"space-around",title:(0,T.__)("Space Around",m.i18n),icon:(0,oe.createElement)(hn,{style:{transform:"rotate(90deg)"}})},{value:"space-evenly",title:(0,T.__)("Space Evenly",m.i18n),icon:(0,oe.createElement)(vn,{style:{transform:"rotate(90deg)"}})}],horizontal:[{value:"flex-start",title:(0,T.__)("Left",m.i18n),icon:(0,oe.createElement)(mn,null)},{value:"center",title:(0,T.__)("Center",m.i18n),icon:(0,oe.createElement)(dn,null)},{value:"flex-end",title:(0,T.__)("Right",m.i18n),icon:(0,oe.createElement)(gn,null)}],vertical:[{value:"flex-start",title:(0,T.__)("Top",m.i18n),icon:(0,oe.createElement)(bn,null)},{value:"center",title:(0,T.__)("Center",m.i18n),icon:(0,oe.createElement)(fn,null)},{value:"flex-end",title:(0,T.__)("Bottom",m.i18n),icon:(0,oe.createElement)(un,null)}]},kn=e=>{const[t,a]=Qt(e.attribute,e.responsive,e.hover,e.valueCallback,e.changeCallback),[n,i]=la(e),{className:l="",controls:r,fullwidth:o,multiline:s,isToggleOnly:c}=n,d=(0,Z.applyFilters)("stackable.toolbar-control.controls",yn),m="string"==typeof r?d[r]:r,g=rt()({"ugb-toolbar--full-width":o,"ugb-toolbar--multiline":s,"ugb-toolbar--small":e.isSmall}),p=void 0===e.value?t:e.value,h=void 0===e.onChange?a:e.onChange,v=m.every((t=>!(p?p===t.value:e.placeholder===t.value)));return(0,oe.createElement)(ia,at({},i,{className:rt()("ugb-advanced-toolbar-control",l,i.className)}),(0,oe.createElement)(ot.ButtonGroup,{children:m.map(((t,a)=>{const n=e.default||"",i=p?p===t.value:e.placeholder===t.value,l=i?"0":"-1",r={...(0,u.omit)(t,"controls","show"),onClick:()=>{c&&t.value===p||h(t.value!==p?t.value:n)},children:t.icon?null:t.custom||(0,oe.createElement)("span",{className:"ugb-advanced-toolbar-control__text-button"},t.title)};return(0,oe.createElement)(mt,at({key:t.value},r,{label:t.title||e.label,tabindex:v&&0===a?"0":l,disabled:"all"===e.disabled||e.disabled.includes(t.value),isPrimary:i,isSmall:e.isSmall,onKeyDown:e=>{const t=e.target;if(t)if(39===e.keyCode){const e=t.nextElementSibling||t.parentElement.firstElementChild;e.focus(),e.click()}else if(37===e.keyCode){const e=t.previousElementSibling||t.parentElement.lastElementChild;e.focus(),e.click()}}}))})),className:g}),(0,oe.createElement)(oa,{allowReset:e.allowReset,value:p,default:e.default,onChange:h}))};kn.defaultProps={controls:[],multiline:!1,fullwidth:!0,isSmall:!1,isToggleOnly:!1,allowReset:!0,default:"",attribute:"",responsive:!1,hover:!1,value:void 0,onChange:void 0,placeholder:"",disabled:[]};const xn=(0,oe.memo)(kn,u.isEqual),wn=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,oe.createElement)(Ja,at({},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)}}))};wn.defaultProps={label:(0,T.__)("Font Size",m.i18n),value:"",onChange:()=>{},unit:"px",onChangeUnit:()=>{},min:[0,0],max:[150,7],step:[1,.05],units:["px","em"],placeholder:""};const Cn=wn,_n=JSON.parse('[{"family":"ABeeZee","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Abel","variants":["regular"],"subsets":["latin"]},{"family":"Abhaya Libre","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","sinhala"]},{"family":"Aboreto","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Abril Fatface","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Abyssinica SIL","variants":["regular"],"subsets":["ethiopic","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","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext"]},{"family":"Agdasima","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Aguafina Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Akatab","variants":["regular","500","600","700","800","900"],"subsets":["latin","latin-ext","tifinagh"]},{"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":"Akshar","variants":["300","regular","500","600","700"],"subsets":["devanagari","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":["cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Albert 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":"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":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Alex Brush","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Alexandria","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["arabic","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":"Alkalami","variants":["regular"],"subsets":["arabic","latin","latin-ext"]},{"family":"Alkatra","variants":["regular","500","600","700"],"subsets":["bengali","devanagari","latin","latin-ext","oriya"]},{"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":"Alumni Sans Collegiate One","variants":["regular","italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Alumni Sans Inline One","variants":["regular","italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Alumni Sans Pinstripe","variants":["regular","italic"],"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":"Amiri Quran","variants":["regular"],"subsets":["arabic","latin"]},{"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","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Anek Bangla","variants":["100","200","300","regular","500","600","700","800"],"subsets":["bengali","latin","latin-ext"]},{"family":"Anek Devanagari","variants":["100","200","300","regular","500","600","700","800"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Anek Gujarati","variants":["100","200","300","regular","500","600","700","800"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Anek Gurmukhi","variants":["100","200","300","regular","500","600","700","800"],"subsets":["gurmukhi","latin","latin-ext"]},{"family":"Anek Kannada","variants":["100","200","300","regular","500","600","700","800"],"subsets":["kannada","latin","latin-ext"]},{"family":"Anek Latin","variants":["100","200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Anek Malayalam","variants":["100","200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext","malayalam"]},{"family":"Anek Odia","variants":["100","200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext","oriya"]},{"family":"Anek Tamil","variants":["100","200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext","tamil"]},{"family":"Anek Telugu","variants":["100","200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext","telugu"]},{"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":"Anuphan","variants":["100","200","300","regular","500","600","700"],"subsets":["cyrillic-ext","latin","latin-ext","thai","vietnamese"]},{"family":"Anybody","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":"Aoboshi One","variants":["regular"],"subsets":["japanese","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":"Aref Ruqaa Ink","variants":["regular","700"],"subsets":["arabic","latin","latin-ext"]},{"family":"Arima","variants":["100","200","300","regular","500","600","700"],"subsets":["greek","greek-ext","latin","latin-ext","malayalam","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","vietnamese"]},{"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":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Asap Condensed","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"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":"BIZ UDGothic","variants":["regular","700"],"subsets":["cyrillic","greek-ext","japanese","latin","latin-ext"]},{"family":"BIZ UDMincho","variants":["regular","700"],"subsets":["cyrillic","greek-ext","japanese","latin","latin-ext"]},{"family":"BIZ UDPGothic","variants":["regular","700"],"subsets":["cyrillic","greek-ext","japanese","latin","latin-ext"]},{"family":"BIZ UDPMincho","variants":["regular","700"],"subsets":["cyrillic","greek-ext","japanese","latin","latin-ext"]},{"family":"Babylonica","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bacasime Antique","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bad Script","variants":["regular"],"subsets":["cyrillic","latin"]},{"family":"Bagel Fat One","variants":["regular"],"subsets":["korean","latin","latin-ext"]},{"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":["devanagari","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":"Beau Rivage","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bebas Neue","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Belanosima","variants":["regular","600","700"],"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":"BhuTuka Expanded One","variants":["regular"],"subsets":["gurmukhi","latin","latin-ext"]},{"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":["cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Blaka","variants":["regular"],"subsets":["arabic","latin","latin-ext"]},{"family":"Blaka Hollow","variants":["regular"],"subsets":["arabic","latin","latin-ext"]},{"family":"Blaka Ink","variants":["regular"],"subsets":["arabic","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":"Braah One","variants":["regular"],"subsets":["gurmukhi","latin","latin-ext","vietnamese"]},{"family":"Brawler","variants":["regular","700"],"subsets":["latin"]},{"family":"Bree Serif","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bruno Ace","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bruno Ace SC","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":"Bungee Spice","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":"Cairo Play","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","latin-ext"]},{"family":"Candal","variants":["regular"],"subsets":["latin"]},{"family":"Cantarell","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Cantata One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cantora One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Caprasimo","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":"Carlito","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"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":"Castoro Titling","variants":["regular"],"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":"Charis SIL","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"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 Bomb One","variants":["regular"],"subsets":["japanese","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","latin-ext","malayalam"]},{"family":"Chivo","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":"Chivo Mono","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":"Chokokutai","variants":["regular"],"subsets":["japanese","latin","latin-ext","vietnamese"]},{"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":"Climate Crisis","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Coda","variants":["regular","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":"Comme","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext"]},{"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","regular","500","600","700","300italic","italic","500italic","600italic","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":"Crimson Text","variants":["regular","italic","600","600italic","700","700italic"],"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":"Darumadrop One","variants":["regular"],"subsets":["japanese","latin","latin-ext"]},{"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":"Delicious Handrawn","variants":["regular"],"subsets":["latin","latin-ext"]},{"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":["cyrillic-ext","latin","latin-ext","vietnamese"]},{"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":"Diphylleia","variants":["regular"],"subsets":["korean","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":"DynaPuff","variants":["regular","500","600","700"],"subsets":["cyrillic-ext","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","greek","greek-ext","latin","latin-ext"]},{"family":"Edu NSW ACT Foundation","variants":["regular","500","600","700"],"subsets":["latin"]},{"family":"Edu QLD Beginner","variants":["regular","500","600","700"],"subsets":["latin"]},{"family":"Edu SA Beginner","variants":["regular","500","600","700"],"subsets":["latin"]},{"family":"Edu TAS Beginner","variants":["regular","500","600","700"],"subsets":["latin"]},{"family":"Edu VIC WA NT Beginner","variants":["regular","500","600","700"],"subsets":["latin"]},{"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":"Familjen Grotesk","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","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","latin-ext"]},{"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":"Figtree","variants":["300","regular","500","600","700","800","900","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext"]},{"family":"Finger Paint","variants":["regular"],"subsets":["latin"]},{"family":"Finlandica","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"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":["cyrillic-ext","latin","latin-ext","vietnamese"]},{"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":"Foldit","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["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":"Fragment Mono","variants":["regular","italic"],"subsets":["cyrillic-ext","latin","latin-ext"]},{"family":"Francois One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Frank Ruhl Libre","variants":["300","regular","500","600","700","800","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","variants":["300","regular","500","600","700"],"subsets":["hebrew","latin","latin-ext"]},{"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","italic"],"subsets":["cyrillic-ext","latin","latin-ext","vietnamese"]},{"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","latin-ext"]},{"family":"Gaegu","variants":["300","regular","700"],"subsets":["korean","latin"]},{"family":"Gafata","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Gajraj One","variants":["regular"],"subsets":["devanagari","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":"Gantari","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext"]},{"family":"Gasoek One","variants":["regular"],"subsets":["korean","latin","latin-ext"]},{"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 Book Plus","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Gentium Plus","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Geo","variants":["regular","italic"],"subsets":["latin"]},{"family":"Geologica","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"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":"Gloock","variants":["regular"],"subsets":["cyrillic-ext","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":"Golos Text","variants":["regular","500","600","700","800","900"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"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":"Grandiflora One","variants":["regular"],"subsets":["korean","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":"Grape Nuts","variants":["regular"],"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":"Gulzar","variants":["regular"],"subsets":["arabic","latin","latin-ext"]},{"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":"Hanken Grotesk","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Hanuman","variants":["100","300","regular","700","900"],"subsets":["khmer","latin"]},{"family":"Happy Monkey","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Harmattan","variants":["regular","500","600","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":"Hubballi","variants":["regular"],"subsets":["kannada","latin","latin-ext"]},{"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 JP","variants":["100","200","300","regular","500","600","700"],"subsets":["cyrillic","japanese","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":"Ingrid Darling","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"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":"Instrument Sans","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext"]},{"family":"Instrument Serif","variants":["regular","italic"],"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":"Inter Tight","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":"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":"Joan","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","latin-ext"]},{"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":"Kablammo","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","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 Pro","variants":["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],"subsets":["khmer","latin","latin-ext"]},{"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 Pro","variants":["regular"],"subsets":["khmer","latin","latin-ext"]},{"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","latin-ext"]},{"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":"Konkhmer Sleokchher","variants":["regular"],"subsets":["khmer","latin","latin-ext"]},{"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","math"]},{"family":"Kurale","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","devanagari","latin","latin-ext"]},{"family":"La Belle Aurore","variants":["regular"],"subsets":["latin"]},{"family":"Labrada","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":"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":["200","300","regular","500","600","700","800"],"subsets":["arabic","latin","latin-ext"]},{"family":"Lato","variants":["100","100italic","300","300italic","regular","italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Lavishly Yours","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"League Gothic","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"League Script","variants":["regular"],"subsets":["latin"]},{"family":"League Spartan","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"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","latin-ext"]},{"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 Bodoni","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"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","800","900"],"subsets":["arabic","latin","latin-ext"]},{"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":["greek","latin","latin-ext","vietnamese"]},{"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":"Marhey","variants":["300","regular","500","600","700"],"subsets":["arabic","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","cyrillic-ext","latin","latin-ext","vietnamese"]},{"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":"Martian Mono","variants":["100","200","300","regular","500","600","700","800"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Marvel","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Mate","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Mate SC","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Material Icons","variants":["regular"],"subsets":["latin"]},{"family":"Material Icons Outlined","variants":["regular"],"subsets":["latin"]},{"family":"Material Icons Round","variants":["regular"],"subsets":["latin"]},{"family":"Material Icons Sharp","variants":["regular"],"subsets":["latin"]},{"family":"Material Icons Two Tone","variants":["regular"],"subsets":["latin"]},{"family":"Material Symbols Outlined","variants":["100","200","300","regular","500","600","700"],"subsets":["latin"]},{"family":"Material Symbols Rounded","variants":["100","200","300","regular","500","600","700"],"subsets":["latin"]},{"family":"Material Symbols Sharp","variants":["100","200","300","regular","500","600","700"],"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":["300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"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","latin-ext"]},{"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":"Mingzat","variants":["regular"],"subsets":["latin","latin-ext","lepcha"]},{"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":"Moirai One","variants":["regular"],"subsets":["korean","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","latin-ext"]},{"family":"Monomaniac One","variants":["regular"],"subsets":["japanese","latin","latin-ext"]},{"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","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":"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":"Ms Madi","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"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","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"My Soul","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Mynerve","variants":["regular"],"subsets":["greek","latin","latin-ext","vietnamese"]},{"family":"Mystery Quest","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"NTR","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Nabla","variants":["regular"],"subsets":["cyrillic-ext","latin","latin-ext","math","vietnamese"]},{"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":"Narnoor","variants":["regular"],"subsets":["gunjala-gondi","latin","latin-ext"]},{"family":"Neonderthaw","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"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 Color Emoji","variants":["regular"],"subsets":["emoji"]},{"family":"Noto Emoji","variants":["300","regular","500","600","700"],"subsets":["emoji"]},{"family":"Noto Kufi Arabic","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["arabic"]},{"family":"Noto Music","variants":["regular"],"subsets":["latin","latin-ext","music"]},{"family":"Noto Naskh Arabic","variants":["regular","500","600","700"],"subsets":["arabic","latin","latin-ext"]},{"family":"Noto Nastaliq Urdu","variants":["regular","500","600","700"],"subsets":["arabic","latin","latin-ext"]},{"family":"Noto Rashi Hebrew","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Noto Sans","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","devanagari","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Noto Sans Adlam","variants":["regular","500","600","700"],"subsets":["adlam","latin","latin-ext"]},{"family":"Noto Sans Adlam Unjoined","variants":["regular","500","600","700"],"subsets":["adlam","latin","latin-ext"]},{"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","latin","latin-ext"]},{"family":"Noto Sans Avestan","variants":["regular"],"subsets":["avestan","latin","latin-ext"]},{"family":"Noto Sans Balinese","variants":["regular","500","600","700"],"subsets":["balinese","latin","latin-ext"]},{"family":"Noto Sans Bamum","variants":["regular","500","600","700"],"subsets":["bamum","latin","latin-ext"]},{"family":"Noto Sans Bassa Vah","variants":["regular","500","600","700"],"subsets":["bassa-vah","latin","latin-ext"]},{"family":"Noto Sans Batak","variants":["regular"],"subsets":["batak","latin","latin-ext"]},{"family":"Noto Sans Bengali","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["bengali","latin","latin-ext"]},{"family":"Noto Sans Bhaiksuki","variants":["regular"],"subsets":["bhaiksuki"]},{"family":"Noto Sans Brahmi","variants":["regular"],"subsets":["brahmi"]},{"family":"Noto Sans Buginese","variants":["regular"],"subsets":["buginese","latin","latin-ext"]},{"family":"Noto Sans Buhid","variants":["regular"],"subsets":["buhid","latin","latin-ext"]},{"family":"Noto Sans Canadian Aboriginal","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["canadian-aboriginal","latin","latin-ext"]},{"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","latin","latin-ext"]},{"family":"Noto Sans Cham","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["cham","latin","latin-ext"]},{"family":"Noto Sans Cherokee","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["cherokee","latin","latin-ext"]},{"family":"Noto Sans Chorasmian","variants":["regular"],"subsets":["chorasmian","latin","latin-ext"]},{"family":"Noto Sans Coptic","variants":["regular"],"subsets":["coptic","latin","latin-ext"]},{"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","latin","latin-ext"]},{"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","700"],"subsets":["duployan","latin","latin-ext"]},{"family":"Noto Sans Egyptian Hieroglyphs","variants":["regular"],"subsets":["egyptian-hieroglyphs"]},{"family":"Noto Sans Elbasan","variants":["regular"],"subsets":["elbasan","latin","latin-ext"]},{"family":"Noto Sans Elymaic","variants":["regular"],"subsets":["elymaic"]},{"family":"Noto Sans Ethiopic","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["ethiopic","latin","latin-ext"]},{"family":"Noto Sans Georgian","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["georgian","latin","latin-ext"]},{"family":"Noto Sans Glagolitic","variants":["regular"],"subsets":["glagolitic"]},{"family":"Noto Sans Gothic","variants":["regular"],"subsets":["gothic"]},{"family":"Noto Sans Grantha","variants":["regular"],"subsets":["grantha","latin","latin-ext"]},{"family":"Noto Sans Gujarati","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["gujarati","latin","latin-ext"]},{"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","latin","latin-ext"]},{"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","latin","latin-ext"]},{"family":"Noto Sans Hanunoo","variants":["regular"],"subsets":["hanunoo","latin","latin-ext"]},{"family":"Noto Sans Hatran","variants":["regular"],"subsets":["hatran"]},{"family":"Noto Sans Hebrew","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["hebrew","latin","latin-ext"]},{"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","latin","latin-ext"]},{"family":"Noto Sans JP","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["cyrillic","japanese","latin","latin-ext","vietnamese"]},{"family":"Noto Sans Javanese","variants":["regular","500","600","700"],"subsets":["javanese","latin","latin-ext"]},{"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","latin","latin-ext"]},{"family":"Noto Sans Kayah Li","variants":["regular","500","600","700"],"subsets":["kayah-li","latin","latin-ext"]},{"family":"Noto Sans Kharoshthi","variants":["regular"],"subsets":["kharoshthi","latin","latin-ext"]},{"family":"Noto Sans Khmer","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["khmer","latin","latin-ext"]},{"family":"Noto Sans Khojki","variants":["regular"],"subsets":["khojki","latin","latin-ext"]},{"family":"Noto Sans Khudawadi","variants":["regular"],"subsets":["khudawadi"]},{"family":"Noto Sans Lao","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["lao","latin","latin-ext"]},{"family":"Noto Sans Lao Looped","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["lao","latin","latin-ext"]},{"family":"Noto Sans Lepcha","variants":["regular"],"subsets":["latin","latin-ext","lepcha"]},{"family":"Noto Sans Limbu","variants":["regular"],"subsets":["latin","latin-ext","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":["latin","latin-ext","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":["latin","latin-ext","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":["latin","latin-ext","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":["latin","latin-ext","medefaidrin"]},{"family":"Noto Sans Meetei Mayek","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","meetei-mayek"]},{"family":"Noto Sans Mende Kikakui","variants":["regular"],"subsets":["latin","latin-ext","mende-kikakui"]},{"family":"Noto Sans Meroitic","variants":["regular"],"subsets":["latin","latin-ext","meroitic"]},{"family":"Noto Sans Miao","variants":["regular"],"subsets":["latin","latin-ext","miao"]},{"family":"Noto Sans Modi","variants":["regular"],"subsets":["latin","latin-ext","modi"]},{"family":"Noto Sans Mongolian","variants":["regular"],"subsets":["latin","latin-ext","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":["latin","latin-ext","mro"]},{"family":"Noto Sans Multani","variants":["regular"],"subsets":["latin","latin-ext","multani"]},{"family":"Noto Sans Myanmar","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["myanmar"]},{"family":"Noto Sans NKo","variants":["regular"],"subsets":["latin","latin-ext","nko"]},{"family":"Noto Sans Nabataean","variants":["regular"],"subsets":["latin","latin-ext","nabataean"]},{"family":"Noto Sans Nag Mundari","variants":["regular","500","600","700"],"subsets":["latin","latin-ext","nag-mundari"]},{"family":"Noto Sans Nandinagari","variants":["regular"],"subsets":["latin","latin-ext","nandinagari"]},{"family":"Noto Sans New Tai Lue","variants":["regular","500","600","700"],"subsets":["latin","latin-ext","new-tai-lue"]},{"family":"Noto Sans Newa","variants":["regular"],"subsets":["latin","latin-ext","newa"]},{"family":"Noto Sans Nushu","variants":["regular"],"subsets":["latin","latin-ext","nushu"]},{"family":"Noto Sans Ogham","variants":["regular"],"subsets":["ogham"]},{"family":"Noto Sans Ol Chiki","variants":["regular","500","600","700"],"subsets":["latin","latin-ext","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":["latin","latin-ext","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","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","oriya"]},{"family":"Noto Sans Osage","variants":["regular"],"subsets":["latin","latin-ext","osage"]},{"family":"Noto Sans Osmanya","variants":["regular"],"subsets":["latin","latin-ext","osmanya"]},{"family":"Noto Sans Pahawh Hmong","variants":["regular"],"subsets":["latin","latin-ext","pahawh-hmong"]},{"family":"Noto Sans Palmyrene","variants":["regular"],"subsets":["latin","latin-ext","palmyrene"]},{"family":"Noto Sans Pau Cin Hau","variants":["regular"],"subsets":["latin","latin-ext","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":["latin","latin-ext","psalter-pahlavi"]},{"family":"Noto Sans Rejang","variants":["regular"],"subsets":["latin","latin-ext","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":["latin","latin-ext","samaritan"]},{"family":"Noto Sans Saurashtra","variants":["regular"],"subsets":["latin","latin-ext","saurashtra"]},{"family":"Noto Sans Sharada","variants":["regular"],"subsets":["latin","latin-ext","sharada"]},{"family":"Noto Sans Shavian","variants":["regular"],"subsets":["shavian"]},{"family":"Noto Sans Siddham","variants":["regular"],"subsets":["latin","latin-ext","siddham"]},{"family":"Noto Sans SignWriting","variants":["regular"],"subsets":["latin","latin-ext","signwriting"]},{"family":"Noto Sans Sinhala","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","sinhala"]},{"family":"Noto Sans Sogdian","variants":["regular"],"subsets":["latin","latin-ext","sogdian"]},{"family":"Noto Sans Sora Sompeng","variants":["regular","500","600","700"],"subsets":["latin","latin-ext","sora-sompeng"]},{"family":"Noto Sans Soyombo","variants":["regular"],"subsets":["soyombo"]},{"family":"Noto Sans Sundanese","variants":["regular","500","600","700"],"subsets":["latin","latin-ext","sundanese"]},{"family":"Noto Sans Syloti Nagri","variants":["regular"],"subsets":["latin","latin-ext","syloti-nagri"]},{"family":"Noto Sans Symbols","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","symbols"]},{"family":"Noto Sans Symbols 2","variants":["regular"],"subsets":["latin","latin-ext","symbols"]},{"family":"Noto Sans Syriac","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","syriac"]},{"family":"Noto Sans TC","variants":["100","300","regular","500","700","900"],"subsets":["chinese-traditional","latin"]},{"family":"Noto Sans Tagalog","variants":["regular"],"subsets":["latin","latin-ext","tagalog"]},{"family":"Noto Sans Tagbanwa","variants":["regular"],"subsets":["latin","latin-ext","tagbanwa"]},{"family":"Noto Sans Tai Le","variants":["regular"],"subsets":["latin","latin-ext","tai-le"]},{"family":"Noto Sans Tai Tham","variants":["regular","500","600","700"],"subsets":["latin","latin-ext","tai-tham"]},{"family":"Noto Sans Tai Viet","variants":["regular"],"subsets":["latin","latin-ext","tai-viet"]},{"family":"Noto Sans Takri","variants":["regular"],"subsets":["latin","latin-ext","takri"]},{"family":"Noto Sans Tamil","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","tamil"]},{"family":"Noto Sans Tamil Supplement","variants":["regular"],"subsets":["latin","latin-ext","tamil-supplement"]},{"family":"Noto Sans Tangsa","variants":["regular","500","600","700"],"subsets":["latin","latin-ext","tangsa"]},{"family":"Noto Sans Telugu","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","telugu"]},{"family":"Noto Sans Thaana","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","thaana"]},{"family":"Noto Sans Thai","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","thai"]},{"family":"Noto Sans Thai Looped","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","thai"]},{"family":"Noto Sans Tifinagh","variants":["regular"],"subsets":["latin","latin-ext","tifinagh"]},{"family":"Noto Sans Tirhuta","variants":["regular"],"subsets":["tirhuta"]},{"family":"Noto Sans Ugaritic","variants":["regular"],"subsets":["latin","latin-ext","ugaritic"]},{"family":"Noto Sans Vai","variants":["regular"],"subsets":["latin","latin-ext","vai"]},{"family":"Noto Sans Wancho","variants":["regular"],"subsets":["latin","latin-ext","wancho"]},{"family":"Noto Sans Warang Citi","variants":["regular"],"subsets":["latin","latin-ext","warang-citi"]},{"family":"Noto Sans Yi","variants":["regular"],"subsets":["latin","latin-ext","yi"]},{"family":"Noto Sans Zanabazar Square","variants":["regular"],"subsets":["latin","latin-ext","zanabazar-square"]},{"family":"Noto Serif","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 Ahom","variants":["regular"],"subsets":["ahom","latin","latin-ext"]},{"family":"Noto Serif Armenian","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["armenian","latin","latin-ext"]},{"family":"Noto Serif Balinese","variants":["regular"],"subsets":["balinese","latin","latin-ext"]},{"family":"Noto Serif Bengali","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["bengali","latin","latin-ext"]},{"family":"Noto Serif Devanagari","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"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","latin","latin-ext"]},{"family":"Noto Serif Georgian","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["georgian","latin","latin-ext"]},{"family":"Noto Serif Grantha","variants":["regular"],"subsets":["grantha","latin","latin-ext"]},{"family":"Noto Serif Gujarati","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Noto Serif Gurmukhi","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["gurmukhi","latin","latin-ext"]},{"family":"Noto Serif HK","variants":["200","300","regular","500","600","700","800","900"],"subsets":["chinese-hongkong","cyrillic","latin","latin-ext","vietnamese"]},{"family":"Noto Serif Hebrew","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["hebrew","latin","latin-ext"]},{"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","latin","latin-ext"]},{"family":"Noto Serif Khmer","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["khmer","latin","latin-ext"]},{"family":"Noto Serif Khojki","variants":["regular","500","600","700"],"subsets":["khojki","latin","latin-ext"]},{"family":"Noto Serif Lao","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["lao","latin","latin-ext"]},{"family":"Noto Serif Makasar","variants":["regular"],"subsets":["latin","latin-ext","makasar"]},{"family":"Noto Serif Malayalam","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","malayalam"]},{"family":"Noto Serif Myanmar","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["myanmar"]},{"family":"Noto Serif NP Hmong","variants":["regular","500","600","700"],"subsets":["latin","nyiakeng-puachue-hmong"]},{"family":"Noto Serif Oriya","variants":["regular","500","600","700"],"subsets":["latin","latin-ext","oriya"]},{"family":"Noto Serif Ottoman Siyaq","variants":["regular"],"subsets":["latin","latin-ext","ottoman-siyaq-numbers"]},{"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":["latin","latin-ext","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":["latin","latin-ext","tamil"]},{"family":"Noto Serif Tangut","variants":["regular"],"subsets":["latin","latin-ext","tangut"]},{"family":"Noto Serif Telugu","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","telugu"]},{"family":"Noto Serif Thai","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","thai"]},{"family":"Noto Serif Tibetan","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","tibetan"]},{"family":"Noto Serif Toto","variants":["regular","500","600","700"],"subsets":["latin","latin-ext","toto"]},{"family":"Noto Serif Yezidi","variants":["regular","500","600","700"],"subsets":["yezidi"]},{"family":"Noto Traditional Nushu","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","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","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Nuosu SIL","variants":["regular"],"subsets":["latin","latin-ext","yi"]},{"family":"Odibee Sans","variants":["regular"],"subsets":["latin"]},{"family":"Odor Mean Chey","variants":["regular"],"subsets":["khmer","latin"]},{"family":"Offside","variants":["regular"],"subsets":["latin","latin-ext"]},{"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":"Oranienbaum","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Orbit","variants":["regular"],"subsets":["korean","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":"Outfit","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext"]},{"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","latin-ext","myanmar"]},{"family":"Padyakke Expanded One","variants":["regular"],"subsets":["kannada","latin","latin-ext"]},{"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","latin-ext"]},{"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 Extreme","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":"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":"Phudu","variants":["300","regular","500","600","700","800","900"],"subsets":["cyrillic-ext","latin","latin-ext","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","latin-ext","vietnamese"]},{"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","variants":["300","regular","500","600","700","800","900","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","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":"Plus Jakarta Sans","variants":["200","300","regular","500","600","700","800","200italic","300italic","italic","500italic","600italic","700italic","800italic"],"subsets":["cyrillic-ext","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":"Poltawski Nowy","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Poly","variants":["regular","italic"],"subsets":["latin"]},{"family":"Pompiere","variants":["regular"],"subsets":["latin"]},{"family":"Pontano Sans","variants":["300","regular","500","600","700"],"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","vietnamese"]},{"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":"Qwitcher Grypen","variants":["regular","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Racing Sans One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Radio Canada","variants":["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],"subsets":["canadian-aboriginal","latin","latin-ext","vietnamese"]},{"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","latin-ext","vietnamese"]},{"family":"Reem Kufi Fun","variants":["regular","500","600","700"],"subsets":["arabic","latin","latin-ext","vietnamese"]},{"family":"Reem Kufi Ink","variants":["regular"],"subsets":["arabic","latin","latin-ext","vietnamese"]},{"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 Flex","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","greek","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 Serif","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":"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","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"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":["arabic","cyrillic","cyrillic-ext","hebrew","latin","latin-ext"]},{"family":"Rubik 80s Fade","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"]},{"family":"Rubik Beastly","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"]},{"family":"Rubik Bubbles","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"]},{"family":"Rubik Burned","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"]},{"family":"Rubik Dirt","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"]},{"family":"Rubik Distressed","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"]},{"family":"Rubik Gemstones","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"]},{"family":"Rubik Glitch","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"]},{"family":"Rubik Iso","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"]},{"family":"Rubik Marker Hatch","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"]},{"family":"Rubik Maze","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"]},{"family":"Rubik Microbe","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"]},{"family":"Rubik Mono One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Rubik Moonrocks","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"]},{"family":"Rubik Pixels","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"]},{"family":"Rubik Puddles","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"]},{"family":"Rubik Spray Paint","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"]},{"family":"Rubik Storm","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"]},{"family":"Rubik Vinyl","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"]},{"family":"Rubik Wet Paint","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","hebrew","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","500","600","700"],"subsets":["arabic","latin","latin-ext"]},{"family":"Schibsted Grotesk","variants":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["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":"Send Flowers","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"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":"Shantell Sans","variants":["300","regular","500","600","700","800","300italic","italic","500italic","600italic","700italic","800italic"],"subsets":["cyrillic","cyrillic-ext","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","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"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":"Silkscreen","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"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":"Slackside One","variants":["regular"],"subsets":["japanese","latin","latin-ext"]},{"family":"Smokum","variants":["regular"],"subsets":["latin"]},{"family":"Smooch","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Smooch Sans","variants":["100","200","300","regular","500","600","700","800","900"],"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":"Sofia Sans","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext"]},{"family":"Sofia Sans Condensed","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext"]},{"family":"Sofia Sans Extra Condensed","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext"]},{"family":"Sofia Sans Semi Condensed","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext"]},{"family":"Solitreo","variants":["regular"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Solway","variants":["300","regular","500","700","800"],"subsets":["latin"]},{"family":"Song Myung","variants":["regular"],"subsets":["korean","latin"]},{"family":"Sono","variants":["200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext","vietnamese"]},{"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 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":"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":"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":"Splash","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Spline Sans","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext"]},{"family":"Spline Sans Mono","variants":["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext"]},{"family":"Squada One","variants":["regular"],"subsets":["latin"]},{"family":"Square Peg","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"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","latin-ext"]},{"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":["greek","latin","latin-ext"]},{"family":"Syne Mono","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Syne Tactile","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Tai Heritage Pro","variants":["regular","700"],"subsets":["latin","latin-ext","tai-viet","vietnamese"]},{"family":"Tajawal","variants":["200","300","regular","500","700","800","900"],"subsets":["arabic","latin"]},{"family":"Tangerine","variants":["regular","700"],"subsets":["latin"]},{"family":"Tapestry","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"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":"Tilt Neon","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Tilt Prism","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Tilt Warp","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"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":"Tiro Bangla","variants":["regular","italic"],"subsets":["bengali","latin","latin-ext"]},{"family":"Tiro Devanagari Hindi","variants":["regular","italic"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Tiro Devanagari Marathi","variants":["regular","italic"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Tiro Devanagari Sanskrit","variants":["regular","italic"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Tiro Gurmukhi","variants":["regular","italic"],"subsets":["gurmukhi","latin","latin-ext"]},{"family":"Tiro Kannada","variants":["regular","italic"],"subsets":["kannada","latin","latin-ext"]},{"family":"Tiro Tamil","variants":["regular","italic"],"subsets":["latin","latin-ext","tamil"]},{"family":"Tiro Telugu","variants":["regular","italic"],"subsets":["latin","latin-ext","telugu"]},{"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":"Tsukimi Rounded","variants":["300","regular","500","600","700"],"subsets":["japanese","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":"Unbounded","variants":["200","300","regular","500","600","700","800","900"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"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","vietnamese"]},{"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","latin-ext"]},{"family":"Unna","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Updock","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"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":"Vazirmatn","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["arabic","latin","latin-ext"]},{"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":"Vina Sans","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"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","latin-ext","vietnamese"]},{"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":"Water Brush","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"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":"Whisper","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"WindSong","variants":["regular","500"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Wire One","variants":["regular"],"subsets":["latin"]},{"family":"Wix Madefor Display","variants":["regular","500","600","700","800"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Wix Madefor Text","variants":["regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"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":"Ysabeau","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Ysabeau Infant","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Ysabeau Office","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Ysabeau SC","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","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","500","600","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}))),Sn=e=>{const t=(0,oe.useMemo)((()=>(0,Z.applyFilters)("stackable.font-family-control.options",[{id:"system-fonts",title:(0,T.__)("System Fonts",m.i18n),options:[{label:(0,T.__)("Sans-Serif",m.i18n),value:"Sans-Serif"},{label:(0,T.__)("Serif",m.i18n),value:"Serif"},{label:(0,T.__)("Serif Alternative",m.i18n),value:"Serif-Alt"},{label:(0,T.__)("Monospace",m.i18n),value:"Monospace"}]},{id:"google-fonts",title:(0,T.__)("Google Fonts",m.i18n),options:_n}])),[]);return(0,oe.createElement)(cn,at({options:t,highlightValueOnFocus:!0},e,{onChange:t=>{_n.some((e=>e.value===t&&(v(t),!0))),e.onChange(t)}}))};Sn.defaultProps={onChange:()=>{},label:(0,T.__)("Font Family",m.i18n),value:""};const En=Sn;function Tn(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 Bn(e,t){if(e){if("string"==typeof e)return Tn(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)?Tn(e,t):void 0}}function Mn(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,o=!1;try{for(a=a.call(e);!(r=(n=a.next()).done)&&(l.push(n.value),!t||l.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return l}}(e,t)||Bn(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 Nn(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function In(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){Nn(e,t,a[t])}))}return e}function Rn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function An(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 On(e,t,a){return t&&An(e.prototype,t),a&&An(e,a),e}function Pn(e){return Pn="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},Pn(e)}function Hn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ln(e,t){if(t&&("object"===Pn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Hn(e)}function zn(e){return zn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},zn(e)}function Fn(e,t){return Fn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Fn(e,t)}function Dn(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&&Fn(e,t)}var $n=a(1143),Un=a.n($n);var Vn=a(5697),Wn=a.n(Vn),Gn=function(){function e(){Rn(this,e),Nn(this,"refs",{})}return On(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(jn)}}]),e}();function jn(e,t){return e.node.sortableInfo.index-t.node.sortableInfo.index}function qn(e,t){return Object.keys(e).reduce((function(a,n){return-1===t.indexOf(n)&&(a[n]=e[n]),a}),{})}var Kn={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},Jn=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 Yn(e,t){Object.keys(t).forEach((function(a){e.style[a]=t[a]}))}function Xn(e,t){e.style["".concat(Jn,"Transform")]=null==t?"":"translate3d(".concat(t.x,"px,").concat(t.y,"px,0)")}function Zn(e,t){e.style["".concat(Jn,"TransitionDuration")]=null==t?"":"".concat(t,"ms")}function Qn(e,t){for(;e;){if(t(e))return e;e=e.parentNode}return null}function ei(e,t,a){return Math.max(e,Math.min(a,t))}function ti(e){return"px"===e.substr(-2)?parseFloat(e):0}function ai(e){var t=window.getComputedStyle(e);return{bottom:ti(t.marginBottom),left:ti(t.marginLeft),right:ti(t.marginRight),top:ti(t.marginTop)}}function ni(e,t){var a=t.displayName||t.name;return a?"".concat(e,"(").concat(a,")"):e}function ii(e,t){var a=e.getBoundingClientRect();return{top:a.top+t.top,left:a.left+t.left}}function li(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 ri(e){return e.touches&&e.touches.length||e.changedTouches&&e.changedTouches.length}function oi(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:oi(e.parentNode,t,n)}}function si(e,t,a){return e<a&&e>t?e-1:e>a&&e<t?e+1:e}function ci(e){var t=e.lockOffset,a=e.width,n=e.height,i=t,l=t,r="px";if("string"==typeof t){var o=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(t);Un()(null!==o,'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=o[1]}return Un()(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 ui(e){var t=e.height,a=e.width,n=e.lockOffset,i=Array.isArray(n)?n:[n,n];Un()(2===i.length,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",n);var l=Mn(i,2),r=l[0],o=l[1];return[ci({height:t,lockOffset:r,width:a}),ci({height:t,lockOffset:o,width:a})]}function di(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:di(e.parentNode):null}function mi(e){var t=window.getComputedStyle(e);return"grid"===t.display?{x:ti(t.gridColumnGap),y:ti(t.gridRowGap)}:{x:0,y:0}}var gi="BUTTON",pi="INPUT",hi="OPTION",vi="TEXTAREA",bi="SELECT";function fi(e){var t,a="input, textarea, select, canvas, [contenteditable]",n=e.querySelectorAll(a),i=e.cloneNode(!0);return(t=i.querySelectorAll(a),function(e){if(Array.isArray(e))return Tn(e)}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||Bn(t)||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.")}()).forEach((function(e,t){"file"!==e.type&&(e.value=n[t].value),"radio"===e.type&&e.name&&(e.name="__sortableClone__".concat(e.name)),"CANVAS"===e.tagName&&n[t].width>0&&n[t].height>0&&e.getContext("2d").drawImage(n[t],0,0)})),i}function yi(e){return null!=e.sortableHandle}var ki=function(){function e(t,a){Rn(this,e),this.container=t,this.onScrollCallback=a}return On(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,o={x:0,y:0},s={x:1,y:1},c=this.container,u=c.scrollTop,d=c.scrollLeft,m=c.scrollHeight,g=c.scrollWidth,p=0===u,h=m-u-c.clientHeight==0,v=0===d,b=g-d-c.clientWidth==0;a.y>=i.y-r/2&&!h?(o.y=1,s.y=10*Math.abs((i.y-r/2-a.y)/r)):a.x>=i.x-l/2&&!b?(o.x=1,s.x=10*Math.abs((i.x-l/2-a.x)/l)):a.y<=n.y+r/2&&!p?(o.y=-1,s.y=10*Math.abs((a.y-r/2-n.y)/r)):a.x<=n.x+l/2&&!v&&(o.x=-1,s.x=10*Math.abs((a.x-l/2-n.x)/l)),this.interval&&(this.clear(),this.isAutoScrolling=!1),0===o.x&&0===o.y||(this.interval=setInterval((function(){t.isAutoScrolling=!0;var e={left:s.x*o.x,top:s.y*o.y};t.container.scrollTop+=e.top,t.container.scrollLeft+=e.left,t.onScrollCallback(e)}),5))}}]),e}(),xi={axis:Wn().oneOf(["x","y","xy"]),contentWindow:Wn().any,disableAutoscroll:Wn().bool,distance:Wn().number,getContainer:Wn().func,getHelperDimensions:Wn().func,helperClass:Wn().string,helperContainer:Wn().oneOfType([Wn().func,"undefined"==typeof HTMLElement?Wn().any:Wn().instanceOf(HTMLElement)]),hideSortableGhost:Wn().bool,keyboardSortingTransitionDuration:Wn().number,lockAxis:Wn().string,lockOffset:Wn().oneOfType([Wn().number,Wn().string,Wn().arrayOf(Wn().oneOfType([Wn().number,Wn().string]))]),lockToContainerEdges:Wn().bool,onSortEnd:Wn().func,onSortMove:Wn().func,onSortOver:Wn().func,onSortStart:Wn().func,pressDelay:Wn().number,pressThreshold:Wn().number,keyCodes:Wn().shape({lift:Wn().arrayOf(Wn().number),drop:Wn().arrayOf(Wn().number),cancel:Wn().arrayOf(Wn().number),up:Wn().arrayOf(Wn().number),down:Wn().arrayOf(Wn().number)}),shouldCancelStart:Wn().func,transitionDuration:Wn().number,updateBeforeSortStart:Wn().func,useDragHandle:Wn().bool,useWindowAsScrollContainer:Wn().bool},wi={lift:[32],drop:[32],cancel:[27],up:[38,37],down:[40,39]},Ci={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:wi,shouldCancelStart:function(e){return-1!==[pi,vi,bi,hi,gi].indexOf(e.target.tagName)||!!Qn(e.target,(function(e){return"true"===e.contentEditable}))},transitionDuration:300,useWindowAsScrollContainer:!1},_i=Object.keys(xi);function Si(e){Un()(!(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 Ei(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 Ti=(0,nt.createContext)({manager:{}}),Bi={index:Wn().number.isRequired,collection:Wn().oneOfType([Wn().number,Wn().string]),disabled:Wn().bool},Mi=Object.keys(Bi);const Ni=function(e){var t,a,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return a=t=function(t){function a(e){var t;Rn(this,a),Nn(Hn(Hn(t=Ln(this,zn(a).call(this,e)))),"state",{}),Nn(Hn(Hn(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=li(e);var l=Qn(e.target,(function(e){return null!=e.sortableInfo}));if(l&&l.sortableInfo&&t.nodeIsChild(l)&&!t.state.sorting){var r=t.props.useDragHandle,o=l.sortableInfo,s=o.index,c=o.collection;if(o.disabled)return;if(r&&!Qn(e.target,yi))return;t.manager.active={collection:c,index:s},ri(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))}}})),Nn(Hn(Hn(t)),"nodeIsChild",(function(e){return e.sortableInfo.manager===t.manager})),Nn(Hn(Hn(t)),"handleMove",(function(e){var a=t.props,n=a.distance,i=a.pressThreshold;if(!t.state.sorting&&t.touched&&!t._awaitingUpdateBeforeSortStart){var l=li(e),r={x:t.position.x-l.x,y:t.position.y-l.y},o=Math.abs(r.x)+Math.abs(r.y);t.delta=r,n||i&&!(o>=i)?n&&o>=n&&t.manager.isActive()&&t.handlePress(e):(clearTimeout(t.cancelTimer),t.cancelTimer=setTimeout(t.cancel,0))}})),Nn(Hn(Hn(t)),"handleEnd",(function(){t.touched=!1,t.cancel()})),Nn(Hn(Hn(t)),"cancel",(function(){var e=t.props.distance;t.state.sorting||(e||clearTimeout(t.pressTimer),t.manager.active=null)})),Nn(Hn(Hn(t)),"handlePress",(function(e){try{var a=t.manager.getActive(),n=function(){if(a){var n=function(){var a=m.sortableInfo.index,n=ai(m),i=mi(t.container),c=t.scrollContainer.getBoundingClientRect(),h=r({index:a,node:m,collection:g});if(t.node=m,t.margin=n,t.gridGap=i,t.width=h.width,t.height=h.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=c,t.index=a,t.newIndex=a,t.axis={x:l.indexOf("x")>=0,y:l.indexOf("y")>=0},t.offsetEdge=oi(m,t.container),t.initialOffset=li(p?In({},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(fi(m)),Yn(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")}),p&&t.helper.focus(),s&&(t.sortableGhost=m,Yn(m,{opacity:0,visibility:"hidden"})),t.minTranslate={},t.maxTranslate={},p){var v=d?{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,x=f+y;t.axis.x&&(t.minTranslate.x=f-t.boundingClientRect.left,t.maxTranslate.x=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=(d?0:c.left)-t.boundingClientRect.left-t.width/2,t.maxTranslate.x=(d?t.contentWindow.innerWidth:c.left+c.width)-t.boundingClientRect.left-t.width/2),t.axis.y&&(t.minTranslate.y=(d?0:c.top)-t.boundingClientRect.top-t.height/2,t.maxTranslate.y=(d?t.contentWindow.innerHeight:c.top+c.height)-t.boundingClientRect.top-t.height/2);o&&o.split(" ").forEach((function(e){return t.helper.classList.add(e)})),t.listenerNode=e.touches?e.target:t.contentWindow,p?(t.listenerNode.addEventListener("wheel",t.handleKeyEnd,!0),t.listenerNode.addEventListener("mousedown",t.handleKeyEnd,!0),t.listenerNode.addEventListener("keydown",t.handleKeyDown)):(Kn.move.forEach((function(e){return t.listenerNode.addEventListener(e,t.handleSortMove,!1)})),Kn.end.forEach((function(e){return t.listenerNode.addEventListener(e,t.handleSortEnd,!1)}))),t.setState({sorting:!0,sortingIndex:a}),u&&u({node:m,index:a,collection:g,isKeySorting:p,nodes:t.manager.getOrderedRefs(),helper:t.helper},e),p&&t.keyMove(0)},i=t.props,l=i.axis,r=i.getHelperDimensions,o=i.helperClass,s=i.hideSortableGhost,c=i.updateBeforeSortStart,u=i.onSortStart,d=i.useWindowAsScrollContainer,m=a.node,g=a.collection,p=t.manager.isKeySorting,h=function(){if("function"==typeof c){t._awaitingUpdateBeforeSortStart=!0;var a=Ei((function(){var t=m.sortableInfo.index;return Promise.resolve(c({collection:g,index:t,node:m,isKeySorting:p},e)).then((function(){}))}),(function(e,a){if(t._awaitingUpdateBeforeSortStart=!1,e)throw a;return a}));if(a&&a.then)return a.then((function(){}))}}();return h&&h.then?h.then(n):n()}}();return Promise.resolve(n&&n.then?n.then((function(){})):void 0)}catch(e){return Promise.reject(e)}})),Nn(Hn(Hn(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)})),Nn(Hn(Hn(t)),"handleSortEnd",(function(e){var a=t.props,n=a.hideSortableGhost,i=a.onSortEnd,l=t.manager,r=l.active.collection,o=l.isKeySorting,s=t.manager.getOrderedRefs();t.listenerNode&&(o?(t.listenerNode.removeEventListener("wheel",t.handleKeyEnd,!0),t.listenerNode.removeEventListener("mousedown",t.handleKeyEnd,!0),t.listenerNode.removeEventListener("keydown",t.handleKeyDown)):(Kn.move.forEach((function(e){return t.listenerNode.removeEventListener(e,t.handleSortMove)})),Kn.end.forEach((function(e){return t.listenerNode.removeEventListener(e,t.handleSortEnd)})))),t.helper.parentNode.removeChild(t.helper),n&&t.sortableGhost&&Yn(t.sortableGhost,{opacity:"",visibility:""});for(var c=0,u=s.length;c<u;c++){var d=s[c],m=d.node;d.edgeOffset=null,d.boundingClientRect=null,Xn(m,null),Zn(m,null),d.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:o,nodes:s},e),t.touched=!1})),Nn(Hn(Hn(t)),"autoscroll",(function(){var e=t.props.disableAutoscroll,a=t.manager.isKeySorting;if(e)t.autoScroller.clear();else{if(a){var n=In({},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,Xn(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})}})),Nn(Hn(Hn(t)),"onAutoScroll",(function(e){t.translate.x+=e.left,t.translate.y+=e.top,t.animateNodes()})),Nn(Hn(Hn(t)),"handleKeyDown",(function(e){var a=e.keyCode,n=t.props,i=n.shouldCancelStart,l=n.keyCodes,r=In({},wi,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))})),Nn(Hn(Hn(t)),"keyLift",(function(e){var a=e.target,n=Qn(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)})),Nn(Hn(Hn(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=si(t.newIndex,t.prevIndex,t.index),o=a.find((function(e){return e.node.sortableInfo.index===r})),s=o.node,c=t.containerScrollDelta,u=o.boundingClientRect||ii(s,c),d=o.translate||{x:0,y:0},m=u.top+d.y-c.top,g=u.left+d.x-c.left,p=l<i,h=p&&t.axis.x?s.offsetWidth-t.width:0,v=p&&t.axis.y?s.offsetHeight-t.height:0;t.handleSortMove({pageX:g+h,pageY:m+v,ignoreTransition:0===e})}})),Nn(Hn(Hn(t)),"keyDrop",(function(e){t.handleSortEnd(e),t.initialFocusedNode&&t.initialFocusedNode.focus()})),Nn(Hn(Hn(t)),"handleKeyEnd",(function(e){t.manager.active&&t.keyDrop(e)})),Nn(Hn(Hn(t)),"isValidSortingTarget",(function(e){var a=t.props.useDragHandle,n=e.target,i=Qn(n,(function(e){return null!=e.sortableInfo}));return i&&i.sortableInfo&&!i.sortableInfo.disabled&&(a?yi(n):n.sortableInfo)}));var n=new Gn;return Si(e),t.manager=n,t.wrappedInstance=(0,nt.createRef)(),t.sortableContextValue={manager:n},t.events={end:t.handleEnd,move:t.handleMove,start:t.handleStart},t}return Dn(a,t),On(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:di(e.container)||e.container,e.autoScroller=new ki(e.scrollContainer,e.onAutoScroll),Object.keys(e.events).forEach((function(t){return Kn[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 Kn[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,o=void 0===r?l:r,s=this.manager.isKeySorting,c=e.ignoreTransition,u=li(e),d={x:u.x-this.initialOffset.x,y:u.y-this.initialOffset.y};if(d.y-=window.pageYOffset-this.initialWindowScroll.top,d.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=d,i){var m=Mn(ui({height:this.height,lockOffset:n,width:this.width}),2),g=m[0],p=m[1],h={x:this.width/2-g.x,y:this.height/2-g.y},v={x:this.width/2-p.x,y:this.height/2-p.y};d.x=ei(this.minTranslate.x+h.x,this.maxTranslate.x-v.x,d.x),d.y=ei(this.minTranslate.y+h.y,this.maxTranslate.y-v.y,d.y)}"x"===a?d.y=0:"y"===a&&(d.x=0),s&&o&&!c&&Zn(this.helper,o),Xn(this.helper,d)}},{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(),o=this.offsetEdge.left+this.translate.x+i.left,s=this.offsetEdge.top+this.translate.y+i.top,c=this.manager.isKeySorting,u=this.newIndex;this.newIndex=null;for(var d=0,m=r.length;d<m;d++){var g=r[d].node,p=g.sortableInfo.index,h=g.offsetWidth,v=g.offsetHeight,b={height:this.height>v?v/2:this.height/2,width:this.width>h?h/2:this.width/2},f=c&&p>this.index&&p<=u,y=c&&p<this.index&&p>=u,k={x:0,y:0},x=r[d].edgeOffset;x||(x=oi(g,this.container),r[d].edgeOffset=x,c&&(r[d].boundingClientRect=ii(g,i)));var w=d<r.length-1&&r[d+1],C=d>0&&r[d-1];w&&!w.edgeOffset&&(w.edgeOffset=oi(w.node,this.container),c&&(w.boundingClientRect=ii(w.node,i))),p!==this.index?(t&&Zn(g,t),this.axis.x?this.axis.y?y||p<this.index&&(o+l.left-b.width<=x.left&&s+l.top<=x.top+b.height||s+l.top+b.height<=x.top)?(k.x=this.width+this.marginOffset.x,x.left+k.x>this.containerBoundingRect.width-b.width&&w&&(k.x=w.edgeOffset.left-x.left,k.y=w.edgeOffset.top-x.top),null===this.newIndex&&(this.newIndex=p)):(f||p>this.index&&(o+l.left+b.width>=x.left&&s+l.top+b.height>=x.top||s+l.top+b.height>=x.top+v))&&(k.x=-(this.width+this.marginOffset.x),x.left+k.x<this.containerBoundingRect.left+b.width&&C&&(k.x=C.edgeOffset.left-x.left,k.y=C.edgeOffset.top-x.top),this.newIndex=p):f||p>this.index&&o+l.left+b.width>=x.left?(k.x=-(this.width+this.marginOffset.x),this.newIndex=p):(y||p<this.index&&o+l.left<=x.left+b.width)&&(k.x=this.width+this.marginOffset.x,null==this.newIndex&&(this.newIndex=p)):this.axis.y&&(f||p>this.index&&s+l.top+b.height>=x.top?(k.y=-(this.height+this.marginOffset.y),this.newIndex=p):(y||p<this.index&&s+l.top<=x.top+b.height)&&(k.y=this.height+this.marginOffset.y,null==this.newIndex&&(this.newIndex=p))),Xn(g,k),r[d].translate=k):a&&(this.sortableGhost=g,Yn(g,{opacity:0,visibility:"hidden"}))}null==this.newIndex&&(this.newIndex=this.index),c&&(this.newIndex=u);var _=c?this.prevIndex:u;n&&this.newIndex!==_&&n({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:_,isKeySorting:c,nodes:r,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return Un()(n.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,oe.findDOMNode)(this):e(n.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var t=n.withRef?this.wrappedInstance:null;return(0,nt.createElement)(Ti.Provider,{value:this.sortableContextValue},(0,nt.createElement)(e,at({ref:t},qn(this.props,_i))))}},{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}(nt.Component),Nn(t,"displayName",ni("sortableList",e)),Nn(t,"defaultProps",Ci),Nn(t,"propTypes",xi),a}((e=>{let{children:t}=e;return(0,oe.createElement)("div",{className:"ugb-sort-control__container"},t)})),Ii=function(e){var t,a,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return a=t=function(t){function a(){var e,t;Rn(this,a);for(var n=arguments.length,i=new Array(n),l=0;l<n;l++)i[l]=arguments[l];return Nn(Hn(Hn(t=Ln(this,(e=zn(a)).call.apply(e,[this].concat(i))))),"wrappedInstance",(0,nt.createRef)()),t}return Dn(a,t),On(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,i=(0,oe.findDOMNode)(this);i.sortableInfo={collection:t,disabled:a,index:n,manager:this.context.manager},this.node=i,this.ref={node:i},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 Un()(n.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=n.withRef?this.wrappedInstance:null;return(0,nt.createElement)(e,at({ref:t},qn(this.props,Mi)))}}]),a}(nt.Component),Nn(t,"displayName",ni("sortableElement",e)),Nn(t,"contextType",Ti),Nn(t,"propTypes",Bi),Nn(t,"defaultProps",{collection:0}),a}((e=>{let{value:t,key:a,index:n,...i}=e;return(0,oe.createElement)("div",at({className:"ugb-sort-control__item"},i),t)}));let Ri=!1;const Ai=(0,oe.memo)((e=>{const[t,a]=Qt(e.attribute,e.responsive,e.hover),[n,i]=la(e);let l=void 0===e.values?t:Array.isArray(e.values)?[...e.values]:"string"==typeof e.values?e.values.split(","):t;for(l=l?l.splice(0,e.num):(0,u.range)(e.num).map((e=>e+1));l.length<e.num;)l.push(l.length+1);const r=void 0===e.onChange?a:e.onChange,o=(0,u.range)(e.num).map((e=>(e+1).toString())),s=l.map((e=>e.toString()));return(0,oe.createElement)(aa,at({},i,{className:rt()(["ugb-sort-control",e.className,`ugb-sort-control--axis-${e.axis}`])}),(0,oe.createElement)(Ni,at({},n,{onSortStart:()=>Ri=!0,onSortOver:t=>{let{newIndex:a}=t;e.onHover(a)},onSortEnd:e=>{let{oldIndex:t,newIndex:a}=e;Ri=!1;const n=((e,t,a)=>(e.splice(t<a?a+1:a,0,e[t]),e.splice(t<a?t:t+1,1),e))(l,t,a);(0,u.isEqual)(n.map((e=>e.toString())),o)?r("",{oldIndex:0,newIndex:0}):r([...n],{oldIndex:t,newIndex:a})},axis:e.axis}),l.map(((t,a)=>(0,oe.createElement)(Ii,{key:a,index:a,value:t,onMouseEnter:()=>{Ri||e.onHover(a)},onMouseLeave:()=>{Ri||e.onHover(null)}})))),(0,oe.createElement)(oa,{allowReset:e.allowReset,showReset:!(0,u.isEqual)(s,o),value:l,default:e.default,onChange:()=>r("",{oldIndex:0,newIndex:0})}))}));Ai.defaultProps={className:"",help:"",label:(0,T.__)("Column Arrangement",m.i18n),num:2,axis:"x",values:null,onChange:()=>{},onHover:()=>{},hasReset:!1};const Oi=Ai;function Pi(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 Hi(e,t){void 0===t&&(t=null);const[,a]=(0,oe.useState)(),n=Li.getState(e,t),i=n.getValue();function l(){a({})}return(0,oe.useEffect)((function(){return n.subscribe(l),function(){n.unsubscribe(l)}})),[i,function(e){n.setValue(e)}]}const Li=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 Pi(t)}},zi=(0,oe.createElement)(pt,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,oe.createElement)(gt,{d:"M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"})),Fi=(0,oe.createElement)(pt,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,oe.createElement)(gt,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"})),Di=()=>{},$i=(0,u.debounce)((e=>{e&&e.getBoundingClientRect().top<200&&e.scrollIntoView({inline:"start",block:"start",behavior:"instant"})}),0,{leading:!1,trailing:!0}),Ui=(0,oe.forwardRef)(((e,t)=>{let{isOpened:a,icon:n,title:i,isPremiumPanel:l,showModifiedIndicator:r,checked:o,hasToggle:s,onChange:c,setIsOpened:u,...d}=e;return i?(0,oe.createElement)("h2",{className:"components-panel__body-title"},(0,oe.createElement)(ot.Button,at({className:"components-panel__body-toggle","aria-expanded":a,ref:t},d),(0,oe.createElement)("span",{"aria-hidden":"true"},(0,oe.createElement)(ot.Icon,{className:"components-panel__arrow",icon:a?zi:Fi})),s&&(0,oe.createElement)(ot.FormToggle,{className:"ugb-toggle-panel-form-toggle",checked:o,onClick:e=>{e.stopPropagation(),e.preventDefault(),o&&a||o||a||u((e=>!e)),c&&c(!o)},"aria-describedby":i}),i,(0,oe.createElement)("span",{className:rt()(["stk-panel-modified-indicator",{"stk--visible":r}])}),l&&(0,oe.createElement)("div",{className:"stk-pulsating-circle"}),n&&(0,oe.createElement)(ot.Icon,{icon:n,className:"components-panel__icon",size:20}))):null})),Vi=(0,oe.forwardRef)(((e,t)=>{let{buttonProps:a={},children:n,className:i,icon:l,initialOpen:r,onToggle:o=Di,isOpen:s=null,title:c,id:u="",checked:d,hasToggle:m,onChange:g=Di,isPremiumPanel:p=!1,showModifiedIndicator:h=!1}=e;const{name:v}=(0,ae.useBlockEditContext)(),[b,f]=Hi(`panelCache-${v}-${u}-${c}`,void 0!==r&&r),y=null===s?b:s,k=(0,oe.useRef)(),x=rt()("components-panel__body","ugb-toggle-panel-body",i,{"is-opened":y,[`ugb-panel--${u}`]:u,"stk--premium-panel":p});return(0,oe.createElement)("div",{className:x,ref:(0,zt.useMergeRefs)([k,t])},(0,oe.createElement)(Ui,at({icon:l,isOpened:y,onClick:e=>{e.preventDefault();const t=!y;f(t),o(t),t?setTimeout((()=>{$i(k.current)}),0):$i(k.current)},title:c,checked:d,hasToggle:void 0===m?!!g:m,onChange:g,setIsOpened:f,isPremiumPanel:p,showModifiedIndicator:h},a)),"function"==typeof n?n({opened:!0}):n)}));Vi.displayName="PanelBody";const Wi=Vi,Gi=(0,oe.memo)((e=>(0,oe.createElement)(Wi,e)));Gi.defaultProps={id:"",className:"",title:(0,T.__)("Settings",m.i18n),checked:!1,onChange:null,initialOpen:!1,hasToggle:!1,onToggle:()=>{},isOpen:null};const ji=Gi,qi=function(e){const{block:t="all",options:a=(0,Z.applyFilters)(`stackable.${t}.edit.templates`,e.options||[]),className:n="",title:i=(0,T.__)("Designs",m.i18n),help:l=(0,T.__)("Pick a design to start from, this will override your block settings",m.i18n)}=e,r=rt()(["ugb-panel-design-settings",n]);if(!a.length)return null;const o=a.map(((e,t)=>({...e,value:t})));return(0,oe.createElement)(hl,at({},(0,u.omit)(e,["options"]),{selectedOptionInTitle:!1,title:i,className:r,help:l}),a&&(0,oe.createElement)(fl,at({},(0,u.omit)(e,["help","title"]),{options:o,onChange:e=>{const t=a[e].value,n=(0,te.select)("core/block-editor").getBlockSelectionStart();(0,te.dispatch)("core/block-editor").updateBlockAttributes(n,t)}})),e.children)},Ki=e=>{const t=rt()(["ugb-inspector-panel-controls",`ugb-panel-${e.tab}`]);return(0,oe.createElement)("div",{className:t},e.children)};Ki.defaultProps={tab:"layout"};const Ji=Ki,Yi=wp.apiFetch;var Xi=a.n(Yi);const Zi="v3";let Qi=null,el=[];const tl=e=>e.replace(/^[\w-]+\//,""),al=async function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(!Qi||e){const t=await Xi()({path:"/stackable/v2/design_library"+(e?"/reset":""),method:"GET"});Qi=await t,e&&((0,Z.doAction)("stackable.design-library.reset-cache"),el=[])}return Qi[t||Zi]},nl=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(!el[e]){const a=await Xi()({path:`/stackable/v2/design/${t||Zi}/${e}`,method:"GET"});el[e]=await a}return el[e]},il=async function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=await Xi()({path:"/stackable/v2/design_library_dev_mode/",method:"POST",data:{devmode:e}});return await t},ll=async e=>{let{type:t="",block:a="",mood:n="",plan:i="",colors:l=[],categories:r=[],uikit:o="",search:s="",reset:c=!1,apiVersion:u=""}=e,d=Object.values(await al(c,u));if(t&&(d=d.filter((e=>{let{type:a}=e;return a===t}))),a){const e=a.replace(/^\w+\//,"");d=d.filter((t=>{let{block:a}=t;return a.endsWith(`/${e}`)}))}return n&&(d=d.filter((e=>{let{mood:t}=e;return t===n}))),i&&(d=d.filter((e=>{let{plan:t}=e;return t===i}))),l&&l.length&&(d=d.filter((e=>{let{colors:t}=e;return t.some((e=>l.includes(e)))}))),r&&r.length&&(d=d.filter((e=>{let{categories:t}=e;return t.some((e=>r.includes(e)))}))),o&&(d=d.filter((e=>{let{uikit:t}=e;return t===o}))),s&&s.toLowerCase().replace(/\s+/," ").trim().split(" ").forEach((e=>{d=d.filter((t=>(0,Z.applyFilters)("stackable.design-library.search-properties",["label","plan","tags","categories","colors"],u).some((a=>-1!==t[a].toString().toLowerCase().indexOf(e)))))})),d},rl=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const a=await al(!1,t),n=a[e];let i=await(0,Z.applyFilters)("stackable.design-library.get-design",null,e,n,t);return!i&&n.template&&(i=await nl(e,t)),i},ol=e=>{const{designId:t,image:a,label:n,onClick:i,plan:l,isPro:r,apiVersion:o,isMultiSelectMode:s=!1,selectedNum:c=!1}=e,[u,d]=(0,oe.useState)(!1),m=rt()(["ugb-design-library-item"],{"ugb--is-busy":u,[`ugb--is-${l}`]:!r&&"free"!==l,"ugb-design-library-item--toggle":s,"ugb--is-toggled":s&&c});return(0,oe.createElement)("div",{className:m,"data-selected-num":s?c:void 0},u&&(0,oe.createElement)("span",{className:"ugb-design-library-item__spinner","data-testid":"spinner"},(0,oe.createElement)(ot.Spinner,null)),!r&&"free"!==l&&(0,oe.createElement)("span",{className:"stk-pulsating-circle",role:"presentation"}),(0,oe.createElement)("button",{className:"ugb-design-library-item__image",onClick:()=>{(r||"free"===l)&&(s?i(t):(d(!0),rl(t,o).then((e=>{const t=d(!1);i(e,t)}))))}},!r&&"free"!==l&&(0,oe.createElement)(fa,{type:"design-library",showImage:!1,showHideNote:!1}),(0,oe.createElement)("img",{src:a,alt:n,loading:"lazy"})),(0,oe.createElement)("footer",null,(0,oe.createElement)("span",null,n)))};ol.defaultProps={designId:"",image:"",label:"",onClick:()=>{},plan:"free",isPro:m.isPro,premiumLabel:(0,T.__)("Go Premium",m.i18n),apiVersion:""};const sl=ol,cl=e=>{const{className:t="",designs:a,isBusy:n,onSelect:i,onSelectMulti:l,apiVersion:r,isMultiSelectMode:o=!1,selectedDesigns:s=[]}=e,c=rt()(["ugb-design-library-items",t],{[`ugb-design-library-items--columns-${e.columns}`]:!n&&e.columns});return(0,oe.createElement)("div",{className:c},(a||[]).map(((e,t)=>{const a=!!o&&s.indexOf(e.id)+1;return(0,oe.createElement)(sl,{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,isMultiSelectMode:o,selectedNum:a,onClick:function(t){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;o?l&&l(t,a):i(t,e,a)}})})),n&&(0,oe.createElement)("div",{className:"ugb-design-library-search__spinner","data-testid":"spinner"},(0,oe.createElement)(ot.Spinner,null)),!n&&!(a||[]).length&&(0,oe.createElement)("p",{className:"components-base-control__help","data-testid":"nothing-found-note"},(0,T.__)("No designs found",m.i18n)))};cl.defaultProps={designs:[],columns:1,onSelect:()=>{},isBusy:!1,apiVersion:""};const ul=cl;a(7385);const dl=[{value:"layout",title:(0,T.__)("Layout",m.i18n),label:(0,T.__)("Layout Tab",m.i18n),icon:"align-left"},{value:"style",title:(0,T.__)("Style",m.i18n),label:(0,T.__)("Style Tab",m.i18n),icon:"admin-appearance"},{value:"advanced",title:(0,T.__)("Advanced",m.i18n),label:(0,T.__)("Advanced Tab",m.i18n),icon:"admin-generic"}],ml=["layout","style","advanced"];class gl extends oe.Component{constructor(){super(...arguments),this.tabsToUse=this.props.tabs||ml,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,oe.createRef)(),this.suspendClickListener=!1,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, .interface-complementary-area"))||void 0===a||a.classList.add("ugb--has-panel-tabs"))}),1)}componentDidMount(){this.updateSidebarPanelTab(this.state.activeTab),this.props.closeOtherPanels&&m.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, .interface-complementary-area").classList.remove("ugb--has-panel-tabs")),this.props.closeOtherPanels&&m.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&&(0,Z.applyFilters)("stackable.panel.tabs.panel-auto-close",!0,t)&&(this.suspendClickListener||(this.suspendClickListener=!0,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&&(0,Z.applyFilters)("stackable.panel.tabs.panel-auto-close",!0,e)&&e.click()})),this.suspendClickListener=!1))}select(e){this.setState({activeTab:e}),this.updateSidebarPanelTab(e),this.props.onClick(e)}render(){const e=rt()([this.props.className,"components-panel__body","ugb-panel-tabs"]);return(0,oe.createElement)("div",{className:e,style:this.props.style,ref:this.containerDiv},(0,oe.createElement)("div",{className:"ugb-panel-tabs__wrapper"},(0,Z.applyFilters)("stackable.inspector.tabs",dl).map(((e,t)=>{let{value:a,title:n,label:i,icon:l}=e;return this.tabsToUse.includes(a)?(0,oe.createElement)("button",{key:t,onClick:()=>this.select(a),className:rt()(["edit-post-sidebar__panel-tab",`ugb-tab--${a}`],{"is-active":this.state.activeTab===a}),"aria-label":i,"data-label":i},(0,oe.createElement)(ot.Icon,{icon:l}),n):null}))))}}gl.defaultProps={className:"",style:{},closeOtherPanels:!0,initialTab:"",onClickPanel:()=>{},onClick:()=>{},tabs:null,onTabFirstOpen:()=>{}};const pl=gl,hl=function(e){const{options:t,selected:a,title:n=(0,T.__)("Layout",m.i18n),selectedOptionInTitle:i=!0,help:l="",className:r="",initialOpen:o=!0}=e,s=t?t.find((e=>e.value===a)):null,c=s?`${n}${s.label}`:n,d=rt()(["ugb-design-panel-body",r]);return(0,oe.createElement)(ji,at({title:i?(0,oe.createElement)("span",null,c):n,className:d,initialOpen:o},(0,u.omit)(e,["help","onChange"])),l&&(0,oe.createElement)("p",{className:"components-base-control__help"},l),t&&(0,oe.createElement)(fl,(0,u.omit)(e,["help","title","children"])),e.children)},vl=function(e){let{imageFile:t,imageHoverFile:a,imageWidth:n="",imageHeight:i="",label:l,isActive:r=!1}=e;const o=t?t.match(/https?:/i)?t:m.srcUrl?`${m.srcUrl}/${t}`:t:"",s=a?a.match(/https?:/i)?a:m.srcUrl?`${m.srcUrl}/${a}`:a:null;return(0,oe.createElement)("span",{className:rt()("ugb-design-panel-item",{"is-active":r})},s&&(0,oe.createElement)("img",{className:"ugb-design-panel-item__hover-image",src:s,alt:l,width:n,height:i}),o&&(0,oe.createElement)("img",{className:"ugb-design-panel-item__image",src:o,alt:l,width:n,height:i}),(0,oe.createElement)("span",{className:"design-label"},l))},bl=e=>{const t=e.options.filter((e=>!e.premium||m.isPro)).map((t=>({...t,label:(0,oe.createElement)(vl,{imageFile:t.image,imageHoverFile:t.hoverImage,imageWidth:t.imageWidth,imageHeight:t.imageHeight,isPro:t.isPro,label:t.label,isActive:t.value===e.selected}),title:t.label,value:t.value}))),a=rt()([e.className,"ugb-design-control-wrapper","components-base-control",`ugb-design-control--columns-${e.columns}`]);return(0,oe.createElement)("div",{className:a},e.label&&(0,oe.createElement)(Yt,at({label:e.label},e.helpTooltip)),(0,oe.createElement)(ot.RadioControl,at({},(0,u.omit)(e,["label"]),{className:"ugb-design-control",selected:e.selected,options:t,onChange:e.onChange})))};bl.defaultProps={className:"",columns:2,selected:"",options:[],onChange:()=>{}};const fl=bl,yl=[{image:"dist/images/components-design-separator-control-wave-1.fe7d2e5.png",label:(0,T.sprintf)((0,T._x)("%s %d","Nth Title",m.i18n),(0,T.__)("Wave",m.i18n),1),value:"wave-1"},{image:"dist/images/components-design-separator-control-straight-1.fba0f99.png",label:(0,T.__)("Straight",m.i18n),value:"straight-1"},{image:"dist/images/components-design-separator-control-wave-2.bc3ff78.png",label:(0,T.sprintf)((0,T._x)("%s %d","Nth Title",m.i18n),(0,T.__)("Wave",m.i18n),2),value:"wave-2"},{image:"dist/images/components-design-separator-control-wave-3.9e204d5.png",label:(0,T.sprintf)((0,T._x)("%s %d","Nth Title",m.i18n),(0,T.__)("Wave",m.i18n),3),value:"wave-3"},{image:"dist/images/components-design-separator-control-wave-4.b82e3aa.png",label:(0,T.sprintf)((0,T._x)("%s %d","Nth Title",m.i18n),(0,T.__)("Wave",m.i18n),4),value:"wave-4"},{image:"dist/images/components-design-separator-control-slant-1.645f0b9.png",label:(0,T.sprintf)((0,T._x)("%s %d","Nth Title",m.i18n),(0,T.__)("Slant",m.i18n),1),value:"slant-1"},{image:"dist/images/components-design-separator-control-slant-2.50e3178.png",label:(0,T.sprintf)((0,T._x)("%s %d","Nth Title",m.i18n),(0,T.__)("Slant",m.i18n),2),value:"slant-2"},{image:"dist/images/components-design-separator-control-curve-1.277a020.png",label:(0,T.sprintf)((0,T._x)("%s %d","Nth Title",m.i18n),(0,T.__)("Curve",m.i18n),1),value:"curve-1"},{image:"dist/images/components-design-separator-control-curve-2.4b8c7da.png",label:(0,T.sprintf)((0,T._x)("%s %d","Nth Title",m.i18n),(0,T.__)("Curve",m.i18n),2),value:"curve-2"},{image:"dist/images/components-design-separator-control-curve-3.da5eb6d.png",label:(0,T.sprintf)((0,T._x)("%s %d","Nth Title",m.i18n),(0,T.__)("Curve",m.i18n),3),value:"curve-3"},{image:"dist/images/components-design-separator-control-rounded-1.85d0e25.png",label:(0,T.sprintf)((0,T._x)("%s %d","Nth Title",m.i18n),(0,T.__)("Rounded",m.i18n),1),value:"rounded-1"},{image:"dist/images/components-design-separator-control-rounded-2.6e57ec5.png",label:(0,T.sprintf)((0,T._x)("%s %d","Nth Title",m.i18n),(0,T.__)("Rounded",m.i18n),2),value:"rounded-2"},{image:"dist/images/components-design-separator-control-rounded-3.78cb6da.png",label:(0,T.sprintf)((0,T._x)("%s %d","Nth Title",m.i18n),(0,T.__)("Rounded",m.i18n),3),value:"rounded-3"}];(0,Z.addFilter)("stackable.separator.edit.layouts","default",(e=>(0,u.uniqBy)([...e,...yl],"value")));const kl=e=>{const{label:t,help:a,excludeDesigns:n,...i}=e,l=((0,Z.applyFilters)("stackable.separator.edit.layouts",[])||[]).filter((e=>-1===(0,u.findIndex)(n,(t=>t===e.value))));return(0,oe.createElement)(ot.BaseControl,{className:"ugb-design-separator-control",id:"ugb-design-separator-control",label:t,help:a},(0,oe.createElement)(fl,at({options:l},i)))};kl.defaultProps={label:"",help:"",excludeDesigns:[]};const xl=kl,wl=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 496 512"},e),(0,oe.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"}))},Cl={placement:"left-start",offset:36,shift:!0},_l=e=>(0,oe.createElement)(oc,at({className:"ugb-icon-control stk-control"},(0,u.omit)(e,["onChange","value"]),{allowReset:!0,value:e.value,onChange:e.onChange,hasPanelModifiedIndicator:e.hasPanelModifiedIndicator}),(0,oe.createElement)("div",{className:"ugb-icon-control__wrapper"},(0,oe.createElement)("div",{className:"ugb-icon-control__button-wrapper"},(0,oe.createElement)(ot.Dropdown,{popoverProps:Cl,renderToggle:t=>{let{onToggle:a,isOpen:n}=t;return(0,oe.createElement)(mt,{isSecondary:!0,onClick:a,className:"ugb-icon-control__icon-button","aria-expanded":n},e.value&&(0,oe.createElement)(lc,{value:e.value}),!e.value&&(0,oe.createElement)(wl,{style:{opacity:.3}}))},renderContent:t=>{let{onClose:a}=t;return(0,oe.createElement)(Pl,{onClose:a,returnSVGValue:e.returnSVGValue,onChange:e.onChange})}}))));_l.defaultProps={label:(0,T.__)("Icon",m.i18n),value:"",returnSVGValue:!0,onChange:()=>{},defaultValue:"",hasPanelModifiedIndicator:!0};const Sl=_l,El=function(e){return(0,oe.createElement)("svg",at({"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,oe.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"}))},Tl=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 Bl=a(5112);let Ml=null,Nl=null;const Il=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},Rl=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},Al=e=>{const[t,a]=(0,oe.useState)(""),[n,i]=(0,oe.useState)([]),[l,r]=(0,oe.useState)(!1),[o,s]=(0,oe.useState)(!1),c=e.returnSVGValue;(0,oe.useEffect)((()=>{let e=!0;return clearTimeout(Ml),Ml=setTimeout((()=>{e&&(r(!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]:m.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)=>(Tl(a,t).forEach((t=>{e.push(t)})),e)),[])}(t).then((t=>{e&&i(t)})).finally((()=>{e&&r(!1)})))}),500),()=>{e=!1,clearTimeout(Ml)}}),[t]),(0,oe.useEffect)((()=>{Nl||(Nl=wp.data.select("core/block-editor").getSettings().mediaUpload),o?wp.data.dispatch("core/block-editor").updateSettings({mediaUpload:null}):wp.data.select("core/block-editor").getSettings().mediaUpload!==Nl&&wp.data.dispatch("core/block-editor").updateSettings({mediaUpload:Nl})}),[o]);const u=rt()(["ugb-icon-popover__label-container"],{"ugb-icon--has-settings":m.isPro,"ugb-icon--has-upload":c,"ugb-icon--has-reset":e.allowReset}),d=(0,oe.createElement)("div",{className:"stk-icon-search-popover-container"},(0,oe.createElement)(Bl.FileDrop,{onFrameDragEnter:()=>s(!0),onFrameDragLeave:()=>s(!1),onFrameDrop:()=>s(!1),onDrop:t=>{if(!c||!t.length)return void s(!1);if("image/svg+xml"!==t[0].type)return void s(!1);const a=new FileReader;a.onload=function(t){s(!1);const a=Rl(Il(t.target.result));e.onChange(a),e.onClose()},a.readAsText(t[0])}},(0,oe.createElement)("div",{className:u},(0,oe.createElement)(ot.TextControl,{className:"ugb-icon-popover__input",value:t,onChange:a,placeholder:(0,T.__)("Type to search icon",m.i18n)}),m.isPro&&(0,oe.createElement)(mt,{className:"ugb-icon-popover__settings-button",icon:"admin-generic",href:m.settingsUrl+"#icon-settings",target:"_settings",iconSize:"16",label:(0,T.__)("Icon Settings",m.i18n),showTooltip:!0,isSmall:!0,isSecondary:!0}),c&&(0,oe.createElement)(mt,{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 s(!1);const n=new FileReader;n.onload=function(t){s(!1);const a=Rl(Il(t.target.result));e.onChange(a),e.onClose()},n.readAsText(a[0])},a.click()},isSmall:!0,isPrimary:!0,className:"components-range-control__upload"},(0,T.__)("Upload SVG",m.i18n)),e.allowReset&&(0,oe.createElement)(mt,{onClick:()=>{e.onChange(""),e.onClose()},isSmall:!0,isSecondary:!0,className:"components-range-control__reset"},(0,T.__)("Clear icon",m.i18n))),(0,oe.createElement)("div",{className:"ugb-icon-popover__iconlist"},l&&(0,oe.createElement)(ot.Spinner,null),!l&&n.map(((t,a)=>{let{prefix:n,iconName:i}=t;const l=`${n}-${i}`;return(0,oe.createElement)("button",{key:a,className:`components-button ugb-prefix--${n} ugb-icon--${i}`,onClick:()=>{e.returnSVGValue?e.onChange(Rl(Tp(n,i))):e.onChange(l,n,i),e.onClose()}},(0,oe.createElement)(ac,{prefix:n,iconName:i}))})),!l&&!n.length&&(0,oe.createElement)("p",{className:"components-base-control__help"},(0,T.__)("No matches found",m.i18n))),c&&o&&(0,oe.createElement)("div",{className:"ugb-icon-popover__drop-indicator"},(0,oe.createElement)(El,{height:"40",width:"40"}),(0,T.__)("Drop your SVG here",m.i18n))));return e.__hasPopover?(0,oe.createElement)(ka,{className:"ugb-icon-popover",onClose:e.onClose,onClickOutside:e.__deprecatedOnClickOutside,position:e.__deprecatedPosition,anchorRef:e.__deprecatedAnchorRef,ref:e.__deprecateUseRef},(0,oe.createElement)(ot.PanelBody,null,d)):d},Ol=()=>{};Al.defaultProps={onChange:Ol,onClose:Ol,returnSVGValue:!0,allowReset:!0,__deprecatedAnchorRef:void 0,__deprecatedPosition:"center",__deprecatedOnClickOutside:Ol,__hasPopover:!1};const Pl=Al,Hl=(0,oe.memo)((e=>{const[t,a]=(0,oe.useState)(!1),n=(0,oe.useRef)(null);return(0,oe.useEffect)((()=>{if(t){const e=e=>{var t,i,l,r;null!==(t=window.wp)&&void 0!==t&&null!==(i=t.media)&&void 0!==i&&null!==(l=i.frame)&&void 0!==l&&null!==(r=l.el)&&void 0!==r&&r.clientHeight||e.target.closest(".ugb-button-icon-control__popover")||(null==n?void 0:n.current)===e.target.closest(".ugb-button-icon-control__edit")||e.target.closest(".components-color-picker")||e.target.closest(".react-autosuggest__suggestions-container")||e.target.closest(".components-dropdown__content")||a(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)}}),[t]),(0,oe.createElement)(oc,{help:e.help,label:e.label,id:"ugb-button-icon-control",className:rt()("ugb-button-icon-control",e.className),allowReset:!0,showReset:e.allowReset||!!e.onToggle&&e.checked,onReset:()=>{e.onReset(),e.onToggle&&e.onToggle(!1)},hasLabel:!e.onToggle},e.onToggle&&(0,oe.createElement)(ot.ToggleControl,{label:e.label,checked:e.checked,onChange:e.onToggle}),(0,oe.createElement)("div",{className:"ugb-button-icon-control__wrapper"},(0,oe.createElement)(mt,{onClick:()=>a((e=>!e)),className:"ugb-button-icon-control__edit",label:(0,T.__)("Edit",m.i18n),isSecondary:!0,icon:"edit",ref:n}),t&&(0,oe.createElement)(ot.Popover,{className:"ugb-button-icon-control__popover",focusOnMount:"container"},(0,oe.createElement)(ot.PanelBody,null,(void 0!==e.popoverLabel?e.popoverLabel:e.label)&&(0,oe.createElement)("h2",{className:"components-panel__body-title"},e.popoverLabel||e.label),e.children))))}));Hl.defaultProps={help:"",label:"",popoverLabel:void 0,className:"",allowReset:!1,onReset:()=>{},checked:!1,onToggle:void 0};const Ll=Hl,zl=e=>{const t=(0,oe.useMemo)((()=>"function"==typeof e.placeholder?e.fontSize||Math.round(e.placeholder(Sg(e.htmlTag,!0))):e.fontSize||e.placeholder||Sg(e.htmlTag,!0)),[e.htmlTag,e.fontSize]);return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(Ll,{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||e.tabletLetterSpacing||e.mobileLetterSpacing,resetPopoverTitle:e.resetPopoverTitle,resetPopoverDescription:e.resetPopoverDescription,className:e.className,help:e.help},e.onChangeFontFamily&&(0,oe.createElement)(En,{label:(0,T.__)("Font Family",m.i18n),onChange:e.onChangeFontFamily,value:e.fontFamily,helpTooltip:{video:"typography-family",description:(0,T.__)("Sets the font set to be used for the element",m.i18n)}}),e.onChangeFontSize&&(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(ur,null,(0,oe.createElement)(Cn,at({label:(0,T.__)("Size",m.i18n),onChange:e.onChangeFontSize,value:e.fontSize,allowReset:!0,unit:e.fontSizeUnit,onChangeUnit:e.onChangeFontSizeUnit},e.fontSizeProps,{placeholder:t,helpTooltip:{title:(0,T.__)("Font size",m.i18n),description:(0,T.__)("Sets the size of text characters",m.i18n)}}))),(0,oe.createElement)(ur,{screen:"tablet"},(0,oe.createElement)(Cn,at({label:(0,T.__)("Size",m.i18n),onChange:e.onChangeTabletFontSize,value:e.tabletFontSize,allowReset:!0,unit:e.tabletFontSizeUnit,onChangeUnit:e.onChangeTabletFontSizeUnit},e.fontSizeProps,{helpTooltip:{title:(0,T.__)("Font size",m.i18n),description:(0,T.__)("Sets the size of text characters",m.i18n)}}))),(0,oe.createElement)(ur,{screen:"mobile"},(0,oe.createElement)(Cn,at({label:(0,T.__)("Size",m.i18n),onChange:e.onChangeMobileFontSize,value:e.mobileFontSize,allowReset:!0,unit:e.mobileFontSizeUnit,onChangeUnit:e.onChangeMobileFontSizeUnit},e.fontSizeProps,{helpTooltip:{title:(0,T.__)("Font size",m.i18n),description:(0,T.__)("Sets the size of text characters",m.i18n)}})))),e.onChangeFontWeight&&(0,oe.createElement)(Xa,{label:(0,T.__)("Weight",m.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,T.__)("Default",m.i18n),value:""},{label:(0,T.__)("Normal",m.i18n),value:"normal"},{label:(0,T.__)("Bold",m.i18n),value:"bold"}],onChange:e.onChangeFontWeight,value:e.fontWeight,helpTooltip:{video:"typography-weight",title:(0,T.__)("Font weight",m.i18n),description:(0,T.__)("Sets the thinness or thickness of text characters",m.i18n)}}),e.onChangeTextTransform&&(0,oe.createElement)(Xa,{label:(0,T.__)("Transform",m.i18n),options:[{label:(0,T.__)("Default",m.i18n),value:""},{label:(0,T.__)("Uppercase",m.i18n),value:"uppercase"},{label:(0,T.__)("Lowercase",m.i18n),value:"lowercase"},{label:(0,T.__)("Capitalize",m.i18n),value:"capitalize"},{label:(0,T.__)("None",m.i18n),value:"none"}],onChange:e.onChangeTextTransform,value:e.textTransform,helpTooltip:{video:"typography-transform",title:(0,T.__)("Transform",m.i18n),description:(0,T.__)("Sets the usage of upper or lower case",m.i18n)}}),e.onChangeLineHeight&&(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(ur,null,(0,oe.createElement)(Ja,{label:(0,T.__)("Line-Height",m.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],helpTooltip:{video:"typography-line-height",title:(0,T.__)("Line height",m.i18n),description:(0,T.__)("Sets the vertical distance between lines of text",m.i18n)}})),(0,oe.createElement)(ur,{screen:"tablet"},(0,oe.createElement)(Ja,{label:(0,T.__)("Line-Height",m.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],helpTooltip:{video:"typography-line-height",title:(0,T.__)("Line height",m.i18n),description:(0,T.__)("Sets the vertical distance between lines of text",m.i18n)}})),(0,oe.createElement)(ur,{screen:"mobile"},(0,oe.createElement)(Ja,{label:(0,T.__)("Line-Height",m.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],helpTooltip:{video:"typography-line-height",title:(0,T.__)("Line height",m.i18n),description:(0,T.__)("Sets the vertical distance between lines of text",m.i18n)}}))),e.onChangeLetterSpacing&&(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(ur,null,(0,oe.createElement)(Ja,{label:(0,T.__)("Letter Spacing",m.i18n),min:-5,max:10,step:.1,allowReset:!0,onChange:e.onChangeLetterSpacing,value:e.letterSpacing,placeholder:"0",helpTooltip:{video:"typography-letter-spacing",title:(0,T.__)("Letter spacing",m.i18n),description:(0,T.__)("Sets the distance or space between letters",m.i18n)}})),(0,oe.createElement)(ur,{screen:"tablet"},(0,oe.createElement)(Ja,{label:(0,T.__)("Letter Spacing",m.i18n),min:-5,max:10,step:.1,allowReset:!0,value:e.tabletLetterSpacing,onChange:e.onChangeTabletLetterSpacing,placeholder:"0",helpTooltip:{video:"typography-letter-spacing",title:(0,T.__)("Letter spacing",m.i18n),description:(0,T.__)("Sets the distance or space between letters",m.i18n)}})),(0,oe.createElement)(ur,{screen:"mobile"},(0,oe.createElement)(Ja,{label:(0,T.__)("Letter Spacing",m.i18n),min:-5,max:10,step:.1,allowReset:!0,value:e.mobileLetterSpacing,onChange:e.onChangeMobileLetterSpacing,placeholder:"0",helpTooltip:{video:"typography-letter-spacing",title:(0,T.__)("Letter spacing",m.i18n),description:(0,T.__)("Sets the distance or space between letters",m.i18n)}})))),e.showSecondFontSize&&e.onChangeFontSize&&(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(ur,null,(0,oe.createElement)(Cn,at({label:(0,T.__)("Size",m.i18n),onChange:e.onChangeFontSize,value:e.fontSize,allowReset:!0,unit:e.fontSizeUnit,onChangeUnit:e.onChangeFontSizeUnit},e.fontSizeProps,{placeholder:t,helpTooltip:{title:(0,T.__)("Font size",m.i18n),description:(0,T.__)("Sets the size of text characters",m.i18n)}}))),(0,oe.createElement)(ur,{screen:"tablet"},(0,oe.createElement)(Cn,at({label:(0,T.__)("Size",m.i18n),onChange:e.onChangeTabletFontSize,value:e.tabletFontSize,allowReset:!0,unit:e.tabletFontSizeUnit,onChangeUnit:e.onChangeTabletFontSizeUnit},e.fontSizeProps,{helpTooltip:{title:(0,T.__)("Font size",m.i18n),description:(0,T.__)("Sets the size of text characters",m.i18n)}}))),(0,oe.createElement)(ur,{screen:"mobile"},(0,oe.createElement)(Cn,at({label:(0,T.__)("Size",m.i18n),onChange:e.onChangeMobileFontSize,value:e.mobileFontSize,allowReset:!0,unit:e.mobileFontSizeUnit,onChangeUnit:e.onChangeMobileFontSizeUnit},e.fontSizeProps,{helpTooltip:{title:(0,T.__)("Font size",m.i18n),description:(0,T.__)("Sets the size of text characters",m.i18n)}})))))};zl.defaultProps={label:(0,T.__)("Typography",m.i18n),popoverLabel:void 0,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:"",tabletLetterSpacing:"",mobileLetterSpacing:"",fontSizeProps:{},resetPopoverTitle:"",resetPopoverDescription:"",placeholder:"",htmlTag:"p",onReset:()=>{},onChangeFontFamily:()=>{},onChangeFontSize:()=>{},onChangeTabletFontSize:()=>{},onChangeMobileFontSize:()=>{},onChangeFontSizeUnit:()=>{},onChangeTabletFontSizeUnit:()=>{},onChangeMobileFontSizeUnit:()=>{},onChangeFontWeight:()=>{},onChangeTextTransform:()=>{},onChangeLineHeight:()=>{},onChangeTabletLineHeight:()=>{},onChangeMobileLineHeight:()=>{},onChangeLineHeightUnit:()=>{},onChangeTabletLineHeightUnit:()=>{},onChangeMobileLineHeightUnit:()=>{},onChangeLetterSpacing:()=>{},onChangeTabletLetterSpacing:()=>{},onChangeMobileLetterSpacing:()=>{}};const Fl=zl,Dl=e=>(0,oe.createElement)(oe.Fragment,null,e.onChangeBorderType&&(0,oe.createElement)(xn,{label:(0,T.__)("Borders",m.i18n),controls:[{value:"",title:(0,T.__)("None",m.i18n)},{value:"solid",title:(0,T.__)("Solid",m.i18n)},{value:"dashed",title:(0,T.__)("Dashed",m.i18n)},{value:"dotted",title:(0,T.__)("Dotted",m.i18n)}],className:"ugb-border-controls__border-type-toolbar",value:e.borderType,onChange:e.onChangeBorderType,fullwidth:!0,isSmall:!0}),e.onChangeBorderWidth&&e.borderType&&(0,oe.createElement)(Gl,{label:(0,T.__)("Border Width",m.i18n),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,oe.createElement)(ua,{value:e.borderColor,onChange:t=>{e.onChangeBorderColor({color:t,borderType:e.borderType?void 0:"solid"})},label:(0,T.__)("Border Color",m.i18n)}));Dl.defaultProps={onResetBorder:()=>{},borderType:"",onChangeBorderType:()=>{},borderWidthTop:"",borderWidthRight:"",borderWidthBottom:"",borderWidthLeft:"",tabletBorderWidthTop:"",tabletBorderWidthRight:"",tabletBorderWidthBottom:"",tabletBorderWidthLeft:"",mobileBorderWidthTop:"",mobileBorderWidthRight:"",mobileBorderWidthBottom:"",mobileBorderWidthLeft:"",onChangeBorderWidth:()=>{},onChangeTabletBorderWidth:()=>{},onChangeMobileBorderWidth:()=>{},borderColor:"",onChangeBorderColor:()=>{}};const $l=Dl,Ul=e=>{const{setAttributes:t}=e,a=t=>(0,u.camelCase)((0,T.sprintf)(e.attrNameTemplate,t)),n=vg(e.blockAttributes,a,"");return(0,oe.createElement)($l,at({borderType:n("BorderType"),onChangeBorderType:e=>t({[a("BorderType")]:e}),onResetBorder:()=>{t({[a("BorderType")]:""})},borderWidthTop:n("BorderWidthTop"),borderWidthRight:n("BorderWidthRight"),borderWidthBottom:n("BorderWidthBottom"),borderWidthLeft:n("BorderWidthLeft"),tabletBorderWidthTop:n("TabletBorderWidthTop"),tabletBorderWidthRight:n("TabletBorderWidthRight"),tabletBorderWidthBottom:n("TabletBorderWidthBottom"),tabletBorderWidthLeft:n("TabletBorderWidthLeft"),mobileBorderWidthTop:n("MobileBorderWidthTop"),mobileBorderWidthRight:n("MobileBorderWidthRight"),mobileBorderWidthBottom:n("MobileBorderWidthBottom"),mobileBorderWidthLeft:n("MobileBorderWidthLeft"),onChangeBorderWidth:e=>{let{top:n,right:i,bottom:l,left:r,borderType:o}=e;const s={[a("BorderWidthTop")]:n,[a("BorderWidthRight")]:i,[a("BorderWidthBottom")]:l,[a("BorderWidthLeft")]:r};o&&(s[a("BorderType")]=o),t(s)},onChangeTabletBorderWidth:e=>{let{top:n,right:i,bottom:l,left:r}=e;t({[a("TabletBorderWidthTop")]:n,[a("TabletBorderWidthRight")]:i,[a("TabletBorderWidthBottom")]:l,[a("TabletBorderWidthLeft")]:r})},onChangeMobileBorderWidth:e=>{let{top:n,right:i,bottom:l,left:r}=e;t({[a("MobileBorderWidthTop")]:n,[a("MobileBorderWidthRight")]:i,[a("MobileBorderWidthBottom")]:l,[a("MobileBorderWidthLeft")]:r})},borderColor:n("BorderColor"),onChangeBorderColor:e=>{let{color:n,borderType:i}=e;const l={[a("BorderColor")]:n};i&&(l[a("BorderType")]=i),t(l)}},e))};Ul.defaultProps={attrNameTemplate:"%s",setAttributes:()=>{},blockAttributes:{}};const Vl=Ul,Wl=e=>{const t=(0,u.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],n=Array.isArray(e.max)?e.max:[e.max,e.max,e.max],i=Array.isArray(e.sliderMin)?e.sliderMin:[e.sliderMin,e.sliderMin,e.sliderMin],l=Array.isArray(e.sliderMax)?e.sliderMax:[e.sliderMax,e.sliderMax,e.sliderMax],r=Array.isArray(e.step)?e.step:[e.step,e.step,e.step];return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(ur,{screen:"desktop"},(0,oe.createElement)(or,at({},t,{min:a[0],max:n[0],sliderMin:i[0],sliderMax:l[0],step:r[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,oe.createElement)(ur,{screen:"tablet"},(0,oe.createElement)(or,at({},t,{min:a[1],max:n[1],sliderMin:i[1],sliderMax:l[1],step:r[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,oe.createElement)(ur,{screen:"mobile"},(0,oe.createElement)(or,at({},t,{min:a[2],max:n[2],sliderMin:i[2],sliderMax:l[2],step:r[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)}))))};Wl.defaultProps={label:(0,T.__)("Spacing",m.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:""};const Gl=Wl,jl=e=>{const{initialOpen:t,...a}=e,[n,i]=(0,oe.useState)(t),l=rt()(["ugb-pro-control-button__wrapper"],{"ugb-pro-control-button--hidden":!n});return(0,oe.createElement)("div",{className:"components-base-control"},(0,oe.createElement)("button",{className:"ugb-pro-control-more-dots",onClick:()=>i((e=>!e))},(0,oe.createElement)("div",{className:"ugb-pro-control-more-dots__dot stk-pulsating-circle"}),(0,oe.createElement)("div",{className:"ugb-pro-control-more-dots__dot stk-pulsating-circle"}),(0,oe.createElement)("div",{className:"ugb-pro-control-more-dots__dot stk-pulsating-circle"})),(0,oe.createElement)("div",{className:l},(0,oe.createElement)(fa,a)))};jl.defaultProps={initialOpen:!1};const ql=jl,Kl=e=>{var t;const a="all"===e.screens?["desktop","tablet","mobile"]:e.screens,n=(null===(t=e.units)||void 0===t?void 0:t.map((e=>({value:e}))))||[];return(0,oe.createElement)("div",{className:"ugb-base-control-multi-label"},(0,oe.createElement)(Yt,at({label:e.label},e.helpTooltip)),(0,oe.createElement)(St,{screens:a}),(0,oe.createElement)("div",{className:"ugb-base-control-multi-label__units"},(0,oe.createElement)(kt,{className:"stk-control-unit-toggle",value:e.unit,options:n,onChange:t=>e.onChangeUnit(t),labelPosition:"left",buttonLabel:(0,T.__)("Unit",m.i18n),hasLabels:!1,hasColors:!1}),e.afterButton))};Kl.defaultProps={label:"",units:["px"],unit:"px",onChangeUnit:()=>{},screens:["desktop"],afterButton:null};const Jl=Kl;class Yl extends oe.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,u.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,oe.createElement)(ot.BaseControl,{help:this.props.help,className:rt()("ugb-four-number-control",this.props.className)},(0,oe.createElement)(Jl,{label:this.props.label,units:this.props.units,unit:this.props.unit,onChangeUnit:this.props.onChangeUnit,screens:this.props.screens}),(0,oe.createElement)("div",{className:"ugb-four-number-control__wrapper"},(0,oe.createElement)("label",{className:"ugb-four-number-control__label",htmlFor:`${t}-top`},(0,oe.createElement)("input",{id:`${t}-top`,type:"number",onChange:this.onChangeTop,"aria-label":(0,T.__)("Top",m.i18n),value:this.props.top,placeholder:this.props.enableTop?"":(0,T.__)("auto",m.i18n),disabled:!this.props.enableTop}),(0,oe.createElement)("span",null,(0,T.__)("Top",m.i18n))),(0,oe.createElement)("label",{className:"ugb-four-number-control__label",htmlFor:`${t}-right`},(0,oe.createElement)("input",{id:`${t}-right`,type:"number",onChange:this.onChangeRight,"aria-label":this.props.label,value:this.props.right,placeholder:this.props.enableRight?"":(0,T.__)("auto",m.i18n),disabled:!this.props.enableRight}),(0,oe.createElement)("span",null,(0,T.__)("Right",m.i18n))),(0,oe.createElement)("label",{className:"ugb-four-number-control__label",htmlFor:`${t}-bottom`},(0,oe.createElement)("input",{id:`${t}-bottom`,type:"number",onChange:this.onChangeBottom,"aria-label":this.props.label,value:this.props.bottom,placeholder:this.props.enableBottom?"":(0,T.__)("auto",m.i18n),disabled:!this.props.enableBottom}),(0,oe.createElement)("span",null,(0,T.__)("Bottom",m.i18n))),(0,oe.createElement)("label",{className:"ugb-four-number-control__label",htmlFor:`${t}-left`},(0,oe.createElement)("input",{id:`${t}-left`,type:"number",onChange:this.onChangeLeft,"aria-label":this.props.label,value:this.props.left,placeholder:this.props.enableLeft?"":(0,T.__)("auto",m.i18n),disabled:!this.props.enableLeft}),(0,oe.createElement)("span",null,(0,T.__)("Left",m.i18n))),(0,oe.createElement)(mt,{className:this.state.locked?"ugb--is-locked":"",onClick:this.onToggleLock,icon:(0,oe.createElement)(ot.Dashicon,{icon:this.state.locked?"admin-links":"editor-unlink",size:"16"})})))}}Yl.defaultProps={onChange:()=>{},defaultLocked:!0,top:"",right:"",bottom:"",left:"",units:["px"],unit:"px",onChangeUnit:()=>{},screens:["desktop"],enableTop:!0,enableRight:!0,enableBottom:!0,enableLeft:!0};const Xl=(0,zt.withInstanceId)(Yl),Zl=function(e){return(0,oe.createElement)("svg",at({id:"all_svg__Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",xmlSpace:"preserve"},e),(0,oe.createElement)("style",null,".all_svg__st0{fill:#555d63}"),(0,oe.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"}))},Ql=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,oe.createElement)("path",{d:"M0 0v16h16V0H0zm13 13H3V3h10v10z",opacity:.06,fill:"#555d63"}),(0,oe.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"}))},er=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,oe.createElement)("path",{d:"M0 0v16h16V0H0zm13 13H3V3h10v10z",opacity:.06,fill:"#555d63"}),(0,oe.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"}))},tr=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,oe.createElement)("path",{d:"M0 0v16h16V0H0zm13 13H3V3h10v10z",opacity:.06,fill:"#555d63"}),(0,oe.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"}))},ar=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,oe.createElement)("path",{d:"M0 0v16h16V0H0zm13 13H3V3h10v10z",opacity:.06,fill:"#555d63"}),(0,oe.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"}))},nr=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,oe.createElement)("path",{d:"M0 0v16h16V0H0zm13 13H3V3h10v10z",fill:"#555d63"}))},ir=function(e){return(0,oe.createElement)("svg",at({id:"vertical_svg__Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",xmlSpace:"preserve"},e),(0,oe.createElement)("style",null,".vertical_svg__st1{fill:#555d63}"),(0,oe.createElement)("path",{d:"M0 0v16h16V0H0zm13 13H3V3h10v10z",opacity:.06,fill:"#555d63"}),(0,oe.createElement)("path",{className:"vertical_svg__st1",d:"M3.8 13h8.4l2.2 2.3c.2.2.1.7-.2.7H1.8c-.3 0-.4-.3-.2-.7L3.8 13zM1.6.7c-.2-.3-.1-.7.2-.7h12.4c.3 0 .4.3.2.7L12.2 3H3.8L1.6.7z"}))},lr=function(e){return(0,oe.createElement)("svg",at({id:"horizontal_svg__Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",xmlSpace:"preserve"},e),(0,oe.createElement)("style",null,".horizontal_svg__st1{fill:#555d63}"),(0,oe.createElement)("path",{d:"M0 0v16h16V0H0zm13 13H3V3h10v10z",opacity:.06,fill:"#555d63"}),(0,oe.createElement)("path",{className:"horizontal_svg__st1",d:"M3 3.8v8.4L.7 14.3c-.3.3-.7.2-.7-.1V1.9c0-.4.4-.5.7-.3L3 3.8zM13 12.2V3.8l2.3-2.2c.3-.2.7-.1.7.2v12.4c0 .3-.3.4-.7.2L13 12.2z"}))},rr=(0,oe.memo)((e=>{var t;const[a,n]=Qt(e.attribute,e.responsive,e.hover,e.valueCallback,e.changeCallback),[i,l]=la(e);let r=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)&&(r={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 o=void 0===e.onChange?n:e.onChange,s=e.enableTop&&""===r.top&&e.enableRight&&""===r.right&&e.enableBottom&&""===r.bottom&&e.enableLeft&&""===r.left,c=e.enableTop?r.top:e.enableRight?r.right:e.enableBottom?r.bottom:r.left,[u,d]=(0,oe.useState)(s?e.defaultLocked:((e,t,a)=>{let n=!0;return n=(!e.enableTop||t.top===a)&&n,n=(!e.enableRight||t.right===a)&&n,n=(!e.enableBottom||t.bottom===a)&&n,n=(!e.enableLeft||t.left===a)&&n,n})(e,r,c)),g=rt()(["ugb-four-range-control__lock"],{"ugb--is-locked":e.hasLock&&u});l.after=e.hasLock&&(0,oe.createElement)(mt,{className:g,onClick:()=>d(!u),variation:"tertiary",icon:u?(0,oe.createElement)(Zl,null):(0,oe.createElement)(nr,null),label:u?(0,T.__)("Individual sides",m.i18n):(0,T.__)("All sides",m.i18n)});const p=!(null===(t=e.units)||void 0===t||!t.length),h=je(`${e.attribute}Unit`,e.responsive,e.hover),v=Be((e=>e[h]));if(p){const t=e.units.indexOf(v)<0?0:e.units.indexOf(v);Array.isArray(e.min)&&(i.min=e.min[t]),Array.isArray(e.max)&&(i.max=e.max[t]),Array.isArray(e.sliderMin)&&(i.sliderMin=e.sliderMin[t]),Array.isArray(e.sliderMax)&&(i.sliderMax=e.sliderMax[t]),Array.isArray(e.step)&&(i.step=e.step[t]),Array.isArray(e.placeholder)&&(i.placeholder=e.placeholder[t]),i.initialPosition=""!==e.initialPosition?e.initialPosition:e.placeholder,0!==t&&(i.initialPosition="",i.placeholder=e.placeholder)}"Desktop"!==de()&&(i.initialPosition="",i.placeholder=e.placeholder);const b=t=>{o({top:e.enableTop?t:r.top,right:e.enableRight?t:r.right,bottom:e.enableBottom?t:r.bottom,left:e.enableLeft?t:r.left})},f=e=>{o({top:e,right:r.right,bottom:r.bottom,left:r.left})},y=e=>{o({top:r.top,right:e,bottom:r.bottom,left:r.left})},k=e=>{o({top:r.top,right:r.right,bottom:e,left:r.left})},x=e=>{o({top:r.top,right:r.right,bottom:r.bottom,left:e})},w=e=>{o({top:e,right:r.right,bottom:e,left:r.left})},C=e=>{o({top:r.top,right:e,bottom:r.bottom,left:e})};return(0,oe.createElement)(ia,l,u&&!e.vhMode&&(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(qa,at({},i,{value:c,onChange:b,allowReset:!1})),(0,oe.createElement)(oa,{allowReset:e.allowReset,value:c,default:e.defaultTop,onChange:b})),u&&e.vhMode&&(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)("div",{className:"ugb-four-range-control__range"},(0,oe.createElement)(ot.Tooltip,{text:(0,T.__)("Top and Bottom",m.i18n)},(0,oe.createElement)("span",{className:"ugb-four-range-control__icon"},(0,oe.createElement)(ir,null))),(0,oe.createElement)(qa,at({},i,{value:r.top,onChange:w,allowReset:!1,placeholder:void 0===e.placeholderTop?i.placeholder:e.placeholderTop})),(0,oe.createElement)(oa,{allowReset:e.allowReset,value:r.top,default:e.defaultTop,onChange:w})),(0,oe.createElement)("div",{className:"ugb-four-range-control__range"},(0,oe.createElement)(ot.Tooltip,{text:(0,T.__)("Left and Right",m.i18n)},(0,oe.createElement)("span",{className:"ugb-four-range-control__icon"},(0,oe.createElement)(lr,null))),(0,oe.createElement)(qa,at({},i,{value:r.left,onChange:C,allowReset:!1,placeholder:void 0===e.placeholderLeft?i.placeholder:e.placeholderLeft})),(0,oe.createElement)(oa,{allowReset:e.allowReset,value:r.left,default:e.defaultLeft,onChange:C}))),!u&&(0,oe.createElement)(oe.Fragment,null,e.enableTop&&(0,oe.createElement)("div",{className:"ugb-four-range-control__range"},(0,oe.createElement)(ot.Tooltip,{text:(0,T.__)("Top",m.i18n)},(0,oe.createElement)("span",{className:"ugb-four-range-control__icon"},(0,oe.createElement)(ar,null))),(0,oe.createElement)(qa,at({},i,{value:r.top,onChange:f,allowReset:!1,placeholder:void 0===e.placeholderTop?i.placeholder:e.placeholderTop})),(0,oe.createElement)(oa,{allowReset:e.allowReset,value:r.top,default:e.defaultTop,onChange:f})),e.enableRight&&(0,oe.createElement)("div",{className:"ugb-four-range-control__range"},(0,oe.createElement)(ot.Tooltip,{text:(0,T.__)("Right",m.i18n)},(0,oe.createElement)("span",{className:"ugb-four-range-control__icon"},(0,oe.createElement)(tr,null))),(0,oe.createElement)(qa,at({},i,{value:r.right,onChange:y,allowReset:!1,placeholder:void 0===e.placeholderRight?i.placeholder:e.placeholderRight})),(0,oe.createElement)(oa,{allowReset:e.allowReset,value:r.right,default:e.defaultRight,onChange:y})),e.enableBottom&&(0,oe.createElement)("div",{className:"ugb-four-range-control__range"},(0,oe.createElement)(ot.Tooltip,{text:(0,T.__)("Bottom",m.i18n)},(0,oe.createElement)("span",{className:"ugb-four-range-control__icon"},(0,oe.createElement)(Ql,null))),(0,oe.createElement)(qa,at({},i,{value:r.bottom,onChange:k,allowReset:!1,placeholder:void 0===e.placeholderBottom?i.placeholder:e.placeholderBottom})),(0,oe.createElement)(oa,{allowReset:e.allowReset,value:r.bottom,default:e.defaultBottom,onChange:k})),e.enableLeft&&(0,oe.createElement)("div",{className:"ugb-four-range-control__range"},(0,oe.createElement)(ot.Tooltip,{text:(0,T.__)("Left",m.i18n)},(0,oe.createElement)("span",{className:"ugb-four-range-control__icon"},(0,oe.createElement)(er,null))),(0,oe.createElement)(qa,at({},i,{value:r.left,onChange:x,allowReset:!1,placeholder:void 0===e.placeholderLeft?i.placeholder:e.placeholderLeft})),(0,oe.createElement)(oa,{allowReset:e.allowReset,value:r.left,default:e.defaultLeft,onChange:x}))))}),u.isEqual);rr.defaultProps={defaultLocked:!0,hasLock:!0,enableTop:!0,enableRight:!0,enableBottom:!0,enableLeft:!0,defaultTop:"",defaultRight:"",defaultBottom:"",defaultLeft:"",placeholder:"",placeholderTop:"",placeholderRight:"",placeholderBottom:"",placeholderLeft:"",initialPosition:"",vhMode:!1,allowReset:!0,default:"",attribute:"",responsive:!1,hover:!1,top:void 0,right:void 0,bottom:void 0,left:void 0,onChange:void 0};const or=(0,oe.memo)(rr),sr=e=>(0,oe.createElement)(ot.TextControl,at({type:"number",className:"ugb-small-number-control"},e)),cr=e=>{const t=de(),a=oe.Children.toArray(e.children).map((a=>(0,oe.cloneElement)(a,{screens:e.screens,screen:t.toLowerCase()}))),n=t?(null==t?void 0:t.toLowerCase())===e.screen:"desktop"===e.screen.toLowerCase(),i=!e.screens.includes(t.toLowerCase())&&!n&&"Desktop"===t;return(0,oe.createElement)(oe.Fragment,null,(n||i)&&a)};cr.defaultProps={screen:"desktop",screens:["desktop","tablet","mobile"]};const ur=cr,dr=[{value:"h1",title:(0,T.sprintf)((0,T._x)("%s %d","Nth Title",m.i18n),(0,T.__)("Heading",m.i18n),1),icon:(0,oe.createElement)((function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,oe.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,T.sprintf)((0,T._x)("%s %d","Nth Title",m.i18n),(0,T.__)("Heading",m.i18n),2),icon:(0,oe.createElement)((function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,oe.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,T.sprintf)((0,T._x)("%s %d","Nth Title",m.i18n),(0,T.__)("Heading",m.i18n),3),icon:(0,oe.createElement)((function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,oe.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,T.sprintf)((0,T._x)("%s %d","Nth Title",m.i18n),(0,T.__)("Heading",m.i18n),4),icon:(0,oe.createElement)((function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,oe.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,T.sprintf)((0,T._x)("%s %d","Nth Title",m.i18n),(0,T.__)("Heading",m.i18n),5),icon:(0,oe.createElement)((function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,oe.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,T.sprintf)((0,T._x)("%s %d","Nth Title",m.i18n),(0,T.__)("Heading",m.i18n),6),icon:(0,oe.createElement)((function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,oe.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,T.__)("Paragraph",m.i18n),icon:(0,oe.createElement)((function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,oe.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)}],mr=dr.filter((e=>{let{value:t}=e;return"p"!==t})),gr=(0,oe.memo)((e=>(0,oe.createElement)(xn,at({},e,{className:"ugb-heading-buttons-control",controls:e.hasP?dr:mr,placeholder:dr[1].value,default:dr[1].value}))));gr.defaultProps={label:(0,T.sprintf)((0,T._x)("%s HTML Tag","component",m.i18n),(0,T.__)("Title",m.i18n)),value:void 0,hasP:!0};const pr=gr,hr=[{value:"left",title:(0,T.__)("Align Left",m.i18n),icon:"editor-alignleft"},{value:"center",title:(0,T.__)("Align Center",m.i18n),icon:"editor-aligncenter"},{value:"right",title:(0,T.__)("Align Right",m.i18n),icon:"editor-alignright"},{value:"justify",title:(0,T.__)("Justified",m.i18n),icon:"editor-justify"}],vr=hr.filter((e=>"justify"!==e.value)),br=e=>{const{justified:t,className:a,controls:n,...i}=e;let l=n;return l||(l=t?hr:vr),(0,oe.createElement)(xn,at({},i,{controls:l,className:rt()([a,"ugb-align-buttons-control"])}))};br.defaultProps={className:"",label:(0,T.__)("Align",m.i18n),justified:!1,controls:null};const fr=br,yr=wp.codeEditor,kr=e=>{const[t,a]=(0,oe.useState)(e.value),[n,i]=(0,oe.useState)(null),l=(0,oe.useRef)(),r=et(l),o=(0,oe.useMemo)((()=>(0,u.uniqueId)("ugb-code-textarea-")),[]),s=(0,oe.useRef)((0,u.debounce)((t=>{e.onChange(t)}),500,{leading:!0})),c=(0,oe.useCallback)((e=>{const t=e.getValue?e.getValue():e;a(t),s.current(t)}),[]);return(0,oe.useEffect)((()=>{if(yr.initialize&&r){const t=(0,yr.initialize)(o,_()(yr.defaultSettings,e.editorSettings));i(t),t.codemirror.on("change",c)}return()=>{var e;null==s||null===(e=s.current)||void 0===e||e.cancel(),null==n||n.codemirror.off("change",c)}}),[r]),(0,oe.createElement)("textarea",{ref:l,className:"ugb-code-textarea",id:o,value:t,onChange:c})};kr.defaultProps={value:"",onChange:()=>{},editorSettings:{}};const xr=kr,wr=e=>(0,oe.createElement)(ot.BaseControl,{help:e.help,className:rt()("stk-code-textarea-control",e.className)},(0,oe.createElement)(Jl,{label:e.label,screens:e.screens}),(0,oe.createElement)(xr,{value:e.value,onChange:e.onChange}));wr.defaultProps={help:"",className:"",value:"",label:"",screens:[],onChange:()=>{}};const Cr=wr,_r=function(e){return(0,oe.createElement)("svg",at({viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg"},e),(0,oe.createElement)("path",{d:"M177.8 21.9c-.5-1.8-2.3-3.1-4.2-2.9H70.5L30.1 61.4c-2.8 2.8-.9 6.6 3 6.6H120l56.3-41.9c1.3-1 1.9-2.7 1.5-4.2zM168.5 116.2l-39.6-39.1.1-.1H32.2c-1.9 0-3.4 1.5-3.4 3.4 0 .9.4 1.8 1 2.4l39.5 39.1-.1.1h97.1c1.9-.1 3.3-1.6 3.3-3.5-.1-.9-.4-1.7-1.1-2.3zM168.5 132c-.7-.7-1.6-1-2.6-1H78.4l-56.3 42c-1.8 1.3-2.2 3.8-.9 5.5.8 1.1 2.1 1.7 3.5 1.6h103.1l40.7-42.8c1.5-1.5 1.4-3.8 0-5.3z"}))},Sr=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg"},e),(0,oe.createElement)("path",{d:"M17 9.4H3c-.4 0-.8-.3-.8-.8s.4-.7.8-.7h14c.4 0 .8.3.8.8s-.4.7-.8.7zm.8 1.9c0-.4-.3-.8-.8-.8H3c-.4 0-.8.3-.8.8s.3.8.8.8h14c.4 0 .8-.4.8-.8zm.4-9.8H1.8c-.2 0-.3.1-.3.3v2.3c0 .2.1.3.3.3h16.3c.2 0 .3-.1.3-.3V1.8c.1-.2 0-.3-.2-.3m0-1.5c1 0 1.8.8 1.8 1.8v2.3c0 1-.8 1.8-1.8 1.8H1.8C.8 6 0 5.2 0 4.2V1.8C0 .8.8 0 1.8 0h16.4zm-5 3c0-.3-.3-.6-.6-.6H3c-.3 0-.6.3-.6.6s.3.6.6.6h9.6c.3 0 .6-.3.6-.6zm4.4 0c0-.3-.3-.6-.6-.6h-1c-.3 0-.6.3-.6.6s.3.6.6.6h1c.4 0 .6-.3.6-.6zm.6 12.5H1.8c-.2 0-.3.1-.3.3v2.3c0 .2.1.3.3.3h16.3c.2 0 .3-.1.3-.3v-2.3c.1-.2 0-.3-.2-.3m0-1.5c1 0 1.8.8 1.8 1.8v2.3c0 1-.8 1.8-1.8 1.8H1.8c-1 0-1.8-.8-1.8-1.8v-2.3c0-1 .8-1.8 1.8-1.8h16.4zm-5 3c0-.3-.3-.6-.6-.6H3c-.3 0-.6.3-.6.6s.3.6.6.6h9.6c.3 0 .6-.3.6-.6zm4.4 0c0-.3-.3-.6-.6-.6h-1c-.3 0-.6.3-.6.6s.3.6.6.6h1c.4 0 .6-.3.6-.6z"}))},Er=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg"},e),(0,oe.createElement)("path",{d:"M0 2.7C0 1.6.3 0 2.4 0c.3 0 .6.3.6.6s-.3.6-.6.6c-.6-.1-1.1.3-1.1.8H2c.6 0 1 .5 1 1v.9c0 .6-.5 1-1 1H1c-.6 0-1-.4-1-1V2.7zm4.4 0c0-1.1.3-2.7 2.4-2.7.3 0 .6.3.6.6s-.3.6-.6.6c-.7-.1-1.2.3-1.2.8h.7c.6 0 1 .5 1 1v.9c0 .6-.5 1-1 1h-1c-.6 0-1-.4-1-1V2.7zm11.2 14.6c0 1.1-.3 2.7-2.4 2.7-.3 0-.6-.3-.6-.6s.3-.6.6-.6c.6 0 1.1-.4 1.1-.9h-.7c-.6 0-1-.5-1-1v-1c0-.6.5-1 1-1h1c.6 0 1 .4 1 1v1.4zm4.4 0c0 1.1-.3 2.7-2.4 2.7-.3 0-.6-.3-.6-.6s.3-.6.6-.6c.6 0 1.1-.4 1.1-.9H18c-.6 0-1-.5-1-1v-1c0-.6.5-1 1-1h1c.6 0 1 .4 1 1v1.4zm0-10c0-.4-.3-.8-.8-.8H.8c-.4.1-.8.4-.8.8s.3.8.8.8h18.5c.4 0 .7-.3.7-.8zm0 2.7c0-.4-.3-.8-.8-.8H.8c-.4 0-.8.4-.8.8s.3.8.8.8h18.5c.4-.1.7-.4.7-.8zm0 2.6c0-.4-.3-.8-.8-.8H.8c-.4 0-.8.3-.8.8 0 .4.3.8.8.8h18.5c.4 0 .7-.4.7-.8z"}))},Tr=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg"},e),(0,oe.createElement)("path",{d:"M4.4 1.5v2.9H1.5V1.5h2.9M5 0H.9C.4 0 0 .4 0 .9V5c0 .5.4.9.9.9H5c.5 0 .9-.4.9-.9V.9C5.9.4 5.5 0 5 0zm3.3 4.8h11c.4 0 .7-.4.7-.8s-.3-.8-.8-.8h-11c-.3.1-.7.4-.7.8s.4.8.8.8m0-2.2h7.5c.4 0 .8-.3.8-.8 0-.4-.3-.8-.8-.8H8.3c-.4 0-.8.3-.8.8 0 .4.4.8.8.8m-3.9 6v2.9H1.5V8.6h2.9M5 7.1H.9c-.5 0-.9.4-.9.9v4c0 .5.4.9.9.9H5c.5 0 .9-.4.9-.9V8c0-.5-.4-.9-.9-.9zm3.3 4.8h11c.4 0 .8-.3.8-.8 0-.4-.3-.8-.8-.8h-11c-.4 0-.8.3-.8.8 0 .4.4.8.8.8m0-2.3h7.5c.4 0 .8-.3.8-.8 0-.4-.3-.8-.8-.8H8.3c-.4 0-.8.3-.8.8s.4.8.8.8m-3.9 6v2.9H1.5v-2.9h2.9m.6-1.5H.9c-.5 0-.9.4-.9.9v4.1c0 .5.4.9.9.9H5c.5 0 .9-.4.9-.9V15c0-.5-.4-.9-.9-.9zm3.3 4.8h11c.4 0 .8-.3.8-.8 0-.4-.3-.8-.8-.8h-11c-.4 0-.8.3-.8.8s.4.8.8.8m0-2.2h7.5c.4 0 .8-.3.8-.8s-.3-.8-.8-.8H8.3c-.4 0-.8.3-.8.8s.4.8.8.8"}))},Br=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,oe.createElement)("path",{d:"M13.5 0h-11c-.6 0-1 .5-1 1v5c0 .6.5 1 1 1h11c.6 0 1-.5 1-1V1c0-.5-.5-1-1-1zm0 5.5c0 .3-.2.5-.5.5H3c-.3 0-.5-.2-.5-.5v-4c0-.2.2-.5.5-.5h10c.3 0 .5.2.5.5v4zM13.5 9h-11c-.6 0-1 .5-1 1v5c0 .6.5 1 1 1h11c.6 0 1-.5 1-1v-5c0-.5-.5-1-1-1zm0 5.5c0 .3-.2.5-.5.5H3c-.3 0-.5-.2-.5-.5v-4c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v4z"}),(0,oe.createElement)("path",{d:"M5.5 3h5v1h-5zM5.5 12h5v1h-5z"}))},Mr=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,oe.createElement)("path",{d:"M13.5 0h-11c-.6 0-1 .5-1 1v5c0 .6.5 1 1 1H6v3c-.1-.2-.2-.3-.3-.4-.2-.4-.5-.7-1-.8-.3-.2-.7-.1-1.1.1-.8.4-1.1 1.4-.7 2.1l1 1.8c.1.1.1.2.1.2.7 1.2 1.7 3 4.8 3 3 0 4.4-2.7 4.4-5.2V8.6c0-.3-.1-.5-.1-.7l-.6-.5s-.7-.1-.7-.2l-.6.2-.3-.4h2.6c.6 0 1-.5 1-1V1c0-.5-.5-1-1-1zm-2.1 9.7V8.5c.1-.1.2-.2.4-.2.3 0 .5.2.5.5v2.1c0 1.5-1 4.1-3.5 4.1-2.4 0-3.2-1.3-3.8-2.4-.1-.1-.1-.1-.1-.2l-1-1.8c-.1-.1-.1-.2 0-.4s.1-.3.2-.3c.1-.1.2-.1.4 0 .1.1.2.1.3.2.1.1.2.5.4.7.3.4.7.6 1.2.4.4-.1.7-.6.7-1.1v-5c0-.3.2-.5.5-.5s.5.2.5.5v4.2c0 .3.2.6.6.6s.6-.2.6-.6V7.7c.1-.1.2-.2.4-.2.3 0 .5.2.5.5v1.7c0 .3.2.6.6.6s.6-.2.6-.6zm2.1-4.2c0 .3-.2.5-.5.5H9.2v-.8c0-.5-.2-.9-.4-1.2h1.7V3h-5v1h.9c-.3.3-.4.7-.4 1.1V6H3c-.3 0-.5-.2-.5-.5v-4c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v4z"}))},Nr=function(e){return(0,oe.createElement)("svg",at({viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"},e),(0,oe.createElement)("path",{d:"M8.5 9.8c-.3 0-.6.3-.6.6s.3.6.6.6.6-.3.6-.6-.2-.6-.6-.6zM10.5 9.8c-.3 0-.6.3-.6.6s.3.6.6.6.6-.3.6-.6-.3-.6-.6-.6zM1.8 9.7c-.1 0-.2 0-.3-.1L.2 8.3c-.1-.1-.1-.4 0-.5l1.3-1.3c.1-.1.4-.1.5 0s.1.4 0 .5L1 8l1.1 1.1c.1.1.1.4 0 .5s-.2.1-.3.1z"}),(0,oe.createElement)("path",{d:"M11.9 3.4v9.2H4.1V3.4zm.6-1.2h-9c-.3 0-.5.2-.5.5v10.5c0 .3.2.5.5.5h9c.3 0 .5-.2.5-.5V2.7c.1-.3-.2-.5-.5-.5z"}),(0,oe.createElement)("path",{d:"M10.5 6.2h-5c-.3 0-.6-.3-.6-.6s.3-.6.6-.6h4.9c.3 0 .6.3.6.6s-.2.6-.5.6zM10.5 8.2h-5c-.3 0-.6-.3-.6-.6s.3-.6.6-.6h4.9c.3 0 .6.3.6.6s-.2.6-.5.6zM6.6 9.8H5.5c-.3 0-.6.3-.6.6s.3.6.6.6h1.1c.3 0 .6-.3.6-.6s-.3-.6-.6-.6zM13.9 10.1c-.1 0-.3 0-.4-.1-.2-.2-.2-.5 0-.7L14.8 8l-1.2-1.2c-.2-.2-.2-.5 0-.7s.5-.2.7 0l1.6 1.6c.2.2.2.5 0 .7L14.2 10c-.1.1-.2.1-.3.1zM2.2 10.1c-.1 0-.3 0-.4-.1L.2 8.4c-.2-.2-.2-.6 0-.8L1.8 6c.2-.2.5-.2.7 0s.2.5 0 .7L1.3 8l1.3 1.3c.2.2.2.5 0 .7-.2.1-.3.1-.4.1z"}))},Ir=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg"},e),(0,oe.createElement)("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.3c0 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.8zm.3 18.2c0 .2-.1.3-.3.3H1.8c-.2 0-.3-.1-.3-.3V1.8c0-.2.1-.3.3-.3h16.3c.2 0 .3.1.3.3v16.4zm-1.6-5c0 .4-.3.8-.8.8H3.9c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h12.3c.3 0 .7.4.7.8zm0 2.6c0 .4-.3.8-.8.8H3.9c-.4 0-.8-.3-.8-.8s.4-.8.8-.8h12.3c.3 0 .7.4.7.8zM5 10h10c.2 0 .4-.1.5-.2s.2-.3.2-.5v-5c0-.2-.1-.4-.2-.5s-.3-.3-.5-.3H5c-.2 0-.4.1-.5.2s-.2.3-.2.5v5c0 .2.1.4.2.5s.3.3.5.3zm.8-5h8.5v3.5H5.8V5z"}))},Rr=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),(0,oe.createElement)("path",{d:"M18.3 0H1.8C.8 0 0 .8 0 1.8v16.4c0 1 .8 1.8 1.8 1.8h16.4c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM6.1 18.6H1.8c-.2 0-.3-.1-.3-.3V1.8c0-.2.1-.3.3-.3h4.3v17.1zm6.1 0H7.7V1.5h4.5v17.1zm6.1 0h-4.5V1.5h4.4c.2 0 .3.1.3.3l.1 16.5c0 .2-.1.3-.3.3z"}))},Ar=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),(0,oe.createElement)("path",{d:"M18.3 0H1.8C.8 0 0 .8 0 1.8v16.4c0 1 .8 1.8 1.8 1.8h16.4c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM6.1 18.6H1.8c-.2 0-.3-.1-.3-.3V1.8c0-.2.1-.3.3-.3h4.3v17.1zm12.2 0h-4.5V1.5h4.4c.2 0 .3.1.3.3l.1 16.5c0 .2-.1.3-.3.3z"}))},Or=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg"},e),(0,oe.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"}))},Pr=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg"},e),(0,oe.createElement)("path",{d:"M10.5 0c-.3 0-.5.2-.5.5v1.3c0 .2.2.4.4.5 4.3.2 7.6 3.9 7.3 8.4-.3 3.8-3.4 6.9-7.1 7.1-4.4.3-8.1-3-8.4-7.3 0-.3-.2-.5-.4-.5H.5c-.3 0-.5.2-.5.5.3 5.4 4.9 9.8 10.5 9.5 5.1-.2 9.3-4.4 9.5-9.5C20.2 4.9 15.9.3 10.5 0zM3.7 4.7c.2.2.5.2.7 0l.4-.4c.2-.2.2-.5 0-.7l-1-.8c-.2-.2-.5-.2-.7 0l-.3.3c-.2.2-.2.5 0 .7l.9.9z"}),(0,oe.createElement)("path",{d:"M6.2 2.6c.1.3.4.4.7.3l.5-.2c.3-.1.4-.4.3-.6L7.1.9C7 .7 6.7.5 6.5.6L6 .8c-.2.1-.3.4-.2.7l.4 1.1zM.9 7l1.2.5c.2.1.5 0 .6-.3l.2-.5c.1-.2 0-.5-.3-.6l-1.1-.4c-.2-.1-.5 0-.6.2l-.2.5c-.1.2 0 .5.2.6zM4.8 9.3c-.3 0-.5.2-.5.5v.4c0 .3.2.5.5.5H8c.3.8 1.1 1.4 2 1.4 1.1 0 2.1-.9 2.1-2.1 0-1.1-.9-2.1-2.1-2.1-.9 0-1.7.6-2 1.4H4.8zm5.2-.1c.4 0 .7.3.7.7 0 .4-.3.7-.7.7s-.8-.2-.8-.6c0-.4.4-.8.8-.8z"}))},Hr=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg"},e),(0,oe.createElement)("path",{d:"M18.5 2.9h-17C.7 2.9 0 3.6 0 4.4v11.1c0 .9.7 1.5 1.5 1.5h16.9c.9 0 1.5-.7 1.5-1.5V4.4c.1-.8-.6-1.5-1.4-1.5zm0 12.7h-7.1c.2-.3.3-.7.4-1.2 0-.3-.1-.6-.2-.9-.3-.5-.8-.9-1.4-1.1.3-.3.7-.8 1-1.2.2-.2.3-.4.4-.6.2-.5.1-.8-.3-1.1-.1-.1-.2-.1-.4-.1h-3c-.1 0-.3.1-.4.1-.2.3-.3.5-.3.7 0 .3.3.6.6.6h2c-.5.6-1.2 1.3-1.4 1.5-.3.3-.4.7-.1 1l.2.2c.1.1.3.1.4.1 1 .1 1.4.3 1.5 1-.1.8-.7.9-1.2 1-.8 0-1-.5-1.1-.8-.1-.3-.4-.5-.7-.5-.3.1-.5.4-.5.7 0 .1.1.4.3.7H1.5V4.4h8.6c-.3.4-.7.8-1 1.1H9c-.6.6-1.2 1.2-1.7 1.6-.2.1-.3.3-.4.4V8c.1.2.2.4.4.5.2.1.4.2.6.2h3.2c.3 0 .6-.3.6-.6s-.3-.6-.6-.6H8.9c.4-.3.7-.7 1.1-1 .5-.5 1.1-1.1 1.4-1.6.1-.1.1-.3.2-.4H16c.1.1.1.3.2.5-.1.8-.7.9-1.2 1-.8 0-1-.5-1.1-.8-.1-.3-.4-.5-.7-.5-.3.1-.5.4-.5.7.1.2.5 1.7 2.3 1.7 1.5 0 2.4-.9 2.5-2.2v-.5h1.1v11.2zM5.9 13c0 .3-.3.6-.6.6H3.6c-.4 0-.6-.3-.6-.6s.3-.6.6-.6h.2V8.2l-.3.1c-.1.1-.3.1-.5.1s-.3-.1-.4-.3v-.5c0-.2.1-.3.3-.4l1.2-.7c.3-.1.7 0 .9.3v5.6h.2c.4-.1.7.2.7.6zm11.2-1h-.3V8.4c0-.3-.3-.6-.6-.6-.2 0-.4.1-.5.3l-3.3 4.2c-.1.1-.2.3-.1.5 0 .2.1.3.2.4.1.1.2.1.4.1h2.7v1.1c0 .3.3.6.6.6s.6-.3.6-.6v-1.1h.3c.3 0 .6-.3.6-.6.1-.4-.2-.7-.6-.7zm-1.5 0h-1.4l1.4-1.8V12z"}))},Lr=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg"},e),(0,oe.createElement)("path",{d:"M16.1 8.5c0-1.4-1-2.5-2.2-2.9V1.5c0-.3-.1-.5-.3-.6-.2-.1-.5-.2-.7-.1L4.5 4.6H.8c-.5 0-.8.3-.8.8v6.3c0 .4.3.8.8.8h1.1v5.7c0 .4.3.8.8.8h2.1c.4 0 .8-.3.8-.8V13l7.4 3.4c.1 0 .2.1.3.1.1 0 .3 0 .4-.1.2-.1.3-.4.3-.6v-4.2c1.2-.5 2.1-1.7 2.1-3.1zM1.5 6.1h2.4v4.8H1.5V6.1zm1.8 11.3v-4.9h.6v4.9h-.6zm9.1-3l-6.9-3.2V5.8l6.9-3.2v11.8zm1.5-4.3V7c.6.3 1 .9 1 1.5 0 .7-.4 1.3-1 1.6zM20 8.5c0 .3-.3.6-.6.6h-1.5c-.3 0-.6-.3-.6-.6s.3-.6.6-.6h1.5c.3 0 .6.3.6.6zm-2.2 4.4c.2.2.2.6 0 .9-.1.1-.3.2-.4.2-.2 0-.3-.1-.4-.2l-1.1-1.1c-.2-.2-.2-.6 0-.9.2-.2.6-.2.9 0l1 1.1zm-2-7.7c-.2-.2-.2-.6 0-.9l1.1-1.1c.2-.2.6-.2.9 0 .2.2.2.6 0 .9l-1.1 1.1c-.1.1-.3.2-.4.2-.2 0-.4 0-.5-.2z"}))},zr=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg"},e),(0,oe.createElement)("path",{d:"M.8 10.8c-.5 0-.8-.4-.8-.8s.3-.8.8-.8h18.5c.4 0 .8.3.8.8s-.3.8-.8.8H.8"}))},Fr=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg"},e),(0,oe.createElement)("path",{d:"M2.5 9c.6 0 1 .5 1 1 0 .6-.5 1-1 1s-1-.5-1-1c0-.6.5-1 1-1m0-1.5C1.1 7.5 0 8.6 0 10s1.1 2.5 2.5 2.5S5 11.4 5 10c.1-1.4-1.1-2.5-2.5-2.5zM10 9c.6 0 1 .5 1 1 0 .6-.5 1-1 1-.6 0-1-.5-1-1 0-.6.4-1 1-1m0-1.5c-1.4 0-2.5 1.1-2.5 2.5s1.1 2.5 2.5 2.5 2.5-1.1 2.5-2.5-1.1-2.5-2.5-2.5zM17.5 9c.6 0 1 .5 1 1 0 .6-.5 1-1 1-.6 0-1-.5-1-1-.1-.6.4-1 1-1m0-1.5C16.1 7.5 15 8.6 15 10s1.1 2.5 2.5 2.5S20 11.4 20 10s-1.1-2.5-2.5-2.5z"}))},Dr=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg"},e),(0,oe.createElement)("path",{d:"M18.6 0H12c-.8 0-1.4.6-1.4 1.4v8.3c0 .8.6 1.4 1.4 1.4h6.6c.8 0 1.4-.6 1.4-1.4V1.4c0-.8-.6-1.4-1.4-1.4zm-.1 1.5V7c-.9-.7-2-1-3.2-1-1.2 0-2.4.4-3.2 1V1.5h6.4zm0 8.2h-6.4c0-.2.1-.5.2-.7.5-.9 1.7-1.5 3-1.5s2.4.6 2.9 1.4c.2.2.3.5.3.8zm-5.3-6.1c0-.5.4-1 1-1 .5 0 1 .4 1 1 0 .5-.4 1-1 1-.6-.1-1-.5-1-1zm5.8 13c0 .4-.3.8-.8.8h-6c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h6c.5.1.8.4.8.8zm0 2.6c0 .4-.3.8-.8.8h-6c-.4 0-.8-.3-.8-.8 0-.4.3-.8.8-.8h6c.5.1.8.4.8.8zm0-5.2c0 .4-.3.8-.8.8h-6c-.4 0-.8-.3-.8-.8 0-.4.3-.8.8-.8h6c.5.1.8.4.8.8zM8 0H1.4C.6 0 0 .6 0 1.4v8.3c0 .8.6 1.4 1.4 1.4H8c.8 0 1.4-.6 1.4-1.4V1.4C9.4.6 8.8 0 8 0zm-.1 1.5V7c-.9-.7-2-1-3.2-1-1.2 0-2.4.4-3.2 1V1.5h6.4zm0 8.2H1.5c0-.2.1-.5.2-.7.5-.9 1.7-1.5 3-1.5 1.3-.1 2.5.5 3 1.4.1.2.2.5.2.8zM2.6 3.6c0-.5.4-1 1-1 .5 0 1 .4 1 1 0 .5-.4 1-1 1-.6-.1-1-.5-1-1zm5.8 13c0 .4-.3.8-.8.8h-6c-.3 0-.6-.4-.6-.8s.3-.8.8-.8h6c.3.1.6.4.6.8zm0 2.6c0 .4-.3.8-.8.8h-6c-.3 0-.6-.3-.6-.8 0-.4.3-.8.8-.8h6c.3.1.6.4.6.8zm0-5.2c0 .4-.3.8-.8.8h-6c-.3 0-.6-.4-.6-.8s.3-.8.8-.8h6c.3.1.6.4.6.8z"}))},$r=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg"},e),(0,oe.createElement)("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.3c0 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.8zM1.8 1.5h6.1v9.6c-.8-.8-2-1.3-3.2-1.3-1.2 0-2.4.5-3.2 1.3V1.8c0-.2.1-.3.3-.3zm-.3 16.7v-3.6c0-.9.4-1.7.9-2.3.6-.6 1.4-.9 2.3-.9.9 0 1.7.4 2.3.9.6.6.9 1.4.9 2.3v4H1.8c-.2-.1-.3-.2-.3-.4zm17 0c0 .2-.1.3-.3.3H9.4v-17h8.7c.2 0 .3.1.3.3v16.4zM2.6 6.8c0-.6.5-1 1-1s1 .5 1 1-.5 1-1 1-1-.5-1-1zM17 8.7c0 .4-.3.8-.8.8h-4.9c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h4.9c.5 0 .8.4.8.8zm0 2.6c0 .4-.3.8-.8.8h-4.9c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h4.9c.5 0 .8.4.8.8zm0-5.2c0 .4-.3.8-.8.8h-4.9c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h4.9c.5 0 .8.4.8.8zm0 7.7c0 .4-.3.8-.8.8h-4.9c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h4.9c.5.1.8.4.8.8z"}))},Ur=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg"},e),(0,oe.createElement)("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.3c0 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.8zM1.8 1.5h16.3c.1 0 .2.1.2.1s.1.1.1.2v1.7h-17V1.8c.1-.2.2-.3.4-.3zm16.4 17H1.8c-.2 0-.3-.1-.3-.3V4.5h17v13.6c0 .3-.1.4-.3.4zM16.3 5.8H3.7c-.2 0-.4 0-.5.2-.1.1-.2.3-.2.5v5c0 .2.1.4.2.5.1.1.3.2.5.2h12.5c.2 0 .4-.1.5-.2.1-.1.2-.3.2-.5v-5c0-.2-.1-.4-.2-.5 0-.2-.2-.2-.4-.2zM4.5 10.7V7.3h11v3.5h-11zM14 9c0 .4-.3.7-.7.7H6.7c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7h6.5c.5-.1.8.3.8.7zM2.7 2.5c0-.3.3-.5.5-.5s.5.2.5.5-.2.5-.5.5-.5-.2-.5-.5zm1.7 0c0-.3.2-.5.5-.5s.5.2.5.5-.2.5-.5.5-.5-.2-.5-.5zm1.7 0c0-.3.2-.5.5-.5s.5.2.5.5-.2.5-.5.5-.5-.2-.5-.5z"}))},Vr=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),(0,oe.createElement)("path",{d:"M15.3 1.1c-.7 0-1.4.5-1.4 1.4v6.3H6.1V2.5c0-.7-.5-1.4-1.4-1.4-.7 0-1.4.5-1.4 1.4v14.9c0 .9.7 1.4 1.4 1.4s1.4-.5 1.4-1.4v-6.3h7.7v6.3c0 .9.7 1.4 1.4 1.4s1.4-.5 1.4-1.4V2.5c.1-.7-.4-1.4-1.3-1.4z"}))},Wr=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg"},e),(0,oe.createElement)("path",{d:"M17.1 5.7l-2-1.2c-.1-.1-.3 0-.3.2v2.4c0 .2.2.3.3.2l2-1.2c.1-.1.1-.3 0-.4zM4.9 4.5l-2 1.2c-.2.1-.2.3-.1.4l2 1.2c.1.1.3 0 .3-.2V4.7c.1-.2-.1-.3-.2-.2z"}),(0,oe.createElement)("path",{d:"M18.1 0H1.9C1.1 0 .6.6.6 1.3v9.3c0 .8.6 1.4 1.3 1.4h6.4v2c-.1-.1-.1-.3-.2-.4-.2-.4-.5-.7-1-.8-.4-.1-.8-.1-1.2.1-.8.4-1.1 1.4-.7 2.1l1 1.8c.1.1.1.1.1.2.7 1.2 1.7 3 4.8 3 3 0 4.4-2.6 4.4-5.1v-2.2c0-.3-.1-.5-.1-.7h2.8c.7 0 1.3-.6 1.3-1.3V1.3C19.4.6 18.9 0 18.1 0zm-3.5 14.9c0 1.5-1 4-3.5 4-2.4 0-3.1-1.2-3.8-2.4-.1-.1-.1-.1-.1-.2l-1-1.8c-.1-.1-.1-.2 0-.4.1-.1.1-.2.2-.3.1-.1.2-.1.4 0 .1.2.2.3.3.3.1.1.2.5.4.7.3.4.7.6 1.2.4.4-.1.7-.6.7-1.1v-5c0-.3.2-.5.5-.5s.5.2.5.5v4.2c0 .3.2.6.6.6.4 0 .6-.2.6-.6v-1.5c.1-.1.2-.2.4-.2.3 0 .5.2.5.5v1.7c0 .3.2.6.6.6.4 0 .6-.2.6-.6v-1.2c.1-.1.2-.2.4-.2.3 0 .5.2.5.5v2zm3.7-4.2c0 .1-.1.2-.2.2h-5c-.3-.3-.7-.4-1.1-.4-.1 0-.3 0-.4.1V9.2c0-.9-.7-1.6-1.6-1.6-1-.1-1.7.7-1.7 1.6V11H1.9c-.1 0-.2-.1-.2-.2V1.3c0-.1.1-.2.2-.2H18c.1 0 .2.1.2.2v9.4z"}))},Gr=function(e){return(0,oe.createElement)("svg",at({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),(0,oe.createElement)("path",{d:"M19.6 8.9c.7-.7.4-1.9-.6-2.1l-4.9-.7c-.3-.1-.6-.3-.8-.6l-2.2-4.4C10.7.2 9.4.2 9 1.1L6.7 5.5c-.1.4-.4.6-.8.6L1 6.8C0 7-.3 8.2.4 8.9l3.5 3.5c.3.2.4.6.3.9l-.8 4.9c-.2 1 .9 1.7 1.7 1.3l4.4-2.3c.3-.2.7-.2 1 0l4.4 2.3c.9.5 1.9-.3 1.7-1.3l-.8-4.9c-.1-.3.1-.7.3-.9zm-5.4 3.8l.8 4.7c0 .2-.2.4-.4.3l-4.2-2.2c-.3-.1-.6-.1-.9 0l-4.2 2.2c-.1.1-.3-.1-.3-.3l.8-4.6c.1-.3 0-.6-.3-.8L2.1 8.7c-.1-.2 0-.5.2-.5L7 7.5c.3 0 .6-.2.7-.5l2.1-4.2c.1-.2.4-.2.5 0l2 4.2c.1.3.4.5.7.5l4.6.7c.2 0 .3.3.2.5L14.4 12c-.2.2-.2.4-.2.7z"}))},jr=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,oe.createElement)("path",{d:"M13.1 7.9l-.6-.5s-.7-.1-.7-.2l-.6.2-.4-.6c-.3-.3-.7-.4-1.1-.4h-.3c1-.6 1.7-1.7 1.7-3C11.1 1.5 9.5 0 7.6 0S4.1 1.5 4.1 3.5c0 1.3.7 2.5 1.9 3V10c-.1-.2-.2-.3-.3-.4-.2-.4-.5-.7-1-.8-.3-.2-.7-.1-1.1.1-.8.4-1.1 1.4-.7 2.1l1 1.8c.1.1.1.2.1.2.7 1.2 1.7 3 4.8 3 3 0 4.4-2.7 4.4-5.2V8.6c.1-.3 0-.5-.1-.7zm-8-4.4C5.1 2.1 6.2 1 7.6 1s2.5 1.1 2.5 2.5c0 .7-.3 1.4-.9 1.9v-.2c0-.7-.5-1.4-1.2-1.6-1-.4-2 .4-2 1.5v.3c-.6-.5-.9-1.2-.9-1.9zm7.3 7.4c0 1.5-1 4.1-3.5 4.1-2.4 0-3.2-1.3-3.8-2.4-.1-.1-.1-.1-.1-.2l-1-1.8c-.1-.1-.1-.2 0-.4 0-.2 0-.3.1-.3.1-.1.2-.1.4 0 .1.1.2.1.3.2.1.1.2.5.4.7.3.4.7.6 1.2.4.4-.1.7-.6.7-1.1v-5c0-.3.2-.5.5-.5s.5.2.5.5v4.2c0 .3.2.6.6.6s.6-.2.6-.6V7.7c.1-.1.2-.2.4-.2.3 0 .5.2.5.5v1.7c0 .3.2.6.6.6s.6-.2.6-.6V8.5c.1-.1.2-.2.4-.2.3 0 .5.2.5.5v2.1z"}))},qr=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,oe.createElement)("path",{d:"M8 1.1C4.2 1.1 1.1 4.2 1.1 8s3.1 6.9 6.9 6.9 6.9-3.1 6.9-6.9S11.8 1.1 8 1.1zm0 12.8c-3.3 0-5.9-2.5-5.9-5.9S4.7 2.1 8 2.1s5.9 2.5 5.9 5.9-2.6 5.9-5.9 5.9z"}),(0,oe.createElement)("path",{d:"M11 7.5c.2-.2.1-.6-.2-.7l-1.5-.2c-.1 0-.2-.1-.3-.1l-.7-1.4c-.1-.3-.5-.3-.7 0L7 6.5c0 .1-.1.2-.2.2l-1.6.2c-.3 0-.4.4-.2.6l1.1 1.1c.1.1.1.2.1.3L6 10.4c-.1.3.3.5.5.4l1.4-.7c.1-.1.2-.1.3 0l1.4.7c.3.2.6-.1.5-.4l-.3-1.5c0-.1 0-.2.1-.3L11 7.5z"}))},Kr=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,oe.createElement)("path",{d:"M7.1 6.6c.3-.3.1-.7-.2-.8l-1.8-.2c-.1-.1-.2-.1-.3-.2L4 3.8c-.1-.3-.6-.3-.8 0l-.8 1.6c0 .1-.1.2-.3.2l-1.7.2c-.4.1-.5.5-.3.8l1.3 1.3c.1.1.1.2.1.3L1.2 10c-.1.4.3.6.6.5l1.6-.8c.1-.1.3-.1.4 0l1.6.8c.3.1.6-.2.6-.6l-.3-1.7c0-.1 0-.3.1-.3l1.3-1.3zM4.6 7.7l.2 1.2c0 .1-.1.1-.1.1l-1-.6h-.2l-1.1.5s-.1 0-.1-.1l.2-1.2c0-.1 0-.2-.1-.2l-.8-.7c0-.1 0-.1.1-.1l1.2-.2.1-.1.5-1.1c0-.1.1-.1.1 0l.5 1.1c0 .1.1.1.2.1l1.2.2c.1 0 .1.1.1.1l-.9.8c-.1.1-.1.1-.1.2zM15.4 6.9H8.8c-.3 0-.6-.2-.6-.6s.2-.6.6-.6h6.6c.3 0 .6.2.6.6 0 .4-.2.6-.6.6zM15.4 9.6H8.8c-.3 0-.6-.2-.6-.6s.2-.6.6-.6h6.6c.3 0 .6.2.6.6 0 .4-.2.6-.6.6zM15.4 12.4H8.8c-.3 0-.6-.2-.6-.6s.2-.6.6-.6h6.6c.3 0 .6.2.6.6 0 .4-.2.6-.6.6z"}))},Jr=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg"},e),(0,oe.createElement)("path",{d:"M19.3 4.3H8.8c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h10.4c.4 0 .8.3.8.8s-.3.8-.7.8zM2.9 5.7l3.2-3.2c.3-.3.3-.8 0-1.1s-.8-.3-1.1 0L2.4 4.1 1.3 3C1 2.7.5 2.7.2 3c-.3.3-.3.8 0 1.1l1.6 1.6c.2.1.4.2.6.2.2 0 .4-.1.5-.2zM20 9.9c0-.4-.3-.8-.8-.8H8.8c-.4 0-.8.3-.8.8 0 .4.3.8.8.8h10.4c.5 0 .8-.4.8-.8zM2.9 12l3.2-3.2c.3-.3.3-.8 0-1.1-.3-.3-.8-.3-1.1 0l-2.7 2.7-1-1C1 9.1.5 9.1.2 9.4c-.3.3-.3.8 0 1.1L1.8 12c.1.1.3.2.5.2.3.1.5 0 .6-.2zM20 16.3c0-.4-.3-.8-.8-.8H8.8c-.4 0-.8.3-.8.8 0 .4.3.8.8.8h10.4c.5-.1.8-.4.8-.8zM2.9 18.4l3.2-3.2c.3-.3.3-.8 0-1.1-.3-.3-.8-.3-1.1 0l-2.7 2.7-1.1-1.1c-.3-.3-.8-.3-1.1 0-.3.3-.3.8 0 1.1l1.6 1.6c.1.1.3.2.5.2.4 0 .6 0 .7-.2z"}))},Yr=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,oe.createElement)("path",{d:"M7.1 7.6c.3-.3.1-.7-.2-.8l-1.8-.2c-.1-.1-.2-.1-.3-.2L4 4.8c-.1-.3-.6-.3-.8 0l-.8 1.6c0 .1-.1.2-.3.2l-1.7.2c-.4.1-.5.5-.3.8l1.3 1.3c.1.1.1.2.1.3L1.2 11c-.1.4.3.6.6.5l1.6-.8c.1-.1.3-.1.4 0l1.6.8c.3.1.6-.2.6-.6l-.3-1.7c0-.1 0-.3.1-.3l1.3-1.3zM4.6 8.7l.2 1.2c0 .1-.1.1-.1.1l-1-.6h-.2l-1.1.5s-.1 0-.1-.1l.2-1.2c0-.1 0-.2-.1-.2l-.8-.7c0-.1 0-.1.1-.1l1.2-.2.1-.1.5-1.1c0-.1.1-.1.1 0l.5 1.1c0 .1.1.1.2.1l1.2.2c.1 0 .1.1.1.1l-.9.8c-.1.1-.1.1-.1.2zM15.4 8.6H8.8c-.3 0-.6-.2-.6-.6s.2-.6.6-.6h6.6c.3 0 .6.2.6.6 0 .4-.2.6-.6.6z"}))},Xr=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg"},e),(0,oe.createElement)("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.3c0 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.8zM1.8 1.5h16.3c.2 0 .3.1.3.3V11l-3.3-4.4c-.2-.3-.6-.5-.9-.5-.4 0-.7.2-.9.5l-4.7 6.1-1.9-2.6c-.3-.3-.6-.4-1-.4s-.7.2-.9.5l-3.3 4.3V1.8c0-.2.1-.3.3-.3zm16.4 17H1.8c-.2 0-.3-.1-.3-.3v-1.3c.1 0 .1-.1.2-.2l4.1-5.4 2.1 2.8c.2.2.5.4.7.4.3 0 .6-.1.7-.4l4.9-6.4 4.1 5.4c0 .1.1.1.2.2v4.8c0 .3-.2.4-.3.4zM7.2 7.8c1.3 0 2.3-1 2.3-2.3s-1-2.3-2.3-2.3-2.3 1-2.3 2.3 1 2.3 2.3 2.3zm0-3.2c.4 0 .8.4.8.8 0 .5-.4.8-.8.8-.5 0-.8-.4-.8-.8-.1-.4.3-.8.8-.8z"}))},Zr=function(e){return(0,oe.createElement)("svg",at({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),(0,oe.createElement)("path",{d:"M12.7 12.3c0 .4-.3.8-.8.8H4.1c-.4 0-.8-.3-.8-.8s.3-.8.8-.8H12c.3 0 .7.4.7.8zM9.9 15.7c0 .4-.3.8-.8.8h-5c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h5.1c.3 0 .7.4.7.8z"}),(0,oe.createElement)("path",{d:"M18.3 0H1.8C.8 0 0 .8 0 1.8v16.4c0 1 .8 1.8 1.8 1.8h16.4c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zm.3 18.2c0 .3-.2.4-.3.4H1.8c-.2 0-.3-.1-.3-.3V17c.1 0 .1-.1.2-.2l.7-1v-2.5l-.9 1.2V1.8c0-.2.1-.3.3-.3h16.4c.2 0 .3.1.3.3V11l-3.3-4.4c-.2-.3-.6-.5-.9-.5-.4 0-.7.2-.9.5l-2.2 2.9H13l1.3-1.8 4.1 5.4c0 .1.1.1.2.2z"}),(0,oe.createElement)("path",{d:"M7.2 7.8c1.3 0 2.3-1 2.3-2.3s-1-2.3-2.3-2.3-2.3 1-2.3 2.3 1 2.3 2.3 2.3zm0-3.2c.4 0 .8.4.8.8 0 .5-.4.8-.8.8-.5 0-.8-.4-.8-.8-.1-.4.3-.8.8-.8z"}))},Qr=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,oe.createElement)("path",{d:"M13.5 4.5h-11c-.6 0-1 .5-1 1v5c0 .6.5 1 1 1h11c.6 0 1-.5 1-1v-5c0-.5-.5-1-1-1zm0 5.5c0 .3-.2.5-.5.5H3c-.3 0-.5-.2-.5-.5V6c0-.2.2-.5.5-.5h10c.3 0 .5.2.5.5v4z"}),(0,oe.createElement)("path",{d:"M4.2 7.5h3.5v1H4.2zM10.8 7.5h1v1h-1zM8.8 7.5h1v1h-1z"}))},eo=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),(0,oe.createElement)("path",{d:"M10 3.9c-1.7 0-3 1.3-3 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3zm0 4.7c-1 0-1.8-.8-1.8-1.8S9 5 10 5s1.8.8 1.8 1.8S11 8.6 10 8.6z"}),(0,oe.createElement)("path",{d:"M10 0C6.1 0 3 3.1 3 7c0 6.8 7 13 7 13s7-6.2 7-13c0-3.9-3.1-7-7-7zm0 18.1S4.7 13.2 4.3 7.5v-.7-.6c.3-2.9 2.8-5.1 5.7-5.1 3.1 0 5.6 2.5 5.7 5.6V7.5c-.4 5.7-5.7 10.6-5.7 10.6z"}))},to=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg"},e),(0,oe.createElement)("path",{d:"M10 2.2l8.3 15.7H1.7L10 2.2m0-1.8c-.4 0-.8.2-1.1.6L.1 17.7c-.4.8.2 1.7 1.1 1.7h17.6c.9 0 1.5-.9 1.1-1.7L11.1 1c-.2-.4-.7-.6-1.1-.6zm-.7 7.2v4.6c0 .4.3.7.7.7s.7-.3.7-.7V7.6c0-.4-.3-.7-.7-.7s-.7.3-.7.7m.7 6.8c-.5 0-.9.4-.9.9s.4.9.9.9.9-.4.9-.9-.4-.9-.9-.9z"}))},ao=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg"},e),(0,oe.createElement)("path",{d:"M18.2 1.5c.2 0 .3.1.3.3v16.3c0 .2-.1.3-.3.3H1.8c-.2 0-.3-.1-.3-.3V1.8c0-.2.1-.3.3-.3h16.4m0-1.5H1.8C.8 0 0 .8 0 1.8v16.3c0 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.4 6.7l1-.6v8.3h-.7c-.4 0-.7.3-.7.8s.3.7.7.7h2.9c.4 0 .8-.3.8-.7s-.4-.8-.8-.8h-.7V4.8c0-.1 0-.3-.1-.4-.2-.3-.7-.4-1-.2L3.6 5.4c-.4.2-.5.7-.3 1 .3.4.7.5 1.1.3zm5.6.1h5.7c.4 0 .8-.3.8-.8 0-.4-.3-.8-.8-.8H10c-.4.1-.7.4-.7.8s.3.8.7.8m0 2.6h5.7c.4 0 .8-.3.8-.8s-.3-.8-.8-.8H10c-.4 0-.8.3-.8.8s.4.8.8.8m0 2.7h5.7c.4 0 .8-.3.8-.8s-.3-.8-.8-.8H10c-.4 0-.8.3-.8.8s.4.8.8.8m0 2.6h5.7c.4 0 .8-.3.8-.8s-.3-.8-.8-.8H10c-.4 0-.8.3-.8.8s.4.8.8.8"}))},no=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,oe.createElement)("path",{d:"M1.5 7h5v2h-5zM8.5 7h2v2h-2zM12.5 7h2v2h-2z"}))},io=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg"},e),(0,oe.createElement)("path",{d:"M19.8.2c-.3-.3-.7-.3-1 0l-1.1 1.1c-.2-.1-.4-.1-.6-.1l-5-.1H12c-.7 0-1.4.3-1.9.8L.7 11.3c-.9.9-.9 2.4 0 3.3l4.8 4.8c.5.4 1.1.6 1.7.6.6 0 1.2-.2 1.7-.7l9.4-9.4c.5-.5.8-1.3.8-2l-.1-5c0-.2 0-.4-.1-.6L20 1.2c.1-.2.1-.7-.2-1zm-4.6 5.9c0 .3-.1.6-.4.9-.2.2-.6.4-.9.4-.3 0-.6-.1-.9-.4-.2-.2-.4-.6-.4-.9 0-.3.1-.6.4-.9.2-.2.6-.4.9-.4h.2l-.5.5c-.3.3-.3.7 0 1 .3.3.7.3 1 0l.5-.5c.1.1.1.2.1.3zM17.6 8c0 .3-.1.7-.4.9l-9.4 9.4c-.2.2-.4.3-.6.3-.2 0-.5-.1-.6-.3l-4.8-4.8c-.2-.2-.3-.4-.3-.6 0-.2.1-.5.3-.6l9.4-9.4c.2-.2.6-.4.9-.4l4.4.1-1.1 1.1c-.4-.2-.9-.3-1.3-.3a2.732 2.732 0 00-2.7 2.7 2.732 2.732 0 002.7 2.7 2.732 2.732 0 002.7-2.7c0-.5-.1-.9-.3-1.3l1.1-1.1V8zm-6.1 1.4l-.5.5c.5.7.6 1.5.6 1.6.1.4-.2.8-.6.8-.4.1-.8-.2-.8-.6 0-.2-.2-.8-.5-1.1-.3-.3-.8-.5-1.1-.2-.2.2 0 .8.2 1.3 0 .1.1.2.1.2.3.6.9 1.8-.3 2.9-.3.3-.7.4-1.2.4-.4 0-.7-.1-1.1-.3-.1-.1-.2-.1-.3-.2l-.5.5c-.1.1-.2.1-.3.1-.1 0-.2 0-.3-.1-.2-.2-.2-.5 0-.7l.5-.5c-.4-.5-.8-1.3-.7-2.2 0-.4.4-.7.8-.7s.7.4.7.8c-.1.9.5 1.5.9 1.7.3.1.5.2.7.1.3-.2.3-.4 0-1.1 0-.1-.1-.2-.1-.3-.3-.6-.9-2 .1-3 .8-.8 1.9-.7 2.7-.1l.5-.5c.2-.2.5-.2.7 0 0 .2 0 .5-.2.7z"}))},lo=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,oe.createElement)("path",{d:"M8 1.1c-.4 0-.8.3-.8.8s.4.7.8.7c3 0 5.4 2.4 5.4 5.4S11 13.4 8 13.4c-2.2 0-4.1-1.4-5-3.3-.1-.2-.4-.4-.7-.4-.4 0-.8.3-.8.8 0 .1 0 .3.1.4C2.7 13.3 5.1 15 7.9 15c3.8 0 6.9-3.1 6.9-6.9s-3-7-6.8-7z"}))},ro=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,oe.createElement)("path",{d:"M14.3 6.5c.2 0 .3.1.3.3v2.4c0 .2-.1.3-.3.3H5.1c-.2 0-.3-.1-.3-.3V6.8c0-.2.1-.3.3-.3h9.2m0-1.5H1.8C.8 5 0 5.8 0 6.8v2.4c0 1 .8 1.8 1.8 1.8h12.4c1 0 1.8-.8 1.8-1.8V6.8c.1-1-.7-1.8-1.7-1.8z"}))},oo=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),(0,oe.createElement)("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.3c0 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.8zM1.5 1.8c0-.2.1-.3.3-.3h16.3c.2 0 .3.1.3.3v7.1c-.8.7-2.2 2.1-4.1 2.1-3.1 0-4.8-3.6-8.1-3.6-1.9 0-3.7 1.3-4.6 2.1V1.8zm17 16.3c0 .3-.2.4-.3.4H1.8c-.2 0-.3-.1-.3-.3V12c.9-.9 2.7-2.7 4.5-2.7 2.7 0 4.3 3.4 8.3 3.4 1.9 0 3.4-1 4.1-1.6v7z"}))},so=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,oe.createElement)("path",{d:"M9.4 8.9c-.4 0-.5.1-.9.3l-1.4-.9v-.5L8.5 7c.2.1.5.3.9.3.7 0 1.4-.5 1.4-1.4 0-.9-.7-1.4-1.4-1.4-.7.1-1.4.6-1.4 1.3v.3L6.6 7c-.1-.2-.5-.4-.8-.4-.7 0-1.2.7-1.2 1.4S5.1 9.4 6 9.4c.3 0 .5-.2.9-.3l1.1.8v.3c0 .7.7 1.2 1.4 1.2s1.4-.5 1.4-1.4c0-.5-.7-1.1-1.4-1.1z"}),(0,oe.createElement)("path",{d:"M8 1.1C4.2 1.1 1.1 4.2 1.1 8s3.1 6.9 6.9 6.9 6.9-3.1 6.9-6.9S11.8 1.1 8 1.1zm0 12.8c-3.3 0-5.9-2.5-5.9-5.9S4.7 2.1 8 2.1s5.9 2.5 5.9 5.9-2.6 5.9-5.9 5.9z"}))},co=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg"},e),(0,oe.createElement)("path",{d:"M1.6.8c0-.5.3-.8.7-.8h16c.4 0 .8.3.8.8s-.3.8-.8.8h-16c-.4-.1-.7-.4-.7-.8zm16.7 17.7h-16c-.4 0-.8.3-.8.8 0 .4.3.8.8.8h16c.4 0 .8-.3.8-.8s-.4-.8-.8-.8zM13.2 6.7c.3.3.8.3 1.1 0 .3-.3.3-.8 0-1.1l-3.4-3.4c-.3-.3-.8-.3-1.1 0L6.4 5.6c-.3.3-.3.8 0 1.1.1.1.3.2.5.2s.4-.1.5-.2l2.1-2.1v11l-2.1-2.1c-.3-.3-.8-.3-1.1 0-.3.3-.3.8 0 1.1L9.7 18c.1.1.3.2.5.2s.4-.1.5-.2l3.4-3.4c.3-.3.3-.8 0-1.1-.3-.3-.8-.3-1.1 0l-2.1 2.1v-11l2.3 2.1z"}))},uo=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),(0,oe.createElement)("path",{d:"M17.6 14.7H6.5c-.5 0-.9.4-.9 1 0 .5.3 1 .9 1h11.1c.6-.1.9-.5.9-1s-.3-1-.9-1zM6.4 5.2h11.4c.4 0 .8-.4.8-1s-.4-1-.9-1H6.4c-.5 0-.9.4-.9 1s.4 1 .9 1zM17.6 10.9H9.4c-.4 0-.9.4-.9 1 0 .5.3 1 .9 1h8.2c.5-.1.9-.5.9-1s-.3-1-.9-1zM17.6 7.1H9.4c-.4 0-.9.4-.9 1 0 .5.3 1 .9 1h8.2c.5 0 .9-.5.9-1s-.3-1-.9-1zM2.5 3.2c-.6 0-1 .4-1 1s.4 1 1 1 1-.4 1-1-.4-1-1-1z"}),(0,oe.createElement)("circle",{cx:5.5,cy:8.1,r:1}),(0,oe.createElement)("circle",{cx:5.5,cy:11.9,r:1}),(0,oe.createElement)("path",{d:"M2.5 14.8c-.6 0-1 .4-1 1s.4 1 1 1 1-.4 1-1-.4-1-1-1z"}))},mo=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg"},e),(0,oe.createElement)("path",{d:"M8.6 12.1c.4-.5.6-1.2.6-1.9V8c0-1.9-1.5-3.4-3.4-3.4S2.4 6.1 2.4 8v2.1c0 .7.2 1.4.6 1.9-1.7.3-3 1.9-3 3.7V17c0 1.2.9 2.1 2.1 2.1h7.4c1.2 0 2.1-.9 2.1-2.1v-1.2c.1-1.9-1.3-3.4-3-3.7zm-2.8-6c1 0 1.8.7 1.9 1.7-.8.6-1.3.4-1.8-.1-.2-.2-.5-.5-.9-.5s-.8.3-1 .5c.1-.8.9-1.6 1.8-1.6zM4 8.9c.2-.1.5-.2.8-.5.1-.1.2-.1.2-.1s.1 0 .2.2c.6.5 1.1.7 1.6.7.3 0 .6-.1.9-.2v1.1c0 1-.8 1.9-1.9 1.9-1 0-1.9-.8-1.9-1.9V8.9zm2.8 4.6c-.2.9-.6 1.4-1 1.4-.3 0-.7-.5-1-1.4h2zm3.3 3.5c0 .3-.3.6-.6.6H2.1c-.3 0-.6-.3-.6-.6v-1.2c0-1.2 1-2.2 2.2-2.2h.1c.3 1.4 1.1 2.4 2 2.4s1.7-1 2-2.4h.1c1.2 0 2.2 1 2.2 2.2V17zM17 8.3c.4-.5.6-1.2.6-1.9V4.3c0-1.9-1.5-3.4-3.4-3.4s-3.4 1.5-3.4 3.4v2.1c0 .7.2 1.4.6 1.9-.4.1-.8.2-1.1.4v1.4c0 .3 0 .5-.1.8.4-.7 1.1-1.1 1.9-1.1h.1c.3 1.4 1.1 2.4 2 2.4.9 0 1.7-1 2-2.4h.1c1.2 0 2.2 1 2.2 2.2v1.2c0 .3-.3.6-.6.6h-5.4c.2.5.3 1 .4 1.5h5c1.2 0 2.1-.9 2.1-2.1V12c0-1.8-1.3-3.3-3-3.7zm-2.8-5.9c1 0 1.8.7 1.9 1.7-.8.6-1.3.4-1.8-.1-.7-.7-1.3-.6-1.9 0 0-.9.8-1.6 1.8-1.6zm0 8.8c-.3 0-.7-.5-1-1.4h1.9c-.2.8-.6 1.4-.9 1.4zM16 6.4c0 1-.8 1.9-1.9 1.9-1 0-1.9-.8-1.9-1.9V5.2c.3-.1.6-.2.8-.5.2-.2.3-.2.3-.2s.1 0 .2.2c.6.6 1.1.8 1.6.8.3 0 .6-.1.9-.2v1.1z"}))},go=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg"},e),(0,oe.createElement)("path",{d:"M4 20c-.1 0-.2 0-.3-.1-.3-.1-.5-.4-.5-.7v-2.9H1.9c-1 0-1.9-.8-1.9-1.9V1.9C0 .8.8 0 1.9 0h16.2c1 0 1.9.8 1.9 1.9v12.6c0 1-.8 1.9-1.9 1.9H7.9l-3.4 3.4c-.1.1-.3.2-.5.2zM1.9 1.5c-.2 0-.4.2-.4.4v12.6c0 .2.2.4.4.4H4c.4 0 .8.3.8.8v1.8l2.3-2.3c.1-.1.3-.2.5-.2h10.5c.2 0 .4-.2.4-.4V1.9c0-.2-.2-.4-.4-.4H1.9zM7.2 13c-.1 0-.3 0-.4-.1-.2-.1-.3-.4-.2-.6L7 9.5l-2-2c-.2-.2-.2-.4-.2-.7.1-.2.3-.4.5-.4L8.1 6l1.3-2.5c.1-.3.3-.4.6-.4.2 0 .5.1.6.3L11.8 6l2.8.4c.2 0 .4.2.5.4.1.2 0 .5-.2.6l-2 2 .5 2.8c0 .2-.1.5-.2.6-.2.1-.4.2-.7 0L10 11.6l-2.5 1.3c-.1.1-.2.1-.3.1zm2.8-2.7c.1 0 .2 0 .3.1l1.7.9-.3-1.9c0-.2 0-.4.2-.6l1.4-1.3-1.9-.3c-.2 0-.4-.2-.5-.3L10 5.1l-.9 1.7c-.1.2-.2.4-.5.4l-1.8.3 1.4 1.3c.1.1.2.4.2.6L8 11.2l1.7-.9h.3z"}))},po=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),(0,oe.createElement)("path",{d:"M17.1 1.1H7.4C4.4 1.1 2 3.5 2 6.5c0 3 2.4 5.4 5.4 5.4.4 0 .7 0 .9-.1v6.3c0 .5.5.8.9.8s.9-.3.9-.8V2.7h2.4v15.4c0 .5.5.8.9.8s.9-.3.9-.8V2.7h2.6c.5 0 .8-.4.8-.8.2-.4-.1-.8-.6-.8zM8.4 10c-.2.1-.5.2-.9.2-2.1 0-3.8-1.7-3.8-3.8s1.7-3.8 3.8-3.8c.4 0 .7.1.9.2V10z"}))},ho=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg"},e),(0,oe.createElement)("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.3c0 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.8zM1.8 1.5h16.3c.2 0 .3.1.3.3V13h-17V1.8c.1-.2.3-.3.4-.3zm16.4 17H1.8c-.2 0-.3-.1-.3-.3v-3.7h17v3.7c0 .2-.1.3-.3.3zm-11-7.2c.2.1.5.1.8 0L13.5 8c.2-.1.4-.4.4-.6 0-.3-.1-.5-.4-.6L7.9 3.4c-.2-.1-.5-.1-.8 0-.2.1-.3.3-.3.6v6.6c0 .3.1.5.4.7zm1.1-6l3.4 2-3.4 2v-4zm9 11.2c0 .4-.3.8-.8.8H3.4c-.4 0-.8-.3-.8-.8 0-.4.3-.8.8-.8h13.2c.4 0 .7.3.7.8z"}))},vo=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),(0,oe.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 bo(e){return(0,oe.cloneElement)(e,{fill:"url(#stackable-gradient)",className:`stk-stackable-icon-gradient ${e.props.className||""}`})}function fo(){return bo((0,oe.createElement)(_r,{width:"20",height:"20",className:"components-panel__icon"}))}function yo(e){let{className:t}=e;return(0,oe.createElement)(_r,{className:t,width:"20",height:"20"})}function ko(){return bo((0,oe.createElement)(_r,{width:"20",height:"20"}))}function xo(){return bo((0,oe.createElement)(Sr,{width:"20",height:"20"}))}function wo(){return bo((0,oe.createElement)(Er,{width:"20",height:"20"}))}function Co(){return bo((0,oe.createElement)(Tr,{width:"20",height:"20"}))}function _o(){return bo((0,oe.createElement)(Mr,{width:"16",height:"16"}))}function So(){return bo((0,oe.createElement)(Br,{width:"16",height:"16"}))}function Eo(){return bo((0,oe.createElement)(Nr,{width:"16",height:"16"}))}function To(){return bo((0,oe.createElement)(Ir,{width:"20",height:"20"}))}function Bo(){return bo((0,oe.createElement)(Rr,{width:"20",height:"20"}))}function Mo(){return bo((0,oe.createElement)(Ar,{width:"20",height:"20"}))}function No(){return bo((0,oe.createElement)(Or,{width:"20",height:"20"}))}function Io(){return bo((0,oe.createElement)(Pr,{width:"20",height:"20"}))}function Ro(){return bo((0,oe.createElement)(Hr,{width:"20",height:"20"}))}function Ao(){return bo((0,oe.createElement)(Lr,{width:"20",height:"20"}))}function Oo(){return bo((0,oe.createElement)(zr,{width:"20",height:"20"}))}function Po(){return bo((0,oe.createElement)(Fr,{width:"20",height:"20"}))}function Ho(){return bo((0,oe.createElement)(Dr,{width:"20",height:"20"}))}function Lo(){return bo((0,oe.createElement)($r,{width:"20",height:"20"}))}function zo(){return bo((0,oe.createElement)(Ur,{width:"20",height:"20"}))}function Fo(){return bo((0,oe.createElement)(Vr,{width:"20",height:"20"}))}function Do(){return bo((0,oe.createElement)(Wr,{width:"20",height:"20"}))}function $o(){return bo((0,oe.createElement)(Or,{width:"20",height:"20",className:"components-menu-items__item-icon"}))}function Uo(){return bo((0,oe.createElement)(Gr,{width:"20",height:"20"}))}function Vo(){return bo((0,oe.createElement)(jr,{width:"16",height:"16"}))}function Wo(){return bo((0,oe.createElement)(qr,{width:"16",height:"16"}))}function Go(){return bo((0,oe.createElement)(Kr,{width:"16",height:"16"}))}function jo(){return bo((0,oe.createElement)(Jr,{width:"20",height:"20"}))}function qo(){return bo((0,oe.createElement)(Yr,{width:"16",height:"16"}))}function Ko(){return bo((0,oe.createElement)(Xr,{width:"20",height:"20"}))}function Jo(){return bo((0,oe.createElement)(Zr,{width:"20",height:"20"}))}function Yo(){return bo((0,oe.createElement)(Qr,{width:"16",height:"16"}))}function Xo(){return bo((0,oe.createElement)(eo,{width:"20",height:"20"}))}function Zo(){return bo((0,oe.createElement)(to,{width:"20",height:"20"}))}function Qo(){return bo((0,oe.createElement)(ao,{width:"20",height:"20"}))}function es(){return bo((0,oe.createElement)(no,{width:"16",height:"16"}))}function ts(){return bo((0,oe.createElement)(io,{width:"20",height:"20"}))}function as(){return bo((0,oe.createElement)(lo,{width:"16",height:"16"}))}function ns(){return bo((0,oe.createElement)(ro,{width:"16",height:"16"}))}function is(){return bo((0,oe.createElement)(oo,{width:"20",height:"20"}))}function ls(){return bo((0,oe.createElement)(so,{width:"16",height:"16"}))}function rs(){return bo((0,oe.createElement)(co,{width:"20",height:"20"}))}function os(){return bo((0,oe.createElement)(uo,{width:"20",height:"20"}))}function ss(){return bo((0,oe.createElement)(mo,{width:"20",height:"20"}))}function cs(){return bo((0,oe.createElement)(go,{width:"20",height:"20"}))}function us(){return bo((0,oe.createElement)(po,{width:"20",height:"20"}))}function ds(){return bo((0,oe.createElement)(ho,{width:"20",height:"20"}))}function ms(){return bo((0,oe.createElement)(vo,{width:"20",height:"20",className:"components-menu-items__item-icon"}))}function gs(){return(0,oe.createElement)(_o,null)}Kt((()=>{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,oe.render)((0,oe.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"ugb-stackable-gradient",height:"0",width:"0",style:{opacity:0}},(0,oe.createElement)("defs",null,(0,oe.createElement)("linearGradient",{id:"stackable-gradient"},(0,oe.createElement)("stop",{offset:"0%",stopColor:"#8c33da",stopOpacity:"1"}),(0,oe.createElement)("stop",{offset:"100%",stopColor:"#f34957",stopOpacity:"1"})))),e)}));const ps=(0,oe.createElement)(ot.Icon,{icon:$o}),hs=(0,oe.createElement)(ot.Icon,{icon:ms}),vs=(0,zt.compose)([(0,te.withSelect)(((e,t)=>{let{clientIds:a}=t;const{getBlockRootClientId:n,getBlocksByClientId:i,canInsertBlockType:l}=e("core/block-editor"),r="ugb/container",o=l(r,a&&a.length>0?n(a[0]):void 0),s=i(a),c=1===s.length&&s[0]&&s[0].name===r;return{isGroupable:o&&s.length&&!c,isUngroupable:c&&!!s[0].innerBlocks.length,blocksSelection:s,groupingBlockName:r}})),(0,te.withDispatch)(((e,t)=>{let{clientIds:a,onToggle:n=u.noop,blocksSelection:i=[]}=t;const{replaceBlocks:l}=e("core/block-editor");return{onConvertToGroup(){if(!i.length)return;const e=i.map((e=>(0,ze.cloneBlock)(e))),t=(0,ze.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:i=!1}=e;return(0,te.select)("core/block-editor").getSelectedBlockClientIds?(0,oe.createElement)(oe.Fragment,null,n&&(0,oe.createElement)(ae.BlockSettingsMenuControls,null,(e=>{let{onClose:a}=e;return(0,oe.createElement)(ot.MenuItem,{icon:ps,onClick:()=>{t(),a()}},(0,T.__)("Group into Container",m.i18n))})),i&&(0,oe.createElement)(ae.BlockSettingsMenuControls,null,(e=>{let{onClose:t}=e;return(0,oe.createElement)(ot.MenuItem,{icon:hs,onClick:()=>{a(),t()}},(0,T.__)("Ungroup from Container",m.i18n))}))):null})),bs=(0,te.withSelect)((e=>{const{getSelectedBlockClientIds:t}=e("core/block-editor");return t?{clientIds:t()}:{}}))(vs),fs=(0,te.withSelect)((e=>{const{getSelectedBlockClientId:t}=e("core/block-editor");return t?{clientId:t()}:{}}))((e=>{let{clientId:t}=e;const[a,n]=(0,oe.useState)(!1),[i,l]=(0,oe.useState)(!1),{blockName:r,getJSONBlockAttributes:o}=(0,te.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,o=Object.keys(i).reduce(((e,t)=>(i[t]!==(r[t]?r[t].default:"")&&(e[t]=i[t]),e)),{});return o.uniqueClass=void 0,JSON.stringify((0,Z.applyFilters)(`stackable.${l}.design.filtered-block-attributes`,o),null,4)}}}));return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(ae.BlockSettingsMenuControls,null,(e=>{let{onClose:t}=e;return(0,oe.createElement)(ot.MenuItem,{icon:"editor-code",onClick:()=>{n(!0),l(!1),setTimeout((()=>document.querySelector(".ugb-modal-get-block-attributes-button textarea").select()),100),t()}},"Get / Set Block Attributes")})),a&&(0,oe.createElement)(ot.Modal,{title:`${(0,u.startCase)(r)} Block Attributes`,focusOnMount:!0,className:"ugb-modal-get-block-attributes-button",onRequestClose:()=>{i&&(e=>{if(t)try{const a=JSON.parse(e);dp(a,t)}catch(e){console.error(e)}})(document.querySelector(".ugb-modal-get-block-attributes-button textarea").value),n(!1)}},(0,oe.createElement)("p",null,'Copy or modify the attributes of the block directly. Use only double quotes "'),(0,oe.createElement)("textarea",{onChange:()=>l(!0)},o())))})),ys=e=>(0,oe.createElement)(ot.Modal,{title:(0,T.__)("Stackable Welcome Guide",m.i18n),className:"ugb-modal-welcome-video",overlayClassName:"ugb-modal-welcome-video__overlay",shouldCloseOnClickOutside:!1,onRequestClose:e.onRequestClose},(0,oe.createElement)("p",null,(0,T.__)("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.",m.i18n)),(0,oe.createElement)("iframe",{title:(0,T.__)("Video Tutorial",m.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,oe.createElement)("p",null,(0,oe.createElement)(mt,{className:"button-primary",onClick:e.onRequestClose,"data-testid":"button-close"},(0,T.__)("Close it, I'm good",m.i18n))));ys.defaultProps={onRequestClose:()=>{}};const ks=ys,xs=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"},e),(0,oe.createElement)("path",{d:"M38 12H12v26h26V12z"}))},ws=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"},e),(0,oe.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"}))},Cs=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"},e),(0,oe.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"}))},_s=e=>"wireframes"===e.uikit.toLowerCase(),Ss=e=>{const[t,a]=(0,oe.useState)([]),[n,i]=(0,oe.useState)([]),[l,r]=(0,oe.useState)([]),[o,s]=yp("stk__design_library__block-list__selected",""),{viewBy:c,apiVersion:d}=e;(0,oe.useEffect)((()=>{al(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]||_s(n)||(t.uikits[l]={id:l,label:n.uikit,plan:n.plan,count:0}),_s(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"];m.isPro||(n=["plan","label"]);const l=(0,u.sortBy)(Object.values(t.uikits),n),o=(0,u.sortBy)(Object.values(t.categories),"label");o.unshift({id:"all",label:(0,T.__)("All",m.i18n),count:0});const s=(0,u.sortBy)(Object.values(t.wireframes),"label");s.unshift({id:"all",label:(0,T.__)("All",m.i18n),count:0}),a(l),i(o),r(s)}))}),[d]),(0,oe.useEffect)((()=>{if(!t.length||!n.length||!l.length)return;const o=t.reduce(((e,t)=>(e[t.id]={...t,count:0},e)),{}),s=n.reduce(((e,t)=>(e[t.id]={...t,count:0},e)),{}),c=l.reduce(((e,t)=>(e[t.id]={...t,count:0},e)),{});e.designs.forEach((e=>{_s(e)?e.categories.forEach((e=>{e&&c[e]&&c[e].count++})):(e.uikit&&o[e.uikit]&&o[e.uikit].count++,e.categories.forEach((e=>{e&&s[e]&&s[e].count++})))}));let d=["label"];m.isPro||(d=["plan","label"]),a((0,u.sortBy)(Object.values(o),d)),s.all&&(s.all.count=e.designs.filter((e=>!_s(e))).length,s.all.label="    ");const g=(0,u.sortBy)(Object.values(s),"label");g[0]&&(g[0].label=(0,T.__)("All",m.i18n)),i(g),c.all&&(c.all.count=e.designs.filter(_s).length,c.all.label="    ");const p=(0,u.sortBy)(Object.values(c),"label");p[0]&&(p[0].label=(0,T.__)("All",m.i18n)),r(p)}),[e.designs.length,JSON.stringify(t),JSON.stringify(n),JSON.stringify(l)]),(0,oe.useEffect)((()=>{t.length&&n.length&&l.length&&s("uikit"===c?t[0].id:"all")}),[c]),(0,oe.useEffect)((()=>{e.onSelect(o)}),[o]);const g="uikit"===c?t:"category"===c?n:l;return(0,oe.createElement)("ul",{className:"ugb-block-list"},g.reduce(((e,t)=>{const{id:a,label:n,count:i,plan:l}=t,r=rt()(["stk-design-library__sidebar-item"],{"is-active":o===a,"is-disabled":!m.isPro&&"premium"===l});return e.push((0,oe.createElement)("li",{key:a},(0,oe.createElement)("div",{className:r,"data-count":i,onClick:()=>s(a),onKeyPress:e=>{13===e.keyCode&&(void 0).click()},role:"button",tabIndex:0,"aria-pressed":o===a?"true":"false"},n,(0,oe.createElement)("span",{className:"ugb-block-list__count","data-testid":`${a}-count`},i)))),e}),[]))};Ss.defaultProps={select:"",onSelect:()=>{},apiVersion:"",designs:[]};const Es=Ss,Ts=e=>{const[t,a]=(0,oe.useState)(e.search),[n,i]=(0,oe.useState)(3),[l,r]=(0,oe.useState)(!0),[o,s]=(0,oe.useState)(!1),[c,u]=(0,oe.useState)(!1),[d,g]=(0,oe.useState)([]),[p,h]=(0,oe.useState)([]),[v,b]=(0,oe.useState)(!1),[f,y]=(0,oe.useState)(""),[k,x]=yp("stk__design_library__block-list__view_by","uikit"),[w,C]=yp("stk__design_library_dev_mode",!1),[_,S]=(0,oe.useState)([]),[E,B]=(0,oe.useState)([]),[M,N]=(0,oe.useState)(t),[I,R]=(0,oe.useState)(null);return(0,oe.useEffect)((()=>{I&&(clearTimeout(I),R(null)),R(setTimeout((()=>{N(t)}),500))}),[t]),(0,oe.useEffect)((()=>{const e=document.querySelector(".ugb-modal-design-library__search input");e&&e.focus()}),[]),(0,oe.useEffect)((()=>{o&&(S([]),B([])),ll({search:M,reset:o,apiVersion:e.apiVersion}).then((e=>{S(e)})).finally((()=>{s(!1)}))}),[M,o,e.apiVersion]),(0,oe.useEffect)((()=>{r(!0),ll({apiVersion:e.apiVersion,search:M,uikit:"wireframe"===k?"Wireframes":"uikit"===k?f:"",categories:["category","wireframe"].includes(k)&&"all"!==f?[f]:[]}).then((e=>{B(e)})).finally((()=>{r(!1)}))}),[f,k,o,M,e.apiVersion]),(0,oe.createElement)(ot.Modal,{title:(0,oe.createElement)(oe.Fragment,null,(0,T.__)("Stackable Design Library",m.i18n),(0,oe.createElement)(xn,{className:"stk-design-library-tabs",controls:[{value:"category",title:(0,T.__)("Block Designs",m.i18n)},{value:"uikit",title:(0,T.__)("UI Kits",m.i18n)},{value:"wireframe",title:(0,T.__)("Wireframes",m.i18n)}],value:k,onChange:x,fullwidth:!1,isToggleOnly:!0,allowReset:!1}),e.hasVersionSwitcher&&(0,oe.createElement)(xn,{controls:[{value:"",title:(0,T.__)("Latest Design Library",m.i18n)},{value:"v2",title:(0,T.__)("V2 Design Library",m.i18n)}],value:e.apiVersion,onChange:e.onChangeApiVersion,isSmall:!0,fullwidth:!1,isToggleOnly:!0,allowReset:!1})),className:rt()("ugb-modal-design-library",{"ugb-modal-design-library--is-multiselect":c}),onRequestClose:e.onClose},(0,oe.createElement)("div",{className:"ugb-modal-design-library__wrapper"},(0,oe.createElement)("aside",{className:"ugb-modal-design-library__sidebar"},(0,oe.createElement)(ot.TextControl,{className:"ugb-modal-design-library__search",placeholder:(0,T.__)("E.g. light, dark, red, minimalist…",m.i18n),value:t,onChange:e=>a(e),"data-testid":"input-search",type:"search"}),(0,oe.createElement)("div",{className:"ugb-modal-design-library__filters"},(0,oe.createElement)(Es,{apiVersion:e.apiVersion,designs:_,viewBy:k,onSelect:e=>y(e)}))),(0,oe.createElement)("aside",{className:"ugb-modal-design-library__topbar"},(0,oe.createElement)(mt,{label:(0,T.__)("Select Multiple",m.i18n),className:rt()("ugb-modal-design-library__select","stk-circular-button",{"stk--is-active":c}),onClick:()=>u(!c)},(0,T.__)("Select",m.i18n)),c&&(0,oe.createElement)(mt,{label:(0,T.__)("Deselect All",m.i18n),className:"ugb-modal-design-library__deselect stk-circular-button",disabled:!d.length,onClick:()=>g([])},(0,T.__)("Deselect All",m.i18n)),m.devMode&&(0,oe.createElement)(ot.ToggleControl,{className:"ugb-modal-design-library__dev-mode",label:"Dev Mode",checked:w,onChange:e=>{il(e).then((()=>{s(!0)})),C(e)}}),(0,oe.createElement)(mt,{icon:"image-rotate",label:(0,T.__)("Refresh Library",m.i18n),className:"ugb-modal-design-library__refresh",onClick:()=>s(!0)}),(0,oe.createElement)(mt,{icon:(0,oe.createElement)(xs,{width:"18",height:"18"}),className:2===n?"is-active":"",label:(0,T.__)("Large preview",m.i18n),onClick:()=>i(2)}),(0,oe.createElement)(mt,{icon:(0,oe.createElement)(Cs,{width:"18",height:"18"}),className:3===n?"is-active":"",label:(0,T.__)("Medium preview",m.i18n),onClick:()=>i(3)}),(0,oe.createElement)(mt,{icon:(0,oe.createElement)(ws,{width:"18",height:"18"}),className:4===n?"is-active":"",label:(0,T.__)("Small preview",m.i18n),onClick:()=>i(4)})),(0,oe.createElement)("div",{className:"ugb-modal-design-library__designs"},(0,oe.createElement)(ul,{className:`stk-design-library__item-${k}`,columns:n,onSelect:e.onSelect,isBusy:l,designs:E,apiVersion:e.apiVersion,isMultiSelectMode:c,selectedDesigns:d,onSelectMulti:t=>{const a=[...d],n=[...p];if(a.includes(t)){const e=a.indexOf(t);a.splice(e,1),g(a),n.splice(e,1),h(n)}else a.push(t),g(a),n.push(E.find((e=>e.id===t))),h(n),rl(t,e.apiVersion)}})),c&&(0,oe.createElement)("aside",{className:"ugb-modal-design-library__footer"},(0,oe.createElement)("div",null,(0,T.sprintf)((0,T.__)("(%d) Selected",m.i18n),d.length)),(0,oe.createElement)(mt,{label:(0,T.__)("Add Designs",m.i18n),className:"ugb-modal-design-library__add-multi",disabled:!d.length||v,onClick:()=>{b(!0);const t=d.map((t=>rl(t,e.apiVersion)));Promise.all(t).then((t=>{setTimeout((()=>{e.onSelect(t,p,(()=>b(!1)))}))}))}},(0,T.__)("Add Designs",m.i18n),v&&(0,oe.createElement)(ot.Spinner,null)))))};Ts.defaultProps={search:"",onClose:()=>{},onSelect:()=>{},hasVersionSwitcher:!1,apiVersion:"",onChangeApiVersion:()=>{}};const Bs=e=>{const[t,a]=yp("stk__design_library_api_version",""),n=(0,oe.useMemo)((()=>(0,Z.applyFilters)("stackable.design-library.versions",[""])),[]),i=n.includes(t)?t:n[0],l=(0,oe.useMemo)((()=>(0,Z.applyFilters)("stackable.design-library.modal-component",Ts,i)),[i]);return(0,oe.createElement)(l,at({hasVersionSwitcher:n.length>1,apiVersion:i,onChangeApiVersion:a},e))};Bs.defaultProps={};const Ms=Bs;let Ns=1;const Is=e=>{const[t]=(0,oe.useState)("ugb-admin-setting-"+Ns++),a=rt()(["ugb-admin-setting",e.className],{[`ugb-admin-setting--${e.size}`]:e.size});return(0,oe.createElement)("div",{className:a,id:t},(0,oe.createElement)("label",{className:"ugb-admin-setting__label-wrapper",htmlFor:t,onClick:e.onClick},!!e.label&&(0,oe.createElement)("span",{className:"ugb-admin-setting__label"},e.label),(0,oe.createElement)("div",{className:"ugb-admin-setting__field"},e.children)),e.help&&(0,oe.createElement)("p",{className:"ugb-admin-setting__help"},e.help))};Is.defaultProps={label:"",onClick:()=>{}};const Rs=Is,As=e=>{const t=(0,oe.createRef)();return(0,oe.createElement)(Rs,at({onClick:e=>{e.preventDefault(),t.current.focus()}},e),(0,oe.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)};As.defaultProps={label:"",type:"text",value:"",placeholder:"",onChange:()=>{}};const Os=As,Ps=e=>{const t=(0,oe.createRef)();return(0,oe.createElement)(Rs,at({onClick:a=>{e.onChange(!e.value),a.preventDefault(),t.current.focus()}},e,{className:rt()(e.className,"ugb-admin-toggle-setting")}),(0,oe.createElement)("button",{ref:t,className:rt()("ugb-admin-toggle-setting__button",{"ugb-admin-toggle-setting__button--enabled":!!e.value}),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,oe.createElement)("span",{className:"ugb-admin-toggle-setting__label"},(0,oe.createElement)("span",{style:{visibility:e.value?"visible":"hidden"}},e.enabled),(0,oe.createElement)("span",{style:{visibility:e.value?"hidden":"visible"}},e.disabled)))};Ps.defaultProps={label:"",value:!1,placeholder:"",onChange:()=>{},disabled:(0,T.__)("Disabled",m.i18n),enabled:(0,T.__)("Enabled",m.i18n),width:"",isDisabled:!1};const Hs=Ps,Ls=e=>(0,oe.createElement)(Rs,e,(0,oe.createElement)("select",{className:"ugb-admin-select-setting",value:e.value,onChange:t=>e.onChange(t.target.value)},e.options.map(((e,t)=>(0,oe.createElement)("option",{key:t,value:e.value},e.name)))),e.children);Ls.defaultProps={label:"",value:"",onChange:()=>{},options:[]};const zs=Ls,Fs=wp.url;let Ds=[];class $s extends oe.Component{constructor(){super(...arguments),this.state={isLoading:0===Ds.length,termList:Ds}}componentWillMount(){this.state.termList.length||(this.isStillMounted=!0,this.fetchRequest=Xi()({path:(0,Fs.addQueryArgs)(`/stackable/${"v"+(this.props.stkVersion||"2")}/terms`,{per_page:-1})}).then((e=>{this.isStillMounted&&(Ds=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:i,allowReset:l}=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 o=!this.props.taxonomyType&&0===n;(e===this.props.taxonomyType||o)&&Object.keys(r).forEach((e=>{a.push({name:r[e].name,value:r[e].term_id})}))}))}));const r=a.map((e=>e.name));let o=""!==i?i.split(",").map((e=>{const{name:t}=(0,u.find)(a,(t=>t.value===parseInt(e)))||{};return t})).filter((e=>e)):void 0;if((0,u.compact)(o).length||(o=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,oe.createElement)("div",{className:"stk-taxonomy-control__spinner"},(0,oe.createElement)(ot.Spinner,null)):(0,oe.createElement)("div",{className:"stk-taxonomy-control"},m.isPro&&(0,oe.createElement)(Xa,{label:(0,T.__)("Post Type",m.i18n),options:e,value:this.props.postType,allowReset:l,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,oe.createElement)(Xa,{label:(0,T.__)("Filter by Taxonomy",m.i18n),options:t,value:this.props.taxonomyType,allowReset:l,onChange:e=>{this.props.onChangeTaxonomyType(e),this.props.onChangeTaxonomy("")},default:"category"}),t.length>0&&(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(Xa,{label:(0,T.__)("Taxonomy Filter Type",m.i18n),allowReset:l,options:[{label:(0,T.__)("Included In",m.i18n),value:"__in"},{label:(0,T.__)("Not In",m.i18n),value:"__not_in"}],value:this.props.taxonomyFilterType,onChange:this.props.onChangeTaxonomyFilterType,default:"__in"}),(0,oe.createElement)(yc,{label:n,suggestions:r,value:o,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,u.find)(a||[],(t=>t.name===e))||{};return t}));this.props.onChangeTaxonomy((0,u.compact)(n||[]).join(","))}})))}}$s.defaultProps={postType:"post",onChangePostType:()=>{},taxonomyType:"category",onChangeTaxonomyType:()=>{},taxonomy:"",onChangeTaxonomy:()=>{},allowReset:!1};const Us=$s,Vs=e=>(0,oe.createElement)(ot.Tooltip,at({},e,{className:rt()([e.className,"stk-tooltip"]),text:(0,oe.createElement)("span",{className:"stk-tooltip__text"},e.text)}));Vs.defaultProps={className:""};const Ws=Vs,Gs={Edit:e=>{const{blockProps:t,render:a,mainClass:n,blockTag:i,...l}=e,{blockName:r}=t,{anchor:o="",design:s,blockTag:c="div"}=t.attributes,u=rt()([e.className],(0,Z.applyFilters)(`stackable.${r}.main-block.classes`,{"ugb-main-block":n},t)),d=rt()(["ugb-inner-block"],(0,Z.applyFilters)(`stackable.${r}.main-block.inner-classes`,{},t)),m=(0,Z.applyFilters)(`stackable.${r}.main-block.extraProps`,l,t),g=""!==o?o:void 0,p=c||i||"div";return(0,oe.createElement)(p,at({},m,{id:g,className:u}),t.styles,(0,Z.applyFilters)(`stackable.${r}.edit.output.outer`,null,s,t),a&&(0,oe.createElement)("div",{className:d},(0,Z.applyFilters)(`stackable.${r}.edit.output.before`,null,s,t),(0,oe.createElement)("div",{className:"ugb-block-content"},a(t)),(0,Z.applyFilters)(`stackable.${r}.edit.output.after`,null,s,t)))}};Gs.Edit.defaultProps={styles:null,mainClass:!0},Gs.Save=e=>{const{blockProps:t,render:a,mainClass:n,blockTag:i,...l}=e,{blockName:r}=t,{anchor:o="",design:s,blockTag:c="div"}=t.attributes,u=rt()([e.className],(0,Z.applyFilters)(`stackable.${r}.main-block.classes`,{"ugb-main-block":n},t)),d=rt()(["ugb-inner-block"],(0,Z.applyFilters)(`stackable.${r}.main-block.inner-classes`,{},t)),m=(0,Z.applyFilters)(`stackable.${r}.main-block.extraProps`,l,t),g=""!==o?o:void 0,p=c||i||"div";return(0,oe.createElement)(p,at({},m,{id:g,className:u}),t.styles,(0,Z.applyFilters)(`stackable.${r}.save.output.outer`,null,s,t),a&&(0,oe.createElement)("div",{className:d},(0,Z.applyFilters)(`stackable.${r}.save.output.before`,null,s,t),(0,oe.createElement)("div",{className:"ugb-block-content"},a(t)),(0,Z.applyFilters)(`stackable.${r}.save.output.after`,null,s,t)))},Gs.Save.defaultProps={styles:null,mainClass:!0};const js=Gs,qs=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.createElement)("path",{d:"M-10 210h1620V105.2H-10z"}))},Ks=function(e){return(0,oe.createElement)("svg",at({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,oe.createElement)("filter",{id:"straight-1-shadow_svg__a"},(0,oe.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,oe.createElement)("feComponentTransfer",null,(0,oe.createElement)("feFuncA",{type:"linear",slope:.4})),(0,oe.createElement)("feMerge",null,(0,oe.createElement)("feMergeNode",null),(0,oe.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,oe.createElement)("path",{d:"M-10 121.6h1620v-16.4H-10z"}))},Js={"wave-1":{default:{shape:function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.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,oe.createElement)("svg",at({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,oe.createElement)("filter",{id:"wave-1-shadow_svg__a"},(0,oe.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,oe.createElement)("feComponentTransfer",null,(0,oe.createElement)("feFuncA",{type:"linear",slope:.4})),(0,oe.createElement)("feMerge",null,(0,oe.createElement)("feMergeNode",null),(0,oe.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,oe.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,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.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,oe.createElement)("svg",at({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,oe.createElement)("filter",{id:"wave-1-inverted-shadow_svg__a"},(0,oe.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,oe.createElement)("feComponentTransfer",null,(0,oe.createElement)("feFuncA",{type:"linear",slope:.4})),(0,oe.createElement)("feMerge",null,(0,oe.createElement)("feMergeNode",null),(0,oe.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,oe.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,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.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,oe.createElement)("svg",at({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,oe.createElement)("filter",{id:"wave-2-shadow_svg__a"},(0,oe.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,oe.createElement)("feComponentTransfer",null,(0,oe.createElement)("feFuncA",{type:"linear",slope:.4})),(0,oe.createElement)("feMerge",null,(0,oe.createElement)("feMergeNode",null),(0,oe.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,oe.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,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.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,oe.createElement)("svg",at({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,oe.createElement)("filter",{id:"wave-2-inverted-shadow_svg__a"},(0,oe.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,oe.createElement)("feComponentTransfer",null,(0,oe.createElement)("feFuncA",{type:"linear",slope:.4})),(0,oe.createElement)("feMerge",null,(0,oe.createElement)("feMergeNode",null),(0,oe.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,oe.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,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.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,oe.createElement)("svg",at({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,oe.createElement)("filter",{id:"wave-3-shadow_svg__a"},(0,oe.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,oe.createElement)("feComponentTransfer",null,(0,oe.createElement)("feFuncA",{type:"linear",slope:.4})),(0,oe.createElement)("feMerge",null,(0,oe.createElement)("feMergeNode",null),(0,oe.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,oe.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,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.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,oe.createElement)("svg",at({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,oe.createElement)("filter",{id:"wave-3-inverted-shadow_svg__a"},(0,oe.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,oe.createElement)("feComponentTransfer",null,(0,oe.createElement)("feFuncA",{type:"linear",slope:.4})),(0,oe.createElement)("feMerge",null,(0,oe.createElement)("feMergeNode",null),(0,oe.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,oe.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,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.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,oe.createElement)("svg",at({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,oe.createElement)("filter",{id:"wave-4-shadow_svg__a"},(0,oe.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,oe.createElement)("feComponentTransfer",null,(0,oe.createElement)("feFuncA",{type:"linear",slope:.4})),(0,oe.createElement)("feMerge",null,(0,oe.createElement)("feMergeNode",null),(0,oe.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,oe.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,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.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,oe.createElement)("svg",at({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,oe.createElement)("filter",{id:"wave-4-inverted-shadow_svg__a"},(0,oe.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,oe.createElement)("feComponentTransfer",null,(0,oe.createElement)("feFuncA",{type:"linear",slope:.4})),(0,oe.createElement)("feMerge",null,(0,oe.createElement)("feMergeNode",null),(0,oe.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,oe.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,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.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,oe.createElement)("svg",at({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,oe.createElement)("filter",{id:"curve-1-shadow_svg__a"},(0,oe.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,oe.createElement)("feComponentTransfer",null,(0,oe.createElement)("feFuncA",{type:"linear",slope:.4})),(0,oe.createElement)("feMerge",null,(0,oe.createElement)("feMergeNode",null),(0,oe.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,oe.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,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.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,oe.createElement)("svg",at({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,oe.createElement)("filter",{id:"curve-1-inverted-shadow_svg__a"},(0,oe.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,oe.createElement)("feComponentTransfer",null,(0,oe.createElement)("feFuncA",{type:"linear",slope:.4})),(0,oe.createElement)("feMerge",null,(0,oe.createElement)("feMergeNode",null),(0,oe.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,oe.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,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.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,oe.createElement)("svg",at({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,oe.createElement)("filter",{id:"curve-2-shadow_svg__a"},(0,oe.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,oe.createElement)("feComponentTransfer",null,(0,oe.createElement)("feFuncA",{type:"linear",slope:.4})),(0,oe.createElement)("feMerge",null,(0,oe.createElement)("feMergeNode",null),(0,oe.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,oe.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,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.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,oe.createElement)("svg",at({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,oe.createElement)("filter",{id:"curve-2-inverted-shadow_svg__a"},(0,oe.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,oe.createElement)("feComponentTransfer",null,(0,oe.createElement)("feFuncA",{type:"linear",slope:.4})),(0,oe.createElement)("feMerge",null,(0,oe.createElement)("feMergeNode",null),(0,oe.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,oe.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,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.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,oe.createElement)("svg",at({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,oe.createElement)("filter",{id:"curve-3-shadow_svg__a"},(0,oe.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,oe.createElement)("feComponentTransfer",null,(0,oe.createElement)("feFuncA",{type:"linear",slope:.4})),(0,oe.createElement)("feMerge",null,(0,oe.createElement)("feMergeNode",null),(0,oe.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,oe.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,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.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,oe.createElement)("svg",at({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,oe.createElement)("filter",{id:"curve-3-inverted-shadow_svg__a"},(0,oe.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,oe.createElement)("feComponentTransfer",null,(0,oe.createElement)("feFuncA",{type:"linear",slope:.4})),(0,oe.createElement)("feMerge",null,(0,oe.createElement)("feMergeNode",null),(0,oe.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,oe.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,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.createElement)("path",{className:"slant-1_svg__st2",d:"M-10 210h1620V.5L-10 183.9z"}))},shadow:function(e){return(0,oe.createElement)("svg",at({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,oe.createElement)("filter",{id:"slant-1-shadow_svg__a"},(0,oe.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,oe.createElement)("feComponentTransfer",null,(0,oe.createElement)("feFuncA",{type:"linear",slope:.4})),(0,oe.createElement)("feMerge",null,(0,oe.createElement)("feMergeNode",null),(0,oe.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,oe.createElement)("path",{className:"slant-1-shadow_svg__st2",d:"M-10 183.9v10L1610 10.5V.5z"}))}},inverted:{shape:function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.createElement)("path",{d:"M1610 210H-10V.5l1620 183.4z"}))},shadow:function(e){return(0,oe.createElement)("svg",at({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,oe.createElement)("filter",{id:"slant-1-inverted-shadow_svg__a"},(0,oe.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,oe.createElement)("feComponentTransfer",null,(0,oe.createElement)("feFuncA",{type:"linear",slope:.4})),(0,oe.createElement)("feMerge",null,(0,oe.createElement)("feMergeNode",null),(0,oe.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,oe.createElement)("path",{d:"M-10 .5v10l1620 183.4v-10z"}))}}},"slant-2":{default:{shape:function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.createElement)("path",{className:"slant-2_svg__st1",d:"M1610 39.2V209H-10V39.2l810 118.9 810-118.9z"}))},shadow:function(e){return(0,oe.createElement)("svg",at({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,oe.createElement)("filter",{id:"slant-2-shadow_svg__a"},(0,oe.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,oe.createElement)("feComponentTransfer",null,(0,oe.createElement)("feFuncA",{type:"linear",slope:.4})),(0,oe.createElement)("feMerge",null,(0,oe.createElement)("feMergeNode",null),(0,oe.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,oe.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,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.createElement)("path",{d:"M1610 160v53.2H-10V160L800 41.1 1610 160z"}))},shadow:function(e){return(0,oe.createElement)("svg",at({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,oe.createElement)("filter",{id:"slant-2-inverted-shadow_svg__a"},(0,oe.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,oe.createElement)("feComponentTransfer",null,(0,oe.createElement)("feFuncA",{type:"linear",slope:.4})),(0,oe.createElement)("feMerge",null,(0,oe.createElement)("feMergeNode",null),(0,oe.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,oe.createElement)("path",{d:"M800 41.1L-10 160v10L800 51.1 1610 170v-10z"}))}}},"straight-1":{default:{shape:qs,shadow:Ks},inverted:{shape:qs,shadow:Ks}},"rounded-1":{default:{shape:function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.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,oe.createElement)("svg",at({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,oe.createElement)("filter",{id:"rounded-1-shadow_svg__a"},(0,oe.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,oe.createElement)("feComponentTransfer",null,(0,oe.createElement)("feFuncA",{type:"linear",slope:.4})),(0,oe.createElement)("feMerge",null,(0,oe.createElement)("feMergeNode",null),(0,oe.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,oe.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,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.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,oe.createElement)("svg",at({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,oe.createElement)("filter",{id:"rounded-1-inverted-shadow_svg__a"},(0,oe.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,oe.createElement)("feComponentTransfer",null,(0,oe.createElement)("feFuncA",{type:"linear",slope:.4})),(0,oe.createElement)("feMerge",null,(0,oe.createElement)("feMergeNode",null),(0,oe.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,oe.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,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.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,oe.createElement)("svg",at({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,oe.createElement)("filter",{id:"rounded-2-shadow_svg__a"},(0,oe.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,oe.createElement)("feComponentTransfer",null,(0,oe.createElement)("feFuncA",{type:"linear",slope:.4})),(0,oe.createElement)("feMerge",null,(0,oe.createElement)("feMergeNode",null),(0,oe.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,oe.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,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.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,oe.createElement)("svg",at({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,oe.createElement)("filter",{id:"rounded-2-inverted-shadow_svg__a"},(0,oe.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,oe.createElement)("feComponentTransfer",null,(0,oe.createElement)("feFuncA",{type:"linear",slope:.4})),(0,oe.createElement)("feMerge",null,(0,oe.createElement)("feMergeNode",null),(0,oe.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,oe.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,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.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,oe.createElement)("svg",at({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,oe.createElement)("filter",{id:"rounded-3-shadow_svg__a"},(0,oe.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,oe.createElement)("feComponentTransfer",null,(0,oe.createElement)("feFuncA",{type:"linear",slope:.4})),(0,oe.createElement)("feMerge",null,(0,oe.createElement)("feMergeNode",null),(0,oe.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,oe.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,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.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,oe.createElement)("svg",at({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,oe.createElement)("filter",{id:"rounded-3-inverted-shadow_svg__a"},(0,oe.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,oe.createElement)("feComponentTransfer",null,(0,oe.createElement)("feFuncA",{type:"linear",slope:.4})),(0,oe.createElement)("feMerge",null,(0,oe.createElement)("feMergeNode",null),(0,oe.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,oe.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"}))}}}},Ys=e=>{const{shape:t,shadow:a}=Js[e.design||"wave-1"][e.inverted?"inverted":"default"],n=rt()([e.className,"ugb-separator-wrapper"]);return(0,oe.createElement)("div",{className:n},e.shadow&&(0,oe.createElement)(a,{className:"ugb-separator__shadow",preserveAspectRatio:"none","aria-hidden":"true"}),(0,oe.createElement)(t,{className:"ugb-separator__layer-1",preserveAspectRatio:"none","aria-hidden":"true"}),e.children)};Ys.defaultProps={className:"",design:"wave-1",shadow:!1,inverted:!1},Ys.Save=e=>(0,oe.createElement)(Ys,e);const Xs=Ys,Zs=()=>(0,oe.createElement)("hr",{className:"ugb-control-separator"}),Qs=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a="";return a=t?ec(e,{"aria-label":t,role:"img"},["aria-hidden"]):ec(e,{"aria-hidden":"true"},["aria-label","role"]),a},ec=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=Ep(e);return n?(Object.keys(t).forEach((e=>{n.setAttribute(e,t[e])})),a.forEach((e=>{n.removeAttribute(e)})),n.outerHTML):""},tc=(0,oe.memo)((e=>{const[t,a]=(0,oe.useState)(0),n=()=>{a(t+1)};(0,oe.useEffect)((()=>{Np().then(n)}),[]);const i=(0,u.pick)(e,["className","color","fill","style"]);if("string"==typeof e.value&&e.value.match(/^<svg/)){let t=Qs(e.value,e.ariaLabel);return t=ec(t,{width:"32",height:"32"}),(0,oe.createElement)(oe.RawHTML,i,e.prependRenderString+t)}if(!Mp())return(0,oe.createElement)(ot.Spinner,null);const l=e.value?e.value.replace(/-.*$/,""):e.prefix,r=e.value?e.value.replace(/^.*?-/,""):e.iconName;if(l&&r){const t=Tp(l,r);if(!t)return Ip(l,r).then(n),(0,oe.createElement)(ot.Spinner,null);let a=Qs(t,e.ariaLabel);return a=ec(a,{width:"32",height:"32"}),(0,oe.createElement)(oe.RawHTML,i,e.prependRenderString+a)}const o=Tp("far","smile");let s=Qs(o,e.ariaLabel);return s=ec(s,{width:"32",height:"32"}),(0,oe.createElement)(oe.RawHTML,i,e.prependRenderString+s)}));tc.Content=e=>{const t=(0,u.pick)(e,["className","color","fill","style"]),{prependRenderString:a=""}=e;if("string"==typeof e.value&&e.value.match(/^<svg/)){let n=Qs(e.value,e.ariaLabel);return n=ec(n,{width:"32",height:"32"}),(0,oe.createElement)(oe.RawHTML,t,a+n)}const n=e.value?e.value.replace(/-.*$/,""):e.prefix,i=e.value?e.value.replace(/^.*?-/,""):e.iconName,l=Tp(n,i);let r=Qs(l,e.ariaLabel);return r=ec(r,{width:"32",height:"32"}),(0,oe.createElement)(oe.RawHTML,t,a+r)},tc.defaultProps={ariaLabel:"",prefix:"",iconName:"",value:"",prependRenderString:""};const ac=tc,nc=e=>e.match(/^<svg(.*?)<\/svg>$/g)?e:e.match(/<svg/)?(e.match(/<svg.*?<\/svg>/g)||[e])[0]:e,ic=e=>{const{...t}=e;return t.value=(0,oe.useMemo)((()=>"string"===e.value?nc(e.value):e.value),[e.value]),(0,oe.createElement)(ac,t)};ic.Content=e=>{const{...t}=e;return t.value="string"===e.value?nc(e.value):e.value,(0,oe.createElement)(ac.Content,t)};const lc=ic,rc=e=>{const t=rt()(["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,oe.createElement)(ot.BaseControl,{help:e.help,className:t},e.hasLabel&&(0,oe.createElement)(Jl,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens,afterButton:e.afterButton,helpTooltip:e.helpTooltip}),e.children,e.allowReset&&a&&(0,oe.createElement)(mt,{className:rt()("stk-inspector-control__reset-button",{"stk-control__reset-button--no-modified":!e.hasPanelModifiedIndicator}),isSmall:!0,isTertiary:!0,"aria-label":(0,T.__)("Reset",m.i18n),onClick:()=>{e.onReset?e.onReset():e.onChange(e.defaultValue)},icon:(0,oe.createElement)(ot.Dashicon,{icon:"image-rotate"})}))};rc.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,hasPanelModifiedIndicator:!0};const oc=rc,sc=function(e){return(0,oe.createElement)("svg",at({fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),(0,oe.createElement)("path",{d:"M16.667 12.222v2.963a1.482 1.482 0 01-1.482 1.482H4.815a1.482 1.482 0 01-1.482-1.482v-2.963M13.704 7.037L10 3.333 6.296 7.037M10 3.333v8.89",stroke:"#293056",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))},cc=(0,oe.memo)((e=>{const t=je(`${e.attribute}Id`,e.responsive,e.hover),a=je(`${e.attribute}Url`,e.responsive,e.hover),n=je(`${e.attribute}HeightAttribute`,e.responsive,e.hover),i=je(`${e.attribute}WidthAttribute`,e.responsive,e.hover),l=je(`${e.attribute}Alt`,e.responsive,e.hover),r=Be((e=>({[t]:e[t],[a]:e[a]}))),o=Me(),s=void 0!==e.onChange?e.onChange:e=>{o({[t]:e.id,[a]:e.url,[n]:e.width||"",[i]:e.height||"",[l]:e.alt||""})},[c,u]=la(e),d=xa({onChange:e=>s({url:e,id:"",width:"",height:"",alt:""}),value:r[a]}),g=void 0!==e.imageId?e.imageId:r[t],p=void 0!==e.imageURL?e.imageURL:d.value||r[a],h=p&&p.match(/(mp4|webm|ogg)$/i)?"video":"image";return(0,oe.createElement)(ia,at({},u,{valueCheckAttribute:e.attribute+"Url",className:rt()("ugb-image-control",e.className)}),p&&(0,oe.createElement)(ae.MediaUpload,{onSelect:s,allowedTypes:e.allowedTypes,value:g,render:e=>(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)("div",{className:"ugb-image-preview-wrapper"},"video"===h&&(0,oe.createElement)("video",{className:"ugb-image-preview",autoPlay:!0,muted:!0,loop:!0,src:p,onClick:e.open,onKeyDown:t=>{13===t.keyCode&&e.open()}}),"image"===h&&(0,oe.createElement)("img",{className:"ugb-image-preview",draggable:"false",src:p,onClick:e.open,onKeyDown:t=>{13===t.keyCode&&e.open()},alt:(0,T.__)("preview",m.i18n)})))}),(0,oe.createElement)(Ta,at({enable:e.isDynamic,hasPanelModifiedIndicator:e.hasPanelModifiedIndicator,type:"image-url"},d),(0,oe.createElement)(ae.MediaUpload,{onSelect:s,allowedTypes:e.allowedTypes,value:g,render:e=>(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(mt,{className:"ugb-image-upload",onClick:e.open,icon:(0,oe.createElement)(sc,{viewBox:"0 0 20 20"}),isSecondary:!0,onKeyDown:t=>{13===t.keyCode&&e.open()}},(0,oe.createElement)("span",{className:"ugb-image-upload__label"},p?(0,T.__)("Replace",m.i18n):(0,T.__)("Upload",m.i18n)," ")))})),(0,oe.createElement)(oa,{allowReset:e.allowReset&&!e.dynamic,value:p,default:e.default,onChange:()=>{s({url:"",id:"",height:"",width:"",alt:""})},hasPanelModifiedIndicator:e.hasPanelModifiedIndicator}))}));cc.defaultProps={label:"",attribute:"",allowedTypes:["image"],responsive:!1,hover:!1,isDynamic:!0,value:void 0,onChange:void 0,allowReset:!0,hasPanelModifiedIndicator:!0};const uc=cc,dc=(0,oe.memo)((e=>{const{help:t}=e,a=`inspector-toggle-control-${(0,zt.useInstanceId)(dc)}`,[n,i]=Qt(e.attribute,e.responsive,e.hover,e.changeCallback),l=void 0===e.checked?n:e.checked,r=void 0===e.onChange?i:e.onChange;let o,s;t&&(o=a+"__help",s=(0,u.isFunction)(t)?t(l):t);const c=rt()(["components-toggle-control","stk-toggle-control","stk-control",e.className]);return(0,oe.createElement)(oc,{id:a,help:s,className:c,allowReset:!0,value:l,showReset:e.defaultValue?l!==e.defaultValue:l,onChange:r,hasLabel:!1,defaultValue:e.defaultValue},(0,oe.createElement)(ot.FormToggle,{id:a,checked:l,onChange:e=>r(e.target.checked),"aria-describedby":o}),(0,oe.createElement)("label",{htmlFor:a,className:"components-toggle-control__label"},(0,oe.createElement)(Yt,at({label:e.label},e.helpTooltip))))}));dc.defaultProps={className:"",allowReset:!1,showReset:null,defaultValue:"",attribute:"",responsive:!1,hover:!1,checked:void 0,onChange:void 0};const mc=dc,gc=e=>(0,oe.createElement)(oc,{help:e.help,className:rt()("ugb-advanced-radio-control",e.className),label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens,allowReset:e.allowReset,value:e.selected,onChange:e.onChange,defaultValue:e.defaultValue},(0,oe.createElement)(ot.RadioControl,(0,u.omit)(e,["className","help","label","units","unit","onChangeUnit","screens","allowReset","defaultValue"])));gc.defaultProps={onChange:()=>{},onChangeUnit:()=>{},help:"",className:"",units:["px"],unit:"px",screens:["desktop"],allowReset:!0,defaultValue:""};const pc=gc,hc={x:.5,y:.5},vc=e=>{var t;const[a,n]=Qt(e.attribute,e.responsive,e.hover),[i,l]=la(e);i.url=wa(i.url),null!==(t=i.url)&&void 0!==t&&t.includes("http")||(i.url=void 0);const r=void 0===e.value?a:e.value;return(0,oe.createElement)(ia,at({},l,{className:rt()("stk-advanced-focal-point-control",e.className)}),(0,oe.createElement)(ot.FocalPointPicker,at({},i,{value:r||hc,onChange:void 0===e.onChange?n:e.onChange})),(0,oe.createElement)(oa,{allowReset:e.allowReset,value:r,default:e.default,onChange:void 0===e.onChange?n:e.onChange}))};vc.defaultProps={className:"",url:"",allowReset:!0,default:"",attribute:"",responsive:!1,hover:!1,value:void 0,onChange:void 0};const bc=(0,oe.memo)(vc),fc=e=>{const[t,a]=Qt(e.attribute,e.responsive,e.hover),[n,i]=la(e),{...l}=n,r=void 0===e.value?t:e.value,o=void 0===e.onChange?a:e.onChange;return(0,oe.createElement)(ia,at({},i,{className:rt()("stk-advanced-token-field",e.className)}),(0,oe.createElement)(ot.FormTokenField,at({},l,{value:r||[],onChange:o})),(0,oe.createElement)(oa,{allowReset:e.allowReset,value:r,default:e.default,onChange:o}))};fc.defaultProps={className:"",allowReset:!0,default:"",attribute:"",value:void 0,onChange:void 0};const yc=fc,kc={blur:{label:(0,T.__)("Blur",m.i18n),min:0,sliderMax:10,step:.1,placeholder:0,format:"%spx"},brightness:{label:(0,T.__)("Brightness",m.i18n),min:0,sliderMax:3,step:.1,placeholder:1,format:"%s"},contrast:{label:(0,T.__)("Contrast",m.i18n),min:0,sliderMax:3,step:.1,placeholder:1,format:"%s"},grayscale:{label:(0,T.__)("Grayscale",m.i18n),min:0,sliderMax:1,step:.01,placeholder:0,format:"%s"},"hue-rotate":{label:(0,T.__)("Hue Rotate",m.i18n),min:0,sliderMax:360,step:1,placeholder:0,format:"%sdeg"},invert:{label:(0,T.__)("Invert",m.i18n),min:0,sliderMax:1,step:.01,placeholder:0,format:"%s"},opacity:{label:(0,T.__)("Opacity",m.i18n),min:0,sliderMax:1,step:.01,placeholder:1,format:"%s"},saturate:{label:(0,T.__)("Saturate",m.i18n),min:0,sliderMax:3,step:.1,placeholder:1,format:"%s"},sepia:{label:(0,T.__)("Sepia",m.i18n),min:0,sliderMax:1,step:.01,placeholder:0,format:"%s"}},xc=e=>{const[t,a]=Qt(e.attribute,e.responsive,e.hover),[n,i]=la(e),[l,r]=(0,oe.useState)({}),o=void 0===e.value?t:e.value,s=void 0===e.onChange?a:e.onChange;return(0,oe.useEffect)((()=>{const e=[...o.matchAll(/([\w-]+)\(([^\)]+)\)/g)].reduce(((e,t)=>{const[,a,n]=t;return e[a]=parseFloat(n),e}),{});r(e)}),[o]),(0,oe.createElement)(ia,at({},i,{boldLabel:!0,className:rt()("stk-image-filter-control","stk--no-padding",e.className)}),Object.keys(kc).map(((e,t)=>{const a=kc[e];return(0,oe.createElement)(Ja,at({key:t,allowReset:!0},(0,u.omit)(a,["format"]),{value:l[e],onChange:t=>{l[e]=t,r(l),s((e=>{const t=Object.keys(e).map((t=>{const a=e[t],{format:n,placeholder:i}=kc[t];return isNaN(a)||""===a?"":`${t}(${(0,T.sprintf)(n,a||i)})`}));return(0,u.compact)(t).join(" ")})(l))}}))})))};xc.defaultProps={allowReset:!0,default:"",attribute:"",responsive:!1,hover:!1,value:void 0,onChange:void 0};const wc=xc,Cc=(0,oe.createElement)(pt,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,oe.createElement)(gt,{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"})),_c=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const{getBlock:a,__experimentalGetAllowedBlocks:n}=(0,te.select)("core/block-editor");let i;const{innerBlocks:l}=a(e);if(t)i=(0,ze.getBlockFromExample)(t,{});else{const t=(0,u.last)(l);i=(0,ze.getBlockFromExample)((null==t?void 0:t.name)||n(e)[0].name,(0,u.pick)(t||{},["attributes","innerBlocks"]))}(0,te.dispatch)("core/block-editor").insertBlock(i,l.length,e)},Sc=e=>{let{label:t}=e;const{clientId:a}=(0,ae.useBlockEditContext)();return(0,oe.createElement)("div",{className:"block-editor-default-block-appender stk-column-appender"},(0,oe.createElement)(ot.Button,{onMouseDown:()=>_c(a),icon:Cc,label:t,tooltipPosition:"bottom",className:"block-editor-inserter__toggle"}))};Sc.defaultProps={label:(0,T.__)("Add Column",m.i18n)};const Ec=Sc,Tc=()=>{const{clientId:e,name:t}=(0,ae.useBlockEditContext)(),{blockTitle:a}=(0,te.useSelect)((e=>{var a;return{blockTitle:null===(a=e("core/blocks").getBlockType(t))||void 0===a?void 0:a.title}}),[t]);return(0,oe.createElement)(ot.Placeholder,{icon:(0,oe.createElement)(yo,null),label:a,instructions:(0,T.__)("There are no blocks in this group, please add one.",m.i18n)},(0,oe.createElement)(ot.Button,{isSecondary:!0,className:"ugb-design-library-block__button",onClick:()=>{_c(e)}},(0,T.__)("Add Block",m.i18n)))},Bc=[{component:Ja,key:"horizontalOffset",props:{label:(0,T.__)("Horizontal Offset",m.i18n),placeholder:0,sliderMin:-100,sliderMax:100},format:"%spx",default:"0px"},{component:Ja,key:"verticalOffset",props:{label:(0,T.__)("Vertical Offset",m.i18n),placeholder:0,sliderMin:-100,sliderMax:100},format:"%spx",default:"0px"},{component:Ja,key:"blur",props:{label:(0,T.__)("Blur",m.i18n),placeholder:0,sliderMin:0,sliderMax:100},format:"%spx",default:"0px"},{component:Ja,key:"shadowSpread",props:{label:(0,T.__)("Shadow Spread",m.i18n),placeholder:0,sliderMin:0,sliderMax:100},format:"%spx",default:"0px",show:e=>!e.isFilter},{component:ua,key:"shadowColor",props:{label:(0,T.__)("Shadow Color",m.i18n),disableAlpha:!1},default:"rgba(0,0,0,1)",changeCallback:e=>{var t,a,n;if(null!==(t=e)&&void 0!==t&&t.startsWith("rgba("))return e;if(null!==(a=e)&&void 0!==a&&a.startsWith("rgb("))return(null===(n=e)||void 0===n?void 0:n.replace("rgb","rgba").replace(/\)$/g,", 1)"))||"";e=ee(e);const i=Q(e);return i.startsWith("rgb(")?i.replace("rgb","rgba").replace(/\)$/g,", 1)"):i}},{component:Ja,key:"opacity",props:{label:(0,T.__)("Shadow Opacity",m.i18n),min:0,max:1,step:.1}}],Mc=e=>{const[t,a]=(0,oe.useState)({}),[n,i]=Qt(e.attribute,e.responsive,e.hover),[l,r]=la(e);return(0,oe.useEffect)((()=>{if(n){let e=n,i="",l=1;e=e.replace(/rgba\(.*\)$/g,(e=>(i=e,l=e.match(/[\d| ||\.]*\)$/g)[0],l=parseFloat(l),"")));const[r,o,s,c]=e.split(" ");t.horizontalOffset=parseInt(r),t.verticalOffset=parseInt(o),t.blur=parseInt(s),t.shadowSpread=isNaN(parseInt(c))?"":parseInt(c),t.shadowColor=i,t.opacity=l,a({...t})}}),[n]),(0,oe.createElement)(ka,{placement:"top-start",className:"shadow-control__popover",anchorRect:e.anchorRect},(0,oe.createElement)("div",{className:"components-panel__body is-opened"},(0,oe.createElement)(ia,at({},r,{label:(0,T.__)("Advanced Shadow Options",m.i18n),boldLabel:!0}),Bc.map((n=>{const l=n.component;return n.show&&!n.show(e.parentProps)?null:(0,oe.createElement)(l,at({key:n.key,allowReset:!0},n.props,{value:t[n.key]||"",onChange:l=>{const r=(n.changeCallback||(e=>e))(l);t[n.key]=r,a({...t}),i(((e,t)=>(0,u.compact)(Bc.map((a=>{const{key:n}=a;if("opacity"!==n){if("shadowColor"===n){const e=t.opacity;if((0,u.isNumber)(e)||""===e||void 0===e)return(t[n]||a.default||"").replace(/,[\d| ||\.]*\)$/g,(()=>`, ${(0,u.isNumber)(e)?e:1})`))}if(!a.show||a.show(e))return a.format&&void 0!==t[n]&&""!==t[n]?(0,T.sprintf)(a.format,t[n]):t[n]||a.default||""}}))).join(" "))(e.parentProps,t))}}))})))))},Nc=(0,oe.memo)((e=>{var t;const{options:a,label:n,...i}=e,l=a||(0,Z.applyFilters)("stackable.shadows",["none","0 0 0 1px rgba(120, 120, 120, 0.1)","0 0 0 2px rgba(120, 120, 120, 0.1)","0 5px 5px 0 rgba(18, 63, 82, 0.035)","0px 2px 20px rgba(153, 153, 153, 0.2)","0 5px 30px -10px rgba(18, 63, 82, 0.3)","0px 10px 30px rgba(0, 0, 0, 0.05)","7px 5px 30px rgba(72, 73, 121, 0.15)","0px 10px 60px rgba(0, 0, 0, 0.1)","0px 70px 90px -20px rgba(72, 73, 121, 0.30)"]),r=(0,oe.useRef)(null),[o,s]=(0,oe.useState)(!1),[c,u]=Qt(e.attribute,e.responsive,e.hover,(e=>e?-1===l.indexOf(e)?"custom":l.indexOf(e):""),(e=>""!==e?l[e]:e)),d=void 0===e.value?c:e.value,[g]=la(i);return(0,oe.useEffect)((()=>{const e=e=>{o&&(e.target.closest(".shadow-control__popover")||e.target.closest(".stk-shadow-control__more-button")||e.target.closest(".components-color-picker")||e.target.closest(".react-autosuggest__suggestions-container")||e.target.closest(".components-dropdown__content")||s(!1))};return document.body.addEventListener("mousedown",e),()=>document.body.removeEventListener("mousedown",e)}),[o]),(0,oe.useEffect)((()=>{}),[d,o]),(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(Ja,at({},g,{attribute:e.attribute,label:n,value:d,onChange:void 0===e.onChange?u:e.onChange,min:0,max:l.length-1,allowReset:!0,helpTooltip:e.helpTooltip,hover:e.hover,placeholder:"custom"===d?(0,T.__)("Custom",m.i18n):"",after:(0,oe.createElement)(ot.Button,{className:"stk-shadow-control__more-button",ref:r,isSmall:!0,isTertiary:!0,isPressed:o||"custom"===d,label:(0,T.__)("Shadow Settings",m.i18n),onClick:()=>s(!o),icon:(0,oe.createElement)(ot.Dashicon,{icon:"admin-generic"})})})),o&&(0,oe.createElement)(Mc,{anchorRect:null===(t=r.current)||void 0===t?void 0:t.getBoundingClientRect(),attribute:e.attribute,responsive:e.responsive,hover:e.hover,parentProps:e}))}),u.isEqual);Nc.defaultProps={attribute:"",label:(0,T.__)("Shadow / Outline",m.i18n),placeholder:"",options:null,valueCallback:null,changeCallback:null,isFilter:!1,helpTooltip:{video:"general-shadow",title:(0,T.__)("Shadow/Outline",m.i18n),description:(0,T.__)("Adjusts the intensity of the shadow/outline of the block and the appearance of the block border",m.i18n)}};const Ic=Nc,Rc=e=>{const[t,a]=Qt(e.attribute,e.responsive,e.hover,e.valueCallback,e.changeCallback),[n,i]=la(e),{isDynamic:l,...r}=n,o=void 0===e.value?t:e.value,s=void 0===e.onChange?a:e.onChange,c=xa({value:o,onChange:s}),u=rt()(["stk-link-control",e.className],{"stk--has-value":o});return(0,oe.createElement)(ia,at({},i,{className:u}),(0,oe.createElement)(Ta,at({type:["link","image-url"],enable:l},c),(0,oe.createElement)("div",{className:"stk-link-control__input"},(0,oe.createElement)(ae.__experimentalLinkControl,at({},r,{value:{url:o},onChange:e=>{let{url:t}=e;return s(t)},settings:[],forceIsEditingLink:!o})))),(0,oe.createElement)(oa,{allowReset:e.allowReset&&!e.dynamic,value:o,onChange:()=>s("")}))};Rc.defaultProps={className:"",label:"",screens:["desktop"],help:"",value:void 0,onChange:void 0,showSuggestions:!0,isDynamic:!0,allowReset:!0};const Ac=Rc,Oc=wp.keycodes,Pc=e=>{const{options:t,value:a}=e;return(0,oe.createElement)("div",{className:rt()(e.className,"stk-block-editor-block-styles")},t.map(((t,n)=>(0,oe.createElement)(Hc,{key:n,isActive:a===t[e.activeProperty],onSelect:e.onSelect,option:t}))))};Pc.defaultProps={className:"",onSelect:()=>{},options:[],value:"",activeProperty:"value"};const Hc=(0,oe.memo)((e=>{const{option:t,isActive:a,onSelect:n}=e,i=e=>{a||n(e)},l=t.icon;return(0,oe.createElement)("div",{className:rt()("stk-style-control__option","stk-block-editor-block-styles__item",{"is-active":a}),onClick:()=>i(t),onKeyDown:e=>{Oc.ENTER!==e.keyCode&&Oc.SPACE!==e.keyCode||(e.preventDefault(),i(t))},role:"button",tabIndex:"0","aria-label":t.label||""},(0,oe.createElement)("div",{className:"stk-block-editor-block-styles__item-preview stk-style-control__image"},t.image||l&&(0,oe.createElement)(l,{className:"stk-style-control__image__icon"})),t.label&&(0,oe.createElement)("div",{className:"stk-block-editor-block-styles__item-label"},t.label))}));Hc.defaultProps={option:{},isActive:!1,onSelect:()=>{}};const Lc=Pc,zc=e=>{(0,oe.useEffect)((()=>{e.generatedCss=""}),[e.uniqueId])},Fc=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,[Gp(i,t,t,a?".editor-styles-wrapper":"")]:e[i]})),{})},Dc=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,u.kebabCase)(a)}`));return t+"\n\t"+l+": "+i+";"}),"");return t.push("\n\n"+a+" {"+n+"\n}"),t}),[]),$c=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,u.sortBy)("string"==typeof e?e.split(",").map((e=>e.trim())):e);return(0,u.isEqual)(n,["desktop","tablet"])?"@media screen and (min-width: "+a+"px)":(0,u.isEqual)(n,["desktop"])?"@media screen and (min-width: "+t+"px)":(0,u.isEqual)(n,["mobile","tablet"])?"@media screen and (max-width: "+(t-1)+"px)":(0,u.isEqual)(n,["tablet"])?"@media screen and (min-width: "+a+"px) and (max-width: "+(t-1)+"px)":(0,u.isEqual)(n,["mobile"])?"@media screen and (max-width: "+(a-1)+"px)":null},Uc=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 o=(0,u.omit)(e,["desktopTablet","desktopOnly","tablet","tabletOnly","mobile","ie11","editor","saveOnly","custom"]);if(Object.keys(o).length){const e=Fc(o,t,i);Array.prototype.push.apply(r,Dc(e))}if(void 0!==e.desktopTablet){const l=Fc(e.desktopTablet,t,i),o=Dc(l,!i);o&&(i?o.forEach((e=>{r.push("\n\n"+$c(["desktop","tablet"],a,n)+" {\n"+e+" }")})):r.push(`\n\n${$c(["desktop","tablet"],a,n)} {\n${o.join("")} }`))}if(void 0!==e.desktopOnly){const l=Fc(e.desktopOnly,t,i),o=Dc(l,!i);o&&(i?o.forEach((e=>{r.push("\n\n"+$c(["desktop"],a,n)+" {\n"+e+" }")})):r.push(`\n\n${$c(["desktop"],a,n)} {\n${o.join("")} }`))}if(void 0!==e.tablet){const l=Fc(e.tablet,t,i),o=Dc(l,!i);o&&(i?o.forEach((e=>{r.push("\n\n"+$c(["mobile","tablet"],a,n)+" {\n"+e+" }")})):r.push(`\n\n${$c(["mobile","tablet"],a,n)} {\n${o.join("")} }`))}if(void 0!==e.tabletOnly){const l=Fc(e.tabletOnly,t,i),o=Dc(l,!i);o&&(i?o.forEach((e=>{r.push("\n\n"+$c(["tablet"],a,n)+" {\n"+e+" }")})):r.push(`\n\n${$c(["tablet"],a,n)} {\n${o.join("")} }`))}if(void 0!==e.mobile){const l=Fc(e.mobile,t,i),o=Dc(l,!i);o&&(i?o.forEach((e=>{r.push("\n\n"+$c(["mobile"],a,n)+" {\n"+e+" }")})):r.push(`\n\n${$c(["mobile"],a,n)} {\n${o.join("")} }`))}if(void 0!==e.ie11){const a=Fc(e.ie11,t,i),n=Dc(a,!i);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,Dc(e.custom)),i&&void 0!==e.editor&&!l&&Array.prototype.push.apply(r,Uc(e.editor,t,a,n,i,l++)),i||void 0===e.saveOnly||l||Array.prototype.push.apply(r,Uc(e.saveOnly,t,a,n,i,l++)),r},Vc=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Desktop";const a=[(0,u.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,u.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,u.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,u.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]}))})),_().all(a)},Wc=(0,oe.memo)((e=>{const{breakTablet:t=1024,breakMobile:a=768,styleFunc:n=(()=>{})}=e,i=de(),{clientId:l}=(0,ae.useBlockEditContext)(),r=Be(),o=Pp(r.uniqueId),s=n({...r,clientId:l}).map((e=>{const n=Vc(e,i);return Uc(n,o,t,a,!0)}));return s?s.map(((e,t)=>(0,oe.createElement)("style",{key:t},e))):null}));Wc.Content=e=>{const{breakTablet:t=1024,breakMobile:a=768,styleFunc:n=(()=>{}),attributes:i={}}=e,l=Pp(i.uniqueId),r=Uc(Gc(n(i)),l,t,a,!1);return r&&r.length?(0,oe.createElement)("style",null,$p(r.join(""))):null},Wc.displayName="Style";const Gc=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const a=_().all(e);return t?Kc(a):a};Wc.addAttributes=e=>{e.add({attributes:{generatedCss:{type:"string",source:"html",selector:".stk-block > style:not(.stk-custom-css),\n\t\t\t\t\t .stk-block > * > style:not(.stk-custom-css)",default:""}},versionAdded:"3.0.3",versionDeprecated:""})};const jc=(0,oe.memo)((e=>{var t;const{version:a,versionAdded:n,versionDeprecated:i,styles:l,breakTablet:r,breakMobile:o}=e,s=de(),c=Be((e=>e.uniqueId)),u=Pp(c),{clientId:d}=(0,ae.useBlockEditContext)();let m=u;if(!u){const e=Yp(d);m=Pp(e)}const g=(null===(t=m)||void 0===t?void 0:t.replace("stk-",""))||"",p=ag(g),h=p&&!m.match(/-[\d]$/g)?m+`-${p}`:m,v=(0,oe.useMemo)((()=>a?w()(a,n)>=0&&(!i||-1===w()(a,i)):!!i),[a,n,i]),b=Lm((()=>{if(!v)return"";const e=Vc(l,s);return Uc(Kc(e),h,r,o).join("")}),[v,l,s,h,r,o]),f=wa(b);return v&&b&&h&&f?(0,oe.createElement)("style",null,f):null}));jc.defaultProps={styles:null,blockUniqueClassName:"",breakTablet:1024,breakMobile:768,doImportant:!0,deviceType:"",version:"",versionAdded:"",versionDeprecated:!1},jc.Content=e=>{const{version:t,versionAdded:a,versionDeprecated:n,styles:i,blockUniqueClassName:l,breakTablet:r,breakMobile:o}=e;if(!e.blockUniqueClassName)return null;if(!(t?w()(t,a)>=0&&(!n||-1===w()(t,n)):n))return null;const s=Uc(Kc(i),l,r,o);return s?(0,oe.createElement)(oe.Fragment,null,$p(s.join(""))):null},jc.Content.defaultProps={styles:null,blockUniqueClassName:"",breakTablet:1024,breakMobile:768,doImportant:!0,version:"",versionAdded:"",versionDeprecated:!1};const qc=jc,Kc=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return"object"!=typeof e?hg(e,t):Object.keys(e).reduce(((a,n)=>({...a,[n]:Kc(e[n],t)})),{})},Jc=(0,oe.forwardRef)(((e,t)=>{const{children:a,className:n,tagName:i,...l}=e,r=rt()(["stk-link",n]),o=i||"a";return(0,oe.createElement)(o,at({ref:t,className:r,href:"a"===i?"javascript:void(0)":void 0},l),a)}));Jc.defaultProps={className:"",tagName:"a"},Jc.Content=e=>{const t=rt()(["stk-link",e.className]),a=(0,u.omit)(e,["target","rel","tagName"]),n=e.tagName||"a";e.target&&(a.target=e.target);const i=(e.rel||"").split(" ").filter((e=>!!e));return"_blank"===e.target&&(i.includes("noreferrer")||i.push("noreferrer"),i.includes("noopener")||i.push("noopener")),i.length&&(a.rel=i.join(" ")),(0,oe.createElement)(n,at({},a,{className:t}))},Jc.Content.defaultProps={className:"",target:"",rel:"",href:"",tagName:"a"};const Yc=Jc,Xc=[.25,.33333,.5,.66666,.75,1],Zc=[.1,.2,.3,.4,.5,.6,.7,.8,.9,1],Qc=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],o=i?Zc:Xc;return o.map((e=>{const t=a*e;return"right"===n?t-l:r-t}))},eu=Xc.map((e=>100*e)),tu=Zc.map((e=>100*e)),au=(0,oe.createContext)({showColumnTooltip:!1,setShowColumnTooltip:()=>{}}),nu=e=>{const{providerValue:t,...a}=e;return(0,oe.createElement)(au.Provider,{value:t},(0,oe.createElement)(ae.InnerBlocks,a))};nu.useContext=()=>{const[e,t]=(0,oe.useState)(!1);return[{showColumnTooltip:e,setShowColumnTooltip:t},e?"stk--column-tooltip-hovered":""]};const iu=nu,lu=e=>{const t=[];return e.reduce(((e,a)=>((0,u.sum)(e[e.length-1])+a>100?e.push([a]):e[e.length-1].push(a),t.push(e.length),e)),[[]]),t},ru={Desktop:5,Tablet:10,Mobile:10},ou=e=>{const{clientId:t}=(0,ae.useBlockEditContext)(),a=re(),{getEditorDom:n}=(0,te.useSelect)("stackable/editor-dom"),{isFirstBlock:i,isLastBlock:l,isOnlyBlock:r,adjacentBlocks:o,blockIndex:s,parentBlock:c}=a,d=!e.context["stackable/innerBlockOrientation"],m=de(),[g,p]=(0,oe.useState)([]),[h,v]=(0,oe.useState)(""),[b,f]=(0,oe.useState)([]),[y,k]=(0,oe.useState)(2e3),[x,w]=(0,oe.useState)(""),[C,_]=(0,oe.useState)(null),S="Desktop"===m,E="Tablet"===m,[T,B]=(0,oe.useState)(null==o?void 0:o.length);(0,oe.useEffect)((()=>{T&&null!=o&&o.length?T!==(null==o?void 0:o.length)&&(e.onResetDesktop(),B(o.length)):B(null==o?void 0:o.length)}),[o]);const[M,N]=(0,oe.useState)(!1);(0,oe.useEffect)((()=>(N(!0),()=>{N(!1)})),[]);const I=se();(0,oe.useEffect)((()=>{_(null)}),[I]);const R=rt()(["stk-column-resizeable",e.className]),{columnGap:A,columnGapTablet:O,columnGapMobile:P}=(null==c?void 0:c.attributes)||{},H={top:!1,right:"Desktop"===m?!r&&!l:!r,bottom:!1,left:"Desktop"===m&&!r&&!i,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},L=null==c?void 0:c.clientId,z=(0,oe.useRef)(void 0),[F,D]=(0,oe.useState)(!1),[$,U]=(0,oe.useState)(!1),{showColumnTooltip:V,setShowColumnTooltip:W}=(0,oe.useContext)(au);return(0,oe.useEffect)((()=>{F||($&&!V?W(t):$||V!==t||W(!1))}),[V,W,$,F,t]),(0,oe.createElement)(ot.ResizableBox,{enable:!!e.isHovered&&H,minWidth:"30",minHeight:"30",maxWidth:y,className:R,showHandle:!(!d||!e.isHovered)&&e.showHandle,snap:C,snapGap:20,onResizeStart:(e,a)=>{const i=A||0,l=n(),r=(0,te.select)("core/block-editor").getBlock(L),o=z.current=r.innerBlocks;if(S){const e=i*(o.length-1),t=l.querySelector(`[data-block="${L}"]`).clientWidth-e,n=o.every((e=>{let{attributes:t}=e;return!t.columnWidth})),r=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 r=l.querySelector(`[data-block="${a}"]`);return(null==r?void 0:r.clientWidth)||0}));p(r);const c="right"===a?s+1:s-1,u=r[s]+(r[c]-30);k(u)}else{const e=o.map((e=>{let{attributes:t}=e;return t.columnWidthTablet||t.columnWidth||100/o.length}));p(e);const a=l.querySelector(`[data-block="${t}"]`),n=(null==a?void 0:a.clientWidth)||0;v(n);const i=l.querySelector(`[data-block="${L}"]`),r=(null==i?void 0:i.clientWidth)||0;k(r)}U(!0)},onResize:(e,a,n,i)=>{let l=[];const r=z.current;if(S){const e=[...g],t=g.reduce(((e,t)=>e+t),0),n="right"===a?s+1:s-1;e[n]-=i.width,e[s]+=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]?tu:eu;return e.map((e=>{let a=e;return t.some((t=>Math.abs(e-t)<.2&&(a=t,!0))),a}))}(l,I);let o=l.reduce(((e,t)=>e+t),0);100!==o&&(l[n]=parseFloat((l[n]+100-o).toFixed(1))),o=l.reduce(((e,t)=>e+t),0),100!==o&&(l[n]=l[n]+100-o),f(l);const c=l.map(((e,t)=>`.editor-styles-wrapper [data-block][data-block="${r[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="${r[t].clientId}"] .stk-resizable-column__size-tooltip {\n\t\t\t\t\t--width: '${e.toFixed(1)}%' !important;\n\t\t\t\t}`)).join("");w(c),C||_({x:Qc(e,s,t,a,I)})}else{const e=h+i.width;l=(0,u.clamp)(parseFloat((e/y*100).toFixed(1)),0,100),f(l);const n=[...g];n[s]=l;const r=lu(n),o=r.filter((e=>e===r[s])).length,c=`.editor-styles-wrapper [data-block][data-block="${t}"] {\n\t\t\t\t\tflex: 1 1 calc(${l}% - var(--stk-column-gap, 0px) * ${o-1} / ${o} ) !important;\n\t\t\t\t\tmax-width: calc(${l}% - var(--stk-column-gap, 0px) * ${o-1} / ${o} ) !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}`;w(c),C||_({x:Qc([100],0,y,a,I)})}},onResizeStop:(t,a,n,i)=>{const l=z.current;if(i.width)if(S)(0,u.isEqual)(b.map((e=>0|e)),[33,33,33])?e.onChangeDesktop([33.33,33.33,33.33]):e.onChangeDesktop(b);else if(E){const t=l.map((e=>{let{attributes:t}=e;return t.columnWidthTablet||t.columnWidth||100/l.length}));t[s]=b,e.onChangeTablet(b,t,s)}else{const t=l.map((e=>{let{attributes:t}=e;return t.columnWidthMobile||100}));t[s]=b,e.onChangeMobile(b,t,s)}x&&setTimeout((()=>{M&&w("")}),400),_(null),U(!1),z.current=void 0}},d&&(0,oe.createElement)(su,{isVisible:!r,blockContext:a,value:S?e.columnWidth:E?e.columnWidthTablet||e.columnWidth:e.columnWidthMobile,onChange:t=>{if(""!==t&&t<ru[m])return;const a=(0,te.select)("core/block-editor").getBlock(L).innerBlocks;if(S){const n=a.every((e=>{let{attributes:t}=e;return!t.columnWidth})),i=a.map((e=>{let{attributes:t}=e;return n?100/a.length:t.columnWidth})),l=a.length-1!==s?s+1:s-1,r=i[s]+(i[l]-5),o=(0,u.clamp)(t,ru.Desktop,r),c=o-i[s];i[l]-=c,i[s]=o,e.onChangeDesktop(i)}else if(E){const n=a.map((e=>{let{attributes:t}=e;return t.columnWidthTablet||t.columnWidth||100/a.length})),i=t?(0,u.clamp)(t,ru[m],100):"";n[s]=i,e.onChangeTablet(i,n,s)}else{const n=a.map((e=>{let{attributes:t}=e;return t.columnWidthMobile||100})),i=t?(0,u.clamp)(t,ru[m],100):"";n[s]=i,e.onChangeMobile(i,n,s)}},onTogglePopup:e=>{D(e),e?W(t):$||V!==t||W(!1)},tooltipProps:{onMouseEnter:()=>U(!0),onMouseLeave:()=>U(!1)}}),x&&(0,oe.createElement)("style",null,x),e.children)},su=(0,oe.memo)((e=>{const{adjacentBlocks:t,isOnlyBlock:a,blockIndex:n,isLastBlock:i,isFirstBlock:l}=e.blockContext,r=de(),[o,s]=(0,oe.useState)(!1),[c,d]=(0,oe.useState)(""),[g,p]=(0,oe.useState)(""),h=(0,oe.useRef)(),v=(0,oe.useRef)();let b="";if(void 0===t||e.value||c)b="Tablet"===r?(0,T.__)("Auto",m.i18n):100;else if("Desktop"===r){const e=(100/t.length).toFixed(1);b="33.3"===e.toString()?33.33:e}const f=(e.value?parseFloat(e.value).toFixed(1):"")||c||b,y=f!==(0,T.__)("Auto",m.i18n)?`'${f}%'`:`'${f}'`;return(0,oe.useEffect)((()=>{e.onTogglePopup&&e.onTogglePopup(o),o&&(d(e.value),p(e.value||(b!==(0,T.__)("Auto",m.i18n)?b:"")),setTimeout((()=>{var e;null===(e=h.current)||void 0===e||e.querySelector("input").select()}),1))}),[o]),(0,oe.useEffect)((()=>{var e;const t=()=>{s(!0)};return null===(e=v.current)||void 0===e||e.addEventListener("openColumnInputPopup",t),()=>{var e;null===(e=v.current)||void 0===e||e.removeEventListener("openColumnInputPopup",t)}}),[v.current]),(0,oe.createElement)(oe.Fragment,null,!a&&o&&(0,oe.createElement)(ot.Popover,{className:"stk-resizable-column__popup",anchorRef:v.current,position:"bottom right",onFocusOutside:e=>{e.relatedTarget!==v.current&&s(!1)}},(0,oe.createElement)("div",{ref:h},(0,oe.createElement)(Ma,{label:(0,T.__)("Column",m.i18n),className:"stk-resizable-column__input",value:g,allowReset:!1,onChange:t=>{const a="Desktop"===r?c:"",n=(0,u.clamp)(t,0,100)||a;""===n&&d(""),e.onChange(n),p(t)},onKeyDown:e=>{9===e.keyCode&&(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"right";if(window.CustomEvent)if("right"===e){const e=i?0:n+1,t=v.current.closest(".stk-row").querySelectorAll(".stk-resizable-column__size-tooltip")[e];null==t||t.dispatchEvent(new window.CustomEvent("openColumnInputPopup"))}else{const e=l?t.length-1:n-1,a=v.current.closest(".stk-row").querySelectorAll(".stk-resizable-column__size-tooltip")[e];null==a||a.dispatchEvent(new window.CustomEvent("openColumnInputPopup"))}}(e.shiftKey?"left":"right"),e.stopPropagation(),e.preventDefault())},placeholder:c||b||e.value}))),!a&&(0,oe.createElement)("div",at({},e.tooltipProps,{className:"stk-resizable-column__size-tooltip",ref:v,style:{"--width":y},onMouseDown:e=>{s(!o),e.preventDefault()},onKeyDown:e=>{13===e.keyCode&&s(!o)},role:"button",tabIndex:"0"})))})),cu={},uu=()=>{};su.defaultProps={isVisible:!0,blockContext:cu,value:"",onChange:uu,tooltipProps:cu,onTogglePopup:null},ou.defaultProps={className:"",context:null,showHandle:!0,columnWidth:"",columnWidthTablet:"",columnWidthMobile:"",isHovered:!1,onChangeDesktop:uu,onChangeTablet:uu,onChangeMobile:uu,onResetDesktop:uu};const du=(0,oe.memo)(ou),mu=function(e){let t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"%";return"%"===a&&(t=(0,u.clamp)(e,5,100)),t=Math.max(e,5),isNaN(t)?"":t},gu=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"%",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"height",n=arguments.length>3?arguments[3]:void 0;if("px"===t)return"height"===a?null==n?void 0:n.clientHeight:null==n?void 0:n.clientWidth;const i=null==n?void 0:n.closest(".stk-img-resizer"),l=null==i?void 0:i.parentElement;if(!l)return e;const r="height"===a?l.clientHeight:l.clientWidth;return(0,u.clamp)(10*Math.round(e/r*10),10,100)},pu=e=>{const[t,a]=(0,oe.useState)(!1),[n,i]=(0,oe.useState)(""),[l,r]=(0,oe.useState)(""),[o,s]=(0,oe.useState)(null),[c,u]=(0,oe.useState)(null),d=(0,oe.useRef)(),g=(0,oe.useRef)(),p=()=>{setTimeout((()=>{var e;null===(e=g.current)||void 0===e||e.querySelector("input").select()}),1)};(0,oe.useEffect)((()=>{s(null),u(null),t?(i(e.width),r(e.height),p()):(i(""),r(""))}),[t]);const h=rt()(["stk-resizer-tooltip"],{"stk--is-editing":t}),v=rt()(["stk-resizer-popup"],{"stk--is-wide":e.enableWidth&&e.enableHeight}),b=(0,oe.createElement)(Ma,{placeholder:e.widthPlaceholder,default:"auto"===e.defaultWidth?"":e.defaultWidth,type:"number",label:e.enableWidth&&e.enableHeight?(0,T.__)("Width",m.i18n):(0,T.sprintf)((0,T.__)("%s Width",m.i18n),e.label),className:"stk-resizer-popup__size",units:e.widthUnits,unit:e.widthUnit,value:"auto"===n?"":n,allowReset:e.allowReset,onChangeUnit:t=>{if(t===e.widthUnit)return;let a=null;if(null===o){var n;s(e.width);const l=null===(n=d.current)||void 0===n?void 0:n.parentElement.querySelector(".stk-img"),r=gu(e.width,t,"width",l);i(r),a=mu(r,t)}else i(o),a=o,s(null);e.onChangeWidth({value:a,unit:t}),p()},onChange:t=>{const a="auto"===t?"":t;s(null),i(a),a>=5?e.onChangeWidth({value:mu(a,e.widthUnit),unit:e.widthUnit}):""===a&&(s(null),i(""),e.enableWidth&&e.onChangeWidth({value:"",unit:""}))}}),f=(0,oe.createElement)(Ma,{placeholder:e.heightPlaceholder,default:"auto"===e.defaultHeight?"":e.defaultHeight,type:"number",label:e.enableWidth&&e.enableHeight?(0,T.__)("Height",m.i18n):(0,T.sprintf)((0,T.__)("%s Height",m.i18n),e.label),className:"stk-resizer-popup__size",units:e.heightUnits,unit:e.heightUnit,value:"auto"===l?"":l,allowReset:e.allowReset,onChangeUnit:t=>{if(t===e.heightUnit)return;let a=null;if(null===c){var n;u(e.height);const i=null===(n=d.current)||void 0===n?void 0:n.parentElement.querySelector(".stk-img"),l=gu(e.height,t,"height",i);r(l),a=mu(l,t)}else r(c),a=c,u(null);e.onChangeHeight({value:a,unit:t}),p()},onChange:t=>{const a="auto"===t?"":t;u(null),r(a),a>=5?e.onChangeHeight({value:mu(a,e.heightUnit),unit:e.heightUnit}):""===a&&(u(null),r(""),e.enableHeight&&e.onChangeHeight({value:"",unit:""}))}});let y=n||0===n?n:e.width||0===e.width?e.width:e.widthPlaceholder;y="auto"===y?"auto":`${y}${e.widthUnit}`;let k=l||0===l?l:e.height||0===e.height?e.height:e.heightPlaceholder;return k="auto"===k?"auto":`${k}${e.heightUnit}`,(0,oe.createElement)(oe.Fragment,null,t&&(0,oe.createElement)(ot.Popover,{className:v,anchorRef:d.current,position:"bottom right",onFocusOutside:e=>{e.relatedTarget!==d.current&&a(!1)}},(0,oe.createElement)("div",{ref:g},e.enableWidth&&e.enableHeight&&(0,oe.createElement)(ot.BaseControl,{help:e.help,className:rt()("stk-control stk--no-padding",e.className)},(0,oe.createElement)("div",{className:"stk-control-label"},(0,oe.createElement)("div",{className:"components-base-control__label"},(0,oe.createElement)("h3",null,(0,T.sprintf)((0,T.__)("%s Size",m.i18n),e.label)))),(0,oe.createElement)("div",{className:"stk-resizer-popup__control-wrapper"},b,(0,oe.createElement)("span",{className:"stk-resizer-popup__x"},"×"),f)),!(e.enableWidth&&e.enableHeight)&&(0,oe.createElement)("div",{className:"stk-resizer-popup__control-wrapper"},e.enableWidth&&!e.enableHeight&&b,!e.enableWidth&&e.enableHeight&&f))),(0,oe.createElement)("div",{className:h,role:"button",tabIndex:"0",onMouseDown:()=>{a(!t)},onKeyDown:e=>{13===e.keyCode&&a(!t)},ref:d},e.enableWidth?y:null,e.enableWidth&&e.enableHeight?" × ":null,e.enableHeight?k:null))};pu.defaultProps={width:"",height:"",widthUnit:"%",heightUnit:"px",widthUnits:["px","%"],heightUnits:["px","%"],enableWidth:!0,enableHeight:!0,allowReset:!0,onChangeWidth:()=>{},onChangeHeight:()=>{},label:(0,T.__)("Image",m.i18n),defaultWidth:"",defaultHeight:""};const hu=pu,vu=e=>{const t=de();return(0,oe.createElement)(oe.Fragment,null,oe.Children.toArray(e.children).map((a=>(0,oe.cloneElement)(a,{screens:e.screens,...e[t.toLowerCase()+"Props"]}))))};vu.defaultProps={screens:"all",desktopProps:{},tabletProps:{},mobileProps:{}};const bu=vu,fu={Desktop:24,Tablet:24,Mobile:16},yu=(0,u.range)(50,1001,50),ku=(0,u.range)(8,1001,8),xu={bottom:{height:"100%"}},wu={top:!1,right:!1,bottom:!0,left:!1},Cu=e=>{const{deviceType:t}=e,[a,n]=(0,oe.useState)(null),[i,l]=(0,oe.useState)(!1),[r,o]=(0,oe.useState)(yu),s=se();(0,oe.useEffect)((()=>{o(null)}),[s]);const c=(0,Z.applyFilters)("stackable.resizable-bottom-margin.default",fu[t]),u=rt()(["stk-resizable-bottom-margin"],{"stk--is-resizing":null!==a,"stk--is-tiny":(""!==e.value?e.value:c)<5}),d=e.value||0===e.value?e.value:c;return(0,oe.createElement)(ot.ResizableBox,{className:u,minHeight:"0",handleStyles:xu,enable:wu,size:{height:d},snap:r,snapGap:5,onResizeStart:()=>{n(d),l(!0)},onResize:(e,t,a,i)=>{n(d+i.height),r||o(function(){return{y:arguments.length>0&&void 0!==arguments[0]&&arguments[0]?ku:yu}}(s))},onResizeStop:()=>{e.onChange(parseInt(a,10)===parseInt(c,10)?"":parseInt(a,10)),n(null),l(!1)}},e.previewSelector&&i&&(0,oe.createElement)("style",null,`.editor-styles-wrapper ${e.previewSelector} { margin-bottom: ${a}px !important; }`),(0,oe.createElement)("span",{className:"stk-resizable-bottom-margin__label"},`${i?a:d}px`))};Cu.defaultProps={previewSelector:"",value:"",onChange:()=>{}};const _u=e=>{var t;const a=Me(),n=de(),i=L(e.attribute,n);let l=null===(t=e[i])||void 0===t?void 0:t.bottom;if("Mobile"===n&&(void 0===l||""===l)){var r;const t=L(e.attribute,"Tablet");l=null===(r=e[t])||void 0===r?void 0:r.bottom}if(!("Tablet"!==n&&"Mobile"!==n||void 0!==l&&""!==l)){var o;const t=L(e.attribute,"Desktop");l=null===(o=e[t])||void 0===o?void 0:o.bottom}return(0,oe.createElement)(Cu,{deviceType:n,previewSelector:e.previewSelector,value:l,onChange:t=>{a({[i]:{...e[i],bottom:t}})}})};_u.defaultProps={previewSelector:"",attribute:"",responsive:!1};const Su=_u,Eu=(0,oe.createElement)(pt,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,oe.createElement)(gt,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"})),Tu=e=>{const{activeTab:t}=e,[a,n]=yp("stk__inspector_hint_layout",!0),[i,l]=yp("stk__inspector_hint_style",!0);return"layout"===t&&a?(0,oe.createElement)("div",{className:"stk-inspector-hint stk-inspector-hint-layout"},(0,oe.createElement)("span",null,(0,T.sprintf)((0,T.__)("Looking for other settings? They've moved to the %s tab.",m.i18n),(0,T.__)("style",m.i18n))),(0,oe.createElement)(ot.Button,{className:"stk-inspector-hint__close block-editor-inspector-controls-tabs__hint-dismiss",icon:Eu,iconSize:"16",label:(0,T.__)("Dismiss hint",m.i18n),onClick:()=>n(!1),showTooltip:!1})):"style"===t&&i?(0,oe.createElement)("div",{className:"stk-inspector-hint stk-inspector-hint-layout"},(0,oe.createElement)("span",null,(0,T.sprintf)((0,T.__)("Looking for other settings? They've moved to the %s tab.",m.i18n),(0,T.__)("layout",m.i18n))),(0,oe.createElement)(ot.Button,{className:"stk-inspector-hint__close block-editor-inspector-controls-tabs__hint-dismiss",icon:Eu,iconSize:"16",label:(0,T.__)("Dismiss hint",m.i18n),onClick:()=>l(!1),showTooltip:!1})):null},{Slot:Bu,Fill:Mu}=(0,ot.createSlotFill)("StackablePreInspectorTab"),{Slot:Nu,Fill:Iu}=(0,ot.createSlotFill)("StackableBlockInspectorTab"),{Slot:Ru,Fill:Au}=(0,ot.createSlotFill)("StackableStyleInspectorTab"),{Slot:Ou,Fill:Pu}=(0,ot.createSlotFill)("StackableAdvancedInspectorTab"),{Slot:Hu,Fill:Lu}=(0,ot.createSlotFill)("StackableLayoutPanel"),zu=e=>{let{children:t}=e;const{isSelected:a,name:n}=(0,ae.useBlockEditContext)(),[i]=Hi(`tabCache-${n}`,"layout");return a&&"layout"===i?(0,oe.createElement)(Lu,null,t):null},Fu=e=>{let{children:t}=e;const{isSelected:a,name:n}=(0,ae.useBlockEditContext)(),[i]=Hi(`tabCache-${n}`,"layout");return a&&"layout"===i?(0,oe.createElement)(Iu,null,t):null},Du=e=>{let{children:t}=e;const{isSelected:a,name:n}=(0,ae.useBlockEditContext)(),[i]=Hi(`tabCache-${n}`,"layout");return a&&"style"===i?(0,oe.createElement)(Au,null,t):null},$u=e=>{let{children:t}=e;const{isSelected:a,name:n}=(0,ae.useBlockEditContext)(),[i]=Hi(`tabCache-${n}`,"layout");return a&&"advanced"===i?(0,oe.createElement)(Pu,null,t):null},Uu=e=>{const{name:t}=(0,ae.useBlockEditContext)(),a=(0,ze.getBlockSupport)(t,"stkDefaultTab")||"style",[n,i]=Hi(`tabCache-${t}`,e.tabs.includes(a)?a:"style");return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(Fu,null,e.hasLayoutPanel&&(0,oe.createElement)(ji,{title:(0,T.__)("Layout",m.i18n),id:"layout",initialOpen:!0},(0,oe.createElement)(Hu,null))),(0,oe.createElement)(ae.InspectorControls,null,(0,oe.createElement)(Bu,null),(0,oe.createElement)(pl,{tabs:e.tabs,initialTab:n,onClick:i}),(0,oe.createElement)(Nu,null),(0,oe.createElement)(Ru,null),(0,oe.createElement)(Ou,null),(0,oe.createElement)(Tu,{activeTab:n})))};Uu.defaultProps={tabs:["layout","style","advanced"],hasLayoutPanel:!0};const Vu=(0,oe.memo)(Uu),Wu=e=>{let t=e.videoUrl;const a=de();return"Desktop"!==a&&e.videoUrlTablet&&(t=e.videoUrlTablet),"Mobile"===a&&e.videoUrlMobile&&(t=e.videoUrlMobile),Lp(t)?(0,oe.createElement)("video",{className:"stk-video-background",autoPlay:!0,muted:!0,loop:!0,playsinline:!0,src:t}):null};Wu.defaultProps={videoUrl:"",videoUrlTablet:"",videoUrlMobile:""},(Wu.Content=e=>{const t=rt()(["stk-video-background"],{"stk--hide-tablet":e.videoUrlTablet,"stk--hide-mobile":e.videoUrlTablet||e.videoUrlMobile}),a=rt()(["stk-video-background"],{"stk--hide-desktop":!0,"stk--hide-mobile":e.videoUrlMobile}),n=rt()(["stk-video-background"],{"stk--hide-desktop":!0,"stk--hide-tablet":!0});return(0,oe.createElement)(oe.Fragment,null,Lp(e.videoUrl)&&(0,oe.createElement)("video",{className:t,autoPlay:!0,muted:!0,loop:!0,playsinline:!0,src:e.videoUrl}),Lp(e.videoUrlTablet)&&(0,oe.createElement)("video",{className:a,autoPlay:!0,muted:!0,loop:!0,playsinline:!0,src:e.videoUrlTablet}),Lp(e.videoUrlMobile)&&(0,oe.createElement)("video",{className:n,autoPlay:!0,muted:!0,loop:!0,playsinline:!0,src:e.videoUrlMobile}))}).defaultProps={videoUrl:"",videoUrlTablet:"",videoUrlMobile:""};const Gu=Wu,ju=e=>{const{blockTag:t,className:a,hasBackground:n,backgroundUrl:i,backgroundUrlTablet:l,backgroundUrlMobile:r,backgroundColorType:o,...s}=e,c=rt()([a],{"stk--has-background-overlay":n&&("gradient"===o||i||l||r)});return(0,oe.createElement)(t,at({className:c},s),e.children,(0,oe.createElement)(Gu,{videoUrl:i,videoUrlTablet:l,videoUrlMobile:r}))};ju.defaultProps={blockTag:"div",className:"",hasBackground:!0,backgroundUrl:"",backgroundUrlTablet:"",backgroundUrlMobile:"",backgroundColorType:""},(ju.Content=e=>{const{blockTag:t,className:a,hasBackground:n,backgroundUrl:i,backgroundUrlTablet:l,backgroundUrlMobile:r,backgroundColorType:o,...s}=e,c=rt()([a],{"stk--has-background-overlay":n&&("gradient"===o||i||l||r)});return(0,oe.createElement)(t,at({className:c},s),e.children,(0,oe.createElement)(Gu.Content,{videoUrl:i,videoUrlTablet:l,videoUrlMobile:r}))}).defaultProps={...ju.defaultProps};const qu=ju,Ku=function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.createElement)("path",{d:"M-10 210h1620V105.2H-10z"}))},Ju={"wave-1":{default:{shape:function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.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,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.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,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.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,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.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,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.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,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.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,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.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,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.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,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.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,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.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,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.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,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.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,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.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,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.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,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.createElement)("path",{className:"slant-1_svg__st2",d:"M-10 210h1620V.5L-10 183.9z"}))}},inverted:{shape:function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.createElement)("path",{d:"M1610 210H-10V.5l1620 183.4z"}))}}},"slant-2":{default:{shape:function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.createElement)("path",{className:"slant-2_svg__st1",d:"M1610 39.2V209H-10V39.2l810 118.9 810-118.9z"}))}},inverted:{shape:function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.createElement)("path",{d:"M1610 160v53.2H-10V160L800 41.1 1610 160z"}))}}},"straight-1":{default:{shape:Ku},inverted:{shape:Ku}},"rounded-1":{default:{shape:function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.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,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.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,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.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,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.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,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.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,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,oe.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"}))}}}},Yu=e=>{const{design:t,inverted:a,layer:n}=e,{shape:i}=Ju[t||"wave-1"][a?"inverted":"default"];return(0,oe.createElement)(i,{className:`stk-separator__layer-${n}`,preserveAspectRatio:"none","aria-hidden":!0})};Yu.defaultProps={className:"",design:"wave-1",inverted:!1,layer:1},Yu.Content=e=>(0,oe.createElement)(Yu,e);const Xu=Yu,Zu=(0,oe.createElement)(pt,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,oe.createElement)(gt,{d:"M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"})),Qu=e=>{const{icon:t=Zu,label:a=(0,T.__)("Choose variation"),instructions:n=(0,T.__)("Select a variation to start with."),variations:i,onSelect:l,allowSkip:r}=e,o=rt()("block-editor-block-variation-picker",{"has-many-variations":i.length>4}),s=i.some((e=>e.isPremium));return(0,oe.createElement)("div",{className:"stk-variation-picker"},(0,oe.createElement)(ot.Placeholder,{icon:t,label:a,instructions:n,className:o},(0,oe.createElement)("ul",{className:"block-editor-block-variation-picker__variations",role:"list","aria-label":(0,T.__)("Block variations")},i.map((e=>(0,oe.createElement)("li",{key:e.name},(0,oe.createElement)(ot.Button,{variant:"secondary",icon:e.pickerIcon||e.icon,iconSize:48,isSecondary:!0,onClick:()=>l(e),className:rt()("block-editor-block-variation-picker__variation",{"is-premium":e.isPremium}),label:e.description||e.pickerTitle||e.title,disabled:!m.isPro&&e.isPremium}),(0,oe.createElement)("span",{className:"block-editor-block-variation-picker__variation-label",role:"presentation"},e.pickerTitle||e.title))))),!m.isPro&&m.showProNotice&&s&&(0,oe.createElement)("p",{className:"block-editor-block-variation-picker__notice"},(0,T.__)("Upgrade to Premium to get more design variations.",m.i18n)," ",(0,oe.createElement)("a",{href:"https://wpstackable.com/upgrade/?utm_source=variation-picker&utm_campaign=learnmore&utm_medium=gutenberg",target:"_premium"},(0,T.__)("Learn more",m.i18n))),r&&(0,oe.createElement)("div",{className:"block-editor-block-variation-picker__skip"},(0,oe.createElement)(ot.Button,{variant:"link",onClick:()=>l()},(0,T.__)("Skip")))))},ed=()=>(0,oe.createElement)("p",{className:"stk-inspector-bottom-tip"},(0,T.__)("Click on any inner block in the editor to style it.",m.i18n)),td=(0,oe.memo)((e=>{const{align:t,className:a="",blockHoverClass:n="",children:i,hoverRef:l,...r}=e,o=rt()(n,{[`align${t}`]:t}),s=(0,ae.useBlockProps)({...r||{},ref:l,className:o,"data-align":t});return s.className=s.className.replace(a,"").trim(),(0,oe.createElement)("div",s,i)}));td.displayName="BlockWrapper";const ad=td,nd=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;return"desktopTablet"===e?"@media screen and (min-width: "+a+"px)":"desktopOnly"===e?"@media screen and (min-width: "+t+"px)":"tablet"===e?"@media screen and (max-width: "+(t-1)+"px)":"tabletOnly"===e?"@media screen and (min-width: "+a+"px) and (max-width: "+(t-1)+"px)":"mobile"===e?"@media screen and (max-width: "+(a-1)+"px)":null},id=e=>{const t=[],{attrName:a="",dependencies:n=[],attrNameTemplate:i="",styles:l={}}=e,r=i?B(i,a):a;return r&&!t.includes(r)&&t.push(r),Object.values(l).forEach((e=>{const a=i?B(i,e):e;a&&!t.includes(a)&&t.push(a)})),n.forEach((e=>{const a=i?B(i,e):e;a&&!t.includes(a)&&t.push(a)})),[...rd(t),"uniqueId"]},ld=[["","Unit"],["","Tablet","Mobile"],["","Hover","ParentHover","Collapsed"]],rd=e=>e.reduce(((e,t)=>(ld[0].forEach((a=>{ld[1].forEach((n=>{ld[2].forEach((i=>{e.push(`${t}${a}${n}${i}`)}))}))})),e)),[]),od=(e,t)=>{const a=e=>`${t||""}${e.startsWith(":")?"":" "}${e||""}`.trim();return Array.isArray(e)?e.map(a).join(", "):a(e)},sd=(e,t)=>{const a=e=>`${e}${t||""}`.trim();return Array.isArray(e)?e.map(a).join(", "):a(e)},cd=["desktop","desktopOnly","desktopTablet","tabletOnly","tablet","mobile"],ud=e=>{const t=new class{constructor(){this.styles={}}addStyle(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"desktop";this.styles[n]||(this.styles[n]={}),this.styles[n][e]||(this.styles[n][e]={}),void 0===a||(this.styles[n][e][t]=a)}compile(){let e="";return cd.forEach((t=>{if(!this.styles[t])return;let a="";Object.keys(this.styles[t]).forEach((e=>{let n="";Object.keys(this.styles[t][e]).forEach((a=>{const i=this.styles[t][e][a];n+=`${a}:${i};`})),a+=`${e}{${n}}`}));const n=nd(t);n&&(a=`${n}{${a}}`),e+=a})),$p(e)}};return(0,oe.createElement)(oe.Fragment,null,oe.Children.toArray(e.children).map((e=>(0,oe.cloneElement)(e,{compileCssTo:t}))),(0,oe.createElement)(dd,{cssObject:t}))},dd=e=>{const t=e.cssObject.compile();return t?(0,oe.createElement)("style",null,t):null},md=e=>{const{selector:t="",styleRule:a="",hoverStyleRule:n="",attrName:i="",format:l="%s",hasUnits:r=!1,responsive:o=!1,hover:s=!1,attrNameTemplate:c="",selectorCallback:u=null,hoverSelector:d="",hoverSelectorCallback:m=null,hoverCallback:g=null,styleRuleCallback:p=null,renderIn:h="",valuePreCallback:v=null,valueCallback:b=null,enabledCallback:f=null,vendorPrefixes:y=[],clampCallback:k=null,unitCallback:x=null,version:C="",versionAdded:_="",versionDeprecated:S="",compileCssTo:E=null,attributes:M={},editorMode:N=!0,clientId:I="",instanceId:R="",blockState:A="normal"}=e;if(!function(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return e?w()(e,t)>=0&&(!a||-1===w()(e,a)):!!a}(C,_,S))return null;const O=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const a=function(n){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"normal",r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const o=t?B(t,n):n,s=e[L(o,i,l)];return r?""!==s&&void 0!==s||"desktop"===i?s:a(n,"mobile"===i?"tablet":"desktop",l,r):s};return a}(M,c),P=c?B(c,i):i;if(h){if(N&&"save"===h)return null;if(!N&&"edit"===h)return null}if(f&&!f(O,M))return null;const H=(e,t,a)=>{const n=L(`${e}Unit`,t,a),i=L(e,t,a);let s=r?M[n]||r:"",c=M[i];if(""===c&&("tablet"===t||"mobile"===t)){const n=M[L(`${e}Unit`,"desktop",a)],i=M[L(`${e}Unit`,"tablet",a)];"tablet"===t?s=n:"mobile"===t&&(s=""!==M[L(e,"tablet",a)]?i:n)}if(x&&(s=x(s,t,a)),k&&o){const n=M[L(e,"desktop",a)],i=M[L(e,"tablet",a)];""!==c&&void 0!==c||("tablet"===t?c=k(n,O,t,a,s,M):"mobile"===t&&(c=k(""!==i?i:n,O,t,a,s,M)))}if(v&&(c=v(c,O,t,a,M)),""!==c&&void 0!==c)return s&&(c="auto"===c?c:`${c}${s}`),"%s"!==l&&""!==l&&(c=(0,T.sprintf)(l.replace(/%([sd])%/,"%$1%%"),c)),b&&(c=b(c,O,t,a,M)),c},z=g?g(O,M):s,F="all"===o||Array.isArray(o)&&o.find((e=>e.startsWith("tablet"))),D="all"===o||Array.isArray(o)&&o.find((e=>e.startsWith("mobile"))),$="all"===z||Array.isArray(z)&&z.includes("hover"),U="all"===z||Array.isArray(z)&&z.includes("parent-hover"),V="all"===z||Array.isArray(z)&&z.includes("collapsed");let W,G,j,q,K,J,Y,X,Q,ee,te;const ae=H(P,"desktop","normal");if($&&(G=H(P,"desktop","hover")),U&&(j=H(P,"desktop","parent-hover")),V&&(W=H(P,"desktop","collapsed")),F&&(X=H(P,"tablet","normal"),$&&(ee=H(P,"tablet","hover")),U&&(te=H(P,"tablet","parent-hover")),V&&(Q=H(P,"tablet","collapsed"))),D&&(q=H(P,"mobile","normal"),$&&(J=H(P,"mobile","hover")),U&&(Y=H(P,"mobile","parent-hover")),V&&(K=H(P,"mobile","collapsed"))),void 0===ae&&void 0===G&&void 0===j&&void 0===W&&void 0===X&&void 0===ee&&void 0===te&&void 0===Q&&void 0===q&&void 0===J&&void 0===Y&&void 0===K)return null;let ne=a;p&&(ne=p(O,M));const ie=n||ne;let le=u?u(O,M,I):t,re=m?m(O,M,I):d;const oe=(Array.isArray(o)?o.find((e=>e.startsWith("desktop"))):"desktop")||"desktop",se=(Array.isArray(o)?o.find((e=>e.startsWith("tablet"))):"tablet")||"tablet",ce=(Array.isArray(o)?o.find((e=>e.startsWith("mobile"))):"mobile")||"mobile";let ue="",de="";V&&(ue=od(le,":where(.stk-block-accordion.stk--is-open) .%s, .%s.stk--is-open")),U&&(de=od(le,"parent-hover"===A?".%s.stk--is-hovered":":where(.stk-hover-parent:hover, .stk-hover-parent.stk--is-hovered) .%s")),$&&(re=(re||le).includes("[data-block=")&&(re||le).endsWith("]")?"hover"===A?sd(le,".stk--is-hovered"):re||sd(le,":hover"):"hover"===A?od(le,".%s.stk--is-hovered"):re||od(le,".%s:hover"));let me=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const a=Pp(e);let n=a;if(!a&&t){const e=Yp(t);n=Pp(e)}return n}(M.uniqueId,I);R&&(me.match(/-[\d]$/g)||(me+=`-${R}`),"string"==typeof le&&(le=le.replace(/[^^?](.%s)([^-])/g,`$1-${R}$2`),re=re.replace(/[^^?](.%s)([^-])/g,`$1-${R}$2`),de=de.replace(/[^^?](.%s)([^-])/g,`$1-${R}$2`),ue=ue.replace(/[^^?](.%s)([^-])/g,`$1-${R}$2`))),me=e.editorMode?(0,Z.applyFilters)("stackable.block-css.uniqueClass.edit",me):(0,Z.applyFilters)("stackable.block-css.uniqueClass.save",me,M),Array.isArray(le)&&(le=le.join(", ")),Array.isArray(re)&&(re=re.join(", ")),le=Gp(le,me,me,N?".editor-styles-wrapper":""),$&&(re=Gp(re,me,me,N?".editor-styles-wrapper":"")),U&&(de=Gp(de,me,me,N?".editor-styles-wrapper":"")),V&&(ue=Gp(ue,me,me,N?".editor-styles-wrapper":""));let ge="";const pe=N?hd:vd;return ge+=pe(le,ne,ae,oe,y,E),$&&(ge+=pe(re,ie,G,oe,y,E)),U&&(ge+=pe(de,ie,j,oe,y,E)),V&&(ge+=pe(ue,ne,W,oe,y,E)),F&&(ge+=pe(le,ne,X,se,y,E),$&&(ge+=pe(re,ie,ee,se,y,E)),U&&(ge+=pe(de,ie,te,se,y,E)),V&&(ge+=pe(ue,ne,Q,oe,y,E))),D&&(ge+=pe(le,ne,q,ce,y,E),$&&(ge+=pe(re,ie,J,ce,y,E)),U&&(ge+=pe(de,ie,Y,ce,y,E)),V&&(ge+=pe(ue,ne,K,oe,y,E))),e.editorMode||(ge=(0,Z.applyFilters)("stackable.block-styles.save",ge,me,M)),ge||null},gd=e=>{const{clientId:t}=e,a=Be((a=>({...(0,u.pick)(a,id(e)),clientId:t}))),n=ag(a.uniqueId),i=md({...e,clientId:t,attributes:a,instanceId:n});let l=wa(i);return l=(0,Z.applyFilters)("stackable.block-styles.edit",l,Pp(a.uniqueId)),i?(0,oe.createElement)("style",null,l):null},pd=e=>(e.styles&&console.error("BlockCss `styles` prop is deprecated, use individual BlockCss components instead."),e.compileCssTo?md({...e,editorMode:!1}):(0,oe.createElement)(gd,at({},e,{editorMode:!0})));function hd(e,t,a){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"desktop",i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];if(void 0===a)return"";const l=t.replace(/^(--?)?(.*?$)/,((e,t,a)=>`${t||""}${(0,u.kebabCase)(a)}`));let r=`${l}: ${a} !important`;i.length&&i.forEach((e=>{r+=`;${e}${l}: ${a} !important`})),r=`\n${e} {\n\t${r}\n}`;const o=781,s=361,c=nd(n,o,s);return c&&(r=`\n${c} {${r}\n}`),r}function vd(e,t,a){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"desktop",i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};if(void 0===a)return"";const r=t.replace(/^(--?)?(.*?$)/,((e,t,a)=>`${t||""}${(0,u.kebabCase)(a)}`));return l.addStyle(e,r,`${a} !important`,n),i.length&&i.forEach((t=>{l.addStyle(e,`${t}${r}`,`${a} !important`,n)})),""}var bd=a(2473),fd=a.n(bd),yd=Math.sqrt(50),kd=Math.sqrt(10),xd=Math.sqrt(2);function wd(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 Cd(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?wd(Object(a),!0).forEach((function(t){Td(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):wd(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function _d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sd(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 Ed(e,t,a){return t&&Sd(e.prototype,t),a&&Sd(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e}function Td(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function Bd(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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Nd(e,t)}function Md(e){return Md=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Md(e)}function Nd(e,t){return Nd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Nd(e,t)}function Id(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rd(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Id(e)}function Ad(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,n=Md(e);if(t){var i=Md(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Rd(this,a)}}function Od(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,o=!1;try{for(a=a.call(e);!(r=(n=a.next()).done)&&(l.push(n.value),!t||l.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return l}}(e,t)||Hd(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 Pd(e){return function(e){if(Array.isArray(e))return Ld(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Hd(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Hd(e,t){if(e){if("string"==typeof e)return Ld(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)?Ld(e,t):void 0}}function Ld(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}var zd="react-compound-slider:";function Fd(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(t,a){return t.val>a.val?e?-1:1:a.val>t.val?e?1:-1:0}}function Dd(e,t,a){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=e.findIndex((function(e){return e.key===t}));if(-1!==i){var l=e[i],r=l.key,o=l.val;return o===a?e:[].concat(Pd(e.slice(0,i)),[{key:r,val:a}],Pd(e.slice(i+1))).sort(Fd(n))}return e}function $d(e,t){if(!e)return[0,0];var a=e.getBoundingClientRect();return[t?a.top:a.left,t?a.bottom:a.right]}function Ud(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 Vd(e,t){return e?t.touches[0].clientY:t.touches[0].pageX}function Wd(){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,fd()(!n,"".concat(zd," Invalid value encountered. Changing ").concat(e," to ").concat(t,"."))),t})).map((function(e,t){return{key:"$$-".concat(t),val:e}})).sort(Fd(t));return{handles:l,changes:i}}function Gd(e,t){return t}function jd(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}function qd(e,t,a,n,i){for(var l=-1,r=!0,o=0;o<e.length;o++){var s=e[o],c=t[o];if(!c||c.key!==s.key)return e;c.val!==s.val&&(l=o,r=c.val-s.val>0)}if(-1===l)return e;for(var u=r?a:-a,d=0;d<t.length;d++){var m=t[d],g=t[d+1];if(g&&m.val===g.val){if(d===l){var p=g.val+u;if(i(p)===p){var h=qd(t,Dd(t,g.key,g.val+u,n),a,n,i);return h===t?e:h}return e}var v=m.val+u;if(i(v)===v){var b=qd(t,Dd(t,m.key,m.val+u,n),a,n,i);return b===t?e:b}return e}}return t}function Kd(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return function(e){return t.forEach((function(t){return t&&t(e)}))}}var Jd=function(){return{value:0,percent:0}},Yd=function(e){Bd(a,e);var t=Ad(a);function a(){var e;_d(this,a);for(var n=arguments.length,i=new Array(n),l=0;l<n;l++)i[l]=arguments[l];return(e=t.call.apply(t,[this].concat(i))).getRailProps=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=e.props,n=a.emitMouse,i=a.emitTouch;return Cd(Cd({},t),{},{onMouseDown:Kd(t&&t.onMouseDown,n),onTouchStart:Kd(t&&t.onTouchStart,i)})},e}return Ed(a,[{key:"render",value:function(){var e=this.getRailProps,t=this.props,a=t.getEventData,n=t.activeHandleID,i=void 0===n?"":n,l=(0,t.children)({getEventData:a||Jd,activeHandleID:i,getRailProps:e});return l&&nt.Children.only(l)}}]),a}(nt.Component),Xd=function(e){Bd(a,e);var t=Ad(a);function a(){var e;_d(this,a);for(var n=arguments.length,i=new Array(n),l=0;l<n;l++)i[l]=arguments[l];return(e=t.call.apply(t,[this].concat(i))).autofocus=function(e){e.target instanceof HTMLElement&&e.target.focus()},e.getHandleProps=function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.props,i=n.emitKeyboard,l=n.emitMouse,r=n.emitTouch;return Cd(Cd({},a),{},{onKeyDown:Kd(a&&a.onKeyDown,(function(e){return i&&i(e,t)})),onMouseDown:Kd(a&&a.onMouseDown,e.autofocus,(function(e){return l&&l(e,t)})),onTouchStart:Kd(a&&a.onTouchStart,(function(e){return r&&r(e,t)}))})},e}return Ed(a,[{key:"render",value:function(){var e=this.getHandleProps,t=this.props,a=t.activeHandleID,n=void 0===a?"":a,i=t.children,l=t.handles,r=i({handles:void 0===l?[]:l,activeHandleID:n,getHandleProps:e});return r&&nt.Children.only(r)}}]),a}(nt.Component),Zd=function(){function e(){_d(this,e),this.interpolator=void 0,this.domain=[0,1],this.range=[0,1],this.domain=[0,1],this.range=[0,1],this.interpolator=null}return Ed(e,[{key:"createInterpolator",value:function(e,t){var a=this,n=e[0],i=e[1],l=t[0],r=t[1];return i<n?function(e){return a.interpolateValue(r,l)(a.deinterpolateValue(i,n)(e))}:function(e){return a.interpolateValue(l,r)(a.deinterpolateValue(n,i)(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[0],e[1]],this.rescale(),this}},{key:"getDomain",value:function(){return this.domain}},{key:"setRange",value:function(e){return this.range=[e[0],e[1]],this}},{key:"getRange",value:function(){return this.range}},{key:"getTicks",value:function(e){var t=this.domain;return function(e,t,a){var n,i,l,r,o=-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>=yd?10:l>=kd?5:l>=xd?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(l>=yd?10:l>=kd?5:l>=xd?2:1)}(e,t,a))||!isFinite(r))return[];if(r>0){let a=Math.round(e/r),n=Math.round(t/r);for(a*r<e&&++a,n*r>t&&--n,l=new Array(i=n-a+1);++o<i;)l[o]=(a+o)*r}else{r=-r;let a=Math.round(e*r),n=Math.round(t*r);for(a/r<e&&++a,n/r>t&&--n,l=new Array(i=n-a+1);++o<i;)l[o]=(a+o)/r}return n&&l.reverse(),l}(t[0],t[t.length-1],e||10)}}]),e}(),Qd=function(){return{value:0,percent:0}},em=function(e){Bd(a,e);var t=Ad(a);function a(){return _d(this,a),t.apply(this,arguments)}return Ed(a,[{key:"render",value:function(){var e=this.props,t=e.children,a=e.values,n=e.scale,i=void 0===n?new Zd:n,l=e.count,r=void 0===l?10:l,o=e.getEventData,s=void 0===o?Qd:o,c=e.activeHandleID,u=t({getEventData:s,activeHandleID:void 0===c?"":c,ticks:(a||i.getTicks(r)).map((function(e){return{id:"$$-".concat(e),value:e,percent:i.getValue(e)}}))});return u&&nt.Children.only(u)}}]),a}(nt.Component),tm=function(){return{value:0,percent:0}},am=function(e){Bd(a,e);var t=Ad(a);function a(){var e;_d(this,a);for(var n=arguments.length,i=new Array(n),l=0;l<n;l++)i[l]=arguments[l];return(e=t.call.apply(t,[this].concat(i))).getTrackProps=function(t){var a=e.props,n=a.emitMouse,i=a.emitTouch;return Cd(Cd({},t||{}),{},{onMouseDown:Kd(t&&t.onMouseDown,n),onTouchStart:Kd(t&&t.onTouchStart,i)})},e}return Ed(a,[{key:"render",value:function(){for(var e=this.getTrackProps,t=this.props,a=t.children,n=t.left,i=void 0===n||n,l=t.right,r=void 0===l||l,o=t.scale,s=void 0===o?new Zd:o,c=t.handles,u=void 0===c?[]:c,d=t.getEventData,m=void 0===d?tm:d,g=t.activeHandleID,p=void 0===g?"":g,h=s.getDomain(),v=[],b=0;b<u.length+1;b++){var f=u[b-1],y=u[b];0===b&&!0===i?f={id:"$",value:h[0],percent:0}:b===u.length&&!0===r&&(y={id:"$",value:h[1],percent:100}),f&&y&&v.push({id:"".concat(f.id,"-").concat(y.id),source:f,target:y})}var k=a({getEventData:m,activeHandleID:p,tracks:v,getTrackProps:e});return k&&nt.Children.only(k)}}]),a}(nt.Component);function nm(e,t,a){return Math.min(Math.max(e,t),a)}var im=Ed((function e(){var t=this;_d(this,e),this.step=1,this.domain=[0,1],this.range=[0,1],this.setDomain=function(e){return t.domain=[e[0],e[1]],t},this.setRange=function(e){return t.range=[e[0],e[1]],t},this.setStep=function(e){return t.step=e,t},this.getValue=function(e){var a=Od(t.domain,2),n=a[0],i=a[1],l=Od(t.range,2),r=l[0],o=l[1],s=t.step,c=(nm(e,n,i)-n)/(i-n);return nm(s*Math.round(c*(o-r)/s)+r,r<o?r:o,o>r?o:r)}})),lm="undefined"!=typeof window&&"undefined"!=typeof document,rm=function(){},om=function(e,t,a,n){var i=n?e-t:e+t;return n?Math.max(a[0],i):Math.min(a[1],i)},sm=function(e,t,a,n){var i=n?e+t:e-t;return n?Math.min(a[1],i):Math.max(a[0],i)},cm=[0,100],um=function(e){Bd(a,e);var t=Ad(a);function a(){var e;_d(this,a);for(var n=arguments.length,i=new Array(n),l=0;l<n;l++)i[l]=arguments[l];return(e=t.call.apply(t,[this].concat(i))).state={step:.1,values:[],domain:cm,handles:[],reversed:!1,activeHandleID:"",valueToPerc:null,valueToStep:null,pixelToStep:null},e.slider=nt.createRef(),e.onKeyDown=function(t,a){var n=["ArrowRight","ArrowUp"],i=["ArrowDown","ArrowLeft"],l=Id(e),r=l.state.handles,o=l.props,s=o.step,c=void 0===s?.1:s,u=o.reversed,d=void 0!==u&&u,m=o.vertical,g=void 0!==m&&m,p=o.domain,h=void 0===p?[0,100]:p,v=t.key||"".concat(t.keyCode);if(n.concat(i).includes(v)){if(g){var b=[i,n];n=b[0],i=b[1]}t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault();var f=r.find((function(e){return e.key===a}));if(f){var y=f.val,k=y;n.includes(v)?k=om(y,c,h,d):i.includes(v)&&(k=sm(y,c,h,d));var x=r.map((function(e){return e.key===a?{key:e.key,val:k}:e}));e.submitUpdate(x,!0)}}},e.onMouseDown=function(t,a){e.onStart(t,a,!1)},e.onTouchStart=function(t,a){Ud(t)||e.onStart(t,a,!0)},e.getEventData=function(t,a){var n,i=Id(e),l=i.state,r=l.pixelToStep,o=l.valueToPerc,s=i.props.vertical;return r.setDomain($d(e.slider.current,s)),a&&t instanceof TouchEvent?n=r.getValue(Vd(s,t)):t instanceof MouseEvent&&(n=r.getValue(s?t.clientY:t.pageX)),{value:n,percent:o.getValue(n)}},e.onMouseMove=function(t){var a=Id(e),n=a.state,i=n.handles,l=n.pixelToStep,r=n.activeHandleID,o=void 0===r?"":r,s=a.props,c=s.vertical,u=s.reversed,d=void 0!==u&&u;l.setDomain($d(e.slider.current,c));var m=Dd(i,o,l.getValue(c?t.clientY:t.pageX),d);e.submitUpdate(m)},e.onTouchMove=function(t){var a=Id(e),n=a.state,i=n.handles,l=n.pixelToStep,r=n.activeHandleID,o=a.props,s=o.vertical,c=o.reversed;if(null!==l&&!Ud(t)){l.setDomain($d(e.slider.current,s));var u=Dd(i,r,l.getValue(Vd(s,t)),c);e.submitUpdate(u)}},e.onMouseUp=function(){var t=Id(e),a=t.state,n=a.handles,i=void 0===n?[]:n,l=a.activeHandleID,r=t.props,o=r.onChange,s=void 0===o?rm:o,c=r.onSlideEnd,u=void 0===c?rm:c;s(i.map((function(e){return e.val}))),u(i.map((function(e){return e.val})),{activeHandleID:l}),e.setState({activeHandleID:""}),lm&&(document.removeEventListener("mousemove",e.onMouseMove),document.removeEventListener("mouseup",e.onMouseUp))},e.onTouchEnd=function(){var t=Id(e),a=t.state,n=a.handles,i=a.activeHandleID,l=t.props,r=l.onChange,o=void 0===r?rm:r,s=l.onSlideEnd,c=void 0===s?rm:s;o(n.map((function(e){return e.val}))),c(n.map((function(e){return e.val})),{activeHandleID:i}),e.setState({activeHandleID:""}),lm&&(document.removeEventListener("touchmove",e.onTouchMove),document.removeEventListener("touchend",e.onTouchEnd))},e}return Ed(a,[{key:"componentDidMount",value:function(){var e=this.state.pixelToStep,t=this.props.vertical;e.setDomain($d(this.slider.current,t))}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"removeListeners",value:function(){lm&&(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,l=void 0===i?rm:i;a||e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),n.find((function(e){return e.key===t}))?(this.setState({activeHandleID:t}),l(n.map((function(e){return e.val})),{activeHandleID:t}),a?this.addTouchEvents():this.addMouseEvents()):(this.setState({activeHandleID:""}),this.handleRailAndTrackClicks(e,a))}},{key:"handleRailAndTrackClicks",value:function(e,t){var a,n=this,i=this.state,l=i.handles,r=i.pixelToStep,o=this.props,s=o.vertical,c=o.reversed,u=void 0!==c&&c,d=this.slider;r.setDomain($d(d.current,s)),a=t?r.getValue(Vd(s,e)):r.getValue(s?e.clientY:e.pageX);for(var m="",g=1/0,p=0;p<l.length;p++){var h=l[p],v=h.key,b=h.val,f=Math.abs(b-a);f<g&&(m=v,g=f)}var y=Dd(l,m,a,u);this.setState({activeHandleID:m},(function(){n.submitUpdate(y,!0),t?n.addTouchEvents():n.addMouseEvents()}))}},{key:"addMouseEvents",value:function(){lm&&(document.addEventListener("mousemove",this.onMouseMove),document.addEventListener("mouseup",this.onMouseUp))}},{key:"addTouchEvents",value:function(){lm&&(document.addEventListener("touchmove",this.onTouchMove),document.addEventListener("touchend",this.onTouchEnd))}},{key:"submitUpdate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=this.props,n=a.mode,i=void 0===n?1:n,l=a.step,r=void 0===l?.1:l,o=a.onUpdate,s=void 0===o?rm:o,c=a.onChange,u=void 0===c?rm:c,d=a.reversed,m=void 0!==d&&d,g=this.state.valueToStep.getValue;this.setState((function(a){var n=a.handles,l=[];if("function"==typeof i)l=i(n,e,r,m,g),fd()(Array.isArray(l),"Custom mode function did not return an array.");else switch(i){case 1:l=Gd(0,e);break;case 2:l=jd(n,e);break;case 3:l=qd(n,e,r,m,g);break;default:l=e,fd()(!1,"".concat(zd," Invalid mode value."))}return s(l.map((function(e){return e.val}))),t&&u(l.map((function(e){return e.val}))),{handles:l}}))}},{key:"render",value:function(){var e=this,t=this.state,a=t.handles,n=t.valueToPerc,i=t.activeHandleID,l=this.props,r=l.className,o=l.rootStyle,s=void 0===o?{}:o,c=l.rootProps,u=void 0===c?{}:c,d=l.component,m=void 0===d?"div":d,g=l.disabled,p=void 0!==g&&g,h=l.flatten,v=void 0!==h&&h,b=a.map((function(e){var t=e.key,a=e.val;return{id:t,value:a,percent:n.getValue(a)}})),f=nt.Children.map(this.props.children,(function(t){return!0===function(e){if(!(0,nt.isValidElement)(e))return!1;var t=e.type,a=t?t.name:"";return a===Xd.name||a===Yd.name||a===em.name||a===am.name}(t)?nt.cloneElement(t,{scale:n,handles:b,activeHandleID:i,getEventData:e.getEventData,emitKeyboard:p?rm:e.onKeyDown,emitMouse:p?rm:e.onMouseDown,emitTouch:p?rm:e.onTouchStart}):t}));return v?nt.createElement(nt.Fragment,null,nt.createElement(m,Cd(Cd({},u),{},{style:s,className:r,ref:this.slider})),f):nt.createElement(nt.Fragment,null,nt.createElement(m,Cd(Cd({},u),{},{style:s,className:r,ref:this.slider}),f))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var a,n,i=e.step,l=void 0===i?.1:i,r=e.values,o=e.domain,s=void 0===o?cm:o,c=e.reversed,u=void 0!==c&&c,d=e.onUpdate,m=void 0===d?rm:d,g=e.onChange,p=void 0===g?rm:g,h=e.warnOnChanges,v=void 0!==h&&h,b=t.valueToPerc,f=t.valueToStep,y=t.pixelToStep,k={};if(b&&f&&y||(b=new Zd,f=new im,y=new im,k.valueToPerc=b,k.valueToStep=f,k.pixelToStep=y),t.domain===cm||null===t.step||null===t.domain||null===t.reversed||l!==t.step||s[0]!==t.domain[0]||s[1]!==t.domain[1]||u!==t.reversed){var x=Od(s,2),w=x[0],C=x[1];f.setStep(l).setRange([w,C]).setDomain([w,C]),!0===u?(b.setDomain([w,C]).setRange([100,0]),y.setStep(l).setRange([C,w])):(b.setDomain([w,C]).setRange([0,100]),y.setStep(l).setRange([w,C])),fd()(C>w,"".concat(zd," Max must be greater than min (even if reversed). Max is ").concat(C,". Min is ").concat(w,"."));var _=Wd(r||t.values,u,f,v),S=_.handles;(_.changes||void 0===r||r===t.values)&&(m(S.map((function(e){return e.val}))),p(S.map((function(e){return e.val})))),k.step=l,k.values=r,k.domain=s===cm?Pd(s):s,k.handles=S,k.reversed=u}else if(!((a=r)===(n=t.values)||a.length===n.length&&a.reduce(function(e){return function(t,a,n){return t&&e[n]===a}}(n),!0))){var E=Wd(r,u,f,v),T=E.handles;E.changes&&(m(T.map((function(e){return e.val}))),p(T.map((function(e){return e.val})))),k.values=r,k.handles=T}return Object.keys(k).length?k:null}}]),a}(nt.PureComponent);const dm={position:"absolute",width:"100%",height:42,transform:"translate(0%, -50%)",borderRadius:7,cursor:"pointer"},mm={position:"absolute",width:"100%",height:4,backgroundColor:"rgb(221, 221, 221)",transform:"translate(0%, -50%)",borderRadius:7,pointerEvents:"none"},gm={backgroundColor:"var(--wp-admin-theme-color)",height:12,width:12},pm=e=>{let{getRailProps:t}=e;return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)("div",at({style:dm},t())),(0,oe.createElement)("div",{style:mm}))},hm=e=>{const{domain:[t,a],handle:{value:n,percent:i},disabled:l=!1,handleProps:r}=e;return(0,oe.createElement)("button",at({role:"slider","aria-valuemin":t,"aria-valuemax":a,"aria-valuenow":n,disabled:l,style:{left:`${i}%`,...gm}},r))},vm=10,bm=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]<vm){const a=vm-e[t];e[t]=vm,e[t-1]-=a}for(let t=0;t<e.length-1;t++)if(e[t]<vm){const a=vm-e[t];e[t]=vm,e[t+1]-=a}if("right"===t)for(let t=e.length-1;t>=1;t--)if(e[t]<vm){const a=vm-e[t];e[t]=vm,e[t-1]-=a}return e},fm={position:"relative",width:"100%"},ym=[0,100],km=e=>{let t=0;return[...e,100].map((e=>{const a=e-t;return t+=a,a}))},xm=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}),[])},wm=(0,oe.memo)((e=>{const t=(0,oe.useRef)(null),a=(0,oe.useRef)(0),n=(0,oe.useRef)(null),i=(0,oe.useRef)(!1);return(0,oe.createElement)(um,{className:"stk-column-widths-control__columns-slider",rootStyle:fm,onSlideStart:e=>t.current=e,mode:(e,n)=>{i.current=!0,t.current&&t.current.length===n.length||(t.current=e.map((e=>e.val)));let l=n.map((e=>e.val));if((0,u.isEqual)(t.current,l))return n;const r=((e,t)=>{let a;return t.some(((t,n)=>t!==e[n]&&(a=t>e[n]?"right":"left",!0))),a})(t.current,l),o=((e,t)=>{let a=-1;return t.some((t=>!e.includes(t)&&(a=t,!0))),-1===a&&t.some(((t,n)=>t!==e[n]&&(a=t,!0))),-1===a?0:a})(t.current,l);l=[...t.current],l[a.current]=o;const s=((e,t,a)=>{const n=km(e),i=bm(n,a);return xm(i)})(l,a.current,r);return t.current=s,s.forEach(((e,t)=>{n[t].val=e})),n},step:1,onChange:()=>{i.current=!1},onUpdate:t=>{i.current&&((0,u.isEqual)(n.current,t)||(n.current=t,e.onChange(km(t))))},domain:ym,values:xm(e.value)},(0,oe.createElement)(Yd,null,(e=>{let{getRailProps:t}=e;return(0,oe.createElement)(pm,{getRailProps:t})})),(0,oe.createElement)(Xd,null,(e=>{let{handles:t,getHandleProps:n}=e;return(0,oe.createElement)("div",{className:"slider-handles"},t.map(((e,t)=>{const i=n(e.id),l={...i,onMouseDown:e=>(a.current=t,i.onMouseDown(e)),onTouchStart:e=>(a.current=t,i.onTouchStart(e)),onKeyDown:e=>(a.current=t,i.onKeyDown(e))};return(0,oe.createElement)(hm,{key:e.id,handle:e,domain:ym,handleProps:l})})))})))}),u.isEqual);wm.defaultProps={onChange:()=>{},value:[]};const Cm=wm,_m=e=>e.every((e=>!e)),Sm=e=>{var t;const a={gridTemplateColumns:(n=e.value,n.map((e=>(e/100*n.length).toFixed(2)+"fr")).join(" ")),gridAutoFlow:_m(e.value)?"column":void 0,justifyContent:_m(e.value)?"space-around":void 0};var n;const i=rt()("stk-column-widths-control__columns-input",{"stk-column-widths--many":(null===(t=e.value)||void 0===t?void 0:t.length)&&e.value.length>4});return(0,oe.createElement)("div",{className:i,style:a},e.value.map(((t,a)=>(0,oe.createElement)("input",{key:a,className:"components-column-widths-control__number",type:"number",step:"any",value:t||"",onChange:t=>{const n=t.target.value,i=n.includes(".")?parseFloat(parseFloat(n).toFixed(3)):parseInt(n,10),l=[...e.value];l[a]=isNaN(i)?"":i,e.onChange(l)},onBlur:()=>{const t=bm(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(bm(t))}}))))};Sm.defaultProps={onChange:()=>{},value:[]};const Em=Sm,Tm={"2-1":[50,50],"2-2":[66.666,33.333],"2-3":[33.333,66.666],"3-1":[33.333,33.333,33.333],"3-2":[25,50,25],"3-3":[50,25,25],"3-4":[25,25,50],"4-1":[25,25,25,25],"4-2":[40,20,20,20],"4-3":[20,20,20,40],"5-1":[20,20,20,20,20],"6-1":[16.666,16.666,16.666,16.666,16.666,16.666]},Bm={2:[{value:"2-1",image:"dist/images/components-columns-width-control-2-1.00780d9.png"},{value:"2-2",image:"dist/images/components-columns-width-control-2-2.0388d6b.png"},{value:"2-3",image:"dist/images/components-columns-width-control-2-3.dd648a4.png"}],3:[{value:"3-1",image:"dist/images/components-columns-width-control-3-1.b0d994b.png"},{value:"3-2",image:"dist/images/components-columns-width-control-3-2.d0cd0a1.png"},{value:"3-3",image:"dist/images/components-columns-width-control-3-3.8b9a3da.png"},{value:"3-4",image:"dist/images/components-columns-width-control-3-4.05211d4.png"}],4:[{value:"4-1",image:"dist/images/components-columns-width-control-4-1.ba54e2f.png"},{value:"4-2",image:"dist/images/components-columns-width-control-4-2.96599c1.png"},{value:"4-3",image:"dist/images/components-columns-width-control-4-3.5c76fd1.png"}]},Mm=e=>e.every((e=>!e)),Nm=e=>{const t=Mm(e.values)&&Tm[`${e.columns}-1`]?Tm[`${e.columns}-1`]:(e.values||[]).every((e=>""!==e))?e.values:Array(e.columns).fill(100/e.columns);return(0,oe.createElement)(aa,{label:e.label,help:e.help,responsive:e.responsive,hasTabletValue:e.hasTabletValue,hasMobileValue:e.hasMobileValue,className:rt()(["ugb-columns-width-control",e.className]),helpTooltip:{description:(0,T.__)("Adjust the individual widths of each column",m.i18n)}},Bm[e.columns]&&(0,oe.createElement)(fl,{options:Bm[e.columns],onChange:t=>{e.onChange(Tm[t])}}),e.columns<=7&&(0,oe.createElement)(Cm,{value:t,onChange:e.onChange}),(0,oe.createElement)(Em,{value:Mm(e.values)?e.forceBlank?e.values:Tm[`${e.columns}-1`]:e.values,onChange:e.onChange}))};Nm.defaultProps={columns:2,values:["",""],onChange:()=>{},help:"",label:(0,T.__)("Column Widths",m.i18n),className:"",responsive:!1,attribute:"",hasTabletValue:void 0,hasMobileValue:void 0};const Im=Nm,Rm=e=>(0,oe.createElement)(aa,{label:e.label,help:e.help,className:rt()(["ugb-columns-width-multi-control",e.className]),responsive:e.responsive,hasTabletValue:e.hasTabletValue,hasMobileValue:e.hasMobileValue},(0,u.range)(e.columns).map((t=>(0,oe.createElement)("div",{key:t,className:"stk-columns-width-multi-control__range"},(0,oe.createElement)("span",{className:"stk-columns-width-multi-control__range__icon"},t+1),(0,oe.createElement)("div",{className:"stk-columns-width-multi-control__range__range-control"},(0,oe.createElement)(Ja,{className:"stk--no-padding",value:e.values[t],max:100,min:0,onChange:a=>{const n=[...e.values];n[t]=a,e.onChange(n)},allowReset:!1,placeholder:e.placeholders?e.placeholders[t]:"",forcePlaceholder:!0}),e.allowReset&&(0,oe.createElement)(oa,{allowReset:e.allowReset,value:e.values[t],default:"",onChange:a=>{const n=[...e.values];n[t]=a,e.onChange(n)}})),(0,oe.createElement)("span",{className:"stk-columns-width-multi-control__range__suffix"},"%")))));Rm.defaultProps={columns:2,values:["",""],onChange:()=>{},help:"",label:(0,T.__)("Column Widths",m.i18n),className:"",responsive:!1,placeholders:null,hasTabletValue:void 0,hasMobileValue:void 0};const Am=Rm,Om=(e,t)=>{const{blockType:a,defaultVariation:n,variations:i}=(0,te.useSelect)((t=>{const{getBlockVariations:a,getBlockType:n,getDefaultBlockVariation:i}=t("core/blocks"),{getBlock:l}=t("core/block-editor");if(!e)return{};if(!l(e))return{};const{name:r}=l(e);return{blockType:n(r),defaultVariation:i(r,"block"),variations:a(r,"block")}}),[e,t]),{getActiveBlockVariation:l}=(0,te.useSelect)("core/blocks");return t?null:(0,oe.createElement)(Qu,{icon:(0,u.get)(a,["icon","src"]),label:(0,u.get)(a,["title"]),variations:i||[],onSelect:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n;const a=(0,te.select)("core/block-editor").getBlock(e),i=(0,Z.applyFilters)("stackable.variation-picker.variation-selected",t,a.name),r=l(a.name,a.attributes),o=(0,Z.applyFilters)("stackable.variation-picker.variation-selected",r,a.name);let s={};if(o&&(s={...o.attributes},Object.keys(s).forEach((e=>s[e]=void 0))),s={...s,...i.attributes||{},uniqueId:Yp(e)},(0,te.dispatch)("core/block-editor").updateBlockAttributes(e,s),i.innerBlocks){const t=(0,ze.createBlocksFromInnerBlocksTemplate)(i.innerBlocks);if(qp(t),a.innerBlocks.length){const e=Pm(t),n=Pm(a.innerBlocks);Object.keys(n).forEach((a=>{n[a].forEach(((n,i)=>{if(e[a])if(i<e[a].length){const t=e[a][i];t.attributes={...t.attributes,...(0,u.pick)(n.attributes,D)}}else if("stackable/button"===a||"stackable/icon-button"===a){const t=e[a][i-1];if(null!=t&&t.parent){const i=(0,ze.cloneBlock)(t);i.attributes={...i.attributes,...(0,u.pick)(n.attributes,D)},t.parent.innerBlocks.push(i),e[a].push(t)}}else if("stackable/text"===a){const l=e[a][i-1],r=(0,ze.cloneBlock)(l);if(r.attributes={...r.attributes,...(0,u.pick)(n.attributes,D)},l.parent){const e=l.parent.innerBlocks.indexOf(l);-1!==e&&l.parent.innerBlocks.splice(e+1,0,r)}else{const e=t.indexOf(l);-1!==e&&t.splice(e+1,0,r)}e[a].push(l)}}))}))}(0,te.dispatch)("core/block-editor").replaceInnerBlocks(e,t,!o)}},allowSkip:!0})},Pm=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(let a=0;a<e.length;a++){const n=e[a].name;t[n]?t[n].push(e[a]):t[n]=[e[a]],e[a].innerBlocks.forEach((t=>{t.parent=e[a]})),Pm(e[a].innerBlocks,t)}return t},Hm=e=>{const t=(0,oe.useRef)(0),[a,n]=(0,oe.useState)(e),i=(0,oe.useCallback)((e=>{cancelAnimationFrame(t.current),t.current=requestAnimationFrame((()=>{n(e)}))}),[]);return(0,oe.useEffect)((()=>()=>{cancelAnimationFrame(t.current)}),[]),[a,i]},Lm=(e,t)=>{const a=(0,oe.useRef)(0),[n,i]=(0,oe.useState)("");return(0,oe.useEffect)((()=>(cancelAnimationFrame(a.current),a.current=requestAnimationFrame((()=>{i(e)})),()=>cancelAnimationFrame(a.current))),t),n},zm=(e,t)=>{const a=(0,oe.useRef)(0);(0,oe.useEffect)((()=>(cancelAnimationFrame(a.current),a.current=requestAnimationFrame(e),()=>cancelAnimationFrame(a.current))),t)},{clearTimeout:Fm,setTimeout:Dm}=window,$m=250;function Um(e){let{ref:t,isFocused:a,debounceTimeout:n=$m,onChange:i=u.noop}=e;const[l,r]=(0,oe.useState)(!1),o=(0,oe.useRef)(),s=e=>{r(e),i(e)},c=()=>{const e=o.current;e&&Fm&&Fm(e)};return(0,oe.useEffect)((()=>()=>c()),[]),{showMovers:l,debouncedShowMovers:e=>{c(),l||s(!0)},debouncedHideMovers:e=>{c(),o.current=Dm((()=>{(()=>{const e=(null==t?void 0:t.current)&&t.current.matches(":hover");return!a&&!e})()&&s(!1)}),n)}}}const Vm=(0,zt.createHigherOrderComponent)((e=>t=>{const a=(0,oe.useRef)(),{showMovers:n,gestures:i}=function(e){let{ref:t,debounceTimeout:a=$m,onChange:n=u.noop}=e;const[i,l]=(0,oe.useState)(!1),{showMovers:r,debouncedShowMovers:o,debouncedHideMovers:s}=Um({ref:t,debounceTimeout:a,isFocused:i,onChange:n}),c=(0,oe.useRef)(!1),d=()=>(null==t?void 0:t.current)&&t.current.contains(document.activeElement);return(0,oe.useEffect)((()=>{const e=t.current,a=()=>{d()&&(l(!0),o())},n=()=>{d()||(l(!1),s())};return e&&!c.current&&(e.addEventListener("focus",a,!0),e.addEventListener("blur",n,!0),c.current=!0),()=>{e&&(e.removeEventListener("focus",a),e.removeEventListener("blur",n))}}),[t,c,l,o,s]),{showMovers:r,gestures:{onMouseMove:o,onMouseLeave:s}}}({ref:a});return(0,oe.createElement)("div",at({},i,{ref:a}),(0,oe.createElement)(e,at({},t,{isHovered:n})))}),"withIsHovered"),Wm=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m.version;return(0,zt.createHigherOrderComponent)((t=>a=>(0,oe.createElement)(t,at({},a,{version:e}))),"withVersion")},Gm=(0,zt.createHigherOrderComponent)((e=>t=>(0,oe.createElement)(Ie,t,(0,oe.createElement)(e,t))),"withBlockAttributeContext"),jm=(0,zt.createHigherOrderComponent)((e=>t=>{const a=Jm(t),[n,i]=We();return(0,oe.createElement)(ad,{align:t.attributes.align,className:t.attributes.className,blockHoverClass:i},a&&(0,oe.createElement)(e,at({},t,{blockState:n,blockHoverClass:i})))}),"withBlockWrapper");let qm=!0,Km=null;const Jm=e=>{const{clientId:t,isSelected:a}=e,{rootBlockClientId:n}=re();a&&(Km=n);const i=n===t;qm&&setTimeout((()=>{qm=!1}),1e3);const l=!i||Km===t||qm,[r,o]=(0,oe.useState)(l);return(0,oe.useEffect)((()=>{if(!r){const e=setTimeout((()=>{o(!0)}),300);return()=>clearTimeout(e)}}),[r]),r},{clearTimeout:Ym,setTimeout:Xm}=window;const Zm=(0,zt.createHigherOrderComponent)((e=>t=>{const a=(0,oe.useRef)(),{showMovers:n,gestures:i}=function(e){let{ref:t}=e;const[a,n]=(0,oe.useState)(!1),{showMovers:i,debouncedShowMovers:l,debouncedHideMovers:r}=function(e){let{ref:t,isFocused:a}=e;const[n,i]=(0,oe.useState)(!1),l=(0,oe.useRef)(),r=(0,oe.useCallback)((()=>{l.current&&Ym&&Ym(l.current),i(!0)}),[]),o=(0,oe.useCallback)((()=>{l.current&&Ym&&Ym(l.current),l.current=Xm((()=>{const e=(null==t?void 0:t.current)&&t.current.matches(":hover");a||e||i(!1)}),100)}),[a]);return(0,oe.useEffect)((()=>()=>{i(!1),l.current&&Ym&&Ym(l.current)}),[]),{showMovers:n,debouncedShowMovers:r,debouncedHideMovers:o}}({ref:t,isFocused:a}),o=(0,oe.useRef)(!1),s=()=>(null==t?void 0:t.current)&&t.current.contains(document.activeElement);return(0,oe.useEffect)((()=>{const e=t.current,a=()=>{s()&&(n(!0),l())},i=()=>{s()||(n(!1),r())};return e&&!o.current&&(e.addEventListener("focus",a,!0),e.addEventListener("blur",i,!0),o.current=!0),()=>{e&&(e.removeEventListener("focus",a),e.removeEventListener("blur",i))}}),[t,o,n,l,r]),{showMovers:i,gestures:{onMouseMove:l,onMouseLeave:r}}}({ref:a}),[l,r]=We(),o=Jm(t);return(0,oe.createElement)(ad,at({align:t.attributes.align,className:t.attributes.className,blockHoverClass:r,hoverRef:a},o?i:{}),o&&(0,oe.createElement)(e,at({},t,{isHovered:n,blockState:l,blockHoverClass:r})))}),"withBlockWrapperIsHovered");class Qm{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.styleParams=e,this.initStyles(),this.queryLoopInstance=null}setStyleParams(e){this.styleParams=e}initStyles(){this.styles={editor:{},saveOnly:{}}}setQueryLoopInstance(e){this.queryLoopInstance=e}getQueryLoopInstance(){return this.queryLoopInstance}appendToSelector(e,t,a){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"desktop",i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[];this.queryLoopInstance&&(e=e.replace(/[^^?](.%s)([^-])/g,`$1-${this.queryLoopInstance}$2`));const r="edit"!==i?n:n.match(/^(desktop|tablet|mobile)/g),o=""===i?this.styles:this.styles[i];"desktop"!==r&&r?(void 0===o[r]&&(o[r]={}),void 0===o[r][e]&&(o[r][e]={}),o[r][e][t]=a,l.forEach((n=>{o[r][e][`${n}${t}`]=a}))):(void 0===o[e]&&(o[e]={}),o[e][t]=a,l.forEach((n=>{o[e][`${n}${t}`]=a})))}generateStyles(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"normal";return this.initStyles(),this.styleParams.forEach((a=>{a.styles?Object.keys(a.styles).forEach((n=>{this.add(e,{...a,styleRule:n,attrName:a.styles[n]},t)})):this.add(e,a,t)})),this.styles}add(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"normal";const{selector:n="",styleRule:i="",attrName:l="",format:r="%s",hasUnits:o=!1,responsive:s=!1,hover:c=!1,attrNameTemplate:d="",selectorCallback:m=null,hoverSelector:g="",hoverSelectorCallback:p=null,hoverCallback:h=null,styleRuleCallback:v=null,renderIn:b="",valuePreCallback:f=null,valueCallback:y=null,enabledCallback:k=null,vendorPrefixes:x=[],clampCallback:w=null,unitCallback:C=null}=t,_=function(t){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"normal",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const l=d?B(d,t):t;let r=e[L(l,a,n)];if(!i)return r;const o="mobile"===a?["mobile","tablet","desktop"]:"tablet"===a?["tablet","desktop"]:["desktop"];return o.some((t=>{const a=e[L(l,t)];return""!==a&&void 0!==a&&(r=a,!0)})),r},S=d?B(d,l):l,E=b.replace("save","saveOnly").replace("edit","editor");if(k&&!k(_,e))return;let M=i;v&&(M=v(_,e));let N=m?m(_,e):n,I=p?p(_,e):g;const R=h?h(_,e):c,A=(t,a,n)=>{const i=L(`${t}Unit`,a,n),l=L(t,a,n);let c=o?e[i]||o:"",u=e[l];if(""===u&&("tablet"===a||"mobile"===a)){const i=e[L(`${t}Unit`,"desktop",n)],l=e[L(`${t}Unit`,"tablet",n)];"tablet"===a?c=i:"mobile"===a&&(c=""!==e[L(t,"tablet",n)]?l:i)}if(C&&(c=C(c,a,n)),w&&s){const i=e[L(t,"desktop",n)],l=e[L(t,"tablet",n)];""!==u&&void 0!==u||("tablet"===a?u=w(i,_,a,n,c,e):"mobile"===a&&(u=w(""!==l?l:i,_,a,n,c,e)))}if(f&&(u=f(u,_,a,n,e)),""!==u&&void 0!==u)return c&&(u="auto"===u?u:`${u}${c}`),"%s"!==r&&""!==r&&(u=(0,T.sprintf)(r.replace(/%([sd])%/,"%$1%%"),u)),y&&(u=y(u,_,a,n,e)),u},O="all"===s||Array.isArray(s)&&s.find((e=>e.startsWith("tablet"))),P="all"===s||Array.isArray(s)&&s.find((e=>e.startsWith("mobile"))),H=(Array.isArray(s)?s.find((e=>e.startsWith("desktop"))):"desktop")||"desktop",z=(Array.isArray(s)?s.find((e=>e.startsWith("tablet"))):"tablet")||"tablet",F=(Array.isArray(s)?s.find((e=>e.startsWith("mobile"))):"mobile")||"mobile",D="all"===R||Array.isArray(R)&&R.includes("hover"),$="all"===R||Array.isArray(R)&&R.includes("parent-hover"),U="all"===R||Array.isArray(R)&&R.includes("collapsed"),V=(e,t,n,i)=>{const l=e=>{const l=[];return l.push(a===i?n:t),l.push(e),(0,u.compact)(l).join(e.startsWith(":")?"":" ")};return Array.isArray(e)?e.map(l).join(", "):l(e)},W=(e,t,n,i)=>{const l=e=>`${e}${a===i?n:t}`;return Array.isArray(e)?e.map(l).join(", "):l(e)},G=V(N,":where(.stk-block-accordion.stk--is-open) .%s, .%s.stk--is-open",":where(.stk-block-accordion.stk--is-open) .%s, .%s.stk--is-open","collapsed"),j=V(N,":where(.stk-hover-parent:hover, .stk-hover-parent.stk--is-hovered) .%s",".%s.stk--is-hovered","parent-hover");I=(I||N).includes("[data-block=")&&(I||N).endsWith("]")?I?W("hover"===a?N:I||N,null,".stk--is-hovered","hover"):W(N,":hover",".stk--is-hovered","hover"):I?V("hover"===a?N:I||N,null,".%s.stk--is-hovered","hover"):V(N,".%s:hover",".%s.stk--is-hovered","hover"),N=V(N),this.appendToSelector(N,M,A(S,"desktop","normal"),H,E,x),D&&this.appendToSelector(I,M,A(S,"desktop","hover"),H,E,x),$&&this.appendToSelector(j,M,A(S,"desktop","parent-hover"),H,E,x),U&&this.appendToSelector(G,M,A(S,"desktop","collapsed"),H,E,x),O&&(this.appendToSelector(N,M,A(S,"tablet","normal"),z,E,x),D&&this.appendToSelector(I,M,A(S,"tablet","hover"),z,E,x),$&&this.appendToSelector(j,M,A(S,"tablet","parent-hover"),z,E,x),U&&this.appendToSelector(G,M,A(S,"tablet","collapsed"),H,E,x)),P&&(this.appendToSelector(N,M,A(S,"mobile","normal"),F,E,x),D&&this.appendToSelector(I,M,A(S,"mobile","hover"),F,E,x),$&&this.appendToSelector(j,M,A(S,"mobile","parent-hover"),F,E,x),U&&this.appendToSelector(G,M,A(S,"mobile","collapsed"),H,E,x))}}const eg=Qm,tg={},ag=e=>{const t=(0,oe.useContext)(ga),a=(0,te.useSelect)((e=>{var t;return null===(t=e("core/editor"))||void 0===t?void 0:t.getCurrentPostId()})),[n,i]=(0,oe.useState)(0);return(0,oe.useEffect)((()=>{if(((e,t)=>(null==e?void 0:e.postId)&&t&&(null==e?void 0:e.postId)!==t)(t,a)&&e){const a=tg[e]||[];a.includes(null==t?void 0:t.postId)||a.push(null==t?void 0:t.postId),tg[e]=a,i(a.findIndex((e=>e===(null==t?void 0:t.postId)))+1)}}),[null==t?void 0:t.id,a,e]),n},ng=[["","Unit"],["","Tablet","Mobile"],["","Hover","ParentHover","Collapsed"]],ig=e=>e.reduce(((e,t)=>(ng[0].forEach((a=>{ng[1].forEach((n=>{ng[2].forEach((i=>{e.push(`${t}${a}${n}${i}`)}))}))})),e)),[]);function lg(e){const t=[];return e.forEach((e=>{const{attrName:a="",dependencies:n=[],attrNameTemplate:i="",styles:l={}}=e,r=i?B(i,a):a;r&&!t.includes(r)&&t.push(r),Object.values(l).forEach((e=>{const a=i?B(i,e):e;a&&!t.includes(a)&&t.push(a)})),n.forEach((e=>{const a=i?B(i,e):e;a&&!t.includes(a)&&t.push(a)}))})),[...ig(t),"uniqueId"]}function rg(e){const t=2===arguments.length?arguments[1]:e,[a]=We(),{clientId:n}=(0,ae.useBlockEditContext)(),i=Be((e=>({...(0,u.pick)(e,lg(t)),clientId:n}))),l=ag(i.uniqueId),r=(0,oe.useRef)(new Qm);return r.current.setStyleParams(t),(0,oe.useEffect)((()=>{r.current.getQueryLoopInstance()||r.current.setQueryLoopInstance(l)}),[r.current,l]),(0,oe.useMemo)((()=>r.current.generateStyles(i,a)),[r.current,i,a])}const og=(e,t)=>new Qm(t).generateStyles(e),sg=e=>{try{let t=(0,Z.applyFilters)("stackable.util.is-dark-color",e);if(!t.match(/^#/)){if(!(t.indexOf("var(")>-1))return G()(t);t=ee(t)}if(t.match(/^rgb/)){const e=(e,t,a)=>"#"+[e,t,a].map((e=>{const t=e.toString(16);return 1===t.length?"0"+t:t})).join(""),a=X(t);a.splice(3,1),t=e(...a)}return t=t.replace(/#/g,""),3===t.length&&(t=t.replace(/(.)(.)(.)/,"$1$1$2$2$3$3")),G()(`#${t}`.trim())}catch(e){return!1}},cg=e=>"left"===e||"flex-start"===e?0:"auto",ug=e=>"right"===e||"flex-end"===e?0:"auto",dg=e=>"left"===e?"flex-start":"right"===e?"flex-end":e,mg=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const a=""!==e?e:void 0;return!a&&t&&sg(t)?"#ffffff":a},gg=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#ffffff",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"#222222";const i=""!==e?e:void 0;return!i&&t?sg(t)?a:n:i},pg=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Object.keys(e).reduce(((a,n)=>({...a,[n]:hg(e[n],t)})),{})},hg=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},vg=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,u.lowerFirst)(e),o=void 0===e[r(n)]?"":e[r(n)];return""!==o?i?(0,T.sprintf)(i.replace(/%([sd])%/,"%$1%%"),o):o:l}},bg=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,u.clamp)(e,parseFloat(a),parseFloat(n));if(!isNaN(t))return parseFloat(t)!==parseFloat(e)?t:void 0}},fg=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"%s",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"marginBottom",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"%spx",i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};const r="boolean"==typeof l?{important:l}:l,{important:o=!1,inherit:s=!0,inheritTabletMax:c,inheritTabletMin:u,inheritMobileMax:d,inheritMobileMin:m}=r,g=vg(i);if(s){const i=g((0,T.sprintf)(t,""),n),l=g((0,T.sprintf)(t,"Tablet"),n),r=g((0,T.sprintf)(t,"Mobile"),n),s=bg(g((0,T.sprintf)(t,"")),{min:u,max:c}),p=bg(g((0,T.sprintf)(t,"")),{min:m,max:d});return[{[e]:{[a]:hg(i,o)},tabletOnly:{[e]:{[a]:hg(l||s&&(0,T.sprintf)(n,s),o)}},mobile:{[e]:{[a]:hg(r||p&&(0,T.sprintf)(n,p),o)}}}]}return[{desktopOnly:{[e]:{[a]:hg(g((0,T.sprintf)(t,""),n),o)}},tabletOnly:{[e]:{[a]:hg(g((0,T.sprintf)(t,"Tablet"),n),o)}},mobile:{[e]:{[a]:hg(g((0,T.sprintf)(t,"Mobile"),n),o)}}}]},yg=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"%s",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const n=vg(a),i=n("contentAlign"),l=n("TabletContentAlign"),r=n("MobileContentAlign"),o=n((0,T.sprintf)(t,"")),s=n((0,T.sprintf)(t,"Tablet")),c=n((0,T.sprintf)(t,"Mobile"));return[{[e]:pg({marginLeft:o||i?cg(o||i):void 0,marginRight:o||i?ug(o||i):void 0}),tablet:{[e]:pg({marginLeft:s||l?cg(s||l):void 0,marginRight:s||l?ug(s||l):void 0})},mobile:{[e]:pg({marginLeft:c||r?cg(c||r):void 0,marginRight:c||r?ug(c||r):void 0})}}]},kg=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"%s",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"marginBottom",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"%spx",i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};return[{editor:fg(e,t,a,n,i,l)[0]}]},xg=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>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const i=t=>(0,u.camelCase)((0,T.sprintf)(e,t)),l=vg(a,i,""),{importantSize:r=!1,important:o=!0,inherit:s=!0,inheritMax:c=50,inheritMin:d}=n;let m={};const g=l("FontSize"),p=l("TabletFontSize"),h=l("MobileFontSize");if("tablet"!==t&&"mobile"!==t)m={fontFamily:""!==l("FontFamily")?y(l("FontFamily")):void 0,fontSize:""!==g?hg(`${g}${l("FontSizeUnit")||"px"}`,r):void 0,fontWeight:""!==l("FontWeight")?l("FontWeight"):void 0,textTransform:""!==l("TextTransform")?l("TextTransform"):void 0,letterSpacing:""!==l("LetterSpacing")?`${l("LetterSpacing")}px`:void 0,lineHeight:""!==l("LineHeight")?`${l("LineHeight")}${l("LineHeightUnit")||"em"}`:void 0};else if("tablet"===t){if(m={lineHeight:""!==l("TabletLineHeight")?`${l("TabletLineHeight")}${l("TabletLineHeightUnit")||"em"}`:void 0,letterSpacing:""!==l("TabletLetterSpacing")?`${l("TabletLetterSpacing")}px`:void 0},s){const e=bg(g,{min:d,max:c});e&&(m.fontSize=`${e}${l("FontSizeUnit")||"px"}`)}p&&(m.fontSize=l("TabletFontSize",`%s${l("TabletFontSizeUnit")||"px"}`))}else{if(m={lineHeight:""!==l("MobileLineHeight")?`${l("MobileLineHeight")}${l("MobileLineHeightUnit")||"em"}`:void 0,letterSpacing:""!==l("MobileLetterSpacing")?`${l("MobileLetterSpacing")}px`:void 0},s){const e=bg(g,{min:d,max:c});e&&(m.fontSize=`${e}${l("FontSizeUnit")||"px"}`);const t=bg(p,{min:d,max:c});t?m.fontSize=`${t}${l("TabletFontSizeUnit")||"px"}`:(e||p)&&(m.fontSize=void 0)}h&&(m.fontSize=l("MobileFontSize",`%s${l("MobileFontSizeUnit")||"px"}`))}return o?pg(m):m},wg=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 Cg={};const _g=()=>{Cg={...wg(["h1","h2","h3","h4","h5","h6","p",".stk-subtitle"])}};(0,Z.addFilter)("stackable.global-settings.typography.editor-styles","stackable/default-font-sizes",((e,t,a,n)=>(e[`.ugb-default-font-size .wp-block ${t}`]=xg("%s","desktop",n,{important:!0}),Cg={},e)));const Sg=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(Cg).length&&!t||_g(),Cg[e]||Cg.p||21};Kt((()=>{_g()}));const Eg=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{exclude:a=[],include:n=[]}=t;return A(R({...N(e,{type:"string",default:""},["BorderType","BorderColor"]),...N(e,{type:"number",default:""},["BorderWidthTop","BorderWidthRight","BorderWidthBottom","BorderWidthLeft","TabletBorderWidthTop","TabletBorderWidthRight","TabletBorderWidthBottom","TabletBorderWidthLeft","MobileBorderWidthTop","MobileBorderWidthRight","MobileBorderWidthBottom","MobileBorderWidthLeft"])},a,e),n,e)},Tg=Eg,Bg=e=>Object.keys(Eg(e)),Mg=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const n=t=>(0,u.camelCase)((0,T.sprintf)(e,t)),i=vg(a,n),l=[];return i("BorderType")?(l.push({[t]:pg({borderStyle:i("BorderType"),borderColor:i("BorderColor")||"#000000",borderTopWidth:i("BorderWidthTop","%spx")||"1px",borderRightWidth:i("BorderWidthRight","%spx")||"1px",borderBottomWidth:i("BorderWidthBottom","%spx")||"1px",borderLeftWidth:i("BorderWidthLeft","%spx")||"1px"}),tablet:{[t]:pg({borderTopWidth:i("TabletBorderWidthTop","%spx"),borderRightWidth:i("TabletBorderWidthRight","%spx"),borderBottomWidth:i("TabletBorderWidthBottom","%spx"),borderLeftWidth:i("TabletBorderWidthLeft","%spx")})},mobile:{[t]:pg({borderTopWidth:i("MobileBorderWidthTop","%spx"),borderRightWidth:i("MobileBorderWidthRight","%spx"),borderBottomWidth:i("MobileBorderWidthBottom","%spx"),borderLeftWidth:i("MobileBorderWidthLeft","%spx")})}}),_().all(l)):l},Ng=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{selector:a=".ugb-img",exclude:n=[]}=t;return R({...N(e,{type:"string",default:"",source:"attribute",selector:a,attribute:"src"},["Url"]),...N(e,{type:"string",default:"",source:"attribute",selector:a,attribute:"alt"},["Alt"]),...N(e,{type:"string",default:""},["Shape","Size","BlendMode","BackgroundPosition"]),...N(e,{type:"number",default:""},["Id","Width","Height","TabletWidth","MobileWidth","BorderRadius","Shadow"]),...N(e,{type:"boolean",default:""},["ShapeStretch","ShapeFlipX","ShapeFlipY","Square","TabletSquare","MobileSquare"]),...N(e,{type:"string",default:"large"},["Size"])},n,e)},Ig=Ng,Rg=e=>Object.keys(Ng(e)),Ag=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const a=(0,oe.renderToString)(e).replace(/viewbox/,"viewBox").replace(/preserveaspectratio/,"preserveAspectRatio");return t?a.replace(/#/g,"%23"):a},Og={circle:function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100"},e),(0,oe.createElement)("circle",{cx:50,cy:50,r:50}))},square:function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 200"},e),(0,oe.createElement)("path",{className:"square_svg__st0",d:"M0 0h200v200H0z"}))},blob1:function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 200"},e),(0,oe.createElement)("path",{d:"M188.5 31.9c12.9 15.9 12.5 43.3 10.3 77.1s-6.2 74.2-26.2 86.5-56.1-3.3-89.4-21.2-63.7-38.1-76.4-69.8C-5.9 73-.8 29.9 21.6 11.7 44-6.4 83.8.5 116.7 6.1s59 10 71.8 25.8z"}))}},Pg=e=>{const t=(0,Z.applyFilters)("stackable.image.shape.svgs",Og);return t[e]?t[e]:null},Hg=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const a=t=>(0,u.camelCase)((0,T.sprintf)(e,t)),n=vg(t,a),i=n("Shape");return{borderRadius:i?void 0:n("BorderRadius","%spx")}},Lg=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>2&&void 0!==arguments[2]?arguments[2]:{};const n=t=>(0,u.camelCase)((0,T.sprintf)(e,t)),i=vg(a,n),l=i("Shape"),r=(e,t)=>i(t)&&i(e)?i(e,"%spx"):"auto";return"tablet"!==t&&"mobile"!==t?{borderRadius:l?void 0:i("BorderRadius","%spx"),width:i("Width","%spx"),height:i("Width")?hg(r("Width","Square")):void 0}:"tablet"===t?{width:i("TabletWidth","%spx"),height:i("TabletWidth")?hg(r("TabletWidth","TabletSquare")):void 0}:{width:i("MobileWidth","%spx"),height:i("MobileWidth")?hg(r("MobileWidth","MobileSquare")):void 0}},zg=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{parentAttrNameTemplate:n}=a,i=t=>(0,u.camelCase)((0,T.sprintf)(e,t)),l=vg(t,i),r=e=>{if(n){const a=vg(t,(e=>(0,u.camelCase)((0,T.sprintf)(n,e))));return void 0!==l(e)?l(e):a(e)}return l(e)},o=r("Shape");if(!o)return{};const s=r("ShapeStretch"),c=r("ShapeFlipX"),d=r("ShapeFlipY"),m=Pg(o),g=(0,oe.createElement)(m,{preserveAspectRatio:!["","square"].includes(o)&&s?"none":void 0,transform:c||d?`scale(${c?-1:1},${d?-1:1})`:void 0}),p=btoa(Ag(g));return{"-webkit-mask-image":`url('data:image/svg+xml;base64,${p}')`,"mask-image":`url('data:image/svg+xml;base64,${p}')`}},Fg=Lg,Dg=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",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{inherit:i=!0}=n,l={[`.${t}`]:{...zg(e,a,n)},tabletOnly:{[`.${t}`]:{...Lg(e,"tablet",a,n)}},mobile:{[`.${t}`]:{...Lg(e,"mobile",a,n)}}};return i?l[`.${t}`]={...l[`.${t}`],...Lg(e,"desktop",a,n)}:(l[`.${t}`]={...l[`.${t}`],...Hg(e,a)},l.desktopTablet={[`.${t}`]:{...Lg(e,"desktop",a,n)}}),l},$g=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||""}},Ug=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]||$g(e):null};window._stackableCachedImageData={};const Vg=(e,t)=>{const{getMedia:a}=t("core"),n=e?a(e):null;return n&&void 0!==n.id&&(window._stackableCachedImageData[n.id]=n),n},Wg=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"full";const a=Gg(e)||Vg(e,te.select);return a?a.media_details.sizes[t]?a.media_details.sizes[t].source_url:a.source_url:""},Gg=e=>window._stackableCachedImageData[e]||null,jg=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{exclude:a=[]}=t;return R({...N(e,{type:"string",default:""},["Url","BackgroundPosition","BackgroundRepeat","BackgroundSize","Alt","Title"]),...N(e,{type:"number",default:""},["Id","BackgroundCustomSize"]),...N(e,{type:"string",default:"large"},["Size"]),...N(e,{type:"string",default:"px"},["BackgroundCustomSizeUnit"])},a,e)},qg=jg,Kg=e=>Object.keys(jg(e)),Jg=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>2&&void 0!==arguments[2]?arguments[2]:{};const n=t=>(0,u.camelCase)((0,T.sprintf)(e,t)),i=vg(a,n);return"tablet"!==t&&"mobile"!==t?{backgroundImage:i("Url","url(%s)"),backgroundPosition:hg(i("BackgroundPosition")),backgroundRepeat:hg(i("BackgroundRepeat")),backgroundSize:hg("custom"!==i("BackgroundSize")?i("BackgroundSize"):i("BackgroundCustomSize")?i("BackgroundCustomSize")+i("BackgroundCustomSizeUnit","%s","px"):void 0)}:{}},Yg=Jg,Xg=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",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]:{};return{[`.${t}`]:{...Jg(e,"desktop",a,n)},tablet:{[`.${t}`]:{...Jg(e,"tablet",a,n)}},mobile:{[`.${t}`]:{...Jg(e,"mobile",a,n)}}}},Zg=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{selector:a=".ugb-button",defaultText:n=(0,T.__)("Button text",m.i18n),exclude:i=[],include:l=[]}=t;return A(R({...U(e),...N(e,{type:"string",source:"html",selector:`${a} span`,default:n},["Text"]),...N(e,{type:"string",source:"attribute",selector:a,attribute:"href",default:""},["Url"]),...N(e,{type:"boolean",source:"attribute",selector:a,attribute:"target",default:""},["NewTab"]),...N(e,{type:"string",default:""},["Design","Size","Icon","IconPosition","TextColor","BackgroundColorType","BackgroundColor","BackgroundColor2","HoverEffect","HoverTextColor","HoverBackgroundColor","HoverBackgroundColor2"]),...N(e,{type:"number",default:""},["Opacity","HoverOpacity","PaddingTop","PaddingRight","PaddingBottom","PaddingLeft","BorderRadius","BorderWidth","Shadow","IconSize","IconSpacing","BackgroundGradientDirection","HoverBackgroundGradientDirection"]),...N(e,{type:"boolean",default:""},["HoverGhostToNormal","NoFollow","Sponsored","Ugc"])},i,e),l,e)},Qg=Zg,ep=e=>Object.keys(Zg(e)),tp=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",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{hasIcon:i=!1,hasActiveStyles:l=!1}=n,r=t=>(0,u.camelCase)((0,T.sprintf)(e,t)),o=vg(a,r,""),s=[];s.push({[`.${t} .ugb-button--inner`]:{...xg(e,"desktop",a)},tablet:{[`.${t} .ugb-button--inner`]:{...xg(e,"tablet",a)}},mobile:{[`.${t} .ugb-button--inner`]:{...xg(e,"mobile",a)}}});const c=o("BackgroundColor2"),d=o("BackgroundColor");let m=!1;const g="gradient"===o("BackgroundColorType")&&(o("HoverBackgroundColor")||o("HoverBackgroundColor2")||o("HoverBackgroundGradientDirection"));if(""!==o("Design")&&"basic"!==o("Design")||(s.push({[`.${t}`]:{backgroundColor:""!==o("BackgroundColor")?o("BackgroundColor"):void 0,backgroundImage:"gradient"===o("BackgroundColorType")?`linear-gradient(${""!==a[r("BackgroundGradientDirection")]?o("BackgroundGradientDirection","%sdeg","90deg"):"90deg"}, ${o("BackgroundColor")||c}, ${o("BackgroundColor2")||d})`:void 0,paddingTop:""!==o("PaddingTop")?`${o("PaddingTop")}px`:void 0,paddingRight:""!==o("PaddingRight")?`${o("PaddingRight")}px`:void 0,paddingBottom:""!==o("PaddingBottom")?`${o("PaddingBottom")}px`:void 0,paddingLeft:""!==o("PaddingLeft")?`${o("PaddingLeft")}px`:void 0},[`.${t} .ugb-button--inner, .${t} svg:not(.ugb-custom-icon)`]:{color:hg(gg(o("TextColor"),o("BackgroundColor")))},[`.${t}:hover .ugb-button--inner, .${t}:hover svg:not(.ugb-custom-icon)`]:{color:hg(gg(o("HoverTextColor"),o("HoverBackgroundColor")))},[`.${t}:hover`]:{backgroundColor:""!==o("HoverBackgroundColor")?o("HoverBackgroundColor"):void 0},...l?{[`.${t}.is-active`]:{...g?{backgroundImage:`linear-gradient(${o("HoverBackgroundGradientDirection","%sdeg")||o("BackgroundGradientDirection","%sdeg","90deg")}, ${o("HoverBackgroundColor")||o("BackgroundColor")||c}, ${o("HoverBackgroundColor2")||o("BackgroundColor2")||d})`}:{backgroundColor:""!==o("HoverBackgroundColor")?o("HoverBackgroundColor"):void 0}},[`.${t}.is-active .ugb-button--inner, .${t}.is-active svg:not(.ugb-custom-icon)`]:{color:hg(gg(o("HoverTextColor"),o("HoverBackgroundColor")))},[`.${t}:focus`]:{backgroundColor:hg(""!==o("HoverBackgroundColor")?o("HoverBackgroundColor"):void 0)}}:{}}),m=""!==o("HoverBackgroundColor"),s.push({[`.${t}:before`]:{content:g?'""':void 0,backgroundImage:g?`linear-gradient(${o("HoverBackgroundGradientDirection","%sdeg")||o("BackgroundGradientDirection","%sdeg","90deg")}, ${o("HoverBackgroundColor")||o("BackgroundColor")||c}, ${o("HoverBackgroundColor2")||o("BackgroundColor2")||d})`:void 0}}),m=m||g||""!==o("HoverTextColor")),"ghost"===o("Design")&&(s.push({[`.${t}`]:{borderColor:""!==o("BackgroundColor")?hg(o("BackgroundColor")):void 0,borderWidth:""!==o("BorderWidth")?`${o("BorderWidth")}px`:void 0,paddingTop:""!==o("PaddingTop")?`${o("PaddingTop")}px`:void 0,paddingRight:""!==o("PaddingRight")?`${o("PaddingRight")}px`:void 0,paddingBottom:""!==o("PaddingBottom")?`${o("PaddingBottom")}px`:void 0,paddingLeft:""!==o("PaddingLeft")?`${o("PaddingLeft")}px`:void 0},[`.${t} .ugb-button--inner`]:{color:""!==o("BackgroundColor")?hg(o("BackgroundColor")):void 0},[`.${t}:hover`]:{borderColor:""!==o("HoverBackgroundColor")?hg(o("HoverBackgroundColor")):void 0},[`.${t}:hover .ugb-button--inner`]:{color:""!==o("HoverBackgroundColor")?hg(o("HoverBackgroundColor")):""!==o("BackgroundColor")?hg(o("BackgroundColor")):void 0},...l?{[`.${t}:focus`]:{borderColor:""!==o("HoverBackgroundColor")?hg(o("HoverBackgroundColor")):void 0},[`.${t}:focus .ugb-button--inner`]:{color:""!==o("HoverBackgroundColor")?hg(o("HoverBackgroundColor")):""!==o("BackgroundColor")?hg(o("BackgroundColor")):void 0},[`.${t}.is-active`]:{borderColor:""!==o("HoverBackgroundColor")?hg(o("HoverBackgroundColor")):void 0},[`.${t}.is-active .ugb-button--inner`]:{color:""!==o("HoverBackgroundColor")?hg(o("HoverBackgroundColor")):""!==o("BackgroundColor")?hg(o("BackgroundColor")):void 0}}:{}}),(""!==o("Icon")||i)&&s.push({[`.${t}.ugb-button--has-icon.ugb-button--has-icon svg:not(.ugb-custom-icon)`]:{color:""!==o("BackgroundColor")?o("BackgroundColor"):void 0},[`.${t}.ugb-button--has-icon.ugb-button--has-icon:hover svg:not(.ugb-custom-icon)`]:{color:""!==o("HoverBackgroundColor")?o("HoverBackgroundColor"):""!==o("BackgroundColor")?o("BackgroundColor"):void 0}}),m=""!==o("HoverBackgroundColor"),o("HoverGhostToNormal")&&(s.push({[`.${t}:before`]:{content:'""',backgroundImage:`linear-gradient(${o("HoverBackgroundGradientDirection","%sdeg","90deg")}, ${o("HoverBackgroundColor")||o("BackgroundColor")}, ${o("HoverBackgroundColor2")||o("HoverBackgroundColor")||o("BackgroundColor")})`,top:""!==o("BorderWidth")?`-${o("BorderWidth")}px`:void 0,right:""!==o("BorderWidth")?`-${o("BorderWidth")}px`:void 0,bottom:""!==o("BorderWidth")?`-${o("BorderWidth")}px`:void 0,left:""!==o("BorderWidth")?`-${o("BorderWidth")}px`:void 0},[`.${t}:hover`]:{backgroundColor:hg(""!==o("HoverBackgroundColor")?o("HoverBackgroundColor"):o("BackgroundColor"))},[`.${t}:hover .ugb-button--inner`]:{color:hg(gg(o("HoverTextColor"),o("HoverBackgroundColor")||o("BackgroundColor")))},...l?{[`.${t}.is-active`]:{backgroundColor:hg(""!==o("HoverBackgroundColor")?o("HoverBackgroundColor"):o("BackgroundColor"))},[`.${t}.is-active .ugb-button--inner`]:{color:hg(gg(o("HoverTextColor"),o("HoverBackgroundColor")||o("BackgroundColor")))}}:{}}),(""!==o("Icon")||i)&&s.push({[`.${t}.ugb-button--has-icon.ugb-button--has-icon:hover svg:not(.ugb-custom-icon)`]:{color:hg(gg(o("HoverTextColor"),o("HoverBackgroundColor")||o("BackgroundColor")))}}),m=!0)),"plain"===o("Design")&&(s.push({[`.${t} .ugb-button--inner`]:{color:""!==o("BackgroundColor")?hg(o("BackgroundColor")):void 0},[`.${t}:hover .ugb-button--inner`]:{color:""!==o("HoverBackgroundColor")?hg(o("HoverBackgroundColor")):void 0},...l?{[`.${t}.is-active .ugb-button--inner`]:{color:""!==o("HoverBackgroundColor")?hg(o("HoverBackgroundColor")):void 0}}:{}}),(""!==o("Icon")||i)&&s.push({[`.${t}.ugb-button--has-icon.ugb-button--has-icon svg:not(.ugb-custom-icon)`]:{color:""!==o("BackgroundColor")?o("BackgroundColor"):void 0},[`.${t}.ugb-button--has-icon.ugb-button--has-icon:hover svg:not(.ugb-custom-icon)`]:{color:""!==o("HoverBackgroundColor")?o("HoverBackgroundColor"):void 0}}),m=""!==o("HoverBackgroundColor")),"link"!==o("Design")){const e=""!==a[r("IconSpacing")]&&void 0!==a[r("IconSpacing")]?`${o("IconSpacing","%spx",16)}`:void 0,n=a[r("BorderRadius")];s.push({[`.${t}`]:{opacity:""!==o("Opacity")?o("Opacity"):void 0,borderRadius:""!==n&&void 0!==n?hg(`${n}px`):void 0},[`.${t}:before`]:{borderRadius:""!==n&&void 0!==n?hg(`${n}px`):void 0},[`.${t}:hover`]:{opacity:""!==o("HoverOpacity")?o("HoverOpacity"):m?1:void 0},...l?{[`.${t}.is-active`]:{opacity:""!==o("HoverOpacity")?o("HoverOpacity"):m?1:void 0}}:{},[`.${t}.ugb-button--has-icon.ugb-button--has-icon svg`]:{marginLeft:""===o("Icon")&&!i||"right"!==o("IconPosition")?void 0:e,marginRight:""===o("Icon")&&!i||"right"===o("IconPosition")?void 0:e,width:""!==o("IconSize")||i?`${o("IconSize")}px`:void 0,height:""!==o("IconSize")||i?`${o("IconSize")}px`:void 0}})}return _().all(s)},ap=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{selector:a=".ugb-button-%s",exclude:n=[],include:i=[]}=t,l=Object.keys(rp).reduce(((n,i)=>({...n,...N(e,{type:"string",source:"attribute",selector:(0,T.sprintf)(a,i),attribute:"href",default:t[`${i}Default`]?t[`${i}Default`]:""},[`${(0,u.upperFirst)(i)}Url`])})),{});return A(R({...Qg(e,{exclude:["Text","Url","NoFollow","Sponsored","Ugc","Icon","IconPosition","NewTab"]}),...N(e,{type:"boolean",default:""},["NewTab"]),...N(e,{type:"boolean",default:!0},["UseSocialColors"]),...l},n,e),i,e)},np=ap,ip=e=>Object.keys(ap(e)),lp=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const n=t=>(0,u.camelCase)((0,T.sprintf)(e,t)),i=vg(a,n,""),l=[];return l.push({...tp(e,t,a,{hasIcon:!0})}),i("UseSocialColors")?(""!==i("Design")&&"basic"!==i("Design")||l.push({[`.${t}`]:{backgroundColor:void 0,backgroundImage:void 0},[`.${t} .ugb-button--inner, .${t} svg`]:{color:void 0},[`.${t}:hover .ugb-button--inner, .${t}:hover svg`]:{color:void 0},[`.${t}:hover`]:{backgroundColor:void 0},[`.${t}:before`]:{content:void 0,backgroundImage:void 0}}),"ghost"===i("Design")&&(l.push({[`.${t}`]:{borderColor:void 0},[`.${t} .ugb-button--inner, .${t}.ugb-button--has-icon.ugb-button--has-icon svg`]:{color:void 0},[`.${t}:hover`]:{borderColor:void 0},[`.${t}:hover .ugb-button--inner, .${t}.ugb-button--has-icon.ugb-button--has-icon:hover svg`]:{color:void 0}}),i("HoverGhostToNormal")&&l.push({[`.${t}:before`]:{content:void 0,backgroundImage:void 0,top:void 0,right:void 0,bottom:void 0,left:void 0},[`.${t}:hover .ugb-button--inner, .${t}.ugb-button--has-icon.ugb-button--has-icon:hover svg`]:{color:void 0}})),"plain"===i("Design")&&l.push({[`.${t} .ugb-button--inner, .${t}.ugb-button--has-icon.ugb-button--has-icon svg`]:{color:void 0},[`.${t}:hover .ugb-button--inner, .${t}.ugb-button--has-icon.ugb-button--has-icon:hover svg`]:{color:void 0}}),_().all(l)):_().all(l)},rp={facebook:{label:(0,T.__)("Facebook",m.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,T.__)("Twitter",m.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,T.__)("Instagram",m.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,T.__)("Pinterest",m.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,T.__)("LinkedIn",m.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,T.__)("YouTube",m.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,T.__)("Email",m.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>'}},op=e=>e.replace(/\//g,"-"),sp=["uniqueClass"],cp={};function up(e){return cp[e.name]||(cp[e.name]=(0,ze.createBlock)(e.name).attributes),Object.keys(cp[e.name]).every((t=>!!sp.includes(t)||cp[e.name][t]===e.attributes[t]))}const dp=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,te.select)("core/block-editor"),{updateBlockAttributes:o}=(0,te.dispatch)("core/block-editor"),{getBlockType:s}=(0,te.select)("core/blocks");if(!t&&l())return void r().forEach((t=>{dp(e,t)}));const c=t||n();if(!c)return;const d=i(c),m=a(c).replace(/^\w+\//g,""),g=s(a(c)).attributes,p=Object.keys(g).reduce(((e,t)=>({...e,[t]:g[t]?g[t].default:""})),{}),h=(0,Z.applyFilters)(`stackable.${m}.design.filtered-block-attributes`,{...p,...e},d),v=(0,Z.applyFilters)(`stackable.${m}.design.no-text-attributes`,h,d);k(v),o(c,(0,u.omit)(v,["uniqueClass"]))},mp=(e,t,a)=>{const{getBlock:n}=(0,te.select)("core/block-editor"),{replaceInnerBlocks:i}=(0,te.dispatch)("core/block-editor"),l=n(e);i(e,jp(l.innerBlocks,t,a),!1)},gp=()=>({name:"blocks",className:"block-editor-autocompleters__block",triggerPrefix:"/",useItems(e){const{rootClientId:t,selectedBlockName:a}=(0,te.useSelect)((e=>{const{getSelectedBlockClientId:t,getBlockName:a,getBlockInsertionPoint:n}=e("core/block-editor"),i=t();return{selectedBlockName:i?a(i):null,rootClientId:n().rootClientId}}),[]),{categories:n,collections:i,items:l}=(0,te.useSelect)((e=>{const{getInserterItems:a}=e("core/block-editor"),{getCategories:n,getCollections:i}=e("core/blocks");return{categories:n(),collections:i(),items:a(t)}}),[t]),r=(0,oe.useMemo)((()=>{let t=(0,u.orderBy)(l,["frecency"],["desc"]);return t=t.filter((e=>e.name!==a)).filter((e=>e.name.startsWith("stackable/")||e.name.startsWith("ugb/"))),t=t.filter((t=>t.name.toLowerCase().includes(null==e?void 0:e.toLowerCase())||t.title.toLowerCase().includes(null==e?void 0:e.toLowerCase()))),t.slice(0,9)}),[e,a,l,n,i]),o=(0,oe.useMemo)((()=>r.map((e=>{const{title:t,icon:a,isDisabled:n}=e;return{key:`block-${e.id}`,value:e,label:(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(ae.BlockIcon,{key:"icon",icon:a,showColors:!0}),t),isDisabled:n}}))),[r]);return[o]},allowContext:(e,t)=>!(/\S/.test(e)||/\S/.test(t)),getOptionCompletion(e){const{name:t,initialAttributes:a,innerBlocks:n}=e;return{action:"replace",value:(0,ze.createBlock)(t,a,(0,ze.createBlocksFromInnerBlocksTemplate)(n))}}}),pp=(e,t)=>{let a=e;const n=[];for(;null!==a;){const{getBlock:e,getBlockParents:i}=(0,te.select)("core/block-editor"),l=e(a),r=l.name,o=(0,u.last)(i(a));if(!o||o===a){n.unshift({type:l.name,nthOfType:1,numOfType:1});break}const s=e(o).innerBlocks,{nthOfType:c,numOfType:d}=s.reduce(((e,t)=>{let{name:n,clientId:i}=t;return n===r&&(e.numOfType++,e.foundClientId||(e.nthOfType++,i===a&&(e.foundClientId=!0))),e}),{nthOfType:0,numOfType:0,foundClientId:!1});n.unshift({type:l.name,nthOfType:c,numOfType:d}),a=a===t?null:(0,u.last)((0,te.select)("core/block-editor").getBlockParents(a))}return n},hp=(e,t)=>{const a=[];if(!t.length)return a;t[0].nthOfType=1,t[0].numOfType=1;let n=[(0,te.select)("core/block-editor").getBlock(e)];return t.forEach(((e,t)=>{const i=n.filter((a=>{if(e.type!==a.name)return!1;if(0===t)return!0;const n=vp(a.clientId);return n===e.nthOfType||!!(e.nthOfType===e.numOfType&&n>e.nthOfType&&n>=e.numOfType)}));e.attributes&&i.forEach((e=>{let{clientId:t}=e;a.push(t)})),n=i.reduce(((e,t)=>[...e,...t.innerBlocks]),[])})),a},vp=e=>{const{getBlock:t,getBlockParents:a}=(0,te.select)("core/block-editor"),n=t(e).name,i=(0,u.last)(a(e));if(!i||i===e)return 1;const l=t(i).innerBlocks;let r=0;return l.some((t=>{let{name:a,clientId:i}=t;return a===n&&(r++,i===e)})),r},bp=()=>{if(!(0,ze.getCategories)().some((e=>"stackable"===e.slug))){const e={slug:"stackable",title:(0,T.__)("Stackable",m.i18n),icon:fo},t=m.blockCategoryIndex||0,a=[...(0,ze.getCategories)()];a.splice(t,0,e),(0,ze.setCategories)(a)}},fp=(e,t)=>{let a=(0,Z.applyFilters)("stackable.block.metadata",t||{});a.variations&&a.variations.forEach((e=>{e.title||(e.title=a.title)})),a.getEditWrapperProps=()=>({"data-align":void 0}),a.edit=(0,Z.applyFilters)("stackable.registerBlockType.edit",a.edit),a=(0,Z.applyFilters)(`stackable.${e.replace("stackable/","")}.settings`,a),(0,ze.registerBlockType)(e,a)},yp=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const[a,n]=(0,oe.useState)((()=>{try{const a=window.localStorage.getItem(e);return a?JSON.parse(a):t}catch(e){return t}})),i=t=>{try{const i=t instanceof Function?t(a):t;n(i),window.localStorage.setItem(e,JSON.stringify(i))}catch(e){}};return[a,i]},kp=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{selector:a=".ugb-icon",defaultIcon:n="fas-cogs",exclude:i=[],include:l=[]}=t;return A(R({...N(e,{type:"string",source:"html",selector:`${a}`,default:n},["Icon"]),...N(e,{type:"string",default:""},["Design","ColorType","Color","Color2","BackgroundColorType","BackgroundColor","BackgroundColor2","BackgroundShape","BackgroundShapeColor","Color3","Color4","Color5","Color5","Color6","Color7","Color8","Color9","Color10"]),...N(e,{type:"number",default:""},["ColorGradientDirection","OutlineWidth","BackgroundColorGradientDirection","Size","TabletSize","MobileSize","BorderRadius","Shadow","Opacity","Padding","Rotation","BackgroundShapeOpacity","BackgroundShapeSize","BackgroundShapeOffsetHorizontal","BackgroundShapeOffsetVertical","MultiOpacity1","MultiOpacity2","MultiOpacity3","MultiOpacity4","MultiOpacity5","MultiOpacity6","MultiOpacity7","MultiOpacity8","MultiOpacity9","MultiOpacity10"]),...N(e,{type:"boolean",default:""},["ShowBackgroundShape"])},i,e),l,e)},xp=kp,Cp=e=>Object.keys(kp(e)),_p=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const n=t=>(0,u.camelCase)((0,T.sprintf)(e,t)),i=vg(a,n),l=[],r=bg(i("Size"),{max:200}),o=bg(i("Size"),{max:200});return l.push({[`.${t} .ugb-icon-inner-svg, .${t} .ugb-icon-inner-svg svg`]:{width:hg(i("Size","%spx")),height:hg(i("Size","%spx"))},tabletOnly:{[`.${t} .ugb-icon-inner-svg, .${t} .ugb-icon-inner-svg svg`]:{width:hg(i("TabletSize","%spx")||r&&`${r}px`),height:hg(i("TabletSize","%spx")||o&&`${o}px`)}},mobile:{[`.${t} .ugb-icon-inner-svg, .${t} .ugb-icon-inner-svg svg`]:{width:hg(i("MobileSize","%spx")||r&&`${r}px`),height:hg(i("MobileSize","%spx")||o&&`${o}px`)}},[`.${t} .ugb-icon-inner-svg`]:{color:hg(i("Color")),transform:hg(i("Rotation","rotate(%sdeg)"))},saveOnly:{[`.${t} .ugb-icon-inner-svg, .${t} .ugb-icon-inner-svg svg *`]:{color:hg(i("Color")),fill:hg(i("Color"))}},editor:{[`.${t} .ugb-icon-inner-svg, .${t} .ugb-icon-inner-svg svg path, .${t} .ugb-icon-inner-svg svg g, .${t} .ugb-icon-inner-svg svg shape, .${t} .ugb-icon-inner-svg svg circle, .${t} .ugb-icon-inner-svg svg path, .${t} .ugb-icon-inner-svg svg rect, .${t} .ugb-icon-inner-svg svg polygon, .${t} .ugb-icon-inner-svg svg ellipse`]:{color:hg(i("Color")),fill:hg(i("Color"))}},[`.${t}`]:{opacity:hg(i("Opacity"))}}),"shaped"!==i("Design")&&"outlined"!==i("Design")||l.push({[`.${t} .ugb-icon__design-wrapper`]:{borderRadius:hg(i("BorderRadius","%s%","100%")),padding:hg(i("Padding","%spx"))}}),"shaped"===i("Design")&&l.push({[`.${t} .ugb-icon__design-wrapper`]:{background:hg(i("BackgroundColor"))}}),"outlined"===i("Design")&&l.push({[`.${t} .ugb-icon__design-wrapper`]:{borderColor:hg(i("BackgroundColor")),borderWidth:hg(i("OutlineWidth","%spx"))}}),_().all((0,Z.applyFilters)("stackable.icon-style-set.styles",l,i,t,a))},Sp=e=>"string"!=typeof e?0:(0,u.range)(10).reduce(((t,a)=>{const n=a+1;return new RegExp(`(<(circle|ellipse|line|polygon|polyline|rect|shape|path)[^>]*(/>|>[sS]*?</\\w+>)[ \t\r\n\v\f]*){${n}}`,"gm").test(e)?n:t}),0),Ep=e=>{const t=document.createElement("div");return t.innerHTML=e,t.firstElementChild},Tp=(e,t)=>{const a=Bp(e,t);return a?a.html[0]:""},Bp=(e,t)=>window.FontAwesome?window.FontAwesome.icon({prefix:e,iconName:t}):null,Mp=()=>!!window.FontAwesome,Np=()=>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)})),Ip=(e,t)=>{const a=Bp(e,t);return a?Promise.resolve(a):new Promise(((a,n)=>{let i=240;const l=setInterval((()=>{const r=Bp(e,t);window.FontAwesome?(clearInterval(l),a(r)):i--<0&&(clearInterval(l),n(!1))}),250)}))},Rp=async e=>{const t=(0,te.select)("core").getCurrentUser().id;return t&&(await Xi()({path:(0,Fs.addQueryArgs)(`/wp/v2/users/${t}`,{context:"edit"})})).capabilities[e]||!1};var Ap=a(3726),Op=a.n(Ap);const Pp=e=>e?`stk-${e}`:"",Hp=(e,t)=>Array.from({length:t-e},((t,a)=>a+e)),Lp=e=>(null==e?void 0:e.endsWith("mp4"))||(null==e?void 0:e.endsWith("webm"))||(null==e?void 0:e.endsWith("ogg")),zp=e=>{let t="";return t=(e.match(/youtube\.com\/watch\?v=([^\&\?\/]+)/i)||[])[1],t||(t=(e.match(/youtube\.com\/embed\/([^\&\?\/]+)/i)||[])[1]),t||(t=(e.match(/youtube\.com\/v\/([^\&\?\/]+)/i)||[])[1]),t||(t=(e.match(/youtu\.be\/([^\&\?\/]+)/i)||[])[1]),t?{type:"youtube",id:t}:(t=(e.match(/vimeo\.com\/(\w*\/)*(\d+)/i)||[])[2],t||(t=(e.match(/^\d+$/i)||[])[0]),t?{type:"vimeo",id:t}:{type:"youtube",id:e})},Fp=e=>"short"===e?(0,T.__)("Description for this block. You can use this space for describing your block.",m.i18n):"medium"===e?`${Fp()} ${Fp("short")}`:"long"===e?`${Fp("medium")} ${Fp()} ${Fp("short")}`:(0,T.__)("Description for this block. Use this space for describing your block. Any text will do.",m.i18n),Dp=()=>void 0!==window.wp&&void 0!==window.wp.editor,$p=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return e;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},Up={Tablet:1023,Mobile:767},Vp=function(e,t,a){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"Desktop";return(e||"").replace(/\/\*[\s\S]*?\*\//g,"").replace(/\/\/(.*)?\n/g,"").replace(/([^}]+)({)/g,((e,l,r)=>{if(l.match(/@\w+/))return l.replace(/(@\w+[^{]+{\s*)([^{]+)/g,((e,l,o)=>{const s=Gp(o,t,a);if(n&&"Desktop"!==i){var c,d;let e=null==l||null===(c=l.match(/min-width:\s*(\d+)px/))||void 0===c?void 0:c[1],t=null==l||null===(d=l.match(/max-width:\s*(\d+)px/))||void 0===d?void 0:d[1];if("string"!=typeof e&&(e=0),"string"!=typeof t&&(t=9999),(0,u.inRange)(Up[i],parseInt(e),parseInt(t)))return`@media screen { ${s} ${r}`}return`${l} ${s} ${r}`}));const o=Gp(l,t,a);return(n?".editor-styles-wrapper ":"")+`${o} ${r}`})).trim()},Wp={},Gp=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(Wp[i])return Wp[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=")||"html"===e||"body"===e?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 Wp[i]=l,l},jp=(e,t,a)=>(e.splice(t<a?a+1:a,0,e[t]),e.splice(t<a?t:t+1,1),e),qp=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(0===e.length)return null;e.forEach((e=>{e.name.startsWith("stackable/")&&(0,ze.getBlockVariations)(e.name).length>0&&(e.attributes={...e.attributes,uniqueId:Yp(e.clientId)}),qp(e.innerBlocks)}))},Kp=function(e,t){let a=t.parentNode;for(;a;){if(a===e)return!0;a=a.parentNode}return!1},Jp=e=>Op()(e.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&nbsp;/g," ").replace(/&[\w\d]+;/g,"-")).replace(/<[^>]*>/g,"").replace(/[^\w\d\s-_]/g,"").replace(/[^\w\d]/g,"-").replace(/[-]+/g,"-").trim().toLowerCase(),Yp=e=>`${e.substring(0,7)}`,Xp=(e,t,a)=>(0,x.compare)(e,a,t),Zp=[{value:"",label:(0,T.__)("Default",m.i18n)},{value:"address",label:(0,T._x)("Address","HTML Tag",m.i18n)},{value:"article",label:(0,T._x)("Article","HTML Tag",m.i18n)},{value:"aside",label:(0,T._x)("Aside","HTML Tag",m.i18n)},{value:"blockquote",label:(0,T._x)("Blockquote","HTML Tag",m.i18n)},{value:"div",label:(0,T._x)("Div","HTML Tag",m.i18n)},{value:"details",label:(0,T._x)("Details","HTML Tag",m.i18n)},{value:"footer",label:(0,T._x)("Footer","HTML Tag",m.i18n)},{value:"header",label:(0,T._x)("Header","HTML Tag",m.i18n)},{value:"hgroup",label:(0,T._x)("Hgroup","HTML Tag",m.i18n)},{value:"main",label:(0,T._x)("Main","HTML Tag",m.i18n)},{value:"nav",label:(0,T._x)("Nav","HTML Tag",m.i18n)},{value:"section",label:(0,T._x)("Section","HTML Tag",m.i18n)},{value:"summary",label:(0,T._x)("Summary","HTML Tag",m.i18n)}],Qp=e=>{const t={...e,version:e.version,versionAdded:"3.0.0",versionDeprecated:""},{positionSelector:a="",dependencies:n=[]}=e;return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(pd,at({},t,{renderIn:"save",selector:a,hoverSelector:a?`${a}:hover`:void 0,styleRule:"top",attrName:"positionNum",key:"positionNum-save-top",responsive:"all",hover:"all",hasUnits:"px",valuePreCallback:(e,t,a,n)=>{if("desktop"===a&&"normal"===n){const n="sticky"===t("position",a,"normal",!0),i=!e||e&&""===e.top;if(n&&i)return 0}return null==e?void 0:e.top},dependencies:["position",...n]})),(0,oe.createElement)(pd,at({},t,{renderIn:"save",selector:a,hoverSelector:a?`${a}:hover`:void 0,styleRule:"right",attrName:"positionNum",key:"positionNum-save-right",responsive:"all",hover:"all",hasUnits:"px",valuePreCallback:e=>null==e?void 0:e.right})),(0,oe.createElement)(pd,at({},t,{renderIn:"save",selector:a,hoverSelector:a?`${a}:hover`:void 0,styleRule:"bottom",attrName:"positionNum",key:"positionNum-save-bottom",responsive:"all",hover:"all",hasUnits:"px",valuePreCallback:e=>null==e?void 0:e.bottom})),(0,oe.createElement)(pd,at({},t,{renderIn:"save",selector:a,hoverSelector:a?`${a}:hover`:void 0,styleRule:"left",attrName:"positionNum",key:"positionNum-save-left",responsive:"all",hover:"all",hasUnits:"px",valuePreCallback:e=>null==e?void 0:e.left})),(0,oe.createElement)(pd,at({},t,{renderIn:"save",selector:"",styleRule:"position",attrName:"position",key:"position-save",responsive:"all"})),(0,oe.createElement)(pd,at({},t,{renderIn:"edit",selectorCallback:(e,t,a)=>`[data-block="${a}"]`,hoverSelectorCallback:(e,t,n)=>a?`.editor-styles-wrapper [data-block="${n}"]:hover`:void 0,styleRule:"top",attrName:"positionNum",key:"positionNum-top",responsive:"all",hover:"all",hasUnits:"px",valuePreCallback:(e,t,a,n)=>{if("desktop"===a&&"normal"===n){const n="sticky"===t("position",a,"normal",!0),i=!e||e&&""===e.top;if(n&&i)return 0}return null==e?void 0:e.top},dependencies:["position",...n]})),(0,oe.createElement)(pd,at({},t,{renderIn:"edit",selectorCallback:(e,t,a)=>`[data-block="${a}"]`,hoverSelectorCallback:(e,t,n)=>a?`.editor-styles-wrapper [data-block="${n}"]:hover`:void 0,selector:a,hoverSelector:a?`${a}:hover`:void 0,styleRule:"bottom",attrName:"positionNum",key:"positionNum-bottom",responsive:"all",hover:"all",hasUnits:"px",valuePreCallback:e=>null==e?void 0:e.bottom})),(0,oe.createElement)(pd,at({},t,{renderIn:"edit",selectorCallback:(e,t,a)=>`[data-block="${a}"]`,hoverSelectorCallback:(e,t,n)=>a?`.editor-styles-wrapper [data-block="${n}"]:hover`:void 0,selector:a,hoverSelector:a?`${a}:hover`:void 0,styleRule:"left",attrName:"positionNum",key:"positionNum-left",responsive:"all",hover:"all",hasUnits:"px",valuePreCallback:e=>null==e?void 0:e.left})),(0,oe.createElement)(pd,at({},t,{renderIn:"edit",selectorCallback:(e,t,a)=>`[data-block="${a}"]`,hoverSelectorCallback:(e,t,n)=>a?`.editor-styles-wrapper [data-block="${n}"]:hover`:void 0,selector:a,hoverSelector:a?`${a}:hover`:void 0,styleRule:"right",attrName:"positionNum",key:"positionNum-right",responsive:"all",hover:"all",hasUnits:"px",valuePreCallback:e=>null==e?void 0:e.right})),(0,oe.createElement)(pd,at({},t,{renderIn:"edit",selector:a,hoverSelector:a?`${a}:hover`:void 0,styleRule:"position",attrName:"positionNum",key:"positionNum",responsive:"all",hover:"all",valuePreCallback:(e,t,a)=>{if(e&&(""!==e.top||""!==e.right||""!==e.bottom||""!==e.left)&&""===t("position",a))return"relative"},dependencies:["position",...n]})),(0,oe.createElement)(pd,at({},t,{renderIn:"edit",selectorCallback:(e,t,a)=>`[data-block="${a}"]`,styleRule:"position",attrName:"position",key:"position",responsive:"all"})),(0,oe.createElement)(pd,at({},t,{selector:"",styleRule:"opacity",attrName:"opacity",key:"opacity",responsive:"all",hover:"all"})),(0,oe.createElement)(pd,at({},t,{renderIn:"edit",selectorCallback:(e,t,a)=>`[data-block="${a}"]`,styleRule:"zIndex",attrName:"zIndex",key:"zIndex",responsive:"all"})),(0,oe.createElement)(pd,at({},t,{renderIn:"save",selector:"",styleRule:"zIndex",attrName:"zIndex",key:"zIndex-save",responsive:"all"})),(0,oe.createElement)(pd,at({},t,{selector:"",styleRule:"overflow",attrName:"overflow",key:"overflow",responsive:"all"})),(0,oe.createElement)(pd,at({},t,{selector:".stk-container",styleRule:"overflow",attrName:"overflow",key:"overflow-container",enabledCallback:e=>"visible"===e("overflow"),responsive:"all"})),(0,oe.createElement)(pd,at({},t,{selector:"",styleRule:"clear",attrName:"clear",key:"clear"})),(0,oe.createElement)(pd,at({},t,{selector:a,styleRule:"top",attrName:"positionNum",key:"positionNum-hover-top",responsive:"all",valuePreCallback:(e,t,a,n)=>{if((!e||""===e.top)&&"normal"===n){const e=t("positionNum",a,"hover"),n=t("positionNum",a,"parent-hover");if(e&&""!==e.top||n&&""!==n.top)return 0}}})),(0,oe.createElement)(pd,at({},t,{selector:a,styleRule:"right",attrName:"positionNum",key:"positionNum-hover-right",responsive:"all",valuePreCallback:(e,t,a,n)=>{if((!e||""===e.right)&&"normal"===n){const e=t("positionNum",a,"hover"),n=t("positionNum",a,"parent-hover");if(e&&""!==e.right||n&&""!==n.right)return 0}}})),(0,oe.createElement)(pd,at({},t,{selector:a,styleRule:"bottom",attrName:"positionNum",key:"positionNum-hover-bottom",responsive:"all",valuePreCallback:(e,t,a,n)=>{if((!e||""===e.bottom)&&"normal"===n){const e=t("positionNum",a,"hover"),n=t("positionNum",a,"parent-hover");if(e&&""!==e.bottom||n&&""!==n.bottom)return 0}}})),(0,oe.createElement)(pd,at({},t,{selector:a,styleRule:"left",attrName:"positionNum",key:"positionNum-hover-left",responsive:"all",valuePreCallback:(e,t,a,n)=>{if((!e||""===e.left)&&"normal"===n){const e=t("positionNum",a,"hover"),n=t("positionNum",a,"parent-hover");if(e&&""!==e.left||n&&""!==n.left)return 0}}})))},eh=e=>(0,oe.createElement)(Qp,e);eh.Content=e=>(0,oe.createElement)(Qp,e);const th=()=>null;th.InspectorControls=()=>{const e=Be((e=>({position:e.position,positionTablet:e.positionTablet,positionMobile:e.positionMobile})));return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)($u,null,(0,oe.createElement)(ji,{title:(0,T.__)("General",m.i18n),id:"general"},(0,oe.createElement)(Xa,{label:(0,T.sprintf)((0,T._x)("%s HTML Tag","component",m.i18n),(0,T.__)("Block",m.i18n)),attribute:"htmlTag",options:Zp}),(0,oe.createElement)(Xa,{label:(0,T.__)("Overflow",m.i18n),attribute:"overflow",responsive:"all",options:[{value:"",label:(0,T.__)("Default",m.i18n)},{value:"auto",label:(0,T.__)("Auto",m.i18n)},{value:"hidden",label:(0,T.__)("Hidden",m.i18n)},{value:"scroll",label:(0,T.__)("Scroll",m.i18n)},{value:"visible",label:(0,T.__)("Visible",m.i18n)}]}),(0,oe.createElement)(Xa,{label:(0,T.__)("Clear",m.i18n),attribute:"clear",options:[{value:"",label:(0,T.__)("Default",m.i18n)},{value:"left",label:(0,T.__)("Left",m.i18n)},{value:"right",label:(0,T.__)("Right",m.i18n)},{value:"both",label:(0,T.__)("Both",m.i18n)},{value:"none",label:(0,T.__)("None",m.i18n)}]})),(0,oe.createElement)(ji,{title:(0,T.__)("Position",m.i18n),id:"position"},(0,oe.createElement)(Ja,{label:(0,T.__)("Opacity",m.i18n),attribute:"opacity",responsive:"all",hover:"all",min:0,max:1,step:.1,allowReset:!0,placeholder:"1",helpTooltip:{video:"advanced-opacity",description:(0,T.__)("Adjusts the transparency of the entire block",m.i18n)}}),(0,oe.createElement)(Ja,{label:(0,T.__)("Z-Index",m.i18n),attribute:"zIndex",responsive:"all",sliderMin:-10,sliderMax:10,allowReset:!0,placeholder:"1",helpTooltip:{video:"advanced-zindex",description:(0,T.__)("Sets the stack order of different blocks to make one appear in front of another. A block with a higher z-index will show up on top of another block with a lower z-index.",m.i18n)}}),(0,oe.createElement)(Xa,{label:(0,T.__)("Position",m.i18n),attribute:"position",responsive:"all",help:[e.position,e.positionTablet,e.positionMobile].includes("sticky")?(0,T.__)("Sticky position may not work across all themes",m.i18n):"",options:[{value:"",label:(0,T.__)("Default",m.i18n)},{value:"static",label:(0,T.__)("Static",m.i18n)},{value:"relative",label:(0,T.__)("Relative",m.i18n)},{value:"absolute",label:(0,T.__)("Absolute",m.i18n)},{value:"sticky",label:(0,T.__)("Sticky",m.i18n)}]}),(0,oe.createElement)(or,{label:(0,T.__)("Position",m.i18n),attribute:"positionNum",responsive:"all",units:["px","%"],hover:"all",defaultLocked:!1,hasLock:!1,sliderMin:-100,sliderMax:100}))))},th.addAttributes=e=>{e.add({attributes:{htmlTag:{type:"string",default:""},opacity:{stkResponsive:!0,stkHover:!0,type:"number",default:""},zIndex:{stkResponsive:!0,type:"number",default:""},overflow:{stkResponsive:!0,type:"string",default:""},clear:{type:"string",default:""},position:{stkResponsive:!0,type:"string",default:""},positionNum:{stkUnits:"px",stkResponsive:!0,stkHover:!0,type:"object",default:""}},versionAdded:"3.0.0",versionDeprecated:""})},th.Style=eh,(0,Z.addFilter)("stackable.block-components.block-div.classnames.content","stackable/3.8.0",((e,t)=>(Xp(t.version,"<","3.8.0")&&(e.push({"stk--block-margin-top-auto":!1,"stk--block-margin-bottom-auto":!1}),t.className.includes("stk-block-columns")||t.className.includes("stk-block-feature")||e.push({"stk--has-column-order":t.attributes.columnArrangementMobile||t.attributes.columnArrangementTablet})),e)));const ah={backgroundColorType:{type:"string",default:""},backgroundColor:{stkHover:!0,type:"string",default:""},backgroundColor2:{type:"string",default:""},backgroundMediaId:{stkResponsive:!0,type:"string",default:""},backgroundMediaUrl:{stkResponsive:!0,type:"string",default:""},backgroundGradientBlendMode:{type:"string",default:""},backgroundPosition:{stkResponsive:!0,type:"string",default:""},backgroundRepeat:{stkResponsive:!0,type:"string",default:""},backgroundSize:{stkResponsive:!0,type:"string",default:""},backgroundImageBlendMode:{type:"string",default:""},backgroundColorOpacity:{stkHover:!0,type:"number",default:""},backgroundTintStrength:{stkHover:!0,type:"number",default:""},backgroundGradientDirection:{type:"number",default:""},backgroundCustomSize:{stkResponsive:!0,stkUnits:"%",type:"number",default:""},backgroundGradientLocation1:{type:"number",default:""},backgroundGradientLocation2:{type:"number",default:""},fixedBackground:{type:"boolean",default:""}},nh=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"%s";e.add({attributes:ah,attrNameTemplate:t,versionAdded:"3.0.0",versionDeprecated:""})},ih=e=>{const t={...e,version:e.version,versionAdded:"3.0.0",versionDeprecated:""},{selector:a="",attrNameTemplate:n="%s",backgroundFallbackColor:i="#ffffff",dependencies:l=[],selectorCallback:r=null}=e;return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(pd,at({},t,{selector:a,hoverSelector:`${a}:hover`,styleRule:"backgroundColor",attrName:"backgroundColor",key:"backgroundColor-hover",attrNameTemplate:n,selectorCallback:r,hoverCallback:e=>"gradient"!==e("backgroundColorType")&&"all",valueCallback:(e,t,a,n)=>{const i=t("backgroundColorType"),l=t("backgroundColorOpacity","desktop",n),r=t("backgroundColor2"),o=t("backgroundMediaUrl","desktop")||t("backgroundMediaUrl","tablet")||t("backgroundMediaUrl","mobile");if(!i&&""!==l&&!o){const t=ee(e);return`${Q(t||"#ffffff",l||0)}`}return"gradient"===i&&"transparent"===r?"transparent":e},valuePreCallback:(e,t,a,n)=>{let l=e;return l||""===t("backgroundColorOpacity","desktop",n)||(l=("desktop"!==a||"normal"!==n)&&t("backgroundColor","desktop","normal")||i),l},dependencies:["backgroundColor2","backgroundColorOpacity","backgroundColorType","backgroundMediaUrl",...l]})),(0,oe.createElement)(pd,at({},t,{selector:a,styleRule:"backgroundImage",attrName:"backgroundMediaUrl",key:"backgroundMediaUrl",attrNameTemplate:n,format:"url(%s)",responsive:"all",valuePreCallback:e=>{if("string"!=typeof e||!e.match(/\.(mp4|ogg|webm)$/i))return e}})),(0,oe.createElement)(pd,at({},t,{selector:a,styleRule:"backgroundAttachment",attrName:"fixedBackground",key:"fixedBackground",attrNameTemplate:n,valueCallback:e=>e?"fixed":void 0})),(0,oe.createElement)(pd,at({},t,{selector:a,styleRule:"backgroundPosition",attrName:"backgroundPosition",key:"backgroundPosition",attrNameTemplate:n,responsive:"all"})),(0,oe.createElement)(pd,at({},t,{selector:a,styleRule:"backgroundRepeat",attrName:"backgroundRepeat",key:"backgroundRepeat",attrNameTemplate:n,responsive:"all"})),(0,oe.createElement)(pd,at({},t,{selector:a,styleRule:"backgroundSize",attrName:"backgroundSize",key:"backgroundSize",attrNameTemplate:n,responsive:"all",valueCallback:(e,t,a)=>"custom"===e&&t("backgroundCustomSize",a)?t("backgroundCustomSize",a)+(t("backgroundCustomSizeUnit",a)||"%"):e,dependencies:["backgroundCustomSize","backgroundCustomSizeUnit",...l]})),(0,oe.createElement)(pd,at({},t,{selector:a,styleRule:"backgroundBlendMode",attrName:"backgroundImageBlendMode",key:"backgroundImageBlendMode",attrNameTemplate:n})),(0,oe.createElement)(pd,at({},t,{selector:`${a}:before`,hoverSelector:`${a}:hover:before`,styleRule:"backgroundColor",attrName:"backgroundColor",key:"backgroundColor-before",attrNameTemplate:n,selectorCallback:r,hover:"all",valuePreCallback:(e,t,a,n)=>""===e&&t("backgroundTintStrength",a,n)?"#000000":e,valueCallback:(e,t)=>"gradient"!==t("backgroundColorType")&&e?e:void 0,dependencies:["backgroundColorType","backgroundColor2","backgroundTintStrength",...l]})),(0,oe.createElement)(pd,at({},t,{selector:`${a}:before`,hoverSelector:`${a}:hover:before`,styleRule:"opacity",attrName:"backgroundTintStrength",key:"backgroundTintStrength",attrNameTemplate:n,hover:"all",enabledCallback:e=>!!e("backgroundMediaUrl","mobile","normal",!0),valuePreCallback:(e,t,a,n)=>""===e&&t("backgroundColor",a,n)?5:e,valueCallback:e=>parseInt(e,10)/10,dependencies:["backgroundColor","backgroundColor2","backgroundMediaUrl",...l]})),(0,oe.createElement)(pd,at({},t,{selector:`${a}:before`,styleRule:"mixBlendMode",attrName:"backgroundGradientBlendMode",key:"backgroundGradientBlendMode",attrNameTemplate:n,enabledCallback:e=>"gradient"===e("backgroundColorType"),dependencies:["backgroundColorType",...l]})),(0,oe.createElement)(pd,at({},t,{selector:`${a}:before`,styleRule:"backgroundImage",attrName:"backgroundColor",key:"backgroundColor-image",attrNameTemplate:n,enabledCallback:e=>"gradient"===e("backgroundColorType"),valueCallback:(e,t)=>{const a=Q(t("backgroundColor2")||"#ffffff",0),n=Q(t("backgroundColor")||"#ffffff",0),i=`${t("backgroundGradientLocation1")||"0"}%`,l=`${t("backgroundGradientLocation2")||"100"}%`;let r=t("backgroundGradientDirection");return""===r&&(r="90"),r=`${r}deg`,`linear-gradient(${r}, ${t("backgroundColor")||a} ${i}, ${t("BackgroundColor2")||n} ${l})`},dependencies:["backgroundColorType","backgroundColor","backgroundColor2","backgroundGradientLocation1","backgroundGradientLocation2","backgroundGradientDirection",...l]})),(0,oe.createElement)(pd,at({},t,{renderIn:"edit",selector:`${a}:before`,styleRule:"borderRadius",attrName:"borderRadius",key:"borderRadius",attrNameTemplate:n,format:"%spx",enabledCallback:e=>"gradient"===e("backgroundColorType")||e("backgroundColor")||e("backgroundColor","desktop","hover")||e("backgroundColor","desktop","parent-hover"),dependencies:["backgroundColorType","backgroundColor","backgroundColor2",...l]})))},lh=e=>(0,oe.createElement)(ih,e);lh.Content=e=>(0,oe.createElement)(ih,e);const rh=[{value:"",title:(0,T.__)("Single",m.i18n)},{value:"gradient",title:(0,T.__)("Gradient",m.i18n)}],oh=["image","video"],sh=["image"],ch=e=>{const t=de(),{getAttribute:a,getAttributes:n,updateAttributes:i,getAttrName:l}=$e(e.attrNameTemplate),r=Me(),[o]=We(),s=a("backgroundMediaUrl")||a("backgroundMediaUrlTablet")||a("backgroundMediaUrlMobile");return(0,oe.createElement)(oe.Fragment,null,e.hasGradient&&(0,oe.createElement)(xn,{controls:rh,attribute:l("backgroundColorType"),fullwidth:!1,isSmall:!0}),(0,oe.createElement)(ua,{label:"gradient"===a("backgroundColorType")?(0,T.sprintf)((0,T._x)("%s #%d","option title",m.i18n),(0,T.__)("Background Color",m.i18n),1):(0,T.__)("Background Color",m.i18n),attribute:l("backgroundColor"),onChange:t=>{const a={[l("backgroundColor","desktop",o)]:t};e.onBackgroundEnableAttribute&&(a[e.onBackgroundEnableAttribute]=!0),r(a)},hasTransparent:!0,hover:"gradient"!==a("backgroundColorType")&&"all"}),"gradient"!==a("backgroundColorType")&&!a("backgroundMediaUrl")&&!a("backgroundMediaUrlTablet")&&!a("backgroundMediaUrlMobile")&&(0,oe.createElement)(Ja,{label:(0,T.__)("Background Color Opacity",m.i18n),attribute:l("backgroundColorOpacity"),hover:"all",min:0,max:1,step:.1,allowReset:!0,placeholder:"1.0",helpTooltip:{video:"background-color-opacity",description:(0,T.__)("Adjusts the transparency of the background color",m.i18n)}}),"gradient"===a("backgroundColorType")&&(0,oe.createElement)(ua,{label:(0,T.sprintf)((0,T._x)("%s #%d","option title",m.i18n),(0,T.__)("Background Color",m.i18n),2),attribute:l("backgroundColor2"),hasTransparent:!0}),"gradient"===a("backgroundColorType")&&(0,oe.createElement)(Ll,{label:(0,T.__)("Adv. Gradient Color Settings",m.i18n),onReset:()=>{i({backgroundGradientDirection:"",backgroundGradientBlendMode:"",backgroundGradientLocation1:"",backgroundGradientLocation2:""})},allowReset:""!==a("backgroundGradientDirection")&&90!==a("backgroundGradientDirection")||""!==a("backgroundGradientLocation1")&&0!==a("backgroundGradientLocation1")||""!==a("backgroundGradientLocation2")&&100!==a("backgroundGradientLocation2")||a("backgroundGradientBlendMode")},(0,oe.createElement)(Ja,{label:(0,T.__)("Gradient Direction (degrees)",m.i18n),attribute:l("backgroundGradientDirection"),min:0,max:360,step:10,allowReset:!0,placeholder:"90",helpTooltip:{description:(0,T.__)("Sets the direction (in degrees) of the colors",m.i18n)}}),(0,oe.createElement)(Ja,{label:(0,T.sprintf)((0,T.__)("Color %d Location",m.i18n),1),attribute:l("backgroundGradientLocation1"),sliderMin:0,max:100,step:1,allowReset:!0,placeholder:"0",helpTooltip:{video:"gradient-location",description:(0,T.__)("Sets the placement of each color in relation to the other color",m.i18n)}}),(0,oe.createElement)(Ja,{label:(0,T.sprintf)((0,T.__)("Color %d Location",m.i18n),2),attribute:l("backgroundGradientLocation2"),sliderMin:0,max:100,step:1,allowReset:!0,placeholder:"100",helpTooltip:{video:"gradient-location",description:(0,T.__)("Sets the placement of each color in relation to the other color",m.i18n)}}),e.hasBackgroundGradientBlendMode&&(0,oe.createElement)(Pa,{label:(0,T.__)("Background Gradient Blend Mode",m.i18n),attribute:l("backgroundGradientBlendMode"),helpTooltip:{video:"background-blend-mode",description:(0,T.__)("Sets how this background gradient/image blends into the other background",m.i18n)}})),"gradient"===a("backgroundColorType")&&(0,oe.createElement)(Zs,null),e.hasBackgroundImage&&(0,oe.createElement)(uc,{label:e.backgroundMediaAllowVideo?(0,T.__)("Background Image or Video",m.i18n):(0,T.__)("Background Image",m.i18n),help:e.backgroundMediaAllowVideo?(0,T.__)("Use .mp4 format for videos",m.i18n):"",allowedTypes:e.backgroundMediaAllowVideo?oh:sh,attribute:l("backgroundMedia"),onChange:a=>{const n=L(`${l("backgroundMedia")}Id`,t),i=L(`${l("backgroundMedia")}Url`,t),o=L(`${l("backgroundMedia")}HeightAttribute`,t),s=L(`${l("backgroundMedia")}WidthAttribute`,t),c=L(`${l("backgroundMedia")}Alt`,t),u={[n]:a.id,[i]:a.url,[o]:a.width||"",[s]:a.height||"",[c]:a.alt||""};e.onBackgroundEnableAttribute&&(u[e.onBackgroundEnableAttribute]=!0),r(u)},responsive:"all"}),s&&(0,oe.createElement)(Ja,{label:(0,T.__)("Background Media Tint Strength",m.i18n),attribute:l("backgroundTintStrength"),hover:"all",min:0,max:10,step:1,allowReset:!0,placeholder:a("backgroundColor")?"5":"0",helpTooltip:{video:"background-tint",description:(0,T.__)("Adjusts the intensity of the background media tint",m.i18n)}}),s&&!([a("backgroundMediaUrl"),a("backgroundMediaUrlTablet"),a("backgroundMediaUrlMobile")].filter((e=>e)).filter(Lp).length>0)&&(0,oe.createElement)(mc,{label:(0,T.__)("Fixed Background",m.i18n),attribute:l("fixedBackground"),helpTooltip:{video:"background-fixed",description:(0,T.__)("Keeps the background image fixed in place while scrolling",m.i18n)}}),s&&(0,oe.createElement)(Ll,{label:(0,T.__)("Adv. Background Image Settings",m.i18n),onReset:()=>{i({BackgroundPosition:"",BackgroundPositionTablet:"",BackgroundPositionMobile:"",BackgroundRepeat:"",BackgroundRepeatTablet:"",BackgroundRepeatMobile:"",BackgroundSize:"",BackgroundSizeTablet:"",BackgroundSizeMobile:"",BackgroundCustomSize:"",BackgroundCustomSizeTablet:"",BackgroundCustomSizeMobile:"",BackgroundCustomSizeUnit:"%",BackgroundCustomSizeUnitTablet:"%",BackgroundCustomSizeUnitMobile:"%",BackgroundImageBlendMode:""})},allowReset:a("backgroundPosition")||a("BackgroundPositionTablet")||a("BackgroundPositionMobile")||a("backgroundRepeat")||a("BackgroundRepeatTablet")||a("BackgroundRepeatMobile")||a("backgroundSize")||a("BackgroundSizeTablet")||a("BackgroundSizeMobile")||a("backgroundImageBlendMode")},(0,oe.createElement)(Xa,{label:(0,T.__)("Image Position",m.i18n),attribute:l("backgroundPosition"),options:[{label:(0,T.__)("Default",m.i18n),value:""},{label:(0,T.__)("Top Left",m.i18n),value:"top left"},{label:(0,T.__)("Top Center",m.i18n),value:"top center"},{label:(0,T.__)("Top Right",m.i18n),value:"top right"},{label:(0,T.__)("Center Left",m.i18n),value:"center left"},{label:(0,T.__)("Center Center",m.i18n),value:"center center"},{label:(0,T.__)("Center Right",m.i18n),value:"center right"},{label:(0,T.__)("Bottom Left",m.i18n),value:"bottom left"},{label:(0,T.__)("Bottom Center",m.i18n),value:"bottom center"},{label:(0,T.__)("Bottom Right",m.i18n),value:"bottom right"}],helpTooltip:{video:"background-image-position",description:(0,T.__)("Chooses which part of the background image will be the focal point",m.i18n)},responsive:"all"}),(0,oe.createElement)(Xa,{label:(0,T.__)("Image Repeat",m.i18n),attribute:l("backgroundRepeat"),options:[{label:(0,T.__)("Default",m.i18n),value:""},{label:(0,T.__)("No-Repeat",m.i18n),value:"no-repeat"},{label:(0,T.__)("Repeat",m.i18n),value:"repeat"},{label:(0,T.__)("Repeat-X",m.i18n),value:"repeat-x"},{label:(0,T.__)("Repeat-Y",m.i18n),value:"repeat-y"}],helpTooltip:{video:"background-image-repeat",description:(0,T.__)("Covers the background with tiled images",m.i18n)},responsive:"all"}),(0,oe.createElement)(Xa,{label:(0,T.__)("Image Size",m.i18n),attribute:l("backgroundSize"),options:[{label:(0,T.__)("Default",m.i18n),value:""},{label:(0,T.__)("Auto",m.i18n),value:"auto"},{label:(0,T.__)("Cover",m.i18n),value:"cover"},{label:(0,T.__)("Contain",m.i18n),value:"contain"},{label:(0,T.__)("Custom",m.i18n),value:"custom"}],helpTooltip:{video:"background-image-size",description:(0,T.__)("Sets the display image size",m.i18n)},responsive:"all"}),"custom"===n()[L(l("backgroundSize"),t)]&&(0,oe.createElement)(Ja,{label:(0,T.__)("Custom Size",m.i18n),attribute:l("backgroundCustomSize"),responsive:"all",units:["px","%","vw"],min:[0,0,0],max:[1e3,100,100]}),(0,oe.createElement)(Pa,{label:(0,T.__)("Image Blend Mode",m.i18n),attribute:l("backgroundImageBlendMode"),helpTooltip:{video:"background-blend-mode",description:(0,T.__)("Sets how this background gradient/image blends into the other background",m.i18n)}})))};ch.defaultProps={attrNameTemplate:"%s",backgroundMediaAllowVideo:!0,hasGradient:!0,hasBackgroundImage:!0,hasBackgroundGradientBlendMode:!0,onBackgroundEnableAttribute:""};const uh={borderType:{type:"string",default:""},borderColor:{stkHover:!0,type:"string",default:""},borderWidth:{stkResponsive:!0,stkHover:!0,type:"object"},borderRadius:{stkResponsive:!0,stkHover:!0,type:"number",default:""},shadow:{stkHover:!0,type:"string",default:""}},dh=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"%s";e.add({attributes:uh,attrNameTemplate:t,versionAdded:"3.0.0",versionDeprecated:""})},mh=e=>{const t={...e,version:e.version,versionAdded:"3.0.0",versionDeprecated:""},{addBorderRadiusOverflow:a=!0,selector:n="",attrNameTemplate:i="%s",hoverSelector:l,borderRadiusSelector:r}=e;return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(pd,at({},t,{selector:r||n,styleRule:"borderRadius",attrName:"borderRadius",key:"borderRadius",attrNameTemplate:i,format:"%spx",responsive:"all",hover:"all",hoverSelector:r?void 0:l})),(0,oe.createElement)(pd,at({},t,{selector:r||n,styleRule:"overflow",attrName:"borderRadius",key:"borderRadius-overflow",attrNameTemplate:i,responsive:"all",hover:"all",hoverSelector:r?void 0:l,enabledCallback:(e,t)=>(!a||"block%s"!==i||!t.overflow)&&a,valueCallback:()=>"hidden",dependencies:["overflow"]})),(0,oe.createElement)(pd,at({},t,{selector:n,styleRule:"boxShadow",attrName:"shadow",key:"shadow",attrNameTemplate:i,hover:"all",hoverSelector:l})),(0,oe.createElement)(pd,at({},t,{selector:n,styleRule:"borderStyle",attrName:"borderType",key:"borderType",attrNameTemplate:i})),(0,oe.createElement)(pd,at({},t,{selector:n,styleRule:"borderColor",attrName:"borderColor",key:"borderColor",attrNameTemplate:i,enabledCallback:e=>e("borderType"),hover:"all",hoverSelector:l,dependencies:["borderType"]})),(0,oe.createElement)(pd,at({},t,{selector:n,styleRule:"borderTopWidth",attrName:"borderWidth",key:"borderWidth-top",attrNameTemplate:i,responsive:"all",hover:"all",hoverSelector:l,format:"%spx",enabledCallback:e=>e("borderType"),valuePreCallback:e=>null==e?void 0:e.top,dependencies:["borderType"]})),(0,oe.createElement)(pd,at({},t,{selector:n,styleRule:"borderRightWidth",attrName:"borderWidth",key:"borderWidth-right",attrNameTemplate:i,responsive:"all",hover:"all",hoverSelector:l,format:"%spx",enabledCallback:e=>e("borderType"),valuePreCallback:e=>null==e?void 0:e.right,dependencies:["borderType"]})),(0,oe.createElement)(pd,at({},t,{selector:n,styleRule:"borderBottomWidth",attrName:"borderWidth",key:"borderWidth-bottom",attrNameTemplate:i,responsive:"all",hover:"all",hoverSelector:l,format:"%spx",enabledCallback:e=>e("borderType"),valuePreCallback:e=>null==e?void 0:e.bottom,dependencies:["borderType"]})),(0,oe.createElement)(pd,at({},t,{selector:n,styleRule:"borderLeftWidth",attrName:"borderWidth",key:"borderWidth-left",attrNameTemplate:i,responsive:"all",hover:"all",hoverSelector:l,format:"%spx",enabledCallback:e=>e("borderType"),valuePreCallback:e=>null==e?void 0:e.left,dependencies:["borderType"]})))},gh=e=>(0,oe.createElement)(mh,e);gh.Content=e=>(0,oe.createElement)(mh,e);const ph=[{value:"",title:(0,T.__)("None",m.i18n)},{value:"solid",title:(0,T.__)("Solid",m.i18n)},{value:"dashed",title:(0,T.__)("Dashed",m.i18n)},{value:"dotted",title:(0,T.__)("Dotted",m.i18n)}],hh=e=>{const{getAttribute:t,getAttrName:a}=$e(e.attrNameTemplate);return(0,oe.createElement)(oe.Fragment,null,e.hasBorderType&&(0,oe.createElement)(xn,{label:(0,T.__)("Borders",m.i18n),controls:ph,className:"ugb-border-controls__border-type-toolbar",attribute:a("borderType"),fullwidth:!0,isSmall:!0}),(t("borderType")||!e.hasBorderType)&&e.hasBorderControls&&(0,oe.createElement)(or,{label:(0,T.__)("Border Width",m.i18n),attribute:a("borderWidth"),responsive:"all",hover:"all",min:0,max:99,step:1,sliderMax:5,defaultLocked:!0}),(t("borderType")||!e.hasBorderType)&&e.hasBorderControls&&(0,oe.createElement)(ua,{label:(0,T.__)("Border Color",m.i18n),attribute:a("borderColor"),hover:"all",hasTransparent:!0}),(0,oe.createElement)(Ja,{label:(0,T.__)("Border Radius",m.i18n),attribute:a("borderRadius"),responsive:"all",hover:e.hasBorderRadiusHover,helpTooltip:{video:"general-border-radius",description:(0,T.__)("Adjusts the radius of block corners to make them more rounded",m.i18n)},min:0,sliderMax:e.borderSliderMax,placeholderRender:e.borderRadiusPlaceholder}),(0,oe.createElement)(Ic,{label:(0,T.__)("Shadow / Outline",m.i18n),attribute:a("shadow"),hover:"all"}))};hh.defaultProps={attrNameTemplate:"%s",blockEl:null,hasBorderType:!0,hasBorderControls:!0,hasBorderRadiusHover:!0,borderSelector:null,borderSliderMax:50};const vh={columnGap:{stkResponsive:!0,type:"number",default:""},rowGap:{stkResponsive:!0,type:"number",default:""}},bh=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"%s";e.add({attributes:vh,attrNameTemplate:t,versionAdded:"3.0.0",versionDeprecated:""})},fh=()=>(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(Ja,{label:(0,T.__)("Column Gap",m.i18n),attribute:"columnGap",responsive:"all",min:"0",sliderMax:"50",placeholder:""}),(0,oe.createElement)(Ja,{label:(0,T.__)("Row Gap",m.i18n),attribute:"rowGap",responsive:"all",min:"0",sliderMax:"50",placeholder:""})),yh=e=>{const t={...e,version:e.version,versionAdded:"3.0.0",versionDeprecated:""},{selector:a,enableColumnGap:n=!0}=e;return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(pd,at({},t,{selector:a,styleRule:"columnGap",attrName:"columnGap",key:"columnGap",format:"%spx",responsive:"all",enabledCallback:()=>n})),(0,oe.createElement)(pd,at({},t,{selector:a,styleRule:"rowGap",attrName:"rowGap",key:"rowGap",format:"%spx",responsive:"all"})))},kh=e=>(0,oe.createElement)(yh,e);kh.Content=e=>(0,oe.createElement)(yh,e);const xh={height:{stkResponsive:!0,stkUnits:"px",type:"number",default:""},width:{stkResponsive:!0,stkUnits:"px",type:"number",default:""},verticalAlign:{stkResponsive:!0,type:"string",default:""},horizontalAlign:{stkResponsive:!0,type:"string",default:""},margin:{stkResponsive:!0,stkUnits:"px",type:"object"},padding:{stkResponsive:!0,stkHover:!0,stkUnits:"px",type:"object"}},wh=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"%s";e.add({attributes:xh,attrNameTemplate:t,versionAdded:"3.0.0",versionDeprecated:""})},Ch=e=>{const t={...e,version:e.version,versionAdded:"3.0.0",versionDeprecated:""},{selector:a="",attrNameTemplate:n="%s",horizontalAlignRule:i="margin",verticalAlignRule:l="alignItems",verticalAlignSelector:r="",hasPaddings:o=!0,wrapperSelector:s="",dependencies:c=[]}=e;return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(pd,at({},t,{selector:a,styleRule:"minHeight",attrName:"height",key:"height",attrNameTemplate:n,responsive:"all",hasUnits:"px"})),(0,oe.createElement)(pd,at({},t,{selector:r||a,styleRule:l||"alignItems",attrName:"verticalAlign",key:"verticalAlign-save",attrNameTemplate:n,responsive:"all"})),(0,oe.createElement)(pd,at({},t,{selector:s||a,styleRule:"maxWidth",attrName:"width",key:"width-maxwidth",attrNameTemplate:n,responsive:"all",hasUnits:"px"})),(0,oe.createElement)(pd,at({},t,{selector:s||a,styleRule:"minWidth",attrName:"width",key:"width-minwidth",attrNameTemplate:n,responsive:"all",hover:"all",versionAdded:"3.0.0",versionDeprecated:"3.0.2",valueCallback:e=>""!==e?"auto":void 0})),o&&(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(pd,at({},t,{selector:a,styleRule:"paddingTop",attrName:"padding",key:"padding-top",attrNameTemplate:n,responsive:"all",hover:"all",hasUnits:"px",valuePreCallback:e=>null==e?void 0:e.top})),(0,oe.createElement)(pd,at({},t,{selector:a,styleRule:"paddingRight",attrName:"padding",key:"padding-right",attrNameTemplate:n,responsive:"all",hover:"all",hasUnits:"px",valuePreCallback:e=>null==e?void 0:e.right})),(0,oe.createElement)(pd,at({},t,{selector:a,styleRule:"paddingBottom",attrName:"padding",key:"padding-bottom",attrNameTemplate:n,responsive:"all",hover:"all",hasUnits:"px",valuePreCallback:e=>null==e?void 0:e.bottom})),(0,oe.createElement)(pd,at({},t,{selector:a,styleRule:"paddingLeft",attrName:"padding",key:"padding-left",attrNameTemplate:n,responsive:"all",hover:"all",hasUnits:"px",valuePreCallback:e=>null==e?void 0:e.left}))),(0,oe.createElement)(pd,at({},t,{selector:s||a,styleRule:"marginTop",attrName:"margin",key:"margin-top",attrNameTemplate:n,responsive:"all",hasUnits:"px",valuePreCallback:e=>null==e?void 0:e.top,valueCallback:e=>e.startsWith("auto")?"auto":e})),(0,oe.createElement)(pd,at({},t,{selector:s||a,styleRule:"marginRight",attrName:"margin",key:"margin-right",attrNameTemplate:n,responsive:"all",hasUnits:"px",valuePreCallback:(e,t,a)=>{const n=null==e?void 0:e.right,i=t("horizontalAlign",a);if(!t("width",a)&&void 0===n)return"";switch(i){case"flex-start":case"center":return"auto";case"flex-end":return n||0;default:return n}},valueCallback:e=>e.startsWith("auto")?"auto":e,dependencies:["horizontalAlign","width",...c]})),(0,oe.createElement)(pd,at({},t,{selector:s||a,styleRule:"marginBottom",attrName:"margin",key:"margin-bottom",attrNameTemplate:n,responsive:"all",hasUnits:"px",valuePreCallback:e=>null==e?void 0:e.bottom,valueCallback:e=>e.startsWith("auto")?"auto":e})),(0,oe.createElement)(pd,at({},t,{selector:s||a,styleRule:"marginLeft",attrName:"margin",key:"margin-left",attrNameTemplate:n,responsive:"all",hasUnits:"px",valuePreCallback:(e,t,a)=>{const n=null==e?void 0:e.left,i=t("horizontalAlign",a);if(!t("width",a)&&void 0===n)return"";switch(i){case"flex-start":return n||0;case"center":case"flex-end":return"auto";default:return n}},valueCallback:e=>e.startsWith("auto")?"auto":e,dependencies:["horizontalAlign","width",...c]})),(0,oe.createElement)(pd,at({},t,{selector:a,styleRule:"display",attrName:"verticalAlign",key:"verticalAlign-display",attrNameTemplate:n,responsive:"all",valueCallback:()=>"flex"})),"margin"!==i&&(0,oe.createElement)(pd,at({},t,{renderIn:"save",selector:s||a,styleRule:i||"justifyContent",attrName:"horizontalAlign",key:"horizontalAlign",attrNameTemplate:n,responsive:"all"})))},_h=e=>(0,oe.createElement)(Ch,e);_h.Content=e=>(0,oe.createElement)(Ch,e);const Sh=e=>{const t=de(),{getAttribute:a,getAttrName:n}=$e(e.attrNameTemplate),{labelHeight:i=(0,T.__)("Min. Height",m.i18n),labelContentWidth:l=(0,T.__)("Max. Content Width",m.i18n),labelHorizontalAlign:r=(0,T.__)("Content Horizontal Align",m.i18n),labelVerticalAlign:o=(0,T.__)("Content Vertical Align",m.i18n)}=e.labels;return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(Ja,{label:i,attribute:n("height"),responsive:"all",units:["px","vh"],min:[0,0],sliderMax:[1e3,100],step:[1,1],allowReset:!0,placeholder:"0",helpTooltip:{video:"block-height",description:(0,T.__)("Adjusts the minimum allowable height of the block",m.i18n)},visualGuide:e.visualGuide}),e.hasContentVerticalAlign&&(0,oe.createElement)(xn,{label:o,attribute:n("verticalAlign"),responsive:"all",controls:"vertical",helpTooltip:{video:"content-vertical-align",description:(0,T.__)("Sets the placement of the content to top, center or bottom. Available when the min. block height is set to higher than default.",m.i18n)},visualGuide:e.visualGuide?{...e.visualGuide,selector:(e.visualGuide.selector||"")+", .stk-%s > *"}:null}),(0,oe.createElement)(Ja,{label:l,attribute:n("width"),responsive:"all",units:["px","%"],min:[0,0],sliderMax:[1500,100],step:[1,1],allowReset:!0,placeholder:"",initialPosition:"1500",helpTooltip:{video:"max-content-width",description:(0,T.__)("Adjusts the maximum allowable width of the block. The settings will depend on the block width you set on the toolbar.",m.i18n)},visualGuide:e.visualGuide}),(""!==a("width")&&"Desktop"===t||(""!==a("width")||""!==a("widthTablet"))&&"Tablet"===t||(""!==a("width")||""!==a("widthTablet")||""!==a("widthMobile"))&&"Mobile"===t)&&(0,oe.createElement)(xn,{label:r,attribute:n("HorizontalAlign"),responsive:"all",controls:"horizontal",helpTooltip:{video:"content-horizontal-align",description:(0,T.__)("Sets the placement of the content to left, center or right. Not available when block width is set to full width.",m.i18n)},visualGuide:e.visualGuide}))};Sh.defaultProps={attrNameTemplate:"%s",hasContentVerticalAlign:!0,visualGuide:null,labels:{}};const Eh=e=>{const{getAttrName:t}=$e(e.attrNameTemplate),{labelPaddings:a=(0,T.__)("Paddings",m.i18n),labelMargins:n=(0,T.__)("Margins",m.i18n)}=e.labels,i=e.visualGuide?{...e.visualGuide,highlight:"padding"}:null,l=e.visualGuide?{...e.visualGuide,highlight:"margin"}:null;return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(or,{label:a,attribute:t("padding"),responsive:"all",hover:"all",units:["px","em","%"],defaultLocked:!0,min:[0,0,0],sliderMax:[200,30,100],helpTooltip:{video:"inner-block-padding",description:(0,T.__)("Sets the block paddings, i.e the space between the inner columns and the block border",m.i18n)},visualGuide:i,placeholder:e.paddingPlaceholder}),e.enableMargin&&(0,oe.createElement)(or,{label:n,attribute:t("margin"),responsive:"all",units:["px","%"],defaultLocked:!1,sliderMin:[-200,-100],sliderMax:[200,100],placeholder:"0",helpTooltip:{video:"advanced-block-margin",description:(0,T.__)("Sets the block margin, i.e. the space outside the block between the block border and the next block.",m.i18n)},visualGuide:l}))};Eh.defaultProps={attrNameTemplate:"%s",paddingPlaceholder:"",enableMargin:!0,visualGuide:null,labels:{}};const Th={Layout:Sh,Spacing:Eh},Bh=e=>`${e.substring(0,7)}`,Mh=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const{clientId:a}=(0,ae.useBlockEditContext)(),n=Me();(0,oe.useEffect)((()=>{if(!t&&!e.uniqueId)return;const i=Bh(a);e.uniqueId?i!==e.uniqueId&&Array.prototype.filter.call(document.querySelectorAll(`[data-block-id="${e.uniqueId}"]`),(e=>!e.closest('[data-type="core/block"]'))).length>1&&((0,te.dispatch)("core/block-editor").__unstableMarkNextChangeAsNotPersistent(),n({uniqueId:i})):((0,te.dispatch)("core/block-editor").__unstableMarkNextChangeAsNotPersistent(),n({uniqueId:i}))}),[a])},Nh=e=>{const t=Be((e=>e.hasBackground));return(0,oe.createElement)(oe.Fragment,null,t&&(0,oe.createElement)(lh,at({},e,{attrNameTemplate:"block%s"})),(0,oe.createElement)(gh,at({},e,{attrNameTemplate:"block%s"})),(0,oe.createElement)(_h,at({},e,{attrNameTemplate:"block%s"})))};Nh.Content=e=>(0,oe.createElement)(oe.Fragment,null,e.attributes.hasBackground&&(0,oe.createElement)(lh.Content,at({},e,{attrNameTemplate:"block%s"})),(0,oe.createElement)(gh.Content,at({},e,{attrNameTemplate:"block%s"})),(0,oe.createElement)(_h.Content,at({},e,{attrNameTemplate:"block%s"})));const Ih=e=>{const{hasSizeSpacing:t,initialOpen:a}=e,n=Be((e=>e.hasBackground)),i=Me(),l=qe();return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(Fu,null,t&&(0,oe.createElement)(ji,{title:(0,T.__)("Block Size & Spacing",m.i18n),id:"spacing",initialOpen:"spacing"===a},(0,oe.createElement)(Th.Layout,{attrNameTemplate:"block%s",blockEl:l,visualGuide:{highlight:"outline"}}),(0,oe.createElement)(Th.Spacing,{attrNameTemplate:"block%s",blockEl:l,visualGuide:{highlight:"padding"}}))),(0,oe.createElement)(Du,null,(0,oe.createElement)(ji,{title:(0,T.__)("Background",m.i18n),id:"background",hasToggle:!0,checked:n,onChange:e=>i({hasBackground:e}),initialOpen:"background"===a},(0,oe.createElement)(ch,{attrNameTemplate:"block%s",onBackgroundEnableAttribute:"hasBackground"})),(0,oe.createElement)(ji,{title:(0,T.__)("Borders & Shadows",m.i18n),id:"borders",initialOpen:"borders"===a},(0,oe.createElement)(hh,{attrNameTemplate:"block%s",blockEl:l}))))};Ih.defaultProps={hasSizeSpacing:!0,initialOpen:!1};var Rh=a(1991),Ah=a.n(Rh);const Oh=e=>e.htmlTag||"div",Ph=["class","className","id","ref","style","dangerouslySetInnerHTML"],Hh=["customAttributes"],Lh=()=>null;Lh.InspectorControls=()=>{const e=Be((e=>e.customAttributes)),t=Me();return(0,oe.createElement)($u,null,(0,oe.createElement)(ji,{title:(0,T.__)("Custom Attributes",m.i18n),id:"custom-attributes"},(0,oe.createElement)(Ra,{label:(0,T.__)("Custom Attributes",m.i18n),value:e,invalidHtmlAttributes:Ph,onChange:e=>t({customAttributes:e})})))},Lh.addAttributes=e=>{e.add({attributes:{customAttributes:{type:"array",default:[]}},versionAdded:"3.0.0",versionDeprecated:""})},Lh.getCustomAttributes=e=>{if(!Array.isArray(e.customAttributes)||0===e.customAttributes.length)return{};const t=Object.fromEntries(e.customAttributes);return Object.keys(t).forEach((a=>{let n=unescape(t[a]);t[a]=n;try{const i=n.match(/%[^\%]*%/g);i&&(i.forEach((t=>{const a=t.substr(1,t.length-2);Hh.includes(a)||!e.hasOwnProperty(a)||(0,u.isUndefined)(e[a])||(n=n.replace(t,Op()(e[a].toString())))})),t[a]=n)}catch{}})),(0,u.omit)(t,Ph)};const zh=e=>{var t,a,n,i;const{className:l,applyCustomAttributes:r,applyAdvancedAttributes:o,renderHtmlTag:s,enableVariationPicker:c,withUniqueClass:u,blockHoverClass:d,clientId:m,attributes:g,version:p,...h}=e;Mh(g,!c);const v=Bh(m),b=ag(g.uniqueId||v);let f=Pp(g.uniqueId||v);f=b?f+`-${b}`:f,f=(0,Z.applyFilters)("stackable.block-div.uniqueClass.edit",f);const y=Om(m,g.uniqueId);if(y&&c)return y;const k=Oh(g),x=r?Lh.getCustomAttributes(g):{},w=Ah()((0,Z.applyFilters)("stackable.block-components.block-div.classnames",[l,"stk-block",d,g.className,{[f]:u,"stk-block-background":g.hasBackground,"stk--block-margin-top-auto":"auto"===(null===(t=g.blockMargin)||void 0===t?void 0:t.top),"stk--block-margin-right-auto":"auto"===(null===(a=g.blockMargin)||void 0===a?void 0:a.right),"stk--block-margin-bottom-auto":"auto"===(null===(n=g.blockMargin)||void 0===n?void 0:n.bottom),"stk--block-margin-left-auto":"auto"===(null===(i=g.blockMargin)||void 0===i?void 0:i.left)}],e));return(0,oe.createElement)(qu,at({},h,x,{className:w,id:o&&(g.anchor||void 0)||void 0,"data-block-id":g.uniqueId||v,blockTag:s?k:"div",hasBackground:g.hasBackground,backgroundUrl:g.blockBackgroundMediaUrl,backgroundUrlTablet:g.blockBackgroundMediaUrlTablet,backgroundUrlMobile:g.blockBackgroundMediaUrlMobile,backgroundColorType:g.blockBackgroundColorType},(0,Z.applyFilters)("stackable.block-components.block-div.attributes",{},g)))};zh.defaultProps={className:"",applyCustomAttributes:!0,applyAdvancedAttributes:!0,renderHtmlTag:!0,enableVariationPicker:!1,withUniqueClass:!0,blockHoverClass:""},zh.Content=e=>{var t,a;const{className:n,attributes:i,applyCustomAttributes:l,applyAdvancedAttributes:r,version:o,...s}=e,c=Oh(i),u=l?Lh.getCustomAttributes(i):{};let d=Pp(i.uniqueId);d=(0,Z.applyFilters)("stackable.block-div.uniqueClass.save",d,i);const m=Ah()((0,Z.applyFilters)("stackable.block-components.block-div.classnames.content",[n,"stk-block",d,{"stk-block-background":i.hasBackground,"stk--block-margin-top-auto":"auto"===(null===(t=i.blockMargin)||void 0===t?void 0:t.top),"stk--block-margin-bottom-auto":"auto"===(null===(a=i.blockMargin)||void 0===a?void 0:a.bottom),"stk--has-lightbox":i.blockLinkHasLightbox||i.linkHasLightbox}],e));return(0,oe.createElement)(qu.Content,at({},s,u,ae.useBlockProps.save({className:m}),{id:r&&(i.anchor||void 0)||void 0,"data-block-id":i.uniqueId||void 0,blockTag:c,hasBackground:i.hasBackground,backgroundUrl:i.blockBackgroundMediaUrl,backgroundUrlTablet:i.blockBackgroundMediaUrlTablet,backgroundUrlMobile:i.blockBackgroundMediaUrlMobile,backgroundColorType:i.blockBackgroundColorType},(0,Z.applyFilters)("stackable.block-components.block-div.attributes.content",{},i)))},zh.Content.defaultProps={version:m.version,className:"",attributes:{},applyCustomAttributes:!0,applyAdvancedAttributes:!0},zh.InspectorControls=Ih,zh.addAttributes=e=>{e.add({attributes:{uniqueId:{type:"string",default:""},hasBackground:{type:"boolean",default:!1},hasBorders:{type:"boolean",default:!1}},versionAdded:"3.0.0",versionDeprecated:""}),nh(e,"block%s"),dh(e,"block%s"),wh(e,"block%s")},zh.Style=Nh;const Fh=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"a";return{hasLink:{type:"boolean",default:!0},url:{type:"string",source:"attribute",selector:e,attribute:"href",default:""},newTab:{type:"boolean",source:"attribute",selector:e,attribute:"target",default:!1},rel:{type:"string",source:"attribute",selector:e,attribute:"rel",default:""},hasTitle:{type:"boolean",default:!0},title:{type:"string",source:"attribute",selector:e,attribute:"title",default:""},hasLightbox:{type:"boolean",default:!1}}},Dh=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"%s",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"a";e.add({attributes:Fh(a),attrNameTemplate:t,versionAdded:"3.0.0",versionDeprecated:""})},$h=e=>{const{hasLink:t,hasTitle:a,hasLightbox:n,lightboxHelp:i}=e,{getAttribute:l,updateAttributeHandler:r}=$e(e.attrNameTemplate);return(0,oe.createElement)(oe.Fragment,null,(t||l("hasLink"))&&(0,oe.createElement)(Ac,{label:(0,T.__)("Link / URL",m.i18n),value:l("url"),onChange:r("url")}),(0,oe.createElement)(mc,{label:(0,T.__)("Open in new tab",m.i18n),checked:l("newTab"),onChange:r("newTab")}),n&&(0,oe.createElement)(mc,{label:(0,T.__)("Open Link in Lightbox",m.i18n),help:i,checked:l("hasLightbox"),onChange:r("hasLightbox")}),(0,oe.createElement)(Ma,{label:(0,T.__)("Link rel",m.i18n),value:l("rel"),onChange:r("rel")}),(a||l("hasTitle"))&&(0,oe.createElement)(Ma,{label:(0,T.__)("Link Title",m.i18n),value:l("title"),onChange:r("title"),isDynamic:!0,isFormatType:!1,help:(0,T.__)("Also used for lightbox caption",m.i18n)}))};$h.defaultProps={attrNameTemplate:"%s",hasLink:!0,hasTitle:!1,hasLightbox:!1,lightboxHelp:(0,T.__)("Supports links to images, videos, YouTube, Vimeo, and web pages that allow embedding",m.i18n)};const Uh=e=>{const{hasLink:t,hasTitle:a,hasLightbox:n}=e;return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)($u,null,(0,oe.createElement)(ji,{title:(0,T.__)("Link",m.i18n),id:"link"},(0,oe.createElement)($h,{attrNameTemplate:"blockLink%s",hasLink:t,hasTitle:a,hasLightbox:n,lightboxHelp:(0,T.__)("Supports links to images, videos, YouTube, Vimeo, and web pages that allow embedding. Opens inner image block if no link is provided",m.i18n)}))))};Uh.defaultProps={hasLink:!0,hasTitle:!0,hasLightbox:!0};const Vh=()=>null;Vh.Content=e=>{const{href:t,attributes:a,isHidden:n}=e;return a.blockLinkUrl?(0,oe.createElement)(Yc.Content,{className:"stk-block-link stk--transparent-overlay",href:t||a.blockLinkUrl,target:a.blockLinkNewTab?"_blank":"",rel:a.blockLinkRel||void 0,title:a.blockLinkTitle||void 0,"aria-hidden":n?"true":void 0,tabindex:n?"-1":void 0}):null},Vh.Content.defaultProps={className:"",attributes:{},href:"",isHidden:!0},Vh.InspectorControls=Uh,Vh.addAttributes=e=>{Dh(e,"blockLink%s","a.stk-block-link")},Vh.addStyles=()=>{};const Wh=e=>{const{styles:t}=e,a=Be(),n=Me(),i=(null==a?void 0:a.className)||"",l=He(t,i);return(0,oe.createElement)(Lc,{options:t,onSelect:e=>{const t=function(e,t,a){const n=new(Ae())(e);return t&&n.remove("is-style-"+t.name),"default"!==a.name&&n.add("is-style-"+a.name),n.value}(i,l,e),r=e.onSelect?e.onSelect(a):{};n({...r,className:t})},value:l.name,activeProperty:"name"})},Gh=(0,oe.memo)((e=>(0,oe.createElement)(Du,null,(0,oe.createElement)(ji,{title:(0,T.__)("Styles",m.i18n),id:"styles",initialOpen:e.initialOpen},(0,oe.createElement)(Wh,{styles:e.styles}),e.children))));Gh.defaultProps={initialOpen:!0,styles:[]};const jh=()=>null;jh.Content=()=>null,jh.InspectorControls=Gh;const qh={buttonPadding:{stkResponsive:!0,type:"object",stkUnits:"px"},buttonBackgroundColorType:{type:"string",default:""},buttonBackgroundColor:{stkHover:!0,type:"string",default:""},buttonBackgroundColor2:{stkHover:!0,type:"string",default:""},buttonBackgroundGradientDirection:{stkHover:!0,type:"number",default:""},buttonMinHeight:{stkResponsive:!0,type:"number",default:""},buttonWidth:{stkResponsive:!0,type:"number",default:""},buttonFullWidth:{type:"boolean",default:""},buttonHoverEffect:{type:"string",default:"darken"}},Kh=e=>{const{hasShape:t,hasIconGap:a,hasIconPosition:n,hideControlsIfIconIsNotSet:i=!1,iconSizeProps:l={},iconControlHelp:r,initialOpen:o,hasMultiColor:s,hasGradient:c,wrapInPanels:u=!0,responsive:d="all",hover:g="all",defaultValue:p}=e,h=(0,oe.useMemo)((()=>(0,Z.applyFilters)("stackable.block-component.icon.color-controls",null)),[]),v=(0,oe.useMemo)((()=>(0,Z.applyFilters)("stackable.block-component.icon.shape-color-controls",null)),[]),b=(0,oe.useMemo)((()=>(0,Z.applyFilters)("stackable.block-component.icon.edit.background-shape",null)),[]),f=Be((e=>({icon:e.icon,iconColorType:e.iconColorType,shapeColorType:e.shapeColorType}))),y=Me(),k=!i||!!f.icon,x=(0,Z.applyFilters)("stackable.block-component.icon.color-types",[{value:"",title:(0,T.__)("Single",m.i18n)}],e),w=(0,Z.applyFilters)("stackable.block-component.icon.shape-color-types",[{value:"",title:(0,T.__)("Single",m.i18n)}],e),C=(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(Sl,{label:(0,Z.applyFilters)("stackable.block-component.icon.label",(0,T.__)("Icon",m.i18n)),value:f.icon,defaultValue:p,onChange:e=>y({icon:e}),help:r,hasPanelModifiedIndicator:!1}),m.showProNotice&&(s||c)&&(0,oe.createElement)(ql,{type:"icon-colors"}),(0,Z.applyFilters)("stackable.block-component.icon.after",null),x.length>1&&(0,oe.createElement)(xn,{controls:x,isSmall:!0,fullwidth:!1,attribute:"iconColorType"}),k&&(0,oe.createElement)(oe.Fragment,null,""===(f.iconColorType||"")&&(0,oe.createElement)(ua,{label:(0,T.__)("Icon Color",m.i18n),attribute:"iconColor1",hover:g}),h&&(0,oe.createElement)(h,e)),k&&(0,oe.createElement)(Ja,at({label:(0,T.__)("Icon Size",m.i18n),attribute:"iconSize",min:0,sliderMax:100,step:1,allowReset:!0,placeholder:"",responsive:d},l)),k&&(0,oe.createElement)(Ja,{label:(0,T.__)("Icon Opacity",m.i18n),attribute:"iconOpacity",min:0,max:1,step:.1,allowReset:!0,placeholder:"1.0",hover:g}),k&&(0,oe.createElement)(Ja,{label:(0,T.__)("Icon Rotation",m.i18n),attribute:"iconRotation",min:0,max:360,allowReset:!0,placeholder:"0",hover:g}),n&&(0,oe.createElement)(Xa,{label:(0,T.__)("Icon Position",m.i18n),attribute:"iconPosition",options:[{value:"",label:(0,T.__)("Left",m.i18n)},{value:"right",label:(0,T.__)("Right",m.i18n)}]}),a&&(0,oe.createElement)(Ja,{label:(0,T.__)("Icon Gap",m.i18n),attribute:"iconGap",min:0,sliderMax:50,allowReset:!0,placeholder:"0"})),_=(0,oe.createElement)(oe.Fragment,null,w.length>1&&(0,oe.createElement)(xn,{controls:w,isSmall:!0,fullwidth:!1,attribute:"shapeColorType"}),""===(f.shapeColorType||"")&&(0,oe.createElement)(ua,{label:(0,T.__)("Shape Color",m.i18n),attribute:"shapeColor1",hover:"all",hasTransparent:!0}),v&&(0,oe.createElement)(v,e),(0,oe.createElement)(Ja,{label:(0,T.__)("Shape Border Radius",m.i18n),attribute:"shapeBorderRadius",hover:g,min:0,sliderMax:100,step:1,allowReset:!0,placeholder:50}),(0,oe.createElement)(Ja,{label:(0,T.__)("Shape Padding",m.i18n),attribute:"shapePadding",min:0,sliderMax:150,step:1,allowReset:!0,placeholder:20}),(0,oe.createElement)(or,{label:(0,T.__)("Shape Outline Width",m.i18n),units:["px"],min:0,step:1,sliderMax:20,defaultLocked:!0,attribute:"shapeOutlineWidth",responsive:d,default:"1"}),(0,oe.createElement)(ua,{label:(0,T.__)("Shape Outline Color",m.i18n),attribute:"shapeOutlineColor",hasTransparent:!0,hover:g})),S=(0,oe.createElement)(fa,{type:"icon-background-shape"}),E=u?Du:oe.Fragment;return(0,oe.createElement)(E,null,u?(0,oe.createElement)(ji,{title:(0,T.__)("Icon",m.i18n),id:"icon",initialOpen:o},C):C,t&&(u?(0,oe.createElement)(ji,{title:(0,T.__)("Icon Shape",m.i18n),id:"icon-shape"},_):_),e.hasBackgroundShape&&(0,oe.createElement)(oe.Fragment,null,m.showProNotice&&!m.isPro&&(u?(0,oe.createElement)(ji,{title:(0,T.__)("Background Shape",m.i18n),id:"icon-background-shape",isPremiumPanel:!0}," ",S):S),b&&(0,oe.createElement)(b,e)))};Kh.defaultProps={label:(0,T.__)("Icon",m.i18n),hasColor:!0,hasGradient:!0,hasShape:!0,hasShapeGradient:!0,hasBackgroundShape:!0,initialOpen:!1,hasIconGap:!1,hasIconPosition:!1,hasMultiColor:!1,defaultValue:""};const Jh={icon:{type:"string",default:""},icon2:{type:"string",default:""},iconColorType:{type:"string",default:""},...(0,u.range)(1,11).reduce(((e,t)=>({...e,[`iconColor${t}`]:{stkHover:!0,type:"string",default:""},[`iconOpacity${t}`]:{stkHover:!0,type:"number",default:""}})),{}),iconColorGradientDirection:{type:"number",default:""},iconOpacity:{stkHover:!0,type:"number",default:""},iconRotation:{stkHover:!0,type:"number",default:""},iconPosition:{type:"string",default:""},iconGap:{type:"number",default:""},shapeColorType:{type:"string",default:""},shapeColor1:{stkHover:!0,type:"string",default:""},shapeColor2:{type:"string",default:""},shapeColorGradientDirection:{type:"number",default:""},shapeBorderRadius:{stkHover:!0,type:"number",default:""},shapePadding:{type:"number",default:""},showBackgroundShape:{type:"boolean",default:!1},backgroundShape:{type:"string",default:""},backgroundShapeColor:{stkHover:!0,type:"string",default:""},backgroundShapeOpacity:{stkHover:!0,type:"number",default:""},backgroundShapeSize:{type:"number",default:""},backgroundShapeOffsetHorizontal:{type:"number",default:""},backgroundShapeOffsetVertical:{type:"number",default:""},shapeOutlineColor:{stkHover:!0,type:"string",default:""},iconSize:{stkResponsive:!0,type:"number",default:""},shapeOutlineWidth:{stkResponsive:!0,type:"object"}},Yh=e=>{const t={...e,version:e.version,versionAdded:"3.0.0",versionDeprecated:""},{selector:a="",hoverSelector:n="",dependencies:i=[]}=e,l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:a;const l=`${t||i} .stk--inner-svg svg:last-child`;return n.length?[l,l+` :is(${n.join(",")})`]:l},r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return l(e,t,n,a+":hover")},o=`${a} .stk--inner-svg`,s=`${n} .stk--inner-svg`;return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(pd,at({},t,{selectorCallback:e=>l(e),hoverSelectorCallback:e=>r(e,n),styleRule:"height",attrName:"iconSize",key:"iconSize",responsive:"all",format:"%spx"})),(0,oe.createElement)(pd,at({},t,{selectorCallback:e=>l(e),hoverSelectorCallback:e=>r(e,n),styleRule:"width",attrName:"iconSize",key:"iconSize-width",responsive:"all",format:"%spx"})),(0,oe.createElement)(pd,at({},t,{selectorCallback:e=>l(e),hoverSelectorCallback:e=>r(e,n),styleRule:"opacity",attrName:"iconOpacity",key:"iconOpacity",hover:"all"})),(0,oe.createElement)(pd,at({},t,{selectorCallback:e=>l(e),hoverSelectorCallback:e=>r(e,n),styleRule:"transform",attrName:"iconRotation",key:"iconRotation",hover:"all",format:"rotate(%sdeg)"})),(0,oe.createElement)(pd,at({},t,{selectorCallback:e=>l(e),hoverSelectorCallback:e=>l(e,n),styleRuleCallback:e=>"right"===e("iconPosition")?"marginInlineStart":"marginInlineEnd",attrName:"iconGap",key:"iconGap",format:"%spx",dependencies:["iconPosition",...i]})),(0,oe.createElement)(pd,at({},t,{selectorCallback:e=>l(e,a,["g","path","rect","polygon","ellipse"]),hoverSelectorCallback:e=>r(e,n,["g","path","rect","polygon","ellipse"]),styleRule:"fill",attrName:"iconColor1",key:"iconColor1-fill",valuePreCallback:(e,t,a,n)=>"gradient"===t("iconColorType")&&t("iconColor1","desktop",n)&&t("iconColor2","desktop",n)?`url(#linear-gradient-${t("uniqueId")})`:t("iconColorType")?void 0:e,dependencies:["iconColorType","iconColor1","iconColor2","uniqueId",...i],hover:"all"})),(0,oe.createElement)(pd,at({},t,{selectorCallback:e=>`${a} #linear-gradient-${e("uniqueId")}`,styleRule:"transform",format:"rotate(%sdeg)",attrName:"iconColorGradientDirection",key:"iconColorGradientDirection",hoverSelectorCallback:e=>`${a}:hover #linear-gradient-${e("uniqueId")}`})),(0,oe.createElement)(pd,at({},t,{selectorCallback:e=>`${a} #linear-gradient-${e("uniqueId")}`,styleRuleCallback:e=>`--linear-gradient-${e("uniqueId")}-color-1`,attrName:"iconColor1",key:"iconColor1",valuePreCallback:(e,t,a,n)=>{if("gradient"===t("iconColorType")&&t("iconColor1","desktop",n)&&t("iconColor2","desktop",n))return e},hoverSelectorCallback:e=>`${a}:hover #linear-gradient-${e("uniqueId")}`,dependencies:["iconColorType","iconColor1","iconColor2",...i]})),(0,oe.createElement)(pd,at({},t,{selectorCallback:e=>`${a} #linear-gradient-${e("uniqueId")}`,styleRuleCallback:e=>`--linear-gradient-${e("uniqueId")}-color-2`,attrName:"iconColor2",key:"iconColor2",valuePreCallback:(e,t,a,n)=>{if("gradient"===t("iconColorType")&&t("iconColor1","desktop",n)&&t("iconColor2","desktop",n))return e},hoverSelectorCallback:e=>`${a}:hover #linear-gradient-${e("uniqueId")}`,dependencies:["iconColorType","iconColor1","iconColor2",...i]})),(0,oe.createElement)(pd,at({},t,{selector:o,hoverSelector:s,styleRule:"backgroundColor",attrName:"shapeColor1",key:"shapeColor1",hover:"all",valuePreCallback:(e,t,a,n)=>{const i=t("shapeColorType");if("normal"===n||"gradient"!==i)return e},dependencies:["shapeColorType","shapeColor2","shapeColorType","shapeGradientDirection",...i]})),(0,oe.createElement)(pd,at({},t,{selector:o,hoverSelector:s,styleRule:"borderRadius",attrName:"shapeBorderRadius",key:"shapeBorderRadius",format:"%s%",hover:"all"})),(0,oe.createElement)(pd,at({},t,{selector:o,hoverSelector:s,styleRule:"padding",attrName:"shapePadding",key:"shapePadding",format:"%spx"})),(0,oe.createElement)(pd,at({},t,{selector:o,hoverSelector:s,styleRule:"borderColor",attrName:"shapeOutlineColor",key:"shapeOutlineColor",hover:"all"})),(0,oe.createElement)(pd,at({},t,{selector:o,hoverSelector:s,styleRule:"borderStyle",attrName:"borderStyle",key:"borderStyle",valuePreCallback:(e,t,a,n)=>{var i,l,r,o;if(null!==(i=t("shapeOutlineWidth","desktop",n))&&void 0!==i&&i.top&&null!==(l=t("shapeOutlineWidth","desktop",n))&&void 0!==l&&l.right&&null!==(r=t("shapeOutlineWidth","desktop",n))&&void 0!==r&&r.bottom&&null!==(o=t("shapeOutlineWidth","desktop",n))&&void 0!==o&&o.left)return"solid"},hover:"all",dependencies:["shapeOutlineWidth",...i]})),(0,oe.createElement)(pd,at({},t,{selector:o,hoverSelector:s,styleRule:"borderTopWidth",attrName:"shapeOutlineWidth",key:"shapeOutlineWidth-top",responsive:"all",format:"%spx",valuePreCallback:e=>null==e?void 0:e.top})),(0,oe.createElement)(pd,at({},t,{selector:o,hoverSelector:s,styleRule:"borderRightWidth",attrName:"shapeOutlineWidth",key:"shapeOutlineWidth-right",responsive:"all",format:"%spx",valuePreCallback:e=>null==e?void 0:e.right})),(0,oe.createElement)(pd,at({},t,{selector:o,hoverSelector:s,styleRule:"borderBottomWidth",attrName:"shapeOutlineWidth",key:"shapeOutlineWidth-bottom",responsive:"all",format:"%spx",valuePreCallback:e=>null==e?void 0:e.bottom})),(0,oe.createElement)(pd,at({},t,{selector:o,hoverSelector:s,styleRule:"borderLeftWidth",attrName:"shapeOutlineWidth",key:"shapeOutlineWidth-left",responsive:"all",format:"%spx",valuePreCallback:e=>null==e?void 0:e.left})))},Xh=e=>{const t=(0,Z.applyFilters)("stackable.block-component.icon.indiv-icon-style",null);return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(Yh,e),t&&(0,oe.createElement)(t,e))};Xh.Content=e=>{const t=(0,Z.applyFilters)("stackable.block-component.icon.indiv-icon-style",null);return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(Yh,e),t&&(0,oe.createElement)(t,e))};const Zh=e=>{let{id:t}=e;const a=(0,u.kebabCase)(t);return(0,oe.createElement)("svg",{style:{height:0,width:0}},(0,oe.createElement)("defs",null,(0,oe.createElement)("linearGradient",{id:t,x1:"0",x2:"100%",y1:"0",y2:"0"},(0,oe.createElement)("stop",{offset:"0%",style:{stopOpacity:1,stopColor:`var(--${a}-color-1)`}}),(0,oe.createElement)("stop",{offset:"100%",style:{stopOpacity:1,stopColor:`var(--${a}-color-2)`}}))))},Qh=e=>{const{attrNameTemplate:t="%s",hasLinearGradient:a=!0}=e,{isSelected:n}=(0,ae.useBlockEditContext)(),[i,l]=(0,oe.useState)(!1),r=(0,oe.useRef)(null);(0,oe.useEffect)((()=>{!n&&i&&l(!1)}),[n,i]),(0,oe.useEffect)((()=>{const e=e=>{i&&(e.target.closest(".stk--inner-svg")&&e.stopPropagation(),e.target.closest(".stk--inner-svg")||Kp(r.current,e.target)||e.target.closest(".components-popover")||l(!1))};return document.body.addEventListener("click",e),()=>document.body.removeEventListener("click",e)}),[r.current,i]);const[o,s]=(0,oe.useState)(!1);(0,oe.useEffect)((()=>{if(!n)return void s(!1);const e=setTimeout((()=>{n&&s(n)}),1);return()=>clearTimeout(e)}),[n]);const c=Be((e=>e.uniqueId)),{getAttribute:u,updateAttributeHandler:d}=$e(t),m=(0,oe.useMemo)((()=>Pg(u("backgroundShape")||"blob1")),[u("backgroundShape")]);if(!u("icon"))return null;const g=a?(0,oe.renderToString)((0,oe.createElement)(Zh,{id:"linear-gradient-"+c,iconColor1:u("iconColor1"),iconColor2:u("iconColor2")})):void 0,p=rt()(["stk--svg-wrapper"],{"stk--show-cursor":o,"stk--has-icon2":u("icon2")});return(0,oe.createElement)("span",{className:p,onClick:e=>{o&&e.target.closest(".stk--inner-svg")&&!i&&l(!i)}},u("icon")&&(0,oe.createElement)(lc,{className:"stk--inner-svg",prependRenderString:g,value:u("icon"),ariaLabel:u("ariaLabel")}),u("showBackgroundShape")&&(0,oe.createElement)(m,{className:"stk--shape-icon"}),i&&(0,oe.createElement)(Pl,{__hasPopover:!0,__deprecateUseRef:r,onChange:e=>{d("icon")(e),l(!1)}}),u("icon2")&&(0,oe.createElement)(lc,{className:"stk--inner-svg stk--icon-2",prependRenderString:g,value:u("icon2"),ariaLabel:u("ariaLabel"),style:{display:"none"}}))};Qh.Content=e=>{const{attributes:t,attrNameTemplate:a,hasLinearGradient:n=!0,children:i}=e,l=M(a),r=vg(t,l,""),o=Pg(r("backgroundShape")||"blob1"),s=n?(0,oe.renderToString)((0,oe.createElement)(Zh,{id:"linear-gradient-"+t.uniqueId,iconColor1:r("iconColor1"),iconColor2:r("iconColor2")})):void 0,c=rt()(["stk--svg-wrapper"],{"stk--has-icon2":r("icon2")});return r("icon")||r("icon2")?(0,oe.createElement)("span",{className:c},r("icon")&&(0,oe.createElement)(lc.Content,{className:"stk--inner-svg",prependRenderString:s,value:r("icon"),ariaLabel:r("ariaLabel")}),r("showBackgroundShape")&&(0,oe.createElement)(o,{className:"stk--shape-icon"}),r("icon2")&&(0,oe.createElement)(lc.Content,{className:"stk--inner-svg stk--icon-2",prependRenderString:s,value:r("icon2"),ariaLabel:r("ariaLabel"),style:{display:"none"}}),i):null},Qh.InspectorControls=Kh,Qh.addAttributes=e=>{e.add({attributes:Jh,versionAdded:"3.0.0",versionDeprecated:""})},Qh.Style=Xh;const ev=e=>{const t={...e,version:e.version,versionAdded:"3.0.0",versionDeprecated:""},{selector:a,hoverSelector:n,dependencies:i=[]}=e;return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(pd,at({},t,{selector:["",".stk-button"],styleRule:"width",attrName:"buttonFullWidth",key:"buttonFullWidth",valueCallback:()=>"100%",format:"%spx",enabledCallback:e=>e("buttonFullWidth")})),(0,oe.createElement)(pd,at({},t,{renderIn:"save",selector:"",styleRule:"flex",attrName:"buttonFullWidth",key:"buttonFullWidth-save",valueCallback:()=>"1 1 0",enabledCallback:e=>e("buttonFullWidth")})),(0,oe.createElement)(pd,at({},t,{renderIn:"edit",selectorCallback:(e,t,a)=>`[data-block="${a}"]`,styleRule:"flex",attrName:"buttonFullWidth",key:"buttonFullWidth-flex",valueCallback:()=>"1 1 0",enabledCallback:e=>e("buttonFullWidth")})),(0,oe.createElement)(pd,at({},t,{selector:a,responsive:"all",styleRule:"minHeight",attrName:"buttonMinHeight",key:"buttonMinHeight",format:"%spx"})),(0,oe.createElement)(pd,at({},t,{selector:a,responsive:"all",styleRule:"width",attrName:"buttonWidth",key:"buttonWidth",format:"%spx",enabledCallback:e=>!e("buttonFullWidth"),dependencies:["buttonFullWidth",...i]})),(0,oe.createElement)(pd,at({},t,{selector:a,responsive:"all",styleRule:"paddingTop",attrName:"buttonPadding",key:"buttonPadding-top",hasUnits:"px",valuePreCallback:e=>null==e?void 0:e.top})),(0,oe.createElement)(pd,at({},t,{selector:a,responsive:"all",styleRule:"paddingRight",attrName:"buttonPadding",key:"buttonPadding-right",hasUnits:"px",valuePreCallback:e=>null==e?void 0:e.right})),(0,oe.createElement)(pd,at({},t,{selector:a,responsive:"all",styleRule:"paddingBottom",attrName:"buttonPadding",key:"buttonPadding-bottom",hasUnits:"px",valuePreCallback:e=>null==e?void 0:e.bottom})),(0,oe.createElement)(pd,at({},t,{selector:a,responsive:"all",styleRule:"paddingLeft",attrName:"buttonPadding",key:"buttonPadding-left",hasUnits:"px",valuePreCallback:e=>null==e?void 0:e.left})),(0,oe.createElement)(pd,at({},t,{selector:a,styleRule:"background",attrName:"buttonBackgroundColor",key:"buttonBackgroundColor",valueCallback:(e,t)=>{const a=t("buttonBackgroundGradientDirection"),n=t("buttonBackgroundColor"),i=t("buttonBackgroundColor2");return"gradient"!==t("buttonBackgroundColorType")?t("buttonBackgroundColor"):`linear-gradient(${""!==a?a+"deg":"90deg"}, ${n||i}, ${i||n})`},dependencies:["buttonBackgroundGradientDirection","buttonBackgroundColor","buttonBackgroundColor2","buttonBackgroundColorType",...i]})),(0,oe.createElement)(pd,at({},t,{selector:`${a}:after`,styleRule:"background",attrName:"buttonBackgroundColor",key:"buttonBackgroundColor-after",hover:"all",hoverSelector:n||`${a}:hover:after`,valuePreCallback:(e,t,a,n)=>{if("normal"===n)return;if("gradient"!==t("buttonBackgroundColorType"))return e;const i=t("buttonBackgroundGradientDirection","desktop",n),l=t("buttonBackgroundColor","desktop",n),r=t("buttonBackgroundColor2","desktop",n);return void 0!==typeof l&&""!==l||void 0!==typeof r&&""!==r?`linear-gradient(${""!==i?i+"deg":"90deg"}, ${l||r}, ${r||l})`:void 0},dependencies:["buttonBackgroundGradientDirection","buttonBackgroundColor","buttonBackgroundColor2","buttonBackgroundColorType",...i]})),(0,oe.createElement)(pd,at({},t,{selector:`${a}:after`,styleRule:"opacity",attrName:"buttonBackgroundColor",key:"buttonBackgroundColor-opacity",hover:"all",hoverSelector:n||`${a}:hover:after`,valuePreCallback:(e,t,a,n)=>{if("normal"===n)return;const i=t("buttonBackgroundColor","desktop",n);return void 0!==i&&""!==i?1:void 0}})))},tv=e=>{const{selector:t="",attrNameTemplate:a=""}=e;return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(ev,e),(0,oe.createElement)(gh,at({},e,{selector:t+":before",addBorderRadiusOverflow:!1,hoverSelector:t+":hover:before",borderRadiusSelector:t,attrNameTemplate:(0,T.sprintf)("button%s",a||"%s")})),(0,oe.createElement)(Qh.Style,e))};tv.Content=e=>{const{selector:t="",attrNameTemplate:a=""}=e;return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(ev,e),(0,oe.createElement)(gh.Content,at({},e,{selector:t+":before",addBorderRadiusOverflow:!1,hoverSelector:t+":hover:before",borderRadiusSelector:t,attrNameTemplate:(0,T.sprintf)("button%s",a||"%s")})),(0,oe.createElement)(Qh.Style.Content,e))};const av=e=>{const t=M("link%s")("hasLink"),a=Be((e=>e[t])),n=Me(),i=e.isAdvancedTab?$u:Du;return(0,oe.createElement)(i,null,(0,oe.createElement)(ji,{title:(0,T.__)("Link",m.i18n),id:"link",hasToggle:e.hasToggle,checked:e.hasToggle?a:void 0,onChange:e.hasToggle?e=>{n({[t]:e})}:void 0},(0,oe.createElement)($h,{attrNameTemplate:"link%s",hasLightbox:!0})))};av.defaultProps={hasToggle:!1,isAdvancedTab:!1};const nv=e=>{const[t,a]=(0,oe.useState)(!1),n=(0,oe.useRef)(),[i,l]=(0,oe.useState)(null),{parentBlock:r}=re(),o=Be((e=>e.linkHasLink)),{isSelected:s}=(0,ae.useBlockEditContext)(),[c,u]=(0,oe.useState)(!1);(0,oe.useEffect)((()=>{if(!s)return void u(!1);const e=setTimeout((()=>{s&&u(s)}),1);return()=>clearTimeout(e)}),[s]),(0,oe.useEffect)((()=>{!s&&t&&a(!1)}),[s,t]),(0,oe.useEffect)((()=>{const i=i=>{t&&(i.target.closest(".stk-button")&&i.target.closest(e.linkTrigger||".rich-text")&&i.stopPropagation(),Kp(n.curent,i.target)||i.target.closest(".components-popover")||a(!1))};return document.body.addEventListener("click",i),()=>document.body.removeEventListener("click",i)}),[n.current,t]);const d=(0,Z.applyFilters)("stackable.edit.link.enable-link-popup",!0,r);return o?(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(Yc,at({},e.linkProps,{ref:n,className:e.className,onClick:n=>{if(c){const i=n.target.closest(e.linkTrigger||".rich-text");i&&!t&&(l(i),a(!t))}}}),e.children),t&&d&&(0,oe.createElement)(ot.Popover,{position:"top center",getAnchorRect:()=>{var e;return(null==i?void 0:i.getBoundingClientRect())||(null===(e=n.current)||void 0===e?void 0:e.getBoundingClientRect())},focusOnMount:!1,className:"stk-link__popover"},(0,oe.createElement)($h,{attrNameTemplate:"link%s"}))):e.children};nv.defaultProps={className:"",linkProps:{}},nv.Content=e=>{const{linkProps:t={},attributes:a}=e;return a.linkHasLink?(0,oe.createElement)(Yc.Content,at({},t,{className:e.className,href:a.linkUrl||void 0,target:a.linkNewTab?"_blank":void 0,rel:a.linkRel||void 0,title:a.linkTitle||void 0}),e.children):e.children},nv.InspectorControls=av,nv.addAttributes=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{attrNameTemplate:a="link%s",selector:n="a"}=t;Dh(e,a,n)};const iv=e=>(0,oe.createElement)(Qh.InspectorControls,{hasColor:e.hasColor,hasGradient:!1,hasShape:!1,hasBackgroundShape:!1,hasIconGap:e.hasIconGap,hasIconPosition:e.hasIconPosition,defaultValue:e.defaultValue});iv.defaultProps={hasIconGap:!0,hasIconPosition:!0,hasColor:!0,defaultValue:""};const lv=nv.InspectorControls,rv=[{label:(0,T.__)("None",m.i18n),value:""},{label:(0,T.__)("Darken",m.i18n),value:"darken"},{label:(0,T.__)("Lift",m.i18n),value:"lift"},{label:(0,T.__)("Scale",m.i18n),value:"scale"},{label:(0,T.__)("Lift & Scale",m.i18n),value:"lift-scale"},{label:(0,T.__)("Lift More",m.i18n),value:"lift-more"},{label:(0,T.__)("Scale More",m.i18n),value:"scale-more"},{label:(0,T.__)("Lift & Scale More",m.i18n),value:"lift-scale-more"}],ov=e=>{const{blockState:t,hasIconColor:a,hasTextColor:n}=e,i=Be((e=>e.buttonBackgroundColorType)),l=Me();return(0,oe.createElement)(Du,null,(0,oe.createElement)(ji,{title:(0,T.__)("Button Colors",m.i18n),id:"button-colors"},(0,oe.createElement)(xn,{controls:[{value:"",title:(0,T.__)("Single",m.i18n)},{value:"gradient",title:(0,T.__)("Gradient",m.i18n)}],attribute:"buttonBackgroundColorType",isSmall:!0,fullwidth:!1}),(0,oe.createElement)(ua,{label:"gradient"===i?(0,T.sprintf)((0,T.__)("Button Color #%s",m.i18n),1):(0,T.__)("Button Color",m.i18n),attribute:"buttonBackgroundColor",hasTransparent:"normal"===t&&"gradient"!==i,hover:"all"}),"gradient"===i&&(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(ua,{label:(0,T.__)("Button Color #2",m.i18n),attribute:"buttonBackgroundColor2",hover:"all"}),(0,oe.createElement)(Ja,{label:(0,T.__)("Gradient Direction (degrees)",m.i18n),attribute:"buttonBackgroundGradientDirection",min:0,max:360,step:10,allowReset:!0,hover:"all"})),n&&(0,oe.createElement)(ua,{changeCallback:e=>{var a;if("normal"!==t)return e;const n=ee(e),i=null===(a=((0,te.select)((e=>e("core/block-editor").getSettings().colors))||[]).find((e=>{let{color:t}=e;return n===t})))||void 0===a?void 0:a.slug;return l({textColorClass:i?(0,ae.getColorClassName)("color",i):""}),e},label:(0,T.__)("Text Color",m.i18n),attribute:"textColor1",hover:"all"}),a&&(0,oe.createElement)(ua,{label:(0,T.__)("Icon Color",m.i18n),attribute:"iconColor1",hover:"all"})))};ov.defaultProps={hasTextColor:!0,hasIconColor:!1};const sv=e=>(0,oe.createElement)(Du,null,(0,oe.createElement)(ji,{title:(0,T.__)("Button Size & Spacing",m.i18n),id:"button"},e.hasFullWidth&&(0,oe.createElement)(mc,{label:(0,T.__)("Full Width",m.i18n),attribute:"buttonFullWidth"}),(0,oe.createElement)(Ja,{label:(0,T.__)("Min. Button Height",m.i18n),responsive:"all",attribute:"buttonMinHeight",min:0,max:100}),e.hasWidth&&!e.hasFullWidth&&(0,oe.createElement)(Ja,{label:(0,T.__)("Button Width",m.i18n),responsive:"all",attribute:"buttonWidth",min:0,max:100,placeholder:""}),(0,oe.createElement)(or,{label:(0,T.__)("Button Padding",m.i18n),units:["px","%"],responsive:"all",defaultLocked:!0,attribute:"buttonPadding",sliderMin:[0,0],sliderMax:[40,100],vhMode:!0,helpTooltip:{title:(0,T.__)("Button padding",m.i18n),description:(0,T.__)("Adjusts the space between the button text and button borders",m.i18n)}})));sv.defaultProps={hasWidth:!1};const cv=e=>(0,oe.createElement)(Du,null,(0,oe.createElement)(ji,{title:(0,T.__)("Button Borders & Shadows",m.i18n),id:"button-borders"},(0,oe.createElement)(hh,{attrNameTemplate:"button%s",hasBorderRadiusHover:!1,borderSelector:e.borderSelector,borderRadiusPlaceholder:e.placeholder})));cv.defaultProps={borderSelector:""};const uv=e=>{const{borderSelector:t,hasTextColor:a,hasIcon:n,hasLink:i,hasIconGap:l,hasIconPosition:r,borderRadiusPlaceholder:o,hasFullWidth:s,...c}=e,{parentBlock:u}=re(),d=(0,Z.applyFilters)("stackable.edit.button.enable-link",!0,u);return(0,oe.createElement)(oe.Fragment,null,i&&d&&(0,oe.createElement)(lv,null),(0,oe.createElement)(ov,at({hasTextColor:a},c)),(0,oe.createElement)(sv,{hasFullWidth:s}),(0,oe.createElement)(cv,{borderSelector:t,placeholder:o}),n&&(0,oe.createElement)(iv,{hasIconGap:l,hasIconPosition:r}))};uv.defaultProps={hasIcon:!0,hasLink:!0,borderSelector:"",hasTextColor:!0,hasIconGap:!0,hasIconPosition:!0,hasFullWidth:!1},uv.Link=lv,uv.Colors=ov,uv.Size=sv,uv.Borders=cv,uv.Icon=iv,uv.HoverEffects=()=>(0,oe.createElement)(Xa,{label:(0,T.__)("Hover Effect",m.i18n),attribute:"buttonHoverEffect",options:rv,default:"darken",helpTooltip:{video:"button-hover-effect",title:(0,T.__)("Hover effect",m.i18n),description:(0,T.__)("Triggers animation or effects when you mouse over",m.i18n)}});const dv=e=>rt()("stk-button",{[`stk--hover-effect-${e.buttonHoverEffect}`]:e.buttonHoverEffect}),mv=e=>{const{className:t,buttonProps:a,linkTrigger:n}=e,i=Be((e=>({buttonHoverEffect:e.buttonHoverEffect,iconPosition:e.iconPosition})));return(0,oe.createElement)(nv,{className:rt()([t,dv(i)]),linkProps:a,linkTrigger:n},"right"===i.iconPosition&&e.children,(0,oe.createElement)(Qh,{hasLinearGradient:!1}),"right"!==i.iconPosition&&e.children)};mv.defaultProps={className:"",buttonProps:{}},mv.Content=e=>{const{className:t,attributes:a,buttonProps:n}=e;return(0,oe.createElement)(nv.Content,{linkProps:n,attributes:a,className:rt()([t,dv(a)])},"right"===a.iconPosition&&e.children,(0,oe.createElement)(Qh.Content,{attributes:a,hasLinearGradient:!1}),"right"!==a.iconPosition&&e.children)},mv.Content.defaultProps={className:"",buttonProps:{}},mv.InspectorControls=uv,mv.addAttributes=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{selector:a}=t;e.add({attributes:qh,versionAdded:"3.0.0",versionDeprecated:""}),dh(e,"button%s"),nv.addAttributes(e,{selector:a}),Qh.addAttributes(e)},mv.Style=tv;const gv=()=>m.showProNotice||m.isPro?(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)($u,null,(0,oe.createElement)(ji,{title:(0,T.__)("Conditional Display",m.i18n),id:"conditional-display",isPremiumPanel:!m.isPro},!m.isPro&&(0,oe.createElement)(fa,{type:"conditional-display"}),m.isPro&&(0,Z.applyFilters)("stackable.block-component.conditional-display.control",null)))):null;gv.defaultProps={mainBlockClass:""};const pv=()=>null;pv.InspectorControls=gv,pv.addAttributes=e=>{e.add({attributes:{displayCondition:{type:"object",default:{}}},versionAdded:"3.0.0",versionDeprecated:""})};const hv=e=>{const{backgroundSelector:t=".%s-container",borderSelector:a=".%s-container",sizeSelector:n=".%s-container",sizeVerticalAlignRule:i=null,sizeHorizontalAlignRule:l="margin",wrapperSelector:r="",sizeVerticalAlignSelector:o=""}=e,s=Be((e=>e.hasContainer));return(0,oe.createElement)(oe.Fragment,null,s&&(0,oe.createElement)(lh,at({},e,{attrNameTemplate:"container%s",selector:t})),s&&(0,oe.createElement)(gh,at({},e,{attrNameTemplate:"container%s",selector:a,hoverSelector:`${a}:hover`})),(0,oe.createElement)(_h,at({},e,{attrNameTemplate:"container%s",selector:n,verticalAlignRule:i,verticalAlignSelector:o,horizontalAlignRule:l,wrapperSelector:r})))};hv.defaultProps={options:{}},hv.Content=e=>{const{backgroundSelector:t=".%s-container",borderSelector:a=".%s-container",sizeSelector:n=".%s-container",sizeVerticalAlignRule:i=null,sizeHorizontalAlignRule:l="margin",wrapperSelector:r="",sizeVerticalAlignSelector:o="",attributes:s}=e;return(0,oe.createElement)(oe.Fragment,null,s.hasContainer&&(0,oe.createElement)(lh.Content,at({},e,{attrNameTemplate:"container%s",selector:t})),s.hasContainer&&(0,oe.createElement)(gh.Content,at({},e,{attrNameTemplate:"container%s",selector:a,hoverSelector:`${a}:hover`})),(0,oe.createElement)(_h.Content,at({},e,{attrNameTemplate:"container%s",selector:n,verticalAlignRule:i,verticalAlignSelector:o,horizontalAlignRule:l,wrapperSelector:r})))};const vv=e=>{const t=Be((e=>({uniqueId:e.uniqueId,hasContainer:e.hasContainer,triggerHoverState:e.triggerHoverState,containerBackgroundMediaUrl:e.containerBackgroundMediaUrl,containerBackgroundMediaUrlTablet:e.containerBackgroundMediaUrlTablet,containerBackgroundMediaUrlMobile:e.containerBackgroundMediaUrlMobile,containerBackgroundColorType:e.containerBackgroundColorType}))),a=ag(t.uniqueId);let n=Pp(t.uniqueId);n=a?n+`-${a}`:n;const i=(0,Z.applyFilters)("stackable.container-div.uniqueClass.edit",`${n}-container`,n),l=rt()([e.className,"stk-container",i],{"stk-hover-parent":t.hasContainer&&t.triggerHoverState,"stk--no-background":!t.hasContainer,"stk--no-padding":!t.hasContainer});return(0,oe.createElement)(qu,at({},e,{className:l,hasBackground:t.hasContainer,backgroundUrl:t.containerBackgroundMediaUrl,backgroundUrlTablet:t.containerBackgroundMediaUrlTablet,backgroundUrlMobile:t.containerBackgroundMediaUrlMobile,backgroundColorType:t.containerBackgroundColorType}))};vv.defaultProps={className:""},vv.Content=e=>{const{attributes:t,...a}=e,n=(0,Z.applyFilters)("stackable.container-div.uniqueClass.save",`stk-${t.uniqueId}-container`,`stk-${t.uniqueId}`,t),i=rt()([e.className,"stk-container",n],{"stk-hover-parent":t.hasContainer&&t.triggerHoverState,"stk--no-background":!t.hasContainer,"stk--no-padding":!t.hasContainer});return(0,oe.createElement)(qu.Content,at({},a,{className:i,hasBackground:t.hasContainer,backgroundUrl:t.containerBackgroundMediaUrl,backgroundUrlTablet:t.containerBackgroundMediaUrlTablet,backgroundUrlMobile:t.containerBackgroundMediaUrlMobile,backgroundColorType:t.containerBackgroundColorType}))},vv.Content.defaultProps={className:"",attributes:{}},vv.InspectorControls=e=>{const{sizeSelector:t=".stk-container",borderSelector:a=".stk-container",hasContentVerticalAlign:n=!1}=e,i=Be((e=>e.hasContainer)),l=Me(),r=qe(t),o=qe(a);return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(Fu,null,(0,oe.createElement)(ji,{title:(0,T.__)("Container",m.i18n),id:"container-size",hasToggle:!0,checked:i,onChange:e=>l({hasContainer:e})},(0,oe.createElement)(Th.Layout,{attrNameTemplate:"container%s",blockEl:r,enableMargin:!1,labels:{labelHeight:(0,T.__)("Container Min. Height",m.i18n),labelContentWidth:(0,T.__)("Max Container Width",m.i18n),labelHorizontalAlign:(0,T.__)("Container Horizontal Align",m.i18n),labelVerticalAlign:(0,T.__)("Container Vertical Align",m.i18n)},hasContentVerticalAlign:n,visualGuide:{selector:".stk-%s-container",highlight:"outline"}}),(0,oe.createElement)(Th.Spacing,{attrNameTemplate:"container%s",blockEl:r,enableMargin:!1,paddingPlaceholder:"32",visualGuide:{selector:".stk-%s-container"}}))),i&&(0,oe.createElement)(Du,null,(0,oe.createElement)(ji,{title:(0,T.__)("Container Background",m.i18n),id:"container"},(0,oe.createElement)(mc,{label:(0,T.__)("Trigger hover state on nested blocks",m.i18n),attribute:"triggerHoverState",defaultValue:!0}),(0,oe.createElement)(ch,{attrNameTemplate:"container%s"})),(0,oe.createElement)(ji,{title:(0,T.__)("Container Borders & Shadow",m.i18n),id:"container-size"},(0,oe.createElement)(hh,{attrNameTemplate:"container%s",blockEl:o}))))},vv.addAttributes=e=>{e.add({attributes:{hasContainer:{type:"boolean",default:!1},triggerHoverState:{type:"boolean",default:!0}},versionAdded:"3.0.0",versionDeprecated:""}),nh(e,"container%s"),dh(e,"container%s"),wh(e,"container%s")},vv.Style=hv;const bv=e=>{const t={...e,version:e.version,versionAdded:"3.0.0",versionDeprecated:""},{selector:a="",dependencies:n=[]}=e;return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(pd,at({},t,{renderIn:"edit",selectorCallback:(e,t,a)=>`[data-block="${a}"]`,styleRule:"flex",attrName:"columnWidth",key:"columnWidth-flex",responsive:["desktopTablet","tabletOnly","mobile"],format:"1 1 %s%",dependencies:["columnAdjacentCount",...n],valueCallback:(e,t,a)=>{if("desktop"===a)return e;const n=t("columnAdjacentCount",a);return n?e.replace(/([\d\.]+%)$/,`calc($1 - var(--stk-column-gap, 0px) * ${n-1} / ${n} )`):e}})),(0,oe.createElement)(pd,at({},t,{renderIn:"edit",selectorCallback:(e,t,a)=>`[data-block="${a}"]`,styleRule:"maxWidth",attrName:"columnWidth",key:"columnWidth-maxwidth",responsive:["desktopTablet","tabletOnly","mobile"],format:"%s%",dependencies:["columnAdjacentCount",...n],valueCallback:(e,t,a)=>{const n=t("columnAdjacentCount",a);return n?e.replace(/([\d\.]+%)$/,`calc($1 - var(--stk-column-gap, 0px) * ${n-1} / ${n} )`):e}})),(0,oe.createElement)(pd,at({},t,{renderIn:"save",selector:a,styleRule:"flex",attrName:"columnWidth",key:"columnWidth-save-flex",responsive:["desktopTablet","tabletOnly","mobile"],format:"1 1 %s%",dependencies:["columnAdjacentCount",...n],valueCallback:(e,t,a)=>{const n="desktop"===a?e:e.replace(/^1 1/,"0 1"),i=t("columnAdjacentCount",a);return i?n.replace(/([\d\.]+%)$/,`calc($1 - var(--stk-column-gap, 0px) * ${i-1} / ${i} )`):n}})))},fv=e=>(0,oe.createElement)(bv,e);fv.Content=e=>(0,oe.createElement)(bv,e);const yv=()=>[rt()(["stk-column"]),"stk-column-wrapper"],kv=e=>{const{isHovered:t,...a}=e,n=(()=>{const{clientId:e}=(0,ae.useBlockEditContext)();return{onChangeDesktop:t=>{const{parentBlock:a}=(0,te.select)("stackable/block-context").getBlockContext(e),n=(null==a?void 0:a.innerBlocks)||[];if(n.length){const[e,a]=t.reduce(((e,a,i)=>{const l=n[i].clientId;return e[0].push(l),e[1][l]={columnWidth:a,columnAdjacentCount:t.length},e}),[[],{}]);(0,te.dispatch)("core/block-editor").updateBlockAttributes(e,a,!0)}},onChangeTablet:(t,a)=>{const n=[e],i={[e]:{columnWidthTablet:t}},{parentBlock:l}=(0,te.select)("stackable/block-context").getBlockContext(e),r=(null==l?void 0:l.innerBlocks)||[];if(r.length){const e=lu(a);a.forEach(((t,a)=>{const l=r[a].clientId;n.push(l),i[l]={columnWidthTablet:t,columnAdjacentCountTablet:e.filter((t=>t===e[a])).length}}))}(0,te.dispatch)("core/block-editor").updateBlockAttributes(n,i,!0)},onChangeMobile:(t,a)=>{const n=[e],i={[e]:{columnWidthMobile:t}},{parentBlock:l}=(0,te.select)("stackable/block-context").getBlockContext(e),r=(null==l?void 0:l.innerBlocks)||[];if(r.length){const e=lu(a);a.forEach(((t,a)=>{const l=r[a].clientId;n.push(l),i[l]={columnWidthMobile:t,columnAdjacentCountMobile:e.filter((t=>t===e[a])).length}}))}(0,te.dispatch)("core/block-editor").updateBlockAttributes(n,i,!0)},onResetDesktop:()=>{const{parentBlock:t}=(0,te.select)("stackable/block-context").getBlockContext(e),a=(null==t?void 0:t.innerBlocks)||[];if(a.length){const e=a.map((e=>e.clientId));(0,te.dispatch)("core/block-editor").updateBlockAttributes(e,{columnWidth:""})}}}})(),i=Be((e=>({columnWidth:e.columnWidth,columnWidthTablet:e.columnWidthTablet,columnWidthMobile:e.columnWidthMobile})));return(0,oe.createElement)(du,at({showHandle:t,isHovered:t,columnWidth:i.columnWidth,columnWidthTablet:i.columnWidthTablet,columnWidthMobile:i.columnWidthMobile},n,a))};kv.defaultProps={isHovered:!0},kv.InspectorControls=null,kv.addAttributes=e=>{e.add({attributes:{columnWidth:{stkResponsive:!0,type:"number",default:""},columnAdjacentCount:{stkResponsive:!0,type:"number",default:""}},versionAdded:"3.0.0",versionDeprecated:""})},kv.Style=fv;const xv=e=>{const{label:t,sliderMax:a=6}=e,{clientId:n}=(0,ae.useBlockEditContext)(),{numInnerBlocks:i,innerBlocks:l}=re(),[r,o]=yp("stk__columns_new_duplicate",!1);return(0,oe.createElement)(Ja,{label:t,min:1,sliderMax:a,placeholder:"1",value:i,onChange:e=>{const{insertBlock:t,removeBlocks:a}=(0,te.dispatch)("core/block-editor");if(""===e);else if(e<i){const t=l.slice(e).map((e=>{let{clientId:t}=e;return t}));a(t,!1)}else if(e>i&&!r){const a=e-i;for(let e=0;e<a;e++)t((0,ze.getBlockFromExample)("stackable/column",{}),i+e+1,n,!1)}else if(e>i){const a=e-i,r=(0,u.last)(l),o=r?(0,te.select)("core/block-editor").getBlock(r.clientId):{};for(let e=0;e<a;e++)t((0,ze.getBlockFromExample)("stackable/column",(0,u.pick)(o,["attributes","innerBlocks"])),i+e+1,n,!1)}},allowReset:!1,after:(0,oe.createElement)(wv,{isPressed:r,onClick:()=>o(!r)})})},wv=e=>(0,oe.createElement)(Ws,{text:(0,T.__)("When enabled, the last column will be cloned instead of adding a blank column.",m.i18n)},(0,oe.createElement)(ot.Button,{className:"stk-control-columns__settings-button",isSmall:!0,isTertiary:!0,isPressed:e.isPressed,"aria-label":(0,T.__)("Settings",m.i18n),onClick:e.onClick,icon:(0,oe.createElement)(ot.Dashicon,{icon:"admin-page"})}));xv.defaultProps={label:(0,T.__)("Columns",m.i18n)},wv.defaultProps={isPressed:!1,onClick:null};const Cv=e=>{const[,t]=(0,oe.useState)(0),a=de(),{clientId:n}=(0,ae.useBlockEditContext)(),{numInnerBlocks:i,innerBlocks:l}=re(),r=Be((e=>({columnArrangementTablet:e.columnArrangementTablet,columnArrangementMobile:e.columnArrangementMobile}))),o=Me(),s=[],c=[],d=[];let g=!1,p=!1;l.forEach((e=>{let{clientId:t}=e;const a=(0,te.select)("core/block-editor").getBlockAttributes(t);s.push(a.columnWidth),c.push(a.columnWidthTablet),d.push(a.columnWidthMobile),a.columnWidthTablet&&(g=!0),a.columnWidthMobile&&(p=!0)}));const h=(0,u.range)(i).map((e=>(e+1).toString())).join(","),v="Desktop"===a?h:"Tablet"===a?r.columnArrangementTablet||h:r.columnArrangementMobile||h;return(0,oe.createElement)(oe.Fragment,null,e.hasColumnsControl&&(0,oe.createElement)(xv,null),i>1&&"Tablet"!==a&&"Mobile"!==a&&(0,oe.createElement)(Im,{columns:i,values:s,hasTabletValue:g,hasMobileValue:p,responsive:"all",onChange:e=>{const n=[],i={},r=L("columnWidth",a),o=L("columnAdjacentCount",a);l.forEach(((t,a)=>{n.push(t.clientId),i[t.clientId]={[r]:e[a],[o]:e.length}})),(0,te.dispatch)("core/block-editor").updateBlockAttributes(n,i,!0),t(Math.random())}}),i>1&&("Tablet"===a||"Mobile"===a)&&(0,oe.createElement)(Am,{columns:i,values:"Tablet"===a?c:d,responsive:"all",hasTabletValue:g,hasMobileValue:p,placeholders:"Tablet"===a?s:Array(i).fill("100"),allowReset:!0,onChange:e=>{const n=lu(e),i=[],r={},o=L("columnWidth",a),s=L("columnAdjacentCount",a);l.forEach(((t,a)=>{i.push(t.clientId),r[t.clientId]={[o]:e[a],[s]:n.filter((e=>e===n[a])).length}})),(0,te.dispatch)("core/block-editor").updateBlockAttributes(i,r,!0),t(Math.random())}}),i>1&&(0,oe.createElement)(Oi,{responsive:"all",attribute:"columnArrangement",axis:"Mobile"!==a?"x":"y",values:v,num:i,allowReset:!0,onChange:(e,t)=>{let{oldIndex:i,newIndex:r}=t;if("Tablet"!==a&&"Mobile"!==a)(0,te.dispatch)("core/block-editor").moveBlockToPosition(l[i].clientId,n,n,r);else{const t=L("columnArrangement",a);o({[t]:(e||[]).join(",")})}}}),(0,oe.createElement)(Zs,null),e.hasGap&&(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(Ja,{label:(0,T.__)("Inner Column Spacing",m.i18n),attribute:"columnSpacing",responsive:"all",units:["px","em"],defaultLocked:!0,min:[0,0],sliderMax:[200,30],placeholder:1===i?"0":"12",visualGuide:{selector:'.stk-%s-column > * > * > [data-type="stackable/column"] > * > .stk-column > .stk-inner-blocks',highlight:"column-spacing",defaultValue:"12px"},helpTooltip:{description:(0,T.__)("Sets column paddings, the space inside the block between the block elements and the column container border",m.i18n)}}),(0,oe.createElement)(Ja,{label:(0,T.__)("Column Gap",m.i18n),attribute:"columnGap",responsive:"all",min:0,sliderMax:100,placeholder:"0",visualGuide:{selector:".stk-%s-column > * > *",highlight:"columns:column-gap",responsive:["desktop"]},helpTooltip:{video:"column-gap",description:(0,T.__)("Sets the distance between two or more columns",m.i18n)}}),(0,oe.createElement)(Ja,{label:(0,T.__)("Row Gap",m.i18n),attribute:"rowGap",responsive:"all",min:0,sliderMax:100,placeholder:"0",helpTooltip:{description:(0,T.__)("Sets the distance between two or more columns",m.i18n)}})))},_v=e=>(0,oe.createElement)(zu,null,(0,oe.createElement)(Cv,e));_v.defaultProps={hasColumnsControl:!0,hasGap:!0},_v.Controls=Cv;const Sv=e=>{const t={...e,version:e.version,versionAdded:"3.0.0",versionDeprecated:""},{hasRowGap:a=!0,numColumns:n}=e;return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(pd,at({},t,{selector:".%s-column",styleRule:"--stk-columns-spacing",attrName:"columnSpacing",key:"columnSpacing",hasUnits:"px",responsive:"all"})),(0,oe.createElement)(pd,at({},t,{renderIn:"save",selector:".%s-column",styleRule:"--stk-column-gap",attrName:"columnGap",key:"columnGap-save",format:"%spx",responsive:"all"})),(0,oe.createElement)(pd,at({},t,{renderIn:"edit",selector:".%s-column > .block-editor-inner-blocks > .block-editor-block-list__layout",styleRule:"--stk-column-gap",attrName:"columnGap",key:"columnGap",format:"%spx",responsive:"all"})),a&&(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(pd,at({},t,{renderIn:"save",selector:".%s-column",styleRule:"rowGap",attrName:"rowGap",key:"rowGap-save",format:"%spx",responsive:"all"})),(0,oe.createElement)(pd,at({},t,{renderIn:"edit",selector:".%s-column > .block-editor-inner-blocks > .block-editor-block-list__layout",styleRule:"rowGap",attrName:"rowGap",key:"rowGap",format:"%spx",responsive:"all"}))),(0,oe.createElement)(pd,at({},t,{renderIn:"save",selector:".%s-column",styleRule:"justifyContent",attrName:"columnJustify",key:"columnJustify-save",responsive:"all"})),(0,oe.createElement)(pd,at({},t,{renderIn:"edit",selector:".%s-column > .block-editor-inner-blocks > .block-editor-block-list__layout",styleRule:"justifyContent",attrName:"columnJustify",key:"columnJustify",responsive:"all"})),(0,u.range)(1,n+1).map((e=>(0,oe.createElement)(oe.Fragment,{key:`column-arrangement-${e}`},(0,oe.createElement)(pd,at({},t,{renderIn:"edit",selector:`> .stk-block-content > .block-editor-inner-blocks > .block-editor-block-list__layout > :nth-child(${e})`,styleRule:"order",responsive:"all",attrName:"columnArrangement",key:"columnArrangement",valueCallback:t=>(t.split(",")||[]).indexOf(e.toString())+1,valuePreCallback:(e,t,a)=>{const i=t("columnArrangement","tablet");return"mobile"===a&&!e&&i?[...Array(n).keys()].map((e=>e+1)).join(","):e}})),(0,oe.createElement)(pd,at({},t,{renderIn:"save",styleRule:`--stk-col-order-${e}`,responsive:"all",attrName:"columnArrangement",key:"columnArrangement-save",valueCallback:t=>(t.split(",")||[]).indexOf(e.toString())+1,valuePreCallback:(e,t,a)=>{const i=t("columnArrangement","tablet");return"mobile"===a&&!e&&i?[...Array(n).keys()].map((e=>e+1)).join(","):e}}))))))},Ev=e=>{const t=Be((e=>e.columnArrangementMobile||e.columnArrangementTablet)),a=(t||"").split(",").length;return(0,oe.createElement)(Sv,at({},e,{numColumns:a}))};Ev.Content=e=>{const t=(e.attributes.columnArrangementMobile||e.attributes.columnArrangementTablet||"").split(",").length;return(0,oe.createElement)(Sv,at({},e,{numColumns:t}))};const Tv=()=>null;Tv.InspectorControls=_v,Tv.Style=Ev,Tv.addAttributes=e=>{e.add({attributes:{columnSpacing:{stkResponsive:!0,stkUnits:"px",type:"number",default:""},columnGap:{stkResponsive:!0,type:"number",default:""},rowGap:{stkResponsive:!0,type:"number",default:""}},versionAdded:"3.0.0",versionDeprecated:""})},(0,Z.addFilter)("stackable.block-components.content-align.getContentAlignmentClasses","stackable/3_7_3",((e,t)=>(e["stk--fit-content"]=t.columnFit,e)));const Bv=()=>{const e=Be((e=>({align:e.align,columnFit:e.columnFit})));return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(xn,{label:(0,T.__)("Block Width",m.i18n),attribute:"align",default:"",controls:[{value:"",title:(0,T.__)("Align Center",m.i18n),icon:"align-center"},{value:"wide",title:(0,T.__)("Align Wide",m.i18n),icon:"align-wide"},{value:"full",title:(0,T.__)("Align Full",m.i18n),icon:"align-full-width"}],visualGuide:{highlight:"outline"}}),(0,oe.createElement)(xn,{label:(0,T.__)("Content Width",m.i18n),attribute:"innerBlockContentAlign",default:e.align?`align${e.align}`:"",controls:[{value:"",title:(0,T.__)("Align Center",m.i18n),icon:"align-center"},{value:"alignwide",title:(0,T.__)("Align Wide",m.i18n),icon:"align-wide"},{value:"alignfull",title:(0,T.__)("Align Full",m.i18n),icon:"align-full-width"}],help:(0,T.__)("Set the content to be smaller than the block width",m.i18n),visualGuide:{selector:", .stk-%s-column",highlight:"outline-first-offset"}}))},Mv=e=>(0,oe.createElement)(zu,null,(0,oe.createElement)(Bv,e));Mv.Controls=Bv;const Nv=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"column";return rt()("stk-content-align",`stk-${e.uniqueId}-${t}`,(0,Z.applyFilters)("stackable.block-components.content-align.getContentAlignmentClasses",{"stk--flex":e.columnJustify,alignwide:"alignwide"===e.innerBlockContentAlign,alignfull:"alignfull"===e.innerBlockContentAlign},e))},Iv=()=>null;Iv.InspectorControls=Mv,Iv.Style=null,Iv.addAttributes=e=>{(e=>{e.add({attributes:{columnFit:{type:"boolean",default:""},columnFitAlign:{type:"string",default:"",stkResponsive:!0}},versionAdded:"3.0.0",versionDeprecated:""})})(e),e.add({attributes:{innerBlockContentAlign:{type:"string",default:""}},versionAdded:"3.0.0",versionDeprecated:""})};const Rv=e=>{const t=Be((e=>e.customCSSMinified));return m.showProNotice||m.isPro?(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)($u,null,(0,oe.createElement)(ji,{title:(0,T.__)("Custom CSS",m.i18n),id:"custom-css",isPremiumPanel:!m.isPro,showModifiedIndicator:!!t},!m.isPro&&(0,oe.createElement)(fa,{type:"custom-css"}),m.isPro&&(0,Z.applyFilters)("stackable.block-component.custom-css.control",null,{mainBlockClass:e.mainBlockClass})))):null};Rv.defaultProps={mainBlockClass:""};const Av=e=>(0,Z.applyFilters)("stackable.block-component.custom-css",null,e);Av.defaultProps={mainBlockClass:""},Av.Content=e=>(0,Z.applyFilters)("stackable.block-component.custom-css.content",null,e),Av.Content.defaultProps={attributes:{}},Av.InspectorControls=Rv,Av.addAttributes=e=>{e.add({attributes:{customCSS:{type:"string",default:""},customCSSMinified:{type:"string",source:"html",selector:"style.stk-custom-css",default:""}},versionAdded:"3.0.0",versionDeprecated:""})};const Ov=e=>m.showProNotice||m.isPro?(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)($u,null,(0,oe.createElement)(ji,{title:(0,T.__)("Motion Effects",m.i18n),id:"effects-animations",isPremiumPanel:!m.isPro},!m.isPro&&(0,oe.createElement)(fa,{type:"motion-effects"}),m.isPro&&(0,Z.applyFilters)("stackable.block-component.effects-animations.control",null,{mainBlockClass:e.mainBlockClass})))):null;Ov.defaultProps={mainBlockClass:""};const Pv=e=>{const t=(0,Z.applyFilters)("stackable.block-component.effects-animations.style",null);return t&&(0,oe.createElement)(t,e)};Pv.Content=e=>{const t=(0,Z.applyFilters)("stackable.block-component.effects-animations.style.content",null);return t&&(0,oe.createElement)(t,e)};const Hv=e=>(0,Z.applyFilters)("stackable.block-component.effects-animations",null,e);Hv.defaultProps={mainBlockClass:""},Hv.Content=e=>(0,Z.applyFilters)("stackable.block-component.effects-animations.content",null,e),Hv.Content.defaultProps={attributes:{}},Hv.InspectorControls=Ov,Hv.addAttributes=e=>{e.add({attributes:{effectType:{type:"string",default:""},effectEntrance:{type:"string",stkResponsive:"all",default:""},effectEntranceDuration:{type:"string",default:""},effectEntranceDelay:{type:"number",default:""},effectAnimationSmooth:{type:"boolean",default:""},effectAnimation3d:{type:"boolean",default:""},effectAnimationPerspective:{type:"number",default:""},effectAnimationOut:{type:"object",default:{}},effectAnimationIn:{type:"object",default:{}}},versionAdded:"3.0.0",versionDeprecated:""})},Hv.Style=Pv;const Lv=[{align:"left",title:(0,T.__)("Align Left",m.i18n),icon:"editor-alignleft"},{align:"center",title:(0,T.__)("Align Center",m.i18n),icon:"editor-aligncenter"},{align:"right",title:(0,T.__)("Align Right",m.i18n),icon:"editor-alignright"},{align:"justify",title:(0,T.__)("Justified",m.i18n),icon:"editor-justify"}],zv=Lv.filter((e=>"justify"!==e.align)),Fv=e=>{const{contentAlign:t,columnJustify:a,innerBlockOrientation:n,innerBlockWrap:i,containerWidth:l,containerWidthTablet:r,containerWidthMobile:o,alignLastBlockToBottom:s,innerBlockRowGap:c,innerBlockColumnGap:u}=Be((e=>({contentAlign:e.contentAlign,columnJustify:e.columnJustify,innerBlockOrientation:e.innerBlockOrientation,innerBlockWrap:e.innerBlockWrap,containerWidth:e.containerWidth,containerWidthTablet:e.containerWidthTablet,containerWidthMobile:e.containerWidthMobile,alignLastBlockToBottom:e.alignLastBlockToBottom,innerBlockRowGap:e.innerBlockRowGap,innerBlockColumnGap:e.innerBlockColumnGap}))),d=Me(),g=de(),{labelContentAlign:p=(0,T.sprintf)((0,T.__)("%s Alignment",m.i18n),(0,T.__)("Content",m.i18n))}=e,h=e.hasContainerSize&&(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(Zs,null),e.hasContainerHeight&&(0,oe.createElement)(Ja,{label:(0,T.__)("Content Min. Height",m.i18n),attribute:"containerHeight",responsive:"all",units:["px","vh"],min:[0,0],sliderMax:[1e3,100],step:[1,1],allowReset:!0,placeholder:"0",visualGuide:{selector:".stk-%s-container",highlight:"outline"}}),(0,oe.createElement)(Ja,{label:(0,T.__)("Content Max Width",m.i18n),attribute:"containerWidth",responsive:"all",units:["px","%"],min:[0,0],sliderMax:[1500,100],step:[1,1],allowReset:!0,placeholder:"",initialPosition:"1500",visualGuide:{selector:".stk-%s-container",highlight:"outline"}}),(""!==l&&"Desktop"===g||(""!==l||""!==r)&&"Tablet"===g||(""!==l||""!==r||""!==o)&&"Mobile"===g)&&(0,oe.createElement)(xn,{label:(0,T.__)("Content Horizontal Align",m.i18n),attribute:"containerHorizontalAlign",responsive:"all",controls:"horizontal",helpTooltip:{video:"content-horizontal-align",description:(0,T.__)("Sets the placement of the column container to left, center or right. Not available when block width is set to full width.",m.i18n)},visualGuide:{selector:".stk-%s-container",highlight:"outline"}}));return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(ae.BlockControls,null,(0,oe.createElement)(ae.AlignmentToolbar,{value:t,onChange:e=>d({contentAlign:e}),alignmentControls:e.hasContentJustify?Lv:zv})),(0,oe.createElement)(zu,null,e.containerSizePriority<5&&h,(0,oe.createElement)(fr,{label:p,attribute:"contentAlign",responsive:"all",justified:e.hasContentJustify,helpTooltip:{video:"alignment-all",description:(0,T.__)("Adjusts the placement of all content in the block to align left, center or right",m.i18n)}}),e.hasColumnJustify&&(0,oe.createElement)(xn,{label:(0,T.sprintf)((0,T.__)("%s Justify",m.i18n),(0,T.__)("Column",m.i18n)),attribute:"columnJustify",responsive:"all",controls:"flex-horizontal",disableTablet:!a,disableMobile:!a,helpTooltip:{video:"content-horizontal-align",description:(0,T.__)("Sets the horizontal position and spacing of the inner columns.",m.i18n)},visualGuide:{selector:".stk-%s-column > * > * > [data-type]",highlight:"outline"},help:(0,T.__)("Column contents need to be narrow for effect to show.",m.i18n)}),e.hasColumnAlignment&&(0,oe.createElement)(xn,{label:(0,T.sprintf)((0,T.__)("%s Alignment",m.i18n),(0,T.__)("Column",m.i18n)),attribute:"columnAlign",responsive:"all",controls:"flex-vertical",helpTooltip:{video:"column-vertical-align",description:(0,T.__)("Sets the vertical position of the inner columns relative to the columns block.",m.i18n)},visualGuide:{selector:', .stk-block-columns:has( > .stk-inner-blocks > * > * > [data-type="stackable/column"] > * > .stk-%s)',highlight:"outline-second-offset"}}),e.hasRowAlignment&&(0,oe.createElement)(xn,{label:(0,T.sprintf)((0,T.__)("%s Alignment",m.i18n),(0,T.__)("Column",m.i18n)),attribute:"rowAlign",responsive:"all",controls:"flex-vertical",helpTooltip:{video:"column-vertical-align",description:(0,T.__)("Sets the vertical position of the inner columns relative to the columns block.",m.i18n)},visualGuide:{selector:".stk-%s-column > * > * > [data-type]",highlight:"outline"}}),5===e.containerSizePriority&&h,(e.hasColumnAlignment||e.hasBlockAlignment)&&(0,oe.createElement)(Zs,null),(e.hasColumnAlignment||e.hasBlockAlignment)&&(0,oe.createElement)(xn,{label:(0,T.sprintf)((0,T.__)("%s Direction",m.i18n),(0,T.__)("Inner Block",m.i18n)),controls:[{value:"horizontal",title:(0,T.__)("Horizontal",m.i18n)},{value:"",title:(0,T.__)("Vertical",m.i18n)}],attribute:"innerBlockOrientation",onChange:e=>{const t={innerBlockOrientation:e};""===e?t.innerBlockJustify="":t.innerBlockAlign="",d(t)}}),(e.hasColumnAlignment||e.hasBlockAlignment)&&(0,oe.createElement)(xn,{label:(0,T.sprintf)((0,T.__)("%s Justify",m.i18n),(0,T.__)("Inner Block",m.i18n)),attribute:"innerBlockJustify",responsive:"all",controls:n?"flex-horizontal":"horizontal",visualGuide:{selector:".stk-%s-container, .stk-%s-container > * > .block-editor-block-list__layout > [data-type]",highlight:"outline-first-offset"},helpTooltip:{description:(0,T.__)("Sets the horizontal/vertical position and spacing of the inner blocks.",m.i18n)}}),(e.hasColumnAlignment||e.hasBlockAlignment)&&(0,oe.createElement)(xn,{label:(0,T.sprintf)((0,T.__)("%s Alignment",m.i18n),(0,T.__)("Inner Block",m.i18n)),attribute:"innerBlockAlign",responsive:"all",controls:n?"vertical":"flex-justify-vertical",disabled:s?"all":void 0,visualGuide:{selector:".stk-%s-container, .stk-%s-container > * > .block-editor-block-list__layout > [data-type]",highlight:"outline-first-offset"},helpTooltip:{description:(0,T.__)("Aligns the horizontal/vertical position of the inner blocks.",m.i18n)},help:(0,T.__)("Set Content Min. Height for alignment to display properly",m.i18n)}),n&&(0,oe.createElement)(xn,{label:(0,T.__)("Inner Block Wrapping",m.i18n),controls:[{value:"",title:(0,T.__)("No Wrap",m.i18n)},{value:"wrap",title:(0,T.__)("Wrap",m.i18n)}],attribute:"innerBlockWrap"}),n&&(0,oe.createElement)(Ja,{label:"wrap"===i?(0,T.sprintf)((0,T.__)("%s %s",m.i18n),(0,T.__)("Inner Block",m.i18n),(0,T.__)("Column Gap",m.i18n)):(0,T.sprintf)((0,T.__)("%s %s",m.i18n),(0,T.__)("Inner Block",m.i18n),(0,T.__)("Gap",m.i18n)),responsive:"all",min:0,sliderMax:100,placeholder:"24",attribute:"innerBlockColumnGap",helpTooltip:{description:(0,T.__)("Sets the gap between the columns of inner blocks.",m.i18n)},visualGuide:"wrap"!==i?{selector:".stk-%s-container > * > .block-editor-block-list__layout",highlight:"column-gap",value:u}:null}),(e.hasColumnAlignment||e.hasBlockAlignment)&&!n&&(0,oe.createElement)(Ja,{label:(0,T.sprintf)((0,T.__)("%s %s",m.i18n),(0,T.__)("Inner Block",m.i18n),(0,T.__)("Gap",m.i18n)),responsive:"all",min:0,sliderMax:100,placeholder:"0",attribute:"innerBlockRowGap",helpTooltip:{description:(0,T.__)("Sets the gap between inner blocks.",m.i18n)},visualGuide:{selector:".stk-%s-container > * > .block-editor-block-list__layout",highlight:"row-gap",value:c}}),n&&"wrap"===i&&(0,oe.createElement)(Ja,{label:(0,T.sprintf)((0,T.__)("%s %s",m.i18n),(0,T.__)("Inner Block",m.i18n),(0,T.__)("Row Gap",m.i18n)),responsive:"all",min:0,sliderMax:100,placeholder:"0",attribute:"innerBlockRowGap",helpTooltip:{description:(0,T.__)("Sets the gap between the rows of inner blocks.",m.i18n)}})))};Fv.defaultProps={hasColumnJustify:!1,hasRowAlignment:!1,hasColumnAlignment:!1,hasBlockAlignment:!1,hasContentJustify:!1,hasContainerSize:!1,hasContainerHeight:!0,containerSizePriority:5};const Dv=e=>{const t={...e,version:e.version,versionAdded:"3.0.0",versionDeprecated:""},{selectorCallback:a=(e=>`.stk--block-align-${e("uniqueId")}`),editorSelectorCallback:n=(e=>`.stk--block-align-${e("uniqueId")}`),columnAlignSelectorCallback:i=(()=>""),innerBlockSelectorCallback:l=(e=>`.stk-${e("uniqueId")}-inner-blocks > .block-editor-inner-blocks > .block-editor-block-list__layout`),editorInnerBlockSelectorCallback:r=(e=>`.stk-${e("uniqueId")}-inner-blocks`),dependencies:o=[]}=e;return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(pd,at({},t,{selectorCallback:i,responsive:"all",styleRule:"alignSelf",attrName:"columnAlign",key:"columnAlign"})),(0,oe.createElement)(pd,at({},t,{renderIn:"save",selectorCallback:a,styleRule:"alignItems",attrName:"rowAlign",key:"rowAlign-save",responsive:"all",enabledCallback:e=>"horizontal"!==e("innerBlockOrientation"),dependencies:["innerBlockOrientation",...o]})),(0,oe.createElement)(pd,at({},t,{renderIn:"edit",selectorCallback:n,styleRule:"alignItems",attrName:"rowAlign",key:"rowAlign",responsive:"all",enabledCallback:e=>"horizontal"!==e("innerBlockOrientation"),dependencies:["innerBlockOrientation",...o]})),(0,oe.createElement)(pd,at({},t,{renderIn:"edit",selectorCallback:l,styleRule:"alignItems",attrName:"innerBlockJustify",key:"innerBlockJustifyVerticalEdit",responsive:"all",enabledCallback:e=>"horizontal"!==e("innerBlockOrientation"),dependencies:["innerBlockOrientation",...o]})),(0,oe.createElement)(pd,at({},t,{renderIn:"save",selectorCallback:r,styleRule:"alignItems",attrName:"innerBlockJustify",key:"innerBlockJustifyVerticalSave",responsive:"all",enabledCallback:e=>"horizontal"!==e("innerBlockOrientation"),dependencies:["innerBlockOrientation",...o]})),(0,oe.createElement)(pd,at({},t,{renderIn:"edit",selectorCallback:l,styleRule:"justifyContent",attrName:"innerBlockAlign",key:"innerBlockAlignVerticalEdit",responsive:"all",enabledCallback:e=>"horizontal"!==e("innerBlockOrientation"),dependencies:["innerBlockOrientation",...o]})),(0,oe.createElement)(pd,at({},t,{renderIn:"save",selectorCallback:r,styleRule:"justifyContent",attrName:"innerBlockAlign",key:"innerBlockAlignVerticalSave",responsive:"all",enabledCallback:e=>"horizontal"!==e("innerBlockOrientation"),dependencies:["innerBlockOrientation",...o]})),(0,oe.createElement)(pd,at({},t,{renderIn:"edit",selectorCallback:l,styleRule:"justifyContent",attrName:"innerBlockJustify",key:"innerBlockJustifyHorizontalEdit",responsive:"all",enabledCallback:e=>"horizontal"===e("innerBlockOrientation"),dependencies:["innerBlockOrientation",...o]})),(0,oe.createElement)(pd,at({},t,{renderIn:"save",selectorCallback:r,styleRule:"justifyContent",attrName:"innerBlockJustify",key:"innerBlockJustifyHorizontalSave",responsive:"all",enabledCallback:e=>"horizontal"===e("innerBlockOrientation"),dependencies:["innerBlockOrientation",...o]})),(0,oe.createElement)(pd,at({},t,{renderIn:"edit",selectorCallback:l,styleRule:"alignItems",attrName:"innerBlockAlign",key:"innerBlockAlignHorizontalEdit",responsive:"all",enabledCallback:e=>"horizontal"===e("innerBlockOrientation"),dependencies:["innerBlockOrientation",...o]})),(0,oe.createElement)(pd,at({},t,{renderIn:"save",selectorCallback:r,styleRule:"alignItems",attrName:"innerBlockAlign",key:"innerBlockAlignHorizontalSave",responsive:"all",enabledCallback:e=>"horizontal"===e("innerBlockOrientation"),dependencies:["innerBlockOrientation",...o]})),(0,oe.createElement)(pd,at({},t,{renderIn:"edit",selectorCallback:l,styleRule:"flexWrap",attrName:"innerBlockWrap",key:"innerBlockWrapEdit",responsive:"all",enabledCallback:e=>"horizontal"===e("innerBlockOrientation"),dependencies:["innerBlockOrientation",...o]})),(0,oe.createElement)(pd,at({},t,{renderIn:"save",selectorCallback:r,styleRule:"flexWrap",attrName:"innerBlockWrap",key:"innerBlockWrapSave",responsive:"all",enabledCallback:e=>"horizontal"===e("innerBlockOrientation"),dependencies:["innerBlockOrientation",...o]})),(0,oe.createElement)(pd,at({},t,{renderIn:"edit",selectorCallback:l,styleRule:"columnGap",attrName:"innerBlockColumnGap",key:"innerBlockColumnGapEdit",format:"%spx",responsive:"all",enabledCallback:e=>"horizontal"===e("innerBlockOrientation"),dependencies:["innerBlockOrientation",...o]})),(0,oe.createElement)(pd,at({},t,{renderIn:"save",selectorCallback:r,styleRule:"columnGap",attrName:"innerBlockColumnGap",key:"innerBlockColumnGapSave",format:"%spx",responsive:"all",enabledCallback:e=>"horizontal"===e("innerBlockOrientation"),dependencies:["innerBlockOrientation",...o]})),(0,oe.createElement)(pd,at({},t,{renderIn:"edit",selectorCallback:l,styleRule:"rowGap",attrName:"innerBlockRowGap",key:"innerBlockRowGapEdit",format:"%spx",responsive:"all",enabledCallback:e=>"horizontal"!==e("innerBlockOrientation")||"horizontal"===e("innerBlockOrientation")&&"wrap"===e("innerBlockWrap"),dependencies:["innerBlockOrientation","innerBlockWrap",...o]})),(0,oe.createElement)(pd,at({},t,{renderIn:"save",selectorCallback:r,styleRule:"rowGap",attrName:"innerBlockRowGap",key:"innerBlockRowGapSave",format:"%spx",responsive:"all",enabledCallback:e=>"horizontal"!==e("innerBlockOrientation")||"horizontal"===e("innerBlockOrientation")&&"wrap"===e("innerBlockWrap"),dependencies:["innerBlockOrientation","innerBlockWrap",...o]})),(0,oe.createElement)(pd,at({},t,{renderIn:"edit",selectorCallback:l,styleRule:"alignContent",attrName:"innerBlockAlign",key:"innerBlockAlignWrapEdit",responsive:"all",enabledCallback:e=>"horizontal"===e("innerBlockOrientation")&&"wrap"===e("innerBlockWrap"),dependencies:["innerBlockOrientation","innerBlockWrap",...o]})),(0,oe.createElement)(pd,at({},t,{renderIn:"save",selectorCallback:r,styleRule:"alignContent",attrName:"innerBlockAlign",key:"innerBlockAlignWrapSave",responsive:"all",enabledCallback:e=>"horizontal"===e("innerBlockOrientation")&&"wrap"===e("innerBlockWrap"),dependencies:["innerBlockOrientation","innerBlockWrap",...o]})))},$v=e=>(0,oe.createElement)(Dv,e);$v.Content=e=>(0,oe.createElement)(Dv,e);const Uv=e=>{let{innerBlockOrientation:t}=e;return t||"vertical"},Vv=e=>rt()({[`has-text-align-${e.contentAlign}`]:e.contentAlign,[`has-text-align-${e.contentAlignTablet}-tablet`]:e.contentAlignTablet,[`has-text-align-${e.contentAlignMobile}-mobile`]:e.contentAlignMobile,"stk--block-horizontal-flex":"horizontal"===e.innerBlockOrientation,"stk--column-flex":e.innerBlockJustify||e.innerBlockAlign,[`stk--block-align-${e.uniqueId}`]:e.rowAlign||e.rowAlignTablet||e.rowAlignMobile}),Wv=()=>null;Wv.InspectorControls=Fv,Wv.addAttributes=e=>{e.add({attributes:{align:{type:"string"},contentAlign:{stkResponsive:!0,type:"string",default:""},rowAlign:{stkResponsive:!0,type:"string",default:""},columnJustify:{type:"string",default:"",stkResponsive:!0},columnAlign:{stkResponsive:!0,type:"string",default:""},innerBlockOrientation:{type:"string",default:""},innerBlockJustify:{stkResponsive:!0,type:"string",default:""},innerBlockAlign:{stkResponsive:!0,type:"string",default:""},innerBlockWrap:{type:"string",default:""},innerBlockColumnGap:{stkResponsive:!0,type:"number",default:""},innerBlockRowGap:{stkResponsive:!0,type:"number",default:""}},versionAdded:"3.0.0",versionDeprecated:""})},Wv.Style=$v;const Gv=e=>rt()(["stk-row"],{[`stk-columns-${e.numInnerBlocks}`]:e.numInnerBlocks&&e.numInnerBlocks>1}),jv=e=>{const{numInnerBlocks:t}=re(),a=Be();return(0,oe.useEffect)((()=>{a.numInnerBlocks=t}),[t]),(0,oe.createElement)(oe.Fragment,{children:e.children})};jv.InspectorControls=null,jv.addAttributes=e=>{e.add({attributes:{numInnerBlocks:{type:"number",default:""}},versionAdded:"3.0.0",versionDeprecated:""})},jv.addStyles=()=>{};const qv={circle:function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100"},e),(0,oe.createElement)("circle",{cx:50,cy:50,r:50}))},square:function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 200"},e),(0,oe.createElement)("path",{className:"square_svg__st0",d:"M0 0h200v200H0z"}))},blob1:function(e){return(0,oe.createElement)("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 200"},e),(0,oe.createElement)("path",{d:"M188.5 31.9c12.9 15.9 12.5 43.3 10.3 77.1s-6.2 74.2-26.2 86.5-56.1-3.3-89.4-21.2-63.7-38.1-76.4-69.8C-5.9 73-.8 29.9 21.6 11.7 44-6.4 83.8.5 116.7 6.1s59 10 71.8 25.8z"}))}},Kv=(e,t,a,n)=>{if(!e)return{};const i=(e=>{const t=(0,Z.applyFilters)("stackable.image.shape.svgs",qv);return t[e]?t[e]:null})(e),l=(0,oe.createElement)(i,{preserveAspectRatio:!["","square"].includes(e)&&n?"none":void 0,transform:t||a?`scale(${t?-1:1},${a?-1:1})`:void 0});return`url('data:image/svg+xml;base64,${btoa(Ag(l))}')`},Jv=e=>{let{x:t,y:a}=e,n=(0,u.toNumber)(t),i=(0,u.toNumber)(a);return n=isNaN(n)?50:100*n,i=isNaN(i)?50:100*i,`${n}% ${i}%`},Yv=e=>{const t={...e,version:e.version,versionAdded:"3.0.0",versionDeprecated:""},{selector:a=".stk-img-wrapper",hoverSelector:n=".stk-img-wrapper:hover",hoverSelectorCallback:i=null,enableWidth:l=!0,enableHeight:r=!0,widthStyleRule:o=null,widthUnitCallback:s=null,heightUnitCallback:c=null,dependencies:u=[]}=e;return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(pd,at({},t,{selector:`${a}:not(.stk--is-resizing)`,renderIn:"edit",styleRule:"width",attrName:"imageWidth",key:"imageWidth",hasUnits:"%",unitCallback:s,responsive:"all",enabledCallback:()=>l})),(0,oe.createElement)(pd,at({},t,{selector:a,renderIn:"save",styleRule:o||"width",attrName:"imageWidth",key:"imageWidth-save",hasUnits:"%",unitCallback:s,responsive:"all",enabledCallback:()=>l})),(0,oe.createElement)(pd,at({},t,{selector:`${a}:not(.stk--is-resizing)`,renderIn:"edit",styleRule:"height",attrName:"imageHeight",key:"imageHeight",hasUnits:"px",unitCallback:c,responsive:"all",enabledCallback:()=>r})),(0,oe.createElement)(pd,at({},t,{selector:a,renderIn:"save",styleRule:"height",attrName:"imageHeight",key:"imageHeight-save",hasUnits:"px",unitCallback:c,responsive:"all",enabledCallback:()=>r})),(0,oe.createElement)(pd,at({},t,{selector:`${a} .stk-img-resizer-wrapper`,hoverSelector:n?`${n} .stk-img-resizer-wrapper`:void 0,hoverSelectorCallback:i,renderIn:"edit",styleRule:"filter",attrName:"imageShadow",key:"imageShadow",format:"drop-shadow(%s)",hover:"all"})),(0,oe.createElement)(pd,at({},t,{selector:a,hoverSelector:n,renderIn:"save",styleRule:"filter",attrName:"imageShadow",key:"imageShadow-save",format:"drop-shadow(%s)",hover:"all"})),(0,oe.createElement)(pd,at({},t,{selector:`${a} img`,hoverSelector:`${n} img`,hoverSelectorCallback:i,styleRule:"filter",attrName:"imageFilter",key:"imageFilter",hover:"all"})),(0,oe.createElement)(pd,at({},t,{selector:`${a} img`,hoverSelector:`${n} img`,hoverSelectorCallback:i,styleRule:"transform",attrName:"imageZoom",key:"imageZoom",format:"scale(%s)",hover:"all"})),(0,oe.createElement)(pd,at({},t,{selector:`${a} .stk-img-resizer-wrapper img`,renderIn:"edit",styleRule:"borderRadius",attrName:"imageBorderRadius",key:"imageBorderRadius",format:"%spx"})),(0,oe.createElement)(pd,at({},t,{selector:`${a} img`,renderIn:"save",styleRule:"borderRadius",attrName:"imageBorderRadius",key:"imageBorderRadius-save",format:"%spx"})),(0,oe.createElement)(pd,at({},t,{selector:`${a} img`,hoverSelector:`${n} img`,hoverSelectorCallback:i,styleRule:"objectPosition",attrName:"imageFocalPoint",key:"imageFocalPoint",valueCallback:Jv,responsive:"all",hover:"all"})),(0,oe.createElement)(pd,at({},t,{selector:`${a} img`,styleRule:"objectFit",attrName:"imageFit",key:"imageFit",responsive:"all"})),(0,oe.createElement)(pd,at({},t,{renderIn:"edit",selector:[`${a} .stk-img-resizer-wrapper img`,`${a} .stk-img-resizer-wrapper::after`,`${a} .stk-img-resizer-wrapper::before`],styleRule:"mask-image",vendorPrefixes:["-webkit-"],attrName:"imageShape",key:"imageShape",responsive:"all",enabledCallback:e=>!!e("imageShape"),valueCallback:(e,t)=>Kv(e,t("imageShapeFlipX"),t("imageShapeFlipY"),t("imageShapeStretch")),dependencies:["imageShapeFlipX","imageShapeFlipY","imageShapeStretch",...u]})),(0,oe.createElement)(pd,at({},t,{renderIn:"save",selector:[`${a} img`,`${a}::after`,`${a}::before`],styleRule:"mask-image",vendorPrefixes:["-webkit-"],attrName:"imageShape",key:"imageShape-save",responsive:"all",enabledCallback:e=>!!e("imageShape"),valueCallback:(e,t)=>Kv(e,t("imageShapeFlipX"),t("imageShapeFlipY"),t("imageShapeStretch")),dependencies:["imageShapeFlipX","imageShapeFlipY","imageShapeStretch",...u]})),(0,oe.createElement)(pd,at({},t,{renderIn:"save",selector:`${a}::after`,hoverSelector:`${n}::after`,hoverSelectorCallback:i,styleRule:"backgroundColor",attrName:"imageOverlayColor",key:"imageOverlayColor-save",hover:"all",enabledCallback:e=>"gradient"!==e("imageOverlayColorType"),dependencies:["imageOverlayColorType",...u]})),(0,oe.createElement)(pd,at({},t,{renderIn:"edit",selector:`${a} .stk-img-resizer-wrapper::after`,hoverSelector:`${n} .stk-img-resizer-wrapper::after`,hoverSelectorCallback:i,styleRule:"backgroundColor",attrName:"imageOverlayColor",key:"imageOverlayColor",hover:"all",enabledCallback:e=>"gradient"!==e("imageOverlayColorType"),dependencies:["imageOverlayColorType",...u]})),(0,oe.createElement)(pd,at({},t,{renderIn:"save",selector:`${a}::after`,hoverSelector:`${n}::before`,styleRule:"backgroundImage",attrName:"imageOverlayColor",key:"imageOverlayColor-save-image",hover:"all",enabledCallback:e=>"gradient"===e("imageOverlayColorType"),valuePreCallback:(e,t,a,n)=>"normal"!==n&&(t("imageOverlayColor2","desktop","normal")||t("imageOverlayColor","desktop","normal"))?"1":e,valueCallback:(e,t,a,n)=>{let i=t("imageOverlayColor2","desktop",n);"normal"===n||i||(i=t("imageOverlayColor2","desktop","normal")),i=Q(i||"#ffffff",0);let l=t("imageOverlayColor","desktop",n);"normal"===n||l||(l=t("imageOverlayColor","desktop","normal")),l=Q(l||"#ffffff",0);let r=t("imageOverlayGradientLocation1","desktop",n);"normal"!==n&&""===r&&(r=t("imageOverlayGradientLocation1","desktop","normal")),r=`${r||"0"}%`;let o=t("imageOverlayGradientLocation2","desktop",n);"normal"!==n&&""===o&&(o=t("imageOverlayGradientLocation2","desktop","normal")),o=`${o||"100"}%`;let s=t("imageOverlayGradientDirection","desktop",n);"normal"!==n&&""===s&&(s=t("imageOverlayGradientDirection","desktop","normal")),""===s&&(s="90"),s=`${s}deg`;let c=t("imageOverlayColor","desktop",n);"normal"===n||c||(c=t("imageOverlayColor","desktop","normal"));let u=t("imageOverlayColor2","desktop",n);return"normal"===n||u||(u=t("imageOverlayColor2","desktop","normal")),`linear-gradient(${s}, ${c||i} ${r}, ${u||l} ${o})`},dependencies:["imageOverlayColorType","imageOverlayColor2","imageOverlayColor","imageOverlayGradientLocation1","imageOverlayGradientLocation2","imageOverlayGradientDirection","imageOverlayOpacity",...u]})),(0,oe.createElement)(pd,at({},t,{renderIn:"edit",selector:`${a} .stk-img-resizer-wrapper::after`,hoverSelector:`${n} .stk-img-resizer-wrapper::before`,hoverSelectorCallback:i,styleRule:"backgroundImage",attrName:"imageOverlayColor",key:"imageOverlayColor-image",hover:"all",enabledCallback:e=>"gradient"===e("imageOverlayColorType"),valuePreCallback:(e,t,a,n)=>"normal"!==n&&(t("imageOverlayColor2","desktop","normal")||t("imageOverlayColor","desktop","normal"))?"1":e,valueCallback:(e,t,a,n)=>{let i=t("imageOverlayColor2","desktop",n);"normal"===n||i||(i=t("imageOverlayColor2","desktop","normal")),i=Q(i||"#ffffff",0);let l=t("imageOverlayColor","desktop",n);"normal"===n||l||(l=t("imageOverlayColor","desktop","normal")),l=Q(l||"#ffffff",0);let r=t("imageOverlayGradientLocation1","desktop",n);"normal"!==n&&""===r&&(r=t("imageOverlayGradientLocation1","desktop","normal")),r=`${r||"0"}%`;let o=t("imageOverlayGradientLocation2","desktop",n);"normal"!==n&&""===o&&(o=t("imageOverlayGradientLocation2","desktop","normal")),o=`${o||"100"}%`;let s=t("imageOverlayGradientDirection","desktop",n);"normal"!==n&&""===s&&(s=t("imageOverlayGradientDirection","desktop","normal")),""===s&&(s="90"),s=`${s}deg`;let c=t("imageOverlayColor","desktop",n);"normal"===n||c||(c=t("imageOverlayColor","desktop","normal"));let u=t("imageOverlayColor2","desktop",n);return"normal"===n||u||(u=t("imageOverlayColor2","desktop","normal")),`linear-gradient(${s}, ${c||i} ${r}, ${u||l} ${o})`},dependencies:["imageOverlayColorType","imageOverlayColor2","imageOverlayColor","imageOverlayGradientLocation1","imageOverlayGradientLocation2","imageOverlayGradientDirection","imageOverlayOpacity",...u]})),(0,oe.createElement)(pd,at({},t,{renderIn:"save",selector:`${a}`,hoverSelector:`${a}::before`,styleRule:"--stk-gradient-overlay",attrName:"imageOverlayOpacity",key:"imageOverlayOpacity-save",hover:"all"})),(0,oe.createElement)(pd,at({},t,{renderIn:"edit",selector:`${a} .stk-img-resizer-wrapper`,hoverSelector:`${a} .stk-img-resizer-wrapper::before`,styleRule:"--stk-gradient-overlay",attrName:"imageOverlayOpacity",key:"imageOverlayOpacity",hover:"all"})),(0,oe.createElement)(pd,at({},t,{renderIn:"save",selector:`${a}::after, ${a}::before`,styleRule:"mix-blend-mode",attrName:"imageOverlayBlendMode",key:"imageOverlayBlendMode-save"})),(0,oe.createElement)(pd,at({},t,{renderIn:"edit",selector:`${a} .stk-img-resizer-wrapper::after, ${a} .stk-img-resizer-wrapper::before`,hoverSelectorCallback:i,styleRule:"mix-blend-mode",attrName:"imageOverlayBlendMode",key:"imageOverlayBlendMode"})))},Xv=e=>(0,oe.createElement)(Yv,e);Xv.Content=e=>(0,oe.createElement)(Yv,e);const Zv=["none","0px 0 1px rgba(120, 120, 120, 0.5)","0px 0 2px rgba(120, 120, 120, 0.5)","0px 5px 10px rgba(153, 153, 153, 0.35)","0px 2px 20px rgba(153, 153, 153, 0.2)","25px 10px 30px rgba(18, 63, 82, 0.3)","0px 10px 30px rgba(0, 0, 0, 0.1)","7px 5px 30px rgba(72, 73, 121, 0.15)","0px 10px 60px rgba(0, 0, 0, 0.1)","70px 60px 60px rgba(72, 73, 121, 0.2) "],Qv=e=>{const{blockState:t="normal"}=e,a=Be((e=>({imageId:e.imageId,imageWidthUnit:e.imageWidthUnit,imageHeightUnit:e.imageHeightUnit,imageWidth:e.imageWidth,imageHeight:e.imageHeight,imageHasLightbox:e.imageHasLightbox,imageSize:e.imageSize,imageAlt:e.imageAlt,imageOverlayColorType:e.imageOverlayColorType,imageOverlayGradientDirection:e.imageOverlayGradientDirection,imageOverlayGradientLocation1:e.imageOverlayGradientLocation1,imageOverlayGradientLocation2:e.imageOverlayGradientLocation2,imageUrl:e.imageUrl,imageShapeFlipX:e.imageShapeFlipX,imageShapeFlipY:e.imageShapeFlipY,imageShapeStretch:e.imageShapeStretch,imageShape:e.imageShape,imageFilter:e.imageFilter}))),n=Me(),{imageData:i}=(0,te.useSelect)((e=>({imageData:{...e("core").getMedia(a.imageId)}})),[a.imageId]),l=(0,oe.useMemo)((()=>"px"===a.imageWidthUnit&&["","px"].includes(a.imageHeightUnit)?(Math.max(a.imageWidth,a.imageHeight)||200)/2:"px"===a.imageWidthUnit?a.imageWidth:["","px"].includes(a.imageHeightUnit)?(a.imageHeight||200)/2:100),[a.imageWidth,a.imageWidthUnit,a.imageHeight,a.imageHeightUnit]);return(0,oe.createElement)(oe.Fragment,null,(0,Z.applyFilters)("stackable.block-component.image.before",null,e),e.hasSelector&&(0,oe.createElement)(uc,{label:(0,T.__)("Select Image",m.i18n),allowedTypes:["image"],attribute:"image",hasPanelModifiedIndicator:!1,onRemove:()=>n({imageId:"",imageUrl:"",imageWidthAttribute:"",imageHeightAttribute:""}),onChange:e=>{var t;let{url:i,width:l,height:r}=e;const o=a.imageSize||"full";var s,c,u,d,m,g;null!==(t=e.sizes)&&void 0!==t&&t[o]&&(i=(null===(s=e.sizes)||void 0===s||null===(c=s[o])||void 0===c?void 0:c.url)||i,r=(null===(u=e.sizes)||void 0===u||null===(d=u[o])||void 0===d?void 0:d.height)||r||"",l=(null===(m=e.sizes)||void 0===m||null===(g=m[o])||void 0===g?void 0:g.width)||l||""),n({imageId:e.id,imageUrl:i,imageWidthAttribute:l,imageHeightAttribute:r,...a.imageAlt?{}:{imageAlt:e.alt||""}})}}),e.hasWidth&&(0,oe.createElement)(Ja,{label:(0,T.__)("Width",m.i18n),attribute:"imageWidth",units:e.widthUnits,min:e.widthMin,sliderMax:e.widthMax,step:e.widthStep,initialPosition:100,allowReset:!0,placeholder:"250",responsive:"all",helpTooltip:{title:(0,T.__)("Image width",m.i18n),description:(0,T.__)("Adjusts the image width",m.i18n)}}),e.hasHeight&&(0,oe.createElement)(Ja,{label:(0,T.__)("Height",m.i18n),attribute:"imageHeight",units:e.heightUnits,min:e.heightMin,sliderMax:e.heightMax,step:e.heightStep,allowReset:!0,placeholder:"",responsive:"all",helpTooltip:{title:(0,T.__)("Image height",m.i18n),description:(0,T.__)("Adjusts the image height",m.i18n)},s:!0}),e.hasLightbox&&(0,oe.createElement)(mc,{label:(0,T.__)("Open Image in Lightbox",m.i18n),attribute:"imageHasLightbox"}),e.hasAlt&&(0,oe.createElement)(Da,{label:(0,T.__)("Image Alt",m.i18n),value:a.imageAlt,onChange:e=>n({imageAlt:e})}),(0,oe.createElement)(Ja,{label:(0,T.__)("Zoom",m.i18n),attribute:"imageZoom",hover:"all",min:0,sliderMax:3,step:.01,initialPosition:1,allowReset:!0}),e.hasShadow&&(0,oe.createElement)(Ic,{options:Zv,attribute:"imageShadow",hover:"all",isFilter:!0,helpTooltip:{video:"image-shadow",title:(0,T.__)("Image Shadow",m.i18n),description:(0,T.__)("Adjusts the intensity of the image shadow",m.i18n)}}),a.imageId&&(0,oe.createElement)(Wa,{label:(0,T.__)("Image Size",m.i18n),value:a.imageSize,onChange:e=>{var t,a,l,r,o,s,c,u;const d=(null===(t=i.media_details)||void 0===t||null===(a=t.sizes[e])||void 0===a?void 0:a.source_url)||i.source_url,m=(null===(l=i.media_details)||void 0===l||null===(r=l.sizes[e])||void 0===r?void 0:r.width)||(null===(o=i.media_details)||void 0===o?void 0:o.width)||"",g=(null===(s=i.media_details)||void 0===s||null===(c=s.sizes[e])||void 0===c?void 0:c.height)||(null===(u=i.media_details)||void 0===u?void 0:u.height)||"";n({imageSize:e,imageUrl:d,imageWidthAttribute:m,imageHeightAttribute:g})},defaultValue:"full",helpTooltip:{video:"image-size",description:(0,T.__)("Sets the image display size to thumbnail, medium, large or full size. A smaller image size will also load faster.",m.i18n)}}),e.hasBorderRadius&&(0,oe.createElement)(Ja,{label:(0,T.__)("Border Radius",m.i18n),attribute:"imageBorderRadius",min:"0",sliderMax:l,placeholder:"0",defaultValue:0,allowReset:!0,helpTooltip:{video:"image-border-radius",description:(0,T.__)("Adjusts the radius of image corners to make them more rounded",m.i18n)}}),(0,oe.createElement)(Zs,null),(0,oe.createElement)(xn,{controls:[{value:"",title:(0,T.__)("Single",m.i18n)},{value:"gradient",title:(0,T.__)("Gradient",m.i18n)}],attribute:"imageOverlayColorType",fullwidth:!1,isSmall:!0}),(0,oe.createElement)(ua,{label:"gradient"===a.imageOverlayColorType?(0,T.sprintf)((0,T._x)("%s #%d","option title",m.i18n),(0,T.__)("Overlay Color",m.i18n),1):(0,T.__)("Overlay Color",m.i18n),attribute:"imageOverlayColor",hover:"all",hasTransparent:"gradient"===a.imageOverlayColorType}),"gradient"===a.imageOverlayColorType&&(0,oe.createElement)(ua,{label:(0,T.sprintf)((0,T._x)("%s #%d","option title",m.i18n),(0,T.__)("Overlay Color",m.i18n),2),attribute:"imageOverlayColor2",hover:"all",hasTransparent:!0}),(0,oe.createElement)(Ja,{label:(0,T.__)("Overlay Opacity",m.i18n),attribute:"imageOverlayOpacity",hover:"all",min:0,max:1,step:.1,placeholder:"0.3"}),(0,oe.createElement)(Pa,{label:(0,T.__)("Overlay Blend Mode",m.i18n),attribute:"imageOverlayBlendMode",helpTooltip:{description:(0,T.__)("Sets how the overlay color blends with the image",m.i18n)}}),"gradient"===a.imageOverlayColorType&&(0,oe.createElement)(Ll,{label:(0,T.__)("Gradient Overlay Settings",m.i18n),onReset:()=>{n({[L("imageOverlayGradientDirection","desktop",t)]:"",[L("imageOverlayGradientLocation1","desktop",t)]:"",[L("imageOverlayGradientLocation2","desktop",t)]:"",[L("imageOverlayGradientDirection","tablet",t)]:"",[L("imageOverlayGradientLocation1","tablet",t)]:"",[L("imageOverlayGradientLocation2","tablet",t)]:"",[L("imageOverlayGradientDirection","mobile",t)]:"",[L("imageOverlayGradientLocation1","mobile",t)]:"",[L("imageOverlayGradientLocation2","mobile",t)]:""})},allowReset:a[L("imageOverlayGradientDirection","desktop",t)]||a[L("imageOverlayGradientLocation1","desktop",t)]||a[L("imageOverlayGradientLocation2","desktop",t)]||a[L("imageOverlayGradientDirection","tablet",t)]||a[L("imageOverlayGradientLocation1","tablet",t)]||a[L("imageOverlayGradientLocation2","tablet",t)]||a[L("imageOverlayGradientDirection","mobile",t)]||a[L("imageOverlayGradientLocation1","mobile",t)]||a[L("imageOverlayGradientLocation2","mobile",t)]},(0,oe.createElement)(Ja,{label:(0,T.__)("Gradient Direction (degrees)",m.i18n),attribute:"imageOverlayGradientDirection",hover:"all",min:0,max:360,step:10,allowReset:!0,placeholder:"90",helpTooltip:{description:(0,T.__)("Sets the direction (in degrees) of the colors",m.i18n)}}),(0,oe.createElement)(Ja,{label:(0,T.sprintf)((0,T.__)("Color %d Location",m.i18n),1),attribute:"imageOverlayGradientLocation1",hover:"all",sliderMin:0,max:100,step:1,allowReset:!0,placeholder:"0",helpTooltip:{video:"gradient-location",description:(0,T.__)("Sets the placement of each color in relation to the other color",m.i18n)}}),(0,oe.createElement)(Ja,{label:(0,T.sprintf)((0,T.__)("Color %d Location",m.i18n),2),attribute:"imageOverlayGradientLocation2",hover:"all",sliderMin:0,max:100,step:1,allowReset:!0,placeholder:"100",helpTooltip:{video:"gradient-location",description:(0,T.__)("Sets the placement of each color in relation to the other color",m.i18n)}})),(0,oe.createElement)(Zs,null),(0,oe.createElement)(bc,{attribute:"imageFocalPoint",label:(0,T.__)("Focal point",m.i18n),url:e.src?e.src:a.imageUrl,responsive:"all",hover:"all"}),(0,oe.createElement)(Xa,{label:(0,T.__)("Image Fit",m.i18n),attribute:"imageFit",options:[{label:(0,T.__)("Default",m.i18n),value:""},{label:(0,T.__)("Contain",m.i18n),value:"contain"},{label:(0,T.__)("Cover",m.i18n),value:"cover"},{label:(0,T.__)("Fill",m.i18n),value:"fill"},{label:(0,T.__)("None",m.i18n),value:"none"},{label:(0,T.__)("Scale Down",m.i18n),value:"scale-down"}],helpTooltip:{video:"image-size",description:(0,T.__)("Sets the fit to default, contain, cover, fill, none, and scale down. Image fit specifies how an image resizes in a container.",m.i18n)},responsive:"all"}),e.hasShape&&(0,oe.createElement)(Ll,{label:(0,T.__)("Image Shape",m.i18n),onReset:()=>{n({imageShape:"",imageShapeFlipX:"",imageShapeFlipY:"",imageShapeStretch:!0})},allowReset:a.imageShape||a.imageShapeFlipX||a.imageShapeFlipY||!a.imageShapeStretch},(0,oe.createElement)(Ua,{selected:a.imageShape,onChange:e=>n({imageShape:e}),helpTooltip:{video:"image-shape",title:(0,T.__)("Shape",m.i18n),description:(0,T.__)("Change the shape of the image",m.i18n)}}),(0,oe.createElement)(mc,{label:(0,T.__)("Flip Shape Horizontally",m.i18n),attribute:"imageShapeFlipX"}),(0,oe.createElement)(mc,{label:(0,T.__)("Flip Shape Vertically",m.i18n),attribute:"imageShapeFlipY"}),(0,oe.createElement)(mc,{label:(0,T.__)("Stretch Shape Mask",m.i18n),attribute:"imageShapeStretch",defaultValue:!0})),(0,oe.createElement)(Ll,{label:(0,T.__)("Image Filter",m.i18n),popoverLabel:"",onReset:()=>{n({imageFilter:""})},allowReset:a.imageFilter},(0,oe.createElement)(wc,{label:(0,T.__)("Image Filter",m.i18n),attribute:"imageFilter",hover:"all"})))};Qv.defaultProps={hasAlt:!0,hasWidth:!0,hasSelector:!0,hasShadow:!0,widthUnits:["px","%","vw"],widthMin:[0,0,0],widthMax:[1e3,100,100],widthStep:[1,1,1],hasHeight:!0,heightUnits:["px","%","vh"],heightMin:[0,0,0],heightMax:[1e3,100,100],heightStep:[1,1,1],hasBorderRadius:!0,hasShape:!0};const eb=e=>{const t=Be((e=>e.imageShow)),a=Me();return(0,oe.createElement)(Du,null,(0,oe.createElement)(ji,at({title:e.label,id:"image",initialOpen:e.initialOpen,hasToggle:e.hasToggle},e.hasToggle?{checked:t,onChange:e=>a({imageShow:e})}:{}),(0,oe.createElement)(Qv,e)))};eb.defaultProps={initialOpen:!1,label:(0,T.__)("Image",m.i18n),hasToggle:!1,hasAlt:!0,hasWidth:!0,hasSelector:!0,hasShadow:!0,widthUnits:["px","%","vw"],widthMin:[0,0,0],widthMax:[1e3,100,100],widthStep:[1,1,1],hasHeight:!0,heightUnits:["px","%","vh"],heightMin:[0,0,0],heightMax:[1e3,100,100],heightStep:[1,1,1],hasBorderRadius:!0,hasShape:!0},eb.Controls=Qv;const tb=[.25,.5,.75,1],ab=(0,u.range)(50,2001,50),nb=(0,u.range)(100,2001,100),ib=[.1,.2,.25,.3,.4,.5,.6,.7,.75,.8,.9,1],lb=(0,u.range)(8,2001,8),rb=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",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];return"auto"===e?e:e||0===e?"%"===t?n?`${e}%`:e:a?`${e}px`:e:"%"===t?n?"100%":100:a?"150px":150},ob=e=>rt()([e.className,"stk-img-wrapper"],{"stk-img--shape":e.shape,"stk-image--shape-stretch":e.shapeStretch,[`stk--shadow-${e.shadow}`]:!e.shape&&e.shadow,"stk-img--gradient-overlay":e.hasGradientOverlay,"stk--has-lightbox":e.hasLightbox}),sb=e=>rt()(["stk-img"],{[`wp-image-${e.imageId}`]:e.imageId}),cb=(0,oe.memo)((e=>{const{isSelected:t}=(0,ae.useBlockEditContext)(),[a,n]=(0,oe.useState)(!0),[i,l]=(0,oe.useState)(!1),[r,o]=(0,oe.useState)(!1),[s,c]=(0,oe.useState)(),[d,m]=(0,oe.useState)(),[g,p]=(0,oe.useState)(),[h,v]=(0,oe.useState)(),[b,f]=(0,oe.useState)(!1),[y,k]=(0,oe.useState)(),[x,w]=(0,oe.useState)(),[C,_]=(0,oe.useState)(!1),S=(0,oe.useRef)(),[E,T]=(0,oe.useState)(null),[B,M]=(0,oe.useState)(null),N=wa(e.src),I=se();(0,oe.useEffect)((()=>{M(null)}),[I]);const R=rt()([ob(e),"stk-img-resizer"],{"stk-img-placeholder":!N||b,"stk--never-resized":(!N||b)&&a,"stk--is-resizing":i,"stk--no-click-to-edit":!e.enableClickToEdit,"stk--too-small":C});(0,oe.useEffect)((()=>{if(S.current){const e=new ResizeObserver((e=>{for(const t of e)_(t.contentRect.width<140)}));return e.observe(S.current),()=>e.disconnect()}}),[S.current]);const A=sb(e);return(0,oe.createElement)(ot.ResizableBox,{className:R,enable:{top:!(!e.showHandles||"top"!==e.heightResizePosition)&&e.enableHeight,bottom:!(!e.showHandles||"bottom"!==e.heightResizePosition)&&e.enableHeight,right:!(!e.showHandles||"right"!==e.widthResizePosition)&&e.enableWidth,left:!(!e.showHandles||"left"!==e.widthResizePosition)&&e.enableWidth,topRight:!1,bottomRight:e.showHandles&&e.enableDiagonal,bottomLeft:!1,topLeft:!1},size:{width:rb(x||e.width,e.widthUnit),height:rb(y||e.height,e.heightUnit)},resizeRatio:1.2,lockAspectRatio:r,snap:B,snapGap:10,onResizeStart:(t,a,i)=>{o("bottomRight"===a);let r=e.height?parseFloat(e.height):0;if("%"===e.heightUnit){const t=i.parentElement.getBoundingClientRect().height;p(t),r=(e.height||100)/100*t}else e.height&&"auto"!==e.height||(r=parseInt(i.getBoundingClientRect().height,10));c(r||0);let s=e.width?parseFloat(e.width):0;if("%"===e.widthUnit){const t=i.parentElement.getBoundingClientRect().width;v(t),s=(e.width||100)/100*t}else e.width&&"auto"!==e.width||(s=parseInt(i.getBoundingClientRect().width,10));m(s||0),n(!1),l(!0),M(null)},onResize:(t,a,n,i)=>{let l,r;"%"===e.heightUnit?(l=(0,u.clamp)(Math.round((s+i.height)/g*100),0,100),T(`.stk--is-resizing { height: ${l}% !important; }`)):l=s+i.height,k(l),r="%"===e.widthUnit?(0,u.clamp)(Math.round((d+i.width)/h*100),0,100):d+i.width,w(r),B||M(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"%",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"px",i=arguments.length>5&&void 0!==arguments[5]&&arguments[5];return"bottomRight"!==(arguments.length>4&&void 0!==arguments[4]?arguments[4]:"bottom")||i?{x:i?"%"===a?ib.map((t=>t*e)):lb:"%"===a?tb.map((t=>t*e)):ab,y:i?"%"===n?ib.map((e=>e*t)):lb:"%"===n?tb.map((e=>e*t)):ab}:{x:"%"===a?tb.map((t=>t*e)):ab,y:"%"===n?tb.map((e=>e*t)):nb}}(h,g,e.widthUnit,e.heightUnit,a,I))},onResizeStop:()=>{e.onChangeSize({width:x,widthUnit:e.widthUnit,height:y,heightUnit:e.heightUnit}),l(!1),w(null),k(null),T(null),M(null)}},N&&e.onRemove&&e.hasRemove&&e.showTooltips&&(0,oe.createElement)("button",{className:"stk-img-upload-remove",onClick:t=>{e.onRemove(),t.stopPropagation()}},(0,oe.createElement)(ot.Dashicon,{icon:"no"})),e.hasTooltip&&e.showTooltips&&(0,oe.createElement)(hu,{enableHeight:e.enableHeight||e.enableDiagonal,enableWidth:e.enableWidth||e.enableDiagonal,height:rb(y||e.height,e.heightUnit,!1,!1),width:rb(x||e.width,e.widthUnit,!1,!1),widthUnits:e.widthUnits,heightUnits:e.heightUnits,heightUnit:e.heightUnit,widthUnit:e.widthUnit,allowReset:e.allowReset,defaultWidth:e.defaultWidth,defaultHeight:e.defaultHeight,onChangeHeight:t=>{let{value:a,unit:n}=t;const i={};void 0!==a&&(i.height=a),void 0!==n&&(i.heightUnit=n),e.onChangeSize(i)},onChangeWidth:t=>{let{value:a,unit:n}=t;const i={};void 0!==a&&(i.width=a),void 0!==n&&(i.widthUnit=n),e.onChangeSize(i)}}),(0,oe.createElement)("div",{className:"stk-img-resizer-wrapper"},(0,oe.createElement)("img",{ref:S,onLoad:()=>f(!1),onError:()=>f(!0),className:A,src:N||void 0,alt:Op()(e.alt||void 0),title:Op()(e.title||void 0),width:e.width||void 0,height:e.height||void 0,draggable:"false"})),i&&E&&(0,oe.createElement)("style",null,E),t&&e.enableClickToEdit&&(0,oe.createElement)(ae.MediaUpload,{onSelect:t=>{let{url:a,width:n,height:i}=t;const l=e.size||"full";t.sizes&&t.sizes[l]&&(a=t.sizes[l].url,n=t.sizes[l].width,i=t.sizes[l].height),e.onChange({...t,url:a,width:n,height:i})},allowedTypes:e.allowedTypes,value:e.imageID,render:e=>(0,oe.createElement)(ot.Button,{className:"stk-img-media-manager-button",onClick:()=>e.open()})}),e.children)}));cb.defaultProps={imageId:"",enableClickToEdit:!0,showHandles:!0,showTooltips:!0,alt:"",title:"",src:"",size:"full",width:"",height:"",widthUnit:"%",heightUnit:"px",widthUnits:["px","%"],heightUnits:["px","%"],shape:"",shapeStretch:!1,shadow:"",allowedTypes:["image"],enableWidth:!0,enableHeight:!0,enableDiagonal:!0,widthResizePosition:"right",heightResizePosition:"bottom",allowReset:!0,hasGradientOverlay:!1,hasRemove:!0,hasTooltip:!0,onChange:()=>{},onRemove:()=>{},onChangeSize:()=>{}};const ub=e=>{const t=de(),a="Desktop"===t,n="Mobile"===t;let i=e.width,l=e.widthUnit||"%";a||""===e.widthTablet||(i=e.widthTablet,l=e.widthUnitTablet),n&&""!==e.widthMobile&&(i=e.widthMobile,l=e.widthUnitMobile);let r=e.height,o=e.heightUnit||"px";return a||""===e.heightTablet||(r=e.heightTablet,""!==e.heightUnitTablet&&(o=e.heightUnitTablet)),n&&""!==e.heightMobile&&(r=e.heightMobile,""!==e.heightUnitMobile&&(o=e.heightUnitMobile)),(0,oe.createElement)(cb,at({},e,{width:i,widthUnit:l,height:r,heightUnit:o,onChangeSize:a=>{e[`onChangeSize${t}`](a)}}))};ub.defaultProps={...cb.defaultProps,widthTablet:"",heightTablet:"",widthUnitTablet:"",heightUnitTablet:"",widthMobile:"",heightMobile:"",widthUnitMobile:"",heightUnitMobile:"",onChangeSizeDesktop:()=>{},onChangeSizeTablet:()=>{},onChangeSizeMobile:()=>{},defaultWidth:"",defaultHeight:""};const db=e=>{const t=ob(e),a=sb(e),n=e.width||0===e.width?"%"===e.widthUnit?`${e.width}%`:e.width:void 0,i=e.height||0===e.height?"%"===e.heightUnit?`${e.height}%`:e.height:void 0,l={},r=Op()(e.alt||void 0);r&&(l.alt=r);const o=Op()(e.title||void 0);o&&(l.title=o);const s=e.customWrapper||"figure";return(0,oe.createElement)(s,{className:t},(0,oe.createElement)("img",at({className:a,src:e.src||void 0,width:n||void 0,height:i||void 0},l)),e.children)};db.defaultProps={imageId:"",alt:"",title:"",src:"",size:"full",width:"",height:"",widthUnit:"px",heightUnit:"px",shape:"",shapeStretch:!1,shadow:"",hasGradientOverlay:!1,customWrapper:null},ub.Content=db;const mb=ub,gb=e=>{const{defaultWidth:t,defaultHeight:a,...n}=e,{isSelected:i}=(0,ae.useBlockEditContext)(),l=Be((e=>({imageOverlayColorType:e.imageOverlayColorType,imageOverlayColorHover:e.imageOverlayColorHover,imageOverlayColorParentHover:e.imageOverlayColorParentHover,imageOverlayColor2Hover:e.imageOverlayColor2Hover,imageOverlayColor2ParentHover:e.imageOverlayColor2ParentHover,imageOverlayOpacityHover:e.imageOverlayOpacityHover,imageOverlayOpacityParentHover:e.imageOverlayOpacityParentHover,imageOverlayGradientLocation1Hover:e.imageOverlayGradientLocation1Hover,imageOverlayGradientLocation1ParentHover:e.imageOverlayGradientLocation1ParentHover,imageOverlayGradientLocation2Hover:e.imageOverlayGradientLocation2Hover,imageOverlayGradientLocation2ParentHover:e.imageOverlayGradientLocation2ParentHover,imageOverlayGradientDirectionHover:e.imageOverlayGradientDirectionHover,imageOverlayGradientDirectionParentHover:e.imageOverlayGradientDirectionParentHover,imageId:e.imageId,imageUrl:e.imageUrl,imageSize:e.imageSize,imageWidth:e.imageWidth,imageWidthTablet:e.imageWidthTablet,imageWidthMobile:e.imageWidthMobile,imageWidthUnit:e.imageWidthUnit,imageWidthUnitTablet:e.imageWidthUnitTablet,imageWidthUnitMobile:e.imageWidthUnitMobile,imageHeight:e.imageHeight,imageHeightTablet:e.imageHeightTablet,imageHeightMobile:e.imageHeightMobile,imageHeightUnit:e.imageHeightUnit,imageHeightUnitTablet:e.imageHeightUnitTablet,imageHeightUnitMobile:e.imageHeightUnitMobile,imageHasLightbox:e.imageHasLightbox,imageShape:e.imageShape,imageShapeStretch:e.imageShapeStretch,imageShadow:e.imageShadow}))),{parentBlock:r}=re(),{setImage:o}=(()=>{const e=Me(),t=Be((e=>({imageAlt:e.imageAlt})));return{setImage:{onChange:a=>{e({imageUrl:a.url,imageId:a.id,imageHeightAttribute:a.height,imageWidthAttribute:a.width,...t.imageAlt?{}:{imageAlt:a.alt||""}})},onChangeSizeDesktop:t=>{let{width:a,height:n,widthUnit:i,heightUnit:l}=t;const r={};void 0!==a&&(r.imageWidth=a),void 0!==n&&(r.imageHeight=n),void 0!==l&&(r.imageHeightUnit=l),void 0!==i&&(r.imageWidthUnit=i),e(r)},onChangeSizeTablet:t=>{let{width:a,height:n,widthUnit:i,heightUnit:l}=t;const r={};void 0!==a&&(r.imageWidthTablet=a),void 0!==n&&(r.imageHeightTablet=n),void 0!==l&&(r.imageHeightUnitTablet=l),void 0!==i&&(r.imageWidthUnitTablet=i),e(r)},onChangeSizeMobile:t=>{let{width:a,height:n,widthUnit:i,heightUnit:l}=t;const r={};void 0!==a&&(r.imageWidthMobile=a),void 0!==n&&(r.imageHeightMobile=n),void 0!==l&&(r.imageHeightUnitMobile=l),void 0!==i&&(r.imageWidthUnitMobile=i),e(r)},onRemove:()=>{e({imageUrl:"",imageId:"",imageHeightAttribute:"",imageWidthAttribute:""})}}}})(),s="auto"===a?"auto":void 0!==a?a:"",c=(0,Z.applyFilters)("stackable.image.enable-handlers",!0,r),d="gradient"===l.imageOverlayColorType&&(l.imageOverlayColorHover||l.imageOverlayColorParentHover||l.imageOverlayColor2Hover||l.imageOverlayColor2ParentHover||l.imageOverlayOpacityHover||l.imageOverlayOpacityParentHover||l.imageOverlayGradientLocation1Hover||l.imageOverlayGradientLocation1ParentHover||l.imageOverlayGradientLocation2Hover||l.imageOverlayGradientLocation2ParentHover||l.imageOverlayGradientDirectionHover||l.imageOverlayGradientDirectionParentHover);return(0,oe.createElement)(mb,at({},o,{showHandles:c&&i,imageId:l.imageId,imageURL:l.imageUrl,size:l.imageSize,src:l.imageUrl,width:l.imageWidth||t,widthTablet:l.imageWidthTablet,widthMobile:l.imageWidthMobile,widthUnit:l.imageWidthUnit||"%",widthUnitTablet:l.imageWidthUnitTablet,widthUnitMobile:l.imageWidthUnitMobile,height:l.imageHeight||s,heightTablet:l.imageHeightTablet,heightMobile:l.imageHeightMobile,heightUnit:l.imageHeightUnit||"px",heightUnitTablet:l.imageHeightUnitTablet,heightUnitMobile:l.imageHeightUnitMobile,shape:l.imageShape,shapeStretch:l.imageShapeStretch,shadow:l.imageShadow,hasGradientOverlay:d,hasLightbox:l.imageHasLightbox,defaultWidth:e.defaultWidth,defaultHeight:e.defaultHeight},(0,u.pickBy)(n,(e=>void 0!==e))))};gb.defaultProps={defaultWidth:150,defaultHeight:300,enableHandles:!0,showTooltips:!1},gb.Content=e=>{const{defaultWidth:t,defaultHeight:a,attributes:n,src:i,alt:l,width:r,...o}=e,s="auto"===a&&n.imageUrl?"auto":300,c="gradient"===n.imageOverlayColorType&&(n.imageOverlayColorHover||n.imageOverlayColorParentHover||n.imageOverlayColor2Hover||n.imageOverlayColor2ParentHover||n.imageOverlayOpacityHover||n.imageOverlayOpacityParentHover||n.imageOverlayGradientLocation1Hover||n.imageOverlayGradientLocation1ParentHover||n.imageOverlayGradientLocation2Hover||n.imageOverlayGradientLocation2ParentHover||n.imageOverlayGradientDirectionHover||n.imageOverlayGradientDirectionParentHover);return(0,oe.createElement)(mb.Content,at({imageId:n.imageId,imageURL:n.imageUrl,alt:l||n.imageAlt,size:n.imageSize,src:i||n.imageUrl,width:r||n.imageWidthAttribute||n.imageWidth||t,height:n.imageHeightAttribute||n.imageHeight||s,shape:n.imageShape,shapeStretch:n.imageShapeStretch,shadow:n.imageShadow,hasGradientOverlay:c,hasLightbox:n.imageHasLightbox},o))},gb.Content.defaultProps={attributes:{},defaultWidth:150,defaultHeight:300},gb.InspectorControls=eb,gb.addAttributes=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{imageWidthUnitDefault:a="%",selector:n="img"}=t;e.add({attributes:{imageShow:{type:"boolean",default:!0},imageUrl:{type:"string",default:""},imageId:{type:"number",default:""},imageAlt:{type:"string",source:"attribute",selector:n,attribute:"alt",default:""},imageSize:{type:"string",default:"full"},imageWidthAttribute:{type:"number",default:""},imageHeightAttribute:{type:"number",default:""},imageBorderRadius:{type:"number",default:""},imageOverlayColorType:{type:"string",default:""},imageOverlayColor:{type:"string",default:"",stkHover:!0},imageOverlayColor2:{type:"string",default:"",stkHover:!0},imageOverlayOpacity:{type:"number",default:"",stkHover:!0},imageOverlayBlendMode:{type:"string",default:""},imageOverlayGradientDirection:{type:"number",default:"",stkHover:!0},imageOverlayGradientLocation1:{type:"number",default:"",stkHover:!0},imageOverlayGradientLocation2:{type:"number",default:"",stkHover:!0},imageFocalPoint:{stkResponsive:!0,stkHover:!0,type:"object"},imageFit:{stkResponsive:!0,type:"string",default:""},imageHeight:{stkResponsive:!0,stkUnits:"px",type:"number",default:""},imageWidth:{stkResponsive:!0,stkUnits:a,type:"number",default:""},imageHasLightbox:{type:"boolean",default:!1},imageZoom:{stkHover:!0,type:"number",default:""},imageShadow:{stkHover:!0,type:"string",default:""},imageFilter:{stkHover:!0,type:"string",default:""},imageShape:{type:"string",default:""},imageShapeFlipX:{type:"boolean",default:""},imageShapeFlipY:{type:"boolean",default:""},imageShapeStretch:{type:"boolean",default:!0}},versionAdded:"3.0.0",versionDeprecated:""})},gb.Style=Xv,(0,Z.addFilter)("stackable.block-linking.blocks","stackable",(e=>({...e,"stackable/button":{filterAttributes:["text","linkUrl","linkRel","linkNewTab","icon"]},"stackable/icon-button":{filterAttributes:["linkUrl","linkRel","linkNewTab","icon"]},"stackable/button-group":{},"stackable/blockquote":{},"stackable/call-to-action":{},"stackable/card":{filterAttributes:["imageUrl","imageId","imageAlt","imageTitle"]},"stackable/card-group":{},"stackable/column":{},"stackable/columns":{},"stackable/expand":{},"stackable/feature":{},"stackable/feature-grid":{},"stackable/hero":{},"stackable/heading":{filterAttributes:["text"]},"stackable/icon":{filterAttributes:["icon","ariaLabel"]},"stackable/icon-box":{},"stackable/icon-label":{},"stackable/icon-list":{filterAttributes:["text"]},"stackable/image":{filterAttributes:["imageUrl","imageId","imageAlt"]},"stackable/notification":{},"stackable/price":{},"stackable/pricing-box":{},"stackable/text":{filterAttributes:["text"]},"stackable/subtitle":{filterAttributes:["text"]}}))),(0,Z.addFilter)("stackable.block-linking.blocks","stackable-essentials",(e=>(Object.keys(e).forEach((t=>{t.startsWith("stackable/")&&(e[t].filterAttributes||(e[t].filterAttributes=[]),e[t].filterAttributes.push("uniqueId","templateLock","columnWidth","columnWidthTablet","columnWidthMobile","isFirstBlock","isLastBlock","blockLinkUrl"))})),e)),99),(0,Z.addFilter)("stackable.block-linking.blocks","core",(e=>({...e,"core/archives":{},"core/audio":{filterAttributes:["src","caption","id"]},"core/block":{filterAttributes:["ref"]},"core/button":{filterAttributes:["url","title","text","linkTarget","rel","placeholder"]},"core/buttons":{},"core/calendar":{},"core/categories":{},"core/freeform":{filterAttributes:["content"]},"core/code":{filterAttributes:["content"]},"core/column":{},"core/columns":{},"core/cover":{filterAttributes:["url","id"]},"core/file":{filterAttributes:["id","href","fileName","textLinkHref","downloadButtonText"]},"core/gallery":{filterAttributes:["images","ids","caption"]},"core/group":{},"core/heading":{filterAttributes:["content","level","placeholder"]},"core/html":{filterAttributes:["content"]},"core/image":{filterAttributes:["url","capion","title","href","rel","id","linkDestination","linkTarget"]},"core/latest-comments":{},"core/latest-posts":{filterAttributes:["categories"]},"core/legacy-widget":{filterAttributes:["id","idBase","instance"]},"core/list":{filterAttributes:["values"]},"core/media-text":{filterAttributes:["mediaAlt","mediaId","mediaUrl","mediaLink","linkDestination","linkTarget","href","rel"]},"core/missing":{filterAttributes:["content"]},"core/navigation":{},"core/paragraph":{filterAttributes:["content","placeholder"]},"core/post-author":{},"core/post-date":{},"core/post-excerpt":{},"core/preformatted":{filterAttributes:["content"]},"core/pullquote":{filterAttributes:["value","citation"]},"core/quote":{filterAttributes:["value","citation"]},"core/rss":{filterAttributes:["feedURL"]},"core/search":{filterAttributes:["label","placeholder","buttonText"]},"core/separator":{},"core/site-title":{filterAttributes:["level"]},"core/social-links":{},"core/spacer":{},"core/subhead":{filterAttributes:["content"]},"core/table":{filterAttributes:["caption","head","body","foot"]},"core/tag-cloud":{filterAttributes:["taxonomy"]},"core/text-columns":{filterAttributes:["content"]},"core/verse":{filterAttributes:["content"]},"core/video":{filterAttributes:["caption","id","poster","src"]}}))),(0,Z.addFilter)("stackable.block-linking.blocks","common",(e=>(Object.keys(e).forEach((t=>{e[t].filterAttributes||(e[t].filterAttributes=[]),e[t].filterAttributes.includes("id")||e[t].filterAttributes.push("id"),e[t].filterAttributes.includes("anchor")||e[t].filterAttributes.push("anchor")})),e)),99);const pb=wp.plugins,hb=e=>(0,pb.getPlugin)("stackable-block-linking")?(0,oe.createElement)(vb,e):null,vb=()=>{const[e,t]=Ye(),{isOnlyBlock:a}=re(),{clientId:n}=(0,ae.useBlockEditContext)(),i=(e=>{const t=(0,oe.useMemo)((()=>wp.data.select("core/blocks").getBlockTypes().reduce(((e,t)=>{var a;return null!==(a=t.supports)&&void 0!==a&&a.stkBlockLinking&&e.push(t.name),e}),[])),[]);return(0,oe.useMemo)((()=>{var a;if(!e)return null;let n=null;const{getBlock:i,getBlockParents:l}=(0,te.select)("core/block-editor"),r=(null===(a=i(e))||void 0===a?void 0:a.name)||"";if(t.includes(r)&&(n=e),n||(n=[...l(e)].reverse().find((e=>{var a;const n=null===(a=i(e))||void 0===a?void 0:a.name;return!!t.includes(n)&&e}))||null),n){const e=(0,u.last)(l(n));if(e){var o,s;const t=null===(o=i(e))||void 0===o?void 0:o.name,a=wp.data.select("core/blocks").getBlockType(t);if(!1===(null==a||null===(s=a.supports)||void 0===s?void 0:s.stkBlockLinking))return null}}return n}),[e])})(n);if(a||!i)return null;const l=rt()(["stk-linking-wrapper__tooltip"],{"stk--is-unlinked":!e});return(0,oe.createElement)("div",{className:"stk-linking-wrapper"},(0,oe.createElement)(Ws,{position:"bottom",text:(0,oe.createElement)(oe.Fragment,null,(0,T.__)("When linked, styling this block would also style other linked blocks in adjacent columns.",m.i18n),(0,oe.createElement)("br",null),(0,oe.createElement)("a",{href:"https://docs.wpstackable.com/article/452-how-to-use-linking/?utm_source=wp-linking-tooltip&utm_campaign=learnmore&utm_medium=gutenberg",target:"_blank",rel:"noopener noreferrer"},(0,T.__)("Learn more about linking",m.i18n)))},(0,oe.createElement)("div",{className:l,onClick:()=>t(!e),onKeyDown:a=>{13===a.keyCode&&t(!e)},role:"button",tabIndex:"0"},(0,oe.createElement)(ot.Dashicon,{icon:e?"admin-links":"editor-unlink"}))))};hb.Content=()=>null;let bb=window.localStorage.getItem("stk__navigation_view_height");bb=bb?JSON.parse(bb):220,bb>1e3&&(bb=1e3);let fb=window.localStorage.getItem("stk__navigation_view_is_open");fb=!fb||JSON.parse(fb);const yb={height:bb,isOpen:fb},kb={updateHeight:e=>(window.localStorage.setItem("stk__navigation_view_height",e),{type:"UPDATE_NAVIGATION_VIEW_HEIGHT",height:e}),updateIsOpen:e=>(window.localStorage.setItem("stk__navigation_view_is_open",e),{type:"UPDATE_NAVIGATION_VIEW_ISOPEN",isOpen:e})};(0,te.registerStore)("stackable/navigation-view",{reducer:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:yb,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_NAVIGATION_VIEW_HEIGHT":return{...e,height:t.height};case"UPDATE_NAVIGATION_VIEW_ISOPEN":return{...e,isOpen:t.isOpen}}return e},actions:kb,selectors:{getHeight:e=>e.height,getIsOpen:e=>e.isOpen}});const xb=e=>{const{clientId:t,isSelected:a}=e,[n,i]=(0,oe.useState)(!1),{height:l,isOpen:r,blocks:o,isOnlyBlock:s}=(0,te.useSelect)((e=>{const{rootBlockClientId:a,hasInnerBlocks:n}=e("stackable/block-context").getBlockContext(t),i=e(ae.store).__unstableGetClientIdsTree(a);return{height:e("stackable/navigation-view").getHeight(),isOpen:e("stackable/navigation-view").getIsOpen(),isOnlyBlock:!n&&a===t,blocks:[{clientId:a,innerBlocks:i}]}}));if(!ae.__experimentalListView)return null;if(!a||s)return null;const c=rt()(["stk-navigation-view__wrapper","edit-post-sidebar"],{"stk--is-resizing":n});return(0,oe.createElement)(ae.InspectorControls,null,(0,oe.createElement)("style",null,n?"":`:is(.edit-post-sidebar, .edit-widgets-sidebar, .interface-complementary-area) {\n\t\t\t\t\t--stk-inspector-navigation-view: ${l}px;\n\t\t\t\t}`),(0,oe.createElement)(ot.ResizableBox,{className:c,showHandle:r,enable:{top:!0},size:{height:l},onResizeStart:()=>{i(!0)},onResizeStop:(e,t,a,n)=>{const r=l+n.height;(0,te.dispatch)("stackable/navigation-view").updateHeight(r<38?38:r),i(!1)},minHeight:38,maxHeight:500},(0,oe.createElement)(ji,{title:(0,T.__)("Navigation",m.i18n),id:"navigation-view",isOpen:r,onToggle:()=>(0,te.dispatch)("stackable/navigation-view").updateIsOpen(!r)},(0,oe.createElement)("div",{className:"stk-panel--navigation-view__wrapper"},(0,oe.createElement)(ae.__experimentalListView,{blocks:o,showOnlyCurrentHierarchy:!0,showAppender:!0,showBlockMovers:!0,showNestedBlocks:!0,__experimentalFeatures:!0,__experimentalPersistentListViewFeatures:!0})))))};xb.defaultProps={hasToggle:!1},(0,Z.addFilter)("stackable.panel.tabs.panel-auto-close","stackable/navigation-view",((e,t)=>!t.closest(".ugb-panel--navigation-view")&&e));const wb={};wb.InspectorControls=xb;const Cb=e=>rt()({"stk-has-top-separator":e.topSeparatorShow,"stk-has-bottom-separator":e.bottomSeparatorShow}),_b=e=>{const t={...e,version:e.version,versionAdded:"3.0.0",versionDeprecated:""},{location:a="",selector:n,wrapperSelector:i=".stk-separator__wrapper",enableFlipHorizontally:l=!0,enableFlipVertically:r=!1,isInitiallyFlippedVertically:o=!0,dependencies:s=[]}=e,c=void 0!==n?n:` > .stk-separator__${a}`;return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(pd,at({},t,{attrNameTemplate:`${a}%s`,selector:c,styleRule:"zIndex",attrName:"separatorBringToFront",key:"separatorBringToFront",valuePreCallback:e=>{if(e)return 6}})),(0,oe.createElement)(pd,at({},t,{attrNameTemplate:`${a}%s`,selector:c,styleRule:"transform",attrName:"separatorFlipHorizontally",key:"separatorFlipHorizontally",valuePreCallback:(e,t)=>{const a=e,n=t("separatorFlipVertically");if(!r&&!l)return;if(!a&&!n)return;const i=l&&a,s=i&&o,c=r&&n;return(0,u.compact)([i?"scaleX(-1)":void 0,s?"scaleY(-1)":void 0,c?"scaleY(-1)":void 0]).join(" ")},dependencies:["separatorFlipVertically",...s]})),(0,oe.createElement)(pd,at({},t,{attrNameTemplate:`${a}%s`,selector:c+" svg",styleRule:"fill",attrName:"separatorColor",key:"separatorColor"})),(0,oe.createElement)(pd,at({},t,{attrNameTemplate:`${a}%s`,selector:c+` ${i}`,styleRule:"transform",attrName:"separatorWidth",key:"separatorWidth",format:"scaleX(%s)"})),(0,oe.createElement)(pd,at({},t,{attrNameTemplate:`${a}%s`,selector:c+` ${i}`,styleRule:"height",responsive:"all",attrName:"separatorHeight",key:"separatorHeight",format:"%spx"})),(0,oe.createElement)(pd,at({},t,{attrNameTemplate:`${a}%s`,selector:c+" svg",styleRule:"filter",attrName:"separatorShadow",key:"separatorShadow",format:"drop-shadow(%s)",valueCallback:e=>"drop-shadow(none)"===e?"none":e})))},Sb=e=>{const t={...e,version:e.version,versionAdded:"3.0.0",versionDeprecated:""},{selector:a}=e;return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(pd,at({},t,{renderIn:"edit",selector:void 0!==a?a:" > .stk-separator__bottom",styleRule:"bottom",attrName:"blockMargin",key:"blockMargin",responsive:"all",valuePreCallback:e=>null==e?void 0:e.bottom,format:"%spx"})))},Eb=e=>{const t=(0,Z.applyFilters)("stackable.block-component.separator.layer-styles",null);return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(_b,at({},e,{location:"top"})),(0,oe.createElement)(_b,at({},e,{isInitiallyFlippedVertically:!1,location:"bottom"})),(0,oe.createElement)(Sb,e),t&&(0,oe.createElement)(t,at({},e,{location:"top"})),t&&(0,oe.createElement)(t,at({},e,{location:"bottom"})))};Eb.Content=e=>{const t=(0,Z.applyFilters)("stackable.block-component.separator.layer-styles",null);return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(_b,at({},e,{location:"top"})),(0,oe.createElement)(_b,at({},e,{isInitiallyFlippedVertically:!1,location:"bottom"})),t&&(0,oe.createElement)(t,at({},e,{location:"top"})),t&&(0,oe.createElement)(t,at({},e,{location:"bottom"})))};const Tb=[{image:"dist/images/block-components-separator-wave-1.fe7d2e5.png",label:(0,T.sprintf)((0,T._x)("%s %d","Nth Title",m.i18n),(0,T.__)("Wave",m.i18n),1),value:"wave-1"},{image:"dist/images/block-components-separator-straight-1.fba0f99.png",label:(0,T.__)("Straight",m.i18n),value:"straight-1"},{image:"dist/images/block-components-separator-wave-2.bc3ff78.png",label:(0,T.sprintf)((0,T._x)("%s %d","Nth Title",m.i18n),(0,T.__)("Wave",m.i18n),2),value:"wave-2"},{image:"dist/images/block-components-separator-wave-3.9e204d5.png",label:(0,T.sprintf)((0,T._x)("%s %d","Nth Title",m.i18n),(0,T.__)("Wave",m.i18n),3),value:"wave-3"},{image:"dist/images/block-components-separator-wave-4.b82e3aa.png",label:(0,T.sprintf)((0,T._x)("%s %d","Nth Title",m.i18n),(0,T.__)("Wave",m.i18n),4),value:"wave-4"},{image:"dist/images/block-components-separator-slant-1.645f0b9.png",label:(0,T.sprintf)((0,T._x)("%s %d","Nth Title",m.i18n),(0,T.__)("Slant",m.i18n),1),value:"slant-1"},{image:"dist/images/block-components-separator-slant-2.50e3178.png",label:(0,T.sprintf)((0,T._x)("%s %d","Nth Title",m.i18n),(0,T.__)("Slant",m.i18n),2),value:"slant-2"},{image:"dist/images/block-components-separator-curve-1.277a020.png",label:(0,T.sprintf)((0,T._x)("%s %d","Nth Title",m.i18n),(0,T.__)("Curve",m.i18n),1),value:"curve-1"},{image:"dist/images/block-components-separator-curve-2.4b8c7da.png",label:(0,T.sprintf)((0,T._x)("%s %d","Nth Title",m.i18n),(0,T.__)("Curve",m.i18n),2),value:"curve-2"},{image:"dist/images/block-components-separator-curve-3.da5eb6d.png",label:(0,T.sprintf)((0,T._x)("%s %d","Nth Title",m.i18n),(0,T.__)("Curve",m.i18n),3),value:"curve-3"},{image:"dist/images/block-components-separator-rounded-1.85d0e25.png",label:(0,T.sprintf)((0,T._x)("%s %d","Nth Title",m.i18n),(0,T.__)("Rounded",m.i18n),1),value:"rounded-1"},{image:"dist/images/block-components-separator-rounded-2.6e57ec5.png",label:(0,T.sprintf)((0,T._x)("%s %d","Nth Title",m.i18n),(0,T.__)("Rounded",m.i18n),2),value:"rounded-2"},{image:"dist/images/block-components-separator-rounded-3.78cb6da.png",label:(0,T.sprintf)((0,T._x)("%s %d","Nth Title",m.i18n),(0,T.__)("Rounded",m.i18n),3),value:"rounded-3"}];(0,Z.hasFilter)("stackable.block-component.separator.layouts","default")||(0,Z.addFilter)("stackable.block-component.separator.layouts","default",(e=>[...e,...Tb]));const Bb=e=>{const{attribute:t,responsive:a,hover:n,valueCallback:i,changeCallback:l,onChange:r,value:o}=e,{excludeDesigns:s,...c}=e,d=(0,oe.useMemo)((()=>((0,Z.applyFilters)("stackable.block-component.separator.layouts",[])||[]).filter((e=>-1===(0,u.findIndex)(s,(t=>t===(null==e?void 0:e.value)))))),[...s]),[m,g]=Qt(t,a,n,i,l),[p,h]=la(c);return(0,oe.createElement)(ia,h,(0,oe.createElement)(fl,at({},p,{options:d,selected:void 0===o?m:o,onChange:void 0===r?g:r})))};Bb.defaultProps={excludeDesigns:[],attribute:""};const Mb=Bb,Nb=["none","0px 0 1px rgba(120, 120, 120, 0.5)","0px 0 2px rgba(120, 120, 120, 0.5)","2px 4px 6px #000","0px 5px 10px rgba(153, 153, 153, 0.35)","0px 2px 20px rgba(153, 153, 153, 0.2)","25px 10px 30px rgba(18, 63, 82, 0.3)","0px 10px 30px rgba(0, 0, 0, 0.05)","7px 5px 30px rgba(72, 73, 121, 0.15)","0px 10px 60px rgba(0, 0, 0, 0.1)","70px 130px -60px rgba(72, 73, 121, 0.38) "],Ib=e=>{const{attrNameTemplate:t,hasFlipVertically:a}=e,{getAttrName:n}=$e(t),i=(0,Z.applyFilters)("stackable.separator.shadows",Nb);return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(Mb,{label:(0,T.__)("Design",m.i18n),attribute:n("separatorDesign")}),(0,oe.createElement)(ua,{label:(0,T.__)("Color",m.i18n),attribute:n("separatorColor")}),(0,oe.createElement)(Ja,{label:(0,T.__)("Height",m.i18n),min:30,sliderMax:400,placeholder:"",attribute:n("separatorHeight"),responsive:"all",helpTooltip:{video:"separator-height",title:(0,T.__)("Separator Height",m.i18n),description:(0,T.__)("Adjusts the height of the separator to stretch or compress vertically",m.i18n)}}),(0,oe.createElement)(Ja,{label:(0,T.__)("Width",m.i18n),attribute:n("separatorWidth"),min:1,sliderMax:4,step:.1,helpTooltip:{video:"separator-width",title:(0,T.__)("Separator Width",m.i18n),description:(0,T.__)("Adjusts the height of the separator to stretch or compress vertically",m.i18n)}}),(0,oe.createElement)(Ic,{isFilter:!0,label:(0,T.__)("Shadow / Outline",m.i18n),attribute:n("separatorShadow"),options:i,placeholder:"5",helpTooltip:{video:"separator-shadow",title:(0,T.__)("Shadow",m.i18n),description:(0,T.__)("Adjusts the intensity of the separator shadow and makes the separator more prominent",m.i18n)}}),(0,oe.createElement)(mc,{label:(0,T.__)("Invert Design",m.i18n),attribute:n("separatorInverted")}),(0,oe.createElement)(mc,{label:(0,T.__)("Flip Horizontally",m.i18n),attribute:n("separatorFlipHorizontally")}),a&&(0,oe.createElement)(mc,{label:(0,T.__)("Flip Vertically",m.i18n),attribute:n("separatorFlipVertically")}),(0,oe.createElement)(mc,{label:(0,T.__)("Bring to Front",m.i18n),attribute:n("separatorBringToFront"),helpTooltip:{video:"separator-bring-to-front",title:(0,T.__)("Bring to Front",m.i18n),description:(0,T.__)("Brings the separator layer in front of other block elements",m.i18n)}}))};Ib.defaultProps={attrNameTemplate:"%s",hasFlipVertically:!1};const Rb=e=>{const t=(0,oe.useMemo)((()=>(0,Z.applyFilters)("stackable.block-component.separator.top.after",null)),[]),a=(0,oe.useMemo)((()=>(0,Z.applyFilters)("stackable.block-component.separator.bottom.after",null)),[]),n=Me(),i=Be((e=>({topSeparatorShow:e.topSeparatorShow,bottomSeparatorShow:e.bottomSeparatorShow})));return(0,oe.createElement)(Du,null,(0,oe.createElement)(ji,{title:(0,T.__)("Top Separator",m.i18n),id:"top-separator",hasToggle:!0,checked:i.topSeparatorShow,onChange:e=>n({topSeparatorShow:e})},(0,oe.createElement)(Ib,{attrNameTemplate:"top%s"}),t&&(0,oe.createElement)(t,e),m.showProNotice&&(0,oe.createElement)(ql,{type:"separator"})),(0,oe.createElement)(ji,{title:(0,T.__)("Bottom Separator",m.i18n),id:"bottom-separator",hasToggle:!0,checked:i.bottomSeparatorShow,onChange:e=>n({bottomSeparatorShow:e})},(0,oe.createElement)(Ib,{attrNameTemplate:"bottom%s"}),a&&(0,oe.createElement)(a,e),m.showProNotice&&(0,oe.createElement)(ql,{type:"separator"})))};Rb.SeparatorControls=Ib;const Ab=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"top%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;const a=M(e);return{[a(`SeparatorLayer${t}Show`)]:{type:"boolean",default:""},[a(`SeparatorLayer${t}Color`)]:{type:"string",default:""},[a(`SeparatorLayer${t}Height`)]:{stkResponsive:!0,type:"number",default:""},[a(`SeparatorLayer${t}Width`)]:{type:"number",default:""},[a(`SeparatorLayer${t}FlipHorizontally`)]:{type:"boolean",default:""},[a(`SeparatorLayer${t}Inverted`)]:{type:"boolean",default:""},[a(`SeparatorLayer${t}Opacity`)]:{type:"number",default:""},[a(`SeparatorLayer${t}BlendMode`)]:{type:"string",default:""}}},Ob=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s";const t=M(e);return{[t("separatorShow")]:{type:"boolean",default:""},[t("separatorDesign")]:{type:"string",default:""},[t("separatorColor")]:{type:"string",default:""},[t("separatorHeight")]:{stkResponsive:!0,type:"number",default:""},[t("separatorWidth")]:{type:"number",default:""},[t("separatorShadow")]:{type:"string",default:""},[t("separatorInverted")]:{type:"boolean",default:""},[t("separatorFlipHorizontally")]:{type:"boolean",default:""},[t("separatorFlipVertically")]:{type:"boolean",default:""},[t("separatorBringToFront")]:{type:"boolean",default:""}}},Pb={...Ob("top%s"),...Ob("bottom%s"),...Ab("top%s",2),...Ab("top%s",3),...Ab("bottom%s",2),...Ab("bottom%s",3)},Hb=e=>{let{children:t}=e;const a=Be((e=>({topSeparatorShow:e.topSeparatorShow,topSeparatorDesign:e.topSeparatorDesign,topSeparatorInverted:e.topSeparatorInverted,topSeparatorLayer2Show:e.topSeparatorLayer2Show,topSeparatorLayer3Show:e.topSeparatorLayer3Show,bottomSeparatorShow:e.bottomSeparatorShow,bottomSeparatorDesign:e.bottomSeparatorDesign,bottomSeparatorInverted:e.bottomSeparatorInverted,bottomSeparatorLayer2Show:e.bottomSeparatorLayer2Show,bottomSeparatorLayer3Show:e.bottomSeparatorLayer3Show})));return(0,oe.createElement)(oe.Fragment,null,a.topSeparatorShow&&(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)("div",{className:"stk-separator stk-separator__top"},(0,oe.createElement)("div",{className:"stk-separator__wrapper"},(0,oe.createElement)(Xu,{design:a.topSeparatorDesign,inverted:a.topSeparatorInverted}),(0,Z.applyFilters)("stackable.block-component.separator.output.top.after",null,a)))),t,a.bottomSeparatorShow&&(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)("div",{className:"stk-separator stk-separator__bottom"},(0,oe.createElement)("div",{className:"stk-separator__wrapper"},(0,oe.createElement)(Xu,{design:a.bottomSeparatorDesign,inverted:a.bottomSeparatorInverted}),(0,Z.applyFilters)("stackable.block-component.separator.output.bottom.after",null,a)))))};Hb.Content=e=>{let{children:t,attributes:a}=e;return(0,oe.createElement)(oe.Fragment,null,a.topSeparatorShow&&(0,oe.createElement)("div",{className:"stk-separator stk-separator__top"},(0,oe.createElement)("div",{className:"stk-separator__wrapper"},(0,oe.createElement)(Xu,{design:a.topSeparatorDesign,inverted:a.topSeparatorInverted}),(0,Z.applyFilters)("stackable.block-component.separator.output.top.after",null,a))),t,a.bottomSeparatorShow&&(0,oe.createElement)("div",{className:"stk-separator stk-separator__bottom"},(0,oe.createElement)("div",{className:"stk-separator__wrapper"},(0,oe.createElement)(Xu,{design:a.bottomSeparatorDesign,inverted:a.bottomSeparatorInverted}),(0,Z.applyFilters)("stackable.block-component.separator.output.bottom.after",null,a))))},Hb.Content.defaultProps={attributes:{}},Hb.InspectorControls=Rb,Hb.addAttributes=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{}=t;e.add({attributes:Pb,versionAdded:"3.0.0",versionDeprecated:""})},Hb.Style=Eb;const Lb=e=>{const t={...e,version:e.version,versionAdded:"3.0.0",versionDeprecated:""},{selector:a=""}=e;return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(pd,at({},t,{selector:a,styleRule:"marginBottom",attrName:"blockMarginBottom",key:"blockMarginBottom",responsive:"all",format:"%spx"})))},zb=e=>(0,oe.createElement)(Lb,e);zb.Content=e=>(0,oe.createElement)(Lb,e);const Fb=(0,oe.memo)((e=>{var t,a;const{clientId:n}=(0,ae.useBlockEditContext)(),i=Be((e=>({layout:e.layout,uniqueId:e.uniqueId,blockMargin:e.blockMargin,blockMarginTablet:e.blockMarginTablet,blockMarginMobile:e.blockMarginMobile,blockMarginUnit:e.blockMarginUnit,blockMarginUnitTablet:e.blockMarginUnitTablet,blockMarginUnitMobile:e.blockMarginUnitMobile}))),{isLastBlock:l,parentBlock:r}=re(n);if("horizontal"===Ne((e=>e["stackable/innerBlockOrientation"])))return null;if(r&&"core/group"===r.name&&"flex"===(null===(t=r.attributes.layout)||void 0===t?void 0:t.type)&&"nowrap"===(null===(a=r.attributes.layout)||void 0===a?void 0:a.flexWrap))return null;const o=(0,Z.applyFilters)("stackable.edit.margin-bottom.enable-handlers",!0,r);return!l&&o&&i.uniqueId?(0,oe.createElement)(Su,at({previewSelector:e.previewSelector||(i.uniqueId?`.${Pp(i.uniqueId)}`:void 0),attribute:"blockMargin",responsive:"all"},i)):null}));Fb.addAttributes=e=>{e.add({attributes:{blockMargin:{stkResponsive:!0,type:"object"}},versionAdded:"3.0.0",versionDeprecated:""})},Fb.Style=zb;const Db=e=>rt()({"stk--hide-desktop":e.hideDesktop,"stk--hide-tablet":e.hideTablet,"stk--hide-mobile":e.hideMobile}),$b=()=>null;$b.InspectorControls=()=>{const e=Me(),{hideDesktop:t,hideTablet:a,hideMobile:n}=Be((e=>({hideDesktop:e.hideDesktop,hideTablet:e.hideTablet,hideMobile:e.hideMobile})));return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)($u,null,(0,oe.createElement)(ji,{title:(0,T.__)("Responsive",m.i18n),initialOpen:!1},(0,oe.createElement)(mc,{label:(0,T.__)("Hide on Desktop",m.i18n),checked:t,onChange:t=>e({hideDesktop:t})}),(0,oe.createElement)(mc,{label:(0,T.__)("Hide on Tablet",m.i18n),checked:a,onChange:t=>e({hideTablet:t})}),(0,oe.createElement)(mc,{label:(0,T.__)("Hide on Mobile",m.i18n),checked:n,onChange:t=>e({hideMobile:t})}))))},$b.addAttributes=e=>{e.add({attributes:{hideDesktop:{type:"boolean",default:!1},hideTablet:{type:"boolean",default:!1},hideMobile:{type:"boolean",default:!1}},versionAdded:"3.0.0",versionDeprecated:""})};const Ub=()=>m.showProNotice||m.isPro?(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)($u,null,(0,oe.createElement)(ji,{title:(0,T.__)("Transform & Transition",m.i18n),id:"transform-transition",isPremiumPanel:!m.isPro},!m.isPro&&(0,oe.createElement)(fa,{type:"transforms"}),m.isPro&&(0,Z.applyFilters)("stackable.block-component.transform-transition.control",null)))):null;Ub.defaultProps={};const Vb=e=>{const t=(0,Z.applyFilters)("stackable.block-component.transform.style",null);return t&&(0,oe.createElement)(t,e)};Vb.Content=e=>{const t=(0,Z.applyFilters)("stackable.block-component.transform.style.content",null);return t&&(0,oe.createElement)(t,e)};const Wb=()=>null;Wb.InspectorControls=Ub,Wb.addAttributes=e=>{e.add({attributes:{transitionDuration:{type:"number",default:""},transitionOrigin:{type:"string",default:""},transitionFunction:{type:"string",default:""},transform:{type:"string",stkHover:!0,stkResponsive:!0,default:""}},versionAdded:"3.0.0",versionDeprecated:""})},Wb.Style=Vb;const Gb=wp.escapeHtml,jb=["none","2px 2px 4px rgba(0, 0, 0, 0.2)","6px 6px 4px rgba(120, 120, 120, 0.2)","2px 4px 5px rgba(0, 0, 0, 0.4)","0px 0px 5px rgba(0, 0, 0, 0.4)","4px 4px 0px rgba(0, 0, 0, 1)","0px 15px 14px rgba(18, 63, 82, 0.3)","25px 10px 14px rgba(18, 63, 82, 0.3)","25px 10px 30px rgba(18, 63, 82, 0.3)","0px 0px 40px rgba(18, 63, 82, 0.6)","0px 0px 62px rgba(71, 73, 79, 1)","0px 0px 100px rgba(71, 73, 79, 1)"],qb=[{value:"",title:(0,T.__)("Single",m.i18n)},{value:"gradient",title:(0,T.__)("Gradient",m.i18n)}],Kb=e=>{const{hasAlign:t,hasColor:a,hasTextTag:n,hasTextContent:i,hasRemoveMargins:l,attrNameTemplate:r,isMultiline:o,hasGradient:s,hasTextShadow:c,blockState:d}=e,{getAttribute:g,updateAttributeHandler:p,updateAttributes:h,updateAttribute:v}=$e(r),b=M(r),f=g("text"),[y,k]=(0,oe.useState)(f);(0,oe.useEffect)((()=>{f!==y&&k(f)}),[f]),(0,oe.useEffect)((()=>{let e;return y!==f&&(e=setTimeout((()=>{v("text",y)}),300)),()=>clearTimeout(e)}),[v,y,f]);const x=(0,oe.useCallback)((e=>k((0,Gb.escapeHTML)(e))),[]),w=(0,oe.useCallback)((e=>{var t;if("normal"!==d)return e;const a=ee(e),n=null===(t=((0,te.select)("core/block-editor").getSettings().colors||[]).find((e=>{let{color:t}=e;return a===t})))||void 0===t?void 0:t.slug;return v("textColorClass",n?(0,ae.getColorClassName)("color",n):""),e}),[d]);return(0,oe.createElement)(oe.Fragment,null,(0,Z.applyFilters)("stackable.block-component.typography.before",null,e),i&&(0,oe.createElement)(Ma,{label:(0,T.__)("Content",m.i18n),hasPanelModifiedIndicator:!1,isMultiline:o,value:(0,u.unescape)(y),onChange:x,changeDynamicContent:k,isDynamic:!0}),l&&(0,oe.createElement)(mc,{label:(0,T.__)("Use theme heading margins",m.i18n),attribute:b("useThemeTextMargins")}),n&&(0,oe.createElement)(pr,{attribute:b("textTag"),hasP:g("hasP")}),(0,oe.createElement)(Ll,{label:(0,T.__)("Typography",m.i18n),popoverLabel:(0,T.__)("Typography",m.i18n),onReset:()=>{h({[L("fontFamily")]:"",[L("fontWeight","desktop",d)]:"",[L("textTransform","desktop",d)]:"",[L("letterSpacing","desktop",d)]:"",[L("letterSpacing","tablet",d)]:"",[L("letterSpacing","mobile",d)]:"",[L("lineHeight","desktop",d)]:"",[L("lineHeight","tablet",d)]:"",[L("lineHeight","mobile",d)]:""})},allowReset:g("fontFamily")||g("fontWeight","desktop",d)||g("textTransform","desktop",d)||g("letterSpacing","desktop",d)||g("letterSpacing","tablet",d)||g("letterSpacing","mobile",d)||g("lineHeight","desktop",d)||g("lineHeight","tablet",d)||g("lineHeight","mobile",d)},(0,oe.createElement)(En,{label:(0,T.__)("Font Family",m.i18n),onChange:p("fontFamily"),value:g("fontFamily"),helpTooltip:{video:"typography-family",description:(0,T.__)("Sets the font set to be used for the element",m.i18n)}}),(0,oe.createElement)(Xa,{label:(0,T.__)("Weight",m.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,T.__)("Default",m.i18n),value:""},{label:(0,T.__)("Normal",m.i18n),value:"normal"},{label:(0,T.__)("Bold",m.i18n),value:"bold"}],attribute:b("fontWeight"),helpTooltip:{video:"typography-weight",title:(0,T.__)("Font weight",m.i18n),description:(0,T.__)("Sets the thinness or thickness of text characters",m.i18n)}}),(0,oe.createElement)(Xa,{label:(0,T.__)("Transform",m.i18n),options:[{label:(0,T.__)("Default",m.i18n),value:""},{label:(0,T.__)("Uppercase",m.i18n),value:"uppercase"},{label:(0,T.__)("Lowercase",m.i18n),value:"lowercase"},{label:(0,T.__)("Capitalize",m.i18n),value:"capitalize"},{label:(0,T.__)("None",m.i18n),value:"none"}],attribute:b("textTransform"),helpTooltip:{video:"typography-transform",title:(0,T.__)("Transform",m.i18n),description:(0,T.__)("Sets the usage of upper or lower case",m.i18n)}}),(0,oe.createElement)(Xa,{label:(0,T.__)("Font Style",m.i18n),options:[{label:(0,T.__)("Default",m.i18n),value:""},{label:(0,T.__)("Normal",m.i18n),value:"normal"},{label:(0,T.__)("Italic",m.i18n),value:"italic"},{label:(0,T.__)("Oblique",m.i18n),value:"oblique"}],attribute:b("fontStyle")}),(0,oe.createElement)(Ja,{label:(0,T.__)("Line-Height",m.i18n),attribute:b("lineHeight"),units:["px","em","rem"],min:[1,.1],sliderMax:[100,10],step:[1,.1],placeholder:[30,1.5],allowReset:!0,initialPosition:[37,1.8],responsive:"all",helpTooltip:{video:"typography-line-height",title:(0,T.__)("Line height",m.i18n),description:(0,T.__)("Sets the vertical distance between lines of text",m.i18n)}}),(0,oe.createElement)(Ja,{label:(0,T.__)("Letter Spacing",m.i18n),attribute:b("letterSpacing"),min:-5,sliderMax:10,step:.1,allowReset:!0,placeholder:"0",responsive:"all",helpTooltip:{video:"typography-letter-spacing",title:(0,T.__)("Letter spacing",m.i18n),description:(0,T.__)("Sets the distance or space between letters",m.i18n)}})),(0,oe.createElement)(Ja,{label:(0,T.__)("Size",m.i18n),allowReset:!0,attribute:b("fontSize"),units:["px","em","rem"],min:[0,0],sliderMax:[150,7],step:[1,.05],placeholder:e.sizePlaceholder,responsive:"all",helpTooltip:{title:(0,T.__)("Font size",m.i18n),description:(0,T.__)("Sets the size of text characters",m.i18n)}}),a&&(0,oe.createElement)(oe.Fragment,null,s&&(0,oe.createElement)(xn,{controls:qb,isSmall:!0,fullwidth:!1,attribute:b("textColorType")}),(0,oe.createElement)(ua,{changeCallback:w,label:"gradient"===g("textColorType")&&s?(0,T.sprintf)((0,T.__)("Text Color #%s",m.i18n),1):(0,T.__)("Text Color",m.i18n),attribute:b("textColor1"),hover:(!s||"gradient"!==g("textColorType"))&&"all",hasTransparent:"gradient"===g("textColorType")}),"gradient"===g("textColorType")&&s&&(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(ua,{label:(0,T.sprintf)((0,T.__)("Text Color #%s",m.i18n),2),attribute:b("textColor2"),hasTransparent:!0}),(0,oe.createElement)(Ja,{label:(0,T.__)("Gradient Direction (degrees)",m.i18n),attribute:b("textGradientDirection"),min:0,max:360,step:10,allowReset:!0})),(0,Z.applyFilters)("stackable.block-component.typography.color.after",null,e)),c&&(0,oe.createElement)(Ic,{isFilter:!0,label:(0,T.__)("Shadow / Outline",m.i18n),attribute:b("textShadow"),options:jb,placeholder:"",hover:"all"}),t&&(0,oe.createElement)(fr,{label:(0,T.__)("Align",m.i18n),attribute:b("textAlign"),responsive:"all"}))};Kb.defaultProps={hasAlign:!1,hasColor:!0,hasTextTag:!0,hasTextContent:!0,hasRemoveMargins:!1,attrNameTemplate:"%s",isMultiline:!1,hasGradient:!0,hasTextShadow:!1,blockState:"normal"};const Jb=(0,oe.memo)((e=>{const{hasAlign:t,hasColor:a,hasTextTag:n,hasTextContent:i,hasRemoveMargins:l,attrNameTemplate:r,isMultiline:o,initialOpen:s,hasGradient:c,hasToggle:u,label:d,hasTextShadow:m,blockState:g}=e,{getAttribute:p,updateAttributeHandler:h}=$e(r);return(0,oe.createElement)(Du,null,(0,oe.createElement)(ji,at({title:d,initialOpen:s,hasToggle:u},u?{checked:p("%s"!==r?"show":"showText"),onChange:h("%s"!==r?"show":"showText")}:{},{id:"text"}),(0,oe.createElement)(Kb,{hasAlign:t,hasColor:a,hasTextTag:n,hasTextContent:i,hasRemoveMargins:l,attrNameTemplate:r,isMultiline:o,hasGradient:c,hasTextShadow:m,blockState:g})))}));Jb.defaultProps={hasAlign:!1,hasColor:!0,hasTextTag:!0,hasTextContent:!0,attrNameTemplate:"%s",isMultiline:!1,initialOpen:!0,hasGradient:!0,hasRemoveMargins:!1,label:(0,T.__)("Typography",m.i18n),sizePlaceholder:"32",hasTextShadow:!1},Jb.Controls=Kb;const Yb={fontSize:{stkResponsive:!0,type:"number",default:"",stkUnits:"px"},lineHeight:{stkResponsive:!0,type:"number",default:"",stkUnits:"em"},fontFamily:{type:"string",default:""},fontStyle:{type:"string",default:""},fontWeight:{type:"string",default:""},textTransform:{type:"string",default:""},letterSpacing:{stkResponsive:!0,type:"number",default:""},textColorType:{type:"string",default:""},textColorClass:{type:"string",default:""},textColor1:{type:"string",stkHover:!0,default:""},textColor2:{type:"string",default:""},textShadow:{stkHover:!0,type:"string",default:""},textAlign:{stkResponsive:!0,type:"string",default:""},textGradientDirection:{type:"number",default:""},hasP:{type:"boolean",default:!1}},Xb=e=>{const t={...e,version:e.version,versionAdded:"3.0.0",versionDeprecated:""},{selector:a="",selectorCallback:n=null,attrNameTemplate:i="%s",inherit:l=!0,inheritMin:r,inheritMax:o=50,hoverSelector:s="",hoverSelectorCallback:c=null,dependencies:u=[]}=e;return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(pd,at({},t,{selector:a,selectorCallback:n,attrNameTemplate:i,styleRule:"textShadow",attrName:"textShadow",key:"textShadow",hover:"all",hoverSelector:s,hoverSelectorCallback:c})),(0,oe.createElement)(pd,at({},t,{selector:a,selectorCallback:n,attrNameTemplate:i,styleRule:"fontSize",attrName:"fontSize",key:"fontSize",hasUnits:"px",responsive:"all",clampCallback:(e,t,a,n)=>{const i=t("fontSize",a,n),s="mobile"===a;let c=e;const u=l&&bg(e,{min:r,max:o});if(s){c=l&&bg(t("fontSize","desktop",n),{min:r,max:o})||c}return c=u||c,c=void 0!==i&&""!==i?i:s?void 0:c,c},dependencies:["fontSizeUnit","fontSize",...u]})),(0,oe.createElement)(pd,at({},t,{selector:a,selectorCallback:n,attrNameTemplate:i,styleRule:"color",hover:"all",hoverSelector:s,hoverSelectorCallback:c,attrName:"textColor1",key:"textColor1-color",valuePreCallback:(e,t,a,n)=>{if("gradient"!==t("textColorType","desktop",n))return e},dependencies:["textColorType","textColor2","textGradientDirection",...u]})),(0,oe.createElement)(pd,at({},t,{selector:a,selectorCallback:n,attrNameTemplate:i,styleRule:"backgroundImage",attrName:"textColor1",key:"textColor1-image",valuePreCallback:(e,t)=>{if("gradient"===t("textColorType","desktop","normal"))return"1"},valueCallback:(e,t)=>{let a=t("textColor1","desktop","normal"),n=t("textColor2","desktop","normal");if("transparent"!==a||n?"transparent"!==n||a?(a=a||n,n=n||a):a="#000":n="#000",!a&&!n)return"linear-gradient(0deg, #000, #000)";const i=t("textGradientDirection","desktop","normal");return`linear-gradient(${""!==i?`${i}deg, `:""}${a}, ${n})`},dependencies:["textColorType","textColor1","textColor2","textGradientDirection",...u]})),(0,oe.createElement)(pd,at({},t,{selector:a,selectorCallback:n,attrNameTemplate:i,styleRule:"lineHeight",attrName:"lineHeight",key:"lineHeight",responsive:"all",hasUnits:"em",dependencies:u})),(0,oe.createElement)(pd,at({},t,{selector:a,selectorCallback:n,attrNameTemplate:i,styleRule:"fontWeight",attrName:"fontWeight",key:"fontWeight",dependencies:u})),(0,oe.createElement)(pd,at({},t,{selector:a,selectorCallback:n,attrNameTemplate:i,styleRule:"textTransform",attrName:"textTransform",key:"textTransform",dependencies:u})),(0,oe.createElement)(pd,at({},t,{selector:a,selectorCallback:n,attrNameTemplate:i,styleRule:"fontStyle",attrName:"fontStyle",key:"fontStyle",dependencies:u})),(0,oe.createElement)(pd,at({},t,{selector:a,selectorCallback:n,attrNameTemplate:i,styleRule:"fontFamily",attrName:"fontFamily",key:"fontFamily",valueCallback:e=>y(e),dependencies:u})),(0,oe.createElement)(pd,at({},t,{selector:a,selectorCallback:n,attrNameTemplate:i,styleRule:"letterSpacing",attrName:"letterSpacing",key:"letterSpacing",format:"%spx",responsive:"all",dependencies:u})))},Zb=e=>(0,oe.createElement)(Xb,e);Zb.Content=e=>(0,oe.createElement)(Xb,e);const Qb=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"%s";const a=M(t);return rt()({"stk--is-gradient":"gradient"===e[a("textColorType")],[`has-text-align-${e[a("textAlign")]}`]:e[a("textAlign")],[`has-text-align-${e[a("textAlignTablet")]}-tablet`]:e[a("textAlignTablet")],[`has-text-align-${e[a("textAlignMobile")]}-mobile`]:e[a("textAlignMobile")],"has-text-color":!!e[a("textColor1")],[e[a("textColorClass")]]:!!e[a("textColorClass")]})},ef=(0,oe.memo)((0,oe.forwardRef)(((e,t)=>{const{className:a,attrNameTemplate:n,tagName:i,defaultTag:l,value:r,onChange:o,children:s,editable:c,identifier:u,defaultValue:d,withoutInteractiveFormatting:m=!1,allowedFormats:g=null,...p}=e,h=M(n),v=Me(),{textTag:b,text:f,fontFamily:y}=Be((e=>{const t=M(n);return{textTag:e[t("textTag")],text:e[t("text")],fontFamily:e[t("fontFamily")]}})),k=(null===i?b:i)||l||"p",x=null===r?f:r,w=null===o?e=>v({[h("text")]:e}):o,[C,_]=(0,oe.useState)(x);De(y),(0,oe.useEffect)((()=>{x!==C&&_(x)}),[x]),(0,oe.useEffect)((()=>{let e;return x!==C&&(e=setTimeout((()=>{w(C||d)}),300)),()=>clearTimeout(e)}),[C,w]);const S=wa(C);return c?(0,oe.createElement)(ae.RichText,at({identifier:u,className:a,tagName:k,value:S,onChange:_,ref:t,withoutInteractiveFormatting:m,allowedFormats:g},p),s):(0,oe.createElement)(k,{className:a},S)})));ef.defaultProps={attrNameTemplate:"%s",tagName:null,defaultTag:"p",value:null,onChange:null,editable:!0,identifier:"text"},ef.Content=e=>{const{className:t,attrNameTemplate:a,attributes:n,tagName:i,defaultTag:l,value:r,children:o,...s}=e,c=e=>{const t=B(a,e);return n[L(t)]};return(0,oe.createElement)(ae.RichText.Content,at({className:t,tagName:(null===i?c("textTag"):i)||l,value:null===r?c("text"):r},s),o)},ef.Content.defaultProps={attrNameTemplate:"%s",attributes:{},tagName:null,defaultTag:"p",value:null},ef.InspectorControls=Jb,ef.addAttributes=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:".stk-content",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{hasTextTag:n=!0,hasTextContent:i=!0,defaultTextTag:l="p",attrNameTemplate:r="%s",multiline:o,defaultText:s="",multilineWrapperTags:c}=a;e.add({attributes:{...Yb,...i?{showText:{type:"boolean",default:!0},text:{source:"html",selector:t,multiline:o,default:s,__unstableMultilineWrapperTags:c}}:{},...n?{textTag:{type:"string",default:l}}:{}},versionAdded:"3.0.0",versionDeprecated:"",attrNameTemplate:r})},ef.Style=Zb;const tf=[{value:"",title:(0,T.__)("Single",m.i18n)},{value:"gradient",title:(0,T.__)("Gradient",m.i18n)}],af=e=>{let{attrNameTemplate:t,isCircle:a}=e;const{getAttribute:n,updateAttributes:i}=$e(t),l="gradient"===n("progressColorType"),r=n("progressMax")||100;return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(Du,null,(0,oe.createElement)(ji,{title:a?(0,T.__)("Progress Circle",m.i18n):(0,T.__)("Progress Bar",m.i18n),initialOpen:!0},(0,oe.createElement)(Ja,{label:(0,T.__)("Progress",m.i18n),attribute:"progressValue",min:"0",max:r,sliderMax:r,step:r<=1?.01:.1,placeholder:50,isDynamic:!0}),(0,oe.createElement)(Ja,{label:(0,T.__)("Maximum Progress",m.i18n),attribute:"progressMax",min:"0",sliderMax:"100",step:"1",placeholder:100}),!a&&(0,oe.createElement)(Ja,{label:(0,T.__)("Width",m.i18n),attribute:"progressWidth",responsive:"all",units:["%","px","vw"],min:[0,0,0],sliderMax:[100,1e3,100],step:"1",placeholder:100}),(0,oe.createElement)(Ja,{label:a?(0,T.__)("Size",m.i18n):(0,T.__)("Height",m.i18n),responsive:!!a&&"all",attribute:"progressSize",min:"0",sliderMin:a?50:8,sliderMax:a?300:50,step:"1",placeholder:a?150:32}),!a&&(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(Ja,{label:(0,T.__)("Border Radius",m.i18n),attribute:"progressBorderRadius",allowReset:!0,min:"0",units:["px","%","rem"],step:"1",sliderMax:"25",changeCallback:e=>(e||i({progressApplyBarRadius:!1}),e)}),n("progressBorderRadius")?(0,oe.createElement)(mc,{label:(0,T.__)("Apply border radius to bar",m.i18n),attribute:"progressApplyBarRadius",defaultValue:!1}):null),a&&(0,oe.createElement)(Ja,{label:(0,T.__)("Thickness",m.i18n),responsive:"all",attribute:"progressThickness",min:"0",sliderMin:"1",sliderMax:"30",step:"1",placeholder:8}),(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(xn,{controls:tf,isSmall:!0,fullwidth:!1,attribute:"progressColorType"}),(0,oe.createElement)(ua,{label:l?(0,T.sprintf)((0,T.__)("Bar Color #%s",m.i18n),1):(0,T.__)("Bar Color",m.i18n),attribute:"progressColor1",hasTransparent:l}),l&&(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(ua,{label:(0,T.sprintf)((0,T.__)("Bar Color #%s",m.i18n),2),attribute:"progressColor2",hasTransparent:!0}),a&&(0,oe.createElement)(Ja,{label:(0,T.__)("Gradient Direction (degrees)",m.i18n),attribute:"progressColorGradientDirection",min:0,max:360,step:10,allowReset:!0})),l&&!a&&(0,oe.createElement)(Ll,{label:(0,T.__)("Adv. Gradient Color Settings",m.i18n),onReset:()=>{i({progressColorGradientDirection:"",progressColorGradientBlendMode:"",progressColorGradientLocation1:"",progressColorGradientLocation2:""})},allowReset:""!==n("progressColorGradientDirection")&&90!==n("progressColorGradientDirection")||""!==n("progressColorGradientLocation1")&&0!==n("progressColorGradientLocation1")||""!==n("progressColorGradientLocation2")&&100!==n("progressColorGradientLocation2")||n("progressColorGradientBlendMode")},(0,oe.createElement)(Ja,{label:(0,T.__)("Gradient Direction (degrees)",m.i18n),attribute:"progressColorGradientDirection",min:0,max:360,step:10,allowReset:!0,placeholder:"90",helpTooltip:{title:(0,T.__)("Gradient Direction",m.i18n),description:(0,T.__)("Sets the direction (in degrees) of the colors",m.i18n)}}),(0,oe.createElement)(Ja,{label:(0,T.sprintf)((0,T.__)("Color %d Location",m.i18n),1),attribute:"progressColorGradientLocation1",sliderMin:0,max:100,step:1,allowReset:!0,placeholder:"0",helpTooltip:{video:"gradient-location",description:(0,T.__)("Sets the placement of each color in relation to the other color",m.i18n)}}),(0,oe.createElement)(Ja,{label:(0,T.sprintf)((0,T.__)("Color %d Location",m.i18n),2),attribute:"progressColorGradientLocation2",sliderMin:0,max:100,step:1,allowReset:!0,placeholder:"100",helpTooltip:{video:"gradient-location",description:(0,T.__)("Sets the placement of each color in relation to the other color",m.i18n)}}),(0,oe.createElement)(Pa,{label:(0,T.__)("Background Gradient Blend Mode",m.i18n),attribute:"progressColorGradientBlendMode",helpTooltip:{video:"background-blend-mode",description:(0,T.__)("Sets how this background gradient/image blends into the other background",m.i18n)}}))),(0,oe.createElement)(ua,{label:(0,T.__)("Background Color",m.i18n),attribute:"progressBackgroundColor",hasTransparent:!0}),a&&(0,oe.createElement)(mc,{label:(0,T.__)("Rounded",m.i18n),attribute:"progressRounded"}),(0,oe.createElement)(mc,{label:(0,T.__)("Animate",m.i18n),attribute:"progressAnimate",defaultValue:!0}),(0,oe.createElement)(Ma,{label:(0,T.__)("Accessibility Label",m.i18n),attribute:"progressAriaValueText"}))))};af.defaulProps={isCircle:!1,attrNameTemplate:"%s"},(0,Z.addFilter)("stackable.block-component.typography.before","stackable/progress-blocks",(e=>{const{name:t}=(0,ae.useBlockEditContext)();return["stackable/progress-bar","stackable/progress-circle"].includes(t)?(0,oe.createElement)(oe.Fragment,null,"stackable/progress-bar"===t&&(0,oe.createElement)(Ma,{label:(0,T.__)("Progress Bar Text",m.i18n),attribute:"text",isDynamic:!0}),(0,oe.createElement)(Ma,{label:(0,T.__)("Progress Prefix",m.i18n),attribute:"progressValuePrefix"}),(0,oe.createElement)(Ma,{label:(0,T.__)("Progress Suffix",m.i18n),attribute:"progressValueSuffix"})):e}));const nf=e=>{const t={...e,version:e.version,versionAdded:"3.4.5",versionDeprecated:""},{isCircle:a=!1,dependencies:n=[]}=e,i=a?".stk-progress-circle":".stk-progress-bar";return(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(pd,at({},t,{selector:i,styleRule:"--progress-max",attrName:"progressMax",key:"progressMax"})),(0,oe.createElement)(pd,at({},t,{selector:i,styleRule:"--progress-value",attrName:"progressValue",key:"progressValue",format:a?void 0:"%s%"})),!a&&(0,oe.createElement)(pd,at({},t,{selector:i,styleRule:"--progress-color-1",attrName:"progressColor1",key:"progressColor1-bar",dependencies:["progressColorType","progressColor2",...n]})),a&&(0,oe.createElement)(pd,at({},t,{selector:i,styleRule:"--progress-color-1",attrName:"progressColor1",key:"progressColor1-circle",dependencies:["progressColorType","progressColor2",...n],renderIn:"save",valuePreCallback:(e,t)=>"gradient"===t("progressColorType")?`url(#gradient-${t("uniqueId")})`:e})),(0,oe.createElement)(pd,at({},t,{selector:i,styleRule:"--progress-background",attrName:"progressBackgroundColor",key:"progressBackgroundColor"})),(0,oe.createElement)(pd,at({},t,{selector:i,responsive:"all",styleRule:"--progress-size",attrName:"progressSize",key:"progressSize",format:"%spx"})),a&&(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(pd,at({},t,{selector:i,renderIn:"edit",styleRule:"--progress-color-1",attrName:"progressColor1",key:"progressColor1-circle-var",valuePreCallback:(e,t)=>"gradient"===t("progressColorType")?`url(#gradient-${((t("progressColor1")||"-")+(t("progressColor2")||"-")+(t("progressColorGradientDirection")||"")).replace(/[^0-9A-Z]+/gi,"")})`:e,dependencies:["progressColorType","progressColor2","progressColorGradientDirection",...n]})),(0,oe.createElement)(pd,at({},t,{selector:i,styleRule:"--progress-rounded",attrName:"progressRounded",key:"progressRounded",valuePreCallback:e=>{if("string"!=typeof e&&!1!==e)return"round"}})),(0,oe.createElement)(pd,at({},t,{selector:i,responsive:"all",styleRule:"--progress-thickness",attrName:"progressThickness",key:"progressThickness",format:"%spx"}))),!a&&(0,oe.createElement)(oe.Fragment,null,(0,oe.createElement)(pd,at({},t,{selector:i,styleRule:"--progress-bar-width",attrName:"progressWidth",key:"progressWidth",hasUnits:"%",responsive:"all",dependencies:["progressWidthUnit",...n]})),(0,oe.createElement)(pd,at({},t,{selector:i,styleRule:"--progress-border-radius",attrName:"progressBorderRadius",key:"progressBorderRadius",hasUnits:"px"})),(0,oe.createElement)(pd,at({},t,{selector:i,styleRule:"--progress-bar-border-radius",attrName:"progressApplyBarRadius",key:"progressApplyBarRadius",valuePreCallback:(e,t)=>{const a=t("progressBorderRadius");return e?a:void 0},format:"%spx",dependencies:["progressBorderRadius",...n]})),(0,oe.createElement)(pd,at({},t,{selector:".stk-progress-bar__bar.stk--has-background-overlay:before",styleRule:"mixBlendMode",attrName:"progressColorGradientBlendMode",key:"progressColorGradientBlendMode",enabledCallback:e=>"gradient"===e("progressColorType"),dependencies:["progressColorType",...n]})),(0,oe.createElement)(pd,at({},t,{selector:".stk-progress-bar__bar.stk--has-background-overlay:before",styleRule:"backgroundImage",attrName:"progressColor1",key:"progressColor1-overlay",enabledCallback:e=>"gradient"===e("progressColorType"),valueCallback:(e,t)=>{if(!t("progressColor2"))return;const a=Q(t("progressColor2")||"#ffffff",0),n=Q(t("progressColor1")||"#3498db",0),i=`${t("progressColorGradientLocation1")||"0"}%`,l=`${t("progressColorGradientLocation2")||"100"}%`,r=t("progressColorGradientDirection");return`linear-gradient(${"string"==typeof r?"90deg":`${r}deg`}, ${t("progressColor1")||a} ${i}, ${t("progressColor2")||n} ${l})`},dependencies:["progressColorType","progressColor1","progressColor2","progressColorGradientLocation1","progressColorGradientLocation2","progressColorGradientDirection",...n]}))))},lf=e=>(0,oe.createElement)(nf,e);lf.Content=e=>(0,oe.createElement)(nf,e);const rf=()=>(0,oe.createElement)("div",null);rf.InspectorControls=af,rf.Style=lf,rf.addAttributes=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e.add({attributes:{progressValue:{type:"string",default:""},progressSize:{stkResponsive:t,type:"number",default:""},progressAnimate:{type:"boolean",default:!0},progressAriaValueText:{type:"string",default:""},progressColorType:{type:"string",default:""},progressColor1:{type:"string",default:""},progressColor2:{type:"string",default:""},progressColorGradientDirection:{type:"number",default:""},progressBackgroundColor:{type:"string",default:""},progressValuePrefix:{type:"string",default:""},progressValueSuffix:{type:"string",default:""},progressMax:{type:"number",default:""},...t?{progressThickness:{stkResponsive:!0,type:"number",default:""},progressRounded:{type:"boolean",default:""}}:{progressWidth:{stkResponsive:!0,type:"number",default:"",stkUnits:"%"},progressBorderRadius:{type:"number",default:"",stkUnits:"px"},progressApplyBarRadius:{type:"boolean",default:""},progressColorGradientLocation1:{type:"number",default:""},progressColorGradientLocation2:{type:"number",default:""},progressColorGradientBlendMode:{type:"string",default:""}}},versionAdded:"3.4.5",versionDeprecated:""})}},1991:(e,t)=>{var a;!function(){"use strict";var n=function(){function e(){}function t(e,t){for(var a=t.length,n=0;n<a;++n)i(e,t[n])}e.prototype=Object.create(null);var a={}.hasOwnProperty,n=/\s+/;function i(e,i){if(i){var l=typeof i;"string"===l?function(e,t){for(var a=t.split(n),i=a.length,l=0;l<i;++l)e[a[l]]=!0}(e,i):Array.isArray(i)?t(e,i):"object"===l?function(e,t){if(t.toString===Object.prototype.toString)for(var n in t)a.call(t,n)&&(e[n]=!!t[n]);else e[t.toString()]=!0}(e,i):"number"===l&&function(e,t){e[t]=!0}(e,i)}}return function(){for(var a=arguments.length,n=Array(a),i=0;i<a;i++)n[i]=arguments[i];var l=new e;t(l,n);var r=[];for(var o in l)l[o]&&r.push(o);return r.join(" ")}}();e.exports?(n.default=n,e.exports=n):void 0===(a=function(){return n}.apply(t,[]))||(e.exports=a)}()},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 o in a)n.call(a,o)&&a[o]&&e.push(o);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,o=e[1]/100,s=e[2]/100;if(0===o)return[l=255*s,l,l];t=2*s-(a=s<.5?s*(1+o):s+o-s*o),i=[0,0,0];for(var c=0;c<3;c++)(n=r+1/3*-(c-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[c]=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),o=Math.max(n,i,l),s=o-r;return o===r?t=0:n===o?t=(i-l)/s:i===o?t=2+(l-n)/s:l===o&&(t=4+(n-i)/s),(t=Math.min(60*t,360))<0&&(t+=360),a=(r+o)/2,[t,100*(o===r?0:a<=.5?s/(o+r):s/(2-o-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),o=0;o<Math.max(l.length-1,r.length-1);o++){var s=parseInt(l[o]||0,10),c=parseInt(r[o]||0,10);if(s>c)return 1;if(c>s)return-1}var u=l[l.length-1],d=r[r.length-1];if(u&&d){var m=u.split(".").map(a),g=d.split(".").map(a);for(o=0;o<Math.max(m.length,g.length);o++){if(void 0===m[o]||"string"==typeof g[o]&&"number"==typeof m[o])return-1;if(void 0===g[o]||"string"==typeof m[o]&&"number"==typeof g[o])return 1;if(m[o]>g[o])return 1;if(g[o]>m[o])return-1}}else if(u||d)return u?-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 o=Array.isArray(i);return o===Array.isArray(t)?o?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}()},4063:e=>{"use strict";e.exports=function e(t,a){if(t===a)return!0;if(t&&a&&"object"==typeof t&&"object"==typeof a){if(t.constructor!==a.constructor)return!1;var n,i,l;if(Array.isArray(t)){if((n=t.length)!=a.length)return!1;for(i=n;0!=i--;)if(!e(t[i],a[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===a.source&&t.flags===a.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===a.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===a.toString();if((n=(l=Object.keys(t)).length)!==Object.keys(a).length)return!1;for(i=n;0!=i--;)if(!Object.prototype.hasOwnProperty.call(a,l[i]))return!1;for(i=n;0!=i--;){var r=l[i];if(!e(t[r],a[r]))return!1}return!0}return t!=t&&a!=a}},1143:e=>{"use strict";e.exports=function(e,t,a,n,i,l,r,o){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[a,n,i,l,r,o],u=0;(s=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},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,o,s=i(e),c=1;c<arguments.length;c++){for(var u in r=Object(arguments[c]))a.call(r,u)&&(s[u]=r[u]);if(t){o=t(r);for(var d=0;d<o.length;d++)n.call(r,o[d])&&(s[o[d]]=r[o[d]])}}return s}},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 o=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 o.name="Invariant Violation",o}}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=d(l),o=d(a(5697)),s=d(a(1444)),c=d(a(8497)),u=a(7581);function d(e){return e&&e.__esModule?e:{default:e}}var m=function(){return!0},g=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 p.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,s.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,s.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,o=t.renderSuggestion,s=t.inputProps,d=t.multiSection,g=t.renderSectionTitle,p=t.id,h=t.getSectionSuggestions,v=t.theme,b=t.getSuggestionValue,f=t.alwaysRenderSuggestions,y=t.highlightFirstSuggestion,k=this.state,x=k.isFocused,w=k.isCollapsed,C=k.highlightedSectionIndex,_=k.highlightedSuggestionIndex,S=k.valueBeforeUpDown,E=f?m:this.props.shouldRenderSuggestions,T=s.value,B=s.onFocus,M=s.onKeyDown,N=this.willRenderSuggestions(this.props),I=f||x&&!w&&N,R=I?a:[],A=n({},s,{onFocus:function(t){if(!e.justSelectedSuggestion&&!e.justClickedOnSuggestionsContainer){var a=E(T);e.setState({isFocused:!0,isCollapsed:!a}),B&&B(t),a&&l({value:T,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(T)&&(l({value:T,reason:"suggestions-revealed"}),e.revealSuggestions());else if(a.length>0){var r,o=n.newHighlightedSectionIndex,s=n.newHighlightedItemIndex;r=null===s?null===S?T:S:e.getSuggestionValueByIndex(o,s),e.updateHighlightedSuggestion(o,s,T),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 c=e.getHighlightedSuggestion();if(I&&!f&&e.closeSuggestions(),null!=c){var u=b(c);e.maybeCallOnChange(t,u,"enter"),e.onSuggestionSelected(t,{suggestion:c,suggestionValue:u,suggestionIndex:_,sectionIndex:C,method:"enter"}),e.justSelectedSuggestion=!0,setTimeout((function(){e.justSelectedSuggestion=!1}))}break;case 27:I&&t.preventDefault();var d=I&&!f;null===S?d||(e.maybeCallOnChange(t,"","escape"),E("")?l({value:"",reason:"escape-pressed"}):e.onSuggestionsClearRequested()):e.maybeCallOnChange(t,S,"escape"),d?(e.onSuggestionsClearRequested(),e.closeSuggestions()):e.resetHighlightedSuggestion()}M&&M(t)}}),O={query:this.getQuery()};return r.default.createElement(c.default,{multiSection:d,items:R,renderInputComponent:i,renderItemsContainer:this.renderSuggestionsContainer,renderItem:o,renderItemData:O,renderSectionTitle:g,getSectionItems:h,highlightedSectionIndex:C,highlightedItemIndex:_,inputProps:A,itemProps:this.itemProps,theme:(0,u.mapToAutowhateverTheme)(v),id:p,ref:this.storeAutowhateverRef})}}]),t}(l.Component);g.propTypes={suggestions:o.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:o.default.func,onSuggestionHighlighted:o.default.func,renderInputComponent:o.default.func,renderSuggestionsContainer:o.default.func,getSuggestionValue:o.default.func.isRequired,renderSuggestion:o.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:o.default.func,alwaysRenderSuggestions:o.default.bool,multiSection:o.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:o.default.bool,highlightFirstSuggestion:o.default.bool,theme:o.default.object,id:o.default.string},g.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:u.defaultTheme,id:"1"};var p=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,o=l.suggestionIndex,s=e.getSuggestion(r,o),c=e.props.getSuggestionValue(s);e.maybeCallOnChange(t,c,"click"),e.onSuggestionSelected(t,{suggestion:s,suggestionValue:c,suggestionIndex:o,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(),o=n(i);e.setState({isFocused:!1,highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null,isCollapsed:!o}),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=g},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),o=m(a(5697)),s=m(a(2383)),c=m(a(8379)),u=m(a(1560)),d=m(a(7489));function m(e){return e&&e.__esModule?e:{default:e}}var g={},p=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",o=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,o=e[Symbol.iterator]();!(n=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);n=!0);}catch(e){i=!0,l=e}finally{try{!n&&o.return&&o.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),s=o[0],c=o[1];n.onKeyDown(e,{newHighlightedSectionIndex:s,newHighlightedItemIndex:c});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,s.default)({multiSection:e.multiSection,data:e.multiSection?this.sectionsLengths:e.items.length})}},{key:"setTheme",value:function(e){this.theme=(0,c.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,o=a.renderItemData,s=a.renderSectionTitle,c=a.highlightedSectionIndex,m=a.highlightedItemIndex,g=a.itemProps;return i.map((function(a,i){var p="react-autowhatever-"+n+"-",h=p+"section-"+i+"-",v=0===i;return r.default.createElement("div",t(h+"container","sectionContainer",v&&"sectionContainerFirst"),r.default.createElement(u.default,{section:a,renderSectionTitle:s,theme:t,sectionKeyPrefix:h}),r.default.createElement(d.default,{items:e.sectionsItems[i],itemProps:g,renderItem:l,renderItemData:o,sectionIndex:i,highlightedItemIndex:c===i?m:null,onHighlightedItemChange:e.onHighlightedItemChange,getItemId:e.getItemId,theme:t,keyPrefix:p,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,o=a.highlightedSectionIndex,s=a.highlightedItemIndex,c=a.itemProps;return r.default.createElement(d.default,{items:e,itemProps:c,renderItem:i,renderItemData:l,highlightedItemIndex:null===o?s: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,o=t.renderItemsContainer,s=t.highlightedSectionIndex,c=t.highlightedItemIndex,u=this.state.isInputFocused,d=i?this.renderSections():this.renderItems(),m=null!==d,g=this.getItemId(s,c),p="react-autowhatever-"+a,h=n({role:"combobox","aria-haspopup":"listbox","aria-owns":p,"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":p,"aria-activedescendant":g},e("react-autowhatever-"+a+"-input","input",m&&"inputOpen",u&&"inputFocused"),this.props.inputProps,{onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.props.inputProps.onKeyDown&&this.onKeyDown,ref:this.storeInputReference})),b=o({containerProps:n({id:p,role:"listbox"},e("react-autowhatever-"+a+"-items-container","itemsContainer",m&&"itemsContainerOpen"),{ref:this.storeItemsContainerReference}),children:d});return r.default.createElement("div",h,v,b)}}]),t}(l.Component);p.propTypes={id:o.default.string,multiSection:o.default.bool,renderInputComponent:o.default.func,renderItemsContainer:o.default.func,items:o.default.array.isRequired,renderItem:o.default.func,renderItemData:o.default.object,renderSectionTitle:o.default.func,getSectionItems:o.default.func,containerProps:o.default.object,inputProps:o.default.object,itemProps:o.default.oneOfType([o.default.object,o.default.func]),highlightedSectionIndex:o.default.number,highlightedItemIndex:o.default.number,theme:o.default.oneOfType([o.default.object,o.default.array])},p.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:g,renderSectionTitle:function(){throw new Error("`renderSectionTitle` must be provided")},getSectionItems:function(){throw new Error("`getSectionItems` must be provided")},containerProps:g,inputProps:g,itemProps:g,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=p},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=c(l),o=c(a(5697)),s=c(a(3130));function c(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 d(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;u(this,t);for(var i=arguments.length,l=Array(i),r=0;r<i;r++)l[r]=arguments[r];return a=n=d(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})},d(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,s.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,o=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 o.sectionIndex,delete o.itemIndex,"function"==typeof o.onMouseEnter&&(o.onMouseEnter=this.onMouseEnter),"function"==typeof o.onMouseLeave&&(o.onMouseLeave=this.onMouseLeave),"function"==typeof o.onMouseDown&&(o.onMouseDown=this.onMouseDown),"function"==typeof o.onClick&&(o.onClick=this.onClick),r.default.createElement("li",n({role:"option"},o,{ref:this.storeItemReference}),i(a,n({isHighlighted:t},l)))}}]),t}(l.Component);m.propTypes={sectionIndex:o.default.number,isHighlighted:o.default.bool.isRequired,itemIndex:o.default.number.isRequired,item:o.default.any.isRequired,renderItem:o.default.func.isRequired,renderItemData:o.default.object.isRequired,onMouseEnter:o.default.func,onMouseLeave:o.default.func,onMouseDown:o.default.func,onClick:o.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=u(l),o=u(a(5697)),s=u(a(6844)),c=u(a(3130));function u(e){return e&&e.__esModule?e:{default:e}}function d(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 g=function(e){function t(){var e,a,n;d(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,c.default)(e,this.props,["itemProps"])}},{key:"render",value:function(){var e=this,t=this.props,a=t.items,i=t.itemProps,l=t.renderItem,o=t.renderItemData,c=t.sectionIndex,u=t.highlightedItemIndex,d=t.getItemId,m=t.theme,g=t.keyPrefix,p=null===c?g:g+"section-"+c+"-",h="function"==typeof i;return r.default.createElement("ul",n({role:"listbox"},m(p+"items-list","itemsList")),a.map((function(t,a){var g=0===a,v=a===u,b=p+"item-"+a,f=h?i({sectionIndex:c,itemIndex:a}):i,y=n({id:d(c,a),"aria-selected":v},m(b,"item",g&&"itemFirst",v&&"itemHighlighted"),f);return v&&(y.ref=e.storeHighlightedItemReference),r.default.createElement(s.default,n({},y,{sectionIndex:c,isHighlighted:v,itemIndex:a,item:t,renderItem:l,renderItemData:o}))})))}}]),t}(l.Component);g.propTypes={items:o.default.array.isRequired,itemProps:o.default.oneOfType([o.default.object,o.default.func]),renderItem:o.default.func.isRequired,renderItemData:o.default.object.isRequired,sectionIndex:o.default.number,highlightedItemIndex:o.default.number,onHighlightedItemChange:o.default.func.isRequired,getItemId:o.default.func.isRequired,theme:o.default.func.isRequired,keyPrefix:o.default.string.isRequired},g.defaultProps={sectionIndex:null},t.default=g},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=s(i),r=s(a(5697)),o=s(a(3130));function s(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 u(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(){return c(this,t),u(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,o.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);d.propTypes={section:r.default.any.isRequired,renderSectionTitle:r.default.func.isRequired,theme:r.default.func.isRequired,sectionKeyPrefix:r.default.string.isRequired},t.default=d},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={},o=void 0,s=void 0;for(o=0,s=n.length;o<s;o++)r[n[o]]=!0;for(o=0,s=i.length;o<s;o++){var c=i[o],u=e[c],d=t[c];if(u!==d){if(!r[c]||null===u||null===d||"object"!==(void 0===u?"undefined":a(u))||"object"!==(void 0===d?"undefined":a(d)))return!0;var m=Object.keys(u),g=Object.keys(d);if(m.length!==g.length)return!0;for(var p=0,h=m.length;p<h;p++){var v=m[p];if(u[v]!==d[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)),o=l(a(7294)),s=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.componentDidUpdate=function(e){e.frame!==this.props.frame&&(this.resetDragging(),this.stopFrameListeners(e.frame),this.startFrameListeners(this.props.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,s=r.draggingOverTarget,c=n;return r.draggingOverFrame&&(c+=" "+i),s&&(c+=" "+l),o.default.createElement("div",{className:a,onDragOver:this.handleDragOver,onDragLeave:this.handleDragLeave,onDrop:this.handleDrop},o.default.createElement("div",{className:c,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}(o.default.PureComponent);t.FileDrop=s},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,o=e[Symbol.iterator]();!(n=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);n=!0);}catch(e){i=!0,l=e}finally{try{!n&&o.return&&o.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,o=Array(t>1?t-1:0),s=1;s<t;s++)o[s-1]=arguments[s];var c=o.map((function(e){return a[e]})).filter(r);return"string"==typeof c[0]||"function"==typeof i?{key:e,className:i?i.apply(void 0,n(c)):c.join(" ")}:{key:e,style:l.default.apply(void 0,[{}].concat(n(c)))}}},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),o=1;o<arguments.length;o++){i=arguments[o],l=n(Object(i));for(var s=0;s<l.length;s++)r[l[s]]=i[l[s]]}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,o=60110,s=60112;t.Suspense=60113;var c=60115,u=60116;if("function"==typeof Symbol&&Symbol.for){var d=Symbol.for;i=d("react.element"),l=d("react.portal"),t.Fragment=d("react.fragment"),t.StrictMode=d("react.strict_mode"),t.Profiler=d("react.profiler"),r=d("react.provider"),o=d("react.context"),s=d("react.forward_ref"),t.Suspense=d("react.suspense"),c=d("react.memo"),u=d("react.lazy")}var m="function"==typeof Symbol&&Symbol.iterator;function g(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 p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h={};function v(e,t,a){this.props=e,this.context=t,this.refs=h,this.updater=a||p}function b(){}function f(e,t,a){this.props=e,this.context=t,this.refs=h,this.updater=a||p}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(g(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},x=Object.prototype.hasOwnProperty,w={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,a){var n,l={},r=null,o=null;if(null!=t)for(n in void 0!==t.ref&&(o=t.ref),void 0!==t.key&&(r=""+t.key),t)x.call(t,n)&&!w.hasOwnProperty(n)&&(l[n]=t[n]);var s=arguments.length-2;if(1===s)l.children=a;else if(1<s){for(var c=Array(s),u=0;u<s;u++)c[u]=arguments[u+2];l.children=c}if(e&&e.defaultProps)for(n in s=e.defaultProps)void 0===l[n]&&(l[n]=s[n]);return{$$typeof:i,type:e,key:r,ref:o,props:l,_owner:k.current}}function _(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 T(e,t,a,n,r){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var s=!1;if(null===e)s=!0;else switch(o){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case i:case l:s=!0}}if(s)return r=r(s=e),e=""===n?"."+E(s,0):n,Array.isArray(r)?(a="",null!=e&&(a=e.replace(S,"$&/")+"/"),T(r,t,a,"",(function(e){return e}))):null!=r&&(_(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||s&&s.key===r.key?"":(""+r.key).replace(S,"$&/")+"/")+e)),t.push(r)),1;if(s=0,n=""===n?".":n+":",Array.isArray(e))for(var c=0;c<e.length;c++){var u=n+E(o=e[c],c);s+=T(o,t,a,u,r)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=m&&e[m]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),c=0;!(o=e.next()).done;)s+=T(o=o.value,t,a,u=n+E(o,c++),r);else if("object"===o)throw t=""+e,Error(g(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return s}function B(e,t,a){if(null==e)return e;var n=[],i=0;return T(e,n,"","",(function(e){return t.call(a,e,i++)})),n}function M(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 N={current:null};function I(){var e=N.current;if(null===e)throw Error(g(321));return e}var R={ReactCurrentDispatcher:N,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:k,IsSomeRendererActing:{current:!1},assign:n};t.Children={map:B,forEach:function(e,t,a){B(e,(function(){t.apply(this,arguments)}),a)},count:function(e){var t=0;return B(e,(function(){t++})),t},toArray:function(e){return B(e,(function(e){return e}))||[]},only:function(e){if(!_(e))throw Error(g(143));return e}},t.Component=v,t.PureComponent=f,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=R,t.cloneElement=function(e,t,a){if(null==e)throw Error(g(267,e));var l=n({},e.props),r=e.key,o=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(o=t.ref,s=k.current),void 0!==t.key&&(r=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(u in t)x.call(t,u)&&!w.hasOwnProperty(u)&&(l[u]=void 0===t[u]&&void 0!==c?c[u]:t[u])}var u=arguments.length-2;if(1===u)l.children=a;else if(1<u){c=Array(u);for(var d=0;d<u;d++)c[d]=arguments[d+2];l.children=c}return{$$typeof:i,type:e.type,key:r,ref:o,props:l,_owner:s}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:o,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:r,_context:e},e.Consumer=e},t.createElement=C,t.createFactory=function(e){var t=C.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:s,render:e}},t.isValidElement=_,t.lazy=function(e){return{$$typeof:u,_payload:{_status:-1,_result:e},_init:M}},t.memo=function(e,t){return{$$typeof:c,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,o=e[Symbol.iterator]();!(n=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);n=!0);}catch(e){i=!0,l=e}finally{try{!n&&o.return&&o.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"),o=l("html"),s=l("comment"),c=/<(\w*)>/g,u=/<\/?([^\s\/>]+)/;function d(e,t,a){return g(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=c.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 g(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,c=t.depth,u=t.in_quote_char,d="";for(let t=0,m=e.length;t<m;t++){let m=e[t];if(i===r)"<"===m?(i=o,l+=m):d+=m;else if(i===o)switch(m){case"<":if(u)break;c++;break;case">":if(u)break;if(c){c--;break}u="",i=r,l+=">",a.has(p(l))?d+=l:d+=n,l="";break;case'"':case"'":u=m===u?"":u||m,l+=m;break;case"-":"<!-"===l&&(i=s),l+=m;break;case" ":case"\n":if("<"===l){i=r,d+="< ",l="";break}l+=m;break;default:l+=m}else i===s&&(">"===m?("--"==l.slice(-2)&&(i=r),l=""):l+=m)}return t.state=i,t.tag_buffer=l,t.depth=c,t.in_quote_char=u,d}function p(e){let t=u.exec(e);return t?t[1].toLowerCase():null}d.init_streaming_mode=function(e,t){let a=m(e=e||[],t=t||"");return function(e){return g(e||"",a)}},void 0===(n=function(){return d}.call(t,a,t,e))||(e.exports=n)}()},2473:e=>{"use strict";e.exports=function(){}}},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(3487);window.stk=n})();