pushfeedback 0.1.22 → 0.1.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist/cjs/feedback-button_2.cjs.entry.js +1 -1
  2. package/dist/cjs/index-fb471064.js +1 -1
  3. package/dist/cjs/index.cjs.js +1 -1
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/pushfeedback.cjs.js +1 -1
  6. package/dist/collection/components/feedback-button/feedback-button.js +1 -1
  7. package/dist/collection/components/feedback-modal/feedback-modal.js +1 -1
  8. package/dist/collection/index.js +1 -1
  9. package/dist/components/feedback-button.js +1 -1
  10. package/dist/components/feedback-modal.js +1 -1
  11. package/dist/components/feedback-modal2.js +8156 -1
  12. package/dist/components/index.js +3 -1
  13. package/dist/esm/feedback-button_2.entry.js +8194 -1
  14. package/dist/esm/index-16e15d67.js +1466 -1
  15. package/dist/esm/index.js +1 -0
  16. package/dist/esm/loader.js +18 -1
  17. package/dist/esm/polyfills/core-js.js +11 -1
  18. package/dist/esm/polyfills/css-shim.js +1 -1
  19. package/dist/esm/polyfills/dom.js +79 -1
  20. package/dist/esm/polyfills/es5-html-element.js +1 -1
  21. package/dist/esm/polyfills/index.js +34 -1
  22. package/dist/esm/polyfills/system.js +6 -1
  23. package/dist/esm/pushfeedback.js +18 -1
  24. package/dist/index.cjs.js +1 -1
  25. package/dist/index.js +1 -1
  26. package/dist/pushfeedback/p-1a2383a9.entry.js +22 -0
  27. package/dist/pushfeedback/p-63230cb5.js +2 -1
  28. package/dist/pushfeedback/pushfeedback.esm.js +1 -1
  29. package/dist/types/components/feedback-button/feedback-button.d.ts +2 -2
  30. package/dist/types/components/feedback-modal/feedback-modal.d.ts +2 -2
  31. package/dist/types/components.d.ts +8 -8
  32. package/package.json +1 -1
  33. package/dist/pushfeedback/p-769e4ebd.entry.js +0 -1
