iobroker.lovelace
Version:
With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI
30 lines • 20.8 kB
JavaScript
/*! For license information please see 76775.32e8f040d0d09774.js.LICENSE.txt */
export const __rspack_esm_id=76775;export const __rspack_esm_ids=[76775];export const __webpack_modules__={39826(t,e,o){o.r(e),o.d(e,{HaIconButtonGroup:()=>n});var a=o(62826),i=o(5124),r=o(22441);class n extends i.WF{render(){return i.qy`<slot></slot>`}}n.styles=i.AH`:host{position:relative;display:flex;flex-direction:row;align-items:center;height:48px;border-radius:var(--ha-border-radius-4xl);background-color:rgba(139,145,151,.1);box-sizing:border-box;width:auto;padding:0}::slotted(.separator){background-color:rgba(var(--rgb-primary-text-color),.15);width:1px;margin:0 1px;height:40px}`,n=(0,a.Cg)([(0,r.EM)("ha-icon-button-group")],n)},9882(t,e,o){o.a(t,async function(t,a){try{o.r(e),o.d(e,{HaIconButtonToolbar:()=>l});o(18111),o(22489),o(61701);var i=o(62826),r=o(5124),n=o(22441),s=(o(47680),o(26300)),c=(o(39826),o(34127)),d=t([s,c]);[s,c]=d.then?(await d)():d;class l extends r.WF{findToolbarButtons(t=""){const e=this._buttons?.filter(t=>t.classList.contains("icon-toolbar-button"));if(!e||!e.length)return;if(!t.length)return e;const o=e.filter(e=>e.querySelector(t));return o.length?o:void 0}findToolbarButtonById(t){const e=this.shadowRoot?.getElementById(t);if(e&&"ha-icon-button"===e.localName)return e}render(){return r.qy` <ha-icon-button-group class="icon-toolbar-buttongroup"> ${this.items.map(t=>"string"==typeof t?r.qy`<div class="icon-toolbar-divider" role="separator"></div>`:r.qy`<ha-tooltip .disabled="${!t.tooltip}" .for="${t.id??"icon-button-"+t.label}">${t.tooltip??""}</ha-tooltip> <ha-icon-button class="icon-toolbar-button" .id="${t.id??"icon-button-"+t.label}" @click="${t.action}" .label="${t.label}" .path="${t.path}" .disabled="${t.disabled??!1}"></ha-icon-button>`)} </ha-icon-button-group> `}constructor(...t){super(...t),this.items=[]}}l.styles=r.AH`:host{position:absolute;top:0px;width:100%;display:flex;flex-direction:row-reverse;background-color:var(--icon-button-toolbar-color,var(--secondary-background-color,#f5f5f5));--icon-button-toolbar-height:32px;--icon-button-toolbar-button:calc(
var(--icon-button-toolbar-height) - 4px
);--icon-button-toolbar-icon:calc(
var(--icon-button-toolbar-height) - 10px
)}.icon-toolbar-divider{height:var(--icon-button-toolbar-icon);margin:0px 4px;border:.5px solid var(--divider-color,var(--secondary-text-color,transparent))}.icon-toolbar-buttongroup{background-color:transparent;padding-right:4px;height:var(--icon-button-toolbar-height);gap:var(--ha-space-2)}.icon-toolbar-button{color:var(--secondary-text-color);--ha-icon-button-size:var(--icon-button-toolbar-button);--mdc-icon-size:var(--icon-button-toolbar-icon);cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}`,(0,i.Cg)([(0,n.MZ)({attribute:!1})],l.prototype,"items",void 0),(0,i.Cg)([(0,n.YG)("ha-icon-button")],l.prototype,"_buttons",void 0),l=(0,i.Cg)([(0,n.EM)("ha-icon-button-toolbar")],l),a()}catch(t){a(t)}})},47680(t,e,o){o.r(e),o.d(e,{HaIcon:()=>k});o(74423);var a=o(62826),i=o(5124),r=o(22441),n=o(1087),s=o(9899),c=o(700),d=(o(44114),o(18111),o(7588),o(95192)),l=o(7553);const h=JSON.parse('{"version":"7.4.47","parts":[{"file":"7a7139d465f1f41cb26ab851a17caa21a9331234"},{"start":"account-supervisor-circle-","file":"9561286c4c1021d46b9006596812178190a7cc1c"},{"start":"alpha-r-c","file":"eb466b7087fb2b4d23376ea9bc86693c45c500fa"},{"start":"arrow-decision-o","file":"4b3c01b7e0723b702940c5ac46fb9e555646972b"},{"start":"baby-f","file":"2611401d85450b95ab448ad1d02c1a432b409ed2"},{"start":"battery-hi","file":"89bcd31855b34cd9d31ac693fb073277e74f1f6a"},{"start":"blur-r","file":"373709cd5d7e688c2addc9a6c5d26c2d57c02c48"},{"start":"briefcase-account-","file":"a75956cf812ee90ee4f656274426aafac81e1053"},{"start":"calendar-question-","file":"3253f2529b5ebdd110b411917bacfacb5b7063e6"},{"start":"car-lig","file":"74566af3501ad6ae58ad13a8b6921b3cc2ef879d"},{"start":"cellphone-co","file":"7677f1cfb2dd4f5562a2aa6d3ae43a2e6997b21a"},{"start":"circle-slice-2","file":"70d08c50ec4522dd75d11338db57846588263ee2"},{"start":"cloud-co","file":"141d2bfa55ca4c83f4bae2812a5da59a84fec4ff"},{"start":"cog-s","file":"5a640365f8e47c609005d5e098e0e8104286d120"},{"start":"cookie-l","file":"dd85b8eb8581b176d3acf75d1bd82e61ca1ba2fc"},{"start":"currency-eur-","file":"15362279f4ebfc3620ae55f79d2830ad86d5213e"},{"start":"delete-o","file":"239434ab8df61237277d7599ebe066c55806c274"},{"start":"draw-","file":"5605918a592070803ba2ad05a5aba06263da0d70"},{"start":"emoticon-po","file":"a838cfcec34323946237a9f18e66945f55260f78"},{"start":"fan","file":"effd56103b37a8c7f332e22de8e4d67a69b70db7"},{"start":"file-question-","file":"b2424b50bd465ae192593f1c3d086c5eec893af8"},{"start":"flask-off-","file":"3b76295cde006a18f0301dd98eed8c57e1d5a425"},{"start":"food-s","file":"1c6941474cbeb1755faaaf5771440577f4f1f9c6"},{"start":"gamepad-u","file":"c6efe18db6bc9654ae3540c7dee83218a5450263"},{"start":"google-f","file":"df341afe6ad4437457cf188499cb8d2df8ac7b9e"},{"start":"head-c","file":"282121c9e45ed67f033edcc1eafd279334c00f46"},{"start":"home-pl","file":"27e8e38fc7adcacf2a210802f27d841b49c8c508"},{"start":"inbox-","file":"0f0316ec7b1b7f7ce3eaabce26c9ef619b5a1694"},{"start":"key-v","file":"ea33462be7b953ff1eafc5dac2d166b210685a60"},{"start":"leaf-circle-","file":"33db9bbd66ce48a2db3e987fdbd37fb0482145a4"},{"start":"lock-p","file":"b89e27ed39e9d10c44259362a4b57f3c579d3ec8"},{"start":"message-s","file":"7b5ab5a5cadbe06e3113ec148f044aa701eac53a"},{"start":"moti","file":"01024d78c248d36805b565e343dd98033cc3bcaf"},{"start":"newspaper-variant-o","file":"22a6ec4a4fdd0a7c0acaf805f6127b38723c9189"},{"start":"on","file":"c73d55b412f394e64632e2011a59aa05e5a1f50d"},{"start":"paw-ou","file":"3f669bf26d16752dc4a9ea349492df93a13dcfbf"},{"start":"pigg","file":"0c24edb27eb1c90b6e33fc05f34ef3118fa94256"},{"start":"printer-pos-sy","file":"41a55cda866f90b99a64395c3bb18c14983dcf0a"},{"start":"read","file":"c7ed91552a3a64c9be88c85e807404cf705b7edf"},{"start":"robot-vacuum-variant-o","file":"917d2a35d7268c0ea9ad9ecab2778060e19d90e0"},{"start":"sees","file":"6e82d9861d8fac30102bafa212021b819f303bdb"},{"start":"shoe-f","file":"e2fe7ce02b5472301418cc90a0e631f187b9f238"},{"start":"snowflake-m","file":"a28ba9f5309090c8b49a27ca20ff582a944f6e71"},{"start":"st","file":"7e92d03f095ec27e137b708b879dfd273bd735ab"},{"start":"su","file":"61c74913720f9de59a379bdca37f1d2f0dc1f9db"},{"start":"tag-plus-","file":"8f3184156a4f38549cf4c4fffba73a6a941166ae"},{"start":"timer-a","file":"baab470d11cfb3a3cd3b063ee6503a77d12a80d0"},{"start":"transit-d","file":"8561c0d9b1ac03fab360fd8fe9729c96e8693239"},{"start":"vector-arrange-b","file":"c9a3439257d4bab33d3355f1f2e11842e8171141"},{"start":"water-ou","file":"02dbccfb8ca35f39b99f5a085b095fc1275005a0"},{"start":"webc","file":"57bafd4b97341f4f2ac20a609d023719f23a619c"},{"start":"zip","file":"65ae094e8263236fa50486584a08c03497a38d93"}]}');let p;const b=()=>(p||(p=f().catch(t=>{throw p=void 0,t})),p),f=async()=>{const t=(0,d.y$)("hass-icon-db","mdi-icon-store"),e=await(0,d.Jt)("_version",t);return e?e!==h.version&&(await(0,d.IU)(t),(0,d.hZ)("_version",h.version,t)):(0,d.hZ)("_version",h.version,t),t},u=["mdi","hass","hassio","hademo"];let v=[];o(67094);const w={},y={},g=(0,s.s)(()=>(async t=>{const e=Object.keys(t),o=await Promise.allSettled(Object.values(t));(await b())("readwrite",a=>{o.forEach((o,i)=>{"fulfilled"===o.status&&Object.entries(o.value).forEach(([t,e])=>{a.put(e,t)}),delete t[e[i]]})})})(y),2e3),m={},x={"home-assistant":()=>o.e(58781).then(o.bind(o,53580)).then(t=>t.mdiHomeAssistant),"music-assistant":()=>o.e(56009).then(o.bind(o,10576)).then(t=>t.mdiMusicAssistant),esphome:()=>o.e(88800).then(o.bind(o,45091)).then(t=>t.mdiEsphomeLogo)};class k extends i.WF{willUpdate(t){super.willUpdate(t),t.has("icon")&&(this._path=void 0,this._secondaryPath=void 0,this._viewBox=void 0,this._loadIcon())}render(){return this.icon?this._legacy?i.qy` <iron-icon .icon="${this.icon}"></iron-icon>`:i.qy`<ha-svg-icon .path="${this._path}" .secondaryPath="${this._secondaryPath}" .viewBox="${this._viewBox}"></ha-svg-icon>`:i.s6}async _loadIcon(){if(!this.icon)return;const t=this.icon,[e,o]=this.icon.split(":",2);let a,i=o;if(!e||!i)return;if(!u.includes(e)){const o=c.y[e];return o?void(o&&"function"==typeof o.getIcon&&this._setCustomPath(o.getIcon(i),t)):void(this._legacy=!0)}if(this._legacy=!1,i in w){const t=w[i];let o;t.newName?(o=`Icon ${e}:${i} was renamed to ${e}:${t.newName}, please change your config, it will be removed in version ${t.removeIn}.`,i=t.newName):o=`Icon ${e}:${i} was removed from MDI, please replace this icon with an other icon in your config, it will be removed in version ${t.removeIn}.`,console.warn(o),(0,n.r)(this,"write_log",{level:"warning",message:o})}if(i in m)return void(this._path=m[i]);if(i in x){const e=await x[i]();return this.icon===t&&(this._path=e),void(m[i]=e)}try{a=await(t=>new Promise((e,o)=>{if(v.push([t,e,o]),v.length>1)return;const a=b();(0,l.h)(1e3,(async()=>{(await a)("readonly",t=>{for(const[e,o,a]of v)(0,d.Yd)(t.get(e)).then(t=>o(t)).catch(t=>a(t));v=[]})})()).catch(t=>{for(const[,,e]of v)e(t);v=[]})}))(i)}catch(t){a=void 0}if(a)return this.icon===t&&(this._path=a),void(m[i]=a);const r=(t=>{let e;for(const o of h.parts){if(void 0!==o.start&&t<o.start)break;e=o}return e.file})(i);if(r in y)return void this._setPath(y[r],i,t);const s=fetch(`/static/mdi/${r}.json`).then(t=>t.json());y[r]=s,this._setPath(s,i,t),s.catch(()=>{delete y[r]}),g()}async _setCustomPath(t,e){const o=await t;this.icon===e&&(this._path=o.path,this._secondaryPath=o.secondaryPath,this._viewBox=o.viewBox)}async _setPath(t,e,o){try{const a=await t;this.icon===o&&(this._path=a[e]),m[e]=a[e]}catch(t){}}constructor(...t){super(...t),this._legacy=!1}}k.styles=i.AH`:host{fill:currentcolor}`,(0,a.Cg)([(0,r.MZ)()],k.prototype,"icon",void 0),(0,a.Cg)([(0,r.wk)()],k.prototype,"_path",void 0),(0,a.Cg)([(0,r.wk)()],k.prototype,"_secondaryPath",void 0),(0,a.Cg)([(0,r.wk)()],k.prototype,"_viewBox",void 0),(0,a.Cg)([(0,r.wk)()],k.prototype,"_legacy",void 0),k=(0,a.Cg)([(0,r.EM)("ha-icon")],k)},34127(t,e,o){o.a(t,async function(t,e){try{var a=o(62826),i=o(52630),r=o(5124),n=o(22441),s=t([i]);i=(s.then?(await s)():s)[0];class c extends i.A{static get styles(){return[i.A.styles,r.AH`:host{--wa-tooltip-background-color:var(
--ha-tooltip-background-color,
var(--ha-color-surface-default)
);--wa-tooltip-content-color:var(
--ha-tooltip-text-color,
var(--primary-text-color)
);--wa-tooltip-font-family:var(
--ha-tooltip-font-family,
var(--ha-font-family-body)
);--wa-tooltip-font-size:var(
--ha-tooltip-font-size,
var(--ha-font-size-m)
);--wa-tooltip-font-weight:var(
--ha-tooltip-font-weight,
var(--ha-font-weight-medium)
);--wa-tooltip-line-height:var(
--ha-tooltip-line-height,
var(--ha-line-height-condensed)
);--wa-tooltip-padding:var(--ha-tooltip-padding, var(--ha-space-2));--wa-tooltip-border-radius:var(
--ha-tooltip-border-radius,
var(--ha-border-radius-md)
);--wa-tooltip-arrow-size:var(--ha-tooltip-arrow-size, 0px);--wa-tooltip-border-width:0px;--wa-z-index-tooltip:1000}.tooltip::part(popup){animation-duration:var(--ha-tooltip-animation-duration, 0)}.body{box-shadow:var(--ha-tooltip-box-shadow,var(--ha-box-shadow-m))}`]}constructor(...t){super(...t),this.showDelay=350,this.hideDelay=150}}(0,a.Cg)([(0,n.MZ)({attribute:"show-delay",type:Number})],c.prototype,"showDelay",void 0),(0,a.Cg)([(0,n.MZ)({attribute:"hide-delay",type:Number})],c.prototype,"hideDelay",void 0),c=(0,a.Cg)([(0,n.EM)("ha-tooltip")],c),e()}catch(t){e(t)}})},700(t,e,o){o.d(e,{y:()=>n});const a=window;"customIconsets"in a||(a.customIconsets={});const i=a.customIconsets,r=window;"customIcons"in r||(r.customIcons={});const n=new Proxy(r.customIcons,{get:(t,e)=>t[e]??(i[e]?{getIcon:i[e]}:void 0)})},52630(t,e,o){o.a(t,async function(t,a){try{o.d(e,{A:()=>_});o(74423),o(44114),o(18111),o(22489);var i=o(5124),r=o(22441),n=o(6412),s=o(17051),c=o(42462),d=o(28438),l=o(98779),h=o(27259),p=o(25877),b=o(984),f=o(95010),u=o(9395),v=o(717),w=o(40158),y=o(51920),g=t([w]);w=(g.then?(await g)():g)[0];var m=Object.defineProperty,x=Object.getOwnPropertyDescriptor,k=(t,e,o,a)=>{for(var i,r=a>1?void 0:a?x(e,o):e,n=t.length-1;n>=0;n--)(i=t[n])&&(r=(a?i(e,o,r):i(r))||r);return a&&r&&m(e,o,r),r};let _=class extends v.A{connectedCallback(){super.connectedCallback(),this.eventController.signal.aborted&&(this.eventController=new AbortController),this.addEventListener("mouseout",this.handleMouseOut),this.open&&(this.open=!1,this.updateComplete.then(()=>{this.open=!0})),this.id||(this.id=(0,f.N)("wa-tooltip-")),this.for&&this.anchor?(this.anchor=null,this.handleForChange()):this.for&&this.handleForChange()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.handleDocumentKeyDown),(0,p.Fw)(this),this.eventController.abort(),this.anchor&&this.removeFromAriaLabelledBy(this.anchor,this.id)}firstUpdated(){this.body.hidden=!this.open,this.open&&(this.popup.active=!0,this.popup.reposition())}hasTrigger(t){return this.trigger.split(" ").includes(t)}addToAriaLabelledBy(t,e){const o=(t.getAttribute("aria-labelledby")||"").split(/\s+/).filter(Boolean);o.includes(e)||(o.push(e),t.setAttribute("aria-labelledby",o.join(" ")))}removeFromAriaLabelledBy(t,e){const o=(t.getAttribute("aria-labelledby")||"").split(/\s+/).filter(Boolean).filter(t=>t!==e);o.length>0?t.setAttribute("aria-labelledby",o.join(" ")):t.removeAttribute("aria-labelledby")}async handleOpenChange(){if(this.open){if(this.disabled)return;const t=new l.k;if(this.dispatchEvent(t),t.defaultPrevented)return void(this.open=!1);document.addEventListener("keydown",this.handleDocumentKeyDown,{signal:this.eventController.signal}),(0,p.AZ)(this),this.body.hidden=!1,this.popup.active=!0,await(0,h.Ud)(this.popup.popup,"show-with-scale"),this.popup.reposition(),this.dispatchEvent(new c.q)}else{const t=new d.L;if(this.dispatchEvent(t),t.defaultPrevented)return void(this.open=!1);document.removeEventListener("keydown",this.handleDocumentKeyDown),(0,p.Fw)(this),await(0,h.Ud)(this.popup.popup,"hide-with-scale"),this.popup.active=!1,this.body.hidden=!0,this.dispatchEvent(new s.Z)}}handleForChange(){const t=this.getRootNode();if(!t)return;const e=this.for?t.getElementById(this.for):null,o=this.anchor;if(e===o)return;const{signal:a}=this.eventController;e&&(this.addToAriaLabelledBy(e,this.id),e.addEventListener("blur",this.handleBlur,{capture:!0,signal:a}),e.addEventListener("focus",this.handleFocus,{capture:!0,signal:a}),e.addEventListener("click",this.handleClick,{signal:a}),e.addEventListener("mouseover",this.handleMouseOver,{signal:a}),e.addEventListener("mouseout",this.handleMouseOut,{signal:a})),o&&(this.removeFromAriaLabelledBy(o,this.id),o.removeEventListener("blur",this.handleBlur,{capture:!0}),o.removeEventListener("focus",this.handleFocus,{capture:!0}),o.removeEventListener("click",this.handleClick),o.removeEventListener("mouseover",this.handleMouseOver),o.removeEventListener("mouseout",this.handleMouseOut)),this.anchor=e}async handleOptionsChange(){this.hasUpdated&&(await this.updateComplete,this.popup.reposition())}handleDisabledChange(){this.disabled&&this.open&&this.hide()}async show(){if(!this.open)return this.open=!0,(0,b.l)(this,"wa-after-show")}async hide(){if(this.open)return this.open=!1,(0,b.l)(this,"wa-after-hide")}render(){return i.qy` <wa-popup part="base" exportparts="
popup:base__popup,
arrow:base__arrow
" class="${(0,n.H)({tooltip:!0,"tooltip-open":this.open})}" placement="${this.placement}" distance="${this.distance}" skidding="${this.skidding}" flip shift ?arrow="${!this.withoutArrow}" hover-bridge .anchor="${this.anchor}"> <div part="body" class="body"> <slot></slot> </div> </wa-popup> `}constructor(){super(...arguments),this.placement="top",this.disabled=!1,this.distance=8,this.open=!1,this.skidding=0,this.showDelay=150,this.hideDelay=0,this.trigger="hover focus",this.withoutArrow=!1,this.for=null,this.anchor=null,this.eventController=new AbortController,this.handleBlur=()=>{this.hasTrigger("focus")&&this.hide()},this.handleClick=()=>{this.hasTrigger("click")&&(this.open?this.hide():this.show())},this.handleFocus=()=>{this.hasTrigger("focus")&&this.show()},this.handleDocumentKeyDown=t=>{"Escape"===t.key&&this.open&&(0,p.a0)(this)&&(t.preventDefault(),t.stopPropagation(),this.hide())},this.handleMouseOver=()=>{this.hasTrigger("hover")&&(clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.show(),this.showDelay))},this.handleMouseOut=()=>{if(this.hasTrigger("hover")){const t=Boolean(this.anchor?.matches(":hover")),e=this.matches(":hover");if(t||e)return;clearTimeout(this.hoverTimeout),t||e||(this.hoverTimeout=window.setTimeout(()=>{this.hide()},this.hideDelay))}}}};_.css=y.A,_.dependencies={"wa-popup":w.A},k([(0,r.P)("slot:not([name])")],_.prototype,"defaultSlot",2),k([(0,r.P)(".body")],_.prototype,"body",2),k([(0,r.P)("wa-popup")],_.prototype,"popup",2),k([(0,r.MZ)()],_.prototype,"placement",2),k([(0,r.MZ)({type:Boolean,reflect:!0})],_.prototype,"disabled",2),k([(0,r.MZ)({type:Number})],_.prototype,"distance",2),k([(0,r.MZ)({type:Boolean,reflect:!0})],_.prototype,"open",2),k([(0,r.MZ)({type:Number})],_.prototype,"skidding",2),k([(0,r.MZ)({attribute:"show-delay",type:Number})],_.prototype,"showDelay",2),k([(0,r.MZ)({attribute:"hide-delay",type:Number})],_.prototype,"hideDelay",2),k([(0,r.MZ)()],_.prototype,"trigger",2),k([(0,r.MZ)({attribute:"without-arrow",type:Boolean,reflect:!0})],_.prototype,"withoutArrow",2),k([(0,r.MZ)()],_.prototype,"for",2),k([(0,r.wk)()],_.prototype,"anchor",2),k([(0,u.w)("open",{waitUntilFirstUpdate:!0})],_.prototype,"handleOpenChange",1),k([(0,u.w)("for")],_.prototype,"handleForChange",1),k([(0,u.w)(["distance","placement","skidding"])],_.prototype,"handleOptionsChange",1),k([(0,u.w)("disabled")],_.prototype,"handleDisabledChange",1),_=k([(0,r.EM)("wa-tooltip")],_),a()}catch(t){a(t)}})},51920(t,e,o){o.d(e,{A:()=>a});var a=o(5124).AH`:host{--max-width:30ch;display:inline-block;position:absolute;color:var(--wa-tooltip-content-color);font-size:var(--wa-tooltip-font-size);line-height:var(--wa-tooltip-line-height);text-align:start;white-space:normal}.tooltip{--arrow-size:var(--wa-tooltip-arrow-size);--arrow-color:var(--wa-tooltip-background-color)}.tooltip::part(popup){z-index:1000}.tooltip[placement^=top]::part(popup){transform-origin:bottom}.tooltip[placement^=bottom]::part(popup){transform-origin:top}.tooltip[placement^=left]::part(popup){transform-origin:right}.tooltip[placement^=right]::part(popup){transform-origin:left}.body{display:block;width:max-content;max-width:var(--max-width);border-radius:var(--wa-tooltip-border-radius);background-color:var(--wa-tooltip-background-color);border:var(--wa-tooltip-border-width) var(--wa-tooltip-border-style) var(--wa-tooltip-border-color);padding:.25em .5em;user-select:none;-webkit-user-select:none}.tooltip{--popup-border-width:var(--wa-tooltip-border-width)}.tooltip::part(arrow){border-bottom:var(--wa-tooltip-border-width) var(--wa-tooltip-border-style) var(--wa-tooltip-border-color);border-right:var(--wa-tooltip-border-width) var(--wa-tooltip-border-style) var(--wa-tooltip-border-color)}`},984(t,e,o){function a(t,e){return new Promise(o=>{t.addEventListener(e,function a(i){i.target===t&&(t.removeEventListener(e,a),o())})})}o.d(e,{l:()=>a})},95010(t,e,o){o.d(e,{q:()=>a,N:()=>i});o(16573),o(78100),o(77936),o(37467),o(44732),o(79577),o(16632),o(34226),o(9486),o(20456);function a(t,e,o){const a=t=>Object.is(t,-0)?0:t;return a(t<e?e:t>o?o:t)}function i(t=""){return`${t}${((t=21)=>{let e="",o=crypto.getRandomValues(new Uint8Array(t|=0));for(;t--;)e+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&o[t]];return e})()}`}},95192(t,e,o){o.d(e,{IU:()=>d,Jt:()=>s,Yd:()=>a,hZ:()=>c,y$:()=>i});o(44114),o(18111),o(7588),o(61701);function a(t){return new Promise((e,o)=>{t.oncomplete=t.onsuccess=()=>e(t.result),t.onabort=t.onerror=()=>o(t.error)})}function i(t,e){let o;return(i,r)=>(()=>{if(o)return o;const i=indexedDB.open(t);return i.onupgradeneeded=()=>i.result.createObjectStore(e),o=a(i),o.then(t=>{t.onclose=()=>o=void 0},()=>{}),o})().then(t=>r(t.transaction(e,i).objectStore(e)))}let r;function n(){return r||(r=i("keyval-store","keyval")),r}function s(t,e=n()){return e("readonly",e=>a(e.get(t)))}function c(t,e,o=n()){return o("readwrite",o=>(o.put(e,t),a(o.transaction)))}function d(t=n()){return t("readwrite",t=>(t.clear(),a(t.transaction)))}}};