pushfeedback 0.1.21 → 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 (34) 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.css +88 -67
  8. package/dist/collection/components/feedback-modal/feedback-modal.js +1 -1
  9. package/dist/collection/index.js +1 -1
  10. package/dist/components/feedback-button.js +1 -1
  11. package/dist/components/feedback-modal.js +1 -1
  12. package/dist/components/feedback-modal2.js +8156 -1
  13. package/dist/components/index.js +3 -1
  14. package/dist/esm/feedback-button_2.entry.js +8194 -1
  15. package/dist/esm/index-16e15d67.js +1466 -1
  16. package/dist/esm/index.js +1 -0
  17. package/dist/esm/loader.js +18 -1
  18. package/dist/esm/polyfills/core-js.js +11 -1
  19. package/dist/esm/polyfills/css-shim.js +1 -1
  20. package/dist/esm/polyfills/dom.js +79 -1
  21. package/dist/esm/polyfills/es5-html-element.js +1 -1
  22. package/dist/esm/polyfills/index.js +34 -1
  23. package/dist/esm/polyfills/system.js +6 -1
  24. package/dist/esm/pushfeedback.js +18 -1
  25. package/dist/index.cjs.js +1 -1
  26. package/dist/index.js +1 -1
  27. package/dist/pushfeedback/p-1a2383a9.entry.js +22 -0
  28. package/dist/pushfeedback/p-63230cb5.js +2 -1
  29. package/dist/pushfeedback/pushfeedback.esm.js +1 -1
  30. package/dist/types/components/feedback-button/feedback-button.d.ts +6 -2
  31. package/dist/types/components/feedback-modal/feedback-modal.d.ts +9 -3
  32. package/dist/types/components.d.ts +24 -8
  33. package/package.json +1 -1
  34. package/dist/pushfeedback/p-b7d6c61e.entry.js +0 -1
