(function(e){e()})(function(){var e=Object.defineProperty,t=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(e){throw n=[e],e}},n=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),r=(t,n)=>{let r={};for(var i in t)e(r,i,{get:t[i],enumerable:!0});return n||e(r,Symbol.toStringTag,{value:`Module`}),r},i,a=t((()=>{i={debug:(...e)=>console.debug(`[widgets-core]`,...e),info:(...e)=>console.info(`[widgets-core]`,...e),warn:(...e)=>console.warn(`[widgets-core]`,...e),error:(...e)=>console.error(`[widgets-core]`,...e)}})),o,s,c=t((()=>{o=function(e){return e.godaddy=`godaddy`,e.salesforce=`salesforce`,e.wix=`wix`,e.unknown=`unknown`,e}(o||{}),s=function(e){return e.dynamicElementReplacement=`dynamic`,e}(s||{})})),l,u,d,f,p=t((()=>{a(),c(),l=[`givebutter.test`,`legendairy.xyz`,`givebutter.com`,`churn.butterslice.tech`],u=e=>{try{let{hostname:t}=new URL(e);return l.some(e=>t===e||t.endsWith(`.${e}`))}catch(e){return!1}},d={aid:null,platform:o.unknown,mode:``,apiUrl:null},f={get aid(){return d.aid},set aid(e){d.aid=e},get platform(){return d.platform},set platform(e){d.platform=e},get mode(){return d.mode},set mode(e){d.mode=e},get apiUrl(){var e,t;return(e=(t=d.apiUrl)==null?`https://givebutter.com`:t)==null?``:e},set apiUrl(e){if(!u(e)){i.warn(`Invalid apiUrl domain: ${e}`);return}d.apiUrl=e},reset(){d.aid=null,d.platform=o.unknown,d.mode=``,d.apiUrl=null}}})),m,h=t((()=>{p(),m=class{static getQueryParams(e){let t;try{t=new URLSearchParams(new URL(e).search)}catch(n){let r=e.indexOf(`?`)+1,i=e.indexOf(`#`)===-1?e.length:e.indexOf(`#`);t=new URLSearchParams(e.substring(r,i))}let n={};for(let[e,r]of t.entries())n[e]=r;return n}static isValidEmbedUrl(e){return e.startsWith(f.apiUrl)}static isCurrentHostnameGivebutter(){for(let e of[`givebutter.com`,`givebutter.test`,`churn.butterslice.tech`])if(window.location.hostname.endsWith(e))return!0;return!1}static isPreviewHostAllowed(){let e=[`sanity.io`];if(this.isCurrentHostnameGivebutter())return!0;for(let t of e)if(window.location.hostname.endsWith(t))return!0;return!1}static getParentHostUrl(){try{return window.parent.location.href}catch(e){return null}}}})),g,_,v=t((()=>{p(),a(),c(),h(),g=null,_=class{static captureScriptSrc(e){g=e==null?null:e}static isLocalEnv(){return!1}static isInsideIframe(){return window.top!==window.self}static isWixEditorPreview(){return this.getPlatform()===o.wix&&this.isInsideIframe()}static isGoDaddyBackoffice(){return window.parent.location.hostname.endsWith(`.godaddy.com`)}static isDynamicElementReplacementMode(){return this.getPlatform()===o.salesforce||this.isMode(s.dynamicElementReplacement)}static getAccountId(){if(!f.aid){let e=this.getConfigParam(`acct`);if(e&&typeof e==`string`){let t=decodeURIComponent(e).trim();/^[a-zA-Z0-9]{16}$/.test(t)||this.isLocalEnv()?f.aid=t:i.error(`Invalid ?acct= format: ${t}`)}!f.aid&&!m.isCurrentHostnameGivebutter()&&i.warn(`Could not find ?acct= attribute in script url`)}return f.aid}static getPlatform(){return(!f.platform||f.platform===o.unknown)&&(f.platform=this.getConfigParam(`p`,o.unknown)),f.platform}static isMode(e){if(!f.mode){var t;f.mode=(t=this.getConfigParam(`mode`))==null?``:t}return f.mode.includes(e)}static getConfigParam(e,t=null){var n;let r=(n=g)==null?this.getCurrentScriptSrc():n;if(!r)return t;try{var i;return(i=new URL(r).searchParams.get(e))==null?t:i}catch(e){return t}}static getCurrentScriptSrc(){let e=document.currentScript;return e instanceof HTMLScriptElement?e.src:null}}})),y,b,x=t((()=>{a(),y=()=>{try{var e;return(e=window.localStorage)==null?null:e}catch(e){return null}},b=class{static loadObjectFromLocalStorage(e,t){let n=y();if(!n)return i.warn(`localStorage is not available. Can't load data.`),{};try{let r=n.getItem(e);return t?JSON.parse(r==null?`{}`:r):{}}catch(e){return i.error(e),{}}}static saveObjectToLocalStorage(e,t){let n=y();if(!n)return i.warn(`localStorage is not available. Can't save data.`),!1;try{return n.setItem(e,JSON.stringify(t)),!0}catch(e){return i.error(e),!1}}}}));function S(e){"@babel/helpers - typeof";return S=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},S(e)}var C=t((()=>{}));function w(e,t){if(S(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(S(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var T=t((()=>{C()}));function E(e){var t=w(e,`string`);return S(t)==`symbol`?t:t+``}var D=t((()=>{C(),T()}));function ee(e,t,n){return(t=E(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var te=t((()=>{D()}));function ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?ne(Object(n),!0).forEach(function(t){ee(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ne(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var k=t((()=>{te()})),A,j,re,M=t((()=>{v(),x(),a(),h(),k(),A=`givebutter.analytics:0.0.0`,j={maxAge:1440*30,qsPrefix:`gba_`,temporaryKeyPrefix:`tmp_`,qsThirdPartyKeys:[`utm_source`,`utm_medium`,`utm_campaign`,`utm_term`,`utm_content`,`gclid`,`wbraid`,`gbraid`,`gclsrc`,`dclid`,`fbclid`],widgetFormKeys:[`amount`,`frequency`,`fund`,`promo`]},re=class{constructor(){this._filterTemporaryKeys=function(e){e=O({},e);for(let t of Object.keys(e))t.startsWith(`gb.element.`)&&(_.isLocalEnv()&&i.debug(`_filterTemporaryKeys) Filtering `+t),delete e[t]),t.toLowerCase().startsWith(j.temporaryKeyPrefix)&&(_.isLocalEnv()&&i.debug(`_filterTemporaryKeys) Filtering `+t),delete e[t]);return e},this.analyticsData={},this.loadFromStorage(),this.cleanup(),this.loadFromUrl(window.location.href)}getQueryString(){let e=this.getAll();return Object.keys(e).length===0?``:this.objToQueryString(e,null)}loadFromStorage(){this.analyticsData=b.loadObjectFromLocalStorage(A,this.analyticsData)}set(e,t){let n=Date.now();return e=e.toLowerCase(),this.analyticsData[e]={v:t,c:n,e:n+j.maxAge*60*1e3},this.saveToStorage()}remove(e){delete this.analyticsData[e],this.saveToStorage()}cleanup(){let e=Date.now(),t=!1;for(let n in this.analyticsData)if(this.analyticsData[n].e<=e){_.isLocalEnv()&&i.debug(`cleanup() Key '`+n+`' expired at `+this.analyticsData[n].e+` (`+(this.analyticsData[n].e-e)+`)`),delete this.analyticsData[n],t=!0;break}return t?(this.saveToStorage(),!0):!1}saveToStorage(){_.isLocalEnv()&&i.debug(`saveToStorage() - userAllowsTracking = false`);let e=this._filterTemporaryKeys(this.analyticsData);return b.saveObjectToLocalStorage(A,e)}loadFromUrl(e){let t=m.getQueryParams(e);for(let e in t)if(e.toLowerCase().startsWith(j.qsPrefix)){let n=t[e];_.isLocalEnv()&&i.debug(`loadFromUrl() qsPrefix match: `+e+` = `+n),this.set(e,n)}for(let e of j.qsThirdPartyKeys)t.hasOwnProperty(e)&&(_.isLocalEnv()&&i.debug(`loadFromUrl() qsThirdPartyKeys match: `+e+` = `+t[e]),this.set(e,t[e]));for(let e of j.widgetFormKeys)t.hasOwnProperty(e)?(_.isLocalEnv()&&i.debug(`loadFromUrl() widgetFormKeys match: `+e+` = `+t[e]),this.set(e,t[e])):this.analyticsData.hasOwnProperty(e)&&this.remove(e)}getAll(){let e=Date.now(),t={};for(let n in this.analyticsData)this.analyticsData[n].e>=e&&(t[n]=this.analyticsData[n].v);return t}serializeKey(e,t){return e&&e.length>0?`${e}.${t}`:t}objToQueryString(e,t=null){let n=[];for(let r in e)if(e.hasOwnProperty(r)){let i=t?this.serializeKey(t,r):r,a=e[r];n.push(typeof a==`object`&&a?this.objToQueryString(a,i):`${encodeURIComponent(i)}=${encodeURIComponent(a)}`)}return n.join(`&`)}}})),N,ie,ae=t((()=>{p(),M(),N={init:!1,analytics:null},ie={get init(){return N.init},set init(e){N.init=e},get analytics(){return N.analytics||(N.analytics=new re),N.analytics},get aid(){return f.aid},set aid(e){f.aid=e},get platform(){return f.platform},set platform(e){f.platform=e},get mode(){return f.mode},set mode(e){f.mode=e},get apiUrl(){return f.apiUrl},set apiUrl(e){f.apiUrl=e},reset(){N.init=!1,N.analytics=null,f.reset()}}}));function oe(e,t,n,r,i,a,o){try{var s=e[a](o),c=s.value}catch(e){n(e);return}s.done?t(c):Promise.resolve(c).then(r,i)}function P(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var a=e.apply(t,n);function o(e){oe(a,r,i,o,s,`next`,e)}function s(e){oe(a,r,i,o,s,`throw`,e)}o(void 0)})}}var F=t((()=>{})),se,ce,I,le,L,R,z,ue,de,B,fe,pe,me=t((()=>{ae(),v(),F(),se=`https://widgets.givebutter.com`,ce=()=>`${ie.apiUrl}/elements/api/v2`,I=204,le=class extends Error{constructor(e,t,n){super(e),this.url=t,this.response=n}},L=function(){var e=P(function*(e,t){let n=decodeURIComponent(t).trim();if(!(/^[a-zA-Z0-9]{6,}$/.test(n)||n===`signup-form-demo`))return{};let r=_.isWixEditorPreview()?`?_=${Date.now()}&preview_image=1`:``;return yield fe(`${e}/elements/${n}${r}`)});return function(t,n){return e.apply(this,arguments)}}(),R=function(){var e=P(function*(e,t){return yield fe(`${e}/campaigns/${t}`)});return function(t,n){return e.apply(this,arguments)}}(),z=function(){var e=P(function*(e,t){return yield fe(`${e}/campaigns/${t}/goal-status`)});return function(t,n){return e.apply(this,arguments)}}(),function(){var e=P(function*(e,t,n=`members`,r=5){return yield fe(`${e}/campaigns/${t}/leaderboard?type=${encodeURIComponent(n)}&limit=${encodeURIComponent(String(r))}`)});return function(t,n){return e.apply(this,arguments)}}(),function(){var e=P(function*(e,t,n=6){return yield fe(`${e}/campaigns/${t}/tickets?limit=${encodeURIComponent(String(n))}`)});return function(t,n){return e.apply(this,arguments)}}(),ue=function(){var e=P(function*(){if(_.isWixEditorPreview())return;let e=_.getAccountId();if(e)return yield pe(`ping/${e}`)});return function(){return e.apply(this,arguments)}}(),de=e=>({status:e.status,statusText:e.statusText,headers:[...e.headers.entries()].reduce((e,[t,n])=>(e[t]=n,e),{})}),B=function(){var e=P(function*(e){let t=yield fetch(e),n=de(t);if(!t.ok)throw new le(`HTTP error with status: ${t.status}`,e,n);return t.status===I?{}:t.json()});return function(t){return e.apply(this,arguments)}}(),fe=function(){var e=P(function*(e){let t=`${ce()}/${e}`;return yield B(t)});return function(t){return e.apply(this,arguments)}}(),pe=function(){var e=P(function*(e){let t=`${se}/${e}`;return yield B(t)});return function(t){return e.apply(this,arguments)}}()}));function he(){let e=()=>{document.querySelectorAll(`[data-gb-widget-id]`).forEach(e=>{let t=e.getAttribute(`data-gb-widget-id`);if(e.parentNode&&t){let n=document.createElement(`givebutter-widget`);n.setAttribute(`id`,t),e.parentNode.replaceChild(n,e)}})};e();let t=new MutationObserver(t=>{t.forEach(t=>{t.addedNodes.forEach(t=>{t instanceof Element&&(t.hasAttribute(`data-gb-widget-id`)||t.querySelector(`[data-gb-widget-id]`))&&e()})})});t.observe(document,{childList:!0,subtree:!0}),window.addEventListener(`pagehide`,()=>t.disconnect())}function ge(){document.querySelectorAll(`[data-gb-account][data-gb-campaign]`).forEach(function(e){if(e.hasAttribute(`data-gb-processed`))return;e.setAttribute(`data-gb-processed`,`true`);let t=e.getAttribute(`data-gb-account`),n=e.getAttribute(`data-gb-campaign`),r=e.getAttribute(`data-gb-type`);if(!t||!n){i.error(`Missing data-gb-account or data-gb-campaign attributes.`);return}let a;r!==`link`&&(a=document.createElement(`givebutter-button`),a.setAttribute(`account`,t),a.setAttribute(`campaign`,n),a.setAttribute(`hide-button`,`true`),document.body.appendChild(a),ye.push(a));let o=function(e){if(e.preventDefault(),r===`link`)window.location.href=`${ie.apiUrl}/c/${n}?source=widgets`;else{var t;(t=a.shadowRoot)==null||(t=t.querySelector(`button`))==null||t.click()}};e.addEventListener(`click`,o),ve.push({element:e,type:`click`,listener:o})})}function _e(){_.isDynamicElementReplacementMode()&&he(),ge()}var ve,ye,be,V,xe,Se=t((()=>{ae(),v(),a(),ve=[],ye=[],be=()=>{_e(),[`DOMContentLoaded`,`popstate`,`hashchange`].forEach(e=>{window.addEventListener(e,_e)}),window.addEventListener(`pagehide`,function(){ve.forEach(({element:e,type:t,listener:n})=>{e.removeEventListener(t,n)}),ye.forEach(e=>{document.body.removeChild(e)})})},V=()=>{let e=document.currentScript;if(e){let t=window.parent.document;if(!Array.from(t.querySelectorAll(`script`)).find(t=>t.src===e.src)){let n=window.parent.document.createElement(`script`);n.defer=!0,n.src=e.src,t.head.appendChild(n)}e.remove()}},xe=(e,t)=>{let n=e==null?void 0:e.parentElement;for(;n;){if(n.classList.contains(t))return n;n=n.parentElement}return i.error(`Could not find ancestor element with class ${t}`),null}})),Ce,we,Te,Ee,De,Oe,ke,Ae,je,Me=t((()=>{Ce=globalThis,we=Ce.ShadowRoot&&(Ce.ShadyCSS===void 0||Ce.ShadyCSS.nativeShadow)&&`adoptedStyleSheets`in Document.prototype&&`replace`in CSSStyleSheet.prototype,Te=Symbol(),Ee=new WeakMap,De=class{constructor(e,t,n){if(this._$cssResult$=!0,n!==Te)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if(we&&e===void 0){let n=t!==void 0&&t.length===1;n&&(e=Ee.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Ee.set(t,e))}return e}toString(){return this.cssText}},Oe=e=>new De(typeof e==`string`?e:e+``,void 0,Te),ke=(e,...t)=>{let n=e.length===1?e[0]:t.reduce((t,n,r)=>t+(e=>{if(!0===e._$cssResult$)return e.cssText;if(typeof e==`number`)return e;throw Error(`Value passed to 'css' function must be a 'css' function result: `+e+`. Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.`)})(n)+e[r+1],e[0]);return new De(n,e,Te)},Ae=(e,t)=>{if(we)e.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let n of t){let t=document.createElement(`style`),r=Ce.litNonce;r!==void 0&&t.setAttribute(`nonce`,r),t.textContent=n.cssText,e.appendChild(t)}},je=we?e=>e:e=>e instanceof CSSStyleSheet?(e=>{let t=``;for(let n of e.cssRules)t+=n.cssText;return Oe(t)})(e):e})),Ne,Pe,Fe,Ie,Le,Re,ze,Be,Ve,He,Ue,We,Ge,Ke,qe,Je,H,Ye=t((()=>{Me(),F(),{is:Fe,defineProperty:Ie,getOwnPropertyDescriptor:Le,getOwnPropertyNames:Re,getOwnPropertySymbols:ze,getPrototypeOf:Be}=Object,Ve=globalThis,He=Ve.trustedTypes,Ue=He?He.emptyScript:``,We=Ve.reactiveElementPolyfillSupport,Ge=(e,t)=>e,Ke={toAttribute(e,t){switch(t){case Boolean:e=e?Ue:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let n=e;switch(t){case Boolean:n=e!==null;break;case Number:n=e===null?null:Number(e);break;case Object:case Array:try{n=JSON.parse(e)}catch(e){n=null}}return n}},qe=(e,t)=>!Fe(e,t),Je={attribute:!0,type:String,converter:Ke,reflect:!1,useDefault:!1,hasChanged:qe},(Ne=Symbol).metadata!=null||(Ne.metadata=Symbol(`metadata`)),Ve.litPropertyMetadata!=null||(Ve.litPropertyMetadata=new WeakMap),H=class extends HTMLElement{static addInitializer(e){var t;this._$Ei(),((t=this.l)==null?this.l=[]:t).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=Je){if(t.state&&(t.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((t=Object.create(t)).wrapped=!0),this.elementProperties.set(e,t),!t.noAccessor){let n=Symbol(),r=this.getPropertyDescriptor(e,n,t);r!==void 0&&Ie(this.prototype,e,r)}}static getPropertyDescriptor(e,t,n){var r;let{get:i,set:a}=(r=Le(this.prototype,e))==null?{get(){return this[t]},set(e){this[t]=e}}:r;return{get:i,set(t){let r=i==null?void 0:i.call(this);a==null||a.call(this,t),this.requestUpdate(e,r,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){var t;return(t=this.elementProperties.get(e))==null?Je:t}static _$Ei(){if(this.hasOwnProperty(Ge(`elementProperties`)))return;let e=Be(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Ge(`finalized`)))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ge(`properties`))){let e=this.properties,t=[...Re(e),...ze(e)];for(let n of t)this.createProperty(n,e[n])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[e,n]of t)this.elementProperties.set(e,n)}this._$Eh=new Map;for(let[e,t]of this.elementProperties){let n=this._$Eu(e,t);n!==void 0&&this._$Eh.set(n,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let e of n)t.unshift(je(e))}else e!==void 0&&t.push(je(e));return t}static _$Eu(e,t){let n=t.attribute;return!1===n?void 0:typeof n==`string`?n:typeof e==`string`?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var e;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(e=this.constructor.l)==null||e.forEach(e=>e(this))}addController(e){var t,n;((t=this._$EO)==null?this._$EO=new Set:t).add(e),this.renderRoot!==void 0&&this.isConnected&&((n=e.hostConnected)==null||n.call(e))}removeController(e){var t;(t=this._$EO)==null||t.delete(e)}_$E_(){let e=new Map,t=this.constructor.elementProperties;for(let n of t.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){var e;let t=(e=this.shadowRoot)==null?this.attachShadow(this.constructor.shadowRootOptions):e;return Ae(t,this.constructor.elementStyles),t}connectedCallback(){var e;this.renderRoot!=null||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$EO)==null||e.forEach(e=>{var t;return(t=e.hostConnected)==null?void 0:t.call(e)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$EO)==null||e.forEach(e=>{var t;return(t=e.hostDisconnected)==null?void 0:t.call(e)})}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$ET(e,t){let n=this.constructor.elementProperties.get(e),r=this.constructor._$Eu(e,n);if(r!==void 0&&!0===n.reflect){var i;let a=(((i=n.converter)==null?void 0:i.toAttribute)===void 0?Ke:n.converter).toAttribute(t,n.type);this._$Em=e,a==null?this.removeAttribute(r):this.setAttribute(r,a),this._$Em=null}}_$AK(e,t){let n=this.constructor,r=n._$Eh.get(e);if(r!==void 0&&this._$Em!==r){var i,a,o;let e=n.getPropertyOptions(r),s=typeof e.converter==`function`?{fromAttribute:e.converter}:((i=e.converter)==null?void 0:i.fromAttribute)===void 0?Ke:e.converter;this._$Em=r;let c=s.fromAttribute(t,e.type);this[r]=(a=c==null?(o=this._$Ej)==null?void 0:o.get(r):c)==null?c:a,this._$Em=null}}requestUpdate(e,t,n,r=!1,i){if(e!==void 0){var a,o;let s=this.constructor;if(!1===r&&(i=this[e]),n!=null||(n=s.getPropertyOptions(e)),!(((a=n.hasChanged)==null?qe:a)(i,t)||n.useDefault&&n.reflect&&i===((o=this._$Ej)==null?void 0:o.get(e))&&!this.hasAttribute(s._$Eu(e,n))))return;this.C(e,t,n)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(e,t,{useDefault:n,reflect:r,wrapped:i},a){var o,s,c;n&&!((o=this._$Ej)==null?this._$Ej=new Map:o).has(e)&&(this._$Ej.set(e,(s=a==null?t:a)==null?this[e]:s),!0!==i||a!==void 0)||(this._$AL.has(e)||(this.hasUpdated||n||(t=void 0),this._$AL.set(e,t)),!0===r&&this._$Em!==e&&((c=this._$Eq)==null?this._$Eq=new Set:c).add(e))}_$EP(){var e=this;return P(function*(){e.isUpdatePending=!0;try{yield e._$ES}catch(e){Promise.reject(e)}let t=e.scheduleUpdate();return t!=null&&(yield t),!e.isUpdatePending})()}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot!=null||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(let[e,t]of this._$Ep)this[e]=t;this._$Ep=void 0}let e=this.constructor.elementProperties;if(e.size>0)for(let[t,n]of e){let{wrapped:e}=n,r=this[t];!0!==e||this._$AL.has(t)||r===void 0||this.C(t,void 0,n,r)}}let e=!1,t=this._$AL;try{var n;e=this.shouldUpdate(t),e?(this.willUpdate(t),(n=this._$EO)==null||n.forEach(e=>{var t;return(t=e.hostUpdate)==null?void 0:t.call(e)}),this.update(t)):this._$EM()}catch(t){throw e=!1,this._$EM(),t}e&&this._$AE(t)}willUpdate(e){}_$AE(e){var t;(t=this._$EO)==null||t.forEach(e=>{var t;return(t=e.hostUpdated)==null?void 0:t.call(e)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&(this._$Eq=this._$Eq.forEach(e=>this._$ET(e,this[e]))),this._$EM()}updated(e){}firstUpdated(e){}},H.elementStyles=[],H.shadowRootOptions={mode:`open`},H[Ge(`elementProperties`)]=new Map,H[Ge(`finalized`)]=new Map,We==null||We({ReactiveElement:H}),((Pe=Ve.reactiveElementVersions)==null?Ve.reactiveElementVersions=[]:Pe).push(`2.1.2`)}));function Xe(e,t){if(!ut(e)||!e.hasOwnProperty(`raw`))throw Error(`invalid template strings array`);return nt===void 0?t:nt.createHTML(t)}function Ze(e,t,n=e,r){var i,a,o;if(t===xt)return t;let s=r===void 0?n._$Cl:(i=n._$Co)==null?void 0:i[r],c=lt(t)?void 0:t._$litDirective$;return(s==null?void 0:s.constructor)!==c&&(s==null||(a=s._$AO)==null||a.call(s,!1),c===void 0?s=void 0:(s=new c(e),s._$AT(e,n,r)),r===void 0?n._$Cl=s:((o=n._$Co)==null?n._$Co=[]:o)[r]=s),s!==void 0&&(t=Ze(e,s._$AS(e,t.values),s,r)),t}var Qe,$e,et,tt,nt,rt,it,at,ot,st,ct,lt,ut,dt,ft,pt,mt,ht,gt,_t,vt,yt,bt,U,xt,W,St,Ct,wt,Tt,Et,Dt,Ot,kt,At,jt,Mt,Nt,Pt,Ft,It=t((()=>{$e=globalThis,et=e=>e,tt=$e.trustedTypes,nt=tt?tt.createPolicy(`lit-html`,{createHTML:e=>e}):void 0,rt=`$lit$`,it=`lit$${Math.random().toFixed(9).slice(2)}$`,at=`?`+it,ot=`<${at}>`,st=document,ct=()=>st.createComment(``),lt=e=>e===null||typeof e!=`object`&&typeof e!=`function`,ut=Array.isArray,dt=e=>ut(e)||typeof(e==null?void 0:e[Symbol.iterator])==`function`,ft=`[ 	
\f\r]`,pt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,mt=/-->/g,ht=/>/g,gt=RegExp(`>|${ft}(?:([^\\s"'>=/]+)(${ft}*=${ft}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,`g`),_t=/'/g,vt=/"/g,yt=/^(?:script|style|textarea|title)$/i,bt=e=>(t,...n)=>({_$litType$:e,strings:t,values:n}),U=bt(1),bt(2),bt(3),xt=Symbol.for(`lit-noChange`),W=Symbol.for(`lit-nothing`),St=new WeakMap,Ct=st.createTreeWalker(st,129),wt=(e,t)=>{let n=e.length-1,r=[],i,a=t===2?`<svg>`:t===3?`<math>`:``,o=pt;for(let t=0;t<n;t++){var s;let n=e[t],c,l,u=-1,d=0;for(;d<n.length&&(o.lastIndex=d,l=o.exec(n),l!==null);)d=o.lastIndex,o===pt?l[1]===`!--`?o=mt:l[1]===void 0?l[2]===void 0?l[3]!==void 0&&(o=gt):(yt.test(l[2])&&(i=RegExp(`</`+l[2],`g`)),o=gt):o=ht:o===gt?l[0]===`>`?(o=(s=i)==null?pt:s,u=-1):l[1]===void 0?u=-2:(u=o.lastIndex-l[2].length,c=l[1],o=l[3]===void 0?gt:l[3]===`"`?vt:_t):o===vt||o===_t?o=gt:o===mt||o===ht?o=pt:(o=gt,i=void 0);let f=o===gt&&e[t+1].startsWith(`/>`)?` `:``;a+=o===pt?n+ot:u>=0?(r.push(c),n.slice(0,u)+rt+n.slice(u)+it+f):n+it+(u===-2?t:f)}return[Xe(e,a+(e[n]||`<?>`)+(t===2?`</svg>`:t===3?`</math>`:``)),r]},Tt=class e{constructor({strings:t,_$litType$:n},r){let i;this.parts=[];let a=0,o=0,s=t.length-1,c=this.parts,[l,u]=wt(t,n);if(this.el=e.createElement(l,r),Ct.currentNode=this.el.content,n===2||n===3){let e=this.el.content.firstChild;e.replaceWith(...e.childNodes)}for(;(i=Ct.nextNode())!==null&&c.length<s;){if(i.nodeType===1){if(i.hasAttributes())for(let e of i.getAttributeNames())if(e.endsWith(rt)){let t=u[o++],n=i.getAttribute(e).split(it),r=/([.?@])?(.*)/.exec(t);c.push({type:1,index:a,name:r[2],strings:n,ctor:r[1]===`.`?kt:r[1]===`?`?At:r[1]===`@`?jt:Ot}),i.removeAttribute(e)}else e.startsWith(it)&&(c.push({type:6,index:a}),i.removeAttribute(e));if(yt.test(i.tagName)){let e=i.textContent.split(it),t=e.length-1;if(t>0){i.textContent=tt?tt.emptyScript:``;for(let n=0;n<t;n++)i.append(e[n],ct()),Ct.nextNode(),c.push({type:2,index:++a});i.append(e[t],ct())}}}else if(i.nodeType===8)if(i.data===at)c.push({type:2,index:a});else{let e=-1;for(;(e=i.data.indexOf(it,e+1))!==-1;)c.push({type:7,index:a}),e+=it.length-1}a++}}static createElement(e,t){let n=st.createElement(`template`);return n.innerHTML=e,n}},Et=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){var t;let{el:{content:n},parts:r}=this._$AD,i=((t=e==null?void 0:e.creationScope)==null?st:t).importNode(n,!0);Ct.currentNode=i;let a=Ct.nextNode(),o=0,s=0,c=r[0];for(;c!==void 0;){if(o===c.index){let t;c.type===2?t=new Dt(a,a.nextSibling,this,e):c.type===1?t=new c.ctor(a,c.name,c.strings,this,e):c.type===6&&(t=new Mt(a,this,e)),this._$AV.push(t),c=r[++s]}o!==(c==null?void 0:c.index)&&(a=Ct.nextNode(),o++)}return Ct.currentNode=st,i}p(e){let t=0;for(let n of this._$AV)n!==void 0&&(n.strings===void 0?n._$AI(e[t]):(n._$AI(e,n,t),t+=n.strings.length-2)),t++}},Dt=class e{get _$AU(){var e,t;return(e=(t=this._$AM)==null?void 0:t._$AU)==null?this._$Cv:e}constructor(e,t,n,r){var i;this.type=2,this._$AH=W,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=n,this.options=r,this._$Cv=(i=r==null?void 0:r.isConnected)==null?!0:i}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=Ze(this,e,t),lt(e)?e===W||e==null||e===``?(this._$AH!==W&&this._$AR(),this._$AH=W):e!==this._$AH&&e!==xt&&this._(e):e._$litType$===void 0?e.nodeType===void 0?dt(e)?this.k(e):this._(e):this.T(e):this.$(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==W&&lt(this._$AH)?this._$AA.nextSibling.data=e:this.T(st.createTextNode(e)),this._$AH=e}$(e){var t;let{values:n,_$litType$:r}=e,i=typeof r==`number`?this._$AC(e):(r.el===void 0&&(r.el=Tt.createElement(Xe(r.h,r.h[0]),this.options)),r);if(((t=this._$AH)==null?void 0:t._$AD)===i)this._$AH.p(n);else{let e=new Et(i,this),t=e.u(this.options);e.p(n),this.T(t),this._$AH=e}}_$AC(e){let t=St.get(e.strings);return t===void 0&&St.set(e.strings,t=new Tt(e)),t}k(t){ut(this._$AH)||(this._$AH=[],this._$AR());let n=this._$AH,r,i=0;for(let a of t)i===n.length?n.push(r=new e(this.O(ct()),this.O(ct()),this,this.options)):r=n[i],r._$AI(a),i++;i<n.length&&(this._$AR(r&&r._$AB.nextSibling,i),n.length=i)}_$AR(e=this._$AA.nextSibling,t){var n;for((n=this._$AP)==null||n.call(this,!1,!0,t);e!==this._$AB;){let t=et(e).nextSibling;et(e).remove(),e=t}}setConnected(e){var t;this._$AM===void 0&&(this._$Cv=e,(t=this._$AP)==null||t.call(this,e))}},Ot=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,n,r,i){this.type=1,this._$AH=W,this._$AN=void 0,this.element=e,this.name=t,this._$AM=r,this.options=i,n.length>2||n[0]!==``||n[1]!==``?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=W}_$AI(e,t=this,n,r){let i=this.strings,a=!1;if(i===void 0)e=Ze(this,e,t,0),a=!lt(e)||e!==this._$AH&&e!==xt,a&&(this._$AH=e);else{var o;let r=e,s,c;for(e=i[0],s=0;s<i.length-1;s++)c=Ze(this,r[n+s],t,s),c===xt&&(c=this._$AH[s]),a||(a=!lt(c)||c!==this._$AH[s]),c===W?e=W:e!==W&&(e+=((o=c)==null?``:o)+i[s+1]),this._$AH[s]=c}a&&!r&&this.j(e)}j(e){e===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e==null?``:e)}},kt=class extends Ot{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===W?void 0:e}},At=class extends Ot{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==W)}},jt=class extends Ot{constructor(e,t,n,r,i){super(e,t,n,r,i),this.type=5}_$AI(e,t=this){var n;if((e=(n=Ze(this,e,t,0))==null?W:n)===xt)return;let r=this._$AH,i=e===W&&r!==W||e.capture!==r.capture||e.once!==r.once||e.passive!==r.passive,a=e!==W&&(r===W||i);i&&this.element.removeEventListener(this.name,this,r),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t,n;typeof this._$AH==`function`?this._$AH.call((t=(n=this.options)==null?void 0:n.host)==null?this.element:t,e):this._$AH.handleEvent(e)}},Mt=class{constructor(e,t,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Ze(this,e)}},Nt={M:rt,P:it,A:at,C:1,L:wt,R:Et,D:dt,V:Ze,I:Dt,H:Ot,N:At,U:jt,B:kt,F:Mt},Pt=$e.litHtmlPolyfillSupport,Pt==null||Pt(Tt,Dt),((Qe=$e.litHtmlVersions)==null?$e.litHtmlVersions=[]:Qe).push(`3.3.2`),Ft=(e,t,n)=>{var r;let i=(r=n==null?void 0:n.renderBefore)==null?t:r,a=i._$litPart$;if(a===void 0){var o;let e=(o=n==null?void 0:n.renderBefore)==null?null:o;i._$litPart$=a=new Dt(t.insertBefore(ct(),e),e,void 0,n==null?{}:n)}return a._$AI(e),a}})),Lt,Rt,zt,Bt,Vt,Ht=t((()=>{Ye(),Ye(),It(),It(),zt=globalThis,Bt=class extends H{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e;let t=super.createRenderRoot();return(e=this.renderOptions).renderBefore!=null||(e.renderBefore=t.firstChild),t}update(e){let t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Ft(t,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),(e=this._$Do)==null||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this._$Do)==null||e.setConnected(!1)}render(){return xt}},Bt._$litElement$=!0,Bt.finalized=!0,(Lt=zt.litElementHydrateSupport)==null||Lt.call(zt,{LitElement:Bt}),Vt=zt.litElementPolyfillSupport,Vt==null||Vt({LitElement:Bt}),((Rt=zt.litElementVersions)==null?zt.litElementVersions=[]:Rt).push(`4.2.2`)})),Ut=t((()=>{})),Wt=t((()=>{Ye(),It(),Ht(),Ut()})),Gt,Kt=t((()=>{Wt(),Gt=ke`
  body > *[inert] {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
  }

  body.overlays-scroll-lock {
    overflow: hidden;
  }

  body.overlays-scroll-lock-ios-fix {
    position: fixed;
    width: 100%;
  }

  html.overlays-scroll-lock-ios-fix {
    height: 100vh;
  }
`})),qt,Jt,Yt=t((()=>{Kt(),qt={isIOS:/iPhone|iPad|iPod/i.test(navigator.userAgent),isMacSafari:navigator.vendor&&navigator.vendor.indexOf(`Apple`)>-1&&navigator.userAgent&&navigator.userAgent.indexOf(`CriOS`)===-1&&navigator.userAgent.indexOf(`FxiOS`)===-1&&navigator.appVersion.indexOf(`Mac`)!==-1},Jt=class e{static __createGlobalStyleNode(){let e=document.createElement(`style`);return e.setAttribute(`data-overlays`,``),e.textContent=Gt.cssText,document.head.appendChild(e),e}get list(){return this.__list}get shownList(){return this.__shownList}constructor(){this.__list=[],this.__shownList=[],this.__siblingsInert=!1,this.__blockingMap=new WeakMap,e.__globalStyleNode||(e.__globalStyleNode=e.__createGlobalStyleNode())}add(e){if(this.list.find(t=>e===t))throw Error(`controller instance is already added`);return this.list.push(e),e}remove(e){if(!this.list.find(t=>e===t))throw Error(`could not find controller to remove`);this.__list=this.list.filter(t=>t!==e),this.__shownList=this.shownList.filter(t=>t!==e)}show(e){this.list.find(t=>e===t)&&this.hide(e),this.__shownList.unshift(e),Array.from(this.__shownList).reverse().forEach((e,t)=>{e.elevation=t+1})}hide(e){if(!this.list.find(t=>e===t))throw Error(`could not find controller to hide`);this.__shownList=this.shownList.filter(t=>t!==e)}teardown(){this.list.forEach(e=>{e.teardown()}),this.__list=[],this.__shownList=[],this.__siblingsInert=!1,e.__globalStyleNode&&(document.head.removeChild(e.__globalStyleNode),e.__globalStyleNode=void 0)}get siblingsInert(){return this.__siblingsInert}disableTrapsKeyboardFocusForAll(){this.shownList.forEach(e=>{e.trapsKeyboardFocus===!0&&e.disableTrapsKeyboardFocus&&e.disableTrapsKeyboardFocus({findNewTrap:!1})})}informTrapsKeyboardFocusGotEnabled(e){this.siblingsInert===!1&&e===`global`&&(this.__siblingsInert=!0)}informTrapsKeyboardFocusGotDisabled({disabledCtrl:e,findNewTrap:t=!0}={}){let n=this.shownList.find(t=>t!==e&&t.trapsKeyboardFocus===!0);n?t&&n.enableTrapsKeyboardFocus():this.siblingsInert===!0&&(this.__siblingsInert=!1)}requestToPreventScroll(){let{isIOS:e,isMacSafari:t}=qt;document.body.classList.add(`overlays-scroll-lock`),(e||t)&&document.body.classList.add(`overlays-scroll-lock-ios-fix`),e&&document.documentElement.classList.add(`overlays-scroll-lock-ios-fix`)}requestToEnableScroll(){if(this.shownList.some(e=>e.preventsScroll===!0))return;let{isIOS:e,isMacSafari:t}=qt;document.body.classList.remove(`overlays-scroll-lock`),(e||t)&&document.body.classList.remove(`overlays-scroll-lock-ios-fix`),e&&document.documentElement.classList.remove(`overlays-scroll-lock-ios-fix`)}requestToShowOnly(e){let t=this.shownList.filter(t=>t!==e);t.forEach(e=>e.hide()),this.__blockingMap.set(e,t)}retractRequestToShowOnly(e){this.__blockingMap.has(e)&&this.__blockingMap.get(e).forEach(e=>e.show())}},Jt.__globalStyleNode=void 0})),Xt,Zt,Qt,$t=t((()=>{Xt=Symbol.for(`lion::SingletonManagerClassStorage`),Zt=globalThis||window,Qt=class{constructor(){this._map=Zt[Xt]?Zt[Xt]:Zt[Xt]=new Map}set(e,t){this.has(e)||this._map.set(e,t)}get(e){return this._map.get(e)}has(e){return this._map.has(e)}}})),en,tn=t((()=>{$t(),en=new Qt})),nn,rn=t((()=>{tn(),Yt(),nn=en.get(`@lion/ui::overlays::0.x`)||new Jt}));function an(){let e=document.activeElement||document.body;for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e}var on=t((()=>{}));function sn(e){if(!e||!e.isConnected||!cn(e.style))return!1;let t=window.getComputedStyle(e);return cn(t)?ln(t)?!0:!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length):!1}var cn,ln,un=t((()=>{cn=({visibility:e,display:t})=>e!==`hidden`&&t!==`none`,ln=({display:e})=>e===`contents`}));function dn(e,t){let n=Math.max(e.tabIndex,0),r=Math.max(t.tabIndex,0);return n===0||r===0?r>n:n>r}function fn(e,t){let n=[];for(;e.length>0&&t.length>0;)dn(e[0],t[0])?n.push(t.shift()):n.push(e.shift());return[...n,...e,...t]}function pn(e){let t=e.length;if(t<2)return e;let n=Math.ceil(t/2);return fn(pn(e.slice(0,n)),pn(e.slice(n)))}var mn=t((()=>{}));function hn(e){return e[xn](`input, select, textarea, button, object`)?e[xn](`:not([disabled])`):e[xn](`a[href], area[href], iframe, [tabindex], [contentEditable]`)}function gn(e){return hn(e)?Number(e.getAttribute(`tabindex`)||0):-1}function _n(e){if(e.localName===`slot`)return e.assignedNodes({flatten:!0});let{children:t}=e.shadowRoot||e;return t||[]}function vn(e){return e.nodeType===Node.ELEMENT_NODE?e.localName===`slot`?!0:sn(e):!1}function yn(e,t){if(!vn(e))return!1;let n=e,r=gn(n),i=r>0;r>=0&&t.push(n);let a=_n(n);for(let e=0;e<a.length;e+=1)i=yn(a[e],t)||i;return i}function bn(e){let t=[];return yn(e,t)?pn(t):t}var xn,Sn=t((()=>{un(),mn(),xn=`matches`in Element.prototype?`matches`:`msMatchesSelector`}));function Cn(e,t){let n=e.contains(t);if(n)return!0;function r(e){for(let i=0;i<e.children.length;i+=1){let a=e.children[i];if(a.shadowRoot&&Cn(a.shadowRoot,t)){n=!0;break}a.children.length>0&&r(a)}}return e instanceof HTMLElement&&e.shadowRoot&&(n=Cn(e.shadowRoot,t),n)?!0:(r(e),n)}var wn=t((()=>{})),Tn,En=t((()=>{Tn={enter:13,space:32,escape:27,tab:9}}));function Dn(e,t){let n=bn(e),r;r=n.length>=2?[n[0],n[n.length-1]]:n.length===1?[n[0],n[0]]:[e,e],t.shiftKey&&r.reverse();let[i,a]=r,o=an();o===e||n.includes(o)&&a!==o||(t.preventDefault(),i.focus())}function On(e){let t=bn(e),n=t.find(e=>e.hasAttribute(`autofocus`))||e,r,i;n===e&&(e.tabIndex=-1,e.style.setProperty(`outline`,`none`)),n.focus();function a(t){t.keyCode===Tn.tab&&Dn(e,t)}function o(){r=document.createElement(`div`),r.style.display=`none`,r.setAttribute(`data-is-tab-detection-element`,``),e.insertBefore(r,e.children[0]),i=new MutationObserver(t=>{for(let n of t)if(n.type===`childList`){let t=!Array.from(e.children).find(e=>e.hasAttribute(`data-is-tab-detection-element`)),r=Array.from(n.addedNodes).find(e=>e instanceof HTMLElement&&e.hasAttribute(`data-is-tab-detection-element`));t&&!r&&(i.disconnect(),o())}}),i.observe(e,{childList:!0})}function s(){return r.compareDocumentPosition(document.activeElement)===Node.DOCUMENT_POSITION_PRECEDING}function c({resetToRoot:n=!1}={}){if(Cn(e,an()))return;let r;r=n?e:t[s()?0:t.length-1],r&&r.focus()}function l(){window.removeEventListener(`focusin`,l),c()}function u(){setTimeout(()=>{Cn(e,an())||c({resetToRoot:!0})}),window.addEventListener(`focusin`,l)}function d(){window.removeEventListener(`keydown`,a),window.removeEventListener(`focusin`,l),window.removeEventListener(`focusout`,u),i.disconnect(),Array.from(e.children).includes(r)&&e.removeChild(r),e.style.removeProperty(`outline`)}return window.addEventListener(`keydown`,a),window.addEventListener(`focusout`,u),o(),{disconnect:d}}var kn=t((()=>{on(),Sn(),wn(),En()})),An,jn=t((()=>{Wt(),An=ke`
  .overlays {
    position: fixed;
    z-index: 200;
  }

  .overlays__overlay-container {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }

  .overlays__overlay-container::backdrop {
    display: none;
  }

  .overlays__overlay-container--top-left {
    justify-content: flex-start;
    align-items: flex-start;
  }

  .overlays__overlay-container--top {
    justify-content: center;
    align-items: flex-start;
  }

  .overlays__overlay-container--top-right {
    justify-content: flex-end;
    align-items: flex-start;
  }

  .overlays__overlay-container--right {
    justify-content: flex-end;
    align-items: center;
  }

  .overlays__overlay-container--bottom-left {
    justify-content: flex-start;
    align-items: flex-end;
  }

  .overlays__overlay-container--bottom {
    justify-content: center;
    align-items: flex-end;
  }

  .overlays__overlay-container--bottom-right {
    justify-content: flex-end;
    align-items: flex-end;
  }

  .overlays__overlay-container--left {
    justify-content: flex-start;
    align-items: center;
  }

  .overlays__overlay-container--center {
    justify-content: center;
    align-items: center;
  }

  .overlays__overlay--bottom-sheet {
    width: 100%;
  }

  ::slotted(.overlays__overlay),
  .overlays__overlay {
    pointer-events: auto;
  }

  .overlays__backdrop {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #333333;
    display: none;
  }

  .overlays__backdrop--visible {
    display: block;
  }

  .overlays__backdrop--animation-in {
    animation: overlays-backdrop-fade-in 300ms;
    opacity: 0.3;
  }

  .overlays__backdrop--animation-out {
    animation: overlays-backdrop-fade-out 300ms;
    opacity: 0;
  }

  @keyframes overlays-backdrop-fade-in {
    from {
      opacity: 0;
    }
  }

  @keyframes overlays-backdrop-fade-out {
    from {
      opacity: 0.3;
    }
  }

  @media screen and (prefers-reduced-motion: reduce) {
    .overlays .overlays__backdrop--animation-in {
      animation: overlays-backdrop-fade-in 1ms;
    }

    .overlays .overlays__backdrop--animation-out {
      animation: overlays-backdrop-fade-out 1ms;
    }
  }

  dialog[data-overlay-outer-wrapper] {
    background-image: none;
    border-style: none;
    padding: 0px;
  }

  /** 
   * We don't want to use pseudo el ::backdrop.  
   * We have our own, that creates more flexibility wrt scrolling etc.
   */
  dialog[data-overlay-outer-wrapper]::backdrop {
    display: none;
  }
`}));function Mn(e){return Array.from(e.cssRules).map(e=>e.cssText).join(``)}function Nn(e,t,{teardown:n=!1}={}){let r=e===document?document.body:e,i=t.cssText||Mn(t);if(n){let e=Array.from(r.querySelectorAll(`style`));for(let t of e)if(t.textContent===i){t.remove();break}}else{let e=document.createElement(`style`),t=window.litNonce;t!==void 0&&e.setAttribute(`nonce`,t),e.textContent=i,r.appendChild(e)}}function Pn(e,t,{teardown:n=!1}={}){let r=!1;Rn.has(e)||Rn.set(e,[]);let i=Rn.get(e),a=i.find(e=>t===e);return a&&n?i.splice(i.indexOf(t),1):!a&&!n?i.push(t):(a&&!n||!a&&n)&&(r=!0),{haltFurtherExecution:r}}function Fn(e,t,{teardown:n=!1}={}){let{haltFurtherExecution:r}=Pn(e,t,{teardown:n});if(r)return;if(!Ln.supportsAdoptingStyleSheets){Nn(e,t,{teardown:n});return}let i=t instanceof CSSStyleSheet?t:t.styleSheet;if(!i)throw Error(`Please provide a CSSResultOrNative style`);n?e.adoptedStyleSheets.includes(i)&&e.adoptedStyleSheets.splice(e.adoptedStyleSheets.indexOf(i),1):e.adoptedStyleSheets=[...e.adoptedStyleSheets,i]}function In(e,t,{teardown:n=!1}={}){for(let r of t)Ln.adoptStyle(e,r,{teardown:n})}var Ln,Rn,zn=t((()=>{Ln={supportsAdoptingStyleSheets:window.ShadowRoot&&(window.ShadyCSS===void 0||window.ShadyCSS.nativeShadow)&&`adoptedStyleSheets`in Document.prototype&&`replace`in CSSStyleSheet.prototype,adoptStyle:void 0,adoptStyles:void 0},Rn=new Map,Ln.adoptStyle=Fn,Ln.adoptStyles=In}));function Bn(e){if(e==null)return window;if(e.toString()!==`[object Window]`){var t=e.ownerDocument;return t&&t.defaultView||window}return e}var Vn=t((()=>{}));function Hn(e){return e instanceof Bn(e).Element||e instanceof Element}function Un(e){return e instanceof Bn(e).HTMLElement||e instanceof HTMLElement}function Wn(e){return typeof ShadowRoot>`u`?!1:e instanceof Bn(e).ShadowRoot||e instanceof ShadowRoot}var Gn=t((()=>{Vn()})),Kn,qn,Jn,Yn=t((()=>{Kn=Math.max,qn=Math.min,Jn=Math.round}));function Xn(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+`/`+e.version}).join(` `):navigator.userAgent}var Zn=t((()=>{}));function Qn(){return!/^((?!chrome|android).)*safari/i.test(Xn())}var $n=t((()=>{Zn()}));function er(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,a=1;t&&Un(e)&&(i=e.offsetWidth>0&&Jn(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Jn(r.height)/e.offsetHeight||1);var o=(Hn(e)?Bn(e):window).visualViewport,s=!Qn()&&n,c=(r.left+(s&&o?o.offsetLeft:0))/i,l=(r.top+(s&&o?o.offsetTop:0))/a,u=r.width/i,d=r.height/a;return{width:u,height:d,top:l,right:c+u,bottom:l+d,left:c,x:c,y:l}}var tr=t((()=>{Gn(),Yn(),Vn(),$n()}));function nr(e){var t=Bn(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}var rr=t((()=>{Vn()}));function ir(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}var ar=t((()=>{}));function or(e){return e===Bn(e)||!Un(e)?nr(e):ir(e)}var sr=t((()=>{rr(),Vn(),Gn(),ar()}));function cr(e){return e?(e.nodeName||``).toLowerCase():null}var lr=t((()=>{}));function ur(e){return((Hn(e)?e.ownerDocument:e.document)||window.document).documentElement}var dr=t((()=>{Gn()}));function fr(e){return er(ur(e)).left+nr(e).scrollLeft}var pr=t((()=>{tr(),dr(),rr()}));function mr(e){return Bn(e).getComputedStyle(e)}var hr=t((()=>{Vn()}));function gr(e){var t=mr(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}var _r=t((()=>{hr()}));function vr(e){var t=e.getBoundingClientRect(),n=Jn(t.width)/e.offsetWidth||1,r=Jn(t.height)/e.offsetHeight||1;return n!==1||r!==1}function yr(e,t,n){n===void 0&&(n=!1);var r=Un(t),i=Un(t)&&vr(t),a=ur(t),o=er(e,i,n),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&((cr(t)!==`body`||gr(a))&&(s=or(t)),Un(t)?(c=er(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):a&&(c.x=fr(a))),{x:o.left+s.scrollLeft-c.x,y:o.top+s.scrollTop-c.y,width:o.width,height:o.height}}var br=t((()=>{tr(),sr(),lr(),Gn(),pr(),dr(),_r(),Yn()}));function xr(e){var t=er(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}var Sr=t((()=>{tr()}));function Cr(e){return cr(e)===`html`?e:e.assignedSlot||e.parentNode||(Wn(e)?e.host:null)||ur(e)}var wr=t((()=>{lr(),dr(),Gn()}));function Tr(e){return[`html`,`body`,`#document`].indexOf(cr(e))>=0?e.ownerDocument.body:Un(e)&&gr(e)?e:Tr(Cr(e))}var Er=t((()=>{wr(),_r(),lr(),Gn()}));function Dr(e,t){var n;t===void 0&&(t=[]);var r=Tr(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),a=Bn(r),o=i?[a].concat(a.visualViewport||[],gr(r)?r:[]):r,s=t.concat(o);return i?s:s.concat(Dr(Cr(o)))}var Or=t((()=>{Er(),wr(),Vn(),_r()}));function kr(e){return[`table`,`td`,`th`].indexOf(cr(e))>=0}var Ar=t((()=>{lr()}));function jr(e){return!Un(e)||mr(e).position===`fixed`?null:e.offsetParent}function Mr(e){var t=/firefox/i.test(Xn());if(/Trident/i.test(Xn())&&Un(e)&&mr(e).position===`fixed`)return null;var n=Cr(e);for(Wn(n)&&(n=n.host);Un(n)&&[`html`,`body`].indexOf(cr(n))<0;){var r=mr(n);if(r.transform!==`none`||r.perspective!==`none`||r.contain===`paint`||[`transform`,`perspective`].indexOf(r.willChange)!==-1||t&&r.willChange===`filter`||t&&r.filter&&r.filter!==`none`)return n;n=n.parentNode}return null}function Nr(e){for(var t=Bn(e),n=jr(e);n&&kr(n)&&mr(n).position===`static`;)n=jr(n);return n&&(cr(n)===`html`||cr(n)===`body`&&mr(n).position===`static`)?t:n||Mr(e)||t}var Pr=t((()=>{Vn(),lr(),hr(),Gn(),Ar(),wr(),Zn()})),Fr,Ir,Lr,Rr,zr,Br,Vr,Hr,Ur,Wr,Gr,Kr,qr,Jr,Yr,Xr,Zr,Qr,$r,ei,ti,ni,ri=t((()=>{Fr=`bottom`,Ir=`right`,Lr=`left`,Rr=`auto`,zr=[`top`,Fr,Ir,Lr],Br=`start`,Vr=`clippingParents`,Hr=`viewport`,Ur=`popper`,Wr=`reference`,Gr=zr.reduce(function(e,t){return e.concat([t+`-`+Br,t+`-end`])},[]),Kr=[].concat(zr,[Rr]).reduce(function(e,t){return e.concat([t,t+`-`+Br,t+`-end`])},[]),qr=`beforeRead`,Jr=`read`,Yr=`afterRead`,Xr=`beforeMain`,Zr=`main`,Qr=`afterMain`,$r=`beforeWrite`,ei=`write`,ti=`afterWrite`,ni=[qr,Jr,Yr,Xr,Zr,Qr,$r,ei,ti]}));function ii(e){var t=new Map,n=new Set,r=[];e.forEach(function(e){t.set(e.name,e)});function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}}),r.push(e)}return e.forEach(function(e){n.has(e.name)||i(e)}),r}function ai(e){var t=ii(e);return ni.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}var oi=t((()=>{ri()}));function si(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}var ci=t((()=>{}));function li(e){var t=e.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{});return Object.keys(t).map(function(e){return t[e]})}var ui=t((()=>{}));function di(e,t){var n=Bn(e),r=ur(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;var l=Qn();(l||!l&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:a,height:o,x:s+fr(e),y:c}}var fi=t((()=>{Vn(),dr(),pr(),$n()}));function pi(e){var t,n=ur(e),r=nr(e),i=(t=e.ownerDocument)==null?void 0:t.body,a=Kn(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=Kn(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+fr(e),c=-r.scrollTop;return mr(i||n).direction===`rtl`&&(s+=Kn(n.clientWidth,i?i.clientWidth:0)-a),{width:a,height:o,x:s,y:c}}var mi=t((()=>{dr(),hr(),pr(),rr(),Yn()}));function hi(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Wn(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}var gi=t((()=>{Gn()}));function _i(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}var vi=t((()=>{}));function yi(e,t){var n=er(e,!1,t===`fixed`);return n.top+=e.clientTop,n.left+=e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function bi(e,t,n){return t===`viewport`?_i(di(e,n)):Hn(t)?yi(t,n):_i(pi(ur(e)))}function xi(e){var t=Dr(Cr(e)),n=[`absolute`,`fixed`].indexOf(mr(e).position)>=0&&Un(e)?Nr(e):e;return Hn(n)?t.filter(function(e){return Hn(e)&&hi(e,n)&&cr(e)!==`body`}):[]}function Si(e,t,n,r){var i=t===`clippingParents`?xi(e):[].concat(t),a=[].concat(i,[n]),o=a[0],s=a.reduce(function(t,n){var i=bi(e,n,r);return t.top=Kn(i.top,t.top),t.right=qn(i.right,t.right),t.bottom=qn(i.bottom,t.bottom),t.left=Kn(i.left,t.left),t},bi(e,o,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}var Ci=t((()=>{ri(),fi(),mi(),Or(),Pr(),dr(),hr(),Gn(),tr(),wr(),gi(),lr(),vi(),Yn()}));function wi(e){return e.split(`-`)[0]}var Ti=t((()=>{}));function Ei(e){return e.split(`-`)[1]}var Di=t((()=>{}));function Oi(e){return[`top`,`bottom`].indexOf(e)>=0?`x`:`y`}var ki=t((()=>{}));function Ai(e){var t=e.reference,n=e.element,r=e.placement,i=r?wi(r):null,a=r?Ei(r):null,o=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,c;switch(i){case`top`:c={x:o,y:t.y-n.height};break;case Fr:c={x:o,y:t.y+t.height};break;case Ir:c={x:t.x+t.width,y:s};break;case Lr:c={x:t.x-n.width,y:s};break;default:c={x:t.x,y:t.y}}var l=i?Oi(i):null;if(l!=null){var u=l===`y`?`height`:`width`;switch(a){case Br:c[l]=c[l]-(t[u]/2-n[u]/2);break;case`end`:c[l]=c[l]+(t[u]/2-n[u]/2);break;default:}}return c}var ji=t((()=>{Ti(),Di(),ki(),ri()}));function Mi(){return{top:0,right:0,bottom:0,left:0}}var Ni=t((()=>{}));function Pi(e){return Object.assign({},Mi(),e)}var Fi=t((()=>{Ni()}));function Ii(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var Li=t((()=>{}));function Ri(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,a=n.strategy,o=a===void 0?e.strategy:a,s=n.boundary,c=s===void 0?Vr:s,l=n.rootBoundary,u=l===void 0?Hr:l,d=n.elementContext,f=d===void 0?Ur:d,p=n.altBoundary,m=p===void 0?!1:p,h=n.padding,g=h===void 0?0:h,_=Pi(typeof g==`number`?Ii(g,zr):g),v=f===`popper`?Wr:Ur,y=e.rects.popper,b=e.elements[m?v:f],x=Si(Hn(b)?b:b.contextElement||ur(e.elements.popper),c,u,o),S=er(e.elements.reference),C=Ai({reference:S,element:y,strategy:`absolute`,placement:i}),w=_i(Object.assign({},y,C)),T=f===`popper`?w:S,E={top:x.top-T.top+_.top,bottom:T.bottom-x.bottom+_.bottom,left:x.left-T.left+_.left,right:T.right-x.right+_.right},D=e.modifiersData.offset;if(f===`popper`&&D){var ee=D[i];Object.keys(E).forEach(function(e){var t=[`right`,`bottom`].indexOf(e)>=0?1:-1,n=[`top`,`bottom`].indexOf(e)>=0?`y`:`x`;E[e]+=ee[n]*t})}return E}var zi=t((()=>{Ci(),dr(),tr(),ji(),vi(),ri(),Gn(),Fi(),Li()}));function Bi(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&typeof e.getBoundingClientRect==`function`)})}function Vi(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,i=t.defaultOptions,a=i===void 0?Hi:i;return function(e,t,n){n===void 0&&(n=a);var i={placement:`bottom`,orderedModifiers:[],options:Object.assign({},Hi,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},o=[],s=!1,c={state:i,setOptions:function(n){var o=typeof n==`function`?n(i.options):n;u(),i.options=Object.assign({},a,i.options,o),i.scrollParents={reference:Hn(e)?Dr(e):e.contextElement?Dr(e.contextElement):[],popper:Dr(t)};var s=ai(li([].concat(r,i.options.modifiers)));return i.orderedModifiers=s.filter(function(e){return e.enabled}),l(),c.update()},forceUpdate:function(){if(!s){var e=i.elements,t=e.reference,n=e.popper;if(Bi(t,n)){i.rects={reference:yr(t,Nr(n),i.options.strategy===`fixed`),popper:xr(n)},i.reset=!1,i.placement=i.options.placement,i.orderedModifiers.forEach(function(e){return i.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r<i.orderedModifiers.length;r++){if(i.reset===!0){i.reset=!1,r=-1;continue}var a=i.orderedModifiers[r],o=a.fn,l=a.options,u=l===void 0?{}:l,d=a.name;typeof o==`function`&&(i=o({state:i,options:u,name:d,instance:c})||i)}}}},update:si(function(){return new Promise(function(e){c.forceUpdate(),e(i)})}),destroy:function(){u(),s=!0}};if(!Bi(e,t))return c;c.setOptions(n).then(function(e){!s&&n.onFirstUpdate&&n.onFirstUpdate(e)});function l(){i.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=n===void 0?{}:n,a=e.effect;if(typeof a==`function`){var s=a({state:i,name:t,instance:c,options:r});o.push(s||function(){})}})}function u(){o.forEach(function(e){return e()}),o=[]}return c}}var Hi,Ui=t((()=>{br(),Sr(),Or(),Pr(),oi(),ci(),ui(),zi(),Gn(),Hi={placement:`bottom`,modifiers:[],strategy:`absolute`}}));function Wi(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,a=i===void 0?!0:i,o=r.resize,s=o===void 0?!0:o,c=Bn(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&l.forEach(function(e){e.addEventListener(`scroll`,n.update,Gi)}),s&&c.addEventListener(`resize`,n.update,Gi),function(){a&&l.forEach(function(e){e.removeEventListener(`scroll`,n.update,Gi)}),s&&c.removeEventListener(`resize`,n.update,Gi)}}var Gi,Ki,qi=t((()=>{Vn(),Gi={passive:!0},Ki={name:`eventListeners`,enabled:!0,phase:`write`,fn:function(){},effect:Wi,data:{}}}));function Ji(e){var t=e.state,n=e.name;t.modifiersData[n]=Ai({reference:t.rects.reference,element:t.rects.popper,strategy:`absolute`,placement:t.placement})}var Yi,Xi=t((()=>{ji(),Yi={name:`popperOffsets`,enabled:!0,phase:`read`,fn:Ji,data:{}}}));function Zi(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:Jn(n*i)/i||0,y:Jn(r*i)/i||0}}function Qi(e){var t,n=e.popper,r=e.popperRect,i=e.placement,a=e.variation,o=e.offsets,s=e.position,c=e.gpuAcceleration,l=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=o.x,p=f===void 0?0:f,m=o.y,h=m===void 0?0:m,g=typeof u==`function`?u({x:p,y:h}):{x:p,y:h};p=g.x,h=g.y;var _=o.hasOwnProperty(`x`),v=o.hasOwnProperty(`y`),y=Lr,b=`top`,x=window;if(l){var S=Nr(n),C=`clientHeight`,w=`clientWidth`;if(S===Bn(n)&&(S=ur(n),mr(S).position!==`static`&&s===`absolute`&&(C=`scrollHeight`,w=`scrollWidth`)),S=S,i===`top`||(i===`left`||i===`right`)&&a===`end`){b=Fr;var T=d&&S===x&&x.visualViewport?x.visualViewport.height:S[C];h-=T-r.height,h*=c?1:-1}if(i===`left`||(i===`top`||i===`bottom`)&&a===`end`){y=Ir;var E=d&&S===x&&x.visualViewport?x.visualViewport.width:S[w];p-=E-r.width,p*=c?1:-1}}var D=Object.assign({position:s},l&&ea),ee=u===!0?Zi({x:p,y:h},Bn(n)):{x:p,y:h};if(p=ee.x,h=ee.y,c){var te;return Object.assign({},D,(te={},te[b]=v?`0`:``,te[y]=_?`0`:``,te.transform=(x.devicePixelRatio||1)<=1?`translate(`+p+`px, `+h+`px)`:`translate3d(`+p+`px, `+h+`px, 0)`,te))}return Object.assign({},D,(t={},t[b]=v?h+`px`:``,t[y]=_?p+`px`:``,t.transform=``,t))}function $i(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,a=n.adaptive,o=a===void 0?!0:a,s=n.roundOffsets,c=s===void 0?!0:s,l={placement:wi(t.placement),variation:Ei(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy===`fixed`};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Qi(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Qi(Object.assign({},l,{offsets:t.modifiersData.arrow,position:`absolute`,adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var ea,ta,na=t((()=>{ri(),Pr(),Vn(),dr(),hr(),Ti(),Di(),Yn(),ea={top:`auto`,right:`auto`,bottom:`auto`,left:`auto`},ta={name:`computeStyles`,enabled:!0,phase:`beforeWrite`,fn:$i,data:{}}}));function ra(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];!Un(i)||!cr(i)||(Object.assign(i.style,n),Object.keys(r).forEach(function(e){var t=r[e];t===!1?i.removeAttribute(e):i.setAttribute(e,t===!0?``:t)}))})}function ia(e){var t=e.state,n={popper:{position:t.options.strategy,left:`0`,top:`0`,margin:`0`},arrow:{position:`absolute`},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],i=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]=``,e},{});!Un(r)||!cr(r)||(Object.assign(r.style,a),Object.keys(i).forEach(function(e){r.removeAttribute(e)}))})}}var aa,oa=t((()=>{lr(),Gn(),aa={name:`applyStyles`,enabled:!0,phase:`write`,fn:ra,effect:ia,requires:[`computeStyles`]}}));function sa(e,t,n){var r=wi(e),i=[`left`,`top`].indexOf(r)>=0?-1:1,a=typeof n==`function`?n(Object.assign({},t,{placement:e})):n,o=a[0],s=a[1];return o=o||0,s=(s||0)*i,[`left`,`right`].indexOf(r)>=0?{x:s,y:o}:{x:o,y:s}}function ca(e){var t=e.state,n=e.options,r=e.name,i=n.offset,a=i===void 0?[0,0]:i,o=Kr.reduce(function(e,n){return e[n]=sa(n,t.rects,a),e},{}),s=o[t.placement],c=s.x,l=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[r]=o}var la,ua=t((()=>{Ti(),ri(),la={name:`offset`,enabled:!0,phase:`main`,requires:[`popperOffsets`],fn:ca}}));function da(e){return e.replace(/left|right|bottom|top/g,function(e){return fa[e]})}var fa,pa=t((()=>{fa={left:`right`,right:`left`,bottom:`top`,top:`bottom`}}));function ma(e){return e.replace(/start|end/g,function(e){return ha[e]})}var ha,ga=t((()=>{ha={start:`end`,end:`start`}}));function _a(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,a=n.rootBoundary,o=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,l=c===void 0?Kr:c,u=Ei(r),d=u?s?Gr:Gr.filter(function(e){return Ei(e)===u}):zr,f=d.filter(function(e){return l.indexOf(e)>=0});f.length===0&&(f=d);var p=f.reduce(function(t,n){return t[n]=Ri(e,{placement:n,boundary:i,rootBoundary:a,padding:o})[wi(n)],t},{});return Object.keys(p).sort(function(e,t){return p[e]-p[t]})}var va=t((()=>{Di(),ri(),zi(),Ti()}));function ya(e){if(wi(e)===`auto`)return[];var t=da(e);return[ma(e),t,ma(t)]}function ba(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,a=i===void 0?!0:i,o=n.altAxis,s=o===void 0?!0:o,c=n.fallbackPlacements,l=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,m=p===void 0?!0:p,h=n.allowedAutoPlacements,g=t.options.placement,_=wi(g)===g,v=c||(_||!m?[da(g)]:ya(g)),y=[g].concat(v).reduce(function(e,n){return e.concat(wi(n)===`auto`?_a(t,{placement:n,boundary:u,rootBoundary:d,padding:l,flipVariations:m,allowedAutoPlacements:h}):n)},[]),b=t.rects.reference,x=t.rects.popper,S=new Map,C=!0,w=y[0],T=0;T<y.length;T++){var E=y[T],D=wi(E),ee=Ei(E)===Br,te=[`top`,Fr].indexOf(D)>=0,ne=te?`width`:`height`,O=Ri(t,{placement:E,boundary:u,rootBoundary:d,altBoundary:f,padding:l}),k=te?ee?Ir:Lr:ee?Fr:`top`;b[ne]>x[ne]&&(k=da(k));var A=da(k),j=[];if(a&&j.push(O[D]<=0),s&&j.push(O[k]<=0,O[A]<=0),j.every(function(e){return e})){w=E,C=!1;break}S.set(E,j)}if(C)for(var re=m?3:1,M=function(e){var t=y.find(function(t){var n=S.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return w=t,`break`},N=re;N>0&&M(N)!==`break`;N--);t.placement!==w&&(t.modifiersData[r]._skip=!0,t.placement=w,t.reset=!0)}}var xa,Sa=t((()=>{pa(),Ti(),ga(),zi(),va(),ri(),Di(),xa={name:`flip`,enabled:!0,phase:`main`,fn:ba,requiresIfExists:[`offset`],data:{_skip:!1}}}));function Ca(e){return e===`x`?`y`:`x`}var wa=t((()=>{}));function Ta(e,t,n){return Kn(e,qn(t,n))}function Ea(e,t,n){var r=Ta(e,t,n);return r>n?n:r}var Da=t((()=>{Yn()}));function Oa(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,a=i===void 0?!0:i,o=n.altAxis,s=o===void 0?!1:o,c=n.boundary,l=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,p=f===void 0?!0:f,m=n.tetherOffset,h=m===void 0?0:m,g=Ri(t,{boundary:c,rootBoundary:l,padding:d,altBoundary:u}),_=wi(t.placement),v=Ei(t.placement),y=!v,b=Oi(_),x=Ca(b),S=t.modifiersData.popperOffsets,C=t.rects.reference,w=t.rects.popper,T=typeof h==`function`?h(Object.assign({},t.rects,{placement:t.placement})):h,E=typeof T==`number`?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),D=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,ee={x:0,y:0};if(S){if(a){var te,ne=b===`y`?`top`:Lr,O=b===`y`?Fr:Ir,k=b===`y`?`height`:`width`,A=S[b],j=A+g[ne],re=A-g[O],M=p?-w[k]/2:0,N=v===`start`?C[k]:w[k],ie=v===`start`?-w[k]:-C[k],ae=t.elements.arrow,oe=p&&ae?xr(ae):{width:0,height:0},P=t.modifiersData[`arrow#persistent`]?t.modifiersData[`arrow#persistent`].padding:Mi(),F=P[ne],se=P[O],ce=Ta(0,C[k],oe[k]),I=y?C[k]/2-M-ce-F-E.mainAxis:N-ce-F-E.mainAxis,le=y?-C[k]/2+M+ce+se+E.mainAxis:ie+ce+se+E.mainAxis,L=t.elements.arrow&&Nr(t.elements.arrow),R=L?b===`y`?L.clientTop||0:L.clientLeft||0:0,z=(te=D==null?void 0:D[b])==null?0:te,ue=A+I-z-R,de=A+le-z,B=Ta(p?qn(j,ue):j,A,p?Kn(re,de):re);S[b]=B,ee[b]=B-A}if(s){var fe,pe=b===`x`?`top`:Lr,me=b===`x`?Fr:Ir,he=S[x],ge=x===`y`?`height`:`width`,_e=he+g[pe],ve=he-g[me],ye=[`top`,Lr].indexOf(_)!==-1,be=(fe=D==null?void 0:D[x])==null?0:fe,V=ye?_e:he-C[ge]-w[ge]-be+E.altAxis,xe=ye?he+C[ge]+w[ge]-be-E.altAxis:ve,Se=p&&ye?Ea(V,he,xe):Ta(p?V:_e,he,p?xe:ve);S[x]=Se,ee[x]=Se-he}t.modifiersData[r]=ee}}var ka,Aa=t((()=>{ri(),Ti(),ki(),wa(),Da(),Sr(),Pr(),zi(),Di(),Ni(),Yn(),ka={name:`preventOverflow`,enabled:!0,phase:`main`,fn:Oa,requiresIfExists:[`offset`]}}));function ja(e){var t,n=e.state,r=e.name,i=e.options,a=n.elements.arrow,o=n.modifiersData.popperOffsets,s=wi(n.placement),c=Oi(s),l=[`left`,`right`].indexOf(s)>=0?`height`:`width`;if(!(!a||!o)){var u=Na(i.padding,n),d=xr(a),f=c===`y`?`top`:Lr,p=c===`y`?Fr:Ir,m=n.rects.reference[l]+n.rects.reference[c]-o[c]-n.rects.popper[l],h=o[c]-n.rects.reference[c],g=Nr(a),_=g?c===`y`?g.clientHeight||0:g.clientWidth||0:0,v=m/2-h/2,y=u[f],b=_-d[l]-u[p],x=_/2-d[l]/2+v,S=Ta(y,x,b),C=c;n.modifiersData[r]=(t={},t[C]=S,t.centerOffset=S-x,t)}}function Ma(e){var t=e.state,n=e.options.element,r=n===void 0?`[data-popper-arrow]`:n;r!=null&&(typeof r==`string`&&(r=t.elements.popper.querySelector(r),!r)||hi(t.elements.popper,r)&&(t.elements.arrow=r))}var Na,Pa,Fa=t((()=>{Ti(),Sr(),gi(),Pr(),ki(),Da(),Fi(),Li(),ri(),Na=function(e,t){return e=typeof e==`function`?e(Object.assign({},t.rects,{placement:t.placement})):e,Pi(typeof e==`number`?Ii(e,zr):e)},Pa={name:`arrow`,enabled:!0,phase:`main`,fn:ja,effect:Ma,requires:[`popperOffsets`],requiresIfExists:[`preventOverflow`]}}));function Ia(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function La(e){return[`top`,Ir,Fr,Lr].some(function(t){return e[t]>=0})}function Ra(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,o=Ri(t,{elementContext:`reference`}),s=Ri(t,{altBoundary:!0}),c=Ia(o,r),l=Ia(s,i,a),u=La(c),d=La(l);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}var za,Ba=t((()=>{ri(),zi(),za={name:`hide`,enabled:!0,phase:`main`,requiresIfExists:[`preventOverflow`],fn:Ra}})),Va,Ha,Ua=t((()=>{Ui(),qi(),Xi(),na(),oa(),Va=[Ki,Yi,ta,aa],Ha=Vi({defaultModifiers:Va})})),Wa=t((()=>{oa(),Fa(),na(),qi(),Sa(),Ba(),ua(),Xi(),Aa()})),Ga=r({applyStyles:()=>aa,arrow:()=>Pa,computeStyles:()=>ta,createPopper:()=>qa,createPopperLite:()=>Ha,defaultModifiers:()=>Ka,detectOverflow:()=>Ri,eventListeners:()=>Ki,flip:()=>xa,hide:()=>za,offset:()=>la,popperGenerator:()=>Vi,popperOffsets:()=>Yi,preventOverflow:()=>ka}),Ka,qa,Ja=t((()=>{Ui(),qi(),Xi(),na(),oa(),ua(),Sa(),Aa(),Fa(),Ba(),Ua(),Wa(),Ka=[Ki,Yi,ta,aa,la,xa,ka,Pa,za],qa=Vi({defaultModifiers:Ka})}));function Ya({wrappingDialogNodeL1:e,contentWrapperNodeL2:t,contentNodeL3:n}){if(!(t.isConnected||n.isConnected))throw Error(`[OverlayController] Could not find a render target, since the provided contentNode is not connected to the DOM. Make sure that it is connected, e.g. by doing "document.body.appendChild(contentNode)", before passing it on.`);let r,i=document.createComment(`tempMarker`);t.isConnected?(r=t.parentElement||t.getRootNode(),r.insertBefore(i,t),e.appendChild(t)):n.assignedSlot?(r=n.assignedSlot.parentElement||n.assignedSlot.getRootNode(),r.insertBefore(i,n.assignedSlot),e.appendChild(t),t.appendChild(n.assignedSlot)):(r=n.parentElement||n.getRootNode(),r.insertBefore(i,n),e.appendChild(t),t.appendChild(n)),r.insertBefore(e,i),r==null||r.removeChild(i)}function Xa(){return Za.apply(this,arguments)}function Za(){return Za=P(function*(){return Promise.resolve().then(()=>(Ja(),Ga))}),Za.apply(this,arguments)}var Qa,$a=t((()=>{rn(),kn(),jn(),zn(),F(),k(),Qa=class e extends EventTarget{constructor(e={},t=nn){super(),this.manager=t,this.__sharedConfig=e,this.__activeElementRightBeforeHide=null,this.config={},this._defaultConfig={placementMode:void 0,contentNode:e.contentNode,contentWrapperNode:e.contentWrapperNode,invokerNode:e.invokerNode,backdropNode:e.backdropNode,referenceNode:void 0,elementToFocusAfterHide:e.invokerNode,inheritsReferenceWidth:`none`,hasBackdrop:!1,isBlocking:!1,preventsScroll:!1,trapsKeyboardFocus:!1,hidesOnEsc:!1,hidesOnOutsideEsc:!1,hidesOnOutsideClick:!1,isTooltip:!1,invokerRelation:`description`,visibilityTriggerFunction:void 0,handlesAccessibility:!1,popperConfig:{placement:`top`,strategy:`fixed`,modifiers:[{name:`preventOverflow`,enabled:!0,options:{boundariesElement:`viewport`,padding:8}},{name:`flip`,options:{boundariesElement:`viewport`,padding:16}},{name:`offset`,enabled:!0,options:{offset:[0,8]}},{name:`arrow`,enabled:!1}]},viewportConfig:{placement:`center`},zIndex:9999},this.manager.add(this),this._contentId=`overlay-content--${Math.random().toString(36).slice(2,10)}`,this.__originalAttrs=new Map,this.updateConfig(e),this.__hasActiveTrapsKeyboardFocus=!1,this.__hasActiveBackdrop=!0,this.__escKeyHandler=this.__escKeyHandler.bind(this)}get invoker(){return this.invokerNode}get content(){return this.__wrappingDialogNode}get placementMode(){var e;return(e=this.config)==null?void 0:e.placementMode}get invokerNode(){var e;return(e=this.config)==null?void 0:e.invokerNode}get referenceNode(){var e;return(e=this.config)==null?void 0:e.referenceNode}get contentNode(){var e;return(e=this.config)==null?void 0:e.contentNode}get contentWrapperNode(){var e;return this.__contentWrapperNode||((e=this.config)==null?void 0:e.contentWrapperNode)}get backdropNode(){var e;return this.__backdropNode||((e=this.config)==null?void 0:e.backdropNode)}get elementToFocusAfterHide(){var e;return this.__elementToFocusAfterHide||((e=this.config)==null?void 0:e.elementToFocusAfterHide)}get hasBackdrop(){var e;return!!this.backdropNode||((e=this.config)==null?void 0:e.hasBackdrop)}get isBlocking(){var e;return(e=this.config)==null?void 0:e.isBlocking}get preventsScroll(){var e;return(e=this.config)==null?void 0:e.preventsScroll}get trapsKeyboardFocus(){var e;return(e=this.config)==null?void 0:e.trapsKeyboardFocus}get hidesOnEsc(){var e;return(e=this.config)==null?void 0:e.hidesOnEsc}get hidesOnOutsideClick(){var e;return(e=this.config)==null?void 0:e.hidesOnOutsideClick}get hidesOnOutsideEsc(){var e;return(e=this.config)==null?void 0:e.hidesOnOutsideEsc}get inheritsReferenceWidth(){var e;return(e=this.config)==null?void 0:e.inheritsReferenceWidth}get handlesAccessibility(){var e;return(e=this.config)==null?void 0:e.handlesAccessibility}get isTooltip(){var e;return(e=this.config)==null?void 0:e.isTooltip}get invokerRelation(){var e;return(e=this.config)==null?void 0:e.invokerRelation}get popperConfig(){var e;return(e=this.config)==null?void 0:e.popperConfig}get viewportConfig(){var e;return(e=this.config)==null?void 0:e.viewportConfig}get visibilityTriggerFunction(){var e;return(e=this.config)==null?void 0:e.visibilityTriggerFunction}get _referenceNode(){return this.referenceNode||this.invokerNode}set elevation(e){this.__wrappingDialogNode.style.zIndex=`${this.config.zIndex+e}`}get elevation(){var e;return Number((e=this.contentWrapperNode)==null?void 0:e.style.zIndex)}updateConfig(e){var t,n,r;this.teardown(),this.__prevConfig=this.config,this.config=O(O(O(O({},this._defaultConfig),this.__sharedConfig),e),{},{popperConfig:O(O(O(O({},this._defaultConfig.popperConfig||{}),this.__sharedConfig.popperConfig||{}),e.popperConfig||{}),{},{modifiers:[...((t=this._defaultConfig.popperConfig)==null?void 0:t.modifiers)||[],...((n=this.__sharedConfig.popperConfig)==null?void 0:n.modifiers)||[],...((r=e.popperConfig)==null?void 0:r.modifiers)||[]]})}),this.__validateConfiguration(this.config),this._init(),this.__elementToFocusAfterHide=void 0}__validateConfiguration(e){if(!e.placementMode)throw Error(`[OverlayController] You need to provide a .placementMode ("global"|"local")`);if(![`global`,`local`].includes(e.placementMode))throw Error(`[OverlayController] "${e.placementMode}" is not a valid .placementMode, use ("global"|"local")`);if(!e.contentNode)throw Error(`[OverlayController] You need to provide a .contentNode`);if(e.isTooltip&&!e.handlesAccessibility)throw Error(`[OverlayController] .isTooltip only takes effect when .handlesAccessibility is enabled`)}_init(){this.__contentHasBeenInitialized||(this.__initContentDomStructure(),this.__contentHasBeenInitialized=!0),this.contentWrapperNode.removeAttribute(`style`),this.contentWrapperNode.removeAttribute(`class`),this.placementMode===`local`&&(e.popperModule||(e.popperModule=Xa())),this.__handleOverlayStyles({phase:`init`}),this._handleFeatures({phase:`init`})}__handleOverlayStyles({phase:e}){var t;let n=(t=this.contentWrapperNode)==null?void 0:t.getRootNode();e===`init`?Ln.adoptStyle(n,An):e===`teardown`&&Ln.adoptStyle(n,An,{teardown:!0})}__initContentDomStructure(){var e,t;let n=document.createElement((e=this.config)!=null&&e._noDialogEl?`div`:`dialog`);n.setAttribute(`role`,`none`),n.setAttribute(`data-overlay-outer-wrapper`,``),n.style.cssText=`display:none; z-index: ${this.config.zIndex}; padding: 0;`,this.__wrappingDialogNode=n,(t=this.config)!=null&&t.contentWrapperNode||(this.__contentWrapperNode=document.createElement(`div`)),this.contentWrapperNode.setAttribute(`data-id`,`content-wrapper`),Ya({wrappingDialogNodeL1:n,contentWrapperNodeL2:this.contentWrapperNode,contentNodeL3:this.contentNode}),n.open=!0,this.__wrappingDialogNode.style.display=`none`,this.contentWrapperNode.style.zIndex=`1`,getComputedStyle(this.contentNode).position===`absolute`&&(this.contentNode.style.position=`static`)}_handleZIndex({phase:e}){if(this.placementMode===`local`&&e===`setup`){let e=Number(getComputedStyle(this.contentNode).zIndex);(e<1||Number.isNaN(e))&&(this.contentNode.style.zIndex=`1`)}}__setupTeardownAccessibility({phase:e}){e===`init`?(this.__storeOriginalAttrs(this.contentNode,[`role`,`id`]),this.invokerNode&&this.__storeOriginalAttrs(this.invokerNode,[`aria-expanded`,`aria-labelledby`,`aria-describedby`]),this.contentNode.id||this.contentNode.setAttribute(`id`,this._contentId),this.isTooltip?(this.invokerNode&&this.invokerNode.setAttribute(this.invokerRelation===`label`?`aria-labelledby`:`aria-describedby`,this._contentId),this.contentNode.setAttribute(`role`,`tooltip`)):(this.invokerNode&&this.invokerNode.setAttribute(`aria-expanded`,`${this.isShown}`),this.contentNode.getAttribute(`role`)||this.contentNode.setAttribute(`role`,`dialog`))):e===`teardown`&&this.__restoreOriginalAttrs()}__storeOriginalAttrs(e,t){let n={};t.forEach(t=>{n[t]=e.getAttribute(t)}),this.__originalAttrs.set(e,n)}__restoreOriginalAttrs(){for(let[e,t]of this.__originalAttrs)Object.entries(t).forEach(([t,n])=>{n===null?e.removeAttribute(t):e.setAttribute(t,n)});this.__originalAttrs.clear()}get isShown(){var e;return((e=this.__wrappingDialogNode)==null?void 0:e.style.display)!==`none`}show(){var e=this;return P(function*(t=this.elementToFocusAfterHide){if(e._showComplete&&(yield e._showComplete),e._showComplete=new Promise(t=>{e._showResolve=t}),e.manager&&e.manager.show(e),e.isShown){e._showResolve();return}let n=new CustomEvent(`before-show`,{cancelable:!0});e.dispatchEvent(n),n.defaultPrevented||(`HTMLDialogElement`in window&&e.__wrappingDialogNode instanceof HTMLDialogElement&&(e.__wrappingDialogNode.open=!0),e.__wrappingDialogNode.style.display=``,e._keepBodySize({phase:`before-show`}),yield e._handleFeatures({phase:`show`}),e._keepBodySize({phase:`show`}),yield e._handlePosition({phase:`show`}),e.__elementToFocusAfterHide=t,e.dispatchEvent(new Event(`show`)),yield e._transitionShow({backdropNode:e.backdropNode,contentNode:e.contentNode})),e._showResolve()}).apply(this,arguments)}_handlePosition({phase:e}){var t=this;return P(function*(){if(t.placementMode===`global`){let n=`overlays__overlay-container--${t.viewportConfig.placement}`;e===`show`?(t.contentWrapperNode.classList.add(`overlays__overlay-container`),t.contentWrapperNode.classList.add(n),t.contentNode.classList.add(`overlays__overlay`)):e===`hide`&&(t.contentWrapperNode.classList.remove(`overlays__overlay-container`),t.contentWrapperNode.classList.remove(n),t.contentNode.classList.remove(`overlays__overlay`))}else t.placementMode===`local`&&e===`show`&&(yield t.__createPopperInstance(),t._popper.forceUpdate())})()}_keepBodySize({phase:e}){switch(e){case`before-show`:this.__bodyClientWidth=document.body.clientWidth,this.__bodyClientHeight=document.body.clientHeight,this.__bodyMarginRightInline=document.body.style.marginRight,this.__bodyMarginBottomInline=document.body.style.marginBottom;break;case`show`:{var t,n;if(window.getComputedStyle){let e=window.getComputedStyle(document.body);this.__bodyMarginRight=parseInt(e.getPropertyValue(`margin-right`),10),this.__bodyMarginBottom=parseInt(e.getPropertyValue(`margin-bottom`),10)}else this.__bodyMarginRight=0,this.__bodyMarginBottom=0;let e=document.body.clientWidth-this.__bodyClientWidth,r=document.body.clientHeight-this.__bodyClientHeight,i=this.__bodyMarginRight+e,a=this.__bodyMarginBottom+r;(t=window.CSS)!=null&&t.number&&(n=document.body.attributeStyleMap)!=null&&n.set?(document.body.attributeStyleMap.set(`margin-right`,CSS.px(i)),document.body.attributeStyleMap.set(`margin-bottom`,CSS.px(a))):(document.body.style.marginRight=`${i}px`,document.body.style.marginBottom=`${a}px`);break}case`hide`:document.body.style.marginRight=this.__bodyMarginRightInline||``,document.body.style.marginBottom=this.__bodyMarginBottomInline||``;break}}hide(){var e=this;return P(function*(){if(e._hideComplete=new Promise(t=>{e._hideResolve=t}),e.__activeElementRightBeforeHide=e.contentNode.getRootNode().activeElement,e.manager&&e.manager.hide(e),!e.isShown){e._hideResolve();return}let t=new CustomEvent(`before-hide`,{cancelable:!0});e.dispatchEvent(t),t.defaultPrevented||(yield e._transitionHide({backdropNode:e.backdropNode,contentNode:e.contentNode}),`HTMLDialogElement`in window&&e.__wrappingDialogNode instanceof HTMLDialogElement&&e.__wrappingDialogNode.close(),e.__wrappingDialogNode.style.display=`none`,e._handleFeatures({phase:`hide`}),e._keepBodySize({phase:`hide`}),e.dispatchEvent(new Event(`hide`)),e._restoreFocus()),e._hideResolve()})()}transitionHide(e){return P(function*(){})()}_transitionHide({backdropNode:e,contentNode:t}){var n=this;return P(function*(){yield n.transitionHide({backdropNode:e,contentNode:t}),n._handlePosition({phase:`hide`}),e&&e.classList.remove(`overlays__backdrop--animation-in`)})()}transitionShow(e){return P(function*(){})()}_transitionShow(e){var t=this;return P(function*(){yield t.transitionShow({backdropNode:t.backdropNode,contentNode:t.contentNode}),e.backdropNode&&e.backdropNode.classList.add(`overlays__backdrop--animation-in`)})()}_restoreFocus(){this.__activeElementRightBeforeHide instanceof HTMLElement&&this.contentNode.contains(this.__activeElementRightBeforeHide)&&(this.elementToFocusAfterHide?(this.elementToFocusAfterHide.focus(),this.elementToFocusAfterHide.scrollIntoView({block:`center`})):this.__activeElementRightBeforeHide.blur())}toggle(){var e=this;return P(function*(){return e.isShown?e.hide():e.show()})()}_handleFeatures({phase:e}){this._handleZIndex({phase:e}),this.preventsScroll&&this._handlePreventsScroll({phase:e}),this.isBlocking&&this._handleBlocking({phase:e}),this.hasBackdrop&&this._handleBackdrop({phase:e}),this.trapsKeyboardFocus&&this._handleTrapsKeyboardFocus({phase:e}),this.hidesOnEsc&&this._handleHidesOnEsc({phase:e}),this.hidesOnOutsideEsc&&this._handleHidesOnOutsideEsc({phase:e}),this.hidesOnOutsideClick&&this._handleHidesOnOutsideClick({phase:e}),this.handlesAccessibility&&this._handleAccessibility({phase:e}),this.inheritsReferenceWidth&&this._handleInheritsReferenceWidth(),this.visibilityTriggerFunction&&this._handleVisibilityTriggers({phase:e})}_handleVisibilityTriggers({phase:e}){typeof this.visibilityTriggerFunction==`function`&&(e===`init`&&(this.__visibilityTriggerHandler=this.visibilityTriggerFunction({phase:e,controller:this})),this.__visibilityTriggerHandler[e]&&this.__visibilityTriggerHandler[e]())}_handlePreventsScroll({phase:e}){switch(e){case`show`:this.manager.requestToPreventScroll();break;case`hide`:this.manager.requestToEnableScroll();break}}_handleBlocking({phase:e}){switch(e){case`show`:this.manager.requestToShowOnly(this);break;case`hide`:this.manager.retractRequestToShowOnly(this);break}}get hasActiveBackdrop(){return this.__hasActiveBackdrop}_handleBackdrop({phase:e}){switch(e){case`init`:if(!this.__backdropInitialized){var t;(t=this.config)!=null&&t.backdropNode||(this.__backdropNode=document.createElement(`div`),this.__backdropNode.classList.add(`overlays__backdrop`)),this.__wrappingDialogNode.prepend(this.backdropNode),this.__backdropInitialized=!0}break;case`show`:this.config.hasBackdrop&&this.backdropNode.classList.add(`overlays__backdrop--visible`),this.__hasActiveBackdrop=!0;break;case`hide`:case`teardown`:this.backdropNode.classList.remove(`overlays__backdrop--visible`),this.__hasActiveBackdrop=!1;break}}get hasActiveTrapsKeyboardFocus(){return this.__hasActiveTrapsKeyboardFocus}_handleTrapsKeyboardFocus({phase:e}){e===`show`?(`showModal`in this.__wrappingDialogNode&&(this.__wrappingDialogNode.close(),this.__wrappingDialogNode.showModal()),this.enableTrapsKeyboardFocus()):(e===`hide`||e===`teardown`)&&this.disableTrapsKeyboardFocus()}enableTrapsKeyboardFocus(){this.__hasActiveTrapsKeyboardFocus||(this.manager&&this.manager.disableTrapsKeyboardFocusForAll(),this._containFocusHandler=On(this.contentNode),this.__hasActiveTrapsKeyboardFocus=!0,this.manager&&this.manager.informTrapsKeyboardFocusGotEnabled(this.placementMode))}disableTrapsKeyboardFocus({findNewTrap:e=!0}={}){this.__hasActiveTrapsKeyboardFocus&&(this._containFocusHandler&&(this._containFocusHandler.disconnect(),this._containFocusHandler=void 0),this.__hasActiveTrapsKeyboardFocus=!1,this.manager&&this.manager.informTrapsKeyboardFocusGotDisabled({disabledCtrl:this,findNewTrap:e}))}__escKeyHandler(e){return e.key===`Escape`&&this.hide()}_handleHidesOnEsc({phase:e}){e===`show`?(this.contentNode.addEventListener(`keyup`,this.__escKeyHandler),this.invokerNode&&this.invokerNode.addEventListener(`keyup`,this.__escKeyHandler)):e===`hide`&&(this.contentNode.removeEventListener(`keyup`,this.__escKeyHandler),this.invokerNode&&this.invokerNode.removeEventListener(`keyup`,this.__escKeyHandler))}_handleHidesOnOutsideEsc({phase:e}){e===`show`?(this.__escKeyHandler=e=>e.key===`Escape`&&this.hide(),document.addEventListener(`keyup`,this.__escKeyHandler)):e===`hide`&&document.removeEventListener(`keyup`,this.__escKeyHandler)}_handleInheritsReferenceWidth(){if(!this._referenceNode||this.placementMode===`global`)return;let e=`${this._referenceNode.getBoundingClientRect().width}px`;switch(this.inheritsReferenceWidth){case`max`:this.contentWrapperNode.style.maxWidth=e;break;case`full`:this.contentWrapperNode.style.width=e;break;case`min`:this.contentWrapperNode.style.minWidth=e,this.contentWrapperNode.style.width=`auto`;break}}_handleHidesOnOutsideClick({phase:e}){let t=e===`show`?`addEventListener`:`removeEventListener`;if(e===`show`){let e=!1,t=!1;this.__onInsideMouseDown=()=>{e=!0},this.__onInsideMouseUp=()=>{t=!0},this.__onDocumentMouseUp=()=>{setTimeout(()=>{!e&&!t&&this.hide(),e=!1,t=!1})}}this.contentWrapperNode[t](`mousedown`,this.__onInsideMouseDown,!0),this.contentWrapperNode[t](`mouseup`,this.__onInsideMouseUp,!0),this.invokerNode&&(this.invokerNode[t](`mousedown`,this.__onInsideMouseDown,!0),this.invokerNode[t](`mouseup`,this.__onInsideMouseUp,!0)),document.documentElement[t](`mouseup`,this.__onDocumentMouseUp,!0)}_handleAccessibility({phase:e}){(e===`init`||e===`teardown`)&&this.__setupTeardownAccessibility({phase:e}),this.invokerNode&&!this.isTooltip&&this.invokerNode.setAttribute(`aria-expanded`,`${e===`show`}`)}teardown(){this.__handleOverlayStyles({phase:`teardown`}),this._handleFeatures({phase:`teardown`})}__createPopperInstance(){var t=this;return P(function*(){if(t._popper&&(t._popper.destroy(),t._popper=void 0),e.popperModule!==void 0){var n;let{createPopper:r}=yield e.popperModule;t._popper=r(t._referenceNode,t.contentWrapperNode,O({},(n=t.config)==null?void 0:n.popperConfig))}})()}_hasDisabledInvoker(){return this.invokerNode?this.invokerNode.disabled||this.invokerNode.getAttribute(`aria-disabled`)===`true`:!1}},Qa.popperModule=void 0}));function eo(e,t){let n=t;for(;n;){if(no.get(n)===e)return!0;n=Object.getPrototypeOf(n)}return!1}function to(e){return t=>{if(eo(e,t))return t;let n=e(t);return no.set(n,e),n}}var no,ro=t((()=>{no=new WeakMap})),io=t((()=>{ro()}));function ao(e,t){if(typeof e!=`object`||typeof t!=`object`||e===null||t===null)return e===t;let n=Object.keys(e),r=Object.keys(t);return n.length===r.length?n.every(n=>ao(e[n],t[n])):!1}var oo=t((()=>{})),so,co,lo=t((()=>{io(),$a(),oo(),k(),F(),so=e=>class extends e{static get properties(){return{opened:{type:Boolean,reflect:!0}}}constructor(){super(),this.opened=!1,this.config={},this.toggle=this.toggle.bind(this),this.open=this.open.bind(this),this.close=this.close.bind(this)}get config(){return this.__config}set config(e){let t=!ao(this.config,e);this._overlayCtrl&&t&&this._overlayCtrl.updateConfig(e),this.__config=e,this._overlayCtrl&&t&&this.__syncToOverlayController()}requestUpdate(e,t,n){super.requestUpdate(e,t,n),e===`opened`&&this.opened!==t&&this.dispatchEvent(new Event(`opened-changed`))}_defineOverlay({contentNode:e,invokerNode:t,referenceNode:n,backdropNode:r,contentWrapperNode:i}){var a,o,s;let c=this._defineOverlayConfig()||{};return new Qa(O(O(O({contentNode:e,invokerNode:t,referenceNode:n,backdropNode:r,contentWrapperNode:i},c),this.config),{},{popperConfig:O(O(O({},c.popperConfig||{}),((a=this.config)==null?void 0:a.popperConfig)||{}),{},{modifiers:[...((o=c.popperConfig)==null?void 0:o.modifiers)||[],...((s=this.config)==null||(s=s.popperConfig)==null?void 0:s.modifiers)||[]]})}))}_defineOverlayConfig(){return{placementMode:`local`}}updated(e){super.updated(e),e.has(`opened`)&&this._overlayCtrl&&!this.__blockSyncToOverlayCtrl&&this.__syncToOverlayController()}_setupOpenCloseListeners(){this.__closeEventInContentNodeHandler=e=>{e.stopPropagation(),this._overlayCtrl.hide()},this._overlayContentNode&&this._overlayContentNode.addEventListener(`close-overlay`,this.__closeEventInContentNodeHandler)}_teardownOpenCloseListeners(){this._overlayContentNode&&this._overlayContentNode.removeEventListener(`close-overlay`,this.__closeEventInContentNodeHandler)}firstUpdated(e){super.firstUpdated(e),this._setupOverlayCtrl()}disconnectedCallback(){super.disconnectedCallback(),this._overlayCtrl&&this._teardownOverlayCtrl()}get _overlayInvokerNode(){return Array.from(this.children).find(e=>e.slot===`invoker`)}get _overlayReferenceNode(){}get _overlayBackdropNode(){return this.__cachedOverlayBackdropNode||(this.__cachedOverlayBackdropNode=Array.from(this.children).find(e=>e.slot===`backdrop`)),this.__cachedOverlayBackdropNode}get _overlayContentNode(){return this._cachedOverlayContentNode||(this._cachedOverlayContentNode=Array.from(this.children).find(e=>e.slot===`content`)||this.config.contentNode),this._cachedOverlayContentNode}get _overlayContentWrapperNode(){var e;return(e=this.shadowRoot)==null?void 0:e.querySelector(`#overlay-content-node-wrapper`)}_setupOverlayCtrl(){this._overlayCtrl=this._defineOverlay({contentNode:this._overlayContentNode,contentWrapperNode:this._overlayContentWrapperNode,invokerNode:this._overlayInvokerNode,referenceNode:this._overlayReferenceNode,backdropNode:this._overlayBackdropNode}),this.__syncToOverlayController(),this.__setupSyncFromOverlayController(),this._setupOpenCloseListeners()}_teardownOverlayCtrl(){this._teardownOpenCloseListeners(),this.__teardownSyncFromOverlayController(),this._overlayCtrl.teardown()}_setOpenedWithoutPropertyEffects(e){var t=this;return P(function*(){t.__blockSyncToOverlayCtrl=!0,t.opened=e,yield t.updateComplete,t.__blockSyncToOverlayCtrl=!1})()}__setupSyncFromOverlayController(){this.__onOverlayCtrlShow=()=>{this.opened=!0},this.__onOverlayCtrlHide=()=>{this.opened=!1},this.__onBeforeShow=e=>{let t=new CustomEvent(`before-opened`,{cancelable:!0});this.dispatchEvent(t),t.defaultPrevented&&(this._setOpenedWithoutPropertyEffects(this._overlayCtrl.isShown),e.preventDefault())},this.__onBeforeHide=e=>{let t=new CustomEvent(`before-closed`,{cancelable:!0});this.dispatchEvent(t),t.defaultPrevented&&(this._setOpenedWithoutPropertyEffects(this._overlayCtrl.isShown),e.preventDefault())},this._overlayCtrl.addEventListener(`show`,this.__onOverlayCtrlShow),this._overlayCtrl.addEventListener(`hide`,this.__onOverlayCtrlHide),this._overlayCtrl.addEventListener(`before-show`,this.__onBeforeShow),this._overlayCtrl.addEventListener(`before-hide`,this.__onBeforeHide)}__teardownSyncFromOverlayController(){this._overlayCtrl.removeEventListener(`show`,this.__onOverlayCtrlShow),this._overlayCtrl.removeEventListener(`hide`,this.__onOverlayCtrlHide),this._overlayCtrl.removeEventListener(`before-show`,this.__onBeforeShow),this._overlayCtrl.removeEventListener(`before-hide`,this.__onBeforeHide)}__syncToOverlayController(){this.opened?this._overlayCtrl.show():this._overlayCtrl.hide()}toggle(){var e=this;return P(function*(){yield e._overlayCtrl.toggle()})()}open(){var e=this;return P(function*(){yield e._overlayCtrl.show()})()}close(){var e=this;return P(function*(){yield e._overlayCtrl.hide()})()}repositionOverlay(){let e=this._overlayCtrl;e.placementMode===`local`&&e._popper&&e._popper.update()}},co=to(so)}));function uo(){return{visibilityTriggerFunction:({controller:e})=>{function t(){e._hasDisabledInvoker()||e.toggle()}return{init:()=>{var n;(n=e.invokerNode)==null||n.addEventListener(`click`,t)},teardown:()=>{var n;(n=e.invokerNode)==null||n.removeEventListener(`click`,t)}}}}}var fo=t((()=>{})),po,mo=t((()=>{fo(),k(),po=()=>O({placementMode:`global`,viewportConfig:{placement:`center`},hasBackdrop:!0,preventsScroll:!0,trapsKeyboardFocus:!0,hidesOnEsc:!0,handlesAccessibility:!0},uo())})),ho=t((()=>{Yt(),$a(),lo(),Wt(),io(),k(),mo(),kn(),Sn(),rn()})),go,_o=t((()=>{go=e=>(t,n)=>{n===void 0?customElements.define(e,t):n.addInitializer(()=>{customElements.define(e,t)})}}));function G(e){return(t,n)=>typeof n==`object`?yo(e,t,n):((e,t,n)=>{let r=t.hasOwnProperty(n);return t.constructor.createProperty(n,e),r?Object.getOwnPropertyDescriptor(t,n):void 0})(e,t,n)}var vo,yo,bo=t((()=>{Ye(),vo={attribute:!0,type:String,converter:Ke,reflect:!1,hasChanged:qe},yo=(e=vo,t,n)=>{let{kind:r,metadata:i}=n,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),r===`setter`&&((e=Object.create(e)).wrapped=!0),a.set(n.name,e),r===`accessor`){let{name:r}=n;return{set(n){let i=t.get.call(this);t.set.call(this,n),this.requestUpdate(r,i,e,!0,n)},init(t){return t!==void 0&&this.C(r,void 0,e,t),t}}}if(r===`setter`){let{name:r}=n;return function(n){let i=this[r];t.call(this,n),this.requestUpdate(r,i,e,!0,n)}}throw Error(`Unsupported decorator location: `+r)}}));function xo(e){return G(O(O({},e),{},{state:!0,attribute:!1}))}var So=t((()=>{bo(),k()})),Co=t((()=>{})),wo=t((()=>{})),To=t((()=>{})),Eo=t((()=>{})),Do=t((()=>{})),Oo=t((()=>{})),ko=t((()=>{_o(),bo(),So(),Co(),wo(),To(),Eo(),Do(),Oo()})),Ao,jo=t((()=>{Ao=`@supports not (translate:0){:host,*,:before,:after{--tw-legacy-translate-x:0;--tw-legacy-translate-y:0;--tw-legacy-rotate:0deg;--tw-legacy-scale-x:1;--tw-legacy-scale-y:1}::backdrop{--tw-legacy-translate-x:0;--tw-legacy-translate-y:0;--tw-legacy-rotate:0deg;--tw-legacy-scale-x:1;--tw-legacy-scale-y:1}}:host,*,:before,:after{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}:root,:host{--font-sans:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", Ubuntu, Cantarell, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:4px;--text-xs:12px;--text-xs--line-height:16px;--text-sm:14px;--text-sm--line-height:calc(1.25 / .875);--text-base:16px;--text-base--line-height:calc(1.5 / 1);--text-lg:18px;--text-lg--line-height:calc(1.75 / 1.125);--text-xl:20px;--text-xl--line-height:calc(1.75 / 1.25);--text-2xl:24px;--text-2xl--line-height:32px;--text-3xl:30px;--text-3xl--line-height:calc(2.25 / 1.875);--text-5xl:48px;--text-5xl--line-height:1;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-wide:.025em;--leading-tight:1.25;--radius-md:6px;--radius-lg:8px;--radius-2xl:16px;--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-black:#000;--color-white:#fff;--color-gray-50:#f9fafb;--color-gray-100:#f3f4f6;--color-gray-200:#e5e7eb;--color-gray-300:#d1d5db;--color-gray-400:#9ca3af;--color-gray-500:#6b7280;--color-gray-600:#4b5563;--color-gray-700:#374151;--color-gray-900:#111827;--color-blue-500:#3b82f6;--color-blue-600:#2563eb}*,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::-webkit-file-upload-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::-webkit-file-upload-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::-webkit-file-upload-button{margin-inline-end:4px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-year-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-month-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-day-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-hour-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-minute-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-second-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-millisecond-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-meridiem-field{padding-block-start:0;padding-block-end:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-file-upload-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*,:after,:before{border-color:var(--color-gray-200,currentcolor)}::backdrop{border-color:var(--color-gray-200,currentcolor)}::-webkit-file-upload-button{border-color:var(--color-gray-200,currentcolor)}::file-selector-button{border-color:var(--color-gray-200,currentcolor)}input::placeholder,textarea::placeholder{color:var(--color-gray-400)}:where(button:not(:disabled),[role=button]:not(:disabled)){cursor:pointer}button,input,select,optgroup,textarea{font-variant:normal;font-style:normal}::-webkit-file-upload-button{font-variant:normal;font-style:normal}::file-selector-button{font-variant:normal;font-style:normal}dialog{margin:auto}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.top-0{top:0}.top-1\\/2{top:50%}.top-3{top:calc(var(--spacing) * 3)}.right-0{right:0}.left-1\\/2{left:50%}.isolate{isolation:isolate}.z-10{z-index:10}.z-2147483598{z-index:2147483598}.m-auto{margin:auto}.mx-auto{margin-inline-start:auto;margin-inline-end:auto}.mt-1{margin-top:var(--spacing)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mr-2{margin-right:calc(var(--spacing) * 2)}.mr-4{margin-right:calc(var(--spacing) * 4)}.mr-auto{margin-right:auto}.-mb-px{margin-bottom:-1px}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-10{margin-bottom:calc(var(--spacing) * 10)}.ml-auto{margin-left:auto}.block{display:block}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.h-1\\.5{height:calc(var(--spacing) * 1.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-32{height:calc(var(--spacing) * 32)}.h-auto{height:auto}.h-dvh{height:100dvh}.h-full{height:100%}.h-full\\!{height:100%!important}.max-h-dvh{max-height:100dvh}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-7{width:calc(var(--spacing) * 7)}.w-8{width:calc(var(--spacing) * 8)}.w-64{width:calc(var(--spacing) * 64)}.w-\\[400px\\]{width:400px}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-screen\\!{width:100vw!important}.max-w-\\[420px\\]{max-width:420px}.max-w-\\[620px\\]{max-width:620px}.max-w-full{max-width:100%}.min-w-12{min-width:calc(var(--spacing) * 12)}.flex-1{flex:1}.grow{flex-grow:1}.border-collapse{border-collapse:collapse}.-translate-x-1\\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}@supports not (translate:0){.-translate-x-1\\/2{--tw-legacy-translate-x:calc(calc(1 / 2 * 100%) * -1);transform:translate(var(--tw-legacy-translate-x), var(--tw-legacy-translate-y)) rotate(var(--tw-legacy-rotate)) scale(var(--tw-legacy-scale-x), var(--tw-legacy-scale-y)) var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}@supports not (translate:0){.translate-x-0{--tw-legacy-translate-x:0px;transform:translate(var(--tw-legacy-translate-x), var(--tw-legacy-translate-y)) rotate(var(--tw-legacy-rotate)) scale(var(--tw-legacy-scale-x), var(--tw-legacy-scale-y)) var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}}.-translate-y-1\\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}@supports not (translate:0){.-translate-y-1\\/2{--tw-legacy-translate-y:calc(calc(1 / 2 * 100%) * -1);transform:translate(var(--tw-legacy-translate-x), var(--tw-legacy-translate-y)) rotate(var(--tw-legacy-rotate)) scale(var(--tw-legacy-scale-x), var(--tw-legacy-scale-y)) var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}@supports not (translate:0){.transform{transform:translate(var(--tw-legacy-translate-x), var(--tw-legacy-translate-y)) rotate(var(--tw-legacy-rotate)) scale(var(--tw-legacy-scale-x), var(--tw-legacy-scale-y)) var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}}.animate-spin{animation:var(--animate-spin)}.cursor-pointer{cursor:pointer}.resize{resize:both}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:var(--spacing)}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-t-2xl{border-top-left-radius:var(--radius-2xl);border-top-right-radius:var(--radius-2xl)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-t-0{border-top-style:var(--tw-border-style);border-top-width:0}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-300{border-color:var(--color-gray-300)}.border-b-gray-100{border-bottom-color:var(--color-gray-100)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-gray-900\\/75{background-color:#111827bf}@supports (color:color-mix(in lab, red, red)){.bg-gray-900\\/75{background-color:color-mix(in oklab, var(--color-gray-900) 75%, transparent)}}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.fill-blue-500{fill:var(--color-blue-500)}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-4{padding:calc(var(--spacing) * 4)}.p-6{padding:calc(var(--spacing) * 6)}.p-10{padding:calc(var(--spacing) * 10)}.p-12{padding:calc(var(--spacing) * 12)}.p-20{padding:calc(var(--spacing) * 20)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-1{padding-block:var(--spacing)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-6{padding-block:calc(var(--spacing) * 6)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-\\[-0\\.125em\\]{vertical-align:-.125em}.font-sans{font-family:var(--font-sans)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-5xl{font-size:var(--text-5xl);line-height:var(--tw-leading,var(--text-5xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.whitespace-nowrap{white-space:nowrap}.text-\\[\\#B42318\\]{color:#b42318}.text-\\[\\#ffb730\\]{color:#ffb730}.text-black{color:var(--color-black)}.text-blue-600{color:var(--color-blue-600)}.text-gray-200{color:var(--color-gray-200)}.text-gray-500{color:var(--color-gray-500)}.text-gray-700{color:var(--color-gray-700)}.text-gray-900{color:var(--color-gray-900)}.text-gray-900\\!{color:var(--color-gray-900)!important}.text-white{color:var(--color-white)}.uppercase{text-transform:uppercase}.italic{font-style:italic}.no-underline\\!{text-decoration-line:none!important}.underline{text-decoration-line:underline}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.drop-shadow{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#0000001a)) drop-shadow(0 1px 1px var(--tw-drop-shadow-color,#0000000f));--tw-drop-shadow:drop-shadow(0 1px 2px #0000001a) drop-shadow(0 1px 1px #0000000f);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-md{--tw-drop-shadow-size:drop-shadow(0 4px 3px var(--tw-drop-shadow-color,#00000012)) drop-shadow(0 2px 2px var(--tw-drop-shadow-color,#0000000f));--tw-drop-shadow:drop-shadow(0 4px 3px #00000012) drop-shadow(0 2px 2px #0000000f);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-300{--tw-duration:.3s;transition-duration:.3s}.hover\\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x) var(--tw-scale-y)}@supports not (translate:0){.hover\\:scale-105:hover{--tw-legacy-scale-x:1.05;--tw-legacy-scale-y:1.05;transform:translate(var(--tw-legacy-translate-x), var(--tw-legacy-translate-y)) rotate(var(--tw-legacy-rotate)) scale(var(--tw-legacy-scale-x), var(--tw-legacy-scale-y)) var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}}.focus\\:outline-hidden:focus{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.focus\\:outline-hidden:focus{outline-offset:2px;outline:2px solid #0000}}@media (min-width:32.5625rem){.modal-desktop\\:h-auto{height:auto}.modal-desktop\\:max-h-\\[90dvh\\]{max-height:90dvh}.modal-desktop\\:max-h-\\[90vh\\]{max-height:90vh}.modal-desktop\\:max-h-\\[min\\(90dvh\\,725px\\)\\]{max-height:min(90dvh,725px)}.modal-desktop\\:w-auto{width:auto}.modal-desktop\\:overflow-auto{overflow:auto}.modal-desktop\\:text-white{color:var(--color-white)}}@media (min-width:40rem){.sm\\:flex-row{flex-direction:row}}@media (min-width:48rem){.md\\:shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}}@media (prefers-color-scheme:dark){.dark\\:text-gray-600{color:var(--color-gray-600)}}@media (max-width:520px){.max-modal-desktop\\:h-full\\!{height:100%!important}}:host{font-family:Matter,sans-serif;font-size:16px}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}`})),Mo,No,Po=t((()=>{Wt(),jo(),Mo=Oe(Ao),No=e=>{class t extends e{connectedCallback(){super.connectedCallback(),this.shadowRoot&&Ae(this.shadowRoot,[Mo])}}return t}}));function K(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}var Fo=t((()=>{})),Io=r({GivebutterDialog:()=>Ro,GivebutterDialogMode:()=>Lo}),Lo,Ro,zo=t((()=>{ho(),Wt(),ko(),Po(),Fo(),k(),Lo=function(e){return e[e.MANUAL=0]=`MANUAL`,e[e.TIMED=1]=`TIMED`,e}({}),Ro=class extends No(co(Bt)){constructor(...e){super(...e),this.trigger=0,this.openDelay=5e3,this.closeButton=!1,this.hideOnEsc=!0,this.hideOnOutsideClick=!1}_defineOverlayConfig(){let e=document.createElement(`div`);return e.id=`overlays-backdrop`,O(O({},po()),{},{hidesOnOutsideEsc:this.hideOnEsc,hidesOnOutsideClick:this.hideOnOutsideClick,backdropNode:e})}connectedCallback(){super.connectedCallback(),this.trigger===1&&(this.openTimeout=setTimeout(()=>{this.toggle()},this.openDelay))}disconnectedCallback(){clearTimeout(this.openTimeout),this.opened&&this.close(),super.disconnectedCallback()}render(){return U`
      ${this.getBackdropStyles()}
      <slot name="invoker"></slot>
      <div id="overlay-content-node-wrapper">
        ${this.closeButton?this.renderCloseIcon():``}
        <slot name="content"></slot>
      </div>
    `}renderCloseIcon(){return U`
      <div
        class="pointer-events-auto absolute top-0 right-0 z-10 cursor-pointer p-4 modal-desktop:text-white"
        @click="${this.close}"
      >
        <svg class="h-7 w-7" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 352 512">
          <path
            d="M242.7 256l100.1-100.1c12.3-12.3 12.3-32.2 0-44.5s-32.2-12.3-44.5 0L198.2 211.5 98.1 111.4c-12.3-12.3-32.2-12.3-44.5 0s-12.3 32.2 0 44.5L153.7 256 53.6 356.1c-12.3 12.3-12.3 32.2 0 44.5 6.2 6.2 14.3 9.3 22.3 9.3s16.1-3.1 22.3-9.3L198.2 300.5l100.1 100.1c6.2 6.2 14.3 9.3 22.3 9.3s16.1-3.1 22.3-9.3c12.3-12.3 12.3-32.2 0-44.5L242.7 256z"
            fill="currentColor"
          />
        </svg>
      </div>
    `}getBackdropStyles(){return U`
      <style>
        #overlays-backdrop {
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background-color: #fff;
          position: fixed;
          opacity: 1;
        }

        #overlays-backdrop.overlays__backdrop--visible {
          display: block;
        }

        #overlays-backdrop.overlays__backdrop--animation-in {
          animation: overlays-backdrop-fade-in 300ms;
        }

        #overlays-backdrop.overlays__backdrop--animation-out {
          animation: overlays-backdrop-fade-out 300ms;
          opacity: 0;
        }

        @media (max-width: 520px) {
          dialog {
            width: 100%;
            height: 100%;
            max-width: 100vw;
            max-width: 100svw;
            max-height: 100vh;
            max-height: 100svh;
          }

          #overlay-content-node-wrapper {
            overflow-y: auto;
          }
        }

        @media (min-width: 521px) {
          #overlays-backdrop {
            background-color: #000;
            opacity: 0.7;
          }

          #overlay-content-node-wrapper {
            height: 100%;
          }
        }

        @keyframes overlays-backdrop-fade-in {
          from {
            opacity: 0;
          }
        }

        @keyframes overlays-backdrop-fade-out {
          from {
            opacity: 0.7;
          }
        }
      </style>
    `}},K([G({type:Number,attribute:`trigger`})],Ro.prototype,`trigger`,void 0),K([G({type:Number,attribute:`open-delay`})],Ro.prototype,`openDelay`,void 0),K([G({type:Boolean,attribute:`close-button`})],Ro.prototype,`closeButton`,void 0),K([G({type:Boolean,attribute:`hide-on-esc`})],Ro.prototype,`hideOnEsc`,void 0),K([G({type:Boolean,attribute:`hide-on-outside-click`})],Ro.prototype,`hideOnOutsideClick`,void 0),Ro=K([go(`givebutter-dialog`)],Ro)})),Bo,Vo=t((()=>{Ut(),F(),Bo=class{constructor(e,{target:t,config:n,callback:r,skipInitial:i}){this.t=new Set,this.o=!1,this.i=!1,this.h=e,t!==null&&this.t.add(t==null?e:t),this.l=n,this.o=i==null?this.o:i,this.callback=r,window.MutationObserver?(this.u=new MutationObserver(e=>{this.handleChanges(e),this.h.requestUpdate()}),e.addController(this)):console.warn(`MutationController error: browser does not support MutationObserver.`)}handleChanges(e){var t;this.value=(t=this.callback)==null?void 0:t.call(this,e,this.u)}hostConnected(){for(let e of this.t)this.observe(e)}hostDisconnected(){this.disconnect()}hostUpdated(){var e=this;return P(function*(){let t=e.u.takeRecords();(t.length||!e.o&&e.i)&&e.handleChanges(t),e.i=!1})()}observe(e){this.t.add(e),this.u.observe(e,this.l),this.i=!0,this.h.requestUpdate()}disconnect(){this.u.disconnect()}}})),Ho,Uo=t((()=>{It(),Ho=e=>e==null?W:e})),Wo=t((()=>{Uo()})),Go,Ko,qo=t((()=>{It(),{I:Go}=Nt,Ko=e=>e.strings===void 0})),Jo,Yo,Xo,Zo=t((()=>{Jo={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Yo=e=>(...t)=>({_$litDirective$:e,values:t}),Xo=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,n){this._$Ct=e,this._$AM=t,this._$Ci=n}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}}}));function Qo(e){this._$AN===void 0?this._$AM=e:(ts(this),this._$AM=e,ns(this))}function $o(e,t=!1,n=0){let r=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(t)if(Array.isArray(r))for(let e=n;e<r.length;e++)es(r[e],!1),ts(r[e]);else r!=null&&(es(r,!1),ts(r));else es(this,e)}var es,ts,ns,rs,is,as=t((()=>{qo(),Zo(),es=(e,t)=>{var n;let r=e._$AN;if(r===void 0)return!1;for(let e of r)(n=e._$AO)==null||n.call(e,t,!1),es(e,t);return!0},ts=e=>{let t,n;do{if((t=e._$AM)===void 0)break;n=t._$AN,n.delete(e),e=t}while((n==null?void 0:n.size)===0)},ns=e=>{for(let t;t=e._$AM;e=t){let n=t._$AN;if(n===void 0)t._$AN=n=new Set;else if(n.has(e))break;n.add(e),rs(t)}},rs=e=>{e.type==Jo.CHILD&&(e._$AP!=null||(e._$AP=$o),e._$AQ!=null||(e._$AQ=Qo))},is=class extends Xo{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,t,n){super._$AT(e,t,n),ns(this),this.isConnected=e._$AU}_$AO(e,t=!0){var n,r;e!==this.isConnected&&(this.isConnected=e,e?(n=this.reconnected)==null||n.call(this):(r=this.disconnected)==null||r.call(this)),t&&(es(this,e),ts(this))}setValue(e){if(Ko(this._$Ct))this._$Ct._$AI(e,this);else{let t=[...this._$Ct._$AH];t[this._$Ci]=e,this._$Ct._$AI(t,this,0)}}disconnected(){}reconnected(){}}})),os,ss,cs,ls,us=t((()=>{It(),as(),Zo(),os=()=>new ss,ss=class{},cs=new WeakMap,ls=Yo(class extends is{render(e){return W}update(e,[t]){var n;let r=t!==this.G;return r&&this.G!==void 0&&this.rt(void 0),(r||this.lt!==this.ct)&&(this.G=t,this.ht=(n=e.options)==null?void 0:n.host,this.rt(this.ct=e.element)),W}rt(e){if(this.isConnected||(e=void 0),typeof this.G==`function`){var t;let n=(t=this.ht)==null?globalThis:t,r=cs.get(n);r===void 0&&(r=new WeakMap,cs.set(n,r)),r.get(this.G)!==void 0&&this.G.call(this.ht,void 0),r.set(this.G,e),e!==void 0&&this.G.call(this.ht,e)}else this.G.value=e}get lt(){var e,t,n;return typeof this.G==`function`?(e=cs.get((t=this.ht)==null?globalThis:t))==null?void 0:e.get(this.G):(n=this.G)==null?void 0:n.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}})})),ds=t((()=>{us()})),fs,ps,ms,hs=t((()=>{It(),Zo(),fs=`important`,ps=` !important`,ms=Yo(class extends Xo{constructor(e){var t;if(super(e),e.type!==Jo.ATTRIBUTE||e.name!==`style`||((t=e.strings)==null?void 0:t.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,n)=>{let r=e[n];return r==null?t:t+`${n=n.includes(`-`)?n:n.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,`-$&`).toLowerCase()}:${r};`},``)}update(e,[t]){let{style:n}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let e of this.ft)t[e]==null&&(this.ft.delete(e),e.includes(`-`)?n.removeProperty(e):n[e]=null);for(let e in t){let r=t[e];if(r!=null){this.ft.add(e);let t=typeof r==`string`&&r.endsWith(ps);e.includes(`-`)||t?n.setProperty(e,t?r.slice(0,-11):r,t?fs:``):n[e]=r}}return xt}})})),gs=t((()=>{hs()})),_s,vs=t((()=>{Wt(),_s=class{constructor(e,t){this.icon=e,this.labelColor=t}getSVG(){switch(this.icon){case`none`:return``;case`ticket`:return this.ticketIcon();case`gift`:return this.giftIcon();case`giving_hands`:return this.givingHandsIcon();default:return this.heartIcon()}}ticketIcon(){return U`
      <svg
        width="18"
        height="16"
        viewBox="0 0 18 16"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
      >
        <path
          d="M2 2H16C17.0938 2 18 2.90625 18 4V6.5C17.1562 6.5 16.5 7.1875 16.5 8C16.5 8.84375 17.1562 9.5 18 9.5V12C18 13.125 17.0938 14 16 14H2C0.875 14 0 13.125 0 12V9.5C0.8125 9.5 1.5 8.84375 1.5 8C1.5 7.1875 0.8125 6.5 0 6.5V4C0 2.90625 0.875 2 2 2ZM4 5H14V11H4V5ZM3 5V11C3 11.5625 3.4375 12 4 12H14C14.5312 12 15 11.5625 15 11V5C15 4.46875 14.5312 4 14 4H4C3.4375 4 3 4.46875 3 5Z"
          fill="${this.labelColor}"
        />
      </svg>
    `}heartIcon(){return U`
      <svg
        width="16"
        height="14"
        viewBox="0 0 16 14"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
      >
        <path
          d="M2 8L1.21875 7.25C0.4375 6.46875 0 5.375 0 4.25C0 1.90625 1.875 0 4.21875 0C5.34375 0 6.4375 0.46875 7.21875 1.25L8 2L8.75 1.25C9.53125 0.46875 10.625 0 11.75 0C14.0938 0 16 1.90625 16 4.25C16 5.375 15.5312 6.46875 14.75 7.25L14 8L8 14L2 8Z"
          fill="${this.labelColor}"
        />
      </svg>
    `}giftIcon(){return U`
      <svg
        width="16"
        height="16"
        viewBox="0 0 16 16"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
      >
        <path
          d="M5.9375 2.15625C5.71875 1.75 5.28125 1.5 4.8125 1.5H4.75C4.03125 1.5 3.5 2.0625 3.5 2.75C3.5 3.46875 4.03125 4 4.75 4H7H7.03125L5.9375 2.15625ZM2 2.75C2 1.25 3.21875 0 4.75 0H4.8125C5.8125 0 6.71875 0.53125 7.21875 1.40625L8 2.6875L8.75 1.40625C9.25 0.53125 10.1562 0 11.1562 0H11.25C12.75 0 14 1.25 14 2.75C14 3.21875 13.875 3.625 13.6875 4H16V8H0V4H2.28125C2.09375 3.625 2 3.21875 2 2.75ZM12.5 2.75C12.5 2.0625 11.9375 1.5 11.25 1.5H11.1562C10.6875 1.5 10.2812 1.75 10.0312 2.15625L8.9375 4H9H11.25C11.9375 4 12.5 3.46875 12.5 2.75ZM1 9H7V16H1V9ZM9 16V9H15V16H9Z"
          fill="${this.labelColor}"
        />
      </svg>
    `}givingHandsIcon(){return U`
      <svg
        width="20"
        height="17"
        viewBox="0 0 20 17"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
      >
        <path
          d="M5.625 2.3125C5.625 1.0625 6.65625 0 7.9375 0H8.03125C8.625 0 9.25 0.25 9.6875 0.6875L10 0.96875L10.2812 0.6875C10.7188 0.25 11.3438 0 11.9688 0H12.0625C13.3125 0 14.375 1.0625 14.375 2.3125C14.375 2.96875 14.0938 3.5625 13.6562 4L10.4062 7.09375L10 7.53125L9.5625 7.09375L6.3125 4C5.875 3.5625 5.625 2.96875 5.625 2.3125ZM2.5 2V3.25V3.5V4.5V7V9.09375L5.125 11.7188L6.40625 10.8438L5.28125 9.71875L4.5625 9L4.28125 8.71875L3.5625 8L5 6.59375L5.6875 7.3125L6 7.59375L6.6875 8.3125L8.6875 10.3125L9 10.5938V11V13V14V15V16H8H5H4.5625L4.28125 15.7188L0.28125 11.7188L0 11.4375V11V7V5V4V3.25V2H2.5ZM17.5 2H20V3.25V4V5V7V11V11.4375L19.6875 11.7188L15.6875 15.7188L15.4062 16.0312H15H12H11V15V14V13V11V10.5938L11.2812 10.3125L13.2812 8.3125L14 7.59375L14.2812 7.3125L15 6.59375L16.4062 8L15.6875 8.71875L15.4062 9L14.6875 9.71875L13.5625 10.8438L14.8438 11.7188L17.5 9.09375V7V4.5V3.5V3.25V2Z"
          fill="${this.labelColor}"
        />
      </svg>
    `}}}));function ys(e){return e==null}var bs,xs=t((()=>{a(),bs=class{static string(e,t,n,r){return ys(t)?!1:r.includes(t)?t!==n:(i.error(`Attribute ${e} is invalid. Accepted: ${r.join(`, `)}.`),!1)}static number(e,t,n){return ys(t)?!1:typeof t!=`number`||Number.isNaN(t)?(i.error(`Attribute ${e} must be a number`),!1):t!==n}static checkRequiredProps(e,t,n){for(let r of n)if(t.has(r)&&(!e[`${r}`]||e[`${r}`].length===0)){let e=`${r} attribute is required.`;return i.error(e.charAt(0).toUpperCase()+e.slice(1)),!1}return!0}}})),Ss,Cs,ws=t((()=>{ko(),ae(),v(),xs(),Fo(),Ss=function(e){return e[e.BUTTON=0]=`BUTTON`,e[e.DYNAMIC=1]=`DYNAMIC`,e[e.GIVING_FORM=2]=`GIVING_FORM`,e[e.SIGNUP_FORM=3]=`SIGNUP_FORM`,e[e.GOAL_BAR=4]=`GOAL_BAR`,e}(Ss||{}),Cs=e=>{class t extends e{constructor(...e){super(...e),this.analytics=ie.analytics,this.componentType=null,this.account=_.getAccountId(),this.campaign=``,this.widgetId=``,this.embedUrl=``}shouldUpdate(e){let t=this.componentType===1||this.componentType===3?[`account`,`id`]:[`account`,`campaign`];return bs.checkRequiredProps(this,e,t)}}return K([G({type:String,attribute:`account`})],t.prototype,`account`,void 0),K([G({type:String,attribute:`campaign`})],t.prototype,`campaign`,void 0),K([G({type:String,attribute:`id`})],t.prototype,`widgetId`,void 0),K([G({type:String,attribute:`embed-url`})],t.prototype,`embedUrl`,void 0),t}})),Ts,Es=t((()=>{Wt(),ws(),Po(),Ts=No(Cs(Bt))})),Ds,Os,ks=t((()=>{Os=class{},Ds=Os,Ds._boolean={fromAttribute:e=>e===`true`,toAttribute:e=>e?`true`:`false`},Ds._booleanUnlessFalse={fromAttribute:e=>e!==null&&e!==`false`,toAttribute:e=>e?`true`:`false`}})),As=r({GivebutterButton:()=>q}),js,Ms,Ns,Ps,Fs,q,Is=t((()=>{Vo(),Wt(),ko(),Wo(),ds(),gs(),vs(),Es(),ws(),ae(),ks(),xs(),Fo(),k(),js=`z-2147483598`,Ms=function(e){return e.LINK=`link`,e.MODAL=`modal`,e}(Ms||{}),Ns=function(e){return e.GIFT=`gift`,e.GIVING_HANDS=`giving_hands`,e.HEART=`heart`,e.NONE=`none`,e.TICKET=`ticket`,e}(Ns||{}),Ps=function(e){return e.LEFT=`left`,e.RIGHT=`right`,e}(Ps||{}),Fs=function(e){return e.BOTTOM_LEFT=`bottom-left`,e.BOTTOM_RIGHT=`bottom-right`,e.MIDDLE_LEFT=`middle-left`,e.MIDDLE_RIGHT=`middle-right`,e.NONE=``,e.TOP_LEFT=`top-left`,e.TOP_RIGHT=`top-right`,e}(Fs||{}),q=class extends Ts{constructor(){super(),this.isOpen=!1,this._embedUrl=``,this._type=`modal`,this._hideButton=!1,this._label=`Donate`,this._hideLabel=!1,this._labelColor=`#FFFFFF`,this._backgroundColor=`#3366FF`,this._icon=`heart`,this._iconPosition=`left`,this._dropShadow=!0,this._borderRadius=100,this._borderColor=``,this._borderWidth=0,this._buttonClass=``,this._position=``,this._verticalOffset=16,this._horizontalOffset=16,this._buttonTransformShow=`scale(1)`,this._buttonTransformHide=`scale(0)`,this._maxWidth=`560px`,this.isEventTicketsFlow=!1,this.contentRef=os(),this.observer=new Bo(this,{config:{childList:!0,subtree:!0},target:document.querySelector(`[data-overlay-outer-wrapper]`),callback:e=>{let t=e[0];t&&(this.isOpen=t.removedNodes.length<=0)}}),this.componentType=Ss.BUTTON}set embedUrl(e){this._embedUrl=e}get embedUrl(){return this._embedUrl}set type(e){bs.string(`type`,e,this._type,Object.values(Ms))&&(this._type=e)}get type(){return this._type}set hideButton(e){this._hideButton=e}get hideButton(){return this._hideButton}set label(e){this._label=e}get label(){return this._label}set hideLabel(e){this._hideLabel=e}get hideLabel(){return this._hideLabel}set labelColor(e){this._labelColor=e}get labelColor(){return this._labelColor}set backgroundColor(e){this._backgroundColor=e}get backgroundColor(){return this._backgroundColor}set icon(e){bs.string(`icon`,e,this._icon,Object.values(Ns))&&(this._icon=e)}get icon(){return this._icon}set iconPosition(e){bs.string(`icon-position`,e,this._iconPosition,Object.values(Ps))&&(this._iconPosition=e)}get iconPosition(){return this._iconPosition}set dropShadow(e){this._dropShadow=e}get dropShadow(){return this._dropShadow}set borderRadius(e){bs.number(`border-radius`,e,this._borderRadius)&&(this._borderRadius=e)}get borderRadius(){return this._borderRadius}set borderColor(e){this._borderColor=e}get borderColor(){return this._borderColor}set borderWidth(e){bs.number(`border-width`,e,this._borderWidth)&&(this._borderWidth=e)}get borderWidth(){return this._borderWidth}set buttonClass(e){this._buttonClass=e}get buttonClass(){return this._buttonClass}set position(e){bs.string(`position`,e,this._position,Object.values(Fs))&&(this._position=e)}get position(){return this._position}set verticalOffset(e){bs.number(`vertical-offset`,e,this._verticalOffset)&&(this._verticalOffset=e)}get verticalOffset(){return this._verticalOffset}set horizontalOffset(e){bs.number(`horizontal-offset`,e,this._horizontalOffset)&&(this._horizontalOffset=e)}get horizontalOffset(){return this._horizontalOffset}set buttonTransformShow(e){this._buttonTransformShow=e}get buttonTransformShow(){return this._buttonTransformShow}set buttonTransformHide(e){this._buttonTransformHide=e}get buttonTransformHide(){return this._buttonTransformHide}set maxWidth(e){this._maxWidth=e}get maxWidth(){return this._maxWidth}firstUpdated(){this.contentRef.value&&this.observer.observe(this.contentRef.value)}render(){let e=`${this.getDropShadowClass()} ${this.buttonClass} w-fit transition transform hover:scale-105 flex h-4 min-w-12 cursor-pointer items-center justify-center gap-1.5 bg-transparent px-4 py-6 font-sans text-base font-semibold`;if(this.type===`link`){let t=`?source=widgets`;return this.widgetId.length>0&&(t+=`&gba_gb.element.id=${this.widgetId}`),U`
        <div
          class="${js} ${this.getPosition()}"
          style=${ms(this.getPositionStyles())}
        >
          <a
            href="${ie.apiUrl}/c/${this.campaign}${t}"
            slot="trigger"
            data-testID="givebutter-button"
            class="${e}"
            aria-label="${this.label}"
            style=${ms(this.getButtonStyles())}
          >
            ${this.renderLabel()}
          </a>
        </div>
      `}return U`
      <givebutter-dialog>
        <button
          slot="invoker"
          data-testID="givebutter-button"
          class="${e} ${js} ${this.getPosition()}"
          role="button"
          aria-label="${this.label}"
          style=${ms(O(O({},this.getButtonStyles()),this.getPositionStyles()))}
        >
          ${this.renderLabel()}
        </button>
        <div ${ls(this.contentRef)} slot="content" role="dialog" aria-label="Campaign donation">
          ${this.isOpen?U`<givebutter-giving-form
                  id="${this.widgetId}"
                  max-width="${this.maxWidth}"
                  account="${this.account}"
                  campaign="${this.campaign}"
                  embed-url="${Ho(this.getEmbedUrl())}"
                  .isEventTicketsFlow="${this.isEventTicketsFlow}"
                  closable
                ></givebutter-giving-form> `:``}
        </div>
      </givebutter-dialog>
    `}renderLabel(){return this.iconPosition===`left`?U`${this.showIcon()} ${this.showLabel()}`:U`${this.showLabel()} ${this.showIcon()}`}getButtonStyles(){return this.hideButton?{display:`none`,pointerEvents:`none`}:{color:this.labelColor,backgroundColor:this.backgroundColor,borderColor:this.borderColor,borderRadius:`${this.borderRadius}px`,borderWidth:`${this.borderWidth}px`}}showLabel(){return this.hideLabel||this.label.length===0?``:U`<span class="overflow-visible whitespace-nowrap transition-all duration-300"
          >${this.label}</span
        >`}showIcon(){return new _s(this.icon,this.labelColor).getSVG()}getDropShadowClass(){return this.dropShadow?`drop-shadow-md`:``}getPosition(){let e=this.position,t=[];e.length>0&&t.push(`fixed`);let[n]=e.toLowerCase().split(`-`);return n===`middle`&&(t.push(`top-1/2`),t.push(`translate-x-0`),t.push(`-translate-y-1/2`)),t.join(` `)}getPositionStyles(){let[e,t]=this.position.toLowerCase().split(`-`),n={};return e===`top`&&(n.top=`${this.verticalOffset}px`),e===`bottom`&&(n.bottom=`${this.verticalOffset}px`),t===`left`&&(n.left=`${this.horizontalOffset}px`),t===`right`&&(n.right=`${this.horizontalOffset}px`),n}getEmbedUrl(){return this.embedUrl.length>0?this.embedUrl:void 0}},K([xo()],q.prototype,`isOpen`,void 0),K([G({type:String,attribute:`embed-url`})],q.prototype,`embedUrl`,null),K([G({type:String,attribute:`type`})],q.prototype,`type`,null),K([G({type:Boolean,attribute:`hide-button`})],q.prototype,`hideButton`,null),K([G({type:String,attribute:`label`})],q.prototype,`label`,null),K([G({type:Boolean,attribute:`hide-label`,converter:Os._booleanUnlessFalse})],q.prototype,`hideLabel`,null),K([G({type:String,attribute:`label-color`})],q.prototype,`labelColor`,null),K([G({type:String,attribute:`background-color`})],q.prototype,`backgroundColor`,null),K([G({type:String,attribute:`icon`})],q.prototype,`icon`,null),K([G({type:String,attribute:`icon-position`})],q.prototype,`iconPosition`,null),K([G({type:Boolean,attribute:`drop-shadow`,converter:Os._boolean})],q.prototype,`dropShadow`,null),K([G({type:Number,attribute:`border-radius`})],q.prototype,`borderRadius`,null),K([G({type:String,attribute:`border-color`})],q.prototype,`borderColor`,null),K([G({type:Number,attribute:`border-width`})],q.prototype,`borderWidth`,null),K([G({type:String,attribute:`button-class`})],q.prototype,`buttonClass`,null),K([G({type:String,attribute:`position`})],q.prototype,`position`,null),K([G({type:Number,attribute:`vertical-offset`})],q.prototype,`verticalOffset`,null),K([G({type:Number,attribute:`horizontal-offset`})],q.prototype,`horizontalOffset`,null),K([G({type:String,attribute:`button-transform-show`})],q.prototype,`buttonTransformShow`,null),K([G({type:String,attribute:`button-transform-hide`})],q.prototype,`buttonTransformHide`,null),K([G({type:String,attribute:`max-width`})],q.prototype,`maxWidth`,null),K([G({type:Boolean})],q.prototype,`isEventTicketsFlow`,void 0),q=K([go(`givebutter-button`)],q)})),Ls=n(((e,t)=>{console.info(`
IFRAME-RESIZER

Iframe-Resizer 5 is now available via the following two packages:

 * @iframe-resizer/parent
 * @iframe-resizer/child

Additionally their are also new versions of iframe-resizer for React, Vue, and jQuery.

Version 5 of iframe-resizer has been extensively rewritten to use modern browser APIs, which has enabled significantly better performance and greater accuracy in the detection of content resizing events.

Please see https://iframe-resizer.com/upgrade for more details.
`),(function(e){if(typeof window>`u`)return;var n=0,r,i=!1,a=!1,o=7,s=`[iFrameSizer]`,c=s.length,l=null,u=window.requestAnimationFrame,d=Object.freeze({max:1,scroll:1,bodyScroll:1,documentElementScroll:1}),f={},p=null,m=Object.freeze({autoResize:!0,bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!0,inPageLinks:!1,enablePublicMethods:!0,heightCalculationMethod:`bodyOffset`,id:`iFrameResizer`,interval:32,license:`1jqr0si6pnt`,log:!1,maxHeight:1/0,maxWidth:1/0,minHeight:0,minWidth:0,mouseEvents:!0,resizeFrom:`parent`,scrolling:!1,sizeHeight:!0,sizeWidth:!1,warningTimeout:5e3,tolerance:0,widthCalculationMethod:`scroll`,onClose:function(){return!0},onClosed:function(){},onInit:function(){},onMessage:function(){w(`onMessage function not defined`)},onMouseEnter:function(){},onMouseLeave:function(){},onResized:function(){},onScroll:function(){return!0}});function h(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function g(e,t,n){e.addEventListener(t,n,!1)}function _(e,t,n){e.removeEventListener(t,n,!1)}function v(){var e=[`moz`,`webkit`,`o`,`ms`],t;for(t=0;t<e.length&&!u;t+=1)u=window[e[t]+`RequestAnimationFrame`];u?u=u.bind(window):S(`setup`,`RequestAnimationFrame not supported`)}function y(e){var t=`Host page: `+e;return window.top!==window.self&&(t=window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+`: `+e:`Nested host page: `+e),t}function b(e){return s+`[`+y(e)+`]`}function x(e){return f[e]?f[e].log:i}function S(e,t){T(`log`,e,t,x(e))}function C(e,t){T(`info`,e,t,x(e))}function w(e,t){T(`warn`,e,t,!0)}function T(e,t,n,r){!0===r&&typeof window.console==`object`&&console[e](b(t),n)}function E(e){function t(){function e(){j(R),O(z),P(`onResized`,R)}a(`Height`),a(`Width`),re(e,R,`init`)}function n(){var e=L.slice(c).split(`:`),t=e[1]?parseInt(e[1],10):0,n=f[e[0]]&&f[e[0]].iframe,a=getComputedStyle(n);return{iframe:n,id:e[0],height:t+r(a)+i(a),width:e[2],type:e[3]}}function r(e){return e.boxSizing===`border-box`?(e.paddingTop?parseInt(e.paddingTop,10):0)+(e.paddingBottom?parseInt(e.paddingBottom,10):0):0}function i(e){return e.boxSizing===`border-box`?(e.borderTopWidth?parseInt(e.borderTopWidth,10):0)+(e.borderBottomWidth?parseInt(e.borderBottomWidth,10):0):0}function a(e){var t=Number(f[z][`max`+e]),n=Number(f[z][`min`+e]),r=e.toLowerCase(),i=Number(R[r]);S(z,`Checking `+r+` is in range `+n+`-`+t),i<n&&(i=n,S(z,`Set `+r+` to min value`)),i>t&&(i=t,S(z,`Set `+r+` to max value`)),R[r]=``+i}function u(){function t(){function e(){var e=0,t=!1;for(S(z,`Checking connection is from allowed list of origins: `+r);e<r.length;e++)if(r[e]===n){t=!0;break}return t}function t(){var e=f[z]&&f[z].remoteHost;return S(z,`Checking connection is from: `+e),n===e}return r.constructor===Array?e():t()}var n=e.origin,r=f[z]&&f[z].checkOrigin;if(r&&``+n!=`null`&&!t())throw Error(`Unexpected message received from: `+n+` for `+R.iframe.id+`. Message was: `+e.data+`. This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.`);return!0}function d(){return s===(``+L).slice(0,c)&&L.slice(c).split(`:`)[0]in f}function p(){var e=R.type in{true:1,false:1,undefined:1};return e&&S(z,`Ignoring init message from meta parent page`),e}function m(e){return L.slice(L.indexOf(`:`)+o+e)}function h(e){S(z,`onMessage passed: {iframe: `+R.iframe.id+`, message: `+e+`}`),P(`onMessage`,{iframe:R.iframe,message:JSON.parse(e)}),S(z,`--`)}function v(){var e=document.body.getBoundingClientRect(),t=R.iframe.getBoundingClientRect();return JSON.stringify({iframeHeight:t.height,iframeWidth:t.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(t.top-e.top,10),offsetLeft:parseInt(t.left-e.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,documentHeight:document.documentElement.clientHeight,documentWidth:document.documentElement.clientWidth,windowHeight:window.innerHeight,windowWidth:window.innerWidth})}function y(e,t){function n(){M(`Send Page Info`,`pageInfo:`+v(),e,t)}F(n,32,t)}function b(){function e(e,n){function i(){f[r]?y(f[r].iframe,r):t()}[`scroll`,`resize`].forEach(function(t){S(r,e+t+` listener for sendPageInfo`),n(window,t,i)})}function t(){e(`Remove `,_)}function n(){e(`Add `,g)}var r=z;n(),f[r]&&(f[r].stopPageInfo=t)}function x(){f[z]&&f[z].stopPageInfo&&(f[z].stopPageInfo(),delete f[z].stopPageInfo)}function T(){var e=!0;return R.iframe===null&&(w(z,`IFrame (`+R.id+`) not found`),e=!1),e}function E(e){var t=e.getBoundingClientRect();return ne(z),{x:Math.floor(Number(t.left)+Number(l.x)),y:Math.floor(Number(t.top)+Number(l.y))}}function ee(e){function t(){l=a,ie(),S(z,`--`)}function n(){return{x:Number(R.width)+i.x,y:Number(R.height)+i.y}}function r(){window.parentIFrame?window.parentIFrame[`scrollTo`+(e?`Offset`:``)](a.x,a.y):w(z,`Unable to scroll to requested position, window.parentIFrame not found`)}var i=e?E(R.iframe):{x:0,y:0},a=n();S(z,`Reposition requested from iFrame (offset x:`+i.x+` y:`+i.y+`)`),window.top===window.self?t():r()}function ie(){!1===P(`onScroll`,l)?k():O(z)}function ae(e){function t(){var e=E(a);S(z,`Moving to in page link (#`+r+`) at x: `+e.x+` y: `+e.y),l={x:e.x,y:e.y},ie(),S(z,`--`)}function n(){window.parentIFrame?window.parentIFrame.moveToAnchor(r):S(z,`In page link #`+r+` not found and window.parentIFrame not found`)}var r=e.split(`#`)[1]||``,i=decodeURIComponent(r),a=document.getElementById(i)||document.getElementsByName(i)[0];a?t():window.top===window.self?S(z,`In page link #`+r+` not found`):n()}function oe(e){var t={};if(Number(R.width)===0&&Number(R.height)===0){var n=m(9).split(`:`);t={x:n[1],y:n[0]}}else t={x:R.width,y:R.height};P(e,{iframe:R.iframe,screenX:Number(t.x),screenY:Number(t.y),type:R.type})}function P(e,t){return D(z,e,t)}function se(){switch(f[z]&&f[z].firstRun&&le(),R.type){case`close`:te(R.iframe);break;case`message`:h(m(6));break;case`mouseenter`:oe(`onMouseEnter`);break;case`mouseleave`:oe(`onMouseLeave`);break;case`autoResize`:f[z].autoResize=JSON.parse(m(9));break;case`scrollTo`:ee(!1);break;case`scrollToOffset`:ee(!0);break;case`pageInfo`:y(f[z]&&f[z].iframe,z),b();break;case`pageInfoStop`:x();break;case`inPageLink`:ae(m(9));break;case`reset`:A(R);break;case`init`:t(),P(`onInit`,R.iframe);break;default:Number(R.width)===0&&Number(R.height)===0?w(`Unsupported message received (`+R.type+`), this is likely due to the iframe containing a later version of iframe-resizer than the parent page`):t()}}function ce(e){var t=!0;return f[e]||(t=!1,w(R.type+` No settings for `+e+`. Message was: `+L)),t}function I(){for(var e in f)M(`iFrame requested init`,N(e),f[e].iframe,e)}function le(){f[z]&&(f[z].firstRun=!1)}var L=e.data,R={},z=null;L===`[iFrameResizerChild]Ready`?I():d()?(R=n(),z=R.id,f[z]&&(f[z].loaded=!0),!p()&&ce(z)&&(S(z,`Received: `+L),T()&&u()&&se())):C(z,`Ignored: `+L)}function D(e,t,n){var r=null,i=null;if(f[e])if(r=f[e][t],typeof r==`function`)i=r(n);else throw TypeError(t+` on iFrame[`+e+`] is not a function`);return i}function ee(e){var t=e.id;delete f[t]}function te(e){var t=e.id;if(D(t,`onClose`,t)===!1){S(t,`Close iframe cancelled by onClose event`);return}S(t,`Removing iFrame: `+t);try{e.parentNode&&e.parentNode.removeChild(e)}catch(e){w(e)}D(t,`onClosed`,t),S(t,`--`),ee(e),r&&(r.disconnect(),r=null)}function ne(t){l===null&&(l={x:window.pageXOffset===e?document.documentElement.scrollLeft:window.pageXOffset,y:window.pageYOffset===e?document.documentElement.scrollTop:window.pageYOffset},S(t,`Get page position: `+l.x+`,`+l.y))}function O(e){l!==null&&(window.scrollTo(l.x,l.y),S(e,`Set page position: `+l.x+`,`+l.y),k())}function k(){l=null}function A(e){function t(){j(e),M(`reset`,`reset`,e.iframe,e.id)}S(e.id,`Size reset requested by `+(e.type===`init`?`host page`:`iFrame`)),ne(e.id),re(t,e,`reset`)}function j(e){function t(t){if(!e.id){S(`undefined`,`messageData id not set`);return}e.iframe.style[t]=e[t]+`px`,S(e.id,`IFrame (`+i+`) `+t+` set to `+e[t]+`px`)}function n(t){!a&&e[t]===`0`&&(a=!0,S(i,`Hidden iFrame detected, creating visibility listener`),se())}function r(e){t(e),n(e)}var i=e.iframe.id;f[i]&&(f[i].sizeHeight&&r(`height`),f[i].sizeWidth&&r(`width`))}function re(e,t,n){n!==t.type&&u&&!window.jasmine?(S(t.id,`Requesting animation frame`),u(e)):e()}function M(e,t,n,r,i){function a(){var i=f[r]&&f[r].targetOrigin;S(r,`[`+e+`] Sending msg to iframe[`+r+`] (`+t+`) targetOrigin: `+i),n.contentWindow.postMessage(s+t,i)}function o(){w(r,`[`+e+`] IFrame(`+r+`) not found`)}function c(){n&&`contentWindow`in n&&n.contentWindow!==null?a():o()}function l(){function e(){f[r]&&!f[r].loaded&&!u&&(u=!0,w(r,`IFrame has not responded within `+f[r].warningTimeout/1e3+` seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ignored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning.`))}i&&f[r]&&f[r].warningTimeout&&(f[r].msgTimeout=setTimeout(e,f[r].warningTimeout))}var u=!1;r=r||n.id,f[r]&&(c(),l())}function N(e){return e+`:`+f[e].bodyMarginV1+`:`+f[e].sizeWidth+`:`+f[e].log+`:`+f[e].interval+`:`+f[e].enablePublicMethods+`:`+f[e].autoResize+`:`+f[e].bodyMargin+`:`+f[e].heightCalculationMethod+`:`+f[e].bodyBackground+`:`+f[e].bodyPadding+`:`+f[e].tolerance+`:`+f[e].inPageLinks+`:`+f[e].resizeFrom+`:`+f[e].widthCalculationMethod+`:`+f[e].mouseEvents}function ie(e){return typeof e==`number`}function ae(t,a){function o(){function e(e){var n=f[D][e];n!==1/0&&n!==0&&(t.style[e]=ie(n)?n+`px`:n,S(D,`Set `+e+` = `+t.style[e]))}function n(e){if(f[D][`min`+e]>f[D][`max`+e])throw Error(`Value for min`+e+` can not be greater than max`+e)}n(`Height`),n(`Width`),e(`maxHeight`),e(`minHeight`),e(`maxWidth`),e(`minWidth`)}function s(){var e=a&&a.id||m.id+n++;return document.getElementById(e)!==null&&(e+=n++),e}function c(e){if(typeof e!=`string`)throw TypeError(`Invaild id for iFrame. Expected String`);return e===``&&(t.id=e=s(),i=(a||{}).log,S(e,`Added missing iframe ID: `+e+` (`+t.src+`)`)),e}function l(){switch(S(D,`IFrame scrolling `+(f[D]&&f[D].scrolling?`enabled`:`disabled`)+` for `+D),t.style.overflow=!1===(f[D]&&f[D].scrolling)?`hidden`:`auto`,f[D]&&f[D].scrolling){case`omit`:break;case!0:t.scrolling=`yes`;break;case!1:t.scrolling=`no`;break;default:t.scrolling=f[D]?f[D].scrolling:`no`}}function u(){(typeof(f[D]&&f[D].bodyMargin)==`number`||(f[D]&&f[D].bodyMargin)===`0`)&&(f[D].bodyMarginV1=f[D].bodyMargin,f[D].bodyMargin=``+f[D].bodyMargin+`px`)}function p(){var e=f[D]&&f[D].firstRun,n=f[D]&&f[D].heightCalculationMethod in d;!e&&n&&A({iframe:t,height:0,width:0,type:`init`})}function _(){f[D]&&(f[D].iframe.iFrameResizer={close:te.bind(null,f[D].iframe),removeListeners:ee.bind(null,f[D].iframe),resize:M.bind(null,`Window resize`,`resize`,f[D].iframe),moveToAnchor:function(e){M(`Move to anchor`,`moveToAnchor:`+e,f[D].iframe,D)},sendMessage:function(e){e=JSON.stringify(e),M(`Send Message`,`message:`+e,f[D].iframe,D)}})}function v(n){function i(){M(`iFrame.onload`,n,t,e,!0),p()}function a(e){if(!t.parentNode)return null;var n=new e(function(e){e.forEach(function(e){Array.prototype.slice.call(e.removedNodes).forEach(function(e){e===t&&te(t)})})});return n.observe(t.parentNode,{childList:!0}),n}var o=h();o&&(r=a(o)),g(t,`load`,i),M(`init`,n,t,e,!0)}function y(e){if(typeof e!=`object`)throw TypeError(`Options is not an object`)}function b(e){for(var t in m)Object.prototype.hasOwnProperty.call(m,t)&&(f[D][t]=Object.prototype.hasOwnProperty.call(e,t)?e[t]:m[t])}function x(e){return e===``||e.match(/^(about:blank|javascript:|file:\/\/)/)!==null?`*`:e}function C(e){var t=e.split(`Callback`);if(t.length===2){var n=`on`+t[0].charAt(0).toUpperCase()+t[0].slice(1);this[n]=this[e],delete this[e],w(D,`Deprecated: '`+e+`' has been renamed '`+n+`'. The old method will be removed in the next major version.`)}}function T(e){e=e||{},f[D]=Object.create(null),f[D].iframe=t,f[D].firstRun=!0,f[D].remoteHost=t.src&&t.src.split(`/`).slice(0,3).join(`/`),y(e),Object.keys(e).forEach(C,e),b(e),f[D]&&(f[D].targetOrigin=!0===f[D].checkOrigin?x(f[D].remoteHost):`*`)}function E(){return D in f&&`iFrameResizer`in t}var D=c(t.id);E()?w(D,`Ignored iFrame, already setup.`):(T(a),l(),o(),u(),v(N(D)),_())}function oe(e,t){p===null&&(p=setTimeout(function(){p=null,e()},t))}var P={};function F(e,t,n){P[n]||(P[n]=setTimeout(function(){P[n]=null,e()},t))}function se(){function e(){function e(e){function t(t){return(f[e]&&f[e].iframe.style[t])===`0px`}function n(e){return e.offsetParent!==null}f[e]&&n(f[e].iframe)&&(t(`height`)||t(`width`))&&M(`Visibility change`,`resize`,f[e].iframe,e)}Object.keys(f).forEach(function(t){e(t)})}function t(t){S(`window`,`Mutation observed: `+t[0].target+` `+t[0].type),oe(e,16)}function n(){var e=document.querySelector(`body`);new r(t).observe(e,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0})}var r=h();r&&n()}function ce(e){function t(){le(`Window `+e,`resize`)}S(`window`,`Trigger event: `+e),oe(t,16)}function I(){function e(){le(`Tab Visible`,`resize`)}document.visibilityState!==`hidden`&&(S(`document`,`Trigger event: Visibility change`),oe(e,16))}function le(e,t){function n(e){return f[e]&&f[e].resizeFrom===`parent`&&f[e].autoResize&&!f[e].firstRun}Object.keys(f).forEach(function(r){n(r)&&M(e,t,f[r].iframe,r)})}function L(){g(window,`message`,E),g(window,`resize`,function(){ce(`resize`)}),g(document,`visibilitychange`,I),g(document,`-webkit-visibilitychange`,I)}function R(){function t(e,t){function n(){if(!t.tagName)throw TypeError(`Object is not a valid DOM element`);if(t.tagName.toUpperCase()!==`IFRAME`)throw TypeError(`Expected <IFRAME> tag, found <`+t.tagName+`>`)}t&&(n(),ae(t,e),r.push(t))}function n(e){e&&e.enablePublicMethods&&w(`enablePublicMethods option has been removed, public methods are now always available in the iFrame`)}var r;return v(),L(),function(i,a){switch(r=[],n(i),typeof a){case`undefined`:case`string`:Array.prototype.forEach.call(document.querySelectorAll(a||`iframe`),t.bind(e,i));break;case`object`:t(i,a);break;default:throw TypeError(`Unexpected data type (`+typeof a+`)`)}return r}}function z(e){e.fn?e.fn.iFrameResize||(e.fn.iFrameResize=function(e){function t(t,n){ae(n,e)}return this.filter(`iframe`).each(t).end()}):C(``,`Unable to bind to jQuery, it is not fully loaded.`)}window.jQuery!==e&&z(window.jQuery),typeof t==`object`&&typeof t.exports==`object`&&(t.exports=R()),window.iFrameResize=window.iFrameResize||R()})()})),Rs=n(((e,t)=>{(function(e){if(typeof window>`u`)return;var n=!0,r=10,i=``,a=0,o=``,s=null,c=``,l=!1,u={resize:1,click:1},d=128,f=!0,p=1,m=`bodyOffset`,h=m,g=!0,_=``,v={},y=32,b=null,x=!1,S=!1,C=`[iFrameSizer]`,w=C.length,T=``,E={max:1,min:1,bodyScroll:1,documentElementScroll:1},D=`child`,ee=!0,te=window.parent,ne=`*`,O=0,k=!1,A=null,j=16,re=1,M=`scroll`,N=M,ie=window,ae=function(){fe(`onMessage function not defined`)},oe=function(){},P=function(){},F={height:function(){return fe(`Custom height calculation function not defined`),document.documentElement.offsetHeight},width:function(){return fe(`Custom width calculation function not defined`),document.body.scrollWidth}},se={},ce=!1;function I(){}try{var le=Object.create({},{passive:{get:function(){ce=!0}}});window.addEventListener(`test`,I,le),window.removeEventListener(`test`,I,le)}catch(e){}function L(e,t,n,r){e.addEventListener(t,n,ce?r||{}:!1)}function R(e,t,n){e.removeEventListener(t,n,!1)}function z(e){return e.charAt(0).toUpperCase()+e.slice(1)}function ue(e){var t,n,r,i=null,a=0,o=function(){a=Date.now(),i=null,r=e.apply(t,n),i||(t=n=null)};return function(){var s=Date.now();a||(a=s);var c=j-(s-a);return t=this,n=arguments,c<=0||c>j?(i&&(clearTimeout(i),i=null),a=s,r=e.apply(t,n),i||(t=n=null)):i||(i=setTimeout(o,c)),r}}function de(e){return C+`[`+T+`] `+e}function B(e){x&&typeof window.console==`object`&&console.log(de(e))}function fe(e){typeof window.console==`object`&&console.warn(de(e))}function pe(){me(),B(`Initialising iFrame (`+window.location.href+`)`),ge(),ye(),ve(`background`,i),ve(`padding`,c),Oe(),Ce(),we(),be(),je(),Ae(),Te(),v=ke(),Ge(`init`,`Init message from host page`),oe()}function me(){function t(e){return e===`true`}var r=_.slice(w).split(`:`);T=r[0],a=e===r[1]?a:Number(r[1]),l=e===r[2]?l:t(r[2]),x=e===r[3]?x:t(r[3]),y=e===r[4]?y:Number(r[4]),n=e===r[6]?n:t(r[6]),o=r[7],h=e===r[8]?h:r[8],i=r[9],c=r[10],O=e===r[11]?O:Number(r[11]),v.enable=e===r[12]?!1:t(r[12]),D=e===r[13]?D:r[13],N=e===r[14]?N:r[14],S=e===r[15]?S:t(r[15])}function he(e){var t=e.split(`Callback`);if(t.length===2){var n=`on`+t[0].charAt(0).toUpperCase()+t[0].slice(1);this[n]=this[e],delete this[e],fe(`Deprecated: '`+e+`' has been renamed '`+n+`'. The old method will be removed in the next major version.`)}}function ge(){function e(){var e=window.iFrameResizer;B(`Reading data from page: `+JSON.stringify(e)),Object.keys(e).forEach(he,e),ae=`onMessage`in e?e.onMessage:ae,oe=`onReady`in e?e.onReady:oe,ne=`targetOrigin`in e?e.targetOrigin:ne,h=`heightCalculationMethod`in e?e.heightCalculationMethod:h,N=`widthCalculationMethod`in e?e.widthCalculationMethod:N}function t(e,t){return typeof e==`function`&&(B(`Setup custom `+t+`CalcMethod`),F[t]=e,e=`custom`),e}`iFrameResizer`in window&&Object===window.iFrameResizer.constructor&&(e(),h=t(h,`height`),N=t(N,`width`)),B(`TargetOrigin for parent set to: `+ne)}function _e(e,t){return t.indexOf(`-`)!==-1&&(fe(`Negative CSS value ignored for `+e),t=``),t}function ve(t,n){e!==n&&n!==``&&n!==`null`&&(document.body.style[t]=n,B(`Body `+t+` set to "`+n+`"`))}function ye(){e===o&&(o=a+`px`),ve(`margin`,_e(`margin`,o))}function be(){document.documentElement.style.height=``,document.body.style.height=``,B(`HTML & body height set to "auto"`)}function V(e){var t={add:function(t){function n(){Ge(e.eventName,e.eventType)}se[t]=n,L(window,t,n,{passive:!0})},remove:function(e){var t=se[e];delete se[e],R(window,e,t)}};e.eventNames&&Array.prototype.map?(e.eventName=e.eventNames[0],e.eventNames.map(t[e.method])):t[e.method](e.eventName),B(z(e.method)+` event listener: `+e.eventType)}function xe(e){V({method:e,eventType:`Animation Start`,eventNames:[`animationstart`,`webkitAnimationStart`]}),V({method:e,eventType:`Animation Iteration`,eventNames:[`animationiteration`,`webkitAnimationIteration`]}),V({method:e,eventType:`Animation End`,eventNames:[`animationend`,`webkitAnimationEnd`]}),V({method:e,eventType:`Input`,eventName:`input`}),V({method:e,eventType:`Mouse Up`,eventName:`mouseup`}),V({method:e,eventType:`Mouse Down`,eventName:`mousedown`}),V({method:e,eventType:`Orientation Change`,eventName:`orientationchange`}),V({method:e,eventType:`Print`,eventNames:[`afterprint`,`beforeprint`]}),V({method:e,eventType:`Ready State Change`,eventName:`readystatechange`}),V({method:e,eventType:`Touch Start`,eventName:`touchstart`}),V({method:e,eventType:`Touch End`,eventName:`touchend`}),V({method:e,eventType:`Touch Cancel`,eventName:`touchcancel`}),V({method:e,eventType:`Transition Start`,eventNames:[`transitionstart`,`webkitTransitionStart`,`MSTransitionStart`,`oTransitionStart`,`otransitionstart`]}),V({method:e,eventType:`Transition Iteration`,eventNames:[`transitioniteration`,`webkitTransitionIteration`,`MSTransitionIteration`,`oTransitionIteration`,`otransitioniteration`]}),V({method:e,eventType:`Transition End`,eventNames:[`transitionend`,`webkitTransitionEnd`,`MSTransitionEnd`,`oTransitionEnd`,`otransitionend`]}),D===`child`&&V({method:e,eventType:`IFrame Resized`,eventName:`resize`})}function Se(e,t,n,r){return t!==e&&(e in n||(fe(e+` is not a valid option for `+r+`CalculationMethod.`),e=t),B(r+` calculation method set to "`+e+`"`)),e}function Ce(){h=Se(h,m,Ve,`height`)}function we(){N=Se(N,M,He,`width`)}function Te(){!0===n?(xe(`add`),Pe()):B(`Auto Resize disabled`)}function Ee(){s!==null&&s.disconnect()}function De(){xe(`remove`),Ee(),clearInterval(b)}function Oe(){var e=document.createElement(`div`);e.style.clear=`both`,e.style.display=`block`,e.style.height=`0`,document.body.appendChild(e)}function ke(){function t(){return{x:window.pageXOffset===e?document.documentElement.scrollLeft:window.pageXOffset,y:window.pageYOffset===e?document.documentElement.scrollTop:window.pageYOffset}}function n(e){var n=e.getBoundingClientRect(),r=t();return{x:parseInt(n.left,10)+parseInt(r.x,10),y:parseInt(n.top,10)+parseInt(r.y,10)}}function r(t){function r(e){var t=n(e);B(`Moving to in page link (#`+i+`) at x: `+t.x+` y: `+t.y),H(t.y,t.x,`scrollToOffset`)}var i=t.split(`#`)[1]||t,a=decodeURIComponent(i),o=document.getElementById(a)||document.getElementsByName(a)[0];e===o?(B(`In page link (#`+i+`) not found in iFrame, so sending to parent`),H(0,0,`inPageLink`,`#`+i)):r(o)}function i(){var e=window.location.hash,t=window.location.href;e!==``&&e!==`#`&&r(t)}function a(){function e(e){function t(e){e.preventDefault(),r(this.getAttribute(`href`))}e.getAttribute(`href`)!==`#`&&L(e,`click`,t)}Array.prototype.forEach.call(document.querySelectorAll(`a[href^="#"]`),e)}function o(){L(window,`hashchange`,i)}function s(){setTimeout(i,d)}function c(){Array.prototype.forEach&&document.querySelectorAll?(B(`Setting up location.hash handlers`),a(),o(),s()):fe(`In page linking not fully supported in this browser! (See README.md for IE8 workaround)`)}return v.enable?c():B(`In page linking not enabled`),{findTarget:r}}function Ae(){if(S!==!0)return;function e(e){H(0,0,e.type,e.screenY+`:`+e.screenX)}function t(t,n){B(`Add event listener: `+n),L(window.document,t,e)}t(`mouseenter`,`Mouse Enter`),t(`mouseleave`,`Mouse Leave`)}function je(){B(`Enable public methods`),ie.parentIFrame={autoResize:function(e){return!0===e&&!1===n?(n=!0,Te()):!1===e&&!0===n&&(n=!1,De()),H(0,0,`autoResize`,JSON.stringify(n)),n},close:function(){H(0,0,`close`)},getId:function(){return T},getPageInfo:function(e){typeof e==`function`?(P=e,H(0,0,`pageInfo`)):(P=function(){},H(0,0,`pageInfoStop`))},moveToAnchor:function(e){v.findTarget(e)},reset:function(){Je(`parentIFrame.reset`)},scrollTo:function(e,t){H(t,e,`scrollTo`)},scrollToOffset:function(e,t){H(t,e,`scrollToOffset`)},sendMessage:function(e,t){H(0,0,`message`,JSON.stringify(e),t)},setHeightCalculationMethod:function(e){h=e,Ce()},setWidthCalculationMethod:function(e){N=e,we()},setTargetOrigin:function(e){B(`Set targetOrigin: `+e),ne=e},size:function(e,t){Ge(`size`,`parentIFrame.size(`+(``+(e||``)+(t?`,`+t:``))+`)`,e,t)}}}function Me(){y!==0&&(B(`setInterval: `+y+`ms`),b=setInterval(function(){Ge(`interval`,`setInterval: `+y)},Math.abs(y)))}function Ne(){function e(e){function t(e){!1===e.complete&&(B(`Attach listeners to `+e.src),e.addEventListener(`load`,i,!1),e.addEventListener(`error`,a,!1),c.push(e))}e.type===`attributes`&&e.attributeName===`src`?t(e.target):e.type===`childList`&&Array.prototype.forEach.call(e.target.querySelectorAll(`img`),t)}function t(e){c.splice(c.indexOf(e),1)}function n(e){B(`Remove listeners from `+e.src),e.removeEventListener(`load`,i,!1),e.removeEventListener(`error`,a,!1),t(e)}function r(e,t,r){n(e.target),Ge(t,r+`: `+e.target.src)}function i(e){r(e,`imageLoad`,`Image loaded`)}function a(e){r(e,`imageLoadFailed`,`Image load failed`)}function o(t){Ge(`mutationObserver`,`mutationObserver: `+t[0].target+` `+t[0].type),t.forEach(e)}function s(){var e=document.querySelector(`body`);return u=new l(o),B(`Create body MutationObserver`),u.observe(e,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0}),u}var c=[],l=window.MutationObserver||window.WebKitMutationObserver,u=s();return{disconnect:function(){`disconnect`in u&&(B(`Disconnect body MutationObserver`),u.disconnect(),c.forEach(n))}}}function Pe(){var e=0>y;window.MutationObserver||window.WebKitMutationObserver?e?Me():s=Ne():(B(`MutationObserver not supported in this browser!`),Me())}function Fe(e,t){var n=0;return t=t||document.body,n=document.defaultView.getComputedStyle(t,null),n=n===null?0:n[e],parseInt(n,r)}function Ie(e){e>j/2&&(j=2*e,B(`Event throttle increased to `+j+`ms`))}function Le(e,t){for(var n=t.length,r=0,i=0,a=z(e),o=Date.now(),s=0;s<n;s++)r=t[s].getBoundingClientRect()[e]+Fe(`margin`+a,t[s]),r>i&&(i=r);return o=Date.now()-o,B(`Parsed `+n+` HTML elements`),B(`Element position calculated in `+o+`ms`),Ie(o),i}function Re(e){return[e.bodyOffset(),e.bodyScroll(),e.documentElementOffset(),e.documentElementScroll()]}function ze(e,t){function n(){return fe(`No tagged elements (`+t+`) found on page`),document.querySelectorAll(`body *`)}var r=document.querySelectorAll(`[`+t+`]`);return r.length===0&&n(),Le(e,r)}function Be(){return document.querySelectorAll(`body *`)}var Ve={bodyOffset:function(){return document.body.offsetHeight+Fe(`marginTop`)+Fe(`marginBottom`)},offset:function(){return Ve.bodyOffset()},bodyScroll:function(){return document.body.scrollHeight},custom:function(){return F.height()},documentElementOffset:function(){return document.documentElement.offsetHeight},documentElementScroll:function(){return document.documentElement.scrollHeight},max:function(){return Math.max.apply(null,Re(Ve))},min:function(){return Math.min.apply(null,Re(Ve))},grow:function(){return Ve.max()},lowestElement:function(){return Math.max(Ve.bodyOffset()||Ve.documentElementOffset(),Le(`bottom`,Be()))},taggedElement:function(){return ze(`bottom`,`data-iframe-height`)}},He={bodyScroll:function(){return document.body.scrollWidth},bodyOffset:function(){return document.body.offsetWidth},custom:function(){return F.width()},documentElementScroll:function(){return document.documentElement.scrollWidth},documentElementOffset:function(){return document.documentElement.offsetWidth},scroll:function(){return Math.max(He.bodyScroll(),He.documentElementScroll())},max:function(){return Math.max.apply(null,Re(He))},min:function(){return Math.min.apply(null,Re(He))},rightMostElement:function(){return Le(`right`,Be())},taggedElement:function(){return ze(`right`,`data-iframe-width`)}};function Ue(t,n,r,i){function a(){p=f,re=m,H(p,re,t)}function o(){function t(e,t){return!(Math.abs(e-t)<=O)}return f=e===r?Ve[h]():r,m=e===i?He[N]():i,t(p,f)||l&&t(re,m)}function s(){return!(t in{init:1,interval:1,size:1})}function c(){return h in E||l&&N in E}function u(){B(`No change in size detected`)}function d(){s()&&c()?Je(n):t in{interval:1}||u()}var f,m;o()||t===`init`?(Ke(),a()):d()}var We=ue(Ue);function Ge(e,t,n,r){function i(){e in{reset:1,resetPage:1,init:1}||B(`Trigger event: `+t)}function a(){return k&&e in u}a()?B(`Trigger event cancelled: `+e):(i(),e===`init`?Ue(e,t,n,r):We(e,t,n,r))}function Ke(){k||(k=!0,B(`Trigger event lock on`)),clearTimeout(A),A=setTimeout(function(){k=!1,B(`Trigger event lock off`),B(`--`)},d)}function qe(e){p=Ve[h](),re=He[N](),H(p,re,e)}function Je(e){var t=h;h=m,B(`Reset trigger event: `+e),Ke(),qe(`reset`),h=t}function H(t,n,r,i,a){function o(){e===a?a=ne:B(`Message targetOrigin: `+a)}function s(){var o=t+`:`+n,s=T+`:`+o+`:`+r+(e===i?``:`:`+i);B(`Sending message to host page (`+s+`)`),te.postMessage(C+s,a)}!0===ee&&(o(),s())}function Ye(n){var r={init:function(){_=n.data,te=n.source,pe(),f=!1,setTimeout(function(){g=!1},d)},reset:function(){g?B(`Page reset ignored by init`):(B(`Page size reset by host page`),qe(`resetPage`))},resize:function(){Ge(`resizeParent`,`Parent window requested size check`)},moveToAnchor:function(){v.findTarget(o())},inPageLink:function(){this.moveToAnchor()},pageInfo:function(){var e=o();B(`PageInfoFromParent called from parent: `+e),P(JSON.parse(e)),B(` --`)},message:function(){var e=o();B(`onMessage called from parent: `+e),ae(JSON.parse(e)),B(` --`)}};function i(){return C===(``+n.data).slice(0,w)}function a(){return n.data.split(`]`)[1].split(`:`)[0]}function o(){return n.data.slice(n.data.indexOf(`:`)+1)}function s(){return!(t!==void 0&&t.exports)&&`iFrameResize`in window||window.jQuery!==e&&`iFrameResize`in window.jQuery.prototype}function c(){return n.data.split(`:`)[2]in{true:1,false:1}}function l(){var e=a();e in r?r[e]():!s()&&!c()&&fe(`Unexpected message (`+n.data+`)`)}function u(){!1===f?l():c()?r.init():B(`Ignored message of type "`+a()+`". Received before initialization.`)}i()&&u()}function Xe(){document.readyState!==`loading`&&window.parent.postMessage(`[iFrameResizerChild]Ready`,`*`)}`iframeResizer`in window||(window.iframeChildListener=function(e){Ye({data:e,sameDomian:!0})},L(window,`message`,Ye),L(window,`readystatechange`,Xe),Xe())})()})),zs=n(((e,t)=>{var n=Ls();t.exports={iframeResize:n,iframeResizer:n,contentWindow:Rs()}})),Bs,Vs,Hs,Us,Ws,Gs,Ks,qs,Js,Ys,Xs,Zs,Qs,$s,ec,tc,nc,rc,ic,ac,oc,sc,cc,lc,uc,dc,fc,pc,mc,hc,gc,_c,vc,J,yc,bc,xc,Sc,Cc,wc,Tc,Ec,Dc,Y,Oc,kc,Ac,jc,Mc,Nc,Pc,Fc,Ic,Lc,Rc,X,zc,Bc,Vc,Hc,Uc,Wc,Gc,Z,Kc,qc,Jc,Yc,Xc,Zc,Qc,$c,el,tl,nl,rl,il,al,ol,sl,cl,ll,ul,dl=t((()=>{k(),Bs=(e,t)=>{let n=Array(e.length+t.length);for(let t=0;t<e.length;t++)n[t]=e[t];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},Vs=(e,t)=>({classGroupId:e,validator:t}),Hs=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Us=`-`,Ws=[],Gs=`arbitrary..`,Ks=e=>{let t=Ys(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith(`[`)&&e.endsWith(`]`))return Js(e);let n=e.split(Us),r=+(n[0]===``&&n.length>1);return qs(n,r,t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?Bs(i,t):t:i||Ws}return n[e]||Ws}}},qs=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=qs(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(Us):e.slice(t).join(Us),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},Js=e=>e.slice(1,-1).indexOf(`:`)===-1?void 0:(()=>{let t=e.slice(1,-1),n=t.indexOf(`:`),r=t.slice(0,n);return r?Gs+r:void 0})(),Ys=e=>{let{theme:t,classGroups:n}=e;return Xs(n,t)},Xs=(e,t)=>{let n=Hs();for(let r in e){let i=e[r];Zs(i,n,r,t)}return n},Zs=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];Qs(i,t,n,r)}},Qs=(e,t,n,r)=>{if(typeof e==`string`){$s(e,t,n);return}if(typeof e==`function`){ec(e,t,n,r);return}tc(e,t,n,r)},$s=(e,t,n)=>{let r=e===``?t:nc(t,e);r.classGroupId=n},ec=(e,t,n,r)=>{if(rc(e)){Zs(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(Vs(n,e))},tc=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];Zs(o,nc(t,a),n,r)}},nc=(e,t)=>{let n=e,r=t.split(Us),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=Hs(),n.nextPart.set(t,i)),n=i}return n},rc=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,ic=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),i=(i,a)=>{n[i]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];if(t!==void 0)return t;if((t=r[e])!==void 0)return i(e,t),t},set(e,t){e in n?n[e]=t:i(e,t)}}},ac=`!`,oc=`:`,sc=[],cc=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),lc=e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;s<o;s++){let o=e[s];if(n===0&&r===0){if(o===oc){t.push(e.slice(i,s)),i=s+1;continue}if(o===`/`){a=s;continue}}o===`[`?n++:o===`]`?n--:o===`(`?r++:o===`)`&&r--}let s=t.length===0?e:e.slice(i),c=s,l=!1;s.endsWith(ac)?(c=s.slice(0,-1),l=!0):s.startsWith(ac)&&(c=s.slice(1),l=!0);let u=a&&a>i?a-i:void 0;return cc(t,l,c,u)};if(t){let e=t+oc,n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):cc(sc,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},uc=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],o=a[0]===`[`,s=t.has(a);o||s?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(a)):r.push(a)}return r.length>0&&(r.sort(),n.push(...r)),n}},dc=e=>O({cache:ic(e.cacheSize),parseClassName:lc(e),sortModifiers:uc(e),postfixLookupClassGroupIds:fc(e)},Ks(e)),fc=e=>{let t=Object.create(null),n=e.postfixLookupClassGroups;if(n)for(let e=0;e<n.length;e++)t[n[e]]=!0;return t},pc=/\s+/,mc=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a,postfixLookupClassGroupIds:o}=t,s=[],c=e.trim().split(pc),l=``;for(let e=c.length-1;e>=0;--e){let t=c[e],{isExternal:u,modifiers:d,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:m}=n(t);if(u){l=t+(l.length>0?` `+l:l);continue}let h=!!m,g;if(h){g=r(p.substring(0,m));let e=g&&o[g]?r(p):void 0;e&&e!==g&&(g=e,h=!1)}else g=r(p);if(!g){if(!h){l=t+(l.length>0?` `+l:l);continue}if(g=r(p),!g){l=t+(l.length>0?` `+l:l);continue}h=!1}let _=d.length===0?``:d.length===1?d[0]:a(d).join(`:`),v=f?_+ac:_,y=v+g;if(s.indexOf(y)>-1)continue;s.push(y);let b=i(g,h);for(let e=0;e<b.length;++e){let t=b[e];s.push(v+t)}l=t+(l.length>0?` `+l:l)}return l},hc=(...e)=>{let t=0,n,r,i=``;for(;t<e.length;)(n=e[t++])&&(r=gc(n))&&(i&&(i+=` `),i+=r);return i},gc=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=gc(e[r]))&&(n&&(n+=` `),n+=t);return n},_c=(e,...t)=>{let n,r,i,a,o=o=>{let c=t.reduce((e,t)=>t(e),e());return n=dc(c),r=n.cache.get,i=n.cache.set,a=s,s(o)},s=e=>{let t=r(e);if(t)return t;let a=mc(e,n);return i(e,a),a};return a=o,(...e)=>a(hc(...e))},vc=[],J=e=>{let t=t=>t[e]||vc;return t.isThemeGetter=!0,t.themeKey=e,t},yc=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,bc=/^\((?:(\w[\w-]*):)?(.+)\)$/i,xc=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Sc=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Cc=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,wc=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/,Tc=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ec=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Dc=e=>xc.test(e),Y=e=>!!e&&!Number.isNaN(Number(e)),Oc=e=>!!e&&Number.isInteger(Number(e)),kc=e=>e.endsWith(`%`)&&Y(e.slice(0,-1)),Ac=e=>Sc.test(e),jc=()=>!0,Mc=e=>Cc.test(e)&&!wc.test(e),Nc=()=>!1,Pc=e=>Tc.test(e),Fc=e=>Ec.test(e),Ic=e=>!X(e)&&!Z(e),Lc=e=>e.startsWith(`@container`)&&(e[10]===`/`&&e[11]!==void 0||e[11]===`s`&&e[16]!==void 0&&e.startsWith(`-size/`,10)||e[11]===`n`&&e[18]!==void 0&&e.startsWith(`-normal/`,10)),Rc=e=>$c(e,rl,Nc),X=e=>yc.test(e),zc=e=>$c(e,il,Mc),Bc=e=>$c(e,al,Y),Vc=e=>$c(e,sl,jc),Hc=e=>$c(e,ol,Nc),Uc=e=>$c(e,tl,Nc),Wc=e=>$c(e,nl,Fc),Gc=e=>$c(e,cl,Pc),Z=e=>bc.test(e),Kc=e=>el(e,il),qc=e=>el(e,ol),Jc=e=>el(e,tl),Yc=e=>el(e,rl),Xc=e=>el(e,nl),Zc=e=>el(e,cl,!0),Qc=e=>el(e,sl,!0),$c=(e,t,n)=>{let r=yc.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},el=(e,t,n=!1)=>{let r=bc.exec(e);return r?r[1]?t(r[1]):n:!1},tl=e=>e===`position`||e===`percentage`,nl=e=>e===`image`||e===`url`,rl=e=>e===`length`||e===`size`||e===`bg-size`,il=e=>e===`length`,al=e=>e===`number`,ol=e=>e===`family-name`,sl=e=>e===`number`||e===`weight`,cl=e=>e===`shadow`,ll=()=>{let e=J(`color`),t=J(`font`),n=J(`text`),r=J(`font-weight`),i=J(`tracking`),a=J(`leading`),o=J(`breakpoint`),s=J(`container`),c=J(`spacing`),l=J(`radius`),u=J(`shadow`),d=J(`inset-shadow`),f=J(`text-shadow`),p=J(`drop-shadow`),m=J(`blur`),h=J(`perspective`),g=J(`aspect`),_=J(`ease`),v=J(`animate`),y=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],b=()=>[`center`,`top`,`bottom`,`left`,`right`,`top-left`,`left-top`,`top-right`,`right-top`,`bottom-right`,`right-bottom`,`bottom-left`,`left-bottom`],x=()=>[...b(),Z,X],S=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],C=()=>[`auto`,`contain`,`none`],w=()=>[Z,X,c],T=()=>[Dc,`full`,`auto`,...w()],E=()=>[Oc,`none`,`subgrid`,Z,X],D=()=>[`auto`,{span:[`full`,Oc,Z,X]},Oc,Z,X],ee=()=>[Oc,`auto`,Z,X],te=()=>[`auto`,`min`,`max`,`fr`,Z,X],ne=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],O=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],k=()=>[`auto`,...w()],A=()=>[Dc,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...w()],j=()=>[s,Dc,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...w()],re=()=>[Dc,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...w()],M=()=>[e,Z,X],N=()=>[...b(),Jc,Uc,{position:[Z,X]}],ie=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],ae=()=>[`auto`,`cover`,`contain`,Yc,Rc,{size:[Z,X]}],oe=()=>[kc,Kc,zc],P=()=>[``,`none`,`full`,l,Z,X],F=()=>[``,Y,Kc,zc],se=()=>[`solid`,`dashed`,`dotted`,`double`],ce=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],I=()=>[Y,kc,Jc,Uc],le=()=>[``,`none`,m,Z,X],L=()=>[`none`,Y,Z,X],R=()=>[`none`,Y,Z,X],z=()=>[Y,Z,X],ue=()=>[Dc,`full`,...w()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[Ac],breakpoint:[Ac],color:[jc],container:[Ac],"drop-shadow":[Ac],ease:[`in`,`out`,`in-out`],font:[Ic],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[Ac],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[Ac],shadow:[Ac],spacing:[`px`,Y],text:[Ac],"text-shadow":[Ac],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,Dc,X,Z,g]}],container:[`container`],"container-type":[{"@container":[``,`normal`,`size`,Z,X]}],"container-named":[Lc],columns:[{columns:[Y,`auto`,X,Z,s]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"break-inside":[{"break-inside":[`auto`,`avoid`,`avoid-page`,`avoid-column`]}],"box-decoration":[{"box-decoration":[`slice`,`clone`]}],box:[{box:[`border`,`content`]}],display:[`block`,`inline-block`,`inline`,`flex`,`inline-flex`,`table`,`inline-table`,`table-caption`,`table-cell`,`table-column`,`table-column-group`,`table-footer-group`,`table-header-group`,`table-row-group`,`table-row`,`flow-root`,`grid`,`inline-grid`,`contents`,`list-item`,`hidden`],sr:[`sr-only`,`not-sr-only`],float:[{float:[`right`,`left`,`none`,`start`,`end`]}],clear:[{clear:[`left`,`right`,`both`,`none`,`start`,`end`]}],isolation:[`isolate`,`isolation-auto`],"object-fit":[{object:[`contain`,`cover`,`fill`,`none`,`scale-down`]}],"object-position":[{object:x()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{"inset-s":T(),start:T()}],end:[{"inset-e":T(),end:T()}],"inset-bs":[{"inset-bs":T()}],"inset-be":[{"inset-be":T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[Oc,`auto`,Z,X]}],basis:[{basis:[Dc,`full`,`auto`,s,...w()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[Y,Dc,`auto`,`initial`,`none`,X]}],grow:[{grow:[``,Y,Z,X]}],shrink:[{shrink:[``,Y,Z,X]}],order:[{order:[Oc,`first`,`last`,`none`,Z,X]}],"grid-cols":[{"grid-cols":E()}],"col-start-end":[{col:D()}],"col-start":[{"col-start":ee()}],"col-end":[{"col-end":ee()}],"grid-rows":[{"grid-rows":E()}],"row-start-end":[{row:D()}],"row-start":[{"row-start":ee()}],"row-end":[{"row-end":ee()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":te()}],"auto-rows":[{"auto-rows":te()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...ne(),`normal`]}],"justify-items":[{"justify-items":[...O(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...O()]}],"align-content":[{content:[`normal`,...ne()]}],"align-items":[{items:[...O(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...O(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":ne()}],"place-items":[{"place-items":[...O(),`baseline`]}],"place-self":[{"place-self":[`auto`,...O()]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pbs:[{pbs:w()}],pbe:[{pbe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:k()}],mx:[{mx:k()}],my:[{my:k()}],ms:[{ms:k()}],me:[{me:k()}],mbs:[{mbs:k()}],mbe:[{mbe:k()}],mt:[{mt:k()}],mr:[{mr:k()}],mb:[{mb:k()}],ml:[{ml:k()}],"space-x":[{"space-x":w()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":w()}],"space-y-reverse":[`space-y-reverse`],size:[{size:A()}],"inline-size":[{inline:[`auto`,...j()]}],"min-inline-size":[{"min-inline":[`auto`,...j()]}],"max-inline-size":[{"max-inline":[`none`,...j()]}],"block-size":[{block:[`auto`,...re()]}],"min-block-size":[{"min-block":[`auto`,...re()]}],"max-block-size":[{"max-block":[`none`,...re()]}],w:[{w:[s,`screen`,...A()]}],"min-w":[{"min-w":[s,`screen`,`none`,...A()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...A()]}],h:[{h:[`screen`,`lh`,...A()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...A()]}],"max-h":[{"max-h":[`screen`,`lh`,`none`,...A()]}],"font-size":[{text:[`base`,n,Kc,zc]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,Qc,Vc]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,kc,X]}],"font-family":[{font:[qc,Hc,t]}],"font-features":[{"font-features":[X]}],"fvn-normal":[`normal-nums`],"fvn-ordinal":[`ordinal`],"fvn-slashed-zero":[`slashed-zero`],"fvn-figure":[`lining-nums`,`oldstyle-nums`],"fvn-spacing":[`proportional-nums`,`tabular-nums`],"fvn-fraction":[`diagonal-fractions`,`stacked-fractions`],tracking:[{tracking:[i,Z,X]}],"line-clamp":[{"line-clamp":[Y,`none`,Z,Bc]}],leading:[{leading:[`none`,a,...w()]}],"list-image":[{"list-image":[`none`,Z,X]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,Z,X]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:M()}],"text-color":[{text:M()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...se(),`wavy`]}],"text-decoration-thickness":[{decoration:[Y,`from-font`,`auto`,Z,zc]}],"text-decoration-color":[{decoration:M()}],"underline-offset":[{"underline-offset":[Y,`auto`,Z,X]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:w()}],"tab-size":[{tab:[Oc,Z,X]}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,Z,X]}],whitespace:[{whitespace:[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`]}],break:[{break:[`normal`,`words`,`all`,`keep`]}],wrap:[{wrap:[`break-word`,`anywhere`,`normal`]}],hyphens:[{hyphens:[`none`,`manual`,`auto`]}],content:[{content:[`none`,Z,X]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:N()}],"bg-repeat":[{bg:ie()}],"bg-size":[{bg:ae()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},Oc,Z,X],radial:[``,Z,X],conic:[``,Oc,Z,X]},Xc,Wc]}],"bg-color":[{bg:M()}],"gradient-from-pos":[{from:oe()}],"gradient-via-pos":[{via:oe()}],"gradient-to-pos":[{to:oe()}],"gradient-from":[{from:M()}],"gradient-via":[{via:M()}],"gradient-to":[{to:M()}],rounded:[{rounded:P()}],"rounded-s":[{"rounded-s":P()}],"rounded-e":[{"rounded-e":P()}],"rounded-t":[{"rounded-t":P()}],"rounded-r":[{"rounded-r":P()}],"rounded-b":[{"rounded-b":P()}],"rounded-l":[{"rounded-l":P()}],"rounded-ss":[{"rounded-ss":P()}],"rounded-se":[{"rounded-se":P()}],"rounded-ee":[{"rounded-ee":P()}],"rounded-es":[{"rounded-es":P()}],"rounded-tl":[{"rounded-tl":P()}],"rounded-tr":[{"rounded-tr":P()}],"rounded-br":[{"rounded-br":P()}],"rounded-bl":[{"rounded-bl":P()}],"border-w":[{border:F()}],"border-w-x":[{"border-x":F()}],"border-w-y":[{"border-y":F()}],"border-w-s":[{"border-s":F()}],"border-w-e":[{"border-e":F()}],"border-w-bs":[{"border-bs":F()}],"border-w-be":[{"border-be":F()}],"border-w-t":[{"border-t":F()}],"border-w-r":[{"border-r":F()}],"border-w-b":[{"border-b":F()}],"border-w-l":[{"border-l":F()}],"divide-x":[{"divide-x":F()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":F()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...se(),`hidden`,`none`]}],"divide-style":[{divide:[...se(),`hidden`,`none`]}],"border-color":[{border:M()}],"border-color-x":[{"border-x":M()}],"border-color-y":[{"border-y":M()}],"border-color-s":[{"border-s":M()}],"border-color-e":[{"border-e":M()}],"border-color-bs":[{"border-bs":M()}],"border-color-be":[{"border-be":M()}],"border-color-t":[{"border-t":M()}],"border-color-r":[{"border-r":M()}],"border-color-b":[{"border-b":M()}],"border-color-l":[{"border-l":M()}],"divide-color":[{divide:M()}],"outline-style":[{outline:[...se(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[Y,Z,X]}],"outline-w":[{outline:[``,Y,Kc,zc]}],"outline-color":[{outline:M()}],shadow:[{shadow:[``,`inner`,`none`,u,Zc,Gc]}],"shadow-color":[{shadow:M()}],"inset-shadow":[{"inset-shadow":[`none`,d,Zc,Gc]}],"inset-shadow-color":[{"inset-shadow":M()}],"ring-w":[{ring:F()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:M()}],"ring-offset-w":[{"ring-offset":[Y,zc]}],"ring-offset-color":[{"ring-offset":M()}],"inset-ring-w":[{"inset-ring":F()}],"inset-ring-color":[{"inset-ring":M()}],"text-shadow":[{"text-shadow":[`none`,f,Zc,Gc]}],"text-shadow-color":[{"text-shadow":M()}],opacity:[{opacity:[Y,Z,X]}],"mix-blend":[{"mix-blend":[...ce(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":ce()}],"mask-clip":[{"mask-clip":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]},`mask-no-clip`],"mask-composite":[{mask:[`add`,`subtract`,`intersect`,`exclude`]}],"mask-image-linear-pos":[{"mask-linear":[Y]}],"mask-image-linear-from-pos":[{"mask-linear-from":I()}],"mask-image-linear-to-pos":[{"mask-linear-to":I()}],"mask-image-linear-from-color":[{"mask-linear-from":M()}],"mask-image-linear-to-color":[{"mask-linear-to":M()}],"mask-image-t-from-pos":[{"mask-t-from":I()}],"mask-image-t-to-pos":[{"mask-t-to":I()}],"mask-image-t-from-color":[{"mask-t-from":M()}],"mask-image-t-to-color":[{"mask-t-to":M()}],"mask-image-r-from-pos":[{"mask-r-from":I()}],"mask-image-r-to-pos":[{"mask-r-to":I()}],"mask-image-r-from-color":[{"mask-r-from":M()}],"mask-image-r-to-color":[{"mask-r-to":M()}],"mask-image-b-from-pos":[{"mask-b-from":I()}],"mask-image-b-to-pos":[{"mask-b-to":I()}],"mask-image-b-from-color":[{"mask-b-from":M()}],"mask-image-b-to-color":[{"mask-b-to":M()}],"mask-image-l-from-pos":[{"mask-l-from":I()}],"mask-image-l-to-pos":[{"mask-l-to":I()}],"mask-image-l-from-color":[{"mask-l-from":M()}],"mask-image-l-to-color":[{"mask-l-to":M()}],"mask-image-x-from-pos":[{"mask-x-from":I()}],"mask-image-x-to-pos":[{"mask-x-to":I()}],"mask-image-x-from-color":[{"mask-x-from":M()}],"mask-image-x-to-color":[{"mask-x-to":M()}],"mask-image-y-from-pos":[{"mask-y-from":I()}],"mask-image-y-to-pos":[{"mask-y-to":I()}],"mask-image-y-from-color":[{"mask-y-from":M()}],"mask-image-y-to-color":[{"mask-y-to":M()}],"mask-image-radial":[{"mask-radial":[Z,X]}],"mask-image-radial-from-pos":[{"mask-radial-from":I()}],"mask-image-radial-to-pos":[{"mask-radial-to":I()}],"mask-image-radial-from-color":[{"mask-radial-from":M()}],"mask-image-radial-to-color":[{"mask-radial-to":M()}],"mask-image-radial-shape":[{"mask-radial":[`circle`,`ellipse`]}],"mask-image-radial-size":[{"mask-radial":[{closest:[`side`,`corner`],farthest:[`side`,`corner`]}]}],"mask-image-radial-pos":[{"mask-radial-at":b()}],"mask-image-conic-pos":[{"mask-conic":[Y]}],"mask-image-conic-from-pos":[{"mask-conic-from":I()}],"mask-image-conic-to-pos":[{"mask-conic-to":I()}],"mask-image-conic-from-color":[{"mask-conic-from":M()}],"mask-image-conic-to-color":[{"mask-conic-to":M()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:N()}],"mask-repeat":[{mask:ie()}],"mask-size":[{mask:ae()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,Z,X]}],filter:[{filter:[``,`none`,Z,X]}],blur:[{blur:le()}],brightness:[{brightness:[Y,Z,X]}],contrast:[{contrast:[Y,Z,X]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,Zc,Gc]}],"drop-shadow-color":[{"drop-shadow":M()}],grayscale:[{grayscale:[``,Y,Z,X]}],"hue-rotate":[{"hue-rotate":[Y,Z,X]}],invert:[{invert:[``,Y,Z,X]}],saturate:[{saturate:[Y,Z,X]}],sepia:[{sepia:[``,Y,Z,X]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,Z,X]}],"backdrop-blur":[{"backdrop-blur":le()}],"backdrop-brightness":[{"backdrop-brightness":[Y,Z,X]}],"backdrop-contrast":[{"backdrop-contrast":[Y,Z,X]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,Y,Z,X]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Y,Z,X]}],"backdrop-invert":[{"backdrop-invert":[``,Y,Z,X]}],"backdrop-opacity":[{"backdrop-opacity":[Y,Z,X]}],"backdrop-saturate":[{"backdrop-saturate":[Y,Z,X]}],"backdrop-sepia":[{"backdrop-sepia":[``,Y,Z,X]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[``,`all`,`colors`,`opacity`,`shadow`,`transform`,`none`,Z,X]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[Y,`initial`,Z,X]}],ease:[{ease:[`linear`,`initial`,_,Z,X]}],delay:[{delay:[Y,Z,X]}],animate:[{animate:[`none`,v,Z,X]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,Z,X]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:L()}],"rotate-x":[{"rotate-x":L()}],"rotate-y":[{"rotate-y":L()}],"rotate-z":[{"rotate-z":L()}],scale:[{scale:R()}],"scale-x":[{"scale-x":R()}],"scale-y":[{"scale-y":R()}],"scale-z":[{"scale-z":R()}],"scale-3d":[`scale-3d`],skew:[{skew:z()}],"skew-x":[{"skew-x":z()}],"skew-y":[{"skew-y":z()}],transform:[{transform:[Z,X,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:ue()}],"translate-x":[{"translate-x":ue()}],"translate-y":[{"translate-y":ue()}],"translate-z":[{"translate-z":ue()}],"translate-none":[`translate-none`],zoom:[{zoom:[Oc,Z,X]}],accent:[{accent:M()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:M()}],"color-scheme":[{scheme:[`normal`,`dark`,`light`,`light-dark`,`only-dark`,`only-light`]}],cursor:[{cursor:[`auto`,`default`,`pointer`,`wait`,`text`,`move`,`help`,`not-allowed`,`none`,`context-menu`,`progress`,`cell`,`crosshair`,`vertical-text`,`alias`,`copy`,`no-drop`,`grab`,`grabbing`,`all-scroll`,`col-resize`,`row-resize`,`n-resize`,`e-resize`,`s-resize`,`w-resize`,`ne-resize`,`nw-resize`,`se-resize`,`sw-resize`,`ew-resize`,`ns-resize`,`nesw-resize`,`nwse-resize`,`zoom-in`,`zoom-out`,Z,X]}],"field-sizing":[{"field-sizing":[`fixed`,`content`]}],"pointer-events":[{"pointer-events":[`auto`,`none`]}],resize:[{resize:[`none`,``,`y`,`x`]}],"scroll-behavior":[{scroll:[`auto`,`smooth`]}],"scrollbar-thumb-color":[{"scrollbar-thumb":M()}],"scrollbar-track-color":[{"scrollbar-track":M()}],"scrollbar-gutter":[{"scrollbar-gutter":[`auto`,`stable`,`both`]}],"scrollbar-w":[{scrollbar:[`auto`,`thin`,`none`]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mbs":[{"scroll-mbs":w()}],"scroll-mbe":[{"scroll-mbe":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pbs":[{"scroll-pbs":w()}],"scroll-pbe":[{"scroll-pbe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:[`start`,`end`,`center`,`align-none`]}],"snap-stop":[{snap:[`normal`,`always`]}],"snap-type":[{snap:[`none`,`x`,`y`,`both`]}],"snap-strictness":[{snap:[`mandatory`,`proximity`]}],touch:[{touch:[`auto`,`none`,`manipulation`]}],"touch-x":[{"touch-pan":[`x`,`left`,`right`]}],"touch-y":[{"touch-pan":[`y`,`up`,`down`]}],"touch-pz":[`touch-pinch-zoom`],select:[{select:[`none`,`text`,`all`,`auto`]}],"will-change":[{"will-change":[`auto`,`scroll`,`contents`,`transform`,Z,X]}],fill:[{fill:[`none`,...M()]}],"stroke-w":[{stroke:[Y,Kc,zc,Bc]}],stroke:[{stroke:[`none`,...M()]}],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{"container-named":[`container-type`],overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`inset-bs`,`inset-be`,`start`,`end`,`top`,`right`,`bottom`,`left`],"inset-x":[`start`,`end`,`right`,`left`],"inset-y":[`inset-bs`,`inset-be`,`top`,`bottom`],flex:[`basis`,`grow`,`shrink`],gap:[`gap-x`,`gap-y`],p:[`px`,`py`,`ps`,`pe`,`pbs`,`pbe`,`pt`,`pr`,`pb`,`pl`],px:[`ps`,`pe`,`pr`,`pl`],py:[`pbs`,`pbe`,`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mbs`,`mbe`,`mt`,`mr`,`mb`,`ml`],mx:[`ms`,`me`,`mr`,`ml`],my:[`mbs`,`mbe`,`mt`,`mb`],size:[`w`,`h`],"font-size":[`leading`],"fvn-normal":[`fvn-ordinal`,`fvn-slashed-zero`,`fvn-figure`,`fvn-spacing`,`fvn-fraction`],"fvn-ordinal":[`fvn-normal`],"fvn-slashed-zero":[`fvn-normal`],"fvn-figure":[`fvn-normal`],"fvn-spacing":[`fvn-normal`],"fvn-fraction":[`fvn-normal`],"line-clamp":[`display`,`overflow`],rounded:[`rounded-s`,`rounded-e`,`rounded-t`,`rounded-r`,`rounded-b`,`rounded-l`,`rounded-ss`,`rounded-se`,`rounded-ee`,`rounded-es`,`rounded-tl`,`rounded-tr`,`rounded-br`,`rounded-bl`],"rounded-s":[`rounded-ss`,`rounded-es`],"rounded-e":[`rounded-se`,`rounded-ee`],"rounded-t":[`rounded-tl`,`rounded-tr`],"rounded-r":[`rounded-tr`,`rounded-br`],"rounded-b":[`rounded-br`,`rounded-bl`],"rounded-l":[`rounded-tl`,`rounded-bl`],"border-spacing":[`border-spacing-x`,`border-spacing-y`],"border-w":[`border-w-x`,`border-w-y`,`border-w-s`,`border-w-e`,`border-w-bs`,`border-w-be`,`border-w-t`,`border-w-r`,`border-w-b`,`border-w-l`],"border-w-x":[`border-w-s`,`border-w-e`,`border-w-r`,`border-w-l`],"border-w-y":[`border-w-bs`,`border-w-be`,`border-w-t`,`border-w-b`],"border-color":[`border-color-x`,`border-color-y`,`border-color-s`,`border-color-e`,`border-color-bs`,`border-color-be`,`border-color-t`,`border-color-r`,`border-color-b`,`border-color-l`],"border-color-x":[`border-color-s`,`border-color-e`,`border-color-r`,`border-color-l`],"border-color-y":[`border-color-bs`,`border-color-be`,`border-color-t`,`border-color-b`],translate:[`translate-x`,`translate-y`,`translate-none`],"translate-none":[`translate`,`translate-x`,`translate-y`,`translate-z`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mbs`,`scroll-mbe`,`scroll-mt`,`scroll-mr`,`scroll-mb`,`scroll-ml`],"scroll-mx":[`scroll-ms`,`scroll-me`,`scroll-mr`,`scroll-ml`],"scroll-my":[`scroll-mbs`,`scroll-mbe`,`scroll-mt`,`scroll-mb`],"scroll-p":[`scroll-px`,`scroll-py`,`scroll-ps`,`scroll-pe`,`scroll-pbs`,`scroll-pbe`,`scroll-pt`,`scroll-pr`,`scroll-pb`,`scroll-pl`],"scroll-px":[`scroll-ps`,`scroll-pe`,`scroll-pr`,`scroll-pl`],"scroll-py":[`scroll-pbs`,`scroll-pbe`,`scroll-pt`,`scroll-pb`],touch:[`touch-x`,`touch-y`,`touch-pz`],"touch-x":[`touch`],"touch-y":[`touch`],"touch-pz":[`touch`]},conflictingClassGroupModifiers:{"font-size":[`leading`]},postfixLookupClassGroups:[`container-type`],orderSensitiveModifiers:[`*`,`**`,`after`,`backdrop`,`before`,`details-content`,`file`,`first-letter`,`first-line`,`marker`,`placeholder`,`selection`]}},ul=_c(ll)})),fl,pl,ml,hl,gl,_l=t((()=>{fl=function(e){return e.CHANNEL_SETTINGS=`channel-settings`,e.BUTTON_SETTINGS=`button-settings`,e}({}),pl=function(e){return e.FORM_LOADED=`givebutter-form-loaded`,e.CLOSE_MODAL=`close-givebutter-modal`,e.DONATION_BUTTON_CLOSE=`donation.button.close`,e.DONATION_BUTTON_NEXT=`donation.button.next`,e.DONATION_BUTTON_BACK=`donation.button.back`,e.DONATION_GO_TO_STEP=`donation.go.to.step`,e.POST_CHECKOUT_REDIRECT=`post_checkout.redirect`,e}({}),ml=function(e){return e.CLOSE_OVERLAY=`close-overlay`,e}({}),hl=function(e){return e.READY=`givebutter-widget-ready`,e}({}),gl=function(e){return e.STARTED=`donation.started`,e.PAYING=`donation.paying`,e.COMPLETE=`donation.complete`,e}({})})),vl=r({GivebutterIframe:()=>bl}),yl,bl,xl=t((()=>{yl=zs(),Wt(),ko(),ds(),gs(),dl(),_l(),Po(),ks(),Fo(),bl=class extends No(Bt){constructor(...e){super(...e),this.isLoading=!0,this.src=``,this.overrideIsLoading=!1,this.showPoweredByGivebutter=!0,this.showBorder=!0,this.closable=!1,this.maxWidth=`560px`,this.maxHeight=``,this.iframeClass=``,this.footerClass=``}resizeIframe(){var e;(e=this.iframe)==null||(e=e.iFrameResizer)==null||e.resize()}willUpdate(e){if(!this.overrideIsLoading){var t;this.isLoading=!1,(t=this.iframe)==null||(t=t.iFrameResizer)==null||t.resize()}}updated(e){e.has(`isLoading`)&&!this.isLoading&&!this.error&&requestAnimationFrame(()=>this.dispatchEvent(new Event(hl.READY,{bubbles:!0,composed:!0})))}render(){return this.error?this.renderError():U`
      <div
        style=${ms({maxWidth:this.maxWidth})}
        class="${this.isLoading?``:`hidden`} ${this.iframeClass} flex w-full grow items-center justify-center p-20"
      >
        <svg
          aria-hidden="true"
          class="mr-2 h-7 w-7 animate-spin fill-blue-500 text-gray-200 dark:text-gray-600"
          viewBox="0 0 100 101"
          fill="none"
          xmlns="http://www.w3.org/2000/svg"
        >
          <path
            d="M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z"
            fill="currentColor"
          />
          <path
            d="M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z"
            fill="currentFill"
          />
        </svg>
      </div>
      <iframe
        ${ls(this.iframeChanged)}
        name="givebutter"
        title="givebutter-iframe"
        class="${this.getIframeClass()}"
        style=${ms(this.getIframeStyles())}
        src="${this.src}"
        allowpaymentrequest="true"
        allow="payment"
      ></iframe>
      ${this.renderPoweredByGivebutter()}
    `}renderPoweredByGivebutter(){return this.showPoweredByGivebutter?U`
      <div
        class="${this.showBorder?`rounded-b-2xl border border-t-0 border-gray-300`:`border-t border-gray-100`} ${this.isLoading?`hidden`:this.footerClass} flex w-full items-center justify-center bg-gray-100 py-3 text-center"
        style=${ms({maxWidth:this.maxWidth})}
      >
        <a
          class="text-gray-900! no-underline!"
          href="https://givebutter.com"
          target="_blank"
          rel="noopener noreferrer"
        >
          <img
            class="block"
            alt="Powered by Givebutter"
            width="182"
            height="18"
            src="https://givebutter.com/assets/brand/givebutter/Powered/Givebutter_H_Text.svg"
            draggable="false"
          />
        </a>
      </div>
    `:``}iframeChanged(e){e&&(this.iframe=e,setTimeout(()=>(0,yl.iframeResizer)({checkOrigin:!1,scrolling:this.closable||this.maxHeight.length>0?`auto`:!1,initCallback:()=>{this.overrideIsLoading||(this.isLoading=!1)},closedCallback:()=>{this.isLoading=!1}},e),0))}getIframeClass(){return ul(`w-full bg-white`,this.isLoading&&`hidden`,this.showBorder&&`border border-gray-300 rounded-t-2xl`,this.showBorder&&!this.showPoweredByGivebutter&&`rounded-b-2xl`,this.showBorder&&this.showPoweredByGivebutter&&`border-b-gray-100`,this.iframeClass)}getIframeStyles(){return{maxWidth:this.maxWidth,maxHeight:this.maxHeight}}renderError(){return U`
      <div class="relative w-[400px] rounded-md bg-white p-12 text-center font-sans">
        <button
          aria-label="close"
          onclick="window.postMessage('close-givebutter-modal')"
          class="absolute top-0 right-0 mt-4 mr-4 rounded-md p-2 focus:outline-hidden"
        >
          <svg class="h-5 w-5 text-gray-500" fill="currentColor" viewBox="-2 -2 24 24">
            <path
              fill-rule="evenodd"
              d="M13.414 6l5.293-5.293a1 1 0 1 0-1.414-1.414L12 4.586 6.707-.707a1 1 0 1 0-1.414 1.414L10.586 6l-5.293 5.293a1 1 0 1 0 1.414 1.414L12 7.414l5.293 5.293a1 1 0 1 0 1.414-1.414L13.414 6z"
              clip-rule="evenodd"
            />
          </svg>
        </button>
        <div class="mb-2 inline-flex items-center">
          <img
            height="40px"
            alt="Warning"
            src="https://givebuttercdn.com/widgets/icons/warning-icon.svg"
          />
        </div>
        <div class="mb-10 text-lg">
          <strong>Uh-oh!</strong>
        </div>
        <div class="mb-10">
          <p class="mb-3">There was an error loading this widget.</p>
          <p>
            Please check your widget<br />
            configuration.
          </p>
        </div>
        <div class="mb-10">
          <a
            class="inline-flex items-center text-blue-600"
            href="https://givebutter.com/contact"
            target="_blank"
          >
            Contact Support
            <img
              height="25px"
              alt="Arrow symbol"
              src="https://givebuttercdn.com/widgets/icons/arrow-right-blue.svg"
            />
          </a>
        </div>
        <div class="flex flex-col items-center gap-4">
          <img
            height="20px"
            alt="Givebutter logo"
            src="https://givebuttercdn.com/widgets/icons/gb-logo-square.svg"
          />
          <img
            height="15px"
            alt="Powered by Givebutter"
            src="https://givebuttercdn.com/widgets/icons/powered-by-givebutter.svg"
          />
        </div>
      </div>
    `}},K([xo()],bl.prototype,`isLoading`,void 0),K([G({type:String})],bl.prototype,`src`,void 0),K([G({type:Boolean,converter:Os._boolean})],bl.prototype,`overrideIsLoading`,void 0),K([G({type:Boolean,converter:Os._boolean})],bl.prototype,`showPoweredByGivebutter`,void 0),K([G({type:Boolean,converter:Os._boolean})],bl.prototype,`showBorder`,void 0),K([G({type:String})],bl.prototype,`error`,void 0),K([G({type:Boolean,converter:Os._boolean})],bl.prototype,`closable`,void 0),K([G({type:String,attribute:`max-width`})],bl.prototype,`maxWidth`,void 0),K([G({type:String,attribute:`max-height`})],bl.prototype,`maxHeight`,void 0),K([G({type:String,attribute:`iframe-class`})],bl.prototype,`iframeClass`,void 0),K([G({type:String,attribute:`footer-class`})],bl.prototype,`footerClass`,void 0),bl=K([go(`givebutter-iframe`)],bl)})),Sl,Cl,wl=t((()=>{F(),Sl=300*1e3,Cl=class{constructor({host:e,queryFn:t,cacheTime:n=Sl,retryCount:r=3,onSuccess:i,onError:a,shouldStopInterval:o}){this.destroyed=!1,this.host=e,this.queryFn=t,this.cacheTime=n,this.intervalId=null,this.retryCount=r,this.handleWindowFocus=this.handleWindowFocus.bind(this),this.host.addController(this),this.onSuccess=i,this.onError=a,this.shouldStopInterval=o}hostConnected(){var e=this;return P(function*(){yield e.fetchData(),e.setRefetchInterval(),window.addEventListener(`focus`,e.handleWindowFocus)})()}hostDisconnected(){this.stopInterval(),window.removeEventListener(`focus`,this.handleWindowFocus)}refetch(){var e=this;return P(function*(){yield e.fetchData()})()}destroy(){this.destroyed=!0,this.stopInterval(),window.removeEventListener(`focus`,this.handleWindowFocus),this.host.removeController(this)}fetchData(){var e=this;return P(function*(t=this.retryCount){try{var n,r;let t=yield e.queryFn();if(e.destroyed)return;e.data=t,e.error=void 0,e.errorStatus=void 0,(n=e.onSuccess)==null||n.call(e,e.data),(r=e.shouldStopInterval)!=null&&r.call(e,e.data)&&e.stopInterval()}catch(n){var i;if(e.destroyed)return;if(e.shouldRetry(n==null||(i=n.response)==null?void 0:i.status)&&t>0)yield e.fetchData(t-1);else{var a,o,s,c;e.error=(a=n==null?void 0:n.message)==null?`Something went wrong.`:a,e.errorStatus=n==null||(o=n.response)==null?void 0:o.status,e.stopInterval(),(s=e.onError)==null||s.call(e,(c=e.error)==null?`Unknown error occurred`:c)}}finally{e.destroyed||e.host.requestUpdate()}}).apply(this,arguments)}setRefetchInterval(){var e=this;this.intervalId=setInterval(P(function*(){yield e.fetchData()}),this.cacheTime)}handleWindowFocus(){var e=this;return P(function*(){yield e.fetchData()})()}stopInterval(){this.intervalId!==null&&clearInterval(this.intervalId)}shouldRetry(e){return e!==404&&e!==422}}})),Tl,El,Dl=t((()=>{Tl=[3e3,8e3,15e3],El=class{constructor(e){this.attempt=0,this.timers=[],this.startedFor=null,this.host=e,e.addController(this)}hostDisconnected(){this.clear(),this.startedFor=null}start(e){!e||this.startedFor===e||(this.clear(),this.startedFor=e,this.attempt=0,this.timers=Tl.map((e,t)=>setTimeout(()=>{this.attempt=t+1,this.host.requestUpdate()},e)))}clear(){this.timers.forEach(e=>clearTimeout(e)),this.timers=[]}}})),Ol,kl=t((()=>{a(),Ol=class{static sendEcommerceEvent(e,t){if(typeof window.gtag==`function`){window.gtag(`event`,e,t);return}if(Array.isArray(window.dataLayer)){window.dataLayer.push({ecommerce:null}),window.dataLayer.push({event:e,ecommerce:t});return}i.debug(`No gtag or dataLayer on the host page, skipping "${e}"`)}}})),Al,jl=t((()=>{a(),Al=class{static send(e,t,n){if(typeof window.fbq!=`function`){i.debug(`No fbq on the host page, skipping "${e}"`);return}window.fbq(`track`,e,t,n?{eventID:n}:void 0)}}}));function Ml(e){let t=Number(e==null?0:e);return Number.isFinite(t)?t:0}function Nl(e){var t,n,r,i;return String((t=(n=(r=e.campaign)==null?void 0:r.id)==null?(i=e.campaign)==null?void 0:i.code:n)==null?``:t)}var Pl,Fl,Il,Ll,Rl=t((()=>{_l(),kl(),a(),jl(),Pl=Object.values(gl),Fl={[gl.STARTED]:`add_to_cart`,[gl.PAYING]:`begin_checkout`,[gl.COMPLETE]:`purchase`},Il={[gl.STARTED]:`AddToCart`,[gl.PAYING]:`InitiateCheckout`,[gl.COMPLETE]:`Purchase`},Ll=class{static isDonationMessage(e){let t=e;return!!t&&t.givebutter===!0&&Pl.includes(t.event)}static dispatch(e){if(!Nl(e)){i.debug(`Donation message "${e.event}" has no campaign identifier, skipping`);return}let t=this.toGa4Event(e);t&&Ol.sendEcommerceEvent(t.name,t.params);let n=this.toMetaEvent(e);n&&Al.send(n.name,n.params,e.transactionId)}static toGa4Event(e){var t,n,r;let a=Fl[e.event];if(!a)return null;let o=Ml(e.total),s={item_id:Nl(e),item_name:(t=(n=e.campaign)==null?void 0:n.title)==null?``:t,price:o,quantity:1},c={currency:(r=e.currency)==null?`USD`:r,value:o,items:[s]};return a===`purchase`&&(e.transactionId?c.transaction_id=e.transactionId:i.debug(`Purchase message has no transactionId, GA4 dedup will not apply`)),{name:a,params:c}}static toMetaEvent(e){var t,n,r;let i=Il[e.event];return i?{name:i,params:{content_type:`product`,content_ids:[Nl(e)],content_name:(t=(n=e.campaign)==null?void 0:n.title)==null?``:t,currency:(r=e.currency)==null?`USD`:r,value:Ml(e.total)}}:null}}})),zl,Bl,Vl,Hl=t((()=>{h(),zl=`gba_gb.element.id`,Bl=`gba_gb.element.platform`,Vl=(e,t)=>{if(!m.isValidEmbedUrl(e))return``;let n=new URL(e),r=new URLSearchParams(n.search);return new URLSearchParams(t.analyticsQueryString).forEach((e,t)=>{r.has(t)||r.set(t,e)}),r.set(`goalBar`,`false`),t.closable&&r.set(`closeButton`,`true`),t.widgetId.length>0&&r.set(zl,t.widgetId),r.set(Bl,t.platform),`${n.origin+n.pathname}?${r.toString()}`}})),Ul,Wl=t((()=>{_l(),Ul=class{static parseRedirectUrl(e){let t=e;if(!t||typeof t!=`object`||t.givebutter!==!0||t.event!==pl.POST_CHECKOUT_REDIRECT||typeof t.redirectUrl!=`string`)return null;try{let e=new URL(t.redirectUrl);return e.protocol===`https:`?e:null}catch(e){return null}}static isFromEmbedOrigin(e,t){try{return typeof e==`string`&&e===new URL(t).origin}catch(e){return!1}}static navigateTop(e){try{var t;(t=window.top)==null||t.location.assign(e.href)}catch(e){return}}}}));function Gl({src:e,alt:t,maxWidth:n,attempt:r=0}){return U`
    <div class="flex h-full w-full items-start justify-center">
      <div class="relative w-full" style="max-width: ${n}">
        <img class="h-auto w-full" src="${r>0?`${e}?r=${r}`:e}" alt="${t}" loading="eager" />
        <p
          class="absolute top-3 left-1/2 -translate-x-1/2 rounded-full bg-gray-900/75 px-3 py-1 font-sans text-xs font-semibold tracking-wide text-white uppercase"
        >
          Static Preview
        </p>
      </div>
    </div>
  `}var Kl=t((()=>{Wt()}));function ql({title:e,description:t,maxWidthPx:n}){return U`
    <div class="flex h-full w-full items-center justify-center">
      <div
        class="mx-auto flex w-full flex-col items-center gap-1.5 rounded-2xl border border-dashed border-gray-300 bg-gray-50 p-10 text-center font-sans"
        style="max-width: ${n}px"
      >
        <p class="text-base font-semibold text-gray-900">${e}</p>
        <p class="text-sm text-gray-500">${t}</p>
      </div>
    </div>
  `}var Jl=t((()=>{Wt()})),Yl=r({GivebutterGivingForm:()=>Xl}),Xl,Zl=t((()=>{Wt(),ko(),Wo(),ds(),dl(),_l(),wl(),Dl(),Es(),ws(),Po(),me(),ks(),Rl(),Hl(),v(),Wl(),Kl(),Jl(),Fo(),Xl=class extends No(Ts){constructor(){super(),this.hasRedirected=!1,this.isLoading=!0,this.themeColor=``,this.maxWidth=``,this.maxHeight=``,this.closable=!1,this.showGoalBar=!1,this.iframeClass=``,this.footerClass=``,this.previewImageUrl=``,this.previewRetry=new El(this),this.isEventTicketsFlow=!1,this.receiveMessageEvent=e=>{var t;let n=e.data.event||e.data,r=(t=this.iframe)==null||(t=t.shadowRoot)==null?void 0:t.querySelector(`iframe`);if(n===pl.DONATION_BUTTON_CLOSE||n===pl.CLOSE_MODAL){var i;(i=this.shadowRoot)==null||i.dispatchEvent(new Event(ml.CLOSE_OVERLAY,{bubbles:!0,composed:!0}));return}if(this.iframe&&r!=null&&r.contentWindow&&r.contentWindow===e.source&&n===pl.FORM_LOADED){this.isLoading=!1;return}if(this.iframe&&r!=null&&r.contentWindow&&r.contentWindow===e.source&&Ul.isFromEmbedOrigin(e.origin,this.embedUrl)){let t=Ul.parseRedirectUrl(e.data);if(t){this.hasRedirected===!1&&(this.hasRedirected=!0,Ul.navigateTop(t));return}}if(this.iframe&&r!=null&&r.contentWindow&&r.contentWindow===e.source&&Ll.isDonationMessage(e.data)){Ll.dispatch(e.data);return}this.iframe&&r!=null&&r.contentWindow&&r.contentWindow===e.source&&[pl.DONATION_BUTTON_NEXT,pl.DONATION_BUTTON_BACK,pl.DONATION_GO_TO_STEP].includes(e.data.event)&&this.iframe.getBoundingClientRect().top<0&&this.iframe.scrollIntoView({behavior:`smooth`,block:`start`,inline:`nearest`})},this.componentType=Ss.GIVING_FORM}connectedCallback(){super.connectedCallback(),window.addEventListener(`message`,this.receiveMessageEvent)}disconnectedCallback(){window.removeEventListener(`message`,this.receiveMessageEvent),super.disconnectedCallback()}willUpdate(e){if(!this.dataController&&this.embedUrl.length===0&&this.account&&(this.dataController=new Cl({host:this,queryFn:()=>R(this.account,this.campaign)})),this.embedUrl.length===0){var t,n,r;this.embedUrl=((t=this.dataController)==null||(t=t.data)==null?void 0:t.embed_url)||``,this.maxWidth=((n=this.dataController)==null||(n=n.data)==null?void 0:n.embed_max_width)||`560px`,this.isEventTicketsFlow=((r=this.dataController)==null||(r=r.data)==null?void 0:r.is_event_tickets_flow)||!1}}render(){var e;return _.isWixEditorPreview()&&!this.closable?this.renderEditorPreviewNotice():U`
      ${this.showGoalBar?this.getGivebutterGoalBar():``}
      <givebutter-iframe
        ${ls(this.iframeChanged)}
        src="${this.getEmbedUrl()}"
        error="${Ho((e=this.dataController)==null?void 0:e.error)}"
        closable="${this.closable}"
        max-width="${this.maxWidth}"
        max-height="${this.maxHeight}"
        footer-class="${this.footerClass}"
        iframe-class="${ul(this.iframeClass,this.closable&&this.isEventTicketsFlow&&`h-full! w-screen!`,this.closable&&!this.isEventTicketsFlow&&`max-modal-desktop:h-full! w-screen!`)}"
        class="${ul(`flex flex-col`,this.closable&&this.isEventTicketsFlow&&`h-dvh w-full modal-desktop:max-h-[min(90dvh,725px)]`,this.closable&&!this.isEventTicketsFlow&&`h-dvh modal-desktop:h-auto w-full modal-desktop:w-auto modal-desktop:max-h-[90dvh]`)}"
        .overrideIsLoading="${this.isLoading}"
      ></givebutter-iframe>
    `}getGivebutterGoalBar(){return U`
      <givebutter-goal-bar
        account="${this.account}"
        campaign="${this.campaign}"
        class="${this.iframeClass}"
        size="sm"
        border-width="0"
        max-width="${this.maxWidth}"
        background-color="transparent"
        progress-bar-color="${this.themeColor}"
      ></givebutter-goal-bar>
    `}iframeChanged(e){this.iframe=e}renderEditorPreviewNotice(){return this.previewImageUrl?(this.previewRetry.start(this.previewImageUrl),Gl({src:this.previewImageUrl,alt:`Givebutter Donation Form preview`,maxWidth:this.maxWidth||`560px`,attempt:this.previewRetry.attempt})):ql({title:`Givebutter Donation Form`,description:`Publish your site to preview the live form here.`,maxWidthPx:560})}getEmbedUrl(){return Vl(this.embedUrl,{analyticsQueryString:this.analytics.getQueryString(),closable:this.closable,widgetId:this.widgetId,platform:_.getPlatform()})}},K([xo()],Xl.prototype,`isLoading`,void 0),K([G({type:String,attribute:`theme-color`})],Xl.prototype,`themeColor`,void 0),K([G({type:String,attribute:`max-width`})],Xl.prototype,`maxWidth`,void 0),K([G({type:String,attribute:`max-height`})],Xl.prototype,`maxHeight`,void 0),K([G({type:Boolean,attribute:`closable`})],Xl.prototype,`closable`,void 0),K([G({type:Boolean,attribute:`show-goal-bar`,converter:Os._boolean})],Xl.prototype,`showGoalBar`,void 0),K([G({type:String,attribute:`iframe-class`})],Xl.prototype,`iframeClass`,void 0),K([G({type:String,attribute:`footer-class`})],Xl.prototype,`footerClass`,void 0),K([G({type:String,attribute:`preview-image-url`})],Xl.prototype,`previewImageUrl`,void 0),K([G({type:Boolean})],Xl.prototype,`isEventTicketsFlow`,void 0),Xl=K([go(`givebutter-giving-form`)],Xl)})),Ql,$l=t((()=>{ae(),Ql=e=>{class t extends e{constructor(...e){super(...e),this.emitIframeMessage=e=>{var t,n;let r=(t=this.iframe)==null?void 0:t.shadowRoot,i=ie.apiUrl;r==null||(n=r.querySelector(`iframe`))==null||(n=n.contentWindow)==null||n.postMessage(e,i)}}}return t}})),eu=r({DynamicElementType:()=>tu,GivebutterDynamicElement:()=>au,GoalBarElementType:()=>nu,SignupFormLayout:()=>iu,SignupFormType:()=>ru}),tu,nu,ru,iu,au,ou,su,cu,lu=t((()=>{Wt(),ko(),Wo(),_l(),wl(),Es(),ws(),ae(),me(),Se(),v(),c(),Jl(),Fo(),F(),tu=function(e){return e.UNDEFINED=``,e.BUTTON=`button`,e.GIVING_FORM=`giving-form`,e.SIGNUP_FORM=`signup-form`,e.GOAL_BAR=`goal-bar`,e}({}),nu=function(e){return e.PROGRESS_BAR=`progress-bar`,e.THERMOMETER=`thermometer`,e}({}),ru=function(e){return e.STATIC=`static`,e.POPUP=`popup`,e}({}),iu=function(e){return e.SIMPLE=`simple`,e.STACKED=`stacked`,e.TWO_COLUMN=`two-column`,e}({}),au=class extends Ts{constructor(){super(),this.config={},this.align=`left`,this.platform=``,this.refreshToken=``,this.position=``,this.amount=``,this.frequency=``,this.fund=``,this.promo=``,this.markReady=()=>{this.toggleAttribute(`data-ready`,!0)},this.componentType=Ss.DYNAMIC}connectedCallback(){var e=()=>super.connectedCallback,t=this;return P(function*(){if(e().call(t),t.addEventListener(hl.READY,t.markReady),t.syncSdkPlatform(),!(!t.account||!t.widgetId)){if(t.lastFetchedAccount=t.account,t.lastFetchedWidgetId=t.widgetId,t.lastFetchedRefreshToken=t.refreshToken,_.getPlatform()===o.godaddy&&_.isInsideIframe()){var n;let e=window.parent.document.createElement(`givebutter-widget`);e.id=t.widgetId,e.position=t.position,e.align=t.align;let i=window.frameElement;if(i==null||(n=i.parentElement)==null||n.insertBefore(e,i.nextSibling),!_.isGoDaddyBackoffice()&&t.position.length>0){var r;(r=xe(i,`widget-html`))==null||r.setAttribute(`style`,`height: 0px;`)}return}t.dataController=new Cl({host:t,queryFn:()=>L(t.account,t.widgetId)})}})()}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(hl.READY,this.markReady)}shouldUpdate(e){return e.has(`platform`)&&this.syncSdkPlatform(),_.isWixEditorPreview()&&(!this.account||!this.widgetId)?!0:super.shouldUpdate(e)}willUpdate(e){super.willUpdate(e),e.has(`platform`)&&this.syncSdkPlatform(),(!this.account||!this.widgetId)&&this.clearDataController()}updated(e){super.updated(e),!(!(this.account!==this.lastFetchedAccount||this.widgetId!==this.lastFetchedWidgetId||this.refreshToken!==this.lastFetchedRefreshToken)||!this.account||!this.widgetId)&&(this.lastFetchedAccount=this.account,this.lastFetchedWidgetId=this.widgetId,this.lastFetchedRefreshToken=this.refreshToken,this.dataController?this.dataController.refetch():this.dataController=new Cl({host:this,queryFn:()=>L(this.account,this.widgetId)}))}render(){var e;let t=(e=this.dataController)==null||(e=e.data)==null?void 0:e.type;if(t){if(t===`button`)return this.getButton();if(t===`giving-form`)return this.getGivingForm();if(t===`signup-form`)return this.getSignupForm();if(t===`goal-bar`)return this.getGoalBar()}if(!t&&_.isWixEditorPreview()){var n,r;return((n=this.dataController)==null?void 0:n.errorStatus)===404?this.renderWixDeletedState():((r=this.dataController)==null?void 0:r.errorStatus)===422?this.renderWixUnavailableState():this.renderWixEmptyState()}return U``}syncSdkPlatform(){this.platform&&Object.values(o).includes(this.platform)&&(ie.platform=this.platform)}clearDataController(){var e;this.toggleAttribute(`data-ready`,!1),(e=this.dataController)==null||e.destroy(),this.dataController=void 0,this.lastFetchedAccount=void 0,this.lastFetchedWidgetId=void 0}getButton(){var e,t,n,r,i;let a=(e=this.dataController)==null||(e=e.data)==null?void 0:e.config,o=(t=(n=this.dataController)==null||(n=n.data)==null?void 0:n.embed_max_width)==null?`560px`:t,s=(r=(i=this.dataController)==null||(i=i.data)==null?void 0:i.is_event_tickets_flow)==null?!1:r;return U`<givebutter-button
      id="${this.widgetId}"
      account="${this.account}"
      campaign="${a.campaign}"
      embed-url="${Ho(this.getEmbedUrl())}"
      icon="${a.icon}"
      icon-position="${a.iconPosition}"
      label="${a.label}"
      label-color="${a.labelColor}"
      drop-shadow="${a.dropShadow}"
      border-color="${a.borderColor}"
      border-width="${a.borderWidth}"
      border-radius="${a.borderRadius}"
      background-color="${a.backgroundColor}"
      position="${this.position.length>0?this.position:a.position}"
      max-width="${o}"
      button-class="${this.getAlignClass()}"
      .isEventTicketsFlow="${s}"
    ></givebutter-button>`}getGivingForm(){var e,t,n,r,i,a,o;let s=(e=this.dataController)==null||(e=e.data)==null?void 0:e.config,c=(t=(n=this.dataController)==null||(n=n.data)==null?void 0:n.embed_max_width)==null?`560px`:t,l=(r=(i=this.dataController)==null||(i=i.data)==null?void 0:i.is_event_tickets_flow)==null?!1:r;return U`<givebutter-giving-form
      id="${this.widgetId}"
      account="${this.account}"
      campaign="${s.campaign}"
      theme-color="${Ho((a=this.dataController)==null||(a=a.data)==null?void 0:a.theme_color)}"
      embed-url="${Ho(this.getEmbedUrl())}"
      max-width="${c}"
      iframe-class="${this.getAlignClass()}"
      footer-class="${this.getAlignClass()}"
      show-goal-bar="${s.showGoalBar}"
      preview-image-url="${Ho((o=this.dataController)==null||(o=o.data)==null?void 0:o.preview_image_url)}"
      .isEventTicketsFlow="${l}"
    ></givebutter-giving-form>`}getSignupForm(){var e,t,n;let r=(e=this.dataController)==null||(e=e.data)==null?void 0:e.config;return U`<givebutter-signup-form
      id="${this.widgetId}"
      account="${this.account}"
      channel="${r.channel}"
      type="${r.type}"
      embed-url="${Ho((t=this.dataController)==null||(t=t.data)==null?void 0:t.embed_url)}"
      form-class="${this.getAlignClass()}"
      title="${r.title}"
      description="${r.description}"
      border-radius="${r.borderRadius}"
      layout="${r.layout}"
      button-text="${r.buttonText}"
      button-text-color="${r.buttonTextColor}"
      button-background-color="${r.buttonBackgroundColor}"
      open-delay="${r.openDelay}"
      image="${r.image}"
      image-sizing="${r.imageSizing}"
      preview-image-url="${Ho((n=this.dataController)==null||(n=n.data)==null?void 0:n.preview_image_url)}"
    ></givebutter-signup-form>`}getGoalBar(){var e,t,n,r;let i=(e=this.dataController)==null||(e=e.data)==null?void 0:e.config;return U`<givebutter-goal-bar
      id="${this.widgetId}"
      account="${this.account}"
      campaign="${i.campaign}"
      goal="${Ho((t=this.dataController)==null||(t=t.data)==null?void 0:t.goal)}"
      raised="${Ho((n=this.dataController)==null||(n=n.data)==null?void 0:n.raised)}"
      raised-percentage="${Ho((r=this.dataController)==null||(r=r.data)==null?void 0:r.raised_percentage)}"
      type="${i.type}"
      text-color="${i.textColor}"
      progress-bar-color="${i.progressBarColor}"
      border-color="${i.borderColor}"
      border-width="${i.borderWidth}"
      border-radius="${i.borderRadius}"
      background-color="${i.backgroundColor}"
      size="${i.size}"
      show-goal-amount="${i.showGoalAmount}"
      show-amount-raised="${i.showAmountRaised}"
      show-raised-percentage="${i.showRaisedPercentage}"
    ></givebutter-goal-bar>`}renderWixEmptyState(){return ql({title:`Givebutter Widget`,description:U`Click to configure Settings ${cu} for this element.`,maxWidthPx:420})}renderWixDeletedState(){return U`
      <div class="flex h-full w-full items-center justify-center">
        <div
          class="mx-auto flex flex-col items-center gap-1.5 rounded-2xl border border-dashed border-gray-300 bg-gray-50 p-10 text-center font-sans"
        >
          ${ou}
          <p class="text-sm text-gray-500">Widget deleted</p>
        </div>
      </div>
    `}renderWixUnavailableState(){return U`
      <div class="flex h-full w-full items-center justify-center">
        <div
          class="mx-auto flex max-w-[420px] flex-col items-center gap-1.5 rounded-2xl border border-dashed border-gray-300 bg-gray-50 p-10 text-center font-sans"
        >
          ${su}
          <p class="text-base font-semibold text-gray-900">Widget unavailable</p>
          <p class="text-sm text-gray-500">This widget can't be loaded on this site.</p>
        </div>
      </div>
    `}getAlignClass(){switch(this.align){case`center`:return`mx-auto`;case`right`:return`ml-auto`;case`left`:return`mr-auto`;default:return``}}getEmbedUrl(){var e;let t=(e=this.dataController)==null||(e=e.data)==null?void 0:e.embed_url;if(!t)return;let n=new URL(t),r=new URLSearchParams(n.search);return this.amount.length>0&&r.set(`amount`,this.amount),this.frequency.length>0&&r.set(`frequency`,this.frequency),this.fund.length>0&&r.set(`fund`,this.fund),this.promo.length>0&&r.set(`promo`,this.promo),n.search=r.toString(),n.toString()}},K([xo()],au.prototype,`config`,void 0),K([G({type:String,attribute:`align`})],au.prototype,`align`,void 0),K([G({type:String,attribute:`platform`})],au.prototype,`platform`,void 0),K([G({type:String,attribute:`refresh-token`})],au.prototype,`refreshToken`,void 0),K([G({type:String,attribute:`position`})],au.prototype,`position`,void 0),K([G({type:String,attribute:`amount`})],au.prototype,`amount`,void 0),K([G({type:String,attribute:`frequency`})],au.prototype,`frequency`,void 0),K([G({type:String,attribute:`fund`})],au.prototype,`fund`,void 0),K([G({type:String,attribute:`promo`})],au.prototype,`promo`,void 0),au=K([go(`givebutter-widget`)],au),ou=U`
  <svg class="h-8 w-8 text-[#B42318]" viewBox="0 0 384 512" fill="currentColor" aria-hidden="true">
    <!--!Font Awesome Free v6 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.-->
    <path
      d="M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"
    />
  </svg>
`,su=U`
  <svg class="h-8 w-8 text-[#ffb730]" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
    <path
      d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm0 4.5a1.25 1.25 0 0 1 1.25 1.25v5a1.25 1.25 0 0 1-2.5 0v-5A1.25 1.25 0 0 1 12 6.5Zm0 9a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Z"
    />
  </svg>
`,cu=U`
  <svg
    class="-mb-px inline-block h-4 w-4 align-[-0.125em]"
    viewBox="0 0 640 640"
    fill="currentColor"
    aria-hidden="true"
  >
    <!--!Font Awesome Free v7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.-->
    <path
      d="M259.1 73.5C262.1 58.7 275.2 48 290.4 48L350.2 48C365.4 48 378.5 58.7 381.5 73.5L396 143.5C410.1 149.5 423.3 157.2 435.3 166.3L503.1 143.8C517.5 139 533.3 145 540.9 158.2L570.8 210C578.4 223.2 575.7 239.8 564.3 249.9L511 297.3C511.9 304.7 512.3 312.3 512.3 320C512.3 327.7 511.8 335.3 511 342.7L564.4 390.2C575.8 400.3 578.4 417 570.9 430.1L541 481.9C533.4 495 517.6 501.1 503.2 496.3L435.4 473.8C423.3 482.9 410.1 490.5 396.1 496.6L381.7 566.5C378.6 581.4 365.5 592 350.4 592L290.6 592C275.4 592 262.3 581.3 259.3 566.5L244.9 496.6C230.8 490.6 217.7 482.9 205.6 473.8L137.5 496.3C123.1 501.1 107.3 495.1 99.7 481.9L69.8 430.1C62.2 416.9 64.9 400.3 76.3 390.2L129.7 342.7C128.8 335.3 128.4 327.7 128.4 320C128.4 312.3 128.9 304.7 129.7 297.3L76.3 249.8C64.9 239.7 62.3 223 69.8 209.9L99.7 158.1C107.3 144.9 123.1 138.9 137.5 143.7L205.3 166.2C217.4 157.1 230.6 149.5 244.6 143.4L259.1 73.5zM320.3 400C364.5 399.8 400.2 363.9 400 319.7C399.8 275.5 363.9 239.8 319.7 240C275.5 240.2 239.8 276.1 240 320.3C240.2 364.5 276.1 400.2 320.3 400z"
    />
  </svg>
`})),uu=r({GivebutterSignupForm:()=>Q}),Q,du=t((()=>{Vo(),Wt(),ko(),Wo(),ds(),gs(),dl(),_l(),wl(),Dl(),Es(),ws(),$l(),me(),v(),h(),zo(),lu(),Kl(),Jl(),Fo(),Q=class extends Ql(Ts){constructor(){super(),this.contentRef=os(),this.isLoading=!0,this.isOpen=!1,this.channel=`email`,this.type=ru.STATIC,this.openDelay=5e3,this.formClass=``,this.iframeClass=``,this.footerClass=``,this.title=``,this.description=``,this.borderRadius=0,this.layout=`simple`,this.buttonText=`Subscribe`,this.buttonTextColor=``,this.buttonBackgroundColor=``,this.image=``,this.imageSizing=`cover`,this.previewImageUrl=``,this.previewRetry=new El(this),this.observer=new Bo(this,{config:{childList:!0,subtree:!0},target:document.querySelector(`[data-overlay-outer-wrapper]`),callback:e=>{let t=e[0];t&&(this.isOpen=t.removedNodes.length<=0)}}),this.receiveMessageEvent=e=>{if(e.data===pl.CLOSE_MODAL){var t;(t=this.shadowRoot)==null||t.dispatchEvent(new Event(ml.CLOSE_OVERLAY,{bubbles:!0,composed:!0}))}this.iframe&&e.data===pl.FORM_LOADED&&(this.isLoading=!1)},this.componentType=Ss.SIGNUP_FORM}connectedCallback(){super.connectedCallback(),window.addEventListener(`message`,this.receiveMessageEvent)}disconnectedCallback(){window.removeEventListener(`message`,this.receiveMessageEvent),super.disconnectedCallback()}willUpdate(e){if(!this.dataController&&this.embedUrl.length===0&&this.account&&(this.dataController=new Cl({host:this,queryFn:()=>L(this.account,this.id)})),this.embedUrl.length===0){var t;this.embedUrl=((t=this.dataController)==null||(t=t.data)==null?void 0:t.embed_url)||``}}firstUpdated(){this.contentRef.value&&this.observer.observe(this.contentRef.value)}updated(e){e.has(`isLoading`)?(this.refreshSubmitButtonSettings(),this.refreshChannel()):((e.has(`buttonText`)||e.has(`buttonTextColor`)||e.has(`buttonBackgroundColor`))&&this.refreshSubmitButtonSettings(),e.has(`channel`)&&this.refreshChannel())}render(){return _.isWixEditorPreview()?this.renderEditorPreviewNotice():this.type===ru.STATIC?this.renderForm():this.renderPopup()}renderEditorPreviewNotice(){return this.previewImageUrl?(this.previewRetry.start(this.previewImageUrl),Gl({src:this.previewImageUrl,alt:`Givebutter Signup Form preview`,maxWidth:this.layout===iu.TWO_COLUMN?`620px`:`420px`,attempt:this.previewRetry.attempt})):ql({title:`Givebutter Signup Form`,description:`Publish your site to preview the live form here.`,maxWidthPx:420})}renderPopup(){return U`
      <givebutter-dialog
        trigger=${Lo.TIMED}
        open-delay=${this.openDelay}
        hide-on-outside-click
        close-button
      >
        <div slot="content" ${ls(this.contentRef)}>${this.isOpen?this.renderForm():``}</div>
      </givebutter-dialog>
    `}renderForm(){var e;return U`
      <div
        class="${this.getFormClass()} bg-white text-left md:shadow-md"
        style=${ms(this.getFormStyles())}
      >
        ${this.layout===`simple`?``:U`<div
                class=${this.getBannerClass()}
                style=${ms(this.getBannerStyles())}
              ></div>`}
        <div class="grow overflow-auto p-6">
          <h1 class="text-2xl font-semibold text-black">${this.title}</h1>
          <p class="mt-1 text-gray-700">${this.description}</p>
          <givebutter-iframe
            ${ls(this.iframeChanged)}
            src="${this.getEmbedUrl()}"
            error="${Ho((e=this.dataController)==null?void 0:e.error)}"
            iframe-class="${this.iframeClass}"
            footer-class="${this.footerClass}"
            .overrideIsLoading="${this.isLoading}"
            .showPoweredByGivebutter="${!1}"
            .showBorder="${!1}"
          ></givebutter-iframe>
        </div>
      </div>
    `}getBannerClass(){return ul(this.layout===iu.STACKED&&`h-32`,this.layout===iu.TWO_COLUMN&&`w-64`)}getBannerStyles(){return{"background-image":`url(${this.image})`,"background-size":{fill:`cover`,fit:`contain`,stretch:`100% 100%`}[this.imageSizing]||`cover`,"background-repeat":this.imageSizing===`fit`?`no-repeat`:`repeat`,"background-position":`center`}}getFormClass(){let e=this.layout===iu.TWO_COLUMN,t=this.layout===iu.STACKED;return ul((e||t)&&`flex flex-col gap-1`,e?`sm:flex-row max-w-[620px]`:`max-w-[420px]`,this.type===ru.STATIC&&this.formClass,this.type===ru.POPUP&&`modal-desktop:overflow-auto max-h-dvh modal-desktop:max-h-[90vh]`)}getFormStyles(){return{borderRadius:`${this.borderRadius}px`}}iframeChanged(e){e&&(this.iframe=e,this.refreshSubmitButtonSettings(),this.refreshChannel())}refreshChannel(){this.emitIframeMessage({event:fl.CHANNEL_SETTINGS,props:{channel:this.channel}})}refreshSubmitButtonSettings(){this.emitIframeMessage({event:fl.BUTTON_SETTINGS,props:{text:this.buttonText,textColor:this.buttonTextColor,backgroundColor:this.buttonBackgroundColor}})}getEmbedUrl(){return m.isValidEmbedUrl(this.embedUrl)?this.embedUrl:``}},K([xo()],Q.prototype,`isLoading`,void 0),K([G({type:String,attribute:`channel`})],Q.prototype,`channel`,void 0),K([G({type:String,attribute:`type`})],Q.prototype,`type`,void 0),K([G({type:Number,attribute:`open-delay`})],Q.prototype,`openDelay`,void 0),K([G({type:String,attribute:`form-class`})],Q.prototype,`formClass`,void 0),K([G({type:String,attribute:`iframe-class`})],Q.prototype,`iframeClass`,void 0),K([G({type:String,attribute:`footer-class`})],Q.prototype,`footerClass`,void 0),K([G({type:String,attribute:`title`})],Q.prototype,`title`,void 0),K([G({type:String,attribute:`description`})],Q.prototype,`description`,void 0),K([G({type:Number,attribute:`border-radius`})],Q.prototype,`borderRadius`,void 0),K([G({type:String,attribute:`layout`})],Q.prototype,`layout`,void 0),K([G({type:String,attribute:`button-text`})],Q.prototype,`buttonText`,void 0),K([G({type:String,attribute:`button-text-color`})],Q.prototype,`buttonTextColor`,void 0),K([G({type:String,attribute:`button-background-color`})],Q.prototype,`buttonBackgroundColor`,void 0),K([G({type:String,attribute:`image`})],Q.prototype,`image`,void 0),K([G({type:String,attribute:`image-sizing`})],Q.prototype,`imageSizing`,void 0),K([G({type:String,attribute:`preview-image-url`})],Q.prototype,`previewImageUrl`,void 0),Q=K([go(`givebutter-signup-form`)],Q)})),fu,pu=t((()=>{ko(),ks(),h(),Es(),Fo(),fu=class extends Ts{constructor(...e){super(...e),this.preview=!1}shouldUpdate(e){if(this.preview){if(!m.isPreviewHostAllowed())throw Error(`[widgets-core] Preview mode is only available on Givebutter-controlled surfaces.`);return!0}return super.shouldUpdate(e)}},K([G({type:Boolean,attribute:`preview`,converter:Os._boolean})],fu.prototype,`preview`,void 0)})),mu,hu,gu=t((()=>{hu=class e{static animate(t,n,r,i){if(t>=n&&typeof i==`function`){i();return}let a=n/100,o=Math.min(t+a,n);r(o),o<n&&setTimeout(()=>e.animate(o,n,r,i),e.ANIMATION_STEP_INTERVAL)}},mu=hu,mu.ANIMATION_STEP_INTERVAL=25})),_u=t((()=>{It()})),vu=t((()=>{Zo()})),yu=t((()=>{as()})),bu,xu=t((()=>{bu=new WeakMap})),Su,Cu,wu,Tu,Eu,Du,Ou,ku,Au,ju,Mu,Nu,Pu=t((()=>{_u(),vu(),yu(),xu(),F(),k(),Su=0,Cu=new Map,wu=new WeakSet,Tu=()=>new Promise(e=>requestAnimationFrame(e)),Eu=(e,t)=>{let n=e-t;return n===0?void 0:n},Du=(e,t)=>{let n=e/t;return n===1?void 0:n},Ou={left:(e,t)=>{let n=Eu(e,t);return{value:n,transform:n==null||isNaN(n)?void 0:`translateX(${n}px)`}},top:(e,t)=>{let n=Eu(e,t);return{value:n,transform:n==null||isNaN(n)?void 0:`translateY(${n}px)`}},width:(e,t)=>{let n;t===0&&(t=1,n={width:`1px`});let r=Du(e,t);return{value:r,overrideFrom:n,transform:r==null||isNaN(r)?void 0:`scaleX(${r})`}},height:(e,t)=>{let n;t===0&&(t=1,n={height:`1px`});let r=Du(e,t);return{value:r,overrideFrom:n,transform:r==null||isNaN(r)?void 0:`scaleY(${r})`}}},ku={duration:333,easing:`ease-in-out`},Au=[`left`,`top`,`width`,`height`,`opacity`,`color`,`background`],ju=new WeakMap,Mu=class extends is{constructor(e){if(super(e),this.t=!1,this.i=null,this.o=null,this.h=!0,this.shouldLog=!1,e.type===Jo.CHILD)throw Error("The `animate` directive must be used in attribute position.");this.createFinished()}createFinished(){var e;(e=this.resolveFinished)==null||e.call(this),this.finished=new Promise(e=>{this.l=e})}resolveFinished(){var e=this;return P(function*(){var t;(t=e.l)==null||t.call(e),e.l=void 0})()}render(e){return W}getController(){return bu.get(this.u)}isDisabled(){var e;return this.options.disabled||((e=this.getController())==null?void 0:e.disabled)}update(e,[t]){var n;let r=this.u===void 0;return r&&(this.u=(n=e.options)==null?void 0:n.host,this.u.addController(this),this.u.updateComplete.then(e=>this.t=!0),this.element=e.element,ju.set(this.element,this)),this.optionsOrCallback=t,(r||typeof t!=`function`)&&this.m(t),this.render(t)}m(e){var t,n;e=(t=e)==null?{}:t;let r=this.getController();r!==void 0&&((e=O(O({},r.defaultOptions),e)).keyframeOptions=O(O({},r.defaultOptions.keyframeOptions),e.keyframeOptions)),(n=e).properties!=null||(n.properties=Au),this.options=e}p(){let e={},t=this.element.getBoundingClientRect(),n=getComputedStyle(this.element);return this.options.properties.forEach(r=>{var i;let a=(i=t[r])==null?Ou[r]?void 0:n[r]:i,o=Number(a);e[r]=isNaN(o)?a+``:o}),e}v(){let e,t=!0;return this.options.guard&&(e=this.options.guard(),t=((e,t)=>{if(Array.isArray(e)){if(Array.isArray(t)&&t.length===e.length&&e.every((e,n)=>e===t[n]))return!1}else if(t===e)return!1;return!0})(e,this._)),this.h=this.t&&!this.isDisabled()&&!this.isAnimating()&&t&&this.element.isConnected,this.h&&(this._=Array.isArray(e)?Array.from(e):e),this.h}hostUpdate(){var e;typeof this.optionsOrCallback==`function`&&this.m(this.optionsOrCallback()),this.v()&&(this.A=this.p(),this.i=(e=this.i)==null?this.element.parentNode:e,this.o=this.element.nextSibling)}hostUpdated(){var e=this;return P(function*(){if(!e.h||!e.element.isConnected||e.options.skipInitial&&!e.isHostRendered)return;let t;e.prepare(),yield Tu;let n=e.P(),r=e.V(e.options.keyframeOptions,n),i=e.p();if(e.A!==void 0){let{from:r,to:a}=e.O(e.A,i,n);e.log(`measured`,[e.A,i,r,a]),t=e.calculateKeyframes(r,a)}else{let r=Cu.get(e.options.inId);if(r){Cu.delete(e.options.inId);let{from:a,to:o}=e.O(r,i,n);t=e.calculateKeyframes(a,o),t=e.options.in?[O(O({},e.options.in[0]),t[0]),...e.options.in.slice(1),t[1]]:t,Su++,t.forEach(e=>e.zIndex=Su)}else e.options.in&&(t=[...e.options.in,{}])}e.animate(t,r)})()}resetStyles(){var e;this.j!==void 0&&(this.element.setAttribute(`style`,(e=this.j)==null?``:e),this.j=void 0)}commitStyles(){var e,t;this.j=this.element.getAttribute(`style`),(e=this.webAnimation)==null||e.commitStyles(),(t=this.webAnimation)==null||t.cancel()}reconnected(){}disconnected(){var e=this;return P(function*(){var t;if(!e.h||(e.options.id!==void 0&&Cu.set(e.options.id,e.A),e.options.out===void 0))return;if(e.prepare(),yield Tu(),(t=e.i)!=null&&t.isConnected){let t=e.o&&e.o.parentNode===e.i?e.o:null;if(e.i.insertBefore(e.element,t),e.options.stabilizeOut){let t=e.p();e.log(`stabilizing out`);let n=e.A.left-t.left,r=e.A.top-t.top;getComputedStyle(e.element).position!==`static`||n===0&&r===0||(e.element.style.position=`relative`),n!==0&&(e.element.style.left=n+`px`),r!==0&&(e.element.style.top=r+`px`)}}let n=e.V(e.options.keyframeOptions);yield e.animate(e.options.out,n),e.element.remove()})()}prepare(){this.createFinished()}start(){var e,t;(e=(t=this.options).onStart)==null||e.call(t,this)}didFinish(e){var t,n;e&&((t=(n=this.options).onComplete)==null||t.call(n,this)),this.A=void 0,this.animatingProperties=void 0,this.frames=void 0,this.resolveFinished()}P(){let e=[];for(let t=this.element.parentNode;t;t=t==null?void 0:t.parentNode){let n=ju.get(t);n&&!n.isDisabled()&&n&&e.push(n)}return e}get isHostRendered(){let e=wu.has(this.u);return e||this.u.updateComplete.then(()=>{wu.add(this.u)}),e}V(e,t=this.P()){let n=O({},ku);return t.forEach(e=>Object.assign(n,e.options.keyframeOptions)),Object.assign(n,e),n}O(e,t,n){e=O({},e),t=O({},t);let r=n.map(e=>e.animatingProperties).filter(e=>e!==void 0),i=1,a=1;return r.length>0&&(r.forEach(e=>{e.width&&(i/=e.width),e.height&&(a/=e.height)}),e.left!==void 0&&t.left!==void 0&&(e.left=i*e.left,t.left=i*t.left),e.top!==void 0&&t.top!==void 0&&(e.top=a*e.top,t.top=a*t.top)),{from:e,to:t}}calculateKeyframes(e,t,n=!1){let r={},i={},a=!1,o={};for(let n in t){let c=e[n],l=t[n];if(n in Ou){var s;let e=Ou[n];if(c===void 0||l===void 0)continue;let t=e(c,l);t.transform!==void 0&&(o[n]=t.value,a=!0,r.transform=`${(s=r.transform)==null?``:s} ${t.transform}`,t.overrideFrom!==void 0&&Object.assign(r,t.overrideFrom))}else c!==l&&c!==void 0&&l!==void 0&&(a=!0,r[n]=c,i[n]=l)}return r.transformOrigin=i.transformOrigin=n?`center center`:`top left`,this.animatingProperties=o,a?[r,i]:void 0}animate(e){var t=this;return P(function*(e,n=this.options.keyframeOptions){t.start(),t.frames=e;let r=!1;if(!t.isAnimating()&&!t.isDisabled()&&(t.options.onFrames&&(t.frames=e=t.options.onFrames(t),t.log(`modified frames`,e)),e!==void 0)){t.log(`animate`,[e,n]),r=!0,t.webAnimation=t.element.animate(e,n);let i=t.getController();i==null||i.add(t);try{yield t.webAnimation.finished}catch(e){}i==null||i.remove(t)}return t.didFinish(r),r}).apply(this,arguments)}isAnimating(){var e,t;return((e=this.webAnimation)==null?void 0:e.playState)===`running`||((t=this.webAnimation)==null?void 0:t.pending)}log(e,t){this.shouldLog&&!this.isDisabled()&&console.log(e,this.options.id,t)}},Nu=Yo(Mu)})),Fu,Iu,Lu=t((()=>{_u(),vu(),yu(),Fu=[`top`,`right`,`bottom`,`left`],Iu=class extends is{constructor(e){if(super(e),e.type!==Jo.ELEMENT)throw Error("The `position` directive must be used in attribute position.")}render(e,t){return W}update(e,[t,n]){var r;return this.u===void 0&&(this.u=(r=e.options)==null?void 0:r.host,this.u.addController(this)),this.C=e.element,this.N=t,this.S=n==null?[`left`,`top`,`width`,`height`]:n,this.render(t,n)}hostUpdated(){this.F()}F(){var e,t;let n=typeof this.N==`function`?this.N():(e=this.N)==null?void 0:e.value,r=n.offsetParent;if(n===void 0||!r)return;let i=n.getBoundingClientRect(),a=r.getBoundingClientRect();(t=this.S)==null||t.forEach(e=>{let t=Fu.includes(e)?i[e]-a[e]:i[e];this.C.style[e]=t+`px`})}},Yo(Iu)})),Ru=t((()=>{Pu(),xu(),Lu()})),zu,Bu=t((()=>{zu=class{static toLocale(e,t=!0){return e||(e=0),t||(e=Math.round(e)),e.toLocaleString()}}}));function Vu({raised:e,borderColor:t,borderWidth:n,borderRadius:r,backgroundColor:i,padding:a,progressBarColor:o,raisedPercentage:s,showAmountRaised:c,showRaisedPercentage:l,showGoalAmount:u,goal:d,textColor:f,size:p,areDisplayOptionsDisabled:m,animationDuration:h}){let g=ul(c?`block`:`hidden`,p===`sm`&&`text-xl`,p===`md`&&`text-2xl`,p===`lg`&&`text-3xl`),_=()=>({color:f,"border-color":t,"border-width":n+`px`,"border-radius":r+`px`,padding:a+`px`,"background-color":i}),v=ul(p===`sm`&&`h-4`,p===`md`&&`h-6`,p===`lg`&&`h-8`);return U`
    <div
      class="m-auto flex w-full rounded-md font-medium"
      style=${ms(_())}
    >
      <div class="flex flex-1 flex-col gap-1">
        <div class="flex items-baseline gap-x-2">
          <div class="flex flex-1 flex-wrap">
            <p class="${g} leading-tight">
              <span id="raised">${`$`+zu.toLocale(e,!1)}</span>
            </p>
          </div>
          <div class="mb-1 flex items-end gap-x-2">
            <p id="goal" class="text-base leading-tight font-normal">
              ${l?zu.toLocale(s)+`%`:``}
              ${l&&u?` of `:``}
              ${u?`$`+zu.toLocale(d):``}
              ${m||!u?``:`goal`}
            </p>
          </div>
        </div>
        <div
          class="${v} flex rounded-full border border-gray-300 bg-white p-1"
        >
          <div
            ${Nu({keyframeOptions:{duration:h},properties:[`width`],in:[{width:`0%`}]})}
            class="h-full max-w-full rounded-full"
            style=${ms({width:(s>100?100:s)+`%`,"background-color":o})}
          ></div>
        </div>
      </div>
    </div>
  `}var Hu=t((()=>{Ru(),Wt(),gs(),dl(),Bu()}));function Uu(e,t,n,r){let i=e=>n>=e?t:a,a=r||`#DEDEDE`;return U`
    <svg width="132" height="370" fill="none" xmlns="http://www.w3.org/2000/svg">
      <g filter="url(#filter0_dd_3_3385)">
        <mask
          id="path-1-outside-1_3_3385"
          maskUnits="userSpaceOnUse"
          x="12.919"
          y="1.973"
          width="113"
          height="359"
          fill="#000"
        >
          <path fill="#fff" d="M12.919 1.973h113v359h-113z" />
          <path
            fill-rule="evenodd"
            clip-rule="evenodd"
            d="M69.46 5.973c-16.121 0-29.19 13.069-29.19 29.19V260.01c-14.08 9.425-23.351 25.476-23.351 43.693 0 29.017 23.523 52.54 52.54 52.54 29.018 0 52.541-23.523 52.541-52.54 0-18.217-9.271-34.268-23.351-43.693V35.162c0-16.12-13.069-29.189-29.19-29.189Z"
          />
        </mask>
        <path
          fill-rule="evenodd"
          clip-rule="evenodd"
          d="M69.46 5.973c-16.121 0-29.19 13.069-29.19 29.19V260.01c-14.08 9.425-23.351 25.476-23.351 43.693 0 29.017 23.523 52.54 52.54 52.54 29.018 0 52.541-23.523 52.541-52.54 0-18.217-9.271-34.268-23.351-43.693V35.162c0-16.12-13.069-29.189-29.19-29.189Z"
          fill="url(#thermometerGradient)"
        />
        <path
          d="m40.27 260.01 2.165 3.234 1.727-1.156v-2.078H40.27Zm58.379 0h-3.892v2.078l1.727 1.156 2.165-3.234ZM44.162 35.162c0-13.971 11.326-25.297 25.298-25.297V2.08c-18.27 0-33.082 14.811-33.082 33.081h7.784Zm0 224.848V35.162h-7.784V260.01h7.784Zm-23.351 43.693c0-16.864 8.577-31.725 21.624-40.459l-4.33-6.468c-15.113 10.116-25.078 27.357-25.078 46.927h7.784Zm48.649 48.648c-26.868 0-48.65-21.78-48.65-48.648h-7.783c0 31.167 25.266 56.432 56.433 56.432v-7.784Zm48.648-48.648c0 26.868-21.78 48.648-48.648 48.648v7.784c31.166 0 56.432-25.265 56.432-56.432h-7.784Zm-21.624-40.459c13.047 8.734 21.624 23.595 21.624 40.459h7.784c0-19.57-9.965-36.811-25.078-46.927l-4.33 6.468ZM94.757 35.162V260.01h7.784V35.162h-7.784ZM69.46 9.865c13.97 0 25.297 11.326 25.297 25.297h7.784c0-18.27-14.811-33.08-33.081-33.08v7.783Z"
          fill="${a}"
          mask="url(#path-1-outside-1_3_3385)"
        />
      </g>
      <g filter="url(#filter1_d_3_3385)" clip-path="url(#clip0_3_3385)">
        <path
          d="M4.95 29.142v8.317H3.31v-6.425l-1.973.628v-1.295l3.438-1.225h.177Zm8.29 3.437v1.437c0 .623-.067 1.161-.2 1.613-.133.449-.325.818-.575 1.106a2.273 2.273 0 0 1-.884.633 3.045 3.045 0 0 1-1.14.206 3.35 3.35 0 0 1-.935-.126 2.354 2.354 0 0 1-.781-.405 2.571 2.571 0 0 1-.593-.69 3.538 3.538 0 0 1-.377-1.003 6.1 6.1 0 0 1-.13-1.334V32.58c0-.623.066-1.157.199-1.602.137-.448.329-.815.576-1.1.25-.285.547-.494.89-.627a3.045 3.045 0 0 1 1.14-.205c.334 0 .643.043.928.13.29.084.55.216.782.394.231.179.43.409.592.69.164.277.29.61.377.998.087.384.13.824.13 1.322Zm-1.648 1.654v-1.876c0-.3-.017-.562-.051-.787a2.306 2.306 0 0 0-.143-.57 1.203 1.203 0 0 0-.239-.387.87.87 0 0 0-.325-.217 1.145 1.145 0 0 0-.405-.069c-.186 0-.351.037-.496.109a.922.922 0 0 0-.359.348 1.872 1.872 0 0 0-.228.627c-.05.258-.074.574-.074.946v1.876c0 .3.015.564.046.792.034.228.083.424.148.587.068.16.148.291.24.394a.874.874 0 0 0 .324.216c.126.046.263.069.41.069.183 0 .345-.036.485-.109a.953.953 0 0 0 .365-.353c.103-.163.179-.376.228-.639.05-.262.074-.581.074-.957Zm8.352-1.654v1.437c0 .623-.066 1.161-.2 1.613-.132.449-.324.818-.575 1.106a2.273 2.273 0 0 1-.884.633 3.046 3.046 0 0 1-1.14.206 3.35 3.35 0 0 1-.935-.126 2.353 2.353 0 0 1-.78-.405 2.57 2.57 0 0 1-.594-.69 3.536 3.536 0 0 1-.376-1.003 6.101 6.101 0 0 1-.131-1.334V32.58c0-.623.066-1.157.2-1.602.136-.448.328-.815.575-1.1.251-.285.547-.494.89-.627a3.045 3.045 0 0 1 1.14-.205c.334 0 .644.043.929.13.289.084.55.216.781.394.232.179.43.409.593.69.163.277.289.61.376.998.088.384.131.824.131 1.322Zm-1.647 1.654v-1.876c0-.3-.017-.562-.052-.787a2.306 2.306 0 0 0-.142-.57 1.203 1.203 0 0 0-.24-.387.87.87 0 0 0-.325-.217 1.145 1.145 0 0 0-.404-.069c-.187 0-.352.037-.496.109a.922.922 0 0 0-.36.348 1.872 1.872 0 0 0-.227.627c-.05.258-.075.574-.075.946v1.876c0 .3.016.564.046.792.034.228.084.424.148.587.069.16.148.291.24.394a.875.875 0 0 0 .325.216c.125.046.262.069.41.069.183 0 .344-.036.485-.109a.953.953 0 0 0 .364-.353c.103-.163.18-.376.229-.639.049-.262.074-.581.074-.957Zm2.742-3.039v-.439c0-.315.068-.602.205-.86.137-.26.338-.466.604-.622.267-.156.593-.234.981-.234.4 0 .732.078.998.234.27.156.47.363.604.621.137.259.205.546.205.861v.44c0 .307-.068.59-.205.849a1.517 1.517 0 0 1-.599.62c-.266.157-.594.235-.986.235-.395 0-.728-.078-.998-.234a1.555 1.555 0 0 1-.604-.621 1.787 1.787 0 0 1-.205-.85Zm1.089-.439v.44c0 .132.024.26.074.381a.712.712 0 0 0 .24.29c.11.073.243.11.398.11a.679.679 0 0 0 .4-.11.685.685 0 0 0 .228-.29c.049-.122.074-.249.074-.382v-.439c0-.14-.027-.27-.08-.388a.653.653 0 0 0-.633-.405.666.666 0 0 0-.627.405.993.993 0 0 0-.074.388Zm2.879 5.108v-.439a1.8 1.8 0 0 1 .205-.855c.14-.258.344-.466.61-.621.27-.156.6-.234.992-.234.395 0 .726.078.992.234.266.155.467.363.604.621a1.8 1.8 0 0 1 .206.855v.44a1.8 1.8 0 0 1-.206.854 1.517 1.517 0 0 1-.598.622c-.266.156-.595.233-.987.233-.395 0-.727-.077-.997-.233a1.586 1.586 0 0 1-.616-.622 1.8 1.8 0 0 1-.205-.855Zm1.094-.439v.44c0 .136.03.265.092.387.06.122.144.218.25.29.11.073.238.109.382.109.183 0 .325-.036.428-.108a.544.544 0 0 0 .21-.291c.043-.122.064-.251.064-.388v-.439a.918.918 0 0 0-.08-.382.666.666 0 0 0-.633-.404.67.67 0 0 0-.4.114.68.68 0 0 0-.233.29.918.918 0 0 0-.08.382Zm1.118-5.08-4.054 6.488-.798-.422 4.054-6.487.798.422Z"
          fill="${i(100)}"
        />
        <path
          d="M68.487 33.46h31.135"
          stroke="${a}"
          stroke-width="1.946"
          stroke-linecap="round"
        />
        <path
          d="M2.111 61.238h.109c.456 0 .847-.055 1.174-.165a2.1 2.1 0 0 0 .815-.49c.213-.213.371-.474.474-.782.102-.311.154-.665.154-1.06v-1.574c0-.3-.03-.564-.092-.792a1.58 1.58 0 0 0-.25-.564 1.068 1.068 0 0 0-.377-.342.966.966 0 0 0-.467-.114.87.87 0 0 0-.485.136c-.14.088-.26.208-.359.36-.095.152-.17.326-.222.524-.05.194-.074.397-.074.61 0 .213.024.416.074.61.05.19.123.36.222.507.099.145.222.26.37.348.149.084.324.126.525.126.194 0 .367-.037.519-.109.156-.076.287-.175.393-.296.11-.122.194-.257.251-.405.06-.148.091-.298.091-.45l.542.296c0 .266-.057.528-.171.787a2.423 2.423 0 0 1-1.18 1.209 1.98 1.98 0 0 1-.855.188c-.388 0-.732-.07-1.032-.211a2.253 2.253 0 0 1-.764-.593 2.686 2.686 0 0 1-.468-.89 3.648 3.648 0 0 1-.16-1.1c0-.403.065-.78.194-1.134.134-.354.322-.666.565-.935.247-.27.541-.481.884-.633a2.77 2.77 0 0 1 1.151-.234 2.55 2.55 0 0 1 2.041.94c.247.297.437.653.57 1.067.137.414.205.874.205 1.38v.57a6.1 6.1 0 0 1-.176 1.505 4.376 4.376 0 0 1-.52 1.26 3.554 3.554 0 0 1-.854.957 3.66 3.66 0 0 1-1.18.61c-.449.141-.95.211-1.505.211H2.11v-1.328Zm11.129-3.632v1.437c0 .623-.067 1.161-.2 1.614-.133.448-.325.817-.575 1.106a2.272 2.272 0 0 1-.884.632 3.046 3.046 0 0 1-1.14.205 3.35 3.35 0 0 1-.935-.125 2.352 2.352 0 0 1-.781-.405 2.57 2.57 0 0 1-.593-.69 3.537 3.537 0 0 1-.377-1.003 6.1 6.1 0 0 1-.13-1.334v-1.437c0-.623.066-1.157.199-1.602.137-.448.329-.815.576-1.1.25-.285.547-.494.89-.627a3.044 3.044 0 0 1 1.14-.205c.334 0 .643.043.928.13.29.085.55.216.782.394.231.179.429.409.592.69.164.278.29.61.377.998.087.384.13.825.13 1.322Zm-1.648 1.654v-1.876c0-.3-.017-.562-.051-.787a2.308 2.308 0 0 0-.143-.57 1.203 1.203 0 0 0-.239-.387.872.872 0 0 0-.325-.217 1.143 1.143 0 0 0-.405-.069c-.186 0-.351.037-.496.109a.922.922 0 0 0-.359.348 1.872 1.872 0 0 0-.228.627c-.05.258-.074.574-.074.946v1.876c0 .3.015.564.046.792.034.228.083.424.148.587.068.16.148.291.24.394a.872.872 0 0 0 .324.216c.126.046.262.069.41.069.183 0 .345-.036.485-.108a.953.953 0 0 0 .365-.354c.103-.163.179-.376.228-.639a5.27 5.27 0 0 0 .074-.957Zm2.742-3.039v-.439c0-.315.069-.602.206-.86.137-.26.338-.466.604-.622.266-.156.593-.234.98-.234.4 0 .732.078.998.234.27.156.471.363.605.621.136.259.205.546.205.861v.44c0 .307-.069.59-.205.849a1.518 1.518 0 0 1-.599.621c-.266.156-.595.234-.986.234-.396 0-.728-.078-.998-.234a1.556 1.556 0 0 1-.604-.621 1.787 1.787 0 0 1-.205-.85Zm1.09-.439v.44c0 .132.024.26.074.381a.712.712 0 0 0 .239.29c.11.073.243.11.399.11a.678.678 0 0 0 .399-.11.685.685 0 0 0 .228-.29c.05-.122.074-.249.074-.382v-.439a.93.93 0 0 0-.08-.387.653.653 0 0 0-.633-.405.666.666 0 0 0-.627.405.992.992 0 0 0-.074.387Zm2.878 5.108v-.439a1.8 1.8 0 0 1 .206-.855c.14-.258.344-.465.61-.621.27-.156.6-.234.992-.234.395 0 .726.078.992.234.266.155.467.363.604.621a1.8 1.8 0 0 1 .205.855v.44a1.8 1.8 0 0 1-.205.854 1.518 1.518 0 0 1-.599.622c-.266.156-.595.233-.986.233-.395 0-.728-.077-.998-.233a1.586 1.586 0 0 1-.615-.622 1.8 1.8 0 0 1-.206-.855Zm1.095-.439v.44c0 .136.03.265.091.387s.145.218.251.29a.68.68 0 0 0 .382.109c.182 0 .325-.036.428-.108a.544.544 0 0 0 .21-.291c.042-.122.063-.25.063-.388v-.439a.917.917 0 0 0-.08-.382.666.666 0 0 0-.632-.405.67.67 0 0 0-.4.114.68.68 0 0 0-.233.291.917.917 0 0 0-.08.382Zm1.117-5.08-4.053 6.488-.798-.422 4.053-6.487.798.422Z"
          fill="${i(90)}"
        />
        <path
          d="M68.487 58.486h31.135"
          stroke="${a}"
          stroke-width="1.946"
          stroke-linecap="round"
        />
        <path
          d="M6.541 85.239c0 .52-.121.96-.365 1.317a2.271 2.271 0 0 1-1.003.804c-.422.178-.9.268-1.437.268-.536 0-1.016-.09-1.442-.268a2.31 2.31 0 0 1-1.01-.804c-.246-.358-.37-.796-.37-1.317a2.086 2.086 0 0 1 .798-1.676c.255-.206.553-.361.895-.468.343-.11.715-.165 1.118-.165.54 0 1.022.095 1.448.285.426.19.76.458 1.003.804.244.346.365.752.365 1.22Zm-1.653-.109c0-.254-.05-.473-.148-.655a1.002 1.002 0 0 0-.405-.428 1.219 1.219 0 0 0-.61-.148c-.232 0-.435.05-.61.148a1.037 1.037 0 0 0-.41.428 1.403 1.403 0 0 0-.143.656c0 .25.047.467.142.65.1.182.236.322.41.421.18.095.387.143.622.143.236 0 .44-.048.61-.143a.973.973 0 0 0 .4-.422 1.39 1.39 0 0 0 .142-.65Zm1.476-3.716c0 .421-.112.796-.336 1.123a2.242 2.242 0 0 1-.935.758 3.204 3.204 0 0 1-1.357.273c-.513 0-.969-.09-1.368-.273-.399-.183-.71-.435-.935-.758a1.938 1.938 0 0 1-.336-1.124c0-.501.112-.923.336-1.265.228-.346.54-.608.935-.787.4-.178.851-.268 1.357-.268.513 0 .967.09 1.362.268.4.179.711.441.935.787.228.342.342.764.342 1.266Zm-1.641.074c0-.225-.04-.418-.12-.582a.895.895 0 0 0-.342-.388.985.985 0 0 0-.536-.136c-.205 0-.382.043-.53.13a.871.871 0 0 0-.337.383 1.398 1.398 0 0 0-.114.593c0 .224.038.421.114.593.08.167.194.298.342.393a.972.972 0 0 0 .536.142.897.897 0 0 0 .867-.536c.08-.17.12-.368.12-.592Zm8.517 1.145v1.437c0 .623-.067 1.161-.2 1.614-.133.448-.325.817-.575 1.106a2.271 2.271 0 0 1-.884.632 3.044 3.044 0 0 1-1.14.206c-.335 0-.646-.042-.935-.126a2.353 2.353 0 0 1-.781-.405 2.573 2.573 0 0 1-.593-.69 3.54 3.54 0 0 1-.377-1.003 6.101 6.101 0 0 1-.13-1.334v-1.436c0-.624.066-1.158.199-1.603.137-.448.329-.815.576-1.1.25-.285.547-.494.89-.627a3.046 3.046 0 0 1 1.14-.205c.334 0 .643.044.928.131.29.084.55.215.782.393.231.179.429.409.592.69.164.278.29.61.377.998.087.384.13.825.13 1.322Zm-1.648 1.654V82.41c0-.3-.017-.562-.051-.787a2.31 2.31 0 0 0-.143-.57 1.204 1.204 0 0 0-.239-.387.872.872 0 0 0-.325-.217 1.145 1.145 0 0 0-.405-.068c-.186 0-.351.036-.496.108a.922.922 0 0 0-.359.348 1.87 1.87 0 0 0-.228.627c-.05.258-.074.574-.074.946v1.876c0 .3.015.564.046.792.034.228.083.424.148.587.068.16.148.291.24.394a.872.872 0 0 0 .324.216c.126.046.262.069.41.069.183 0 .345-.036.485-.108a.952.952 0 0 0 .365-.354c.103-.163.179-.376.228-.638a5.27 5.27 0 0 0 .074-.958Zm2.742-3.039v-.439c0-.315.069-.602.206-.86.137-.26.338-.466.604-.622.266-.156.593-.234.98-.234.4 0 .732.078.998.234.27.156.471.363.605.621.136.259.205.546.205.861v.44c0 .307-.069.59-.205.849a1.518 1.518 0 0 1-.599.621c-.266.156-.595.234-.986.234-.396 0-.728-.078-.998-.234a1.556 1.556 0 0 1-.604-.621 1.788 1.788 0 0 1-.205-.85Zm1.09-.439v.44c0 .132.024.26.074.381a.713.713 0 0 0 .239.29c.11.073.243.11.399.11a.678.678 0 0 0 .399-.11.685.685 0 0 0 .228-.29c.05-.121.074-.249.074-.382v-.439a.93.93 0 0 0-.08-.388.653.653 0 0 0-.633-.405.666.666 0 0 0-.627.405.993.993 0 0 0-.074.388Zm2.878 5.108v-.439a1.8 1.8 0 0 1 .206-.855c.14-.258.344-.465.61-.621.27-.156.6-.234.992-.234.395 0 .726.078.992.234.266.156.467.363.604.621a1.8 1.8 0 0 1 .205.855v.44a1.8 1.8 0 0 1-.205.854 1.517 1.517 0 0 1-.599.622c-.266.156-.595.234-.986.234-.395 0-.728-.078-.998-.234a1.585 1.585 0 0 1-.615-.622 1.8 1.8 0 0 1-.206-.855Zm1.095-.439v.44c0 .136.03.265.091.387s.145.218.251.29c.11.073.238.109.382.109.182 0 .325-.036.428-.108a.544.544 0 0 0 .21-.291c.042-.122.063-.25.063-.388v-.439a.917.917 0 0 0-.08-.382.666.666 0 0 0-.632-.404.67.67 0 0 0-.4.114.68.68 0 0 0-.233.29.917.917 0 0 0-.08.382Zm1.117-5.08-4.053 6.488-.798-.421 4.053-6.488.798.422Z"
          fill="${i(80)}"
        />
        <path
          d="M68.487 83.513h31.135"
          stroke="${a}"
          stroke-width="1.946"
          stroke-linecap="round"
        />
        <path
          d="M6.587 104.24v.884l-3.21 7.417H1.644l3.21-7.018H.72v-1.283h5.867Zm6.653 3.42v1.437c0 .623-.067 1.161-.2 1.614-.133.448-.325.817-.575 1.105a2.265 2.265 0 0 1-.884.633 3.042 3.042 0 0 1-1.14.206c-.335 0-.646-.042-.935-.126a2.335 2.335 0 0 1-.781-.405 2.567 2.567 0 0 1-.593-.689 3.547 3.547 0 0 1-.377-1.004 6.1 6.1 0 0 1-.13-1.334v-1.437c0-.623.066-1.157.199-1.602.137-.448.329-.815.576-1.1.25-.285.547-.494.89-.627a3.042 3.042 0 0 1 1.14-.205c.334 0 .643.044.928.131.29.084.55.215.782.393.231.179.429.409.592.69.164.278.29.61.377.998.087.384.13.825.13 1.322Zm-1.648 1.654v-1.876c0-.3-.017-.562-.051-.787a2.313 2.313 0 0 0-.143-.57 1.198 1.198 0 0 0-.239-.387.875.875 0 0 0-.325-.217 1.136 1.136 0 0 0-.405-.068c-.186 0-.351.036-.496.108a.919.919 0 0 0-.359.348 1.866 1.866 0 0 0-.228.627c-.05.258-.074.574-.074.946v1.876c0 .3.015.564.046.792.034.228.083.424.148.587.068.16.148.291.24.394a.861.861 0 0 0 .324.216c.126.046.262.069.41.069.183 0 .345-.036.485-.108a.959.959 0 0 0 .365-.354 1.84 1.84 0 0 0 .228-.638c.05-.263.074-.582.074-.958Zm2.742-3.039v-.439c0-.315.069-.602.206-.861.137-.258.338-.465.604-.621.266-.156.593-.234.98-.234.4 0 .732.078.998.234.27.156.471.363.605.621.136.259.205.546.205.861v.439c0 .308-.069.591-.205.85a1.52 1.52 0 0 1-.599.621c-.266.156-.595.234-.986.234-.396 0-.728-.078-.998-.234a1.559 1.559 0 0 1-.604-.621 1.79 1.79 0 0 1-.205-.85Zm1.09-.439v.439c0 .133.024.26.074.382a.711.711 0 0 0 .239.291c.11.072.243.108.399.108a.68.68 0 0 0 .399-.108.684.684 0 0 0 .228-.291c.05-.122.074-.249.074-.382v-.439c0-.14-.026-.27-.08-.388a.653.653 0 0 0-.633-.404.666.666 0 0 0-.627.404.997.997 0 0 0-.074.388Zm2.878 5.108v-.439c0-.311.069-.596.206-.855a1.6 1.6 0 0 1 .61-.621c.27-.156.6-.234.992-.234.395 0 .726.078.992.234.266.156.467.363.604.621.137.259.205.544.205.855v.439c0 .312-.068.597-.205.855a1.517 1.517 0 0 1-.599.622c-.266.156-.595.234-.986.234-.395 0-.728-.078-.998-.234a1.585 1.585 0 0 1-.615-.622 1.796 1.796 0 0 1-.206-.855Zm1.095-.439v.439c0 .137.03.266.091.388s.145.218.251.291c.11.072.238.108.382.108.182 0 .325-.036.428-.108a.546.546 0 0 0 .21-.291c.042-.122.063-.251.063-.388v-.439a.917.917 0 0 0-.08-.382.666.666 0 0 0-.632-.404.67.67 0 0 0-.4.114.68.68 0 0 0-.233.29.917.917 0 0 0-.08.382Zm1.117-5.079-4.053 6.487-.798-.421 4.053-6.488.798.422Z"
          fill="${i(70)}"
        />
        <path
          d="M68.487 108.541h31.135"
          stroke="${a}"
          stroke-width="1.946"
          stroke-linecap="round"
        />
        <path
          d="M5.184 129.181h.24v1.312h-.097c-.433 0-.82.064-1.157.193-.339.13-.626.314-.861.553-.232.236-.41.521-.536.856a3.263 3.263 0 0 0-.183 1.123v1.379c0 .297.029.559.086.787.06.224.146.412.256.564.114.149.247.261.4.337.152.072.323.108.513.108.178 0 .34-.038.484-.114.148-.076.274-.182.376-.319a1.48 1.48 0 0 0 .24-.49 2.16 2.16 0 0 0 .085-.622c0-.224-.028-.431-.085-.621a1.412 1.412 0 0 0-.24-.491 1.1 1.1 0 0 0-.387-.324 1.132 1.132 0 0 0-.513-.114c-.259 0-.487.06-.684.182-.194.118-.346.27-.457.456-.11.186-.169.382-.176.587l-.496-.319c.011-.293.072-.57.182-.832.114-.263.27-.494.468-.696.201-.205.442-.365.724-.479a2.44 2.44 0 0 1 .952-.177c.387 0 .728.075 1.02.223.297.148.544.351.741.61.198.258.346.557.445.895.099.338.148.699.148 1.083 0 .403-.066.777-.2 1.123-.128.346-.317.648-.564.907-.243.258-.536.46-.878.604a2.942 2.942 0 0 1-1.151.217c-.441 0-.842-.08-1.203-.24a2.727 2.727 0 0 1-.924-.684 3.1 3.1 0 0 1-.598-1.043 4.092 4.092 0 0 1-.206-1.323v-.638c0-.669.097-1.281.291-1.836.198-.559.481-1.042.85-1.448a3.767 3.767 0 0 1 1.334-.952c.52-.225 1.108-.337 1.761-.337Zm8.056 3.506v1.437c0 .623-.067 1.161-.2 1.614-.133.448-.325.817-.575 1.106a2.262 2.262 0 0 1-.884.632 3.042 3.042 0 0 1-1.14.206c-.335 0-.646-.042-.935-.126a2.335 2.335 0 0 1-.781-.405 2.567 2.567 0 0 1-.593-.689 3.547 3.547 0 0 1-.377-1.004 6.094 6.094 0 0 1-.13-1.334v-1.437c0-.623.066-1.157.199-1.601.137-.449.329-.816.576-1.101.25-.285.547-.494.89-.627a3.042 3.042 0 0 1 1.14-.205c.334 0 .643.044.928.131.29.084.55.215.782.393.231.179.429.409.592.69.164.278.29.61.377.998.087.384.13.825.13 1.322Zm-1.648 1.654v-1.876c0-.3-.017-.562-.051-.787a2.313 2.313 0 0 0-.143-.57 1.198 1.198 0 0 0-.239-.387.875.875 0 0 0-.325-.217 1.136 1.136 0 0 0-.405-.068c-.186 0-.351.036-.496.108a.919.919 0 0 0-.359.348 1.874 1.874 0 0 0-.228.627c-.05.258-.074.574-.074.946v1.876c0 .3.015.564.046.792.034.228.083.424.148.587.068.16.148.291.24.394a.861.861 0 0 0 .324.216c.126.046.262.069.41.069.183 0 .345-.036.485-.108a.951.951 0 0 0 .365-.354 1.84 1.84 0 0 0 .228-.638c.05-.263.074-.582.074-.958Zm2.742-3.039v-.439c0-.315.069-.602.206-.861.137-.258.338-.465.604-.621.266-.156.593-.234.98-.234.4 0 .732.078.998.234.27.156.471.363.605.621.136.259.205.546.205.861v.439c0 .308-.069.591-.205.85a1.52 1.52 0 0 1-.599.621c-.266.156-.595.234-.986.234-.396 0-.728-.078-.998-.234a1.559 1.559 0 0 1-.604-.621 1.79 1.79 0 0 1-.205-.85Zm1.09-.439v.439c0 .133.024.26.074.382a.711.711 0 0 0 .239.291c.11.072.243.108.399.108a.68.68 0 0 0 .399-.108.684.684 0 0 0 .228-.291c.05-.122.074-.249.074-.382v-.439c0-.14-.026-.27-.08-.387a.653.653 0 0 0-.633-.405.663.663 0 0 0-.627.405.989.989 0 0 0-.074.387Zm2.878 5.108v-.439c0-.311.069-.596.206-.855a1.6 1.6 0 0 1 .61-.621c.27-.156.6-.234.992-.234.395 0 .726.078.992.234.266.156.467.363.604.621.137.259.205.544.205.855v.439c0 .312-.068.597-.205.855a1.517 1.517 0 0 1-.599.622c-.266.156-.595.234-.986.234-.395 0-.728-.078-.998-.234a1.585 1.585 0 0 1-.615-.622 1.796 1.796 0 0 1-.206-.855Zm1.095-.439v.439c0 .137.03.266.091.388s.145.218.251.291c.11.072.238.108.382.108.182 0 .325-.036.428-.108a.546.546 0 0 0 .21-.291c.042-.122.063-.251.063-.388v-.439a.917.917 0 0 0-.08-.382.666.666 0 0 0-.632-.404.67.67 0 0 0-.4.114.68.68 0 0 0-.233.29.917.917 0 0 0-.08.382Zm1.117-5.079-4.053 6.487-.798-.421 4.053-6.488.798.422Z"
          fill="${i(60)}"
        />
        <path
          d="M68.487 133.568h31.135"
          stroke="${a}"
          stroke-width="1.946"
          stroke-linecap="round"
        />
        <path
          d="m2.493 158.815-1.31-.314.472-4.207H6.32v1.328H3.007l-.206 1.842c.11-.065.278-.133.502-.206.224-.076.475-.114.753-.114.402 0 .76.063 1.071.189.312.125.576.307.793.547.22.239.387.532.501.878.114.346.171.737.171 1.174 0 .369-.057.72-.17 1.055a2.612 2.612 0 0 1-.52.889 2.411 2.411 0 0 1-.872.61c-.35.149-.764.223-1.242.223-.358 0-.704-.054-1.038-.16a2.84 2.84 0 0 1-.895-.473 2.441 2.441 0 0 1-.633-.758 2.302 2.302 0 0 1-.245-1.027h1.63c.023.236.084.439.183.61.103.168.237.297.405.388.167.091.363.137.587.137.209 0 .388-.04.536-.12a.974.974 0 0 0 .359-.33c.091-.145.158-.312.2-.502.045-.194.068-.403.068-.627a2.17 2.17 0 0 0-.08-.61 1.298 1.298 0 0 0-.245-.473 1.074 1.074 0 0 0-.422-.308 1.458 1.458 0 0 0-.587-.109c-.304 0-.54.048-.707.143-.164.095-.3.203-.41.325Zm10.747-1.1v1.436c0 .624-.067 1.161-.2 1.614-.133.448-.325.817-.575 1.106a2.262 2.262 0 0 1-.884.632 3.042 3.042 0 0 1-1.14.206c-.335 0-.646-.042-.935-.126a2.335 2.335 0 0 1-.781-.405 2.567 2.567 0 0 1-.593-.689 3.547 3.547 0 0 1-.377-1.004 6.094 6.094 0 0 1-.13-1.334v-1.436c0-.624.066-1.158.199-1.602.137-.449.329-.816.576-1.101.25-.285.547-.494.89-.627a3.042 3.042 0 0 1 1.14-.205c.334 0 .643.044.928.131.29.084.55.215.782.393.231.179.429.409.592.69.164.278.29.61.377.998.087.384.13.825.13 1.323Zm-1.648 1.653v-1.876c0-.3-.017-.562-.051-.787a2.313 2.313 0 0 0-.143-.57 1.209 1.209 0 0 0-.239-.387.875.875 0 0 0-.325-.217 1.136 1.136 0 0 0-.405-.068c-.186 0-.351.036-.496.108a.919.919 0 0 0-.359.348 1.874 1.874 0 0 0-.228.627c-.05.258-.074.574-.074.946v1.876c0 .3.015.564.046.792.034.228.083.424.148.587.068.16.148.291.24.394a.861.861 0 0 0 .324.216c.126.046.262.069.41.069.183 0 .345-.036.485-.108a.951.951 0 0 0 .365-.354 1.84 1.84 0 0 0 .228-.638c.05-.263.074-.582.074-.958Zm2.742-3.039v-.439c0-.315.069-.602.206-.861.137-.258.338-.465.604-.621.266-.156.593-.234.98-.234.4 0 .732.078.998.234.27.156.471.363.605.621.136.259.205.546.205.861v.439c0 .308-.069.591-.205.85a1.52 1.52 0 0 1-.599.621c-.266.156-.595.234-.986.234-.396 0-.728-.078-.998-.234a1.559 1.559 0 0 1-.604-.621 1.79 1.79 0 0 1-.205-.85Zm1.09-.439v.439c0 .133.024.261.074.382a.711.711 0 0 0 .239.291c.11.072.243.108.399.108a.68.68 0 0 0 .399-.108.684.684 0 0 0 .228-.291c.05-.121.074-.249.074-.382v-.439c0-.14-.026-.27-.08-.387a.653.653 0 0 0-.633-.405.663.663 0 0 0-.627.405.989.989 0 0 0-.074.387Zm2.878 5.108v-.439c0-.311.069-.596.206-.855a1.6 1.6 0 0 1 .61-.621c.27-.156.6-.234.992-.234.395 0 .726.078.992.234.266.156.467.363.604.621.137.259.205.544.205.855v.439c0 .312-.068.597-.205.855a1.517 1.517 0 0 1-.599.622c-.266.156-.595.234-.986.234-.395 0-.728-.078-.998-.234a1.585 1.585 0 0 1-.615-.622 1.796 1.796 0 0 1-.206-.855Zm1.095-.439v.439c0 .137.03.266.091.388s.145.219.251.291c.11.072.238.108.382.108.182 0 .325-.036.428-.108a.543.543 0 0 0 .21-.291c.042-.122.063-.251.063-.388v-.439a.92.92 0 0 0-.08-.382.666.666 0 0 0-.632-.404.67.67 0 0 0-.4.114.68.68 0 0 0-.233.29.92.92 0 0 0-.08.382Zm1.117-5.079-4.053 6.487-.798-.421 4.053-6.488.798.422Z"
          fill="${i(50)}"
        />
        <path
          d="M68.487 158.595h31.135"
          stroke="${a}"
          stroke-width="1.946"
          stroke-linecap="round"
        />
        <path
          d="M6.764 184.52v1.289H.784l-.08-.998 3.46-5.49h1.305l-1.413 2.366-1.722 2.833h4.43Zm-.941-5.199v8.301H4.18v-8.301h1.642Zm7.417 3.421v1.436c0 .623-.067 1.161-.2 1.614-.133.448-.325.817-.575 1.106a2.262 2.262 0 0 1-.884.632 3.042 3.042 0 0 1-1.14.206c-.335 0-.646-.042-.935-.126a2.335 2.335 0 0 1-.781-.405 2.567 2.567 0 0 1-.593-.689 3.547 3.547 0 0 1-.377-1.004 6.094 6.094 0 0 1-.13-1.334v-1.436c0-.624.066-1.158.199-1.602.137-.449.329-.816.576-1.101.25-.285.547-.494.89-.627a3.042 3.042 0 0 1 1.14-.205c.334 0 .643.044.928.131.29.084.55.215.782.393.231.179.429.409.592.69.164.278.29.61.377.998.087.384.13.825.13 1.323Zm-1.648 1.653v-1.876c0-.3-.017-.562-.051-.787a2.313 2.313 0 0 0-.143-.57 1.198 1.198 0 0 0-.239-.387.875.875 0 0 0-.325-.217 1.136 1.136 0 0 0-.405-.068c-.186 0-.351.036-.496.108a.919.919 0 0 0-.359.348 1.874 1.874 0 0 0-.228.627c-.05.258-.074.574-.074.946v1.876c0 .3.015.564.046.792.034.228.083.424.148.587.068.16.148.291.24.394a.861.861 0 0 0 .324.216c.126.046.262.069.41.069.183 0 .345-.036.485-.108a.951.951 0 0 0 .365-.354 1.84 1.84 0 0 0 .228-.638c.05-.263.074-.582.074-.958Zm2.742-3.039v-.439c0-.315.069-.602.206-.861.137-.258.338-.465.604-.621.266-.156.593-.234.98-.234.4 0 .732.078.998.234.27.156.471.363.605.621.136.259.205.546.205.861v.439c0 .308-.069.591-.205.85a1.52 1.52 0 0 1-.599.621c-.266.156-.595.234-.986.234-.396 0-.728-.078-.998-.234a1.559 1.559 0 0 1-.604-.621 1.79 1.79 0 0 1-.205-.85Zm1.09-.439v.439c0 .133.024.261.074.382a.711.711 0 0 0 .239.291c.11.072.243.108.399.108a.68.68 0 0 0 .399-.108.684.684 0 0 0 .228-.291c.05-.121.074-.249.074-.382v-.439c0-.14-.026-.27-.08-.387a.653.653 0 0 0-.633-.405.663.663 0 0 0-.627.405.989.989 0 0 0-.074.387Zm2.878 5.108v-.439c0-.311.069-.596.206-.855a1.6 1.6 0 0 1 .61-.621c.27-.156.6-.234.992-.234.395 0 .726.078.992.234.266.156.467.363.604.621.137.259.205.544.205.855v.439c0 .312-.068.597-.205.855a1.517 1.517 0 0 1-.599.622c-.266.156-.595.234-.986.234-.395 0-.728-.078-.998-.234a1.585 1.585 0 0 1-.615-.622 1.796 1.796 0 0 1-.206-.855Zm1.095-.439v.439c0 .137.03.266.091.388s.145.219.251.291c.11.072.238.108.382.108.182 0 .325-.036.428-.108a.543.543 0 0 0 .21-.291c.042-.122.063-.251.063-.388v-.439a.917.917 0 0 0-.08-.382.666.666 0 0 0-.632-.404.67.67 0 0 0-.4.114.68.68 0 0 0-.233.29.917.917 0 0 0-.08.382Zm1.117-5.079-4.053 6.487-.798-.421 4.053-6.488.798.422Z"
          fill="${i(40)}"
        />
        <path
          d="M68.487 183.622h31.135"
          stroke="${a}"
          stroke-width="1.946"
          stroke-linecap="round"
        />
        <path
          d="M2.63 207.786h.878c.281 0 .513-.048.696-.143a.942.942 0 0 0 .405-.41 1.35 1.35 0 0 0 .136-.622c0-.213-.041-.401-.125-.564a.851.851 0 0 0-.37-.388c-.168-.095-.379-.142-.633-.142-.202 0-.388.04-.56.119-.17.08-.307.192-.41.337a.88.88 0 0 0-.154.524H.846c0-.456.121-.853.365-1.191.247-.339.577-.603.992-.793.414-.19.87-.285 1.368-.285.562 0 1.055.091 1.477.274.421.179.75.443.986.792.235.35.353.783.353 1.3 0 .262-.06.517-.182.764a2.14 2.14 0 0 1-.525.661c-.224.194-.498.35-.82.468a3.258 3.258 0 0 1-1.09.171H2.63v-.872Zm0 1.248v-.849h1.14c.453 0 .85.051 1.192.154.342.102.629.25.86.444.233.19.408.417.525.679.118.258.177.545.177.861 0 .387-.074.733-.222 1.037-.148.3-.358.555-.627.764a2.859 2.859 0 0 1-.935.479 4.094 4.094 0 0 1-2.2.017 3.071 3.071 0 0 1-.913-.439 2.256 2.256 0 0 1-.65-.741c-.16-.3-.24-.656-.24-1.066h1.648c0 .213.053.403.16.57.106.167.252.298.439.393.19.095.4.143.633.143.262 0 .486-.048.672-.143.19-.098.335-.235.434-.41.102-.179.153-.386.153-.621 0-.305-.055-.548-.165-.73a.986.986 0 0 0-.473-.411 1.862 1.862 0 0 0-.73-.131H2.63Zm10.61-1.265v1.436c0 .624-.067 1.161-.2 1.614-.133.448-.325.817-.575 1.106a2.262 2.262 0 0 1-.884.632 3.042 3.042 0 0 1-1.14.206c-.335 0-.646-.042-.935-.126a2.335 2.335 0 0 1-.781-.405 2.567 2.567 0 0 1-.593-.689 3.547 3.547 0 0 1-.377-1.004 6.094 6.094 0 0 1-.13-1.334v-1.436c0-.624.066-1.158.199-1.602.137-.449.329-.816.576-1.101.25-.285.547-.494.89-.627a3.042 3.042 0 0 1 1.14-.205c.334 0 .643.044.928.131.29.084.55.215.782.393.231.179.429.409.592.69.164.278.29.61.377.998.087.384.13.825.13 1.323Zm-1.648 1.653v-1.876c0-.3-.017-.562-.051-.787a2.313 2.313 0 0 0-.143-.57 1.209 1.209 0 0 0-.239-.387.875.875 0 0 0-.325-.217 1.136 1.136 0 0 0-.405-.068c-.186 0-.351.036-.496.108a.919.919 0 0 0-.359.348 1.874 1.874 0 0 0-.228.627c-.05.258-.074.574-.074.946v1.876c0 .3.015.564.046.792.034.228.083.424.148.587.068.16.148.291.24.394a.876.876 0 0 0 .324.217c.126.045.262.068.41.068.183 0 .345-.036.485-.108a.951.951 0 0 0 .365-.354 1.84 1.84 0 0 0 .228-.638c.05-.263.074-.582.074-.958Zm2.742-3.039v-.439c0-.315.069-.602.206-.861.137-.258.338-.465.604-.621.266-.156.593-.234.98-.234.4 0 .732.078.998.234.27.156.471.363.605.621.136.259.205.546.205.861v.439c0 .308-.069.591-.205.85a1.52 1.52 0 0 1-.599.621c-.266.156-.595.234-.986.234-.396 0-.728-.078-.998-.234a1.559 1.559 0 0 1-.604-.621 1.79 1.79 0 0 1-.205-.85Zm1.09-.439v.439c0 .133.024.261.074.382a.711.711 0 0 0 .239.291c.11.072.243.108.399.108a.68.68 0 0 0 .399-.108.684.684 0 0 0 .228-.291c.05-.121.074-.249.074-.382v-.439c0-.14-.026-.27-.08-.387a.653.653 0 0 0-.633-.405.663.663 0 0 0-.627.405.989.989 0 0 0-.074.387Zm2.878 5.108v-.439c0-.311.069-.596.206-.855a1.6 1.6 0 0 1 .61-.621c.27-.156.6-.234.992-.234.395 0 .726.078.992.234.266.156.467.363.604.621.137.259.205.544.205.855v.439c0 .312-.068.597-.205.855a1.517 1.517 0 0 1-.599.622c-.266.156-.595.234-.986.234-.395 0-.728-.078-.998-.234a1.585 1.585 0 0 1-.615-.622 1.796 1.796 0 0 1-.206-.855Zm1.095-.439v.439c0 .137.03.266.091.388s.145.219.251.291c.11.072.238.108.382.108.182 0 .325-.036.428-.108a.543.543 0 0 0 .21-.291c.042-.122.063-.251.063-.388v-.439a.92.92 0 0 0-.08-.382.666.666 0 0 0-.632-.404.67.67 0 0 0-.4.114.68.68 0 0 0-.233.29.92.92 0 0 0-.08.382Zm1.117-5.079-4.053 6.488-.798-.422 4.053-6.488.798.422Z"
          fill="${i(30)}"
        />
        <path
          d="M68.487 208.649h31.135"
          stroke="${a}"
          stroke-width="1.946"
          stroke-linecap="round"
        />
        <path
          d="M6.627 236.393v1.283H.948v-1.095l2.686-2.879c.27-.3.482-.564.638-.792.156-.232.268-.439.337-.622.072-.186.108-.363.108-.53 0-.251-.042-.466-.126-.644a.933.933 0 0 0-.37-.422 1.105 1.105 0 0 0-.593-.148c-.25 0-.468.061-.65.182a1.163 1.163 0 0 0-.41.508 1.874 1.874 0 0 0-.137.735H.783c0-.494.118-.946.354-1.357.235-.414.568-.743.997-.986.43-.247.939-.371 1.528-.371.582 0 1.072.095 1.471.285.403.187.707.456.912.81.21.35.314.768.314 1.254 0 .274-.044.542-.131.804a3.628 3.628 0 0 1-.377.775c-.16.255-.353.513-.581.776-.228.262-.48.534-.758.815l-1.443 1.619h3.558Zm6.613-3.597v1.436c0 .624-.067 1.161-.2 1.614-.133.448-.325.817-.575 1.106a2.262 2.262 0 0 1-.884.632 3.042 3.042 0 0 1-1.14.206c-.335 0-.646-.042-.935-.126a2.335 2.335 0 0 1-.781-.405 2.567 2.567 0 0 1-.593-.689 3.547 3.547 0 0 1-.377-1.004 6.094 6.094 0 0 1-.13-1.334v-1.436c0-.624.066-1.158.199-1.602.137-.449.329-.816.576-1.101.25-.285.547-.494.89-.627a3.042 3.042 0 0 1 1.14-.205c.334 0 .643.044.928.131.29.084.55.215.782.393.231.179.429.409.592.69.164.278.29.61.377.998.087.384.13.825.13 1.323Zm-1.648 1.653v-1.876c0-.3-.017-.562-.051-.786a2.31 2.31 0 0 0-.143-.571 1.209 1.209 0 0 0-.239-.387.875.875 0 0 0-.325-.217 1.136 1.136 0 0 0-.405-.068c-.186 0-.351.036-.496.108a.919.919 0 0 0-.359.348 1.874 1.874 0 0 0-.228.627c-.05.258-.074.574-.074.946v1.876c0 .3.015.564.046.792.034.228.083.424.148.588.068.159.148.29.24.393a.876.876 0 0 0 .324.217c.126.045.262.068.41.068.183 0 .345-.036.485-.108a.951.951 0 0 0 .365-.354 1.84 1.84 0 0 0 .228-.638c.05-.263.074-.582.074-.958Zm2.742-3.039v-.439c0-.315.069-.602.206-.861.137-.258.338-.465.604-.621.266-.156.593-.234.98-.234.4 0 .732.078.998.234.27.156.471.363.605.621.136.259.205.546.205.861v.439c0 .308-.069.591-.205.85a1.52 1.52 0 0 1-.599.621c-.266.156-.595.234-.986.234-.396 0-.728-.078-.998-.234a1.559 1.559 0 0 1-.604-.621 1.79 1.79 0 0 1-.205-.85Zm1.09-.439v.439c0 .133.024.261.074.382a.711.711 0 0 0 .239.291c.11.072.243.108.399.108a.68.68 0 0 0 .399-.108.684.684 0 0 0 .228-.291c.05-.121.074-.249.074-.382v-.439c0-.14-.026-.27-.08-.387a.653.653 0 0 0-.633-.405.663.663 0 0 0-.627.405.989.989 0 0 0-.074.387Zm2.878 5.108v-.439c0-.311.069-.596.206-.855a1.6 1.6 0 0 1 .61-.621c.27-.156.6-.234.992-.234.395 0 .726.078.992.234.266.156.467.363.604.621.137.259.205.544.205.855v.439c0 .312-.068.597-.205.856a1.52 1.52 0 0 1-.599.621c-.266.156-.595.234-.986.234-.395 0-.728-.078-.998-.234a1.589 1.589 0 0 1-.615-.621 1.803 1.803 0 0 1-.206-.856Zm1.095-.439v.439c0 .137.03.266.091.388s.145.219.251.291c.11.072.238.108.382.108.182 0 .325-.036.428-.108a.543.543 0 0 0 .21-.291c.042-.122.063-.251.063-.388v-.439a.92.92 0 0 0-.08-.382.666.666 0 0 0-.632-.404.67.67 0 0 0-.4.114.68.68 0 0 0-.233.29.92.92 0 0 0-.08.382Zm1.117-5.079-4.053 6.488-.798-.422 4.053-6.488.798.422Z"
          fill="${i(20)}"
        />
        <path
          d="M68.487 233.676h31.135"
          stroke="${a}"
          stroke-width="1.946"
          stroke-linecap="round"
        />
        <path
          d="M4.95 254.385v8.318H3.31v-6.425l-1.973.627v-1.294l3.438-1.226h.177Zm8.29 3.438v1.436c0 .624-.067 1.161-.2 1.614-.133.448-.325.817-.575 1.106a2.262 2.262 0 0 1-.884.632 3.042 3.042 0 0 1-1.14.206c-.335 0-.646-.042-.935-.126a2.352 2.352 0 0 1-.781-.404 2.588 2.588 0 0 1-.593-.69 3.547 3.547 0 0 1-.377-1.004 6.094 6.094 0 0 1-.13-1.334v-1.436c0-.624.066-1.158.199-1.602.137-.449.329-.816.576-1.101.25-.285.547-.494.89-.627a3.042 3.042 0 0 1 1.14-.205c.334 0 .643.044.928.131.29.084.55.215.782.393.231.179.429.409.592.69.164.278.29.61.377.998.087.384.13.825.13 1.323Zm-1.648 1.653V257.6c0-.3-.017-.562-.051-.786a2.31 2.31 0 0 0-.143-.571 1.209 1.209 0 0 0-.239-.387.875.875 0 0 0-.325-.217 1.158 1.158 0 0 0-.405-.068c-.186 0-.351.036-.496.108a.919.919 0 0 0-.359.348 1.874 1.874 0 0 0-.228.627c-.05.258-.074.574-.074.946v1.876c0 .3.015.564.046.792.034.228.083.424.148.588.068.159.148.29.24.393a.876.876 0 0 0 .324.217c.126.045.262.068.41.068.183 0 .345-.036.485-.108a.951.951 0 0 0 .365-.354 1.84 1.84 0 0 0 .228-.638c.05-.263.074-.582.074-.958Zm2.742-3.039v-.439c0-.315.069-.602.206-.861.137-.258.338-.465.604-.621.266-.156.593-.234.98-.234.4 0 .732.078.998.234.27.156.471.363.605.621.136.259.205.546.205.861v.439c0 .308-.069.591-.205.85a1.52 1.52 0 0 1-.599.621c-.266.156-.595.234-.986.234-.396 0-.728-.078-.998-.234a1.559 1.559 0 0 1-.604-.621 1.79 1.79 0 0 1-.205-.85Zm1.09-.439v.439c0 .133.024.261.074.382a.711.711 0 0 0 .239.291c.11.072.243.108.399.108a.68.68 0 0 0 .399-.108.684.684 0 0 0 .228-.291c.05-.121.074-.249.074-.382v-.439c0-.14-.026-.27-.08-.387a.653.653 0 0 0-.633-.405.663.663 0 0 0-.627.405.989.989 0 0 0-.074.387Zm2.878 5.108v-.439c0-.311.069-.596.206-.855a1.6 1.6 0 0 1 .61-.621c.27-.156.6-.234.992-.234.395 0 .726.078.992.234.266.156.467.363.604.621.137.259.205.544.205.855v.439c0 .312-.068.597-.205.856a1.52 1.52 0 0 1-.599.621c-.266.156-.595.234-.986.234-.395 0-.728-.078-.998-.234a1.589 1.589 0 0 1-.615-.621 1.803 1.803 0 0 1-.206-.856Zm1.095-.439v.439c0 .137.03.266.091.388s.145.219.251.291c.11.072.238.108.382.108.182 0 .325-.036.428-.108a.543.543 0 0 0 .21-.291c.042-.122.063-.251.063-.388v-.439a.92.92 0 0 0-.08-.382.666.666 0 0 0-.632-.404.67.67 0 0 0-.4.114.68.68 0 0 0-.233.29.92.92 0 0 0-.08.382Zm1.117-5.079-4.053 6.488-.798-.422 4.053-6.488.798.422Z"
          fill="${i(10)}"
        />
        <path
          d="M68.487 258.703h31.135"
          stroke="${a}"
          stroke-width="1.946"
          stroke-linecap="round"
        />
      </g>
      <defs>
        <linearGradient
          ${ls(e)}
          id="thermometerGradient"
          x1="69.46"
          y1="5.973"
          x2="69.46"
          y2="356.243"
          gradientUnits="userSpaceOnUse"
        >
          <stop offset="0.6" stop-color="#fff" />
          <stop offset="0.6" stop-color="${t}" />
        </linearGradient>
        <filter
          id="filter0_dd_3_3385"
          x="7.189"
          y=".135"
          width="124.541"
          height="369.73"
          filterUnits="userSpaceOnUse"
          color-interpolation-filters="sRGB"
        >
          <feFlood flood-opacity="0" result="BackgroundImageFix" />
          <feColorMatrix
            in="SourceAlpha"
            values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
            result="hardAlpha"
          />
          <feMorphology radius="1.946" in="SourceAlpha" result="effect1_dropShadow_3_3385" />
          <feOffset dy="1.946" />
          <feGaussianBlur stdDeviation="1.946" />
          <feColorMatrix
            values="0 0 0 0 0.0705882 0 0 0 0 0.0980392 0 0 0 0 0.14902 0 0 0 0.06 0"
          />
          <feBlend in2="BackgroundImageFix" result="effect1_dropShadow_3_3385" />
          <feColorMatrix
            in="SourceAlpha"
            values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
            result="hardAlpha"
          />
          <feMorphology radius="1.946" in="SourceAlpha" result="effect2_dropShadow_3_3385" />
          <feOffset dy="3.892" />
          <feGaussianBlur stdDeviation="3.892" />
          <feColorMatrix
            values="0 0 0 0 0.0941176 0 0 0 0 0.0941176 0 0 0 0 0.105882 0 0 0 0.1 0"
          />
          <feBlend in2="effect1_dropShadow_3_3385" result="effect2_dropShadow_3_3385" />
          <feBlend in="SourceGraphic" in2="effect2_dropShadow_3_3385" result="shape" />
        </filter>
        <filter
          id="filter1_d_3_3385"
          x="-1.568"
          y="4.027"
          width="104.108"
          height="266.595"
          filterUnits="userSpaceOnUse"
          color-interpolation-filters="sRGB"
        >
          <feFlood flood-opacity="0" result="BackgroundImageFix" />
          <feColorMatrix
            in="SourceAlpha"
            values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
            result="hardAlpha"
          />
          <feOffset dy=".973" />
          <feGaussianBlur stdDeviation=".973" />
          <feColorMatrix
            values="0 0 0 0 0.0941176 0 0 0 0 0.0941176 0 0 0 0 0.105882 0 0 0 0.05 0"
          />
          <feBlend in2="BackgroundImageFix" result="effect1_dropShadow_3_3385" />
          <feBlend in="SourceGraphic" in2="effect1_dropShadow_3_3385" result="shape" />
        </filter>
        <clipPath id="clip0_3_3385">
          <path fill="#fff" transform="translate(.378 5)" d="M0 0h98.27v262.703H0z" />
        </clipPath>
      </defs>
    </svg>
  `}var Wu=t((()=>{Wt(),ds()}));function Gu({thermometerGradientElement:e,progressBarColor:t,currentRaisedPercentage:n,raisedPercentage:r,showAmountRaised:i,showRaisedPercentage:a,showGoalAmount:o,goal:s,raised:c,size:l,textColor:u,borderColor:d,areDisplayOptionsDisabled:f}){let p=ul(i?`block`:`hidden`,l===`sm`&&`text-lg`,l===`md`&&`text-3xl`,l===`lg`&&`text-5xl`);return U`
    <div class="flex flex-col gap-2">
      <div class="flex justify-center">
        ${Uu(e,t,n,d)}
      </div>
      <div class="flex flex-col gap-2 text-center" style="${ms({color:u})}">
        <div id="raised" class="${p}">
          <span>${`$`+zu.toLocale(c,!1)}</span>
        </div>
        <div id="goal" class="text-base">
          ${a?zu.toLocale(r)+`%`:``}
          ${a&&o?` of `:``}
          ${o?`$`+zu.toLocale(s):``}
          ${f||!o?``:`goal`}
        </div>
      </div>
    </div>
  `}var Ku=t((()=>{Wt(),gs(),dl(),Bu(),Wu()})),qu=r({GivebutterGoalBar:()=>$}),Ju,Yu,$,Xu=t((()=>{Wt(),ko(),ds(),gs(),wl(),ws(),pu(),gu(),me(),ks(),Hu(),Ku(),Fo(),Ju=1e3*10,Yu={goal:1e4,raised:7200,raisedPercentage:72},$=class extends fu{constructor(){super(),this.thermometerGradientElement=os(),this.currentRaisedPercentage=0,this.isThermometerGradientUpdating=!1,this.areDisplayOptionsDisabled=!0,this.class=``,this.type=`progress-bar`,this.goal=0,this.raised=0,this.raisedPercentage=0,this.textColor=`#000`,this.padding=16,this.progressBarColor=`green`,this.fillColor=`red`,this.borderColor=``,this.borderWidth=1,this.borderRadius=0,this.animationDuration=2e3,this.backgroundColor=`#FFF`,this.size=`md`,this.maxWidth=`100%`,this.showGoalAmount=!0,this.showAmountRaised=!0,this.showRaisedPercentage=!0,this.componentType=Ss.GOAL_BAR}willUpdate(e){if(this.preview){e.has(`preview`)&&(this.goal=Yu.goal,this.raised=Yu.raised,this.raisedPercentage=Yu.raisedPercentage);return}(e.has(`campaign`)||e.has(`account`))&&this.dataController&&(this.dataController.destroy(),this.dataController=void 0,this.goal=0,this.raised=0,this.raisedPercentage=0),!this.dataController&&this.account&&this.campaign&&(this.dataController=new Cl({host:this,queryFn:()=>z(this.account,this.campaign),cacheTime:Ju,retryCount:1,onSuccess:e=>{e.goal>0&&(this.goal=e.goal,this.raised=e.raised,this.raisedPercentage=e.raised_percentage)},shouldStopInterval:e=>e.goal<=0}))}updated(e){if(e.has(`type`)&&(this.currentRaisedPercentage=0),e.has(`raised`)||e.has(`raisedPercentage`)||e.has(`type`)){let e=this.raisedPercentage>100?100:this.raisedPercentage;e===0||this.animationDuration===0?(this.updateThermometerGradient(e),this.isThermometerGradientUpdating=!1):(this.isThermometerGradientUpdating=!0,hu.animate(this.currentRaisedPercentage,e,e=>{this.updateThermometerGradient(e)},()=>{this.isThermometerGradientUpdating=!1}))}this.areDisplayOptionsDisabled=!this.showGoalAmount&&!this.showAmountRaised&&!this.showRaisedPercentage}render(){return U`
      <div style=${ms({maxWidth:this.maxWidth})} class="${this.class}">
        ${this.type===`progress-bar`?Vu(this):Gu(this)}
      </div>
    `}updateThermometerGradient(e){if(this.currentRaisedPercentage=e,this.thermometerGradientElement.value){let t=e===100?0:-.007*e+.785,n=this.thermometerGradientElement.value.querySelectorAll(`stop`);n[0].setAttribute(`offset`,t.toString()),n[1].setAttribute(`offset`,t.toString())}}},K([xo()],$.prototype,`currentRaisedPercentage`,void 0),K([xo()],$.prototype,`isThermometerGradientUpdating`,void 0),K([xo()],$.prototype,`areDisplayOptionsDisabled`,void 0),K([G({type:String})],$.prototype,`class`,void 0),K([G({type:String,attribute:`type`})],$.prototype,`type`,void 0),K([G({type:Number,attribute:`goal`})],$.prototype,`goal`,void 0),K([G({type:Number,attribute:`raised`})],$.prototype,`raised`,void 0),K([G({type:Number,attribute:`raised-percentage`})],$.prototype,`raisedPercentage`,void 0),K([G({type:String,attribute:`text-color`})],$.prototype,`textColor`,void 0),K([G({type:Number,attribute:`padding`})],$.prototype,`padding`,void 0),K([G({type:String,attribute:`progress-bar-color`})],$.prototype,`progressBarColor`,void 0),K([G({type:String,attribute:`progress-color`})],$.prototype,`fillColor`,void 0),K([G({type:String,attribute:`border-color`})],$.prototype,`borderColor`,void 0),K([G({type:Number,attribute:`border-width`})],$.prototype,`borderWidth`,void 0),K([G({type:Number,attribute:`border-radius`})],$.prototype,`borderRadius`,void 0),K([G({type:Number,attribute:`animation-duration`})],$.prototype,`animationDuration`,void 0),K([G({type:String,attribute:`background-color`})],$.prototype,`backgroundColor`,void 0),K([G({type:String,attribute:`size`})],$.prototype,`size`,void 0),K([G({type:String,attribute:`max-width`})],$.prototype,`maxWidth`,void 0),K([G({type:Boolean,attribute:`show-goal-amount`,converter:Os._boolean})],$.prototype,`showGoalAmount`,void 0),K([G({type:Boolean,attribute:`show-amount-raised`,converter:Os._boolean})],$.prototype,`showAmountRaised`,void 0),K([G({type:Boolean,attribute:`show-raised-percentage`,converter:Os._boolean})],$.prototype,`showRaisedPercentage`,void 0),$=K([go(`givebutter-goal-bar`)],$)})),Zu,Qu,$u=t((()=>{It(),Zo(),Zu=class extends Xo{constructor(e){if(super(e),this.it=W,e.type!==Jo.CHILD)throw Error(this.constructor.directiveName+`() can only be used in child bindings`)}render(e){if(e===W||e==null)return this._t=void 0,this.it=e;if(e===xt)return e;if(typeof e!=`string`)throw Error(this.constructor.directiveName+`() called with a non-string value`);if(e===this.it)return this._t;this.it=e;let t=[e];return t.raw=t,this._t={_$litType$:this.constructor.resultType,strings:t,values:[]}}},Zu.directiveName=`unsafeHTML`,Zu.resultType=1,Qu=Yo(Zu)})),ed=t((()=>{$u()})),td,nd,rd,id,ad,od,sd,cd,ld=t((()=>{td=e=>{var t,n;return e.hasAttribute(`href`)&&((t=(n=e.getAttribute(`href`))==null?void 0:n.startsWith(`#`))==null?!1:t)},nd=e=>{let t=e.getAttribute(`href`);return t?t.substring(1):null},rd=e=>{var t;!((t=window.parent)==null||(t=t.location)==null)&&t.href?window.parent.history.pushState(null,``,`#${e}`):history.pushState(null,``,`#${e}`)},id=()=>window.location.hash?window.location.hash.substring(1):``,ad=()=>{if(window.parent&&window.parent!==window){var e;let t=(e=window.parent)==null||(e=e.location)==null?void 0:e.hash;return t?t.substring(1):``}return``},od=(e,t)=>e.getElementById(t)||e.querySelector(`[id="${t}"]`)||e.querySelector(`[name="${t}"], a[name="${t}"]`),sd=e=>e.tagName===`A`&&!e.textContent&&e.parentElement||e,cd=(e,t=80)=>{let n=e.getBoundingClientRect().top+window.scrollY-t;window.scrollTo({top:n,behavior:`smooth`})}})),ud=r({GivebutterHTMLRenderer:()=>md});function dd(e){return e.replace(pd,``)}var fd,pd,md,hd=t((()=>{Wt(),ko(),ed(),ld(),Fo(),pd=/<p\b[^>]*>(?:\s|&nbsp;|<br\s*\/?>)*<\/p>/giu,md=(fd=class extends Bt{constructor(...e){super(...e),this.html=``,this.whitespace=`default`,this.SCROLL_OFFSET=80,this.clickHandler=this.handleAnchorClick.bind(this),this.popstateHandler=this.checkAndHandleUrlHash.bind(this)}connectedCallback(){super.connectedCallback(),window.addEventListener(`popstate`,this.popstateHandler),setTimeout(()=>this.checkAndHandleUrlHash(),200)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener(`popstate`,this.popstateHandler),this.shadowRoot&&this.shadowRoot.removeEventListener(`click`,this.clickHandler,!0)}handleAnchorClick(e){let t=e.target.closest(`a`);if(t&&td(t)){e.preventDefault(),e.stopPropagation();let n=nd(t);n&&(this.scrollToAnchor(n),rd(n))}}checkAndHandleUrlHash(){let e=id();if(!e){let e=ad();if(e)return this.scrollToAnchor(e)}return e?this.scrollToAnchor(e):!1}scrollToAnchor(e){if(!this.shadowRoot)return!1;let t=od(this.shadowRoot,e);return t?(cd(sd(t),this.SCROLL_OFFSET),!0):!1}render(){return this.html?U`${Qu(this.whitespace===`truncate`?dd(this.html):this.html)}`:``}},fd.styles=ke`
    :host {
      all: initial;
      display: block;
      font-family: Matter, sans-serif;
      word-break: break-word;
      overflow-wrap: break-word;
      font-size: var(--gb-html-font-size, 16px);
      line-height: var(--gb-html-line-height, 1.5);
      color: var(--gb-html-color, revert);
      -webkit-font-smoothing: antialiased;
    }

    a {
      color: var(--gb-html-link-color, #568fdf);
      text-decoration: var(--gb-html-link-text-decoration, revert);
      font-weight: var(--gb-html-link-font-weight, revert);
    }

    a:hover {
      text-decoration: var(--gb-html-link-text-decoration-hover, revert);
    }

    img,
    iframe,
    video {
      max-width: 100%;
      box-sizing: border-box;
      vertical-align: middle;
    }

    img,
    video {
      height: auto;
    }

    /* Horizontal YouTube embeds (if they don't already have a wrapper) */
    :not([style*='relative']) > iframe[src*='youtube.com']:not([data-video-vertical]),
    :not([style*='relative']) > iframe[src*='youtube-nocookie.com']:not([data-video-vertical]),
    :not([style*='relative']) > iframe[src*='youtu.be']:not([data-video-vertical]) {
      aspect-ratio: 16 / 9;
      height: auto !important;
      width: 100% !important;
    }

    /* Vertical video embeds (any source) */
    :not([style*='relative']) > iframe[data-video-vertical] {
      aspect-ratio: 9 / 16;
      height: auto !important;
      width: 100% !important;
    }

    ol li p,
    ul li p,
    table p {
      margin: 0;
    }

    table {
      border-collapse: collapse;
    }
  `,fd),K([G({type:String,attribute:`html`})],md.prototype,`html`,void 0),K([G({type:String,attribute:`whitespace`})],md.prototype,`whitespace`,void 0),md=K([go(`givebutter-html-renderer`)],md)}));ae(),me(),Se(),v(),a(),c(),F();var gd=function(){var e=P(function*(){if(window.gbWidgets=window.gbWidgets||{},!ie.init){ue(),be();try{yield Promise.resolve().then(()=>(zo(),Io)),yield Promise.resolve().then(()=>(Is(),As)),yield Promise.resolve().then(()=>(xl(),vl)),yield Promise.resolve().then(()=>(Zl(),Yl)),yield Promise.resolve().then(()=>(du(),uu)),yield Promise.resolve().then(()=>(Xu(),qu)),yield Promise.resolve().then(()=>(lu(),eu)),yield Promise.resolve().then(()=>(hd(),ud))}catch(e){i.error(`Error initializing web components`,e)}ie.init=!0,_.getPlatform()===o.godaddy&&_.isInsideIframe()&&V()}});return function(){return e.apply(this,arguments)}}();v();var _d;_.captureScriptSrc((_d=document.currentScript)==null?void 0:_d.src),gd()});
//# sourceMappingURL=widgets.min.js.map