@@ -1 +1,1466 @@
1
- const _0x449f92=_0xd684;function _0xd684(_0xc31a74,_0x19d264){const _0x4309ad=_0x4309();return _0xd684=function(_0xd684a6,_0x3caf8b){_0xd684a6=_0xd684a6-0x170;let _0x53bcd7=_0x4309ad[_0xd684a6];return _0x53bcd7;},_0xd684(_0xc31a74,_0x19d264);}function _0x4309(){const _0x4fc479=['addEventListener','then','ael','insertBefore','split','DDDsF','s-sc','false','removeAttribute','PJWSu','AzukT','KRuRn','head','function','skHZS','removeProperty','assign','now','ywBrk','foreignObject','QVwYB','replace','createInstance','oJGtg','replaceSync','update','keKsS','$attrsToReflect$','s-rc','MstSu','aINRI','$cmpMeta$','VsImx','stsoo','disconnectedCallback','vWYUB','error','wIhxH','qDFiz','resourcesUrl','componentDidLoad','oplvp','FMkNp','FWxtU','3907871tbjiHr','gugqe','hXfac','HKhVI','scheduleUpdate','oJWpL','gpKfA','$flags$','http://www.w3.org/1999/xhtml','qSisi','jYvSt','ICcom','OgZgR','$ancestorComponent$','hsTNC','zbuPM','$onReadyResolve$','WIkdu','appload','isNaN','qKeaD','SyPfr','$tagName$','object','ordDy','LEfjz','class','HNWkH','NCcrl','ufJpK','add','jvezJ','setAttribute','xWkoU','querySelector','rPZaD','all','TmgEs','number','SbHyo','$elm$','XWBGH','SqacC','pkhpb','pRdVU','BhIFX','$attrs$','render','data-styles','getAttribute','kWGQl','afXYh','SiyMe','uFmiA','$onReadyPromise$','IJeRS','BqXPC','152JqSFtB','nextSibling','qMmYU','0|2|4|3|1','XFaUj','define','documentElement','9291xrVjoi','shadowRoot','ref','YPslM','DXvvj','weOBP','nOGmF','cZApP','FMGON','filter','link','set','svg','HeTul','style','exclude','ylRIa','isProxied','bNRQW','EizEm','KkoOo','pushfeedback','NqCTz','remove','raf','WzvPw','sMrYE','document','href','postUpdate','edyXi','resolve','SkTfa','parentNode','observedAttributes','FPLtl','adoptedStyleSheets','includes','HdNAv','1068CdKULz','LrNYv','zSQoD','MzXgC','aPeYj','Bpgqu','lgnLE','hasOwnProperty','jmp','innerHTML','QrdMX','CwzrE','MaWKP','JigRH','vfldb','s-p','nTEqI','data','kIQLY','connectedCallback','prototype','tagName','$children$','envGU','pckjM','$nonce$','$members$','MZFdr','AeKjj','eaVwu','qcyTr','txsDs','OfpsV','ueibw','14770YYGIPz','OhzkK','rel','pnEcJ','slot','kjaEs','rOfeu','$instanceValues$','$tag$','vZFmS','HApTv','jsNVQ','firstChild','tAZxV','length','defineProperty','axPsx','XbaLu','ytVyC','fBJyG','PRRJF','16177152UQqNYI','list','cScRQ','baseURI','getRootNode','8LfJDSp','$lazyInstance$','syKPe','boolean','zBKLw','wLhfC','createElementNS','2771489pWhwes','undefined','SIInF','s-si','iqGMY','ahAYC','JSTEs','LjkqO','10tDbEWi','osCGk','{visibility:hidden}.hydrated{visibility:inherit}','lYMGv','CAQIg','1199079sJGTZp','createElement','string','dGkjH','PtcdQ','UrFBa','YNVlD','lIKAs','cVPja','http://www.w3.org/2000/svg','classList','Famjm','qpNja','sOsum','Jnzeh','VNueB','get','XAHSG','$lazyBundleId$','nodeType','isArray','map','registerStyles','gHIYV','$hostElement$','nkDNK','componentWillLoad','JgQaA','host','HSDKb','PknDH','$onRenderResolve$','push','meta[name=\x22csp-nonce\x22]','meta[charset]','nonce','$text$','hydrated','PSUDK','open','attributeChangedCallback','YeaxN','.entry.js','HPOhx','Rhndh','has','APraa','keys','jeYWJ','Doyse','35214rSfVFx','ckJNt','AuFnU','slice','setProperty','eedES','44yTXIsT','unNcB','$vnode$','attachShadow','yfAOC','attachStyles','syzvV'];_0x4309=function(){return _0x4fc479;};return _0x4309();}(function(_0x3111f0,_0x270e81){const _0x483918=_0xd684,_0x110aa2=_0x3111f0();while(!![]){try{const _0x5c5765=parseInt(_0x483918(0x1b4))/0x1*(-parseInt(_0x483918(0x263))/0x2)+parseInt(_0x483918(0x25d))/0x3*(-parseInt(_0x483918(0x1ad))/0x4)+-parseInt(_0x483918(0x1fd))/0x5*(-parseInt(_0x483918(0x1db))/0x6)+parseInt(_0x483918(0x21e))/0x7*(-parseInt(_0x483918(0x217))/0x8)+-parseInt(_0x483918(0x22b))/0x9+-parseInt(_0x483918(0x226))/0xa*(parseInt(_0x483918(0x174))/0xb)+parseInt(_0x483918(0x212))/0xc;if(_0x5c5765===_0x270e81)break;else _0x110aa2['push'](_0x110aa2['shift']());}catch(_0x1f4eb7){_0x110aa2['push'](_0x110aa2['shift']());}}}(_0x4309,0x52c63));const NAMESPACE=_0x449f92(0x1c9);let scopeId,hostTagName,isSvgMode=![],queuePending=![];const createTime=(_0x2803c8,_0x11129c='')=>{{return()=>{return;};}},uniqueTime=(_0x3ef7b1,_0x99e2ca)=>{{return()=>{return;};}},HYDRATED_CSS=_0x449f92(0x228),EMPTY_OBJ={},SVG_NS=_0x449f92(0x234),HTML_NS=_0x449f92(0x17c),isDef=_0xade854=>_0xade854!=null,isComplexType=_0x55bfad=>{const _0xec6083=_0x449f92,_0xf79cca={'bbOLC':function(_0x1d2bb1,_0x4e1cc9){return _0x1d2bb1===_0x4e1cc9;},'MstSu':'object','YeaxN':_0xec6083(0x277)};return _0x55bfad=typeof _0x55bfad,_0xf79cca['bbOLC'](_0x55bfad,_0xf79cca[_0xec6083(0x287)])||_0x55bfad===_0xf79cca[_0xec6083(0x254)];};function queryNonceMetaTagContent(_0x16827b){const _0x457a72=_0x449f92,_0x4314ea={'PJWSu':function(_0x1fa9fc,_0x35e9ce){return _0x1fa9fc===_0x35e9ce;},'gpKfA':function(_0x1bace1,_0x3f3ef6){return _0x1bace1===_0x3f3ef6;},'tGLbS':_0x457a72(0x24c),'ywBrk':'content','nTEqI':function(_0x54bd51,_0x50c9cd){return _0x54bd51!==_0x50c9cd;}};var _0x1ba4d6,_0x1fa930,_0x3e4479;return(_0x3e4479=_0x4314ea[_0x457a72(0x273)](_0x1fa930=(_0x1ba4d6=_0x16827b[_0x457a72(0x276)])===null||_0x4314ea[_0x457a72(0x17a)](_0x1ba4d6,void 0x0)?void 0x0:_0x1ba4d6[_0x457a72(0x196)](_0x4314ea['tGLbS']),null)||_0x4314ea['gpKfA'](_0x1fa930,void 0x0)?void 0x0:_0x1fa930['getAttribute'](_0x4314ea[_0x457a72(0x27c)]))!==null&&_0x4314ea[_0x457a72(0x1eb)](_0x3e4479,void 0x0)?_0x3e4479:undefined;}const h=(_0x485da8,_0x57dac8,..._0x3e43c2)=>{const _0x17f3a5=_0x449f92,_0x3cff81={'uxieS':function(_0x887168,_0x5785d2){return _0x887168<_0x5785d2;},'vZFmS':function(_0x4db9d6,_0x42eb81){return _0x4db9d6(_0x42eb81);},'ICcom':function(_0x234d63,_0xf83d93){return _0x234d63!=_0xf83d93;},'KRuRn':function(_0xea8475,_0x19c82c){return _0xea8475!==_0x19c82c;},'nOGmF':_0x17f3a5(0x21a),'iqGMY':function(_0x332c12,_0x186eea){return _0x332c12!==_0x186eea;},'nkDNK':_0x17f3a5(0x277),'iOmmW':function(_0x5a9023,_0x39123f){return _0x5a9023&&_0x39123f;},'jYvSt':function(_0x5aa7a4,_0x492109){return _0x5aa7a4-_0x492109;},'MZFdr':function(_0x251cc5,_0x524d78,_0xb902df){return _0x251cc5(_0x524d78,_0xb902df);},'PtcdQ':_0x17f3a5(0x18b),'AeKjj':function(_0xa7be0,_0x538431){return _0xa7be0>_0x538431;}};let _0x5ce078=null,_0x468355=![],_0x5d2776=![];const _0x4d855d=[],_0x48dc0b=_0x160960=>{const _0x103d2b=_0x17f3a5;for(let _0x2bc1fc=0x0;_0x3cff81['uxieS'](_0x2bc1fc,_0x160960[_0x103d2b(0x20b)]);_0x2bc1fc++){_0x5ce078=_0x160960[_0x2bc1fc];if(Array[_0x103d2b(0x23f)](_0x5ce078))_0x3cff81[_0x103d2b(0x206)](_0x48dc0b,_0x5ce078);else _0x3cff81[_0x103d2b(0x17f)](_0x5ce078,null)&&_0x3cff81[_0x103d2b(0x275)](typeof _0x5ce078,_0x3cff81[_0x103d2b(0x1ba)])&&((_0x468355=_0x3cff81['iqGMY'](typeof _0x485da8,_0x3cff81[_0x103d2b(0x244)])&&!_0x3cff81[_0x103d2b(0x206)](isComplexType,_0x5ce078))&&(_0x5ce078=String(_0x5ce078)),_0x3cff81['iOmmW'](_0x468355,_0x5d2776)?_0x4d855d[_0x3cff81[_0x103d2b(0x17e)](_0x4d855d[_0x103d2b(0x20b)],0x1)][_0x103d2b(0x24f)]+=_0x5ce078:_0x4d855d['push'](_0x468355?_0x3cff81[_0x103d2b(0x1f6)](newVNode,null,_0x5ce078):_0x5ce078),_0x5d2776=_0x468355);}};_0x3cff81[_0x17f3a5(0x206)](_0x48dc0b,_0x3e43c2);if(_0x57dac8){const _0x124045=_0x57dac8['className']||_0x57dac8[_0x17f3a5(0x18e)];_0x124045&&(_0x57dac8['class']=_0x3cff81[_0x17f3a5(0x222)](typeof _0x124045,_0x3cff81[_0x17f3a5(0x22f)])?_0x124045:Object[_0x17f3a5(0x25a)](_0x124045)[_0x17f3a5(0x1bd)](_0x20fa88=>_0x124045[_0x20fa88])['join']('\x20'));}const _0x49488f=_0x3cff81['MZFdr'](newVNode,_0x485da8,null);return _0x49488f[_0x17f3a5(0x1a2)]=_0x57dac8,_0x3cff81[_0x17f3a5(0x1f7)](_0x4d855d[_0x17f3a5(0x20b)],0x0)&&(_0x49488f[_0x17f3a5(0x1f1)]=_0x4d855d),_0x49488f;},newVNode=(_0x189968,_0x5667a6)=>{const _0x126f91=_0x449f92,_0xf32434={'$flags$':0x0,'$tag$':_0x189968,'$text$':_0x5667a6,'$elm$':null,'$children$':null};{_0xf32434[_0x126f91(0x1a2)]=null;}return _0xf32434;},Host={},isHost=_0x1ce5ce=>_0x1ce5ce&&_0x1ce5ce[_0x449f92(0x205)]===Host,parsePropertyValue=(_0x56f4ae,_0xe18a2a)=>{const _0x1e29dd=_0x449f92,_0x4d4543={'vHAPb':function(_0x11beb3,_0x615551){return _0x11beb3!=_0x615551;},'rOfeu':function(_0x832f3d,_0x3b50d4){return _0x832f3d(_0x3b50d4);},'NCcrl':function(_0x50d7d5,_0x3ebb84){return _0x50d7d5&_0x3ebb84;},'qyggt':_0x1e29dd(0x271),'xWkoU':function(_0x50f400,_0x476bfe){return _0x50f400===_0x476bfe;},'VsImx':function(_0x38322c,_0xcdd48f){return _0x38322c&_0xcdd48f;},'osCGk':function(_0x4e78af,_0x160d59){return _0x4e78af(_0x160d59);}};if(_0x4d4543['vHAPb'](_0x56f4ae,null)&&!_0x4d4543[_0x1e29dd(0x203)](isComplexType,_0x56f4ae)){if(_0x4d4543[_0x1e29dd(0x190)](_0xe18a2a,0x4))return _0x56f4ae===_0x4d4543['qyggt']?![]:_0x4d4543[_0x1e29dd(0x195)](_0x56f4ae,'')||!!_0x56f4ae;if(_0x4d4543[_0x1e29dd(0x28a)](_0xe18a2a,0x1))return _0x4d4543[_0x1e29dd(0x227)](String,_0x56f4ae);return _0x56f4ae;}return _0x56f4ae;},getElement=_0x361677=>getHostRef(_0x361677)[_0x449f92(0x243)],emitEvent=(_0x4fb01b,_0x2bae33,_0x49f201)=>{const _0x589a36=plt['ce'](_0x2bae33,_0x49f201);return _0x4fb01b['dispatchEvent'](_0x589a36),_0x589a36;},rootAppliedStyles=new WeakMap(),registerStyle=(_0x5b0e1b,_0x3263be,_0x11ee6f)=>{const _0x536a91=_0x449f92,_0x3c6fa3={'zbuPM':function(_0x2a0c26,_0x5570f){return _0x2a0c26&&_0x5570f;}};let _0x3552cd=styles[_0x536a91(0x23b)](_0x5b0e1b);_0x3c6fa3[_0x536a91(0x183)](supportsConstructableStylesheets,_0x11ee6f)?(_0x3552cd=_0x3552cd||new CSSStyleSheet(),typeof _0x3552cd===_0x536a91(0x22d)?_0x3552cd=_0x3263be:_0x3552cd[_0x536a91(0x282)](_0x3263be)):_0x3552cd=_0x3263be,styles[_0x536a91(0x1bf)](_0x5b0e1b,_0x3552cd);},addStyle=(_0x3abdec,_0x38713d,_0xbc88d6,_0x1bed42)=>{const _0x186513=_0x449f92,_0x113f9f={'DXvvj':function(_0x359233,_0x35f1ba){return _0x359233(_0x35f1ba);},'Doyse':function(_0x70e7aa,_0x451f16){return _0x70e7aa===_0x451f16;},'wIhxH':_0x186513(0x22d),'XWBGH':function(_0x230d36,_0x105ef5){return _0x230d36!==_0x105ef5;},'eaVwu':function(_0x587774,_0x382ea1){return _0x587774!==_0x382ea1;},'OhzkK':function(_0x1039db,_0x3ee77f){return _0x1039db!=_0x3ee77f;},'qDFiz':_0x186513(0x24e),'hsTNC':_0x186513(0x1be)};var _0x1fa0cb;let _0x4a3a5f=_0x113f9f[_0x186513(0x1b8)](getScopeId,_0x38713d);const _0x2b450b=styles[_0x186513(0x23b)](_0x4a3a5f);_0x3abdec=_0x113f9f[_0x186513(0x25c)](_0x3abdec[_0x186513(0x23e)],0xb)?_0x3abdec:doc;if(_0x2b450b){if(typeof _0x2b450b===_0x113f9f[_0x186513(0x28f)]){_0x3abdec=_0x3abdec['head']||_0x3abdec;let _0x2ee980=rootAppliedStyles[_0x186513(0x23b)](_0x3abdec),_0x3411b6;!_0x2ee980&&rootAppliedStyles['set'](_0x3abdec,_0x2ee980=new Set());if(!_0x2ee980[_0x186513(0x258)](_0x4a3a5f)){{{_0x3411b6=doc[_0x186513(0x22c)](_0x186513(0x1c2)),_0x3411b6[_0x186513(0x1e4)]=_0x2b450b;}const _0x19eea8=_0x113f9f[_0x186513(0x19d)](_0x1fa0cb=plt[_0x186513(0x1f4)],null)&&_0x113f9f[_0x186513(0x1f8)](_0x1fa0cb,void 0x0)?_0x1fa0cb:queryNonceMetaTagContent(doc);_0x113f9f[_0x186513(0x1fe)](_0x19eea8,null)&&_0x3411b6[_0x186513(0x194)](_0x113f9f[_0x186513(0x290)],_0x19eea8),_0x3abdec[_0x186513(0x26d)](_0x3411b6,_0x3abdec['querySelector'](_0x113f9f[_0x186513(0x182)]));}_0x2ee980&&_0x2ee980[_0x186513(0x192)](_0x4a3a5f);}}else!_0x3abdec[_0x186513(0x1d8)][_0x186513(0x1d9)](_0x2b450b)&&(_0x3abdec[_0x186513(0x1d8)]=[..._0x3abdec[_0x186513(0x1d8)],_0x2b450b]);}return _0x4a3a5f;},attachStyles=_0x2db878=>{const _0x2d26d1=_0x449f92,_0x4e206a={'zBKLw':function(_0x18a9d9,_0x112df1,_0x50813a){return _0x18a9d9(_0x112df1,_0x50813a);},'QrdMX':function(_0x8a2e8e,_0x32cb68){return _0x8a2e8e&_0x32cb68;},'WCmgT':_0x2d26d1(0x270),'jUhxq':function(_0x547806){return _0x547806();}},_0x4872ef=_0x2db878[_0x2d26d1(0x289)],_0x1358b3=_0x2db878[_0x2d26d1(0x243)],_0x26b82e=_0x4872ef[_0x2d26d1(0x17b)],_0x18300e=_0x4e206a['zBKLw'](createTime,_0x2d26d1(0x268),_0x4872ef[_0x2d26d1(0x18a)]),_0x1a1f69=_0x4e206a[_0x2d26d1(0x21b)](addStyle,_0x1358b3[_0x2d26d1(0x1b5)]?_0x1358b3['shadowRoot']:_0x1358b3[_0x2d26d1(0x216)](),_0x4872ef);_0x4e206a[_0x2d26d1(0x1e5)](_0x26b82e,0xa)&&(_0x1358b3[_0x4e206a['WCmgT']]=_0x1a1f69,_0x1358b3['classList'][_0x2d26d1(0x192)](_0x1a1f69+'-h')),_0x4e206a['jUhxq'](_0x18300e);},getScopeId=(_0x319baa,_0x56485b)=>'sc-'+_0x319baa['$tagName$'],setAccessor=(_0x51f8d8,_0x29c6b3,_0x27fef9,_0x50b715,_0x536747,_0x29285e)=>{const _0x5574d1=_0x449f92,_0x40a614={'FMkNp':function(_0x2c25ae,_0x5efe26){return _0x2c25ae!==_0x5efe26;},'jvezJ':function(_0x4ffc01,_0x4952c7,_0x282789){return _0x4ffc01(_0x4952c7,_0x282789);},'rPZaD':function(_0x806b86,_0x3794ed){return _0x806b86===_0x3794ed;},'EPQBf':'class','cVPja':function(_0x105edd,_0x187545){return _0x105edd(_0x187545);},'ITjsG':function(_0x58e95e,_0xe91b59){return _0x58e95e(_0xe91b59);},'JigRH':function(_0x18372b,_0x45d460){return _0x18372b===_0x45d460;},'ylRIa':_0x5574d1(0x1c2),'cZApP':function(_0x380b57,_0x5a631d){return _0x380b57===_0x5a631d;},'Fbrrq':_0x5574d1(0x1b6),'uFmiA':function(_0xb329e6,_0x1c2ec0){return _0xb329e6(_0x1c2ec0);},'envGU':function(_0x5f4183,_0x79cdef){return _0x5f4183===_0x79cdef;},'PknDH':function(_0x257d53,_0x2b52d1){return _0x257d53===_0x2b52d1;},'lIKAs':function(_0x9aa029,_0xd23ec4){return _0x9aa029+_0xd23ec4;},'QVwYB':function(_0x3e7b17,_0xe2d520){return _0x3e7b17==_0xe2d520;},'jeYWJ':function(_0x3cc82b,_0x5965f5){return _0x3cc82b===_0x5965f5;},'kWGQl':_0x5574d1(0x213),'KkoOo':function(_0x1d2882,_0x32cbdf){return _0x1d2882!=_0x32cbdf;},'YPslM':function(_0x112b21,_0x2d9700){return _0x112b21==_0x2d9700;},'axPsx':function(_0x1a4cb0,_0x2b3484){return _0x1a4cb0===_0x2b3484;},'XbaLu':function(_0x554e0b,_0x27e257){return _0x554e0b&_0x27e257;},'CwzrE':function(_0x5bdcc2,_0x5eac39){return _0x5bdcc2===_0x5eac39;}};if(_0x40a614[_0x5574d1(0x172)](_0x27fef9,_0x50b715)){let _0x54ed4b=_0x40a614[_0x5574d1(0x193)](isMemberInElement,_0x51f8d8,_0x29c6b3),_0x2eda8f=_0x29c6b3['toLowerCase']();if(_0x40a614[_0x5574d1(0x197)](_0x29c6b3,_0x40a614['EPQBf'])){const _0x4734e1=_0x51f8d8[_0x5574d1(0x235)],_0x3f11c0=_0x40a614[_0x5574d1(0x233)](parseClassList,_0x27fef9),_0xaedbdf=_0x40a614['ITjsG'](parseClassList,_0x50b715);_0x4734e1[_0x5574d1(0x1cb)](..._0x3f11c0['filter'](_0xefba7f=>_0xefba7f&&!_0xaedbdf[_0x5574d1(0x1d9)](_0xefba7f))),_0x4734e1[_0x5574d1(0x192)](..._0xaedbdf['filter'](_0x1eabec=>_0x1eabec&&!_0x3f11c0[_0x5574d1(0x1d9)](_0x1eabec)));}else{if(_0x40a614[_0x5574d1(0x1e8)](_0x29c6b3,_0x40a614[_0x5574d1(0x1c4)])){{for(const _0x55d3ca in _0x27fef9){(!_0x50b715||_0x50b715[_0x55d3ca]==null)&&(_0x55d3ca[_0x5574d1(0x1d9)]('-')?_0x51f8d8['style'][_0x5574d1(0x279)](_0x55d3ca):_0x51f8d8[_0x5574d1(0x1c2)][_0x55d3ca]='');}}for(const _0x2b7f7b in _0x50b715){(!_0x27fef9||_0x40a614[_0x5574d1(0x172)](_0x50b715[_0x2b7f7b],_0x27fef9[_0x2b7f7b]))&&(_0x2b7f7b[_0x5574d1(0x1d9)]('-')?_0x51f8d8[_0x5574d1(0x1c2)][_0x5574d1(0x261)](_0x2b7f7b,_0x50b715[_0x2b7f7b]):_0x51f8d8[_0x5574d1(0x1c2)][_0x2b7f7b]=_0x50b715[_0x2b7f7b]);}}else{if(_0x40a614[_0x5574d1(0x1bb)](_0x29c6b3,_0x40a614['Fbrrq']))_0x50b715&&_0x40a614[_0x5574d1(0x1a9)](_0x50b715,_0x51f8d8);else{if(!_0x54ed4b&&_0x40a614[_0x5574d1(0x1f2)](_0x29c6b3[0x0],'o')&&_0x29c6b3[0x1]==='n'){if(_0x40a614[_0x5574d1(0x249)](_0x29c6b3[0x2],'-'))_0x29c6b3=_0x29c6b3[_0x5574d1(0x260)](0x3);else isMemberInElement(win,_0x2eda8f)?_0x29c6b3=_0x2eda8f[_0x5574d1(0x260)](0x2):_0x29c6b3=_0x40a614[_0x5574d1(0x232)](_0x2eda8f[0x2],_0x29c6b3['slice'](0x3));_0x27fef9&&plt[_0x5574d1(0x1ff)](_0x51f8d8,_0x29c6b3,_0x27fef9,![]),_0x50b715&&plt[_0x5574d1(0x26c)](_0x51f8d8,_0x29c6b3,_0x50b715,![]);}else{const _0x10ffe6=isComplexType(_0x50b715);if((_0x54ed4b||_0x10ffe6&&_0x40a614[_0x5574d1(0x172)](_0x50b715,null))&&!_0x536747)try{if(!_0x51f8d8[_0x5574d1(0x1f0)][_0x5574d1(0x1d9)]('-')){const _0x1265bb=_0x40a614[_0x5574d1(0x27e)](_0x50b715,null)?'':_0x50b715;if(_0x40a614[_0x5574d1(0x25b)](_0x29c6b3,_0x40a614[_0x5574d1(0x1a6)]))_0x54ed4b=![];else(_0x40a614[_0x5574d1(0x27e)](_0x27fef9,null)||_0x40a614[_0x5574d1(0x1c8)](_0x51f8d8[_0x29c6b3],_0x1265bb))&&(_0x51f8d8[_0x29c6b3]=_0x1265bb);}else _0x51f8d8[_0x29c6b3]=_0x50b715;}catch(_0x54b682){}if(_0x40a614[_0x5574d1(0x1b7)](_0x50b715,null)||_0x40a614[_0x5574d1(0x20d)](_0x50b715,![])){if(_0x50b715!==![]||_0x51f8d8[_0x5574d1(0x1a5)](_0x29c6b3)===''){_0x51f8d8[_0x5574d1(0x272)](_0x29c6b3);}}else{if((!_0x54ed4b||_0x40a614[_0x5574d1(0x20e)](_0x29285e,0x4)||_0x536747)&&!_0x10ffe6){_0x50b715=_0x40a614[_0x5574d1(0x1e6)](_0x50b715,!![])?'':_0x50b715;{_0x51f8d8['setAttribute'](_0x29c6b3,_0x50b715);}}}}}}}}},parseClassListRegex=/\s/,parseClassList=_0x5b6cea=>!_0x5b6cea?[]:_0x5b6cea[_0x449f92(0x26e)](parseClassListRegex),updateElement=(_0x377a3b,_0x3b4f6c,_0x9740b7,_0x17de5a)=>{const _0x3817c5=_0x449f92,_0x401278={'ErneV':function(_0x4b0cc2,_0x55eada){return _0x4b0cc2===_0x55eada;},'mnfsU':function(_0x34cf53,_0xbf1cd5){return _0x34cf53 in _0xbf1cd5;},'DDDsF':function(_0x2a7593,_0x41e509,_0x5ad2af,_0x31e0f8,_0x470174,_0x963709,_0x11bafc){return _0x2a7593(_0x41e509,_0x5ad2af,_0x31e0f8,_0x470174,_0x963709,_0x11bafc);}},_0x27807f=_0x401278['ErneV'](_0x3b4f6c[_0x3817c5(0x19c)][_0x3817c5(0x23e)],0xb)&&_0x3b4f6c['$elm$'][_0x3817c5(0x247)]?_0x3b4f6c['$elm$'][_0x3817c5(0x247)]:_0x3b4f6c[_0x3817c5(0x19c)],_0x98b471=_0x377a3b&&_0x377a3b[_0x3817c5(0x1a2)]||EMPTY_OBJ,_0xade496=_0x3b4f6c[_0x3817c5(0x1a2)]||EMPTY_OBJ;{for(_0x17de5a in _0x98b471){!_0x401278['mnfsU'](_0x17de5a,_0xade496)&&_0x401278['DDDsF'](setAccessor,_0x27807f,_0x17de5a,_0x98b471[_0x17de5a],undefined,_0x9740b7,_0x3b4f6c[_0x3817c5(0x17b)]);}}for(_0x17de5a in _0xade496){_0x401278[_0x3817c5(0x26f)](setAccessor,_0x27807f,_0x17de5a,_0x98b471[_0x17de5a],_0xade496[_0x17de5a],_0x9740b7,_0x3b4f6c[_0x3817c5(0x17b)]);}},createElm=(_0x2db2b5,_0x27ebfd,_0xae93e5,_0x49119b)=>{const _0x4b640f=_0x449f92,_0x52dc6a={'edyXi':function(_0x3f0735,_0x1d291b){return _0x3f0735!==_0x1d291b;},'zSQoD':'4|5|1|2|6|0|3','MOsvS':function(_0x19b2e7,_0x45a82f){return _0x19b2e7<_0x45a82f;},'aINRI':function(_0x5a74a3,_0x1192ca){return _0x5a74a3===_0x1192ca;},'bNRQW':_0x4b640f(0x27d),'SIInF':function(_0x430c93,_0x5ef3ca,_0x7388f6,_0x4210ff){return _0x430c93(_0x5ef3ca,_0x7388f6,_0x4210ff);},'HPOhx':_0x4b640f(0x1c0),'VmffG':_0x4b640f(0x221)},_0x3de484=_0x27ebfd[_0x4b640f(0x1f1)][_0xae93e5];let _0x111902=0x0,_0x1ae095,_0xea2856;if(_0x52dc6a[_0x4b640f(0x1d2)](_0x3de484[_0x4b640f(0x24f)],null))_0x1ae095=_0x3de484[_0x4b640f(0x19c)]=doc['createTextNode'](_0x3de484['$text$']);else{const _0x1e2147=_0x52dc6a[_0x4b640f(0x1dd)]['split']('|');let _0x4da798=0x0;while(!![]){switch(_0x1e2147[_0x4da798++]){case'0':if(_0x3de484[_0x4b640f(0x1f1)])for(_0x111902=0x0;_0x52dc6a['MOsvS'](_0x111902,_0x3de484['$children$'][_0x4b640f(0x20b)]);++_0x111902){_0xea2856=createElm(_0x2db2b5,_0x3de484,_0x111902),_0xea2856&&_0x1ae095['appendChild'](_0xea2856);}continue;case'1':isSvgMode&&_0x52dc6a['aINRI'](_0x3de484[_0x4b640f(0x205)],_0x52dc6a[_0x4b640f(0x1c6)])&&(isSvgMode=![]);continue;case'2':{_0x52dc6a[_0x4b640f(0x220)](updateElement,null,_0x3de484,isSvgMode);}continue;case'3':{if(_0x52dc6a[_0x4b640f(0x288)](_0x3de484[_0x4b640f(0x205)],_0x4b640f(0x1c0)))isSvgMode=![];else _0x1ae095[_0x4b640f(0x1f0)]===_0x4b640f(0x27d)&&(isSvgMode=!![]);}continue;case'4':!isSvgMode&&(isSvgMode=_0x52dc6a[_0x4b640f(0x288)](_0x3de484[_0x4b640f(0x205)],_0x52dc6a[_0x4b640f(0x256)]));continue;case'5':_0x1ae095=_0x3de484[_0x4b640f(0x19c)]=doc[_0x4b640f(0x21d)](isSvgMode?SVG_NS:HTML_NS,_0x3de484[_0x4b640f(0x205)]);continue;case'6':isDef(scopeId)&&_0x1ae095[_0x52dc6a['VmffG']]!==scopeId&&_0x1ae095[_0x4b640f(0x235)]['add'](_0x1ae095[_0x52dc6a['VmffG']]=scopeId);continue;}break;}}return _0x1ae095;},addVnodes=(_0x48c294,_0x27d625,_0x5acebd,_0x58b0cc,_0x1b51ef,_0x441694)=>{const _0x4bad5c=_0x449f92,_0x539f7f={'gugqe':function(_0x42a96e,_0xdea7a2){return _0x42a96e===_0xdea7a2;},'eoUNJ':function(_0x4b8b8e,_0x3d9f9a){return _0x4b8b8e<=_0x3d9f9a;}};let _0x1b1f54=_0x48c294,_0x27d9bd;_0x1b1f54[_0x4bad5c(0x1b5)]&&_0x539f7f[_0x4bad5c(0x175)](_0x1b1f54[_0x4bad5c(0x1f0)],hostTagName)&&(_0x1b1f54=_0x1b1f54[_0x4bad5c(0x1b5)]);for(;_0x539f7f['eoUNJ'](_0x1b51ef,_0x441694);++_0x1b51ef){_0x58b0cc[_0x1b51ef]&&(_0x27d9bd=createElm(null,_0x5acebd,_0x1b51ef),_0x27d9bd&&(_0x58b0cc[_0x1b51ef][_0x4bad5c(0x19c)]=_0x27d9bd,_0x1b1f54['insertBefore'](_0x27d9bd,_0x27d625)));}},removeVnodes=(_0x39bb7b,_0x3413a6,_0x32ee3e,_0x59b8fe,_0x2dea42)=>{const _0x2dc697=_0x449f92,_0xb2bdb3={'UuKMt':function(_0x477178,_0x23aecf){return _0x477178(_0x23aecf);}};for(;_0x3413a6<=_0x32ee3e;++_0x3413a6){(_0x59b8fe=_0x39bb7b[_0x3413a6])&&(_0x2dea42=_0x59b8fe['$elm$'],_0xb2bdb3['UuKMt'](callNodeRefs,_0x59b8fe),_0x2dea42[_0x2dc697(0x1cb)]());}},updateChildren=(_0x9af765,_0x37ae18,_0x30cd0c,_0x71b83e)=>{const _0x55814b=_0x449f92,_0x3159f5={'VNueB':function(_0x33bd9b,_0x45b15e){return _0x33bd9b-_0x45b15e;},'SbHyo':function(_0x15974c,_0x82ac77){return _0x15974c-_0x82ac77;},'OfpsV':function(_0x4e9ddc,_0x273212){return _0x4e9ddc==_0x273212;},'wLhfC':function(_0x9196b7,_0x47d0ae){return _0x9196b7==_0x47d0ae;},'pckjM':function(_0x776a6a,_0x38c446){return _0x776a6a==_0x38c446;},'cScRQ':function(_0x53e757,_0x36b619){return _0x53e757==_0x36b619;},'HKhVI':function(_0xd38d79,_0x6d7cf1,_0x49bb5e){return _0xd38d79(_0x6d7cf1,_0x49bb5e);},'syzvV':function(_0x536cfd,_0x3e6846,_0x174f6c){return _0x536cfd(_0x3e6846,_0x174f6c);},'XFaUj':function(_0x129e55,_0x2c9521,_0x211e9f){return _0x129e55(_0x2c9521,_0x211e9f);},'PRRJF':function(_0x16e2ef,_0x2de581,_0x3ec309,_0x50289b){return _0x16e2ef(_0x2de581,_0x3ec309,_0x50289b);},'ILBTg':function(_0x46bbba,_0x372d70){return _0x46bbba>_0x372d70;},'pfHtc':function(_0x5d68d1,_0x5e8668,_0x5437db,_0x299c19,_0x577db3,_0x5a2d48,_0x372ae7){return _0x5d68d1(_0x5e8668,_0x5437db,_0x299c19,_0x577db3,_0x5a2d48,_0x372ae7);},'FPLtl':function(_0x5bc43c,_0x4c3af3){return _0x5bc43c==_0x4c3af3;},'dHHMq':function(_0x11bc93,_0x20140c){return _0x11bc93+_0x20140c;},'pkhpb':function(_0x3dd817,_0xf20e98){return _0x3dd817>_0xf20e98;},'weOBP':function(_0x41013c,_0x3c86f5,_0x4b2494,_0x20a715){return _0x41013c(_0x3c86f5,_0x4b2494,_0x20a715);}};let _0x4a8cee=0x0,_0x345f2a=0x0,_0x3121fa=_0x3159f5[_0x55814b(0x23a)](_0x37ae18[_0x55814b(0x20b)],0x1),_0x5d7496=_0x37ae18[0x0],_0x3a5199=_0x37ae18[_0x3121fa],_0x3c8860=_0x3159f5[_0x55814b(0x19b)](_0x71b83e[_0x55814b(0x20b)],0x1),_0x5de97a=_0x71b83e[0x0],_0x8c54f3=_0x71b83e[_0x3c8860],_0x392c2b;while(_0x4a8cee<=_0x3121fa&&_0x345f2a<=_0x3c8860){if(_0x3159f5[_0x55814b(0x1fb)](_0x5d7496,null))_0x5d7496=_0x37ae18[++_0x4a8cee];else{if(_0x3159f5[_0x55814b(0x21c)](_0x3a5199,null))_0x3a5199=_0x37ae18[--_0x3121fa];else{if(_0x3159f5[_0x55814b(0x1f3)](_0x5de97a,null))_0x5de97a=_0x71b83e[++_0x345f2a];else{if(_0x3159f5[_0x55814b(0x214)](_0x8c54f3,null))_0x8c54f3=_0x71b83e[--_0x3c8860];else{if(_0x3159f5[_0x55814b(0x177)](isSameVnode,_0x5d7496,_0x5de97a))patch(_0x5d7496,_0x5de97a),_0x5d7496=_0x37ae18[++_0x4a8cee],_0x5de97a=_0x71b83e[++_0x345f2a];else{if(_0x3159f5[_0x55814b(0x269)](isSameVnode,_0x3a5199,_0x8c54f3))patch(_0x3a5199,_0x8c54f3),_0x3a5199=_0x37ae18[--_0x3121fa],_0x8c54f3=_0x71b83e[--_0x3c8860];else{if(_0x3159f5[_0x55814b(0x1b1)](isSameVnode,_0x5d7496,_0x8c54f3))_0x3159f5[_0x55814b(0x269)](patch,_0x5d7496,_0x8c54f3),_0x9af765[_0x55814b(0x26d)](_0x5d7496[_0x55814b(0x19c)],_0x3a5199[_0x55814b(0x19c)]['nextSibling']),_0x5d7496=_0x37ae18[++_0x4a8cee],_0x8c54f3=_0x71b83e[--_0x3c8860];else{if(_0x3159f5[_0x55814b(0x1b1)](isSameVnode,_0x3a5199,_0x5de97a))_0x3159f5[_0x55814b(0x177)](patch,_0x3a5199,_0x5de97a),_0x9af765[_0x55814b(0x26d)](_0x3a5199['$elm$'],_0x5d7496[_0x55814b(0x19c)]),_0x3a5199=_0x37ae18[--_0x3121fa],_0x5de97a=_0x71b83e[++_0x345f2a];else{{_0x392c2b=_0x3159f5[_0x55814b(0x211)](createElm,_0x37ae18&&_0x37ae18[_0x345f2a],_0x30cd0c,_0x345f2a),_0x5de97a=_0x71b83e[++_0x345f2a];}if(_0x392c2b){_0x5d7496[_0x55814b(0x19c)][_0x55814b(0x1d5)][_0x55814b(0x26d)](_0x392c2b,_0x5d7496[_0x55814b(0x19c)]);}}}}}}}}}}if(_0x3159f5['ILBTg'](_0x4a8cee,_0x3121fa))_0x3159f5['pfHtc'](addVnodes,_0x9af765,_0x3159f5[_0x55814b(0x1d7)](_0x71b83e[_0x3159f5['dHHMq'](_0x3c8860,0x1)],null)?null:_0x71b83e[_0x3c8860+0x1][_0x55814b(0x19c)],_0x30cd0c,_0x71b83e,_0x345f2a,_0x3c8860);else _0x3159f5[_0x55814b(0x19f)](_0x345f2a,_0x3c8860)&&_0x3159f5[_0x55814b(0x1b9)](removeVnodes,_0x37ae18,_0x4a8cee,_0x3121fa);},isSameVnode=(_0x275d27,_0x52d13e)=>{const _0x49259c=_0x449f92,_0x3ee384={'GBfmx':function(_0x2ded85,_0x43a405){return _0x2ded85===_0x43a405;}};if(_0x3ee384['GBfmx'](_0x275d27['$tag$'],_0x52d13e[_0x49259c(0x205)]))return!![];return![];},patch=(_0x399bae,_0xd28f63)=>{const _0x18c0fb=_0x449f92,_0x2aed9c={'bTosp':function(_0x2c5955,_0x492c0b){return _0x2c5955===_0x492c0b;},'qcyTr':_0x18c0fb(0x1c0),'LjkqO':'foreignObject','NqCTz':function(_0x2e2e74,_0x137ec3){return _0x2e2e74===_0x137ec3;},'lYMGv':function(_0x496e49,_0x201a4c,_0x1906b3,_0x442d0d){return _0x496e49(_0x201a4c,_0x1906b3,_0x442d0d);},'oJlMF':function(_0x264777,_0x20bd51){return _0x264777!==_0x20bd51;},'eHrnp':function(_0x5f02df,_0x2573ed){return _0x5f02df!==_0x2573ed;},'HeTul':function(_0x4d179d,_0x26cda4,_0x449d7a,_0x188a1d,_0x5f08bf){return _0x4d179d(_0x26cda4,_0x449d7a,_0x188a1d,_0x5f08bf);},'OgZgR':function(_0x425071,_0x504b94){return _0x425071!==_0x504b94;},'LrNYv':function(_0x22a627,_0x1c27f3,_0x20dbbc,_0x2db341,_0x3a1ad1,_0x4b7083,_0x2b56f8){return _0x22a627(_0x1c27f3,_0x20dbbc,_0x2db341,_0x3a1ad1,_0x4b7083,_0x2b56f8);},'sMrYE':function(_0x3d1412,_0x599a3f){return _0x3d1412-_0x599a3f;}},_0x36db78=_0xd28f63[_0x18c0fb(0x19c)]=_0x399bae[_0x18c0fb(0x19c)],_0xabe903=_0x399bae[_0x18c0fb(0x1f1)],_0x201bdb=_0xd28f63['$children$'],_0x3425e7=_0xd28f63['$tag$'],_0x182cf0=_0xd28f63['$text$'];if(_0x182cf0===null){{isSvgMode=_0x2aed9c['bTosp'](_0x3425e7,_0x2aed9c[_0x18c0fb(0x1f9)])?!![]:_0x3425e7===_0x2aed9c[_0x18c0fb(0x225)]?![]:isSvgMode;}{if(_0x2aed9c[_0x18c0fb(0x1ca)](_0x3425e7,_0x18c0fb(0x201)));else _0x2aed9c[_0x18c0fb(0x229)](updateElement,_0x399bae,_0xd28f63,isSvgMode);}if(_0x2aed9c['oJlMF'](_0xabe903,null)&&_0x2aed9c['eHrnp'](_0x201bdb,null))_0x2aed9c[_0x18c0fb(0x1c1)](updateChildren,_0x36db78,_0xabe903,_0xd28f63,_0x201bdb);else{if(_0x201bdb!==null)_0x2aed9c[_0x18c0fb(0x180)](_0x399bae[_0x18c0fb(0x24f)],null)&&(_0x36db78['textContent']=''),_0x2aed9c[_0x18c0fb(0x1dc)](addVnodes,_0x36db78,null,_0xd28f63,_0x201bdb,0x0,_0x2aed9c[_0x18c0fb(0x1ce)](_0x201bdb[_0x18c0fb(0x20b)],0x1));else _0x2aed9c['eHrnp'](_0xabe903,null)&&_0x2aed9c['lYMGv'](removeVnodes,_0xabe903,0x0,_0xabe903[_0x18c0fb(0x20b)]-0x1);}isSvgMode&&_0x3425e7===_0x2aed9c['qcyTr']&&(isSvgMode=![]);}else _0x399bae[_0x18c0fb(0x24f)]!==_0x182cf0&&(_0x36db78[_0x18c0fb(0x1ec)]=_0x182cf0);},callNodeRefs=_0x5daf87=>{const _0x2b525b=_0x449f92;{_0x5daf87[_0x2b525b(0x1a2)]&&_0x5daf87[_0x2b525b(0x1a2)][_0x2b525b(0x1b6)]&&_0x5daf87[_0x2b525b(0x1a2)]['ref'](null),_0x5daf87[_0x2b525b(0x1f1)]&&_0x5daf87[_0x2b525b(0x1f1)][_0x2b525b(0x240)](callNodeRefs);}},renderVdom=(_0x3b0d2e,_0x47bc55)=>{const _0x776d71=_0x449f92,_0x451f11={'TmgEs':function(_0x3177fd,_0x32c97b,_0x1834eb,_0x2e234e){return _0x3177fd(_0x32c97b,_0x1834eb,_0x2e234e);},'MaWKP':_0x776d71(0x270),'YQRyj':function(_0xe0e8b4,_0x309763,_0x37cf30){return _0xe0e8b4(_0x309763,_0x37cf30);}},_0x4d6c41=_0x3b0d2e['$hostElement$'],_0x2d897=_0x3b0d2e[_0x776d71(0x289)],_0x3d8075=_0x3b0d2e[_0x776d71(0x265)]||newVNode(null,null),_0x5b72e=isHost(_0x47bc55)?_0x47bc55:_0x451f11[_0x776d71(0x199)](h,null,null,_0x47bc55);hostTagName=_0x4d6c41[_0x776d71(0x1f0)];_0x2d897[_0x776d71(0x285)]&&(_0x5b72e['$attrs$']=_0x5b72e[_0x776d71(0x1a2)]||{},_0x2d897['$attrsToReflect$'][_0x776d71(0x240)](([_0x4ea78b,_0x5ae1fd])=>_0x5b72e[_0x776d71(0x1a2)][_0x5ae1fd]=_0x4d6c41[_0x4ea78b]));_0x5b72e[_0x776d71(0x205)]=null,_0x5b72e['$flags$']|=0x4,_0x3b0d2e[_0x776d71(0x265)]=_0x5b72e,_0x5b72e[_0x776d71(0x19c)]=_0x3d8075[_0x776d71(0x19c)]=_0x4d6c41[_0x776d71(0x1b5)]||_0x4d6c41;{scopeId=_0x4d6c41[_0x451f11[_0x776d71(0x1e7)]];}_0x451f11['YQRyj'](patch,_0x3d8075,_0x5b72e);},attachToAncestor=(_0x3e0192,_0x57de54)=>{const _0x490894=_0x449f92,_0x1e34f4={'pRdVU':_0x490894(0x1ea)};_0x57de54&&!_0x3e0192[_0x490894(0x24a)]&&_0x57de54[_0x1e34f4[_0x490894(0x1a0)]]&&_0x57de54[_0x1e34f4['pRdVU']][_0x490894(0x24b)](new Promise(_0x51417d=>_0x3e0192[_0x490894(0x24a)]=_0x51417d));},scheduleUpdate=(_0x1b6c58,_0x2e67ed)=>{const _0x43de51=_0x449f92,_0x3e2c62={'sOsum':function(_0x516e39,_0x44cea2){return _0x516e39&_0x44cea2;},'sQvYy':function(_0x3873d4,_0x2f3452){return _0x3873d4(_0x2f3452);}};{_0x1b6c58[_0x43de51(0x17b)]|=0x10;}if(_0x3e2c62[_0x43de51(0x238)](_0x1b6c58[_0x43de51(0x17b)],0x4)){_0x1b6c58[_0x43de51(0x17b)]|=0x200;return;}attachToAncestor(_0x1b6c58,_0x1b6c58['$ancestorComponent$']);const _0x5e2a28=()=>dispatchHooks(_0x1b6c58,_0x2e67ed);return _0x3e2c62['sQvYy'](writeTask,_0x5e2a28);},dispatchHooks=(_0x456bb2,_0x5c2295)=>{const _0x250387=_0x449f92,_0x39bee6={'tkSIP':function(_0x3280ef,_0x4b3891,_0x4256c8){return _0x3280ef(_0x4b3891,_0x4256c8);},'HApTv':_0x250387(0x178),'eedES':function(_0x491017,_0x2825bb,_0x5270ba){return _0x491017(_0x2825bb,_0x5270ba);},'AzukT':_0x250387(0x245),'AuFnU':function(_0x698574,_0x207a18,_0x367d2b){return _0x698574(_0x207a18,_0x367d2b);}},_0x408316=_0x39bee6['tkSIP'](createTime,_0x39bee6[_0x250387(0x207)],_0x456bb2[_0x250387(0x289)]['$tagName$']),_0x443c66=_0x456bb2['$lazyInstance$'];let _0x3af0d1;if(_0x5c2295){_0x3af0d1=_0x39bee6[_0x250387(0x262)](safeCall,_0x443c66,_0x39bee6[_0x250387(0x274)]);}return _0x408316(),_0x39bee6[_0x250387(0x25f)](then,_0x3af0d1,()=>updateComponent(_0x456bb2,_0x443c66,_0x5c2295));},updateComponent=async(_0x1fc0cf,_0x2189ef,_0x22f101)=>{const _0x1d34ca=_0x449f92,_0x322d61={'ahAYC':_0x1d34ca(0x286),'skHZS':function(_0x2bd18c,_0x390f5c,_0x3c4686){return _0x2bd18c(_0x390f5c,_0x3c4686);},'Rhndh':_0x1d34ca(0x1a3),'SkTfa':function(_0x337ef5,_0x2046b2,_0xea11d7){return _0x337ef5(_0x2046b2,_0xea11d7);},'unNcB':function(_0x4cd8ba){return _0x4cd8ba();},'stsoo':_0x1d34ca(0x1ea),'HdNAv':function(_0x3b87d6,_0xf6c698){return _0x3b87d6===_0xf6c698;}},_0x2bf1ac=_0x1fc0cf[_0x1d34ca(0x243)],_0x3c615a=createTime(_0x1d34ca(0x283),_0x1fc0cf[_0x1d34ca(0x289)][_0x1d34ca(0x18a)]),_0x2e122c=_0x2bf1ac[_0x322d61[_0x1d34ca(0x223)]];_0x22f101&&attachStyles(_0x1fc0cf);const _0x235887=_0x322d61[_0x1d34ca(0x278)](createTime,_0x322d61[_0x1d34ca(0x257)],_0x1fc0cf[_0x1d34ca(0x289)][_0x1d34ca(0x18a)]);{_0x322d61[_0x1d34ca(0x1d4)](callRender,_0x1fc0cf,_0x2189ef);}_0x2e122c&&(_0x2e122c[_0x1d34ca(0x240)](_0x19259d=>_0x19259d()),_0x2bf1ac[_0x1d34ca(0x286)]=undefined);_0x322d61[_0x1d34ca(0x264)](_0x235887),_0x3c615a();{const _0x4b8bb5=_0x2bf1ac[_0x322d61[_0x1d34ca(0x28b)]],_0x577a18=()=>postUpdateComponent(_0x1fc0cf);_0x322d61[_0x1d34ca(0x1da)](_0x4b8bb5[_0x1d34ca(0x20b)],0x0)?_0x577a18():(Promise[_0x1d34ca(0x198)](_0x4b8bb5)[_0x1d34ca(0x26b)](_0x577a18),_0x1fc0cf[_0x1d34ca(0x17b)]|=0x4,_0x4b8bb5[_0x1d34ca(0x20b)]=0x0);}},callRender=(_0xd8d95e,_0x47bed7,_0x2ea563)=>{const _0x4283f5=_0x449f92,_0x427711={'aPeYj':function(_0x1ea6af,_0x2cad5e,_0x4aa182){return _0x1ea6af(_0x2cad5e,_0x4aa182);}};try{_0x47bed7=_0x47bed7['render']();{_0xd8d95e[_0x4283f5(0x17b)]&=~0x10;}{_0xd8d95e[_0x4283f5(0x17b)]|=0x2;}{{{renderVdom(_0xd8d95e,_0x47bed7);}}}}catch(_0x160a27){_0x427711[_0x4283f5(0x1df)](consoleError,_0x160a27,_0xd8d95e[_0x4283f5(0x243)]);}return null;},postUpdateComponent=_0x36d4d5=>{const _0x4da443=_0x449f92,_0x3ad015={'ktZph':function(_0x119566,_0x4b86f5,_0x1da315){return _0x119566(_0x4b86f5,_0x1da315);},'fBJyG':_0x4da443(0x1d1),'MzXgC':function(_0x49b7d6,_0x241251){return _0x49b7d6&_0x241251;},'ckJNt':_0x4da443(0x1b0),'Famjm':function(_0x576126){return _0x576126();},'qMmYU':function(_0x4317a8){return _0x4317a8();},'IJeRS':_0x4da443(0x170),'FMGON':function(_0x358fe7,_0x1347a8){return _0x358fe7|_0x1347a8;}},_0x56d670=_0x36d4d5[_0x4da443(0x289)]['$tagName$'],_0x1f36c3=_0x36d4d5['$hostElement$'],_0x1ae8d6=_0x3ad015['ktZph'](createTime,_0x3ad015[_0x4da443(0x210)],_0x56d670),_0x955f0f=_0x36d4d5['$lazyInstance$'],_0x405a79=_0x36d4d5['$ancestorComponent$'];if(!_0x3ad015[_0x4da443(0x1de)](_0x36d4d5[_0x4da443(0x17b)],0x40)){const _0x4cd5a2=_0x3ad015[_0x4da443(0x25e)][_0x4da443(0x26e)]('|');let _0xf42b7=0x0;while(!![]){switch(_0x4cd5a2[_0xf42b7++]){case'0':_0x36d4d5[_0x4da443(0x17b)]|=0x40;continue;case'1':{_0x36d4d5[_0x4da443(0x184)](_0x1f36c3),!_0x405a79&&_0x3ad015[_0x4da443(0x236)](appDidLoad);}continue;case'2':{addHydratedFlag(_0x1f36c3);}continue;case'3':_0x3ad015[_0x4da443(0x1af)](_0x1ae8d6);continue;case'4':{_0x3ad015['ktZph'](safeCall,_0x955f0f,_0x3ad015[_0x4da443(0x1ab)]);}continue;}break;}}else _0x3ad015[_0x4da443(0x1af)](_0x1ae8d6);{_0x36d4d5[_0x4da443(0x24a)]&&(_0x36d4d5[_0x4da443(0x24a)](),_0x36d4d5[_0x4da443(0x24a)]=undefined),_0x3ad015[_0x4da443(0x1de)](_0x36d4d5[_0x4da443(0x17b)],0x200)&&nextTick(()=>scheduleUpdate(_0x36d4d5,![])),_0x36d4d5['$flags$']&=~_0x3ad015[_0x4da443(0x1bc)](0x4,0x200);}},appDidLoad=_0x3f8379=>{const _0x289bf9=_0x449f92,_0x2c3962={'eBSdt':function(_0x470b26,_0x404c89){return _0x470b26(_0x404c89);}};{_0x2c3962['eBSdt'](addHydratedFlag,doc[_0x289bf9(0x1b3)]);}_0x2c3962['eBSdt'](nextTick,()=>emitEvent(win,_0x289bf9(0x186),{'detail':{'namespace':NAMESPACE}}));},safeCall=(_0x5c2450,_0x40eada,_0x2b14aa)=>{const _0x56c8={'qolvl':function(_0x40f61e,_0xda6ef9){return _0x40f61e(_0xda6ef9);}};if(_0x5c2450&&_0x5c2450[_0x40eada])try{return _0x5c2450[_0x40eada](_0x2b14aa);}catch(_0x1645b7){_0x56c8['qolvl'](consoleError,_0x1645b7);}return undefined;},then=(_0x1c8a22,_0x641626)=>{const _0x56d2b7=_0x449f92,_0x428f51={'kIQLY':function(_0x3b6dd3){return _0x3b6dd3();}};return _0x1c8a22&&_0x1c8a22[_0x56d2b7(0x26b)]?_0x1c8a22['then'](_0x641626):_0x428f51[_0x56d2b7(0x1ed)](_0x641626);},addHydratedFlag=_0x3a44ea=>_0x3a44ea[_0x449f92(0x235)][_0x449f92(0x192)](_0x449f92(0x250)),getValue=(_0x56ee46,_0x3c495b)=>getHostRef(_0x56ee46)[_0x449f92(0x204)][_0x449f92(0x23b)](_0x3c495b),setValue=(_0xe759d1,_0x3cb785,_0x3a15d4,_0x3d9cce)=>{const _0x24f85d=_0x449f92,_0x8b01d={'JgQaA':function(_0x4a5cee,_0x44d52a){return _0x4a5cee!==_0x44d52a;},'kMZcO':function(_0x3708e,_0x25d225){return _0x3708e&_0x25d225;},'PSUDK':function(_0x538267,_0x7de827){return _0x538267===_0x7de827;},'TdXdI':function(_0x3525aa,_0xd4651c){return _0x3525aa|_0xd4651c;}},_0x4b8541=getHostRef(_0xe759d1),_0x164466=_0x4b8541[_0x24f85d(0x204)][_0x24f85d(0x23b)](_0x3cb785),_0x46d4ba=_0x4b8541[_0x24f85d(0x17b)],_0x2bb908=_0x4b8541[_0x24f85d(0x218)];_0x3a15d4=parsePropertyValue(_0x3a15d4,_0x3d9cce[_0x24f85d(0x1f5)][_0x3cb785][0x0]);const _0x497d8c=Number[_0x24f85d(0x187)](_0x164466)&&Number[_0x24f85d(0x187)](_0x3a15d4),_0x4a5ee9=_0x8b01d[_0x24f85d(0x246)](_0x3a15d4,_0x164466)&&!_0x497d8c;(!_0x8b01d['kMZcO'](_0x46d4ba,0x8)||_0x8b01d[_0x24f85d(0x251)](_0x164466,undefined))&&_0x4a5ee9&&(_0x4b8541[_0x24f85d(0x204)][_0x24f85d(0x1bf)](_0x3cb785,_0x3a15d4),_0x2bb908&&((_0x46d4ba&_0x8b01d['TdXdI'](0x2,0x10))===0x2&&scheduleUpdate(_0x4b8541,![])));},proxyComponent=(_0x1e0236,_0x305a72,_0x5e5720)=>{const _0x42f166=_0x449f92,_0x16fb6b={'ZrDlX':function(_0x4c02a3,_0x47f9ae,_0x35aa3a){return _0x4c02a3(_0x47f9ae,_0x35aa3a);},'YNVlD':function(_0x342f7e,_0x227bb0){return _0x342f7e&_0x227bb0;},'gHIYV':function(_0x3d1911,_0x33fef4){return _0x3d1911===_0x33fef4;},'pnEcJ':function(_0xbfd9e,_0x2e83c3){return _0xbfd9e==_0x2e83c3;},'SyPfr':function(_0x499246,_0x23f6fb){return _0x499246===_0x23f6fb;},'yfAOC':function(_0x44d1df,_0xdcecf2){return _0x44d1df&_0xdcecf2;}};if(_0x305a72[_0x42f166(0x1f5)]){const _0x5b4128=Object['entries'](_0x305a72[_0x42f166(0x1f5)]),_0x28b891=_0x1e0236[_0x42f166(0x1ef)];_0x5b4128['map'](([_0x436f72,[_0x2b891e]])=>{const _0x256fae=_0x42f166,_0x350eeb={'ytVyC':function(_0x4c3f21,_0x5e4166,_0x562116){return _0x16fb6b['ZrDlX'](_0x4c3f21,_0x5e4166,_0x562116);}};(_0x16fb6b[_0x256fae(0x231)](_0x2b891e,0x1f)||_0x5e5720&0x2&&_0x2b891e&0x20)&&Object[_0x256fae(0x20c)](_0x28b891,_0x436f72,{'get'(){const _0x259cf3=_0x256fae;return _0x350eeb[_0x259cf3(0x20f)](getValue,this,_0x436f72);},'set'(_0x435d6a){setValue(this,_0x436f72,_0x435d6a,_0x305a72);},'configurable':!![],'enumerable':!![]});});if(_0x16fb6b[_0x42f166(0x267)](_0x5e5720,0x1)){const _0x530772=new Map();_0x28b891[_0x42f166(0x253)]=function(_0x158aef,_0x5ee3e3,_0x287018){const _0x5a8c1e=_0x42f166,_0x55ee05={'ueibw':function(_0x343099,_0x1318a6){const _0x5992a5=_0xd684;return _0x16fb6b[_0x5992a5(0x242)](_0x343099,_0x1318a6);},'HYlUP':_0x5a8c1e(0x19a),'HSDKb':function(_0x1fb586,_0xc15632){const _0x1d54e2=_0x5a8c1e;return _0x16fb6b[_0x1d54e2(0x200)](_0x1fb586,_0xc15632);},'syKPe':function(_0x2aaaae,_0x30844d){const _0x409665=_0x5a8c1e;return _0x16fb6b[_0x409665(0x189)](_0x2aaaae,_0x30844d);},'vfldb':_0x5a8c1e(0x21a)};plt[_0x5a8c1e(0x1e3)](()=>{const _0x3ff882=_0x5a8c1e,_0x2f68d8=_0x530772['get'](_0x158aef);if(this[_0x3ff882(0x1e2)](_0x2f68d8))_0x287018=this[_0x2f68d8],delete this[_0x2f68d8];else{if(_0x28b891[_0x3ff882(0x1e2)](_0x2f68d8)&&_0x55ee05[_0x3ff882(0x1fc)](typeof this[_0x2f68d8],_0x55ee05['HYlUP'])&&_0x55ee05[_0x3ff882(0x248)](this[_0x2f68d8],_0x287018))return;}this[_0x2f68d8]=_0x55ee05['ueibw'](_0x287018,null)&&_0x55ee05[_0x3ff882(0x219)](typeof this[_0x2f68d8],_0x55ee05[_0x3ff882(0x1e9)])?![]:_0x287018;});},_0x1e0236[_0x42f166(0x1d6)]=_0x5b4128[_0x42f166(0x1bd)](([_0x469b5c,_0x55f583])=>_0x55f583[0x0]&0xf)[_0x42f166(0x240)](([_0x2bea49,_0x31ba34])=>{const _0x22369a=_0x42f166,_0x1793ac=_0x31ba34[0x1]||_0x2bea49;return _0x530772[_0x22369a(0x1bf)](_0x1793ac,_0x2bea49),_0x16fb6b['YNVlD'](_0x31ba34[0x0],0x200)&&_0x305a72[_0x22369a(0x285)][_0x22369a(0x24b)]([_0x2bea49,_0x1793ac]),_0x1793ac;});}}return _0x1e0236;},initializeComponent=async(_0x2b4c87,_0x3f472b,_0x7b724c,_0x23a345,_0x5ba1b0)=>{const _0x3452d2=_0x449f92,_0x568165={'txsDs':function(_0x3e95e1,_0x215947){return _0x3e95e1===_0x215947;},'XAHSG':function(_0x5aefc3,_0x597e00){return _0x5aefc3&_0x597e00;},'BqXPC':function(_0x49a18b,_0xab7dc3){return _0x49a18b(_0xab7dc3);},'oJGtg':function(_0x3ab48d){return _0x3ab48d();},'keKsS':function(_0x1dc873,_0x51ab9d,_0x3f0271,_0x527a3e){return _0x1dc873(_0x51ab9d,_0x3f0271,_0x527a3e);},'tAZxV':_0x3452d2(0x280),'CAQIg':function(_0x552446){return _0x552446();},'Jnzeh':function(_0xe71cf,_0xbaca79){return _0xe71cf&_0xbaca79;},'jsNVQ':_0x3452d2(0x286)};if(_0x568165[_0x3452d2(0x1fa)](_0x568165[_0x3452d2(0x23c)](_0x3f472b[_0x3452d2(0x17b)],0x20),0x0)){{_0x3f472b[_0x3452d2(0x17b)]|=0x20,_0x5ba1b0=_0x568165['BqXPC'](loadModule,_0x7b724c);if(_0x5ba1b0[_0x3452d2(0x26b)]){const _0x4410f9=_0x568165[_0x3452d2(0x281)](uniqueTime);_0x5ba1b0=await _0x5ba1b0,_0x568165[_0x3452d2(0x281)](_0x4410f9);}!_0x5ba1b0[_0x3452d2(0x1c5)]&&(_0x568165[_0x3452d2(0x284)](proxyComponent,_0x5ba1b0,_0x7b724c,0x2),_0x5ba1b0[_0x3452d2(0x1c5)]=!![]);const _0x504a2b=createTime(_0x568165[_0x3452d2(0x20a)],_0x7b724c[_0x3452d2(0x18a)]);{_0x3f472b[_0x3452d2(0x17b)]|=0x8;}try{new _0x5ba1b0(_0x3f472b);}catch(_0x4349c7){_0x568165[_0x3452d2(0x1ac)](consoleError,_0x4349c7);}{_0x3f472b[_0x3452d2(0x17b)]&=~0x8;}_0x568165[_0x3452d2(0x22a)](_0x504a2b),_0x568165[_0x3452d2(0x1ac)](fireConnectedCallback,_0x3f472b[_0x3452d2(0x218)]);}if(_0x5ba1b0[_0x3452d2(0x1c2)]){let _0x2bb182=_0x5ba1b0[_0x3452d2(0x1c2)];const _0x4aa669=_0x568165[_0x3452d2(0x1ac)](getScopeId,_0x7b724c);if(!styles['has'](_0x4aa669)){const _0x5d7a6e=createTime(_0x3452d2(0x241),_0x7b724c[_0x3452d2(0x18a)]);registerStyle(_0x4aa669,_0x2bb182,!!_0x568165[_0x3452d2(0x239)](_0x7b724c[_0x3452d2(0x17b)],0x1)),_0x568165['oJGtg'](_0x5d7a6e);}}}const _0x87758e=_0x3f472b['$ancestorComponent$'],_0x4798d2=()=>scheduleUpdate(_0x3f472b,!![]);_0x87758e&&_0x87758e[_0x3452d2(0x286)]?_0x87758e[_0x568165[_0x3452d2(0x208)]][_0x3452d2(0x24b)](_0x4798d2):_0x568165['oJGtg'](_0x4798d2);},fireConnectedCallback=_0x41ea24=>{const _0x45b1cc=_0x449f92,_0x5352fa={'FWxtU':function(_0x113baa,_0x1dd07b,_0x36d1a0){return _0x113baa(_0x1dd07b,_0x36d1a0);},'LEfjz':_0x45b1cc(0x1ee)};{_0x5352fa[_0x45b1cc(0x173)](safeCall,_0x41ea24,_0x5352fa[_0x45b1cc(0x18d)]);}},connectedCallback=_0x4f76be=>{const _0x9c4f54=_0x449f92,_0x596a24={'WIkdu':function(_0x79012c,_0x328ca7){return _0x79012c===_0x328ca7;},'lgnLE':function(_0x3d4f28,_0x37ea46){return _0x3d4f28&_0x37ea46;},'SiyMe':function(_0x12cb23,_0x32ad8b,_0xe5b4a7,_0x4987e4){return _0x12cb23(_0x32ad8b,_0xe5b4a7,_0x4987e4);},'hXfac':function(_0xb2e91c,_0x4ca7bb){return _0xb2e91c(_0x4ca7bb);},'WzvPw':function(_0x4472fe){return _0x4472fe();}};if(_0x596a24[_0x9c4f54(0x185)](_0x596a24['lgnLE'](plt[_0x9c4f54(0x17b)],0x1),0x0)){const _0x44a902=getHostRef(_0x4f76be),_0x1f09d6=_0x44a902['$cmpMeta$'],_0x3a6c31=createTime(_0x9c4f54(0x1ee),_0x1f09d6[_0x9c4f54(0x18a)]);if(!_0x596a24[_0x9c4f54(0x1e1)](_0x44a902[_0x9c4f54(0x17b)],0x1)){_0x44a902[_0x9c4f54(0x17b)]|=0x1;{let _0x581ea0=_0x4f76be;while(_0x581ea0=_0x581ea0[_0x9c4f54(0x1d5)]||_0x581ea0['host']){if(_0x581ea0[_0x9c4f54(0x1ea)]){attachToAncestor(_0x44a902,_0x44a902[_0x9c4f54(0x181)]=_0x581ea0);break;}}}_0x1f09d6[_0x9c4f54(0x1f5)]&&Object['entries'](_0x1f09d6[_0x9c4f54(0x1f5)])[_0x9c4f54(0x240)](([_0x33ba18,[_0x16aac1]])=>{const _0x6f51c6=_0x9c4f54;if(_0x16aac1&0x1f&&_0x4f76be[_0x6f51c6(0x1e2)](_0x33ba18)){const _0x51f6c4=_0x4f76be[_0x33ba18];delete _0x4f76be[_0x33ba18],_0x4f76be[_0x33ba18]=_0x51f6c4;}});{_0x596a24[_0x9c4f54(0x1a8)](initializeComponent,_0x4f76be,_0x44a902,_0x1f09d6);}}else _0x596a24[_0x9c4f54(0x176)](fireConnectedCallback,_0x44a902[_0x9c4f54(0x218)]);_0x596a24[_0x9c4f54(0x1cd)](_0x3a6c31);}},disconnectedCallback=_0x30df6f=>{const _0x56e6cf=_0x449f92,_0x5ba051={'qKeaD':function(_0x7c68aa,_0x5ea833){return _0x7c68aa===_0x5ea833;},'vWYUB':function(_0x5a5479,_0x27ff3f){return _0x5a5479(_0x27ff3f);},'ufJpK':_0x56e6cf(0x28c)};if(_0x5ba051[_0x56e6cf(0x188)](plt[_0x56e6cf(0x17b)]&0x1,0x0)){const _0x44002b=_0x5ba051[_0x56e6cf(0x28d)](getHostRef,_0x30df6f),_0x448092=_0x44002b[_0x56e6cf(0x218)];{safeCall(_0x448092,_0x5ba051[_0x56e6cf(0x191)]);}}},bootstrapLazy=(_0x3f8448,_0x3915d0={})=>{const _0x3ad20c=_0x449f92,_0x4daffe={'qSisi':function(_0x2129ec,_0x4e96d3,_0x2abef3){return _0x2129ec(_0x4e96d3,_0x2abef3);},'dGkjH':_0x3ad20c(0x252),'Bpgqu':function(_0x2b0216){return _0x2b0216();},'EizEm':_0x3ad20c(0x24d),'qpNja':function(_0x3b83a5,_0x17c777){return _0x3b83a5+_0x17c777;},'ordDy':_0x3ad20c(0x1a4),'HNWkH':function(_0x4df91f,_0x3ee3ed){return _0x4df91f!==_0x3ee3ed;},'BhIFX':function(_0x2f625f,_0x5a3cfa){return _0x2f625f(_0x5a3cfa);},'zTkaS':function(_0x3695ec,_0x29a4df){return _0x3695ec!=_0x29a4df;},'oplvp':'nonce'};var _0x105771;const _0x2bcca1=_0x4daffe[_0x3ad20c(0x1e0)](createTime),_0x4d87c1=[],_0x5a8599=_0x3915d0[_0x3ad20c(0x1c3)]||[],_0x4cf973=win['customElements'],_0x1348fc=doc[_0x3ad20c(0x276)],_0x540830=_0x1348fc[_0x3ad20c(0x196)](_0x4daffe[_0x3ad20c(0x1c7)]),_0x30f0ea=doc[_0x3ad20c(0x22c)]('style'),_0x5be54b=[];let _0x149c3d,_0x49a5a9=!![];Object[_0x3ad20c(0x27a)](plt,_0x3915d0),plt['$resourcesUrl$']=new URL(_0x3915d0[_0x3ad20c(0x291)]||'./',doc[_0x3ad20c(0x215)])[_0x3ad20c(0x1d0)],_0x3f8448[_0x3ad20c(0x240)](_0x4dbb44=>{const _0x344e98=_0x3ad20c,_0x9cf8a6={'afXYh':function(_0x2c38aa,_0x59c0a0,_0x4074a1){const _0x21accf=_0xd684;return _0x4daffe[_0x21accf(0x17d)](_0x2c38aa,_0x59c0a0,_0x4074a1);},'JSTEs':_0x4daffe[_0x344e98(0x22e)]};_0x4dbb44[0x1]['map'](_0x11dcc4=>{const _0x1247cc=_0x344e98,_0xd1a32={'$flags$':_0x11dcc4[0x0],'$tagName$':_0x11dcc4[0x1],'$members$':_0x11dcc4[0x2],'$listeners$':_0x11dcc4[0x3]};{_0xd1a32[_0x1247cc(0x1f5)]=_0x11dcc4[0x2];}{_0xd1a32[_0x1247cc(0x285)]=[];}const _0x2914e1=_0xd1a32[_0x1247cc(0x18a)],_0x4b03ac=class extends HTMLElement{constructor(_0x3ad39){const _0x3589fa=_0x1247cc;super(_0x3ad39),_0x3ad39=this,_0x9cf8a6[_0x3589fa(0x1a7)](registerHost,_0x3ad39,_0xd1a32);if(_0xd1a32[_0x3589fa(0x17b)]&0x1){{_0x3ad39[_0x3589fa(0x266)]({'mode':_0x9cf8a6[_0x3589fa(0x224)]});}}}[_0x1247cc(0x1ee)](){const _0x58cf9d=_0x1247cc;_0x149c3d&&(clearTimeout(_0x149c3d),_0x149c3d=null),_0x49a5a9?_0x5be54b[_0x58cf9d(0x24b)](this):plt[_0x58cf9d(0x1e3)](()=>connectedCallback(this));}['disconnectedCallback'](){const _0x368003=_0x1247cc;plt[_0x368003(0x1e3)](()=>disconnectedCallback(this));}['componentOnReady'](){const _0x4cf016=_0x1247cc;return getHostRef(this)[_0x4cf016(0x1aa)];}};_0xd1a32[_0x1247cc(0x23d)]=_0x4dbb44[0x0],!_0x5a8599[_0x1247cc(0x1d9)](_0x2914e1)&&!_0x4cf973['get'](_0x2914e1)&&(_0x4d87c1['push'](_0x2914e1),_0x4cf973[_0x1247cc(0x1b2)](_0x2914e1,proxyComponent(_0x4b03ac,_0xd1a32,0x1)));});});{_0x30f0ea[_0x3ad20c(0x1e4)]=_0x4daffe[_0x3ad20c(0x237)](_0x4d87c1,HYDRATED_CSS),_0x30f0ea[_0x3ad20c(0x194)](_0x4daffe[_0x3ad20c(0x18c)],'');const _0x31ac50=_0x4daffe['HNWkH'](_0x105771=plt['$nonce$'],null)&&_0x4daffe[_0x3ad20c(0x18f)](_0x105771,void 0x0)?_0x105771:_0x4daffe[_0x3ad20c(0x1a1)](queryNonceMetaTagContent,doc);_0x4daffe['zTkaS'](_0x31ac50,null)&&_0x30f0ea[_0x3ad20c(0x194)](_0x4daffe[_0x3ad20c(0x171)],_0x31ac50),_0x1348fc[_0x3ad20c(0x26d)](_0x30f0ea,_0x540830?_0x540830[_0x3ad20c(0x1ae)]:_0x1348fc[_0x3ad20c(0x209)]);}_0x49a5a9=![];if(_0x5be54b[_0x3ad20c(0x20b)])_0x5be54b[_0x3ad20c(0x240)](_0x14f9b4=>_0x14f9b4['connectedCallback']());else{plt['jmp'](()=>_0x149c3d=setTimeout(appDidLoad,0x1e));}_0x2bcca1();},setNonce=_0x484a47=>plt['$nonce$']=_0x484a47,hostRefs=new WeakMap(),getHostRef=_0xb53ba8=>hostRefs[_0x449f92(0x23b)](_0xb53ba8),registerInstance=(_0xfc3149,_0x131999)=>hostRefs[_0x449f92(0x1bf)](_0x131999['$lazyInstance$']=_0xfc3149,_0x131999),registerHost=(_0x12254e,_0x319e72)=>{const _0x5d3f77=_0x449f92,_0x50e732={'kjaEs':'s-p','MGpLF':_0x5d3f77(0x286)},_0x518848={'$flags$':0x0,'$hostElement$':_0x12254e,'$cmpMeta$':_0x319e72,'$instanceValues$':new Map()};{_0x518848['$onReadyPromise$']=new Promise(_0x9c0526=>_0x518848[_0x5d3f77(0x184)]=_0x9c0526),_0x12254e[_0x50e732[_0x5d3f77(0x202)]]=[],_0x12254e[_0x50e732['MGpLF']]=[];}return hostRefs[_0x5d3f77(0x1bf)](_0x12254e,_0x518848);},isMemberInElement=(_0x57ab01,_0x751a0d)=>_0x751a0d in _0x57ab01,consoleError=(_0x5ecd40,_0x8962be)=>(0x0,console[_0x449f92(0x28e)])(_0x5ecd40,_0x8962be),cmpModules=new Map(),loadModule=(_0x164554,_0x50c579,_0x4e6f06)=>{const _0x1768e3=_0x449f92,_0x50c86f=_0x164554['$tagName$'][_0x1768e3(0x27f)](/-/g,'_'),_0x37208f=_0x164554[_0x1768e3(0x23d)],_0x4518d0=cmpModules[_0x1768e3(0x23b)](_0x37208f);if(_0x4518d0)return _0x4518d0[_0x50c86f];return import('./'+_0x37208f+_0x1768e3(0x255))[_0x1768e3(0x26b)](_0x51287a=>{const _0x2926fc=_0x1768e3;{cmpModules[_0x2926fc(0x1bf)](_0x37208f,_0x51287a);}return _0x51287a[_0x50c86f];},consoleError);},styles=new Map(),win=typeof window!==_0x449f92(0x21f)?window:{},doc=win[_0x449f92(0x1cf)]||{'head':{}},plt={'$flags$':0x0,'$resourcesUrl$':'','jmp':_0x297841=>_0x297841(),'raf':_0x4d1a7e=>requestAnimationFrame(_0x4d1a7e),'ael':(_0x2906a3,_0x2e0ce0,_0x5299aa,_0x4f322b)=>_0x2906a3[_0x449f92(0x26a)](_0x2e0ce0,_0x5299aa,_0x4f322b),'rel':(_0x301e9e,_0xe721ce,_0x42f953,_0x691674)=>_0x301e9e['removeEventListener'](_0xe721ce,_0x42f953,_0x691674),'ce':(_0x6e3ebc,_0x46e0ab)=>new CustomEvent(_0x6e3ebc,_0x46e0ab)},promiseResolve=_0x2af089=>Promise[_0x449f92(0x1d3)](_0x2af089),supportsConstructableStylesheets=((()=>{const _0x3f565a=_0x449f92,_0x52b95f={'nmlpB':function(_0x36ceca,_0x5d3514){return _0x36ceca===_0x5d3514;},'oJWpL':_0x3f565a(0x277)};try{return new CSSStyleSheet(),_0x52b95f['nmlpB'](typeof new CSSStyleSheet()[_0x3f565a(0x282)],_0x52b95f[_0x3f565a(0x179)]);}catch(_0x3354f9){}return![];})()),queueDomReads=[],queueDomWrites=[],queueTask=(_0x27346b,_0x3f8ed2)=>_0x5a5092=>{const _0x2c538e=_0x449f92,_0x1987d7={'APraa':function(_0x279f46,_0x5aeb8e){return _0x279f46&_0x5aeb8e;},'RXeGo':function(_0x136765,_0x309a9a){return _0x136765(_0x309a9a);}};_0x27346b['push'](_0x5a5092),!queuePending&&(queuePending=!![],_0x3f8ed2&&_0x1987d7[_0x2c538e(0x259)](plt['$flags$'],0x4)?_0x1987d7['RXeGo'](nextTick,flush):plt[_0x2c538e(0x1cc)](flush));},consume=_0xf6fce6=>{const _0x1f8914=_0x449f92,_0x4b4b8={'UrFBa':function(_0x5e0e51,_0x4c0f99){return _0x5e0e51(_0x4c0f99);}};for(let _0x37e633=0x0;_0x37e633<_0xf6fce6[_0x1f8914(0x20b)];_0x37e633++){try{_0xf6fce6[_0x37e633](performance[_0x1f8914(0x27b)]());}catch(_0x263941){_0x4b4b8[_0x1f8914(0x230)](consoleError,_0x263941);}}_0xf6fce6[_0x1f8914(0x20b)]=0x0;},flush=()=>{const _0x54a8dc=_0x449f92,_0x3a7392={'SqacC':function(_0x276342,_0x5af14a){return _0x276342(_0x5af14a);}};_0x3a7392[_0x54a8dc(0x19e)](consume,queueDomReads);{_0x3a7392[_0x54a8dc(0x19e)](consume,queueDomWrites),(queuePending=queueDomReads[_0x54a8dc(0x20b)]>0x0)&&plt[_0x54a8dc(0x1cc)](flush);}},nextTick=_0x5ae2fe=>promiseResolve()[_0x449f92(0x26b)](_0x5ae2fe),writeTask=queueTask(queueDomWrites,!![]);export{Host as H,bootstrapLazy as b,getElement as g,h,promiseResolve as p,registerInstance as r,setNonce as s};
1
+ const NAMESPACE = 'pushfeedback';
2
+
3
+ /**
4
+ * Virtual DOM patching algorithm based on Snabbdom by
5
+ * Simon Friis Vindum (@paldepind)
6
+ * Licensed under the MIT License
7
+ * https://github.com/snabbdom/snabbdom/blob/master/LICENSE
8
+ *
9
+ * Modified for Stencil's renderer and slot projection
10
+ */
11
+ let scopeId;
12
+ let hostTagName;
13
+ let isSvgMode = false;
14
+ let queuePending = false;
15
+ const createTime = (fnName, tagName = '') => {
16
+ {
17
+ return () => {
18
+ return;
19
+ };
20
+ }
21
+ };
22
+ const uniqueTime = (key, measureText) => {
23
+ {
24
+ return () => {
25
+ return;
26
+ };
27
+ }
28
+ };
29
+ const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
30
+ /**
31
+ * Default style mode id
32
+ */
33
+ /**
34
+ * Reusable empty obj/array
35
+ * Don't add values to these!!
36
+ */
37
+ const EMPTY_OBJ = {};
38
+ /**
39
+ * Namespaces
40
+ */
41
+ const SVG_NS = 'http://www.w3.org/2000/svg';
42
+ const HTML_NS = 'http://www.w3.org/1999/xhtml';
43
+ const isDef = (v) => v != null;
44
+ const isComplexType = (o) => {
45
+ // https://jsperf.com/typeof-fn-object/5
46
+ o = typeof o;
47
+ return o === 'object' || o === 'function';
48
+ };
49
+ /**
50
+ * Helper method for querying a `meta` tag that contains a nonce value
51
+ * out of a DOM's head.
52
+ *
53
+ * @param doc The DOM containing the `head` to query against
54
+ * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag
55
+ * exists or the tag has no content.
56
+ */
57
+ function queryNonceMetaTagContent(doc) {
58
+ var _a, _b, _c;
59
+ return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;
60
+ }
61
+ /**
62
+ * Production h() function based on Preact by
63
+ * Jason Miller (@developit)
64
+ * Licensed under the MIT License
65
+ * https://github.com/developit/preact/blob/master/LICENSE
66
+ *
67
+ * Modified for Stencil's compiler and vdom
68
+ */
69
+ // export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, child?: d.ChildType): d.VNode;
70
+ // export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, ...children: d.ChildType[]): d.VNode;
71
+ const h = (nodeName, vnodeData, ...children) => {
72
+ let child = null;
73
+ let simple = false;
74
+ let lastSimple = false;
75
+ const vNodeChildren = [];
76
+ const walk = (c) => {
77
+ for (let i = 0; i < c.length; i++) {
78
+ child = c[i];
79
+ if (Array.isArray(child)) {
80
+ walk(child);
81
+ }
82
+ else if (child != null && typeof child !== 'boolean') {
83
+ if ((simple = typeof nodeName !== 'function' && !isComplexType(child))) {
84
+ child = String(child);
85
+ }
86
+ if (simple && lastSimple) {
87
+ // If the previous child was simple (string), we merge both
88
+ vNodeChildren[vNodeChildren.length - 1].$text$ += child;
89
+ }
90
+ else {
91
+ // Append a new vNode, if it's text, we create a text vNode
92
+ vNodeChildren.push(simple ? newVNode(null, child) : child);
93
+ }
94
+ lastSimple = simple;
95
+ }
96
+ }
97
+ };
98
+ walk(children);
99
+ if (vnodeData) {
100
+ {
101
+ const classData = vnodeData.className || vnodeData.class;
102
+ if (classData) {
103
+ vnodeData.class =
104
+ typeof classData !== 'object'
105
+ ? classData
106
+ : Object.keys(classData)
107
+ .filter((k) => classData[k])
108
+ .join(' ');
109
+ }
110
+ }
111
+ }
112
+ const vnode = newVNode(nodeName, null);
113
+ vnode.$attrs$ = vnodeData;
114
+ if (vNodeChildren.length > 0) {
115
+ vnode.$children$ = vNodeChildren;
116
+ }
117
+ return vnode;
118
+ };
119
+ /**
120
+ * A utility function for creating a virtual DOM node from a tag and some
121
+ * possible text content.
122
+ *
123
+ * @param tag the tag for this element
124
+ * @param text possible text content for the node
125
+ * @returns a newly-minted virtual DOM node
126
+ */
127
+ const newVNode = (tag, text) => {
128
+ const vnode = {
129
+ $flags$: 0,
130
+ $tag$: tag,
131
+ $text$: text,
132
+ $elm$: null,
133
+ $children$: null,
134
+ };
135
+ {
136
+ vnode.$attrs$ = null;
137
+ }
138
+ return vnode;
139
+ };
140
+ const Host = {};
141
+ /**
142
+ * Check whether a given node is a Host node or not
143
+ *
144
+ * @param node the virtual DOM node to check
145
+ * @returns whether it's a Host node or not
146
+ */
147
+ const isHost = (node) => node && node.$tag$ === Host;
148
+ /**
149
+ * Parse a new property value for a given property type.
150
+ *
151
+ * While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
152
+ * it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
153
+ * 1. `any`, the type given to `propValue` in the function signature
154
+ * 2. the type stored from `propType`.
155
+ *
156
+ * This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
157
+ *
158
+ * Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
159
+ * a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
160
+ * based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
161
+ * ```tsx
162
+ * <my-cmp prop-val={0}></my-cmp>
163
+ * ```
164
+ *
165
+ * HTML prop values on the other hand, will always a string
166
+ *
167
+ * @param propValue the new value to coerce to some type
168
+ * @param propType the type of the prop, expressed as a binary number
169
+ * @returns the parsed/coerced value
170
+ */
171
+ const parsePropertyValue = (propValue, propType) => {
172
+ // ensure this value is of the correct prop type
173
+ if (propValue != null && !isComplexType(propValue)) {
174
+ if (propType & 4 /* MEMBER_FLAGS.Boolean */) {
175
+ // per the HTML spec, any string value means it is a boolean true value
176
+ // but we'll cheat here and say that the string "false" is the boolean false
177
+ return propValue === 'false' ? false : propValue === '' || !!propValue;
178
+ }
179
+ if (propType & 1 /* MEMBER_FLAGS.String */) {
180
+ // could have been passed as a number or boolean
181
+ // but we still want it as a string
182
+ return String(propValue);
183
+ }
184
+ // redundant return here for better minification
185
+ return propValue;
186
+ }
187
+ // not sure exactly what type we want
188
+ // so no need to change to a different type
189
+ return propValue;
190
+ };
191
+ const getElement = (ref) => (getHostRef(ref).$hostElement$ );
192
+ /**
193
+ * Helper function to create & dispatch a custom Event on a provided target
194
+ * @param elm the target of the Event
195
+ * @param name the name to give the custom Event
196
+ * @param opts options for configuring a custom Event
197
+ * @returns the custom Event
198
+ */
199
+ const emitEvent = (elm, name, opts) => {
200
+ const ev = plt.ce(name, opts);
201
+ elm.dispatchEvent(ev);
202
+ return ev;
203
+ };
204
+ const rootAppliedStyles = /*@__PURE__*/ new WeakMap();
205
+ const registerStyle = (scopeId, cssText, allowCS) => {
206
+ let style = styles.get(scopeId);
207
+ if (supportsConstructableStylesheets && allowCS) {
208
+ style = (style || new CSSStyleSheet());
209
+ if (typeof style === 'string') {
210
+ style = cssText;
211
+ }
212
+ else {
213
+ style.replaceSync(cssText);
214
+ }
215
+ }
216
+ else {
217
+ style = cssText;
218
+ }
219
+ styles.set(scopeId, style);
220
+ };
221
+ const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
222
+ var _a;
223
+ let scopeId = getScopeId(cmpMeta);
224
+ const style = styles.get(scopeId);
225
+ // if an element is NOT connected then getRootNode() will return the wrong root node
226
+ // so the fallback is to always use the document for the root node in those cases
227
+ styleContainerNode = styleContainerNode.nodeType === 11 /* NODE_TYPE.DocumentFragment */ ? styleContainerNode : doc;
228
+ if (style) {
229
+ if (typeof style === 'string') {
230
+ styleContainerNode = styleContainerNode.head || styleContainerNode;
231
+ let appliedStyles = rootAppliedStyles.get(styleContainerNode);
232
+ let styleElm;
233
+ if (!appliedStyles) {
234
+ rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
235
+ }
236
+ if (!appliedStyles.has(scopeId)) {
237
+ {
238
+ {
239
+ styleElm = doc.createElement('style');
240
+ styleElm.innerHTML = style;
241
+ }
242
+ // Apply CSP nonce to the style tag if it exists
243
+ const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
244
+ if (nonce != null) {
245
+ styleElm.setAttribute('nonce', nonce);
246
+ }
247
+ styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
248
+ }
249
+ if (appliedStyles) {
250
+ appliedStyles.add(scopeId);
251
+ }
252
+ }
253
+ }
254
+ else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
255
+ styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
256
+ }
257
+ }
258
+ return scopeId;
259
+ };
260
+ const attachStyles = (hostRef) => {
261
+ const cmpMeta = hostRef.$cmpMeta$;
262
+ const elm = hostRef.$hostElement$;
263
+ const flags = cmpMeta.$flags$;
264
+ const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
265
+ const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
266
+ if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
267
+ // only required when we're NOT using native shadow dom (slot)
268
+ // or this browser doesn't support native shadow dom
269
+ // and this host element was NOT created with SSR
270
+ // let's pick out the inner content for slot projection
271
+ // create a node to represent where the original
272
+ // content was first placed, which is useful later on
273
+ // DOM WRITE!!
274
+ elm['s-sc'] = scopeId;
275
+ elm.classList.add(scopeId + '-h');
276
+ }
277
+ endAttachStyles();
278
+ };
279
+ const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
280
+ /**
281
+ * Production setAccessor() function based on Preact by
282
+ * Jason Miller (@developit)
283
+ * Licensed under the MIT License
284
+ * https://github.com/developit/preact/blob/master/LICENSE
285
+ *
286
+ * Modified for Stencil's compiler and vdom
287
+ */
288
+ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
289
+ if (oldValue !== newValue) {
290
+ let isProp = isMemberInElement(elm, memberName);
291
+ let ln = memberName.toLowerCase();
292
+ if (memberName === 'class') {
293
+ const classList = elm.classList;
294
+ const oldClasses = parseClassList(oldValue);
295
+ const newClasses = parseClassList(newValue);
296
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
297
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
298
+ }
299
+ else if (memberName === 'style') {
300
+ // update style attribute, css properties and values
301
+ {
302
+ for (const prop in oldValue) {
303
+ if (!newValue || newValue[prop] == null) {
304
+ if (prop.includes('-')) {
305
+ elm.style.removeProperty(prop);
306
+ }
307
+ else {
308
+ elm.style[prop] = '';
309
+ }
310
+ }
311
+ }
312
+ }
313
+ for (const prop in newValue) {
314
+ if (!oldValue || newValue[prop] !== oldValue[prop]) {
315
+ if (prop.includes('-')) {
316
+ elm.style.setProperty(prop, newValue[prop]);
317
+ }
318
+ else {
319
+ elm.style[prop] = newValue[prop];
320
+ }
321
+ }
322
+ }
323
+ }
324
+ else if (memberName === 'ref') {
325
+ // minifier will clean this up
326
+ if (newValue) {
327
+ newValue(elm);
328
+ }
329
+ }
330
+ else if ((!isProp ) &&
331
+ memberName[0] === 'o' &&
332
+ memberName[1] === 'n') {
333
+ // Event Handlers
334
+ // so if the member name starts with "on" and the 3rd characters is
335
+ // a capital letter, and it's not already a member on the element,
336
+ // then we're assuming it's an event listener
337
+ if (memberName[2] === '-') {
338
+ // on- prefixed events
339
+ // allows to be explicit about the dom event to listen without any magic
340
+ // under the hood:
341
+ // <my-cmp on-click> // listens for "click"
342
+ // <my-cmp on-Click> // listens for "Click"
343
+ // <my-cmp on-ionChange> // listens for "ionChange"
344
+ // <my-cmp on-EVENTS> // listens for "EVENTS"
345
+ memberName = memberName.slice(3);
346
+ }
347
+ else if (isMemberInElement(win, ln)) {
348
+ // standard event
349
+ // the JSX attribute could have been "onMouseOver" and the
350
+ // member name "onmouseover" is on the window's prototype
351
+ // so let's add the listener "mouseover", which is all lowercased
352
+ memberName = ln.slice(2);
353
+ }
354
+ else {
355
+ // custom event
356
+ // the JSX attribute could have been "onMyCustomEvent"
357
+ // so let's trim off the "on" prefix and lowercase the first character
358
+ // and add the listener "myCustomEvent"
359
+ // except for the first character, we keep the event name case
360
+ memberName = ln[2] + memberName.slice(3);
361
+ }
362
+ if (oldValue) {
363
+ plt.rel(elm, memberName, oldValue, false);
364
+ }
365
+ if (newValue) {
366
+ plt.ael(elm, memberName, newValue, false);
367
+ }
368
+ }
369
+ else {
370
+ // Set property if it exists and it's not a SVG
371
+ const isComplex = isComplexType(newValue);
372
+ if ((isProp || (isComplex && newValue !== null)) && !isSvg) {
373
+ try {
374
+ if (!elm.tagName.includes('-')) {
375
+ const n = newValue == null ? '' : newValue;
376
+ // Workaround for Safari, moving the <input> caret when re-assigning the same valued
377
+ if (memberName === 'list') {
378
+ isProp = false;
379
+ }
380
+ else if (oldValue == null || elm[memberName] != n) {
381
+ elm[memberName] = n;
382
+ }
383
+ }
384
+ else {
385
+ elm[memberName] = newValue;
386
+ }
387
+ }
388
+ catch (e) { }
389
+ }
390
+ if (newValue == null || newValue === false) {
391
+ if (newValue !== false || elm.getAttribute(memberName) === '') {
392
+ {
393
+ elm.removeAttribute(memberName);
394
+ }
395
+ }
396
+ }
397
+ else if ((!isProp || flags & 4 /* VNODE_FLAGS.isHost */ || isSvg) && !isComplex) {
398
+ newValue = newValue === true ? '' : newValue;
399
+ {
400
+ elm.setAttribute(memberName, newValue);
401
+ }
402
+ }
403
+ }
404
+ }
405
+ };
406
+ const parseClassListRegex = /\s/;
407
+ const parseClassList = (value) => (!value ? [] : value.split(parseClassListRegex));
408
+ const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
409
+ // if the element passed in is a shadow root, which is a document fragment
410
+ // then we want to be adding attrs/props to the shadow root's "host" element
411
+ // if it's not a shadow root, then we add attrs/props to the same element
412
+ const elm = newVnode.$elm$.nodeType === 11 /* NODE_TYPE.DocumentFragment */ && newVnode.$elm$.host
413
+ ? newVnode.$elm$.host
414
+ : newVnode.$elm$;
415
+ const oldVnodeAttrs = (oldVnode && oldVnode.$attrs$) || EMPTY_OBJ;
416
+ const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
417
+ {
418
+ // remove attributes no longer present on the vnode by setting them to undefined
419
+ for (memberName in oldVnodeAttrs) {
420
+ if (!(memberName in newVnodeAttrs)) {
421
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], undefined, isSvgMode, newVnode.$flags$);
422
+ }
423
+ }
424
+ }
425
+ // add new & update changed attributes
426
+ for (memberName in newVnodeAttrs) {
427
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode, newVnode.$flags$);
428
+ }
429
+ };
430
+ /**
431
+ * Create a DOM Node corresponding to one of the children of a given VNode.
432
+ *
433
+ * @param oldParentVNode the parent VNode from the previous render
434
+ * @param newParentVNode the parent VNode from the current render
435
+ * @param childIndex the index of the VNode, in the _new_ parent node's
436
+ * children, for which we will create a new DOM node
437
+ * @param parentElm the parent DOM node which our new node will be a child of
438
+ * @returns the newly created node
439
+ */
440
+ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
441
+ // tslint:disable-next-line: prefer-const
442
+ const newVNode = newParentVNode.$children$[childIndex];
443
+ let i = 0;
444
+ let elm;
445
+ let childNode;
446
+ if (newVNode.$text$ !== null) {
447
+ // create text node
448
+ elm = newVNode.$elm$ = doc.createTextNode(newVNode.$text$);
449
+ }
450
+ else {
451
+ if (!isSvgMode) {
452
+ isSvgMode = newVNode.$tag$ === 'svg';
453
+ }
454
+ // create element
455
+ elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$tag$)
456
+ );
457
+ if (isSvgMode && newVNode.$tag$ === 'foreignObject') {
458
+ isSvgMode = false;
459
+ }
460
+ // add css classes, attrs, props, listeners, etc.
461
+ {
462
+ updateElement(null, newVNode, isSvgMode);
463
+ }
464
+ if (isDef(scopeId) && elm['s-si'] !== scopeId) {
465
+ // if there is a scopeId and this is the initial render
466
+ // then let's add the scopeId as a css class
467
+ elm.classList.add((elm['s-si'] = scopeId));
468
+ }
469
+ if (newVNode.$children$) {
470
+ for (i = 0; i < newVNode.$children$.length; ++i) {
471
+ // create the node
472
+ childNode = createElm(oldParentVNode, newVNode, i);
473
+ // return node could have been null
474
+ if (childNode) {
475
+ // append our new node
476
+ elm.appendChild(childNode);
477
+ }
478
+ }
479
+ }
480
+ {
481
+ if (newVNode.$tag$ === 'svg') {
482
+ // Only reset the SVG context when we're exiting <svg> element
483
+ isSvgMode = false;
484
+ }
485
+ else if (elm.tagName === 'foreignObject') {
486
+ // Reenter SVG context when we're exiting <foreignObject> element
487
+ isSvgMode = true;
488
+ }
489
+ }
490
+ }
491
+ return elm;
492
+ };
493
+ /**
494
+ * Create DOM nodes corresponding to a list of {@link d.Vnode} objects and
495
+ * add them to the DOM in the appropriate place.
496
+ *
497
+ * @param parentElm the DOM node which should be used as a parent for the new
498
+ * DOM nodes
499
+ * @param before a child of the `parentElm` which the new children should be
500
+ * inserted before (optional)
501
+ * @param parentVNode the parent virtual DOM node
502
+ * @param vnodes the new child virtual DOM nodes to produce DOM nodes for
503
+ * @param startIdx the index in the child virtual DOM nodes at which to start
504
+ * creating DOM nodes (inclusive)
505
+ * @param endIdx the index in the child virtual DOM nodes at which to stop
506
+ * creating DOM nodes (inclusive)
507
+ */
508
+ const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
509
+ let containerElm = (parentElm);
510
+ let childNode;
511
+ if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
512
+ containerElm = containerElm.shadowRoot;
513
+ }
514
+ for (; startIdx <= endIdx; ++startIdx) {
515
+ if (vnodes[startIdx]) {
516
+ childNode = createElm(null, parentVNode, startIdx);
517
+ if (childNode) {
518
+ vnodes[startIdx].$elm$ = childNode;
519
+ containerElm.insertBefore(childNode, before);
520
+ }
521
+ }
522
+ }
523
+ };
524
+ /**
525
+ * Remove the DOM elements corresponding to a list of {@link d.VNode} objects.
526
+ * This can be used to, for instance, clean up after a list of children which
527
+ * should no longer be shown.
528
+ *
529
+ * This function also handles some of Stencil's slot relocation logic.
530
+ *
531
+ * @param vnodes a list of virtual DOM nodes to remove
532
+ * @param startIdx the index at which to start removing nodes (inclusive)
533
+ * @param endIdx the index at which to stop removing nodes (inclusive)
534
+ * @param vnode a VNode
535
+ * @param elm an element
536
+ */
537
+ const removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
538
+ for (; startIdx <= endIdx; ++startIdx) {
539
+ if ((vnode = vnodes[startIdx])) {
540
+ elm = vnode.$elm$;
541
+ callNodeRefs(vnode);
542
+ // remove the vnode's element from the dom
543
+ elm.remove();
544
+ }
545
+ }
546
+ };
547
+ /**
548
+ * Reconcile the children of a new VNode with the children of an old VNode by
549
+ * traversing the two collections of children, identifying nodes that are
550
+ * conserved or changed, calling out to `patch` to make any necessary
551
+ * updates to the DOM, and rearranging DOM nodes as needed.
552
+ *
553
+ * The algorithm for reconciling children works by analyzing two 'windows' onto
554
+ * the two arrays of children (`oldCh` and `newCh`). We keep track of the
555
+ * 'windows' by storing start and end indices and references to the
556
+ * corresponding array entries. Initially the two 'windows' are basically equal
557
+ * to the entire array, but we progressively narrow the windows until there are
558
+ * no children left to update by doing the following:
559
+ *
560
+ * 1. Skip any `null` entries at the beginning or end of the two arrays, so
561
+ * that if we have an initial array like the following we'll end up dealing
562
+ * only with a window bounded by the highlighted elements:
563
+ *
564
+ * [null, null, VNode1 , ... , VNode2, null, null]
565
+ * ^^^^^^ ^^^^^^
566
+ *
567
+ * 2. Check to see if the elements at the head and tail positions are equal
568
+ * across the windows. This will basically detect elements which haven't
569
+ * been added, removed, or changed position, i.e. if you had the following
570
+ * VNode elements (represented as HTML):
571
+ *
572
+ * oldVNode: `<div><p><span>HEY</span></p></div>`
573
+ * newVNode: `<div><p><span>THERE</span></p></div>`
574
+ *
575
+ * Then when comparing the children of the `<div>` tag we check the equality
576
+ * of the VNodes corresponding to the `<p>` tags and, since they are the
577
+ * same tag in the same position, we'd be able to avoid completely
578
+ * re-rendering the subtree under them with a new DOM element and would just
579
+ * call out to `patch` to handle reconciling their children and so on.
580
+ *
581
+ * 3. Check, for both windows, to see if the element at the beginning of the
582
+ * window corresponds to the element at the end of the other window. This is
583
+ * a heuristic which will let us identify _some_ situations in which
584
+ * elements have changed position, for instance it _should_ detect that the
585
+ * children nodes themselves have not changed but merely moved in the
586
+ * following example:
587
+ *
588
+ * oldVNode: `<div><element-one /><element-two /></div>`
589
+ * newVNode: `<div><element-two /><element-one /></div>`
590
+ *
591
+ * If we find cases like this then we also need to move the concrete DOM
592
+ * elements corresponding to the moved children to write the re-order to the
593
+ * DOM.
594
+ *
595
+ * 4. Finally, if VNodes have the `key` attribute set on them we check for any
596
+ * nodes in the old children which have the same key as the first element in
597
+ * our window on the new children. If we find such a node we handle calling
598
+ * out to `patch`, moving relevant DOM nodes, and so on, in accordance with
599
+ * what we find.
600
+ *
601
+ * Finally, once we've narrowed our 'windows' to the point that either of them
602
+ * collapse (i.e. they have length 0) we then handle any remaining VNode
603
+ * insertion or deletion that needs to happen to get a DOM state that correctly
604
+ * reflects the new child VNodes. If, for instance, after our window on the old
605
+ * children has collapsed we still have more nodes on the new children that
606
+ * we haven't dealt with yet then we need to add them, or if the new children
607
+ * collapse but we still have unhandled _old_ children then we need to make
608
+ * sure the corresponding DOM nodes are removed.
609
+ *
610
+ * @param parentElm the node into which the parent VNode is rendered
611
+ * @param oldCh the old children of the parent node
612
+ * @param newVNode the new VNode which will replace the parent
613
+ * @param newCh the new children of the parent node
614
+ */
615
+ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
616
+ let oldStartIdx = 0;
617
+ let newStartIdx = 0;
618
+ let oldEndIdx = oldCh.length - 1;
619
+ let oldStartVnode = oldCh[0];
620
+ let oldEndVnode = oldCh[oldEndIdx];
621
+ let newEndIdx = newCh.length - 1;
622
+ let newStartVnode = newCh[0];
623
+ let newEndVnode = newCh[newEndIdx];
624
+ let node;
625
+ while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
626
+ if (oldStartVnode == null) {
627
+ // VNode might have been moved left
628
+ oldStartVnode = oldCh[++oldStartIdx];
629
+ }
630
+ else if (oldEndVnode == null) {
631
+ oldEndVnode = oldCh[--oldEndIdx];
632
+ }
633
+ else if (newStartVnode == null) {
634
+ newStartVnode = newCh[++newStartIdx];
635
+ }
636
+ else if (newEndVnode == null) {
637
+ newEndVnode = newCh[--newEndIdx];
638
+ }
639
+ else if (isSameVnode(oldStartVnode, newStartVnode)) {
640
+ // if the start nodes are the same then we should patch the new VNode
641
+ // onto the old one, and increment our `newStartIdx` and `oldStartIdx`
642
+ // indices to reflect that. We don't need to move any DOM Nodes around
643
+ // since things are matched up in order.
644
+ patch(oldStartVnode, newStartVnode);
645
+ oldStartVnode = oldCh[++oldStartIdx];
646
+ newStartVnode = newCh[++newStartIdx];
647
+ }
648
+ else if (isSameVnode(oldEndVnode, newEndVnode)) {
649
+ // likewise, if the end nodes are the same we patch new onto old and
650
+ // decrement our end indices, and also likewise in this case we don't
651
+ // need to move any DOM Nodes.
652
+ patch(oldEndVnode, newEndVnode);
653
+ oldEndVnode = oldCh[--oldEndIdx];
654
+ newEndVnode = newCh[--newEndIdx];
655
+ }
656
+ else if (isSameVnode(oldStartVnode, newEndVnode)) {
657
+ patch(oldStartVnode, newEndVnode);
658
+ // We need to move the element for `oldStartVnode` into a position which
659
+ // will be appropriate for `newEndVnode`. For this we can use
660
+ // `.insertBefore` and `oldEndVnode.$elm$.nextSibling`. If there is a
661
+ // sibling for `oldEndVnode.$elm$` then we want to move the DOM node for
662
+ // `oldStartVnode` between `oldEndVnode` and it's sibling, like so:
663
+ //
664
+ // <old-start-node />
665
+ // <some-intervening-node />
666
+ // <old-end-node />
667
+ // <!-- -> <-- `oldStartVnode.$elm$` should be inserted here
668
+ // <next-sibling />
669
+ //
670
+ // If instead `oldEndVnode.$elm$` has no sibling then we just want to put
671
+ // the node for `oldStartVnode` at the end of the children of
672
+ // `parentElm`. Luckily, `Node.nextSibling` will return `null` if there
673
+ // aren't any siblings, and passing `null` to `Node.insertBefore` will
674
+ // append it to the children of the parent element.
675
+ parentElm.insertBefore(oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
676
+ oldStartVnode = oldCh[++oldStartIdx];
677
+ newEndVnode = newCh[--newEndIdx];
678
+ }
679
+ else if (isSameVnode(oldEndVnode, newStartVnode)) {
680
+ patch(oldEndVnode, newStartVnode);
681
+ // We've already checked above if `oldStartVnode` and `newStartVnode` are
682
+ // the same node, so since we're here we know that they are not. Thus we
683
+ // can move the element for `oldEndVnode` _before_ the element for
684
+ // `oldStartVnode`, leaving `oldStartVnode` to be reconciled in the
685
+ // future.
686
+ parentElm.insertBefore(oldEndVnode.$elm$, oldStartVnode.$elm$);
687
+ oldEndVnode = oldCh[--oldEndIdx];
688
+ newStartVnode = newCh[++newStartIdx];
689
+ }
690
+ else {
691
+ {
692
+ // We either didn't find an element in the old children that matches
693
+ // the key of the first new child OR the build is not using `key`
694
+ // attributes at all. In either case we need to create a new element
695
+ // for the new node.
696
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode, newStartIdx);
697
+ newStartVnode = newCh[++newStartIdx];
698
+ }
699
+ if (node) {
700
+ // if we created a new node then handle inserting it to the DOM
701
+ {
702
+ oldStartVnode.$elm$.parentNode.insertBefore(node, oldStartVnode.$elm$);
703
+ }
704
+ }
705
+ }
706
+ }
707
+ if (oldStartIdx > oldEndIdx) {
708
+ // we have some more new nodes to add which don't match up with old nodes
709
+ addVnodes(parentElm, newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$, newVNode, newCh, newStartIdx, newEndIdx);
710
+ }
711
+ else if (newStartIdx > newEndIdx) {
712
+ // there are nodes in the `oldCh` array which no longer correspond to nodes
713
+ // in the new array, so lets remove them (which entails cleaning up the
714
+ // relevant DOM nodes)
715
+ removeVnodes(oldCh, oldStartIdx, oldEndIdx);
716
+ }
717
+ };
718
+ /**
719
+ * Compare two VNodes to determine if they are the same
720
+ *
721
+ * **NB**: This function is an equality _heuristic_ based on the available
722
+ * information set on the two VNodes and can be misleading under certain
723
+ * circumstances. In particular, if the two nodes do not have `key` attrs
724
+ * (available under `$key$` on VNodes) then the function falls back on merely
725
+ * checking that they have the same tag.
726
+ *
727
+ * So, in other words, if `key` attrs are not set on VNodes which may be
728
+ * changing order within a `children` array or something along those lines then
729
+ * we could obtain a false negative and then have to do needless re-rendering
730
+ * (i.e. we'd say two VNodes aren't equal when in fact they should be).
731
+ *
732
+ * @param leftVNode the first VNode to check
733
+ * @param rightVNode the second VNode to check
734
+ * @returns whether they're equal or not
735
+ */
736
+ const isSameVnode = (leftVNode, rightVNode) => {
737
+ // compare if two vnode to see if they're "technically" the same
738
+ // need to have the same element tag, and same key to be the same
739
+ if (leftVNode.$tag$ === rightVNode.$tag$) {
740
+ return true;
741
+ }
742
+ return false;
743
+ };
744
+ /**
745
+ * Handle reconciling an outdated VNode with a new one which corresponds to
746
+ * it. This function handles flushing updates to the DOM and reconciling the
747
+ * children of the two nodes (if any).
748
+ *
749
+ * @param oldVNode an old VNode whose DOM element and children we want to update
750
+ * @param newVNode a new VNode representing an updated version of the old one
751
+ */
752
+ const patch = (oldVNode, newVNode) => {
753
+ const elm = (newVNode.$elm$ = oldVNode.$elm$);
754
+ const oldChildren = oldVNode.$children$;
755
+ const newChildren = newVNode.$children$;
756
+ const tag = newVNode.$tag$;
757
+ const text = newVNode.$text$;
758
+ if (text === null) {
759
+ {
760
+ // test if we're rendering an svg element, or still rendering nodes inside of one
761
+ // only add this to the when the compiler sees we're using an svg somewhere
762
+ isSvgMode = tag === 'svg' ? true : tag === 'foreignObject' ? false : isSvgMode;
763
+ }
764
+ {
765
+ if (tag === 'slot')
766
+ ;
767
+ else {
768
+ // either this is the first render of an element OR it's an update
769
+ // AND we already know it's possible it could have changed
770
+ // this updates the element's css classes, attrs, props, listeners, etc.
771
+ updateElement(oldVNode, newVNode, isSvgMode);
772
+ }
773
+ }
774
+ if (oldChildren !== null && newChildren !== null) {
775
+ // looks like there's child vnodes for both the old and new vnodes
776
+ // so we need to call `updateChildren` to reconcile them
777
+ updateChildren(elm, oldChildren, newVNode, newChildren);
778
+ }
779
+ else if (newChildren !== null) {
780
+ // no old child vnodes, but there are new child vnodes to add
781
+ if (oldVNode.$text$ !== null) {
782
+ // the old vnode was text, so be sure to clear it out
783
+ elm.textContent = '';
784
+ }
785
+ // add the new vnode children
786
+ addVnodes(elm, null, newVNode, newChildren, 0, newChildren.length - 1);
787
+ }
788
+ else if (oldChildren !== null) {
789
+ // no new child vnodes, but there are old child vnodes to remove
790
+ removeVnodes(oldChildren, 0, oldChildren.length - 1);
791
+ }
792
+ if (isSvgMode && tag === 'svg') {
793
+ isSvgMode = false;
794
+ }
795
+ }
796
+ else if (oldVNode.$text$ !== text) {
797
+ // update the text content for the text only vnode
798
+ // and also only if the text is different than before
799
+ elm.data = text;
800
+ }
801
+ };
802
+ const callNodeRefs = (vNode) => {
803
+ {
804
+ vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
805
+ vNode.$children$ && vNode.$children$.map(callNodeRefs);
806
+ }
807
+ };
808
+ /**
809
+ * The main entry point for Stencil's virtual DOM-based rendering engine
810
+ *
811
+ * Given a {@link d.HostRef} container and some virtual DOM nodes, this
812
+ * function will handle creating a virtual DOM tree with a single root, patching
813
+ * the current virtual DOM tree onto an old one (if any), dealing with slot
814
+ * relocation, and reflecting attributes.
815
+ *
816
+ * @param hostRef data needed to root and render the virtual DOM tree, such as
817
+ * the DOM node into which it should be rendered.
818
+ * @param renderFnResults the virtual DOM nodes to be rendered
819
+ */
820
+ const renderVdom = (hostRef, renderFnResults) => {
821
+ const hostElm = hostRef.$hostElement$;
822
+ const cmpMeta = hostRef.$cmpMeta$;
823
+ const oldVNode = hostRef.$vnode$ || newVNode(null, null);
824
+ const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
825
+ hostTagName = hostElm.tagName;
826
+ if (cmpMeta.$attrsToReflect$) {
827
+ rootVnode.$attrs$ = rootVnode.$attrs$ || {};
828
+ cmpMeta.$attrsToReflect$.map(([propName, attribute]) => (rootVnode.$attrs$[attribute] = hostElm[propName]));
829
+ }
830
+ rootVnode.$tag$ = null;
831
+ rootVnode.$flags$ |= 4 /* VNODE_FLAGS.isHost */;
832
+ hostRef.$vnode$ = rootVnode;
833
+ rootVnode.$elm$ = oldVNode.$elm$ = (hostElm.shadowRoot || hostElm );
834
+ {
835
+ scopeId = hostElm['s-sc'];
836
+ }
837
+ // synchronous patch
838
+ patch(oldVNode, rootVnode);
839
+ };
840
+ const attachToAncestor = (hostRef, ancestorComponent) => {
841
+ if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
842
+ ancestorComponent['s-p'].push(new Promise((r) => (hostRef.$onRenderResolve$ = r)));
843
+ }
844
+ };
845
+ const scheduleUpdate = (hostRef, isInitialLoad) => {
846
+ {
847
+ hostRef.$flags$ |= 16 /* HOST_FLAGS.isQueuedForUpdate */;
848
+ }
849
+ if (hostRef.$flags$ & 4 /* HOST_FLAGS.isWaitingForChildren */) {
850
+ hostRef.$flags$ |= 512 /* HOST_FLAGS.needsRerender */;
851
+ return;
852
+ }
853
+ attachToAncestor(hostRef, hostRef.$ancestorComponent$);
854
+ // there is no ancestor component or the ancestor component
855
+ // has already fired off its lifecycle update then
856
+ // fire off the initial update
857
+ const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
858
+ return writeTask(dispatch) ;
859
+ };
860
+ const dispatchHooks = (hostRef, isInitialLoad) => {
861
+ const endSchedule = createTime('scheduleUpdate', hostRef.$cmpMeta$.$tagName$);
862
+ const instance = hostRef.$lazyInstance$ ;
863
+ let promise;
864
+ if (isInitialLoad) {
865
+ {
866
+ promise = safeCall(instance, 'componentWillLoad');
867
+ }
868
+ }
869
+ endSchedule();
870
+ return then(promise, () => updateComponent(hostRef, instance, isInitialLoad));
871
+ };
872
+ const updateComponent = async (hostRef, instance, isInitialLoad) => {
873
+ // updateComponent
874
+ const elm = hostRef.$hostElement$;
875
+ const endUpdate = createTime('update', hostRef.$cmpMeta$.$tagName$);
876
+ const rc = elm['s-rc'];
877
+ if (isInitialLoad) {
878
+ // DOM WRITE!
879
+ attachStyles(hostRef);
880
+ }
881
+ const endRender = createTime('render', hostRef.$cmpMeta$.$tagName$);
882
+ {
883
+ callRender(hostRef, instance);
884
+ }
885
+ if (rc) {
886
+ // ok, so turns out there are some child host elements
887
+ // waiting on this parent element to load
888
+ // let's fire off all update callbacks waiting
889
+ rc.map((cb) => cb());
890
+ elm['s-rc'] = undefined;
891
+ }
892
+ endRender();
893
+ endUpdate();
894
+ {
895
+ const childrenPromises = elm['s-p'];
896
+ const postUpdate = () => postUpdateComponent(hostRef);
897
+ if (childrenPromises.length === 0) {
898
+ postUpdate();
899
+ }
900
+ else {
901
+ Promise.all(childrenPromises).then(postUpdate);
902
+ hostRef.$flags$ |= 4 /* HOST_FLAGS.isWaitingForChildren */;
903
+ childrenPromises.length = 0;
904
+ }
905
+ }
906
+ };
907
+ const callRender = (hostRef, instance, elm) => {
908
+ try {
909
+ instance = instance.render() ;
910
+ {
911
+ hostRef.$flags$ &= ~16 /* HOST_FLAGS.isQueuedForUpdate */;
912
+ }
913
+ {
914
+ hostRef.$flags$ |= 2 /* HOST_FLAGS.hasRendered */;
915
+ }
916
+ {
917
+ {
918
+ // looks like we've got child nodes to render into this host element
919
+ // or we need to update the css class/attrs on the host element
920
+ // DOM WRITE!
921
+ {
922
+ renderVdom(hostRef, instance);
923
+ }
924
+ }
925
+ }
926
+ }
927
+ catch (e) {
928
+ consoleError(e, hostRef.$hostElement$);
929
+ }
930
+ return null;
931
+ };
932
+ const postUpdateComponent = (hostRef) => {
933
+ const tagName = hostRef.$cmpMeta$.$tagName$;
934
+ const elm = hostRef.$hostElement$;
935
+ const endPostUpdate = createTime('postUpdate', tagName);
936
+ const instance = hostRef.$lazyInstance$ ;
937
+ const ancestorComponent = hostRef.$ancestorComponent$;
938
+ if (!(hostRef.$flags$ & 64 /* HOST_FLAGS.hasLoadedComponent */)) {
939
+ hostRef.$flags$ |= 64 /* HOST_FLAGS.hasLoadedComponent */;
940
+ {
941
+ // DOM WRITE!
942
+ addHydratedFlag(elm);
943
+ }
944
+ {
945
+ safeCall(instance, 'componentDidLoad');
946
+ }
947
+ endPostUpdate();
948
+ {
949
+ hostRef.$onReadyResolve$(elm);
950
+ if (!ancestorComponent) {
951
+ appDidLoad();
952
+ }
953
+ }
954
+ }
955
+ else {
956
+ endPostUpdate();
957
+ }
958
+ // load events fire from bottom to top
959
+ // the deepest elements load first then bubbles up
960
+ {
961
+ if (hostRef.$onRenderResolve$) {
962
+ hostRef.$onRenderResolve$();
963
+ hostRef.$onRenderResolve$ = undefined;
964
+ }
965
+ if (hostRef.$flags$ & 512 /* HOST_FLAGS.needsRerender */) {
966
+ nextTick(() => scheduleUpdate(hostRef, false));
967
+ }
968
+ hostRef.$flags$ &= ~(4 /* HOST_FLAGS.isWaitingForChildren */ | 512 /* HOST_FLAGS.needsRerender */);
969
+ }
970
+ // ( •_•)
971
+ // ( •_•)>⌐■-■
972
+ // (⌐■_■)
973
+ };
974
+ const appDidLoad = (who) => {
975
+ // on appload
976
+ // we have finish the first big initial render
977
+ {
978
+ addHydratedFlag(doc.documentElement);
979
+ }
980
+ nextTick(() => emitEvent(win, 'appload', { detail: { namespace: NAMESPACE } }));
981
+ };
982
+ const safeCall = (instance, method, arg) => {
983
+ if (instance && instance[method]) {
984
+ try {
985
+ return instance[method](arg);
986
+ }
987
+ catch (e) {
988
+ consoleError(e);
989
+ }
990
+ }
991
+ return undefined;
992
+ };
993
+ const then = (promise, thenFn) => {
994
+ return promise && promise.then ? promise.then(thenFn) : thenFn();
995
+ };
996
+ const addHydratedFlag = (elm) => elm.classList.add('hydrated')
997
+ ;
998
+ const getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
999
+ const setValue = (ref, propName, newVal, cmpMeta) => {
1000
+ // check our new property value against our internal value
1001
+ const hostRef = getHostRef(ref);
1002
+ const oldVal = hostRef.$instanceValues$.get(propName);
1003
+ const flags = hostRef.$flags$;
1004
+ const instance = hostRef.$lazyInstance$ ;
1005
+ newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);
1006
+ // explicitly check for NaN on both sides, as `NaN === NaN` is always false
1007
+ const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
1008
+ const didValueChange = newVal !== oldVal && !areBothNaN;
1009
+ if ((!(flags & 8 /* HOST_FLAGS.isConstructingInstance */) || oldVal === undefined) && didValueChange) {
1010
+ // gadzooks! the property's value has changed!!
1011
+ // set our new value!
1012
+ hostRef.$instanceValues$.set(propName, newVal);
1013
+ if (instance) {
1014
+ if ((flags & (2 /* HOST_FLAGS.hasRendered */ | 16 /* HOST_FLAGS.isQueuedForUpdate */)) === 2 /* HOST_FLAGS.hasRendered */) {
1015
+ // looks like this value actually changed, so we've got work to do!
1016
+ // but only if we've already rendered, otherwise just chill out
1017
+ // queue that we need to do an update, but don't worry about queuing
1018
+ // up millions cuz this function ensures it only runs once
1019
+ scheduleUpdate(hostRef, false);
1020
+ }
1021
+ }
1022
+ }
1023
+ };
1024
+ /**
1025
+ * Attach a series of runtime constructs to a compiled Stencil component
1026
+ * constructor, including getters and setters for the `@Prop` and `@State`
1027
+ * decorators, callbacks for when attributes change, and so on.
1028
+ *
1029
+ * @param Cstr the constructor for a component that we need to process
1030
+ * @param cmpMeta metadata collected previously about the component
1031
+ * @param flags a number used to store a series of bit flags
1032
+ * @returns a reference to the same constructor passed in (but now mutated)
1033
+ */
1034
+ const proxyComponent = (Cstr, cmpMeta, flags) => {
1035
+ if (cmpMeta.$members$) {
1036
+ // It's better to have a const than two Object.entries()
1037
+ const members = Object.entries(cmpMeta.$members$);
1038
+ const prototype = Cstr.prototype;
1039
+ members.map(([memberName, [memberFlags]]) => {
1040
+ if ((memberFlags & 31 /* MEMBER_FLAGS.Prop */ ||
1041
+ ((flags & 2 /* PROXY_FLAGS.proxyState */) && memberFlags & 32 /* MEMBER_FLAGS.State */))) {
1042
+ // proxyComponent - prop
1043
+ Object.defineProperty(prototype, memberName, {
1044
+ get() {
1045
+ // proxyComponent, get value
1046
+ return getValue(this, memberName);
1047
+ },
1048
+ set(newValue) {
1049
+ // proxyComponent, set value
1050
+ setValue(this, memberName, newValue, cmpMeta);
1051
+ },
1052
+ configurable: true,
1053
+ enumerable: true,
1054
+ });
1055
+ }
1056
+ });
1057
+ if ((flags & 1 /* PROXY_FLAGS.isElementConstructor */)) {
1058
+ const attrNameToPropName = new Map();
1059
+ prototype.attributeChangedCallback = function (attrName, _oldValue, newValue) {
1060
+ plt.jmp(() => {
1061
+ const propName = attrNameToPropName.get(attrName);
1062
+ // In a web component lifecycle the attributeChangedCallback runs prior to connectedCallback
1063
+ // in the case where an attribute was set inline.
1064
+ // ```html
1065
+ // <my-component some-attribute="some-value"></my-component>
1066
+ // ```
1067
+ //
1068
+ // There is an edge case where a developer sets the attribute inline on a custom element and then
1069
+ // programmatically changes it before it has been upgraded as shown below:
1070
+ //
1071
+ // ```html
1072
+ // <!-- this component has _not_ been upgraded yet -->
1073
+ // <my-component id="test" some-attribute="some-value"></my-component>
1074
+ // <script>
1075
+ // // grab non-upgraded component
1076
+ // el = document.querySelector("#test");
1077
+ // el.someAttribute = "another-value";
1078
+ // // upgrade component
1079
+ // customElements.define('my-component', MyComponent);
1080
+ // </script>
1081
+ // ```
1082
+ // In this case if we do not unshadow here and use the value of the shadowing property, attributeChangedCallback
1083
+ // will be called with `newValue = "some-value"` and will set the shadowed property (this.someAttribute = "another-value")
1084
+ // to the value that was set inline i.e. "some-value" from above example. When
1085
+ // the connectedCallback attempts to unshadow it will use "some-value" as the initial value rather than "another-value"
1086
+ //
1087
+ // The case where the attribute was NOT set inline but was not set programmatically shall be handled/unshadowed
1088
+ // by connectedCallback as this attributeChangedCallback will not fire.
1089
+ //
1090
+ // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
1091
+ //
1092
+ // TODO(STENCIL-16) we should think about whether or not we actually want to be reflecting the attributes to
1093
+ // properties here given that this goes against best practices outlined here
1094
+ // https://developers.google.com/web/fundamentals/web-components/best-practices#avoid-reentrancy
1095
+ if (this.hasOwnProperty(propName)) {
1096
+ newValue = this[propName];
1097
+ delete this[propName];
1098
+ }
1099
+ else if (prototype.hasOwnProperty(propName) &&
1100
+ typeof this[propName] === 'number' &&
1101
+ this[propName] == newValue) {
1102
+ // if the propName exists on the prototype of `Cstr`, this update may be a result of Stencil using native
1103
+ // APIs to reflect props as attributes. Calls to `setAttribute(someElement, propName)` will result in
1104
+ // `propName` to be converted to a `DOMString`, which may not be what we want for other primitive props.
1105
+ return;
1106
+ }
1107
+ this[propName] = newValue === null && typeof this[propName] === 'boolean' ? false : newValue;
1108
+ });
1109
+ };
1110
+ // create an array of attributes to observe
1111
+ // and also create a map of html attribute name to js property name
1112
+ Cstr.observedAttributes = members
1113
+ .filter(([_, m]) => m[0] & 15 /* MEMBER_FLAGS.HasAttribute */) // filter to only keep props that should match attributes
1114
+ .map(([propName, m]) => {
1115
+ const attrName = m[1] || propName;
1116
+ attrNameToPropName.set(attrName, propName);
1117
+ if (m[0] & 512 /* MEMBER_FLAGS.ReflectAttr */) {
1118
+ cmpMeta.$attrsToReflect$.push([propName, attrName]);
1119
+ }
1120
+ return attrName;
1121
+ });
1122
+ }
1123
+ }
1124
+ return Cstr;
1125
+ };
1126
+ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) => {
1127
+ // initializeComponent
1128
+ if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {
1129
+ {
1130
+ // we haven't initialized this element yet
1131
+ hostRef.$flags$ |= 32 /* HOST_FLAGS.hasInitializedComponent */;
1132
+ // lazy loaded components
1133
+ // request the component's implementation to be
1134
+ // wired up with the host element
1135
+ Cstr = loadModule(cmpMeta);
1136
+ if (Cstr.then) {
1137
+ // Await creates a micro-task avoid if possible
1138
+ const endLoad = uniqueTime();
1139
+ Cstr = await Cstr;
1140
+ endLoad();
1141
+ }
1142
+ if (!Cstr.isProxied) {
1143
+ proxyComponent(Cstr, cmpMeta, 2 /* PROXY_FLAGS.proxyState */);
1144
+ Cstr.isProxied = true;
1145
+ }
1146
+ const endNewInstance = createTime('createInstance', cmpMeta.$tagName$);
1147
+ // ok, time to construct the instance
1148
+ // but let's keep track of when we start and stop
1149
+ // so that the getters/setters don't incorrectly step on data
1150
+ {
1151
+ hostRef.$flags$ |= 8 /* HOST_FLAGS.isConstructingInstance */;
1152
+ }
1153
+ // construct the lazy-loaded component implementation
1154
+ // passing the hostRef is very important during
1155
+ // construction in order to directly wire together the
1156
+ // host element and the lazy-loaded instance
1157
+ try {
1158
+ new Cstr(hostRef);
1159
+ }
1160
+ catch (e) {
1161
+ consoleError(e);
1162
+ }
1163
+ {
1164
+ hostRef.$flags$ &= ~8 /* HOST_FLAGS.isConstructingInstance */;
1165
+ }
1166
+ endNewInstance();
1167
+ fireConnectedCallback(hostRef.$lazyInstance$);
1168
+ }
1169
+ if (Cstr.style) {
1170
+ // this component has styles but we haven't registered them yet
1171
+ let style = Cstr.style;
1172
+ const scopeId = getScopeId(cmpMeta);
1173
+ if (!styles.has(scopeId)) {
1174
+ const endRegisterStyles = createTime('registerStyles', cmpMeta.$tagName$);
1175
+ registerStyle(scopeId, style, !!(cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */));
1176
+ endRegisterStyles();
1177
+ }
1178
+ }
1179
+ }
1180
+ // we've successfully created a lazy instance
1181
+ const ancestorComponent = hostRef.$ancestorComponent$;
1182
+ const schedule = () => scheduleUpdate(hostRef, true);
1183
+ if (ancestorComponent && ancestorComponent['s-rc']) {
1184
+ // this is the initial load and this component it has an ancestor component
1185
+ // but the ancestor component has NOT fired its will update lifecycle yet
1186
+ // so let's just cool our jets and wait for the ancestor to continue first
1187
+ // this will get fired off when the ancestor component
1188
+ // finally gets around to rendering its lazy self
1189
+ // fire off the initial update
1190
+ ancestorComponent['s-rc'].push(schedule);
1191
+ }
1192
+ else {
1193
+ schedule();
1194
+ }
1195
+ };
1196
+ const fireConnectedCallback = (instance) => {
1197
+ {
1198
+ safeCall(instance, 'connectedCallback');
1199
+ }
1200
+ };
1201
+ const connectedCallback = (elm) => {
1202
+ if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
1203
+ const hostRef = getHostRef(elm);
1204
+ const cmpMeta = hostRef.$cmpMeta$;
1205
+ const endConnected = createTime('connectedCallback', cmpMeta.$tagName$);
1206
+ if (!(hostRef.$flags$ & 1 /* HOST_FLAGS.hasConnected */)) {
1207
+ // first time this component has connected
1208
+ hostRef.$flags$ |= 1 /* HOST_FLAGS.hasConnected */;
1209
+ {
1210
+ // find the first ancestor component (if there is one) and register
1211
+ // this component as one of the actively loading child components for its ancestor
1212
+ let ancestorComponent = elm;
1213
+ while ((ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host)) {
1214
+ // climb up the ancestors looking for the first
1215
+ // component that hasn't finished its lifecycle update yet
1216
+ if (ancestorComponent['s-p']) {
1217
+ // we found this components first ancestor component
1218
+ // keep a reference to this component's ancestor component
1219
+ attachToAncestor(hostRef, (hostRef.$ancestorComponent$ = ancestorComponent));
1220
+ break;
1221
+ }
1222
+ }
1223
+ }
1224
+ // Lazy properties
1225
+ // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
1226
+ if (cmpMeta.$members$) {
1227
+ Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
1228
+ if (memberFlags & 31 /* MEMBER_FLAGS.Prop */ && elm.hasOwnProperty(memberName)) {
1229
+ const value = elm[memberName];
1230
+ delete elm[memberName];
1231
+ elm[memberName] = value;
1232
+ }
1233
+ });
1234
+ }
1235
+ {
1236
+ initializeComponent(elm, hostRef, cmpMeta);
1237
+ }
1238
+ }
1239
+ else {
1240
+ // fire off connectedCallback() on component instance
1241
+ fireConnectedCallback(hostRef.$lazyInstance$);
1242
+ }
1243
+ endConnected();
1244
+ }
1245
+ };
1246
+ const disconnectedCallback = (elm) => {
1247
+ if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
1248
+ const hostRef = getHostRef(elm);
1249
+ const instance = hostRef.$lazyInstance$ ;
1250
+ {
1251
+ safeCall(instance, 'disconnectedCallback');
1252
+ }
1253
+ }
1254
+ };
1255
+ const bootstrapLazy = (lazyBundles, options = {}) => {
1256
+ var _a;
1257
+ const endBootstrap = createTime();
1258
+ const cmpTags = [];
1259
+ const exclude = options.exclude || [];
1260
+ const customElements = win.customElements;
1261
+ const head = doc.head;
1262
+ const metaCharset = /*@__PURE__*/ head.querySelector('meta[charset]');
1263
+ const visibilityStyle = /*@__PURE__*/ doc.createElement('style');
1264
+ const deferredConnectedCallbacks = [];
1265
+ let appLoadFallback;
1266
+ let isBootstrapping = true;
1267
+ Object.assign(plt, options);
1268
+ plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
1269
+ lazyBundles.map((lazyBundle) => {
1270
+ lazyBundle[1].map((compactMeta) => {
1271
+ const cmpMeta = {
1272
+ $flags$: compactMeta[0],
1273
+ $tagName$: compactMeta[1],
1274
+ $members$: compactMeta[2],
1275
+ $listeners$: compactMeta[3],
1276
+ };
1277
+ {
1278
+ cmpMeta.$members$ = compactMeta[2];
1279
+ }
1280
+ {
1281
+ cmpMeta.$attrsToReflect$ = [];
1282
+ }
1283
+ const tagName = cmpMeta.$tagName$;
1284
+ const HostElement = class extends HTMLElement {
1285
+ // StencilLazyHost
1286
+ constructor(self) {
1287
+ // @ts-ignore
1288
+ super(self);
1289
+ self = this;
1290
+ registerHost(self, cmpMeta);
1291
+ if (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) {
1292
+ // this component is using shadow dom
1293
+ // and this browser supports shadow dom
1294
+ // add the read-only property "shadowRoot" to the host element
1295
+ // adding the shadow root build conditionals to minimize runtime
1296
+ {
1297
+ {
1298
+ self.attachShadow({ mode: 'open' });
1299
+ }
1300
+ }
1301
+ }
1302
+ }
1303
+ connectedCallback() {
1304
+ if (appLoadFallback) {
1305
+ clearTimeout(appLoadFallback);
1306
+ appLoadFallback = null;
1307
+ }
1308
+ if (isBootstrapping) {
1309
+ // connectedCallback will be processed once all components have been registered
1310
+ deferredConnectedCallbacks.push(this);
1311
+ }
1312
+ else {
1313
+ plt.jmp(() => connectedCallback(this));
1314
+ }
1315
+ }
1316
+ disconnectedCallback() {
1317
+ plt.jmp(() => disconnectedCallback(this));
1318
+ }
1319
+ componentOnReady() {
1320
+ return getHostRef(this).$onReadyPromise$;
1321
+ }
1322
+ };
1323
+ cmpMeta.$lazyBundleId$ = lazyBundle[0];
1324
+ if (!exclude.includes(tagName) && !customElements.get(tagName)) {
1325
+ cmpTags.push(tagName);
1326
+ customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* PROXY_FLAGS.isElementConstructor */));
1327
+ }
1328
+ });
1329
+ });
1330
+ {
1331
+ visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;
1332
+ visibilityStyle.setAttribute('data-styles', '');
1333
+ // Apply CSP nonce to the style tag if it exists
1334
+ const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
1335
+ if (nonce != null) {
1336
+ visibilityStyle.setAttribute('nonce', nonce);
1337
+ }
1338
+ head.insertBefore(visibilityStyle, metaCharset ? metaCharset.nextSibling : head.firstChild);
1339
+ }
1340
+ // Process deferred connectedCallbacks now all components have been registered
1341
+ isBootstrapping = false;
1342
+ if (deferredConnectedCallbacks.length) {
1343
+ deferredConnectedCallbacks.map((host) => host.connectedCallback());
1344
+ }
1345
+ else {
1346
+ {
1347
+ plt.jmp(() => (appLoadFallback = setTimeout(appDidLoad, 30)));
1348
+ }
1349
+ }
1350
+ // Fallback appLoad event
1351
+ endBootstrap();
1352
+ };
1353
+ /**
1354
+ * Assigns the given value to the nonce property on the runtime platform object.
1355
+ * During runtime, this value is used to set the nonce attribute on all dynamically created script and style tags.
1356
+ * @param nonce The value to be assigned to the platform nonce property.
1357
+ * @returns void
1358
+ */
1359
+ const setNonce = (nonce) => (plt.$nonce$ = nonce);
1360
+ const hostRefs = /*@__PURE__*/ new WeakMap();
1361
+ const getHostRef = (ref) => hostRefs.get(ref);
1362
+ const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
1363
+ const registerHost = (elm, cmpMeta) => {
1364
+ const hostRef = {
1365
+ $flags$: 0,
1366
+ $hostElement$: elm,
1367
+ $cmpMeta$: cmpMeta,
1368
+ $instanceValues$: new Map(),
1369
+ };
1370
+ {
1371
+ hostRef.$onReadyPromise$ = new Promise((r) => (hostRef.$onReadyResolve$ = r));
1372
+ elm['s-p'] = [];
1373
+ elm['s-rc'] = [];
1374
+ }
1375
+ return hostRefs.set(elm, hostRef);
1376
+ };
1377
+ const isMemberInElement = (elm, memberName) => memberName in elm;
1378
+ const consoleError = (e, el) => (0, console.error)(e, el);
1379
+ const cmpModules = /*@__PURE__*/ new Map();
1380
+ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
1381
+ // loadModuleImport
1382
+ const exportName = cmpMeta.$tagName$.replace(/-/g, '_');
1383
+ const bundleId = cmpMeta.$lazyBundleId$;
1384
+ const module = cmpModules.get(bundleId) ;
1385
+ if (module) {
1386
+ return module[exportName];
1387
+ }
1388
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/
1389
+ return import(
1390
+ /* @vite-ignore */
1391
+ /* webpackInclude: /\.entry\.js$/ */
1392
+ /* webpackExclude: /\.system\.entry\.js$/ */
1393
+ /* webpackMode: "lazy" */
1394
+ `./${bundleId}.entry.js${''}`).then((importedModule) => {
1395
+ {
1396
+ cmpModules.set(bundleId, importedModule);
1397
+ }
1398
+ return importedModule[exportName];
1399
+ }, consoleError);
1400
+ };
1401
+ const styles = /*@__PURE__*/ new Map();
1402
+ const win = typeof window !== 'undefined' ? window : {};
1403
+ const doc = win.document || { head: {} };
1404
+ const plt = {
1405
+ $flags$: 0,
1406
+ $resourcesUrl$: '',
1407
+ jmp: (h) => h(),
1408
+ raf: (h) => requestAnimationFrame(h),
1409
+ ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
1410
+ rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
1411
+ ce: (eventName, opts) => new CustomEvent(eventName, opts),
1412
+ };
1413
+ const promiseResolve = (v) => Promise.resolve(v);
1414
+ const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
1415
+ try {
1416
+ new CSSStyleSheet();
1417
+ return typeof new CSSStyleSheet().replaceSync === 'function';
1418
+ }
1419
+ catch (e) { }
1420
+ return false;
1421
+ })()
1422
+ ;
1423
+ const queueDomReads = [];
1424
+ const queueDomWrites = [];
1425
+ const queueTask = (queue, write) => (cb) => {
1426
+ queue.push(cb);
1427
+ if (!queuePending) {
1428
+ queuePending = true;
1429
+ if (write && plt.$flags$ & 4 /* PLATFORM_FLAGS.queueSync */) {
1430
+ nextTick(flush);
1431
+ }
1432
+ else {
1433
+ plt.raf(flush);
1434
+ }
1435
+ }
1436
+ };
1437
+ const consume = (queue) => {
1438
+ for (let i = 0; i < queue.length; i++) {
1439
+ try {
1440
+ queue[i](performance.now());
1441
+ }
1442
+ catch (e) {
1443
+ consoleError(e);
1444
+ }
1445
+ }
1446
+ queue.length = 0;
1447
+ };
1448
+ const flush = () => {
1449
+ // always force a bunch of medium callbacks to run, but still have
1450
+ // a throttle on how many can run in a certain time
1451
+ // DOM READS!!!
1452
+ consume(queueDomReads);
1453
+ // DOM WRITES!!!
1454
+ {
1455
+ consume(queueDomWrites);
1456
+ if ((queuePending = queueDomReads.length > 0)) {
1457
+ // still more to do yet, but we've run out of time
1458
+ // let's let this thing cool off and try again in the next tick
1459
+ plt.raf(flush);
1460
+ }
1461
+ }
1462
+ };
1463
+ const nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);
1464
+ const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
1465
+
1466
+ export { Host as H, bootstrapLazy as b, getElement as g, h, promiseResolve as p, registerInstance as r, setNonce as s };