@@ -1 +1,1466 @@
1
- const _0x3e7dca=_0xbffb;(function(_0x42ce58,_0x4c13d5){const _0x3b46ec=_0xbffb,_0x43355a=_0x42ce58();while(!![]){try{const _0x46bdfa=parseInt(_0x3b46ec(0x1e8))/0x1+-parseInt(_0x3b46ec(0x236))/0x2*(parseInt(_0x3b46ec(0x181))/0x3)+-parseInt(_0x3b46ec(0x170))/0x4*(parseInt(_0x3b46ec(0x15e))/0x5)+-parseInt(_0x3b46ec(0x190))/0x6*(parseInt(_0x3b46ec(0x1fe))/0x7)+-parseInt(_0x3b46ec(0x271))/0x8*(-parseInt(_0x3b46ec(0x204))/0x9)+parseInt(_0x3b46ec(0x246))/0xa+parseInt(_0x3b46ec(0x279))/0xb;if(_0x46bdfa===_0x4c13d5)break;else _0x43355a['push'](_0x43355a['shift']());}catch(_0x5d7fbf){_0x43355a['push'](_0x43355a['shift']());}}}(_0x3e67,0x8e641));const NAMESPACE=_0x3e7dca(0x27a);function _0xbffb(_0x4d0d07,_0xcf620c){const _0x3e67a4=_0x3e67();return _0xbffb=function(_0xbffb8a,_0x184efc){_0xbffb8a=_0xbffb8a-0x15e;let _0x235bb2=_0x3e67a4[_0xbffb8a];return _0x235bb2;},_0xbffb(_0x4d0d07,_0xcf620c);}let scopeId,hostTagName,isSvgMode=![],queuePending=![];const createTime=(_0x1c1e8d,_0x477b4f='')=>{{return()=>{return;};}},uniqueTime=(_0x59aaa7,_0x43bd9b)=>{{return()=>{return;};}},HYDRATED_CSS=_0x3e7dca(0x26c),EMPTY_OBJ={},SVG_NS='http://www.w3.org/2000/svg',HTML_NS=_0x3e7dca(0x276),isDef=_0x1d5fe0=>_0x1d5fe0!=null,isComplexType=_0x1ab701=>{const _0x36eeac=_0x3e7dca,_0x116b50={'OlNno':function(_0x5e24ed,_0x256e2a){return _0x5e24ed===_0x256e2a;},'LuAuF':_0x36eeac(0x197),'DZTaQ':function(_0x4254b3,_0x35977e){return _0x4254b3===_0x35977e;},'SoDZq':_0x36eeac(0x235)};return _0x1ab701=typeof _0x1ab701,_0x116b50[_0x36eeac(0x1ba)](_0x1ab701,_0x116b50[_0x36eeac(0x229)])||_0x116b50['DZTaQ'](_0x1ab701,_0x116b50[_0x36eeac(0x1b9)]);};function queryNonceMetaTagContent(_0x6da31f){const _0x4318f1=_0x3e7dca,_0x2fc2c9={'ALeEM':function(_0x3e2d63,_0x364271){return _0x3e2d63!==_0x364271;},'ZHiOt':function(_0x5c8100,_0x55765f){return _0x5c8100===_0x55765f;},'MxOFC':_0x4318f1(0x183),'XfToW':function(_0x18af02,_0xfb830c){return _0x18af02===_0xfb830c;},'bMVyt':_0x4318f1(0x26b)};var _0x44e2a2,_0x1987c4,_0x4b957f;return _0x2fc2c9[_0x4318f1(0x1f4)](_0x4b957f=(_0x1987c4=_0x2fc2c9[_0x4318f1(0x1dc)](_0x44e2a2=_0x6da31f[_0x4318f1(0x18d)],null)||_0x44e2a2===void 0x0?void 0x0:_0x44e2a2['querySelector'](_0x2fc2c9[_0x4318f1(0x245)]))===null||_0x2fc2c9[_0x4318f1(0x22f)](_0x1987c4,void 0x0)?void 0x0:_0x1987c4['getAttribute'](_0x2fc2c9[_0x4318f1(0x1a7)]),null)&&_0x2fc2c9['ALeEM'](_0x4b957f,void 0x0)?_0x4b957f:undefined;}const h=(_0x1bf9ee,_0x26adb6,..._0x58ce9b)=>{const _0x32c894=_0x3e7dca,_0x30d0f1={'bmzxf':function(_0x41f3cb,_0x39c1b4){return _0x41f3cb<_0x39c1b4;},'HdWOV':function(_0x6bd9f0,_0x2638e8){return _0x6bd9f0(_0x2638e8);},'UEBsE':function(_0x20691e,_0x3c0b5f){return _0x20691e!=_0x3c0b5f;},'hRphR':_0x32c894(0x26d),'GpSsI':function(_0x3cdb41,_0x49a701){return _0x3cdb41!==_0x49a701;},'guJPw':_0x32c894(0x235),'AmvTQ':function(_0x428efb,_0x48cb5e){return _0x428efb&&_0x48cb5e;},'ZjkRs':function(_0x797eaf,_0x52a17d){return _0x797eaf-_0x52a17d;},'DKyTF':function(_0x211d3f,_0x14f029,_0x52c51b){return _0x211d3f(_0x14f029,_0x52c51b);},'ChOuw':_0x32c894(0x197),'GQlPH':function(_0x597c00,_0x4537b6,_0x59aa08){return _0x597c00(_0x4537b6,_0x59aa08);},'IrExc':function(_0x282726,_0x47012d){return _0x282726>_0x47012d;}};let _0x3ecb2e=null,_0x3e9b7e=![],_0x25fb85=![];const _0x5d6ad9=[],_0x173373=_0x47fb5a=>{const _0x3434ad=_0x32c894;for(let _0x4d8ec1=0x0;_0x30d0f1[_0x3434ad(0x178)](_0x4d8ec1,_0x47fb5a[_0x3434ad(0x188)]);_0x4d8ec1++){_0x3ecb2e=_0x47fb5a[_0x4d8ec1];if(Array[_0x3434ad(0x16b)](_0x3ecb2e))_0x30d0f1[_0x3434ad(0x27d)](_0x173373,_0x3ecb2e);else _0x30d0f1[_0x3434ad(0x177)](_0x3ecb2e,null)&&typeof _0x3ecb2e!==_0x30d0f1[_0x3434ad(0x1f0)]&&((_0x3e9b7e=_0x30d0f1[_0x3434ad(0x1d8)](typeof _0x1bf9ee,_0x30d0f1[_0x3434ad(0x161)])&&!_0x30d0f1[_0x3434ad(0x27d)](isComplexType,_0x3ecb2e))&&(_0x3ecb2e=String(_0x3ecb2e)),_0x30d0f1[_0x3434ad(0x24e)](_0x3e9b7e,_0x25fb85)?_0x5d6ad9[_0x30d0f1[_0x3434ad(0x1c9)](_0x5d6ad9['length'],0x1)][_0x3434ad(0x1ad)]+=_0x3ecb2e:_0x5d6ad9['push'](_0x3e9b7e?_0x30d0f1[_0x3434ad(0x166)](newVNode,null,_0x3ecb2e):_0x3ecb2e),_0x25fb85=_0x3e9b7e);}};_0x30d0f1[_0x32c894(0x27d)](_0x173373,_0x58ce9b);if(_0x26adb6){const _0x1f3ebc=_0x26adb6[_0x32c894(0x18b)]||_0x26adb6[_0x32c894(0x22e)];_0x1f3ebc&&(_0x26adb6[_0x32c894(0x22e)]=typeof _0x1f3ebc!==_0x30d0f1[_0x32c894(0x1d1)]?_0x1f3ebc:Object['keys'](_0x1f3ebc)[_0x32c894(0x165)](_0x57d493=>_0x1f3ebc[_0x57d493])[_0x32c894(0x191)]('\x20'));}const _0x266ddc=_0x30d0f1[_0x32c894(0x1be)](newVNode,_0x1bf9ee,null);return _0x266ddc['$attrs$']=_0x26adb6,_0x30d0f1[_0x32c894(0x1af)](_0x5d6ad9[_0x32c894(0x188)],0x0)&&(_0x266ddc[_0x32c894(0x1ea)]=_0x5d6ad9),_0x266ddc;},newVNode=(_0x2b061d,_0x259c02)=>{const _0x4732ba={'$flags$':0x0,'$tag$':_0x2b061d,'$text$':_0x259c02,'$elm$':null,'$children$':null};{_0x4732ba['$attrs$']=null;}return _0x4732ba;},Host={},isHost=_0x381688=>_0x381688&&_0x381688['$tag$']===Host,parsePropertyValue=(_0x382c28,_0x584833)=>{const _0x4f57d4=_0x3e7dca,_0x2eebb3={'OzwUE':function(_0x4a8e07,_0x10125b){return _0x4a8e07&_0x10125b;},'WLJXE':function(_0x49b6e2,_0x135fb9){return _0x49b6e2===_0x135fb9;},'NUbWN':function(_0x1be7cc,_0x2f69bd){return _0x1be7cc===_0x2f69bd;},'QINDE':function(_0x2da00d,_0x567167){return _0x2da00d&_0x567167;},'cyXCY':function(_0x4e839d,_0x371226){return _0x4e839d(_0x371226);}};if(_0x382c28!=null&&!isComplexType(_0x382c28)){if(_0x2eebb3[_0x4f57d4(0x223)](_0x584833,0x4))return _0x2eebb3[_0x4f57d4(0x262)](_0x382c28,_0x4f57d4(0x1ee))?![]:_0x2eebb3[_0x4f57d4(0x1ce)](_0x382c28,'')||!!_0x382c28;if(_0x2eebb3['QINDE'](_0x584833,0x1))return _0x2eebb3[_0x4f57d4(0x17c)](String,_0x382c28);return _0x382c28;}return _0x382c28;},getElement=_0x2eeac2=>getHostRef(_0x2eeac2)[_0x3e7dca(0x25d)],emitEvent=(_0x2ff7bf,_0x157019,_0x281983)=>{const _0x98f6a=_0x3e7dca,_0x5b88d9=plt['ce'](_0x157019,_0x281983);return _0x2ff7bf[_0x98f6a(0x1b3)](_0x5b88d9),_0x5b88d9;},rootAppliedStyles=new WeakMap(),registerStyle=(_0x5df45b,_0xf98d09,_0x4184f5)=>{const _0x1e50e4=_0x3e7dca,_0xb90c42={'omJOT':_0x1e50e4(0x23d)};let _0x396b10=styles[_0x1e50e4(0x19c)](_0x5df45b);supportsConstructableStylesheets&&_0x4184f5?(_0x396b10=_0x396b10||new CSSStyleSheet(),typeof _0x396b10===_0xb90c42[_0x1e50e4(0x1d0)]?_0x396b10=_0xf98d09:_0x396b10['replaceSync'](_0xf98d09)):_0x396b10=_0xf98d09,styles['set'](_0x5df45b,_0x396b10);},addStyle=(_0x320454,_0x510845,_0x925eb7,_0x360cfe)=>{const _0x421876=_0x3e7dca,_0x21ae58={'gHOyy':function(_0x3df6e2,_0x18ad3d){return _0x3df6e2(_0x18ad3d);},'SGZlm':function(_0x246bd0,_0xfa184c){return _0x246bd0===_0xfa184c;},'bukYI':_0x421876(0x23d),'YQMJR':function(_0x34fd01,_0x25c062){return _0x34fd01!==_0x25c062;},'snYkQ':function(_0x443d61,_0x3cd769){return _0x443d61(_0x3cd769);},'CWKUO':function(_0x386ec2,_0x547dc1){return _0x386ec2!=_0x547dc1;}};var _0x432304;let _0x31aff8=_0x21ae58[_0x421876(0x1e5)](getScopeId,_0x510845);const _0x395f45=styles[_0x421876(0x19c)](_0x31aff8);_0x320454=_0x21ae58[_0x421876(0x1e2)](_0x320454['nodeType'],0xb)?_0x320454:doc;if(_0x395f45){if(_0x21ae58['SGZlm'](typeof _0x395f45,_0x21ae58['bukYI'])){_0x320454=_0x320454['head']||_0x320454;let _0x55ad1b=rootAppliedStyles['get'](_0x320454),_0x213725;!_0x55ad1b&&rootAppliedStyles[_0x421876(0x214)](_0x320454,_0x55ad1b=new Set());if(!_0x55ad1b[_0x421876(0x1de)](_0x31aff8)){{{_0x213725=doc['createElement'](_0x421876(0x24c)),_0x213725[_0x421876(0x200)]=_0x395f45;}const _0x1ebba0=_0x21ae58[_0x421876(0x1dd)](_0x432304=plt[_0x421876(0x260)],null)&&_0x21ae58[_0x421876(0x1dd)](_0x432304,void 0x0)?_0x432304:_0x21ae58[_0x421876(0x1b8)](queryNonceMetaTagContent,doc);_0x21ae58[_0x421876(0x19f)](_0x1ebba0,null)&&_0x213725[_0x421876(0x27f)](_0x421876(0x256),_0x1ebba0),_0x320454[_0x421876(0x27c)](_0x213725,_0x320454[_0x421876(0x1cc)](_0x421876(0x1fa)));}_0x55ad1b&&_0x55ad1b[_0x421876(0x219)](_0x31aff8);}}else!_0x320454['adoptedStyleSheets'][_0x421876(0x254)](_0x395f45)&&(_0x320454['adoptedStyleSheets']=[..._0x320454[_0x421876(0x20d)],_0x395f45]);}return _0x31aff8;},attachStyles=_0x5a2141=>{const _0x52a5eb=_0x3e7dca,_0xc2c2b1={'IMiuo':_0x52a5eb(0x16d),'xzZRV':function(_0x1dcd70,_0x1d5eca,_0x2628cd){return _0x1dcd70(_0x1d5eca,_0x2628cd);},'mroYa':function(_0x299736,_0x1352ec){return _0x299736&_0x1352ec;},'nRxvY':function(_0x3aa096,_0x34d3d2){return _0x3aa096+_0x34d3d2;},'IqjAv':function(_0xff28db){return _0xff28db();}},_0x1fdb33=_0x5a2141[_0x52a5eb(0x234)],_0x27cb49=_0x5a2141[_0x52a5eb(0x25d)],_0x532cda=_0x1fdb33[_0x52a5eb(0x238)],_0x5724ba=createTime(_0xc2c2b1[_0x52a5eb(0x18c)],_0x1fdb33[_0x52a5eb(0x164)]),_0x25b9d6=_0xc2c2b1[_0x52a5eb(0x270)](addStyle,_0x27cb49[_0x52a5eb(0x1a3)]?_0x27cb49[_0x52a5eb(0x1a3)]:_0x27cb49['getRootNode'](),_0x1fdb33);_0xc2c2b1[_0x52a5eb(0x1b7)](_0x532cda,0xa)&&(_0x27cb49[_0x52a5eb(0x1f5)]=_0x25b9d6,_0x27cb49[_0x52a5eb(0x24b)][_0x52a5eb(0x219)](_0xc2c2b1[_0x52a5eb(0x1a6)](_0x25b9d6,'-h'))),_0xc2c2b1['IqjAv'](_0x5724ba);},getScopeId=(_0x3b177b,_0x65a8b3)=>'sc-'+_0x3b177b['$tagName$'],setAccessor=(_0x30fcf4,_0x220840,_0x4fe7e2,_0x33a79f,_0x4f50b7,_0x5362f5)=>{const _0x82725=_0x3e7dca,_0x302ecb={'vFgxl':function(_0x320874,_0xa98ce0){return _0x320874!==_0xa98ce0;},'oKIIf':function(_0x2ee1a2,_0x2a3e2e,_0x5810cc){return _0x2ee1a2(_0x2a3e2e,_0x5810cc);},'zJCfH':function(_0x3b7745,_0xc6a8eb){return _0x3b7745===_0xc6a8eb;},'JeCjw':_0x82725(0x22e),'RIfTQ':function(_0x5f4356,_0x38f882){return _0x5f4356(_0x38f882);},'RCQYu':function(_0x233ead,_0x5d4888){return _0x233ead===_0x5d4888;},'ERmRh':_0x82725(0x24c),'jHmlN':function(_0xef3c94,_0x3f32a4){return _0xef3c94==_0x3f32a4;},'vCKPe':function(_0x5ea131,_0x2ffc9b){return _0x5ea131!==_0x2ffc9b;},'XRKbM':function(_0x4b541f,_0x133525){return _0x4b541f===_0x133525;},'MRfQj':_0x82725(0x16f),'qIOgF':function(_0x3bc39e,_0x2093dd){return _0x3bc39e(_0x2093dd);},'XoTHP':function(_0x2dc139,_0x2f1f0e){return _0x2dc139===_0x2f1f0e;},'xYyVH':function(_0x11cfa8,_0x30e599,_0x51554f){return _0x11cfa8(_0x30e599,_0x51554f);},'BdBfE':function(_0x2e1c6e,_0x21e34b){return _0x2e1c6e+_0x21e34b;},'nyxaq':function(_0xcf6577,_0x2286b0){return _0xcf6577==_0x2286b0;},'SJLvt':_0x82725(0x180),'ugCqZ':function(_0xe9f965,_0x340b6d){return _0xe9f965!=_0x340b6d;},'hujyr':function(_0x79583,_0x20452f){return _0x79583==_0x20452f;},'Qrjnl':function(_0x591c5b,_0x5507ab){return _0x591c5b===_0x5507ab;},'QTISL':function(_0x299f94,_0x2eb767){return _0x299f94&_0x2eb767;},'OEDAV':function(_0x2d7ed1,_0x59a73a){return _0x2d7ed1===_0x59a73a;}};if(_0x302ecb['vFgxl'](_0x4fe7e2,_0x33a79f)){let _0xaabe3b=_0x302ecb[_0x82725(0x23c)](isMemberInElement,_0x30fcf4,_0x220840),_0x9b59e8=_0x220840[_0x82725(0x19d)]();if(_0x302ecb[_0x82725(0x193)](_0x220840,_0x302ecb[_0x82725(0x182)])){const _0x994cde=_0x30fcf4[_0x82725(0x24b)],_0x1b9f20=_0x302ecb[_0x82725(0x1c2)](parseClassList,_0x4fe7e2),_0x241ecb=parseClassList(_0x33a79f);_0x994cde[_0x82725(0x259)](..._0x1b9f20[_0x82725(0x165)](_0x227ddb=>_0x227ddb&&!_0x241ecb[_0x82725(0x254)](_0x227ddb))),_0x994cde[_0x82725(0x219)](..._0x241ecb[_0x82725(0x165)](_0xeafd4=>_0xeafd4&&!_0x1b9f20[_0x82725(0x254)](_0xeafd4)));}else{if(_0x302ecb['RCQYu'](_0x220840,_0x302ecb[_0x82725(0x1db)])){{for(const _0x4ca100 in _0x4fe7e2){(!_0x33a79f||_0x302ecb[_0x82725(0x272)](_0x33a79f[_0x4ca100],null))&&(_0x4ca100[_0x82725(0x254)]('-')?_0x30fcf4[_0x82725(0x24c)]['removeProperty'](_0x4ca100):_0x30fcf4['style'][_0x4ca100]='');}}for(const _0xb36bd1 in _0x33a79f){(!_0x4fe7e2||_0x302ecb[_0x82725(0x18f)](_0x33a79f[_0xb36bd1],_0x4fe7e2[_0xb36bd1]))&&(_0xb36bd1[_0x82725(0x254)]('-')?_0x30fcf4['style']['setProperty'](_0xb36bd1,_0x33a79f[_0xb36bd1]):_0x30fcf4[_0x82725(0x24c)][_0xb36bd1]=_0x33a79f[_0xb36bd1]);}}else{if(_0x302ecb[_0x82725(0x1b2)](_0x220840,_0x302ecb['MRfQj']))_0x33a79f&&_0x302ecb['qIOgF'](_0x33a79f,_0x30fcf4);else{if(!_0xaabe3b&&_0x220840[0x0]==='o'&&_0x302ecb[_0x82725(0x1ab)](_0x220840[0x1],'n')){if(_0x302ecb[_0x82725(0x1c5)](_0x220840[0x2],'-'))_0x220840=_0x220840['slice'](0x3);else _0x302ecb[_0x82725(0x1fb)](isMemberInElement,win,_0x9b59e8)?_0x220840=_0x9b59e8[_0x82725(0x192)](0x2):_0x220840=_0x302ecb[_0x82725(0x20f)](_0x9b59e8[0x2],_0x220840[_0x82725(0x192)](0x3));_0x4fe7e2&&plt[_0x82725(0x18e)](_0x30fcf4,_0x220840,_0x4fe7e2,![]),_0x33a79f&&plt['ael'](_0x30fcf4,_0x220840,_0x33a79f,![]);}else{const _0xdfeaa2=_0x302ecb[_0x82725(0x220)](isComplexType,_0x33a79f);if((_0xaabe3b||_0xdfeaa2&&_0x302ecb[_0x82725(0x21b)](_0x33a79f,null))&&!_0x4f50b7)try{if(!_0x30fcf4[_0x82725(0x269)][_0x82725(0x254)]('-')){const _0x35ce86=_0x302ecb[_0x82725(0x1c4)](_0x33a79f,null)?'':_0x33a79f;if(_0x302ecb[_0x82725(0x1b2)](_0x220840,_0x302ecb[_0x82725(0x240)]))_0xaabe3b=![];else(_0x302ecb[_0x82725(0x272)](_0x4fe7e2,null)||_0x302ecb[_0x82725(0x1bb)](_0x30fcf4[_0x220840],_0x35ce86))&&(_0x30fcf4[_0x220840]=_0x35ce86);}else _0x30fcf4[_0x220840]=_0x33a79f;}catch(_0x421ab2){}if(_0x302ecb['hujyr'](_0x33a79f,null)||_0x33a79f===![]){if(_0x302ecb[_0x82725(0x21b)](_0x33a79f,![])||_0x302ecb['Qrjnl'](_0x30fcf4[_0x82725(0x275)](_0x220840),'')){_0x30fcf4['removeAttribute'](_0x220840);}}else{if((!_0xaabe3b||_0x302ecb[_0x82725(0x1bf)](_0x5362f5,0x4)||_0x4f50b7)&&!_0xdfeaa2){_0x33a79f=_0x302ecb[_0x82725(0x196)](_0x33a79f,!![])?'':_0x33a79f;{_0x30fcf4['setAttribute'](_0x220840,_0x33a79f);}}}}}}}}},parseClassListRegex=/\s/,parseClassList=_0x15d307=>!_0x15d307?[]:_0x15d307[_0x3e7dca(0x20b)](parseClassListRegex),updateElement=(_0x1ff62b,_0x5c2883,_0x242c1d,_0x226274)=>{const _0x2908ac=_0x3e7dca,_0x49ae45={'eDkuf':function(_0x36ef6a,_0x21a3a1){return _0x36ef6a===_0x21a3a1;},'LpAdR':function(_0x14da28,_0x4bba9c,_0x43048e,_0x5ee009,_0x74c29d,_0x30c5d6,_0x292040){return _0x14da28(_0x4bba9c,_0x43048e,_0x5ee009,_0x74c29d,_0x30c5d6,_0x292040);},'kMqPW':function(_0x1608b8,_0x25d7cd,_0x1326c8,_0x194290,_0x11c508,_0xa57d8e,_0x2d959f){return _0x1608b8(_0x25d7cd,_0x1326c8,_0x194290,_0x11c508,_0xa57d8e,_0x2d959f);}},_0x4838f5=_0x49ae45[_0x2908ac(0x25e)](_0x5c2883[_0x2908ac(0x218)][_0x2908ac(0x213)],0xb)&&_0x5c2883[_0x2908ac(0x218)][_0x2908ac(0x172)]?_0x5c2883[_0x2908ac(0x218)][_0x2908ac(0x172)]:_0x5c2883[_0x2908ac(0x218)],_0x420295=_0x1ff62b&&_0x1ff62b['$attrs$']||EMPTY_OBJ,_0x4886f8=_0x5c2883['$attrs$']||EMPTY_OBJ;{for(_0x226274 in _0x420295){!(_0x226274 in _0x4886f8)&&_0x49ae45[_0x2908ac(0x230)](setAccessor,_0x4838f5,_0x226274,_0x420295[_0x226274],undefined,_0x242c1d,_0x5c2883['$flags$']);}}for(_0x226274 in _0x4886f8){_0x49ae45['kMqPW'](setAccessor,_0x4838f5,_0x226274,_0x420295[_0x226274],_0x4886f8[_0x226274],_0x242c1d,_0x5c2883['$flags$']);}},createElm=(_0xf9635a,_0x58d227,_0x200dec,_0x4f44be)=>{const _0x22c51b=_0x3e7dca,_0x5568dd={'SEOFV':function(_0x4913f7,_0x44faf9){return _0x4913f7!==_0x44faf9;},'qfgAR':function(_0x16d151,_0x1edcac){return _0x16d151===_0x1edcac;},'JhdRj':_0x22c51b(0x186),'RCtbn':'foreignObject','wjZnw':function(_0x3a92f8,_0x5e2925,_0x1632d0,_0x33447c){return _0x3a92f8(_0x5e2925,_0x1632d0,_0x33447c);},'yhmTE':function(_0x3c87e6,_0x46dc0d){return _0x3c87e6(_0x46dc0d);},'rrcnb':_0x22c51b(0x1f3),'XCXOx':function(_0x4d015f,_0x47006c){return _0x4d015f<_0x47006c;},'fZoMj':function(_0x8b974f,_0x11b358){return _0x8b974f===_0x11b358;}},_0x42fd93=_0x58d227[_0x22c51b(0x1ea)][_0x200dec];let _0x174c99=0x0,_0x250958,_0xbcf7f1;if(_0x5568dd[_0x22c51b(0x175)](_0x42fd93[_0x22c51b(0x1ad)],null))_0x250958=_0x42fd93[_0x22c51b(0x218)]=doc[_0x22c51b(0x1c0)](_0x42fd93[_0x22c51b(0x1ad)]);else{!isSvgMode&&(isSvgMode=_0x5568dd[_0x22c51b(0x202)](_0x42fd93[_0x22c51b(0x17e)],_0x5568dd[_0x22c51b(0x278)]));_0x250958=_0x42fd93['$elm$']=doc[_0x22c51b(0x17b)](isSvgMode?SVG_NS:HTML_NS,_0x42fd93[_0x22c51b(0x17e)]);isSvgMode&&_0x5568dd[_0x22c51b(0x202)](_0x42fd93[_0x22c51b(0x17e)],_0x5568dd[_0x22c51b(0x27e)])&&(isSvgMode=![]);{_0x5568dd['wjZnw'](updateElement,null,_0x42fd93,isSvgMode);}_0x5568dd[_0x22c51b(0x268)](isDef,scopeId)&&_0x250958[_0x5568dd[_0x22c51b(0x241)]]!==scopeId&&_0x250958[_0x22c51b(0x24b)]['add'](_0x250958[_0x22c51b(0x1f3)]=scopeId);if(_0x42fd93[_0x22c51b(0x1ea)])for(_0x174c99=0x0;_0x5568dd[_0x22c51b(0x255)](_0x174c99,_0x42fd93[_0x22c51b(0x1ea)][_0x22c51b(0x188)]);++_0x174c99){_0xbcf7f1=createElm(_0xf9635a,_0x42fd93,_0x174c99),_0xbcf7f1&&_0x250958[_0x22c51b(0x26a)](_0xbcf7f1);}{if(_0x5568dd[_0x22c51b(0x22b)](_0x42fd93[_0x22c51b(0x17e)],_0x5568dd['JhdRj']))isSvgMode=![];else _0x5568dd[_0x22c51b(0x22b)](_0x250958[_0x22c51b(0x269)],_0x5568dd[_0x22c51b(0x27e)])&&(isSvgMode=!![]);}}return _0x250958;},addVnodes=(_0x12f541,_0x570abd,_0x2cecba,_0x2eb68c,_0x1da008,_0xa832d2)=>{const _0xad2de8=_0x3e7dca,_0xdf1c7e={'RqgQM':function(_0x4ca2ab,_0x3850bc,_0x32662d,_0x29282e){return _0x4ca2ab(_0x3850bc,_0x32662d,_0x29282e);}};let _0x326355=_0x12f541,_0x9281ff;_0x326355[_0xad2de8(0x1a3)]&&_0x326355['tagName']===hostTagName&&(_0x326355=_0x326355[_0xad2de8(0x1a3)]);for(;_0x1da008<=_0xa832d2;++_0x1da008){_0x2eb68c[_0x1da008]&&(_0x9281ff=_0xdf1c7e[_0xad2de8(0x1fc)](createElm,null,_0x2cecba,_0x1da008),_0x9281ff&&(_0x2eb68c[_0x1da008]['$elm$']=_0x9281ff,_0x326355[_0xad2de8(0x27c)](_0x9281ff,_0x570abd)));}},removeVnodes=(_0x12605c,_0x170782,_0x3282e9,_0x454d48,_0x1f124f)=>{const _0x3fa796=_0x3e7dca,_0x2a6d0b={'wmuGH':function(_0x13d445,_0x1ef6cd){return _0x13d445(_0x1ef6cd);}};for(;_0x170782<=_0x3282e9;++_0x170782){(_0x454d48=_0x12605c[_0x170782])&&(_0x1f124f=_0x454d48[_0x3fa796(0x218)],_0x2a6d0b[_0x3fa796(0x239)](callNodeRefs,_0x454d48),_0x1f124f[_0x3fa796(0x259)]());}},updateChildren=(_0x26d6c7,_0x42d03f,_0x3f4ce2,_0x1cc8a0)=>{const _0x521b45=_0x3e7dca,_0x3f02d5={'wtzfV':function(_0x4012b9,_0xf7b692){return _0x4012b9-_0xf7b692;},'SGykg':function(_0x5d69bf,_0xe7638c){return _0x5d69bf-_0xe7638c;},'vmSxQ':function(_0x4e9479,_0x24844b){return _0x4e9479<=_0x24844b;},'DiaCc':function(_0x4d429d,_0x5093aa){return _0x4d429d==_0x5093aa;},'UQgxX':function(_0x29e8cc,_0x4eebe4,_0x25dbc7){return _0x29e8cc(_0x4eebe4,_0x25dbc7);},'spwGj':function(_0x343494,_0x34834b,_0x2e4ac0){return _0x343494(_0x34834b,_0x2e4ac0);},'NvLte':function(_0x1ddf1b,_0x3c6a63,_0x4d48de){return _0x1ddf1b(_0x3c6a63,_0x4d48de);},'NDQFT':function(_0x5cc9e1,_0x4378c4,_0x1ea38e,_0xdadd93){return _0x5cc9e1(_0x4378c4,_0x1ea38e,_0xdadd93);},'iQHiV':function(_0x331f1d,_0x1d0677,_0x334bc7,_0x5e3c16,_0x2f3a89,_0x566954,_0x548a83){return _0x331f1d(_0x1d0677,_0x334bc7,_0x5e3c16,_0x2f3a89,_0x566954,_0x548a83);},'vgLNR':function(_0x105dca,_0x32149a){return _0x105dca+_0x32149a;},'QCqze':function(_0x4f295a,_0x8b9bfb){return _0x4f295a+_0x8b9bfb;},'UbyuO':function(_0x45b90d,_0x45d59c){return _0x45b90d>_0x45d59c;},'izwkt':function(_0x4bcca9,_0xe83eed,_0x1291d2,_0x1819c5){return _0x4bcca9(_0xe83eed,_0x1291d2,_0x1819c5);}};let _0x5b6004=0x0,_0x24dc42=0x0,_0x58528f=_0x3f02d5['wtzfV'](_0x42d03f[_0x521b45(0x188)],0x1),_0x4c94f6=_0x42d03f[0x0],_0x17a844=_0x42d03f[_0x58528f],_0x26b1f9=_0x3f02d5[_0x521b45(0x1aa)](_0x1cc8a0[_0x521b45(0x188)],0x1),_0x4ac4c7=_0x1cc8a0[0x0],_0x38700d=_0x1cc8a0[_0x26b1f9],_0x40d7a8;while(_0x3f02d5[_0x521b45(0x25f)](_0x5b6004,_0x58528f)&&_0x24dc42<=_0x26b1f9){if(_0x4c94f6==null)_0x4c94f6=_0x42d03f[++_0x5b6004];else{if(_0x17a844==null)_0x17a844=_0x42d03f[--_0x58528f];else{if(_0x3f02d5[_0x521b45(0x261)](_0x4ac4c7,null))_0x4ac4c7=_0x1cc8a0[++_0x24dc42];else{if(_0x3f02d5[_0x521b45(0x261)](_0x38700d,null))_0x38700d=_0x1cc8a0[--_0x26b1f9];else{if(_0x3f02d5[_0x521b45(0x1a0)](isSameVnode,_0x4c94f6,_0x4ac4c7))_0x3f02d5[_0x521b45(0x1a0)](patch,_0x4c94f6,_0x4ac4c7),_0x4c94f6=_0x42d03f[++_0x5b6004],_0x4ac4c7=_0x1cc8a0[++_0x24dc42];else{if(_0x3f02d5[_0x521b45(0x1a0)](isSameVnode,_0x17a844,_0x38700d))_0x3f02d5['UQgxX'](patch,_0x17a844,_0x38700d),_0x17a844=_0x42d03f[--_0x58528f],_0x38700d=_0x1cc8a0[--_0x26b1f9];else{if(_0x3f02d5[_0x521b45(0x210)](isSameVnode,_0x4c94f6,_0x38700d))patch(_0x4c94f6,_0x38700d),_0x26d6c7[_0x521b45(0x27c)](_0x4c94f6[_0x521b45(0x218)],_0x17a844['$elm$'][_0x521b45(0x21e)]),_0x4c94f6=_0x42d03f[++_0x5b6004],_0x38700d=_0x1cc8a0[--_0x26b1f9];else{if(_0x3f02d5[_0x521b45(0x1f8)](isSameVnode,_0x17a844,_0x4ac4c7))patch(_0x17a844,_0x4ac4c7),_0x26d6c7['insertBefore'](_0x17a844[_0x521b45(0x218)],_0x4c94f6[_0x521b45(0x218)]),_0x17a844=_0x42d03f[--_0x58528f],_0x4ac4c7=_0x1cc8a0[++_0x24dc42];else{{_0x40d7a8=_0x3f02d5['NDQFT'](createElm,_0x42d03f&&_0x42d03f[_0x24dc42],_0x3f4ce2,_0x24dc42),_0x4ac4c7=_0x1cc8a0[++_0x24dc42];}if(_0x40d7a8){_0x4c94f6[_0x521b45(0x218)][_0x521b45(0x195)]['insertBefore'](_0x40d7a8,_0x4c94f6[_0x521b45(0x218)]);}}}}}}}}}}if(_0x5b6004>_0x58528f)_0x3f02d5['iQHiV'](addVnodes,_0x26d6c7,_0x3f02d5['DiaCc'](_0x1cc8a0[_0x3f02d5[_0x521b45(0x1bc)](_0x26b1f9,0x1)],null)?null:_0x1cc8a0[_0x3f02d5[_0x521b45(0x225)](_0x26b1f9,0x1)]['$elm$'],_0x3f4ce2,_0x1cc8a0,_0x24dc42,_0x26b1f9);else _0x3f02d5[_0x521b45(0x167)](_0x24dc42,_0x26b1f9)&&_0x3f02d5[_0x521b45(0x1b0)](removeVnodes,_0x42d03f,_0x5b6004,_0x58528f);},isSameVnode=(_0x51f60e,_0x94fcce)=>{const _0x4de849=_0x3e7dca,_0x16b034={'QhcbF':function(_0x5990af,_0xde563e){return _0x5990af===_0xde563e;}};if(_0x16b034['QhcbF'](_0x51f60e[_0x4de849(0x17e)],_0x94fcce[_0x4de849(0x17e)]))return!![];return![];},patch=(_0x4e0c32,_0x2df3e7)=>{const _0x58f00b=_0x3e7dca,_0x1dccc2={'dpNTo':function(_0x2f5754,_0x3ec324){return _0x2f5754===_0x3ec324;},'kgtxL':function(_0xa07735,_0x9fc919){return _0xa07735===_0x9fc919;},'yoXLx':function(_0x59bf36,_0x5809f3){return _0x59bf36===_0x5809f3;},'OvcYv':'foreignObject','gvOPd':function(_0xcfcc84,_0x128ee,_0x33fef2,_0x1b39ad){return _0xcfcc84(_0x128ee,_0x33fef2,_0x1b39ad);},'fLHqq':function(_0x48bbb0,_0x5581bb){return _0x48bbb0!==_0x5581bb;},'RsWkb':function(_0x389988,_0x5e0021){return _0x389988!==_0x5e0021;},'nmJBY':function(_0x310e9b,_0x55ea06,_0x178623,_0x51ec59,_0x32a4d9){return _0x310e9b(_0x55ea06,_0x178623,_0x51ec59,_0x32a4d9);},'rgZRI':function(_0x3a8e6f,_0x431ef6,_0x49d809,_0x1b6b6e,_0x128283,_0x4034ad,_0xf22e33){return _0x3a8e6f(_0x431ef6,_0x49d809,_0x1b6b6e,_0x128283,_0x4034ad,_0xf22e33);},'oYxCB':function(_0x3e6da6,_0x335861){return _0x3e6da6-_0x335861;},'XDWyq':function(_0x1efeac,_0x9d9d40){return _0x1efeac===_0x9d9d40;},'VXdhW':_0x58f00b(0x186),'GkQMU':function(_0x151b68,_0xb52852){return _0x151b68!==_0xb52852;}},_0x1bf884=_0x2df3e7[_0x58f00b(0x218)]=_0x4e0c32[_0x58f00b(0x218)],_0x38a8bc=_0x4e0c32[_0x58f00b(0x1ea)],_0x7a6ef2=_0x2df3e7[_0x58f00b(0x1ea)],_0xfd3888=_0x2df3e7['$tag$'],_0x487d77=_0x2df3e7['$text$'];if(_0x1dccc2['dpNTo'](_0x487d77,null)){{isSvgMode=_0x1dccc2[_0x58f00b(0x216)](_0xfd3888,_0x58f00b(0x186))?!![]:_0x1dccc2[_0x58f00b(0x274)](_0xfd3888,_0x1dccc2[_0x58f00b(0x251)])?![]:isSvgMode;}{if(_0x1dccc2[_0x58f00b(0x206)](_0xfd3888,_0x58f00b(0x21f)));else _0x1dccc2['gvOPd'](updateElement,_0x4e0c32,_0x2df3e7,isSvgMode);}if(_0x1dccc2[_0x58f00b(0x1b4)](_0x38a8bc,null)&&_0x1dccc2['RsWkb'](_0x7a6ef2,null))_0x1dccc2[_0x58f00b(0x162)](updateChildren,_0x1bf884,_0x38a8bc,_0x2df3e7,_0x7a6ef2);else{if(_0x1dccc2[_0x58f00b(0x1b4)](_0x7a6ef2,null))_0x1dccc2[_0x58f00b(0x1b4)](_0x4e0c32[_0x58f00b(0x1ad)],null)&&(_0x1bf884[_0x58f00b(0x1bd)]=''),_0x1dccc2[_0x58f00b(0x17a)](addVnodes,_0x1bf884,null,_0x2df3e7,_0x7a6ef2,0x0,_0x1dccc2[_0x58f00b(0x22a)](_0x7a6ef2[_0x58f00b(0x188)],0x1));else _0x1dccc2[_0x58f00b(0x267)](_0x38a8bc,null)&&removeVnodes(_0x38a8bc,0x0,_0x1dccc2[_0x58f00b(0x22a)](_0x38a8bc[_0x58f00b(0x188)],0x1));}isSvgMode&&_0x1dccc2[_0x58f00b(0x1a2)](_0xfd3888,_0x1dccc2[_0x58f00b(0x1e9)])&&(isSvgMode=![]);}else _0x1dccc2['GkQMU'](_0x4e0c32[_0x58f00b(0x1ad)],_0x487d77)&&(_0x1bf884['data']=_0x487d77);},callNodeRefs=_0x5080a2=>{const _0x2ffc24=_0x3e7dca;{_0x5080a2[_0x2ffc24(0x184)]&&_0x5080a2['$attrs$']['ref']&&_0x5080a2[_0x2ffc24(0x184)][_0x2ffc24(0x16f)](null),_0x5080a2['$children$']&&_0x5080a2['$children$']['map'](callNodeRefs);}},renderVdom=(_0x2b331d,_0x48b6a4)=>{const _0x256086=_0x3e7dca,_0x593ee5={'gNcIX':function(_0x1dd3b6,_0x1d66e2,_0x307199){return _0x1dd3b6(_0x1d66e2,_0x307199);},'tJAZw':function(_0x18bd21,_0x1c1563){return _0x18bd21(_0x1c1563);},'fxEVz':_0x256086(0x1f5),'Zbfqw':function(_0x3d277b,_0x332179,_0x422f58){return _0x3d277b(_0x332179,_0x422f58);}},_0x5b484a=_0x2b331d[_0x256086(0x25d)],_0x334702=_0x2b331d['$cmpMeta$'],_0x94ac42=_0x2b331d[_0x256086(0x1e3)]||_0x593ee5[_0x256086(0x194)](newVNode,null,null),_0x300290=_0x593ee5[_0x256086(0x1e4)](isHost,_0x48b6a4)?_0x48b6a4:h(null,null,_0x48b6a4);hostTagName=_0x5b484a[_0x256086(0x269)];_0x334702[_0x256086(0x21a)]&&(_0x300290[_0x256086(0x184)]=_0x300290[_0x256086(0x184)]||{},_0x334702[_0x256086(0x21a)]['map'](([_0x5b3217,_0x2912f9])=>_0x300290['$attrs$'][_0x2912f9]=_0x5b484a[_0x5b3217]));_0x300290[_0x256086(0x17e)]=null,_0x300290[_0x256086(0x238)]|=0x4,_0x2b331d[_0x256086(0x1e3)]=_0x300290,_0x300290[_0x256086(0x218)]=_0x94ac42[_0x256086(0x218)]=_0x5b484a['shadowRoot']||_0x5b484a;{scopeId=_0x5b484a[_0x593ee5[_0x256086(0x21c)]];}_0x593ee5[_0x256086(0x1ca)](patch,_0x94ac42,_0x300290);},attachToAncestor=(_0x1d832c,_0x2b3e4e)=>{const _0x260d07=_0x3e7dca,_0x37d2d3={'ZqVJn':'s-p'};_0x2b3e4e&&!_0x1d832c['$onRenderResolve$']&&_0x2b3e4e[_0x37d2d3[_0x260d07(0x189)]]&&_0x2b3e4e[_0x37d2d3[_0x260d07(0x189)]]['push'](new Promise(_0x1bdb05=>_0x1d832c['$onRenderResolve$']=_0x1bdb05));},scheduleUpdate=(_0x26901c,_0x1d0c7c)=>{const _0x591a8d=_0x3e7dca,_0x410f4f={'NlCFf':function(_0x59a034,_0x1351e2){return _0x59a034&_0x1351e2;},'POApB':function(_0x55f9b8,_0x4db584,_0x447763){return _0x55f9b8(_0x4db584,_0x447763);},'MUbTp':function(_0x4300a0,_0x14b3cd){return _0x4300a0(_0x14b3cd);}};{_0x26901c[_0x591a8d(0x238)]|=0x10;}if(_0x410f4f['NlCFf'](_0x26901c[_0x591a8d(0x238)],0x4)){_0x26901c[_0x591a8d(0x238)]|=0x200;return;}_0x410f4f[_0x591a8d(0x248)](attachToAncestor,_0x26901c,_0x26901c[_0x591a8d(0x249)]);const _0x135dbe=()=>dispatchHooks(_0x26901c,_0x1d0c7c);return _0x410f4f[_0x591a8d(0x224)](writeTask,_0x135dbe);},dispatchHooks=(_0x68f2ec,_0x146ef5)=>{const _0xc40eeb=_0x3e7dca,_0x6b2607={'VPESL':_0xc40eeb(0x208),'hLBUY':function(_0x2cd818,_0x596b07,_0x1096cd){return _0x2cd818(_0x596b07,_0x1096cd);},'bZPvB':function(_0x247284){return _0x247284();},'jQLzp':function(_0x531fdd,_0x463ccf,_0x51af9b){return _0x531fdd(_0x463ccf,_0x51af9b);}},_0x18d054=createTime(_0x6b2607[_0xc40eeb(0x25a)],_0x68f2ec['$cmpMeta$'][_0xc40eeb(0x164)]),_0x46af55=_0x68f2ec[_0xc40eeb(0x227)];let _0x2523f6;if(_0x146ef5){_0x2523f6=_0x6b2607['hLBUY'](safeCall,_0x46af55,_0xc40eeb(0x16e));}return _0x6b2607[_0xc40eeb(0x1ec)](_0x18d054),_0x6b2607[_0xc40eeb(0x1ff)](then,_0x2523f6,()=>updateComponent(_0x68f2ec,_0x46af55,_0x146ef5));},updateComponent=async(_0x5e1f39,_0x166220,_0x56ac40)=>{const _0x104a26=_0x3e7dca,_0x4e46e6={'gbCDe':function(_0x162a95,_0x34a61c,_0x4e7fe5){return _0x162a95(_0x34a61c,_0x4e7fe5);},'ezTTq':'update','NoxiJ':_0x104a26(0x243),'eHELe':function(_0x53f577,_0x8dd80a){return _0x53f577(_0x8dd80a);},'nikLp':function(_0x42021b,_0x59485c,_0x1ae709){return _0x42021b(_0x59485c,_0x1ae709);},'oKqAs':function(_0x2d303b){return _0x2d303b();},'EkFQM':function(_0x14a593,_0x1b9731){return _0x14a593===_0x1b9731;}},_0x173876=_0x5e1f39[_0x104a26(0x25d)],_0x2d6100=_0x4e46e6[_0x104a26(0x222)](createTime,_0x4e46e6[_0x104a26(0x174)],_0x5e1f39['$cmpMeta$']['$tagName$']),_0x4e4bcc=_0x173876[_0x4e46e6[_0x104a26(0x23b)]];_0x56ac40&&_0x4e46e6['eHELe'](attachStyles,_0x5e1f39);const _0x21f028=_0x4e46e6[_0x104a26(0x1d5)](createTime,'render',_0x5e1f39[_0x104a26(0x234)][_0x104a26(0x164)]);{_0x4e46e6['gbCDe'](callRender,_0x5e1f39,_0x166220);}_0x4e4bcc&&(_0x4e4bcc[_0x104a26(0x226)](_0x183ca2=>_0x183ca2()),_0x173876[_0x4e46e6[_0x104a26(0x23b)]]=undefined);_0x21f028(),_0x4e46e6[_0x104a26(0x1f7)](_0x2d6100);{const _0x17c1e2=_0x173876[_0x104a26(0x1fd)],_0x506e53=()=>postUpdateComponent(_0x5e1f39);_0x4e46e6[_0x104a26(0x23f)](_0x17c1e2[_0x104a26(0x188)],0x0)?_0x4e46e6['oKqAs'](_0x506e53):(Promise[_0x104a26(0x25b)](_0x17c1e2)['then'](_0x506e53),_0x5e1f39[_0x104a26(0x238)]|=0x4,_0x17c1e2[_0x104a26(0x188)]=0x0);}},callRender=(_0x3c506e,_0x4e2a10,_0x1bb5a7)=>{const _0x24a7d3=_0x3e7dca,_0x5c0283={'yxrWP':function(_0x30ffa6,_0x29e635,_0x492752){return _0x30ffa6(_0x29e635,_0x492752);}};try{_0x4e2a10=_0x4e2a10[_0x24a7d3(0x1df)]();{_0x3c506e[_0x24a7d3(0x238)]&=~0x10;}{_0x3c506e[_0x24a7d3(0x238)]|=0x2;}{{{renderVdom(_0x3c506e,_0x4e2a10);}}}}catch(_0x1c97a6){_0x5c0283[_0x24a7d3(0x171)](consoleError,_0x1c97a6,_0x3c506e[_0x24a7d3(0x25d)]);}return null;},postUpdateComponent=_0x5b147d=>{const _0x5e198c=_0x3e7dca,_0x3e3c79={'kbsxD':_0x5e198c(0x20c),'QlMTS':function(_0x524320,_0x4643fb){return _0x524320&_0x4643fb;},'qVjpx':'1|0|3|2|4','bZKMZ':function(_0xb74060,_0x242149){return _0xb74060(_0x242149);},'uIcKD':function(_0x1688a8){return _0x1688a8();},'FgzhW':function(_0x243c1c,_0x140d72,_0x4e8f75){return _0x243c1c(_0x140d72,_0x4e8f75);},'AUsaN':_0x5e198c(0x257),'PQQXj':function(_0x23cb66){return _0x23cb66();},'oDSWD':function(_0x3c693e,_0x6e00a7){return _0x3c693e&_0x6e00a7;},'YEcJN':function(_0x204c54,_0x33dce){return _0x204c54|_0x33dce;}},_0xa70a5=_0x5b147d[_0x5e198c(0x234)][_0x5e198c(0x164)],_0x2b7536=_0x5b147d[_0x5e198c(0x25d)],_0x3051f4=createTime(_0x3e3c79[_0x5e198c(0x1d9)],_0xa70a5),_0x17e975=_0x5b147d[_0x5e198c(0x227)],_0x55d339=_0x5b147d[_0x5e198c(0x249)];if(!_0x3e3c79[_0x5e198c(0x244)](_0x5b147d['$flags$'],0x40)){const _0x3f0d86=_0x3e3c79[_0x5e198c(0x253)]['split']('|');let _0x1bd1c5=0x0;while(!![]){switch(_0x3f0d86[_0x1bd1c5++]){case'0':{_0x3e3c79[_0x5e198c(0x237)](addHydratedFlag,_0x2b7536);}continue;case'1':_0x5b147d['$flags$']|=0x40;continue;case'2':_0x3e3c79['uIcKD'](_0x3051f4);continue;case'3':{_0x3e3c79['FgzhW'](safeCall,_0x17e975,_0x3e3c79[_0x5e198c(0x1d2)]);}continue;case'4':{_0x5b147d[_0x5e198c(0x1f1)](_0x2b7536),!_0x55d339&&appDidLoad();}continue;}break;}}else _0x3e3c79['PQQXj'](_0x3051f4);{_0x5b147d[_0x5e198c(0x1eb)]&&(_0x5b147d[_0x5e198c(0x1eb)](),_0x5b147d[_0x5e198c(0x1eb)]=undefined),_0x3e3c79[_0x5e198c(0x17f)](_0x5b147d[_0x5e198c(0x238)],0x200)&&_0x3e3c79['bZKMZ'](nextTick,()=>scheduleUpdate(_0x5b147d,![])),_0x5b147d['$flags$']&=~_0x3e3c79[_0x5e198c(0x232)](0x4,0x200);}},appDidLoad=_0x22351c=>{const _0x2d175a=_0x3e7dca,_0x3ee789={'qskNY':function(_0x4d8970,_0x2c313f){return _0x4d8970(_0x2c313f);}};{_0x3ee789[_0x2d175a(0x1d3)](addHydratedFlag,doc[_0x2d175a(0x1da)]);}_0x3ee789[_0x2d175a(0x1d3)](nextTick,()=>emitEvent(win,_0x2d175a(0x1c1),{'detail':{'namespace':NAMESPACE}}));},safeCall=(_0x4d9550,_0x27cd7d,_0x13f7fa)=>{const _0x34bf48=_0x3e7dca,_0xecd7a={'vSJeX':function(_0x1ac7b4,_0x461260){return _0x1ac7b4(_0x461260);}};if(_0x4d9550&&_0x4d9550[_0x27cd7d])try{return _0x4d9550[_0x27cd7d](_0x13f7fa);}catch(_0x1abbff){_0xecd7a[_0x34bf48(0x199)](consoleError,_0x1abbff);}return undefined;},then=(_0x5bb5d1,_0x1ab4cc)=>{const _0x42491d={'LdIMD':function(_0x1a8cc6){return _0x1a8cc6();}};return _0x5bb5d1&&_0x5bb5d1['then']?_0x5bb5d1['then'](_0x1ab4cc):_0x42491d['LdIMD'](_0x1ab4cc);},addHydratedFlag=_0x205eb5=>_0x205eb5[_0x3e7dca(0x24b)][_0x3e7dca(0x219)](_0x3e7dca(0x1f9)),getValue=(_0x49e31d,_0x225f04)=>getHostRef(_0x49e31d)['$instanceValues$'][_0x3e7dca(0x19c)](_0x225f04),setValue=(_0xbff9f,_0x4e4c8b,_0x27c002,_0x3add03)=>{const _0x188b34=_0x3e7dca,_0x2cd75c={'xlNxN':function(_0x152936,_0x371916,_0x46b555){return _0x152936(_0x371916,_0x46b555);},'GBxqY':function(_0x2af942,_0x5bf3ce){return _0x2af942!==_0x5bf3ce;},'jGaMX':function(_0x12bb30,_0x4fa8b7){return _0x12bb30&_0x4fa8b7;},'hOijJ':function(_0x40b472,_0x2f6ed2){return _0x40b472===_0x2f6ed2;},'dmhLC':function(_0x5d9301,_0x2ceb6a){return _0x5d9301===_0x2ceb6a;},'GhZaZ':function(_0x3bee5c,_0x21729e,_0x40316b){return _0x3bee5c(_0x21729e,_0x40316b);}},_0x3d79d2=getHostRef(_0xbff9f),_0x4a039a=_0x3d79d2[_0x188b34(0x247)][_0x188b34(0x19c)](_0x4e4c8b),_0x5648fd=_0x3d79d2[_0x188b34(0x238)],_0x56c8a6=_0x3d79d2['$lazyInstance$'];_0x27c002=_0x2cd75c[_0x188b34(0x24f)](parsePropertyValue,_0x27c002,_0x3add03[_0x188b34(0x16c)][_0x4e4c8b][0x0]);const _0x263031=Number[_0x188b34(0x233)](_0x4a039a)&&Number[_0x188b34(0x233)](_0x27c002),_0x43690c=_0x2cd75c['GBxqY'](_0x27c002,_0x4a039a)&&!_0x263031;(!_0x2cd75c[_0x188b34(0x221)](_0x5648fd,0x8)||_0x2cd75c[_0x188b34(0x23a)](_0x4a039a,undefined))&&_0x43690c&&(_0x3d79d2[_0x188b34(0x247)][_0x188b34(0x214)](_0x4e4c8b,_0x27c002),_0x56c8a6&&(_0x2cd75c['dmhLC'](_0x5648fd&(0x2|0x10),0x2)&&_0x2cd75c[_0x188b34(0x1ae)](scheduleUpdate,_0x3d79d2,![])));},proxyComponent=(_0x3121b8,_0x5ea45f,_0x5f1dd5)=>{const _0x51762e=_0x3e7dca,_0x1369b0={'kzQPs':function(_0x3d5da6,_0x462ea5,_0x5e6185){return _0x3d5da6(_0x462ea5,_0x5e6185);},'XTUbx':function(_0x2fc122,_0x267774,_0x14b187,_0x5ef3a6,_0x3adbbc){return _0x2fc122(_0x267774,_0x14b187,_0x5ef3a6,_0x3adbbc);},'tLuBw':function(_0xd65b31,_0x3189eb){return _0xd65b31&_0x3189eb;},'EFAIG':function(_0x118681,_0x41f12d){return _0x118681===_0x41f12d;},'zCUBa':_0x51762e(0x26d)};if(_0x5ea45f[_0x51762e(0x16c)]){const _0x5cadff=Object[_0x51762e(0x15f)](_0x5ea45f[_0x51762e(0x16c)]),_0xa38c84=_0x3121b8[_0x51762e(0x27b)];_0x5cadff['map'](([_0x1cb22f,[_0x13dc55]])=>{const _0x335d67=_0x51762e,_0x2911a2={'zpQaI':function(_0xeec57b,_0x5301ec,_0x341024,_0x3c9261,_0x522445){return _0x1369b0['XTUbx'](_0xeec57b,_0x5301ec,_0x341024,_0x3c9261,_0x522445);}};(_0x1369b0[_0x335d67(0x212)](_0x13dc55,0x1f)||_0x5f1dd5&0x2&&_0x1369b0[_0x335d67(0x212)](_0x13dc55,0x20))&&Object['defineProperty'](_0xa38c84,_0x1cb22f,{'get'(){const _0x3f22cb=_0x335d67;return _0x1369b0[_0x3f22cb(0x1c6)](getValue,this,_0x1cb22f);},'set'(_0x404d24){const _0x2a19e9=_0x335d67;_0x2911a2[_0x2a19e9(0x198)](setValue,this,_0x1cb22f,_0x404d24,_0x5ea45f);},'configurable':!![],'enumerable':!![]});});if(_0x5f1dd5&0x1){const _0xca845b=new Map();_0xa38c84[_0x51762e(0x187)]=function(_0x569150,_0x59ff91,_0x243485){const _0x6e6c98=_0x51762e,_0x485692={'lvKaY':function(_0x649681,_0x319338){const _0x2d0be1=_0xbffb;return _0x1369b0[_0x2d0be1(0x209)](_0x649681,_0x319338);},'fMHbP':function(_0x382b3e,_0x46e6fb){return _0x382b3e==_0x46e6fb;},'eyjGI':function(_0x38fd5a,_0x55b14a){const _0x1ae151=_0xbffb;return _0x1369b0[_0x1ae151(0x209)](_0x38fd5a,_0x55b14a);},'TLpEx':_0x1369b0[_0x6e6c98(0x1ed)]};plt[_0x6e6c98(0x21d)](()=>{const _0x26cae1=_0x6e6c98,_0x24c566=_0xca845b[_0x26cae1(0x19c)](_0x569150);if(this[_0x26cae1(0x1cd)](_0x24c566))_0x243485=this[_0x24c566],delete this[_0x24c566];else{if(_0xa38c84[_0x26cae1(0x1cd)](_0x24c566)&&_0x485692[_0x26cae1(0x18a)](typeof this[_0x24c566],'number')&&_0x485692[_0x26cae1(0x231)](this[_0x24c566],_0x243485))return;}this[_0x24c566]=_0x485692[_0x26cae1(0x1e7)](_0x243485,null)&&typeof this[_0x24c566]===_0x485692[_0x26cae1(0x1a5)]?![]:_0x243485;});},_0x3121b8['observedAttributes']=_0x5cadff[_0x51762e(0x165)](([_0x229af9,_0x37dad1])=>_0x37dad1[0x0]&0xf)[_0x51762e(0x226)](([_0x482126,_0x4fd550])=>{const _0x35e800=_0x51762e,_0x487c6f=_0x4fd550[0x1]||_0x482126;return _0xca845b['set'](_0x487c6f,_0x482126),_0x1369b0['tLuBw'](_0x4fd550[0x0],0x200)&&_0x5ea45f[_0x35e800(0x21a)][_0x35e800(0x1d7)]([_0x482126,_0x487c6f]),_0x487c6f;});}}return _0x3121b8;},initializeComponent=async(_0x5e15b9,_0x3f1722,_0x3b2f4a,_0x327392,_0x3f9e4e)=>{const _0x51035b=_0x3e7dca,_0x88c28a={'ekcWd':function(_0x46e917,_0x1c17fd){return _0x46e917===_0x1c17fd;},'SmQOK':function(_0x56484d,_0x47369a){return _0x56484d&_0x47369a;},'meKzU':function(_0x2a24e0){return _0x2a24e0();},'hoiZD':function(_0x161f21){return _0x161f21();},'yhMdK':function(_0x868491,_0x118fc7,_0x84d19f,_0x4593a4){return _0x868491(_0x118fc7,_0x84d19f,_0x4593a4);},'zIxUp':function(_0xdc7054,_0x52a00e,_0x2b00a1){return _0xdc7054(_0x52a00e,_0x2b00a1);},'MBrtD':'createInstance','AHYmg':function(_0x513467,_0xd0829e){return _0x513467(_0xd0829e);},'TMwhr':function(_0x28020e){return _0x28020e();},'iqyfy':function(_0xdf4559,_0x25d6b4,_0x1eda24){return _0xdf4559(_0x25d6b4,_0x1eda24);},'wNBjB':'registerStyles','CRfHd':_0x51035b(0x243)};if(_0x88c28a[_0x51035b(0x1e1)](_0x88c28a[_0x51035b(0x1c3)](_0x3f1722[_0x51035b(0x238)],0x20),0x0)){{_0x3f1722['$flags$']|=0x20,_0x3f9e4e=loadModule(_0x3b2f4a);if(_0x3f9e4e['then']){const _0x354f75=_0x88c28a[_0x51035b(0x263)](uniqueTime);_0x3f9e4e=await _0x3f9e4e,_0x88c28a[_0x51035b(0x163)](_0x354f75);}!_0x3f9e4e['isProxied']&&(_0x88c28a[_0x51035b(0x1e6)](proxyComponent,_0x3f9e4e,_0x3b2f4a,0x2),_0x3f9e4e[_0x51035b(0x250)]=!![]);const _0x49740c=_0x88c28a[_0x51035b(0x211)](createTime,_0x88c28a[_0x51035b(0x1a4)],_0x3b2f4a['$tagName$']);{_0x3f1722[_0x51035b(0x238)]|=0x8;}try{new _0x3f9e4e(_0x3f1722);}catch(_0x4142cc){_0x88c28a[_0x51035b(0x185)](consoleError,_0x4142cc);}{_0x3f1722['$flags$']&=~0x8;}_0x88c28a[_0x51035b(0x264)](_0x49740c),_0x88c28a[_0x51035b(0x185)](fireConnectedCallback,_0x3f1722[_0x51035b(0x227)]);}if(_0x3f9e4e[_0x51035b(0x24c)]){let _0x2c1d33=_0x3f9e4e[_0x51035b(0x24c)];const _0x422b00=_0x88c28a[_0x51035b(0x185)](getScopeId,_0x3b2f4a);if(!styles[_0x51035b(0x1de)](_0x422b00)){const _0x46e9b6=_0x88c28a[_0x51035b(0x19a)](createTime,_0x88c28a[_0x51035b(0x1d4)],_0x3b2f4a['$tagName$']);registerStyle(_0x422b00,_0x2c1d33,!!(_0x3b2f4a[_0x51035b(0x238)]&0x1)),_0x88c28a[_0x51035b(0x163)](_0x46e9b6);}}}const _0x28358d=_0x3f1722['$ancestorComponent$'],_0x2e6307=()=>scheduleUpdate(_0x3f1722,!![]);_0x28358d&&_0x28358d[_0x88c28a[_0x51035b(0x205)]]?_0x28358d[_0x88c28a[_0x51035b(0x205)]][_0x51035b(0x1d7)](_0x2e6307):_0x88c28a[_0x51035b(0x264)](_0x2e6307);},fireConnectedCallback=_0x4f0421=>{const _0x326107=_0x3e7dca,_0x4c8507={'umDFV':function(_0x38159a,_0x35c815,_0x59cec8){return _0x38159a(_0x35c815,_0x59cec8);},'QSkTm':_0x326107(0x1a9)};{_0x4c8507[_0x326107(0x277)](safeCall,_0x4f0421,_0x4c8507[_0x326107(0x26f)]);}},connectedCallback=_0x3395a3=>{const _0x2b2568=_0x3e7dca,_0x11f473={'TJtnY':function(_0x1b7aaf,_0x345f60){return _0x1b7aaf&_0x345f60;},'ExtnS':function(_0x12677c,_0x30987f){return _0x12677c(_0x30987f);},'pkeSx':function(_0x2db3ee,_0x4cc0b9,_0x11c474){return _0x2db3ee(_0x4cc0b9,_0x11c474);},'OaCDP':_0x2b2568(0x1a9),'snKSJ':_0x2b2568(0x1fd),'pNjTp':function(_0x66c02b,_0x316ad4,_0x248281,_0x384f5f){return _0x66c02b(_0x316ad4,_0x248281,_0x384f5f);},'nUQGG':function(_0x3ae9f1){return _0x3ae9f1();}};if(_0x11f473['TJtnY'](plt['$flags$'],0x1)===0x0){const _0x504607=_0x11f473[_0x2b2568(0x16a)](getHostRef,_0x3395a3),_0x2dddc6=_0x504607['$cmpMeta$'],_0x48be62=_0x11f473[_0x2b2568(0x1f2)](createTime,_0x11f473[_0x2b2568(0x207)],_0x2dddc6[_0x2b2568(0x164)]);if(!(_0x504607[_0x2b2568(0x238)]&0x1)){_0x504607[_0x2b2568(0x238)]|=0x1;{let _0xcead4d=_0x3395a3;while(_0xcead4d=_0xcead4d[_0x2b2568(0x195)]||_0xcead4d[_0x2b2568(0x172)]){if(_0xcead4d[_0x11f473['snKSJ']]){attachToAncestor(_0x504607,_0x504607['$ancestorComponent$']=_0xcead4d);break;}}}_0x2dddc6['$members$']&&Object[_0x2b2568(0x15f)](_0x2dddc6[_0x2b2568(0x16c)])['map'](([_0x40bfb7,[_0xc6fb9b]])=>{const _0x2aa53e=_0x2b2568;if(_0x11f473['TJtnY'](_0xc6fb9b,0x1f)&&_0x3395a3[_0x2aa53e(0x1cd)](_0x40bfb7)){const _0xea5793=_0x3395a3[_0x40bfb7];delete _0x3395a3[_0x40bfb7],_0x3395a3[_0x40bfb7]=_0xea5793;}});{_0x11f473[_0x2b2568(0x1e0)](initializeComponent,_0x3395a3,_0x504607,_0x2dddc6);}}else _0x11f473[_0x2b2568(0x16a)](fireConnectedCallback,_0x504607['$lazyInstance$']);_0x11f473[_0x2b2568(0x217)](_0x48be62);}},disconnectedCallback=_0x2f4e30=>{const _0x56f57d=_0x3e7dca,_0x57fc38={'hHWDW':function(_0x347275,_0x50cebc){return _0x347275===_0x50cebc;},'htWDq':function(_0x1f270f,_0x4a6b50){return _0x1f270f(_0x4a6b50);},'Itwez':function(_0x14a657,_0x1b851a,_0x4519af){return _0x14a657(_0x1b851a,_0x4519af);},'RGciS':'disconnectedCallback'};if(_0x57fc38[_0x56f57d(0x252)](plt['$flags$']&0x1,0x0)){const _0xc40ea1=_0x57fc38[_0x56f57d(0x258)](getHostRef,_0x2f4e30),_0x579ee0=_0xc40ea1[_0x56f57d(0x227)];{_0x57fc38[_0x56f57d(0x273)](safeCall,_0x579ee0,_0x57fc38[_0x56f57d(0x1c8)]);}}},bootstrapLazy=(_0x5e0522,_0x22dca1={})=>{const _0x176566=_0x3e7dca,_0x363be5={'zHNPW':function(_0x17f145,_0x343571){return _0x17f145&_0x343571;},'AQWLJ':_0x176566(0x179),'SwnHd':function(_0x5f3a39,_0x52ca0f){return _0x5f3a39(_0x52ca0f);},'wRLhp':_0x176566(0x20e),'fdrBU':'style','BydZB':function(_0x24db63,_0x40a990){return _0x24db63+_0x40a990;},'vZlHR':_0x176566(0x160),'EtioC':function(_0x219095,_0x145a9a){return _0x219095!==_0x145a9a;},'XEYqL':function(_0x40bd74,_0x29cb48){return _0x40bd74(_0x29cb48);},'nJajK':function(_0x3ae9c9,_0x3a5f72){return _0x3ae9c9!=_0x3a5f72;},'vtXGL':function(_0x503c88){return _0x503c88();}};var _0x816cfb;const _0x35ea69=createTime(),_0x4fa35d=[],_0x2c4b1c=_0x22dca1[_0x176566(0x26e)]||[],_0x315d06=win['customElements'],_0x3cfada=doc['head'],_0x578e70=_0x3cfada[_0x176566(0x1cc)](_0x363be5[_0x176566(0x1b5)]),_0x1c7d7a=doc['createElement'](_0x363be5[_0x176566(0x242)]),_0x278e77=[];let _0x34dca1,_0x56d09f=!![];Object[_0x176566(0x176)](plt,_0x22dca1),plt[_0x176566(0x228)]=new URL(_0x22dca1[_0x176566(0x203)]||'./',doc['baseURI'])[_0x176566(0x17d)],_0x5e0522['map'](_0x58ef6a=>{const _0x2eff1b={'hfQBt':function(_0x1c58cc,_0xf6f005){const _0x4e1ff0=_0xbffb;return _0x363be5[_0x4e1ff0(0x201)](_0x1c58cc,_0xf6f005);}};_0x58ef6a[0x1]['map'](_0x1246b7=>{const _0x1e0cd7=_0xbffb,_0x2368e6={'hvreG':function(_0x558b19,_0x187c3e,_0x572464){return _0x558b19(_0x187c3e,_0x572464);},'CUQbc':function(_0x101ab5,_0x522421){const _0x389b83=_0xbffb;return _0x363be5[_0x389b83(0x1ef)](_0x101ab5,_0x522421);},'zsRhS':_0x363be5[_0x1e0cd7(0x19e)],'qTbsv':function(_0x1177ff,_0x4f6558){const _0x38bebf=_0x1e0cd7;return _0x363be5[_0x38bebf(0x201)](_0x1177ff,_0x4f6558);}},_0xe70fc1={'$flags$':_0x1246b7[0x0],'$tagName$':_0x1246b7[0x1],'$members$':_0x1246b7[0x2],'$listeners$':_0x1246b7[0x3]};{_0xe70fc1[_0x1e0cd7(0x16c)]=_0x1246b7[0x2];}{_0xe70fc1[_0x1e0cd7(0x21a)]=[];}const _0x41fe7f=_0xe70fc1[_0x1e0cd7(0x164)],_0x18064d=class extends HTMLElement{constructor(_0x1b4c91){const _0x4fdd61=_0x1e0cd7;super(_0x1b4c91),_0x1b4c91=this,_0x2368e6['hvreG'](registerHost,_0x1b4c91,_0xe70fc1);if(_0x2368e6[_0x4fdd61(0x1b6)](_0xe70fc1[_0x4fdd61(0x238)],0x1)){{_0x1b4c91[_0x4fdd61(0x23e)]({'mode':_0x2368e6[_0x4fdd61(0x266)]});}}}['connectedCallback'](){const _0x37932b=_0x1e0cd7;_0x34dca1&&(_0x2eff1b['hfQBt'](clearTimeout,_0x34dca1),_0x34dca1=null),_0x56d09f?_0x278e77[_0x37932b(0x1d7)](this):plt[_0x37932b(0x21d)](()=>connectedCallback(this));}[_0x1e0cd7(0x1d6)](){const _0x24932d=_0x1e0cd7;plt[_0x24932d(0x21d)](()=>disconnectedCallback(this));}['componentOnReady'](){const _0x57b8cc=_0x1e0cd7;return _0x2368e6['qTbsv'](getHostRef,this)[_0x57b8cc(0x1b1)];}};_0xe70fc1[_0x1e0cd7(0x1cb)]=_0x58ef6a[0x0],!_0x2c4b1c['includes'](_0x41fe7f)&&!_0x315d06[_0x1e0cd7(0x19c)](_0x41fe7f)&&(_0x4fa35d[_0x1e0cd7(0x1d7)](_0x41fe7f),_0x315d06[_0x1e0cd7(0x1cf)](_0x41fe7f,proxyComponent(_0x18064d,_0xe70fc1,0x1)));});});{_0x1c7d7a[_0x176566(0x200)]=_0x363be5['BydZB'](_0x4fa35d,HYDRATED_CSS),_0x1c7d7a[_0x176566(0x27f)](_0x363be5[_0x176566(0x22c)],'');const _0x2ea059=(_0x816cfb=plt[_0x176566(0x260)])!==null&&_0x363be5[_0x176566(0x265)](_0x816cfb,void 0x0)?_0x816cfb:_0x363be5['XEYqL'](queryNonceMetaTagContent,doc);_0x363be5['nJajK'](_0x2ea059,null)&&_0x1c7d7a['setAttribute'](_0x176566(0x256),_0x2ea059),_0x3cfada[_0x176566(0x27c)](_0x1c7d7a,_0x578e70?_0x578e70[_0x176566(0x21e)]:_0x3cfada['firstChild']);}_0x56d09f=![];if(_0x278e77['length'])_0x278e77['map'](_0x17ce68=>_0x17ce68[_0x176566(0x1a9)]());else{plt['jmp'](()=>_0x34dca1=setTimeout(appDidLoad,0x1e));}_0x363be5[_0x176566(0x173)](_0x35ea69);},setNonce=_0x48f1dd=>plt[_0x3e7dca(0x260)]=_0x48f1dd,hostRefs=new WeakMap(),getHostRef=_0x38fecf=>hostRefs[_0x3e7dca(0x19c)](_0x38fecf),registerInstance=(_0x5f1750,_0x1b9396)=>hostRefs[_0x3e7dca(0x214)](_0x1b9396['$lazyInstance$']=_0x5f1750,_0x1b9396),registerHost=(_0x135ac6,_0x5e68bc)=>{const _0x54351b=_0x3e7dca,_0x274dd={'zahpA':'s-rc'},_0x36dc60={'$flags$':0x0,'$hostElement$':_0x135ac6,'$cmpMeta$':_0x5e68bc,'$instanceValues$':new Map()};{_0x36dc60[_0x54351b(0x1b1)]=new Promise(_0x469a24=>_0x36dc60['$onReadyResolve$']=_0x469a24),_0x135ac6[_0x54351b(0x1fd)]=[],_0x135ac6[_0x274dd['zahpA']]=[];}return hostRefs['set'](_0x135ac6,_0x36dc60);},isMemberInElement=(_0x3fa2be,_0x4ee619)=>_0x4ee619 in _0x3fa2be,consoleError=(_0x36f9dc,_0x371fe0)=>(0x0,console[_0x3e7dca(0x1f6)])(_0x36f9dc,_0x371fe0),cmpModules=new Map(),loadModule=(_0x153eaf,_0xa375c7,_0x22fe32)=>{const _0x4aeddb=_0x3e7dca,_0x35c94d=_0x153eaf[_0x4aeddb(0x164)][_0x4aeddb(0x20a)](/-/g,'_'),_0x21c6ba=_0x153eaf['$lazyBundleId$'],_0x42cc76=cmpModules[_0x4aeddb(0x19c)](_0x21c6ba);if(_0x42cc76)return _0x42cc76[_0x35c94d];return import('./'+_0x21c6ba+'.entry.js')[_0x4aeddb(0x19b)](_0x46ea55=>{const _0x1a4d58=_0x4aeddb;{cmpModules[_0x1a4d58(0x214)](_0x21c6ba,_0x46ea55);}return _0x46ea55[_0x35c94d];},consoleError);},styles=new Map(),win=typeof window!==_0x3e7dca(0x215)?window:{},doc=win[_0x3e7dca(0x25c)]||{'head':{}},plt={'$flags$':0x0,'$resourcesUrl$':'','jmp':_0xa57dd7=>_0xa57dd7(),'raf':_0x2becda=>requestAnimationFrame(_0x2becda),'ael':(_0x3ad974,_0x2a14f8,_0x444525,_0x17e16a)=>_0x3ad974[_0x3e7dca(0x169)](_0x2a14f8,_0x444525,_0x17e16a),'rel':(_0x4c1c8c,_0x2c491b,_0x465d93,_0x552b5d)=>_0x4c1c8c[_0x3e7dca(0x280)](_0x2c491b,_0x465d93,_0x552b5d),'ce':(_0x462d7e,_0x59785f)=>new CustomEvent(_0x462d7e,_0x59785f)},promiseResolve=_0x430c8e=>Promise[_0x3e7dca(0x24a)](_0x430c8e),supportsConstructableStylesheets=((()=>{const _0x4e2285=_0x3e7dca,_0x2bcfa3={'BbQYo':function(_0x38adbd,_0x24bbab){return _0x38adbd===_0x24bbab;},'tlQOl':_0x4e2285(0x235)};try{return new CSSStyleSheet(),_0x2bcfa3['BbQYo'](typeof new CSSStyleSheet()[_0x4e2285(0x1a1)],_0x2bcfa3[_0x4e2285(0x1a8)]);}catch(_0x46ce95){}return![];})()),queueDomReads=[],queueDomWrites=[],queueTask=(_0x34a060,_0x1f9788)=>_0x49ff33=>{const _0x1484fd=_0x3e7dca,_0x154716={'ebTCy':function(_0x3291a3,_0x525b49){return _0x3291a3(_0x525b49);}};_0x34a060[_0x1484fd(0x1d7)](_0x49ff33),!queuePending&&(queuePending=!![],_0x1f9788&&plt['$flags$']&0x4?_0x154716['ebTCy'](nextTick,flush):plt['raf'](flush));},consume=_0x454953=>{const _0x27d32e=_0x3e7dca,_0x2d30be={'GABdZ':function(_0x2a424a,_0x53e441){return _0x2a424a<_0x53e441;},'cnLEY':function(_0x5860fb,_0x51b2b5){return _0x5860fb(_0x51b2b5);}};for(let _0x36d95a=0x0;_0x2d30be[_0x27d32e(0x1c7)](_0x36d95a,_0x454953[_0x27d32e(0x188)]);_0x36d95a++){try{_0x454953[_0x36d95a](performance[_0x27d32e(0x24d)]());}catch(_0x1e7f8a){_0x2d30be[_0x27d32e(0x1ac)](consoleError,_0x1e7f8a);}}_0x454953[_0x27d32e(0x188)]=0x0;},flush=()=>{const _0xd355fc=_0x3e7dca,_0x32f60c={'VIzbL':function(_0x50d0d4,_0x595963){return _0x50d0d4(_0x595963);},'drOAR':function(_0x3e75b4,_0x3e1c3c){return _0x3e75b4>_0x3e1c3c;}};_0x32f60c[_0xd355fc(0x168)](consume,queueDomReads);{consume(queueDomWrites),(queuePending=_0x32f60c[_0xd355fc(0x22d)](queueDomReads[_0xd355fc(0x188)],0x0))&&plt['raf'](flush);}},nextTick=_0x4cfe65=>promiseResolve()[_0x3e7dca(0x19b)](_0x4cfe65),writeTask=queueTask(queueDomWrites,!![]);export{Host as H,bootstrapLazy as b,getElement as g,h,promiseResolve as p,registerInstance as r,setNonce as s};function _0x3e67(){const _0xae81a2=['EFAIG','replace','split','postUpdate','adoptedStyleSheets','meta[charset]','BdBfE','spwGj','zIxUp','tLuBw','nodeType','set','undefined','kgtxL','nUQGG','$elm$','add','$attrsToReflect$','vFgxl','fxEVz','jmp','nextSibling','slot','qIOgF','jGaMX','gbCDe','OzwUE','MUbTp','QCqze','map','$lazyInstance$','$resourcesUrl$','LuAuF','oYxCB','fZoMj','vZlHR','drOAR','class','XfToW','LpAdR','fMHbP','YEcJN','isNaN','$cmpMeta$','function','38BSXwHX','bZKMZ','$flags$','wmuGH','hOijJ','NoxiJ','oKIIf','string','attachShadow','EkFQM','SJLvt','rrcnb','fdrBU','s-rc','QlMTS','MxOFC','6759540gWDCDG','$instanceValues$','POApB','$ancestorComponent$','resolve','classList','style','now','AmvTQ','xlNxN','isProxied','OvcYv','hHWDW','qVjpx','includes','XCXOx','nonce','componentDidLoad','htWDq','remove','VPESL','all','document','$hostElement$','eDkuf','vmSxQ','$nonce$','DiaCc','WLJXE','meKzU','TMwhr','EtioC','zsRhS','RsWkb','yhmTE','tagName','appendChild','content','{visibility:hidden}.hydrated{visibility:inherit}','boolean','exclude','QSkTm','xzZRV','19896efRTNG','jHmlN','Itwez','yoXLx','getAttribute','http://www.w3.org/1999/xhtml','umDFV','JhdRj','9755449STtXHt','pushfeedback','prototype','insertBefore','HdWOV','RCtbn','setAttribute','removeEventListener','174705XoYYly','entries','data-styles','guJPw','nmJBY','hoiZD','$tagName$','filter','DKyTF','UbyuO','VIzbL','addEventListener','ExtnS','isArray','$members$','attachStyles','componentWillLoad','ref','80RHbUXm','yxrWP','host','vtXGL','ezTTq','SEOFV','assign','UEBsE','bmzxf','open','rgZRI','createElementNS','cyXCY','href','$tag$','oDSWD','list','159771uZRLTs','JeCjw','meta[name=\x22csp-nonce\x22]','$attrs$','AHYmg','svg','attributeChangedCallback','length','ZqVJn','lvKaY','className','IMiuo','head','rel','vCKPe','6EtmnLv','join','slice','zJCfH','gNcIX','parentNode','OEDAV','object','zpQaI','vSJeX','iqyfy','then','get','toLowerCase','AQWLJ','CWKUO','UQgxX','replaceSync','XDWyq','shadowRoot','MBrtD','TLpEx','nRxvY','bMVyt','tlQOl','connectedCallback','SGykg','XoTHP','cnLEY','$text$','GhZaZ','IrExc','izwkt','$onReadyPromise$','XRKbM','dispatchEvent','fLHqq','wRLhp','CUQbc','mroYa','snYkQ','SoDZq','OlNno','ugCqZ','vgLNR','textContent','GQlPH','QTISL','createTextNode','appload','RIfTQ','SmQOK','nyxaq','RCQYu','kzQPs','GABdZ','RGciS','ZjkRs','Zbfqw','$lazyBundleId$','querySelector','hasOwnProperty','NUbWN','define','omJOT','ChOuw','AUsaN','qskNY','wNBjB','nikLp','disconnectedCallback','push','GpSsI','kbsxD','documentElement','ERmRh','ZHiOt','YQMJR','has','render','pNjTp','ekcWd','SGZlm','$vnode$','tJAZw','gHOyy','yhMdK','eyjGI','41159jyTkmj','VXdhW','$children$','$onRenderResolve$','bZPvB','zCUBa','false','zHNPW','hRphR','$onReadyResolve$','pkeSx','s-si','ALeEM','s-sc','error','oKqAs','NvLte','hydrated','link','xYyVH','RqgQM','s-p','1071903MnNoBP','jQLzp','innerHTML','SwnHd','qfgAR','resourcesUrl','3051hBaBBm','CRfHd','dpNTo','OaCDP','scheduleUpdate'];_0x3e67=function(){return _0xae81a2;};return _0x3e67();}
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 };