(()=>{var e,t,n,r,o={308:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,n){void 0===n&&(n={});for(var r=[],o="function"==typeof n.replace,c=n.transform||l.returnFirstArg,u=n.library||a,d=u.cloneElement,f=u.createElement,p=u.isValidElement,h=t.length,m=0;m1&&(g=d(g,{key:g.key||m})),r.push(c(g,y,m));continue}}if("text"!==y.type){var v=y,b={};s(v)?((0,l.setStyleProp)(v.attribs.style,v.attribs),b=v.attribs):v.attribs&&(b=(0,i.default)(v.attribs,v.name));var w=void 0;switch(y.type){case"script":case"style":y.children[0]&&(b.dangerouslySetInnerHTML={__html:y.children[0].data});break;case"tag":"textarea"===y.name&&y.children[0]?b.defaultValue=y.children[0].data:y.children&&y.children.length&&(w=e(y.children,n));break;default:continue}h>1&&(b.key=m),r.push(c(f(y.name,b,w),y,m))}else{var x=!y.data.trim().length;if(x&&y.parent&&!(0,l.canTextBeChildOfNode)(y.parent))continue;if(n.trim&&x)continue;r.push(c(y.data,y,m))}}return 1===r.length?r[0]:r};var o=n(1609),i=r(n(840)),l=n(4958),a={cloneElement:o.cloneElement,createElement:o.createElement,isValidElement:o.isValidElement};function s(e){return l.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&(0,l.isCustomComponent)(e.name,e.attribs)}},442:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.htmlToDOM=t.domToReact=t.attributesToProps=t.Text=t.ProcessingInstruction=t.Element=t.Comment=void 0,t.default=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");return e?(0,l.default)((0,o.default)(e,(null==t?void 0:t.htmlparser2)||s),t):[]};var o=r(n(2471));t.htmlToDOM=o.default;var i=r(n(840));t.attributesToProps=i.default;var l=r(n(308));t.domToReact=l.default;var a=n(1141);Object.defineProperty(t,"Comment",{enumerable:!0,get:function(){return a.Comment}}),Object.defineProperty(t,"Element",{enumerable:!0,get:function(){return a.Element}}),Object.defineProperty(t,"ProcessingInstruction",{enumerable:!0,get:function(){return a.ProcessingInstruction}}),Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return a.Text}});var s={lowerCaseAttributeNames:!1}},840:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){void 0===e&&(e={});var n={},c=Boolean(e.type&&a[e.type]);for(var u in e){var d=e[u];if((0,r.isCustomAttribute)(u))n[u]=d;else{var f=u.toLowerCase(),p=s(f);if(p){var h=(0,r.getPropertyInfo)(p);switch(i.includes(p)&&l.includes(t)&&!c&&(p=s("default"+f)),n[p]=d,h&&h.type){case r.BOOLEAN:n[p]=!0;break;case r.OVERLOADED_BOOLEAN:""===d&&(n[p]=!0)}}else o.PRESERVE_CUSTOM_ATTRIBUTES&&(n[u]=d)}}return(0,o.setStyleProp)(e.style,n),n};var r=n(4210),o=n(4958),i=["checked","value"],l=["input","select","textarea"],a={reset:!0,submit:!0};function s(e){return r.possibleStandardNames[e]}},1133:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=null;if(!e||"string"!=typeof e)return n;var r=(0,o.default)(e),i="function"==typeof t;return r.forEach(function(e){if("declaration"===e.type){var r=e.property,o=e.value;i?t(r,o,e):o&&((n=n||{})[r]=o)}}),n};var o=r(n(9788))},1141:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var i=n(5413),l=n(6957);o(n(6957),t);var a={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},s=function(){function e(e,t,n){this.dom=[],this.root=new l.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=a),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:a,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new l.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?i.ElementType.Tag:void 0,r=new l.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===i.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new l.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===i.ElementType.Comment)this.lastNode.data+=e;else{var t=new l.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new l.Text(""),t=new l.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new l.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=s,t.default=s},1609:e=>{"use strict";e.exports=window.React},2471:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];var t=e.match(l),n=t?t[1]:void 0;return(0,i.formatDOM)((0,o.default)(e),null,n)};var o=r(n(5496)),i=n(7731),l=/<(![a-zA-Z\s]+)>/},4210:(e,t,n)=>{"use strict";function r(e,t,n,r,o,i,l){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}const o={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(e=>{o[e]=new r(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(([e,t])=>{o[e]=new r(e,1,!1,t,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(e=>{o[e]=new r(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(e=>{o[e]=new r(e,2,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(e=>{o[e]=new r(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(e=>{o[e]=new r(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(e=>{o[e]=new r(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(e=>{o[e]=new r(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(e=>{o[e]=new r(e,5,!1,e.toLowerCase(),null,!1,!1)});const i=/[\-\:]([a-z])/g,l=e=>e[1].toUpperCase();["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(e=>{const t=e.replace(i,l);o[t]=new r(t,1,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(e=>{const t=e.replace(i,l);o[t]=new r(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(e=>{const t=e.replace(i,l);o[t]=new r(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(e=>{o[e]=new r(e,1,!1,e.toLowerCase(),null,!1,!1)}),o.xlinkHref=new r("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(e=>{o[e]=new r(e,1,!1,e.toLowerCase(),null,!0,!0)});const{CAMELCASE:a,SAME:s,possibleStandardNames:c}=n(6811),u=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),d=Object.keys(c).reduce((e,t)=>{const n=c[t];return n===s?e[t]=t:n===a?e[t.toLowerCase()]=t:e[t]=n,e},{});t.BOOLEAN=3,t.BOOLEANISH_STRING=2,t.NUMERIC=5,t.OVERLOADED_BOOLEAN=4,t.POSITIVE_NUMERIC=6,t.RESERVED=0,t.STRING=1,t.getPropertyInfo=function(e){return o.hasOwnProperty(e)?o[e]:null},t.isCustomAttribute=u,t.possibleStandardNames=d},4958:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.returnFirstArg=t.canTextBeChildOfNode=t.ELEMENTS_WITH_NO_TEXT_CHILDREN=t.PRESERVE_CUSTOM_ATTRIBUTES=void 0,t.isCustomComponent=function(e,t){return e.includes("-")?!l.has(e):Boolean(t&&"string"==typeof t.is)},t.setStyleProp=function(e,t){if("string"==typeof e)if(e.trim())try{t.style=(0,i.default)(e,a)}catch(e){t.style={}}else t.style={}};var o=n(1609),i=r(n(5229)),l=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]),a={reactCompat:!0};t.PRESERVE_CUSTOM_ATTRIBUTES=Number(o.version.split(".")[0])>=16,t.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]),t.canTextBeChildOfNode=function(e){return!t.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(e.name)},t.returnFirstArg=function(e){return e}},5229:function(e,t,n){"use strict";var r=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(n(1133)),o=n(8917);function i(e,t){var n={};return e&&"string"==typeof e?((0,r.default)(e,function(e,r){e&&r&&(n[(0,o.camelCase)(e,t)]=r)}),n):n}i.default=i,e.exports=i},5270:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CARRIAGE_RETURN_PLACEHOLDER_REGEX=t.CARRIAGE_RETURN_PLACEHOLDER=t.CARRIAGE_RETURN_REGEX=t.CARRIAGE_RETURN=t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES=void 0,t.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES.reduce(function(e,t){return e[t.toLowerCase()]=t,e},{}),t.CARRIAGE_RETURN="\r",t.CARRIAGE_RETURN_REGEX=new RegExp(t.CARRIAGE_RETURN,"g"),t.CARRIAGE_RETURN_PLACEHOLDER="__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now(),"__"),t.CARRIAGE_RETURN_PLACEHOLDER_REGEX=new RegExp(t.CARRIAGE_RETURN_PLACEHOLDER,"g")},5413:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(n=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},5496:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n,f=(e=(0,r.escapeSpecialCharacters)(e)).match(a),p=f&&f[1]?f[1].toLowerCase():"";switch(p){case o:var h=d(e);return s.test(e)||null===(t=null==(g=h.querySelector(i))?void 0:g.parentNode)||void 0===t||t.removeChild(g),c.test(e)||null===(n=null==(g=h.querySelector(l))?void 0:g.parentNode)||void 0===n||n.removeChild(g),h.querySelectorAll(o);case i:case l:var y=u(e).querySelectorAll(p);return c.test(e)&&s.test(e)?y[0].parentNode.childNodes:y;default:return m?m(e):(g=u(e,l).querySelector(l)).childNodes;var g}};var r=n(7731),o="html",i="head",l="body",a=/<([a-zA-Z]+[0-9]?)/,s=//i,c=//i,u=function(e,t){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},d=function(e,t){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},f="object"==typeof window&&window.DOMParser;if("function"==typeof f){var p=new f;u=d=function(e,t){return t&&(e="<".concat(t,">").concat(e,"")),p.parseFromString(e,"text/html")}}if("object"==typeof document&&document.implementation){var h=document.implementation.createHTMLDocument();u=function(e,t){if(t){var n=h.documentElement.querySelector(t);return n&&(n.innerHTML=e),h}return h.documentElement.innerHTML=e,h}}var m,y="object"==typeof document&&document.createElement("template");y&&y.content&&(m=function(e){return y.innerHTML=e,y.content.childNodes})},6811:(e,t)=>{t.SAME=0,t.CAMELCASE=1,t.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},6942:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(a);t.NodeWithChildren=f;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=l.ElementType.CDATA,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(f);t.CDATA=p;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=l.ElementType.Root,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(f);t.Document=h;var m=function(e){function t(t,n,r,o){void 0===r&&(r=[]),void 0===o&&(o="script"===t?l.ElementType.Script:"style"===t?l.ElementType.Style:l.ElementType.Tag);var i=e.call(this,r)||this;return i.name=t,i.attribs=n,i.type=o,i}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map(function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}})},enumerable:!1,configurable:!0}),t}(f);function y(e){return(0,l.isTag)(e)}function g(e){return e.type===l.ElementType.CDATA}function v(e){return e.type===l.ElementType.Text}function b(e){return e.type===l.ElementType.Comment}function w(e){return e.type===l.ElementType.Directive}function x(e){return e.type===l.ElementType.Root}function E(e,t){var n;if(void 0===t&&(t=!1),v(e))n=new c(e.data);else if(b(e))n=new u(e.data);else if(y(e)){var r=t?_(e.children):[],o=new m(e.name,i({},e.attribs),r);r.forEach(function(e){return e.parent=o}),null!=e.namespace&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=i({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=i({},e["x-attribsPrefix"])),n=o}else if(g(e)){r=t?_(e.children):[];var l=new p(r);r.forEach(function(e){return e.parent=l}),n=l}else if(x(e)){r=t?_(e.children):[];var a=new h(r);r.forEach(function(e){return e.parent=a}),e["x-mode"]&&(a["x-mode"]=e["x-mode"]),n=a}else{if(!w(e))throw new Error("Not implemented yet: ".concat(e.type));var s=new d(e.name,e.data);null!=e["x-name"]&&(s["x-name"]=e["x-name"],s["x-publicId"]=e["x-publicId"],s["x-systemId"]=e["x-systemId"]),n=s}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function _(e){for(var t=e.map(function(e){return E(e,!0)}),n=1;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatAttributes=i,t.escapeSpecialCharacters=function(e){return e.replace(o.CARRIAGE_RETURN_REGEX,o.CARRIAGE_RETURN_PLACEHOLDER)},t.revertEscapedCharacters=a,t.formatDOM=function e(t,n,o){void 0===n&&(n=null);for(var s,c=[],u=0,d=t.length;u{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,o=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,l=/^-(ms)-/,a=function(e,t){return t.toUpperCase()},s=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||o.test(e)||n.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(l,s):e.replace(i,s)).replace(r,a))}},9788:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,s=/^\s+|\s+$/g,c="";function u(e){return e?e.replace(s,c):c}e.exports=function(e,s){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];s=s||{};var d=1,f=1;function p(e){var t=e.match(n);t&&(d+=t.length);var r=e.lastIndexOf("\n");f=~r?e.length-r:f+e.length}function h(){var e={line:d,column:f};return function(t){return t.position=new m(e),b(),t}}function m(e){this.start=e,this.end={line:d,column:f},this.source=s.source}m.prototype.content=e;var y=[];function g(t){var n=new Error(s.source+":"+d+":"+f+": "+t);if(n.reason=t,n.filename=s.source,n.line=d,n.column=f,n.source=e,!s.silent)throw n;y.push(n)}function v(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function b(){v(r)}function w(e){var t;for(e=e||[];t=x();)!1!==t&&e.push(t);return e}function x(){var t=h();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;c!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,c===e.charAt(n-1))return g("End of comment missing");var r=e.slice(2,n-2);return f+=2,p(r),e=e.slice(n),f+=2,t({type:"comment",comment:r})}}function E(){var e=h(),n=v(o);if(n){if(x(),!v(i))return g("property missing ':'");var r=v(l),s=e({type:"declaration",property:u(n[0].replace(t,c)),value:r?u(r[0].replace(t,c)):c});return v(a),s}}return b(),function(){var e,t=[];for(w(t);e=E();)!1!==e&&(t.push(e),w(t));return t}()}}},i={};function l(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}};return o[e].call(n.exports,n,n.exports,l),n.exports}l.m=o,l.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return l.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,l.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var o=Object.create(null);l.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var a=2&r&&n;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach(e=>i[e]=()=>n[e]);return i.default=()=>n,l.d(o,i),o},l.d=(e,t)=>{for(var n in t)l.o(t,n)&&!l.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},l.f={},l.e=e=>Promise.all(Object.keys(l.f).reduce((t,n)=>(l.f[n](e,t),t),[])),l.u=e=>e+".js?ver="+{1272:"84b3c1d8fb9787ed5a19",3481:"9d6e518be015b7e60306",3882:"91d1608a61b37339187d",5567:"9f52645f855352a261d1",8853:"8f78401e81542af44902",8980:"685f95c0994e7a049e1a"}[e],l.miniCssF=e=>e+".css",l.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n={},r="gatherpress:",l.l=(e,t,o,i)=>{if(n[e])n[e].push(t);else{var a,s;if(void 0!==o)for(var c=document.getElementsByTagName("script"),u=0;u{a.onerror=a.onload=null,clearTimeout(p);var o=n[e];if(delete n[e],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach(e=>e(r)),t)return t(r)},p=setTimeout(f.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=f.bind(null,a.onerror),a.onload=f.bind(null,a.onload),s&&document.head.appendChild(a)}},l.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;l.g.importScripts&&(e=l.g.location+"");var t=l.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var r=n.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=n[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),l.p=e+"../../"})(),(()=>{if("undefined"!=typeof document){var e={1233:0};l.f.miniCss=(t,n)=>{e[t]?n.push(e[t]):0!==e[t]&&{5567:1,8853:1}[t]&&n.push(e[t]=(e=>new Promise((t,n)=>{var r=l.miniCssF(e),o=l.p+r;if(((e,t)=>{for(var n=document.getElementsByTagName("link"),r=0;r{var i=document.createElement("link");i.rel="stylesheet",i.type="text/css",l.nc&&(i.nonce=l.nc),i.onerror=i.onload=n=>{if(i.onerror=i.onload=null,"load"===n.type)r();else{var l=n&&n.type,a=n&&n.target&&n.target.href||t,s=new Error("Loading CSS chunk "+e+" failed.\n("+l+": "+a+")");s.name="ChunkLoadError",s.code="CSS_CHUNK_LOAD_FAILED",s.type=l,s.request=a,i.parentNode&&i.parentNode.removeChild(i),o(s)}},i.href=t,document.head.appendChild(i)})(e,o,0,t,n)}))(t).then(()=>{e[t]=0},n=>{throw delete e[t],n}))}}})(),(()=>{var e={1233:0};l.f.j=(t,n)=>{var r=l.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise((n,o)=>r=e[t]=[n,o]);n.push(r[2]=o);var i=l.p+l.u(t),a=new Error;l.l(i,n=>{if(l.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,r[1](a)}},"chunk-"+t,t)}};var t=(t,n)=>{var r,o,[i,a,s]=n,c=0;if(i.some(t=>0!==e[t])){for(r in a)l.o(a,r)&&(l.m[r]=a[r]);s&&s(l)}for(t&&t(n);c{"use strict";const e=window.wp.domReady;var t=l.n(e);const n=window.wp.element,r=window.wp.data,o=window.ReactJSXRuntime,i=e=>{const{zoom:t,type:n,className:r,location:i,latitude:l,longitude:a,height:s}=e,c={border:0,height:s,width:"100%"},u="https://maps.google.com/maps?"+new URLSearchParams({q:l+","+a,z:t||10,t:n||"m",output:"embed"}).toString();return(0,o.jsx)("iframe",{src:u,style:c,className:r,title:i})},a={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let s;const c=new Uint8Array(16),u=[];for(let e=0;e<256;++e)u.push((e+256).toString(16).slice(1));const d=function(e,t,n){if(a.randomUUID&&!t&&!e)return a.randomUUID();const r=(e=e||{}).random??e.rng?.()??function(){if(!s){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");s=crypto.getRandomValues.bind(crypto)}return s(c)}();if(r.length<16)throw new Error("Random bytes length must be >= 16");if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){if((n=n||0)<0||n+16>t.length)throw new RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[n+e]=r[e];return t}return function(e,t=0){return(u[e[t+0]]+u[e[t+1]]+u[e[t+2]]+u[e[t+3]]+"-"+u[e[t+4]]+u[e[t+5]]+"-"+u[e[t+6]]+u[e[t+7]]+"-"+u[e[t+8]]+u[e[t+9]]+"-"+u[e[t+10]]+u[e[t+11]]+u[e[t+12]]+u[e[t+13]]+u[e[t+14]]+u[e[t+15]]).toLowerCase()}(r)},f=window.wp.i18n;function p(e){if("object"==typeof GatherPress)return e.split(".").reduce((e,t)=>e?.[t],GatherPress)}const h=e=>{const{zoom:t=10,className:r,location:i,height:a=300,latitude:s,longitude:c}=e,[u,h]=(0,n.useState)(null),m=`map-${d()}`,y=(0,n.useRef)(null),g=(0,n.useRef)(null),v={height:a};return(0,n.useEffect)(()=>{(async()=>{const{default:e}=await l.e(3481).then(l.t.bind(l,3481,23));await l.e(5567).then(l.bind(l,5567)),await l.e(8853).then(l.bind(l,8853)),await l.e(1272).then(l.t.bind(l,1272,17)),await l.e(8980).then(l.t.bind(l,8980,17)),await l.e(3882).then(l.t.bind(l,3882,23)),e.Map.addInitHook("addHandler","gestureHandling",e.GestureHandling),h(e)})()},[]),(0,n.useEffect)(()=>{if(!(u&&s&&c&&y.current))return;g.current&&(g.current.remove(),g.current=null);const e=u.map(y.current,{gestureHandling:!0,gestureHandlingOptions:{duration:1500,text:{touch:(0,f.__)("Use two fingers to move the map","gatherpress"),scroll:(0,f.__)("Use ctrl + scroll to zoom the map","gatherpress"),scrollMac:(0,f.__)("Use ⌘ + scroll to zoom the map","gatherpress")}}}).setView([s,c],t);return g.current=e,u.Icon.Default.imagePath=p("urls.pluginUrl")+"build/images/",u.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:(0,f.sprintf)(/* translators: %s: Link to OpenStreetMap contributors. */ /* translators: %s: Link to OpenStreetMap contributors. */ (0,f.__)("© %s contributors","gatherpress"),'OpenStreetMap')}).addTo(e),u.marker([s,c]).addTo(e).bindPopup(i),()=>{g.current&&(g.current.remove(),g.current=null)}},[u,s,i,c,t]),u&&s&&c?(0,o.jsx)("div",{className:r,id:m,ref:y,style:v}):null},m=e=>{const t=(0,r.select)("core")?.canUser("create","posts"),n=Boolean((0,r.select)("core/edit-post")),{zoom:l,type:a,className:s,latitude:c,longitude:u}=e;let{location:d,height:f}=e;f||(f=300),!t||n||d||(d="660 4th Street #119 San Francisco CA 94107, USA");const m=p("settings.mapPlatform");return d&&m?"google"===m?(0,o.jsx)(i,{location:d,latitude:c,longitude:u,className:s,zoom:l,type:a,height:f}):"osm"===m?(0,o.jsx)(h,{location:d,latitude:c,longitude:u,className:s,zoom:l,height:f}):(0,o.jsx)(o.Fragment,{}):(0,o.jsx)(o.Fragment,{})};var y=l(1609);const g=Math.min,v=Math.max,b=Math.round,w=Math.floor,x=e=>({x:e,y:e}),E={left:"right",right:"left",bottom:"top",top:"bottom"},_={start:"end",end:"start"};function S(e,t,n){return v(e,g(t,n))}function T(e,t){return"function"==typeof e?e(t):e}function A(e){return e.split("-")[0]}function k(e){return e.split("-")[1]}function R(e){return"x"===e?"y":"x"}function C(e){return"y"===e?"height":"width"}function O(e){return["top","bottom"].includes(A(e))?"y":"x"}function N(e){return R(O(e))}function L(e){return e.replace(/start|end/g,e=>_[e])}function P(e){return e.replace(/left|right|bottom|top/g,e=>E[e])}function I(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function j(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function D(e,t,n){let{reference:r,floating:o}=e;const i=O(t),l=N(t),a=C(l),s=A(t),c="y"===i,u=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,f=r[a]/2-o[a]/2;let p;switch(s){case"top":p={x:u,y:r.y-o.height};break;case"bottom":p={x:u,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:d};break;case"left":p={x:r.x-o.width,y:d};break;default:p={x:r.x,y:r.y}}switch(k(t)){case"start":p[l]-=f*(n&&c?-1:1);break;case"end":p[l]+=f*(n&&c?-1:1)}return p}async function M(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:l,elements:a,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=T(t,e),h=I(p),m=a[f?"floating"===d?"reference":"floating":d],y=j(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:s})),g="floating"===d?{x:r,y:o,width:l.floating.width,height:l.floating.height}:l.reference,v=await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),b=await(null==i.isElement?void 0:i.isElement(v))&&await(null==i.getScale?void 0:i.getScale(v))||{x:1,y:1},w=j(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:v,strategy:s}):g);return{top:(y.top-w.top+h.top)/b.y,bottom:(w.bottom-y.bottom+h.bottom)/b.y,left:(y.left-w.left+h.left)/b.x,right:(w.right-y.right+h.right)/b.x}}function F(){return"undefined"!=typeof window}function z(e){return U(e)?(e.nodeName||"").toLowerCase():"#document"}function H(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function B(e){var t;return null==(t=(U(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function U(e){return!!F()&&(e instanceof Node||e instanceof H(e).Node)}function V(e){return!!F()&&(e instanceof Element||e instanceof H(e).Element)}function G(e){return!!F()&&(e instanceof HTMLElement||e instanceof H(e).HTMLElement)}function $(e){return!(!F()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof H(e).ShadowRoot)}function q(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=J(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function W(e){return["table","td","th"].includes(z(e))}function X(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(e){return!1}})}function K(e){const t=Y(),n=V(e)?J(e):e;return["transform","translate","scale","rotate","perspective"].some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","translate","scale","rotate","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function Y(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Z(e){return["html","body","#document"].includes(z(e))}function J(e){return H(e).getComputedStyle(e)}function Q(e){return V(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ee(e){if("html"===z(e))return e;const t=e.assignedSlot||e.parentNode||$(e)&&e.host||B(e);return $(t)?t.host:t}function te(e){const t=ee(e);return Z(t)?e.ownerDocument?e.ownerDocument.body:e.body:G(t)&&q(t)?t:te(t)}function ne(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=te(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),l=H(o);if(i){const e=re(l);return t.concat(l,l.visualViewport||[],q(o)?o:[],e&&n?ne(e):[])}return t.concat(o,ne(o,[],n))}function re(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function oe(e){const t=J(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=G(e),i=o?e.offsetWidth:n,l=o?e.offsetHeight:r,a=b(n)!==i||b(r)!==l;return a&&(n=i,r=l),{width:n,height:r,$:a}}function ie(e){return V(e)?e:e.contextElement}function le(e){const t=ie(e);if(!G(t))return x(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=oe(t);let l=(i?b(n.width):n.width)/r,a=(i?b(n.height):n.height)/o;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}const ae=x(0);function se(e){const t=H(e);return Y()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ae}function ce(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=ie(e);let l=x(1);t&&(r?V(r)&&(l=le(r)):l=le(e));const a=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==H(e))&&t}(i,n,r)?se(i):x(0);let s=(o.left+a.x)/l.x,c=(o.top+a.y)/l.y,u=o.width/l.x,d=o.height/l.y;if(i){const e=H(i),t=r&&V(r)?H(r):r;let n=e,o=re(n);for(;o&&r&&t!==n;){const e=le(o),t=o.getBoundingClientRect(),r=J(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;s*=e.x,c*=e.y,u*=e.x,d*=e.y,s+=i,c+=l,n=H(o),o=re(n)}}return j({width:u,height:d,x:s,y:c})}function ue(e,t){const n=Q(e).scrollLeft;return t?t.left+n:ce(B(e)).left+n}function de(e,t,n){void 0===n&&(n=!1);const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:ue(e,r)),y:r.top+t.scrollTop}}function fe(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=H(e),r=B(e),o=n.visualViewport;let i=r.clientWidth,l=r.clientHeight,a=0,s=0;if(o){i=o.width,l=o.height;const e=Y();(!e||e&&"fixed"===t)&&(a=o.offsetLeft,s=o.offsetTop)}return{width:i,height:l,x:a,y:s}}(e,n);else if("document"===t)r=function(e){const t=B(e),n=Q(e),r=e.ownerDocument.body,o=v(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=v(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let l=-n.scrollLeft+ue(e);const a=-n.scrollTop;return"rtl"===J(r).direction&&(l+=v(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:l,y:a}}(B(e));else if(V(t))r=function(e,t){const n=ce(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=G(e)?le(e):x(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{const n=se(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return j(r)}function pe(e,t){const n=ee(e);return!(n===t||!V(n)||Z(n))&&("fixed"===J(n).position||pe(n,t))}function he(e,t,n){const r=G(t),o=B(t),i="fixed"===n,l=ce(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const s=x(0);function c(){s.x=ue(o)}if(r||!r&&!i)if(("body"!==z(t)||q(o))&&(a=Q(t)),r){const e=ce(t,!0,i,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&c();i&&!r&&o&&c();const u=!o||r||i?x(0):de(o,a);return{x:l.left+a.scrollLeft-s.x-u.x,y:l.top+a.scrollTop-s.y-u.y,width:l.width,height:l.height}}function me(e){return"static"===J(e).position}function ye(e,t){if(!G(e)||"fixed"===J(e).position)return null;if(t)return t(e);let n=e.offsetParent;return B(e)===n&&(n=n.ownerDocument.body),n}function ge(e,t){const n=H(e);if(X(e))return n;if(!G(e)){let t=ee(e);for(;t&&!Z(t);){if(V(t)&&!me(t))return t;t=ee(t)}return n}let r=ye(e,t);for(;r&&W(r)&&me(r);)r=ye(r,t);return r&&Z(r)&&me(r)&&!K(r)?n:r||function(e){let t=ee(e);for(;G(t)&&!Z(t);){if(K(t))return t;if(X(t))return null;t=ee(t)}return null}(e)||n}const ve={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i="fixed"===o,l=B(r),a=!!t&&X(t.floating);if(r===l||a&&i)return n;let s={scrollLeft:0,scrollTop:0},c=x(1);const u=x(0),d=G(r);if((d||!d&&!i)&&(("body"!==z(r)||q(l))&&(s=Q(r)),G(r))){const e=ce(r);c=le(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}const f=!l||d||i?x(0):de(l,s,!0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-s.scrollLeft*c.x+u.x+f.x,y:n.y*c.y-s.scrollTop*c.y+u.y+f.y}},getDocumentElement:B,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[..."clippingAncestors"===n?X(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=ne(e,[],!1).filter(e=>V(e)&&"body"!==z(e)),o=null;const i="fixed"===J(e).position;let l=i?ee(e):e;for(;V(l)&&!Z(l);){const t=J(l),n=K(l);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||q(l)&&!n&&pe(e,l))?r=r.filter(e=>e!==l):o=t,l=ee(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],l=i[0],a=i.reduce((e,n)=>{const r=fe(t,n,o);return e.top=v(r.top,e.top),e.right=g(r.right,e.right),e.bottom=g(r.bottom,e.bottom),e.left=v(r.left,e.left),e},fe(t,l,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:ge,getElementRects:async function(e){const t=this.getOffsetParent||ge,n=this.getDimensions,r=await n(e.floating);return{reference:he(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=oe(e);return{width:t,height:n}},getScale:le,isElement:V,isRTL:function(e){return"rtl"===J(e).direction}};function be(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}const we=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:l,middlewareData:a}=t,s=await async function(e,t){const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),l=A(n),a=k(n),s="y"===O(n),c=["left","top"].includes(l)?-1:1,u=i&&s?-1:1,d=T(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:h}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&"number"==typeof h&&(p="end"===a?-1*h:h),s?{x:p*u,y:f*c}:{x:f*c,y:p*u}}(t,e);return l===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:o+s.x,y:i+s.y,data:{...s,placement:l}}}}},xe=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:l=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...s}=T(e,t),c={x:n,y:r},u=await M(t,s),d=O(A(o)),f=R(d);let p=c[f],h=c[d];if(i){const e="y"===f?"bottom":"right";p=S(p+u["y"===f?"top":"left"],p,p-u[e])}if(l){const e="y"===d?"bottom":"right";h=S(h+u["y"===d?"top":"left"],h,h-u[e])}const m=a.fn({...t,[f]:p,[d]:h});return{...m,data:{x:m.x-n,y:m.y-r,enabled:{[f]:i,[d]:l}}}}}},Ee=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:l,initialPlacement:a,platform:s,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:m=!0,...y}=T(e,t);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const g=A(o),v=O(a),b=A(a)===a,w=await(null==s.isRTL?void 0:s.isRTL(c.floating)),x=f||(b||!m?[P(a)]:function(e){const t=P(e);return[L(e),t,L(t)]}(a)),E="none"!==h;!f&&E&&x.push(...function(e,t,n,r){const o=k(e);let i=function(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],l=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:l;default:return[]}}(A(e),"start"===n,r);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(L)))),i}(a,m,h,w));const _=[a,...x],S=await M(t,y),R=[];let I=(null==(r=i.flip)?void 0:r.overflows)||[];if(u&&R.push(S[g]),d){const e=function(e,t,n){void 0===n&&(n=!1);const r=k(e),o=N(e),i=C(o);let l="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=P(l)),[l,P(l)]}(o,l,w);R.push(S[e[0]],S[e[1]])}if(I=[...I,{placement:o,overflows:R}],!R.every(e=>e<=0)){var j,D;const e=((null==(j=i.flip)?void 0:j.index)||0)+1,t=_[e];if(t&&("alignment"!==d||v===O(t)||I.every(e=>e.overflows[0]>0&&O(e.placement)===v)))return{data:{index:e,overflows:I},reset:{placement:t}};let n=null==(D=I.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:D.placement;if(!n)switch(p){case"bestFit":{var F;const e=null==(F=I.filter(e=>{if(E){const t=O(e.placement);return t===v||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:F[0];e&&(n=e);break}case"initialPlacement":n=a}if(o!==n)return{reset:{placement:n}}}return{}}}},_e=(e,t,n)=>{const r=new Map,o={platform:ve,...n},i={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:l}=n,a=i.filter(Boolean),s=await(null==l.isRTL?void 0:l.isRTL(t));let c=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=D(c,r,s),f=r,p={},h=0;for(let n=0;n{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};if(null===t)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};const c=l;return n?(c.push({name:"arrow",options:u={element:n,padding:5},async fn(e){const{x:t,y:n,placement:r,rects:o,platform:i,elements:l,middlewareData:a}=e,{element:s,padding:c=0}=T(u,e)||{};if(null==s)return{};const d=I(c),f={x:t,y:n},p=N(r),h=C(p),m=await i.getDimensions(s),y="y"===p,v=y?"top":"left",b=y?"bottom":"right",w=y?"clientHeight":"clientWidth",x=o.reference[h]+o.reference[p]-f[p]-o.floating[h],E=f[p]-o.reference[p],_=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s));let A=_?_[w]:0;A&&await(null==i.isElement?void 0:i.isElement(_))||(A=l.floating[w]||o.floating[h]);const R=x/2-E/2,O=A/2-m[h]/2-1,L=g(d[v],O),P=g(d[b],O),j=L,D=A-m[h]-P,M=A/2-m[h]/2+R,F=S(j,M,D),z=!a.arrow&&null!=k(r)&&M!==F&&o.reference[h]/2-(M{var o,i;const l={left:`${e}px`,top:`${t}px`,border:a},{x:c,y:u}=null!==(o=r.arrow)&&void 0!==o?o:{x:0,y:0},d=null!==(i={top:"bottom",right:"left",bottom:"top",left:"right"}[n.split("-")[0]])&&void 0!==i?i:"bottom",f=a&&{borderBottom:a,borderRight:a};let p=0;if(a){const e=`${a}`.match(/(\d+)px/);p=(null==e?void 0:e[1])?Number(e[1]):1}return{tooltipStyles:l,tooltipArrowStyles:{left:null!=c?`${c}px`:"",top:null!=u?`${u}px`:"",right:"",bottom:"",...f,[d]:`-${s/2+p}px`},place:n}})):_e(e,t,{placement:"bottom",strategy:i,middleware:c}).then(({x:e,y:t,placement:n})=>({tooltipStyles:{left:`${e}px`,top:`${t}px`},tooltipArrowStyles:{},place:n}));var u},Re=(e,t)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(e,t),Ce=(e,t,n)=>{let r=null;const o=function(...o){const i=()=>{r=null,n||e.apply(this,o)};n&&!r&&(e.apply(this,o),r=setTimeout(i,t)),n||(r&&clearTimeout(r),r=setTimeout(i,t))};return o.cancel=()=>{r&&(clearTimeout(r),r=null)},o},Oe=e=>null!==e&&!Array.isArray(e)&&"object"==typeof e,Ne=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every((e,n)=>Ne(e,t[n]));if(Array.isArray(e)!==Array.isArray(t))return!1;if(!Oe(e)||!Oe(t))return e===t;const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(n=>Ne(e[n],t[n]))},Le=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some(e=>{const n=t.getPropertyValue(e);return"auto"===n||"scroll"===n})},Pe=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(Le(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},Ie="undefined"!=typeof window?y.useLayoutEffect:y.useEffect,je=e=>{e.current&&(clearTimeout(e.current),e.current=null)},De={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},Me=(0,y.createContext)({getTooltipData:()=>De});function Fe(e="DEFAULT_TOOLTIP_ID"){return(0,y.useContext)(Me).getTooltipData(e)}var ze={tooltip:"core-styles-module_tooltip__3vRRp",fixed:"core-styles-module_fixed__pcSol",arrow:"core-styles-module_arrow__cvMwQ",noArrow:"core-styles-module_noArrow__xock6",clickable:"core-styles-module_clickable__ZuTTB",show:"core-styles-module_show__Nt9eE",closing:"core-styles-module_closing__sGnxF"},He={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const Be=({forwardRef:e,id:t,className:n,classNameArrow:r,variant:o="dark",anchorId:i,anchorSelect:l,place:a="top",offset:s=10,events:c=["hover"],openOnClick:u=!1,positionStrategy:d="absolute",middlewares:f,wrapper:p,delayShow:h=0,delayHide:m=0,float:b=!1,hidden:x=!1,noArrow:E=!1,clickable:_=!1,closeOnEsc:S=!1,closeOnScroll:T=!1,closeOnResize:A=!1,openEvents:k,closeEvents:R,globalCloseEvents:C,imperativeModeOnly:O,style:N,position:L,afterShow:P,afterHide:I,disableTooltip:j,content:D,contentWrapperRef:M,isOpen:F,defaultIsOpen:z=!1,setIsOpen:H,activeAnchor:U,setActiveAnchor:V,border:G,opacity:$,arrowColor:q,arrowSize:W=8,role:X="tooltip"})=>{var K;const Y=(0,y.useRef)(null),Z=(0,y.useRef)(null),J=(0,y.useRef)(null),Q=(0,y.useRef)(null),ee=(0,y.useRef)(null),[te,re]=(0,y.useState)({tooltipStyles:{},tooltipArrowStyles:{},place:a}),[oe,le]=(0,y.useState)(!1),[ae,se]=(0,y.useState)(!1),[ue,de]=(0,y.useState)(null),fe=(0,y.useRef)(!1),pe=(0,y.useRef)(null),{anchorRefs:he,setActiveAnchor:me}=Fe(t),ye=(0,y.useRef)(!1),[ge,ve]=(0,y.useState)([]),we=(0,y.useRef)(!1),xe=u||c.includes("click"),Ee=xe||(null==k?void 0:k.click)||(null==k?void 0:k.dblclick)||(null==k?void 0:k.mousedown),_e=k?{...k}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!k&&xe&&Object.assign(_e,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const Te=R?{...R}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!R&&xe&&Object.assign(Te,{mouseleave:!1,blur:!1,mouseout:!1});const Ae=C?{...C}:{escape:S||!1,scroll:T||!1,resize:A||!1,clickOutsideAnchor:Ee||!1};O&&(Object.assign(_e,{mouseover:!1,focus:!1,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(Te,{mouseout:!1,blur:!1,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(Ae,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),Ie(()=>(we.current=!0,()=>{we.current=!1}),[]);const Re=e=>{we.current&&(e&&se(!0),setTimeout(()=>{we.current&&(null==H||H(e),void 0===F&&le(e))},10))};(0,y.useEffect)(()=>{if(void 0===F)return()=>null;F&&se(!0);const e=setTimeout(()=>{le(F)},10);return()=>{clearTimeout(e)}},[F]),(0,y.useEffect)(()=>{if(oe!==fe.current)if(je(ee),fe.current=oe,oe)null==P||P();else{const e=(()=>{const e=getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay").match(/^([\d.]+)(ms|s)$/);if(!e)return 0;const[,t,n]=e;return Number(t)*("ms"===n?1:1e3)})();ee.current=setTimeout(()=>{se(!1),de(null),null==I||I()},e+25)}},[oe]);const Oe=e=>{re(t=>Ne(t,e)?t:e)},Le=(e=h)=>{je(J),ae?Re(!0):J.current=setTimeout(()=>{Re(!0)},e)},De=(e=m)=>{je(Q),Q.current=setTimeout(()=>{ye.current||Re(!1)},e)},Me=e=>{var t;if(!e)return;const n=null!==(t=e.currentTarget)&&void 0!==t?t:e.target;if(!(null==n?void 0:n.isConnected))return V(null),void me({current:null});h?Le():Re(!0),V(n),me({current:n}),je(Q)},Be=()=>{_?De(m||100):m?De():Re(!1),je(J)},Ue=({x:e,y:t})=>{var n;const r={getBoundingClientRect:()=>({x:e,y:t,width:0,height:0,top:t,left:e,right:e,bottom:t})};ke({place:null!==(n=null==ue?void 0:ue.place)&&void 0!==n?n:a,offset:s,elementReference:r,tooltipReference:Y.current,tooltipArrowReference:Z.current,strategy:d,middlewares:f,border:G,arrowSize:W}).then(e=>{Oe(e)})},Ve=e=>{if(!e)return;const t=e,n={x:t.clientX,y:t.clientY};Ue(n),pe.current=n},Ge=e=>{var t;if(!oe)return;const n=e.target;n.isConnected&&((null===(t=Y.current)||void 0===t?void 0:t.contains(n))||[document.querySelector(`[id='${i}']`),...ge].some(e=>null==e?void 0:e.contains(n))||(Re(!1),je(J)))},$e=Ce(Me,50,!0),qe=Ce(Be,50,!0),We=e=>{qe.cancel(),$e(e)},Xe=()=>{$e.cancel(),qe()},Ke=(0,y.useCallback)(()=>{var e,t;const n=null!==(e=null==ue?void 0:ue.position)&&void 0!==e?e:L;n?Ue(n):b?pe.current&&Ue(pe.current):(null==U?void 0:U.isConnected)&&ke({place:null!==(t=null==ue?void 0:ue.place)&&void 0!==t?t:a,offset:s,elementReference:U,tooltipReference:Y.current,tooltipArrowReference:Z.current,strategy:d,middlewares:f,border:G,arrowSize:W}).then(e=>{we.current&&Oe(e)})},[oe,U,D,N,a,null==ue?void 0:ue.place,s,d,L,null==ue?void 0:ue.position,b,W]);(0,y.useEffect)(()=>{var e,t;const n=new Set(he);ge.forEach(e=>{(null==j?void 0:j(e))||n.add({current:e})});const r=document.querySelector(`[id='${i}']`);r&&!(null==j?void 0:j(r))&&n.add({current:r});const o=()=>{Re(!1)},l=Pe(U),a=Pe(Y.current);Ae.scroll&&(window.addEventListener("scroll",o),null==l||l.addEventListener("scroll",o),null==a||a.addEventListener("scroll",o));let s=null;Ae.resize?window.addEventListener("resize",o):U&&Y.current&&(s=function(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:s=!1}=r,c=ie(e),u=o||i?[...c?ne(c):[],...ne(t)]:[];u.forEach(e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)});const d=c&&a?function(e,t){let n,r=null;const o=B(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function l(a,s){void 0===a&&(a=!1),void 0===s&&(s=1),i();const c=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=c;if(a||t(),!f||!p)return;const h={rootMargin:-w(d)+"px "+-w(o.clientWidth-(u+f))+"px "+-w(o.clientHeight-(d+p))+"px "+-w(u)+"px",threshold:v(0,g(1,s))||1};let m=!0;function y(t){const r=t[0].intersectionRatio;if(r!==s){if(!m)return l();r?l(!1,r):n=setTimeout(()=>{l(!1,1e-7)},1e3)}1!==r||be(c,e.getBoundingClientRect())||l(),m=!1}try{r=new IntersectionObserver(y,{...h,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(y,h)}r.observe(e)}(!0),i}(c,n):null;let f,p=-1,h=null;l&&(h=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),c&&!s&&h.observe(c),h.observe(t));let m=s?ce(e):null;return s&&function t(){const r=ce(e);m&&!be(m,r)&&n(),m=r,f=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=h)||e.disconnect(),h=null,s&&cancelAnimationFrame(f)}}(U,Y.current,Ke,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const c=e=>{"Escape"===e.key&&Re(!1)};Ae.escape&&window.addEventListener("keydown",c),Ae.clickOutsideAnchor&&window.addEventListener("click",Ge);const u=[],d=e=>Boolean((null==e?void 0:e.target)&&(null==U?void 0:U.contains(e.target))),f=e=>{oe&&d(e)||Me(e)},p=e=>{oe&&d(e)&&Be()},h=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],m=["click","dblclick","mousedown","mouseup"];Object.entries(_e).forEach(([e,t])=>{t&&(h.includes(e)?u.push({event:e,listener:We}):m.includes(e)&&u.push({event:e,listener:f}))}),Object.entries(Te).forEach(([e,t])=>{t&&(h.includes(e)?u.push({event:e,listener:Xe}):m.includes(e)&&u.push({event:e,listener:p}))}),b&&u.push({event:"pointermove",listener:Ve});const y=()=>{ye.current=!0},x=()=>{ye.current=!1,Be()},E=_&&(Te.mouseout||Te.mouseleave);return E&&(null===(e=Y.current)||void 0===e||e.addEventListener("mouseover",y),null===(t=Y.current)||void 0===t||t.addEventListener("mouseout",x)),u.forEach(({event:e,listener:t})=>{n.forEach(n=>{var r;null===(r=n.current)||void 0===r||r.addEventListener(e,t)})}),()=>{var e,t;Ae.scroll&&(window.removeEventListener("scroll",o),null==l||l.removeEventListener("scroll",o),null==a||a.removeEventListener("scroll",o)),Ae.resize?window.removeEventListener("resize",o):null==s||s(),Ae.clickOutsideAnchor&&window.removeEventListener("click",Ge),Ae.escape&&window.removeEventListener("keydown",c),E&&(null===(e=Y.current)||void 0===e||e.removeEventListener("mouseover",y),null===(t=Y.current)||void 0===t||t.removeEventListener("mouseout",x)),u.forEach(({event:e,listener:t})=>{n.forEach(n=>{var r;null===(r=n.current)||void 0===r||r.removeEventListener(e,t)})})}},[U,Ke,ae,he,ge,k,R,C,xe,h,m]),(0,y.useEffect)(()=>{var e,n;let r=null!==(n=null!==(e=null==ue?void 0:ue.anchorSelect)&&void 0!==e?e:l)&&void 0!==n?n:"";!r&&t&&(r=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`);const o=new MutationObserver(e=>{const n=[],o=[];e.forEach(e=>{if("attributes"===e.type&&"data-tooltip-id"===e.attributeName&&(e.target.getAttribute("data-tooltip-id")===t?n.push(e.target):e.oldValue===t&&o.push(e.target)),"childList"===e.type){if(U){const t=[...e.removedNodes].filter(e=>1===e.nodeType);if(r)try{o.push(...t.filter(e=>e.matches(r))),o.push(...t.flatMap(e=>[...e.querySelectorAll(r)]))}catch(e){}t.some(e=>{var t;return!!(null===(t=null==e?void 0:e.contains)||void 0===t?void 0:t.call(e,U))&&(se(!1),Re(!1),V(null),je(J),je(Q),!0)})}if(r)try{const t=[...e.addedNodes].filter(e=>1===e.nodeType);n.push(...t.filter(e=>e.matches(r))),n.push(...t.flatMap(e=>[...e.querySelectorAll(r)]))}catch(e){}}}),(n.length||o.length)&&ve(e=>[...e.filter(e=>!o.includes(e)),...n])});return o.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{o.disconnect()}},[t,l,null==ue?void 0:ue.anchorSelect,U]),(0,y.useEffect)(()=>{Ke()},[Ke]),(0,y.useEffect)(()=>{if(!(null==M?void 0:M.current))return()=>null;const e=new ResizeObserver(()=>{setTimeout(()=>Ke())});return e.observe(M.current),()=>{e.disconnect()}},[D,null==M?void 0:M.current]),(0,y.useEffect)(()=>{var e;const t=document.querySelector(`[id='${i}']`),n=[...ge,t];U&&n.includes(U)||V(null!==(e=ge[0])&&void 0!==e?e:t)},[i,ge,U]),(0,y.useEffect)(()=>(z&&Re(!0),()=>{je(J),je(Q)}),[]),(0,y.useEffect)(()=>{var e;let n=null!==(e=null==ue?void 0:ue.anchorSelect)&&void 0!==e?e:l;if(!n&&t&&(n=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`),n)try{const e=Array.from(document.querySelectorAll(n));ve(e)}catch(e){ve([])}},[t,l,null==ue?void 0:ue.anchorSelect]),(0,y.useEffect)(()=>{J.current&&(je(J),Le(h))},[h]);const Ye=null!==(K=null==ue?void 0:ue.content)&&void 0!==K?K:D,Ze=oe&&Object.keys(te.tooltipStyles).length>0;return(0,y.useImperativeHandle)(e,()=>({open:e=>{if(null==e?void 0:e.anchorSelect)try{document.querySelector(e.anchorSelect)}catch(t){return void console.warn(`[react-tooltip] "${e.anchorSelect}" is not a valid CSS selector`)}de(null!=e?e:null),(null==e?void 0:e.delay)?Le(e.delay):Re(!0)},close:e=>{(null==e?void 0:e.delay)?De(e.delay):Re(!1)},activeAnchor:U,place:te.place,isOpen:Boolean(ae&&!x&&Ye&&Ze)})),ae&&!x&&Ye?y.createElement(p,{id:t,role:X,className:Se("react-tooltip",ze.tooltip,He.tooltip,He[o],n,`react-tooltip__place-${te.place}`,ze[Ze?"show":"closing"],Ze?"react-tooltip__show":"react-tooltip__closing","fixed"===d&&ze.fixed,_&&ze.clickable),onTransitionEnd:e=>{je(ee),oe||"opacity"!==e.propertyName||(se(!1),de(null),null==I||I())},style:{...N,...te.tooltipStyles,opacity:void 0!==$&&Ze?$:void 0},ref:Y},Ye,y.createElement(p,{className:Se("react-tooltip-arrow",ze.arrow,He.arrow,r,E&&ze.noArrow),style:{...te.tooltipArrowStyles,background:q?`linear-gradient(to right bottom, transparent 50%, ${q} 50%)`:void 0,"--rt-arrow-size":`${W}px`},ref:Z})):null},Ue=({content:e})=>y.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),Ve=y.forwardRef(({id:e,anchorId:t,anchorSelect:n,content:r,html:o,render:i,className:l,classNameArrow:a,variant:s="dark",place:c="top",offset:u=10,wrapper:d="div",children:f=null,events:p=["hover"],openOnClick:h=!1,positionStrategy:m="absolute",middlewares:g,delayShow:v=0,delayHide:b=0,float:w=!1,hidden:x=!1,noArrow:E=!1,clickable:_=!1,closeOnEsc:S=!1,closeOnScroll:T=!1,closeOnResize:A=!1,openEvents:k,closeEvents:R,globalCloseEvents:C,imperativeModeOnly:O=!1,style:N,position:L,isOpen:P,defaultIsOpen:I=!1,disableStyleInjection:j=!1,border:D,opacity:M,arrowColor:F,arrowSize:z,setIsOpen:H,afterShow:B,afterHide:U,disableTooltip:V,role:G="tooltip"},$)=>{const[q,W]=(0,y.useState)(r),[X,K]=(0,y.useState)(o),[Y,Z]=(0,y.useState)(c),[J,Q]=(0,y.useState)(s),[ee,te]=(0,y.useState)(u),[ne,re]=(0,y.useState)(v),[oe,ie]=(0,y.useState)(b),[le,ae]=(0,y.useState)(w),[se,ce]=(0,y.useState)(x),[ue,de]=(0,y.useState)(d),[fe,pe]=(0,y.useState)(p),[he,me]=(0,y.useState)(m),[ye,ge]=(0,y.useState)(null),[ve,be]=(0,y.useState)(null),we=(0,y.useRef)(j),{anchorRefs:xe,activeAnchor:Ee}=Fe(e),_e=e=>null==e?void 0:e.getAttributeNames().reduce((t,n)=>{var r;return n.startsWith("data-tooltip-")&&(t[n.replace(/^data-tooltip-/,"")]=null!==(r=null==e?void 0:e.getAttribute(n))&&void 0!==r?r:null),t},{}),Te=e=>{const t={place:e=>{var t;Z(null!==(t=e)&&void 0!==t?t:c)},content:e=>{W(null!=e?e:r)},html:e=>{K(null!=e?e:o)},variant:e=>{var t;Q(null!==(t=e)&&void 0!==t?t:s)},offset:e=>{te(null===e?u:Number(e))},wrapper:e=>{var t;de(null!==(t=e)&&void 0!==t?t:d)},events:e=>{const t=null==e?void 0:e.split(" ");pe(null!=t?t:p)},"position-strategy":e=>{var t;me(null!==(t=e)&&void 0!==t?t:m)},"delay-show":e=>{re(null===e?v:Number(e))},"delay-hide":e=>{ie(null===e?b:Number(e))},float:e=>{ae(null===e?w:"true"===e)},hidden:e=>{ce(null===e?x:"true"===e)},"class-name":e=>{ge(e)}};Object.values(t).forEach(e=>e(null)),Object.entries(e).forEach(([e,n])=>{var r;null===(r=t[e])||void 0===r||r.call(t,n)})};(0,y.useEffect)(()=>{W(r)},[r]),(0,y.useEffect)(()=>{K(o)},[o]),(0,y.useEffect)(()=>{Z(c)},[c]),(0,y.useEffect)(()=>{Q(s)},[s]),(0,y.useEffect)(()=>{te(u)},[u]),(0,y.useEffect)(()=>{re(v)},[v]),(0,y.useEffect)(()=>{ie(b)},[b]),(0,y.useEffect)(()=>{ae(w)},[w]),(0,y.useEffect)(()=>{ce(x)},[x]),(0,y.useEffect)(()=>{me(m)},[m]),(0,y.useEffect)(()=>{we.current!==j&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")},[j]),(0,y.useEffect)(()=>{"undefined"!=typeof window&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:"core"===j,disableBase:j}}))},[]),(0,y.useEffect)(()=>{var r;const o=new Set(xe);let i=n;if(!i&&e&&(i=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`),i)try{document.querySelectorAll(i).forEach(e=>{o.add({current:e})})}catch(r){console.warn(`[react-tooltip] "${i}" is not a valid CSS selector`)}const l=document.querySelector(`[id='${t}']`);if(l&&o.add({current:l}),!o.size)return()=>null;const a=null!==(r=null!=ve?ve:l)&&void 0!==r?r:Ee.current,s=new MutationObserver(e=>{e.forEach(e=>{var t;if(!a||"attributes"!==e.type||!(null===(t=e.attributeName)||void 0===t?void 0:t.startsWith("data-tooltip-")))return;const n=_e(a);Te(n)})}),c={attributes:!0,childList:!1,subtree:!1};if(a){const e=_e(a);Te(e),s.observe(a,c)}return()=>{s.disconnect()}},[xe,Ee,ve,t,n]),(0,y.useEffect)(()=>{(null==N?void 0:N.border)&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),D&&!Re("border",`${D}`)&&console.warn(`[react-tooltip] "${D}" is not a valid \`border\`.`),(null==N?void 0:N.opacity)&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),M&&!Re("opacity",`${M}`)&&console.warn(`[react-tooltip] "${M}" is not a valid \`opacity\`.`)},[]);let Ae=f;const ke=(0,y.useRef)(null);if(i){const e=i({content:(null==ve?void 0:ve.getAttribute("data-tooltip-content"))||q||null,activeAnchor:ve});Ae=e?y.createElement("div",{ref:ke,className:"react-tooltip-content-wrapper"},e):null}else q&&(Ae=q);X&&(Ae=y.createElement(Ue,{content:X}));const Ce={forwardRef:$,id:e,anchorId:t,anchorSelect:n,className:Se(l,ye),classNameArrow:a,content:Ae,contentWrapperRef:ke,place:Y,variant:J,offset:ee,wrapper:ue,events:fe,openOnClick:h,positionStrategy:he,middlewares:g,delayShow:ne,delayHide:oe,float:le,hidden:se,noArrow:E,clickable:_,closeOnEsc:S,closeOnScroll:T,closeOnResize:A,openEvents:k,closeEvents:R,globalCloseEvents:C,imperativeModeOnly:O,style:N,position:L,isOpen:P,defaultIsOpen:I,border:D,opacity:M,arrowColor:F,arrowSize:z,setIsOpen:H,afterShow:B,afterHide:U,disableTooltip:V,activeAnchor:ve,setActiveAnchor:e=>be(e),role:G};return y.createElement(Be,{...Ce})});"undefined"!=typeof window&&window.addEventListener("react-tooltip-inject-styles",e=>{e.detail.disableCore||Ae({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s;--rt-arrow-size:8px}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit;z-index:-1}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",type:"core"}),e.detail.disableBase||Ae({css:"\n.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:var(--rt-arrow-size);height:var(--rt-arrow-size)}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}",type:"base"})});const Ge=window.wp.components,$e=({onlineEventLinkDefault:e=""})=>{const t=(0,f.__)("Online event","gatherpress"),[r,i]=(0,n.useState)(e);return((e,t="")=>{for(const[n,r]of Object.entries(e)){let e=n;t&&(e+="_"+String(t)),addEventListener(e,e=>{r(e.detail)},!1)}})({setOnlineEventLink:i},p("eventDetails.postId")),(0,o.jsxs)(Ge.Flex,{justify:"normal",gap:"3",children:[(0,o.jsx)(Ge.FlexItem,{display:"flex",children:(0,o.jsx)(Ge.Icon,{icon:"video-alt2"})}),(0,o.jsxs)(Ge.FlexItem,{children:[!r&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("span",{tabIndex:"0",className:"gatherpress-tooltip","data-tooltip-id":"gatherpress-online-event-tooltip","data-tooltip-content":(0,f.__)("Link available for attendees only.","gatherpress"),children:t}),(0,o.jsx)(Ve,{id:"gatherpress-online-event-tooltip"})]}),r&&(0,o.jsx)("a",{href:r,rel:"noreferrer",target:"_blank",children:t})]})]})};var qe=l(442);const We=qe.default||qe,Xe=({name:e,fullAddress:t,phoneNumber:n,website:r})=>(0,o.jsxs)(o.Fragment,{children:[(e||t)&&(0,o.jsxs)(Ge.Flex,{justify:"normal",align:"flex-start",gap:"4",children:[(0,o.jsx)(Ge.FlexItem,{display:"flex",className:"gatherpress-venue__icon",children:(0,o.jsx)(Ge.Icon,{icon:"location"})}),(0,o.jsxs)(Ge.FlexItem,{children:[e&&(0,o.jsx)("div",{className:"gatherpress-venue__name",children:(0,o.jsx)("strong",{children:We(e)})}),t&&(0,o.jsx)("div",{className:"gatherpress-venue__full-address",children:We(t)})]})]}),(n||r)&&(0,o.jsxs)(Ge.Flex,{justify:"normal",gap:"8",children:[n&&(0,o.jsx)(Ge.FlexItem,{children:(0,o.jsxs)(Ge.Flex,{justify:"normal",gap:"4",children:[(0,o.jsx)(Ge.FlexItem,{display:"flex",className:"gatherpress-venue__icon",children:(0,o.jsx)(Ge.Icon,{icon:"phone"})}),(0,o.jsx)(Ge.FlexItem,{children:(0,o.jsx)("div",{className:"gatherpress-venue__phone-number",children:n})})]})}),r&&(0,o.jsx)(Ge.FlexItem,{children:(0,o.jsxs)(Ge.Flex,{justify:"normal",gap:"4",children:[(0,o.jsx)(Ge.FlexItem,{display:"flex",className:"gatherpress-venue__icon",children:(0,o.jsx)(Ge.Icon,{icon:"admin-site-alt3"})}),(0,o.jsx)(Ge.FlexItem,{children:(0,o.jsx)("div",{className:"gatherpress-venue__website",children:(0,o.jsx)("a",{href:r,target:"_blank",rel:"noreferrer noopener",children:r})})})]})})]})]}),Ke=({name:e="",fullAddress:t,phoneNumber:n,website:r,isOnlineEventTerm:i=!1,onlineEventLink:l=""})=>(0,o.jsxs)(o.Fragment,{children:[!i&&(0,o.jsx)(Xe,{name:e,fullAddress:t,phoneNumber:n,website:r}),i&&(0,o.jsx)($e,{onlineEventLinkDefault:l})]});t()(()=>{let e=document.querySelectorAll('[data-gatherpress_block_name="venue"]');for(const c of e){var t,r,i,l,a,s;const e=JSON.parse(c.dataset.gatherpress_block_attrs);(0,n.createRoot)(c).render((0,o.jsx)(Ke,{name:null!==(t=e.name)&&void 0!==t?t:"",fullAddress:null!==(r=e.fullAddress)&&void 0!==r?r:"",phoneNumber:null!==(i=e.phoneNumber)&&void 0!==i?i:"",website:null!==(l=e.website)&&void 0!==l?l:"",isOnlineEventTerm:null!==(a=e.isOnlineEventTerm)&&void 0!==a&&a,onlineEventLink:null!==(s=e.onlineEventLink)&&void 0!==s?s:""}))}e=document.querySelectorAll('[data-gatherpress_block_name="map-embed"]');for(const t of e){const e=JSON.parse(t.dataset.gatherpress_block_attrs);e.isOnlineEventTerm||(0,n.createRoot)(t).render((0,o.jsx)(m,{location:e.fullAddress,latitude:e.latitude,longitude:e.longitude,zoom:e.mapZoomLevel,type:e.mapType,height:e.mapHeight}))}})})()})();