GenerateBlocks - Version 1.5.4

Version Description

  • Fix: Non hierarchical taxonomies with broken REST API calls
Download this release

Release Info

Developer edge22
Plugin Icon 128x128 GenerateBlocks
Version 1.5.4
Comparing to
See all releases

Code changes from version 1.5.3 to 1.5.4

dist/blocks.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-notices', 'wp-primitives', 'wp-rich-text'), 'version' => '3165a297dd14b83555ea672f501a0ee1');
1
+ <?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-notices', 'wp-primitives', 'wp-rich-text'), 'version' => '014d85cef652b1076b830deafd78f166');
dist/blocks.js CHANGED
@@ -1,6 +1,6 @@
1
  !function(){var e={184:function(e,t){var a;!function(){"use strict";var l={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var a=arguments[t];if(a){var n=typeof a;if("string"===n||"number"===n)e.push(a);else if(Array.isArray(a)){if(a.length){var i=r.apply(null,a);i&&e.push(i)}}else if("object"===n)if(a.toString===Object.prototype.toString)for(var o in a)l.call(a,o)&&a[o]&&e.push(o);else e.push(a.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(a=function(){return r}.apply(t,[]))||(e.exports=a)}()},856:function(e){e.exports=function(){"use strict";function e(t){return e="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},e(t)}function t(e,a){return t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(e,a)}function a(){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}}function l(e,r,n){return l=a()?Reflect.construct:function(e,a,l){var r=[null];r.push.apply(r,a);var n=new(Function.bind.apply(e,r));return l&&t(n,l.prototype),n},l.apply(null,arguments)}function r(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return n(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)?n(e,t):void 0}}(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 n(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,l=new Array(t);a<t;a++)l[a]=e[a];return l}var i=Object.hasOwnProperty,o=Object.setPrototypeOf,s=Object.isFrozen,c=Object.getPrototypeOf,u=Object.getOwnPropertyDescriptor,g=Object.freeze,d=Object.seal,b=Object.create,p="undefined"!=typeof Reflect&&Reflect,m=p.apply,f=p.construct;m||(m=function(e,t,a){return e.apply(t,a)}),g||(g=function(e){return e}),d||(d=function(e){return e}),f||(f=function(e,t){return l(e,r(t))});var h,k=B(Array.prototype.forEach),v=B(Array.prototype.pop),y=B(Array.prototype.push),w=B(String.prototype.toLowerCase),_=B(String.prototype.match),C=B(String.prototype.replace),T=B(String.prototype.indexOf),E=B(String.prototype.trim),x=B(RegExp.prototype.test),S=(h=TypeError,function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return f(h,t)});function B(e){return function(t){for(var a=arguments.length,l=new Array(a>1?a-1:0),r=1;r<a;r++)l[r-1]=arguments[r];return m(e,t,l)}}function M(e,t,a){a=a||w,o&&o(e,null);for(var l=t.length;l--;){var r=t[l];if("string"==typeof r){var n=a(r);n!==r&&(s(t)||(t[l]=n),r=n)}e[r]=!0}return e}function D(e){var t,a=b(null);for(t in e)m(i,e,[t])&&(a[t]=e[t]);return a}function R(e,t){for(;null!==e;){var a=u(e,t);if(a){if(a.get)return B(a.get);if("function"==typeof a.value)return B(a.value)}e=c(e)}return function(e){return console.warn("fallback value for",e),null}}var z=g(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),L=g(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),O=g(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),I=g(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),N=g(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),A=g(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),F=g(["#text"]),P=g(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),H=g(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),V=g(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),U=g(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),G=d(/\{\{[\w\W]*|[\w\W]*\}\}/gm),j=d(/<%[\w\W]*|[\w\W]*%>/gm),q=d(/^data-[\-\w.\u00B7-\uFFFF]/),W=d(/^aria-[\-\w]+$/),$=d(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Z=d(/^(?:\w+script|data):/i),K=d(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Q=d(/^html$/i),Y=function(){return"undefined"==typeof window?null:window},J=function(t,a){if("object"!==e(t)||"function"!=typeof t.createPolicy)return null;var l=null,r="data-tt-policy-suffix";a.currentScript&&a.currentScript.hasAttribute(r)&&(l=a.currentScript.getAttribute(r));var n="dompurify"+(l?"#"+l:"");try{return t.createPolicy(n,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+n+" could not be created."),null}};return function t(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Y(),l=function(e){return t(e)};if(l.version="2.3.9",l.removed=[],!a||!a.document||9!==a.document.nodeType)return l.isSupported=!1,l;var n=a.document,i=a.document,o=a.DocumentFragment,s=a.HTMLTemplateElement,c=a.Node,u=a.Element,d=a.NodeFilter,b=a.NamedNodeMap,p=void 0===b?a.NamedNodeMap||a.MozNamedAttrMap:b,m=a.HTMLFormElement,f=a.DOMParser,h=a.trustedTypes,B=u.prototype,X=R(B,"cloneNode"),ee=R(B,"nextSibling"),te=R(B,"childNodes"),ae=R(B,"parentNode");if("function"==typeof s){var le=i.createElement("template");le.content&&le.content.ownerDocument&&(i=le.content.ownerDocument)}var re=J(h,n),ne=re?re.createHTML(""):"",ie=i,oe=ie.implementation,se=ie.createNodeIterator,ce=ie.createDocumentFragment,ue=ie.getElementsByTagName,ge=n.importNode,de={};try{de=D(i).documentMode?i.documentMode:{}}catch(e){}var be={};l.isSupported="function"==typeof ae&&oe&&void 0!==oe.createHTMLDocument&&9!==de;var pe,me,fe=G,he=j,ke=q,ve=W,ye=Z,we=K,_e=$,Ce=null,Te=M({},[].concat(r(z),r(L),r(O),r(N),r(F))),Ee=null,xe=M({},[].concat(r(P),r(H),r(V),r(U))),Se=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Be=null,Me=null,De=!0,Re=!0,ze=!1,Le=!1,Oe=!1,Ie=!1,Ne=!1,Ae=!1,Fe=!1,Pe=!1,He=!0,Ve=!0,Ue=!1,Ge={},je=null,qe=M({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),We=null,$e=M({},["audio","video","img","source","image","track"]),Ze=null,Ke=M({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Qe="http://www.w3.org/1998/Math/MathML",Ye="http://www.w3.org/2000/svg",Je="http://www.w3.org/1999/xhtml",Xe=Je,et=!1,tt=["application/xhtml+xml","text/html"],at="text/html",lt=null,rt=i.createElement("form"),nt=function(e){return e instanceof RegExp||e instanceof Function},it=function(t){lt&&lt===t||(t&&"object"===e(t)||(t={}),t=D(t),pe=pe=-1===tt.indexOf(t.PARSER_MEDIA_TYPE)?at:t.PARSER_MEDIA_TYPE,me="application/xhtml+xml"===pe?function(e){return e}:w,Ce="ALLOWED_TAGS"in t?M({},t.ALLOWED_TAGS,me):Te,Ee="ALLOWED_ATTR"in t?M({},t.ALLOWED_ATTR,me):xe,Ze="ADD_URI_SAFE_ATTR"in t?M(D(Ke),t.ADD_URI_SAFE_ATTR,me):Ke,We="ADD_DATA_URI_TAGS"in t?M(D($e),t.ADD_DATA_URI_TAGS,me):$e,je="FORBID_CONTENTS"in t?M({},t.FORBID_CONTENTS,me):qe,Be="FORBID_TAGS"in t?M({},t.FORBID_TAGS,me):{},Me="FORBID_ATTR"in t?M({},t.FORBID_ATTR,me):{},Ge="USE_PROFILES"in t&&t.USE_PROFILES,De=!1!==t.ALLOW_ARIA_ATTR,Re=!1!==t.ALLOW_DATA_ATTR,ze=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Le=t.SAFE_FOR_TEMPLATES||!1,Oe=t.WHOLE_DOCUMENT||!1,Ae=t.RETURN_DOM||!1,Fe=t.RETURN_DOM_FRAGMENT||!1,Pe=t.RETURN_TRUSTED_TYPE||!1,Ne=t.FORCE_BODY||!1,He=!1!==t.SANITIZE_DOM,Ve=!1!==t.KEEP_CONTENT,Ue=t.IN_PLACE||!1,_e=t.ALLOWED_URI_REGEXP||_e,Xe=t.NAMESPACE||Je,t.CUSTOM_ELEMENT_HANDLING&&nt(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Se.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&nt(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Se.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Se.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Le&&(Re=!1),Fe&&(Ae=!0),Ge&&(Ce=M({},r(F)),Ee=[],!0===Ge.html&&(M(Ce,z),M(Ee,P)),!0===Ge.svg&&(M(Ce,L),M(Ee,H),M(Ee,U)),!0===Ge.svgFilters&&(M(Ce,O),M(Ee,H),M(Ee,U)),!0===Ge.mathMl&&(M(Ce,N),M(Ee,V),M(Ee,U))),t.ADD_TAGS&&(Ce===Te&&(Ce=D(Ce)),M(Ce,t.ADD_TAGS,me)),t.ADD_ATTR&&(Ee===xe&&(Ee=D(Ee)),M(Ee,t.ADD_ATTR,me)),t.ADD_URI_SAFE_ATTR&&M(Ze,t.ADD_URI_SAFE_ATTR,me),t.FORBID_CONTENTS&&(je===qe&&(je=D(je)),M(je,t.FORBID_CONTENTS,me)),Ve&&(Ce["#text"]=!0),Oe&&M(Ce,["html","head","body"]),Ce.table&&(M(Ce,["tbody"]),delete Be.tbody),g&&g(t),lt=t)},ot=M({},["mi","mo","mn","ms","mtext"]),st=M({},["foreignobject","desc","title","annotation-xml"]),ct=M({},["title","style","font","a","script"]),ut=M({},L);M(ut,O),M(ut,I);var gt=M({},N);M(gt,A);var dt=function(e){var t=ae(e);t&&t.tagName||(t={namespaceURI:Je,tagName:"template"});var a=w(e.tagName),l=w(t.tagName);return e.namespaceURI===Ye?t.namespaceURI===Je?"svg"===a:t.namespaceURI===Qe?"svg"===a&&("annotation-xml"===l||ot[l]):Boolean(ut[a]):e.namespaceURI===Qe?t.namespaceURI===Je?"math"===a:t.namespaceURI===Ye?"math"===a&&st[l]:Boolean(gt[a]):e.namespaceURI===Je&&!(t.namespaceURI===Ye&&!st[l])&&!(t.namespaceURI===Qe&&!ot[l])&&!gt[a]&&(ct[a]||!ut[a])},bt=function(e){y(l.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=ne}catch(t){e.remove()}}},pt=function(e,t){try{y(l.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){y(l.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Ee[e])if(Ae||Fe)try{bt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},mt=function(e){var t,a;if(Ne)e="<remove></remove>"+e;else{var l=_(e,/^[\r\n\t ]+/);a=l&&l[0]}"application/xhtml+xml"===pe&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var r=re?re.createHTML(e):e;if(Xe===Je)try{t=(new f).parseFromString(r,pe)}catch(e){}if(!t||!t.documentElement){t=oe.createDocument(Xe,"template",null);try{t.documentElement.innerHTML=et?"":r}catch(e){}}var n=t.body||t.documentElement;return e&&a&&n.insertBefore(i.createTextNode(a),n.childNodes[0]||null),Xe===Je?ue.call(t,Oe?"html":"body")[0]:Oe?t.documentElement:n},ft=function(e){return se.call(e.ownerDocument||e,e,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT,null,!1)},ht=function(e){return e instanceof m&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof p)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore)},kt=function(t){return"object"===e(c)?t instanceof c:t&&"object"===e(t)&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},vt=function(e,t,a){be[e]&&k(be[e],(function(e){e.call(l,t,a,lt)}))},yt=function(e){var t;if(vt("beforeSanitizeElements",e,null),ht(e))return bt(e),!0;if(x(/[\u0080-\uFFFF]/,e.nodeName))return bt(e),!0;var a=me(e.nodeName);if(vt("uponSanitizeElement",e,{tagName:a,allowedTags:Ce}),e.hasChildNodes()&&!kt(e.firstElementChild)&&(!kt(e.content)||!kt(e.content.firstElementChild))&&x(/<[/\w]/g,e.innerHTML)&&x(/<[/\w]/g,e.textContent))return bt(e),!0;if("select"===a&&x(/<template/i,e.innerHTML))return bt(e),!0;if(!Ce[a]||Be[a]){if(!Be[a]&&_t(a)){if(Se.tagNameCheck instanceof RegExp&&x(Se.tagNameCheck,a))return!1;if(Se.tagNameCheck instanceof Function&&Se.tagNameCheck(a))return!1}if(Ve&&!je[a]){var r=ae(e)||e.parentNode,n=te(e)||e.childNodes;if(n&&r)for(var i=n.length-1;i>=0;--i)r.insertBefore(X(n[i],!0),ee(e))}return bt(e),!0}return e instanceof u&&!dt(e)?(bt(e),!0):"noscript"!==a&&"noembed"!==a||!x(/<\/no(script|embed)/i,e.innerHTML)?(Le&&3===e.nodeType&&(t=e.textContent,t=C(t,fe," "),t=C(t,he," "),e.textContent!==t&&(y(l.removed,{element:e.cloneNode()}),e.textContent=t)),vt("afterSanitizeElements",e,null),!1):(bt(e),!0)},wt=function(e,t,a){if(He&&("id"===t||"name"===t)&&(a in i||a in rt))return!1;if(Re&&!Me[t]&&x(ke,t));else if(De&&x(ve,t));else if(!Ee[t]||Me[t]){if(!(_t(e)&&(Se.tagNameCheck instanceof RegExp&&x(Se.tagNameCheck,e)||Se.tagNameCheck instanceof Function&&Se.tagNameCheck(e))&&(Se.attributeNameCheck instanceof RegExp&&x(Se.attributeNameCheck,t)||Se.attributeNameCheck instanceof Function&&Se.attributeNameCheck(t))||"is"===t&&Se.allowCustomizedBuiltInElements&&(Se.tagNameCheck instanceof RegExp&&x(Se.tagNameCheck,a)||Se.tagNameCheck instanceof Function&&Se.tagNameCheck(a))))return!1}else if(Ze[t]);else if(x(_e,C(a,we,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==T(a,"data:")||!We[e])if(ze&&!x(ye,C(a,we,"")));else if(a)return!1;return!0},_t=function(e){return e.indexOf("-")>0},Ct=function(e){var t,a,r,n;vt("beforeSanitizeAttributes",e,null);var i=e.attributes;if(i){var o={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ee};for(n=i.length;n--;){var s=t=i[n],c=s.name,u=s.namespaceURI;if(a="value"===c?t.value:E(t.value),r=me(c),o.attrName=r,o.attrValue=a,o.keepAttr=!0,o.forceKeepAttr=void 0,vt("uponSanitizeAttribute",e,o),a=o.attrValue,!o.forceKeepAttr&&(pt(c,e),o.keepAttr))if(x(/\/>/i,a))pt(c,e);else{Le&&(a=C(a,fe," "),a=C(a,he," "));var g=me(e.nodeName);if(wt(g,r,a))try{u?e.setAttributeNS(u,c,a):e.setAttribute(c,a),v(l.removed)}catch(e){}}}vt("afterSanitizeAttributes",e,null)}},Tt=function e(t){var a,l=ft(t);for(vt("beforeSanitizeShadowDOM",t,null);a=l.nextNode();)vt("uponSanitizeShadowNode",a,null),yt(a)||(a.content instanceof o&&e(a.content),Ct(a));vt("afterSanitizeShadowDOM",t,null)};return l.sanitize=function(t,r){var i,s,u,g,d;if((et=!t)&&(t="\x3c!--\x3e"),"string"!=typeof t&&!kt(t)){if("function"!=typeof t.toString)throw S("toString is not a function");if("string"!=typeof(t=t.toString()))throw S("dirty is not a string, aborting")}if(!l.isSupported){if("object"===e(a.toStaticHTML)||"function"==typeof a.toStaticHTML){if("string"==typeof t)return a.toStaticHTML(t);if(kt(t))return a.toStaticHTML(t.outerHTML)}return t}if(Ie||it(r),l.removed=[],"string"==typeof t&&(Ue=!1),Ue){if(t.nodeName){var b=me(t.nodeName);if(!Ce[b]||Be[b])throw S("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof c)1===(s=(i=mt("\x3c!----\x3e")).ownerDocument.importNode(t,!0)).nodeType&&"BODY"===s.nodeName||"HTML"===s.nodeName?i=s:i.appendChild(s);else{if(!Ae&&!Le&&!Oe&&-1===t.indexOf("<"))return re&&Pe?re.createHTML(t):t;if(!(i=mt(t)))return Ae?null:Pe?ne:""}i&&Ne&&bt(i.firstChild);for(var p=ft(Ue?t:i);u=p.nextNode();)3===u.nodeType&&u===g||yt(u)||(u.content instanceof o&&Tt(u.content),Ct(u),g=u);if(g=null,Ue)return t;if(Ae){if(Fe)for(d=ce.call(i.ownerDocument);i.firstChild;)d.appendChild(i.firstChild);else d=i;return Ee.shadowroot&&(d=ge.call(n,d,!0)),d}var m=Oe?i.outerHTML:i.innerHTML;return Oe&&Ce["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&x(Q,i.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+i.ownerDocument.doctype.name+">\n"+m),Le&&(m=C(m,fe," "),m=C(m,he," ")),re&&Pe?re.createHTML(m):m},l.setConfig=function(e){it(e),Ie=!0},l.clearConfig=function(){lt=null,Ie=!1},l.isValidAttribute=function(e,t,a){lt||it({});var l=me(e),r=me(t);return wt(l,r,a)},l.addHook=function(e,t){"function"==typeof t&&(be[e]=be[e]||[],y(be[e],t))},l.removeHook=function(e){if(be[e])return v(be[e])},l.removeHooks=function(e){be[e]&&(be[e]=[])},l.removeAllHooks=function(){be={}},l}()}()},679:function(e,t,a){"use strict";var l=a(296),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function s(e){return l.isMemo(e)?i:o[e.$$typeof]||r}o[l.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[l.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,g=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,b=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,a,l){if("string"!=typeof a){if(p){var r=b(a);r&&r!==p&&e(t,r,l)}var i=u(a);g&&(i=i.concat(g(a)));for(var o=s(t),m=s(a),f=0;f<i.length;++f){var h=i[f];if(!(n[h]||l&&l[h]||m&&m[h]||o&&o[h])){var k=d(a,h);try{c(t,h,k)}catch(e){}}}}return t}},103:function(e,t){"use strict";var a="function"==typeof Symbol&&Symbol.for,l=a?Symbol.for("react.element"):60103,r=a?Symbol.for("react.portal"):60106,n=a?Symbol.for("react.fragment"):60107,i=a?Symbol.for("react.strict_mode"):60108,o=a?Symbol.for("react.profiler"):60114,s=a?Symbol.for("react.provider"):60109,c=a?Symbol.for("react.context"):60110,u=a?Symbol.for("react.async_mode"):60111,g=a?Symbol.for("react.concurrent_mode"):60111,d=a?Symbol.for("react.forward_ref"):60112,b=a?Symbol.for("react.suspense"):60113,p=a?Symbol.for("react.suspense_list"):60120,m=a?Symbol.for("react.memo"):60115,f=a?Symbol.for("react.lazy"):60116,h=a?Symbol.for("react.block"):60121,k=a?Symbol.for("react.fundamental"):60117,v=a?Symbol.for("react.responder"):60118,y=a?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case l:switch(e=e.type){case u:case g:case n:case o:case i:case b:return e;default:switch(e=e&&e.$$typeof){case c:case d:case f:case m:case s:return e;default:return t}}case r:return t}}}function _(e){return w(e)===g}t.AsyncMode=u,t.ConcurrentMode=g,t.ContextConsumer=c,t.ContextProvider=s,t.Element=l,t.ForwardRef=d,t.Fragment=n,t.Lazy=f,t.Memo=m,t.Portal=r,t.Profiler=o,t.StrictMode=i,t.Suspense=b,t.isAsyncMode=function(e){return _(e)||w(e)===u},t.isConcurrentMode=_,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===l},t.isForwardRef=function(e){return w(e)===d},t.isFragment=function(e){return w(e)===n},t.isLazy=function(e){return w(e)===f},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===r},t.isProfiler=function(e){return w(e)===o},t.isStrictMode=function(e){return w(e)===i},t.isSuspense=function(e){return w(e)===b},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===g||e===o||e===i||e===b||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===k||e.$$typeof===v||e.$$typeof===y||e.$$typeof===h)},t.typeOf=w},296:function(e,t,a){"use strict";e.exports=a(103)}},t={};function a(l){var r=t[l];if(void 0!==r)return r.exports;var n=t[l]={exports:{}};return e[l].call(n.exports,n,n.exports,a),n.exports}a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,{a:t}),t},a.d=function(e,t){for(var l in t)a.o(t,l)&&!a.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:t[l]})},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";var e=window.wp.element;function t(){return t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},t.apply(this,arguments)}var l=window.wp.data,r=window.wp.blockEditor,n=window.wp.components,i=window.wp.i18n,o=a(184),s=a.n(o);const c=(e,t)=>{const{gridItemPaddingTop:a,gridItemPaddingRight:l,gridItemPaddingBottom:r,gridItemPaddingLeft:n}=generateBlocksStyling.container;return(e.split("-")||[]).map((e=>({isGrid:!0,gridId:t,paddingTop:a||"",paddingRight:l||"",paddingBottom:r||"",paddingLeft:n||"",widthMobile:100,width:Number(e)})))};var u=t=>{let{uniqueId:a,onClick:l,isDisabled:r=!1}=t;return!r&&(0,e.createElement)(n.Placeholder,{label:(0,i.__)("Grid","generateblocks"),instructions:(0,i.__)("Choose how many Containers to start with.","generateblocks"),className:"gb-select-layout"},(0,e.createElement)("div",{className:"gb-grid-wrapper-layout-preview"},["100","50-50","33.33-33.33-33.33","25-25-25-25","25-75","75-25","25-25-50","25-50-25","50-25-25","20-60-20","20-20-20-20-20","16-16-16-16-16-16"].map((t=>{const r=c(t,a);return(0,e.createElement)("button",{key:`layout-${t}`,className:"gb-grid-wrapper-layout-preview-btn",onClick:()=>l(t)},r.map(((a,l)=>(0,e.createElement)("div",{key:`layout-${t}-col-${l}`,className:s()("gb-col",`gb-col-${a.width.toString().replace(".","-")}`)}))))}))))},g=window.wp.blocks;const d=wp.element.createElement;function b(t){return"tabs-desktop"===t?d("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none"},d("path",{d:"M18.95 4H4.55C3.55589 4 2.75 4.76751 2.75 5.71429V14.2857C2.75 15.2325 3.55589 16 4.55 16H18.95C19.9441 16 20.75 15.2325 20.75 14.2857V5.71429C20.75 4.76751 19.9441 4 18.95 4Z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{d:"M1.75 18C1.19772 18 0.75 18.4477 0.75 19C0.75 19.5523 1.19772 20 1.75 20H21.75C22.3023 20 22.75 19.5523 22.75 19C22.75 18.4477 22.3023 18 21.75 18H1.75ZM9 18.8C8.86193 18.8 8.75 18.9119 8.75 19.05C8.75 19.1881 8.86193 19.3 9 19.3H14.5C14.6381 19.3 14.75 19.1881 14.75 19.05C14.75 18.9119 14.6381 18.8 14.5 18.8H9Z",stroke:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})):"tabs-tablet"===t?d("svg",{width:24,height:24,viewBox:"0 0 24 24"},d("path",{d:"M16.6429 4H7.35714C6.33147 4 5.5 4.71634 5.5 5.6V18.4C5.5 19.2837 6.33147 20 7.35714 20H16.6429C17.6685 20 18.5 19.2837 18.5 18.4V5.6C18.5 4.71634 17.6685 4 16.6429 4Z"}),d("path",{d:"M12 17.5H12.01"})):"tabs-mobile"===t?d("svg",{width:24,height:24,viewBox:"0 0 24 24"},d("path",{d:"M15.5714 4H8.42857C7.63959 4 7 4.71634 7 5.6V18.4C7 19.2837 7.63959 20 8.42857 20H15.5714C16.3604 20 17 19.2837 17 18.4V5.6C17 4.71634 16.3604 4 15.5714 4Z"}),d("path",{d:"M12 17.5H12.01"})):"sync"===t?d("svg",{width:24,height:24,viewBox:"0 0 24 24"},d("path",{d:"m7.34133533 6.23855964v-1.98499625c-2.17404351.03150788-4.03300825 1.38634659-4.85221305 3.27681921-.31507877.72468117-.44111028 1.51237809-.4096024 2.33158289.06301575 1.13428361.47261815 2.20555141 1.16579145 3.05626411.37809452.4411102.28357089 1.1027757-.18904726 1.4493623-.44111028.3150788-1.07126782.2205551-1.41785447-.1890473-.85071268-1.0397599-1.38634658-2.3315829-1.54388597-3.7179294-.12603151-1.00825211-.03150788-2.01650417.25206302-2.9302326.88222055-3.02475619 3.6864216-5.26181546 6.99474868-5.29332334v-1.98499624c0-.09452363.12603151-.15753939.22055514-.09452363l4.09602403 2.99324831c.0630157.06301575.0630157.15753938 0 .18904726l-4.09602403 2.99324831c-.09452363.06301575-.22055514 0-.22055514-.09452363zm.22055514 13.17029256c.09452363.0630158.22055514 0 .22055514-.0945236v-1.9849963c3.30832709-.0315078 6.11252809-2.2685671 6.99474869-5.2933233.252063-.9137284.3780945-1.8904726.252063-2.93023256-.1575394-1.38634658-.7246812-2.67816954-1.543886-3.71792948-.3465866-.44111028-.9767441-.53563391-1.4178544-.18904726-.4726182.34658665-.5671418 1.00825206-.1890473 1.44936234.6931733.85071268 1.1027757 1.89047262 1.1657915 3.05626407.0315078.81920479-.1260315 1.63840959-.4096024 2.33158289-.787697 1.8904726-2.6466617 3.2453113-4.85221309 3.2768192v-1.9849962c0-.0945237-.12603151-.1575394-.22055514-.0945237l-4.096024 2.9932483c-.06301576.0630158-.06301576.1575394 0 .1890473z",transform:"translate(4 2)"})):"headline"===t?(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",height:"20",width:"20",className:"gblocks-block-icon gblocks-block-icon__headline"},(0,e.createElement)("path",{d:"M23.7 24h-8c-.1 0-.3-.1-.3-.3V16H8.7v7.6c0 .1-.1.3-.3.3H.3c-.1.1-.3 0-.3-.2V.3C0 .2.1 0 .3 0h8c.2 0 .4.1.4.3V8h6.8V.3c0-.1.1-.3.3-.3h8c.1 0 .2.1.2.3v23.5c0 .1-.1.2-.3.2zm-6.6-1.7h5V1.7h-5v8H6.9v-8h-5v20.4h5v-8h10.3v8.2z"})):"grid"===t?(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",height:"20",width:"20",className:"gblocks-block-icon"},(0,e.createElement)("path",{d:"M13.8 10.8H.3c-.2 0-.3-.1-.3-.3V.3C0 .1.1 0 .3 0h13.6c.2 0 .3.1.3.3v10.3c-.1.1-.2.2-.4.2zM1.8 9h10.6V1.8H1.8V9zm21.9 1.8h-7c-.2 0-.3-.1-.3-.3V.3c0-.2.1-.3.3-.3h7c.2 0 .3.1.3.3v10.3c0 .1-.1.2-.3.2zM18.2 9h4V1.8h-4V9zm-8 4.2h13.6c.2 0 .3.1.3.3v10.3c0 .2-.1.3-.3.3H10.2c-.2 0-.3-.1-.3-.3V13.5c0-.2.1-.3.3-.3zm12 1.8H11.7v7.3h10.6V15zM.3 13.2h7c.2 0 .3.1.3.3v10.3c0 .2-.1.3-.3.3h-7c-.2-.1-.3-.2-.3-.4V13.5c0-.2.1-.3.3-.3zM5.8 15h-4v7.3h4V15z"})):"container"===t?(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",height:"20",width:"20",className:"gblocks-block-icon"},(0,e.createElement)("path",{d:"M23.7 24h-5.2v-2.2h3.3v-3.3H24v5.2c0 .2-.1.3-.3.3zm-15-2.2h6.5V24H8.7zM5.5 24H.3c-.2 0-.3-.1-.3-.3v-5.2h2.2v3.3h3.3V24zM0 8.7h2.2v6.5H0zm2.2-3.2H0V.3C0 .1.1 0 .3 0h5.2v2.2H2.2v3.3zM8.7 0h6.5v2.2H8.7zM24 5.5h-2.2V2.2h-3.3V0h5.2c.2 0 .3.1.3.3v5.2zm-2.2 3.2H24v6.5h-2.2z"})):"button"===t?(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",height:"20",width:"20",className:"gblocks-block-icon"},(0,e.createElement)("path",{d:"M23.7 17.4H.3c-.1 0-.1 0-.2-.1-.1 0-.1-.1-.1-.2V6.9c0-.1 0-.1.1-.2s.1-.1.2-.1h23.4c.1 0 .1 0 .2.1s.1.1.1.2v10.2c0 .1 0 .1-.1.2 0 .1-.1.1-.2.1zM1.8 15.6h20.4V8.4H1.8v7.2z"}),(0,e.createElement)("path",{d:"M15 12.9H4.8v-1.8H15v.9zm4.2 0h-2.6v-1.8h2.6v.9z"})):"button-container"===t?(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",height:"20",width:"20",className:"gblocks-block-icon"},(0,e.createElement)("path",{d:"M23.7 10.8H.3c-.1 0-.1 0-.2-.1-.1 0-.1-.1-.1-.1V.4C0 .3 0 .3.1.2S.2 0 .3 0h23.4c.1 0 .1 0 .2.1.1 0 .1.1.1.2v10.2c0 .1 0 .1-.1.2 0 .1-.1.1-.2.1zM1.8 9.1h20.4V1.9L12 1.8H1.8v7.3z"}),(0,e.createElement)("path",{d:"M15 6.3H4.8V4.5H15v.9zm4.2 0h-2.6V4.5h2.6v.9zM23.7 24H.3c-.1 0-.1 0-.2-.1s-.1-.1-.1-.2V13.5c0-.1 0-.1.1-.2s.1-.1.2-.1h23.4c.1 0 .1 0 .2.1s.1.1.1.2v10.2c0 .1 0 .1-.1.2 0 .1-.1.1-.2.1zM1.8 22.2h20.4V15H1.8v7.2z"}),(0,e.createElement)("path",{d:"M19.2 19.5H9v-1.8h10.2v.9zM4.8 17.7h2.6v1.8H4.8v-.9z"})):"post-template"===t?(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",height:"20",width:"20",className:"gblocks-block-icon"},(0,e.createElement)("path",{d:"M23.7 12.9H.3c-.2 0-.3-.1-.3-.3V.3C0 .1.1 0 .3 0h23.4c.2 0 .3.1.3.3v12.3c0 .2-.1.3-.3.3zM1.8 11.1h20.4V1.8H1.8v9.3zM13.4 15h10.3c.2 0 .3.1.3.3v8.4c0 .2-.1.3-.3.3H13.4c-.2 0-.3-.1-.3-.3v-8.4c0-.1.2-.3.3-.3zm8.8 1.8h-7.3v5.4h7.3v-5.4zM.3 18.6H10c.2 0 .3.1.3.3v1.2c0 .2-.1.3-.3.3H.3c-.2 0-.3-.1-.3-.3v-1.2c0-.1.1-.3.3-.3zm0-3.6H10c.2 0 .3.1.3.3v1.2c0 .2-.1.3-.3.3H.3c-.2 0-.3-.1-.3-.3v-1.2c0-.1.1-.3.3-.3zm0 7.2H10c.2 0 .3.1.3.3v1.2c0 .2-.1.3-.3.3H.3c-.2 0-.3-.1-.3-.3v-1.2c0-.2.1-.3.3-.3z"})):"query-loop"===t?(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",height:"20",width:"20",className:"gblocks-block-icon"},(0,e.createElement)("path",{d:"M22.8 5.2h-7.4c-.2 0-.3-.1-.3-.3V3.7c0-.2.1-.3.3-.3h7.4c.2 0 .3.1.3.3v1.2c0 .2-.1.3-.3.3zm0 3.4h-7.4c-.2 0-.3-.1-.3-.3V7.1c0-.2.1-.3.3-.3h7.4c.2 0 .3.1.3.3v1.2c0 .2-.1.3-.3.3zm0-6.8h-7.4c-.2 0-.3-.1-.3-.3V.3c0-.2.1-.3.3-.3h7.4c.2 0 .3.1.3.3v1.2c0 .2-.1.3-.3.3zM8.6 20.6H1.2c-.2 0-.3-.1-.3-.3v-1.2c0-.2.1-.3.3-.3h7.4c.2 0 .3.1.3.3v1.2c-.1.2-.2.3-.3.3zm0 3.4H1.2c-.2 0-.3-.1-.3-.3v-1.2c0-.2.1-.3.3-.3h7.4c.2 0 .3.1.3.3v1.2c-.1.2-.2.3-.3.3zm0-6.8H1.2c-.2 0-.3-.1-.3-.3v-1.2c0-.2.1-.3.3-.3h7.4c.2 0 .3.1.3.3v1.2c-.1.1-.2.3-.3.3z"}),(0,e.createElement)("path",{d:"M17.7 24c-1.7 0-3.3-.7-4.4-1.8-2.4-2.4-2.3-6.3-2.2-10.2.1-4.3.2-8.4-3-9.8-1.5-.7-3.2-.5-4.4.4-1.2.8-1.9 2.1-1.9 3.5 0 .8.2 1.6.5 2.3.9 1.7 2.5 2.5 5.6 2.7.2 0 .3.1.3.3l-.1 1.2c0 .2-.1.3-.3.3-2-.1-4.4-.5-6-2.2-1.3-1.3-2-3.1-1.8-5 .2-1.9 1.1-3.5 2.7-4.6C4.4-.1 6.7-.3 8.8.5c4.4 1.8 4.2 7 4.1 11.5-.1 3.5-.2 7.1 1.6 8.9.9.9 2.2 1.4 3.6 1.3 1.3-.1 2.5-.8 3.3-1.9.9-1.2 1-2.9.4-4.4-.8-1.9-2.5-2.8-5.8-3-.2 0-.3-.1-.3-.3l.1-1.2c0-.2.1-.3.3-.3 2.7.2 6 .8 7.3 4.1.9 2 .6 4.4-.6 6.1-1.1 1.5-2.8 2.5-4.6 2.7h-.5z"})):"image"===t?(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",height:"20",width:"20",className:"gblocks-block-icon"},(0,e.createElement)("path",{d:"M16.4 11.9c-2.3 0-4.2-1.9-4.2-4.2s1.9-4.2 4.2-4.2 4.2 1.9 4.2 4.2-1.9 4.2-4.2 4.2zm0-6.7c-1.3 0-2.4 1.1-2.4 2.4s1.1 2.4 2.4 2.4c1.3 0 2.4-1.1 2.4-2.4s-1.1-2.4-2.4-2.4z"}),(0,e.createElement)("path",{d:"M23.7 24H.3c-.2 0-.3-.1-.3-.3V.3C0 .1.1 0 .3 0h23.4c.2 0 .3.1.3.3v23.4c0 .2-.1.3-.3.3zM1.8 22.2h20.4V1.8H1.8v20.4z"}),(0,e.createElement)("path",{d:"M22.3 23.6 8.4 11.7l-6.9 6.1-1.2-1.3 7.9-6.9c.1-.1.3-.1.4 0l15.1 13-1 1.1c-.1 0-.3 0-.4-.1z"})):"paragraph"===t?d("svg",{width:20,height:20,viewBox:"0 0 20 20"},d("path",{d:"M15 2H7.54c-.83 0-1.59.2-2.28.6-.7.41-1.25.96-1.65 1.65C3.2 4.94 3 5.7 3 6.52s.2 1.58.61 2.27c.4.69.95 1.24 1.65 1.64.69.41 1.45.61 2.28.61h.43V17c0 .27.1.51.29.71.2.19.44.29.71.29.28 0 .51-.1.71-.29.2-.2.3-.44.3-.71V5c0-.27.09-.51.29-.71.2-.19.44-.29.71-.29s.51.1.71.29c.19.2.29.44.29.71v12c0 .27.1.51.3.71.2.19.43.29.71.29.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71V4H15c.27 0 .5-.1.7-.3.2-.19.3-.43.3-.7s-.1-.51-.3-.71A.984.984 0 0 0 15 2z"})):"spacing"===t?d("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},d("path",{d:"M106.283,6.217c8.289,8.29 8.289,91.776 0,100.066c-8.29,8.289 -91.776,8.289 -100.066,0c-8.289,-8.29 -8.289,-91.776 0,-100.066c8.29,-8.289 91.776,-8.289 100.066,0Zm-10.007,10.007c6.632,6.632 6.632,73.42 0,80.052c-6.632,6.632 -73.42,6.632 -80.052,0c-6.632,-6.632 -6.632,-73.42 0,-80.052c6.632,-6.632 73.42,-6.632 80.052,0Z"}),d("path",{d:"M40.452,77.705c7.802,1.393 23.794,1.393 31.596,0l13.635,13.635c-12.215,3.213 -46.652,3.213 -58.866,0l13.635,-13.635Zm50.888,-50.888c3.213,12.215 3.213,46.653 0,58.866l-13.635,-13.635c1.393,-7.801 1.393,-23.794 0,-31.596l13.635,-13.635Zm-70.18,0l13.635,13.635c-1.393,7.802 -1.393,23.794 0,31.596l-13.635,13.635c-3.213,-12.213 -3.213,-46.651 0,-58.866Zm5.657,-5.657c12.214,-3.213 46.652,-3.213 58.866,0l-13.635,13.635c-7.801,-1.393 -23.795,-1.393 -31.596,0l-13.635,-13.635Z"})):"advanced"===t?d("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},d("path",{d:"M106.283,6.217c8.289,8.29 8.289,91.776 0,100.066c-8.29,8.289 -91.776,8.289 -100.066,0c-8.289,-8.29 -8.289,-91.776 0,-100.066c8.29,-8.289 91.776,-8.289 100.066,0Zm-10.007,37.215c6.632,2.124 6.632,23.512 0,25.636c-6.632,2.124 -73.42,2.124 -80.052,0c-6.632,-2.124 -6.632,-23.512 0,-25.636c6.632,-2.124 73.42,-2.124 80.052,0Z"}),d("path",{d:"M48.61,51.916c2.243,0.718 2.243,7.95 0,8.668c-2.242,0.718 -24.823,0.718 -27.065,0c-2.243,-0.718 -2.243,-7.95 0,-8.668c2.242,-0.718 24.823,-0.718 27.065,0Z"}),d("path",{d:"M90.955,51.916c2.243,0.718 2.243,7.95 0,8.668c-2.242,0.718 -24.823,0.718 -27.065,0c-2.243,-0.718 -2.243,-7.95 0,-8.668c2.242,-0.718 24.823,-0.718 27.065,0Z"})):"backgrounds"===t?d("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},d("path",{d:"M1.491,87.777l37.79,-37.79l31.352,31.352c2.412,2.171 5.656,0 5.656,0l17.248,-17.247l13.186,13.186l4.796,4.797c-0.971,12.199 -2.726,21.685 -5.249,24.208c-8.29,8.289 -91.776,8.289 -100.066,0c-2.113,-2.113 -3.687,-9.113 -4.713,-18.506Z"}),d("path",{d:"M0.631,77.323c-1.742,-27.728 0.125,-65.658 5.573,-71.106c8.29,-8.289 91.776,-8.289 100.066,0c5.07,5.07 7.039,38.265 5.89,65.185l-15.795,-15.795c-2.412,-2.172 -5.657,0 -5.657,0l-17.247,17.246l-31.351,-31.351c-0.731,-0.658 -1.036,-1 -2.619,-1.166c-0.263,0 -0.477,-0.075 -1.245,0.131c-0.912,0.244 -1.793,1.035 -1.793,1.035l-35.822,35.821Zm76.434,-59.584c7.115,0 12.891,5.776 12.891,12.89c0,7.114 -5.776,12.89 -12.891,12.89c-7.114,0 -12.89,-5.776 -12.89,-12.89c0,-7.114 5.776,-12.89 12.89,-12.89Z"})):"colors"===t?d("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},d("path",{d:"M106.283,6.217c8.289,8.29 8.289,91.776 0,100.066c-8.29,8.289 -91.776,8.289 -100.066,0c-8.289,-8.29 -8.289,-91.776 0,-100.066c8.29,-8.289 91.776,-8.289 100.066,0Zm-50.033,12.818c-20.551,0 -37.215,16.664 -37.215,37.215c0,20.551 16.664,37.215 37.215,37.215c3.432,0 6.202,-2.77 6.202,-6.203c0,-1.612 -0.62,-3.059 -1.612,-4.176c-0.951,-1.075 -1.571,-2.522 -1.571,-4.094c0,-3.432 2.77,-6.202 6.202,-6.202l7.319,0c11.413,0 20.675,-9.262 20.675,-20.675c0,-18.277 -16.664,-33.08 -37.215,-33.08Zm-22.742,37.215c-3.433,0 -6.203,-2.77 -6.203,-6.202c0,-3.433 2.77,-6.203 6.203,-6.203c3.432,0 6.202,2.77 6.202,6.203c0,3.432 -2.77,6.202 -6.202,6.202Zm45.484,0c-3.432,0 -6.202,-2.77 -6.202,-6.202c0,-3.433 2.77,-6.203 6.202,-6.203c3.433,0 6.203,2.77 6.203,6.203c0,3.432 -2.77,6.202 -6.203,6.202Zm-33.079,-16.54c-3.433,0 -6.203,-2.77 -6.203,-6.202c0,-3.433 2.77,-6.203 6.203,-6.203c3.432,0 6.202,2.77 6.202,6.203c0,3.432 -2.77,6.202 -6.202,6.202Zm20.674,0c-3.432,0 -6.202,-2.77 -6.202,-6.202c0,-3.433 2.77,-6.203 6.202,-6.203c3.433,0 6.203,2.77 6.203,6.203c0,3.432 -2.77,6.202 -6.203,6.202Z"})):"gradients"===t?d("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},d("path",{d:"M112.426,48.746c0.503,25.204 -1.545,52.939 -6.143,57.537c-8.29,8.289 -91.776,8.289 -100.066,0c-8.289,-8.29 -8.289,-91.776 0,-100.066c8.289,-8.288 91.748,-8.289 100.061,-0.004c0,0 0.005,0.004 0.005,0.004c3.691,3.692 5.739,22.295 6.143,42.529Zm-16.154,-32.526c-6.656,-6.628 -73.418,-6.627 -80.048,0.004c-6.631,6.63 -6.632,73.392 -0.004,80.048l80.052,-80.052Z"})):"icons"===t?d("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},d("path",{d:"M106.283,6.217c8.289,8.29 8.289,91.776 0,100.066c-8.29,8.289 -91.776,8.289 -100.066,0c-8.289,-8.29 -8.289,-91.776 0,-100.066c8.29,-8.289 91.776,-8.289 100.066,0Zm-10.007,10.007c6.632,6.632 6.632,73.42 0,80.052c-6.632,6.632 -73.42,6.632 -80.052,0c-6.632,-6.632 -6.632,-73.42 0,-80.052c6.632,-6.632 73.42,-6.632 80.052,0Z"}),d("path",{d:"M89.605,22.895c5.527,5.526 5.527,61.184 0,66.71c-5.526,5.527 -61.184,5.527 -66.71,0c-5.527,-5.526 -5.527,-61.184 0,-66.71c5.526,-5.527 61.184,-5.527 66.71,0Zm-21.066,62.31l0,-2.731c-0.648,-0.074 -1.272,-0.199 -1.87,-0.374c-0.599,-0.174 -1.148,-0.374 -1.646,-0.598c-0.699,-0.299 -1.235,-0.755 -1.609,-1.366c-0.374,-0.611 -0.561,-1.353 -0.561,-2.226l0,-29.703l-0.561,-0.561l-18.331,0.972l0,2.731c0.748,0.075 1.577,0.25 2.488,0.524c0.91,0.274 1.589,0.561 2.038,0.86c0.599,0.399 1.098,0.929 1.497,1.59c0.399,0.661 0.598,1.428 0.598,2.301l0,21.773c0,0.923 -0.162,1.665 -0.486,2.226c-0.324,0.561 -0.885,0.991 -1.683,1.29c-0.449,0.175 -0.986,0.3 -1.609,0.374c-0.624,0.075 -1.26,0.138 -1.908,0.187l0,2.731l23.643,0Zm-12.978,-59.459c4.76,0 8.625,3.864 8.625,8.625c0,4.76 -3.865,8.625 -8.625,8.625c-4.76,0 -8.625,-3.865 -8.625,-8.625c0,-4.761 3.865,-8.625 8.625,-8.625Z"})):"typography"===t?d("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},d("path",{d:"M106.283,6.217c8.289,8.29 8.289,91.776 0,100.066c-8.29,8.289 -91.776,8.289 -100.066,0c-8.289,-8.29 -8.289,-91.776 0,-100.066c8.29,-8.289 91.776,-8.289 100.066,0Zm-8.783,78.583l0,-2.817c-0.661,-0.026 -1.481,-0.165 -2.46,-0.417c-0.979,-0.251 -1.773,-0.562 -2.381,-0.932c-0.9,-0.609 -1.601,-1.23 -2.103,-1.865c-0.503,-0.635 -0.953,-1.468 -1.349,-2.5l-18.769,-48.569l-3.175,0c-2.672,6.878 -5.714,14.721 -9.126,23.53c-3.266,8.43 -6.265,16.06 -8.998,22.891l-11.672,-28.684l-2.304,0c-1.939,4.742 -4.148,10.149 -6.625,16.222c-2.477,6.072 -4.743,11.543 -6.798,16.412c-0.403,0.949 -0.816,1.692 -1.238,2.23c-0.423,0.538 -1.018,1.053 -1.786,1.545c-0.48,0.292 -1.095,0.524 -1.844,0.698c-0.749,0.173 -1.373,0.278 -1.872,0.314l0,1.942l15.382,0l0,-1.942c-1.518,-0.073 -2.881,-0.31 -4.091,-0.711c-1.209,-0.401 -1.814,-0.966 -1.814,-1.696c0,-0.31 0.048,-0.711 0.144,-1.204c0.096,-0.492 0.268,-1.13 0.518,-1.914c0.269,-0.803 0.571,-1.678 0.907,-2.626c0.336,-0.948 0.773,-2.061 1.311,-3.338l14.316,0l3.399,8.699c0.012,0.03 0.024,0.06 0.036,0.092c-0.161,0.119 -0.329,0.237 -0.503,0.355c-0.661,0.423 -1.508,0.76 -2.539,1.012c-1.032,0.251 -1.892,0.403 -2.58,0.456l0,2.817l21.19,0l0,-2.817c-2.09,-0.106 -3.968,-0.45 -5.635,-1.032c-1.666,-0.582 -2.499,-1.402 -2.499,-2.46c0,-0.45 0.066,-1.032 0.198,-1.746c0.132,-0.714 0.37,-1.64 0.714,-2.777c0.371,-1.164 0.787,-2.434 1.25,-3.81c0.463,-1.375 1.065,-2.989 1.806,-4.841l19.721,0l4.682,12.619c0.106,0.264 0.186,0.568 0.238,0.912c0.053,0.344 0.08,0.635 0.08,0.873c0,0.582 -0.681,1.072 -2.044,1.468c-1.362,0.397 -3.075,0.662 -5.138,0.794l0,2.817l23.451,0Zm-56.864,-15.865l-6.193,-15.045l-6.078,15.045l12.271,0Zm34.167,-7.15l-8.532,-21.824l-8.373,21.824l16.905,0Z"})):"addContainer"===t?(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",height:"20",width:"20"},(0,e.createElement)("path",{d:"M23.7 24h-5.2v-2.2h3.3v-3.3H24v5.2c0 .2-.1.3-.3.3zm-15-2.2h6.5V24H8.7zM5.5 24H.3c-.2 0-.3-.1-.3-.3v-5.2h2.2v3.3h3.3V24zM0 8.7h2.2v6.5H0zm2.2-3.2H0V.3C0 .1.1 0 .3 0h5.2v2.2H2.2v3.3zM8.7 0h6.5v2.2H8.7zM24 5.5h-2.2V2.2h-3.3V0h5.2c.2 0 .3.1.3.3v5.2zm-2.2 3.2H24v6.5h-2.2zM12.6 18.6h-1.2c-.2 0-.3-.1-.3-.3V5.7c0-.2.1-.3.3-.3h1.2c.2 0 .3.1.3.3v12.6c0 .2-.1.3-.3.3z"}),(0,e.createElement)("path",{d:"M18.3 12.9H5.7c-.2 0-.3-.1-.3-.3v-1.2c0-.2.1-.3.3-.3h12.6c.2 0 .3.1.3.3v1.2c0 .2-.1.3-.3.3z"})):"gradient"===t?d("svg",{width:24,height:24,viewBox:"0 0 24 24",fillRule:"evenodd"},d("path",{d:"M17.66 8L12 2.35L6.34 8A8.02 8.02 0 0 0 4 13.64c0 2 .78 4.11 2.34 5.67a7.99 7.99 0 0 0 11.32 0c1.56-1.56 2.34-3.67 2.34-5.67S19.22 9.56 17.66 8zM6 14c.01-2 .62-3.27 1.76-4.4L12 5.27l4.24 4.38C17.38 10.77 17.99 12 18 14H6z"})):"documentation"===t?d("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},d("path",{d:"M106.755 6.245c8.327 8.326 8.327 92.184 0 100.51-8.326 8.327-92.184 8.327-100.51 0-8.327-8.326-8.327-92.184 0-100.51 8.326-8.327 92.184-8.327 100.51 0zm-92.661 93.896C9.279 84 9.781 23.714 15.834 17.661c2.491-2.491 19.588-4.132 26.354-4.712 4.748-.408 10.115.671 14.243 1.23 4.128-.559 9.495-1.638 14.243-1.23 6.766.58 23.863 2.221 26.354 4.712 6.053 6.053 6.791 66.339 1.976 82.48-4.729-1.977-19.708-3.436-26.784-3.853-5.234-.308-11.129.739-15.671 1.354-4.543-.615-10.437-1.662-15.672-1.354-7.075.417-22.054 1.876-26.783 3.853z"}),d("path",{d:"M50.188 32.738c2.252.536 2.252 5.927 0 6.463-2.252.535-24.934.535-27.186 0-2.252-.536-2.252-5.927 0-6.463 2.252-.535 24.934-.535 27.186 0zM50.277 46.846c2.252.535 2.252 5.927 0 6.462-2.252.535-24.934.535-27.186 0-2.252-.535-2.252-5.927 0-6.462 2.252-.535 24.934-.535 27.186 0zM50.277 60.037c2.252.535 2.252 5.927 0 6.462-2.252.535-24.934.535-27.186 0-2.252-.535-2.252-5.927 0-6.462 2.252-.535 24.934-.535 27.186 0zM50.277 73.799c2.252.536 2.252 5.927 0 6.463-2.252.535-24.934.535-27.186 0-2.252-.536-2.252-5.927 0-6.463 2.252-.535 24.934-.535 27.186 0z"}),d("path",{d:"M89.909 32.738c2.252.536 2.252 5.927 0 6.463-2.252.535-24.934.535-27.186 0-2.252-.536-2.252-5.927 0-6.463 2.252-.535 24.934-.535 27.186 0zM89.998 46.846c2.252.535 2.252 5.927 0 6.462-2.252.535-24.934.535-27.186 0-2.252-.535-2.252-5.927 0-6.462 2.252-.535 24.934-.535 27.186 0zM89.998 60.037c2.252.535 2.252 5.927 0 6.462-2.252.535-24.934.535-27.186 0-2.252-.535-2.252-5.927 0-6.462 2.252-.535 24.934-.535 27.186 0z"})):"layout"===t?d("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},d("path",{d:"M106.719 6.238c8.362 8.362 8.362 92.208 0 100.57-8.362 8.287-92.208 8.287-100.495 0-8.362-8.362-8.362-92.208 0-100.57 8.287-8.286 92.133-8.286 100.495 0zm-9.417 9.417c6.78 6.78 6.78 74.957 0 81.737-6.78 6.78-74.956 6.78-81.661 0-6.78-6.78-6.78-74.957 0-81.737 6.705-6.78 74.881-6.78 81.661 0z"}),d("path",{d:"M93.988 48.877c.602 17.477-.754 37.893-3.993 41.132-3.164 3.164-22.75 4.52-40.002 4.068v-45.2h43.995zm-75.108 0h23.58v44.899c-9.718-.603-17.553-1.808-19.512-3.767-3.24-3.24-4.595-23.655-4.068-41.132zm.377-7.533c.678-9.19 1.883-16.498 3.691-18.306 5.575-5.575 61.472-5.575 67.047 0 1.808 1.808 3.013 9.115 3.691 18.306h-74.43z"})):"shapes"===t?d("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},d("path",{d:"M106.756,6.244C115.081,14.571 115.081,98.429 106.756,106.756C98.429,115.081 14.571,115.081 6.244,106.756C-2.081,98.429 -2.081,14.571 6.244,6.244C14.571,-2.081 98.429,-2.081 106.756,6.244ZM67.875,88.052C67.875,86.977 67.003,86.105 65.928,86.105L47.072,86.105C45.997,86.105 45.125,86.977 45.125,88.052L45.125,91.948C45.125,93.023 45.997,93.896 47.072,93.896L65.928,93.896C67.003,93.896 67.875,93.023 67.875,91.948L67.875,88.052ZM57.899,31.409L59.305,31.409C60.853,31.409 62.11,30.152 62.11,28.604L62.11,28.089L73.263,57.543C73.757,58.333 73.731,59.161 73.731,59.403C73.729,62.659 65.231,69.414 65.375,83.611L47.625,83.611C47.769,69.414 39.271,62.659 39.269,59.403C39.269,59.161 39.243,58.333 39.737,57.543L50.89,28.089L50.89,28.604C50.89,30.152 52.147,31.409 53.695,31.409L55.101,31.409C55.111,35.738 55.142,50.367 55.098,54.109C55.093,54.494 54.907,54.988 54.68,55.45C52.915,56.169 51.669,57.903 51.669,59.925C51.669,62.592 53.834,64.756 56.5,64.756C59.166,64.756 61.331,62.592 61.331,59.925C61.331,57.903 60.085,56.169 58.32,55.45C58.093,54.988 57.907,54.494 57.902,54.109C57.858,50.367 57.889,35.738 57.899,31.409ZM52.227,19.451L52.227,18.881C52.227,17.702 53.185,16.745 54.364,16.745L58.636,16.745C59.815,16.745 60.773,17.702 60.773,18.881L60.773,19.451L88.831,19.451C89.457,17.867 91.002,16.745 92.807,16.745C95.165,16.745 97.08,18.66 97.08,21.018C97.08,23.376 95.165,25.29 92.807,25.29C91.03,25.29 89.505,24.203 88.861,22.658L71.798,22.658C83.83,28.003 92.531,39.501 93.898,53.148L94.93,53.148C96.109,53.148 97.067,54.105 97.067,55.284L97.067,59.557C97.067,60.736 96.109,61.693 94.93,61.693L90.657,61.693C89.478,61.693 88.521,60.736 88.521,59.557L88.521,55.284C88.521,54.105 89.478,53.148 90.657,53.148L90.922,53.148C89.19,37.24 76.627,24.564 60.773,22.659L60.773,23.154C60.773,24.333 59.815,25.29 58.636,25.29L54.364,25.29C53.185,25.29 52.227,24.333 52.227,23.154L52.227,22.688C36.484,24.689 24.036,37.318 22.312,53.148L22.329,53.148C23.508,53.148 24.466,54.105 24.466,55.284L24.466,59.557C24.466,60.736 23.508,61.693 22.329,61.693L18.056,61.693C16.877,61.693 15.92,60.736 15.92,59.557L15.92,55.284C15.92,54.105 16.877,53.148 18.056,53.148L19.336,53.148C20.703,39.501 29.405,28.003 41.437,22.658L24.139,22.658C23.495,24.203 21.97,25.29 20.193,25.29C17.835,25.29 15.92,23.376 15.92,21.018C15.92,18.66 17.835,16.745 20.193,16.745C21.998,16.745 23.543,17.867 24.169,19.451L52.227,19.451Z"})):"wrench"===t?(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},(0,e.createElement)("rect",{x:"0",fill:"none",width:"20",height:"20"}),(0,e.createElement)("g",null,(0,e.createElement)("path",{d:"M16.68 9.77c-1.34 1.34-3.3 1.67-4.95.99l-5.41 6.52c-.99.99-2.59.99-3.58 0s-.99-2.59 0-3.57l6.52-5.42c-.68-1.65-.35-3.61.99-4.95 1.28-1.28 3.12-1.62 4.72-1.06l-2.89 2.89 2.82 2.82 2.86-2.87c.53 1.58.18 3.39-1.08 4.65zM3.81 16.21c.4.39 1.04.39 1.43 0 .4-.4.4-1.04 0-1.43-.39-.4-1.03-.4-1.43 0-.39.39-.39 1.03 0 1.43z"}))):"x"===t?(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},(0,e.createElement)("rect",{x:"0",fill:"none",width:"20",height:"20"}),(0,e.createElement)("g",null,(0,e.createElement)("path",{d:"M14.95 6.46L11.41 10l3.54 3.54-1.41 1.41L10 11.42l-3.53 3.53-1.42-1.42L8.58 10 5.05 6.47l1.42-1.42L10 8.58l3.54-3.53z"}))):"ellipsis"===t?(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},(0,e.createElement)("rect",{x:"0",fill:"none",width:"20",height:"20"}),(0,e.createElement)("g",null,(0,e.createElement)("path",{d:"M5 10c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm12-2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-7 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}))):"insert"===t?(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},(0,e.createElement)("rect",{x:"0",fill:"none",width:"20",height:"20"}),(0,e.createElement)("g",null,(0,e.createElement)("path",{d:"M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6z"}))):"reset"===t?(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 50 50"},(0,e.createElement)("path",{d:"M25 38c-5.1 0-9.7-3-11.8-7.6l1.8-.8c1.8 3.9 5.7 6.4 10 6.4 6.1 0 11-4.9 11-11s-4.9-11-11-11c-4.6 0-8.5 2.8-10.1 7.3l-1.9-.7c1.9-5.2 6.6-8.6 12-8.6 7.2 0 13 5.8 13 13s-5.8 13-13 13z",fill:"currentColor"}),(0,e.createElement)("path",{d:"M20 22h-8v-8h2v6h6z",fill:"currentColor"})):"dynamic"===t?(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 921 921",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"},(0,e.createElement)("path",{d:"M869.447 50.856c67.809 67.817 67.809 750.774 0 818.59-67.817 67.807-750.774 67.807-818.591 0-67.808-67.816-67.808-750.773 0-818.59 67.817-67.808 750.774-67.808 818.591 0Zm-395.295 685.52h3.579c9.702 0 17.579 7.877 17.579 17.579v3.42H723.3c5.451-12.361 17.818-21 32.187-21 19.405 0 35.159 15.755 35.159 35.159 0 19.405-15.754 35.159-35.159 35.159-14.491 0-26.947-8.786-32.325-21.317H495.31v3.738c0 9.702-7.877 17.579-17.579 17.579h-35.159c-9.702 0-17.579-7.877-17.579-17.58v-3.737H197.141c-5.378 12.53-17.834 21.317-32.325 21.317-19.405 0-35.159-15.754-35.159-35.16 0-19.403 15.754-35.157 35.159-35.157 14.369 0 26.736 8.638 32.187 21h227.99v-3.421c0-9.702 7.877-17.58 17.579-17.58h3.58V609.535h28v126.842ZM129.657 414.193c0 29.527 148.09 53.5 330.495 53.5 182.404 0 330.494-23.973 330.494-53.5v94c0 29.527-148.09 53.5-330.494 53.5-182.405 0-330.495-23.973-330.495-53.5v-94Zm0-134.5c0 29.527 148.09 53.5 330.495 53.5 182.404 0 330.494-23.973 330.494-53.5v94c0 29.527-148.09 53.5-330.494 53.5-182.405 0-330.495-23.973-330.495-53.5v-94Zm.002-134.673c.591-29.45 148.453-53.327 330.493-53.327 182.404 0 330.494 23.973 330.494 53.5v94c0 29.527-148.09 53.5-330.494 53.5-182.405 0-330.495-23.973-330.495-53.5v-94l.002-.173Z"})):"trash"===t?(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",style:{fill:"none"},stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",viewBox:"0 0 24 24"},(0,e.createElement)("path",{d:"M3 6h18M19 6v14a2 2 0 01-2 2H7a2 2 0 01-2-2V6m3 0V4a2 2 0 012-2h4a2 2 0 012 2v2M10 11v6M14 11v6"})):"query-params"===t?(0,e.createElement)("svg",{viewBox:"0 0 2876 2876",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"},(0,e.createElement)("path",{d:"M2717.022 158.925c211.903 211.928 211.903 2346.168 0 2558.097-211.928 211.893-2346.169 211.893-2558.097 0-211.9-211.929-211.9-2346.17 0-2558.097 211.928-211.9 2346.169-211.9 2558.097 0ZM1786.4 1975.975c-155.978 116.55-349.419 185.565-558.85 185.565-515.969 0-934.872-418.9-934.872-934.872 0-515.968 418.903-934.868 934.872-934.868 515.969 0 934.872 418.9 934.872 934.868 0 211.963-70.694 407.541-189.725 564.372l508.869 508.87c25.609 25.608 25.609 67.196 0 92.805l-92.81 92.81c-25.61 25.61-67.197 25.61-92.806 0l-509.55-509.55ZM1227.55 529.253c384.916 0 697.419 312.5 697.419 697.415 0 384.916-312.503 697.42-697.419 697.42s-697.419-312.504-697.419-697.42c0-384.915 312.503-697.415 697.419-697.415Zm-28.434 1248.965c-43.153 0-77.044-11.55-101.666-34.65-24.625-23.1-36.934-54.703-36.934-94.812 0-40.616 12.309-72.472 36.934-95.572 24.622-23.1 58.513-34.65 101.666-34.65s76.915 11.55 101.284 34.65c24.369 23.1 36.553 54.956 36.553 95.572 0 40.11-12.184 71.712-36.553 94.812-24.369 23.1-58.131 34.65-101.284 34.65Zm-346.504-811.04c1.016-47.216 9.9-90.497 26.657-129.844 16.753-39.347 40.868-73.11 72.347-101.284 31.475-28.178 69.934-50.138 115.371-65.875 45.438-15.738 97.35-23.607 155.735-23.607 54.325 0 103.697 7.235 148.122 21.704 44.422 14.468 82.5 34.778 114.231 60.921 31.731 26.147 56.225 57.372 73.487 93.672 17.263 36.3 25.894 76.535 25.894 120.703 0 57.37-13.71 106.616-41.125 147.741-27.415 41.122-68.031 77.675-121.847 109.66-25.384 14.724-46.325 28.306-62.825 40.743-16.5 12.438-29.7 25.131-39.6 38.078-9.9 12.944-16.88 26.653-20.943 41.122-4.063 14.469-6.094 30.844-6.094 49.119v40.362h-201.806l-1.525-41.884c-2.538-30.462-1.775-57.878 2.284-82.247 4.063-24.369 11.678-46.581 22.847-66.634 11.169-20.053 26.019-38.46 44.55-55.213s40.997-32.747 67.397-47.978c24.369-14.722 44.803-28.303 61.303-40.74 16.503-12.438 29.703-25.004 39.603-37.697 9.9-12.694 16.878-26.02 20.94-39.982 4.063-13.962 6.094-29.828 6.094-47.596 0-17.77-3.428-34.016-10.28-48.738-6.854-14.722-16.629-27.416-29.32-38.078-12.693-10.66-27.925-19.038-45.693-25.131-17.77-6.09-37.57-9.138-59.4-9.138-44.17 0-79.582 12.438-106.235 37.316-26.656 24.878-41.25 58.384-43.79 100.525H852.612Z"})):"caption"===t?(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 32 32"},(0,e.createElement)("path",{fill:"currentColor",d:"M11.5 13C10.24 13 9 14.213 9 16s1.24 3 2.5 3a2.17 2.17 0 0 0 1.274-.421 1 1 0 1 1 1.164 1.626A4.17 4.17 0 0 1 11.5 21C8.893 21 7 18.632 7 16s1.893-5 4.5-5c.95 0 1.822.326 2.536.867a1 1 0 1 1-1.208 1.594A2.183 2.183 0 0 0 11.5 13Zm7.5 3c0-1.787 1.24-3 2.5-3 .479 0 .934.162 1.328.46a1 1 0 0 0 1.208-1.593A4.182 4.182 0 0 0 21.5 11c-2.607 0-4.5 2.368-4.5 5s1.893 5 4.5 5a4.17 4.17 0 0 0 2.438-.795 1 1 0 1 0-1.164-1.626A2.172 2.172 0 0 1 21.5 19c-1.26 0-2.5-1.213-2.5-3ZM2 8.5A4.5 4.5 0 0 1 6.5 4h19A4.5 4.5 0 0 1 30 8.5v15a4.5 4.5 0 0 1-4.5 4.5h-19A4.5 4.5 0 0 1 2 23.5v-15ZM6.5 6A2.5 2.5 0 0 0 4 8.5v15A2.5 2.5 0 0 0 6.5 26h19a2.5 2.5 0 0 0 2.5-2.5v-15A2.5 2.5 0 0 0 25.5 6h-19Z"})):"add-pagination"===t?(0,e.createElement)("svg",{fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)("path",{d:"M18 8.2h-5.2V3h-1.6v5.2H6v1.6h5.2V15h1.6V9.8H18V8.2ZM8.5 17.5h-3a1.5 1.5 0 0 0 0 3h3a1.5 1.5 0 0 0 0-3ZM15 19a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0ZM20 19a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0Z",fill:"#000"})):void 0}var p=t=>{let{uniqueId:a,clientId:o}=t;const{insertBlocks:s}=(0,l.useDispatch)("core/block-editor");return(0,e.createElement)(r.BlockControls,null,(0,e.createElement)(n.ToolbarGroup,null,(0,e.createElement)(n.ToolbarButton,{className:"gblocks-block-control-icon gblocks-add-grid-item",icon:b("addContainer"),label:(0,i.__)("Add Grid Item","generateblocks"),onClick:()=>{s((0,g.createBlock)("generateblocks/container",{isGrid:!0,gridId:a,paddingTop:generateBlocksStyling.container.gridItemPaddingTop||"",paddingRight:generateBlocksStyling.container.gridItemPaddingRight||"",paddingBottom:generateBlocksStyling.container.gridItemPaddingBottom||"",paddingLeft:generateBlocksStyling.container.gridItemPaddingLeft||"",width:50,widthMobile:100}),void 0,o)},showTooltip:!0})))},m=window.wp.hooks;class f extends e.Component{render(){const{name:e,children:t}=this.props;return(0,m.applyFilters)(e,t||"",this.props)}}var h={data:new Map,get(e,t){try{return this.data.has(e)?this.data.get(e):"undefined"===(a=localStorage.getItem(e))?void 0:JSON.parse(null!=a?a:"")}catch(e){return t}var a},set(e,t){try{localStorage.setItem(e,JSON.stringify(t)),this.data.delete(e)}catch(a){this.data.set(e,t)}},remove(e){this.data.delete(e),localStorage.removeItem(e)}},k=window.ReactDOM,v=window.React,y=a.n(v);const w=[];var _=function(e,t){return"undefined"==typeof window?[null==t?void 0:t.defaultValue,()=>{},{isPersistent:!0,removeItem:()=>{}}]:function(e,t){const a=(0,v.useRef)(!0),l=(0,v.useRef)(null==t?void 0:t.defaultValue).current,[r,n]=(0,v.useReducer)((e=>e+1),0),i=(0,v.useCallback)((t=>{const a="function"==typeof t?t(h.get(e,l)):t;h.set(e,a),(0,k.unstable_batchedUpdates)((()=>{for(const t of w)t.key===e&&t.forceUpdate()}))}),[e,l]);(0,v.useEffect)((()=>{const t=t=>{t.storageArea===localStorage&&t.key===e&&n()};return window.addEventListener("storage",t),()=>window.removeEventListener("storage",t)}),[e]),(0,v.useEffect)((()=>{const t={key:e,forceUpdate:n};return w.push(t),()=>{w.splice(w.indexOf(t),1)}}),[e]);const o=!0===(0,v.useRef)(null==t?void 0:t.ssr).current&&a.current;return o&&(h.data.has(e)||l!==h.get(e,l))&&(n(),a.current=!1),void 0===l||h.data.has(e)||null!==localStorage.getItem(e)||h.set(e,l),(0,v.useMemo)((()=>[o?l:h.get(e,l),i,{isPersistent:o||!h.data.has(e),removeItem(){h.remove(e);for(const t of w)t.key===e&&t.forceUpdate()}}]),[r,e])}(e,t)};function C(t){const{title:a=!1,initialOpen:l=!1,icon:r,className:i,id:o,state:s,showPanel:c=!0,children:u}=t,[g,d]=_("generateblocksPanels",{ssr:!0,defaultValue:{}});if(!(0,m.applyFilters)("generateblocks.editor.showPanel",c,o,t))return null;let b=!0;return""===u&&(b=!1),"object"==typeof u&&(b=Object.values(u).some((e=>null!==e&&!1!==e&&""!==e))),b?(0,e.createElement)(f,{name:"generateblocks.panel."+o,props:t,state:s},a?(0,e.createElement)(n.PanelBody,{title:a,initialOpen:void 0!==g[o]?g[o]:l,icon:r,className:i,onToggle:()=>{const e=g[o]||void 0===g[o]&&l;d({...g,[o]:!e})}},(0,m.applyFilters)("generateblocks.editor.panelContents",u,o,t)):(0,e.createElement)(n.PanelBody,null,(0,m.applyFilters)("generateblocks.editor.panelContents",u,o,t))):null}var T=window.wp.primitives,E=(0,e.createElement)(T.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)(T.Path,{d:"M14.5 13.8c-1.1 0-2.1.7-2.4 1.8H4V17h8.1c.3 1 1.3 1.8 2.4 1.8s2.1-.7 2.4-1.8H20v-1.5h-3.1c-.3-1-1.3-1.7-2.4-1.7zM11.9 7c-.3-1-1.3-1.8-2.4-1.8S7.4 6 7.1 7H4v1.5h3.1c.3 1 1.3 1.8 2.4 1.8s2.1-.7 2.4-1.8H20V7h-8.1z"}));class x extends e.Component{render(){const{label:t,value:a,onClick:l,units:r,id:o,singleOption:s=!1}=this.props,c=s?[a]:r;return(0,e.createElement)("div",{className:"components-gblocks-units-control-header__units"},(0,e.createElement)("div",{className:"components-gblocks-units-control-label__units"},o?(0,e.createElement)("label",{htmlFor:o},t):t),(0,e.createElement)("div",{className:"components-gblocks-control__units"},(0,e.createElement)(n.ButtonGroup,{className:"components-gblocks-control-buttons__units","aria-label":(0,i.__)("Select Units","generateblocks")},c.map((t=>{let r=t;return"px"===t&&(r=(0,i._x)("Pixel","A size unit for CSS markup","generateblocks")),"em"===t&&(r=(0,i._x)("Em","A size unit for CSS markup","generateblocks")),"%"===t&&(r=(0,i._x)("Percentage","A size unit for CSS markup","generateblocks")),"deg"===t&&(r=(0,i._x)("Degree","A size unit for CSS markup","generateblocks")),(0,e.createElement)(n.Tooltip
2
  /* translators: Unit type (px, em, %) */,{text:(0,i.sprintf)((0,i.__)("%s Units","generateblocks"),r),key:t},(0,e.createElement)(n.Button,{key:t,className:"components-gblocks-control-button__units--"+t,isSmall:!0,isPrimary:a===t,"aria-pressed":a===t
3
- /* translators: %s: values associated with CSS syntax, 'Pixel', 'Em', 'Percentage' */,"aria-label":(0,i.sprintf)((0,i.__)("%s Units","generateblocks"),r),onClick:()=>l(t)},t))})))))}}function S(e){return e||0===e}function B(e,t,a,l){let r=t[e=e.replace("Tablet","").replace("Mobile","")];return"Mobile"===a&&t[e+"Tablet"]&&(r=t[e+"Tablet"]),""!==r&&!1!==r||(r=l),r}function M(t){const{label:a,attributeName:l,attributes:r,setAttributes:o,units:s=[],unit:c="px",device:u,presets:g=[],min:d=0,max:b,step:p,id:f=l,defaultPlaceholder:h=""}=t,[k,v]=(0,e.useState)(!1),[y,w]=_("generateblocksCustomInputs",{ssr:!0,defaultValue:[]}),C={value:l,unit:l+"Unit"};u&&"Desktop"!==u&&(C.value+=u);const T=(0,m.applyFilters)("generateblocns.editor.numberPresets",g,t),M=T.length>0?T[0].data:[],D=T.length>0?T[0].unit:"px",R=M.length>0&&"object"==typeof M[0]?M.find((e=>e.value===r[C.value])):M.includes(r[C.value]),z="Desktop"!==u&&B(C.value,r,u,""),L=0===T.length||!!S(r[C.value])&&!R||z||k||y.some((e=>e.includes(l)));return(0,e.createElement)(n.BaseControl,{label:0===s.length?a:null,id:f,className:"gblocks-number-component"},s.length>0&&(0,e.createElement)(x,{label:a,id:f,value:r[C.unit]||c,units:s,singleOption:!L,onClick:e=>(void 0!==r[C.unit]&&o({[C.unit]:e}),!1)}),!L&&(0,e.createElement)(n.ButtonGroup,{className:"gblocks-component-number-presets"},M.map(((t,a)=>{const l="object"==typeof t?t.value:t,i="object"==typeof t?t.label:t;return(0,e.createElement)(n.Button,{key:a,isPrimary:l===r[C.value]||l===h&&!S(r[C.value]),onClick:()=>{r[C.value]!==l?o({[C.value]:l,[C.unit]:D}):o({[C.value]:""})}},i)})),(0,e.createElement)(n.Tooltip,{text:(0,i.__)("Custom","generateblocks")},(0,e.createElement)(n.Button,{icon:E,onClick:()=>{v(!0),w([...y,l])}}))),L&&(0,e.createElement)("div",{className:"gblocks-number-component__input"},(0,e.createElement)(n.TextControl,{type:"number",value:S(r[C.value])?r[C.value]:"",placeholder:B(C.value,r,u,h),id:f,min:d,max:b,step:p,autoComplete:"off",onChange:e=>{d>=0&&(e=e.toString().replace(/-/g,"")),o({[C.value]:e})},onBlur:()=>{""!==r[C.value]&&!1!==r[C.value]&&o({[C.value]:parseFloat(r[C.value])})},onClick:e=>{e.currentTarget.focus()}}),T.length>0&&(R||!S(r[C.value]))&&!z&&(0,e.createElement)(n.Tooltip,{text:(0,i.__)("Presets","generateblocks")},(0,e.createElement)(n.Button,{icon:E,onClick:()=>{v(!1),o({[C.unit]:D}),w(y.filter((e=>e!==l)))}}))))}var D=a=>{const{attributes:l,state:o,deviceType:s,setAttributes:c}=a,{verticalAlignment:u,verticalAlignmentTablet:g,verticalAlignmentMobile:d,horizontalAlignment:p,horizontalAlignmentTablet:f,horizontalAlignmentMobile:h,isQueryLoop:k}=l;return(0,e.createElement)(r.InspectorControls,null,(0,e.createElement)(C,t({},a,{title:(0,i.__)("Layout","generateblocks"),initialOpen:!k,icon:b("layout"),className:"gblocks-panel-label",id:"gridLayout",state:o}),(0,e.createElement)(M,t({},a,{label:(0,i.__)("Horizontal Gap","generateblocks"),attributeName:"horizontalGap",unit:"px",units:["px"],device:s,presets:[{unit:"px",data:[20,40,60,80]}]})),(0,e.createElement)(M,t({},a,{label:(0,i.__)("Vertical Gap","generateblocks"),attributeName:"verticalGap",unit:"px",units:["px"],device:s,presets:[{unit:"px",data:[20,40,60,80]}]})),"Desktop"===s&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)(n.SelectControl,{label:(0,i.__)("Vertical Alignment","generateblocks"),value:u,help:(0,i.__)("Align grid items. Removes same height columns and overrides grid item content alignment.","generateblocks"),options:[{label:(0,i.__)("Default","generateblocks"),value:""},{label:(0,i.__)("Top","generateblocks"),value:"flex-start"},{label:(0,i.__)("Center","generateblocks"),value:"center"},{label:(0,i.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:e=>{c({verticalAlignment:e})}}),(0,e.createElement)(n.SelectControl,{label:(0,i.__)("Horizontal Alignment","generateblocks"),value:p,options:[{label:(0,i.__)("Default","generateblocks"),value:""},{label:(0,i.__)("Left","generateblocks"),value:"flex-start"},{label:(0,i.__)("Center","generateblocks"),value:"center"},{label:(0,i.__)("Right","generateblocks"),value:"flex-end"}],onChange:e=>{c({horizontalAlignment:e})}})),"Tablet"===s&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)(n.SelectControl,{label:(0,i.__)("Vertical Alignment","generateblocks"),help:(0,i.__)("Align grid items. Removes same height columns and overrides grid item content alignment.","generateblocks"),value:g,options:[{label:(0,i.__)("Inherit","generateblocks"),value:"inherit"},{label:(0,i.__)("Default","generateblocks"),value:""},{label:(0,i.__)("Top","generateblocks"),value:"flex-start"},{label:(0,i.__)("Center","generateblocks"),value:"center"},{label:(0,i.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:e=>{c({verticalAlignmentTablet:e})}}),(0,e.createElement)(n.SelectControl,{label:(0,i.__)("Horizontal Alignment","generateblocks"),value:f,options:[{label:(0,i.__)("Inherit","generateblocks"),value:"inherit"},{label:(0,i.__)("Default","generateblocks"),value:""},{label:(0,i.__)("Left","generateblocks"),value:"flex-start"},{label:(0,i.__)("Center","generateblocks"),value:"center"},{label:(0,i.__)("Right","generateblocks"),value:"flex-end"}],onChange:e=>{c({horizontalAlignmentTablet:e})}})),"Mobile"===s&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)(n.SelectControl,{label:(0,i.__)("Vertical Alignment","generateblocks"),help:(0,i.__)("Align grid items. Removes same height columns and overrides grid item content alignment.","generateblocks"),value:d,options:[{label:(0,i.__)("Inherit","generateblocks"),value:"inherit"},{label:(0,i.__)("Default","generateblocks"),value:""},{label:(0,i.__)("Top","generateblocks"),value:"flex-start"},{label:(0,i.__)("Center","generateblocks"),value:"center"},{label:(0,i.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:e=>{c({verticalAlignmentMobile:e})}}),(0,e.createElement)(n.SelectControl,{label:(0,i.__)("Horizontal Alignment","generateblocks"),value:h,options:[{label:(0,i.__)("Inherit","generateblocks"),value:"inherit"},{label:(0,i.__)("Default","generateblocks"),value:""},{label:(0,i.__)("Left","generateblocks"),value:"flex-start"},{label:(0,i.__)("Center","generateblocks"),value:"center"},{label:(0,i.__)("Right","generateblocks"),value:"flex-end"}],onChange:e=>{c({horizontalAlignmentMobile:e})}})),(0,m.applyFilters)("generateblocks.editor.controls","","gridLayout",a,o)))};const R=/[\s#]/g;var z=t=>{let{anchor:a,setAttributes:l}=t;return(0,e.createElement)(n.TextControl,{label:(0,i.__)("HTML Anchor","generateblocks"),help:(0,i.__)("Anchors lets you link directly to a section on a page.","generateblocks"),value:a||"",onChange:e=>{const t=e.replace(R,"-");l({anchor:t})}})},L=t=>(0,e.createElement)(r.InspectorAdvancedControls,null,(0,e.createElement)(z,t));function O(e){let t="";for(const[a,l]of Object.entries(e)){if(l.length<1)continue;let e=a+"{",r=0;for(const[t,a]of Object.entries(l))for(const[t,l]of Object.entries(a))(l||0===l)&&(r++,e+=t+": "+l+";");e+="}",r>0&&(t+=e)}return t}function I(e,t){return!(!e&&0!==e)&&e+t}class N extends e.Component{render(){const t=(0,m.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{uniqueId:a,horizontalGap:l,verticalGap:r,verticalAlignment:n,horizontalAlignment:i,isQueryLoop:o}=t;let s=[];const c=o?".gb-post-template-"+a+" > .gb-post-template-wrapper":".gb-grid-wrapper-"+a+" > .block-editor-inner-blocks > .block-editor-block-list__layout",u=o?c+" > .block-editor-inner-blocks":c+" > .gb-grid-column";return s[c]=[{"align-items":n,"justify-content":i,"margin-left":l||0===l?"-"+l+"px":null}],s[u]=[{"padding-left":I(l,"px"),"margin-bottom":I(r,"px")}],s=(0,m.applyFilters)("generateblocks.editor.mainCSS",s,this.props,"grid"),(0,e.createElement)("style",null,O(s))}}class A extends e.Component{render(){let t=[];return t=(0,m.applyFilters)("generateblocks.editor.desktopCSS",t,this.props,"grid"),(0,e.createElement)("style",null,O(t))}}class F extends e.Component{render(){const t=(0,m.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{uniqueId:a,horizontalGapTablet:l,verticalGapTablet:r,verticalAlignmentTablet:n,horizontalAlignmentTablet:i,isQueryLoop:o}=t;let s=[];const c=o?".gb-post-template-"+a+" > .gb-post-template-wrapper":".gb-grid-wrapper-"+a+" > .block-editor-inner-blocks > .block-editor-block-list__layout",u=o?c+" > .block-editor-inner-blocks":c+" > .gb-grid-column";return s[c]=[{"align-items":"inherit"!==n?n:null,"justify-content":"inherit"!==i?i:null,"margin-left":l||0===l?"-"+l+"px":null}],s[u]=[{"padding-left":I(l,"px"),"margin-bottom":r||0===r?I(r,"px"):null}],s=(0,m.applyFilters)("generateblocks.editor.tabletCSS",s,this.props,"grid"),(0,e.createElement)("style",null,O(s))}}class P extends e.Component{render(){let t=[];return t=(0,m.applyFilters)("generateblocks.editor.tabletOnlyCSS",t,this.props,"grid"),(0,e.createElement)("style",null,O(t))}}class H extends e.Component{render(){const t=(0,m.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{uniqueId:a,horizontalGapMobile:l,verticalGapMobile:r,verticalAlignmentMobile:n,horizontalAlignmentMobile:i,isQueryLoop:o}=t;let s=[];const c=o?".gb-post-template-"+a+" > .gb-post-template-wrapper":".gb-grid-wrapper-"+a+" > .block-editor-inner-blocks > .block-editor-block-list__layout",u=o?c+" > .block-editor-inner-blocks":c+" > .gb-grid-column";return s[c]=[{"align-items":"inherit"!==n?n:null,"justify-content":"inherit"!==i?i:null,"margin-left":l||0===l?"-"+l+"px":null}],s[u]=[{"padding-left":I(l,"px"),"margin-bottom":r||0===r?I(r,"px"):null}],s=(0,m.applyFilters)("generateblocks.editor.mobileCSS",s,this.props,"grid"),(0,e.createElement)("style",null,O(s))}}var V=window.lodash,U=a.n(V);function G(e,t){return e.deviceType===t.deviceType&&e.clientId===t.clientId&&(a=e.attributes,l=t.attributes,Object.keys(a).every((e=>(0,V.isEqual)(a[e],l[e]))));var a,l}var j=(0,e.memo)((function(t){const a=(0,l.useSelect)((e=>{if(!e("core/edit-post"))return"Desktop";const{__experimentalGetPreviewDeviceType:t=(()=>"Desktop")}=e("core/edit-post");return t()}),[]),{isBlockPreview:r=!1}=t?.attributes;return r?null:(0,e.createElement)(e.Fragment,null,(0,e.createElement)(N,t),a&&(0,e.createElement)(e.Fragment,null,"Desktop"===a&&(0,e.createElement)(A,t),("Tablet"===a||"Mobile"===a)&&(0,e.createElement)(F,t),"Tablet"===a&&(0,e.createElement)(P,t),"Mobile"===a&&(0,e.createElement)(H,t)))}),G),q=window.wp.compose,W=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Desktop";const[a,r]=_("generateblocksDeviceType",{ssr:!0,defaultValue:t});if(!(0,l.dispatch)("core/edit-post"))return[a,e=>{r(e)}];const{__experimentalSetPreviewDeviceType:n=(()=>{})}=(0,l.useDispatch)("core/edit-post"),i=(0,l.useSelect)((e=>{const{__experimentalGetPreviewDeviceType:t=(()=>!1)}=e("core/edit-post");return t()}),[]);(0,e.useEffect)((()=>{r(i)}),[i]);const o=e=>{generateBlocksInfo&&generateBlocksInfo.syncResponsivePreviews&&n(e),r(e)};return[a,o]},$=e=>{const t=(0,l.useSelect)((t=>t("core/block-editor").getBlock(e)));return t?t.innerBlocks.length:0},Z=window.wp.coreData,K=()=>(0,l.useSelect)((e=>{const{getTaxonomies:t}=e(Z.store);return t({per_page:-1})||[]}),[]);const Q=e=>e.reduce(((e,t)=>{if(t.name&&t.name.includes("generateblocks")&&t.attributes&&t.attributes.uniqueId&&(e.uniqueIds.push(t.attributes.uniqueId),e.clientIds.push(t.clientId)),t.innerBlocks){const{uniqueIds:a,clientIds:l}=Q(t.innerBlocks);e.uniqueIds=e.uniqueIds.concat(a),e.clientIds=e.clientIds.concat(l)}return e}),{uniqueIds:[],clientIds:[]});var Y=t=>a=>{const{clientId:n,attributes:i}=a,{updateBlockAttributes:o}=(0,l.useDispatch)(r.store);return(0,e.useEffect)((()=>{const{uniqueIds:e,clientIds:t}=Q(wp.data.select("core/block-editor").getBlocks());if(!i.uniqueId||(a=e,l=i.uniqueId,r=t.indexOf(n),a.filter((e=>e===l)).length>1&&r===a.lastIndexOf(l))){const e=(e=>e.substr(2,9).replace("-",""))(n);o(n,{uniqueId:e})}var a,l,r}),[n]),(0,e.createElement)(t,a)};function J(e){return""===e.uniqueId}function X(e,t){return!e||e<t}const ee=[{name:"generateblocks/button",id:"buttonDocumentation",url:"https://docs.generateblocks.com/collection/buttons/"},{name:"generateblocks/button-container",id:"buttonContainerDocumentation",url:"https://docs.generateblocks.com/collection/buttons/"},{name:"generateblocks/container",id:"containerDocumentation",url:"https://docs.generateblocks.com/collection/container/"},{name:"generateblocks/grid",id:"gridDocumentation",url:"https://docs.generateblocks.com/collection/grid/"},{name:"generateblocks/headline",id:"headlineDocumentation",url:"https://docs.generateblocks.com/collection/headline/"},{name:"generateblocks/image",id:"imageDocumentation",url:"https://docs.generateblocks.com/collection/image/"}],te=(0,q.createHigherOrderComponent)((a=>l=>{const{name:n,state:o}=l,s=ee.find((e=>n===e.name));return s&&0!==s.length?(0,e.createElement)(e.Fragment,null,(0,e.createElement)(a,l),(0,e.createElement)(r.InspectorControls,null,(0,e.createElement)(C,t({},l,{title:(0,i.__)("Documentation","generateblocks"),icon:b("documentation"),initialOpen:!1,className:"gblocks-panel-label",id:s.id,state:o}),(0,e.createElement)("p",null,(0,i.__)("Need help with this block?","generateblocks")),(0,e.createElement)("a",{href:s.url,target:"_blank",rel:"noreferrer noopener"},(0,i.__)("Visit our documentation","generateblocks")),(0,m.applyFilters)("generateblocks.editor.controls","",s.id,l,o)))):(0,e.createElement)(a,l)}),"withDocumentation");(0,m.addFilter)("editor.BlockEdit","generateblocks/with-documentation",te,99);var ae=function(t){let{icon:a,size:l=24,...r}=t;return(0,e.cloneElement)(a,{width:l,height:l,...r})},le=(0,e.createElement)(T.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)(T.Path,{d:"M20.5 16h-.7V8c0-1.1-.9-2-2-2H6.2c-1.1 0-2 .9-2 2v8h-.7c-.8 0-1.5.7-1.5 1.5h20c0-.8-.7-1.5-1.5-1.5zM5.7 8c0-.3.2-.5.5-.5h11.6c.3 0 .5.2.5.5v7.6H5.7V8z"})),re=(0,e.createElement)(T.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)(T.Path,{d:"M17 4H7c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v12zm-7.5-.5h4V16h-4v1.5z"})),ne=(0,e.createElement)(T.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)(T.Path,{d:"M15 4H9c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H9c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h6c.3 0 .5.2.5.5v12zm-4.5-.5h2V16h-2v1.5z"}));class ie extends e.Component{render(){const{onClick:t,selectedDevice:a}=this.props,l=document.querySelector(".edit-post-sidebar .edit-post-sidebar__panel-tabs"),r=l?l.offsetHeight:0;return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"gb-responsive-tabs",style:{top:r+"px"}},(0,e.createElement)(n.Tooltip,{text:(0,i.__)("Show options for all devices","generateblocks")},(0,e.createElement)(n.Button,{isPressed:"Desktop"===a,onClick:()=>{t("Desktop")}},(0,e.createElement)(ae,{icon:le}))),(0,e.createElement)(n.Tooltip,{text:(0,i.__)("Show options for tablet devices","generateblocks")},(0,e.createElement)(n.Button,{isPressed:"Tablet"===a,onClick:()=>{t("Tablet")}},(0,e.createElement)(ae,{icon:re}))),(0,e.createElement)(n.Tooltip,{text:(0,i.__)("Show options for mobile devices","generateblocks")},(0,e.createElement)(n.Button,{isPressed:"Mobile"===a,onClick:()=>{t("Mobile")}},(0,e.createElement)(ae,{icon:ne})))),(0,m.applyFilters)("generateblocks.editor.controls","","afterResponsiveTabs",this.props,this.state))}}const oe=(0,q.createHigherOrderComponent)((a=>l=>{const{name:n}=l;if(!(0,m.applyFilters)("generateblocks.editor.responsiveTabBlocks",["generateblocks/button","generateblocks/button-container","generateblocks/container","generateblocks/grid","generateblocks/headline","generateblocks/image"],l).includes(n))return(0,e.createElement)(a,l);const[i,o]=W("Desktop");return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(r.InspectorControls,null,(0,e.createElement)(ie,t({},l,{selectedDevice:i,onClick:o}))),(0,e.createElement)(a,l))}),"withResponsiveTabs");function se(e,t,a){var l=this,r=(0,v.useRef)(null),n=(0,v.useRef)(0),i=(0,v.useRef)(null),o=(0,v.useRef)([]),s=(0,v.useRef)(),c=(0,v.useRef)(),u=(0,v.useRef)(e),g=(0,v.useRef)(!0);u.current=e;var d=!t&&0!==t&&"undefined"!=typeof window;if("function"!=typeof e)throw new TypeError("Expected a function");t=+t||0;var b=!!(a=a||{}).leading,p=!("trailing"in a)||!!a.trailing,m="maxWait"in a,f=m?Math.max(+a.maxWait||0,t):null;(0,v.useEffect)((function(){return g.current=!0,function(){g.current=!1}}),[]);var h=(0,v.useMemo)((function(){var e=function(e){var t=o.current,a=s.current;return o.current=s.current=null,n.current=e,c.current=u.current.apply(a,t)},a=function(e,t){d&&cancelAnimationFrame(i.current),i.current=d?requestAnimationFrame(e):setTimeout(e,t)},h=function(e){if(!g.current)return!1;var a=e-r.current,l=e-n.current;return!r.current||a>=t||a<0||m&&l>=f},k=function(t){return i.current=null,p&&o.current?e(t):(o.current=s.current=null,c.current)},v=function(){var e=Date.now();if(h(e))return k(e);if(g.current){var l=e-r.current,i=e-n.current,o=t-l,s=m?Math.min(o,f-i):o;a(v,s)}},y=function(){for(var u=[],d=0;d<arguments.length;d++)u[d]=arguments[d];var p=Date.now(),f=h(p);if(o.current=u,s.current=l,r.current=p,f){if(!i.current&&g.current)return n.current=r.current,a(v,t),b?e(r.current):c.current;if(m)return a(v,t),e(r.current)}return i.current||a(v,t),c.current};return y.cancel=function(){i.current&&(d?cancelAnimationFrame(i.current):clearTimeout(i.current)),n.current=0,o.current=r.current=s.current=i.current=null},y.isPending=function(){return!!i.current},y.flush=function(){return i.current?k(Date.now()):c.current},y}),[b,m,t,f,p,d]);return h}(0,m.addFilter)("editor.BlockEdit","generateblocks/with-responsive-tabs",oe,1);const ce=(0,e.memo)((function(a){let{blocks:l,contextId:n,setActiveContextId:i,isHidden:o}=a;const s=(0,r.__experimentalUseBlockPreview)({blocks:l}),c=()=>i(n),u={display:o?"none":void 0};return(0,e.createElement)("div",t({},s,{className:"block-editor-inner-blocks gb-query-loop-block-preview",tabIndex:0,role:"button",onClick:c,onKeyPress:c,style:u}))}));function ue(e){return e.map((e=>{const t=ue(e.innerBlocks),a=Object.assign({},e.attributes,{isBlockPreview:!0});return Object.assign({},e,{attributes:a,innerBlocks:t})}))}function ge(a){const{clientId:o,data:s,hasData:c,isResolvingData:u,hasResolvedData:g,templateLock:d,contextCallback:b}=a,p=(0,l.useSelect)((e=>e("core/block-editor")?.getBlocks(o)),[]),{getSelectedBlock:m}=(0,l.useSelect)(r.store),[f,h]=(0,e.useState)([]),[k,v]=(0,e.useState)();(0,e.useEffect)((()=>{h(ue(p))}),[]);const y=se((()=>{h(ue(p))}),10),w=["core/paragraph","core/heading","core/button","generateblocks/headline","generateblocks/button"];(0,e.useEffect)((()=>{const e=m();!w.includes(e?.name)||e?.attributes?.useDynamicData||e?.attributes?.dynamicContentType?h(ue(p)):y()}),[JSON.stringify(p)]);const _=(0,e.useMemo)((()=>c&&s.map((e=>b(e)))),[s,c]);return u?(0,e.createElement)(n.Spinner,null):g&&!c?(0,e.createElement)("h5",null,(0,i.__)("No results found.","generateblocks")):_&&_.map((l=>(0,e.createElement)(r.BlockContextProvider,{key:l.postId,value:l},l.postId===(k||_[0]?.postId)?(0,e.createElement)(r.InnerBlocks,t({},a,{templateLock:d})):null,(0,e.createElement)(ce,{blocks:f,contextId:l.postId,setActiveContextId:v,isHidden:l.postId===(k||_[0]?.postId)}))))}function de(e){return Object.fromEntries(Object.entries(e).filter((e=>{let[t,a]=e;return"alt"===t||(Array.isArray(a)?!!a.length:!!a)})))}function be(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const a=t?`${e.rest}_exclude`:e.rest;return{[a]:{terms:e.terms,include_children:e.includeChildren}}}function pe(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.reduce(((e,a)=>Object.assign({},e,be(a,t))),{})}function me(t){const{clientId:a,context:r}=t,n=r["generateblocks/query"]||{},i=(0,e.useMemo)((()=>function(e){let t=function(e){const t=e.per_page?e.per_page:10,a="-1"===e.per_page||e.per_page>50?50:t;let l;"exclude"===e.stickyPosts?l=!1:"only"===e.stickyPosts&&(l=!0);const r=Object.assign({},e,{per_page:a,sticky:l});return(0,m.applyFilters)("generateblocks.editor.query-loop.normalize-parameters",r)}(e);if(Array.isArray(t.tax_query)){const e=pe(t.tax_query);t=Object.assign({},t,e,{tax_query:void 0})}if(Array.isArray(t.tax_query_exclude)){const e=pe(t.tax_query_exclude,!0);t=Object.assign({},t,e,{tax_query_exclude:void 0})}return t}(de(n))),[JSON.stringify(n)]),{data:o,isResolvingData:s,hasResolvedData:c}=(0,l.useSelect)((e=>{const{getEntityRecords:t,isResolving:a,hasFinishedResolution:l}=e(Z.store),r=["postType",n.post_type||"post",i];return{data:t(...r),isResolvingData:a("getEntityRecords",r),hasResolvedData:l("getEntityRecords",r)}}),[JSON.stringify(i)]);return(0,e.createElement)("div",{className:"gb-post-template-wrapper"},(0,e.createElement)(ge,{data:o,hasData:!(!c||!o?.length),isResolvingData:s,hasResolvedData:c,templateLock:!0,clientId:a,contextCallback:e=>({postType:e.type,postId:e.id})}))}var fe=(0,q.compose)((t=>a=>{const{attributes:l}=a,r=l.isQueryLoop?Object.assign({},a,{defaultLayout:"100",templateLock:"all",InnerBlocksRenderer:me}):a;return(0,e.createElement)(t,r)}),Y,(t=>a=>{const{attributes:l,setAttributes:r}=a;return(0,e.useEffect)((()=>{if(l.isDynamic||r({isDynamic:!0}),!J(l)&&X(l.blockVersion,2)){const e=generateBlocksLegacyDefaults.v_1_4_0.gridContainer,t={};l.useGlobalStyle&&l.globalStyleId||S(l.horizontalGap)||(t.horizontalGap=e.horizontalGap),Object.keys(t).length>0&&r(t)}X(l.blockVersion,2)&&r({blockVersion:2})}),[]),(0,e.createElement)(t,a)}))((a=>{const{clientId:n,attributes:i,setAttributes:o,InnerBlocksRenderer:d=r.InnerBlocks,LayoutSelector:b=u,defaultLayout:f=!1,templateLock:h=!1,context:k}=a,[v,y]=(0,e.useState)(!1),[w,_]=W("Desktop"),C=$(n),{insertBlocks:T}=(0,l.useDispatch)("core/block-editor");(0,e.useEffect)((()=>{o({columns:C})}),[C]),(0,e.useEffect)((()=>{const e=f||v;!i.isQueryLoop&&e&&(c(e,i.uniqueId).forEach((e=>{T((0,g.createBlock)("generateblocks/container",e),void 0,a.clientId,!1)})),y(!1))}),[v,f,i.uniqueId,a.clientId,i.isQueryLoop]);let E={className:s()({"gb-grid-wrapper":!0,[`gb-grid-wrapper-${i.uniqueId}`]:!0,[`${i.className}`]:void 0!==i.className,"gb-post-template":!!i.isQueryLoop,[`gb-post-template-${i.uniqueId}`]:!!i.isQueryLoop}),id:i.anchor?i.anchor:null};E=(0,m.applyFilters)("generateblocks.frontend.htmlAttributes",E,"generateblocks/grid",i);const x=(0,r.useBlockProps)(E);return(0,e.createElement)(e.Fragment,null,!i.isQueryLoop&&(i.columns>0||v)&&(0,e.createElement)(p,{uniqueId:i.uniqueId,clientId:a.clientId}),(0,e.createElement)(D,t({},a,{state:{selectedLayout:v,deviceType:w},deviceType:w,setDeviceType:_,blockDefaults:generateBlocksDefaults.gridContainer})),(0,e.createElement)(L,{anchor:i.anchor,setAttributes:o}),(0,e.createElement)(j,t({},a,{deviceType:w})),(0,e.createElement)("div",x,i.isQueryLoop||i.columns>0||v?(0,e.createElement)(d,{templateLock:h,allowedBlocks:["generateblocks/container"],renderAppender:!1,clientId:n,uniqueId:i.uniqueId,attributes:i,context:k}):(0,e.createElement)(b,{uniqueId:i.uniqueId,onClick:y,isDisabled:i?.isBlockPreview})))})),he={uniqueId:{type:"string",default:""},anchor:{type:"string",default:""},columns:{type:"number",default:""},horizontalGap:{type:"number",default:generateBlocksDefaults.gridContainer.horizontalGap},verticalGap:{type:"number",default:generateBlocksDefaults.gridContainer.verticalGap},verticalAlignment:{type:"string",default:generateBlocksDefaults.gridContainer.verticalAlignment},horizontalGapTablet:{type:"number",default:generateBlocksDefaults.gridContainer.horizontalGapTablet},verticalGapTablet:{type:"number",default:generateBlocksDefaults.gridContainer.verticalGapTablet},verticalAlignmentTablet:{type:"string",default:generateBlocksDefaults.gridContainer.verticalAlignmentTablet},horizontalGapMobile:{type:"number",default:generateBlocksDefaults.gridContainer.horizontalGapMobile},verticalGapMobile:{type:"number",default:generateBlocksDefaults.gridContainer.verticalGapMobile},verticalAlignmentMobile:{type:"string",default:generateBlocksDefaults.gridContainer.verticalAlignmentMobile},horizontalAlignment:{type:"string",default:generateBlocksDefaults.gridContainer.horizontalAlignment},horizontalAlignmentTablet:{type:"string",default:generateBlocksDefaults.gridContainer.horizontalAlignmentTablet},horizontalAlignmentMobile:{type:"string",default:generateBlocksDefaults.gridContainer.horizontalAlignmentMobile},isDynamic:{type:"boolean"},blockVersion:{type:"number"},isQueryLoop:{type:"boolean",default:!1},elementId:{type:"string",default:""},cssClasses:{type:"string",default:""}};const ke=[{attributes:he,supports:{anchor:!1,className:!1,customClassName:!1},migrate(e){const t=e.cssClasses?e.cssClasses:e.className,a=e.elementId?e.elementId:e.anchor;return{...e,className:t,anchor:a,cssClasses:"",elementId:""}},save(t){let{attributes:a}=t;const{uniqueId:l,elementId:n,cssClasses:i}=a;let o={id:n||void 0,className:s()({"gb-grid-wrapper":!0,[`gb-grid-wrapper-${l}`]:!0,[`${i}`]:""!==i})};return o=(0,m.applyFilters)("generateblocks.frontend.htmlAttributes",o,"generateblocks/grid",a),(0,e.createElement)("div",o,(0,e.createElement)(r.InnerBlocks.Content,null))}}];var ve=ke;(0,g.registerBlockType)("generateblocks/grid",{apiVersion:2,title:(0,i.__)("Grid","generateblocks"),description:(0,i.__)("Create advanced layouts with flexible grids.","generateblocks"),icon:b("grid"),category:"generateblocks",keywords:[(0,i.__)("grid"),(0,i.__)("column"),(0,i.__)("generate")],attributes:he,supports:{className:!1,html:!1},edit:fe,save:()=>(0,e.createElement)(r.InnerBlocks.Content,null),deprecated:ve});var ye=Object.assign({},he,{uniqueId:{type:"string",default:""},inheritQuery:{type:"boolean",default:!1},query:{type:"object",default:{}}}),we=function(){function e(e){var t=this;this._insertTag=function(e){var a;a=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,a),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var a=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{a.insertRule(e,a.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),_e=Math.abs,Ce=String.fromCharCode,Te=Object.assign;function Ee(e){return e.trim()}function xe(e,t,a){return e.replace(t,a)}function Se(e,t){return e.indexOf(t)}function Be(e,t){return 0|e.charCodeAt(t)}function Me(e,t,a){return e.slice(t,a)}function De(e){return e.length}function Re(e){return e.length}function ze(e,t){return t.push(e),e}var Le=1,Oe=1,Ie=0,Ne=0,Ae=0,Fe="";function Pe(e,t,a,l,r,n,i){return{value:e,root:t,parent:a,type:l,props:r,children:n,line:Le,column:Oe,length:i,return:""}}function He(e,t){return Te(Pe("",null,null,"",null,null,0),e,{length:-e.length},t)}function Ve(){return Ae=Ne>0?Be(Fe,--Ne):0,Oe--,10===Ae&&(Oe=1,Le--),Ae}function Ue(){return Ae=Ne<Ie?Be(Fe,Ne++):0,Oe++,10===Ae&&(Oe=1,Le++),Ae}function Ge(){return Be(Fe,Ne)}function je(){return Ne}function qe(e,t){return Me(Fe,e,t)}function We(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function $e(e){return Le=Oe=1,Ie=De(Fe=e),Ne=0,[]}function Ze(e){return Fe="",e}function Ke(e){return Ee(qe(Ne-1,Je(91===e?e+2:40===e?e+1:e)))}function Qe(e){for(;(Ae=Ge())&&Ae<33;)Ue();return We(e)>2||We(Ae)>3?"":" "}function Ye(e,t){for(;--t&&Ue()&&!(Ae<48||Ae>102||Ae>57&&Ae<65||Ae>70&&Ae<97););return qe(e,je()+(t<6&&32==Ge()&&32==Ue()))}function Je(e){for(;Ue();)switch(Ae){case e:return Ne;case 34:case 39:34!==e&&39!==e&&Je(Ae);break;case 40:41===e&&Je(e);break;case 92:Ue()}return Ne}function Xe(e,t){for(;Ue()&&e+Ae!==57&&(e+Ae!==84||47!==Ge()););return"/*"+qe(t,Ne-1)+"*"+Ce(47===e?e:Ue())}function et(e){for(;!We(Ge());)Ue();return qe(e,Ne)}var tt="-ms-",at="-moz-",lt="-webkit-",rt="comm",nt="rule",it="decl",ot="@keyframes";function st(e,t){for(var a="",l=Re(e),r=0;r<l;r++)a+=t(e[r],r,e,t)||"";return a}function ct(e,t,a,l){switch(e.type){case"@import":case it:return e.return=e.return||e.value;case rt:return"";case ot:return e.return=e.value+"{"+st(e.children,l)+"}";case nt:e.value=e.props.join(",")}return De(a=st(e.children,l))?e.return=e.value+"{"+a+"}":""}function ut(e,t){switch(function(e,t){return(((t<<2^Be(e,0))<<2^Be(e,1))<<2^Be(e,2))<<2^Be(e,3)}(e,t)){case 5103:return lt+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return lt+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return lt+e+at+e+tt+e+e;case 6828:case 4268:return lt+e+tt+e+e;case 6165:return lt+e+tt+"flex-"+e+e;case 5187:return lt+e+xe(e,/(\w+).+(:[^]+)/,"-webkit-box-$1$2-ms-flex-$1$2")+e;case 5443:return lt+e+tt+"flex-item-"+xe(e,/flex-|-self/,"")+e;case 4675:return lt+e+tt+"flex-line-pack"+xe(e,/align-content|flex-|-self/,"")+e;case 5548:return lt+e+tt+xe(e,"shrink","negative")+e;case 5292:return lt+e+tt+xe(e,"basis","preferred-size")+e;case 6060:return lt+"box-"+xe(e,"-grow","")+lt+e+tt+xe(e,"grow","positive")+e;case 4554:return lt+xe(e,/([^-])(transform)/g,"$1-webkit-$2")+e;case 6187:return xe(xe(xe(e,/(zoom-|grab)/,lt+"$1"),/(image-set)/,lt+"$1"),e,"")+e;case 5495:case 3959:return xe(e,/(image-set\([^]*)/,lt+"$1$`$1");case 4968:return xe(xe(e,/(.+:)(flex-)?(.*)/,"-webkit-box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+lt+e+e;case 4095:case 3583:case 4068:case 2532:return xe(e,/(.+)-inline(.+)/,lt+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(De(e)-1-t>6)switch(Be(e,t+1)){case 109:if(45!==Be(e,t+4))break;case 102:return xe(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1"+at+(108==Be(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Se(e,"stretch")?ut(xe(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Be(e,t+1))break;case 6444:switch(Be(e,De(e)-3-(~Se(e,"!important")&&10))){case 107:return xe(e,":",":"+lt)+e;case 101:return xe(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+lt+(45===Be(e,14)?"inline-":"")+"box$3$1"+lt+"$2$3$1"+tt+"$2box$3")+e}break;case 5936:switch(Be(e,t+11)){case 114:return lt+e+tt+xe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return lt+e+tt+xe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return lt+e+tt+xe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return lt+e+tt+e+e}return e}function gt(e){var t=Re(e);return function(a,l,r,n){for(var i="",o=0;o<t;o++)i+=e[o](a,l,r,n)||"";return i}}function dt(e){return function(t){t.root||(t=t.return)&&e(t)}}function bt(e,t,a,l){if(e.length>-1&&!e.return)switch(e.type){case it:e.return=ut(e.value,e.length);break;case ot:return st([He(e,{value:xe(e.value,"@","@"+lt)})],l);case nt:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return st([He(e,{props:[xe(t,/:(read-\w+)/,":-moz-$1")]})],l);case"::placeholder":return st([He(e,{props:[xe(t,/:(plac\w+)/,":-webkit-input-$1")]}),He(e,{props:[xe(t,/:(plac\w+)/,":-moz-$1")]}),He(e,{props:[xe(t,/:(plac\w+)/,tt+"input-$1")]})],l)}return""}))}}function pt(e){return Ze(mt("",null,null,null,[""],e=$e(e),0,[0],e))}function mt(e,t,a,l,r,n,i,o,s){for(var c=0,u=0,g=i,d=0,b=0,p=0,m=1,f=1,h=1,k=0,v="",y=r,w=n,_=l,C=v;f;)switch(p=k,k=Ue()){case 40:if(108!=p&&58==C.charCodeAt(g-1)){-1!=Se(C+=xe(Ke(k),"&","&\f"),"&\f")&&(h=-1);break}case 34:case 39:case 91:C+=Ke(k);break;case 9:case 10:case 13:case 32:C+=Qe(p);break;case 92:C+=Ye(je()-1,7);continue;case 47:switch(Ge()){case 42:case 47:ze(ht(Xe(Ue(),je()),t,a),s);break;default:C+="/"}break;case 123*m:o[c++]=De(C)*h;case 125*m:case 59:case 0:switch(k){case 0:case 125:f=0;case 59+u:b>0&&De(C)-g&&ze(b>32?kt(C+";",l,a,g-1):kt(xe(C," ","")+";",l,a,g-2),s);break;case 59:C+=";";default:if(ze(_=ft(C,t,a,c,u,r,o,v,y=[],w=[],g),n),123===k)if(0===u)mt(C,t,_,_,y,n,g,o,w);else switch(d){case 100:case 109:case 115:mt(e,_,_,l&&ze(ft(e,_,_,0,0,r,o,v,r,y=[],g),w),r,w,g,o,l?y:w);break;default:mt(C,_,_,_,[""],w,0,o,w)}}c=u=b=0,m=h=1,v=C="",g=i;break;case 58:g=1+De(C),b=p;default:if(m<1)if(123==k)--m;else if(125==k&&0==m++&&125==Ve())continue;switch(C+=Ce(k),k*m){case 38:h=u>0?1:(C+="\f",-1);break;case 44:o[c++]=(De(C)-1)*h,h=1;break;case 64:45===Ge()&&(C+=Ke(Ue())),d=Ge(),u=g=De(v=C+=et(je())),k++;break;case 45:45===p&&2==De(C)&&(m=0)}}return n}function ft(e,t,a,l,r,n,i,o,s,c,u){for(var g=r-1,d=0===r?n:[""],b=Re(d),p=0,m=0,f=0;p<l;++p)for(var h=0,k=Me(e,g+1,g=_e(m=i[p])),v=e;h<b;++h)(v=Ee(m>0?d[h]+" "+k:xe(k,/&\f/g,d[h])))&&(s[f++]=v);return Pe(e,t,a,0===r?nt:o,s,c,u)}function ht(e,t,a){return Pe(e,t,a,rt,Ce(Ae),Me(e,2,-2),0)}function kt(e,t,a,l){return Pe(e,t,a,it,Me(e,0,l),Me(e,l+1,-1),l)}var vt=function(e,t,a){for(var l=0,r=0;l=r,r=Ge(),38===l&&12===r&&(t[a]=1),!We(r);)Ue();return qe(e,Ne)},yt=new WeakMap,wt=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,a=e.parent,l=e.column===a.column&&e.line===a.line;"rule"!==a.type;)if(!(a=a.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||yt.get(a))&&!l){yt.set(e,!0);for(var r=[],n=function(e,t){return Ze(function(e,t){var a=-1,l=44;do{switch(We(l)){case 0:38===l&&12===Ge()&&(t[a]=1),e[a]+=vt(Ne-1,t,a);break;case 2:e[a]+=Ke(l);break;case 4:if(44===l){e[++a]=58===Ge()?"&\f":"",t[a]=e[a].length;break}default:e[a]+=Ce(l)}}while(l=Ue());return e}($e(e),t))}(t,r),i=a.props,o=0,s=0;o<n.length;o++)for(var c=0;c<i.length;c++,s++)e.props[s]=r[o]?n[o].replace(/&\f/g,i[c]):i[c]+" "+n[o]}}},_t=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},Ct=[bt],Tt=function(e){var t=e.key;if("css"===t){var a=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(a,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var l,r,n=e.stylisPlugins||Ct,i={},o=[];l=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),a=1;a<t.length;a++)i[t[a]]=!0;o.push(e)}));var s,c=[wt,_t],u=[ct,dt((function(e){s.insert(e)}))],g=gt(c.concat(n,u));r=function(e,t,a,l){s=a,st(pt(e?e+"{"+t.styles+"}":t.styles),g),l&&(d.inserted[t.name]=!0)};var d={key:t,sheet:new we({key:t,container:l,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:r};return d.sheet.hydrate(o),d};function Et(e,t,a){var l="";return a.split(" ").forEach((function(a){void 0!==e[a]?t.push(e[a]+";"):l+=a+" "})),l}var xt=function(e,t,a){var l=e.key+"-"+t.name;!1===a&&void 0===e.registered[l]&&(e.registered[l]=t.styles)},St=function(e,t,a){xt(e,t,a);var l=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var r=t;do{e.insert(t===r?"."+l:"",r,e.sheet,!0),r=r.next}while(void 0!==r)}},Bt=function(e){for(var t,a=0,l=0,r=e.length;r>=4;++l,r-=4)t=1540483477*(65535&(t=255&e.charCodeAt(l)|(255&e.charCodeAt(++l))<<8|(255&e.charCodeAt(++l))<<16|(255&e.charCodeAt(++l))<<24))+(59797*(t>>>16)<<16),a=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&a)+(59797*(a>>>16)<<16);switch(r){case 3:a^=(255&e.charCodeAt(l+2))<<16;case 2:a^=(255&e.charCodeAt(l+1))<<8;case 1:a=1540483477*(65535&(a^=255&e.charCodeAt(l)))+(59797*(a>>>16)<<16)}return(((a=1540483477*(65535&(a^=a>>>13))+(59797*(a>>>16)<<16))^a>>>15)>>>0).toString(36)},Mt={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Dt=/[A-Z]|^ms/g,Rt=/_EMO_([^_]+?)_([^]*?)_EMO_/g,zt=function(e){return 45===e.charCodeAt(1)},Lt=function(e){return null!=e&&"boolean"!=typeof e},Ot=function(e){var t=Object.create(null);return function(e){return void 0===t[e]&&(t[e]=zt(a=e)?a:a.replace(Dt,"-$&").toLowerCase()),t[e];var a}}(),It=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Rt,(function(e,t,a){return At={name:t,styles:a,next:At},t}))}return 1===Mt[e]||zt(e)||"number"!=typeof t||0===t?t:t+"px"};function Nt(e,t,a){if(null==a)return"";if(void 0!==a.__emotion_styles)return a;switch(typeof a){case"boolean":return"";case"object":if(1===a.anim)return At={name:a.name,styles:a.styles,next:At},a.name;if(void 0!==a.styles){var l=a.next;if(void 0!==l)for(;void 0!==l;)At={name:l.name,styles:l.styles,next:At},l=l.next;return a.styles+";"}return function(e,t,a){var l="";if(Array.isArray(a))for(var r=0;r<a.length;r++)l+=Nt(e,t,a[r])+";";else for(var n in a){var i=a[n];if("object"!=typeof i)null!=t&&void 0!==t[i]?l+=n+"{"+t[i]+"}":Lt(i)&&(l+=Ot(n)+":"+It(n,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var o=Nt(e,t,i);switch(n){case"animation":case"animationName":l+=Ot(n)+":"+o+";";break;default:l+=n+"{"+o+"}"}}else for(var s=0;s<i.length;s++)Lt(i[s])&&(l+=Ot(n)+":"+It(n,i[s])+";")}return l}(e,t,a);case"function":if(void 0!==e){var r=At,n=a(e);return At=r,Nt(e,t,n)}}if(null==t)return a;var i=t[a];return void 0!==i?i:a}var At,Ft=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Pt=function(e,t,a){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var l=!0,r="";At=void 0;var n=e[0];null==n||void 0===n.raw?(l=!1,r+=Nt(a,t,n)):r+=n[0];for(var i=1;i<e.length;i++)r+=Nt(a,t,e[i]),l&&(r+=n[i]);Ft.lastIndex=0;for(var o,s="";null!==(o=Ft.exec(r));)s+="-"+o[1];return{name:Bt(r)+s,styles:r,next:At}},Ht={}.hasOwnProperty,Vt=(0,v.createContext)("undefined"!=typeof HTMLElement?Tt({key:"css"}):null),Ut=(Vt.Provider,function(e){return(0,v.forwardRef)((function(t,a){var l=(0,v.useContext)(Vt);return e(t,l,a)}))}),Gt=(0,v.createContext)({}),jt=v.useInsertionEffect?v.useInsertionEffect:function(e){e()};function qt(e){jt(e)}var Wt="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",$t=function(e,t){var a={};for(var l in t)Ht.call(t,l)&&(a[l]=t[l]);return a[Wt]=e,a},Zt=function(e){var t=e.cache,a=e.serialized,l=e.isStringTag;return xt(t,a,l),qt((function(){return St(t,a,l)})),null},Kt=Ut((function(e,t,a){var l=e.css;"string"==typeof l&&void 0!==t.registered[l]&&(l=t.registered[l]);var r=e[Wt],n=[l],i="";"string"==typeof e.className?i=Et(t.registered,n,e.className):null!=e.className&&(i=e.className+" ");var o=Pt(n,void 0,(0,v.useContext)(Gt));i+=t.key+"-"+o.name;var s={};for(var c in e)Ht.call(e,c)&&"css"!==c&&c!==Wt&&(s[c]=e[c]);return s.ref=a,s.className=i,(0,v.createElement)(v.Fragment,null,(0,v.createElement)(Zt,{cache:t,serialized:o,isStringTag:"string"==typeof r}),(0,v.createElement)(r,s))}));a(679);var Qt=function(e,t){var a=arguments;if(null==t||!Ht.call(t,"css"))return v.createElement.apply(void 0,a);var l=a.length,r=new Array(l);r[0]=Kt,r[1]=$t(e,t);for(var n=2;n<l;n++)r[n]=a[n];return v.createElement.apply(null,r)};function Yt(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return Pt(t)}v.useInsertionEffect?v.useInsertionEffect:v.useLayoutEffect;var Jt=function e(t){for(var a=t.length,l=0,r="";l<a;l++){var n=t[l];if(null!=n){var i=void 0;switch(typeof n){case"boolean":break;case"object":if(Array.isArray(n))i=e(n);else for(var o in i="",n)n[o]&&o&&(i&&(i+=" "),i+=o);break;default:i=n}i&&(r&&(r+=" "),r+=i)}}return r};function Xt(e,t,a){var l=[],r=Et(e,l,a);return l.length<2?a:r+t(l)}var ea=function(e){var t=e.cache,a=e.serializedArr;return qt((function(){for(var e=0;e<a.length;e++)St(t,a[e],!1)})),null},ta=Ut((function(e,t){var a=[],l=function(){for(var e=arguments.length,l=new Array(e),r=0;r<e;r++)l[r]=arguments[r];var n=Pt(l,t.registered);return a.push(n),xt(t,n,!1),t.key+"-"+n.name},r={css:l,cx:function(){for(var e=arguments.length,a=new Array(e),r=0;r<e;r++)a[r]=arguments[r];return Xt(t.registered,l,Jt(a))},theme:(0,v.useContext)(Gt)},n=e.children(r);return(0,v.createElement)(v.Fragment,null,(0,v.createElement)(ea,{cache:t,serializedArr:a}),n)}));function aa(e,t){if(null==e)return{};var a,l,r=function(e,t){if(null==e)return{};var a,l,r={},n=Object.keys(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}function la(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,l=new Array(t);a<t;a++)l[a]=e[a];return l}function ra(e,t){if(e){if("string"==typeof e)return la(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)?la(e,t):void 0}}function na(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 l,r,n=[],_n=!0,i=!1;try{for(a=a.call(e);!(_n=(l=a.next()).done)&&(n.push(l.value),!t||n.length!==t);_n=!0);}catch(e){i=!0,r=e}finally{try{_n||null==a.return||a.return()}finally{if(i)throw r}}return n}}(e,t)||ra(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 ia(e){return ia="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},ia(e)}function oa(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sa(e,t){for(var a=0;a<t.length;a++){var l=t[a];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}function ca(e,t,a){return t&&sa(e.prototype,t),a&&sa(e,a),e}function ua(e,t){return ua=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},ua(e,t)}function ga(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&&ua(e,t)}function da(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function ba(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function pa(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}function ma(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?pa(Object(a),!0).forEach((function(t){ba(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):pa(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function fa(e){return fa=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},fa(e)}function ha(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ka(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,l=fa(e);if(t){var r=fa(this).constructor;a=Reflect.construct(l,arguments,r)}else a=l.apply(this,arguments);return ha(this,a)}}var va=["className","clearValue","cx","getStyles","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],ya=function(){};function wa(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function _a(e,t,a){var l=[a];if(t&&e)for(var r in t)t.hasOwnProperty(r)&&t[r]&&l.push("".concat(wa(e,r)));return l.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var Ca=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===ia(e)&&null!==e?[e]:[];var t},Ta=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,ma({},aa(e,va))};function Ea(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function xa(e){return Ea(e)?window.pageYOffset:e.scrollTop}function Sa(e,t){Ea(e)?window.scrollTo(0,t):e.scrollTop=t}function Ba(e,t,a,l){return a*((e=e/l-1)*e*e+1)+t}function Ma(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ya,r=xa(e),n=t-r,i=10,o=0;function s(){var t=Ba(o+=i,r,n,a);Sa(e,t),o<a?window.requestAnimationFrame(s):l(e)}s()}function Da(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var Ra=!1,za={get passive(){return Ra=!0}},La="undefined"!=typeof window?window:{};La.addEventListener&&La.removeEventListener&&(La.addEventListener("p",ya,za),La.removeEventListener("p",ya,!1));var Oa=Ra;function Ia(e){return null!=e}function Na(e,t,a){return e?t:a}function Aa(e){var t=e.maxHeight,a=e.menuEl,l=e.minHeight,r=e.placement,n=e.shouldScroll,i=e.isFixedPosition,o=e.theme.spacing,s=function(e){var t=getComputedStyle(e),a="absolute"===t.position,l=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var r=e;r=r.parentElement;)if(t=getComputedStyle(r),(!a||"static"!==t.position)&&l.test(t.overflow+t.overflowY+t.overflowX))return r;return document.documentElement}(a),c={placement:"bottom",maxHeight:t};if(!a||!a.offsetParent)return c;var u=s.getBoundingClientRect().height,g=a.getBoundingClientRect(),d=g.bottom,b=g.height,p=g.top,m=a.offsetParent.getBoundingClientRect().top,f=i?window.innerHeight:function(e){return Ea(e)?window.innerHeight:e.clientHeight}(s),h=xa(s),k=parseInt(getComputedStyle(a).marginBottom,10),v=parseInt(getComputedStyle(a).marginTop,10),y=m-v,w=f-p,_=y+h,C=u-h-p,T=d-f+h+k,E=h+p-v,x=160;switch(r){case"auto":case"bottom":if(w>=b)return{placement:"bottom",maxHeight:t};if(C>=b&&!i)return n&&Ma(s,T,x),{placement:"bottom",maxHeight:t};if(!i&&C>=l||i&&w>=l)return n&&Ma(s,T,x),{placement:"bottom",maxHeight:i?w-k:C-k};if("auto"===r||i){var S=t,B=i?y:_;return B>=l&&(S=Math.min(B-k-o.controlHeight,t)),{placement:"top",maxHeight:S}}if("bottom"===r)return n&&Sa(s,T),{placement:"bottom",maxHeight:t};break;case"top":if(y>=b)return{placement:"top",maxHeight:t};if(_>=b&&!i)return n&&Ma(s,E,x),{placement:"top",maxHeight:t};if(!i&&_>=l||i&&y>=l){var M=t;return(!i&&_>=l||i&&y>=l)&&(M=i?y-v:_-v),n&&Ma(s,E,x),{placement:"top",maxHeight:M}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return c}var Fa=function(e){return"auto"===e?"bottom":e},Pa=(0,v.createContext)({getPortalPlacement:null}),Ha=function(e){ga(a,e);var t=ka(a);function a(){var e;oa(this,a);for(var l=arguments.length,r=new Array(l),n=0;n<l;n++)r[n]=arguments[n];return(e=t.call.apply(t,[this].concat(r))).state={maxHeight:e.props.maxMenuHeight,placement:null},e.context=void 0,e.getPlacement=function(t){var a=e.props,l=a.minMenuHeight,r=a.maxMenuHeight,n=a.menuPlacement,i=a.menuPosition,o=a.menuShouldScrollIntoView,s=a.theme;if(t){var c="fixed"===i,u=Aa({maxHeight:r,menuEl:t,minHeight:l,placement:n,shouldScroll:o&&!c,isFixedPosition:c,theme:s}),g=e.context.getPortalPlacement;g&&g(u),e.setState(u)}},e.getUpdatedProps=function(){var t=e.props.menuPlacement,a=e.state.placement||Fa(t);return ma(ma({},e.props),{},{placement:a,maxHeight:e.state.maxHeight})},e}return ca(a,[{key:"render",value:function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),a}(v.Component);Ha.contextType=Pa;var Va=function(e){var t=e.theme,a=t.spacing.baseUnit;return{color:t.colors.neutral40,padding:"".concat(2*a,"px ").concat(3*a,"px"),textAlign:"center"}},Ua=Va,Ga=Va,ja=function(e){var a=e.children,l=e.className,r=e.cx,n=e.getStyles,i=e.innerProps;return Qt("div",t({css:n("noOptionsMessage",e),className:r({"menu-notice":!0,"menu-notice--no-options":!0},l)},i),a)};ja.defaultProps={children:"No options"};var qa=function(e){var a=e.children,l=e.className,r=e.cx,n=e.getStyles,i=e.innerProps;return Qt("div",t({css:n("loadingMessage",e),className:r({"menu-notice":!0,"menu-notice--loading":!0},l)},i),a)};qa.defaultProps={children:"Loading..."};var Wa,$a,Za,Ka=function(e){ga(l,e);var a=ka(l);function l(){var e;oa(this,l);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return(e=a.call.apply(a,[this].concat(r))).state={placement:null},e.getPortalPlacement=function(t){var a=t.placement;a!==Fa(e.props.menuPlacement)&&e.setState({placement:a})},e}return ca(l,[{key:"render",value:function(){var e=this.props,a=e.appendTo,l=e.children,r=e.className,n=e.controlElement,i=e.cx,o=e.innerProps,s=e.menuPlacement,c=e.menuPosition,u=e.getStyles,g="fixed"===c;if(!a&&!g||!n)return null;var d=this.state.placement||Fa(s),b=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(n),p=g?0:window.pageYOffset,m=b[d]+p,f=Qt("div",t({css:u("menuPortal",{offset:m,position:c,rect:b}),className:i({"menu-portal":!0},r)},o),l);return Qt(Pa.Provider,{value:{getPortalPlacement:this.getPortalPlacement}},a?(0,k.createPortal)(f,a):f)}}]),l}(v.Component),Qa=["size"],Ya={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},Ja=function(e){var a=e.size,l=aa(e,Qa);return Qt("svg",t({height:a,width:a,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Ya},l))},Xa=function(e){return Qt(Ja,t({size:20},e),Qt("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},el=function(e){return Qt(Ja,t({size:20},e),Qt("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},tl=function(e){var t=e.isFocused,a=e.theme,l=a.spacing.baseUnit,r=a.colors;return{label:"indicatorContainer",color:t?r.neutral60:r.neutral20,display:"flex",padding:2*l,transition:"color 150ms",":hover":{color:t?r.neutral80:r.neutral40}}},al=tl,ll=tl,rl=function(){var e=Yt.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(Wa||($a=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],Za||(Za=$a.slice(0)),Wa=Object.freeze(Object.defineProperties($a,{raw:{value:Object.freeze(Za)}})))),nl=function(e){var t=e.delay,a=e.offset;return Qt("span",{css:Yt({animation:"".concat(rl," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:a?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},il=function(e){var a=e.className,l=e.cx,r=e.getStyles,n=e.innerProps,i=e.isRtl;return Qt("div",t({css:r("loadingIndicator",e),className:l({indicator:!0,"loading-indicator":!0},a)},n),Qt(nl,{delay:0,offset:i}),Qt(nl,{delay:160,offset:!0}),Qt(nl,{delay:320,offset:!i}))};il.defaultProps={size:4};var ol=["data"],sl=["innerRef","isDisabled","isHidden","inputClassName"],cl={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},ul={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":ma({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},cl)},gl=function(e){return ma({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},cl)},dl=function(e){var t=e.children,a=e.innerProps;return Qt("div",a,t)},bl={ClearIndicator:function(e){var a=e.children,l=e.className,r=e.cx,n=e.getStyles,i=e.innerProps;return Qt("div",t({css:n("clearIndicator",e),className:r({indicator:!0,"clear-indicator":!0},l)},i),a||Qt(Xa,null))},Control:function(e){var a=e.children,l=e.cx,r=e.getStyles,n=e.className,i=e.isDisabled,o=e.isFocused,s=e.innerRef,c=e.innerProps,u=e.menuIsOpen;return Qt("div",t({ref:s,css:r("control",e),className:l({control:!0,"control--is-disabled":i,"control--is-focused":o,"control--menu-is-open":u},n)},c),a)},DropdownIndicator:function(e){var a=e.children,l=e.className,r=e.cx,n=e.getStyles,i=e.innerProps;return Qt("div",t({css:n("dropdownIndicator",e),className:r({indicator:!0,"dropdown-indicator":!0},l)},i),a||Qt(el,null))},DownChevron:el,CrossIcon:Xa,Group:function(e){var a=e.children,l=e.className,r=e.cx,n=e.getStyles,i=e.Heading,o=e.headingProps,s=e.innerProps,c=e.label,u=e.theme,g=e.selectProps;return Qt("div",t({css:n("group",e),className:r({group:!0},l)},s),Qt(i,t({},o,{selectProps:g,theme:u,getStyles:n,cx:r}),c),Qt("div",null,a))},GroupHeading:function(e){var a=e.getStyles,l=e.cx,r=e.className,n=Ta(e);n.data;var i=aa(n,ol);return Qt("div",t({css:a("groupHeading",e),className:l({"group-heading":!0},r)},i))},IndicatorsContainer:function(e){var a=e.children,l=e.className,r=e.cx,n=e.innerProps,i=e.getStyles;return Qt("div",t({css:i("indicatorsContainer",e),className:r({indicators:!0},l)},n),a)},IndicatorSeparator:function(e){var a=e.className,l=e.cx,r=e.getStyles,n=e.innerProps;return Qt("span",t({},n,{css:r("indicatorSeparator",e),className:l({"indicator-separator":!0},a)}))},Input:function(e){var a=e.className,l=e.cx,r=e.getStyles,n=e.value,i=Ta(e),o=i.innerRef,s=i.isDisabled,c=i.isHidden,u=i.inputClassName,g=aa(i,sl);return Qt("div",{className:l({"input-container":!0},a),css:r("input",e),"data-value":n||""},Qt("input",t({className:l({input:!0},u),ref:o,style:gl(c),disabled:s},g)))},LoadingIndicator:il,Menu:function(e){var a=e.children,l=e.className,r=e.cx,n=e.getStyles,i=e.innerRef,o=e.innerProps;return Qt("div",t({css:n("menu",e),className:r({menu:!0},l),ref:i},o),a)},MenuList:function(e){var a=e.children,l=e.className,r=e.cx,n=e.getStyles,i=e.innerProps,o=e.innerRef,s=e.isMulti;return Qt("div",t({css:n("menuList",e),className:r({"menu-list":!0,"menu-list--is-multi":s},l),ref:o},i),a)},MenuPortal:Ka,LoadingMessage:qa,NoOptionsMessage:ja,MultiValue:function(e){var t=e.children,a=e.className,l=e.components,r=e.cx,n=e.data,i=e.getStyles,o=e.innerProps,s=e.isDisabled,c=e.removeProps,u=e.selectProps,g=l.Container,d=l.Label,b=l.Remove;return Qt(ta,null,(function(l){var p=l.css,m=l.cx;return Qt(g,{data:n,innerProps:ma({className:m(p(i("multiValue",e)),r({"multi-value":!0,"multi-value--is-disabled":s},a))},o),selectProps:u},Qt(d,{data:n,innerProps:{className:m(p(i("multiValueLabel",e)),r({"multi-value__label":!0},a))},selectProps:u},t),Qt(b,{data:n,innerProps:ma({className:m(p(i("multiValueRemove",e)),r({"multi-value__remove":!0},a)),"aria-label":"Remove ".concat(t||"option")},c),selectProps:u}))}))},MultiValueContainer:dl,MultiValueLabel:dl,MultiValueRemove:function(e){var a=e.children,l=e.innerProps;return Qt("div",t({role:"button"},l),a||Qt(Xa,{size:14}))},Option:function(e){var a=e.children,l=e.className,r=e.cx,n=e.getStyles,i=e.isDisabled,o=e.isFocused,s=e.isSelected,c=e.innerRef,u=e.innerProps;return Qt("div",t({css:n("option",e),className:r({option:!0,"option--is-disabled":i,"option--is-focused":o,"option--is-selected":s},l),ref:c,"aria-disabled":i},u),a)},Placeholder:function(e){var a=e.children,l=e.className,r=e.cx,n=e.getStyles,i=e.innerProps;return Qt("div",t({css:n("placeholder",e),className:r({placeholder:!0},l)},i),a)},SelectContainer:function(e){var a=e.children,l=e.className,r=e.cx,n=e.getStyles,i=e.innerProps,o=e.isDisabled,s=e.isRtl;return Qt("div",t({css:n("container",e),className:r({"--is-disabled":o,"--is-rtl":s},l)},i),a)},SingleValue:function(e){var a=e.children,l=e.className,r=e.cx,n=e.getStyles,i=e.isDisabled,o=e.innerProps;return Qt("div",t({css:n("singleValue",e),className:r({"single-value":!0,"single-value--is-disabled":i},l)},o),a)},ValueContainer:function(e){var a=e.children,l=e.className,r=e.cx,n=e.innerProps,i=e.isMulti,o=e.getStyles,s=e.hasValue;return Qt("div",t({css:o("valueContainer",e),className:r({"value-container":!0,"value-container--is-multi":i,"value-container--has-value":s},l)},n),a)}},pl=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function ml(e){var t=e.defaultInputValue,a=void 0===t?"":t,l=e.defaultMenuIsOpen,r=void 0!==l&&l,n=e.defaultValue,i=void 0===n?null:n,o=e.inputValue,s=e.menuIsOpen,c=e.onChange,u=e.onInputChange,g=e.onMenuClose,d=e.onMenuOpen,b=e.value,p=aa(e,pl),m=na((0,v.useState)(void 0!==o?o:a),2),f=m[0],h=m[1],k=na((0,v.useState)(void 0!==s?s:r),2),y=k[0],w=k[1],_=na((0,v.useState)(void 0!==b?b:i),2),C=_[0],T=_[1],E=(0,v.useCallback)((function(e,t){"function"==typeof c&&c(e,t),T(e)}),[c]),x=(0,v.useCallback)((function(e,t){var a;"function"==typeof u&&(a=u(e,t)),h(void 0!==a?a:e)}),[u]),S=(0,v.useCallback)((function(){"function"==typeof d&&d(),w(!0)}),[d]),B=(0,v.useCallback)((function(){"function"==typeof g&&g(),w(!1)}),[g]),M=void 0!==o?o:f,D=void 0!==s?s:y,R=void 0!==b?b:C;return ma(ma({},p),{},{inputValue:M,menuIsOpen:D,onChange:E,onInputChange:x,onMenuClose:B,onMenuOpen:S,value:R})}function fl(e){return function(e){if(Array.isArray(e))return la(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ra(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var hl=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function kl(e,t){if(e.length!==t.length)return!1;for(var a=0;a<e.length;a++)if(!((l=e[a])===(r=t[a])||hl(l)&&hl(r)))return!1;var l,r;return!0}for(var vl={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},yl=function(e){return Qt("span",t({css:vl},e))},wl={guidance:function(e){var t=e.isSearchable,a=e.isMulti,l=e.isDisabled,r=e.tabSelectsValue;switch(e.context){case"menu":return"Use Up and Down to choose options".concat(l?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(a?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,a=e.label,l=void 0===a?"":a,r=e.labels,n=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(l,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(r.length>1?"s":""," ").concat(r.join(","),", selected.");case"select-option":return"option ".concat(l,n?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,a=e.focused,l=e.options,r=e.label,n=void 0===r?"":r,i=e.selectValue,o=e.isDisabled,s=e.isSelected,c=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&i)return"value ".concat(n," focused, ").concat(c(i,a),".");if("menu"===t){var u=o?" disabled":"",g="".concat(s?"selected":"focused").concat(u);return"option ".concat(n," ").concat(g,", ").concat(c(l,a),".")}return""},onFilter:function(e){var t=e.inputValue,a=e.resultsMessage;return"".concat(a).concat(t?" for search term "+t:"",".")}},_l=function(e){var t=e.ariaSelection,a=e.focusedOption,l=e.focusedValue,r=e.focusableOptions,n=e.isFocused,i=e.selectValue,o=e.selectProps,s=e.id,c=o.ariaLiveMessages,u=o.getOptionLabel,g=o.inputValue,d=o.isMulti,b=o.isOptionDisabled,p=o.isSearchable,m=o.menuIsOpen,f=o.options,h=o.screenReaderStatus,k=o.tabSelectsValue,y=o["aria-label"],w=o["aria-live"],_=(0,v.useMemo)((function(){return ma(ma({},wl),c||{})}),[c]),C=(0,v.useMemo)((function(){var e,a="";if(t&&_.onChange){var l=t.option,r=t.options,n=t.removedValue,o=t.removedValues,s=t.value,c=n||l||(e=s,Array.isArray(e)?null:e),g=c?u(c):"",d=r||o||void 0,p=d?d.map(u):[],m=ma({isDisabled:c&&b(c,i),label:g,labels:p},t);a=_.onChange(m)}return a}),[t,_,b,i,u]),T=(0,v.useMemo)((function(){var e="",t=a||l,r=!!(a&&i&&i.includes(a));if(t&&_.onFocus){var n={focused:t,label:u(t),isDisabled:b(t,i),isSelected:r,options:f,context:t===a?"menu":"value",selectValue:i};e=_.onFocus(n)}return e}),[a,l,u,b,_,f,i]),E=(0,v.useMemo)((function(){var e="";if(m&&f.length&&_.onFilter){var t=h({count:r.length});e=_.onFilter({inputValue:g,resultsMessage:t})}return e}),[r,g,m,_,f,h]),x=(0,v.useMemo)((function(){var e="";if(_.guidance){var t=l?"value":m?"menu":"input";e=_.guidance({"aria-label":y,context:t,isDisabled:a&&b(a,i),isMulti:d,isSearchable:p,tabSelectsValue:k})}return e}),[y,a,l,d,b,p,m,_,i,k]),S="".concat(T," ").concat(E," ").concat(x),B=Qt(v.Fragment,null,Qt("span",{id:"aria-selection"},C),Qt("span",{id:"aria-context"},S)),M="initial-input-focus"===(null==t?void 0:t.action);return Qt(v.Fragment,null,Qt(yl,{id:s},M&&B),Qt(yl,{"aria-live":w,"aria-atomic":"false","aria-relevant":"additions text"},n&&!M&&B))},Cl=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],Tl=new RegExp("["+Cl.map((function(e){return e.letters})).join("")+"]","g"),El={},xl=0;xl<Cl.length;xl++)for(var Sl=Cl[xl],Bl=0;Bl<Sl.letters.length;Bl++)El[Sl.letters[Bl]]=Sl.base;var Ml=function(e){return e.replace(Tl,(function(e){return El[e]}))},Dl=function(e,t){var a;void 0===t&&(t=kl);var l,r=[],n=!1;return function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];return n&&a===this&&t(i,r)||(l=e.apply(this,i),n=!0,a=this,r=i),l}}(Ml),Rl=function(e){return e.replace(/^\s+|\s+$/g,"")},zl=function(e){return"".concat(e.label," ").concat(e.value)},Ll=["innerRef"];function Ol(e){var a=e.innerRef,l=function(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),l=1;l<t;l++)a[l-1]=arguments[l];var r=Object.entries(e).filter((function(e){var t=na(e,1)[0];return!a.includes(t)}));return r.reduce((function(e,t){var a=na(t,2),l=a[0],r=a[1];return e[l]=r,e}),{})}(aa(e,Ll),"onExited","in","enter","exit","appear");return Qt("input",t({ref:a},l,{css:Yt({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var Il=["boxSizing","height","overflow","paddingRight","position"],Nl={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Al(e){e.preventDefault()}function Fl(e){e.stopPropagation()}function Pl(){var e=this.scrollTop,t=this.scrollHeight,a=e+this.offsetHeight;0===e?this.scrollTop=1:a===t&&(this.scrollTop=e-1)}function Hl(){return"ontouchstart"in window||navigator.maxTouchPoints}var Vl=!("undefined"==typeof window||!window.document||!window.document.createElement),Ul=0,Gl={capture:!1,passive:!1},jl=function(){return document.activeElement&&document.activeElement.blur()},ql={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function Wl(e){var t=e.children,a=e.lockEnabled,l=e.captureEnabled,r=function(e){var t=e.isEnabled,a=e.onBottomArrive,l=e.onBottomLeave,r=e.onTopArrive,n=e.onTopLeave,i=(0,v.useRef)(!1),o=(0,v.useRef)(!1),s=(0,v.useRef)(0),c=(0,v.useRef)(null),u=(0,v.useCallback)((function(e,t){if(null!==c.current){var s=c.current,u=s.scrollTop,g=s.scrollHeight,d=s.clientHeight,b=c.current,p=t>0,m=g-d-u,f=!1;m>t&&i.current&&(l&&l(e),i.current=!1),p&&o.current&&(n&&n(e),o.current=!1),p&&t>m?(a&&!i.current&&a(e),b.scrollTop=g,f=!0,i.current=!0):!p&&-t>u&&(r&&!o.current&&r(e),b.scrollTop=0,f=!0,o.current=!0),f&&function(e){e.preventDefault(),e.stopPropagation()}(e)}}),[a,l,r,n]),g=(0,v.useCallback)((function(e){u(e,e.deltaY)}),[u]),d=(0,v.useCallback)((function(e){s.current=e.changedTouches[0].clientY}),[]),b=(0,v.useCallback)((function(e){var t=s.current-e.changedTouches[0].clientY;u(e,t)}),[u]),p=(0,v.useCallback)((function(e){if(e){var t=!!Oa&&{passive:!1};e.addEventListener("wheel",g,t),e.addEventListener("touchstart",d,t),e.addEventListener("touchmove",b,t)}}),[b,d,g]),m=(0,v.useCallback)((function(e){e&&(e.removeEventListener("wheel",g,!1),e.removeEventListener("touchstart",d,!1),e.removeEventListener("touchmove",b,!1))}),[b,d,g]);return(0,v.useEffect)((function(){if(t){var e=c.current;return p(e),function(){m(e)}}}),[t,p,m]),function(e){c.current=e}}({isEnabled:void 0===l||l,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),n=function(e){var t=e.isEnabled,a=e.accountForScrollbars,l=void 0===a||a,r=(0,v.useRef)({}),n=(0,v.useRef)(null),i=(0,v.useCallback)((function(e){if(Vl){var t=document.body,a=t&&t.style;if(l&&Il.forEach((function(e){var t=a&&a[e];r.current[e]=t})),l&&Ul<1){var n=parseInt(r.current.paddingRight,10)||0,i=document.body?document.body.clientWidth:0,o=window.innerWidth-i+n||0;Object.keys(Nl).forEach((function(e){var t=Nl[e];a&&(a[e]=t)})),a&&(a.paddingRight="".concat(o,"px"))}t&&Hl()&&(t.addEventListener("touchmove",Al,Gl),e&&(e.addEventListener("touchstart",Pl,Gl),e.addEventListener("touchmove",Fl,Gl))),Ul+=1}}),[l]),o=(0,v.useCallback)((function(e){if(Vl){var t=document.body,a=t&&t.style;Ul=Math.max(Ul-1,0),l&&Ul<1&&Il.forEach((function(e){var t=r.current[e];a&&(a[e]=t)})),t&&Hl()&&(t.removeEventListener("touchmove",Al,Gl),e&&(e.removeEventListener("touchstart",Pl,Gl),e.removeEventListener("touchmove",Fl,Gl)))}}),[l]);return(0,v.useEffect)((function(){if(t){var e=n.current;return i(e),function(){o(e)}}}),[t,i,o]),function(e){n.current=e}}({isEnabled:a});return Qt(v.Fragment,null,a&&Qt("div",{onClick:jl,css:ql}),t((function(e){r(e),n(e)})))}var $l=function(e){return e.label},Zl=function(e){return e.value},Kl={clearIndicator:ll,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e){var t=e.isDisabled,a=e.isFocused,l=e.theme,r=l.colors,n=l.borderRadius,i=l.spacing;return{label:"control",alignItems:"center",backgroundColor:t?r.neutral5:r.neutral0,borderColor:t?r.neutral10:a?r.primary:r.neutral20,borderRadius:n,borderStyle:"solid",borderWidth:1,boxShadow:a?"0 0 0 1px ".concat(r.primary):void 0,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:i.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:a?r.primary:r.neutral30}}},dropdownIndicator:al,group:function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},groupHeading:function(e){var t=e.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*t.baseUnit,paddingRight:3*t.baseUnit,textTransform:"uppercase"}},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e){var t=e.isDisabled,a=e.theme,l=a.spacing.baseUnit,r=a.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:t?r.neutral10:r.neutral20,marginBottom:2*l,marginTop:2*l,width:1}},input:function(e){var t=e.isDisabled,a=e.value,l=e.theme,r=l.spacing,n=l.colors;return ma({margin:r.baseUnit/2,paddingBottom:r.baseUnit/2,paddingTop:r.baseUnit/2,visibility:t?"hidden":"visible",color:n.neutral80,transform:a?"translateZ(0)":""},ul)},loadingIndicator:function(e){var t=e.isFocused,a=e.size,l=e.theme,r=l.colors,n=l.spacing.baseUnit;return{label:"loadingIndicator",color:t?r.neutral60:r.neutral20,display:"flex",padding:2*n,transition:"color 150ms",alignSelf:"center",fontSize:a,lineHeight:1,marginRight:a,textAlign:"center",verticalAlign:"middle"}},loadingMessage:Ga,menu:function(e){var t,a=e.placement,l=e.theme,r=l.borderRadius,n=l.spacing,i=l.colors;return da(t={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(a),"100%"),da(t,"backgroundColor",i.neutral0),da(t,"borderRadius",r),da(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),da(t,"marginBottom",n.menuGutter),da(t,"marginTop",n.menuGutter),da(t,"position","absolute"),da(t,"width","100%"),da(t,"zIndex",1),t},menuList:function(e){var t=e.maxHeight,a=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:a,paddingTop:a,position:"relative",WebkitOverflowScrolling:"touch"}},menuPortal:function(e){var t=e.rect,a=e.offset,l=e.position;return{left:t.left,position:l,top:a,width:t.width,zIndex:1}},multiValue:function(e){var t=e.theme,a=t.spacing,l=t.borderRadius;return{label:"multiValue",backgroundColor:t.colors.neutral10,borderRadius:l/2,display:"flex",margin:a.baseUnit/2,minWidth:0}},multiValueLabel:function(e){var t=e.theme,a=t.borderRadius,l=t.colors,r=e.cropWithEllipsis;return{borderRadius:a/2,color:l.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:r||void 0===r?"ellipsis":void 0,whiteSpace:"nowrap"}},multiValueRemove:function(e){var t=e.theme,a=t.spacing,l=t.borderRadius,r=t.colors;return{alignItems:"center",borderRadius:l/2,backgroundColor:e.isFocused?r.dangerLight:void 0,display:"flex",paddingLeft:a.baseUnit,paddingRight:a.baseUnit,":hover":{backgroundColor:r.dangerLight,color:r.danger}}},noOptionsMessage:Ua,option:function(e){var t=e.isDisabled,a=e.isFocused,l=e.isSelected,r=e.theme,n=r.spacing,i=r.colors;return{label:"option",backgroundColor:l?i.primary:a?i.primary25:"transparent",color:t?i.neutral20:l?i.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(2*n.baseUnit,"px ").concat(3*n.baseUnit,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:t?void 0:l?i.primary:i.primary50}}},placeholder:function(e){var t=e.theme,a=t.spacing;return{label:"placeholder",color:t.colors.neutral50,gridArea:"1 / 1 / 2 / 3",marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2}},singleValue:function(e){var t=e.isDisabled,a=e.theme,l=a.spacing,r=a.colors;return{label:"singleValue",color:t?r.neutral40:r.neutral80,gridArea:"1 / 1 / 2 / 3",marginLeft:l.baseUnit/2,marginRight:l.baseUnit/2,maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},valueContainer:function(e){var t=e.theme.spacing,a=e.isMulti,l=e.hasValue,r=e.selectProps.controlShouldRenderValue;return{alignItems:"center",display:a&&l&&r?"flex":"grid",flex:1,flexWrap:"wrap",padding:"".concat(t.baseUnit/2,"px ").concat(2*t.baseUnit,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}}},Ql={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},Yl={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Da(),captureMenuScroll:!Da(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var a=ma({ignoreCase:!0,ignoreAccents:!0,stringify:zl,trim:!0,matchFrom:"any"},undefined),l=a.ignoreCase,r=a.ignoreAccents,n=a.stringify,i=a.trim,o=a.matchFrom,s=i?Rl(t):t,c=i?Rl(n(e)):n(e);return l&&(s=s.toLowerCase(),c=c.toLowerCase()),r&&(s=Dl(s),c=Ml(c)),"start"===o?c.substr(0,s.length)===s:c.indexOf(s)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:$l,getOptionValue:Zl,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0};function Jl(e,t,a,l){return{type:"option",data:t,isDisabled:rr(e,t,a),isSelected:nr(e,t,a),label:ar(e,t),value:lr(e,t),index:l}}function Xl(e,t){return e.options.map((function(a,l){if("options"in a){var r=a.options.map((function(a,l){return Jl(e,a,t,l)})).filter((function(t){return tr(e,t)}));return r.length>0?{type:"group",data:a,options:r,index:l}:void 0}var n=Jl(e,a,t,l);return tr(e,n)?n:void 0})).filter(Ia)}function er(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,fl(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function tr(e,t){var a=e.inputValue,l=void 0===a?"":a,r=t.data,n=t.isSelected,i=t.label,o=t.value;return(!or(e)||!n)&&ir(e,{label:i,value:o,data:r},l)}var ar=function(e,t){return e.getOptionLabel(t)},lr=function(e,t){return e.getOptionValue(t)};function rr(e,t,a){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,a)}function nr(e,t,a){if(a.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,a);var l=lr(e,t);return a.some((function(t){return lr(e,t)===l}))}function ir(e,t,a){return!e.filterOption||e.filterOption(t,a)}var or=function(e){var t=e.hideSelectedOptions,a=e.isMulti;return void 0===t?a:t},sr=1,cr=function(e){ga(l,e);var a=ka(l);function l(e){var t;return oa(this,l),(t=a.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0},t.blockOptionHover=!1,t.isComposing=!1,t.commonProps=void 0,t.initialTouchX=0,t.initialTouchY=0,t.instancePrefix="",t.openAfterFocus=!1,t.scrollToFocusedOptionOnUpdate=!1,t.userIsDragging=void 0,t.controlRef=null,t.getControlRef=function(e){t.controlRef=e},t.focusedOptionRef=null,t.getFocusedOptionRef=function(e){t.focusedOptionRef=e},t.menuListRef=null,t.getMenuListRef=function(e){t.menuListRef=e},t.inputRef=null,t.getInputRef=function(e){t.inputRef=e},t.focus=t.focusInput,t.blur=t.blurInput,t.onChange=function(e,a){var l=t.props,r=l.onChange,n=l.name;a.name=n,t.ariaOnChange(e,a),r(e,a)},t.setValue=function(e,a,l){var r=t.props,n=r.closeMenuOnSelect,i=r.isMulti,o=r.inputValue;t.onInputChange("",{action:"set-value",prevInputValue:o}),n&&(t.setState({inputIsHiddenAfterUpdate:!i}),t.onMenuClose()),t.setState({clearFocusValueOnUpdate:!0}),t.onChange(e,{action:a,option:l})},t.selectOption=function(e){var a=t.props,l=a.blurInputOnSelect,r=a.isMulti,n=a.name,i=t.state.selectValue,o=r&&t.isOptionSelected(e,i),s=t.isOptionDisabled(e,i);if(o){var c=t.getOptionValue(e);t.setValue(i.filter((function(e){return t.getOptionValue(e)!==c})),"deselect-option",e)}else{if(s)return void t.ariaOnChange(e,{action:"select-option",option:e,name:n});r?t.setValue([].concat(fl(i),[e]),"select-option",e):t.setValue(e,"select-option")}l&&t.blurInput()},t.removeValue=function(e){var a=t.props.isMulti,l=t.state.selectValue,r=t.getOptionValue(e),n=l.filter((function(e){return t.getOptionValue(e)!==r})),i=Na(a,n,n[0]||null);t.onChange(i,{action:"remove-value",removedValue:e}),t.focusInput()},t.clearValue=function(){var e=t.state.selectValue;t.onChange(Na(t.props.isMulti,[],null),{action:"clear",removedValues:e})},t.popValue=function(){var e=t.props.isMulti,a=t.state.selectValue,l=a[a.length-1],r=a.slice(0,a.length-1),n=Na(e,r,r[0]||null);t.onChange(n,{action:"pop-value",removedValue:l})},t.getValue=function(){return t.state.selectValue},t.cx=function(){for(var e=arguments.length,a=new Array(e),l=0;l<e;l++)a[l]=arguments[l];return _a.apply(void 0,[t.props.classNamePrefix].concat(a))},t.getOptionLabel=function(e){return ar(t.props,e)},t.getOptionValue=function(e){return lr(t.props,e)},t.getStyles=function(e,a){var l=Kl[e](a);l.boxSizing="border-box";var r=t.props.styles[e];return r?r(l,a):l},t.getElementId=function(e){return"".concat(t.instancePrefix,"-").concat(e)},t.getComponents=function(){return e=t.props,ma(ma({},bl),e.components);var e},t.buildCategorizedOptions=function(){return Xl(t.props,t.state.selectValue)},t.getCategorizedOptions=function(){return t.props.menuIsOpen?t.buildCategorizedOptions():[]},t.buildFocusableOptions=function(){return er(t.buildCategorizedOptions())},t.getFocusableOptions=function(){return t.props.menuIsOpen?t.buildFocusableOptions():[]},t.ariaOnChange=function(e,a){t.setState({ariaSelection:ma({value:e},a)})},t.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),t.focusInput())},t.onMenuMouseMove=function(e){t.blockOptionHover=!1},t.onControlMouseDown=function(e){if(!e.defaultPrevented){var a=t.props.openMenuOnClick;t.state.isFocused?t.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&t.onMenuClose():a&&t.openMenu("first"):(a&&(t.openAfterFocus=!0),t.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},t.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||t.props.isDisabled)){var a=t.props,l=a.isMulti,r=a.menuIsOpen;t.focusInput(),r?(t.setState({inputIsHiddenAfterUpdate:!l}),t.onMenuClose()):t.openMenu("first"),e.preventDefault()}},t.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(t.clearValue(),e.preventDefault(),t.openAfterFocus=!1,"touchend"===e.type?t.focusInput():setTimeout((function(){return t.focusInput()})))},t.onScroll=function(e){"boolean"==typeof t.props.closeMenuOnScroll?e.target instanceof HTMLElement&&Ea(e.target)&&t.props.onMenuClose():"function"==typeof t.props.closeMenuOnScroll&&t.props.closeMenuOnScroll(e)&&t.props.onMenuClose()},t.onCompositionStart=function(){t.isComposing=!0},t.onCompositionEnd=function(){t.isComposing=!1},t.onTouchStart=function(e){var a=e.touches,l=a&&a.item(0);l&&(t.initialTouchX=l.clientX,t.initialTouchY=l.clientY,t.userIsDragging=!1)},t.onTouchMove=function(e){var a=e.touches,l=a&&a.item(0);if(l){var r=Math.abs(l.clientX-t.initialTouchX),n=Math.abs(l.clientY-t.initialTouchY);t.userIsDragging=r>5||n>5}},t.onTouchEnd=function(e){t.userIsDragging||(t.controlRef&&!t.controlRef.contains(e.target)&&t.menuListRef&&!t.menuListRef.contains(e.target)&&t.blurInput(),t.initialTouchX=0,t.initialTouchY=0)},t.onControlTouchEnd=function(e){t.userIsDragging||t.onControlMouseDown(e)},t.onClearIndicatorTouchEnd=function(e){t.userIsDragging||t.onClearIndicatorMouseDown(e)},t.onDropdownIndicatorTouchEnd=function(e){t.userIsDragging||t.onDropdownIndicatorMouseDown(e)},t.handleInputChange=function(e){var a=t.props.inputValue,l=e.currentTarget.value;t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange(l,{action:"input-change",prevInputValue:a}),t.props.menuIsOpen||t.onMenuOpen()},t.onInputFocus=function(e){t.props.onFocus&&t.props.onFocus(e),t.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(t.openAfterFocus||t.props.openMenuOnFocus)&&t.openMenu("first"),t.openAfterFocus=!1},t.onInputBlur=function(e){var a=t.props.inputValue;t.menuListRef&&t.menuListRef.contains(document.activeElement)?t.inputRef.focus():(t.props.onBlur&&t.props.onBlur(e),t.onInputChange("",{action:"input-blur",prevInputValue:a}),t.onMenuClose(),t.setState({focusedValue:null,isFocused:!1}))},t.onOptionHover=function(e){t.blockOptionHover||t.state.focusedOption===e||t.setState({focusedOption:e})},t.shouldHideSelectedOptions=function(){return or(t.props)},t.onKeyDown=function(e){var a=t.props,l=a.isMulti,r=a.backspaceRemovesValue,n=a.escapeClearsValue,i=a.inputValue,o=a.isClearable,s=a.isDisabled,c=a.menuIsOpen,u=a.onKeyDown,g=a.tabSelectsValue,d=a.openMenuOnFocus,b=t.state,p=b.focusedOption,m=b.focusedValue,f=b.selectValue;if(!(s||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(t.blockOptionHover=!0,e.key){case"ArrowLeft":if(!l||i)return;t.focusValue("previous");break;case"ArrowRight":if(!l||i)return;t.focusValue("next");break;case"Delete":case"Backspace":if(i)return;if(m)t.removeValue(m);else{if(!r)return;l?t.popValue():o&&t.clearValue()}break;case"Tab":if(t.isComposing)return;if(e.shiftKey||!c||!g||!p||d&&t.isOptionSelected(p,f))return;t.selectOption(p);break;case"Enter":if(229===e.keyCode)break;if(c){if(!p)return;if(t.isComposing)return;t.selectOption(p);break}return;case"Escape":c?(t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange("",{action:"menu-close",prevInputValue:i}),t.onMenuClose()):o&&n&&t.clearValue();break;case" ":if(i)return;if(!c){t.openMenu("first");break}if(!p)return;t.selectOption(p);break;case"ArrowUp":c?t.focusOption("up"):t.openMenu("last");break;case"ArrowDown":c?t.focusOption("down"):t.openMenu("first");break;case"PageUp":if(!c)return;t.focusOption("pageup");break;case"PageDown":if(!c)return;t.focusOption("pagedown");break;case"Home":if(!c)return;t.focusOption("first");break;case"End":if(!c)return;t.focusOption("last");break;default:return}e.preventDefault()}},t.instancePrefix="react-select-"+(t.props.instanceId||++sr),t.state.selectValue=Ca(e.value),t}return ca(l,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"componentDidUpdate",value:function(e){var t,a,l,r,n,i=this.props,o=i.isDisabled,s=i.menuIsOpen,c=this.state.isFocused;(c&&!o&&e.isDisabled||c&&s&&!e.menuIsOpen)&&this.focusInput(),c&&o&&!e.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(t=this.menuListRef,a=this.focusedOptionRef,l=t.getBoundingClientRect(),r=a.getBoundingClientRect(),n=a.offsetHeight/3,r.bottom+n>l.bottom?Sa(t,Math.min(a.offsetTop+a.clientHeight-t.offsetHeight+n,t.scrollHeight)):r.top-n<l.top&&Sa(t,Math.max(a.offsetTop-n,0)),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,a=this.state,l=a.selectValue,r=a.isFocused,n=this.buildFocusableOptions(),i="first"===e?0:n.length-1;if(!this.props.isMulti){var o=n.indexOf(l[0]);o>-1&&(i=o)}this.scrollToFocusedOptionOnUpdate=!(r&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:n[i]},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,a=t.selectValue,l=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var r=a.indexOf(l);l||(r=-1);var n=a.length-1,i=-1;if(a.length){switch(e){case"previous":i=0===r?0:-1===r?n:r-1;break;case"next":r>-1&&r<n&&(i=r+1)}this.setState({inputIsHidden:-1!==i,focusedValue:a[i]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,a=this.state.focusedOption,l=this.getFocusableOptions();if(l.length){var r=0,n=l.indexOf(a);a||(n=-1),"up"===e?r=n>0?n-1:l.length-1:"down"===e?r=(n+1)%l.length:"pageup"===e?(r=n-t)<0&&(r=0):"pagedown"===e?(r=n+t)>l.length-1&&(r=l.length-1):"last"===e&&(r=l.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:l[r],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Ql):ma(ma({},Ql),this.props.theme):Ql}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,a=this.getStyles,l=this.getValue,r=this.selectOption,n=this.setValue,i=this.props,o=i.isMulti,s=i.isRtl,c=i.options;return{clearValue:e,cx:t,getStyles:a,getValue:l,hasValue:this.hasValue(),isMulti:o,isRtl:s,options:c,selectOption:r,selectProps:i,setValue:n,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,a=e.isMulti;return void 0===t?a:t}},{key:"isOptionDisabled",value:function(e,t){return rr(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return nr(this.props,e,t)}},{key:"filterOption",value:function(e,t){return ir(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var a=this.props.inputValue,l=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:a,selectValue:l})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,a=e.isDisabled,l=e.isSearchable,r=e.inputId,n=e.inputValue,i=e.tabIndex,o=e.form,s=e.menuIsOpen,c=this.getComponents().Input,u=this.state,g=u.inputIsHidden,d=u.ariaSelection,b=this.commonProps,p=r||this.getElementId("input"),m=ma(ma(ma({"aria-autocomplete":"list","aria-expanded":s,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],role:"combobox"},s&&{"aria-controls":this.getElementId("listbox"),"aria-owns":this.getElementId("listbox")}),!l&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==d?void 0:d.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return l?v.createElement(c,t({},b,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:p,innerRef:this.getInputRef,isDisabled:a,isHidden:g,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:i,form:o,type:"text",value:n},m)):v.createElement(Ol,t({id:p,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:ya,onFocus:this.onInputFocus,disabled:a,tabIndex:i,inputMode:"none",form:o,value:""},m))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,a=this.getComponents(),l=a.MultiValue,r=a.MultiValueContainer,n=a.MultiValueLabel,i=a.MultiValueRemove,o=a.SingleValue,s=a.Placeholder,c=this.commonProps,u=this.props,g=u.controlShouldRenderValue,d=u.isDisabled,b=u.isMulti,p=u.inputValue,m=u.placeholder,f=this.state,h=f.selectValue,k=f.focusedValue,y=f.isFocused;if(!this.hasValue()||!g)return p?null:v.createElement(s,t({},c,{key:"placeholder",isDisabled:d,isFocused:y,innerProps:{id:this.getElementId("placeholder")}}),m);if(b)return h.map((function(a,o){var s=a===k,u="".concat(e.getOptionLabel(a),"-").concat(e.getOptionValue(a));return v.createElement(l,t({},c,{components:{Container:r,Label:n,Remove:i},isFocused:s,isDisabled:d,key:u,index:o,removeProps:{onClick:function(){return e.removeValue(a)},onTouchEnd:function(){return e.removeValue(a)},onMouseDown:function(e){e.preventDefault()}},data:a}),e.formatOptionLabel(a,"value"))}));if(p)return null;var w=h[0];return v.createElement(o,t({},c,{data:w,isDisabled:d}),this.formatOptionLabel(w,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,a=this.commonProps,l=this.props,r=l.isDisabled,n=l.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||n)return null;var o={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return v.createElement(e,t({},a,{innerProps:o,isFocused:i}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,a=this.commonProps,l=this.props,r=l.isDisabled,n=l.isLoading,i=this.state.isFocused;return e&&n?v.createElement(e,t({},a,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:i})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),a=e.DropdownIndicator,l=e.IndicatorSeparator;if(!a||!l)return null;var r=this.commonProps,n=this.props.isDisabled,i=this.state.isFocused;return v.createElement(l,t({},r,{isDisabled:n,isFocused:i}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var a=this.commonProps,l=this.props.isDisabled,r=this.state.isFocused,n={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return v.createElement(e,t({},a,{innerProps:n,isDisabled:l,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,a=this.getComponents(),l=a.Group,r=a.GroupHeading,n=a.Menu,i=a.MenuList,o=a.MenuPortal,s=a.LoadingMessage,c=a.NoOptionsMessage,u=a.Option,g=this.commonProps,d=this.state.focusedOption,b=this.props,p=b.captureMenuScroll,m=b.inputValue,f=b.isLoading,h=b.loadingMessage,k=b.minMenuHeight,y=b.maxMenuHeight,w=b.menuIsOpen,_=b.menuPlacement,C=b.menuPosition,T=b.menuPortalTarget,E=b.menuShouldBlockScroll,x=b.menuShouldScrollIntoView,S=b.noOptionsMessage,B=b.onMenuScrollToTop,M=b.onMenuScrollToBottom;if(!w)return null;var D,R=function(a,l){var r=a.type,n=a.data,i=a.isDisabled,o=a.isSelected,s=a.label,c=a.value,b=d===n,p=i?void 0:function(){return e.onOptionHover(n)},m=i?void 0:function(){return e.selectOption(n)},f="".concat(e.getElementId("option"),"-").concat(l),h={id:f,onClick:m,onMouseMove:p,onMouseOver:p,tabIndex:-1};return v.createElement(u,t({},g,{innerProps:h,data:n,isDisabled:i,isSelected:o,key:f,label:s,type:r,value:c,isFocused:b,innerRef:b?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(a.data,"menu"))};if(this.hasOptions())D=this.getCategorizedOptions().map((function(a){if("group"===a.type){var n=a.data,i=a.options,o=a.index,s="".concat(e.getElementId("group"),"-").concat(o),c="".concat(s,"-heading");return v.createElement(l,t({},g,{key:s,data:n,options:i,Heading:r,headingProps:{id:c,data:a.data},label:e.formatGroupLabel(a.data)}),a.options.map((function(e){return R(e,"".concat(o,"-").concat(e.index))})))}if("option"===a.type)return R(a,"".concat(a.index))}));else if(f){var z=h({inputValue:m});if(null===z)return null;D=v.createElement(s,g,z)}else{var L=S({inputValue:m});if(null===L)return null;D=v.createElement(c,g,L)}var O={minMenuHeight:k,maxMenuHeight:y,menuPlacement:_,menuPosition:C,menuShouldScrollIntoView:x},I=v.createElement(Ha,t({},g,O),(function(a){var l=a.ref,r=a.placerProps,o=r.placement,s=r.maxHeight;return v.createElement(n,t({},g,O,{innerRef:l,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove,id:e.getElementId("listbox")},isLoading:f,placement:o}),v.createElement(Wl,{captureEnabled:p,onTopArrive:B,onBottomArrive:M,lockEnabled:E},(function(a){return v.createElement(i,t({},g,{innerRef:function(t){e.getMenuListRef(t),a(t)},isLoading:f,maxHeight:s,focusedOption:d}),D)})))}));return T||"fixed"===C?v.createElement(o,t({},g,{appendTo:T,controlElement:this.controlRef,menuPlacement:_,menuPosition:C}),I):I}},{key:"renderFormField",value:function(){var e=this,t=this.props,a=t.delimiter,l=t.isDisabled,r=t.isMulti,n=t.name,i=this.state.selectValue;if(n&&!l){if(r){if(a){var o=i.map((function(t){return e.getOptionValue(t)})).join(a);return v.createElement("input",{name:n,type:"hidden",value:o})}var s=i.length>0?i.map((function(t,a){return v.createElement("input",{key:"i-".concat(a),name:n,type:"hidden",value:e.getOptionValue(t)})})):v.createElement("input",{name:n,type:"hidden"});return v.createElement("div",null,s)}var c=i[0]?this.getOptionValue(i[0]):"";return v.createElement("input",{name:n,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,a=this.state,l=a.ariaSelection,r=a.focusedOption,n=a.focusedValue,i=a.isFocused,o=a.selectValue,s=this.getFocusableOptions();return v.createElement(_l,t({},e,{id:this.getElementId("live-region"),ariaSelection:l,focusedOption:r,focusedValue:n,isFocused:i,selectValue:o,focusableOptions:s}))}},{key:"render",value:function(){var e=this.getComponents(),a=e.Control,l=e.IndicatorsContainer,r=e.SelectContainer,n=e.ValueContainer,i=this.props,o=i.className,s=i.id,c=i.isDisabled,u=i.menuIsOpen,g=this.state.isFocused,d=this.commonProps=this.getCommonProps();return v.createElement(r,t({},d,{className:o,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:g}),this.renderLiveRegion(),v.createElement(a,t({},d,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:g,menuIsOpen:u}),v.createElement(n,t({},d,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),v.createElement(l,t({},d,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var a=t.prevProps,l=t.clearFocusValueOnUpdate,r=t.inputIsHiddenAfterUpdate,n=t.ariaSelection,i=t.isFocused,o=t.prevWasFocused,s=e.options,c=e.value,u=e.menuIsOpen,g=e.inputValue,d=e.isMulti,b=Ca(c),p={};if(a&&(c!==a.value||s!==a.options||u!==a.menuIsOpen||g!==a.inputValue)){var m=u?function(e,t){return er(Xl(e,t))}(e,b):[],f=l?function(e,t){var a=e.focusedValue,l=e.selectValue.indexOf(a);if(l>-1){if(t.indexOf(a)>-1)return a;if(l<t.length)return t[l]}return null}(t,b):null,h=function(e,t){var a=e.focusedOption;return a&&t.indexOf(a)>-1?a:t[0]}(t,m);p={selectValue:b,focusedOption:h,focusedValue:f,clearFocusValueOnUpdate:!1}}var k=null!=r&&e!==a?{inputIsHidden:r,inputIsHiddenAfterUpdate:void 0}:{},v=n,y=i&&o;return i&&!y&&(v={value:Na(d,b,b[0]||null),options:b,action:"initial-input-focus"},y=!o),"initial-input-focus"===(null==n?void 0:n.action)&&(v=null),ma(ma(ma({},p),k),{},{prevProps:e,ariaSelection:v,prevWasFocused:y})}}]),l}(v.Component);cr.defaultProps=Yl;var ur=(0,v.forwardRef)((function(e,a){var l=ml(e);return v.createElement(cr,t({ref:a},l))})),gr=(v.Component,ur),dr=["allowCreateWhileLoading","createOptionPosition","formatCreateLabel","isValidNewOption","getNewOptionData","onCreateOption","options","onChange"],br=function(){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,l=String(e).toLowerCase(),r=String(a.getOptionValue(t)).toLowerCase(),n=String(a.getOptionLabel(t)).toLowerCase();return r===l||n===l},pr={formatCreateLabel:function(e){return'Create "'.concat(e,'"')},isValidNewOption:function(e,t,a,l){return!(!e||t.some((function(t){return br(e,t,l)}))||a.some((function(t){return br(e,t,l)})))},getNewOptionData:function(e,t){return{label:t,value:e,__isNew__:!0}}},mr=(0,v.forwardRef)((function(e,a){var l=function(e){var t=e.allowCreateWhileLoading,a=void 0!==t&&t,l=e.createOptionPosition,r=void 0===l?"last":l,n=e.formatCreateLabel,i=void 0===n?pr.formatCreateLabel:n,o=e.isValidNewOption,s=void 0===o?pr.isValidNewOption:o,c=e.getNewOptionData,u=void 0===c?pr.getNewOptionData:c,g=e.onCreateOption,d=e.options,b=void 0===d?[]:d,p=e.onChange,m=aa(e,dr),f=m.getOptionValue,h=void 0===f?Zl:f,k=m.getOptionLabel,y=void 0===k?$l:k,w=m.inputValue,_=m.isLoading,C=m.isMulti,T=m.value,E=m.name,x=(0,v.useMemo)((function(){return s(w,Ca(T),b,{getOptionValue:h,getOptionLabel:y})?u(w,i(w)):void 0}),[i,u,y,h,w,s,b,T]),S=(0,v.useMemo)((function(){return!a&&_||!x?b:"first"===r?[x].concat(fl(b)):[].concat(fl(b),[x])}),[a,r,_,x,b]),B=(0,v.useCallback)((function(e,t){if("select-option"!==t.action)return p(e,t);var a=Array.isArray(e)?e:[e];if(a[a.length-1]!==x)p(e,t);else if(g)g(w);else{var l=u(w,w),r={action:"create-option",name:E,option:l};p(Na(C,[].concat(fl(Ca(T)),[l]),l),r)}}),[u,w,C,E,x,g,p,T]);return ma(ma({},m),{},{options:S,onChange:B})}(ml(e));return v.createElement(cr,t({ref:a},l))})),fr=mr;function hr(t){let{label:a,htmlFor:l,help:r,children:n}=t;return(0,e.createElement)(e.Fragment,null,a&&(0,e.createElement)("label",{style:{marginBottom:"8px",display:"inline-block"},htmlFor:l},a),n,r&&(0,e.createElement)("p",{style:{fontSize:"12px",fontStyle:"normal",color:"rgb(117, 117, 117)"}},r))}var kr=t=>{const a={className:"generate-advanced-select",classNamePrefix:"generate-advanced-select",isSearchable:!1,styles:{indicatorSeparator:()=>({display:"none"}),indicatorsContainer:e=>({...e,maxHeight:"30px"}),menuPortal:e=>({...e,zIndex:999999}),control:e=>({...e,marginBottom:"8px"}),valueContainer:e=>({...e,padding:"0 6px"}),input:e=>({...e,margin:0,padding:0})},instanceId:"input-field",maxMenuHeight:250,theme:e=>({borderRadius:2,colors:{...e.colors,primary:"var(--wp-admin-theme-color)",neutral20:"#757575",neutral30:"#757575"},spacing:{controlHeight:30,baseUnit:3,menuGutter:3}}),menuPortalTarget:document.querySelector("body")},l=Object.assign({},{marginBottom:"24px"},t?.wrapperStyles),r=t?.isCreatable?fr:gr,n=Object.assign({},a,t);return(0,e.createElement)("div",{style:l},(0,e.createElement)(hr,{label:n.label,htmlFor:n.id,help:n.help},(0,e.createElement)(r,n)))};const vr=function(e,t,a){const l={};return e.reduce(((e,r)=>{const n=r[t]||a;if(Object.keys(l).includes(n))e[l[n]].options.push(r);else{const t=e.push({label:n,options:[r]});l[n]=t-1}return e}),[])};var yr=a=>(0,e.createElement)(kr,t({id:"gblocks-select-query-parameters",label:(0,i.__)("Select query parameter","generateblocks"),placeholder:(0,i.__)("Select query parameter","generateblocks"),isSearchable:!0,pageSize:20},a,{menuPlacement:"top",options:vr(a.options,"group","Other")})),wr=a=>(0,e.createElement)("div",{style:{marginBottom:"1.33em"}},(0,e.createElement)(n.Button,t({isPrimary:!0,text:(0,i.__)("Add Parameter","generateblocks")},a))),_r=(0,m.applyFilters)("generateblocks.editor.query-loop.query-parameters",[{id:"post_type",type:"postTypeSelect",default:"post",label:(0,i.__)("Post type","generateblocks"),description:(0,i.__)("Retrieves posts by post types.","generateblocks"),group:(0,i.__)("Post type","generateblocks"),isSticky:!0},{id:"per_page",type:"number",default:10,label:(0,i.__)("Posts per page","generateblocks"),description:(0,i.__)("Number of post to show per page.","generateblocks"),group:(0,i.__)("Pagination","generateblocks"),isSticky:!0},{id:"page",type:"number",default:1,label:(0,i.__)("Page","generateblocks"),description:(0,i.__)("Display posts from page.","generateblocks"),group:(0,i.__)("Pagination","generateblocks")},{id:"offset",type:"number",default:void 0,label:(0,i.__)("Offset","generateblocks"),description:(0,i.__)("Offset the result set by a specific number of items.","generateblocks"),group:(0,i.__)("Pagination","generateblocks")},{id:"search",type:"text",default:"",label:(0,i.__)("Search","generateblocks"),description:(0,i.__)("Show posts based on a keyword search.","generateblocks"),group:(0,i.__)("Search","generateblocks")},{id:"order",type:"select",default:"desc",selectOptions:[{value:"desc",label:"DESC"},{value:"asc",label:"ASC"}],label:(0,i.__)("Order","generateblocks"),description:(0,i.__)("Designates the ascending or descending order of the ‘orderby‘ parameter.","generateblocks"),group:(0,i.__)("Order & Order by","generateblocks")},{id:"orderby",type:"select",default:"date",selectOptions:[{value:"id",label:"Id"},{value:"title",label:"Title"},{value:"slug",label:"Slug"},{value:"author",label:"Author"},{value:"date",label:"Date"},{value:"modified",label:"Last modified date"},{value:"parent",label:"Parent id"},{value:"menu_order",label:"Menu order"}],label:(0,i.__)("Order by","generateblocks"),description:(0,i.__)("Sort retrieved posts by parameter.","generateblocks"),group:(0,i.__)("Order & Order by","generateblocks")},{id:"author",type:"authorsSelect",default:[],dependencies:{filterName:"generateblocks.editor.query-loop.author"},label:(0,i.__)("Authors","generateblocks"),description:(0,i.__)("Show posts from authors.","generateblocks"),group:(0,i.__)("Author","generateblocks")},{id:"author_exclude",type:"authorsSelect",default:[],dependencies:{filterName:"generateblocks.editor.query-loop.author-exclude"},label:(0,i.__)("Exclude authors","generateblocks"),description:(0,i.__)("Exclude posts from authors.","generateblocks"),group:(0,i.__)("Author","generateblocks")},{id:"tax_query",type:"taxonomySelect",default:[],label:(0,i.__)("Taxonomies","generateblocks"),description:(0,i.__)("Show posts from taxonomies.","generateblocks"),group:(0,i.__)("Taxonomy","generateblocks"),isRepeatable:!0,repeatableDefaultValue:{taxonomy:"",terms:[],rest:"",includeChildren:!0}},{id:"tax_query_exclude",type:"taxonomySelect",default:[],label:(0,i.__)("Exclude taxonomies","generateblocks"),description:(0,i.__)("Exclude posts from taxonomies.","generateblocks"),group:(0,i.__)("Taxonomy","generateblocks"),isRepeatable:!0,repeatableDefaultValue:{taxonomy:"",terms:[],rest:"",includeChildren:!0}},{id:"status",type:"multiSelect",default:[],selectOptions:[{value:"publish",label:(0,i.__)("Publish","generateblocks")},{value:"pending",label:(0,i.__)("Pending","generateblocks")},{value:"draft",label:(0,i.__)("Draft","generateblocks")},{value:"auto-draft",label:(0,i.__)("Auto draft","generateblocks")},{value:"future",label:(0,i.__)("Future","generateblocks")},{value:"private",label:(0,i.__)("Private","generateblocks")},{value:"inherit",label:(0,i.__)("Inherit","generateblocks")},{value:"trash",label:(0,i.__)("Trash","generateblocks")},{value:"any",label:(0,i.__)("Any","generateblocks")}],label:(0,i.__)("Post status","generateblocks"),description:(0,i.__)("Show posts by post status.","generateblocks"),group:(0,i.__)("Status","generateblocks")},{id:"parent",type:"postsSelect",default:[],dependencies:{postType:"post_type",filterName:"generateblocks.editor.query-loop.include-parent"},label:(0,i.__)("Parent","generateblocks"),description:(0,i.__)("Show posts from parents.","generateblocks"),group:(0,i.__)("Post","generateblocks")},{id:"parent_exclude",type:"postsSelect",default:[],dependencies:{postType:"post_type",filterName:"generateblocks.editor.query-loop.exclude-parent"},label:(0,i.__)("Parent exclude","generateblocks"),description:(0,i.__)("Do not show posts from parents.","generateblocks"),group:(0,i.__)("Post","generateblocks")},{id:"include",type:"postsSelect",default:[],dependencies:{postType:"post_type"},label:(0,i.__)("Include posts","generateblocks"),description:(0,i.__)("Limit result set to specific posts.","generateblocks"),group:(0,i.__)("Post","generateblocks")},{id:"exclude",type:"postsSelect",default:[],dependencies:{postType:"post_type",filterName:"generateblocks.editor.query-loop.exclude-posts-select"},label:(0,i.__)("Exclude posts","generateblocks"),description:(0,i.__)("Ensure result set excludes specific posts.","generateblocks"),group:(0,i.__)("Post","generateblocks")},{id:"stickyPosts",type:"select",default:"include",selectOptions:[{value:"include",label:"Include"},{value:"exclude",label:"Exclude"},{value:"ignore",label:"Ignore"},{value:"only",label:"Only"}],label:(0,i.__)("Sticky posts","generateblocks"),description:(0,i.__)("Configure how sticky posts should show in the query.","generateblocks"),group:(0,i.__)("Post","generateblocks")},{id:"after",type:"dateTimePicker",default:"",label:(0,i.__)("After","generateblocks"),description:(0,i.__)("Limit response to posts published after a given date.","generateblocks"),group:(0,i.__)("Date","generateblocks")},{id:"before",type:"dateTimePicker",default:"",label:(0,i.__)("Before","generateblocks"),description:(0,i.__)("Limit response to posts published before a given date.","generateblocks"),group:(0,i.__)("Date","generateblocks")}]),Cr=t=>{let{postType:a,onChange:r,value:n,help:o}=t;const s=(0,l.useSelect)((e=>{const{getPostTypes:t}=e(Z.store);return t({per_page:-1})||[]}),[]),c=(0,e.useMemo)((()=>s.filter((e=>e.viewable&&"attachment"!==e.slug)).reduce(((e,t)=>(e.push({value:t.slug,label:t.name}),e)),[])),[s]),u=c.filter((e=>e.value===a||e.value===n));return(0,e.createElement)(kr,{id:"gblocks-select-post-type",label:(0,i.__)("Select post type","generateblocks"),help:o,placeholder:(0,i.__)("Select post type","generateblocks"),options:c,value:u,onChange:r,isLoading:0===c.length})},Tr=a=>{const{options:l,value:r}=a;return(0,e.createElement)(kr,t({},a,{id:"gblocks-simple-select",value:l.filter((e=>e.value===r))}))};function Er(t){const{label:a,onChange:r,value:n,help:o,filterName:s="generateblocks.editor.authors-select"}=t,c=(0,l.useSelect)((e=>{const{getUsers:t}=e(Z.store);return t({who:"authors"})||[]}),[]),u=(0,e.useMemo)((()=>{const e=c.reduce(((e,t)=>(e.push({value:t.id,label:t.name}),e)),[]);return(0,m.applyFilters)(s,e)}),[c]),g=u.filter((e=>n.includes(e.value)));return(0,e.createElement)(kr,{id:"gblocks-select-author",label:a||(0,i.__)("Select authors","generateblocks"),help:o,placeholder:a||(0,i.__)("Select authors","generateblocks"),options:u,isMulti:!0,isSearchable:!0,value:g,onChange:r,isLoading:0===u.length})}function xr(t){const{taxonomy:a,label:r,onChange:n,value:o=[],help:s,filterName:c="generateblocks.editor.taxonomies-select"}=t,{taxonomies:u,isResolving:g}=(e=>(0,l.useSelect)((t=>{const{getEntityRecords:a,isResolving:l}=t(Z.store),r=["taxonomy",e,{per_page:-1}];return{taxonomies:a(...r)||[],isResolving:l("getEntityRecords",r)}}),[e]))(a),d=(0,e.useMemo)((()=>{const e=u.reduce(((e,t)=>(e.push({value:t.id,label:t.name}),e)),[]);return(0,m.applyFilters)(c,e)}),[JSON.stringify(u)]),b=d.filter((e=>o.includes(e.value)));return(0,e.createElement)(kr,{id:"gblocks-select-author",label:r||(0,i.__)("Select terms","generateblocks"),help:s,placeholder:r||(0,i.__)("Select terms","generateblocks"),options:d,isMulti:!0,isSearchable:!0,value:b,onChange:n,isLoading:g})}function Sr(a){return(0,e.createElement)(xr,t({},a,{taxonomy:"category"}))}function Br(a){return(0,e.createElement)(xr,t({},a,{taxonomy:"post_tag"}))}function Mr(t){let{id:a,onClick:l}=t;return(0,e.createElement)(n.Tooltip,{text:(0,i.__)("Delete parameter","generateblocks-pro")},(0,e.createElement)(n.Button,{className:"gblocks-remove-parameter",onClick:()=>{window.confirm((0,i.__)("This will permanently delete this parameter.","generateblocks"))&&l(a)},icon:b("trash")}))}function Dr(t){const{label:a,value:l,onChange:r}=t,[o,s]=(0,e.useState)(l.taxonomy),[c,u]=(0,e.useState)(l.terms),[g,d]=(0,e.useState)(!1!==l.includeChildren),b=K();(0,e.useEffect)((()=>{l.taxonomy!==o&&s(l.taxonomy),JSON.stringify(l.terms)!==JSON.stringify(c)&&u(l.terms)}),[l]),(0,e.useEffect)((()=>{if(o){const e=b.filter((e=>e.slug===o)),t=e[0]?e[0].rest_base:void 0;r({taxonomy:o,terms:c,rest:t,includeChildren:g})}}),[o,JSON.stringify(c),g]);const p=(0,e.useMemo)((()=>b.filter((e=>"nav_menu"!==e.slug)).map((e=>({value:e.slug,label:e.name})))),[b]);return(0,e.createElement)(e.Fragment,null,a&&(0,e.createElement)("label",{htmlFor:"tax-label",style:{marginBottom:"8px",display:"inline-block"}},a),(0,e.createElement)(Tr,{wrapperStyles:{marginBottom:"8px"},options:p,value:o,onChange:e=>{s(e.value),u([])}}),o&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)(xr,{taxonomy:o,value:c,filterName:"generateblocks.editor.taxonomy-parameter-control."+t.id,onChange:e=>{const t=e.reduce(((e,t)=>(e.push(t.value),e)),[]);u(t)},help:0===c.length?(0,i.__)("You must select at least one term.","generateblocks"):""}),(0,e.createElement)(n.ToggleControl,{checked:g,label:(0,i.__)("Include child terms","generateblocks"),onChange:d})))}function Rr(a){const{postType:r,label:n,value:o,filterName:s="generateblocks.editor.post-type-record-select",...c}=a,{records:u,isResolving:g}=(e=>(0,l.useSelect)((t=>{const{getEntityRecords:a,isResolving:l}=t(Z.store),r=["postType",e,{per_page:-1}];return{records:a(...r)||[],isResolving:l("getEntityRecords",r)}}),[e]))(r)||[],d=(0,e.useMemo)((()=>{const e=u?.map((e=>{const t=e.title&&e.title.raw?e.title.raw:e.slug;return{value:e.id,label:`#${e.id}: ${t}`}}));return(0,m.applyFilters)(s,e)}),[u,r]),b=d.filter((e=>o.includes(e.value)));return(0,e.createElement)(kr,t({id:"gblocks-select-posts",label:n||(0,i.__)("Select post","generateblocks"),placeholder:n||(0,i.__)("Select post","generateblocks"),value:b,isLoading:g,isSearchable:!0,isMulti:!0},c,{options:d}))}function zr(t){let{label:a,help:l,value:r,onChange:i}=t;const o=r?new Date(r):new Date;return(0,e.createElement)("div",{style:{marginBottom:"24px"}},(0,e.createElement)(hr,{label:a,help:l},(0,e.createElement)(n.DateTimePicker,{currentDate:o,onChange:i,is12Hour:!0})))}function Lr(e,t){return e===t}function Or(e){return"function"==typeof e?function(){return e}:e}function Ir(e,t,a){var l=a&&a.equalityFn||Lr,r=function(e){var t=(0,v.useState)(Or(e)),a=t[0],l=t[1];return[a,(0,v.useCallback)((function(e){return l(Or(e))}),[])]}(e),n=r[0],i=r[1],o=se((0,v.useCallback)((function(e){return i(e)}),[i]),t,a),s=(0,v.useRef)(e);return l(s.current,e)||(o(e),s.current=e),[n,o]}function Nr(a){const[l,r,i]=function(t){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:800;const[l,r]=(0,e.useState)(t),[n]=Ir(l,a);return[n,r,l]}(a?.value,800);return(0,e.useEffect)((()=>{a.onChange(l)}),[l]),(0,e.createElement)(n.TextControl,t({},a,{value:i,onChange:r}))}var Ar=function(a){const{options:l,value:r}=a;return(0,e.createElement)(kr,t({},a,{isMulti:!0,id:"gblocks-simple-multi-select",value:l.filter((e=>r.includes(e.value)))}))};function Fr(a){const{id:l,type:r,label:o,description:s,selectOptions:c=[],isSticky:u,value:g,default:d,onChange:b,onClickRemove:p,dependencies:m}=a,f=(e=>{switch(e){case"text":case"number":return Nr;case"postTypeSelect":return Cr;case"select":return Tr;case"multiSelect":return Ar;case"authorsSelect":return Er;case"categoriesSelect":return Sr;case"tagsSelect":return Br;case"taxonomySelect":return Dr;case"postsSelect":return Rr;case"dateTimePicker":return zr;case"toggleControl":return n.ToggleControl}})(r);let h=s;return"per_page"===l&&("-1"===g||g>50)&&(h+=" "+(0,i.__)("Editor only: A maximum of 50 posts can be previewed in the editor.","generateblocks")),(0,e.createElement)("div",{className:"gblocks-parameter-component"},(0,e.createElement)(f,t({id:l,type:r,label:o,help:h,options:c,value:g,placeholder:d,onChange:b},m)),!u&&(0,e.createElement)(Mr,{id:l,onClick:p}))}var Pr=a=>{let{parameter:l,query:r,setParameter:n,removeParameter:i}=a;const{dependencies:o={}}=l,s=r[l.id],c=Object.keys(o).reduce(((e,t)=>(e[t]=r[o[t]]||o[t],e)),{});function u(a,r,n){return(0,e.createElement)(Fr,t({},l,{value:a,onChange:r,onClickRemove:n,dependencies:c}))}return l.isRepeatable?(0,e.createElement)(e.Fragment,null,Array.isArray(s)&&s.map(((e,t)=>u(e,(e=>{s[t]=e,n(l.id,[...s])}),(e=>{s.splice(t,1),0===s.length?i(e):n(l.id,[...s])}))))):u(s,(function(e){n(l.id,((e,t)=>{switch(e){case"post_type":case"order":case"orderby":case"stickyPosts":return t.value;case"status":case"author":case"author_exclude":case"include":case"exclude":case"parent":case"parent_exclude":return t.reduce(((e,t)=>(e.push(t.value),e)),[]);default:return t}})(l.id,e))}),i)},Hr=t=>{let{query:a,setParameter:l,removeParameter:r}=t;const n=(e=>_r.filter((e=>e.isSticky)).concat(Object.keys(e).map((e=>_r.find((t=>e===t.id&&!t.isSticky)))).filter(Boolean)))(a);return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{style:{marginBottom:"1.33em"}},n&&n.map((t=>(0,e.createElement)(Pr,{key:t.id,parameter:t,query:a,setParameter:l,removeParameter:r})))))};const Vr="add_query_parameter",Ur="remove_query_parameter",Gr=function(e,t){switch(t.type){case Vr:return Object.assign({},e,t.payload);case Ur:const{[t.payload]:a,...l}=e;return l;default:throw new Error(`queryReducer does not support action type "${t.type}".`)}};var jr=t=>{let{attributes:a,setAttributes:l}=t;const{queryState:o,insertParameters:s,setParameter:c,removeParameter:u}=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const[a,l]=(0,e.useReducer)(Gr,t);return{queryState:a,setParameter:(e,t)=>l({type:Vr,payload:{[e]:t}}),insertParameters:e=>l({type:Vr,payload:e}),removeParameter:e=>l({type:Ur,payload:e})}}(a.query),[g,d]=(0,e.useState)(!1);(0,e.useEffect)((()=>{var e;(e=a.query)&&0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype&&s({post_type:"post",per_page:10})}),[]),(0,e.useEffect)((()=>{l({query:o})}),[JSON.stringify(o),!(0,V.isEqual)(a.query,o)]);const p=(0,e.useMemo)((()=>_r.map((e=>(e.isDisabled=!e.isRepeatable&&Object.keys(o).includes(e.id),e)))),[o]);return(0,e.createElement)(r.InspectorControls,null,(0,e.createElement)(C,{id:"queryLoopControls",title:(0,i.__)("Query Parameters","generateblocks"),initialOpen:!0,icon:b("query-params"),className:"gblocks-panel-label"},(0,e.createElement)(n.ToggleControl,{label:(0,i.__)("Inherit query from template","generateblocks"),help:(0,i.__)("Toggle to use the global query context that is set with the current template, such as an archive or search.","generateblocks"),checked:!!a.inheritQuery,onChange:e=>l({inheritQuery:e})}),!a.inheritQuery&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)(Hr,{query:o,setParameter:c,removeParameter:u}),!g&&(0,e.createElement)(wr,{onClick:()=>{d(!0)}}),g&&(0,e.createElement)(yr,{options:p,onChange:e=>{if(e.isRepeatable&&Array.isArray(e.default)&&e.repeatableDefaultValue){const t=o[e.id]?o[e.id]:e.default;c(e.id,[...t,e.repeatableDefaultValue])}else c(e.id,e.default);d(!1)}}))))},qr=t=>{let{clientId:a}=t;const{insertBlocks:o}=(0,l.useDispatch)("core/block-editor"),{getBlock:s}=(0,l.useSelect)((e=>e("core/block-editor")),[]),{selectBlock:c}=(0,l.useDispatch)("core/block-editor"),u=s(a),d=!!u&&u?.innerBlocks[0],p=!!u&&u?.innerBlocks[0]?.innerBlocks[0],m={useDynamicData:!0,isPagination:!0},f=["generateblocks/button-container",{isPagination:!0},[["generateblocks/button",Object.assign({},m,generateBlocksStyling.button,{text:(0,i.__)("Previous","generateblocks"),dynamicLinkType:"pagination-prev",dynamicLinkRemoveIfEmpty:!0})],["generateblocks/button",Object.assign({},m,generateBlocksStyling.button,{text:(0,i.__)("1 2 … 10","generateblocks"),dynamicContentType:"pagination-numbers"})],["generateblocks/button",Object.assign({},m,generateBlocksStyling.button,{text:(0,i.__)("Next","generateblocks"),dynamicLinkType:"pagination-next",dynamicLinkRemoveIfEmpty:!0})]]];return(0,e.createElement)(r.BlockControls,null,(!!d||!!p)&&(0,e.createElement)(n.ToolbarGroup,null,!!d&&(0,e.createElement)(n.ToolbarButton,{icon:b("grid"),label:(0,i.__)("Open Grid","generateblocks"),onClick:()=>{c(d.clientId)},showTooltip:!0}),!!p&&(0,e.createElement)(n.ToolbarButton,{icon:b("container"),label:(0,i.__)("Open Container","generateblocks"),onClick:()=>{c(p.clientId)},showTooltip:!0})),(0,e.createElement)(n.ToolbarGroup,null,(0,e.createElement)(n.ToolbarButton,{icon:b("add-pagination"),label:(0,i.__)("Add Pagination","generateblocks"),onClick:()=>{o((0,g.createBlocksFromInnerBlocksTemplate)([f]),void 0,a)},showTooltip:!0})))},Wr=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return Object.keys(e).filter((e=>t.includes(e))).reduce(((t,a)=>Object.assign({},t,{[a]:e[a]})),{})},$r=[{name:"title-date-excerpt",title:(0,i.__)("Title, date, & excerpt","generateblocks"),icon:(0,e.createElement)("svg",{fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 200"},(0,e.createElement)("path",{d:"M15 33h171v11H15zM15 51h79v5H15zM15 71h171v5H15zM15 82h171v5H15zM15 116h171v11H15zM15 134h79v5H15zM15 154h171v5H15zM15 165h171v5H15z"})),innerBlocks:[["generateblocks/grid",{isQueryLoop:!0,verticalGap:40,lock:{remove:!0}},[["generateblocks/container",{isQueryLoopItem:!0,width:100,lock:{remove:!0,move:!0}},[["generateblocks/headline",{useDynamicData:!0,dynamicContentType:"post-title",dynamicLinkType:"single-post",marginBottom:"5"}],["generateblocks/headline",{useDynamicData:!0,element:"p",dynamicContentType:"post-date",fontSize:14}],["generateblocks/headline",{useDynamicData:!0,element:"div",dynamicContentType:"post-excerpt"}]]]]]]},{name:"title-date",title:(0,i.__)("Title & date","generateblocks"),icon:(0,e.createElement)("svg",{fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 200"},(0,e.createElement)("path",{d:"M14 30h171v11H14zM14 48h79v5H14zM14 88h171v11H14zM14 106h79v5H14zM14 146h171v11H14zM14 164h79v5H14z"})),innerBlocks:[["generateblocks/grid",{isQueryLoop:!0,verticalGap:20,lock:{remove:!0}},[["generateblocks/container",{isQueryLoopItem:!0,width:100,lock:{remove:!0,move:!0}},[["generateblocks/headline",{useDynamicData:!0,element:"h2",fontSize:20,dynamicContentType:"post-title",dynamicLinkType:"single-post",marginBottom:"5"}],["generateblocks/headline",{useDynamicData:!0,element:"p",marginBottom:"0",dynamicContentType:"post-date",fontSize:14}]]]]]]},{name:"two-columns",title:(0,i.__)("Two columns","generateblocks"),icon:(0,e.createElement)("svg",{fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 200"},(0,e.createElement)("path",{d:"M14 28h78v11H14zM14 46h36.035v5H14zM14 66h78v5H14zM14 77h78v5H14zM108 28h78v11h-78zM108 46h36.035v5H108zM108 66h78v5h-78zM108 77h78v5h-78zM14 118h78v11H14zM14 136h36.035v5H14zM14 156h78v5H14zM14 167h78v5H14zM108 118h78v11h-78zM108 136h36.035v5H108zM108 156h78v5h-78zM108 167h78v5h-78z"})),innerBlocks:[["generateblocks/grid",{isQueryLoop:!0,verticalGap:20,horizontalGap:20,lock:{remove:!0}},[["generateblocks/container",{isQueryLoopItem:!0,width:50,widthMobile:100,backgroundColor:"#fafafa",paddingTop:"20",paddingRight:"20",paddingBottom:"20",paddingLeft:"20",lock:{remove:!0,move:!0}},[["generateblocks/headline",{useDynamicData:!0,element:"h2",fontSize:30,dynamicContentType:"post-title",dynamicLinkType:"single-post",marginBottom:"5"}],["generateblocks/headline",{useDynamicData:!0,element:"p",marginBottom:"30",dynamicContentType:"post-date",fontSize:14}],["generateblocks/headline",{useDynamicData:!0,element:"div",dynamicContentType:"post-excerpt"}]]]]]]},{name:"two-columns-feature-image",title:(0,i.__)("Two columns & featured image","generateblocks"),icon:(0,e.createElement)("svg",{fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 200"},(0,e.createElement)("path",{d:"M110 57h78v11h-78V57ZM110 16h78v35h-78V16ZM110 76h78v5h-78zM110 87h55v5h-55zM110 149h78v11h-78v-11ZM110 108h78v35h-78v-35ZM110 168h78v5h-78zM110 179h55v5h-55zM15 149h78v11H15v-11ZM15 108h78v35H15v-35ZM15 168h78v5H15zM15 179h55v5H15zM15 57h78v11H15V57ZM15 16h78v35H15V16ZM15 76h78v5H15zM15 87h55v5H15z"})),innerBlocks:[["generateblocks/grid",{isQueryLoop:!0,verticalGap:20,horizontalGap:20,lock:{remove:!0}},[["generateblocks/container",{isQueryLoopItem:!0,width:50,widthMobile:100,backgroundColor:"#fafafa",paddingTop:"20",paddingRight:"20",paddingBottom:"20",paddingLeft:"20",lock:{remove:!0,move:!0}},[["generateblocks/image",{useDynamicData:!0,dynamicContentType:"featured-image",marginBottom:"30"}],["generateblocks/headline",{useDynamicData:!0,element:"h2",fontSize:30,dynamicContentType:"post-title",dynamicLinkType:"single-post",marginBottom:"5"}],["generateblocks/headline",{useDynamicData:!0,element:"p",marginBottom:"30",dynamicContentType:"post-date",fontSize:14}],["generateblocks/headline",{useDynamicData:!0,element:"div",dynamicContentType:"post-excerpt"}]]]]]]},{name:"blank",title:(0,i.__)("Start blank","generateblocks"),icon:(0,e.createElement)("svg",{fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 200"}),innerBlocks:[["generateblocks/grid",{isQueryLoop:!0,lock:{remove:!0}},[["generateblocks/container",{isQueryLoopItem:!0,width:100,lock:{remove:!0,move:!0}}]]]]}],Zr=t=>{let{clientId:a,isDisabled:r}=t;if(r)return!1;const{replaceInnerBlocks:o}=(0,l.useDispatch)("core/block-editor");return(0,e.createElement)(n.Placeholder,{label:(0,i.__)("Query Loop","generateblocks"),icon:b("query-loop"),instructions:(0,i.__)("Choose a layout to start with.","generateblocks"),className:"gblocks-query-loop-layout-selector"},(0,e.createElement)("div",{className:"gblocks-query-loop-layout-selector__content"},$r.map((t=>(0,e.createElement)(n.Button,{key:`template-${t}`,onClick:()=>{o(a,(0,g.createBlocksFromInnerBlocksTemplate)(t.innerBlocks))}},t.icon,(0,e.createElement)("p",null,t.title))))))};(0,g.registerBlockType)("generateblocks/query-loop",{apiVersion:2,title:(0,i.__)("Query Loop","generateblocks"),description:(0,i.__)("Build a list of posts from any post type using advanced query parameters.","generateblocks"),icon:b("query-loop"),category:"generateblocks",keywords:[(0,i.__)("query"),(0,i.__)("loop"),(0,i.__)("generate")],attributes:ye,supports:{className:!1,customClassName:!1},providesContext:{"generateblocks/query":"query","generateblocks/queryId":"uniqueId","generateblocks/inheritQuery":"inheritQuery"},edit:Y((function(t){const{attributes:a,clientId:n,setAttributes:i}=t,o=(0,r.useBlockProps)(),s=(0,l.useSelect)((e=>!!e(r.store).getBlocks(n).length),[n]);return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",o,s?(0,e.createElement)(e.Fragment,null,(0,e.createElement)(qr,{clientId:n}),(0,e.createElement)(jr,{attributes:Wr(a,Object.keys(ye)),setAttributes:i,clientId:n}),(0,e.createElement)(r.BlockContextProvider,{value:{"generateblocks/query":a.query}},(0,e.createElement)(r.InnerBlocks,{renderAppender:!1}))):(0,e.createElement)(Zr,{clientId:n})))})),save:()=>(0,e.createElement)(r.InnerBlocks.Content,null)});const Kr=["wide","full"],Qr=(0,q.createHigherOrderComponent)((t=>a=>{if("generateblocks/container"!==a.name)return(0,e.createElement)(t,a);const{insertBlocks:o}=(0,l.useDispatch)("core/block-editor"),{getBlockParentsByBlockName:s,getBlockRootClientId:c,getBlocksByClientId:u}=(0,l.useSelect)((e=>e("core/block-editor")),[]),{attributes:d,clientId:p,setAttributes:m}=a,{isGrid:f,isQueryLoopItem:h,align:k}=d;let v=!1;v="function"==typeof s?s(p,"generateblocks/grid",!0)[0]:c(p);const y=(0,g.getBlockSupport)("","align",!0)&&!f;return(0,e.createElement)(e.Fragment,null,!h&&f&&v&&(0,e.createElement)(r.BlockControls,null,(0,e.createElement)(n.ToolbarGroup,null,(0,e.createElement)(n.ToolbarButton,{className:"gblocks-block-control-icon gblocks-add-grid-item",icon:b("addContainer"),label:(0,i.__)("Duplicate Grid Item","generateblocks"),onClick:()=>{const e=u(p)[0],t=(0,g.cloneBlock)(e,{uniqueId:""});o(t,void 0,v)},showTooltip:!0}))),y&&(0,e.createElement)(r.BlockControls,null,(0,e.createElement)(r.BlockAlignmentToolbar,{value:k,onChange:e=>{m({align:e}),"full"===e&&m({outerContainer:"full"})},controls:Kr})),(0,e.createElement)(t,a))}),"withBlockControls");(0,m.addFilter)("editor.BlockEdit","generateblocks/container-block-controls",Qr);var Yr=t=>{let{attributes:a,setAttributes:l,deviceType:n}=t;const{alignment:i,alignmentTablet:o,alignmentMobile:s}=a;return(0,e.createElement)(r.BlockControls,null,"Desktop"===n&&(0,e.createElement)(r.AlignmentToolbar,{value:i,onChange:e=>{l({alignment:e})}}),"Tablet"===n&&(0,e.createElement)(r.AlignmentToolbar,{value:o,onChange:e=>{l({alignmentTablet:e})}}),"Mobile"===n&&(0,e.createElement)(r.AlignmentToolbar,{value:s,onChange:e=>{l({alignmentMobile:e})}}))},Jr=t=>{let{fontFamily:a,googleFont:l,googleFontVariants:r,isBlockPreview:n}=t;if(n)return null;const i=r?`:${r}`:"",o="https://fonts.googleapis.com/css?family="+a.replace(/ /g,"+")+i;return(0,e.createElement)(e.Fragment,null,a&&l&&(0,e.createElement)("link",{rel:"stylesheet",href:o}))};class Xr extends e.Component{render(){const{label:t,value:a,onChange:l,rangeMin:r=0,rangeMax:i=100,inputMin:o="",inputMax:s="",step:c=1,help:u="",beforeIcon:g="",initialPosition:d="",placeholder:b="",disabled:p=!1}=this.props;return(0,e.createElement)("div",{className:"components-gblocks-range-control"},t&&(0,e.createElement)("div",{className:"components-gblocks-range-control--label"},t),(0,e.createElement)("div",{className:"components-gblocks-range-control--wrapper"},(0,e.createElement)("div",{className:"components-gblocks-range-control--range"},(0,e.createElement)(n.RangeControl,{className:"gblocks-range-control-range",beforeIcon:g,value:S(a)?parseFloat(a):"",onChange:e=>l(e),min:r,max:i,step:c,withInputField:!1,initialPosition:d,disabled:p})),(0,e.createElement)("div",{className:"components-gblocks-range-control-input"},(0,e.createElement)(n.TextControl,{type:"number",placeholder:""!==b?b:"",min:o,max:s,step:c,value:S(a)?a:"",disabled:p,onChange:e=>l(e),onBlur:()=>{S(a)&&l(parseFloat(a))},onClick:e=>{e.currentTarget.focus()}}))),u&&(0,e.createElement)("p",{className:"components-base-control__help"},u))}}var en=JSON.parse('{"Roboto":{"weight":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","900","900italic"],"fallback":"sans-serif"},"Open Sans":{"weight":["300","300italic","regular","italic","600","600italic","700","700italic","800","800italic"],"fallback":"sans-serif"},"Noto Sans JP":{"weight":["100","300","regular","500","700","900"],"fallback":"sans-serif"},"Lato":{"weight":["100","100italic","300","300italic","regular","italic","700","700italic","900","900italic"],"fallback":"sans-serif"},"Montserrat":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Roboto Condensed":{"weight":["300","300italic","regular","italic","700","700italic"],"fallback":"sans-serif"},"Source Sans Pro":{"weight":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"],"fallback":"sans-serif"},"Oswald":{"weight":["200","300","regular","500","600","700"],"fallback":"sans-serif"},"Poppins":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Roboto Mono":{"weight":["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],"fallback":"monospace"},"Noto Sans":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Raleway":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"PT Sans":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Roboto Slab":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"serif"},"Merriweather":{"weight":["300","300italic","regular","italic","700","700italic","900","900italic"],"fallback":"serif"},"Ubuntu":{"weight":["300","300italic","regular","italic","500","500italic","700","700italic"],"fallback":"sans-serif"},"Playfair Display":{"weight":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"Nunito":{"weight":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Noto Sans KR":{"weight":["100","300","regular","500","700","900"],"fallback":"sans-serif"},"Open Sans Condensed":{"weight":["300","300italic","700"],"fallback":"sans-serif"},"Rubik":{"weight":["300","regular","500","600","700","800","900","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Lora":{"weight":["regular","500","600","700","italic","500italic","600italic","700italic"],"fallback":"serif"},"Work Sans":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Mukta":{"weight":["200","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Noto Sans TC":{"weight":["100","300","regular","500","700","900"],"fallback":"sans-serif"},"Nunito Sans":{"weight":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"PT Serif":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Nanum Gothic":{"weight":["regular","700","800"],"fallback":"sans-serif"},"Inter":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Fira Sans":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Noto Serif":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Quicksand":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Titillium Web":{"weight":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900"],"fallback":"sans-serif"},"Hind Siliguri":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Karla":{"weight":["200","300","regular","500","600","700","800","200italic","300italic","italic","500italic","600italic","700italic","800italic"],"fallback":"sans-serif"},"Barlow":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Inconsolata":{"weight":["200","300","regular","500","600","700","800","900"],"fallback":"monospace"},"Heebo":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Noto Sans SC":{"weight":["100","300","regular","500","700","900"],"fallback":"sans-serif"},"Oxygen":{"weight":["300","regular","700"],"fallback":"sans-serif"},"Source Code Pro":{"weight":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","900","900italic"],"fallback":"monospace"},"Anton":{"weight":["regular"],"fallback":"sans-serif"},"Josefin Sans":{"weight":["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],"fallback":"sans-serif"},"Arimo":{"weight":["regular","500","600","700","italic","500italic","600italic","700italic"],"fallback":"sans-serif"},"PT Sans Narrow":{"weight":["regular","700"],"fallback":"sans-serif"},"IBM Plex Sans":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Dosis":{"weight":["200","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Noto Sans HK":{"weight":["100","300","regular","500","700","900"],"fallback":"sans-serif"},"Libre Franklin":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Libre Baskerville":{"weight":["regular","italic","700"],"fallback":"serif"},"Cabin":{"weight":["regular","500","600","700","italic","500italic","600italic","700italic"],"fallback":"sans-serif"},"Hind":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Bitter":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"Crimson Text":{"weight":["regular","italic","600","600italic","700","700italic"],"fallback":"serif"},"Bebas Neue":{"weight":["regular"],"fallback":"display"},"Lobster":{"weight":["regular"],"fallback":"display"},"Yanone Kaffeesatz":{"weight":["200","300","regular","500","600","700"],"fallback":"sans-serif"},"Dancing Script":{"weight":["regular","500","600","700"],"fallback":"handwriting"},"Cairo":{"weight":["200","300","regular","600","700","900"],"fallback":"sans-serif"},"Abel":{"weight":["regular"],"fallback":"sans-serif"},"Fjalla One":{"weight":["regular"],"fallback":"sans-serif"},"Varela Round":{"weight":["regular"],"fallback":"sans-serif"},"Source Serif Pro":{"weight":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"],"fallback":"serif"},"Arvo":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"EB Garamond":{"weight":["regular","500","600","700","800","italic","500italic","600italic","700italic","800italic"],"fallback":"serif"},"Barlow Condensed":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Architects Daughter":{"weight":["regular"],"fallback":"handwriting"},"Zilla Slab":{"weight":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"serif"},"Indie Flower":{"weight":["regular"],"fallback":"handwriting"},"Mulish":{"weight":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Comfortaa":{"weight":["300","regular","500","600","700"],"fallback":"display"},"DM Sans":{"weight":["regular","italic","500","500italic","700","700italic"],"fallback":"sans-serif"},"Pacifico":{"weight":["regular"],"fallback":"handwriting"},"Exo 2":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Kanit":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Prompt":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Shadows Into Light":{"weight":["regular"],"fallback":"handwriting"},"Questrial":{"weight":["regular"],"fallback":"sans-serif"},"Merriweather Sans":{"weight":["300","regular","500","600","700","800","300italic","italic","500italic","600italic","700italic","800italic"],"fallback":"sans-serif"},"Teko":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Balsamiq Sans":{"weight":["regular","italic","700","700italic"],"fallback":"display"},"Asap":{"weight":["regular","500","600","700","italic","500italic","600italic","700italic"],"fallback":"sans-serif"},"Hind Madurai":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Cormorant Garamond":{"weight":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"serif"},"Antic Slab":{"weight":["regular"],"fallback":"serif"},"Archivo Narrow":{"weight":["regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Overpass":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Abril Fatface":{"weight":["regular"],"fallback":"display"},"Slabo 27px":{"weight":["regular"],"fallback":"serif"},"Exo":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Assistant":{"weight":["200","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Maven Pro":{"weight":["regular","500","600","700","800","900"],"fallback":"sans-serif"},"Domine":{"weight":["regular","500","600","700"],"fallback":"serif"},"Fira Sans Condensed":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Caveat":{"weight":["regular","500","600","700"],"fallback":"handwriting"},"Rajdhani":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"IBM Plex Serif":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"serif"},"Martel":{"weight":["200","300","regular","600","700","800","900"],"fallback":"serif"},"Play":{"weight":["regular","700"],"fallback":"sans-serif"},"Amatic SC":{"weight":["regular","700"],"fallback":"handwriting"},"Bree Serif":{"weight":["regular"],"fallback":"serif"},"Tajawal":{"weight":["200","300","regular","500","700","800","900"],"fallback":"sans-serif"},"Noto Serif JP":{"weight":["200","300","regular","500","600","700","900"],"fallback":"serif"},"Righteous":{"weight":["regular"],"fallback":"display"},"Satisfy":{"weight":["regular"],"fallback":"handwriting"},"Signika":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Catamaran":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Acme":{"weight":["regular"],"fallback":"sans-serif"},"Manrope":{"weight":["200","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Fredoka One":{"weight":["regular"],"fallback":"display"},"Nanum Myeongjo":{"weight":["regular","700","800"],"fallback":"serif"},"ABeeZee":{"weight":["regular","italic"],"fallback":"sans-serif"},"Amiri":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Patrick Hand":{"weight":["regular"],"fallback":"handwriting"},"PT Sans Caption":{"weight":["regular","700"],"fallback":"sans-serif"},"Archivo":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Alfa Slab One":{"weight":["regular"],"fallback":"display"},"Cinzel":{"weight":["regular","500","600","700","800","900"],"fallback":"serif"},"Crete Round":{"weight":["regular","italic"],"fallback":"serif"},"Permanent Marker":{"weight":["regular"],"fallback":"handwriting"},"Alegreya Sans":{"weight":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Almarai":{"weight":["300","regular","700","800"],"fallback":"sans-serif"},"Barlow Semi Condensed":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Russo One":{"weight":["regular"],"fallback":"sans-serif"},"Vollkorn":{"weight":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"Sarabun":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"fallback":"sans-serif"},"Krona One":{"weight":["regular"],"fallback":"sans-serif"},"M PLUS Rounded 1c":{"weight":["100","300","regular","500","700","800","900"],"fallback":"sans-serif"},"Noticia Text":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Courgette":{"weight":["regular"],"fallback":"handwriting"},"Monda":{"weight":["regular","700"],"fallback":"sans-serif"},"Alegreya":{"weight":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"Frank Ruhl Libre":{"weight":["300","regular","500","700","900"],"fallback":"serif"},"Patua One":{"weight":["regular"],"fallback":"display"},"Ubuntu Condensed":{"weight":["regular"],"fallback":"sans-serif"},"Great Vibes":{"weight":["regular"],"fallback":"handwriting"},"Quattrocento Sans":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"M PLUS 1p":{"weight":["100","300","regular","500","700","800","900"],"fallback":"sans-serif"},"Spartan":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Yantramanav":{"weight":["100","300","regular","500","700","900"],"fallback":"sans-serif"},"Lobster Two":{"weight":["regular","italic","700","700italic"],"fallback":"display"},"Archivo Black":{"weight":["regular"],"fallback":"sans-serif"},"Kaushan Script":{"weight":["regular"],"fallback":"handwriting"},"Tinos":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Cardo":{"weight":["regular","italic","700"],"fallback":"serif"},"Orbitron":{"weight":["regular","500","600","700","800","900"],"fallback":"sans-serif"},"Sacramento":{"weight":["regular"],"fallback":"handwriting"},"IBM Plex Mono":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"monospace"},"Francois One":{"weight":["regular"],"fallback":"sans-serif"},"Luckiest Guy":{"weight":["regular"],"fallback":"display"},"Gothic A1":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Kalam":{"weight":["300","regular","700"],"fallback":"handwriting"},"Parisienne":{"weight":["regular"],"fallback":"handwriting"},"Gloria Hallelujah":{"weight":["regular"],"fallback":"handwriting"},"Didact Gothic":{"weight":["regular"],"fallback":"sans-serif"},"Cantarell":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Press Start 2P":{"weight":["regular"],"fallback":"display"},"Jost":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Rokkitt":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"serif"},"Paytone One":{"weight":["regular"],"fallback":"sans-serif"},"Prata":{"weight":["regular"],"fallback":"serif"},"Baloo 2":{"weight":["regular","500","600","700","800"],"fallback":"display"},"Cuprum":{"weight":["regular","500","600","700","italic","500italic","600italic","700italic"],"fallback":"sans-serif"},"Chivo":{"weight":["300","300italic","regular","italic","700","700italic","900","900italic"],"fallback":"sans-serif"},"Encode Sans":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"News Cycle":{"weight":["regular","700"],"fallback":"sans-serif"},"Old Standard TT":{"weight":["regular","italic","700"],"fallback":"serif"},"Hind Guntur":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Pathway Gothic One":{"weight":["regular"],"fallback":"sans-serif"},"Red Hat Display":{"weight":["regular","italic","500","500italic","700","700italic","900","900italic"],"fallback":"sans-serif"},"Public Sans":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Secular One":{"weight":["regular"],"fallback":"sans-serif"},"Volkhov":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Concert One":{"weight":["regular"],"fallback":"display"},"Asap Condensed":{"weight":["regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Montserrat Alternates":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Ropa Sans":{"weight":["regular","italic"],"fallback":"sans-serif"},"Josefin Slab":{"weight":["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],"fallback":"serif"},"Poiret One":{"weight":["regular"],"fallback":"display"},"Passion One":{"weight":["regular","700","900"],"fallback":"display"},"Padauk":{"weight":["regular","700"],"fallback":"sans-serif"},"Changa":{"weight":["200","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Saira Condensed":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Ultra":{"weight":["regular"],"fallback":"serif"},"Quattrocento":{"weight":["regular","700"],"fallback":"serif"},"Arapey":{"weight":["regular","italic"],"fallback":"serif"},"Vidaloka":{"weight":["regular"],"fallback":"serif"},"Playfair Display SC":{"weight":["regular","italic","700","700italic","900","900italic"],"fallback":"serif"},"Cookie":{"weight":["regular"],"fallback":"handwriting"},"Chakra Petch":{"weight":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Istok Web":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Cormorant":{"weight":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"serif"},"DM Serif Display":{"weight":["regular","italic"],"fallback":"serif"},"Neuton":{"weight":["200","300","regular","italic","700","800"],"fallback":"serif"},"Spectral":{"weight":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"fallback":"serif"},"Sawarabi Mincho":{"weight":["regular"],"fallback":"sans-serif"},"Lemonada":{"weight":["300","regular","500","600","700"],"fallback":"display"},"Yellowtail":{"weight":["regular"],"fallback":"handwriting"},"Handlee":{"weight":["regular"],"fallback":"handwriting"},"Merienda":{"weight":["regular","700"],"fallback":"handwriting"},"Philosopher":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Sanchez":{"weight":["regular","italic"],"fallback":"serif"},"Hammersmith One":{"weight":["regular"],"fallback":"sans-serif"},"Special Elite":{"weight":["regular"],"fallback":"display"},"Economica":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Staatliches":{"weight":["regular"],"fallback":"display"},"Sriracha":{"weight":["regular"],"fallback":"handwriting"},"Hind Vadodara":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Monoton":{"weight":["regular"],"fallback":"display"},"Ruda":{"weight":["regular","500","600","700","800","900"],"fallback":"sans-serif"},"Advent Pro":{"weight":["100","200","300","regular","500","600","700"],"fallback":"sans-serif"},"Saira":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Homemade Apple":{"weight":["regular"],"fallback":"handwriting"},"Sigmar One":{"weight":["regular"],"fallback":"display"},"Mitr":{"weight":["200","300","regular","500","600","700"],"fallback":"sans-serif"},"Bangers":{"weight":["regular"],"fallback":"display"},"Khand":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Faustina":{"weight":["regular","500","600","700","italic","500italic","600italic","700italic"],"fallback":"serif"},"Saira Semi Condensed":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Cabin Condensed":{"weight":["regular","500","600","700"],"fallback":"sans-serif"},"Gudea":{"weight":["regular","italic","700"],"fallback":"sans-serif"},"Fira Sans Extra Condensed":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"DM Serif Text":{"weight":["regular","italic"],"fallback":"serif"},"El Messiri":{"weight":["regular","500","600","700"],"fallback":"sans-serif"},"Electrolize":{"weight":["regular"],"fallback":"sans-serif"},"Taviraj":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"serif"},"PT Mono":{"weight":["regular"],"fallback":"monospace"},"Gentium Basic":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Space Mono":{"weight":["regular","italic","700","700italic"],"fallback":"monospace"},"Alice":{"weight":["regular"],"fallback":"serif"},"Unica One":{"weight":["regular"],"fallback":"display"},"Ubuntu Mono":{"weight":["regular","italic","700","700italic"],"fallback":"monospace"},"Pragati Narrow":{"weight":["regular","700"],"fallback":"sans-serif"},"Noto Serif TC":{"weight":["200","300","regular","500","600","700","900"],"fallback":"serif"},"Amaranth":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Karma":{"weight":["300","regular","500","600","700"],"fallback":"serif"},"Actor":{"weight":["regular"],"fallback":"sans-serif"},"Nanum Pen Script":{"weight":["regular"],"fallback":"handwriting"},"Noto Serif SC":{"weight":["200","300","regular","500","600","700","900"],"fallback":"serif"},"Tangerine":{"weight":["regular","700"],"fallback":"handwriting"},"Carter One":{"weight":["regular"],"fallback":"display"},"Neucha":{"weight":["regular"],"fallback":"handwriting"},"Unna":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Pontano Sans":{"weight":["regular"],"fallback":"sans-serif"},"Bai Jamjuree":{"weight":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Marck Script":{"weight":["regular"],"fallback":"handwriting"},"BenchNine":{"weight":["300","regular","700"],"fallback":"sans-serif"},"Fugaz One":{"weight":["regular"],"fallback":"display"},"Yeseva One":{"weight":["regular"],"fallback":"display"},"Eczar":{"weight":["regular","500","600","700","800"],"fallback":"serif"},"Bad Script":{"weight":["regular"],"fallback":"handwriting"},"Viga":{"weight":["regular"],"fallback":"sans-serif"},"Gentium Book Basic":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Jura":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Allura":{"weight":["regular"],"fallback":"handwriting"},"Palanquin":{"weight":["100","200","300","regular","500","600","700"],"fallback":"sans-serif"},"Sawarabi Gothic":{"weight":["regular"],"fallback":"sans-serif"},"Rock Salt":{"weight":["regular"],"fallback":"handwriting"},"Lusitana":{"weight":["regular","700"],"fallback":"serif"},"Alef":{"weight":["regular","700"],"fallback":"sans-serif"},"Julius Sans One":{"weight":["regular"],"fallback":"sans-serif"},"Tenor Sans":{"weight":["regular"],"fallback":"sans-serif"},"Nothing You Could Do":{"weight":["regular"],"fallback":"handwriting"},"Cutive Mono":{"weight":["regular"],"fallback":"monospace"},"Khula":{"weight":["300","regular","600","700","800"],"fallback":"sans-serif"},"Adamina":{"weight":["regular"],"fallback":"serif"},"Playball":{"weight":["regular"],"fallback":"display"},"Audiowide":{"weight":["regular"],"fallback":"display"},"Jaldi":{"weight":["regular","700"],"fallback":"sans-serif"},"Black Ops One":{"weight":["regular"],"fallback":"display"},"Signika Negative":{"weight":["300","regular","600","700"],"fallback":"sans-serif"},"Shadows Into Light Two":{"weight":["regular"],"fallback":"handwriting"},"Armata":{"weight":["regular"],"fallback":"sans-serif"},"Mali":{"weight":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"handwriting"},"Antic":{"weight":["regular"],"fallback":"sans-serif"},"Varela":{"weight":["regular"],"fallback":"sans-serif"},"Berkshire Swash":{"weight":["regular"],"fallback":"handwriting"},"Aleo":{"weight":["300","300italic","regular","italic","700","700italic"],"fallback":"serif"},"Gelasio":{"weight":["regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"serif"},"Rufina":{"weight":["regular","700"],"fallback":"serif"},"Markazi Text":{"weight":["regular","500","600","700"],"fallback":"serif"},"Nanum Gothic Coding":{"weight":["regular","700"],"fallback":"monospace"},"Allan":{"weight":["regular","700"],"fallback":"display"},"Noto Serif KR":{"weight":["200","300","regular","500","600","700","900"],"fallback":"serif"},"Abhaya Libre":{"weight":["regular","500","600","700","800"],"fallback":"serif"},"Quantico":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Marcellus":{"weight":["regular"],"fallback":"serif"},"Sorts Mill Goudy":{"weight":["regular","italic"],"fallback":"serif"},"Alata":{"weight":["regular"],"fallback":"sans-serif"},"Knewave":{"weight":["regular"],"fallback":"display"},"Alex Brush":{"weight":["regular"],"fallback":"handwriting"},"Aclonica":{"weight":["regular"],"fallback":"sans-serif"},"Gruppo":{"weight":["regular"],"fallback":"display"},"Damion":{"weight":["regular"],"fallback":"handwriting"},"Itim":{"weight":["regular"],"fallback":"handwriting"},"Bungee":{"weight":["regular"],"fallback":"display"},"Gochi Hand":{"weight":["regular"],"fallback":"handwriting"},"Mr Dafoe":{"weight":["regular"],"fallback":"handwriting"},"Freckle Face":{"weight":["regular"],"fallback":"display"},"Baloo Chettan 2":{"weight":["regular","500","600","700","800"],"fallback":"display"},"Trirong":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"serif"},"Kosugi Maru":{"weight":["regular"],"fallback":"sans-serif"},"Rubik Mono One":{"weight":["regular"],"fallback":"sans-serif"},"Fira Mono":{"weight":["regular","500","700"],"fallback":"monospace"},"Cantata One":{"weight":["regular"],"fallback":"serif"},"Suez One":{"weight":["regular"],"fallback":"serif"},"Niconne":{"weight":["regular"],"fallback":"handwriting"},"Six Caps":{"weight":["regular"],"fallback":"sans-serif"},"Miriam Libre":{"weight":["regular","700"],"fallback":"sans-serif"},"Sarala":{"weight":["regular","700"],"fallback":"sans-serif"},"Sintony":{"weight":["regular","700"],"fallback":"sans-serif"},"Titan One":{"weight":["regular"],"fallback":"display"},"Encode Sans Condensed":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Cousine":{"weight":["regular","italic","700","700italic"],"fallback":"monospace"},"PT Serif Caption":{"weight":["regular","italic"],"fallback":"serif"},"Courier Prime":{"weight":["regular","italic","700","700italic"],"fallback":"monospace"},"Overlock":{"weight":["regular","italic","700","700italic","900","900italic"],"fallback":"display"},"Allerta":{"weight":["regular"],"fallback":"sans-serif"},"Arsenal":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Black Han Sans":{"weight":["regular"],"fallback":"sans-serif"},"Squada One":{"weight":["regular"],"fallback":"display"},"Lateef":{"weight":["regular"],"fallback":"handwriting"},"Arima Madurai":{"weight":["100","200","300","regular","500","700","800","900"],"fallback":"display"},"Ramabhadra":{"weight":["regular"],"fallback":"sans-serif"},"Covered By Your Grace":{"weight":["regular"],"fallback":"handwriting"},"Martel Sans":{"weight":["200","300","regular","600","700","800","900"],"fallback":"sans-serif"},"Rancho":{"weight":["regular"],"fallback":"handwriting"},"Enriqueta":{"weight":["regular","500","600","700"],"fallback":"serif"},"Syncopate":{"weight":["regular","700"],"fallback":"sans-serif"},"Pinyon Script":{"weight":["regular"],"fallback":"handwriting"},"Chewy":{"weight":["regular"],"fallback":"display"},"Oleo Script":{"weight":["regular","700"],"fallback":"display"},"Kreon":{"weight":["300","regular","500","600","700"],"fallback":"serif"},"Candal":{"weight":["regular"],"fallback":"sans-serif"},"Spinnaker":{"weight":["regular"],"fallback":"sans-serif"},"Reem Kufi":{"weight":["regular"],"fallback":"sans-serif"},"Krub":{"weight":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Michroma":{"weight":["regular"],"fallback":"sans-serif"},"Annie Use Your Telescope":{"weight":["regular"],"fallback":"handwriting"},"Lilita One":{"weight":["regular"],"fallback":"display"},"Coda":{"weight":["regular","800"],"fallback":"display"},"Fredericka the Great":{"weight":["regular"],"fallback":"display"},"Mukta Malar":{"weight":["200","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Bowlby One SC":{"weight":["regular"],"fallback":"display"},"Average":{"weight":["regular"],"fallback":"serif"},"Londrina Solid":{"weight":["100","300","regular","900"],"fallback":"display"},"New Tegomin":{"weight":["regular"],"fallback":"serif"},"Glegoo":{"weight":["regular","700"],"fallback":"serif"},"Pridi":{"weight":["200","300","regular","500","600","700"],"fallback":"serif"},"Boogaloo":{"weight":["regular"],"fallback":"display"},"Red Hat Text":{"weight":["regular","italic","500","500italic","700","700italic"],"fallback":"sans-serif"},"Aldrich":{"weight":["regular"],"fallback":"sans-serif"},"Basic":{"weight":["regular"],"fallback":"sans-serif"},"Capriola":{"weight":["regular"],"fallback":"sans-serif"},"Forum":{"weight":["regular"],"fallback":"display"},"Reenie Beanie":{"weight":["regular"],"fallback":"handwriting"},"Laila":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Alegreya Sans SC":{"weight":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Share Tech Mono":{"weight":["regular"],"fallback":"monospace"},"Italianno":{"weight":["regular"],"fallback":"handwriting"},"Lalezar":{"weight":["regular"],"fallback":"display"},"Lexend Deca":{"weight":["regular"],"fallback":"sans-serif"},"Caveat Brush":{"weight":["regular"],"fallback":"handwriting"},"Shrikhand":{"weight":["regular"],"fallback":"display"},"Creepster":{"weight":["regular"],"fallback":"display"},"Kameron":{"weight":["regular","700"],"fallback":"serif"},"Coda Caption":{"weight":["800"],"fallback":"sans-serif"},"Goudy Bookletter 1911":{"weight":["regular"],"fallback":"serif"},"Coming Soon":{"weight":["regular"],"fallback":"handwriting"},"Saira Extra Condensed":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Yrsa":{"weight":["300","regular","500","600","700"],"fallback":"serif"},"Telex":{"weight":["regular"],"fallback":"sans-serif"},"Bevan":{"weight":["regular"],"fallback":"display"},"Voltaire":{"weight":["regular"],"fallback":"sans-serif"},"Days One":{"weight":["regular"],"fallback":"sans-serif"},"Cabin Sketch":{"weight":["regular","700"],"fallback":"display"},"Norican":{"weight":["regular"],"fallback":"handwriting"},"Rambla":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Mukta Vaani":{"weight":["200","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Average Sans":{"weight":["regular"],"fallback":"sans-serif"},"Arbutus Slab":{"weight":["regular"],"fallback":"serif"},"Sansita":{"weight":["regular","italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Mada":{"weight":["200","300","regular","500","600","700","900"],"fallback":"sans-serif"},"Just Another Hand":{"weight":["regular"],"fallback":"handwriting"},"Nobile":{"weight":["regular","italic","500","500italic","700","700italic"],"fallback":"sans-serif"},"Gilda Display":{"weight":["regular"],"fallback":"serif"},"VT323":{"weight":["regular"],"fallback":"monospace"},"Mandali":{"weight":["regular"],"fallback":"sans-serif"},"Caudex":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Anonymous Pro":{"weight":["regular","italic","700","700italic"],"fallback":"monospace"},"Bentham":{"weight":["regular"],"fallback":"serif"},"Overpass Mono":{"weight":["300","regular","600","700"],"fallback":"monospace"},"Sen":{"weight":["regular","700","800"],"fallback":"sans-serif"},"Kadwa":{"weight":["regular","700"],"fallback":"serif"},"Cambay":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Yesteryear":{"weight":["regular"],"fallback":"handwriting"},"Molengo":{"weight":["regular"],"fallback":"sans-serif"},"Nixie One":{"weight":["regular"],"fallback":"display"},"Scada":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Crimson Pro":{"weight":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"Arizonia":{"weight":["regular"],"fallback":"handwriting"},"Racing Sans One":{"weight":["regular"],"fallback":"display"},"Scheherazade":{"weight":["regular","700"],"fallback":"serif"},"Seaweed Script":{"weight":["regular"],"fallback":"display"},"Belleza":{"weight":["regular"],"fallback":"sans-serif"},"Harmattan":{"weight":["regular","700"],"fallback":"sans-serif"},"Leckerli One":{"weight":["regular"],"fallback":"handwriting"},"Ovo":{"weight":["regular"],"fallback":"serif"},"Merienda One":{"weight":["regular"],"fallback":"handwriting"},"Holtwood One SC":{"weight":["regular"],"fallback":"serif"},"Cinzel Decorative":{"weight":["regular","700","900"],"fallback":"display"},"Literata":{"weight":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"Mrs Saint Delafield":{"weight":["regular"],"fallback":"handwriting"},"Schoolbell":{"weight":["regular"],"fallback":"handwriting"},"Bungee Inline":{"weight":["regular"],"fallback":"display"},"Herr Von Muellerhoff":{"weight":["regular"],"fallback":"handwriting"},"Oranienbaum":{"weight":["regular"],"fallback":"serif"},"Baloo Tamma 2":{"weight":["regular","500","600","700","800"],"fallback":"display"},"Sniglet":{"weight":["regular","800"],"fallback":"display"},"Bubblegum Sans":{"weight":["regular"],"fallback":"display"},"Rochester":{"weight":["regular"],"fallback":"handwriting"},"Judson":{"weight":["regular","italic","700"],"fallback":"serif"},"Marcellus SC":{"weight":["regular"],"fallback":"serif"},"Darker Grotesque":{"weight":["300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Changa One":{"weight":["regular","italic"],"fallback":"display"},"Alegreya SC":{"weight":["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"fallback":"serif"},"Pattaya":{"weight":["regular"],"fallback":"sans-serif"},"Mallanna":{"weight":["regular"],"fallback":"sans-serif"},"Share":{"weight":["regular","italic","700","700italic"],"fallback":"display"},"Podkova":{"weight":["regular","500","600","700","800"],"fallback":"serif"},"Allerta Stencil":{"weight":["regular"],"fallback":"sans-serif"},"Charm":{"weight":["regular","700"],"fallback":"handwriting"},"Niramit":{"weight":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Halant":{"weight":["300","regular","500","600","700"],"fallback":"serif"},"Graduate":{"weight":["regular"],"fallback":"display"},"Nanum Brush Script":{"weight":["regular"],"fallback":"handwriting"},"Amita":{"weight":["regular","700"],"fallback":"handwriting"},"Rozha One":{"weight":["regular"],"fallback":"serif"},"Kristi":{"weight":["regular"],"fallback":"handwriting"},"Biryani":{"weight":["200","300","regular","600","700","800","900"],"fallback":"sans-serif"},"Lustria":{"weight":["regular"],"fallback":"serif"},"Delius":{"weight":["regular"],"fallback":"handwriting"},"Suranna":{"weight":["regular"],"fallback":"serif"},"Amethysta":{"weight":["regular"],"fallback":"serif"},"Contrail One":{"weight":["regular"],"fallback":"display"},"Averia Serif Libre":{"weight":["300","300italic","regular","italic","700","700italic"],"fallback":"display"},"Do Hyeon":{"weight":["regular"],"fallback":"sans-serif"},"IBM Plex Sans Condensed":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Marvel":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Rye":{"weight":["regular"],"fallback":"display"},"Fauna One":{"weight":["regular"],"fallback":"serif"},"Corben":{"weight":["regular","700"],"fallback":"display"},"Cedarville Cursive":{"weight":["regular"],"fallback":"handwriting"},"Jockey One":{"weight":["regular"],"fallback":"sans-serif"},"Libre Caslon Text":{"weight":["regular","italic","700"],"fallback":"serif"},"Carrois Gothic":{"weight":["regular"],"fallback":"sans-serif"},"Calligraffitti":{"weight":["regular"],"fallback":"handwriting"},"Trocchi":{"weight":["regular"],"fallback":"serif"},"Spectral SC":{"weight":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"fallback":"serif"},"Coustard":{"weight":["regular","900"],"fallback":"serif"},"Copse":{"weight":["regular"],"fallback":"serif"},"Athiti":{"weight":["200","300","regular","500","600","700"],"fallback":"sans-serif"},"Carme":{"weight":["regular"],"fallback":"sans-serif"},"Rosario":{"weight":["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],"fallback":"sans-serif"},"Limelight":{"weight":["regular"],"fallback":"display"},"Jua":{"weight":["regular"],"fallback":"sans-serif"},"Petit Formal Script":{"weight":["regular"],"fallback":"handwriting"},"Love Ya Like A Sister":{"weight":["regular"],"fallback":"display"},"GFS Didot":{"weight":["regular"],"fallback":"serif"},"Aladin":{"weight":["regular"],"fallback":"handwriting"},"Palanquin Dark":{"weight":["regular","500","600","700"],"fallback":"sans-serif"},"Amiko":{"weight":["regular","600","700"],"fallback":"sans-serif"},"Cormorant Infant":{"weight":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"serif"},"Wallpoet":{"weight":["regular"],"fallback":"display"},"Magra":{"weight":["regular","700"],"fallback":"sans-serif"},"Grand Hotel":{"weight":["regular"],"fallback":"handwriting"},"Sunflower":{"weight":["300","500","700"],"fallback":"sans-serif"},"Big Shoulders Display":{"weight":["100","300","regular","500","600","700","800","900"],"fallback":"display"},"Slabo 13px":{"weight":["regular"],"fallback":"serif"},"Pangolin":{"weight":["regular"],"fallback":"handwriting"},"Mr De Haviland":{"weight":["regular"],"fallback":"handwriting"},"K2D":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"fallback":"sans-serif"},"Marmelad":{"weight":["regular"],"fallback":"sans-serif"},"Thasadith":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"La Belle Aurore":{"weight":["regular"],"fallback":"handwriting"},"Hanuman":{"weight":["regular","700"],"fallback":"serif"},"Metrophobic":{"weight":["regular"],"fallback":"sans-serif"},"Epilogue":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Radley":{"weight":["regular","italic"],"fallback":"serif"},"Poly":{"weight":["regular","italic"],"fallback":"serif"},"Commissioner":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Averia Libre":{"weight":["300","300italic","regular","italic","700","700italic"],"fallback":"display"},"IM Fell Double Pica":{"weight":["regular","italic"],"fallback":"serif"},"Comic Neue":{"weight":["300","300italic","regular","italic","700","700italic"],"fallback":"handwriting"},"Baskervville":{"weight":["regular","italic"],"fallback":"serif"},"Kelly Slab":{"weight":["regular"],"fallback":"display"},"Oxygen Mono":{"weight":["regular"],"fallback":"monospace"},"Maitree":{"weight":["200","300","regular","500","600","700"],"fallback":"serif"},"Buenard":{"weight":["regular","700"],"fallback":"serif"},"Duru Sans":{"weight":["regular"],"fallback":"sans-serif"},"Baloo Da 2":{"weight":["regular","500","600","700","800"],"fallback":"display"},"Grandstander":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"display"},"Balthazar":{"weight":["regular"],"fallback":"serif"},"ZCOOL XiaoWei":{"weight":["regular"],"fallback":"serif"},"Cutive":{"weight":["regular"],"fallback":"serif"},"Antic Didone":{"weight":["regular"],"fallback":"serif"},"Waiting for the Sunrise":{"weight":["regular"],"fallback":"handwriting"},"B612 Mono":{"weight":["regular","italic","700","700italic"],"fallback":"monospace"},"Chonburi":{"weight":["regular"],"fallback":"display"},"Montaga":{"weight":["regular"],"fallback":"serif"},"UnifrakturMaguntia":{"weight":["regular"],"fallback":"display"},"Kosugi":{"weight":["regular"],"fallback":"sans-serif"},"Gravitas One":{"weight":["regular"],"fallback":"display"},"Mirza":{"weight":["regular","500","600","700"],"fallback":"display"},"Manjari":{"weight":["100","regular","700"],"fallback":"sans-serif"},"Alike":{"weight":["regular"],"fallback":"serif"},"Lekton":{"weight":["regular","italic","700"],"fallback":"sans-serif"},"Sora":{"weight":["100","200","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Gabriela":{"weight":["regular"],"fallback":"serif"},"Lemon":{"weight":["regular"],"fallback":"display"},"Esteban":{"weight":["regular"],"fallback":"serif"},"Alatsi":{"weight":["regular"],"fallback":"sans-serif"},"Turret Road":{"weight":["200","300","regular","500","700","800"],"fallback":"display"},"Monsieur La Doulaise":{"weight":["regular"],"fallback":"handwriting"},"Pompiere":{"weight":["regular"],"fallback":"display"},"Cormorant SC":{"weight":["300","regular","500","600","700"],"fallback":"serif"},"Kurale":{"weight":["regular"],"fallback":"serif"},"Frijole":{"weight":["regular"],"fallback":"display"},"Rammetto One":{"weight":["regular"],"fallback":"display"},"Chelsea Market":{"weight":["regular"],"fallback":"display"},"Megrim":{"weight":["regular"],"fallback":"display"},"IM Fell English":{"weight":["regular","italic"],"fallback":"serif"},"Oregano":{"weight":["regular","italic"],"fallback":"display"},"Andada":{"weight":["regular"],"fallback":"serif"},"Mate":{"weight":["regular","italic"],"fallback":"serif"},"Convergence":{"weight":["regular"],"fallback":"sans-serif"},"Rouge Script":{"weight":["regular"],"fallback":"handwriting"},"Bowlby One":{"weight":["regular"],"fallback":"display"},"Emilys Candy":{"weight":["regular"],"fallback":"display"},"Wendy One":{"weight":["regular"],"fallback":"sans-serif"},"Fira Code":{"weight":["300","regular","500","600","700"],"fallback":"monospace"},"Dawning of a New Day":{"weight":["regular"],"fallback":"handwriting"},"Sue Ellen Francisco":{"weight":["regular"],"fallback":"handwriting"},"Gurajada":{"weight":["regular"],"fallback":"serif"},"David Libre":{"weight":["regular","500","700"],"fallback":"serif"},"Sofia":{"weight":["regular"],"fallback":"handwriting"},"Short Stack":{"weight":["regular"],"fallback":"handwriting"},"Chau Philomene One":{"weight":["regular","italic"],"fallback":"sans-serif"},"Bellefair":{"weight":["regular"],"fallback":"serif"},"Belgrano":{"weight":["regular"],"fallback":"serif"},"Expletus Sans":{"weight":["regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"display"},"Original Surfer":{"weight":["regular"],"fallback":"display"},"Doppio One":{"weight":["regular"],"fallback":"sans-serif"},"Be Vietnam":{"weight":["100","100italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"fallback":"sans-serif"},"Sail":{"weight":["regular"],"fallback":"display"},"Inder":{"weight":["regular"],"fallback":"sans-serif"},"Give You Glory":{"weight":["regular"],"fallback":"handwriting"},"IM Fell DW Pica":{"weight":["regular","italic"],"fallback":"serif"},"McLaren":{"weight":["regular"],"fallback":"display"},"Encode Sans Semi Condensed":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Bungee Shade":{"weight":["regular"],"fallback":"display"},"Baumans":{"weight":["regular"],"fallback":"display"},"Brawler":{"weight":["regular"],"fallback":"serif"},"Tenali Ramakrishna":{"weight":["regular"],"fallback":"sans-serif"},"Ceviche One":{"weight":["regular"],"fallback":"display"},"B612":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Zeyada":{"weight":["regular"],"fallback":"handwriting"},"Mountains of Christmas":{"weight":["regular","700"],"fallback":"display"},"Sedgwick Ave":{"weight":["regular"],"fallback":"handwriting"},"Gugi":{"weight":["regular"],"fallback":"display"},"Oleo Script Swash Caps":{"weight":["regular","700"],"fallback":"display"},"Skranji":{"weight":["regular","700"],"fallback":"display"},"Meddon":{"weight":["regular"],"fallback":"handwriting"},"NTR":{"weight":["regular"],"fallback":"sans-serif"},"Finger Paint":{"weight":["regular"],"fallback":"display"},"Blinker":{"weight":["100","200","300","regular","600","700","800","900"],"fallback":"sans-serif"},"Fanwood Text":{"weight":["regular","italic"],"fallback":"serif"},"Grenze Gotisch":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"display"},"Hepta Slab":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"serif"},"Anaheim":{"weight":["regular"],"fallback":"sans-serif"},"Major Mono Display":{"weight":["regular"],"fallback":"monospace"},"Quando":{"weight":["regular"],"fallback":"serif"},"Andika":{"weight":["regular"],"fallback":"sans-serif"},"Qwigley":{"weight":["regular"],"fallback":"handwriting"},"Vast Shadow":{"weight":["regular"],"fallback":"display"},"Happy Monkey":{"weight":["regular"],"fallback":"display"},"Montez":{"weight":["regular"],"fallback":"handwriting"},"Proza Libre":{"weight":["regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"fallback":"sans-serif"},"Homenaje":{"weight":["regular"],"fallback":"sans-serif"},"Ma Shan Zheng":{"weight":["regular"],"fallback":"handwriting"},"Loved by the King":{"weight":["regular"],"fallback":"handwriting"},"Trade Winds":{"weight":["regular"],"fallback":"display"},"Stardos Stencil":{"weight":["regular","700"],"fallback":"display"},"Raleway Dots":{"weight":["regular"],"fallback":"display"},"Libre Barcode 39":{"weight":["regular"],"fallback":"display"},"Recursive":{"weight":["300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Numans":{"weight":["regular"],"fallback":"sans-serif"},"RocknRoll One":{"weight":["regular"],"fallback":"sans-serif"},"Rakkas":{"weight":["regular"],"fallback":"display"},"Mouse Memoirs":{"weight":["regular"],"fallback":"sans-serif"},"BioRhyme":{"weight":["200","300","regular","700","800"],"fallback":"serif"},"Ranchers":{"weight":["regular"],"fallback":"display"},"Patrick Hand SC":{"weight":["regular"],"fallback":"handwriting"},"Codystar":{"weight":["300","regular"],"fallback":"display"},"Rasa":{"weight":["300","regular","500","600","700"],"fallback":"serif"},"Meera Inimai":{"weight":["regular"],"fallback":"sans-serif"},"Clicker Script":{"weight":["regular"],"fallback":"handwriting"},"DM Mono":{"weight":["300","300italic","regular","italic","500","500italic"],"fallback":"monospace"},"Gaegu":{"weight":["300","regular","700"],"fallback":"handwriting"},"Aguafina Script":{"weight":["regular"],"fallback":"handwriting"},"Unkempt":{"weight":["regular","700"],"fallback":"display"},"Over the Rainbow":{"weight":["regular"],"fallback":"handwriting"},"Fondamento":{"weight":["regular","italic"],"fallback":"handwriting"},"Battambang":{"weight":["regular","700"],"fallback":"display"},"Cambo":{"weight":["regular"],"fallback":"serif"},"Crafty Girls":{"weight":["regular"],"fallback":"handwriting"},"Nova Mono":{"weight":["regular"],"fallback":"monospace"},"Tillana":{"weight":["regular","500","600","700","800"],"fallback":"handwriting"},"Alike Angular":{"weight":["regular"],"fallback":"serif"},"Kumbh Sans":{"weight":["300","regular","700"],"fallback":"sans-serif"},"Katibeh":{"weight":["regular"],"fallback":"display"},"Sarpanch":{"weight":["regular","500","600","700","800","900"],"fallback":"sans-serif"},"Antonio":{"weight":["100","200","300","regular","500","600","700"],"fallback":"sans-serif"},"Mansalva":{"weight":["regular"],"fallback":"handwriting"},"Faster One":{"weight":["regular"],"fallback":"display"},"Federo":{"weight":["regular"],"fallback":"sans-serif"},"Dokdo":{"weight":["regular"],"fallback":"handwriting"},"Hi Melody":{"weight":["regular"],"fallback":"handwriting"},"Euphoria Script":{"weight":["regular"],"fallback":"handwriting"},"Orienta":{"weight":["regular"],"fallback":"sans-serif"},"Space Grotesk":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Galada":{"weight":["regular"],"fallback":"display"},"Timmana":{"weight":["regular"],"fallback":"sans-serif"},"JetBrains Mono":{"weight":["100","200","300","regular","500","600","700","800","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic"],"fallback":"monospace"},"Baloo Thambi 2":{"weight":["regular","500","600","700","800"],"fallback":"display"},"Averia Sans Libre":{"weight":["300","300italic","regular","italic","700","700italic"],"fallback":"display"},"UnifrakturCook":{"weight":["700"],"fallback":"display"},"Tauri":{"weight":["regular"],"fallback":"sans-serif"},"Share Tech":{"weight":["regular"],"fallback":"sans-serif"},"Walter Turncoat":{"weight":["regular"],"fallback":"handwriting"},"Geo":{"weight":["regular","italic"],"fallback":"sans-serif"},"Atma":{"weight":["300","regular","500","600","700"],"fallback":"display"},"Almendra":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Jomhuria":{"weight":["regular"],"fallback":"display"},"Strait":{"weight":["regular"],"fallback":"sans-serif"},"Encode Sans Expanded":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Metamorphous":{"weight":["regular"],"fallback":"display"},"Iceland":{"weight":["regular"],"fallback":"display"},"Ledger":{"weight":["regular"],"fallback":"serif"},"Poller One":{"weight":["regular"],"fallback":"display"},"Vollkorn SC":{"weight":["regular","600","700","900"],"fallback":"serif"},"Vesper Libre":{"weight":["regular","500","700","900"],"fallback":"serif"},"Aref Ruqaa":{"weight":["regular","700"],"fallback":"serif"},"Livvic":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","900","900italic"],"fallback":"sans-serif"},"Caladea":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Montserrat Subrayada":{"weight":["regular","700"],"fallback":"sans-serif"},"Vampiro One":{"weight":["regular"],"fallback":"display"},"Farro":{"weight":["300","regular","500","700"],"fallback":"sans-serif"},"New Rocker":{"weight":["regular"],"fallback":"display"},"Delius Swash Caps":{"weight":["regular"],"fallback":"handwriting"},"Calistoga":{"weight":["regular"],"fallback":"display"},"Carrois Gothic SC":{"weight":["regular"],"fallback":"sans-serif"},"Italiana":{"weight":["regular"],"fallback":"serif"},"Inknut Antiqua":{"weight":["300","regular","500","600","700","800","900"],"fallback":"serif"},"Life Savers":{"weight":["regular","700","800"],"fallback":"display"},"Imprima":{"weight":["regular"],"fallback":"sans-serif"},"Mako":{"weight":["regular"],"fallback":"sans-serif"},"Lily Script One":{"weight":["regular"],"fallback":"display"},"Bilbo Swash Caps":{"weight":["regular"],"fallback":"handwriting"},"IM Fell English SC":{"weight":["regular"],"fallback":"serif"},"Red Rose":{"weight":["300","regular","500","600","700"],"fallback":"display"},"Shojumaru":{"weight":["regular"],"fallback":"display"},"Prosto One":{"weight":["regular"],"fallback":"display"},"Bodoni Moda":{"weight":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"Mukta Mahee":{"weight":["200","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Bubbler One":{"weight":["regular"],"fallback":"sans-serif"},"The Girl Next Door":{"weight":["regular"],"fallback":"handwriting"},"Artifika":{"weight":["regular"],"fallback":"serif"},"Cantora One":{"weight":["regular"],"fallback":"sans-serif"},"Scope One":{"weight":["regular"],"fallback":"serif"},"Yusei Magic":{"weight":["regular"],"fallback":"sans-serif"},"Oxanium":{"weight":["200","300","regular","500","600","700","800"],"fallback":"display"},"Tienne":{"weight":["regular","700","900"],"fallback":"serif"},"Salsa":{"weight":["regular"],"fallback":"display"},"Flamenco":{"weight":["300","regular"],"fallback":"display"},"Port Lligat Sans":{"weight":["regular"],"fallback":"sans-serif"},"Denk One":{"weight":["regular"],"fallback":"sans-serif"},"Fontdiner Swanky":{"weight":["regular"],"fallback":"display"},"Nova Round":{"weight":["regular"],"fallback":"display"},"Gafata":{"weight":["regular"],"fallback":"sans-serif"},"Cormorant Upright":{"weight":["300","regular","500","600","700"],"fallback":"serif"},"Cherry Cream Soda":{"weight":["regular"],"fallback":"display"},"Asul":{"weight":["regular","700"],"fallback":"sans-serif"},"Big Shoulders Text":{"weight":["100","300","regular","500","600","700","800","900"],"fallback":"display"},"Voces":{"weight":["regular"],"fallback":"display"},"Dynalight":{"weight":["regular"],"fallback":"display"},"Peralta":{"weight":["regular"],"fallback":"display"},"Mina":{"weight":["regular","700"],"fallback":"sans-serif"},"Headland One":{"weight":["regular"],"fallback":"serif"},"Medula One":{"weight":["regular"],"fallback":"display"},"Englebert":{"weight":["regular"],"fallback":"sans-serif"},"Nova Square":{"weight":["regular"],"fallback":"display"},"Delius Unicase":{"weight":["regular","700"],"fallback":"handwriting"},"Sumana":{"weight":["regular","700"],"fallback":"serif"},"Bilbo":{"weight":["regular"],"fallback":"handwriting"},"Engagement":{"weight":["regular"],"fallback":"handwriting"},"ZCOOL QingKe HuangYou":{"weight":["regular"],"fallback":"display"},"Fresca":{"weight":["regular"],"fallback":"sans-serif"},"Ranga":{"weight":["regular","700"],"fallback":"display"},"Orelega One":{"weight":["regular"],"fallback":"display"},"Zen Dots":{"weight":["regular"],"fallback":"display"},"Shippori Mincho":{"weight":["regular","500","600","700","800"],"fallback":"serif"},"Henny Penny":{"weight":["regular"],"fallback":"display"},"Della Respira":{"weight":["regular"],"fallback":"serif"},"Cherry Swash":{"weight":["regular","700"],"fallback":"display"},"Notable":{"weight":["regular"],"fallback":"sans-serif"},"Arya":{"weight":["regular","700"],"fallback":"sans-serif"},"Slackey":{"weight":["regular"],"fallback":"display"},"Vibur":{"weight":["regular"],"fallback":"handwriting"},"Coiny":{"weight":["regular"],"fallback":"display"},"Lexend Zetta":{"weight":["regular"],"fallback":"sans-serif"},"Elsie":{"weight":["regular","900"],"fallback":"display"},"Fjord One":{"weight":["regular"],"fallback":"serif"},"Puritan":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Just Me Again Down Here":{"weight":["regular"],"fallback":"handwriting"},"Khmer":{"weight":["regular"],"fallback":"display"},"Girassol":{"weight":["regular"],"fallback":"display"},"Bellota Text":{"weight":["300","300italic","regular","italic","700","700italic"],"fallback":"display"},"Yatra One":{"weight":["regular"],"fallback":"display"},"Stalemate":{"weight":["regular"],"fallback":"handwriting"},"Wire One":{"weight":["regular"],"fallback":"sans-serif"},"Spicy Rice":{"weight":["regular"],"fallback":"display"},"Saira Stencil One":{"weight":["regular"],"fallback":"display"},"Kite One":{"weight":["regular"],"fallback":"sans-serif"},"Port Lligat Slab":{"weight":["regular"],"fallback":"serif"},"Baloo Bhaina 2":{"weight":["regular","500","600","700","800"],"fallback":"display"},"Pavanam":{"weight":["regular"],"fallback":"sans-serif"},"Eater":{"weight":["regular"],"fallback":"display"},"Text Me One":{"weight":["regular"],"fallback":"sans-serif"},"Ribeye":{"weight":["regular"],"fallback":"display"},"Pirata One":{"weight":["regular"],"fallback":"display"},"Amarante":{"weight":["regular"],"fallback":"display"},"Milonga":{"weight":["regular"],"fallback":"display"},"Habibi":{"weight":["regular"],"fallback":"serif"},"Ruslan Display":{"weight":["regular"],"fallback":"display"},"Encode Sans Semi Expanded":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Nokora":{"weight":["regular","700"],"fallback":"serif"},"Rowdies":{"weight":["300","regular","700"],"fallback":"display"},"Kranky":{"weight":["regular"],"fallback":"display"},"Bigelow Rules":{"weight":["regular"],"fallback":"display"},"League Script":{"weight":["regular"],"fallback":"handwriting"},"Swanky and Moo Moo":{"weight":["regular"],"fallback":"handwriting"},"Karantina":{"weight":["300","regular","700"],"fallback":"display"},"Lovers Quarrel":{"weight":["regular"],"fallback":"handwriting"},"Mate SC":{"weight":["regular"],"fallback":"serif"},"Manuale":{"weight":["regular","500","600","700","italic","500italic","600italic","700italic"],"fallback":"serif"},"Germania One":{"weight":["regular"],"fallback":"display"},"Sura":{"weight":["regular","700"],"fallback":"serif"},"Sarina":{"weight":["regular"],"fallback":"display"},"Macondo Swash Caps":{"weight":["regular"],"fallback":"display"},"Kotta One":{"weight":["regular"],"fallback":"serif"},"IM Fell French Canon SC":{"weight":["regular"],"fallback":"serif"},"Julee":{"weight":["regular"],"fallback":"handwriting"},"Charmonman":{"weight":["regular","700"],"fallback":"handwriting"},"Shanti":{"weight":["regular"],"fallback":"sans-serif"},"Gamja Flower":{"weight":["regular"],"fallback":"handwriting"},"Averia Gruesa Libre":{"weight":["regular"],"fallback":"display"},"Stint Ultra Expanded":{"weight":["regular"],"fallback":"display"},"Uncial Antiqua":{"weight":["regular"],"fallback":"display"},"Mystery Quest":{"weight":["regular"],"fallback":"display"},"Goldman":{"weight":["regular","700"],"fallback":"display"},"Paprika":{"weight":["regular"],"fallback":"display"},"IM Fell French Canon":{"weight":["regular","italic"],"fallback":"serif"},"Prociono":{"weight":["regular"],"fallback":"serif"},"Kodchasan":{"weight":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Libre Barcode 39 Text":{"weight":["regular"],"fallback":"display"},"Quintessential":{"weight":["regular"],"fallback":"handwriting"},"Moul":{"weight":["regular"],"fallback":"display"},"Libre Barcode 128":{"weight":["regular"],"fallback":"display"},"Ramaraja":{"weight":["regular"],"fallback":"serif"},"Modak":{"weight":["regular"],"fallback":"display"},"Song Myung":{"weight":["regular"],"fallback":"serif"},"East Sea Dokdo":{"weight":["regular"],"fallback":"handwriting"},"Crushed":{"weight":["regular"],"fallback":"display"},"Dekko":{"weight":["regular"],"fallback":"handwriting"},"Chilanka":{"weight":["regular"],"fallback":"handwriting"},"Hanalei Fill":{"weight":["regular"],"fallback":"display"},"Mogra":{"weight":["regular"],"fallback":"display"},"Baloo Tammudu 2":{"weight":["regular","500","600","700","800"],"fallback":"display"},"Baloo Bhai 2":{"weight":["regular","500","600","700","800"],"fallback":"display"},"Libre Barcode 39 Extended Text":{"weight":["regular"],"fallback":"display"},"Rosarivo":{"weight":["regular","italic"],"fallback":"serif"},"KoHo":{"weight":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Offside":{"weight":["regular"],"fallback":"display"},"Reggae One":{"weight":["regular"],"fallback":"display"},"Syne":{"weight":["regular","500","600","700","800"],"fallback":"sans-serif"},"Zilla Slab Highlight":{"weight":["regular","700"],"fallback":"display"},"Donegal One":{"weight":["regular"],"fallback":"serif"},"Bellota":{"weight":["300","300italic","regular","italic","700","700italic"],"fallback":"display"},"Stoke":{"weight":["300","regular"],"fallback":"serif"},"Cormorant Unicase":{"weight":["300","regular","500","600","700"],"fallback":"serif"},"Cagliostro":{"weight":["regular"],"fallback":"sans-serif"},"Rationale":{"weight":["regular"],"fallback":"sans-serif"},"Margarine":{"weight":["regular"],"fallback":"display"},"Sancreek":{"weight":["regular"],"fallback":"display"},"Inria Serif":{"weight":["300","300italic","regular","italic","700","700italic"],"fallback":"serif"},"Overlock SC":{"weight":["regular"],"fallback":"display"},"Nosifer":{"weight":["regular"],"fallback":"display"},"Libre Barcode EAN13 Text":{"weight":["regular"],"fallback":"display"},"Yeon Sung":{"weight":["regular"],"fallback":"display"},"Ruluko":{"weight":["regular"],"fallback":"sans-serif"},"Simonetta":{"weight":["regular","italic","900","900italic"],"fallback":"display"},"Lakki Reddy":{"weight":["regular"],"fallback":"handwriting"},"Baloo Paaji 2":{"weight":["regular","500","600","700","800"],"fallback":"display"},"Chango":{"weight":["regular"],"fallback":"display"},"Galdeano":{"weight":["regular"],"fallback":"sans-serif"},"Fahkwang":{"weight":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Elsie Swash Caps":{"weight":["regular","900"],"fallback":"display"},"Buda":{"weight":["300"],"fallback":"display"},"Condiment":{"weight":["regular"],"fallback":"handwriting"},"Barrio":{"weight":["regular"],"fallback":"display"},"Chicle":{"weight":["regular"],"fallback":"display"},"Angkor":{"weight":["regular"],"fallback":"display"},"Akronim":{"weight":["regular"],"fallback":"display"},"Tomorrow":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Sonsie One":{"weight":["regular"],"fallback":"display"},"Kumar One":{"weight":["regular"],"fallback":"display"},"Autour One":{"weight":["regular"],"fallback":"display"},"Libre Caslon Display":{"weight":["regular"],"fallback":"serif"},"Farsan":{"weight":["regular"],"fallback":"display"},"Fenix":{"weight":["regular"],"fallback":"serif"},"Solway":{"weight":["300","regular","500","700","800"],"fallback":"serif"},"Kulim Park":{"weight":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Stint Ultra Condensed":{"weight":["regular"],"fallback":"display"},"Metal":{"weight":["regular"],"fallback":"display"},"Rum Raisin":{"weight":["regular"],"fallback":"sans-serif"},"Redressed":{"weight":["regular"],"fallback":"handwriting"},"Tulpen One":{"weight":["regular"],"fallback":"display"},"Petrona":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"Marko One":{"weight":["regular"],"fallback":"serif"},"Asar":{"weight":["regular"],"fallback":"serif"},"Nova Flat":{"weight":["regular"],"fallback":"display"},"Koulen":{"weight":["regular"],"fallback":"display"},"Lexend Exa":{"weight":["regular"],"fallback":"sans-serif"},"Londrina Outline":{"weight":["regular"],"fallback":"display"},"Cute Font":{"weight":["regular"],"fallback":"display"},"IM Fell Great Primer":{"weight":["regular","italic"],"fallback":"serif"},"Junge":{"weight":["regular"],"fallback":"serif"},"Stylish":{"weight":["regular"],"fallback":"sans-serif"},"Lexend":{"weight":["100","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Spirax":{"weight":["regular"],"fallback":"display"},"Piazzolla":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"Piedra":{"weight":["regular"],"fallback":"display"},"Ribeye Marrow":{"weight":["regular"],"fallback":"display"},"Dorsa":{"weight":["regular"],"fallback":"sans-serif"},"Ibarra Real Nova":{"weight":["regular","500","600","700","italic","500italic","600italic","700italic"],"fallback":"serif"},"IM Fell DW Pica SC":{"weight":["regular"],"fallback":"serif"},"Wellfleet":{"weight":["regular"],"fallback":"display"},"Eagle Lake":{"weight":["regular"],"fallback":"handwriting"},"Meie Script":{"weight":["regular"],"fallback":"handwriting"},"Goblin One":{"weight":["regular"],"fallback":"display"},"Flavors":{"weight":["regular"],"fallback":"display"},"Gotu":{"weight":["regular"],"fallback":"sans-serif"},"Linden Hill":{"weight":["regular","italic"],"fallback":"serif"},"Chathura":{"weight":["100","300","regular","700","800"],"fallback":"sans-serif"},"Croissant One":{"weight":["regular"],"fallback":"display"},"Jomolhari":{"weight":["regular"],"fallback":"serif"},"Srisakdi":{"weight":["regular","700"],"fallback":"display"},"Modern Antiqua":{"weight":["regular"],"fallback":"display"},"Joti One":{"weight":["regular"],"fallback":"display"},"Kavoon":{"weight":["regular"],"fallback":"display"},"Sulphur Point":{"weight":["300","regular","700"],"fallback":"sans-serif"},"Castoro":{"weight":["regular","italic"],"fallback":"serif"},"Chela One":{"weight":["regular"],"fallback":"display"},"Atomic Age":{"weight":["regular"],"fallback":"display"},"Maiden Orange":{"weight":["regular"],"fallback":"display"},"Ruthie":{"weight":["regular"],"fallback":"handwriting"},"Bayon":{"weight":["regular"],"fallback":"display"},"Potta One":{"weight":["regular"],"fallback":"display"},"Iceberg":{"weight":["regular"],"fallback":"display"},"Bigshot One":{"weight":["regular"],"fallback":"display"},"Gorditas":{"weight":["regular","700"],"fallback":"display"},"Sree Krushnadevaraya":{"weight":["regular"],"fallback":"serif"},"Trykker":{"weight":["regular"],"fallback":"serif"},"Kufam":{"weight":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"display"},"Diplomata SC":{"weight":["regular"],"fallback":"display"},"Poor Story":{"weight":["regular"],"fallback":"display"},"Sirin Stencil":{"weight":["regular"],"fallback":"display"},"Kavivanar":{"weight":["regular"],"fallback":"handwriting"},"Syne Mono":{"weight":["regular"],"fallback":"monospace"},"Metal Mania":{"weight":["regular"],"fallback":"display"},"Arbutus":{"weight":["regular"],"fallback":"display"},"Unlock":{"weight":["regular"],"fallback":"display"},"MuseoModerno":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"display"},"Glass Antiqua":{"weight":["regular"],"fallback":"display"},"Miniver":{"weight":["regular"],"fallback":"display"},"Griffy":{"weight":["regular"],"fallback":"display"},"Bokor":{"weight":["regular"],"fallback":"display"},"Felipa":{"weight":["regular"],"fallback":"handwriting"},"Inika":{"weight":["regular","700"],"fallback":"serif"},"Princess Sofia":{"weight":["regular"],"fallback":"handwriting"},"Mrs Sheppards":{"weight":["regular"],"fallback":"handwriting"},"Monofett":{"weight":["regular"],"fallback":"display"},"Sahitya":{"weight":["regular","700"],"fallback":"serif"},"Dela Gothic One":{"weight":["regular"],"fallback":"display"},"Shippori Mincho B1":{"weight":["regular","500","600","700","800"],"fallback":"serif"},"Beth Ellen":{"weight":["regular"],"fallback":"handwriting"},"Lancelot":{"weight":["regular"],"fallback":"display"},"Rhodium Libre":{"weight":["regular"],"fallback":"serif"},"Fraunces":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"Hachi Maru Pop":{"weight":["regular"],"fallback":"handwriting"},"Snippet":{"weight":["regular"],"fallback":"sans-serif"},"Content":{"weight":["regular","700"],"fallback":"display"},"Revalia":{"weight":["regular"],"fallback":"display"},"Diplomata":{"weight":["regular"],"fallback":"display"},"Libre Barcode 128 Text":{"weight":["regular"],"fallback":"display"},"Jacques Francois Shadow":{"weight":["regular"],"fallback":"display"},"Long Cang":{"weight":["regular"],"fallback":"handwriting"},"Caesar Dressing":{"weight":["regular"],"fallback":"display"},"Odor Mean Chey":{"weight":["regular"],"fallback":"display"},"Jolly Lodger":{"weight":["regular"],"fallback":"display"},"Texturina":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"DotGothic16":{"weight":["regular"],"fallback":"sans-serif"},"Ewert":{"weight":["regular"],"fallback":"display"},"Romanesco":{"weight":["regular"],"fallback":"handwriting"},"Kantumruy":{"weight":["300","regular","700"],"fallback":"sans-serif"},"Asset":{"weight":["regular"],"fallback":"display"},"Odibee Sans":{"weight":["regular"],"fallback":"display"},"Emblema One":{"weight":["regular"],"fallback":"display"},"Kdam Thmor":{"weight":["regular"],"fallback":"display"},"Dr Sugiyama":{"weight":["regular"],"fallback":"handwriting"},"Bahiana":{"weight":["regular"],"fallback":"display"},"GFS Neohellenic":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Oldenburg":{"weight":["regular"],"fallback":"display"},"Molle":{"weight":["italic"],"fallback":"handwriting"},"Ravi Prakash":{"weight":["regular"],"fallback":"display"},"Gayathri":{"weight":["100","regular","700"],"fallback":"sans-serif"},"Almendra SC":{"weight":["regular"],"fallback":"serif"},"Varta":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Risque":{"weight":["regular"],"fallback":"display"},"Sansita Swashed":{"weight":["300","regular","500","600","700","800","900"],"fallback":"display"},"Kiwi Maru":{"weight":["300","regular","500"],"fallback":"serif"},"Dangrek":{"weight":["regular"],"fallback":"display"},"Devonshire":{"weight":["regular"],"fallback":"handwriting"},"Big Shoulders Stencil Text":{"weight":["100","300","regular","500","600","700","800","900"],"fallback":"display"},"Jim Nightshade":{"weight":["regular"],"fallback":"handwriting"},"Smythe":{"weight":["regular"],"fallback":"display"},"Stick":{"weight":["regular"],"fallback":"sans-serif"},"Lexend Mega":{"weight":["regular"],"fallback":"sans-serif"},"Siemreap":{"weight":["regular"],"fallback":"display"},"Londrina Shadow":{"weight":["regular"],"fallback":"display"},"Train One":{"weight":["regular"],"fallback":"display"},"IM Fell Great Primer SC":{"weight":["regular"],"fallback":"serif"},"Barriecito":{"weight":["regular"],"fallback":"display"},"Underdog":{"weight":["regular"],"fallback":"display"},"Stalinist One":{"weight":["regular"],"fallback":"display"},"Mr Bedfort":{"weight":["regular"],"fallback":"handwriting"},"Freehand":{"weight":["regular"],"fallback":"display"},"MedievalSharp":{"weight":["regular"],"fallback":"display"},"Lexend Giga":{"weight":["regular"],"fallback":"sans-serif"},"Keania One":{"weight":["regular"],"fallback":"display"},"Peddana":{"weight":["regular"],"fallback":"serif"},"Galindo":{"weight":["regular"],"fallback":"display"},"Fascinate":{"weight":["regular"],"fallback":"display"},"Londrina Sketch":{"weight":["regular"],"fallback":"display"},"Gupter":{"weight":["regular","500","700"],"fallback":"serif"},"Nova Slim":{"weight":["regular"],"fallback":"display"},"Snowburst One":{"weight":["regular"],"fallback":"display"},"ZCOOL KuaiLe":{"weight":["regular"],"fallback":"display"},"Plaster":{"weight":["regular"],"fallback":"display"},"Fascinate Inline":{"weight":["regular"],"fallback":"display"},"Newsreader":{"weight":["200","300","regular","500","600","700","800","200italic","300italic","italic","500italic","600italic","700italic","800italic"],"fallback":"serif"},"Purple Purse":{"weight":["regular"],"fallback":"display"},"Sedgwick Ave Display":{"weight":["regular"],"fallback":"handwriting"},"Jacques Francois":{"weight":["regular"],"fallback":"serif"},"Almendra Display":{"weight":["regular"],"fallback":"display"},"Irish Grover":{"weight":["regular"],"fallback":"display"},"Kumar One Outline":{"weight":["regular"],"fallback":"display"},"Andika New Basic":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Libre Barcode 39 Extended":{"weight":["regular"],"fallback":"display"},"Taprom":{"weight":["regular"],"fallback":"display"},"Miss Fajardose":{"weight":["regular"],"fallback":"handwriting"},"IM Fell Double Pica SC":{"weight":["regular"],"fallback":"serif"},"Macondo":{"weight":["regular"],"fallback":"display"},"Ruge Boogie":{"weight":["regular"],"fallback":"handwriting"},"Sunshiney":{"weight":["regular"],"fallback":"handwriting"},"Brygada 1918":{"weight":["regular","500","600","700","italic","500italic","600italic","700italic"],"fallback":"serif"},"Grenze":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"serif"},"Erica One":{"weight":["regular"],"fallback":"display"},"Seymour One":{"weight":["regular"],"fallback":"sans-serif"},"Supermercado One":{"weight":["regular"],"fallback":"display"},"Zhi Mang Xing":{"weight":["regular"],"fallback":"handwriting"},"Butterfly Kids":{"weight":["regular"],"fallback":"handwriting"},"Kirang Haerang":{"weight":["regular"],"fallback":"display"},"Federant":{"weight":["regular"],"fallback":"display"},"Liu Jian Mao Cao":{"weight":["regular"],"fallback":"handwriting"},"Chenla":{"weight":["regular"],"fallback":"display"},"Hanalei":{"weight":["regular"],"fallback":"display"},"Langar":{"weight":["regular"],"fallback":"display"},"Trochut":{"weight":["regular","italic","700"],"fallback":"display"},"Smokum":{"weight":["regular"],"fallback":"display"},"Black And White Picture":{"weight":["regular"],"fallback":"sans-serif"},"Preahvihear":{"weight":["regular"],"fallback":"display"},"Bungee Outline":{"weight":["regular"],"fallback":"display"},"Astloch":{"weight":["regular","700"],"fallback":"display"},"Fasthand":{"weight":["regular"],"fallback":"serif"},"Akaya Telivigala":{"weight":["regular"],"fallback":"display"},"Inria Sans":{"weight":["300","300italic","regular","italic","700","700italic"],"fallback":"sans-serif"},"Bonbon":{"weight":["regular"],"fallback":"handwriting"},"Combo":{"weight":["regular"],"fallback":"display"},"Nova Script":{"weight":["regular"],"fallback":"display"},"Sofadi One":{"weight":["regular"],"fallback":"display"},"Passero One":{"weight":["regular"],"fallback":"display"},"Suwannaphum":{"weight":["regular"],"fallback":"display"},"Miltonian Tattoo":{"weight":["regular"],"fallback":"display"},"Bungee Hairline":{"weight":["regular"],"fallback":"display"},"Gidugu":{"weight":["regular"],"fallback":"sans-serif"},"Geostar Fill":{"weight":["regular"],"fallback":"display"},"Nerko One":{"weight":["regular"],"fallback":"handwriting"},"Lacquer":{"weight":["regular"],"fallback":"display"},"Butcherman":{"weight":["regular"],"fallback":"display"},"Sevillana":{"weight":["regular"],"fallback":"display"},"Nova Oval":{"weight":["regular"],"fallback":"display"},"Aubrey":{"weight":["regular"],"fallback":"display"},"Akaya Kanadaka":{"weight":["regular"],"fallback":"display"},"Nova Cut":{"weight":["regular"],"fallback":"display"},"Vibes":{"weight":["regular"],"fallback":"display"},"Miltonian":{"weight":["regular"],"fallback":"display"},"Moulpali":{"weight":["regular"],"fallback":"display"},"BioRhyme Expanded":{"weight":["200","300","regular","700","800"],"fallback":"serif"},"Bahianita":{"weight":["regular"],"fallback":"display"},"Suravaram":{"weight":["regular"],"fallback":"serif"},"Fruktur":{"weight":["regular"],"fallback":"display"},"Single Day":{"weight":["regular"],"fallback":"display"},"Imbue":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"serif"},"Lexend Tera":{"weight":["regular"],"fallback":"sans-serif"},"Big Shoulders Inline Text":{"weight":["100","300","regular","500","600","700","800","900"],"fallback":"display"},"Dhurjati":{"weight":["regular"],"fallback":"sans-serif"},"Warnes":{"weight":["regular"],"fallback":"display"},"Kenia":{"weight":["regular"],"fallback":"display"},"Lexend Peta":{"weight":["regular"],"fallback":"sans-serif"},"Big Shoulders Stencil Display":{"weight":["100","300","regular","500","600","700","800","900"],"fallback":"display"},"Geostar":{"weight":["regular"],"fallback":"display"},"Big Shoulders Inline Display":{"weight":["100","300","regular","500","600","700","800","900"],"fallback":"display"},"Oi":{"weight":["regular"],"fallback":"display"},"Xanh Mono":{"weight":["regular","italic"],"fallback":"monospace"},"Viaoda Libre":{"weight":["regular"],"fallback":"display"},"Truculenta":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Syne Tactile":{"weight":["regular"],"fallback":"display"},"Trispace":{"weight":["100","200","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Ballet":{"weight":["regular"],"fallback":"handwriting"},"Benne":{"weight":["regular"],"fallback":"serif"}}');function tn(a){const{setAttributes:l,attributes:r,options:o=[],deviceType:s,computedStyles:c={}}=a,{fontFamily:u,fontFamilyFallback:g,googleFont:d,googleFontVariants:b,fontWeight:p,textTransform:m,fontSizeUnit:f}=r,[h,k]=(0,e.useState)(o);(0,e.useEffect)((()=>{"Desktop"!==s&&k(h.filter((e=>"fontWeight"!==e&&"textTransform"!==e&&"fontFamily"!==e)))}),[s]);const v=[{value:"",label:(0,i.__)("Select font","generateblocks")},{value:"Arial",label:"Arial"},{value:"Helvetica",label:"Helvetica"},{value:"Times New Roman",label:"Times New Roman"},{value:"Georgia",label:"Georgia"}];Object.keys(en).slice(0,20).forEach((e=>{v.push({value:e,label:e})}));let y=[{value:"",label:(0,i.__)("Default","generateblocks")},{value:"normal",label:(0,i.__)("Normal","generateblocks")},{value:"bold",label:(0,i.__)("Bold","generateblocks")},{value:"100",label:"100"},{value:"200",label:"200"},{value:"300",label:"300"},{value:"400",label:"400"},{value:"500",label:"500"},{value:"600",label:"600"},{value:"700",label:"700"},{value:"800",label:"800"},{value:"900",label:"900"}];const w=[{value:"",label:(0,i.__)("Default","generateblocks")},{value:"uppercase",label:(0,i.__)("Uppercase","generateblocks")},{value:"lowercase",label:(0,i.__)("Lowercase","generateblocks")},{value:"capitalize",label:(0,i.__)("Capitalize","generateblocks")},{value:"initial",label:(0,i.__)("Normal","generateblocks")}];void 0!==en[u]&&void 0!==en[u].weight&&(y=[{value:"",label:(0,i.__)("Default","generateblocks")},{value:"normal",label:(0,i.__)("Normal","generateblocks")},{value:"bold",label:(0,i.__)("Bold","generateblocks")}],en[u].weight.filter((function(e){const t=e.match(/[a-z]/g),a=e.match(/[0-9]/g);return!(t&&a||"italic"===e||"regular"===e)})).forEach((e=>{y.push({value:e,label:e})})));const _=e=>{"other"===e&&(e=""),l({fontFamily:e}),void 0!==en[e]?l({googleFont:!0,fontFamilyFallback:en[e].fallback,googleFontVariants:en[e].weight.join(", ")}):l({googleFont:!1,fontFamilyFallback:"",googleFontVariants:""})};return(0,e.createElement)("div",{className:"gblocks-typography-component"},(h.includes("fontWeight")||h.includes("textTransform"))&&(0,e.createElement)(n.BaseControl,{className:"gblocks-typography-component__appearance"},h.includes("fontWeight")&&(0,e.createElement)(n.SelectControl,{label:(0,i.__)("Weight","generateblocks"),value:p,options:y,onChange:e=>{l({fontWeight:e})}}),h.includes("textTransform")&&(0,e.createElement)(n.SelectControl,{label:(0,i.__)("Transform","generateblocks"),value:m,options:w,onChange:e=>{l({textTransform:e})}})),h.includes("fontSize")&&(0,e.createElement)(M,t({},a,{label:(0,i.__)("Font Size","generateblocks"),attributeName:"fontSize",units:["px","em","%"],device:s,defaultPlaceholder:c.fontSize&&"px"===f?c.fontSize:"",presets:[{unit:"px",data:[13,17,25,35]}],min:"1"})),h.includes("lineHeight")&&(0,e.createElement)(M,t({},a,{label:(0,i.__)("Line Height","generateblocks"),attributeName:"lineHeight",units:["px","em","%"],device:s,presets:[{unit:"em",data:[{label:(0,i.__)("Small","generateblocks"),value:.8},{label:(0,i.__)("Medium","generateblocks"),value:1},{label:(0,i.__)("Large","generateblocks"),value:1.5}]}],min:"0",step:.1})),h.includes("letterSpacing")&&(0,e.createElement)(M,t({},a,{label:(0,i.__)("Letter Spacing","generateblocks"),attributeName:"letterSpacing",unit:"em",units:["em"],device:s,presets:[{unit:"em",data:[{label:(0,i.__)("Small","generateblocks"),value:-.02},{label:(0,i.__)("Medium","generateblocks"),value:.02},{label:(0,i.__)("Large","generateblocks"),value:.05}]}],min:-1,step:.01})),h.includes("fontFamily")&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)(n.BaseControl,{className:"gblocks-typography-component__font-family"},(0,e.createElement)(n.SelectControl,{label:(0,i.__)("Font Family","generateblocks"),options:v,onChange:e=>{l({fontFamily:e}),_(e)}}),(0,e.createElement)("div",{className:"gblocks-typography-component__font-family-input"},(0,e.createElement)(n.TextControl,{value:u,placeholder:(0,i.__)("Enter font name","generateblocks"),onChange:e=>_(e)}),(!!g||!!d)&&(0,e.createElement)(n.TextControl,{value:g,placeholder:(0,i.__)("sans-serif","generateblocks"),onChange:e=>{l({fontFamilyFallback:e})}}))),""!==u&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)(n.ToggleControl,{label:(0,i.__)("Use Google Fonts API","generateblocks"),checked:!!d,onChange:e=>{l({googleFont:e}),e&&void 0!==en[u]&&l({fontFamilyFallback:en[u].fallback,googleFontVariants:en[u].weight.join(", ")})}}),!!d&&(0,e.createElement)(n.TextControl,{label:(0,i.__)("Variants","generateblocks"),value:b,placeholder:(0,i.__)("300, 400, 400i","generateblocks"),onChange:e=>{l({googleFontVariants:e})}}))))}var an=(0,e.createElement)(T.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)(T.Path,{d:"M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z"})),ln=(0,e.createElement)(T.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)(T.Path,{d:"M15.6 7.3h-.7l1.6-3.5-.9-.4-3.9 8.5H9v1.5h2l-1.3 2.8H8.4c-2 0-3.7-1.7-3.7-3.7s1.7-3.7 3.7-3.7H10V7.3H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H9l-1.4 3.2.9.4 5.7-12.5h1.4c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.9 0 5.2-2.3 5.2-5.2 0-2.9-2.4-5.2-5.2-5.2z"}));function rn(t){const{setAttributes:a,attributes:l,label:r=(0,i.__)("Padding","generateblocks"),type:o="padding",labelTop:s=(0,i.__)("Top","generateblocks"),labelRight:c=(0,i.__)("Right","generateblocks"),labelBottom:u=(0,i.__)("Bottom","generateblocks"),labelLeft:g=(0,i.__)("Left","generateblocks"),device:d,units:b,computedStyles:p={}}=t,m={top:o+"Top",right:o+"Right",bottom:o+"Bottom",left:o+"Left",unit:o+"Unit",sync:o+"SyncUnits"},f={top:s,right:c,bottom:u,left:g};"borderRadius"===o&&(m.top="borderRadiusTopLeft",m.right="borderRadiusTopRight",m.bottom="borderRadiusBottomRight",m.left="borderRadiusBottomLeft",f.top=(0,i._x)("T-Left","short for Top Left","generateblocks"),f.right=(0,i._x)("T-Right","short for Top Right","generateblocks"),f.bottom=(0,i._x)("B-Right","short for Bottom Right","generateblocks"),f.left=(0,i._x)("B-Left","short for Bottom Left","generateblocks")),"Desktop"!==d&&(m.top+=d,m.right+=d,m.bottom+=d,m.left+=d);const h=e=>a({[m.top]:e,[m.right]:e,[m.bottom]:e,[m.left]:e});return(0,e.createElement)(n.BaseControl,{className:"components-gblocks-dimensions-control"},(0,e.createElement)(x,{label:r,value:void 0!==l[m.unit]?l[m.unit]:"px",units:b,onClick:e=>(e=>a({[[m.unit]]:e}))(e)}),(0,e.createElement)("div",{className:"components-gblocks-dimensions-control__inputs"},(0,e.createElement)("div",null,(0,e.createElement)("input",{id:m.top,className:"components-gblocks-dimensions-control__number",placeholder:B(m.top,l,d,"margin"===o&&"px"===l.marginUnit?p.marginTop:""),type:"number",onChange:e=>{let t=e.target.value;"margin"!==o&&(t=t.toString().replace(/-/g,"")),l[m.sync]?h(t):(e=>{a({[m.top]:e})})(t)}
4
  /* translators: Dimension label (padding, margin, border) */,"aria-label":(0,i.sprintf)((0,i.__)("%s Top","generateblocks"),r),value:l[m.top]||"",min:"margin"!==o?0:void 0}),(0,e.createElement)("label",{htmlFor:m.top,className:"gblocks-dimensions-control__label"},f.top)),(0,e.createElement)("div",null,(0,e.createElement)("input",{id:m.right,className:"components-gblocks-dimensions-control__number",placeholder:B(m.right,l,d,""),type:"number",onChange:e=>{let t=e.target.value;"margin"!==o&&(t=t.toString().replace(/-/g,"")),l[m.sync]?h(t):(e=>{a({[m.right]:e})})(t)}
5
  /* translators: Dimension label (padding, margin, border) */,"aria-label":(0,i.sprintf)((0,i.__)("%s Right","generateblocks"),r),value:l[m.right]||"",min:"margin"!==o?0:void 0}),(0,e.createElement)("label",{htmlFor:m.right,className:"gblocks-dimensions-control__label"},f.right)),(0,e.createElement)("div",null,(0,e.createElement)("input",{id:m.bottom,className:"components-gblocks-dimensions-control__number",placeholder:B(m.bottom,l,d,"margin"===o&&"px"===l.marginUnit?p.marginBottom:""),type:"number",onChange:e=>{let t=e.target.value;"margin"!==o&&(t=t.toString().replace(/-/g,"")),l[m.sync]?h(t):(e=>{a({[m.bottom]:e})})(t)}
6
  /* translators: Dimension label (padding, margin, border) */,"aria-label":(0,i.sprintf)((0,i.__)("%s Bottom","generateblocks"),r),value:l[m.bottom]||"",min:"margin"!==o?0:void 0}),(0,e.createElement)("label",{htmlFor:m.bottom,className:"gblocks-dimensions-control__label"},f.bottom)),(0,e.createElement)("div",null,(0,e.createElement)("input",{id:m.left,className:"components-gblocks-dimensions-control__number",placeholder:B(m.left,l,d,""),type:"number",onChange:e=>{let t=e.target.value;"margin"!==o&&(t=t.toString().replace(/-/g,"")),l[m.sync]?h(t):(e=>{a({[m.left]:e})})(t)}
1
  !function(){var e={184:function(e,t){var a;!function(){"use strict";var l={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var a=arguments[t];if(a){var n=typeof a;if("string"===n||"number"===n)e.push(a);else if(Array.isArray(a)){if(a.length){var i=r.apply(null,a);i&&e.push(i)}}else if("object"===n)if(a.toString===Object.prototype.toString)for(var o in a)l.call(a,o)&&a[o]&&e.push(o);else e.push(a.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(a=function(){return r}.apply(t,[]))||(e.exports=a)}()},856:function(e){e.exports=function(){"use strict";function e(t){return e="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},e(t)}function t(e,a){return t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(e,a)}function a(){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}}function l(e,r,n){return l=a()?Reflect.construct:function(e,a,l){var r=[null];r.push.apply(r,a);var n=new(Function.bind.apply(e,r));return l&&t(n,l.prototype),n},l.apply(null,arguments)}function r(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return n(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)?n(e,t):void 0}}(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 n(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,l=new Array(t);a<t;a++)l[a]=e[a];return l}var i=Object.hasOwnProperty,o=Object.setPrototypeOf,s=Object.isFrozen,c=Object.getPrototypeOf,u=Object.getOwnPropertyDescriptor,g=Object.freeze,d=Object.seal,b=Object.create,p="undefined"!=typeof Reflect&&Reflect,m=p.apply,f=p.construct;m||(m=function(e,t,a){return e.apply(t,a)}),g||(g=function(e){return e}),d||(d=function(e){return e}),f||(f=function(e,t){return l(e,r(t))});var h,k=B(Array.prototype.forEach),v=B(Array.prototype.pop),y=B(Array.prototype.push),w=B(String.prototype.toLowerCase),_=B(String.prototype.match),C=B(String.prototype.replace),T=B(String.prototype.indexOf),E=B(String.prototype.trim),x=B(RegExp.prototype.test),S=(h=TypeError,function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return f(h,t)});function B(e){return function(t){for(var a=arguments.length,l=new Array(a>1?a-1:0),r=1;r<a;r++)l[r-1]=arguments[r];return m(e,t,l)}}function M(e,t,a){a=a||w,o&&o(e,null);for(var l=t.length;l--;){var r=t[l];if("string"==typeof r){var n=a(r);n!==r&&(s(t)||(t[l]=n),r=n)}e[r]=!0}return e}function D(e){var t,a=b(null);for(t in e)m(i,e,[t])&&(a[t]=e[t]);return a}function R(e,t){for(;null!==e;){var a=u(e,t);if(a){if(a.get)return B(a.get);if("function"==typeof a.value)return B(a.value)}e=c(e)}return function(e){return console.warn("fallback value for",e),null}}var z=g(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),L=g(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),O=g(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),I=g(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),N=g(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),A=g(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),F=g(["#text"]),P=g(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),H=g(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),V=g(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),U=g(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),G=d(/\{\{[\w\W]*|[\w\W]*\}\}/gm),j=d(/<%[\w\W]*|[\w\W]*%>/gm),q=d(/^data-[\-\w.\u00B7-\uFFFF]/),W=d(/^aria-[\-\w]+$/),$=d(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Z=d(/^(?:\w+script|data):/i),K=d(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Q=d(/^html$/i),Y=function(){return"undefined"==typeof window?null:window},J=function(t,a){if("object"!==e(t)||"function"!=typeof t.createPolicy)return null;var l=null,r="data-tt-policy-suffix";a.currentScript&&a.currentScript.hasAttribute(r)&&(l=a.currentScript.getAttribute(r));var n="dompurify"+(l?"#"+l:"");try{return t.createPolicy(n,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+n+" could not be created."),null}};return function t(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Y(),l=function(e){return t(e)};if(l.version="2.3.9",l.removed=[],!a||!a.document||9!==a.document.nodeType)return l.isSupported=!1,l;var n=a.document,i=a.document,o=a.DocumentFragment,s=a.HTMLTemplateElement,c=a.Node,u=a.Element,d=a.NodeFilter,b=a.NamedNodeMap,p=void 0===b?a.NamedNodeMap||a.MozNamedAttrMap:b,m=a.HTMLFormElement,f=a.DOMParser,h=a.trustedTypes,B=u.prototype,X=R(B,"cloneNode"),ee=R(B,"nextSibling"),te=R(B,"childNodes"),ae=R(B,"parentNode");if("function"==typeof s){var le=i.createElement("template");le.content&&le.content.ownerDocument&&(i=le.content.ownerDocument)}var re=J(h,n),ne=re?re.createHTML(""):"",ie=i,oe=ie.implementation,se=ie.createNodeIterator,ce=ie.createDocumentFragment,ue=ie.getElementsByTagName,ge=n.importNode,de={};try{de=D(i).documentMode?i.documentMode:{}}catch(e){}var be={};l.isSupported="function"==typeof ae&&oe&&void 0!==oe.createHTMLDocument&&9!==de;var pe,me,fe=G,he=j,ke=q,ve=W,ye=Z,we=K,_e=$,Ce=null,Te=M({},[].concat(r(z),r(L),r(O),r(N),r(F))),Ee=null,xe=M({},[].concat(r(P),r(H),r(V),r(U))),Se=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Be=null,Me=null,De=!0,Re=!0,ze=!1,Le=!1,Oe=!1,Ie=!1,Ne=!1,Ae=!1,Fe=!1,Pe=!1,He=!0,Ve=!0,Ue=!1,Ge={},je=null,qe=M({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),We=null,$e=M({},["audio","video","img","source","image","track"]),Ze=null,Ke=M({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Qe="http://www.w3.org/1998/Math/MathML",Ye="http://www.w3.org/2000/svg",Je="http://www.w3.org/1999/xhtml",Xe=Je,et=!1,tt=["application/xhtml+xml","text/html"],at="text/html",lt=null,rt=i.createElement("form"),nt=function(e){return e instanceof RegExp||e instanceof Function},it=function(t){lt&&lt===t||(t&&"object"===e(t)||(t={}),t=D(t),pe=pe=-1===tt.indexOf(t.PARSER_MEDIA_TYPE)?at:t.PARSER_MEDIA_TYPE,me="application/xhtml+xml"===pe?function(e){return e}:w,Ce="ALLOWED_TAGS"in t?M({},t.ALLOWED_TAGS,me):Te,Ee="ALLOWED_ATTR"in t?M({},t.ALLOWED_ATTR,me):xe,Ze="ADD_URI_SAFE_ATTR"in t?M(D(Ke),t.ADD_URI_SAFE_ATTR,me):Ke,We="ADD_DATA_URI_TAGS"in t?M(D($e),t.ADD_DATA_URI_TAGS,me):$e,je="FORBID_CONTENTS"in t?M({},t.FORBID_CONTENTS,me):qe,Be="FORBID_TAGS"in t?M({},t.FORBID_TAGS,me):{},Me="FORBID_ATTR"in t?M({},t.FORBID_ATTR,me):{},Ge="USE_PROFILES"in t&&t.USE_PROFILES,De=!1!==t.ALLOW_ARIA_ATTR,Re=!1!==t.ALLOW_DATA_ATTR,ze=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Le=t.SAFE_FOR_TEMPLATES||!1,Oe=t.WHOLE_DOCUMENT||!1,Ae=t.RETURN_DOM||!1,Fe=t.RETURN_DOM_FRAGMENT||!1,Pe=t.RETURN_TRUSTED_TYPE||!1,Ne=t.FORCE_BODY||!1,He=!1!==t.SANITIZE_DOM,Ve=!1!==t.KEEP_CONTENT,Ue=t.IN_PLACE||!1,_e=t.ALLOWED_URI_REGEXP||_e,Xe=t.NAMESPACE||Je,t.CUSTOM_ELEMENT_HANDLING&&nt(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Se.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&nt(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Se.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Se.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Le&&(Re=!1),Fe&&(Ae=!0),Ge&&(Ce=M({},r(F)),Ee=[],!0===Ge.html&&(M(Ce,z),M(Ee,P)),!0===Ge.svg&&(M(Ce,L),M(Ee,H),M(Ee,U)),!0===Ge.svgFilters&&(M(Ce,O),M(Ee,H),M(Ee,U)),!0===Ge.mathMl&&(M(Ce,N),M(Ee,V),M(Ee,U))),t.ADD_TAGS&&(Ce===Te&&(Ce=D(Ce)),M(Ce,t.ADD_TAGS,me)),t.ADD_ATTR&&(Ee===xe&&(Ee=D(Ee)),M(Ee,t.ADD_ATTR,me)),t.ADD_URI_SAFE_ATTR&&M(Ze,t.ADD_URI_SAFE_ATTR,me),t.FORBID_CONTENTS&&(je===qe&&(je=D(je)),M(je,t.FORBID_CONTENTS,me)),Ve&&(Ce["#text"]=!0),Oe&&M(Ce,["html","head","body"]),Ce.table&&(M(Ce,["tbody"]),delete Be.tbody),g&&g(t),lt=t)},ot=M({},["mi","mo","mn","ms","mtext"]),st=M({},["foreignobject","desc","title","annotation-xml"]),ct=M({},["title","style","font","a","script"]),ut=M({},L);M(ut,O),M(ut,I);var gt=M({},N);M(gt,A);var dt=function(e){var t=ae(e);t&&t.tagName||(t={namespaceURI:Je,tagName:"template"});var a=w(e.tagName),l=w(t.tagName);return e.namespaceURI===Ye?t.namespaceURI===Je?"svg"===a:t.namespaceURI===Qe?"svg"===a&&("annotation-xml"===l||ot[l]):Boolean(ut[a]):e.namespaceURI===Qe?t.namespaceURI===Je?"math"===a:t.namespaceURI===Ye?"math"===a&&st[l]:Boolean(gt[a]):e.namespaceURI===Je&&!(t.namespaceURI===Ye&&!st[l])&&!(t.namespaceURI===Qe&&!ot[l])&&!gt[a]&&(ct[a]||!ut[a])},bt=function(e){y(l.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=ne}catch(t){e.remove()}}},pt=function(e,t){try{y(l.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){y(l.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Ee[e])if(Ae||Fe)try{bt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},mt=function(e){var t,a;if(Ne)e="<remove></remove>"+e;else{var l=_(e,/^[\r\n\t ]+/);a=l&&l[0]}"application/xhtml+xml"===pe&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var r=re?re.createHTML(e):e;if(Xe===Je)try{t=(new f).parseFromString(r,pe)}catch(e){}if(!t||!t.documentElement){t=oe.createDocument(Xe,"template",null);try{t.documentElement.innerHTML=et?"":r}catch(e){}}var n=t.body||t.documentElement;return e&&a&&n.insertBefore(i.createTextNode(a),n.childNodes[0]||null),Xe===Je?ue.call(t,Oe?"html":"body")[0]:Oe?t.documentElement:n},ft=function(e){return se.call(e.ownerDocument||e,e,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT,null,!1)},ht=function(e){return e instanceof m&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof p)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore)},kt=function(t){return"object"===e(c)?t instanceof c:t&&"object"===e(t)&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},vt=function(e,t,a){be[e]&&k(be[e],(function(e){e.call(l,t,a,lt)}))},yt=function(e){var t;if(vt("beforeSanitizeElements",e,null),ht(e))return bt(e),!0;if(x(/[\u0080-\uFFFF]/,e.nodeName))return bt(e),!0;var a=me(e.nodeName);if(vt("uponSanitizeElement",e,{tagName:a,allowedTags:Ce}),e.hasChildNodes()&&!kt(e.firstElementChild)&&(!kt(e.content)||!kt(e.content.firstElementChild))&&x(/<[/\w]/g,e.innerHTML)&&x(/<[/\w]/g,e.textContent))return bt(e),!0;if("select"===a&&x(/<template/i,e.innerHTML))return bt(e),!0;if(!Ce[a]||Be[a]){if(!Be[a]&&_t(a)){if(Se.tagNameCheck instanceof RegExp&&x(Se.tagNameCheck,a))return!1;if(Se.tagNameCheck instanceof Function&&Se.tagNameCheck(a))return!1}if(Ve&&!je[a]){var r=ae(e)||e.parentNode,n=te(e)||e.childNodes;if(n&&r)for(var i=n.length-1;i>=0;--i)r.insertBefore(X(n[i],!0),ee(e))}return bt(e),!0}return e instanceof u&&!dt(e)?(bt(e),!0):"noscript"!==a&&"noembed"!==a||!x(/<\/no(script|embed)/i,e.innerHTML)?(Le&&3===e.nodeType&&(t=e.textContent,t=C(t,fe," "),t=C(t,he," "),e.textContent!==t&&(y(l.removed,{element:e.cloneNode()}),e.textContent=t)),vt("afterSanitizeElements",e,null),!1):(bt(e),!0)},wt=function(e,t,a){if(He&&("id"===t||"name"===t)&&(a in i||a in rt))return!1;if(Re&&!Me[t]&&x(ke,t));else if(De&&x(ve,t));else if(!Ee[t]||Me[t]){if(!(_t(e)&&(Se.tagNameCheck instanceof RegExp&&x(Se.tagNameCheck,e)||Se.tagNameCheck instanceof Function&&Se.tagNameCheck(e))&&(Se.attributeNameCheck instanceof RegExp&&x(Se.attributeNameCheck,t)||Se.attributeNameCheck instanceof Function&&Se.attributeNameCheck(t))||"is"===t&&Se.allowCustomizedBuiltInElements&&(Se.tagNameCheck instanceof RegExp&&x(Se.tagNameCheck,a)||Se.tagNameCheck instanceof Function&&Se.tagNameCheck(a))))return!1}else if(Ze[t]);else if(x(_e,C(a,we,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==T(a,"data:")||!We[e])if(ze&&!x(ye,C(a,we,"")));else if(a)return!1;return!0},_t=function(e){return e.indexOf("-")>0},Ct=function(e){var t,a,r,n;vt("beforeSanitizeAttributes",e,null);var i=e.attributes;if(i){var o={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ee};for(n=i.length;n--;){var s=t=i[n],c=s.name,u=s.namespaceURI;if(a="value"===c?t.value:E(t.value),r=me(c),o.attrName=r,o.attrValue=a,o.keepAttr=!0,o.forceKeepAttr=void 0,vt("uponSanitizeAttribute",e,o),a=o.attrValue,!o.forceKeepAttr&&(pt(c,e),o.keepAttr))if(x(/\/>/i,a))pt(c,e);else{Le&&(a=C(a,fe," "),a=C(a,he," "));var g=me(e.nodeName);if(wt(g,r,a))try{u?e.setAttributeNS(u,c,a):e.setAttribute(c,a),v(l.removed)}catch(e){}}}vt("afterSanitizeAttributes",e,null)}},Tt=function e(t){var a,l=ft(t);for(vt("beforeSanitizeShadowDOM",t,null);a=l.nextNode();)vt("uponSanitizeShadowNode",a,null),yt(a)||(a.content instanceof o&&e(a.content),Ct(a));vt("afterSanitizeShadowDOM",t,null)};return l.sanitize=function(t,r){var i,s,u,g,d;if((et=!t)&&(t="\x3c!--\x3e"),"string"!=typeof t&&!kt(t)){if("function"!=typeof t.toString)throw S("toString is not a function");if("string"!=typeof(t=t.toString()))throw S("dirty is not a string, aborting")}if(!l.isSupported){if("object"===e(a.toStaticHTML)||"function"==typeof a.toStaticHTML){if("string"==typeof t)return a.toStaticHTML(t);if(kt(t))return a.toStaticHTML(t.outerHTML)}return t}if(Ie||it(r),l.removed=[],"string"==typeof t&&(Ue=!1),Ue){if(t.nodeName){var b=me(t.nodeName);if(!Ce[b]||Be[b])throw S("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof c)1===(s=(i=mt("\x3c!----\x3e")).ownerDocument.importNode(t,!0)).nodeType&&"BODY"===s.nodeName||"HTML"===s.nodeName?i=s:i.appendChild(s);else{if(!Ae&&!Le&&!Oe&&-1===t.indexOf("<"))return re&&Pe?re.createHTML(t):t;if(!(i=mt(t)))return Ae?null:Pe?ne:""}i&&Ne&&bt(i.firstChild);for(var p=ft(Ue?t:i);u=p.nextNode();)3===u.nodeType&&u===g||yt(u)||(u.content instanceof o&&Tt(u.content),Ct(u),g=u);if(g=null,Ue)return t;if(Ae){if(Fe)for(d=ce.call(i.ownerDocument);i.firstChild;)d.appendChild(i.firstChild);else d=i;return Ee.shadowroot&&(d=ge.call(n,d,!0)),d}var m=Oe?i.outerHTML:i.innerHTML;return Oe&&Ce["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&x(Q,i.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+i.ownerDocument.doctype.name+">\n"+m),Le&&(m=C(m,fe," "),m=C(m,he," ")),re&&Pe?re.createHTML(m):m},l.setConfig=function(e){it(e),Ie=!0},l.clearConfig=function(){lt=null,Ie=!1},l.isValidAttribute=function(e,t,a){lt||it({});var l=me(e),r=me(t);return wt(l,r,a)},l.addHook=function(e,t){"function"==typeof t&&(be[e]=be[e]||[],y(be[e],t))},l.removeHook=function(e){if(be[e])return v(be[e])},l.removeHooks=function(e){be[e]&&(be[e]=[])},l.removeAllHooks=function(){be={}},l}()}()},679:function(e,t,a){"use strict";var l=a(296),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function s(e){return l.isMemo(e)?i:o[e.$$typeof]||r}o[l.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[l.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,g=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,b=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,a,l){if("string"!=typeof a){if(p){var r=b(a);r&&r!==p&&e(t,r,l)}var i=u(a);g&&(i=i.concat(g(a)));for(var o=s(t),m=s(a),f=0;f<i.length;++f){var h=i[f];if(!(n[h]||l&&l[h]||m&&m[h]||o&&o[h])){var k=d(a,h);try{c(t,h,k)}catch(e){}}}}return t}},103:function(e,t){"use strict";var a="function"==typeof Symbol&&Symbol.for,l=a?Symbol.for("react.element"):60103,r=a?Symbol.for("react.portal"):60106,n=a?Symbol.for("react.fragment"):60107,i=a?Symbol.for("react.strict_mode"):60108,o=a?Symbol.for("react.profiler"):60114,s=a?Symbol.for("react.provider"):60109,c=a?Symbol.for("react.context"):60110,u=a?Symbol.for("react.async_mode"):60111,g=a?Symbol.for("react.concurrent_mode"):60111,d=a?Symbol.for("react.forward_ref"):60112,b=a?Symbol.for("react.suspense"):60113,p=a?Symbol.for("react.suspense_list"):60120,m=a?Symbol.for("react.memo"):60115,f=a?Symbol.for("react.lazy"):60116,h=a?Symbol.for("react.block"):60121,k=a?Symbol.for("react.fundamental"):60117,v=a?Symbol.for("react.responder"):60118,y=a?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case l:switch(e=e.type){case u:case g:case n:case o:case i:case b:return e;default:switch(e=e&&e.$$typeof){case c:case d:case f:case m:case s:return e;default:return t}}case r:return t}}}function _(e){return w(e)===g}t.AsyncMode=u,t.ConcurrentMode=g,t.ContextConsumer=c,t.ContextProvider=s,t.Element=l,t.ForwardRef=d,t.Fragment=n,t.Lazy=f,t.Memo=m,t.Portal=r,t.Profiler=o,t.StrictMode=i,t.Suspense=b,t.isAsyncMode=function(e){return _(e)||w(e)===u},t.isConcurrentMode=_,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===l},t.isForwardRef=function(e){return w(e)===d},t.isFragment=function(e){return w(e)===n},t.isLazy=function(e){return w(e)===f},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===r},t.isProfiler=function(e){return w(e)===o},t.isStrictMode=function(e){return w(e)===i},t.isSuspense=function(e){return w(e)===b},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===g||e===o||e===i||e===b||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===k||e.$$typeof===v||e.$$typeof===y||e.$$typeof===h)},t.typeOf=w},296:function(e,t,a){"use strict";e.exports=a(103)}},t={};function a(l){var r=t[l];if(void 0!==r)return r.exports;var n=t[l]={exports:{}};return e[l].call(n.exports,n,n.exports,a),n.exports}a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,{a:t}),t},a.d=function(e,t){for(var l in t)a.o(t,l)&&!a.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:t[l]})},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";var e=window.wp.element;function t(){return t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},t.apply(this,arguments)}var l=window.wp.data,r=window.wp.blockEditor,n=window.wp.components,i=window.wp.i18n,o=a(184),s=a.n(o);const c=(e,t)=>{const{gridItemPaddingTop:a,gridItemPaddingRight:l,gridItemPaddingBottom:r,gridItemPaddingLeft:n}=generateBlocksStyling.container;return(e.split("-")||[]).map((e=>({isGrid:!0,gridId:t,paddingTop:a||"",paddingRight:l||"",paddingBottom:r||"",paddingLeft:n||"",widthMobile:100,width:Number(e)})))};var u=t=>{let{uniqueId:a,onClick:l,isDisabled:r=!1}=t;return!r&&(0,e.createElement)(n.Placeholder,{label:(0,i.__)("Grid","generateblocks"),instructions:(0,i.__)("Choose how many Containers to start with.","generateblocks"),className:"gb-select-layout"},(0,e.createElement)("div",{className:"gb-grid-wrapper-layout-preview"},["100","50-50","33.33-33.33-33.33","25-25-25-25","25-75","75-25","25-25-50","25-50-25","50-25-25","20-60-20","20-20-20-20-20","16-16-16-16-16-16"].map((t=>{const r=c(t,a);return(0,e.createElement)("button",{key:`layout-${t}`,className:"gb-grid-wrapper-layout-preview-btn",onClick:()=>l(t)},r.map(((a,l)=>(0,e.createElement)("div",{key:`layout-${t}-col-${l}`,className:s()("gb-col",`gb-col-${a.width.toString().replace(".","-")}`)}))))}))))},g=window.wp.blocks;const d=wp.element.createElement;function b(t){return"tabs-desktop"===t?d("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none"},d("path",{d:"M18.95 4H4.55C3.55589 4 2.75 4.76751 2.75 5.71429V14.2857C2.75 15.2325 3.55589 16 4.55 16H18.95C19.9441 16 20.75 15.2325 20.75 14.2857V5.71429C20.75 4.76751 19.9441 4 18.95 4Z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{d:"M1.75 18C1.19772 18 0.75 18.4477 0.75 19C0.75 19.5523 1.19772 20 1.75 20H21.75C22.3023 20 22.75 19.5523 22.75 19C22.75 18.4477 22.3023 18 21.75 18H1.75ZM9 18.8C8.86193 18.8 8.75 18.9119 8.75 19.05C8.75 19.1881 8.86193 19.3 9 19.3H14.5C14.6381 19.3 14.75 19.1881 14.75 19.05C14.75 18.9119 14.6381 18.8 14.5 18.8H9Z",stroke:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})):"tabs-tablet"===t?d("svg",{width:24,height:24,viewBox:"0 0 24 24"},d("path",{d:"M16.6429 4H7.35714C6.33147 4 5.5 4.71634 5.5 5.6V18.4C5.5 19.2837 6.33147 20 7.35714 20H16.6429C17.6685 20 18.5 19.2837 18.5 18.4V5.6C18.5 4.71634 17.6685 4 16.6429 4Z"}),d("path",{d:"M12 17.5H12.01"})):"tabs-mobile"===t?d("svg",{width:24,height:24,viewBox:"0 0 24 24"},d("path",{d:"M15.5714 4H8.42857C7.63959 4 7 4.71634 7 5.6V18.4C7 19.2837 7.63959 20 8.42857 20H15.5714C16.3604 20 17 19.2837 17 18.4V5.6C17 4.71634 16.3604 4 15.5714 4Z"}),d("path",{d:"M12 17.5H12.01"})):"sync"===t?d("svg",{width:24,height:24,viewBox:"0 0 24 24"},d("path",{d:"m7.34133533 6.23855964v-1.98499625c-2.17404351.03150788-4.03300825 1.38634659-4.85221305 3.27681921-.31507877.72468117-.44111028 1.51237809-.4096024 2.33158289.06301575 1.13428361.47261815 2.20555141 1.16579145 3.05626411.37809452.4411102.28357089 1.1027757-.18904726 1.4493623-.44111028.3150788-1.07126782.2205551-1.41785447-.1890473-.85071268-1.0397599-1.38634658-2.3315829-1.54388597-3.7179294-.12603151-1.00825211-.03150788-2.01650417.25206302-2.9302326.88222055-3.02475619 3.6864216-5.26181546 6.99474868-5.29332334v-1.98499624c0-.09452363.12603151-.15753939.22055514-.09452363l4.09602403 2.99324831c.0630157.06301575.0630157.15753938 0 .18904726l-4.09602403 2.99324831c-.09452363.06301575-.22055514 0-.22055514-.09452363zm.22055514 13.17029256c.09452363.0630158.22055514 0 .22055514-.0945236v-1.9849963c3.30832709-.0315078 6.11252809-2.2685671 6.99474869-5.2933233.252063-.9137284.3780945-1.8904726.252063-2.93023256-.1575394-1.38634658-.7246812-2.67816954-1.543886-3.71792948-.3465866-.44111028-.9767441-.53563391-1.4178544-.18904726-.4726182.34658665-.5671418 1.00825206-.1890473 1.44936234.6931733.85071268 1.1027757 1.89047262 1.1657915 3.05626407.0315078.81920479-.1260315 1.63840959-.4096024 2.33158289-.787697 1.8904726-2.6466617 3.2453113-4.85221309 3.2768192v-1.9849962c0-.0945237-.12603151-.1575394-.22055514-.0945237l-4.096024 2.9932483c-.06301576.0630158-.06301576.1575394 0 .1890473z",transform:"translate(4 2)"})):"headline"===t?(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",height:"20",width:"20",className:"gblocks-block-icon gblocks-block-icon__headline"},(0,e.createElement)("path",{d:"M23.7 24h-8c-.1 0-.3-.1-.3-.3V16H8.7v7.6c0 .1-.1.3-.3.3H.3c-.1.1-.3 0-.3-.2V.3C0 .2.1 0 .3 0h8c.2 0 .4.1.4.3V8h6.8V.3c0-.1.1-.3.3-.3h8c.1 0 .2.1.2.3v23.5c0 .1-.1.2-.3.2zm-6.6-1.7h5V1.7h-5v8H6.9v-8h-5v20.4h5v-8h10.3v8.2z"})):"grid"===t?(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",height:"20",width:"20",className:"gblocks-block-icon"},(0,e.createElement)("path",{d:"M13.8 10.8H.3c-.2 0-.3-.1-.3-.3V.3C0 .1.1 0 .3 0h13.6c.2 0 .3.1.3.3v10.3c-.1.1-.2.2-.4.2zM1.8 9h10.6V1.8H1.8V9zm21.9 1.8h-7c-.2 0-.3-.1-.3-.3V.3c0-.2.1-.3.3-.3h7c.2 0 .3.1.3.3v10.3c0 .1-.1.2-.3.2zM18.2 9h4V1.8h-4V9zm-8 4.2h13.6c.2 0 .3.1.3.3v10.3c0 .2-.1.3-.3.3H10.2c-.2 0-.3-.1-.3-.3V13.5c0-.2.1-.3.3-.3zm12 1.8H11.7v7.3h10.6V15zM.3 13.2h7c.2 0 .3.1.3.3v10.3c0 .2-.1.3-.3.3h-7c-.2-.1-.3-.2-.3-.4V13.5c0-.2.1-.3.3-.3zM5.8 15h-4v7.3h4V15z"})):"container"===t?(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",height:"20",width:"20",className:"gblocks-block-icon"},(0,e.createElement)("path",{d:"M23.7 24h-5.2v-2.2h3.3v-3.3H24v5.2c0 .2-.1.3-.3.3zm-15-2.2h6.5V24H8.7zM5.5 24H.3c-.2 0-.3-.1-.3-.3v-5.2h2.2v3.3h3.3V24zM0 8.7h2.2v6.5H0zm2.2-3.2H0V.3C0 .1.1 0 .3 0h5.2v2.2H2.2v3.3zM8.7 0h6.5v2.2H8.7zM24 5.5h-2.2V2.2h-3.3V0h5.2c.2 0 .3.1.3.3v5.2zm-2.2 3.2H24v6.5h-2.2z"})):"button"===t?(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",height:"20",width:"20",className:"gblocks-block-icon"},(0,e.createElement)("path",{d:"M23.7 17.4H.3c-.1 0-.1 0-.2-.1-.1 0-.1-.1-.1-.2V6.9c0-.1 0-.1.1-.2s.1-.1.2-.1h23.4c.1 0 .1 0 .2.1s.1.1.1.2v10.2c0 .1 0 .1-.1.2 0 .1-.1.1-.2.1zM1.8 15.6h20.4V8.4H1.8v7.2z"}),(0,e.createElement)("path",{d:"M15 12.9H4.8v-1.8H15v.9zm4.2 0h-2.6v-1.8h2.6v.9z"})):"button-container"===t?(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",height:"20",width:"20",className:"gblocks-block-icon"},(0,e.createElement)("path",{d:"M23.7 10.8H.3c-.1 0-.1 0-.2-.1-.1 0-.1-.1-.1-.1V.4C0 .3 0 .3.1.2S.2 0 .3 0h23.4c.1 0 .1 0 .2.1.1 0 .1.1.1.2v10.2c0 .1 0 .1-.1.2 0 .1-.1.1-.2.1zM1.8 9.1h20.4V1.9L12 1.8H1.8v7.3z"}),(0,e.createElement)("path",{d:"M15 6.3H4.8V4.5H15v.9zm4.2 0h-2.6V4.5h2.6v.9zM23.7 24H.3c-.1 0-.1 0-.2-.1s-.1-.1-.1-.2V13.5c0-.1 0-.1.1-.2s.1-.1.2-.1h23.4c.1 0 .1 0 .2.1s.1.1.1.2v10.2c0 .1 0 .1-.1.2 0 .1-.1.1-.2.1zM1.8 22.2h20.4V15H1.8v7.2z"}),(0,e.createElement)("path",{d:"M19.2 19.5H9v-1.8h10.2v.9zM4.8 17.7h2.6v1.8H4.8v-.9z"})):"post-template"===t?(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",height:"20",width:"20",className:"gblocks-block-icon"},(0,e.createElement)("path",{d:"M23.7 12.9H.3c-.2 0-.3-.1-.3-.3V.3C0 .1.1 0 .3 0h23.4c.2 0 .3.1.3.3v12.3c0 .2-.1.3-.3.3zM1.8 11.1h20.4V1.8H1.8v9.3zM13.4 15h10.3c.2 0 .3.1.3.3v8.4c0 .2-.1.3-.3.3H13.4c-.2 0-.3-.1-.3-.3v-8.4c0-.1.2-.3.3-.3zm8.8 1.8h-7.3v5.4h7.3v-5.4zM.3 18.6H10c.2 0 .3.1.3.3v1.2c0 .2-.1.3-.3.3H.3c-.2 0-.3-.1-.3-.3v-1.2c0-.1.1-.3.3-.3zm0-3.6H10c.2 0 .3.1.3.3v1.2c0 .2-.1.3-.3.3H.3c-.2 0-.3-.1-.3-.3v-1.2c0-.1.1-.3.3-.3zm0 7.2H10c.2 0 .3.1.3.3v1.2c0 .2-.1.3-.3.3H.3c-.2 0-.3-.1-.3-.3v-1.2c0-.2.1-.3.3-.3z"})):"query-loop"===t?(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",height:"20",width:"20",className:"gblocks-block-icon"},(0,e.createElement)("path",{d:"M22.8 5.2h-7.4c-.2 0-.3-.1-.3-.3V3.7c0-.2.1-.3.3-.3h7.4c.2 0 .3.1.3.3v1.2c0 .2-.1.3-.3.3zm0 3.4h-7.4c-.2 0-.3-.1-.3-.3V7.1c0-.2.1-.3.3-.3h7.4c.2 0 .3.1.3.3v1.2c0 .2-.1.3-.3.3zm0-6.8h-7.4c-.2 0-.3-.1-.3-.3V.3c0-.2.1-.3.3-.3h7.4c.2 0 .3.1.3.3v1.2c0 .2-.1.3-.3.3zM8.6 20.6H1.2c-.2 0-.3-.1-.3-.3v-1.2c0-.2.1-.3.3-.3h7.4c.2 0 .3.1.3.3v1.2c-.1.2-.2.3-.3.3zm0 3.4H1.2c-.2 0-.3-.1-.3-.3v-1.2c0-.2.1-.3.3-.3h7.4c.2 0 .3.1.3.3v1.2c-.1.2-.2.3-.3.3zm0-6.8H1.2c-.2 0-.3-.1-.3-.3v-1.2c0-.2.1-.3.3-.3h7.4c.2 0 .3.1.3.3v1.2c-.1.1-.2.3-.3.3z"}),(0,e.createElement)("path",{d:"M17.7 24c-1.7 0-3.3-.7-4.4-1.8-2.4-2.4-2.3-6.3-2.2-10.2.1-4.3.2-8.4-3-9.8-1.5-.7-3.2-.5-4.4.4-1.2.8-1.9 2.1-1.9 3.5 0 .8.2 1.6.5 2.3.9 1.7 2.5 2.5 5.6 2.7.2 0 .3.1.3.3l-.1 1.2c0 .2-.1.3-.3.3-2-.1-4.4-.5-6-2.2-1.3-1.3-2-3.1-1.8-5 .2-1.9 1.1-3.5 2.7-4.6C4.4-.1 6.7-.3 8.8.5c4.4 1.8 4.2 7 4.1 11.5-.1 3.5-.2 7.1 1.6 8.9.9.9 2.2 1.4 3.6 1.3 1.3-.1 2.5-.8 3.3-1.9.9-1.2 1-2.9.4-4.4-.8-1.9-2.5-2.8-5.8-3-.2 0-.3-.1-.3-.3l.1-1.2c0-.2.1-.3.3-.3 2.7.2 6 .8 7.3 4.1.9 2 .6 4.4-.6 6.1-1.1 1.5-2.8 2.5-4.6 2.7h-.5z"})):"image"===t?(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",height:"20",width:"20",className:"gblocks-block-icon"},(0,e.createElement)("path",{d:"M16.4 11.9c-2.3 0-4.2-1.9-4.2-4.2s1.9-4.2 4.2-4.2 4.2 1.9 4.2 4.2-1.9 4.2-4.2 4.2zm0-6.7c-1.3 0-2.4 1.1-2.4 2.4s1.1 2.4 2.4 2.4c1.3 0 2.4-1.1 2.4-2.4s-1.1-2.4-2.4-2.4z"}),(0,e.createElement)("path",{d:"M23.7 24H.3c-.2 0-.3-.1-.3-.3V.3C0 .1.1 0 .3 0h23.4c.2 0 .3.1.3.3v23.4c0 .2-.1.3-.3.3zM1.8 22.2h20.4V1.8H1.8v20.4z"}),(0,e.createElement)("path",{d:"M22.3 23.6 8.4 11.7l-6.9 6.1-1.2-1.3 7.9-6.9c.1-.1.3-.1.4 0l15.1 13-1 1.1c-.1 0-.3 0-.4-.1z"})):"paragraph"===t?d("svg",{width:20,height:20,viewBox:"0 0 20 20"},d("path",{d:"M15 2H7.54c-.83 0-1.59.2-2.28.6-.7.41-1.25.96-1.65 1.65C3.2 4.94 3 5.7 3 6.52s.2 1.58.61 2.27c.4.69.95 1.24 1.65 1.64.69.41 1.45.61 2.28.61h.43V17c0 .27.1.51.29.71.2.19.44.29.71.29.28 0 .51-.1.71-.29.2-.2.3-.44.3-.71V5c0-.27.09-.51.29-.71.2-.19.44-.29.71-.29s.51.1.71.29c.19.2.29.44.29.71v12c0 .27.1.51.3.71.2.19.43.29.71.29.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71V4H15c.27 0 .5-.1.7-.3.2-.19.3-.43.3-.7s-.1-.51-.3-.71A.984.984 0 0 0 15 2z"})):"spacing"===t?d("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},d("path",{d:"M106.283,6.217c8.289,8.29 8.289,91.776 0,100.066c-8.29,8.289 -91.776,8.289 -100.066,0c-8.289,-8.29 -8.289,-91.776 0,-100.066c8.29,-8.289 91.776,-8.289 100.066,0Zm-10.007,10.007c6.632,6.632 6.632,73.42 0,80.052c-6.632,6.632 -73.42,6.632 -80.052,0c-6.632,-6.632 -6.632,-73.42 0,-80.052c6.632,-6.632 73.42,-6.632 80.052,0Z"}),d("path",{d:"M40.452,77.705c7.802,1.393 23.794,1.393 31.596,0l13.635,13.635c-12.215,3.213 -46.652,3.213 -58.866,0l13.635,-13.635Zm50.888,-50.888c3.213,12.215 3.213,46.653 0,58.866l-13.635,-13.635c1.393,-7.801 1.393,-23.794 0,-31.596l13.635,-13.635Zm-70.18,0l13.635,13.635c-1.393,7.802 -1.393,23.794 0,31.596l-13.635,13.635c-3.213,-12.213 -3.213,-46.651 0,-58.866Zm5.657,-5.657c12.214,-3.213 46.652,-3.213 58.866,0l-13.635,13.635c-7.801,-1.393 -23.795,-1.393 -31.596,0l-13.635,-13.635Z"})):"advanced"===t?d("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},d("path",{d:"M106.283,6.217c8.289,8.29 8.289,91.776 0,100.066c-8.29,8.289 -91.776,8.289 -100.066,0c-8.289,-8.29 -8.289,-91.776 0,-100.066c8.29,-8.289 91.776,-8.289 100.066,0Zm-10.007,37.215c6.632,2.124 6.632,23.512 0,25.636c-6.632,2.124 -73.42,2.124 -80.052,0c-6.632,-2.124 -6.632,-23.512 0,-25.636c6.632,-2.124 73.42,-2.124 80.052,0Z"}),d("path",{d:"M48.61,51.916c2.243,0.718 2.243,7.95 0,8.668c-2.242,0.718 -24.823,0.718 -27.065,0c-2.243,-0.718 -2.243,-7.95 0,-8.668c2.242,-0.718 24.823,-0.718 27.065,0Z"}),d("path",{d:"M90.955,51.916c2.243,0.718 2.243,7.95 0,8.668c-2.242,0.718 -24.823,0.718 -27.065,0c-2.243,-0.718 -2.243,-7.95 0,-8.668c2.242,-0.718 24.823,-0.718 27.065,0Z"})):"backgrounds"===t?d("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},d("path",{d:"M1.491,87.777l37.79,-37.79l31.352,31.352c2.412,2.171 5.656,0 5.656,0l17.248,-17.247l13.186,13.186l4.796,4.797c-0.971,12.199 -2.726,21.685 -5.249,24.208c-8.29,8.289 -91.776,8.289 -100.066,0c-2.113,-2.113 -3.687,-9.113 -4.713,-18.506Z"}),d("path",{d:"M0.631,77.323c-1.742,-27.728 0.125,-65.658 5.573,-71.106c8.29,-8.289 91.776,-8.289 100.066,0c5.07,5.07 7.039,38.265 5.89,65.185l-15.795,-15.795c-2.412,-2.172 -5.657,0 -5.657,0l-17.247,17.246l-31.351,-31.351c-0.731,-0.658 -1.036,-1 -2.619,-1.166c-0.263,0 -0.477,-0.075 -1.245,0.131c-0.912,0.244 -1.793,1.035 -1.793,1.035l-35.822,35.821Zm76.434,-59.584c7.115,0 12.891,5.776 12.891,12.89c0,7.114 -5.776,12.89 -12.891,12.89c-7.114,0 -12.89,-5.776 -12.89,-12.89c0,-7.114 5.776,-12.89 12.89,-12.89Z"})):"colors"===t?d("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},d("path",{d:"M106.283,6.217c8.289,8.29 8.289,91.776 0,100.066c-8.29,8.289 -91.776,8.289 -100.066,0c-8.289,-8.29 -8.289,-91.776 0,-100.066c8.29,-8.289 91.776,-8.289 100.066,0Zm-50.033,12.818c-20.551,0 -37.215,16.664 -37.215,37.215c0,20.551 16.664,37.215 37.215,37.215c3.432,0 6.202,-2.77 6.202,-6.203c0,-1.612 -0.62,-3.059 -1.612,-4.176c-0.951,-1.075 -1.571,-2.522 -1.571,-4.094c0,-3.432 2.77,-6.202 6.202,-6.202l7.319,0c11.413,0 20.675,-9.262 20.675,-20.675c0,-18.277 -16.664,-33.08 -37.215,-33.08Zm-22.742,37.215c-3.433,0 -6.203,-2.77 -6.203,-6.202c0,-3.433 2.77,-6.203 6.203,-6.203c3.432,0 6.202,2.77 6.202,6.203c0,3.432 -2.77,6.202 -6.202,6.202Zm45.484,0c-3.432,0 -6.202,-2.77 -6.202,-6.202c0,-3.433 2.77,-6.203 6.202,-6.203c3.433,0 6.203,2.77 6.203,6.203c0,3.432 -2.77,6.202 -6.203,6.202Zm-33.079,-16.54c-3.433,0 -6.203,-2.77 -6.203,-6.202c0,-3.433 2.77,-6.203 6.203,-6.203c3.432,0 6.202,2.77 6.202,6.203c0,3.432 -2.77,6.202 -6.202,6.202Zm20.674,0c-3.432,0 -6.202,-2.77 -6.202,-6.202c0,-3.433 2.77,-6.203 6.202,-6.203c3.433,0 6.203,2.77 6.203,6.203c0,3.432 -2.77,6.202 -6.203,6.202Z"})):"gradients"===t?d("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},d("path",{d:"M112.426,48.746c0.503,25.204 -1.545,52.939 -6.143,57.537c-8.29,8.289 -91.776,8.289 -100.066,0c-8.289,-8.29 -8.289,-91.776 0,-100.066c8.289,-8.288 91.748,-8.289 100.061,-0.004c0,0 0.005,0.004 0.005,0.004c3.691,3.692 5.739,22.295 6.143,42.529Zm-16.154,-32.526c-6.656,-6.628 -73.418,-6.627 -80.048,0.004c-6.631,6.63 -6.632,73.392 -0.004,80.048l80.052,-80.052Z"})):"icons"===t?d("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},d("path",{d:"M106.283,6.217c8.289,8.29 8.289,91.776 0,100.066c-8.29,8.289 -91.776,8.289 -100.066,0c-8.289,-8.29 -8.289,-91.776 0,-100.066c8.29,-8.289 91.776,-8.289 100.066,0Zm-10.007,10.007c6.632,6.632 6.632,73.42 0,80.052c-6.632,6.632 -73.42,6.632 -80.052,0c-6.632,-6.632 -6.632,-73.42 0,-80.052c6.632,-6.632 73.42,-6.632 80.052,0Z"}),d("path",{d:"M89.605,22.895c5.527,5.526 5.527,61.184 0,66.71c-5.526,5.527 -61.184,5.527 -66.71,0c-5.527,-5.526 -5.527,-61.184 0,-66.71c5.526,-5.527 61.184,-5.527 66.71,0Zm-21.066,62.31l0,-2.731c-0.648,-0.074 -1.272,-0.199 -1.87,-0.374c-0.599,-0.174 -1.148,-0.374 -1.646,-0.598c-0.699,-0.299 -1.235,-0.755 -1.609,-1.366c-0.374,-0.611 -0.561,-1.353 -0.561,-2.226l0,-29.703l-0.561,-0.561l-18.331,0.972l0,2.731c0.748,0.075 1.577,0.25 2.488,0.524c0.91,0.274 1.589,0.561 2.038,0.86c0.599,0.399 1.098,0.929 1.497,1.59c0.399,0.661 0.598,1.428 0.598,2.301l0,21.773c0,0.923 -0.162,1.665 -0.486,2.226c-0.324,0.561 -0.885,0.991 -1.683,1.29c-0.449,0.175 -0.986,0.3 -1.609,0.374c-0.624,0.075 -1.26,0.138 -1.908,0.187l0,2.731l23.643,0Zm-12.978,-59.459c4.76,0 8.625,3.864 8.625,8.625c0,4.76 -3.865,8.625 -8.625,8.625c-4.76,0 -8.625,-3.865 -8.625,-8.625c0,-4.761 3.865,-8.625 8.625,-8.625Z"})):"typography"===t?d("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},d("path",{d:"M106.283,6.217c8.289,8.29 8.289,91.776 0,100.066c-8.29,8.289 -91.776,8.289 -100.066,0c-8.289,-8.29 -8.289,-91.776 0,-100.066c8.29,-8.289 91.776,-8.289 100.066,0Zm-8.783,78.583l0,-2.817c-0.661,-0.026 -1.481,-0.165 -2.46,-0.417c-0.979,-0.251 -1.773,-0.562 -2.381,-0.932c-0.9,-0.609 -1.601,-1.23 -2.103,-1.865c-0.503,-0.635 -0.953,-1.468 -1.349,-2.5l-18.769,-48.569l-3.175,0c-2.672,6.878 -5.714,14.721 -9.126,23.53c-3.266,8.43 -6.265,16.06 -8.998,22.891l-11.672,-28.684l-2.304,0c-1.939,4.742 -4.148,10.149 -6.625,16.222c-2.477,6.072 -4.743,11.543 -6.798,16.412c-0.403,0.949 -0.816,1.692 -1.238,2.23c-0.423,0.538 -1.018,1.053 -1.786,1.545c-0.48,0.292 -1.095,0.524 -1.844,0.698c-0.749,0.173 -1.373,0.278 -1.872,0.314l0,1.942l15.382,0l0,-1.942c-1.518,-0.073 -2.881,-0.31 -4.091,-0.711c-1.209,-0.401 -1.814,-0.966 -1.814,-1.696c0,-0.31 0.048,-0.711 0.144,-1.204c0.096,-0.492 0.268,-1.13 0.518,-1.914c0.269,-0.803 0.571,-1.678 0.907,-2.626c0.336,-0.948 0.773,-2.061 1.311,-3.338l14.316,0l3.399,8.699c0.012,0.03 0.024,0.06 0.036,0.092c-0.161,0.119 -0.329,0.237 -0.503,0.355c-0.661,0.423 -1.508,0.76 -2.539,1.012c-1.032,0.251 -1.892,0.403 -2.58,0.456l0,2.817l21.19,0l0,-2.817c-2.09,-0.106 -3.968,-0.45 -5.635,-1.032c-1.666,-0.582 -2.499,-1.402 -2.499,-2.46c0,-0.45 0.066,-1.032 0.198,-1.746c0.132,-0.714 0.37,-1.64 0.714,-2.777c0.371,-1.164 0.787,-2.434 1.25,-3.81c0.463,-1.375 1.065,-2.989 1.806,-4.841l19.721,0l4.682,12.619c0.106,0.264 0.186,0.568 0.238,0.912c0.053,0.344 0.08,0.635 0.08,0.873c0,0.582 -0.681,1.072 -2.044,1.468c-1.362,0.397 -3.075,0.662 -5.138,0.794l0,2.817l23.451,0Zm-56.864,-15.865l-6.193,-15.045l-6.078,15.045l12.271,0Zm34.167,-7.15l-8.532,-21.824l-8.373,21.824l16.905,0Z"})):"addContainer"===t?(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",height:"20",width:"20"},(0,e.createElement)("path",{d:"M23.7 24h-5.2v-2.2h3.3v-3.3H24v5.2c0 .2-.1.3-.3.3zm-15-2.2h6.5V24H8.7zM5.5 24H.3c-.2 0-.3-.1-.3-.3v-5.2h2.2v3.3h3.3V24zM0 8.7h2.2v6.5H0zm2.2-3.2H0V.3C0 .1.1 0 .3 0h5.2v2.2H2.2v3.3zM8.7 0h6.5v2.2H8.7zM24 5.5h-2.2V2.2h-3.3V0h5.2c.2 0 .3.1.3.3v5.2zm-2.2 3.2H24v6.5h-2.2zM12.6 18.6h-1.2c-.2 0-.3-.1-.3-.3V5.7c0-.2.1-.3.3-.3h1.2c.2 0 .3.1.3.3v12.6c0 .2-.1.3-.3.3z"}),(0,e.createElement)("path",{d:"M18.3 12.9H5.7c-.2 0-.3-.1-.3-.3v-1.2c0-.2.1-.3.3-.3h12.6c.2 0 .3.1.3.3v1.2c0 .2-.1.3-.3.3z"})):"gradient"===t?d("svg",{width:24,height:24,viewBox:"0 0 24 24",fillRule:"evenodd"},d("path",{d:"M17.66 8L12 2.35L6.34 8A8.02 8.02 0 0 0 4 13.64c0 2 .78 4.11 2.34 5.67a7.99 7.99 0 0 0 11.32 0c1.56-1.56 2.34-3.67 2.34-5.67S19.22 9.56 17.66 8zM6 14c.01-2 .62-3.27 1.76-4.4L12 5.27l4.24 4.38C17.38 10.77 17.99 12 18 14H6z"})):"documentation"===t?d("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},d("path",{d:"M106.755 6.245c8.327 8.326 8.327 92.184 0 100.51-8.326 8.327-92.184 8.327-100.51 0-8.327-8.326-8.327-92.184 0-100.51 8.326-8.327 92.184-8.327 100.51 0zm-92.661 93.896C9.279 84 9.781 23.714 15.834 17.661c2.491-2.491 19.588-4.132 26.354-4.712 4.748-.408 10.115.671 14.243 1.23 4.128-.559 9.495-1.638 14.243-1.23 6.766.58 23.863 2.221 26.354 4.712 6.053 6.053 6.791 66.339 1.976 82.48-4.729-1.977-19.708-3.436-26.784-3.853-5.234-.308-11.129.739-15.671 1.354-4.543-.615-10.437-1.662-15.672-1.354-7.075.417-22.054 1.876-26.783 3.853z"}),d("path",{d:"M50.188 32.738c2.252.536 2.252 5.927 0 6.463-2.252.535-24.934.535-27.186 0-2.252-.536-2.252-5.927 0-6.463 2.252-.535 24.934-.535 27.186 0zM50.277 46.846c2.252.535 2.252 5.927 0 6.462-2.252.535-24.934.535-27.186 0-2.252-.535-2.252-5.927 0-6.462 2.252-.535 24.934-.535 27.186 0zM50.277 60.037c2.252.535 2.252 5.927 0 6.462-2.252.535-24.934.535-27.186 0-2.252-.535-2.252-5.927 0-6.462 2.252-.535 24.934-.535 27.186 0zM50.277 73.799c2.252.536 2.252 5.927 0 6.463-2.252.535-24.934.535-27.186 0-2.252-.536-2.252-5.927 0-6.463 2.252-.535 24.934-.535 27.186 0z"}),d("path",{d:"M89.909 32.738c2.252.536 2.252 5.927 0 6.463-2.252.535-24.934.535-27.186 0-2.252-.536-2.252-5.927 0-6.463 2.252-.535 24.934-.535 27.186 0zM89.998 46.846c2.252.535 2.252 5.927 0 6.462-2.252.535-24.934.535-27.186 0-2.252-.535-2.252-5.927 0-6.462 2.252-.535 24.934-.535 27.186 0zM89.998 60.037c2.252.535 2.252 5.927 0 6.462-2.252.535-24.934.535-27.186 0-2.252-.535-2.252-5.927 0-6.462 2.252-.535 24.934-.535 27.186 0z"})):"layout"===t?d("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},d("path",{d:"M106.719 6.238c8.362 8.362 8.362 92.208 0 100.57-8.362 8.287-92.208 8.287-100.495 0-8.362-8.362-8.362-92.208 0-100.57 8.287-8.286 92.133-8.286 100.495 0zm-9.417 9.417c6.78 6.78 6.78 74.957 0 81.737-6.78 6.78-74.956 6.78-81.661 0-6.78-6.78-6.78-74.957 0-81.737 6.705-6.78 74.881-6.78 81.661 0z"}),d("path",{d:"M93.988 48.877c.602 17.477-.754 37.893-3.993 41.132-3.164 3.164-22.75 4.52-40.002 4.068v-45.2h43.995zm-75.108 0h23.58v44.899c-9.718-.603-17.553-1.808-19.512-3.767-3.24-3.24-4.595-23.655-4.068-41.132zm.377-7.533c.678-9.19 1.883-16.498 3.691-18.306 5.575-5.575 61.472-5.575 67.047 0 1.808 1.808 3.013 9.115 3.691 18.306h-74.43z"})):"shapes"===t?d("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},d("path",{d:"M106.756,6.244C115.081,14.571 115.081,98.429 106.756,106.756C98.429,115.081 14.571,115.081 6.244,106.756C-2.081,98.429 -2.081,14.571 6.244,6.244C14.571,-2.081 98.429,-2.081 106.756,6.244ZM67.875,88.052C67.875,86.977 67.003,86.105 65.928,86.105L47.072,86.105C45.997,86.105 45.125,86.977 45.125,88.052L45.125,91.948C45.125,93.023 45.997,93.896 47.072,93.896L65.928,93.896C67.003,93.896 67.875,93.023 67.875,91.948L67.875,88.052ZM57.899,31.409L59.305,31.409C60.853,31.409 62.11,30.152 62.11,28.604L62.11,28.089L73.263,57.543C73.757,58.333 73.731,59.161 73.731,59.403C73.729,62.659 65.231,69.414 65.375,83.611L47.625,83.611C47.769,69.414 39.271,62.659 39.269,59.403C39.269,59.161 39.243,58.333 39.737,57.543L50.89,28.089L50.89,28.604C50.89,30.152 52.147,31.409 53.695,31.409L55.101,31.409C55.111,35.738 55.142,50.367 55.098,54.109C55.093,54.494 54.907,54.988 54.68,55.45C52.915,56.169 51.669,57.903 51.669,59.925C51.669,62.592 53.834,64.756 56.5,64.756C59.166,64.756 61.331,62.592 61.331,59.925C61.331,57.903 60.085,56.169 58.32,55.45C58.093,54.988 57.907,54.494 57.902,54.109C57.858,50.367 57.889,35.738 57.899,31.409ZM52.227,19.451L52.227,18.881C52.227,17.702 53.185,16.745 54.364,16.745L58.636,16.745C59.815,16.745 60.773,17.702 60.773,18.881L60.773,19.451L88.831,19.451C89.457,17.867 91.002,16.745 92.807,16.745C95.165,16.745 97.08,18.66 97.08,21.018C97.08,23.376 95.165,25.29 92.807,25.29C91.03,25.29 89.505,24.203 88.861,22.658L71.798,22.658C83.83,28.003 92.531,39.501 93.898,53.148L94.93,53.148C96.109,53.148 97.067,54.105 97.067,55.284L97.067,59.557C97.067,60.736 96.109,61.693 94.93,61.693L90.657,61.693C89.478,61.693 88.521,60.736 88.521,59.557L88.521,55.284C88.521,54.105 89.478,53.148 90.657,53.148L90.922,53.148C89.19,37.24 76.627,24.564 60.773,22.659L60.773,23.154C60.773,24.333 59.815,25.29 58.636,25.29L54.364,25.29C53.185,25.29 52.227,24.333 52.227,23.154L52.227,22.688C36.484,24.689 24.036,37.318 22.312,53.148L22.329,53.148C23.508,53.148 24.466,54.105 24.466,55.284L24.466,59.557C24.466,60.736 23.508,61.693 22.329,61.693L18.056,61.693C16.877,61.693 15.92,60.736 15.92,59.557L15.92,55.284C15.92,54.105 16.877,53.148 18.056,53.148L19.336,53.148C20.703,39.501 29.405,28.003 41.437,22.658L24.139,22.658C23.495,24.203 21.97,25.29 20.193,25.29C17.835,25.29 15.92,23.376 15.92,21.018C15.92,18.66 17.835,16.745 20.193,16.745C21.998,16.745 23.543,17.867 24.169,19.451L52.227,19.451Z"})):"wrench"===t?(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},(0,e.createElement)("rect",{x:"0",fill:"none",width:"20",height:"20"}),(0,e.createElement)("g",null,(0,e.createElement)("path",{d:"M16.68 9.77c-1.34 1.34-3.3 1.67-4.95.99l-5.41 6.52c-.99.99-2.59.99-3.58 0s-.99-2.59 0-3.57l6.52-5.42c-.68-1.65-.35-3.61.99-4.95 1.28-1.28 3.12-1.62 4.72-1.06l-2.89 2.89 2.82 2.82 2.86-2.87c.53 1.58.18 3.39-1.08 4.65zM3.81 16.21c.4.39 1.04.39 1.43 0 .4-.4.4-1.04 0-1.43-.39-.4-1.03-.4-1.43 0-.39.39-.39 1.03 0 1.43z"}))):"x"===t?(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},(0,e.createElement)("rect",{x:"0",fill:"none",width:"20",height:"20"}),(0,e.createElement)("g",null,(0,e.createElement)("path",{d:"M14.95 6.46L11.41 10l3.54 3.54-1.41 1.41L10 11.42l-3.53 3.53-1.42-1.42L8.58 10 5.05 6.47l1.42-1.42L10 8.58l3.54-3.53z"}))):"ellipsis"===t?(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},(0,e.createElement)("rect",{x:"0",fill:"none",width:"20",height:"20"}),(0,e.createElement)("g",null,(0,e.createElement)("path",{d:"M5 10c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm12-2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-7 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}))):"insert"===t?(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},(0,e.createElement)("rect",{x:"0",fill:"none",width:"20",height:"20"}),(0,e.createElement)("g",null,(0,e.createElement)("path",{d:"M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6z"}))):"reset"===t?(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 50 50"},(0,e.createElement)("path",{d:"M25 38c-5.1 0-9.7-3-11.8-7.6l1.8-.8c1.8 3.9 5.7 6.4 10 6.4 6.1 0 11-4.9 11-11s-4.9-11-11-11c-4.6 0-8.5 2.8-10.1 7.3l-1.9-.7c1.9-5.2 6.6-8.6 12-8.6 7.2 0 13 5.8 13 13s-5.8 13-13 13z",fill:"currentColor"}),(0,e.createElement)("path",{d:"M20 22h-8v-8h2v6h6z",fill:"currentColor"})):"dynamic"===t?(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 921 921",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"},(0,e.createElement)("path",{d:"M869.447 50.856c67.809 67.817 67.809 750.774 0 818.59-67.817 67.807-750.774 67.807-818.591 0-67.808-67.816-67.808-750.773 0-818.59 67.817-67.808 750.774-67.808 818.591 0Zm-395.295 685.52h3.579c9.702 0 17.579 7.877 17.579 17.579v3.42H723.3c5.451-12.361 17.818-21 32.187-21 19.405 0 35.159 15.755 35.159 35.159 0 19.405-15.754 35.159-35.159 35.159-14.491 0-26.947-8.786-32.325-21.317H495.31v3.738c0 9.702-7.877 17.579-17.579 17.579h-35.159c-9.702 0-17.579-7.877-17.579-17.58v-3.737H197.141c-5.378 12.53-17.834 21.317-32.325 21.317-19.405 0-35.159-15.754-35.159-35.16 0-19.403 15.754-35.157 35.159-35.157 14.369 0 26.736 8.638 32.187 21h227.99v-3.421c0-9.702 7.877-17.58 17.579-17.58h3.58V609.535h28v126.842ZM129.657 414.193c0 29.527 148.09 53.5 330.495 53.5 182.404 0 330.494-23.973 330.494-53.5v94c0 29.527-148.09 53.5-330.494 53.5-182.405 0-330.495-23.973-330.495-53.5v-94Zm0-134.5c0 29.527 148.09 53.5 330.495 53.5 182.404 0 330.494-23.973 330.494-53.5v94c0 29.527-148.09 53.5-330.494 53.5-182.405 0-330.495-23.973-330.495-53.5v-94Zm.002-134.673c.591-29.45 148.453-53.327 330.493-53.327 182.404 0 330.494 23.973 330.494 53.5v94c0 29.527-148.09 53.5-330.494 53.5-182.405 0-330.495-23.973-330.495-53.5v-94l.002-.173Z"})):"trash"===t?(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",style:{fill:"none"},stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",viewBox:"0 0 24 24"},(0,e.createElement)("path",{d:"M3 6h18M19 6v14a2 2 0 01-2 2H7a2 2 0 01-2-2V6m3 0V4a2 2 0 012-2h4a2 2 0 012 2v2M10 11v6M14 11v6"})):"query-params"===t?(0,e.createElement)("svg",{viewBox:"0 0 2876 2876",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"},(0,e.createElement)("path",{d:"M2717.022 158.925c211.903 211.928 211.903 2346.168 0 2558.097-211.928 211.893-2346.169 211.893-2558.097 0-211.9-211.929-211.9-2346.17 0-2558.097 211.928-211.9 2346.169-211.9 2558.097 0ZM1786.4 1975.975c-155.978 116.55-349.419 185.565-558.85 185.565-515.969 0-934.872-418.9-934.872-934.872 0-515.968 418.903-934.868 934.872-934.868 515.969 0 934.872 418.9 934.872 934.868 0 211.963-70.694 407.541-189.725 564.372l508.869 508.87c25.609 25.608 25.609 67.196 0 92.805l-92.81 92.81c-25.61 25.61-67.197 25.61-92.806 0l-509.55-509.55ZM1227.55 529.253c384.916 0 697.419 312.5 697.419 697.415 0 384.916-312.503 697.42-697.419 697.42s-697.419-312.504-697.419-697.42c0-384.915 312.503-697.415 697.419-697.415Zm-28.434 1248.965c-43.153 0-77.044-11.55-101.666-34.65-24.625-23.1-36.934-54.703-36.934-94.812 0-40.616 12.309-72.472 36.934-95.572 24.622-23.1 58.513-34.65 101.666-34.65s76.915 11.55 101.284 34.65c24.369 23.1 36.553 54.956 36.553 95.572 0 40.11-12.184 71.712-36.553 94.812-24.369 23.1-58.131 34.65-101.284 34.65Zm-346.504-811.04c1.016-47.216 9.9-90.497 26.657-129.844 16.753-39.347 40.868-73.11 72.347-101.284 31.475-28.178 69.934-50.138 115.371-65.875 45.438-15.738 97.35-23.607 155.735-23.607 54.325 0 103.697 7.235 148.122 21.704 44.422 14.468 82.5 34.778 114.231 60.921 31.731 26.147 56.225 57.372 73.487 93.672 17.263 36.3 25.894 76.535 25.894 120.703 0 57.37-13.71 106.616-41.125 147.741-27.415 41.122-68.031 77.675-121.847 109.66-25.384 14.724-46.325 28.306-62.825 40.743-16.5 12.438-29.7 25.131-39.6 38.078-9.9 12.944-16.88 26.653-20.943 41.122-4.063 14.469-6.094 30.844-6.094 49.119v40.362h-201.806l-1.525-41.884c-2.538-30.462-1.775-57.878 2.284-82.247 4.063-24.369 11.678-46.581 22.847-66.634 11.169-20.053 26.019-38.46 44.55-55.213s40.997-32.747 67.397-47.978c24.369-14.722 44.803-28.303 61.303-40.74 16.503-12.438 29.703-25.004 39.603-37.697 9.9-12.694 16.878-26.02 20.94-39.982 4.063-13.962 6.094-29.828 6.094-47.596 0-17.77-3.428-34.016-10.28-48.738-6.854-14.722-16.629-27.416-29.32-38.078-12.693-10.66-27.925-19.038-45.693-25.131-17.77-6.09-37.57-9.138-59.4-9.138-44.17 0-79.582 12.438-106.235 37.316-26.656 24.878-41.25 58.384-43.79 100.525H852.612Z"})):"caption"===t?(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 32 32"},(0,e.createElement)("path",{fill:"currentColor",d:"M11.5 13C10.24 13 9 14.213 9 16s1.24 3 2.5 3a2.17 2.17 0 0 0 1.274-.421 1 1 0 1 1 1.164 1.626A4.17 4.17 0 0 1 11.5 21C8.893 21 7 18.632 7 16s1.893-5 4.5-5c.95 0 1.822.326 2.536.867a1 1 0 1 1-1.208 1.594A2.183 2.183 0 0 0 11.5 13Zm7.5 3c0-1.787 1.24-3 2.5-3 .479 0 .934.162 1.328.46a1 1 0 0 0 1.208-1.593A4.182 4.182 0 0 0 21.5 11c-2.607 0-4.5 2.368-4.5 5s1.893 5 4.5 5a4.17 4.17 0 0 0 2.438-.795 1 1 0 1 0-1.164-1.626A2.172 2.172 0 0 1 21.5 19c-1.26 0-2.5-1.213-2.5-3ZM2 8.5A4.5 4.5 0 0 1 6.5 4h19A4.5 4.5 0 0 1 30 8.5v15a4.5 4.5 0 0 1-4.5 4.5h-19A4.5 4.5 0 0 1 2 23.5v-15ZM6.5 6A2.5 2.5 0 0 0 4 8.5v15A2.5 2.5 0 0 0 6.5 26h19a2.5 2.5 0 0 0 2.5-2.5v-15A2.5 2.5 0 0 0 25.5 6h-19Z"})):"add-pagination"===t?(0,e.createElement)("svg",{fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)("path",{d:"M18 8.2h-5.2V3h-1.6v5.2H6v1.6h5.2V15h1.6V9.8H18V8.2ZM8.5 17.5h-3a1.5 1.5 0 0 0 0 3h3a1.5 1.5 0 0 0 0-3ZM15 19a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0ZM20 19a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0Z",fill:"#000"})):void 0}var p=t=>{let{uniqueId:a,clientId:o}=t;const{insertBlocks:s}=(0,l.useDispatch)("core/block-editor");return(0,e.createElement)(r.BlockControls,null,(0,e.createElement)(n.ToolbarGroup,null,(0,e.createElement)(n.ToolbarButton,{className:"gblocks-block-control-icon gblocks-add-grid-item",icon:b("addContainer"),label:(0,i.__)("Add Grid Item","generateblocks"),onClick:()=>{s((0,g.createBlock)("generateblocks/container",{isGrid:!0,gridId:a,paddingTop:generateBlocksStyling.container.gridItemPaddingTop||"",paddingRight:generateBlocksStyling.container.gridItemPaddingRight||"",paddingBottom:generateBlocksStyling.container.gridItemPaddingBottom||"",paddingLeft:generateBlocksStyling.container.gridItemPaddingLeft||"",width:50,widthMobile:100}),void 0,o)},showTooltip:!0})))},m=window.wp.hooks;class f extends e.Component{render(){const{name:e,children:t}=this.props;return(0,m.applyFilters)(e,t||"",this.props)}}var h={data:new Map,get(e,t){try{return this.data.has(e)?this.data.get(e):"undefined"===(a=localStorage.getItem(e))?void 0:JSON.parse(null!=a?a:"")}catch(e){return t}var a},set(e,t){try{localStorage.setItem(e,JSON.stringify(t)),this.data.delete(e)}catch(a){this.data.set(e,t)}},remove(e){this.data.delete(e),localStorage.removeItem(e)}},k=window.ReactDOM,v=window.React,y=a.n(v);const w=[];var _=function(e,t){return"undefined"==typeof window?[null==t?void 0:t.defaultValue,()=>{},{isPersistent:!0,removeItem:()=>{}}]:function(e,t){const a=(0,v.useRef)(!0),l=(0,v.useRef)(null==t?void 0:t.defaultValue).current,[r,n]=(0,v.useReducer)((e=>e+1),0),i=(0,v.useCallback)((t=>{const a="function"==typeof t?t(h.get(e,l)):t;h.set(e,a),(0,k.unstable_batchedUpdates)((()=>{for(const t of w)t.key===e&&t.forceUpdate()}))}),[e,l]);(0,v.useEffect)((()=>{const t=t=>{t.storageArea===localStorage&&t.key===e&&n()};return window.addEventListener("storage",t),()=>window.removeEventListener("storage",t)}),[e]),(0,v.useEffect)((()=>{const t={key:e,forceUpdate:n};return w.push(t),()=>{w.splice(w.indexOf(t),1)}}),[e]);const o=!0===(0,v.useRef)(null==t?void 0:t.ssr).current&&a.current;return o&&(h.data.has(e)||l!==h.get(e,l))&&(n(),a.current=!1),void 0===l||h.data.has(e)||null!==localStorage.getItem(e)||h.set(e,l),(0,v.useMemo)((()=>[o?l:h.get(e,l),i,{isPersistent:o||!h.data.has(e),removeItem(){h.remove(e);for(const t of w)t.key===e&&t.forceUpdate()}}]),[r,e])}(e,t)};function C(t){const{title:a=!1,initialOpen:l=!1,icon:r,className:i,id:o,state:s,showPanel:c=!0,children:u}=t,[g,d]=_("generateblocksPanels",{ssr:!0,defaultValue:{}});if(!(0,m.applyFilters)("generateblocks.editor.showPanel",c,o,t))return null;let b=!0;return""===u&&(b=!1),"object"==typeof u&&(b=Object.values(u).some((e=>null!==e&&!1!==e&&""!==e))),b?(0,e.createElement)(f,{name:"generateblocks.panel."+o,props:t,state:s},a?(0,e.createElement)(n.PanelBody,{title:a,initialOpen:void 0!==g[o]?g[o]:l,icon:r,className:i,onToggle:()=>{const e=g[o]||void 0===g[o]&&l;d({...g,[o]:!e})}},(0,m.applyFilters)("generateblocks.editor.panelContents",u,o,t)):(0,e.createElement)(n.PanelBody,null,(0,m.applyFilters)("generateblocks.editor.panelContents",u,o,t))):null}var T=window.wp.primitives,E=(0,e.createElement)(T.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)(T.Path,{d:"M14.5 13.8c-1.1 0-2.1.7-2.4 1.8H4V17h8.1c.3 1 1.3 1.8 2.4 1.8s2.1-.7 2.4-1.8H20v-1.5h-3.1c-.3-1-1.3-1.7-2.4-1.7zM11.9 7c-.3-1-1.3-1.8-2.4-1.8S7.4 6 7.1 7H4v1.5h3.1c.3 1 1.3 1.8 2.4 1.8s2.1-.7 2.4-1.8H20V7h-8.1z"}));class x extends e.Component{render(){const{label:t,value:a,onClick:l,units:r,id:o,singleOption:s=!1}=this.props,c=s?[a]:r;return(0,e.createElement)("div",{className:"components-gblocks-units-control-header__units"},(0,e.createElement)("div",{className:"components-gblocks-units-control-label__units"},o?(0,e.createElement)("label",{htmlFor:o},t):t),(0,e.createElement)("div",{className:"components-gblocks-control__units"},(0,e.createElement)(n.ButtonGroup,{className:"components-gblocks-control-buttons__units","aria-label":(0,i.__)("Select Units","generateblocks")},c.map((t=>{let r=t;return"px"===t&&(r=(0,i._x)("Pixel","A size unit for CSS markup","generateblocks")),"em"===t&&(r=(0,i._x)("Em","A size unit for CSS markup","generateblocks")),"%"===t&&(r=(0,i._x)("Percentage","A size unit for CSS markup","generateblocks")),"deg"===t&&(r=(0,i._x)("Degree","A size unit for CSS markup","generateblocks")),(0,e.createElement)(n.Tooltip
2
  /* translators: Unit type (px, em, %) */,{text:(0,i.sprintf)((0,i.__)("%s Units","generateblocks"),r),key:t},(0,e.createElement)(n.Button,{key:t,className:"components-gblocks-control-button__units--"+t,isSmall:!0,isPrimary:a===t,"aria-pressed":a===t
3
+ /* translators: %s: values associated with CSS syntax, 'Pixel', 'Em', 'Percentage' */,"aria-label":(0,i.sprintf)((0,i.__)("%s Units","generateblocks"),r),onClick:()=>l(t)},t))})))))}}function S(e){return e||0===e}function B(e,t,a,l){let r=t[e=e.replace("Tablet","").replace("Mobile","")];return"Mobile"===a&&t[e+"Tablet"]&&(r=t[e+"Tablet"]),""!==r&&!1!==r||(r=l),r}function M(t){const{label:a,attributeName:l,attributes:r,setAttributes:o,units:s=[],unit:c="px",device:u,presets:g=[],min:d=0,max:b,step:p,id:f=l,defaultPlaceholder:h=""}=t,[k,v]=(0,e.useState)(!1),[y,w]=_("generateblocksCustomInputs",{ssr:!0,defaultValue:[]}),C={value:l,unit:l+"Unit"};u&&"Desktop"!==u&&(C.value+=u);const T=(0,m.applyFilters)("generateblocns.editor.numberPresets",g,t),M=T.length>0?T[0].data:[],D=T.length>0?T[0].unit:"px",R=M.length>0&&"object"==typeof M[0]?M.find((e=>e.value===r[C.value])):M.includes(r[C.value]),z="Desktop"!==u&&B(C.value,r,u,""),L=0===T.length||!!S(r[C.value])&&!R||z||k||y.some((e=>e.includes(l)));return(0,e.createElement)(n.BaseControl,{label:0===s.length?a:null,id:f,className:"gblocks-number-component"},s.length>0&&(0,e.createElement)(x,{label:a,id:f,value:r[C.unit]||c,units:s,singleOption:!L,onClick:e=>(void 0!==r[C.unit]&&o({[C.unit]:e}),!1)}),!L&&(0,e.createElement)(n.ButtonGroup,{className:"gblocks-component-number-presets"},M.map(((t,a)=>{const l="object"==typeof t?t.value:t,i="object"==typeof t?t.label:t;return(0,e.createElement)(n.Button,{key:a,isPrimary:l===r[C.value]||l===h&&!S(r[C.value]),onClick:()=>{r[C.value]!==l?o({[C.value]:l,[C.unit]:D}):o({[C.value]:""})}},i)})),(0,e.createElement)(n.Tooltip,{text:(0,i.__)("Custom","generateblocks")},(0,e.createElement)(n.Button,{icon:E,onClick:()=>{v(!0),w([...y,l])}}))),L&&(0,e.createElement)("div",{className:"gblocks-number-component__input"},(0,e.createElement)(n.TextControl,{type:"number",value:S(r[C.value])?r[C.value]:"",placeholder:B(C.value,r,u,h),id:f,min:d,max:b,step:p,autoComplete:"off",onChange:e=>{d>=0&&(e=e.toString().replace(/-/g,"")),o({[C.value]:e})},onBlur:()=>{""!==r[C.value]&&!1!==r[C.value]&&o({[C.value]:parseFloat(r[C.value])})},onClick:e=>{e.currentTarget.focus()}}),T.length>0&&(R||!S(r[C.value]))&&!z&&(0,e.createElement)(n.Tooltip,{text:(0,i.__)("Presets","generateblocks")},(0,e.createElement)(n.Button,{icon:E,onClick:()=>{v(!1),o({[C.unit]:D}),w(y.filter((e=>e!==l)))}}))))}var D=a=>{const{attributes:l,state:o,deviceType:s,setAttributes:c}=a,{verticalAlignment:u,verticalAlignmentTablet:g,verticalAlignmentMobile:d,horizontalAlignment:p,horizontalAlignmentTablet:f,horizontalAlignmentMobile:h,isQueryLoop:k}=l;return(0,e.createElement)(r.InspectorControls,null,(0,e.createElement)(C,t({},a,{title:(0,i.__)("Layout","generateblocks"),initialOpen:!k,icon:b("layout"),className:"gblocks-panel-label",id:"gridLayout",state:o}),(0,e.createElement)(M,t({},a,{label:(0,i.__)("Horizontal Gap","generateblocks"),attributeName:"horizontalGap",unit:"px",units:["px"],device:s,presets:[{unit:"px",data:[20,40,60,80]}]})),(0,e.createElement)(M,t({},a,{label:(0,i.__)("Vertical Gap","generateblocks"),attributeName:"verticalGap",unit:"px",units:["px"],device:s,presets:[{unit:"px",data:[20,40,60,80]}]})),"Desktop"===s&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)(n.SelectControl,{label:(0,i.__)("Vertical Alignment","generateblocks"),value:u,help:(0,i.__)("Align grid items. Removes same height columns and overrides grid item content alignment.","generateblocks"),options:[{label:(0,i.__)("Default","generateblocks"),value:""},{label:(0,i.__)("Top","generateblocks"),value:"flex-start"},{label:(0,i.__)("Center","generateblocks"),value:"center"},{label:(0,i.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:e=>{c({verticalAlignment:e})}}),(0,e.createElement)(n.SelectControl,{label:(0,i.__)("Horizontal Alignment","generateblocks"),value:p,options:[{label:(0,i.__)("Default","generateblocks"),value:""},{label:(0,i.__)("Left","generateblocks"),value:"flex-start"},{label:(0,i.__)("Center","generateblocks"),value:"center"},{label:(0,i.__)("Right","generateblocks"),value:"flex-end"}],onChange:e=>{c({horizontalAlignment:e})}})),"Tablet"===s&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)(n.SelectControl,{label:(0,i.__)("Vertical Alignment","generateblocks"),help:(0,i.__)("Align grid items. Removes same height columns and overrides grid item content alignment.","generateblocks"),value:g,options:[{label:(0,i.__)("Inherit","generateblocks"),value:"inherit"},{label:(0,i.__)("Default","generateblocks"),value:""},{label:(0,i.__)("Top","generateblocks"),value:"flex-start"},{label:(0,i.__)("Center","generateblocks"),value:"center"},{label:(0,i.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:e=>{c({verticalAlignmentTablet:e})}}),(0,e.createElement)(n.SelectControl,{label:(0,i.__)("Horizontal Alignment","generateblocks"),value:f,options:[{label:(0,i.__)("Inherit","generateblocks"),value:"inherit"},{label:(0,i.__)("Default","generateblocks"),value:""},{label:(0,i.__)("Left","generateblocks"),value:"flex-start"},{label:(0,i.__)("Center","generateblocks"),value:"center"},{label:(0,i.__)("Right","generateblocks"),value:"flex-end"}],onChange:e=>{c({horizontalAlignmentTablet:e})}})),"Mobile"===s&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)(n.SelectControl,{label:(0,i.__)("Vertical Alignment","generateblocks"),help:(0,i.__)("Align grid items. Removes same height columns and overrides grid item content alignment.","generateblocks"),value:d,options:[{label:(0,i.__)("Inherit","generateblocks"),value:"inherit"},{label:(0,i.__)("Default","generateblocks"),value:""},{label:(0,i.__)("Top","generateblocks"),value:"flex-start"},{label:(0,i.__)("Center","generateblocks"),value:"center"},{label:(0,i.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:e=>{c({verticalAlignmentMobile:e})}}),(0,e.createElement)(n.SelectControl,{label:(0,i.__)("Horizontal Alignment","generateblocks"),value:h,options:[{label:(0,i.__)("Inherit","generateblocks"),value:"inherit"},{label:(0,i.__)("Default","generateblocks"),value:""},{label:(0,i.__)("Left","generateblocks"),value:"flex-start"},{label:(0,i.__)("Center","generateblocks"),value:"center"},{label:(0,i.__)("Right","generateblocks"),value:"flex-end"}],onChange:e=>{c({horizontalAlignmentMobile:e})}})),(0,m.applyFilters)("generateblocks.editor.controls","","gridLayout",a,o)))};const R=/[\s#]/g;var z=t=>{let{anchor:a,setAttributes:l}=t;return(0,e.createElement)(n.TextControl,{label:(0,i.__)("HTML Anchor","generateblocks"),help:(0,i.__)("Anchors lets you link directly to a section on a page.","generateblocks"),value:a||"",onChange:e=>{const t=e.replace(R,"-");l({anchor:t})}})},L=t=>(0,e.createElement)(r.InspectorAdvancedControls,null,(0,e.createElement)(z,t));function O(e){let t="";for(const[a,l]of Object.entries(e)){if(l.length<1)continue;let e=a+"{",r=0;for(const[t,a]of Object.entries(l))for(const[t,l]of Object.entries(a))(l||0===l)&&(r++,e+=t+": "+l+";");e+="}",r>0&&(t+=e)}return t}function I(e,t){return!(!e&&0!==e)&&e+t}class N extends e.Component{render(){const t=(0,m.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{uniqueId:a,horizontalGap:l,verticalGap:r,verticalAlignment:n,horizontalAlignment:i,isQueryLoop:o}=t;let s=[];const c=o?".gb-post-template-"+a+" > .gb-post-template-wrapper":".gb-grid-wrapper-"+a+" > .block-editor-inner-blocks > .block-editor-block-list__layout",u=o?c+" > .block-editor-inner-blocks":c+" > .gb-grid-column";return s[c]=[{"align-items":n,"justify-content":i,"margin-left":l||0===l?"-"+l+"px":null}],s[u]=[{"padding-left":I(l,"px"),"margin-bottom":I(r,"px")}],s=(0,m.applyFilters)("generateblocks.editor.mainCSS",s,this.props,"grid"),(0,e.createElement)("style",null,O(s))}}class A extends e.Component{render(){let t=[];return t=(0,m.applyFilters)("generateblocks.editor.desktopCSS",t,this.props,"grid"),(0,e.createElement)("style",null,O(t))}}class F extends e.Component{render(){const t=(0,m.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{uniqueId:a,horizontalGapTablet:l,verticalGapTablet:r,verticalAlignmentTablet:n,horizontalAlignmentTablet:i,isQueryLoop:o}=t;let s=[];const c=o?".gb-post-template-"+a+" > .gb-post-template-wrapper":".gb-grid-wrapper-"+a+" > .block-editor-inner-blocks > .block-editor-block-list__layout",u=o?c+" > .block-editor-inner-blocks":c+" > .gb-grid-column";return s[c]=[{"align-items":"inherit"!==n?n:null,"justify-content":"inherit"!==i?i:null,"margin-left":l||0===l?"-"+l+"px":null}],s[u]=[{"padding-left":I(l,"px"),"margin-bottom":r||0===r?I(r,"px"):null}],s=(0,m.applyFilters)("generateblocks.editor.tabletCSS",s,this.props,"grid"),(0,e.createElement)("style",null,O(s))}}class P extends e.Component{render(){let t=[];return t=(0,m.applyFilters)("generateblocks.editor.tabletOnlyCSS",t,this.props,"grid"),(0,e.createElement)("style",null,O(t))}}class H extends e.Component{render(){const t=(0,m.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{uniqueId:a,horizontalGapMobile:l,verticalGapMobile:r,verticalAlignmentMobile:n,horizontalAlignmentMobile:i,isQueryLoop:o}=t;let s=[];const c=o?".gb-post-template-"+a+" > .gb-post-template-wrapper":".gb-grid-wrapper-"+a+" > .block-editor-inner-blocks > .block-editor-block-list__layout",u=o?c+" > .block-editor-inner-blocks":c+" > .gb-grid-column";return s[c]=[{"align-items":"inherit"!==n?n:null,"justify-content":"inherit"!==i?i:null,"margin-left":l||0===l?"-"+l+"px":null}],s[u]=[{"padding-left":I(l,"px"),"margin-bottom":r||0===r?I(r,"px"):null}],s=(0,m.applyFilters)("generateblocks.editor.mobileCSS",s,this.props,"grid"),(0,e.createElement)("style",null,O(s))}}var V=window.lodash,U=a.n(V);function G(e,t){return e.deviceType===t.deviceType&&e.clientId===t.clientId&&(a=e.attributes,l=t.attributes,Object.keys(a).every((e=>(0,V.isEqual)(a[e],l[e]))));var a,l}var j=(0,e.memo)((function(t){const a=(0,l.useSelect)((e=>{if(!e("core/edit-post"))return"Desktop";const{__experimentalGetPreviewDeviceType:t=(()=>"Desktop")}=e("core/edit-post");return t()}),[]),{isBlockPreview:r=!1}=t?.attributes;return r?null:(0,e.createElement)(e.Fragment,null,(0,e.createElement)(N,t),a&&(0,e.createElement)(e.Fragment,null,"Desktop"===a&&(0,e.createElement)(A,t),("Tablet"===a||"Mobile"===a)&&(0,e.createElement)(F,t),"Tablet"===a&&(0,e.createElement)(P,t),"Mobile"===a&&(0,e.createElement)(H,t)))}),G),q=window.wp.compose,W=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Desktop";const[a,r]=_("generateblocksDeviceType",{ssr:!0,defaultValue:t});if(!(0,l.dispatch)("core/edit-post"))return[a,e=>{r(e)}];const{__experimentalSetPreviewDeviceType:n=(()=>{})}=(0,l.useDispatch)("core/edit-post"),i=(0,l.useSelect)((e=>{const{__experimentalGetPreviewDeviceType:t=(()=>!1)}=e("core/edit-post");return t()}),[]);(0,e.useEffect)((()=>{r(i)}),[i]);const o=e=>{generateBlocksInfo&&generateBlocksInfo.syncResponsivePreviews&&n(e),r(e)};return[a,o]},$=e=>{const t=(0,l.useSelect)((t=>t("core/block-editor").getBlock(e)));return t?t.innerBlocks.length:0},Z=window.wp.coreData,K=()=>(0,l.useSelect)((e=>{const{getTaxonomies:t}=e(Z.store);return t({per_page:-1})||[]}),[]);const Q=e=>e.reduce(((e,t)=>{if(t.name&&t.name.includes("generateblocks")&&t.attributes&&t.attributes.uniqueId&&(e.uniqueIds.push(t.attributes.uniqueId),e.clientIds.push(t.clientId)),t.innerBlocks){const{uniqueIds:a,clientIds:l}=Q(t.innerBlocks);e.uniqueIds=e.uniqueIds.concat(a),e.clientIds=e.clientIds.concat(l)}return e}),{uniqueIds:[],clientIds:[]});var Y=t=>a=>{const{clientId:n,attributes:i}=a,{updateBlockAttributes:o}=(0,l.useDispatch)(r.store);return(0,e.useEffect)((()=>{const{uniqueIds:e,clientIds:t}=Q(wp.data.select("core/block-editor").getBlocks());if(!i.uniqueId||(a=e,l=i.uniqueId,r=t.indexOf(n),a.filter((e=>e===l)).length>1&&r===a.lastIndexOf(l))){const e=(e=>e.substr(2,9).replace("-",""))(n);o(n,{uniqueId:e})}var a,l,r}),[n]),(0,e.createElement)(t,a)};function J(e){return""===e.uniqueId}function X(e,t){return!e||e<t}const ee=[{name:"generateblocks/button",id:"buttonDocumentation",url:"https://docs.generateblocks.com/collection/buttons/"},{name:"generateblocks/button-container",id:"buttonContainerDocumentation",url:"https://docs.generateblocks.com/collection/buttons/"},{name:"generateblocks/container",id:"containerDocumentation",url:"https://docs.generateblocks.com/collection/container/"},{name:"generateblocks/grid",id:"gridDocumentation",url:"https://docs.generateblocks.com/collection/grid/"},{name:"generateblocks/headline",id:"headlineDocumentation",url:"https://docs.generateblocks.com/collection/headline/"},{name:"generateblocks/image",id:"imageDocumentation",url:"https://docs.generateblocks.com/collection/image/"}],te=(0,q.createHigherOrderComponent)((a=>l=>{const{name:n,state:o}=l,s=ee.find((e=>n===e.name));return s&&0!==s.length?(0,e.createElement)(e.Fragment,null,(0,e.createElement)(a,l),(0,e.createElement)(r.InspectorControls,null,(0,e.createElement)(C,t({},l,{title:(0,i.__)("Documentation","generateblocks"),icon:b("documentation"),initialOpen:!1,className:"gblocks-panel-label",id:s.id,state:o}),(0,e.createElement)("p",null,(0,i.__)("Need help with this block?","generateblocks")),(0,e.createElement)("a",{href:s.url,target:"_blank",rel:"noreferrer noopener"},(0,i.__)("Visit our documentation","generateblocks")),(0,m.applyFilters)("generateblocks.editor.controls","",s.id,l,o)))):(0,e.createElement)(a,l)}),"withDocumentation");(0,m.addFilter)("editor.BlockEdit","generateblocks/with-documentation",te,99);var ae=function(t){let{icon:a,size:l=24,...r}=t;return(0,e.cloneElement)(a,{width:l,height:l,...r})},le=(0,e.createElement)(T.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)(T.Path,{d:"M20.5 16h-.7V8c0-1.1-.9-2-2-2H6.2c-1.1 0-2 .9-2 2v8h-.7c-.8 0-1.5.7-1.5 1.5h20c0-.8-.7-1.5-1.5-1.5zM5.7 8c0-.3.2-.5.5-.5h11.6c.3 0 .5.2.5.5v7.6H5.7V8z"})),re=(0,e.createElement)(T.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)(T.Path,{d:"M17 4H7c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v12zm-7.5-.5h4V16h-4v1.5z"})),ne=(0,e.createElement)(T.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)(T.Path,{d:"M15 4H9c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H9c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h6c.3 0 .5.2.5.5v12zm-4.5-.5h2V16h-2v1.5z"}));class ie extends e.Component{render(){const{onClick:t,selectedDevice:a}=this.props,l=document.querySelector(".edit-post-sidebar .edit-post-sidebar__panel-tabs"),r=l?l.offsetHeight:0;return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"gb-responsive-tabs",style:{top:r+"px"}},(0,e.createElement)(n.Tooltip,{text:(0,i.__)("Show options for all devices","generateblocks")},(0,e.createElement)(n.Button,{isPressed:"Desktop"===a,onClick:()=>{t("Desktop")}},(0,e.createElement)(ae,{icon:le}))),(0,e.createElement)(n.Tooltip,{text:(0,i.__)("Show options for tablet devices","generateblocks")},(0,e.createElement)(n.Button,{isPressed:"Tablet"===a,onClick:()=>{t("Tablet")}},(0,e.createElement)(ae,{icon:re}))),(0,e.createElement)(n.Tooltip,{text:(0,i.__)("Show options for mobile devices","generateblocks")},(0,e.createElement)(n.Button,{isPressed:"Mobile"===a,onClick:()=>{t("Mobile")}},(0,e.createElement)(ae,{icon:ne})))),(0,m.applyFilters)("generateblocks.editor.controls","","afterResponsiveTabs",this.props,this.state))}}const oe=(0,q.createHigherOrderComponent)((a=>l=>{const{name:n}=l;if(!(0,m.applyFilters)("generateblocks.editor.responsiveTabBlocks",["generateblocks/button","generateblocks/button-container","generateblocks/container","generateblocks/grid","generateblocks/headline","generateblocks/image"],l).includes(n))return(0,e.createElement)(a,l);const[i,o]=W("Desktop");return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(r.InspectorControls,null,(0,e.createElement)(ie,t({},l,{selectedDevice:i,onClick:o}))),(0,e.createElement)(a,l))}),"withResponsiveTabs");function se(e,t,a){var l=this,r=(0,v.useRef)(null),n=(0,v.useRef)(0),i=(0,v.useRef)(null),o=(0,v.useRef)([]),s=(0,v.useRef)(),c=(0,v.useRef)(),u=(0,v.useRef)(e),g=(0,v.useRef)(!0);u.current=e;var d=!t&&0!==t&&"undefined"!=typeof window;if("function"!=typeof e)throw new TypeError("Expected a function");t=+t||0;var b=!!(a=a||{}).leading,p=!("trailing"in a)||!!a.trailing,m="maxWait"in a,f=m?Math.max(+a.maxWait||0,t):null;(0,v.useEffect)((function(){return g.current=!0,function(){g.current=!1}}),[]);var h=(0,v.useMemo)((function(){var e=function(e){var t=o.current,a=s.current;return o.current=s.current=null,n.current=e,c.current=u.current.apply(a,t)},a=function(e,t){d&&cancelAnimationFrame(i.current),i.current=d?requestAnimationFrame(e):setTimeout(e,t)},h=function(e){if(!g.current)return!1;var a=e-r.current,l=e-n.current;return!r.current||a>=t||a<0||m&&l>=f},k=function(t){return i.current=null,p&&o.current?e(t):(o.current=s.current=null,c.current)},v=function(){var e=Date.now();if(h(e))return k(e);if(g.current){var l=e-r.current,i=e-n.current,o=t-l,s=m?Math.min(o,f-i):o;a(v,s)}},y=function(){for(var u=[],d=0;d<arguments.length;d++)u[d]=arguments[d];var p=Date.now(),f=h(p);if(o.current=u,s.current=l,r.current=p,f){if(!i.current&&g.current)return n.current=r.current,a(v,t),b?e(r.current):c.current;if(m)return a(v,t),e(r.current)}return i.current||a(v,t),c.current};return y.cancel=function(){i.current&&(d?cancelAnimationFrame(i.current):clearTimeout(i.current)),n.current=0,o.current=r.current=s.current=i.current=null},y.isPending=function(){return!!i.current},y.flush=function(){return i.current?k(Date.now()):c.current},y}),[b,m,t,f,p,d]);return h}(0,m.addFilter)("editor.BlockEdit","generateblocks/with-responsive-tabs",oe,1);const ce=(0,e.memo)((function(a){let{blocks:l,contextId:n,setActiveContextId:i,isHidden:o}=a;const s=(0,r.__experimentalUseBlockPreview)({blocks:l}),c=()=>i(n),u={display:o?"none":void 0};return(0,e.createElement)("div",t({},s,{className:"block-editor-inner-blocks gb-query-loop-block-preview",tabIndex:0,role:"button",onClick:c,onKeyPress:c,style:u}))}));function ue(e){return e.map((e=>{const t=ue(e.innerBlocks),a=Object.assign({},e.attributes,{isBlockPreview:!0});return Object.assign({},e,{attributes:a,innerBlocks:t})}))}function ge(a){const{clientId:o,data:s,hasData:c,isResolvingData:u,hasResolvedData:g,templateLock:d,contextCallback:b}=a,p=(0,l.useSelect)((e=>e("core/block-editor")?.getBlocks(o)),[]),{getSelectedBlock:m}=(0,l.useSelect)(r.store),[f,h]=(0,e.useState)([]),[k,v]=(0,e.useState)();(0,e.useEffect)((()=>{h(ue(p))}),[]);const y=se((()=>{h(ue(p))}),10),w=["core/paragraph","core/heading","core/button","generateblocks/headline","generateblocks/button"];(0,e.useEffect)((()=>{const e=m();!w.includes(e?.name)||e?.attributes?.useDynamicData||e?.attributes?.dynamicContentType?h(ue(p)):y()}),[JSON.stringify(p)]);const _=(0,e.useMemo)((()=>c&&s.map((e=>b(e)))),[s,c]);return u?(0,e.createElement)(n.Spinner,null):g&&!c?(0,e.createElement)("h5",null,(0,i.__)("No results found.","generateblocks")):_&&_.map((l=>(0,e.createElement)(r.BlockContextProvider,{key:l.postId,value:l},l.postId===(k||_[0]?.postId)?(0,e.createElement)(r.InnerBlocks,t({},a,{templateLock:d})):null,(0,e.createElement)(ce,{blocks:f,contextId:l.postId,setActiveContextId:v,isHidden:l.postId===(k||_[0]?.postId)}))))}function de(e){return Object.fromEntries(Object.entries(e).filter((e=>{let[t,a]=e;return"alt"===t||(Array.isArray(a)?!!a.length:!!a)})))}function be(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const a=t?`${e.rest}_exclude`:e.rest;return{[a]:{terms:e.terms,include_children:e?.includeChildren}}}function pe(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.reduce(((e,a)=>Object.assign({},e,be(a,t))),{})}function me(t){const{clientId:a,context:r}=t,n=r["generateblocks/query"]||{},i=(0,e.useMemo)((()=>function(e){let t=function(e){const t=e.per_page?e.per_page:10,a="-1"===e.per_page||e.per_page>50?50:t;let l;"exclude"===e.stickyPosts?l=!1:"only"===e.stickyPosts&&(l=!0);const r=Object.assign({},e,{per_page:a,sticky:l});return(0,m.applyFilters)("generateblocks.editor.query-loop.normalize-parameters",r)}(e);if(Array.isArray(t.tax_query)){const e=pe(t.tax_query);t=Object.assign({},t,e,{tax_query:void 0})}if(Array.isArray(t.tax_query_exclude)){const e=pe(t.tax_query_exclude,!0);t=Object.assign({},t,e,{tax_query_exclude:void 0})}return t}(de(n))),[JSON.stringify(n)]),{data:o,isResolvingData:s,hasResolvedData:c}=(0,l.useSelect)((e=>{const{getEntityRecords:t,isResolving:a,hasFinishedResolution:l}=e(Z.store),r=["postType",n.post_type||"post",i];return{data:t(...r),isResolvingData:a("getEntityRecords",r),hasResolvedData:l("getEntityRecords",r)}}),[JSON.stringify(i)]);return(0,e.createElement)("div",{className:"gb-post-template-wrapper"},(0,e.createElement)(ge,{data:o,hasData:!(!c||!o?.length),isResolvingData:s,hasResolvedData:c,templateLock:!0,clientId:a,contextCallback:e=>({postType:e.type,postId:e.id})}))}var fe=(0,q.compose)((t=>a=>{const{attributes:l}=a,r=l.isQueryLoop?Object.assign({},a,{defaultLayout:"100",templateLock:"all",InnerBlocksRenderer:me}):a;return(0,e.createElement)(t,r)}),Y,(t=>a=>{const{attributes:l,setAttributes:r}=a;return(0,e.useEffect)((()=>{if(l.isDynamic||r({isDynamic:!0}),!J(l)&&X(l.blockVersion,2)){const e=generateBlocksLegacyDefaults.v_1_4_0.gridContainer,t={};l.useGlobalStyle&&l.globalStyleId||S(l.horizontalGap)||(t.horizontalGap=e.horizontalGap),Object.keys(t).length>0&&r(t)}X(l.blockVersion,2)&&r({blockVersion:2})}),[]),(0,e.createElement)(t,a)}))((a=>{const{clientId:n,attributes:i,setAttributes:o,InnerBlocksRenderer:d=r.InnerBlocks,LayoutSelector:b=u,defaultLayout:f=!1,templateLock:h=!1,context:k}=a,[v,y]=(0,e.useState)(!1),[w,_]=W("Desktop"),C=$(n),{insertBlocks:T}=(0,l.useDispatch)("core/block-editor");(0,e.useEffect)((()=>{o({columns:C})}),[C]),(0,e.useEffect)((()=>{const e=f||v;!i.isQueryLoop&&e&&(c(e,i.uniqueId).forEach((e=>{T((0,g.createBlock)("generateblocks/container",e),void 0,a.clientId,!1)})),y(!1))}),[v,f,i.uniqueId,a.clientId,i.isQueryLoop]);let E={className:s()({"gb-grid-wrapper":!0,[`gb-grid-wrapper-${i.uniqueId}`]:!0,[`${i.className}`]:void 0!==i.className,"gb-post-template":!!i.isQueryLoop,[`gb-post-template-${i.uniqueId}`]:!!i.isQueryLoop}),id:i.anchor?i.anchor:null};E=(0,m.applyFilters)("generateblocks.frontend.htmlAttributes",E,"generateblocks/grid",i);const x=(0,r.useBlockProps)(E);return(0,e.createElement)(e.Fragment,null,!i.isQueryLoop&&(i.columns>0||v)&&(0,e.createElement)(p,{uniqueId:i.uniqueId,clientId:a.clientId}),(0,e.createElement)(D,t({},a,{state:{selectedLayout:v,deviceType:w},deviceType:w,setDeviceType:_,blockDefaults:generateBlocksDefaults.gridContainer})),(0,e.createElement)(L,{anchor:i.anchor,setAttributes:o}),(0,e.createElement)(j,t({},a,{deviceType:w})),(0,e.createElement)("div",x,i.isQueryLoop||i.columns>0||v?(0,e.createElement)(d,{templateLock:h,allowedBlocks:["generateblocks/container"],renderAppender:!1,clientId:n,uniqueId:i.uniqueId,attributes:i,context:k}):(0,e.createElement)(b,{uniqueId:i.uniqueId,onClick:y,isDisabled:i?.isBlockPreview})))})),he={uniqueId:{type:"string",default:""},anchor:{type:"string",default:""},columns:{type:"number",default:""},horizontalGap:{type:"number",default:generateBlocksDefaults.gridContainer.horizontalGap},verticalGap:{type:"number",default:generateBlocksDefaults.gridContainer.verticalGap},verticalAlignment:{type:"string",default:generateBlocksDefaults.gridContainer.verticalAlignment},horizontalGapTablet:{type:"number",default:generateBlocksDefaults.gridContainer.horizontalGapTablet},verticalGapTablet:{type:"number",default:generateBlocksDefaults.gridContainer.verticalGapTablet},verticalAlignmentTablet:{type:"string",default:generateBlocksDefaults.gridContainer.verticalAlignmentTablet},horizontalGapMobile:{type:"number",default:generateBlocksDefaults.gridContainer.horizontalGapMobile},verticalGapMobile:{type:"number",default:generateBlocksDefaults.gridContainer.verticalGapMobile},verticalAlignmentMobile:{type:"string",default:generateBlocksDefaults.gridContainer.verticalAlignmentMobile},horizontalAlignment:{type:"string",default:generateBlocksDefaults.gridContainer.horizontalAlignment},horizontalAlignmentTablet:{type:"string",default:generateBlocksDefaults.gridContainer.horizontalAlignmentTablet},horizontalAlignmentMobile:{type:"string",default:generateBlocksDefaults.gridContainer.horizontalAlignmentMobile},isDynamic:{type:"boolean"},blockVersion:{type:"number"},isQueryLoop:{type:"boolean",default:!1},elementId:{type:"string",default:""},cssClasses:{type:"string",default:""}};const ke=[{attributes:he,supports:{anchor:!1,className:!1,customClassName:!1},migrate(e){const t=e.cssClasses?e.cssClasses:e.className,a=e.elementId?e.elementId:e.anchor;return{...e,className:t,anchor:a,cssClasses:"",elementId:""}},save(t){let{attributes:a}=t;const{uniqueId:l,elementId:n,cssClasses:i}=a;let o={id:n||void 0,className:s()({"gb-grid-wrapper":!0,[`gb-grid-wrapper-${l}`]:!0,[`${i}`]:""!==i})};return o=(0,m.applyFilters)("generateblocks.frontend.htmlAttributes",o,"generateblocks/grid",a),(0,e.createElement)("div",o,(0,e.createElement)(r.InnerBlocks.Content,null))}}];var ve=ke;(0,g.registerBlockType)("generateblocks/grid",{apiVersion:2,title:(0,i.__)("Grid","generateblocks"),description:(0,i.__)("Create advanced layouts with flexible grids.","generateblocks"),icon:b("grid"),category:"generateblocks",keywords:[(0,i.__)("grid"),(0,i.__)("column"),(0,i.__)("generate")],attributes:he,supports:{className:!1,html:!1},edit:fe,save:()=>(0,e.createElement)(r.InnerBlocks.Content,null),deprecated:ve});var ye=Object.assign({},he,{uniqueId:{type:"string",default:""},inheritQuery:{type:"boolean",default:!1},query:{type:"object",default:{}}}),we=function(){function e(e){var t=this;this._insertTag=function(e){var a;a=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,a),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var a=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{a.insertRule(e,a.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),_e=Math.abs,Ce=String.fromCharCode,Te=Object.assign;function Ee(e){return e.trim()}function xe(e,t,a){return e.replace(t,a)}function Se(e,t){return e.indexOf(t)}function Be(e,t){return 0|e.charCodeAt(t)}function Me(e,t,a){return e.slice(t,a)}function De(e){return e.length}function Re(e){return e.length}function ze(e,t){return t.push(e),e}var Le=1,Oe=1,Ie=0,Ne=0,Ae=0,Fe="";function Pe(e,t,a,l,r,n,i){return{value:e,root:t,parent:a,type:l,props:r,children:n,line:Le,column:Oe,length:i,return:""}}function He(e,t){return Te(Pe("",null,null,"",null,null,0),e,{length:-e.length},t)}function Ve(){return Ae=Ne>0?Be(Fe,--Ne):0,Oe--,10===Ae&&(Oe=1,Le--),Ae}function Ue(){return Ae=Ne<Ie?Be(Fe,Ne++):0,Oe++,10===Ae&&(Oe=1,Le++),Ae}function Ge(){return Be(Fe,Ne)}function je(){return Ne}function qe(e,t){return Me(Fe,e,t)}function We(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function $e(e){return Le=Oe=1,Ie=De(Fe=e),Ne=0,[]}function Ze(e){return Fe="",e}function Ke(e){return Ee(qe(Ne-1,Je(91===e?e+2:40===e?e+1:e)))}function Qe(e){for(;(Ae=Ge())&&Ae<33;)Ue();return We(e)>2||We(Ae)>3?"":" "}function Ye(e,t){for(;--t&&Ue()&&!(Ae<48||Ae>102||Ae>57&&Ae<65||Ae>70&&Ae<97););return qe(e,je()+(t<6&&32==Ge()&&32==Ue()))}function Je(e){for(;Ue();)switch(Ae){case e:return Ne;case 34:case 39:34!==e&&39!==e&&Je(Ae);break;case 40:41===e&&Je(e);break;case 92:Ue()}return Ne}function Xe(e,t){for(;Ue()&&e+Ae!==57&&(e+Ae!==84||47!==Ge()););return"/*"+qe(t,Ne-1)+"*"+Ce(47===e?e:Ue())}function et(e){for(;!We(Ge());)Ue();return qe(e,Ne)}var tt="-ms-",at="-moz-",lt="-webkit-",rt="comm",nt="rule",it="decl",ot="@keyframes";function st(e,t){for(var a="",l=Re(e),r=0;r<l;r++)a+=t(e[r],r,e,t)||"";return a}function ct(e,t,a,l){switch(e.type){case"@import":case it:return e.return=e.return||e.value;case rt:return"";case ot:return e.return=e.value+"{"+st(e.children,l)+"}";case nt:e.value=e.props.join(",")}return De(a=st(e.children,l))?e.return=e.value+"{"+a+"}":""}function ut(e,t){switch(function(e,t){return(((t<<2^Be(e,0))<<2^Be(e,1))<<2^Be(e,2))<<2^Be(e,3)}(e,t)){case 5103:return lt+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return lt+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return lt+e+at+e+tt+e+e;case 6828:case 4268:return lt+e+tt+e+e;case 6165:return lt+e+tt+"flex-"+e+e;case 5187:return lt+e+xe(e,/(\w+).+(:[^]+)/,"-webkit-box-$1$2-ms-flex-$1$2")+e;case 5443:return lt+e+tt+"flex-item-"+xe(e,/flex-|-self/,"")+e;case 4675:return lt+e+tt+"flex-line-pack"+xe(e,/align-content|flex-|-self/,"")+e;case 5548:return lt+e+tt+xe(e,"shrink","negative")+e;case 5292:return lt+e+tt+xe(e,"basis","preferred-size")+e;case 6060:return lt+"box-"+xe(e,"-grow","")+lt+e+tt+xe(e,"grow","positive")+e;case 4554:return lt+xe(e,/([^-])(transform)/g,"$1-webkit-$2")+e;case 6187:return xe(xe(xe(e,/(zoom-|grab)/,lt+"$1"),/(image-set)/,lt+"$1"),e,"")+e;case 5495:case 3959:return xe(e,/(image-set\([^]*)/,lt+"$1$`$1");case 4968:return xe(xe(e,/(.+:)(flex-)?(.*)/,"-webkit-box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+lt+e+e;case 4095:case 3583:case 4068:case 2532:return xe(e,/(.+)-inline(.+)/,lt+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(De(e)-1-t>6)switch(Be(e,t+1)){case 109:if(45!==Be(e,t+4))break;case 102:return xe(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1"+at+(108==Be(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Se(e,"stretch")?ut(xe(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Be(e,t+1))break;case 6444:switch(Be(e,De(e)-3-(~Se(e,"!important")&&10))){case 107:return xe(e,":",":"+lt)+e;case 101:return xe(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+lt+(45===Be(e,14)?"inline-":"")+"box$3$1"+lt+"$2$3$1"+tt+"$2box$3")+e}break;case 5936:switch(Be(e,t+11)){case 114:return lt+e+tt+xe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return lt+e+tt+xe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return lt+e+tt+xe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return lt+e+tt+e+e}return e}function gt(e){var t=Re(e);return function(a,l,r,n){for(var i="",o=0;o<t;o++)i+=e[o](a,l,r,n)||"";return i}}function dt(e){return function(t){t.root||(t=t.return)&&e(t)}}function bt(e,t,a,l){if(e.length>-1&&!e.return)switch(e.type){case it:e.return=ut(e.value,e.length);break;case ot:return st([He(e,{value:xe(e.value,"@","@"+lt)})],l);case nt:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return st([He(e,{props:[xe(t,/:(read-\w+)/,":-moz-$1")]})],l);case"::placeholder":return st([He(e,{props:[xe(t,/:(plac\w+)/,":-webkit-input-$1")]}),He(e,{props:[xe(t,/:(plac\w+)/,":-moz-$1")]}),He(e,{props:[xe(t,/:(plac\w+)/,tt+"input-$1")]})],l)}return""}))}}function pt(e){return Ze(mt("",null,null,null,[""],e=$e(e),0,[0],e))}function mt(e,t,a,l,r,n,i,o,s){for(var c=0,u=0,g=i,d=0,b=0,p=0,m=1,f=1,h=1,k=0,v="",y=r,w=n,_=l,C=v;f;)switch(p=k,k=Ue()){case 40:if(108!=p&&58==C.charCodeAt(g-1)){-1!=Se(C+=xe(Ke(k),"&","&\f"),"&\f")&&(h=-1);break}case 34:case 39:case 91:C+=Ke(k);break;case 9:case 10:case 13:case 32:C+=Qe(p);break;case 92:C+=Ye(je()-1,7);continue;case 47:switch(Ge()){case 42:case 47:ze(ht(Xe(Ue(),je()),t,a),s);break;default:C+="/"}break;case 123*m:o[c++]=De(C)*h;case 125*m:case 59:case 0:switch(k){case 0:case 125:f=0;case 59+u:b>0&&De(C)-g&&ze(b>32?kt(C+";",l,a,g-1):kt(xe(C," ","")+";",l,a,g-2),s);break;case 59:C+=";";default:if(ze(_=ft(C,t,a,c,u,r,o,v,y=[],w=[],g),n),123===k)if(0===u)mt(C,t,_,_,y,n,g,o,w);else switch(d){case 100:case 109:case 115:mt(e,_,_,l&&ze(ft(e,_,_,0,0,r,o,v,r,y=[],g),w),r,w,g,o,l?y:w);break;default:mt(C,_,_,_,[""],w,0,o,w)}}c=u=b=0,m=h=1,v=C="",g=i;break;case 58:g=1+De(C),b=p;default:if(m<1)if(123==k)--m;else if(125==k&&0==m++&&125==Ve())continue;switch(C+=Ce(k),k*m){case 38:h=u>0?1:(C+="\f",-1);break;case 44:o[c++]=(De(C)-1)*h,h=1;break;case 64:45===Ge()&&(C+=Ke(Ue())),d=Ge(),u=g=De(v=C+=et(je())),k++;break;case 45:45===p&&2==De(C)&&(m=0)}}return n}function ft(e,t,a,l,r,n,i,o,s,c,u){for(var g=r-1,d=0===r?n:[""],b=Re(d),p=0,m=0,f=0;p<l;++p)for(var h=0,k=Me(e,g+1,g=_e(m=i[p])),v=e;h<b;++h)(v=Ee(m>0?d[h]+" "+k:xe(k,/&\f/g,d[h])))&&(s[f++]=v);return Pe(e,t,a,0===r?nt:o,s,c,u)}function ht(e,t,a){return Pe(e,t,a,rt,Ce(Ae),Me(e,2,-2),0)}function kt(e,t,a,l){return Pe(e,t,a,it,Me(e,0,l),Me(e,l+1,-1),l)}var vt=function(e,t,a){for(var l=0,r=0;l=r,r=Ge(),38===l&&12===r&&(t[a]=1),!We(r);)Ue();return qe(e,Ne)},yt=new WeakMap,wt=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,a=e.parent,l=e.column===a.column&&e.line===a.line;"rule"!==a.type;)if(!(a=a.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||yt.get(a))&&!l){yt.set(e,!0);for(var r=[],n=function(e,t){return Ze(function(e,t){var a=-1,l=44;do{switch(We(l)){case 0:38===l&&12===Ge()&&(t[a]=1),e[a]+=vt(Ne-1,t,a);break;case 2:e[a]+=Ke(l);break;case 4:if(44===l){e[++a]=58===Ge()?"&\f":"",t[a]=e[a].length;break}default:e[a]+=Ce(l)}}while(l=Ue());return e}($e(e),t))}(t,r),i=a.props,o=0,s=0;o<n.length;o++)for(var c=0;c<i.length;c++,s++)e.props[s]=r[o]?n[o].replace(/&\f/g,i[c]):i[c]+" "+n[o]}}},_t=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},Ct=[bt],Tt=function(e){var t=e.key;if("css"===t){var a=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(a,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var l,r,n=e.stylisPlugins||Ct,i={},o=[];l=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),a=1;a<t.length;a++)i[t[a]]=!0;o.push(e)}));var s,c=[wt,_t],u=[ct,dt((function(e){s.insert(e)}))],g=gt(c.concat(n,u));r=function(e,t,a,l){s=a,st(pt(e?e+"{"+t.styles+"}":t.styles),g),l&&(d.inserted[t.name]=!0)};var d={key:t,sheet:new we({key:t,container:l,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:r};return d.sheet.hydrate(o),d};function Et(e,t,a){var l="";return a.split(" ").forEach((function(a){void 0!==e[a]?t.push(e[a]+";"):l+=a+" "})),l}var xt=function(e,t,a){var l=e.key+"-"+t.name;!1===a&&void 0===e.registered[l]&&(e.registered[l]=t.styles)},St=function(e,t,a){xt(e,t,a);var l=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var r=t;do{e.insert(t===r?"."+l:"",r,e.sheet,!0),r=r.next}while(void 0!==r)}},Bt=function(e){for(var t,a=0,l=0,r=e.length;r>=4;++l,r-=4)t=1540483477*(65535&(t=255&e.charCodeAt(l)|(255&e.charCodeAt(++l))<<8|(255&e.charCodeAt(++l))<<16|(255&e.charCodeAt(++l))<<24))+(59797*(t>>>16)<<16),a=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&a)+(59797*(a>>>16)<<16);switch(r){case 3:a^=(255&e.charCodeAt(l+2))<<16;case 2:a^=(255&e.charCodeAt(l+1))<<8;case 1:a=1540483477*(65535&(a^=255&e.charCodeAt(l)))+(59797*(a>>>16)<<16)}return(((a=1540483477*(65535&(a^=a>>>13))+(59797*(a>>>16)<<16))^a>>>15)>>>0).toString(36)},Mt={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Dt=/[A-Z]|^ms/g,Rt=/_EMO_([^_]+?)_([^]*?)_EMO_/g,zt=function(e){return 45===e.charCodeAt(1)},Lt=function(e){return null!=e&&"boolean"!=typeof e},Ot=function(e){var t=Object.create(null);return function(e){return void 0===t[e]&&(t[e]=zt(a=e)?a:a.replace(Dt,"-$&").toLowerCase()),t[e];var a}}(),It=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Rt,(function(e,t,a){return At={name:t,styles:a,next:At},t}))}return 1===Mt[e]||zt(e)||"number"!=typeof t||0===t?t:t+"px"};function Nt(e,t,a){if(null==a)return"";if(void 0!==a.__emotion_styles)return a;switch(typeof a){case"boolean":return"";case"object":if(1===a.anim)return At={name:a.name,styles:a.styles,next:At},a.name;if(void 0!==a.styles){var l=a.next;if(void 0!==l)for(;void 0!==l;)At={name:l.name,styles:l.styles,next:At},l=l.next;return a.styles+";"}return function(e,t,a){var l="";if(Array.isArray(a))for(var r=0;r<a.length;r++)l+=Nt(e,t,a[r])+";";else for(var n in a){var i=a[n];if("object"!=typeof i)null!=t&&void 0!==t[i]?l+=n+"{"+t[i]+"}":Lt(i)&&(l+=Ot(n)+":"+It(n,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var o=Nt(e,t,i);switch(n){case"animation":case"animationName":l+=Ot(n)+":"+o+";";break;default:l+=n+"{"+o+"}"}}else for(var s=0;s<i.length;s++)Lt(i[s])&&(l+=Ot(n)+":"+It(n,i[s])+";")}return l}(e,t,a);case"function":if(void 0!==e){var r=At,n=a(e);return At=r,Nt(e,t,n)}}if(null==t)return a;var i=t[a];return void 0!==i?i:a}var At,Ft=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Pt=function(e,t,a){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var l=!0,r="";At=void 0;var n=e[0];null==n||void 0===n.raw?(l=!1,r+=Nt(a,t,n)):r+=n[0];for(var i=1;i<e.length;i++)r+=Nt(a,t,e[i]),l&&(r+=n[i]);Ft.lastIndex=0;for(var o,s="";null!==(o=Ft.exec(r));)s+="-"+o[1];return{name:Bt(r)+s,styles:r,next:At}},Ht={}.hasOwnProperty,Vt=(0,v.createContext)("undefined"!=typeof HTMLElement?Tt({key:"css"}):null),Ut=(Vt.Provider,function(e){return(0,v.forwardRef)((function(t,a){var l=(0,v.useContext)(Vt);return e(t,l,a)}))}),Gt=(0,v.createContext)({}),jt=v.useInsertionEffect?v.useInsertionEffect:function(e){e()};function qt(e){jt(e)}var Wt="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",$t=function(e,t){var a={};for(var l in t)Ht.call(t,l)&&(a[l]=t[l]);return a[Wt]=e,a},Zt=function(e){var t=e.cache,a=e.serialized,l=e.isStringTag;return xt(t,a,l),qt((function(){return St(t,a,l)})),null},Kt=Ut((function(e,t,a){var l=e.css;"string"==typeof l&&void 0!==t.registered[l]&&(l=t.registered[l]);var r=e[Wt],n=[l],i="";"string"==typeof e.className?i=Et(t.registered,n,e.className):null!=e.className&&(i=e.className+" ");var o=Pt(n,void 0,(0,v.useContext)(Gt));i+=t.key+"-"+o.name;var s={};for(var c in e)Ht.call(e,c)&&"css"!==c&&c!==Wt&&(s[c]=e[c]);return s.ref=a,s.className=i,(0,v.createElement)(v.Fragment,null,(0,v.createElement)(Zt,{cache:t,serialized:o,isStringTag:"string"==typeof r}),(0,v.createElement)(r,s))}));a(679);var Qt=function(e,t){var a=arguments;if(null==t||!Ht.call(t,"css"))return v.createElement.apply(void 0,a);var l=a.length,r=new Array(l);r[0]=Kt,r[1]=$t(e,t);for(var n=2;n<l;n++)r[n]=a[n];return v.createElement.apply(null,r)};function Yt(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return Pt(t)}v.useInsertionEffect?v.useInsertionEffect:v.useLayoutEffect;var Jt=function e(t){for(var a=t.length,l=0,r="";l<a;l++){var n=t[l];if(null!=n){var i=void 0;switch(typeof n){case"boolean":break;case"object":if(Array.isArray(n))i=e(n);else for(var o in i="",n)n[o]&&o&&(i&&(i+=" "),i+=o);break;default:i=n}i&&(r&&(r+=" "),r+=i)}}return r};function Xt(e,t,a){var l=[],r=Et(e,l,a);return l.length<2?a:r+t(l)}var ea=function(e){var t=e.cache,a=e.serializedArr;return qt((function(){for(var e=0;e<a.length;e++)St(t,a[e],!1)})),null},ta=Ut((function(e,t){var a=[],l=function(){for(var e=arguments.length,l=new Array(e),r=0;r<e;r++)l[r]=arguments[r];var n=Pt(l,t.registered);return a.push(n),xt(t,n,!1),t.key+"-"+n.name},r={css:l,cx:function(){for(var e=arguments.length,a=new Array(e),r=0;r<e;r++)a[r]=arguments[r];return Xt(t.registered,l,Jt(a))},theme:(0,v.useContext)(Gt)},n=e.children(r);return(0,v.createElement)(v.Fragment,null,(0,v.createElement)(ea,{cache:t,serializedArr:a}),n)}));function aa(e,t){if(null==e)return{};var a,l,r=function(e,t){if(null==e)return{};var a,l,r={},n=Object.keys(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}function la(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,l=new Array(t);a<t;a++)l[a]=e[a];return l}function ra(e,t){if(e){if("string"==typeof e)return la(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)?la(e,t):void 0}}function na(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 l,r,n=[],_n=!0,i=!1;try{for(a=a.call(e);!(_n=(l=a.next()).done)&&(n.push(l.value),!t||n.length!==t);_n=!0);}catch(e){i=!0,r=e}finally{try{_n||null==a.return||a.return()}finally{if(i)throw r}}return n}}(e,t)||ra(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 ia(e){return ia="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},ia(e)}function oa(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sa(e,t){for(var a=0;a<t.length;a++){var l=t[a];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}function ca(e,t,a){return t&&sa(e.prototype,t),a&&sa(e,a),e}function ua(e,t){return ua=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},ua(e,t)}function ga(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&&ua(e,t)}function da(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function ba(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function pa(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}function ma(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?pa(Object(a),!0).forEach((function(t){ba(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):pa(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function fa(e){return fa=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},fa(e)}function ha(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ka(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,l=fa(e);if(t){var r=fa(this).constructor;a=Reflect.construct(l,arguments,r)}else a=l.apply(this,arguments);return ha(this,a)}}var va=["className","clearValue","cx","getStyles","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],ya=function(){};function wa(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function _a(e,t,a){var l=[a];if(t&&e)for(var r in t)t.hasOwnProperty(r)&&t[r]&&l.push("".concat(wa(e,r)));return l.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var Ca=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===ia(e)&&null!==e?[e]:[];var t},Ta=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,ma({},aa(e,va))};function Ea(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function xa(e){return Ea(e)?window.pageYOffset:e.scrollTop}function Sa(e,t){Ea(e)?window.scrollTo(0,t):e.scrollTop=t}function Ba(e,t,a,l){return a*((e=e/l-1)*e*e+1)+t}function Ma(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ya,r=xa(e),n=t-r,i=10,o=0;function s(){var t=Ba(o+=i,r,n,a);Sa(e,t),o<a?window.requestAnimationFrame(s):l(e)}s()}function Da(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var Ra=!1,za={get passive(){return Ra=!0}},La="undefined"!=typeof window?window:{};La.addEventListener&&La.removeEventListener&&(La.addEventListener("p",ya,za),La.removeEventListener("p",ya,!1));var Oa=Ra;function Ia(e){return null!=e}function Na(e,t,a){return e?t:a}function Aa(e){var t=e.maxHeight,a=e.menuEl,l=e.minHeight,r=e.placement,n=e.shouldScroll,i=e.isFixedPosition,o=e.theme.spacing,s=function(e){var t=getComputedStyle(e),a="absolute"===t.position,l=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var r=e;r=r.parentElement;)if(t=getComputedStyle(r),(!a||"static"!==t.position)&&l.test(t.overflow+t.overflowY+t.overflowX))return r;return document.documentElement}(a),c={placement:"bottom",maxHeight:t};if(!a||!a.offsetParent)return c;var u=s.getBoundingClientRect().height,g=a.getBoundingClientRect(),d=g.bottom,b=g.height,p=g.top,m=a.offsetParent.getBoundingClientRect().top,f=i?window.innerHeight:function(e){return Ea(e)?window.innerHeight:e.clientHeight}(s),h=xa(s),k=parseInt(getComputedStyle(a).marginBottom,10),v=parseInt(getComputedStyle(a).marginTop,10),y=m-v,w=f-p,_=y+h,C=u-h-p,T=d-f+h+k,E=h+p-v,x=160;switch(r){case"auto":case"bottom":if(w>=b)return{placement:"bottom",maxHeight:t};if(C>=b&&!i)return n&&Ma(s,T,x),{placement:"bottom",maxHeight:t};if(!i&&C>=l||i&&w>=l)return n&&Ma(s,T,x),{placement:"bottom",maxHeight:i?w-k:C-k};if("auto"===r||i){var S=t,B=i?y:_;return B>=l&&(S=Math.min(B-k-o.controlHeight,t)),{placement:"top",maxHeight:S}}if("bottom"===r)return n&&Sa(s,T),{placement:"bottom",maxHeight:t};break;case"top":if(y>=b)return{placement:"top",maxHeight:t};if(_>=b&&!i)return n&&Ma(s,E,x),{placement:"top",maxHeight:t};if(!i&&_>=l||i&&y>=l){var M=t;return(!i&&_>=l||i&&y>=l)&&(M=i?y-v:_-v),n&&Ma(s,E,x),{placement:"top",maxHeight:M}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return c}var Fa=function(e){return"auto"===e?"bottom":e},Pa=(0,v.createContext)({getPortalPlacement:null}),Ha=function(e){ga(a,e);var t=ka(a);function a(){var e;oa(this,a);for(var l=arguments.length,r=new Array(l),n=0;n<l;n++)r[n]=arguments[n];return(e=t.call.apply(t,[this].concat(r))).state={maxHeight:e.props.maxMenuHeight,placement:null},e.context=void 0,e.getPlacement=function(t){var a=e.props,l=a.minMenuHeight,r=a.maxMenuHeight,n=a.menuPlacement,i=a.menuPosition,o=a.menuShouldScrollIntoView,s=a.theme;if(t){var c="fixed"===i,u=Aa({maxHeight:r,menuEl:t,minHeight:l,placement:n,shouldScroll:o&&!c,isFixedPosition:c,theme:s}),g=e.context.getPortalPlacement;g&&g(u),e.setState(u)}},e.getUpdatedProps=function(){var t=e.props.menuPlacement,a=e.state.placement||Fa(t);return ma(ma({},e.props),{},{placement:a,maxHeight:e.state.maxHeight})},e}return ca(a,[{key:"render",value:function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),a}(v.Component);Ha.contextType=Pa;var Va=function(e){var t=e.theme,a=t.spacing.baseUnit;return{color:t.colors.neutral40,padding:"".concat(2*a,"px ").concat(3*a,"px"),textAlign:"center"}},Ua=Va,Ga=Va,ja=function(e){var a=e.children,l=e.className,r=e.cx,n=e.getStyles,i=e.innerProps;return Qt("div",t({css:n("noOptionsMessage",e),className:r({"menu-notice":!0,"menu-notice--no-options":!0},l)},i),a)};ja.defaultProps={children:"No options"};var qa=function(e){var a=e.children,l=e.className,r=e.cx,n=e.getStyles,i=e.innerProps;return Qt("div",t({css:n("loadingMessage",e),className:r({"menu-notice":!0,"menu-notice--loading":!0},l)},i),a)};qa.defaultProps={children:"Loading..."};var Wa,$a,Za,Ka=function(e){ga(l,e);var a=ka(l);function l(){var e;oa(this,l);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return(e=a.call.apply(a,[this].concat(r))).state={placement:null},e.getPortalPlacement=function(t){var a=t.placement;a!==Fa(e.props.menuPlacement)&&e.setState({placement:a})},e}return ca(l,[{key:"render",value:function(){var e=this.props,a=e.appendTo,l=e.children,r=e.className,n=e.controlElement,i=e.cx,o=e.innerProps,s=e.menuPlacement,c=e.menuPosition,u=e.getStyles,g="fixed"===c;if(!a&&!g||!n)return null;var d=this.state.placement||Fa(s),b=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(n),p=g?0:window.pageYOffset,m=b[d]+p,f=Qt("div",t({css:u("menuPortal",{offset:m,position:c,rect:b}),className:i({"menu-portal":!0},r)},o),l);return Qt(Pa.Provider,{value:{getPortalPlacement:this.getPortalPlacement}},a?(0,k.createPortal)(f,a):f)}}]),l}(v.Component),Qa=["size"],Ya={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},Ja=function(e){var a=e.size,l=aa(e,Qa);return Qt("svg",t({height:a,width:a,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Ya},l))},Xa=function(e){return Qt(Ja,t({size:20},e),Qt("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},el=function(e){return Qt(Ja,t({size:20},e),Qt("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},tl=function(e){var t=e.isFocused,a=e.theme,l=a.spacing.baseUnit,r=a.colors;return{label:"indicatorContainer",color:t?r.neutral60:r.neutral20,display:"flex",padding:2*l,transition:"color 150ms",":hover":{color:t?r.neutral80:r.neutral40}}},al=tl,ll=tl,rl=function(){var e=Yt.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(Wa||($a=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],Za||(Za=$a.slice(0)),Wa=Object.freeze(Object.defineProperties($a,{raw:{value:Object.freeze(Za)}})))),nl=function(e){var t=e.delay,a=e.offset;return Qt("span",{css:Yt({animation:"".concat(rl," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:a?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},il=function(e){var a=e.className,l=e.cx,r=e.getStyles,n=e.innerProps,i=e.isRtl;return Qt("div",t({css:r("loadingIndicator",e),className:l({indicator:!0,"loading-indicator":!0},a)},n),Qt(nl,{delay:0,offset:i}),Qt(nl,{delay:160,offset:!0}),Qt(nl,{delay:320,offset:!i}))};il.defaultProps={size:4};var ol=["data"],sl=["innerRef","isDisabled","isHidden","inputClassName"],cl={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},ul={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":ma({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},cl)},gl=function(e){return ma({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},cl)},dl=function(e){var t=e.children,a=e.innerProps;return Qt("div",a,t)},bl={ClearIndicator:function(e){var a=e.children,l=e.className,r=e.cx,n=e.getStyles,i=e.innerProps;return Qt("div",t({css:n("clearIndicator",e),className:r({indicator:!0,"clear-indicator":!0},l)},i),a||Qt(Xa,null))},Control:function(e){var a=e.children,l=e.cx,r=e.getStyles,n=e.className,i=e.isDisabled,o=e.isFocused,s=e.innerRef,c=e.innerProps,u=e.menuIsOpen;return Qt("div",t({ref:s,css:r("control",e),className:l({control:!0,"control--is-disabled":i,"control--is-focused":o,"control--menu-is-open":u},n)},c),a)},DropdownIndicator:function(e){var a=e.children,l=e.className,r=e.cx,n=e.getStyles,i=e.innerProps;return Qt("div",t({css:n("dropdownIndicator",e),className:r({indicator:!0,"dropdown-indicator":!0},l)},i),a||Qt(el,null))},DownChevron:el,CrossIcon:Xa,Group:function(e){var a=e.children,l=e.className,r=e.cx,n=e.getStyles,i=e.Heading,o=e.headingProps,s=e.innerProps,c=e.label,u=e.theme,g=e.selectProps;return Qt("div",t({css:n("group",e),className:r({group:!0},l)},s),Qt(i,t({},o,{selectProps:g,theme:u,getStyles:n,cx:r}),c),Qt("div",null,a))},GroupHeading:function(e){var a=e.getStyles,l=e.cx,r=e.className,n=Ta(e);n.data;var i=aa(n,ol);return Qt("div",t({css:a("groupHeading",e),className:l({"group-heading":!0},r)},i))},IndicatorsContainer:function(e){var a=e.children,l=e.className,r=e.cx,n=e.innerProps,i=e.getStyles;return Qt("div",t({css:i("indicatorsContainer",e),className:r({indicators:!0},l)},n),a)},IndicatorSeparator:function(e){var a=e.className,l=e.cx,r=e.getStyles,n=e.innerProps;return Qt("span",t({},n,{css:r("indicatorSeparator",e),className:l({"indicator-separator":!0},a)}))},Input:function(e){var a=e.className,l=e.cx,r=e.getStyles,n=e.value,i=Ta(e),o=i.innerRef,s=i.isDisabled,c=i.isHidden,u=i.inputClassName,g=aa(i,sl);return Qt("div",{className:l({"input-container":!0},a),css:r("input",e),"data-value":n||""},Qt("input",t({className:l({input:!0},u),ref:o,style:gl(c),disabled:s},g)))},LoadingIndicator:il,Menu:function(e){var a=e.children,l=e.className,r=e.cx,n=e.getStyles,i=e.innerRef,o=e.innerProps;return Qt("div",t({css:n("menu",e),className:r({menu:!0},l),ref:i},o),a)},MenuList:function(e){var a=e.children,l=e.className,r=e.cx,n=e.getStyles,i=e.innerProps,o=e.innerRef,s=e.isMulti;return Qt("div",t({css:n("menuList",e),className:r({"menu-list":!0,"menu-list--is-multi":s},l),ref:o},i),a)},MenuPortal:Ka,LoadingMessage:qa,NoOptionsMessage:ja,MultiValue:function(e){var t=e.children,a=e.className,l=e.components,r=e.cx,n=e.data,i=e.getStyles,o=e.innerProps,s=e.isDisabled,c=e.removeProps,u=e.selectProps,g=l.Container,d=l.Label,b=l.Remove;return Qt(ta,null,(function(l){var p=l.css,m=l.cx;return Qt(g,{data:n,innerProps:ma({className:m(p(i("multiValue",e)),r({"multi-value":!0,"multi-value--is-disabled":s},a))},o),selectProps:u},Qt(d,{data:n,innerProps:{className:m(p(i("multiValueLabel",e)),r({"multi-value__label":!0},a))},selectProps:u},t),Qt(b,{data:n,innerProps:ma({className:m(p(i("multiValueRemove",e)),r({"multi-value__remove":!0},a)),"aria-label":"Remove ".concat(t||"option")},c),selectProps:u}))}))},MultiValueContainer:dl,MultiValueLabel:dl,MultiValueRemove:function(e){var a=e.children,l=e.innerProps;return Qt("div",t({role:"button"},l),a||Qt(Xa,{size:14}))},Option:function(e){var a=e.children,l=e.className,r=e.cx,n=e.getStyles,i=e.isDisabled,o=e.isFocused,s=e.isSelected,c=e.innerRef,u=e.innerProps;return Qt("div",t({css:n("option",e),className:r({option:!0,"option--is-disabled":i,"option--is-focused":o,"option--is-selected":s},l),ref:c,"aria-disabled":i},u),a)},Placeholder:function(e){var a=e.children,l=e.className,r=e.cx,n=e.getStyles,i=e.innerProps;return Qt("div",t({css:n("placeholder",e),className:r({placeholder:!0},l)},i),a)},SelectContainer:function(e){var a=e.children,l=e.className,r=e.cx,n=e.getStyles,i=e.innerProps,o=e.isDisabled,s=e.isRtl;return Qt("div",t({css:n("container",e),className:r({"--is-disabled":o,"--is-rtl":s},l)},i),a)},SingleValue:function(e){var a=e.children,l=e.className,r=e.cx,n=e.getStyles,i=e.isDisabled,o=e.innerProps;return Qt("div",t({css:n("singleValue",e),className:r({"single-value":!0,"single-value--is-disabled":i},l)},o),a)},ValueContainer:function(e){var a=e.children,l=e.className,r=e.cx,n=e.innerProps,i=e.isMulti,o=e.getStyles,s=e.hasValue;return Qt("div",t({css:o("valueContainer",e),className:r({"value-container":!0,"value-container--is-multi":i,"value-container--has-value":s},l)},n),a)}},pl=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function ml(e){var t=e.defaultInputValue,a=void 0===t?"":t,l=e.defaultMenuIsOpen,r=void 0!==l&&l,n=e.defaultValue,i=void 0===n?null:n,o=e.inputValue,s=e.menuIsOpen,c=e.onChange,u=e.onInputChange,g=e.onMenuClose,d=e.onMenuOpen,b=e.value,p=aa(e,pl),m=na((0,v.useState)(void 0!==o?o:a),2),f=m[0],h=m[1],k=na((0,v.useState)(void 0!==s?s:r),2),y=k[0],w=k[1],_=na((0,v.useState)(void 0!==b?b:i),2),C=_[0],T=_[1],E=(0,v.useCallback)((function(e,t){"function"==typeof c&&c(e,t),T(e)}),[c]),x=(0,v.useCallback)((function(e,t){var a;"function"==typeof u&&(a=u(e,t)),h(void 0!==a?a:e)}),[u]),S=(0,v.useCallback)((function(){"function"==typeof d&&d(),w(!0)}),[d]),B=(0,v.useCallback)((function(){"function"==typeof g&&g(),w(!1)}),[g]),M=void 0!==o?o:f,D=void 0!==s?s:y,R=void 0!==b?b:C;return ma(ma({},p),{},{inputValue:M,menuIsOpen:D,onChange:E,onInputChange:x,onMenuClose:B,onMenuOpen:S,value:R})}function fl(e){return function(e){if(Array.isArray(e))return la(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ra(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var hl=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function kl(e,t){if(e.length!==t.length)return!1;for(var a=0;a<e.length;a++)if(!((l=e[a])===(r=t[a])||hl(l)&&hl(r)))return!1;var l,r;return!0}for(var vl={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},yl=function(e){return Qt("span",t({css:vl},e))},wl={guidance:function(e){var t=e.isSearchable,a=e.isMulti,l=e.isDisabled,r=e.tabSelectsValue;switch(e.context){case"menu":return"Use Up and Down to choose options".concat(l?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(a?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,a=e.label,l=void 0===a?"":a,r=e.labels,n=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(l,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(r.length>1?"s":""," ").concat(r.join(","),", selected.");case"select-option":return"option ".concat(l,n?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,a=e.focused,l=e.options,r=e.label,n=void 0===r?"":r,i=e.selectValue,o=e.isDisabled,s=e.isSelected,c=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&i)return"value ".concat(n," focused, ").concat(c(i,a),".");if("menu"===t){var u=o?" disabled":"",g="".concat(s?"selected":"focused").concat(u);return"option ".concat(n," ").concat(g,", ").concat(c(l,a),".")}return""},onFilter:function(e){var t=e.inputValue,a=e.resultsMessage;return"".concat(a).concat(t?" for search term "+t:"",".")}},_l=function(e){var t=e.ariaSelection,a=e.focusedOption,l=e.focusedValue,r=e.focusableOptions,n=e.isFocused,i=e.selectValue,o=e.selectProps,s=e.id,c=o.ariaLiveMessages,u=o.getOptionLabel,g=o.inputValue,d=o.isMulti,b=o.isOptionDisabled,p=o.isSearchable,m=o.menuIsOpen,f=o.options,h=o.screenReaderStatus,k=o.tabSelectsValue,y=o["aria-label"],w=o["aria-live"],_=(0,v.useMemo)((function(){return ma(ma({},wl),c||{})}),[c]),C=(0,v.useMemo)((function(){var e,a="";if(t&&_.onChange){var l=t.option,r=t.options,n=t.removedValue,o=t.removedValues,s=t.value,c=n||l||(e=s,Array.isArray(e)?null:e),g=c?u(c):"",d=r||o||void 0,p=d?d.map(u):[],m=ma({isDisabled:c&&b(c,i),label:g,labels:p},t);a=_.onChange(m)}return a}),[t,_,b,i,u]),T=(0,v.useMemo)((function(){var e="",t=a||l,r=!!(a&&i&&i.includes(a));if(t&&_.onFocus){var n={focused:t,label:u(t),isDisabled:b(t,i),isSelected:r,options:f,context:t===a?"menu":"value",selectValue:i};e=_.onFocus(n)}return e}),[a,l,u,b,_,f,i]),E=(0,v.useMemo)((function(){var e="";if(m&&f.length&&_.onFilter){var t=h({count:r.length});e=_.onFilter({inputValue:g,resultsMessage:t})}return e}),[r,g,m,_,f,h]),x=(0,v.useMemo)((function(){var e="";if(_.guidance){var t=l?"value":m?"menu":"input";e=_.guidance({"aria-label":y,context:t,isDisabled:a&&b(a,i),isMulti:d,isSearchable:p,tabSelectsValue:k})}return e}),[y,a,l,d,b,p,m,_,i,k]),S="".concat(T," ").concat(E," ").concat(x),B=Qt(v.Fragment,null,Qt("span",{id:"aria-selection"},C),Qt("span",{id:"aria-context"},S)),M="initial-input-focus"===(null==t?void 0:t.action);return Qt(v.Fragment,null,Qt(yl,{id:s},M&&B),Qt(yl,{"aria-live":w,"aria-atomic":"false","aria-relevant":"additions text"},n&&!M&&B))},Cl=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],Tl=new RegExp("["+Cl.map((function(e){return e.letters})).join("")+"]","g"),El={},xl=0;xl<Cl.length;xl++)for(var Sl=Cl[xl],Bl=0;Bl<Sl.letters.length;Bl++)El[Sl.letters[Bl]]=Sl.base;var Ml=function(e){return e.replace(Tl,(function(e){return El[e]}))},Dl=function(e,t){var a;void 0===t&&(t=kl);var l,r=[],n=!1;return function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];return n&&a===this&&t(i,r)||(l=e.apply(this,i),n=!0,a=this,r=i),l}}(Ml),Rl=function(e){return e.replace(/^\s+|\s+$/g,"")},zl=function(e){return"".concat(e.label," ").concat(e.value)},Ll=["innerRef"];function Ol(e){var a=e.innerRef,l=function(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),l=1;l<t;l++)a[l-1]=arguments[l];var r=Object.entries(e).filter((function(e){var t=na(e,1)[0];return!a.includes(t)}));return r.reduce((function(e,t){var a=na(t,2),l=a[0],r=a[1];return e[l]=r,e}),{})}(aa(e,Ll),"onExited","in","enter","exit","appear");return Qt("input",t({ref:a},l,{css:Yt({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var Il=["boxSizing","height","overflow","paddingRight","position"],Nl={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Al(e){e.preventDefault()}function Fl(e){e.stopPropagation()}function Pl(){var e=this.scrollTop,t=this.scrollHeight,a=e+this.offsetHeight;0===e?this.scrollTop=1:a===t&&(this.scrollTop=e-1)}function Hl(){return"ontouchstart"in window||navigator.maxTouchPoints}var Vl=!("undefined"==typeof window||!window.document||!window.document.createElement),Ul=0,Gl={capture:!1,passive:!1},jl=function(){return document.activeElement&&document.activeElement.blur()},ql={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function Wl(e){var t=e.children,a=e.lockEnabled,l=e.captureEnabled,r=function(e){var t=e.isEnabled,a=e.onBottomArrive,l=e.onBottomLeave,r=e.onTopArrive,n=e.onTopLeave,i=(0,v.useRef)(!1),o=(0,v.useRef)(!1),s=(0,v.useRef)(0),c=(0,v.useRef)(null),u=(0,v.useCallback)((function(e,t){if(null!==c.current){var s=c.current,u=s.scrollTop,g=s.scrollHeight,d=s.clientHeight,b=c.current,p=t>0,m=g-d-u,f=!1;m>t&&i.current&&(l&&l(e),i.current=!1),p&&o.current&&(n&&n(e),o.current=!1),p&&t>m?(a&&!i.current&&a(e),b.scrollTop=g,f=!0,i.current=!0):!p&&-t>u&&(r&&!o.current&&r(e),b.scrollTop=0,f=!0,o.current=!0),f&&function(e){e.preventDefault(),e.stopPropagation()}(e)}}),[a,l,r,n]),g=(0,v.useCallback)((function(e){u(e,e.deltaY)}),[u]),d=(0,v.useCallback)((function(e){s.current=e.changedTouches[0].clientY}),[]),b=(0,v.useCallback)((function(e){var t=s.current-e.changedTouches[0].clientY;u(e,t)}),[u]),p=(0,v.useCallback)((function(e){if(e){var t=!!Oa&&{passive:!1};e.addEventListener("wheel",g,t),e.addEventListener("touchstart",d,t),e.addEventListener("touchmove",b,t)}}),[b,d,g]),m=(0,v.useCallback)((function(e){e&&(e.removeEventListener("wheel",g,!1),e.removeEventListener("touchstart",d,!1),e.removeEventListener("touchmove",b,!1))}),[b,d,g]);return(0,v.useEffect)((function(){if(t){var e=c.current;return p(e),function(){m(e)}}}),[t,p,m]),function(e){c.current=e}}({isEnabled:void 0===l||l,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),n=function(e){var t=e.isEnabled,a=e.accountForScrollbars,l=void 0===a||a,r=(0,v.useRef)({}),n=(0,v.useRef)(null),i=(0,v.useCallback)((function(e){if(Vl){var t=document.body,a=t&&t.style;if(l&&Il.forEach((function(e){var t=a&&a[e];r.current[e]=t})),l&&Ul<1){var n=parseInt(r.current.paddingRight,10)||0,i=document.body?document.body.clientWidth:0,o=window.innerWidth-i+n||0;Object.keys(Nl).forEach((function(e){var t=Nl[e];a&&(a[e]=t)})),a&&(a.paddingRight="".concat(o,"px"))}t&&Hl()&&(t.addEventListener("touchmove",Al,Gl),e&&(e.addEventListener("touchstart",Pl,Gl),e.addEventListener("touchmove",Fl,Gl))),Ul+=1}}),[l]),o=(0,v.useCallback)((function(e){if(Vl){var t=document.body,a=t&&t.style;Ul=Math.max(Ul-1,0),l&&Ul<1&&Il.forEach((function(e){var t=r.current[e];a&&(a[e]=t)})),t&&Hl()&&(t.removeEventListener("touchmove",Al,Gl),e&&(e.removeEventListener("touchstart",Pl,Gl),e.removeEventListener("touchmove",Fl,Gl)))}}),[l]);return(0,v.useEffect)((function(){if(t){var e=n.current;return i(e),function(){o(e)}}}),[t,i,o]),function(e){n.current=e}}({isEnabled:a});return Qt(v.Fragment,null,a&&Qt("div",{onClick:jl,css:ql}),t((function(e){r(e),n(e)})))}var $l=function(e){return e.label},Zl=function(e){return e.value},Kl={clearIndicator:ll,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e){var t=e.isDisabled,a=e.isFocused,l=e.theme,r=l.colors,n=l.borderRadius,i=l.spacing;return{label:"control",alignItems:"center",backgroundColor:t?r.neutral5:r.neutral0,borderColor:t?r.neutral10:a?r.primary:r.neutral20,borderRadius:n,borderStyle:"solid",borderWidth:1,boxShadow:a?"0 0 0 1px ".concat(r.primary):void 0,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:i.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:a?r.primary:r.neutral30}}},dropdownIndicator:al,group:function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},groupHeading:function(e){var t=e.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*t.baseUnit,paddingRight:3*t.baseUnit,textTransform:"uppercase"}},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e){var t=e.isDisabled,a=e.theme,l=a.spacing.baseUnit,r=a.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:t?r.neutral10:r.neutral20,marginBottom:2*l,marginTop:2*l,width:1}},input:function(e){var t=e.isDisabled,a=e.value,l=e.theme,r=l.spacing,n=l.colors;return ma({margin:r.baseUnit/2,paddingBottom:r.baseUnit/2,paddingTop:r.baseUnit/2,visibility:t?"hidden":"visible",color:n.neutral80,transform:a?"translateZ(0)":""},ul)},loadingIndicator:function(e){var t=e.isFocused,a=e.size,l=e.theme,r=l.colors,n=l.spacing.baseUnit;return{label:"loadingIndicator",color:t?r.neutral60:r.neutral20,display:"flex",padding:2*n,transition:"color 150ms",alignSelf:"center",fontSize:a,lineHeight:1,marginRight:a,textAlign:"center",verticalAlign:"middle"}},loadingMessage:Ga,menu:function(e){var t,a=e.placement,l=e.theme,r=l.borderRadius,n=l.spacing,i=l.colors;return da(t={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(a),"100%"),da(t,"backgroundColor",i.neutral0),da(t,"borderRadius",r),da(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),da(t,"marginBottom",n.menuGutter),da(t,"marginTop",n.menuGutter),da(t,"position","absolute"),da(t,"width","100%"),da(t,"zIndex",1),t},menuList:function(e){var t=e.maxHeight,a=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:a,paddingTop:a,position:"relative",WebkitOverflowScrolling:"touch"}},menuPortal:function(e){var t=e.rect,a=e.offset,l=e.position;return{left:t.left,position:l,top:a,width:t.width,zIndex:1}},multiValue:function(e){var t=e.theme,a=t.spacing,l=t.borderRadius;return{label:"multiValue",backgroundColor:t.colors.neutral10,borderRadius:l/2,display:"flex",margin:a.baseUnit/2,minWidth:0}},multiValueLabel:function(e){var t=e.theme,a=t.borderRadius,l=t.colors,r=e.cropWithEllipsis;return{borderRadius:a/2,color:l.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:r||void 0===r?"ellipsis":void 0,whiteSpace:"nowrap"}},multiValueRemove:function(e){var t=e.theme,a=t.spacing,l=t.borderRadius,r=t.colors;return{alignItems:"center",borderRadius:l/2,backgroundColor:e.isFocused?r.dangerLight:void 0,display:"flex",paddingLeft:a.baseUnit,paddingRight:a.baseUnit,":hover":{backgroundColor:r.dangerLight,color:r.danger}}},noOptionsMessage:Ua,option:function(e){var t=e.isDisabled,a=e.isFocused,l=e.isSelected,r=e.theme,n=r.spacing,i=r.colors;return{label:"option",backgroundColor:l?i.primary:a?i.primary25:"transparent",color:t?i.neutral20:l?i.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(2*n.baseUnit,"px ").concat(3*n.baseUnit,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:t?void 0:l?i.primary:i.primary50}}},placeholder:function(e){var t=e.theme,a=t.spacing;return{label:"placeholder",color:t.colors.neutral50,gridArea:"1 / 1 / 2 / 3",marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2}},singleValue:function(e){var t=e.isDisabled,a=e.theme,l=a.spacing,r=a.colors;return{label:"singleValue",color:t?r.neutral40:r.neutral80,gridArea:"1 / 1 / 2 / 3",marginLeft:l.baseUnit/2,marginRight:l.baseUnit/2,maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},valueContainer:function(e){var t=e.theme.spacing,a=e.isMulti,l=e.hasValue,r=e.selectProps.controlShouldRenderValue;return{alignItems:"center",display:a&&l&&r?"flex":"grid",flex:1,flexWrap:"wrap",padding:"".concat(t.baseUnit/2,"px ").concat(2*t.baseUnit,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}}},Ql={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},Yl={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Da(),captureMenuScroll:!Da(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var a=ma({ignoreCase:!0,ignoreAccents:!0,stringify:zl,trim:!0,matchFrom:"any"},undefined),l=a.ignoreCase,r=a.ignoreAccents,n=a.stringify,i=a.trim,o=a.matchFrom,s=i?Rl(t):t,c=i?Rl(n(e)):n(e);return l&&(s=s.toLowerCase(),c=c.toLowerCase()),r&&(s=Dl(s),c=Ml(c)),"start"===o?c.substr(0,s.length)===s:c.indexOf(s)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:$l,getOptionValue:Zl,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0};function Jl(e,t,a,l){return{type:"option",data:t,isDisabled:rr(e,t,a),isSelected:nr(e,t,a),label:ar(e,t),value:lr(e,t),index:l}}function Xl(e,t){return e.options.map((function(a,l){if("options"in a){var r=a.options.map((function(a,l){return Jl(e,a,t,l)})).filter((function(t){return tr(e,t)}));return r.length>0?{type:"group",data:a,options:r,index:l}:void 0}var n=Jl(e,a,t,l);return tr(e,n)?n:void 0})).filter(Ia)}function er(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,fl(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function tr(e,t){var a=e.inputValue,l=void 0===a?"":a,r=t.data,n=t.isSelected,i=t.label,o=t.value;return(!or(e)||!n)&&ir(e,{label:i,value:o,data:r},l)}var ar=function(e,t){return e.getOptionLabel(t)},lr=function(e,t){return e.getOptionValue(t)};function rr(e,t,a){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,a)}function nr(e,t,a){if(a.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,a);var l=lr(e,t);return a.some((function(t){return lr(e,t)===l}))}function ir(e,t,a){return!e.filterOption||e.filterOption(t,a)}var or=function(e){var t=e.hideSelectedOptions,a=e.isMulti;return void 0===t?a:t},sr=1,cr=function(e){ga(l,e);var a=ka(l);function l(e){var t;return oa(this,l),(t=a.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0},t.blockOptionHover=!1,t.isComposing=!1,t.commonProps=void 0,t.initialTouchX=0,t.initialTouchY=0,t.instancePrefix="",t.openAfterFocus=!1,t.scrollToFocusedOptionOnUpdate=!1,t.userIsDragging=void 0,t.controlRef=null,t.getControlRef=function(e){t.controlRef=e},t.focusedOptionRef=null,t.getFocusedOptionRef=function(e){t.focusedOptionRef=e},t.menuListRef=null,t.getMenuListRef=function(e){t.menuListRef=e},t.inputRef=null,t.getInputRef=function(e){t.inputRef=e},t.focus=t.focusInput,t.blur=t.blurInput,t.onChange=function(e,a){var l=t.props,r=l.onChange,n=l.name;a.name=n,t.ariaOnChange(e,a),r(e,a)},t.setValue=function(e,a,l){var r=t.props,n=r.closeMenuOnSelect,i=r.isMulti,o=r.inputValue;t.onInputChange("",{action:"set-value",prevInputValue:o}),n&&(t.setState({inputIsHiddenAfterUpdate:!i}),t.onMenuClose()),t.setState({clearFocusValueOnUpdate:!0}),t.onChange(e,{action:a,option:l})},t.selectOption=function(e){var a=t.props,l=a.blurInputOnSelect,r=a.isMulti,n=a.name,i=t.state.selectValue,o=r&&t.isOptionSelected(e,i),s=t.isOptionDisabled(e,i);if(o){var c=t.getOptionValue(e);t.setValue(i.filter((function(e){return t.getOptionValue(e)!==c})),"deselect-option",e)}else{if(s)return void t.ariaOnChange(e,{action:"select-option",option:e,name:n});r?t.setValue([].concat(fl(i),[e]),"select-option",e):t.setValue(e,"select-option")}l&&t.blurInput()},t.removeValue=function(e){var a=t.props.isMulti,l=t.state.selectValue,r=t.getOptionValue(e),n=l.filter((function(e){return t.getOptionValue(e)!==r})),i=Na(a,n,n[0]||null);t.onChange(i,{action:"remove-value",removedValue:e}),t.focusInput()},t.clearValue=function(){var e=t.state.selectValue;t.onChange(Na(t.props.isMulti,[],null),{action:"clear",removedValues:e})},t.popValue=function(){var e=t.props.isMulti,a=t.state.selectValue,l=a[a.length-1],r=a.slice(0,a.length-1),n=Na(e,r,r[0]||null);t.onChange(n,{action:"pop-value",removedValue:l})},t.getValue=function(){return t.state.selectValue},t.cx=function(){for(var e=arguments.length,a=new Array(e),l=0;l<e;l++)a[l]=arguments[l];return _a.apply(void 0,[t.props.classNamePrefix].concat(a))},t.getOptionLabel=function(e){return ar(t.props,e)},t.getOptionValue=function(e){return lr(t.props,e)},t.getStyles=function(e,a){var l=Kl[e](a);l.boxSizing="border-box";var r=t.props.styles[e];return r?r(l,a):l},t.getElementId=function(e){return"".concat(t.instancePrefix,"-").concat(e)},t.getComponents=function(){return e=t.props,ma(ma({},bl),e.components);var e},t.buildCategorizedOptions=function(){return Xl(t.props,t.state.selectValue)},t.getCategorizedOptions=function(){return t.props.menuIsOpen?t.buildCategorizedOptions():[]},t.buildFocusableOptions=function(){return er(t.buildCategorizedOptions())},t.getFocusableOptions=function(){return t.props.menuIsOpen?t.buildFocusableOptions():[]},t.ariaOnChange=function(e,a){t.setState({ariaSelection:ma({value:e},a)})},t.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),t.focusInput())},t.onMenuMouseMove=function(e){t.blockOptionHover=!1},t.onControlMouseDown=function(e){if(!e.defaultPrevented){var a=t.props.openMenuOnClick;t.state.isFocused?t.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&t.onMenuClose():a&&t.openMenu("first"):(a&&(t.openAfterFocus=!0),t.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},t.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||t.props.isDisabled)){var a=t.props,l=a.isMulti,r=a.menuIsOpen;t.focusInput(),r?(t.setState({inputIsHiddenAfterUpdate:!l}),t.onMenuClose()):t.openMenu("first"),e.preventDefault()}},t.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(t.clearValue(),e.preventDefault(),t.openAfterFocus=!1,"touchend"===e.type?t.focusInput():setTimeout((function(){return t.focusInput()})))},t.onScroll=function(e){"boolean"==typeof t.props.closeMenuOnScroll?e.target instanceof HTMLElement&&Ea(e.target)&&t.props.onMenuClose():"function"==typeof t.props.closeMenuOnScroll&&t.props.closeMenuOnScroll(e)&&t.props.onMenuClose()},t.onCompositionStart=function(){t.isComposing=!0},t.onCompositionEnd=function(){t.isComposing=!1},t.onTouchStart=function(e){var a=e.touches,l=a&&a.item(0);l&&(t.initialTouchX=l.clientX,t.initialTouchY=l.clientY,t.userIsDragging=!1)},t.onTouchMove=function(e){var a=e.touches,l=a&&a.item(0);if(l){var r=Math.abs(l.clientX-t.initialTouchX),n=Math.abs(l.clientY-t.initialTouchY);t.userIsDragging=r>5||n>5}},t.onTouchEnd=function(e){t.userIsDragging||(t.controlRef&&!t.controlRef.contains(e.target)&&t.menuListRef&&!t.menuListRef.contains(e.target)&&t.blurInput(),t.initialTouchX=0,t.initialTouchY=0)},t.onControlTouchEnd=function(e){t.userIsDragging||t.onControlMouseDown(e)},t.onClearIndicatorTouchEnd=function(e){t.userIsDragging||t.onClearIndicatorMouseDown(e)},t.onDropdownIndicatorTouchEnd=function(e){t.userIsDragging||t.onDropdownIndicatorMouseDown(e)},t.handleInputChange=function(e){var a=t.props.inputValue,l=e.currentTarget.value;t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange(l,{action:"input-change",prevInputValue:a}),t.props.menuIsOpen||t.onMenuOpen()},t.onInputFocus=function(e){t.props.onFocus&&t.props.onFocus(e),t.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(t.openAfterFocus||t.props.openMenuOnFocus)&&t.openMenu("first"),t.openAfterFocus=!1},t.onInputBlur=function(e){var a=t.props.inputValue;t.menuListRef&&t.menuListRef.contains(document.activeElement)?t.inputRef.focus():(t.props.onBlur&&t.props.onBlur(e),t.onInputChange("",{action:"input-blur",prevInputValue:a}),t.onMenuClose(),t.setState({focusedValue:null,isFocused:!1}))},t.onOptionHover=function(e){t.blockOptionHover||t.state.focusedOption===e||t.setState({focusedOption:e})},t.shouldHideSelectedOptions=function(){return or(t.props)},t.onKeyDown=function(e){var a=t.props,l=a.isMulti,r=a.backspaceRemovesValue,n=a.escapeClearsValue,i=a.inputValue,o=a.isClearable,s=a.isDisabled,c=a.menuIsOpen,u=a.onKeyDown,g=a.tabSelectsValue,d=a.openMenuOnFocus,b=t.state,p=b.focusedOption,m=b.focusedValue,f=b.selectValue;if(!(s||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(t.blockOptionHover=!0,e.key){case"ArrowLeft":if(!l||i)return;t.focusValue("previous");break;case"ArrowRight":if(!l||i)return;t.focusValue("next");break;case"Delete":case"Backspace":if(i)return;if(m)t.removeValue(m);else{if(!r)return;l?t.popValue():o&&t.clearValue()}break;case"Tab":if(t.isComposing)return;if(e.shiftKey||!c||!g||!p||d&&t.isOptionSelected(p,f))return;t.selectOption(p);break;case"Enter":if(229===e.keyCode)break;if(c){if(!p)return;if(t.isComposing)return;t.selectOption(p);break}return;case"Escape":c?(t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange("",{action:"menu-close",prevInputValue:i}),t.onMenuClose()):o&&n&&t.clearValue();break;case" ":if(i)return;if(!c){t.openMenu("first");break}if(!p)return;t.selectOption(p);break;case"ArrowUp":c?t.focusOption("up"):t.openMenu("last");break;case"ArrowDown":c?t.focusOption("down"):t.openMenu("first");break;case"PageUp":if(!c)return;t.focusOption("pageup");break;case"PageDown":if(!c)return;t.focusOption("pagedown");break;case"Home":if(!c)return;t.focusOption("first");break;case"End":if(!c)return;t.focusOption("last");break;default:return}e.preventDefault()}},t.instancePrefix="react-select-"+(t.props.instanceId||++sr),t.state.selectValue=Ca(e.value),t}return ca(l,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"componentDidUpdate",value:function(e){var t,a,l,r,n,i=this.props,o=i.isDisabled,s=i.menuIsOpen,c=this.state.isFocused;(c&&!o&&e.isDisabled||c&&s&&!e.menuIsOpen)&&this.focusInput(),c&&o&&!e.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(t=this.menuListRef,a=this.focusedOptionRef,l=t.getBoundingClientRect(),r=a.getBoundingClientRect(),n=a.offsetHeight/3,r.bottom+n>l.bottom?Sa(t,Math.min(a.offsetTop+a.clientHeight-t.offsetHeight+n,t.scrollHeight)):r.top-n<l.top&&Sa(t,Math.max(a.offsetTop-n,0)),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,a=this.state,l=a.selectValue,r=a.isFocused,n=this.buildFocusableOptions(),i="first"===e?0:n.length-1;if(!this.props.isMulti){var o=n.indexOf(l[0]);o>-1&&(i=o)}this.scrollToFocusedOptionOnUpdate=!(r&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:n[i]},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,a=t.selectValue,l=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var r=a.indexOf(l);l||(r=-1);var n=a.length-1,i=-1;if(a.length){switch(e){case"previous":i=0===r?0:-1===r?n:r-1;break;case"next":r>-1&&r<n&&(i=r+1)}this.setState({inputIsHidden:-1!==i,focusedValue:a[i]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,a=this.state.focusedOption,l=this.getFocusableOptions();if(l.length){var r=0,n=l.indexOf(a);a||(n=-1),"up"===e?r=n>0?n-1:l.length-1:"down"===e?r=(n+1)%l.length:"pageup"===e?(r=n-t)<0&&(r=0):"pagedown"===e?(r=n+t)>l.length-1&&(r=l.length-1):"last"===e&&(r=l.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:l[r],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Ql):ma(ma({},Ql),this.props.theme):Ql}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,a=this.getStyles,l=this.getValue,r=this.selectOption,n=this.setValue,i=this.props,o=i.isMulti,s=i.isRtl,c=i.options;return{clearValue:e,cx:t,getStyles:a,getValue:l,hasValue:this.hasValue(),isMulti:o,isRtl:s,options:c,selectOption:r,selectProps:i,setValue:n,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,a=e.isMulti;return void 0===t?a:t}},{key:"isOptionDisabled",value:function(e,t){return rr(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return nr(this.props,e,t)}},{key:"filterOption",value:function(e,t){return ir(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var a=this.props.inputValue,l=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:a,selectValue:l})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,a=e.isDisabled,l=e.isSearchable,r=e.inputId,n=e.inputValue,i=e.tabIndex,o=e.form,s=e.menuIsOpen,c=this.getComponents().Input,u=this.state,g=u.inputIsHidden,d=u.ariaSelection,b=this.commonProps,p=r||this.getElementId("input"),m=ma(ma(ma({"aria-autocomplete":"list","aria-expanded":s,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],role:"combobox"},s&&{"aria-controls":this.getElementId("listbox"),"aria-owns":this.getElementId("listbox")}),!l&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==d?void 0:d.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return l?v.createElement(c,t({},b,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:p,innerRef:this.getInputRef,isDisabled:a,isHidden:g,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:i,form:o,type:"text",value:n},m)):v.createElement(Ol,t({id:p,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:ya,onFocus:this.onInputFocus,disabled:a,tabIndex:i,inputMode:"none",form:o,value:""},m))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,a=this.getComponents(),l=a.MultiValue,r=a.MultiValueContainer,n=a.MultiValueLabel,i=a.MultiValueRemove,o=a.SingleValue,s=a.Placeholder,c=this.commonProps,u=this.props,g=u.controlShouldRenderValue,d=u.isDisabled,b=u.isMulti,p=u.inputValue,m=u.placeholder,f=this.state,h=f.selectValue,k=f.focusedValue,y=f.isFocused;if(!this.hasValue()||!g)return p?null:v.createElement(s,t({},c,{key:"placeholder",isDisabled:d,isFocused:y,innerProps:{id:this.getElementId("placeholder")}}),m);if(b)return h.map((function(a,o){var s=a===k,u="".concat(e.getOptionLabel(a),"-").concat(e.getOptionValue(a));return v.createElement(l,t({},c,{components:{Container:r,Label:n,Remove:i},isFocused:s,isDisabled:d,key:u,index:o,removeProps:{onClick:function(){return e.removeValue(a)},onTouchEnd:function(){return e.removeValue(a)},onMouseDown:function(e){e.preventDefault()}},data:a}),e.formatOptionLabel(a,"value"))}));if(p)return null;var w=h[0];return v.createElement(o,t({},c,{data:w,isDisabled:d}),this.formatOptionLabel(w,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,a=this.commonProps,l=this.props,r=l.isDisabled,n=l.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||n)return null;var o={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return v.createElement(e,t({},a,{innerProps:o,isFocused:i}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,a=this.commonProps,l=this.props,r=l.isDisabled,n=l.isLoading,i=this.state.isFocused;return e&&n?v.createElement(e,t({},a,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:i})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),a=e.DropdownIndicator,l=e.IndicatorSeparator;if(!a||!l)return null;var r=this.commonProps,n=this.props.isDisabled,i=this.state.isFocused;return v.createElement(l,t({},r,{isDisabled:n,isFocused:i}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var a=this.commonProps,l=this.props.isDisabled,r=this.state.isFocused,n={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return v.createElement(e,t({},a,{innerProps:n,isDisabled:l,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,a=this.getComponents(),l=a.Group,r=a.GroupHeading,n=a.Menu,i=a.MenuList,o=a.MenuPortal,s=a.LoadingMessage,c=a.NoOptionsMessage,u=a.Option,g=this.commonProps,d=this.state.focusedOption,b=this.props,p=b.captureMenuScroll,m=b.inputValue,f=b.isLoading,h=b.loadingMessage,k=b.minMenuHeight,y=b.maxMenuHeight,w=b.menuIsOpen,_=b.menuPlacement,C=b.menuPosition,T=b.menuPortalTarget,E=b.menuShouldBlockScroll,x=b.menuShouldScrollIntoView,S=b.noOptionsMessage,B=b.onMenuScrollToTop,M=b.onMenuScrollToBottom;if(!w)return null;var D,R=function(a,l){var r=a.type,n=a.data,i=a.isDisabled,o=a.isSelected,s=a.label,c=a.value,b=d===n,p=i?void 0:function(){return e.onOptionHover(n)},m=i?void 0:function(){return e.selectOption(n)},f="".concat(e.getElementId("option"),"-").concat(l),h={id:f,onClick:m,onMouseMove:p,onMouseOver:p,tabIndex:-1};return v.createElement(u,t({},g,{innerProps:h,data:n,isDisabled:i,isSelected:o,key:f,label:s,type:r,value:c,isFocused:b,innerRef:b?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(a.data,"menu"))};if(this.hasOptions())D=this.getCategorizedOptions().map((function(a){if("group"===a.type){var n=a.data,i=a.options,o=a.index,s="".concat(e.getElementId("group"),"-").concat(o),c="".concat(s,"-heading");return v.createElement(l,t({},g,{key:s,data:n,options:i,Heading:r,headingProps:{id:c,data:a.data},label:e.formatGroupLabel(a.data)}),a.options.map((function(e){return R(e,"".concat(o,"-").concat(e.index))})))}if("option"===a.type)return R(a,"".concat(a.index))}));else if(f){var z=h({inputValue:m});if(null===z)return null;D=v.createElement(s,g,z)}else{var L=S({inputValue:m});if(null===L)return null;D=v.createElement(c,g,L)}var O={minMenuHeight:k,maxMenuHeight:y,menuPlacement:_,menuPosition:C,menuShouldScrollIntoView:x},I=v.createElement(Ha,t({},g,O),(function(a){var l=a.ref,r=a.placerProps,o=r.placement,s=r.maxHeight;return v.createElement(n,t({},g,O,{innerRef:l,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove,id:e.getElementId("listbox")},isLoading:f,placement:o}),v.createElement(Wl,{captureEnabled:p,onTopArrive:B,onBottomArrive:M,lockEnabled:E},(function(a){return v.createElement(i,t({},g,{innerRef:function(t){e.getMenuListRef(t),a(t)},isLoading:f,maxHeight:s,focusedOption:d}),D)})))}));return T||"fixed"===C?v.createElement(o,t({},g,{appendTo:T,controlElement:this.controlRef,menuPlacement:_,menuPosition:C}),I):I}},{key:"renderFormField",value:function(){var e=this,t=this.props,a=t.delimiter,l=t.isDisabled,r=t.isMulti,n=t.name,i=this.state.selectValue;if(n&&!l){if(r){if(a){var o=i.map((function(t){return e.getOptionValue(t)})).join(a);return v.createElement("input",{name:n,type:"hidden",value:o})}var s=i.length>0?i.map((function(t,a){return v.createElement("input",{key:"i-".concat(a),name:n,type:"hidden",value:e.getOptionValue(t)})})):v.createElement("input",{name:n,type:"hidden"});return v.createElement("div",null,s)}var c=i[0]?this.getOptionValue(i[0]):"";return v.createElement("input",{name:n,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,a=this.state,l=a.ariaSelection,r=a.focusedOption,n=a.focusedValue,i=a.isFocused,o=a.selectValue,s=this.getFocusableOptions();return v.createElement(_l,t({},e,{id:this.getElementId("live-region"),ariaSelection:l,focusedOption:r,focusedValue:n,isFocused:i,selectValue:o,focusableOptions:s}))}},{key:"render",value:function(){var e=this.getComponents(),a=e.Control,l=e.IndicatorsContainer,r=e.SelectContainer,n=e.ValueContainer,i=this.props,o=i.className,s=i.id,c=i.isDisabled,u=i.menuIsOpen,g=this.state.isFocused,d=this.commonProps=this.getCommonProps();return v.createElement(r,t({},d,{className:o,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:g}),this.renderLiveRegion(),v.createElement(a,t({},d,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:g,menuIsOpen:u}),v.createElement(n,t({},d,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),v.createElement(l,t({},d,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var a=t.prevProps,l=t.clearFocusValueOnUpdate,r=t.inputIsHiddenAfterUpdate,n=t.ariaSelection,i=t.isFocused,o=t.prevWasFocused,s=e.options,c=e.value,u=e.menuIsOpen,g=e.inputValue,d=e.isMulti,b=Ca(c),p={};if(a&&(c!==a.value||s!==a.options||u!==a.menuIsOpen||g!==a.inputValue)){var m=u?function(e,t){return er(Xl(e,t))}(e,b):[],f=l?function(e,t){var a=e.focusedValue,l=e.selectValue.indexOf(a);if(l>-1){if(t.indexOf(a)>-1)return a;if(l<t.length)return t[l]}return null}(t,b):null,h=function(e,t){var a=e.focusedOption;return a&&t.indexOf(a)>-1?a:t[0]}(t,m);p={selectValue:b,focusedOption:h,focusedValue:f,clearFocusValueOnUpdate:!1}}var k=null!=r&&e!==a?{inputIsHidden:r,inputIsHiddenAfterUpdate:void 0}:{},v=n,y=i&&o;return i&&!y&&(v={value:Na(d,b,b[0]||null),options:b,action:"initial-input-focus"},y=!o),"initial-input-focus"===(null==n?void 0:n.action)&&(v=null),ma(ma(ma({},p),k),{},{prevProps:e,ariaSelection:v,prevWasFocused:y})}}]),l}(v.Component);cr.defaultProps=Yl;var ur=(0,v.forwardRef)((function(e,a){var l=ml(e);return v.createElement(cr,t({ref:a},l))})),gr=(v.Component,ur),dr=["allowCreateWhileLoading","createOptionPosition","formatCreateLabel","isValidNewOption","getNewOptionData","onCreateOption","options","onChange"],br=function(){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,l=String(e).toLowerCase(),r=String(a.getOptionValue(t)).toLowerCase(),n=String(a.getOptionLabel(t)).toLowerCase();return r===l||n===l},pr={formatCreateLabel:function(e){return'Create "'.concat(e,'"')},isValidNewOption:function(e,t,a,l){return!(!e||t.some((function(t){return br(e,t,l)}))||a.some((function(t){return br(e,t,l)})))},getNewOptionData:function(e,t){return{label:t,value:e,__isNew__:!0}}},mr=(0,v.forwardRef)((function(e,a){var l=function(e){var t=e.allowCreateWhileLoading,a=void 0!==t&&t,l=e.createOptionPosition,r=void 0===l?"last":l,n=e.formatCreateLabel,i=void 0===n?pr.formatCreateLabel:n,o=e.isValidNewOption,s=void 0===o?pr.isValidNewOption:o,c=e.getNewOptionData,u=void 0===c?pr.getNewOptionData:c,g=e.onCreateOption,d=e.options,b=void 0===d?[]:d,p=e.onChange,m=aa(e,dr),f=m.getOptionValue,h=void 0===f?Zl:f,k=m.getOptionLabel,y=void 0===k?$l:k,w=m.inputValue,_=m.isLoading,C=m.isMulti,T=m.value,E=m.name,x=(0,v.useMemo)((function(){return s(w,Ca(T),b,{getOptionValue:h,getOptionLabel:y})?u(w,i(w)):void 0}),[i,u,y,h,w,s,b,T]),S=(0,v.useMemo)((function(){return!a&&_||!x?b:"first"===r?[x].concat(fl(b)):[].concat(fl(b),[x])}),[a,r,_,x,b]),B=(0,v.useCallback)((function(e,t){if("select-option"!==t.action)return p(e,t);var a=Array.isArray(e)?e:[e];if(a[a.length-1]!==x)p(e,t);else if(g)g(w);else{var l=u(w,w),r={action:"create-option",name:E,option:l};p(Na(C,[].concat(fl(Ca(T)),[l]),l),r)}}),[u,w,C,E,x,g,p,T]);return ma(ma({},m),{},{options:S,onChange:B})}(ml(e));return v.createElement(cr,t({ref:a},l))})),fr=mr;function hr(t){let{label:a,htmlFor:l,help:r,children:n}=t;return(0,e.createElement)(e.Fragment,null,a&&(0,e.createElement)("label",{style:{marginBottom:"8px",display:"inline-block"},htmlFor:l},a),n,r&&(0,e.createElement)("p",{style:{fontSize:"12px",fontStyle:"normal",color:"rgb(117, 117, 117)"}},r))}var kr=t=>{const a={className:"generate-advanced-select",classNamePrefix:"generate-advanced-select",isSearchable:!1,styles:{indicatorSeparator:()=>({display:"none"}),indicatorsContainer:e=>({...e,maxHeight:"30px"}),menuPortal:e=>({...e,zIndex:999999}),control:e=>({...e,marginBottom:"8px"}),valueContainer:e=>({...e,padding:"0 6px"}),input:e=>({...e,margin:0,padding:0})},instanceId:"input-field",maxMenuHeight:250,theme:e=>({borderRadius:2,colors:{...e.colors,primary:"var(--wp-admin-theme-color)",neutral20:"#757575",neutral30:"#757575"},spacing:{controlHeight:30,baseUnit:3,menuGutter:3}}),menuPortalTarget:document.querySelector("body")},l=Object.assign({},{marginBottom:"24px"},t?.wrapperStyles),r=t?.isCreatable?fr:gr,n=Object.assign({},a,t);return(0,e.createElement)("div",{style:l},(0,e.createElement)(hr,{label:n.label,htmlFor:n.id,help:n.help},(0,e.createElement)(r,n)))};const vr=function(e,t,a){const l={};return e.reduce(((e,r)=>{const n=r[t]||a;if(Object.keys(l).includes(n))e[l[n]].options.push(r);else{const t=e.push({label:n,options:[r]});l[n]=t-1}return e}),[])};var yr=a=>(0,e.createElement)(kr,t({id:"gblocks-select-query-parameters",label:(0,i.__)("Select query parameter","generateblocks"),placeholder:(0,i.__)("Select query parameter","generateblocks"),isSearchable:!0,pageSize:20},a,{menuPlacement:"top",options:vr(a.options,"group","Other")})),wr=a=>(0,e.createElement)("div",{style:{marginBottom:"1.33em"}},(0,e.createElement)(n.Button,t({isPrimary:!0,text:(0,i.__)("Add Parameter","generateblocks")},a))),_r=(0,m.applyFilters)("generateblocks.editor.query-loop.query-parameters",[{id:"post_type",type:"postTypeSelect",default:"post",label:(0,i.__)("Post type","generateblocks"),description:(0,i.__)("Retrieves posts by post types.","generateblocks"),group:(0,i.__)("Post type","generateblocks"),isSticky:!0},{id:"per_page",type:"number",default:10,label:(0,i.__)("Posts per page","generateblocks"),description:(0,i.__)("Number of post to show per page.","generateblocks"),group:(0,i.__)("Pagination","generateblocks"),isSticky:!0},{id:"page",type:"number",default:1,label:(0,i.__)("Page","generateblocks"),description:(0,i.__)("Display posts from page.","generateblocks"),group:(0,i.__)("Pagination","generateblocks")},{id:"offset",type:"number",default:void 0,label:(0,i.__)("Offset","generateblocks"),description:(0,i.__)("Offset the result set by a specific number of items.","generateblocks"),group:(0,i.__)("Pagination","generateblocks")},{id:"search",type:"text",default:"",label:(0,i.__)("Search","generateblocks"),description:(0,i.__)("Show posts based on a keyword search.","generateblocks"),group:(0,i.__)("Search","generateblocks")},{id:"order",type:"select",default:"desc",selectOptions:[{value:"desc",label:"DESC"},{value:"asc",label:"ASC"}],label:(0,i.__)("Order","generateblocks"),description:(0,i.__)("Designates the ascending or descending order of the ‘orderby‘ parameter.","generateblocks"),group:(0,i.__)("Order & Order by","generateblocks")},{id:"orderby",type:"select",default:"date",selectOptions:[{value:"id",label:"Id"},{value:"title",label:"Title"},{value:"slug",label:"Slug"},{value:"author",label:"Author"},{value:"date",label:"Date"},{value:"modified",label:"Last modified date"},{value:"parent",label:"Parent id"},{value:"menu_order",label:"Menu order"}],label:(0,i.__)("Order by","generateblocks"),description:(0,i.__)("Sort retrieved posts by parameter.","generateblocks"),group:(0,i.__)("Order & Order by","generateblocks")},{id:"author",type:"authorsSelect",default:[],dependencies:{filterName:"generateblocks.editor.query-loop.author"},label:(0,i.__)("Authors","generateblocks"),description:(0,i.__)("Show posts from authors.","generateblocks"),group:(0,i.__)("Author","generateblocks")},{id:"author_exclude",type:"authorsSelect",default:[],dependencies:{filterName:"generateblocks.editor.query-loop.author-exclude"},label:(0,i.__)("Exclude authors","generateblocks"),description:(0,i.__)("Exclude posts from authors.","generateblocks"),group:(0,i.__)("Author","generateblocks")},{id:"tax_query",type:"taxonomySelect",default:[],label:(0,i.__)("Taxonomies","generateblocks"),description:(0,i.__)("Show posts from taxonomies.","generateblocks"),group:(0,i.__)("Taxonomy","generateblocks"),isRepeatable:!0,repeatableDefaultValue:{taxonomy:"",terms:[],rest:"",includeChildren:!0}},{id:"tax_query_exclude",type:"taxonomySelect",default:[],label:(0,i.__)("Exclude taxonomies","generateblocks"),description:(0,i.__)("Exclude posts from taxonomies.","generateblocks"),group:(0,i.__)("Taxonomy","generateblocks"),isRepeatable:!0,repeatableDefaultValue:{taxonomy:"",terms:[],rest:"",includeChildren:!0}},{id:"status",type:"multiSelect",default:[],selectOptions:[{value:"publish",label:(0,i.__)("Publish","generateblocks")},{value:"pending",label:(0,i.__)("Pending","generateblocks")},{value:"draft",label:(0,i.__)("Draft","generateblocks")},{value:"auto-draft",label:(0,i.__)("Auto draft","generateblocks")},{value:"future",label:(0,i.__)("Future","generateblocks")},{value:"private",label:(0,i.__)("Private","generateblocks")},{value:"inherit",label:(0,i.__)("Inherit","generateblocks")},{value:"trash",label:(0,i.__)("Trash","generateblocks")},{value:"any",label:(0,i.__)("Any","generateblocks")}],label:(0,i.__)("Post status","generateblocks"),description:(0,i.__)("Show posts by post status.","generateblocks"),group:(0,i.__)("Status","generateblocks")},{id:"parent",type:"postsSelect",default:[],dependencies:{postType:"post_type",filterName:"generateblocks.editor.query-loop.include-parent"},label:(0,i.__)("Parent","generateblocks"),description:(0,i.__)("Show posts from parents.","generateblocks"),group:(0,i.__)("Post","generateblocks")},{id:"parent_exclude",type:"postsSelect",default:[],dependencies:{postType:"post_type",filterName:"generateblocks.editor.query-loop.exclude-parent"},label:(0,i.__)("Parent exclude","generateblocks"),description:(0,i.__)("Do not show posts from parents.","generateblocks"),group:(0,i.__)("Post","generateblocks")},{id:"include",type:"postsSelect",default:[],dependencies:{postType:"post_type"},label:(0,i.__)("Include posts","generateblocks"),description:(0,i.__)("Limit result set to specific posts.","generateblocks"),group:(0,i.__)("Post","generateblocks")},{id:"exclude",type:"postsSelect",default:[],dependencies:{postType:"post_type",filterName:"generateblocks.editor.query-loop.exclude-posts-select"},label:(0,i.__)("Exclude posts","generateblocks"),description:(0,i.__)("Ensure result set excludes specific posts.","generateblocks"),group:(0,i.__)("Post","generateblocks")},{id:"stickyPosts",type:"select",default:"include",selectOptions:[{value:"include",label:"Include"},{value:"exclude",label:"Exclude"},{value:"ignore",label:"Ignore"},{value:"only",label:"Only"}],label:(0,i.__)("Sticky posts","generateblocks"),description:(0,i.__)("Configure how sticky posts should show in the query.","generateblocks"),group:(0,i.__)("Post","generateblocks")},{id:"after",type:"dateTimePicker",default:"",label:(0,i.__)("After","generateblocks"),description:(0,i.__)("Limit response to posts published after a given date.","generateblocks"),group:(0,i.__)("Date","generateblocks")},{id:"before",type:"dateTimePicker",default:"",label:(0,i.__)("Before","generateblocks"),description:(0,i.__)("Limit response to posts published before a given date.","generateblocks"),group:(0,i.__)("Date","generateblocks")}]),Cr=t=>{let{postType:a,onChange:r,value:n,help:o}=t;const s=(0,l.useSelect)((e=>{const{getPostTypes:t}=e(Z.store);return t({per_page:-1})||[]}),[]),c=(0,e.useMemo)((()=>s.filter((e=>e.viewable&&"attachment"!==e.slug)).reduce(((e,t)=>(e.push({value:t.slug,label:t.name}),e)),[])),[s]),u=c.filter((e=>e.value===a||e.value===n));return(0,e.createElement)(kr,{id:"gblocks-select-post-type",label:(0,i.__)("Select post type","generateblocks"),help:o,placeholder:(0,i.__)("Select post type","generateblocks"),options:c,value:u,onChange:r,isLoading:0===c.length})},Tr=a=>{const{options:l,value:r}=a;return(0,e.createElement)(kr,t({},a,{id:"gblocks-simple-select",value:l.filter((e=>e.value===r))}))};function Er(t){const{label:a,onChange:r,value:n,help:o,filterName:s="generateblocks.editor.authors-select"}=t,c=(0,l.useSelect)((e=>{const{getUsers:t}=e(Z.store);return t({who:"authors"})||[]}),[]),u=(0,e.useMemo)((()=>{const e=c.reduce(((e,t)=>(e.push({value:t.id,label:t.name}),e)),[]);return(0,m.applyFilters)(s,e)}),[c]),g=u.filter((e=>n.includes(e.value)));return(0,e.createElement)(kr,{id:"gblocks-select-author",label:a||(0,i.__)("Select authors","generateblocks"),help:o,placeholder:a||(0,i.__)("Select authors","generateblocks"),options:u,isMulti:!0,isSearchable:!0,value:g,onChange:r,isLoading:0===u.length})}function xr(t){const{taxonomy:a,label:r,onChange:n,value:o=[],help:s,filterName:c="generateblocks.editor.taxonomies-select"}=t,{taxonomies:u,isResolving:g}=(e=>(0,l.useSelect)((t=>{const{getEntityRecords:a,isResolving:l}=t(Z.store),r=["taxonomy",e,{per_page:-1}];return{taxonomies:a(...r)||[],isResolving:l("getEntityRecords",r)}}),[e]))(a),d=(0,e.useMemo)((()=>{const e=u.reduce(((e,t)=>(e.push({value:t.id,label:t.name}),e)),[]);return(0,m.applyFilters)(c,e)}),[JSON.stringify(u)]),b=d.filter((e=>o.includes(e.value)));return(0,e.createElement)(kr,{id:"gblocks-select-author",label:r||(0,i.__)("Select terms","generateblocks"),help:s,placeholder:r||(0,i.__)("Select terms","generateblocks"),options:d,isMulti:!0,isSearchable:!0,value:b,onChange:n,isLoading:g})}function Sr(a){return(0,e.createElement)(xr,t({},a,{taxonomy:"category"}))}function Br(a){return(0,e.createElement)(xr,t({},a,{taxonomy:"post_tag"}))}function Mr(t){let{id:a,onClick:l}=t;return(0,e.createElement)(n.Tooltip,{text:(0,i.__)("Delete parameter","generateblocks-pro")},(0,e.createElement)(n.Button,{className:"gblocks-remove-parameter",onClick:()=>{window.confirm((0,i.__)("This will permanently delete this parameter.","generateblocks"))&&l(a)},icon:b("trash")}))}function Dr(t){const{label:a,value:l,onChange:r}=t,[o,s]=(0,e.useState)(l.taxonomy),[c,u]=(0,e.useState)(l.terms),[g,d]=(0,e.useState)(!1!==l.includeChildren),b=K(),p=(0,e.useMemo)((()=>{const e=b.filter((e=>e.slug===o));return!!e[0]&&e[0].hierarchical}),[JSON.stringify(b),o]);(0,e.useEffect)((()=>{l.taxonomy!==o&&s(l.taxonomy),JSON.stringify(l.terms)!==JSON.stringify(c)&&u(l.terms)}),[l]),(0,e.useEffect)((()=>{if(o){const e=b.filter((e=>e.slug===o)),t=e[0]?e[0].rest_base:void 0,a=!!e[0]&&e[0].hierarchical;r({taxonomy:o,terms:c,rest:t,includeChildren:a?g:void 0})}}),[o,JSON.stringify(c),g]);const m=(0,e.useMemo)((()=>b.filter((e=>"nav_menu"!==e.slug)).map((e=>({value:e.slug,label:e.name})))),[JSON.stringify(b)]);return(0,e.createElement)(e.Fragment,null,a&&(0,e.createElement)("label",{htmlFor:"tax-label",style:{marginBottom:"8px",display:"inline-block"}},a),(0,e.createElement)(Tr,{wrapperStyles:{marginBottom:"8px"},options:m,value:o,onChange:e=>{s(e.value),u([])}}),o&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)(xr,{taxonomy:o,value:c,filterName:"generateblocks.editor.taxonomy-parameter-control."+t.id,onChange:e=>{const t=e.reduce(((e,t)=>(e.push(t.value),e)),[]);u(t)},help:0===c.length?(0,i.__)("You must select at least one term.","generateblocks"):""}),p&&(0,e.createElement)(n.ToggleControl,{checked:g,label:(0,i.__)("Include child terms","generateblocks"),onChange:d})))}function Rr(a){const{postType:r,label:n,value:o,filterName:s="generateblocks.editor.post-type-record-select",...c}=a,{records:u,isResolving:g}=(e=>(0,l.useSelect)((t=>{const{getEntityRecords:a,isResolving:l}=t(Z.store),r=["postType",e,{per_page:-1}];return{records:a(...r)||[],isResolving:l("getEntityRecords",r)}}),[e]))(r)||[],d=(0,e.useMemo)((()=>{const e=u?.map((e=>{const t=e.title&&e.title.raw?e.title.raw:e.slug;return{value:e.id,label:`#${e.id}: ${t}`}}));return(0,m.applyFilters)(s,e)}),[u,r]),b=d.filter((e=>o.includes(e.value)));return(0,e.createElement)(kr,t({id:"gblocks-select-posts",label:n||(0,i.__)("Select post","generateblocks"),placeholder:n||(0,i.__)("Select post","generateblocks"),value:b,isLoading:g,isSearchable:!0,isMulti:!0},c,{options:d}))}function zr(t){let{label:a,help:l,value:r,onChange:i}=t;const o=r?new Date(r):new Date;return(0,e.createElement)("div",{style:{marginBottom:"24px"}},(0,e.createElement)(hr,{label:a,help:l},(0,e.createElement)(n.DateTimePicker,{currentDate:o,onChange:i,is12Hour:!0})))}function Lr(e,t){return e===t}function Or(e){return"function"==typeof e?function(){return e}:e}function Ir(e,t,a){var l=a&&a.equalityFn||Lr,r=function(e){var t=(0,v.useState)(Or(e)),a=t[0],l=t[1];return[a,(0,v.useCallback)((function(e){return l(Or(e))}),[])]}(e),n=r[0],i=r[1],o=se((0,v.useCallback)((function(e){return i(e)}),[i]),t,a),s=(0,v.useRef)(e);return l(s.current,e)||(o(e),s.current=e),[n,o]}function Nr(a){const[l,r,i]=function(t){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:800;const[l,r]=(0,e.useState)(t),[n]=Ir(l,a);return[n,r,l]}(a?.value,800);return(0,e.useEffect)((()=>{a.onChange(l)}),[l]),(0,e.createElement)(n.TextControl,t({},a,{value:i,onChange:r}))}var Ar=function(a){const{options:l,value:r}=a;return(0,e.createElement)(kr,t({},a,{isMulti:!0,id:"gblocks-simple-multi-select",value:l.filter((e=>r.includes(e.value)))}))};function Fr(a){const{id:l,type:r,label:o,description:s,selectOptions:c=[],isSticky:u,value:g,default:d,onChange:b,onClickRemove:p,dependencies:m}=a,f=(e=>{switch(e){case"text":case"number":return Nr;case"postTypeSelect":return Cr;case"select":return Tr;case"multiSelect":return Ar;case"authorsSelect":return Er;case"categoriesSelect":return Sr;case"tagsSelect":return Br;case"taxonomySelect":return Dr;case"postsSelect":return Rr;case"dateTimePicker":return zr;case"toggleControl":return n.ToggleControl}})(r);let h=s;return"per_page"===l&&("-1"===g||g>50)&&(h+=" "+(0,i.__)("Editor only: A maximum of 50 posts can be previewed in the editor.","generateblocks")),(0,e.createElement)("div",{className:"gblocks-parameter-component"},(0,e.createElement)(f,t({id:l,type:r,label:o,help:h,options:c,value:g,placeholder:d,onChange:b},m)),!u&&(0,e.createElement)(Mr,{id:l,onClick:p}))}var Pr=a=>{let{parameter:l,query:r,setParameter:n,removeParameter:i}=a;const{dependencies:o={}}=l,s=r[l.id],c=Object.keys(o).reduce(((e,t)=>(e[t]=r[o[t]]||o[t],e)),{});function u(a,r,n){return(0,e.createElement)(Fr,t({},l,{value:a,onChange:r,onClickRemove:n,dependencies:c}))}return l.isRepeatable?(0,e.createElement)(e.Fragment,null,Array.isArray(s)&&s.map(((e,t)=>u(e,(e=>{s[t]=e,n(l.id,[...s])}),(e=>{s.splice(t,1),0===s.length?i(e):n(l.id,[...s])}))))):u(s,(function(e){n(l.id,((e,t)=>{switch(e){case"post_type":case"order":case"orderby":case"stickyPosts":return t.value;case"status":case"author":case"author_exclude":case"include":case"exclude":case"parent":case"parent_exclude":return t.reduce(((e,t)=>(e.push(t.value),e)),[]);default:return t}})(l.id,e))}),i)},Hr=t=>{let{query:a,setParameter:l,removeParameter:r}=t;const n=(e=>_r.filter((e=>e.isSticky)).concat(Object.keys(e).map((e=>_r.find((t=>e===t.id&&!t.isSticky)))).filter(Boolean)))(a);return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{style:{marginBottom:"1.33em"}},n&&n.map((t=>(0,e.createElement)(Pr,{key:t.id,parameter:t,query:a,setParameter:l,removeParameter:r})))))};const Vr="add_query_parameter",Ur="remove_query_parameter",Gr=function(e,t){switch(t.type){case Vr:return Object.assign({},e,t.payload);case Ur:const{[t.payload]:a,...l}=e;return l;default:throw new Error(`queryReducer does not support action type "${t.type}".`)}};var jr=t=>{let{attributes:a,setAttributes:l}=t;const{queryState:o,insertParameters:s,setParameter:c,removeParameter:u}=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const[a,l]=(0,e.useReducer)(Gr,t);return{queryState:a,setParameter:(e,t)=>l({type:Vr,payload:{[e]:t}}),insertParameters:e=>l({type:Vr,payload:e}),removeParameter:e=>l({type:Ur,payload:e})}}(a.query),[g,d]=(0,e.useState)(!1);(0,e.useEffect)((()=>{var e;(e=a.query)&&0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype&&s({post_type:"post",per_page:10})}),[]),(0,e.useEffect)((()=>{l({query:o})}),[JSON.stringify(o),!(0,V.isEqual)(a.query,o)]);const p=(0,e.useMemo)((()=>_r.map((e=>(e.isDisabled=!e.isRepeatable&&Object.keys(o).includes(e.id),e)))),[o]);return(0,e.createElement)(r.InspectorControls,null,(0,e.createElement)(C,{id:"queryLoopControls",title:(0,i.__)("Query Parameters","generateblocks"),initialOpen:!0,icon:b("query-params"),className:"gblocks-panel-label"},(0,e.createElement)(n.ToggleControl,{label:(0,i.__)("Inherit query from template","generateblocks"),help:(0,i.__)("Toggle to use the global query context that is set with the current template, such as an archive or search.","generateblocks"),checked:!!a.inheritQuery,onChange:e=>l({inheritQuery:e})}),!a.inheritQuery&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)(Hr,{query:o,setParameter:c,removeParameter:u}),!g&&(0,e.createElement)(wr,{onClick:()=>{d(!0)}}),g&&(0,e.createElement)(yr,{options:p,onChange:e=>{if(e.isRepeatable&&Array.isArray(e.default)&&e.repeatableDefaultValue){const t=o[e.id]?o[e.id]:e.default;c(e.id,[...t,e.repeatableDefaultValue])}else c(e.id,e.default);d(!1)}}))))},qr=t=>{let{clientId:a}=t;const{insertBlocks:o}=(0,l.useDispatch)("core/block-editor"),{getBlock:s}=(0,l.useSelect)((e=>e("core/block-editor")),[]),{selectBlock:c}=(0,l.useDispatch)("core/block-editor"),u=s(a),d=!!u&&u?.innerBlocks[0],p=!!u&&u?.innerBlocks[0]?.innerBlocks[0],m={useDynamicData:!0,isPagination:!0},f=["generateblocks/button-container",{isPagination:!0},[["generateblocks/button",Object.assign({},m,generateBlocksStyling.button,{text:(0,i.__)("Previous","generateblocks"),dynamicLinkType:"pagination-prev",dynamicLinkRemoveIfEmpty:!0})],["generateblocks/button",Object.assign({},m,generateBlocksStyling.button,{text:(0,i.__)("1 2 … 10","generateblocks"),dynamicContentType:"pagination-numbers"})],["generateblocks/button",Object.assign({},m,generateBlocksStyling.button,{text:(0,i.__)("Next","generateblocks"),dynamicLinkType:"pagination-next",dynamicLinkRemoveIfEmpty:!0})]]];return(0,e.createElement)(r.BlockControls,null,(!!d||!!p)&&(0,e.createElement)(n.ToolbarGroup,null,!!d&&(0,e.createElement)(n.ToolbarButton,{icon:b("grid"),label:(0,i.__)("Open Grid","generateblocks"),onClick:()=>{c(d.clientId)},showTooltip:!0}),!!p&&(0,e.createElement)(n.ToolbarButton,{icon:b("container"),label:(0,i.__)("Open Container","generateblocks"),onClick:()=>{c(p.clientId)},showTooltip:!0})),(0,e.createElement)(n.ToolbarGroup,null,(0,e.createElement)(n.ToolbarButton,{icon:b("add-pagination"),label:(0,i.__)("Add Pagination","generateblocks"),onClick:()=>{o((0,g.createBlocksFromInnerBlocksTemplate)([f]),void 0,a)},showTooltip:!0})))},Wr=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return Object.keys(e).filter((e=>t.includes(e))).reduce(((t,a)=>Object.assign({},t,{[a]:e[a]})),{})},$r=[{name:"title-date-excerpt",title:(0,i.__)("Title, date, & excerpt","generateblocks"),icon:(0,e.createElement)("svg",{fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 200"},(0,e.createElement)("path",{d:"M15 33h171v11H15zM15 51h79v5H15zM15 71h171v5H15zM15 82h171v5H15zM15 116h171v11H15zM15 134h79v5H15zM15 154h171v5H15zM15 165h171v5H15z"})),innerBlocks:[["generateblocks/grid",{isQueryLoop:!0,verticalGap:40,lock:{remove:!0}},[["generateblocks/container",{isQueryLoopItem:!0,width:100,lock:{remove:!0,move:!0}},[["generateblocks/headline",{useDynamicData:!0,dynamicContentType:"post-title",dynamicLinkType:"single-post",marginBottom:"5"}],["generateblocks/headline",{useDynamicData:!0,element:"p",dynamicContentType:"post-date",fontSize:14}],["generateblocks/headline",{useDynamicData:!0,element:"div",dynamicContentType:"post-excerpt"}]]]]]]},{name:"title-date",title:(0,i.__)("Title & date","generateblocks"),icon:(0,e.createElement)("svg",{fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 200"},(0,e.createElement)("path",{d:"M14 30h171v11H14zM14 48h79v5H14zM14 88h171v11H14zM14 106h79v5H14zM14 146h171v11H14zM14 164h79v5H14z"})),innerBlocks:[["generateblocks/grid",{isQueryLoop:!0,verticalGap:20,lock:{remove:!0}},[["generateblocks/container",{isQueryLoopItem:!0,width:100,lock:{remove:!0,move:!0}},[["generateblocks/headline",{useDynamicData:!0,element:"h2",fontSize:20,dynamicContentType:"post-title",dynamicLinkType:"single-post",marginBottom:"5"}],["generateblocks/headline",{useDynamicData:!0,element:"p",marginBottom:"0",dynamicContentType:"post-date",fontSize:14}]]]]]]},{name:"two-columns",title:(0,i.__)("Two columns","generateblocks"),icon:(0,e.createElement)("svg",{fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 200"},(0,e.createElement)("path",{d:"M14 28h78v11H14zM14 46h36.035v5H14zM14 66h78v5H14zM14 77h78v5H14zM108 28h78v11h-78zM108 46h36.035v5H108zM108 66h78v5h-78zM108 77h78v5h-78zM14 118h78v11H14zM14 136h36.035v5H14zM14 156h78v5H14zM14 167h78v5H14zM108 118h78v11h-78zM108 136h36.035v5H108zM108 156h78v5h-78zM108 167h78v5h-78z"})),innerBlocks:[["generateblocks/grid",{isQueryLoop:!0,verticalGap:20,horizontalGap:20,lock:{remove:!0}},[["generateblocks/container",{isQueryLoopItem:!0,width:50,widthMobile:100,backgroundColor:"#fafafa",paddingTop:"20",paddingRight:"20",paddingBottom:"20",paddingLeft:"20",lock:{remove:!0,move:!0}},[["generateblocks/headline",{useDynamicData:!0,element:"h2",fontSize:30,dynamicContentType:"post-title",dynamicLinkType:"single-post",marginBottom:"5"}],["generateblocks/headline",{useDynamicData:!0,element:"p",marginBottom:"30",dynamicContentType:"post-date",fontSize:14}],["generateblocks/headline",{useDynamicData:!0,element:"div",dynamicContentType:"post-excerpt"}]]]]]]},{name:"two-columns-feature-image",title:(0,i.__)("Two columns & featured image","generateblocks"),icon:(0,e.createElement)("svg",{fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 200"},(0,e.createElement)("path",{d:"M110 57h78v11h-78V57ZM110 16h78v35h-78V16ZM110 76h78v5h-78zM110 87h55v5h-55zM110 149h78v11h-78v-11ZM110 108h78v35h-78v-35ZM110 168h78v5h-78zM110 179h55v5h-55zM15 149h78v11H15v-11ZM15 108h78v35H15v-35ZM15 168h78v5H15zM15 179h55v5H15zM15 57h78v11H15V57ZM15 16h78v35H15V16ZM15 76h78v5H15zM15 87h55v5H15z"})),innerBlocks:[["generateblocks/grid",{isQueryLoop:!0,verticalGap:20,horizontalGap:20,lock:{remove:!0}},[["generateblocks/container",{isQueryLoopItem:!0,width:50,widthMobile:100,backgroundColor:"#fafafa",paddingTop:"20",paddingRight:"20",paddingBottom:"20",paddingLeft:"20",lock:{remove:!0,move:!0}},[["generateblocks/image",{useDynamicData:!0,dynamicContentType:"featured-image",marginBottom:"30"}],["generateblocks/headline",{useDynamicData:!0,element:"h2",fontSize:30,dynamicContentType:"post-title",dynamicLinkType:"single-post",marginBottom:"5"}],["generateblocks/headline",{useDynamicData:!0,element:"p",marginBottom:"30",dynamicContentType:"post-date",fontSize:14}],["generateblocks/headline",{useDynamicData:!0,element:"div",dynamicContentType:"post-excerpt"}]]]]]]},{name:"blank",title:(0,i.__)("Start blank","generateblocks"),icon:(0,e.createElement)("svg",{fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 200"}),innerBlocks:[["generateblocks/grid",{isQueryLoop:!0,lock:{remove:!0}},[["generateblocks/container",{isQueryLoopItem:!0,width:100,lock:{remove:!0,move:!0}}]]]]}],Zr=t=>{let{clientId:a,isDisabled:r}=t;if(r)return!1;const{replaceInnerBlocks:o}=(0,l.useDispatch)("core/block-editor");return(0,e.createElement)(n.Placeholder,{label:(0,i.__)("Query Loop","generateblocks"),icon:b("query-loop"),instructions:(0,i.__)("Choose a layout to start with.","generateblocks"),className:"gblocks-query-loop-layout-selector"},(0,e.createElement)("div",{className:"gblocks-query-loop-layout-selector__content"},$r.map((t=>(0,e.createElement)(n.Button,{key:`template-${t}`,onClick:()=>{o(a,(0,g.createBlocksFromInnerBlocksTemplate)(t.innerBlocks))}},t.icon,(0,e.createElement)("p",null,t.title))))))};(0,g.registerBlockType)("generateblocks/query-loop",{apiVersion:2,title:(0,i.__)("Query Loop","generateblocks"),description:(0,i.__)("Build a list of posts from any post type using advanced query parameters.","generateblocks"),icon:b("query-loop"),category:"generateblocks",keywords:[(0,i.__)("query"),(0,i.__)("loop"),(0,i.__)("generate")],attributes:ye,supports:{className:!1,customClassName:!1},providesContext:{"generateblocks/query":"query","generateblocks/queryId":"uniqueId","generateblocks/inheritQuery":"inheritQuery"},edit:Y((function(t){const{attributes:a,clientId:n,setAttributes:i}=t,o=(0,r.useBlockProps)(),s=(0,l.useSelect)((e=>!!e(r.store).getBlocks(n).length),[n]);return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",o,s?(0,e.createElement)(e.Fragment,null,(0,e.createElement)(qr,{clientId:n}),(0,e.createElement)(jr,{attributes:Wr(a,Object.keys(ye)),setAttributes:i,clientId:n}),(0,e.createElement)(r.BlockContextProvider,{value:{"generateblocks/query":a.query}},(0,e.createElement)(r.InnerBlocks,{renderAppender:!1}))):(0,e.createElement)(Zr,{clientId:n})))})),save:()=>(0,e.createElement)(r.InnerBlocks.Content,null)});const Kr=["wide","full"],Qr=(0,q.createHigherOrderComponent)((t=>a=>{if("generateblocks/container"!==a.name)return(0,e.createElement)(t,a);const{insertBlocks:o}=(0,l.useDispatch)("core/block-editor"),{getBlockParentsByBlockName:s,getBlockRootClientId:c,getBlocksByClientId:u}=(0,l.useSelect)((e=>e("core/block-editor")),[]),{attributes:d,clientId:p,setAttributes:m}=a,{isGrid:f,isQueryLoopItem:h,align:k}=d;let v=!1;v="function"==typeof s?s(p,"generateblocks/grid",!0)[0]:c(p);const y=(0,g.getBlockSupport)("","align",!0)&&!f;return(0,e.createElement)(e.Fragment,null,!h&&f&&v&&(0,e.createElement)(r.BlockControls,null,(0,e.createElement)(n.ToolbarGroup,null,(0,e.createElement)(n.ToolbarButton,{className:"gblocks-block-control-icon gblocks-add-grid-item",icon:b("addContainer"),label:(0,i.__)("Duplicate Grid Item","generateblocks"),onClick:()=>{const e=u(p)[0],t=(0,g.cloneBlock)(e,{uniqueId:""});o(t,void 0,v)},showTooltip:!0}))),y&&(0,e.createElement)(r.BlockControls,null,(0,e.createElement)(r.BlockAlignmentToolbar,{value:k,onChange:e=>{m({align:e}),"full"===e&&m({outerContainer:"full"})},controls:Kr})),(0,e.createElement)(t,a))}),"withBlockControls");(0,m.addFilter)("editor.BlockEdit","generateblocks/container-block-controls",Qr);var Yr=t=>{let{attributes:a,setAttributes:l,deviceType:n}=t;const{alignment:i,alignmentTablet:o,alignmentMobile:s}=a;return(0,e.createElement)(r.BlockControls,null,"Desktop"===n&&(0,e.createElement)(r.AlignmentToolbar,{value:i,onChange:e=>{l({alignment:e})}}),"Tablet"===n&&(0,e.createElement)(r.AlignmentToolbar,{value:o,onChange:e=>{l({alignmentTablet:e})}}),"Mobile"===n&&(0,e.createElement)(r.AlignmentToolbar,{value:s,onChange:e=>{l({alignmentMobile:e})}}))},Jr=t=>{let{fontFamily:a,googleFont:l,googleFontVariants:r,isBlockPreview:n}=t;if(n)return null;const i=r?`:${r}`:"",o="https://fonts.googleapis.com/css?family="+a.replace(/ /g,"+")+i;return(0,e.createElement)(e.Fragment,null,a&&l&&(0,e.createElement)("link",{rel:"stylesheet",href:o}))};class Xr extends e.Component{render(){const{label:t,value:a,onChange:l,rangeMin:r=0,rangeMax:i=100,inputMin:o="",inputMax:s="",step:c=1,help:u="",beforeIcon:g="",initialPosition:d="",placeholder:b="",disabled:p=!1}=this.props;return(0,e.createElement)("div",{className:"components-gblocks-range-control"},t&&(0,e.createElement)("div",{className:"components-gblocks-range-control--label"},t),(0,e.createElement)("div",{className:"components-gblocks-range-control--wrapper"},(0,e.createElement)("div",{className:"components-gblocks-range-control--range"},(0,e.createElement)(n.RangeControl,{className:"gblocks-range-control-range",beforeIcon:g,value:S(a)?parseFloat(a):"",onChange:e=>l(e),min:r,max:i,step:c,withInputField:!1,initialPosition:d,disabled:p})),(0,e.createElement)("div",{className:"components-gblocks-range-control-input"},(0,e.createElement)(n.TextControl,{type:"number",placeholder:""!==b?b:"",min:o,max:s,step:c,value:S(a)?a:"",disabled:p,onChange:e=>l(e),onBlur:()=>{S(a)&&l(parseFloat(a))},onClick:e=>{e.currentTarget.focus()}}))),u&&(0,e.createElement)("p",{className:"components-base-control__help"},u))}}var en=JSON.parse('{"Roboto":{"weight":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","900","900italic"],"fallback":"sans-serif"},"Open Sans":{"weight":["300","300italic","regular","italic","600","600italic","700","700italic","800","800italic"],"fallback":"sans-serif"},"Noto Sans JP":{"weight":["100","300","regular","500","700","900"],"fallback":"sans-serif"},"Lato":{"weight":["100","100italic","300","300italic","regular","italic","700","700italic","900","900italic"],"fallback":"sans-serif"},"Montserrat":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Roboto Condensed":{"weight":["300","300italic","regular","italic","700","700italic"],"fallback":"sans-serif"},"Source Sans Pro":{"weight":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"],"fallback":"sans-serif"},"Oswald":{"weight":["200","300","regular","500","600","700"],"fallback":"sans-serif"},"Poppins":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Roboto Mono":{"weight":["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],"fallback":"monospace"},"Noto Sans":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Raleway":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"PT Sans":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Roboto Slab":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"serif"},"Merriweather":{"weight":["300","300italic","regular","italic","700","700italic","900","900italic"],"fallback":"serif"},"Ubuntu":{"weight":["300","300italic","regular","italic","500","500italic","700","700italic"],"fallback":"sans-serif"},"Playfair Display":{"weight":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"Nunito":{"weight":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Noto Sans KR":{"weight":["100","300","regular","500","700","900"],"fallback":"sans-serif"},"Open Sans Condensed":{"weight":["300","300italic","700"],"fallback":"sans-serif"},"Rubik":{"weight":["300","regular","500","600","700","800","900","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Lora":{"weight":["regular","500","600","700","italic","500italic","600italic","700italic"],"fallback":"serif"},"Work Sans":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Mukta":{"weight":["200","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Noto Sans TC":{"weight":["100","300","regular","500","700","900"],"fallback":"sans-serif"},"Nunito Sans":{"weight":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"PT Serif":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Nanum Gothic":{"weight":["regular","700","800"],"fallback":"sans-serif"},"Inter":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Fira Sans":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Noto Serif":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Quicksand":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Titillium Web":{"weight":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900"],"fallback":"sans-serif"},"Hind Siliguri":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Karla":{"weight":["200","300","regular","500","600","700","800","200italic","300italic","italic","500italic","600italic","700italic","800italic"],"fallback":"sans-serif"},"Barlow":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Inconsolata":{"weight":["200","300","regular","500","600","700","800","900"],"fallback":"monospace"},"Heebo":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Noto Sans SC":{"weight":["100","300","regular","500","700","900"],"fallback":"sans-serif"},"Oxygen":{"weight":["300","regular","700"],"fallback":"sans-serif"},"Source Code Pro":{"weight":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","900","900italic"],"fallback":"monospace"},"Anton":{"weight":["regular"],"fallback":"sans-serif"},"Josefin Sans":{"weight":["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],"fallback":"sans-serif"},"Arimo":{"weight":["regular","500","600","700","italic","500italic","600italic","700italic"],"fallback":"sans-serif"},"PT Sans Narrow":{"weight":["regular","700"],"fallback":"sans-serif"},"IBM Plex Sans":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Dosis":{"weight":["200","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Noto Sans HK":{"weight":["100","300","regular","500","700","900"],"fallback":"sans-serif"},"Libre Franklin":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Libre Baskerville":{"weight":["regular","italic","700"],"fallback":"serif"},"Cabin":{"weight":["regular","500","600","700","italic","500italic","600italic","700italic"],"fallback":"sans-serif"},"Hind":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Bitter":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"Crimson Text":{"weight":["regular","italic","600","600italic","700","700italic"],"fallback":"serif"},"Bebas Neue":{"weight":["regular"],"fallback":"display"},"Lobster":{"weight":["regular"],"fallback":"display"},"Yanone Kaffeesatz":{"weight":["200","300","regular","500","600","700"],"fallback":"sans-serif"},"Dancing Script":{"weight":["regular","500","600","700"],"fallback":"handwriting"},"Cairo":{"weight":["200","300","regular","600","700","900"],"fallback":"sans-serif"},"Abel":{"weight":["regular"],"fallback":"sans-serif"},"Fjalla One":{"weight":["regular"],"fallback":"sans-serif"},"Varela Round":{"weight":["regular"],"fallback":"sans-serif"},"Source Serif Pro":{"weight":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"],"fallback":"serif"},"Arvo":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"EB Garamond":{"weight":["regular","500","600","700","800","italic","500italic","600italic","700italic","800italic"],"fallback":"serif"},"Barlow Condensed":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Architects Daughter":{"weight":["regular"],"fallback":"handwriting"},"Zilla Slab":{"weight":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"serif"},"Indie Flower":{"weight":["regular"],"fallback":"handwriting"},"Mulish":{"weight":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Comfortaa":{"weight":["300","regular","500","600","700"],"fallback":"display"},"DM Sans":{"weight":["regular","italic","500","500italic","700","700italic"],"fallback":"sans-serif"},"Pacifico":{"weight":["regular"],"fallback":"handwriting"},"Exo 2":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Kanit":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Prompt":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Shadows Into Light":{"weight":["regular"],"fallback":"handwriting"},"Questrial":{"weight":["regular"],"fallback":"sans-serif"},"Merriweather Sans":{"weight":["300","regular","500","600","700","800","300italic","italic","500italic","600italic","700italic","800italic"],"fallback":"sans-serif"},"Teko":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Balsamiq Sans":{"weight":["regular","italic","700","700italic"],"fallback":"display"},"Asap":{"weight":["regular","500","600","700","italic","500italic","600italic","700italic"],"fallback":"sans-serif"},"Hind Madurai":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Cormorant Garamond":{"weight":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"serif"},"Antic Slab":{"weight":["regular"],"fallback":"serif"},"Archivo Narrow":{"weight":["regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Overpass":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Abril Fatface":{"weight":["regular"],"fallback":"display"},"Slabo 27px":{"weight":["regular"],"fallback":"serif"},"Exo":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Assistant":{"weight":["200","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Maven Pro":{"weight":["regular","500","600","700","800","900"],"fallback":"sans-serif"},"Domine":{"weight":["regular","500","600","700"],"fallback":"serif"},"Fira Sans Condensed":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Caveat":{"weight":["regular","500","600","700"],"fallback":"handwriting"},"Rajdhani":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"IBM Plex Serif":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"serif"},"Martel":{"weight":["200","300","regular","600","700","800","900"],"fallback":"serif"},"Play":{"weight":["regular","700"],"fallback":"sans-serif"},"Amatic SC":{"weight":["regular","700"],"fallback":"handwriting"},"Bree Serif":{"weight":["regular"],"fallback":"serif"},"Tajawal":{"weight":["200","300","regular","500","700","800","900"],"fallback":"sans-serif"},"Noto Serif JP":{"weight":["200","300","regular","500","600","700","900"],"fallback":"serif"},"Righteous":{"weight":["regular"],"fallback":"display"},"Satisfy":{"weight":["regular"],"fallback":"handwriting"},"Signika":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Catamaran":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Acme":{"weight":["regular"],"fallback":"sans-serif"},"Manrope":{"weight":["200","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Fredoka One":{"weight":["regular"],"fallback":"display"},"Nanum Myeongjo":{"weight":["regular","700","800"],"fallback":"serif"},"ABeeZee":{"weight":["regular","italic"],"fallback":"sans-serif"},"Amiri":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Patrick Hand":{"weight":["regular"],"fallback":"handwriting"},"PT Sans Caption":{"weight":["regular","700"],"fallback":"sans-serif"},"Archivo":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Alfa Slab One":{"weight":["regular"],"fallback":"display"},"Cinzel":{"weight":["regular","500","600","700","800","900"],"fallback":"serif"},"Crete Round":{"weight":["regular","italic"],"fallback":"serif"},"Permanent Marker":{"weight":["regular"],"fallback":"handwriting"},"Alegreya Sans":{"weight":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Almarai":{"weight":["300","regular","700","800"],"fallback":"sans-serif"},"Barlow Semi Condensed":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Russo One":{"weight":["regular"],"fallback":"sans-serif"},"Vollkorn":{"weight":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"Sarabun":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"fallback":"sans-serif"},"Krona One":{"weight":["regular"],"fallback":"sans-serif"},"M PLUS Rounded 1c":{"weight":["100","300","regular","500","700","800","900"],"fallback":"sans-serif"},"Noticia Text":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Courgette":{"weight":["regular"],"fallback":"handwriting"},"Monda":{"weight":["regular","700"],"fallback":"sans-serif"},"Alegreya":{"weight":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"Frank Ruhl Libre":{"weight":["300","regular","500","700","900"],"fallback":"serif"},"Patua One":{"weight":["regular"],"fallback":"display"},"Ubuntu Condensed":{"weight":["regular"],"fallback":"sans-serif"},"Great Vibes":{"weight":["regular"],"fallback":"handwriting"},"Quattrocento Sans":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"M PLUS 1p":{"weight":["100","300","regular","500","700","800","900"],"fallback":"sans-serif"},"Spartan":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Yantramanav":{"weight":["100","300","regular","500","700","900"],"fallback":"sans-serif"},"Lobster Two":{"weight":["regular","italic","700","700italic"],"fallback":"display"},"Archivo Black":{"weight":["regular"],"fallback":"sans-serif"},"Kaushan Script":{"weight":["regular"],"fallback":"handwriting"},"Tinos":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Cardo":{"weight":["regular","italic","700"],"fallback":"serif"},"Orbitron":{"weight":["regular","500","600","700","800","900"],"fallback":"sans-serif"},"Sacramento":{"weight":["regular"],"fallback":"handwriting"},"IBM Plex Mono":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"monospace"},"Francois One":{"weight":["regular"],"fallback":"sans-serif"},"Luckiest Guy":{"weight":["regular"],"fallback":"display"},"Gothic A1":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Kalam":{"weight":["300","regular","700"],"fallback":"handwriting"},"Parisienne":{"weight":["regular"],"fallback":"handwriting"},"Gloria Hallelujah":{"weight":["regular"],"fallback":"handwriting"},"Didact Gothic":{"weight":["regular"],"fallback":"sans-serif"},"Cantarell":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Press Start 2P":{"weight":["regular"],"fallback":"display"},"Jost":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Rokkitt":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"serif"},"Paytone One":{"weight":["regular"],"fallback":"sans-serif"},"Prata":{"weight":["regular"],"fallback":"serif"},"Baloo 2":{"weight":["regular","500","600","700","800"],"fallback":"display"},"Cuprum":{"weight":["regular","500","600","700","italic","500italic","600italic","700italic"],"fallback":"sans-serif"},"Chivo":{"weight":["300","300italic","regular","italic","700","700italic","900","900italic"],"fallback":"sans-serif"},"Encode Sans":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"News Cycle":{"weight":["regular","700"],"fallback":"sans-serif"},"Old Standard TT":{"weight":["regular","italic","700"],"fallback":"serif"},"Hind Guntur":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Pathway Gothic One":{"weight":["regular"],"fallback":"sans-serif"},"Red Hat Display":{"weight":["regular","italic","500","500italic","700","700italic","900","900italic"],"fallback":"sans-serif"},"Public Sans":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Secular One":{"weight":["regular"],"fallback":"sans-serif"},"Volkhov":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Concert One":{"weight":["regular"],"fallback":"display"},"Asap Condensed":{"weight":["regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Montserrat Alternates":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Ropa Sans":{"weight":["regular","italic"],"fallback":"sans-serif"},"Josefin Slab":{"weight":["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],"fallback":"serif"},"Poiret One":{"weight":["regular"],"fallback":"display"},"Passion One":{"weight":["regular","700","900"],"fallback":"display"},"Padauk":{"weight":["regular","700"],"fallback":"sans-serif"},"Changa":{"weight":["200","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Saira Condensed":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Ultra":{"weight":["regular"],"fallback":"serif"},"Quattrocento":{"weight":["regular","700"],"fallback":"serif"},"Arapey":{"weight":["regular","italic"],"fallback":"serif"},"Vidaloka":{"weight":["regular"],"fallback":"serif"},"Playfair Display SC":{"weight":["regular","italic","700","700italic","900","900italic"],"fallback":"serif"},"Cookie":{"weight":["regular"],"fallback":"handwriting"},"Chakra Petch":{"weight":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Istok Web":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Cormorant":{"weight":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"serif"},"DM Serif Display":{"weight":["regular","italic"],"fallback":"serif"},"Neuton":{"weight":["200","300","regular","italic","700","800"],"fallback":"serif"},"Spectral":{"weight":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"fallback":"serif"},"Sawarabi Mincho":{"weight":["regular"],"fallback":"sans-serif"},"Lemonada":{"weight":["300","regular","500","600","700"],"fallback":"display"},"Yellowtail":{"weight":["regular"],"fallback":"handwriting"},"Handlee":{"weight":["regular"],"fallback":"handwriting"},"Merienda":{"weight":["regular","700"],"fallback":"handwriting"},"Philosopher":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Sanchez":{"weight":["regular","italic"],"fallback":"serif"},"Hammersmith One":{"weight":["regular"],"fallback":"sans-serif"},"Special Elite":{"weight":["regular"],"fallback":"display"},"Economica":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Staatliches":{"weight":["regular"],"fallback":"display"},"Sriracha":{"weight":["regular"],"fallback":"handwriting"},"Hind Vadodara":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Monoton":{"weight":["regular"],"fallback":"display"},"Ruda":{"weight":["regular","500","600","700","800","900"],"fallback":"sans-serif"},"Advent Pro":{"weight":["100","200","300","regular","500","600","700"],"fallback":"sans-serif"},"Saira":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Homemade Apple":{"weight":["regular"],"fallback":"handwriting"},"Sigmar One":{"weight":["regular"],"fallback":"display"},"Mitr":{"weight":["200","300","regular","500","600","700"],"fallback":"sans-serif"},"Bangers":{"weight":["regular"],"fallback":"display"},"Khand":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Faustina":{"weight":["regular","500","600","700","italic","500italic","600italic","700italic"],"fallback":"serif"},"Saira Semi Condensed":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Cabin Condensed":{"weight":["regular","500","600","700"],"fallback":"sans-serif"},"Gudea":{"weight":["regular","italic","700"],"fallback":"sans-serif"},"Fira Sans Extra Condensed":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"DM Serif Text":{"weight":["regular","italic"],"fallback":"serif"},"El Messiri":{"weight":["regular","500","600","700"],"fallback":"sans-serif"},"Electrolize":{"weight":["regular"],"fallback":"sans-serif"},"Taviraj":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"serif"},"PT Mono":{"weight":["regular"],"fallback":"monospace"},"Gentium Basic":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Space Mono":{"weight":["regular","italic","700","700italic"],"fallback":"monospace"},"Alice":{"weight":["regular"],"fallback":"serif"},"Unica One":{"weight":["regular"],"fallback":"display"},"Ubuntu Mono":{"weight":["regular","italic","700","700italic"],"fallback":"monospace"},"Pragati Narrow":{"weight":["regular","700"],"fallback":"sans-serif"},"Noto Serif TC":{"weight":["200","300","regular","500","600","700","900"],"fallback":"serif"},"Amaranth":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Karma":{"weight":["300","regular","500","600","700"],"fallback":"serif"},"Actor":{"weight":["regular"],"fallback":"sans-serif"},"Nanum Pen Script":{"weight":["regular"],"fallback":"handwriting"},"Noto Serif SC":{"weight":["200","300","regular","500","600","700","900"],"fallback":"serif"},"Tangerine":{"weight":["regular","700"],"fallback":"handwriting"},"Carter One":{"weight":["regular"],"fallback":"display"},"Neucha":{"weight":["regular"],"fallback":"handwriting"},"Unna":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Pontano Sans":{"weight":["regular"],"fallback":"sans-serif"},"Bai Jamjuree":{"weight":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Marck Script":{"weight":["regular"],"fallback":"handwriting"},"BenchNine":{"weight":["300","regular","700"],"fallback":"sans-serif"},"Fugaz One":{"weight":["regular"],"fallback":"display"},"Yeseva One":{"weight":["regular"],"fallback":"display"},"Eczar":{"weight":["regular","500","600","700","800"],"fallback":"serif"},"Bad Script":{"weight":["regular"],"fallback":"handwriting"},"Viga":{"weight":["regular"],"fallback":"sans-serif"},"Gentium Book Basic":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Jura":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Allura":{"weight":["regular"],"fallback":"handwriting"},"Palanquin":{"weight":["100","200","300","regular","500","600","700"],"fallback":"sans-serif"},"Sawarabi Gothic":{"weight":["regular"],"fallback":"sans-serif"},"Rock Salt":{"weight":["regular"],"fallback":"handwriting"},"Lusitana":{"weight":["regular","700"],"fallback":"serif"},"Alef":{"weight":["regular","700"],"fallback":"sans-serif"},"Julius Sans One":{"weight":["regular"],"fallback":"sans-serif"},"Tenor Sans":{"weight":["regular"],"fallback":"sans-serif"},"Nothing You Could Do":{"weight":["regular"],"fallback":"handwriting"},"Cutive Mono":{"weight":["regular"],"fallback":"monospace"},"Khula":{"weight":["300","regular","600","700","800"],"fallback":"sans-serif"},"Adamina":{"weight":["regular"],"fallback":"serif"},"Playball":{"weight":["regular"],"fallback":"display"},"Audiowide":{"weight":["regular"],"fallback":"display"},"Jaldi":{"weight":["regular","700"],"fallback":"sans-serif"},"Black Ops One":{"weight":["regular"],"fallback":"display"},"Signika Negative":{"weight":["300","regular","600","700"],"fallback":"sans-serif"},"Shadows Into Light Two":{"weight":["regular"],"fallback":"handwriting"},"Armata":{"weight":["regular"],"fallback":"sans-serif"},"Mali":{"weight":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"handwriting"},"Antic":{"weight":["regular"],"fallback":"sans-serif"},"Varela":{"weight":["regular"],"fallback":"sans-serif"},"Berkshire Swash":{"weight":["regular"],"fallback":"handwriting"},"Aleo":{"weight":["300","300italic","regular","italic","700","700italic"],"fallback":"serif"},"Gelasio":{"weight":["regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"serif"},"Rufina":{"weight":["regular","700"],"fallback":"serif"},"Markazi Text":{"weight":["regular","500","600","700"],"fallback":"serif"},"Nanum Gothic Coding":{"weight":["regular","700"],"fallback":"monospace"},"Allan":{"weight":["regular","700"],"fallback":"display"},"Noto Serif KR":{"weight":["200","300","regular","500","600","700","900"],"fallback":"serif"},"Abhaya Libre":{"weight":["regular","500","600","700","800"],"fallback":"serif"},"Quantico":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Marcellus":{"weight":["regular"],"fallback":"serif"},"Sorts Mill Goudy":{"weight":["regular","italic"],"fallback":"serif"},"Alata":{"weight":["regular"],"fallback":"sans-serif"},"Knewave":{"weight":["regular"],"fallback":"display"},"Alex Brush":{"weight":["regular"],"fallback":"handwriting"},"Aclonica":{"weight":["regular"],"fallback":"sans-serif"},"Gruppo":{"weight":["regular"],"fallback":"display"},"Damion":{"weight":["regular"],"fallback":"handwriting"},"Itim":{"weight":["regular"],"fallback":"handwriting"},"Bungee":{"weight":["regular"],"fallback":"display"},"Gochi Hand":{"weight":["regular"],"fallback":"handwriting"},"Mr Dafoe":{"weight":["regular"],"fallback":"handwriting"},"Freckle Face":{"weight":["regular"],"fallback":"display"},"Baloo Chettan 2":{"weight":["regular","500","600","700","800"],"fallback":"display"},"Trirong":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"serif"},"Kosugi Maru":{"weight":["regular"],"fallback":"sans-serif"},"Rubik Mono One":{"weight":["regular"],"fallback":"sans-serif"},"Fira Mono":{"weight":["regular","500","700"],"fallback":"monospace"},"Cantata One":{"weight":["regular"],"fallback":"serif"},"Suez One":{"weight":["regular"],"fallback":"serif"},"Niconne":{"weight":["regular"],"fallback":"handwriting"},"Six Caps":{"weight":["regular"],"fallback":"sans-serif"},"Miriam Libre":{"weight":["regular","700"],"fallback":"sans-serif"},"Sarala":{"weight":["regular","700"],"fallback":"sans-serif"},"Sintony":{"weight":["regular","700"],"fallback":"sans-serif"},"Titan One":{"weight":["regular"],"fallback":"display"},"Encode Sans Condensed":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Cousine":{"weight":["regular","italic","700","700italic"],"fallback":"monospace"},"PT Serif Caption":{"weight":["regular","italic"],"fallback":"serif"},"Courier Prime":{"weight":["regular","italic","700","700italic"],"fallback":"monospace"},"Overlock":{"weight":["regular","italic","700","700italic","900","900italic"],"fallback":"display"},"Allerta":{"weight":["regular"],"fallback":"sans-serif"},"Arsenal":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Black Han Sans":{"weight":["regular"],"fallback":"sans-serif"},"Squada One":{"weight":["regular"],"fallback":"display"},"Lateef":{"weight":["regular"],"fallback":"handwriting"},"Arima Madurai":{"weight":["100","200","300","regular","500","700","800","900"],"fallback":"display"},"Ramabhadra":{"weight":["regular"],"fallback":"sans-serif"},"Covered By Your Grace":{"weight":["regular"],"fallback":"handwriting"},"Martel Sans":{"weight":["200","300","regular","600","700","800","900"],"fallback":"sans-serif"},"Rancho":{"weight":["regular"],"fallback":"handwriting"},"Enriqueta":{"weight":["regular","500","600","700"],"fallback":"serif"},"Syncopate":{"weight":["regular","700"],"fallback":"sans-serif"},"Pinyon Script":{"weight":["regular"],"fallback":"handwriting"},"Chewy":{"weight":["regular"],"fallback":"display"},"Oleo Script":{"weight":["regular","700"],"fallback":"display"},"Kreon":{"weight":["300","regular","500","600","700"],"fallback":"serif"},"Candal":{"weight":["regular"],"fallback":"sans-serif"},"Spinnaker":{"weight":["regular"],"fallback":"sans-serif"},"Reem Kufi":{"weight":["regular"],"fallback":"sans-serif"},"Krub":{"weight":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Michroma":{"weight":["regular"],"fallback":"sans-serif"},"Annie Use Your Telescope":{"weight":["regular"],"fallback":"handwriting"},"Lilita One":{"weight":["regular"],"fallback":"display"},"Coda":{"weight":["regular","800"],"fallback":"display"},"Fredericka the Great":{"weight":["regular"],"fallback":"display"},"Mukta Malar":{"weight":["200","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Bowlby One SC":{"weight":["regular"],"fallback":"display"},"Average":{"weight":["regular"],"fallback":"serif"},"Londrina Solid":{"weight":["100","300","regular","900"],"fallback":"display"},"New Tegomin":{"weight":["regular"],"fallback":"serif"},"Glegoo":{"weight":["regular","700"],"fallback":"serif"},"Pridi":{"weight":["200","300","regular","500","600","700"],"fallback":"serif"},"Boogaloo":{"weight":["regular"],"fallback":"display"},"Red Hat Text":{"weight":["regular","italic","500","500italic","700","700italic"],"fallback":"sans-serif"},"Aldrich":{"weight":["regular"],"fallback":"sans-serif"},"Basic":{"weight":["regular"],"fallback":"sans-serif"},"Capriola":{"weight":["regular"],"fallback":"sans-serif"},"Forum":{"weight":["regular"],"fallback":"display"},"Reenie Beanie":{"weight":["regular"],"fallback":"handwriting"},"Laila":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Alegreya Sans SC":{"weight":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Share Tech Mono":{"weight":["regular"],"fallback":"monospace"},"Italianno":{"weight":["regular"],"fallback":"handwriting"},"Lalezar":{"weight":["regular"],"fallback":"display"},"Lexend Deca":{"weight":["regular"],"fallback":"sans-serif"},"Caveat Brush":{"weight":["regular"],"fallback":"handwriting"},"Shrikhand":{"weight":["regular"],"fallback":"display"},"Creepster":{"weight":["regular"],"fallback":"display"},"Kameron":{"weight":["regular","700"],"fallback":"serif"},"Coda Caption":{"weight":["800"],"fallback":"sans-serif"},"Goudy Bookletter 1911":{"weight":["regular"],"fallback":"serif"},"Coming Soon":{"weight":["regular"],"fallback":"handwriting"},"Saira Extra Condensed":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Yrsa":{"weight":["300","regular","500","600","700"],"fallback":"serif"},"Telex":{"weight":["regular"],"fallback":"sans-serif"},"Bevan":{"weight":["regular"],"fallback":"display"},"Voltaire":{"weight":["regular"],"fallback":"sans-serif"},"Days One":{"weight":["regular"],"fallback":"sans-serif"},"Cabin Sketch":{"weight":["regular","700"],"fallback":"display"},"Norican":{"weight":["regular"],"fallback":"handwriting"},"Rambla":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Mukta Vaani":{"weight":["200","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Average Sans":{"weight":["regular"],"fallback":"sans-serif"},"Arbutus Slab":{"weight":["regular"],"fallback":"serif"},"Sansita":{"weight":["regular","italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Mada":{"weight":["200","300","regular","500","600","700","900"],"fallback":"sans-serif"},"Just Another Hand":{"weight":["regular"],"fallback":"handwriting"},"Nobile":{"weight":["regular","italic","500","500italic","700","700italic"],"fallback":"sans-serif"},"Gilda Display":{"weight":["regular"],"fallback":"serif"},"VT323":{"weight":["regular"],"fallback":"monospace"},"Mandali":{"weight":["regular"],"fallback":"sans-serif"},"Caudex":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Anonymous Pro":{"weight":["regular","italic","700","700italic"],"fallback":"monospace"},"Bentham":{"weight":["regular"],"fallback":"serif"},"Overpass Mono":{"weight":["300","regular","600","700"],"fallback":"monospace"},"Sen":{"weight":["regular","700","800"],"fallback":"sans-serif"},"Kadwa":{"weight":["regular","700"],"fallback":"serif"},"Cambay":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Yesteryear":{"weight":["regular"],"fallback":"handwriting"},"Molengo":{"weight":["regular"],"fallback":"sans-serif"},"Nixie One":{"weight":["regular"],"fallback":"display"},"Scada":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Crimson Pro":{"weight":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"Arizonia":{"weight":["regular"],"fallback":"handwriting"},"Racing Sans One":{"weight":["regular"],"fallback":"display"},"Scheherazade":{"weight":["regular","700"],"fallback":"serif"},"Seaweed Script":{"weight":["regular"],"fallback":"display"},"Belleza":{"weight":["regular"],"fallback":"sans-serif"},"Harmattan":{"weight":["regular","700"],"fallback":"sans-serif"},"Leckerli One":{"weight":["regular"],"fallback":"handwriting"},"Ovo":{"weight":["regular"],"fallback":"serif"},"Merienda One":{"weight":["regular"],"fallback":"handwriting"},"Holtwood One SC":{"weight":["regular"],"fallback":"serif"},"Cinzel Decorative":{"weight":["regular","700","900"],"fallback":"display"},"Literata":{"weight":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"Mrs Saint Delafield":{"weight":["regular"],"fallback":"handwriting"},"Schoolbell":{"weight":["regular"],"fallback":"handwriting"},"Bungee Inline":{"weight":["regular"],"fallback":"display"},"Herr Von Muellerhoff":{"weight":["regular"],"fallback":"handwriting"},"Oranienbaum":{"weight":["regular"],"fallback":"serif"},"Baloo Tamma 2":{"weight":["regular","500","600","700","800"],"fallback":"display"},"Sniglet":{"weight":["regular","800"],"fallback":"display"},"Bubblegum Sans":{"weight":["regular"],"fallback":"display"},"Rochester":{"weight":["regular"],"fallback":"handwriting"},"Judson":{"weight":["regular","italic","700"],"fallback":"serif"},"Marcellus SC":{"weight":["regular"],"fallback":"serif"},"Darker Grotesque":{"weight":["300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Changa One":{"weight":["regular","italic"],"fallback":"display"},"Alegreya SC":{"weight":["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"fallback":"serif"},"Pattaya":{"weight":["regular"],"fallback":"sans-serif"},"Mallanna":{"weight":["regular"],"fallback":"sans-serif"},"Share":{"weight":["regular","italic","700","700italic"],"fallback":"display"},"Podkova":{"weight":["regular","500","600","700","800"],"fallback":"serif"},"Allerta Stencil":{"weight":["regular"],"fallback":"sans-serif"},"Charm":{"weight":["regular","700"],"fallback":"handwriting"},"Niramit":{"weight":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Halant":{"weight":["300","regular","500","600","700"],"fallback":"serif"},"Graduate":{"weight":["regular"],"fallback":"display"},"Nanum Brush Script":{"weight":["regular"],"fallback":"handwriting"},"Amita":{"weight":["regular","700"],"fallback":"handwriting"},"Rozha One":{"weight":["regular"],"fallback":"serif"},"Kristi":{"weight":["regular"],"fallback":"handwriting"},"Biryani":{"weight":["200","300","regular","600","700","800","900"],"fallback":"sans-serif"},"Lustria":{"weight":["regular"],"fallback":"serif"},"Delius":{"weight":["regular"],"fallback":"handwriting"},"Suranna":{"weight":["regular"],"fallback":"serif"},"Amethysta":{"weight":["regular"],"fallback":"serif"},"Contrail One":{"weight":["regular"],"fallback":"display"},"Averia Serif Libre":{"weight":["300","300italic","regular","italic","700","700italic"],"fallback":"display"},"Do Hyeon":{"weight":["regular"],"fallback":"sans-serif"},"IBM Plex Sans Condensed":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Marvel":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Rye":{"weight":["regular"],"fallback":"display"},"Fauna One":{"weight":["regular"],"fallback":"serif"},"Corben":{"weight":["regular","700"],"fallback":"display"},"Cedarville Cursive":{"weight":["regular"],"fallback":"handwriting"},"Jockey One":{"weight":["regular"],"fallback":"sans-serif"},"Libre Caslon Text":{"weight":["regular","italic","700"],"fallback":"serif"},"Carrois Gothic":{"weight":["regular"],"fallback":"sans-serif"},"Calligraffitti":{"weight":["regular"],"fallback":"handwriting"},"Trocchi":{"weight":["regular"],"fallback":"serif"},"Spectral SC":{"weight":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"fallback":"serif"},"Coustard":{"weight":["regular","900"],"fallback":"serif"},"Copse":{"weight":["regular"],"fallback":"serif"},"Athiti":{"weight":["200","300","regular","500","600","700"],"fallback":"sans-serif"},"Carme":{"weight":["regular"],"fallback":"sans-serif"},"Rosario":{"weight":["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],"fallback":"sans-serif"},"Limelight":{"weight":["regular"],"fallback":"display"},"Jua":{"weight":["regular"],"fallback":"sans-serif"},"Petit Formal Script":{"weight":["regular"],"fallback":"handwriting"},"Love Ya Like A Sister":{"weight":["regular"],"fallback":"display"},"GFS Didot":{"weight":["regular"],"fallback":"serif"},"Aladin":{"weight":["regular"],"fallback":"handwriting"},"Palanquin Dark":{"weight":["regular","500","600","700"],"fallback":"sans-serif"},"Amiko":{"weight":["regular","600","700"],"fallback":"sans-serif"},"Cormorant Infant":{"weight":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"serif"},"Wallpoet":{"weight":["regular"],"fallback":"display"},"Magra":{"weight":["regular","700"],"fallback":"sans-serif"},"Grand Hotel":{"weight":["regular"],"fallback":"handwriting"},"Sunflower":{"weight":["300","500","700"],"fallback":"sans-serif"},"Big Shoulders Display":{"weight":["100","300","regular","500","600","700","800","900"],"fallback":"display"},"Slabo 13px":{"weight":["regular"],"fallback":"serif"},"Pangolin":{"weight":["regular"],"fallback":"handwriting"},"Mr De Haviland":{"weight":["regular"],"fallback":"handwriting"},"K2D":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"fallback":"sans-serif"},"Marmelad":{"weight":["regular"],"fallback":"sans-serif"},"Thasadith":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"La Belle Aurore":{"weight":["regular"],"fallback":"handwriting"},"Hanuman":{"weight":["regular","700"],"fallback":"serif"},"Metrophobic":{"weight":["regular"],"fallback":"sans-serif"},"Epilogue":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Radley":{"weight":["regular","italic"],"fallback":"serif"},"Poly":{"weight":["regular","italic"],"fallback":"serif"},"Commissioner":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Averia Libre":{"weight":["300","300italic","regular","italic","700","700italic"],"fallback":"display"},"IM Fell Double Pica":{"weight":["regular","italic"],"fallback":"serif"},"Comic Neue":{"weight":["300","300italic","regular","italic","700","700italic"],"fallback":"handwriting"},"Baskervville":{"weight":["regular","italic"],"fallback":"serif"},"Kelly Slab":{"weight":["regular"],"fallback":"display"},"Oxygen Mono":{"weight":["regular"],"fallback":"monospace"},"Maitree":{"weight":["200","300","regular","500","600","700"],"fallback":"serif"},"Buenard":{"weight":["regular","700"],"fallback":"serif"},"Duru Sans":{"weight":["regular"],"fallback":"sans-serif"},"Baloo Da 2":{"weight":["regular","500","600","700","800"],"fallback":"display"},"Grandstander":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"display"},"Balthazar":{"weight":["regular"],"fallback":"serif"},"ZCOOL XiaoWei":{"weight":["regular"],"fallback":"serif"},"Cutive":{"weight":["regular"],"fallback":"serif"},"Antic Didone":{"weight":["regular"],"fallback":"serif"},"Waiting for the Sunrise":{"weight":["regular"],"fallback":"handwriting"},"B612 Mono":{"weight":["regular","italic","700","700italic"],"fallback":"monospace"},"Chonburi":{"weight":["regular"],"fallback":"display"},"Montaga":{"weight":["regular"],"fallback":"serif"},"UnifrakturMaguntia":{"weight":["regular"],"fallback":"display"},"Kosugi":{"weight":["regular"],"fallback":"sans-serif"},"Gravitas One":{"weight":["regular"],"fallback":"display"},"Mirza":{"weight":["regular","500","600","700"],"fallback":"display"},"Manjari":{"weight":["100","regular","700"],"fallback":"sans-serif"},"Alike":{"weight":["regular"],"fallback":"serif"},"Lekton":{"weight":["regular","italic","700"],"fallback":"sans-serif"},"Sora":{"weight":["100","200","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Gabriela":{"weight":["regular"],"fallback":"serif"},"Lemon":{"weight":["regular"],"fallback":"display"},"Esteban":{"weight":["regular"],"fallback":"serif"},"Alatsi":{"weight":["regular"],"fallback":"sans-serif"},"Turret Road":{"weight":["200","300","regular","500","700","800"],"fallback":"display"},"Monsieur La Doulaise":{"weight":["regular"],"fallback":"handwriting"},"Pompiere":{"weight":["regular"],"fallback":"display"},"Cormorant SC":{"weight":["300","regular","500","600","700"],"fallback":"serif"},"Kurale":{"weight":["regular"],"fallback":"serif"},"Frijole":{"weight":["regular"],"fallback":"display"},"Rammetto One":{"weight":["regular"],"fallback":"display"},"Chelsea Market":{"weight":["regular"],"fallback":"display"},"Megrim":{"weight":["regular"],"fallback":"display"},"IM Fell English":{"weight":["regular","italic"],"fallback":"serif"},"Oregano":{"weight":["regular","italic"],"fallback":"display"},"Andada":{"weight":["regular"],"fallback":"serif"},"Mate":{"weight":["regular","italic"],"fallback":"serif"},"Convergence":{"weight":["regular"],"fallback":"sans-serif"},"Rouge Script":{"weight":["regular"],"fallback":"handwriting"},"Bowlby One":{"weight":["regular"],"fallback":"display"},"Emilys Candy":{"weight":["regular"],"fallback":"display"},"Wendy One":{"weight":["regular"],"fallback":"sans-serif"},"Fira Code":{"weight":["300","regular","500","600","700"],"fallback":"monospace"},"Dawning of a New Day":{"weight":["regular"],"fallback":"handwriting"},"Sue Ellen Francisco":{"weight":["regular"],"fallback":"handwriting"},"Gurajada":{"weight":["regular"],"fallback":"serif"},"David Libre":{"weight":["regular","500","700"],"fallback":"serif"},"Sofia":{"weight":["regular"],"fallback":"handwriting"},"Short Stack":{"weight":["regular"],"fallback":"handwriting"},"Chau Philomene One":{"weight":["regular","italic"],"fallback":"sans-serif"},"Bellefair":{"weight":["regular"],"fallback":"serif"},"Belgrano":{"weight":["regular"],"fallback":"serif"},"Expletus Sans":{"weight":["regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"display"},"Original Surfer":{"weight":["regular"],"fallback":"display"},"Doppio One":{"weight":["regular"],"fallback":"sans-serif"},"Be Vietnam":{"weight":["100","100italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"fallback":"sans-serif"},"Sail":{"weight":["regular"],"fallback":"display"},"Inder":{"weight":["regular"],"fallback":"sans-serif"},"Give You Glory":{"weight":["regular"],"fallback":"handwriting"},"IM Fell DW Pica":{"weight":["regular","italic"],"fallback":"serif"},"McLaren":{"weight":["regular"],"fallback":"display"},"Encode Sans Semi Condensed":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Bungee Shade":{"weight":["regular"],"fallback":"display"},"Baumans":{"weight":["regular"],"fallback":"display"},"Brawler":{"weight":["regular"],"fallback":"serif"},"Tenali Ramakrishna":{"weight":["regular"],"fallback":"sans-serif"},"Ceviche One":{"weight":["regular"],"fallback":"display"},"B612":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Zeyada":{"weight":["regular"],"fallback":"handwriting"},"Mountains of Christmas":{"weight":["regular","700"],"fallback":"display"},"Sedgwick Ave":{"weight":["regular"],"fallback":"handwriting"},"Gugi":{"weight":["regular"],"fallback":"display"},"Oleo Script Swash Caps":{"weight":["regular","700"],"fallback":"display"},"Skranji":{"weight":["regular","700"],"fallback":"display"},"Meddon":{"weight":["regular"],"fallback":"handwriting"},"NTR":{"weight":["regular"],"fallback":"sans-serif"},"Finger Paint":{"weight":["regular"],"fallback":"display"},"Blinker":{"weight":["100","200","300","regular","600","700","800","900"],"fallback":"sans-serif"},"Fanwood Text":{"weight":["regular","italic"],"fallback":"serif"},"Grenze Gotisch":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"display"},"Hepta Slab":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"serif"},"Anaheim":{"weight":["regular"],"fallback":"sans-serif"},"Major Mono Display":{"weight":["regular"],"fallback":"monospace"},"Quando":{"weight":["regular"],"fallback":"serif"},"Andika":{"weight":["regular"],"fallback":"sans-serif"},"Qwigley":{"weight":["regular"],"fallback":"handwriting"},"Vast Shadow":{"weight":["regular"],"fallback":"display"},"Happy Monkey":{"weight":["regular"],"fallback":"display"},"Montez":{"weight":["regular"],"fallback":"handwriting"},"Proza Libre":{"weight":["regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"fallback":"sans-serif"},"Homenaje":{"weight":["regular"],"fallback":"sans-serif"},"Ma Shan Zheng":{"weight":["regular"],"fallback":"handwriting"},"Loved by the King":{"weight":["regular"],"fallback":"handwriting"},"Trade Winds":{"weight":["regular"],"fallback":"display"},"Stardos Stencil":{"weight":["regular","700"],"fallback":"display"},"Raleway Dots":{"weight":["regular"],"fallback":"display"},"Libre Barcode 39":{"weight":["regular"],"fallback":"display"},"Recursive":{"weight":["300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Numans":{"weight":["regular"],"fallback":"sans-serif"},"RocknRoll One":{"weight":["regular"],"fallback":"sans-serif"},"Rakkas":{"weight":["regular"],"fallback":"display"},"Mouse Memoirs":{"weight":["regular"],"fallback":"sans-serif"},"BioRhyme":{"weight":["200","300","regular","700","800"],"fallback":"serif"},"Ranchers":{"weight":["regular"],"fallback":"display"},"Patrick Hand SC":{"weight":["regular"],"fallback":"handwriting"},"Codystar":{"weight":["300","regular"],"fallback":"display"},"Rasa":{"weight":["300","regular","500","600","700"],"fallback":"serif"},"Meera Inimai":{"weight":["regular"],"fallback":"sans-serif"},"Clicker Script":{"weight":["regular"],"fallback":"handwriting"},"DM Mono":{"weight":["300","300italic","regular","italic","500","500italic"],"fallback":"monospace"},"Gaegu":{"weight":["300","regular","700"],"fallback":"handwriting"},"Aguafina Script":{"weight":["regular"],"fallback":"handwriting"},"Unkempt":{"weight":["regular","700"],"fallback":"display"},"Over the Rainbow":{"weight":["regular"],"fallback":"handwriting"},"Fondamento":{"weight":["regular","italic"],"fallback":"handwriting"},"Battambang":{"weight":["regular","700"],"fallback":"display"},"Cambo":{"weight":["regular"],"fallback":"serif"},"Crafty Girls":{"weight":["regular"],"fallback":"handwriting"},"Nova Mono":{"weight":["regular"],"fallback":"monospace"},"Tillana":{"weight":["regular","500","600","700","800"],"fallback":"handwriting"},"Alike Angular":{"weight":["regular"],"fallback":"serif"},"Kumbh Sans":{"weight":["300","regular","700"],"fallback":"sans-serif"},"Katibeh":{"weight":["regular"],"fallback":"display"},"Sarpanch":{"weight":["regular","500","600","700","800","900"],"fallback":"sans-serif"},"Antonio":{"weight":["100","200","300","regular","500","600","700"],"fallback":"sans-serif"},"Mansalva":{"weight":["regular"],"fallback":"handwriting"},"Faster One":{"weight":["regular"],"fallback":"display"},"Federo":{"weight":["regular"],"fallback":"sans-serif"},"Dokdo":{"weight":["regular"],"fallback":"handwriting"},"Hi Melody":{"weight":["regular"],"fallback":"handwriting"},"Euphoria Script":{"weight":["regular"],"fallback":"handwriting"},"Orienta":{"weight":["regular"],"fallback":"sans-serif"},"Space Grotesk":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Galada":{"weight":["regular"],"fallback":"display"},"Timmana":{"weight":["regular"],"fallback":"sans-serif"},"JetBrains Mono":{"weight":["100","200","300","regular","500","600","700","800","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic"],"fallback":"monospace"},"Baloo Thambi 2":{"weight":["regular","500","600","700","800"],"fallback":"display"},"Averia Sans Libre":{"weight":["300","300italic","regular","italic","700","700italic"],"fallback":"display"},"UnifrakturCook":{"weight":["700"],"fallback":"display"},"Tauri":{"weight":["regular"],"fallback":"sans-serif"},"Share Tech":{"weight":["regular"],"fallback":"sans-serif"},"Walter Turncoat":{"weight":["regular"],"fallback":"handwriting"},"Geo":{"weight":["regular","italic"],"fallback":"sans-serif"},"Atma":{"weight":["300","regular","500","600","700"],"fallback":"display"},"Almendra":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Jomhuria":{"weight":["regular"],"fallback":"display"},"Strait":{"weight":["regular"],"fallback":"sans-serif"},"Encode Sans Expanded":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Metamorphous":{"weight":["regular"],"fallback":"display"},"Iceland":{"weight":["regular"],"fallback":"display"},"Ledger":{"weight":["regular"],"fallback":"serif"},"Poller One":{"weight":["regular"],"fallback":"display"},"Vollkorn SC":{"weight":["regular","600","700","900"],"fallback":"serif"},"Vesper Libre":{"weight":["regular","500","700","900"],"fallback":"serif"},"Aref Ruqaa":{"weight":["regular","700"],"fallback":"serif"},"Livvic":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","900","900italic"],"fallback":"sans-serif"},"Caladea":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Montserrat Subrayada":{"weight":["regular","700"],"fallback":"sans-serif"},"Vampiro One":{"weight":["regular"],"fallback":"display"},"Farro":{"weight":["300","regular","500","700"],"fallback":"sans-serif"},"New Rocker":{"weight":["regular"],"fallback":"display"},"Delius Swash Caps":{"weight":["regular"],"fallback":"handwriting"},"Calistoga":{"weight":["regular"],"fallback":"display"},"Carrois Gothic SC":{"weight":["regular"],"fallback":"sans-serif"},"Italiana":{"weight":["regular"],"fallback":"serif"},"Inknut Antiqua":{"weight":["300","regular","500","600","700","800","900"],"fallback":"serif"},"Life Savers":{"weight":["regular","700","800"],"fallback":"display"},"Imprima":{"weight":["regular"],"fallback":"sans-serif"},"Mako":{"weight":["regular"],"fallback":"sans-serif"},"Lily Script One":{"weight":["regular"],"fallback":"display"},"Bilbo Swash Caps":{"weight":["regular"],"fallback":"handwriting"},"IM Fell English SC":{"weight":["regular"],"fallback":"serif"},"Red Rose":{"weight":["300","regular","500","600","700"],"fallback":"display"},"Shojumaru":{"weight":["regular"],"fallback":"display"},"Prosto One":{"weight":["regular"],"fallback":"display"},"Bodoni Moda":{"weight":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"Mukta Mahee":{"weight":["200","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Bubbler One":{"weight":["regular"],"fallback":"sans-serif"},"The Girl Next Door":{"weight":["regular"],"fallback":"handwriting"},"Artifika":{"weight":["regular"],"fallback":"serif"},"Cantora One":{"weight":["regular"],"fallback":"sans-serif"},"Scope One":{"weight":["regular"],"fallback":"serif"},"Yusei Magic":{"weight":["regular"],"fallback":"sans-serif"},"Oxanium":{"weight":["200","300","regular","500","600","700","800"],"fallback":"display"},"Tienne":{"weight":["regular","700","900"],"fallback":"serif"},"Salsa":{"weight":["regular"],"fallback":"display"},"Flamenco":{"weight":["300","regular"],"fallback":"display"},"Port Lligat Sans":{"weight":["regular"],"fallback":"sans-serif"},"Denk One":{"weight":["regular"],"fallback":"sans-serif"},"Fontdiner Swanky":{"weight":["regular"],"fallback":"display"},"Nova Round":{"weight":["regular"],"fallback":"display"},"Gafata":{"weight":["regular"],"fallback":"sans-serif"},"Cormorant Upright":{"weight":["300","regular","500","600","700"],"fallback":"serif"},"Cherry Cream Soda":{"weight":["regular"],"fallback":"display"},"Asul":{"weight":["regular","700"],"fallback":"sans-serif"},"Big Shoulders Text":{"weight":["100","300","regular","500","600","700","800","900"],"fallback":"display"},"Voces":{"weight":["regular"],"fallback":"display"},"Dynalight":{"weight":["regular"],"fallback":"display"},"Peralta":{"weight":["regular"],"fallback":"display"},"Mina":{"weight":["regular","700"],"fallback":"sans-serif"},"Headland One":{"weight":["regular"],"fallback":"serif"},"Medula One":{"weight":["regular"],"fallback":"display"},"Englebert":{"weight":["regular"],"fallback":"sans-serif"},"Nova Square":{"weight":["regular"],"fallback":"display"},"Delius Unicase":{"weight":["regular","700"],"fallback":"handwriting"},"Sumana":{"weight":["regular","700"],"fallback":"serif"},"Bilbo":{"weight":["regular"],"fallback":"handwriting"},"Engagement":{"weight":["regular"],"fallback":"handwriting"},"ZCOOL QingKe HuangYou":{"weight":["regular"],"fallback":"display"},"Fresca":{"weight":["regular"],"fallback":"sans-serif"},"Ranga":{"weight":["regular","700"],"fallback":"display"},"Orelega One":{"weight":["regular"],"fallback":"display"},"Zen Dots":{"weight":["regular"],"fallback":"display"},"Shippori Mincho":{"weight":["regular","500","600","700","800"],"fallback":"serif"},"Henny Penny":{"weight":["regular"],"fallback":"display"},"Della Respira":{"weight":["regular"],"fallback":"serif"},"Cherry Swash":{"weight":["regular","700"],"fallback":"display"},"Notable":{"weight":["regular"],"fallback":"sans-serif"},"Arya":{"weight":["regular","700"],"fallback":"sans-serif"},"Slackey":{"weight":["regular"],"fallback":"display"},"Vibur":{"weight":["regular"],"fallback":"handwriting"},"Coiny":{"weight":["regular"],"fallback":"display"},"Lexend Zetta":{"weight":["regular"],"fallback":"sans-serif"},"Elsie":{"weight":["regular","900"],"fallback":"display"},"Fjord One":{"weight":["regular"],"fallback":"serif"},"Puritan":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Just Me Again Down Here":{"weight":["regular"],"fallback":"handwriting"},"Khmer":{"weight":["regular"],"fallback":"display"},"Girassol":{"weight":["regular"],"fallback":"display"},"Bellota Text":{"weight":["300","300italic","regular","italic","700","700italic"],"fallback":"display"},"Yatra One":{"weight":["regular"],"fallback":"display"},"Stalemate":{"weight":["regular"],"fallback":"handwriting"},"Wire One":{"weight":["regular"],"fallback":"sans-serif"},"Spicy Rice":{"weight":["regular"],"fallback":"display"},"Saira Stencil One":{"weight":["regular"],"fallback":"display"},"Kite One":{"weight":["regular"],"fallback":"sans-serif"},"Port Lligat Slab":{"weight":["regular"],"fallback":"serif"},"Baloo Bhaina 2":{"weight":["regular","500","600","700","800"],"fallback":"display"},"Pavanam":{"weight":["regular"],"fallback":"sans-serif"},"Eater":{"weight":["regular"],"fallback":"display"},"Text Me One":{"weight":["regular"],"fallback":"sans-serif"},"Ribeye":{"weight":["regular"],"fallback":"display"},"Pirata One":{"weight":["regular"],"fallback":"display"},"Amarante":{"weight":["regular"],"fallback":"display"},"Milonga":{"weight":["regular"],"fallback":"display"},"Habibi":{"weight":["regular"],"fallback":"serif"},"Ruslan Display":{"weight":["regular"],"fallback":"display"},"Encode Sans Semi Expanded":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Nokora":{"weight":["regular","700"],"fallback":"serif"},"Rowdies":{"weight":["300","regular","700"],"fallback":"display"},"Kranky":{"weight":["regular"],"fallback":"display"},"Bigelow Rules":{"weight":["regular"],"fallback":"display"},"League Script":{"weight":["regular"],"fallback":"handwriting"},"Swanky and Moo Moo":{"weight":["regular"],"fallback":"handwriting"},"Karantina":{"weight":["300","regular","700"],"fallback":"display"},"Lovers Quarrel":{"weight":["regular"],"fallback":"handwriting"},"Mate SC":{"weight":["regular"],"fallback":"serif"},"Manuale":{"weight":["regular","500","600","700","italic","500italic","600italic","700italic"],"fallback":"serif"},"Germania One":{"weight":["regular"],"fallback":"display"},"Sura":{"weight":["regular","700"],"fallback":"serif"},"Sarina":{"weight":["regular"],"fallback":"display"},"Macondo Swash Caps":{"weight":["regular"],"fallback":"display"},"Kotta One":{"weight":["regular"],"fallback":"serif"},"IM Fell French Canon SC":{"weight":["regular"],"fallback":"serif"},"Julee":{"weight":["regular"],"fallback":"handwriting"},"Charmonman":{"weight":["regular","700"],"fallback":"handwriting"},"Shanti":{"weight":["regular"],"fallback":"sans-serif"},"Gamja Flower":{"weight":["regular"],"fallback":"handwriting"},"Averia Gruesa Libre":{"weight":["regular"],"fallback":"display"},"Stint Ultra Expanded":{"weight":["regular"],"fallback":"display"},"Uncial Antiqua":{"weight":["regular"],"fallback":"display"},"Mystery Quest":{"weight":["regular"],"fallback":"display"},"Goldman":{"weight":["regular","700"],"fallback":"display"},"Paprika":{"weight":["regular"],"fallback":"display"},"IM Fell French Canon":{"weight":["regular","italic"],"fallback":"serif"},"Prociono":{"weight":["regular"],"fallback":"serif"},"Kodchasan":{"weight":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Libre Barcode 39 Text":{"weight":["regular"],"fallback":"display"},"Quintessential":{"weight":["regular"],"fallback":"handwriting"},"Moul":{"weight":["regular"],"fallback":"display"},"Libre Barcode 128":{"weight":["regular"],"fallback":"display"},"Ramaraja":{"weight":["regular"],"fallback":"serif"},"Modak":{"weight":["regular"],"fallback":"display"},"Song Myung":{"weight":["regular"],"fallback":"serif"},"East Sea Dokdo":{"weight":["regular"],"fallback":"handwriting"},"Crushed":{"weight":["regular"],"fallback":"display"},"Dekko":{"weight":["regular"],"fallback":"handwriting"},"Chilanka":{"weight":["regular"],"fallback":"handwriting"},"Hanalei Fill":{"weight":["regular"],"fallback":"display"},"Mogra":{"weight":["regular"],"fallback":"display"},"Baloo Tammudu 2":{"weight":["regular","500","600","700","800"],"fallback":"display"},"Baloo Bhai 2":{"weight":["regular","500","600","700","800"],"fallback":"display"},"Libre Barcode 39 Extended Text":{"weight":["regular"],"fallback":"display"},"Rosarivo":{"weight":["regular","italic"],"fallback":"serif"},"KoHo":{"weight":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Offside":{"weight":["regular"],"fallback":"display"},"Reggae One":{"weight":["regular"],"fallback":"display"},"Syne":{"weight":["regular","500","600","700","800"],"fallback":"sans-serif"},"Zilla Slab Highlight":{"weight":["regular","700"],"fallback":"display"},"Donegal One":{"weight":["regular"],"fallback":"serif"},"Bellota":{"weight":["300","300italic","regular","italic","700","700italic"],"fallback":"display"},"Stoke":{"weight":["300","regular"],"fallback":"serif"},"Cormorant Unicase":{"weight":["300","regular","500","600","700"],"fallback":"serif"},"Cagliostro":{"weight":["regular"],"fallback":"sans-serif"},"Rationale":{"weight":["regular"],"fallback":"sans-serif"},"Margarine":{"weight":["regular"],"fallback":"display"},"Sancreek":{"weight":["regular"],"fallback":"display"},"Inria Serif":{"weight":["300","300italic","regular","italic","700","700italic"],"fallback":"serif"},"Overlock SC":{"weight":["regular"],"fallback":"display"},"Nosifer":{"weight":["regular"],"fallback":"display"},"Libre Barcode EAN13 Text":{"weight":["regular"],"fallback":"display"},"Yeon Sung":{"weight":["regular"],"fallback":"display"},"Ruluko":{"weight":["regular"],"fallback":"sans-serif"},"Simonetta":{"weight":["regular","italic","900","900italic"],"fallback":"display"},"Lakki Reddy":{"weight":["regular"],"fallback":"handwriting"},"Baloo Paaji 2":{"weight":["regular","500","600","700","800"],"fallback":"display"},"Chango":{"weight":["regular"],"fallback":"display"},"Galdeano":{"weight":["regular"],"fallback":"sans-serif"},"Fahkwang":{"weight":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Elsie Swash Caps":{"weight":["regular","900"],"fallback":"display"},"Buda":{"weight":["300"],"fallback":"display"},"Condiment":{"weight":["regular"],"fallback":"handwriting"},"Barrio":{"weight":["regular"],"fallback":"display"},"Chicle":{"weight":["regular"],"fallback":"display"},"Angkor":{"weight":["regular"],"fallback":"display"},"Akronim":{"weight":["regular"],"fallback":"display"},"Tomorrow":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Sonsie One":{"weight":["regular"],"fallback":"display"},"Kumar One":{"weight":["regular"],"fallback":"display"},"Autour One":{"weight":["regular"],"fallback":"display"},"Libre Caslon Display":{"weight":["regular"],"fallback":"serif"},"Farsan":{"weight":["regular"],"fallback":"display"},"Fenix":{"weight":["regular"],"fallback":"serif"},"Solway":{"weight":["300","regular","500","700","800"],"fallback":"serif"},"Kulim Park":{"weight":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Stint Ultra Condensed":{"weight":["regular"],"fallback":"display"},"Metal":{"weight":["regular"],"fallback":"display"},"Rum Raisin":{"weight":["regular"],"fallback":"sans-serif"},"Redressed":{"weight":["regular"],"fallback":"handwriting"},"Tulpen One":{"weight":["regular"],"fallback":"display"},"Petrona":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"Marko One":{"weight":["regular"],"fallback":"serif"},"Asar":{"weight":["regular"],"fallback":"serif"},"Nova Flat":{"weight":["regular"],"fallback":"display"},"Koulen":{"weight":["regular"],"fallback":"display"},"Lexend Exa":{"weight":["regular"],"fallback":"sans-serif"},"Londrina Outline":{"weight":["regular"],"fallback":"display"},"Cute Font":{"weight":["regular"],"fallback":"display"},"IM Fell Great Primer":{"weight":["regular","italic"],"fallback":"serif"},"Junge":{"weight":["regular"],"fallback":"serif"},"Stylish":{"weight":["regular"],"fallback":"sans-serif"},"Lexend":{"weight":["100","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Spirax":{"weight":["regular"],"fallback":"display"},"Piazzolla":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"Piedra":{"weight":["regular"],"fallback":"display"},"Ribeye Marrow":{"weight":["regular"],"fallback":"display"},"Dorsa":{"weight":["regular"],"fallback":"sans-serif"},"Ibarra Real Nova":{"weight":["regular","500","600","700","italic","500italic","600italic","700italic"],"fallback":"serif"},"IM Fell DW Pica SC":{"weight":["regular"],"fallback":"serif"},"Wellfleet":{"weight":["regular"],"fallback":"display"},"Eagle Lake":{"weight":["regular"],"fallback":"handwriting"},"Meie Script":{"weight":["regular"],"fallback":"handwriting"},"Goblin One":{"weight":["regular"],"fallback":"display"},"Flavors":{"weight":["regular"],"fallback":"display"},"Gotu":{"weight":["regular"],"fallback":"sans-serif"},"Linden Hill":{"weight":["regular","italic"],"fallback":"serif"},"Chathura":{"weight":["100","300","regular","700","800"],"fallback":"sans-serif"},"Croissant One":{"weight":["regular"],"fallback":"display"},"Jomolhari":{"weight":["regular"],"fallback":"serif"},"Srisakdi":{"weight":["regular","700"],"fallback":"display"},"Modern Antiqua":{"weight":["regular"],"fallback":"display"},"Joti One":{"weight":["regular"],"fallback":"display"},"Kavoon":{"weight":["regular"],"fallback":"display"},"Sulphur Point":{"weight":["300","regular","700"],"fallback":"sans-serif"},"Castoro":{"weight":["regular","italic"],"fallback":"serif"},"Chela One":{"weight":["regular"],"fallback":"display"},"Atomic Age":{"weight":["regular"],"fallback":"display"},"Maiden Orange":{"weight":["regular"],"fallback":"display"},"Ruthie":{"weight":["regular"],"fallback":"handwriting"},"Bayon":{"weight":["regular"],"fallback":"display"},"Potta One":{"weight":["regular"],"fallback":"display"},"Iceberg":{"weight":["regular"],"fallback":"display"},"Bigshot One":{"weight":["regular"],"fallback":"display"},"Gorditas":{"weight":["regular","700"],"fallback":"display"},"Sree Krushnadevaraya":{"weight":["regular"],"fallback":"serif"},"Trykker":{"weight":["regular"],"fallback":"serif"},"Kufam":{"weight":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"display"},"Diplomata SC":{"weight":["regular"],"fallback":"display"},"Poor Story":{"weight":["regular"],"fallback":"display"},"Sirin Stencil":{"weight":["regular"],"fallback":"display"},"Kavivanar":{"weight":["regular"],"fallback":"handwriting"},"Syne Mono":{"weight":["regular"],"fallback":"monospace"},"Metal Mania":{"weight":["regular"],"fallback":"display"},"Arbutus":{"weight":["regular"],"fallback":"display"},"Unlock":{"weight":["regular"],"fallback":"display"},"MuseoModerno":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"display"},"Glass Antiqua":{"weight":["regular"],"fallback":"display"},"Miniver":{"weight":["regular"],"fallback":"display"},"Griffy":{"weight":["regular"],"fallback":"display"},"Bokor":{"weight":["regular"],"fallback":"display"},"Felipa":{"weight":["regular"],"fallback":"handwriting"},"Inika":{"weight":["regular","700"],"fallback":"serif"},"Princess Sofia":{"weight":["regular"],"fallback":"handwriting"},"Mrs Sheppards":{"weight":["regular"],"fallback":"handwriting"},"Monofett":{"weight":["regular"],"fallback":"display"},"Sahitya":{"weight":["regular","700"],"fallback":"serif"},"Dela Gothic One":{"weight":["regular"],"fallback":"display"},"Shippori Mincho B1":{"weight":["regular","500","600","700","800"],"fallback":"serif"},"Beth Ellen":{"weight":["regular"],"fallback":"handwriting"},"Lancelot":{"weight":["regular"],"fallback":"display"},"Rhodium Libre":{"weight":["regular"],"fallback":"serif"},"Fraunces":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"Hachi Maru Pop":{"weight":["regular"],"fallback":"handwriting"},"Snippet":{"weight":["regular"],"fallback":"sans-serif"},"Content":{"weight":["regular","700"],"fallback":"display"},"Revalia":{"weight":["regular"],"fallback":"display"},"Diplomata":{"weight":["regular"],"fallback":"display"},"Libre Barcode 128 Text":{"weight":["regular"],"fallback":"display"},"Jacques Francois Shadow":{"weight":["regular"],"fallback":"display"},"Long Cang":{"weight":["regular"],"fallback":"handwriting"},"Caesar Dressing":{"weight":["regular"],"fallback":"display"},"Odor Mean Chey":{"weight":["regular"],"fallback":"display"},"Jolly Lodger":{"weight":["regular"],"fallback":"display"},"Texturina":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"DotGothic16":{"weight":["regular"],"fallback":"sans-serif"},"Ewert":{"weight":["regular"],"fallback":"display"},"Romanesco":{"weight":["regular"],"fallback":"handwriting"},"Kantumruy":{"weight":["300","regular","700"],"fallback":"sans-serif"},"Asset":{"weight":["regular"],"fallback":"display"},"Odibee Sans":{"weight":["regular"],"fallback":"display"},"Emblema One":{"weight":["regular"],"fallback":"display"},"Kdam Thmor":{"weight":["regular"],"fallback":"display"},"Dr Sugiyama":{"weight":["regular"],"fallback":"handwriting"},"Bahiana":{"weight":["regular"],"fallback":"display"},"GFS Neohellenic":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Oldenburg":{"weight":["regular"],"fallback":"display"},"Molle":{"weight":["italic"],"fallback":"handwriting"},"Ravi Prakash":{"weight":["regular"],"fallback":"display"},"Gayathri":{"weight":["100","regular","700"],"fallback":"sans-serif"},"Almendra SC":{"weight":["regular"],"fallback":"serif"},"Varta":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Risque":{"weight":["regular"],"fallback":"display"},"Sansita Swashed":{"weight":["300","regular","500","600","700","800","900"],"fallback":"display"},"Kiwi Maru":{"weight":["300","regular","500"],"fallback":"serif"},"Dangrek":{"weight":["regular"],"fallback":"display"},"Devonshire":{"weight":["regular"],"fallback":"handwriting"},"Big Shoulders Stencil Text":{"weight":["100","300","regular","500","600","700","800","900"],"fallback":"display"},"Jim Nightshade":{"weight":["regular"],"fallback":"handwriting"},"Smythe":{"weight":["regular"],"fallback":"display"},"Stick":{"weight":["regular"],"fallback":"sans-serif"},"Lexend Mega":{"weight":["regular"],"fallback":"sans-serif"},"Siemreap":{"weight":["regular"],"fallback":"display"},"Londrina Shadow":{"weight":["regular"],"fallback":"display"},"Train One":{"weight":["regular"],"fallback":"display"},"IM Fell Great Primer SC":{"weight":["regular"],"fallback":"serif"},"Barriecito":{"weight":["regular"],"fallback":"display"},"Underdog":{"weight":["regular"],"fallback":"display"},"Stalinist One":{"weight":["regular"],"fallback":"display"},"Mr Bedfort":{"weight":["regular"],"fallback":"handwriting"},"Freehand":{"weight":["regular"],"fallback":"display"},"MedievalSharp":{"weight":["regular"],"fallback":"display"},"Lexend Giga":{"weight":["regular"],"fallback":"sans-serif"},"Keania One":{"weight":["regular"],"fallback":"display"},"Peddana":{"weight":["regular"],"fallback":"serif"},"Galindo":{"weight":["regular"],"fallback":"display"},"Fascinate":{"weight":["regular"],"fallback":"display"},"Londrina Sketch":{"weight":["regular"],"fallback":"display"},"Gupter":{"weight":["regular","500","700"],"fallback":"serif"},"Nova Slim":{"weight":["regular"],"fallback":"display"},"Snowburst One":{"weight":["regular"],"fallback":"display"},"ZCOOL KuaiLe":{"weight":["regular"],"fallback":"display"},"Plaster":{"weight":["regular"],"fallback":"display"},"Fascinate Inline":{"weight":["regular"],"fallback":"display"},"Newsreader":{"weight":["200","300","regular","500","600","700","800","200italic","300italic","italic","500italic","600italic","700italic","800italic"],"fallback":"serif"},"Purple Purse":{"weight":["regular"],"fallback":"display"},"Sedgwick Ave Display":{"weight":["regular"],"fallback":"handwriting"},"Jacques Francois":{"weight":["regular"],"fallback":"serif"},"Almendra Display":{"weight":["regular"],"fallback":"display"},"Irish Grover":{"weight":["regular"],"fallback":"display"},"Kumar One Outline":{"weight":["regular"],"fallback":"display"},"Andika New Basic":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Libre Barcode 39 Extended":{"weight":["regular"],"fallback":"display"},"Taprom":{"weight":["regular"],"fallback":"display"},"Miss Fajardose":{"weight":["regular"],"fallback":"handwriting"},"IM Fell Double Pica SC":{"weight":["regular"],"fallback":"serif"},"Macondo":{"weight":["regular"],"fallback":"display"},"Ruge Boogie":{"weight":["regular"],"fallback":"handwriting"},"Sunshiney":{"weight":["regular"],"fallback":"handwriting"},"Brygada 1918":{"weight":["regular","500","600","700","italic","500italic","600italic","700italic"],"fallback":"serif"},"Grenze":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"serif"},"Erica One":{"weight":["regular"],"fallback":"display"},"Seymour One":{"weight":["regular"],"fallback":"sans-serif"},"Supermercado One":{"weight":["regular"],"fallback":"display"},"Zhi Mang Xing":{"weight":["regular"],"fallback":"handwriting"},"Butterfly Kids":{"weight":["regular"],"fallback":"handwriting"},"Kirang Haerang":{"weight":["regular"],"fallback":"display"},"Federant":{"weight":["regular"],"fallback":"display"},"Liu Jian Mao Cao":{"weight":["regular"],"fallback":"handwriting"},"Chenla":{"weight":["regular"],"fallback":"display"},"Hanalei":{"weight":["regular"],"fallback":"display"},"Langar":{"weight":["regular"],"fallback":"display"},"Trochut":{"weight":["regular","italic","700"],"fallback":"display"},"Smokum":{"weight":["regular"],"fallback":"display"},"Black And White Picture":{"weight":["regular"],"fallback":"sans-serif"},"Preahvihear":{"weight":["regular"],"fallback":"display"},"Bungee Outline":{"weight":["regular"],"fallback":"display"},"Astloch":{"weight":["regular","700"],"fallback":"display"},"Fasthand":{"weight":["regular"],"fallback":"serif"},"Akaya Telivigala":{"weight":["regular"],"fallback":"display"},"Inria Sans":{"weight":["300","300italic","regular","italic","700","700italic"],"fallback":"sans-serif"},"Bonbon":{"weight":["regular"],"fallback":"handwriting"},"Combo":{"weight":["regular"],"fallback":"display"},"Nova Script":{"weight":["regular"],"fallback":"display"},"Sofadi One":{"weight":["regular"],"fallback":"display"},"Passero One":{"weight":["regular"],"fallback":"display"},"Suwannaphum":{"weight":["regular"],"fallback":"display"},"Miltonian Tattoo":{"weight":["regular"],"fallback":"display"},"Bungee Hairline":{"weight":["regular"],"fallback":"display"},"Gidugu":{"weight":["regular"],"fallback":"sans-serif"},"Geostar Fill":{"weight":["regular"],"fallback":"display"},"Nerko One":{"weight":["regular"],"fallback":"handwriting"},"Lacquer":{"weight":["regular"],"fallback":"display"},"Butcherman":{"weight":["regular"],"fallback":"display"},"Sevillana":{"weight":["regular"],"fallback":"display"},"Nova Oval":{"weight":["regular"],"fallback":"display"},"Aubrey":{"weight":["regular"],"fallback":"display"},"Akaya Kanadaka":{"weight":["regular"],"fallback":"display"},"Nova Cut":{"weight":["regular"],"fallback":"display"},"Vibes":{"weight":["regular"],"fallback":"display"},"Miltonian":{"weight":["regular"],"fallback":"display"},"Moulpali":{"weight":["regular"],"fallback":"display"},"BioRhyme Expanded":{"weight":["200","300","regular","700","800"],"fallback":"serif"},"Bahianita":{"weight":["regular"],"fallback":"display"},"Suravaram":{"weight":["regular"],"fallback":"serif"},"Fruktur":{"weight":["regular"],"fallback":"display"},"Single Day":{"weight":["regular"],"fallback":"display"},"Imbue":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"serif"},"Lexend Tera":{"weight":["regular"],"fallback":"sans-serif"},"Big Shoulders Inline Text":{"weight":["100","300","regular","500","600","700","800","900"],"fallback":"display"},"Dhurjati":{"weight":["regular"],"fallback":"sans-serif"},"Warnes":{"weight":["regular"],"fallback":"display"},"Kenia":{"weight":["regular"],"fallback":"display"},"Lexend Peta":{"weight":["regular"],"fallback":"sans-serif"},"Big Shoulders Stencil Display":{"weight":["100","300","regular","500","600","700","800","900"],"fallback":"display"},"Geostar":{"weight":["regular"],"fallback":"display"},"Big Shoulders Inline Display":{"weight":["100","300","regular","500","600","700","800","900"],"fallback":"display"},"Oi":{"weight":["regular"],"fallback":"display"},"Xanh Mono":{"weight":["regular","italic"],"fallback":"monospace"},"Viaoda Libre":{"weight":["regular"],"fallback":"display"},"Truculenta":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Syne Tactile":{"weight":["regular"],"fallback":"display"},"Trispace":{"weight":["100","200","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Ballet":{"weight":["regular"],"fallback":"handwriting"},"Benne":{"weight":["regular"],"fallback":"serif"}}');function tn(a){const{setAttributes:l,attributes:r,options:o=[],deviceType:s,computedStyles:c={}}=a,{fontFamily:u,fontFamilyFallback:g,googleFont:d,googleFontVariants:b,fontWeight:p,textTransform:m,fontSizeUnit:f}=r,[h,k]=(0,e.useState)(o);(0,e.useEffect)((()=>{"Desktop"!==s&&k(h.filter((e=>"fontWeight"!==e&&"textTransform"!==e&&"fontFamily"!==e)))}),[s]);const v=[{value:"",label:(0,i.__)("Select font","generateblocks")},{value:"Arial",label:"Arial"},{value:"Helvetica",label:"Helvetica"},{value:"Times New Roman",label:"Times New Roman"},{value:"Georgia",label:"Georgia"}];Object.keys(en).slice(0,20).forEach((e=>{v.push({value:e,label:e})}));let y=[{value:"",label:(0,i.__)("Default","generateblocks")},{value:"normal",label:(0,i.__)("Normal","generateblocks")},{value:"bold",label:(0,i.__)("Bold","generateblocks")},{value:"100",label:"100"},{value:"200",label:"200"},{value:"300",label:"300"},{value:"400",label:"400"},{value:"500",label:"500"},{value:"600",label:"600"},{value:"700",label:"700"},{value:"800",label:"800"},{value:"900",label:"900"}];const w=[{value:"",label:(0,i.__)("Default","generateblocks")},{value:"uppercase",label:(0,i.__)("Uppercase","generateblocks")},{value:"lowercase",label:(0,i.__)("Lowercase","generateblocks")},{value:"capitalize",label:(0,i.__)("Capitalize","generateblocks")},{value:"initial",label:(0,i.__)("Normal","generateblocks")}];void 0!==en[u]&&void 0!==en[u].weight&&(y=[{value:"",label:(0,i.__)("Default","generateblocks")},{value:"normal",label:(0,i.__)("Normal","generateblocks")},{value:"bold",label:(0,i.__)("Bold","generateblocks")}],en[u].weight.filter((function(e){const t=e.match(/[a-z]/g),a=e.match(/[0-9]/g);return!(t&&a||"italic"===e||"regular"===e)})).forEach((e=>{y.push({value:e,label:e})})));const _=e=>{"other"===e&&(e=""),l({fontFamily:e}),void 0!==en[e]?l({googleFont:!0,fontFamilyFallback:en[e].fallback,googleFontVariants:en[e].weight.join(", ")}):l({googleFont:!1,fontFamilyFallback:"",googleFontVariants:""})};return(0,e.createElement)("div",{className:"gblocks-typography-component"},(h.includes("fontWeight")||h.includes("textTransform"))&&(0,e.createElement)(n.BaseControl,{className:"gblocks-typography-component__appearance"},h.includes("fontWeight")&&(0,e.createElement)(n.SelectControl,{label:(0,i.__)("Weight","generateblocks"),value:p,options:y,onChange:e=>{l({fontWeight:e})}}),h.includes("textTransform")&&(0,e.createElement)(n.SelectControl,{label:(0,i.__)("Transform","generateblocks"),value:m,options:w,onChange:e=>{l({textTransform:e})}})),h.includes("fontSize")&&(0,e.createElement)(M,t({},a,{label:(0,i.__)("Font Size","generateblocks"),attributeName:"fontSize",units:["px","em","%"],device:s,defaultPlaceholder:c.fontSize&&"px"===f?c.fontSize:"",presets:[{unit:"px",data:[13,17,25,35]}],min:"1"})),h.includes("lineHeight")&&(0,e.createElement)(M,t({},a,{label:(0,i.__)("Line Height","generateblocks"),attributeName:"lineHeight",units:["px","em","%"],device:s,presets:[{unit:"em",data:[{label:(0,i.__)("Small","generateblocks"),value:.8},{label:(0,i.__)("Medium","generateblocks"),value:1},{label:(0,i.__)("Large","generateblocks"),value:1.5}]}],min:"0",step:.1})),h.includes("letterSpacing")&&(0,e.createElement)(M,t({},a,{label:(0,i.__)("Letter Spacing","generateblocks"),attributeName:"letterSpacing",unit:"em",units:["em"],device:s,presets:[{unit:"em",data:[{label:(0,i.__)("Small","generateblocks"),value:-.02},{label:(0,i.__)("Medium","generateblocks"),value:.02},{label:(0,i.__)("Large","generateblocks"),value:.05}]}],min:-1,step:.01})),h.includes("fontFamily")&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)(n.BaseControl,{className:"gblocks-typography-component__font-family"},(0,e.createElement)(n.SelectControl,{label:(0,i.__)("Font Family","generateblocks"),options:v,onChange:e=>{l({fontFamily:e}),_(e)}}),(0,e.createElement)("div",{className:"gblocks-typography-component__font-family-input"},(0,e.createElement)(n.TextControl,{value:u,placeholder:(0,i.__)("Enter font name","generateblocks"),onChange:e=>_(e)}),(!!g||!!d)&&(0,e.createElement)(n.TextControl,{value:g,placeholder:(0,i.__)("sans-serif","generateblocks"),onChange:e=>{l({fontFamilyFallback:e})}}))),""!==u&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)(n.ToggleControl,{label:(0,i.__)("Use Google Fonts API","generateblocks"),checked:!!d,onChange:e=>{l({googleFont:e}),e&&void 0!==en[u]&&l({fontFamilyFallback:en[u].fallback,googleFontVariants:en[u].weight.join(", ")})}}),!!d&&(0,e.createElement)(n.TextControl,{label:(0,i.__)("Variants","generateblocks"),value:b,placeholder:(0,i.__)("300, 400, 400i","generateblocks"),onChange:e=>{l({googleFontVariants:e})}}))))}var an=(0,e.createElement)(T.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)(T.Path,{d:"M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z"})),ln=(0,e.createElement)(T.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)(T.Path,{d:"M15.6 7.3h-.7l1.6-3.5-.9-.4-3.9 8.5H9v1.5h2l-1.3 2.8H8.4c-2 0-3.7-1.7-3.7-3.7s1.7-3.7 3.7-3.7H10V7.3H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H9l-1.4 3.2.9.4 5.7-12.5h1.4c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.9 0 5.2-2.3 5.2-5.2 0-2.9-2.4-5.2-5.2-5.2z"}));function rn(t){const{setAttributes:a,attributes:l,label:r=(0,i.__)("Padding","generateblocks"),type:o="padding",labelTop:s=(0,i.__)("Top","generateblocks"),labelRight:c=(0,i.__)("Right","generateblocks"),labelBottom:u=(0,i.__)("Bottom","generateblocks"),labelLeft:g=(0,i.__)("Left","generateblocks"),device:d,units:b,computedStyles:p={}}=t,m={top:o+"Top",right:o+"Right",bottom:o+"Bottom",left:o+"Left",unit:o+"Unit",sync:o+"SyncUnits"},f={top:s,right:c,bottom:u,left:g};"borderRadius"===o&&(m.top="borderRadiusTopLeft",m.right="borderRadiusTopRight",m.bottom="borderRadiusBottomRight",m.left="borderRadiusBottomLeft",f.top=(0,i._x)("T-Left","short for Top Left","generateblocks"),f.right=(0,i._x)("T-Right","short for Top Right","generateblocks"),f.bottom=(0,i._x)("B-Right","short for Bottom Right","generateblocks"),f.left=(0,i._x)("B-Left","short for Bottom Left","generateblocks")),"Desktop"!==d&&(m.top+=d,m.right+=d,m.bottom+=d,m.left+=d);const h=e=>a({[m.top]:e,[m.right]:e,[m.bottom]:e,[m.left]:e});return(0,e.createElement)(n.BaseControl,{className:"components-gblocks-dimensions-control"},(0,e.createElement)(x,{label:r,value:void 0!==l[m.unit]?l[m.unit]:"px",units:b,onClick:e=>(e=>a({[[m.unit]]:e}))(e)}),(0,e.createElement)("div",{className:"components-gblocks-dimensions-control__inputs"},(0,e.createElement)("div",null,(0,e.createElement)("input",{id:m.top,className:"components-gblocks-dimensions-control__number",placeholder:B(m.top,l,d,"margin"===o&&"px"===l.marginUnit?p.marginTop:""),type:"number",onChange:e=>{let t=e.target.value;"margin"!==o&&(t=t.toString().replace(/-/g,"")),l[m.sync]?h(t):(e=>{a({[m.top]:e})})(t)}
4
  /* translators: Dimension label (padding, margin, border) */,"aria-label":(0,i.sprintf)((0,i.__)("%s Top","generateblocks"),r),value:l[m.top]||"",min:"margin"!==o?0:void 0}),(0,e.createElement)("label",{htmlFor:m.top,className:"gblocks-dimensions-control__label"},f.top)),(0,e.createElement)("div",null,(0,e.createElement)("input",{id:m.right,className:"components-gblocks-dimensions-control__number",placeholder:B(m.right,l,d,""),type:"number",onChange:e=>{let t=e.target.value;"margin"!==o&&(t=t.toString().replace(/-/g,"")),l[m.sync]?h(t):(e=>{a({[m.right]:e})})(t)}
5
  /* translators: Dimension label (padding, margin, border) */,"aria-label":(0,i.sprintf)((0,i.__)("%s Right","generateblocks"),r),value:l[m.right]||"",min:"margin"!==o?0:void 0}),(0,e.createElement)("label",{htmlFor:m.right,className:"gblocks-dimensions-control__label"},f.right)),(0,e.createElement)("div",null,(0,e.createElement)("input",{id:m.bottom,className:"components-gblocks-dimensions-control__number",placeholder:B(m.bottom,l,d,"margin"===o&&"px"===l.marginUnit?p.marginBottom:""),type:"number",onChange:e=>{let t=e.target.value;"margin"!==o&&(t=t.toString().replace(/-/g,"")),l[m.sync]?h(t):(e=>{a({[m.bottom]:e})})(t)}
6
  /* translators: Dimension label (padding, margin, border) */,"aria-label":(0,i.sprintf)((0,i.__)("%s Bottom","generateblocks"),r),value:l[m.bottom]||"",min:"margin"!==o?0:void 0}),(0,e.createElement)("label",{htmlFor:m.bottom,className:"gblocks-dimensions-control__label"},f.bottom)),(0,e.createElement)("div",null,(0,e.createElement)("input",{id:m.left,className:"components-gblocks-dimensions-control__number",placeholder:B(m.left,l,d,""),type:"number",onChange:e=>{let t=e.target.value;"margin"!==o&&(t=t.toString().replace(/-/g,"")),l[m.sync]?h(t):(e=>{a({[m.left]:e})})(t)}
plugin.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: A small collection of lightweight WordPress blocks that can accomplish nearly anything.
6
  * Author: Tom Usborne
7
  * Author URI: https://tomusborne.com
8
- * Version: 1.5.3
9
  * Requires at least: 5.9
10
  * Requires PHP: 5.6
11
  * License: GPL2+
@@ -19,7 +19,7 @@ if ( ! defined( 'ABSPATH' ) ) {
19
  exit; // Exit if accessed directly.
20
  }
21
 
22
- define( 'GENERATEBLOCKS_VERSION', '1.5.3' );
23
  define( 'GENERATEBLOCKS_DIR', plugin_dir_path( __FILE__ ) );
24
  define( 'GENERATEBLOCKS_DIR_URL', plugin_dir_url( __FILE__ ) );
25
 
5
  * Description: A small collection of lightweight WordPress blocks that can accomplish nearly anything.
6
  * Author: Tom Usborne
7
  * Author URI: https://tomusborne.com
8
+ * Version: 1.5.4
9
  * Requires at least: 5.9
10
  * Requires PHP: 5.6
11
  * License: GPL2+
19
  exit; // Exit if accessed directly.
20
  }
21
 
22
+ define( 'GENERATEBLOCKS_VERSION', '1.5.4' );
23
  define( 'GENERATEBLOCKS_DIR', plugin_dir_path( __FILE__ ) );
24
  define( 'GENERATEBLOCKS_DIR_URL', plugin_dir_url( __FILE__ ) );
25
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: blocks, gutenberg, container, headline, grid, columns, page builder, wysiw
5
  Requires at least: 5.9
6
  Tested up to: 6.0
7
  Requires PHP: 5.6
8
- Stable tag: 1.5.3
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -85,6 +85,9 @@ GenerateBlocks was built to work hand-in-hand with [GeneratePress](https://gener
85
 
86
  == Changelog ==
87
 
 
 
 
88
  = 1.5.3 =
89
  * Feature: Added necessary filters for related posts
90
  * Feature: Add option to include/exclude term children in query
5
  Requires at least: 5.9
6
  Tested up to: 6.0
7
  Requires PHP: 5.6
8
+ Stable tag: 1.5.4
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
85
 
86
  == Changelog ==
87
 
88
+ = 1.5.4 =
89
+ * Fix: Non hierarchical taxonomies with broken REST API calls
90
+
91
  = 1.5.3 =
92
  * Feature: Added necessary filters for related posts
93
  * Feature: Add option to include/exclude term children in query
src/blocks/query-loop/components/inspector-controls/controls/TaxonomyParameterControl.js CHANGED
@@ -13,6 +13,12 @@ export default function TaxonomyParameterControl( props ) {
13
 
14
  const taxonomies = useTaxonomies();
15
 
 
 
 
 
 
 
16
  useEffect( () => {
17
  if ( value.taxonomy !== taxonomy ) {
18
  setTaxonomy( value.taxonomy );
@@ -27,8 +33,14 @@ export default function TaxonomyParameterControl( props ) {
27
  if ( !! taxonomy ) {
28
  const tax = taxonomies.filter( ( record ) => ( record.slug === taxonomy ) );
29
  const rest = !! tax[ 0 ] ? tax[ 0 ].rest_base : undefined;
 
30
 
31
- onChange( { taxonomy, terms, rest, includeChildren } );
 
 
 
 
 
32
  }
33
  }, [ taxonomy, JSON.stringify( terms ), includeChildren ] );
34
 
@@ -36,7 +48,7 @@ export default function TaxonomyParameterControl( props ) {
36
  taxonomies
37
  .filter( ( tax ) => ( 'nav_menu' !== tax.slug ) )
38
  .map( ( tax ) => ( { value: tax.slug, label: tax.name } ) )
39
- ), [ taxonomies ] );
40
 
41
  const labelStyles = { marginBottom: '8px', display: 'inline-block' };
42
 
@@ -72,11 +84,13 @@ export default function TaxonomyParameterControl( props ) {
72
  help={ terms.length === 0 ? __( 'You must select at least one term.', 'generateblocks' ) : '' }
73
  />
74
 
75
- <ToggleControl
76
- checked={ includeChildren }
77
- label={ __( 'Include child terms', 'generateblocks' ) }
78
- onChange={ setIncludeChildren }
79
- />
 
 
80
  </>
81
  }
82
  </>
13
 
14
  const taxonomies = useTaxonomies();
15
 
16
+ const isHierarchical = useMemo( () => {
17
+ const tax = taxonomies.filter( ( record ) => ( record.slug === taxonomy ) );
18
+
19
+ return !! tax[ 0 ] ? tax[ 0 ].hierarchical : false;
20
+ }, [ JSON.stringify( taxonomies ), taxonomy ] );
21
+
22
  useEffect( () => {
23
  if ( value.taxonomy !== taxonomy ) {
24
  setTaxonomy( value.taxonomy );
33
  if ( !! taxonomy ) {
34
  const tax = taxonomies.filter( ( record ) => ( record.slug === taxonomy ) );
35
  const rest = !! tax[ 0 ] ? tax[ 0 ].rest_base : undefined;
36
+ const hierarchical = !! tax[ 0 ] ? tax[ 0 ].hierarchical : false;
37
 
38
+ onChange( {
39
+ taxonomy,
40
+ terms,
41
+ rest,
42
+ includeChildren: hierarchical ? includeChildren : undefined,
43
+ } );
44
  }
45
  }, [ taxonomy, JSON.stringify( terms ), includeChildren ] );
46
 
48
  taxonomies
49
  .filter( ( tax ) => ( 'nav_menu' !== tax.slug ) )
50
  .map( ( tax ) => ( { value: tax.slug, label: tax.name } ) )
51
+ ), [ JSON.stringify( taxonomies ) ] );
52
 
53
  const labelStyles = { marginBottom: '8px', display: 'inline-block' };
54
 
84
  help={ terms.length === 0 ? __( 'You must select at least one term.', 'generateblocks' ) : '' }
85
  />
86
 
87
+ { isHierarchical &&
88
+ <ToggleControl
89
+ checked={ includeChildren }
90
+ label={ __( 'Include child terms', 'generateblocks' ) }
91
+ onChange={ setIncludeChildren }
92
+ />
93
+ }
94
  </>
95
  }
96
  </>
src/blocks/query-loop/components/utils.js CHANGED
@@ -15,7 +15,7 @@ function getTaxQueryParam( taxQuery, isExclude = false ) {
15
  const paramKey = isExclude ? `${ taxQuery.rest }_exclude` : taxQuery.rest;
16
  return { [ paramKey ]: {
17
  terms: taxQuery.terms,
18
- include_children: taxQuery.includeChildren,
19
  } };
20
  }
21
 
15
  const paramKey = isExclude ? `${ taxQuery.rest }_exclude` : taxQuery.rest;
16
  return { [ paramKey ]: {
17
  terms: taxQuery.terms,
18
+ include_children: taxQuery?.includeChildren,
19
  } };
20
  }
21