File "index-1d07a497.js"
Full Path: /home/tekvhqgl/public_html/dev2024_old_skip/wp-content/plugins/presto-player/dist/components/cjs/index-1d07a497.js
File size: 18.29 KB
MIME-type: text/plain
Charset: utf-8
"use strict";function _interopNamespace(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(s){if("default"!==s){var o=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(t,s,o.get?o:{enumerable:!0,get:function(){return e[s]}})}})),t.default=e,Object.freeze(t)}const NAMESPACE="web-components";let scopeId,contentRef,hostTagName,useNativeShadowDom=!1,checkSlotFallbackVisibility=!1,checkSlotRelocate=!1,isSvgMode=!1,queuePending=!1;const createTime=(e,t="")=>()=>{},uniqueTime=(e,t)=>()=>{},HYDRATED_CSS="{visibility:hidden}.hydrated{visibility:inherit}",XLINK_NS="http://www.w3.org/1999/xlink",EMPTY_OBJ={},SVG_NS="http://www.w3.org/2000/svg",HTML_NS="http://www.w3.org/1999/xhtml",isDef=e=>null!=e,isComplexType=e=>"object"==(e=typeof e)||"function"===e,h=(e,t,...s)=>{let o=null,n=null,l=null,a=!1,r=!1;const $=[],c=t=>{for(let s=0;s<t.length;s++)o=t[s],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((a="function"!=typeof e&&!isComplexType(o))&&(o=String(o)),a&&r?$[$.length-1].$text$+=o:$.push(a?newVNode(null,o):o),r=a)};if(c(s),t){t.key&&(n=t.key),t.name&&(l=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,$,vdomFnUtils);const i=newVNode(e,null);return i.$attrs$=t,$.length>0&&(i.$children$=$),i.$key$=n,i.$name$=l,i},newVNode=(e,t)=>({$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),Host={},isHost=e=>e&&e.$tag$===Host,vdomFnUtils={forEach:(e,t)=>e.map(convertToPublic).forEach(t),map:(e,t)=>e.map(convertToPublic).map(t).map(convertToPrivate)},convertToPublic=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),convertToPrivate=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),h(e.vtag,t,...e.vchildren||[])}const t=newVNode(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},parsePropertyValue=(e,t)=>null==e||isComplexType(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?String(e):e,getElement=e=>getHostRef(e).$hostElement$,createEvent=(e,t,s)=>{const o=getElement(e);return{emit:e=>emitEvent(o,t,{bubbles:!!(4&s),composed:!!(2&s),cancelable:!!(1&s),detail:e})}},emitEvent=(e,t,s)=>{const o=plt.ce(t,s);return e.dispatchEvent(o),o},rootAppliedStyles=new WeakMap,registerStyle=(e,t,s)=>{let o=styles.get(e);supportsConstructableStylesheets&&s?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,styles.set(e,o)},addStyle=(e,t,s,o)=>{let n=getScopeId(t);const l=styles.get(n);if(e=11===e.nodeType?e:doc,l)if("string"==typeof l){e=e.head||e;let t,s=rootAppliedStyles.get(e);s||rootAppliedStyles.set(e,s=new Set),s.has(n)||(t=doc.createElement("style"),t.innerHTML=l,e.insertBefore(t,e.querySelector("link")),s&&s.add(n))}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return n},attachStyles=e=>{const t=e.$cmpMeta$,s=e.$hostElement$,o=t.$flags$,n=(t.$tagName$,()=>{}),l=addStyle(s.shadowRoot?s.shadowRoot:s.getRootNode(),t);10&o&&(s["s-sc"]=l,s.classList.add(l+"-h")),n()},getScopeId=(e,t)=>"sc-"+e.$tagName$,setAccessor=(e,t,s,o,n,l)=>{if(s!==o){let a=isMemberInElement(e,t),r=t.toLowerCase();if("class"===t){const t=e.classList,n=parseClassList(s),l=parseClassList(o);t.remove(...n.filter((e=>e&&!l.includes(e)))),t.add(...l.filter((e=>e&&!n.includes(e))))}else if("style"===t){for(const t in s)o&&null!=o[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in o)s&&o[t]===s[t]||(t.includes("-")?e.style.setProperty(t,o[t]):e.style[t]=o[t])}else if("key"===t);else if("ref"===t)o&&o(e);else if(a||"o"!==t[0]||"n"!==t[1]){const $=isComplexType(o);if((a||$&&null!==o)&&!n)try{if(e.tagName.includes("-"))e[t]=o;else{const n=null==o?"":o;"list"===t?a=!1:null!=s&&e[t]==n||(e[t]=n)}}catch(e){}let c=!1;r!==(r=r.replace(/^xlink\:?/,""))&&(t=r,c=!0),null==o||!1===o?!1===o&&""!==e.getAttribute(t)||(c?e.removeAttributeNS(XLINK_NS,t):e.removeAttribute(t)):(!a||4&l||n)&&!$&&(o=!0===o?"":o,c?e.setAttributeNS(XLINK_NS,t,o):e.setAttribute(t,o))}else t="-"===t[2]?t.slice(3):isMemberInElement(win,r)?r.slice(2):r[2]+t.slice(3),s&&plt.rel(e,t,s,!1),o&&plt.ael(e,t,o,!1)}},parseClassListRegex=/\s/,parseClassList=e=>e?e.split(parseClassListRegex):[],updateElement=(e,t,s,o)=>{const n=11===t.$elm$.nodeType&&t.$elm$.host?t.$elm$.host:t.$elm$,l=e&&e.$attrs$||EMPTY_OBJ,a=t.$attrs$||EMPTY_OBJ;for(o in l)o in a||setAccessor(n,o,l[o],void 0,s,t.$flags$);for(o in a)setAccessor(n,o,l[o],a[o],s,t.$flags$)},createElm=(e,t,s,o)=>{const n=t.$children$[s];let l,a,r,$=0;if(useNativeShadowDom||(checkSlotRelocate=!0,"slot"===n.$tag$&&(scopeId&&o.classList.add(scopeId+"-s"),n.$flags$|=n.$children$?2:1)),null!==n.$text$)l=n.$elm$=doc.createTextNode(n.$text$);else if(1&n.$flags$)l=n.$elm$=doc.createTextNode("");else{if(isSvgMode||(isSvgMode="svg"===n.$tag$),l=n.$elm$=doc.createElementNS(isSvgMode?SVG_NS:HTML_NS,2&n.$flags$?"slot-fb":n.$tag$),isSvgMode&&"foreignObject"===n.$tag$&&(isSvgMode=!1),updateElement(null,n,isSvgMode),null!=scopeId&&l["s-si"]!==scopeId&&l.classList.add(l["s-si"]=scopeId),n.$children$)for($=0;$<n.$children$.length;++$)a=createElm(e,n,$,l),a&&l.appendChild(a);"svg"===n.$tag$?isSvgMode=!1:"foreignObject"===l.tagName&&(isSvgMode=!0)}return l["s-hn"]=hostTagName,3&n.$flags$&&(l["s-sr"]=!0,l["s-cr"]=contentRef,l["s-sn"]=n.$name$||"",r=e&&e.$children$&&e.$children$[s],r&&r.$tag$===n.$tag$&&e.$elm$&&putBackInOriginalLocation(e.$elm$,!1)),l},putBackInOriginalLocation=(e,t)=>{plt.$flags$|=1;const s=e.childNodes;for(let e=s.length-1;e>=0;e--){const o=s[e];o["s-hn"]!==hostTagName&&o["s-ol"]&&(parentReferenceNode(o).insertBefore(o,referenceNode(o)),o["s-ol"].remove(),o["s-ol"]=void 0,checkSlotRelocate=!0),t&&putBackInOriginalLocation(o,t)}plt.$flags$&=-2},addVnodes=(e,t,s,o,n,l)=>{let a,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===hostTagName&&(r=r.shadowRoot);n<=l;++n)o[n]&&(a=createElm(null,s,n,e),a&&(o[n].$elm$=a,r.insertBefore(a,referenceNode(t))))},removeVnodes=(e,t,s,o,n)=>{for(;t<=s;++t)(o=e[t])&&(n=o.$elm$,callNodeRefs(o),checkSlotFallbackVisibility=!0,n["s-ol"]?n["s-ol"].remove():putBackInOriginalLocation(n,!0),n.remove())},updateChildren=(e,t,s,o)=>{let n,l,a=0,r=0,$=0,c=0,i=t.length-1,d=t[0],p=t[i],m=o.length-1,u=o[0],f=o[m];for(;a<=i&&r<=m;)if(null==d)d=t[++a];else if(null==p)p=t[--i];else if(null==u)u=o[++r];else if(null==f)f=o[--m];else if(isSameVnode(d,u))patch(d,u),d=t[++a],u=o[++r];else if(isSameVnode(p,f))patch(p,f),p=t[--i],f=o[--m];else if(isSameVnode(d,f))"slot"!==d.$tag$&&"slot"!==f.$tag$||putBackInOriginalLocation(d.$elm$.parentNode,!1),patch(d,f),e.insertBefore(d.$elm$,p.$elm$.nextSibling),d=t[++a],f=o[--m];else if(isSameVnode(p,u))"slot"!==d.$tag$&&"slot"!==f.$tag$||putBackInOriginalLocation(p.$elm$.parentNode,!1),patch(p,u),e.insertBefore(p.$elm$,d.$elm$),p=t[--i],u=o[++r];else{for($=-1,c=a;c<=i;++c)if(t[c]&&null!==t[c].$key$&&t[c].$key$===u.$key$){$=c;break}$>=0?(l=t[$],l.$tag$!==u.$tag$?n=createElm(t&&t[r],s,$,e):(patch(l,u),t[$]=void 0,n=l.$elm$),u=o[++r]):(n=createElm(t&&t[r],s,r,e),u=o[++r]),n&&parentReferenceNode(d.$elm$).insertBefore(n,referenceNode(d.$elm$))}a>i?addVnodes(e,null==o[m+1]?null:o[m+1].$elm$,s,o,r,m):r>m&&removeVnodes(t,a,i)},isSameVnode=(e,t)=>e.$tag$===t.$tag$&&("slot"===e.$tag$?e.$name$===t.$name$:e.$key$===t.$key$),referenceNode=e=>e&&e["s-ol"]||e,parentReferenceNode=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,patch=(e,t)=>{const s=t.$elm$=e.$elm$,o=e.$children$,n=t.$children$,l=t.$tag$,a=t.$text$;let r;null===a?(isSvgMode="svg"===l||"foreignObject"!==l&&isSvgMode,"slot"===l||updateElement(e,t,isSvgMode),null!==o&&null!==n?updateChildren(s,o,t,n):null!==n?(null!==e.$text$&&(s.textContent=""),addVnodes(s,null,t,n,0,n.length-1)):null!==o&&removeVnodes(o,0,o.length-1),isSvgMode&&"svg"===l&&(isSvgMode=!1)):(r=s["s-cr"])?r.parentNode.textContent=a:e.$text$!==a&&(s.data=a)},updateFallbackSlotVisibility=e=>{const t=e.childNodes;let s,o,n,l,a,r;for(o=0,n=t.length;o<n;o++)if(s=t[o],1===s.nodeType){if(s["s-sr"])for(a=s["s-sn"],s.hidden=!1,l=0;l<n;l++)if(r=t[l].nodeType,t[l]["s-hn"]!==s["s-hn"]||""!==a){if(1===r&&a===t[l].getAttribute("slot")){s.hidden=!0;break}}else if(1===r||3===r&&""!==t[l].textContent.trim()){s.hidden=!0;break}updateFallbackSlotVisibility(s)}},relocateNodes=[],relocateSlotContent=e=>{let t,s,o,n,l,a,r=0;const $=e.childNodes,c=$.length;for(;r<c;r++){if(t=$[r],t["s-sr"]&&(s=t["s-cr"])&&s.parentNode)for(o=s.parentNode.childNodes,n=t["s-sn"],a=o.length-1;a>=0;a--)s=o[a],s["s-cn"]||s["s-nr"]||s["s-hn"]===t["s-hn"]||(isNodeLocatedInSlot(s,n)?(l=relocateNodes.find((e=>e.$nodeToRelocate$===s)),checkSlotFallbackVisibility=!0,s["s-sn"]=s["s-sn"]||n,l?l.$slotRefNode$=t:relocateNodes.push({$slotRefNode$:t,$nodeToRelocate$:s}),s["s-sr"]&&relocateNodes.map((e=>{isNodeLocatedInSlot(e.$nodeToRelocate$,s["s-sn"])&&(l=relocateNodes.find((e=>e.$nodeToRelocate$===s)),l&&!e.$slotRefNode$&&(e.$slotRefNode$=l.$slotRefNode$))}))):relocateNodes.some((e=>e.$nodeToRelocate$===s))||relocateNodes.push({$nodeToRelocate$:s}));1===t.nodeType&&relocateSlotContent(t)}},isNodeLocatedInSlot=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,callNodeRefs=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(callNodeRefs)},renderVdom=(e,t)=>{const s=e.$hostElement$,o=e.$cmpMeta$,n=e.$vnode$||newVNode(null,null),l=(a=t)&&a.$tag$===Host?t:h(null,null,t);var a;if(hostTagName=s.tagName,o.$attrsToReflect$&&(l.$attrs$=l.$attrs$||{},o.$attrsToReflect$.map((([e,t])=>l.$attrs$[t]=s[e]))),l.$tag$=null,l.$flags$|=4,e.$vnode$=l,l.$elm$=n.$elm$=s.shadowRoot||s,scopeId=s["s-sc"],contentRef=s["s-cr"],useNativeShadowDom=0!=(1&o.$flags$),checkSlotFallbackVisibility=!1,patch(n,l),plt.$flags$|=1,checkSlotRelocate){let e,t,s,o,n,a;relocateSlotContent(l.$elm$);let r=0;for(;r<relocateNodes.length;r++)e=relocateNodes[r],t=e.$nodeToRelocate$,t["s-ol"]||(s=doc.createTextNode(""),s["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=s,t));for(r=0;r<relocateNodes.length;r++)if(e=relocateNodes[r],t=e.$nodeToRelocate$,e.$slotRefNode$){for(o=e.$slotRefNode$.parentNode,n=e.$slotRefNode$.nextSibling,s=t["s-ol"];s=s.previousSibling;)if(a=s["s-nr"],a&&a["s-sn"]===t["s-sn"]&&o===a.parentNode&&(a=a.nextSibling,!a||!a["s-nr"])){n=a;break}(!n&&o!==t.parentNode||t.nextSibling!==n)&&t!==n&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),o.insertBefore(t,n))}else 1===t.nodeType&&(t.hidden=!0)}checkSlotFallbackVisibility&&updateFallbackSlotVisibility(l.$elm$),plt.$flags$&=-2,relocateNodes.length=0},attachToAncestor=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.$onRenderResolve$=t)))},scheduleUpdate=(e,t)=>{if(e.$flags$|=16,!(4&e.$flags$))return attachToAncestor(e,e.$ancestorComponent$),writeTask((()=>dispatchHooks(e,t)));e.$flags$|=512},dispatchHooks=(e,t)=>{const s=(e.$cmpMeta$.$tagName$,()=>{}),o=e.$lazyInstance$;let n;return t&&(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map((([e,t])=>safeCall(o,e,t))),e.$queuedListeners$=null),n=safeCall(o,"componentWillLoad")),s(),then(n,(()=>updateComponent(e,o,t)))},updateComponent=async(e,t,s)=>{const o=e.$hostElement$,n=(e.$cmpMeta$.$tagName$,()=>{}),l=o["s-rc"];s&&attachStyles(e);const a=(e.$cmpMeta$.$tagName$,()=>{});callRender(e,t),l&&(l.map((e=>e())),o["s-rc"]=void 0),a(),n();{const t=o["s-p"],s=()=>postUpdateComponent(e);0===t.length?s():(Promise.all(t).then(s),e.$flags$|=4,t.length=0)}},callRender=(e,t,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,renderVdom(e,t)}catch(t){consoleError(t,e.$hostElement$)}return null},postUpdateComponent=e=>{e.$cmpMeta$.$tagName$;const t=e.$hostElement$,s=e.$lazyInstance$,o=e.$ancestorComponent$;safeCall(s,"componentDidRender"),64&e.$flags$||(e.$flags$|=64,addHydratedFlag(t),safeCall(s,"componentDidLoad"),e.$onReadyResolve$(t),o||appDidLoad()),e.$onInstanceResolve$(t),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),512&e.$flags$&&nextTick((()=>scheduleUpdate(e,!1))),e.$flags$&=-517},appDidLoad=e=>{addHydratedFlag(doc.documentElement),nextTick((()=>emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})))},safeCall=(e,t,s)=>{if(e&&e[t])try{return e[t](s)}catch(e){consoleError(e)}},then=(e,t)=>e&&e.then?e.then(t):t(),addHydratedFlag=e=>e.classList.add("hydrated"),getValue=(e,t)=>getHostRef(e).$instanceValues$.get(t),setValue=(e,t,s,o)=>{const n=getHostRef(e),l=n.$hostElement$,a=n.$instanceValues$.get(t),r=n.$flags$,$=n.$lazyInstance$;var c,i;c=s,i=o.$members$[t][0],s=null==c||isComplexType(c)?c:4&i?"false"!==c&&(""===c||!!c):2&i?parseFloat(c):1&i?String(c):c;const d=Number.isNaN(a)&&Number.isNaN(s);if((!(8&r)||void 0===a)&&s!==a&&!d&&(n.$instanceValues$.set(t,s),$)){if(o.$watchers$&&128&r){const e=o.$watchers$[t];e&&e.map((e=>{try{$[e](s,a,t)}catch(e){consoleError(e,l)}}))}2==(18&r)&&scheduleUpdate(n,!1)}},proxyComponent=(e,t,s)=>{if(t.$members$){e.watchers&&(t.$watchers$=e.watchers);const o=Object.entries(t.$members$),n=e.prototype;if(o.map((([e,[o]])=>{31&o||2&s&&32&o?Object.defineProperty(n,e,{get(){return t=e,getHostRef(this).$instanceValues$.get(t);var t},set(s){setValue(this,e,s,t)},configurable:!0,enumerable:!0}):1&s&&64&o&&Object.defineProperty(n,e,{value(...t){const s=getHostRef(this);return s.$onInstancePromise$.then((()=>s.$lazyInstance$[e](...t)))}})})),1&s){const s=new Map;n.attributeChangedCallback=function(e,t,o){plt.jmp((()=>{const t=s.get(e);if(this.hasOwnProperty(t))o=this[t],delete this[t];else if(n.hasOwnProperty(t)&&"number"==typeof this[t]&&this[t]==o)return;this[t]=(null!==o||"boolean"!=typeof this[t])&&o}))},e.observedAttributes=o.filter((([e,t])=>15&t[0])).map((([e,o])=>{const n=o[1]||e;return s.set(n,e),512&o[0]&&t.$attrsToReflect$.push([e,n]),n}))}}return e},initializeComponent=async(e,t,s,o,n)=>{if(0==(32&t.$flags$)){{if(t.$flags$|=32,(n=loadModule(s)).then){const e=()=>{};n=await n,e()}n.isProxied||(s.$watchers$=n.watchers,proxyComponent(n,s,2),n.isProxied=!0);const e=(s.$tagName$,()=>{});t.$flags$|=8;try{new n(t)}catch(e){consoleError(e)}t.$flags$&=-9,t.$flags$|=128,e()}if(n.style){let e=n.style;const t=getScopeId(s);if(!styles.has(t)){const o=(s.$tagName$,()=>{});registerStyle(t,e,!!(1&s.$flags$)),o()}}}const l=t.$ancestorComponent$,a=()=>scheduleUpdate(t,!0);l&&l["s-rc"]?l["s-rc"].push(a):a()},connectedCallback=e=>{if(0==(1&plt.$flags$)){const t=getHostRef(e),s=t.$cmpMeta$,o=(s.$tagName$,()=>{});if(1&t.$flags$)addHostEventListeners(e,t,s.$listeners$);else{t.$flags$|=1,12&s.$flags$&&setContentReference(e);{let s=e;for(;s=s.parentNode||s.host;)if(s["s-p"]){attachToAncestor(t,t.$ancestorComponent$=s);break}}s.$members$&&Object.entries(s.$members$).map((([t,[s]])=>{if(31&s&&e.hasOwnProperty(t)){const s=e[t];delete e[t],e[t]=s}})),initializeComponent(0,t,s)}o()}},setContentReference=e=>{const t=e["s-cr"]=doc.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},disconnectedCallback=e=>{if(0==(1&plt.$flags$)){const t=getHostRef(e),s=t.$lazyInstance$;t.$rmListeners$&&(t.$rmListeners$.map((e=>e())),t.$rmListeners$=void 0),safeCall(s,"disconnectedCallback")}},bootstrapLazy=(e,t={})=>{const s=[],o=t.exclude||[],n=win.customElements,l=doc.head,a=l.querySelector("meta[charset]"),r=doc.createElement("style"),$=[];let c,i=!0;Object.assign(plt,t),plt.$resourcesUrl$=new URL(t.resourcesUrl||"./",doc.baseURI).href,e.map((e=>{e[1].map((t=>{const l={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};l.$members$=t[2],l.$listeners$=t[3],l.$attrsToReflect$=[],l.$watchers$={};const a=l.$tagName$,r=class extends HTMLElement{constructor(e){super(e),registerHost(e=this,l),1&l.$flags$&&e.attachShadow({mode:"open"})}connectedCallback(){c&&(clearTimeout(c),c=null),i?$.push(this):plt.jmp((()=>connectedCallback(this)))}disconnectedCallback(){plt.jmp((()=>disconnectedCallback(this)))}componentOnReady(){return getHostRef(this).$onReadyPromise$}};l.$lazyBundleId$=e[0],o.includes(a)||n.get(a)||(s.push(a),n.define(a,proxyComponent(r,l,1)))}))})),r.innerHTML=s+HYDRATED_CSS,r.setAttribute("data-styles",""),l.insertBefore(r,a?a.nextSibling:l.firstChild),i=!1,$.length?$.map((e=>e.connectedCallback())):plt.jmp((()=>c=setTimeout(appDidLoad,30)))},addHostEventListeners=(e,t,s,o)=>{s&&s.map((([s,o,n])=>{const l=getHostListenerTarget(e,s),a=hostListenerProxy(t,n),r=hostListenerOpts(s);plt.ael(l,o,a,r),(t.$rmListeners$=t.$rmListeners$||[]).push((()=>plt.rel(l,o,a,r)))}))},hostListenerProxy=(e,t)=>s=>{try{256&e.$flags$?e.$lazyInstance$[t](s):(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,s])}catch(e){consoleError(e)}},getHostListenerTarget=(e,t)=>8&t?win:e,hostListenerOpts=e=>0!=(2&e),hostRefs=new WeakMap,getHostRef=e=>hostRefs.get(e),registerInstance=(e,t)=>hostRefs.set(t.$lazyInstance$=e,t),registerHost=(e,t)=>{const s={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return s.$onInstancePromise$=new Promise((e=>s.$onInstanceResolve$=e)),s.$onReadyPromise$=new Promise((e=>s.$onReadyResolve$=e)),e["s-p"]=[],e["s-rc"]=[],addHostEventListeners(e,s,t.$listeners$),hostRefs.set(e,s)},isMemberInElement=(e,t)=>t in e,consoleError=(e,t)=>(0,console.error)(e,t),cmpModules=new Map,loadModule=(e,t,s)=>{const o=e.$tagName$.replace(/-/g,"_"),n=e.$lazyBundleId$,l=cmpModules.get(n);return l?l[o]:Promise.resolve().then((function(){return _interopNamespace(require(`./${n}.entry.js`))})).then((e=>(cmpModules.set(n,e),e[o])),consoleError)},styles=new Map,win="undefined"!=typeof window?window:{},doc=win.document||{head:{}},plt={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,o)=>e.addEventListener(t,s,o),rel:(e,t,s,o)=>e.removeEventListener(t,s,o),ce:(e,t)=>new CustomEvent(e,t)},promiseResolve=e=>Promise.resolve(e),supportsConstructableStylesheets=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),queueDomReads=[],queueDomWrites=[],queueTask=(e,t)=>s=>{e.push(s),queuePending||(queuePending=!0,t&&4&plt.$flags$?nextTick(flush):plt.raf(flush))},consume=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){consoleError(e)}e.length=0},flush=()=>{consume(queueDomReads),consume(queueDomWrites),(queuePending=queueDomReads.length>0)&&plt.raf(flush)},nextTick=e=>promiseResolve().then(e),writeTask=queueTask(queueDomWrites,!0);exports.Host=Host,exports.bootstrapLazy=bootstrapLazy,exports.createEvent=createEvent,exports.getElement=getElement,exports.h=h,exports.promiseResolve=promiseResolve,exports.registerInstance=registerInstance;