pushfeedback 0.0.8 → 0.0.10

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.
@@ -1 +1,1469 @@
1
- 'use strict';const _0x243637=_0x55fc;(function(_0x524c92,_0x2f29d9){const _0x118f4c=_0x55fc,_0x5ca4b6=_0x524c92();while(!![]){try{const _0x3135a1=parseInt(_0x118f4c(0x1a3))/0x1*(parseInt(_0x118f4c(0xc4))/0x2)+-parseInt(_0x118f4c(0x151))/0x3+parseInt(_0x118f4c(0x138))/0x4+-parseInt(_0x118f4c(0x15a))/0x5*(-parseInt(_0x118f4c(0x125))/0x6)+-parseInt(_0x118f4c(0x11f))/0x7+parseInt(_0x118f4c(0x137))/0x8*(parseInt(_0x118f4c(0xd9))/0x9)+-parseInt(_0x118f4c(0x174))/0xa;if(_0x3135a1===_0x2f29d9)break;else _0x5ca4b6['push'](_0x5ca4b6['shift']());}catch(_0x8ac493){_0x5ca4b6['push'](_0x5ca4b6['shift']());}}}(_0x176b,0x32d72));function _0x55fc(_0x6bbdd9,_0x41eaf5){const _0x176bd2=_0x176b();return _0x55fc=function(_0x55fc67,_0x3b4e49){_0x55fc67=_0x55fc67-0xb6;let _0x5ddecb=_0x176bd2[_0x55fc67];return _0x5ddecb;},_0x55fc(_0x6bbdd9,_0x41eaf5);}function _interopNamespace(_0xfb36ec){const _0x1786b2=_0x55fc,_0x1c8df4={'ltQDx':function(_0x658238,_0x2d9b3c){return _0x658238!==_0x2d9b3c;},'ymted':_0x1786b2(0x16d)};if(_0xfb36ec&&_0xfb36ec[_0x1786b2(0x109)])return _0xfb36ec;var _0x44de02=Object[_0x1786b2(0x1c2)](null);return _0xfb36ec&&Object[_0x1786b2(0x198)](_0xfb36ec)[_0x1786b2(0x1d2)](function(_0x118d32){const _0x7dbb25=_0x1786b2;if(_0x1c8df4[_0x7dbb25(0x141)](_0x118d32,_0x1c8df4[_0x7dbb25(0x1b9)])){var _0x274fbe=Object['getOwnPropertyDescriptor'](_0xfb36ec,_0x118d32);Object[_0x7dbb25(0x1c9)](_0x44de02,_0x118d32,_0x274fbe[_0x7dbb25(0x12f)]?_0x274fbe:{'enumerable':!![],'get':function(){return _0xfb36ec[_0x118d32];}});}}),_0x44de02[_0x1c8df4[_0x1786b2(0x1b9)]]=_0xfb36ec,Object[_0x1786b2(0xf2)](_0x44de02);}const NAMESPACE=_0x243637(0x1d3);function _0x176b(){const _0x46803b=['1456590AxIocg','setNonce','ZdQqK','Host','style','axJlF','attachStyles','FGTUJ','dawtu','removeEventListener','exclude','LrPYw','QUxrE','GxGKz','uJhYq','eAazU','has','shadowRoot','observedAttributes','head','string','ifHGG','appendChild','yVEuZ','hQLmB','raf','s-si','sjHFH','render','s-p','Bhvvn','connectedCallback','GrLZR','qmedC','MjRKL','hasOwnProperty','keys','getAttribute','DWYTG','IpcNR','getRootNode','OnuDi','setAttribute','hQvlE','createElement','dirym','parentNode','1kpFfHt','slice','qUdsm','push','then','dpgUo','.entry.js','querySelector','wSaRK','JVmUu','qLRPe','replace','YGNPi','false','JIjgE','tFmPB','lqmGy','$onRenderResolve$','SINmp','NrNwa','yYONG','disconnectedCallback','ymted','rdcDL','all','vVsqX','remove','CZeYs','taqlt','YLdpP','YDWVs','create','hjZuG','KaBlX','createInstance','createElementNS','QbvdE','define','defineProperty','replaceSync','$resourcesUrl$','EJxxd','nonce','object','{visibility:hidden}.hydrated{visibility:inherit}','jkYLj','LlGph','forEach','pushfeedback','Xvdjh','qYzPw','GMQQV','hydrated','bnSTz','join','cHDuy','$lazyInstance$','GHcLH','tuAEO','hbSXm','tagName','XkVBc','akgYD','bNSHT','xmNiA','kyyDt','includes','registerStyles','entries','EYEJw','pYBWT','jhBJh','EMwHu','ZwMAE','197058qZCDnG','qufHy','ODnTV','LKggu','http://www.w3.org/1999/xhtml','poPGX','$text$','KxnmF','function','$children$','vzgjy','hrlYG','document','$tag$','componentWillLoad','insertBefore','jYhap','foreignObject','MGxQH','KvXHC','adoptedStyleSheets','9ejBHvQ','wUupy','$instanceValues$','hHIdF','$ancestorComponent$','bKdQz','undefined','dxKoW','2|4|1|0|3','promiseResolve','HzPGp','xkxjS','FDlMd','nGoBp','mPxzi','set','Wqdvu','class','bKduP','vTiUP','registerInstance','dCqjL','FGZBf','YJvVd','enLAa','freeze','meta[charset]','isNaN','jpKqv','$onReadyPromise$','isProxied','zigeb','postUpdate','OHipE','uHJGi','$tagName$','GSqds','ZhvuA','baseURI','ZCbzp','tsNOd','wCLBw','xkGdm','addEventListener','rel','s-sc','lRtXQ','$onReadyResolve$','__esModule','dispatchEvent','$attrs$','FpCiN','now','add','link','IBLLR','irTwK','ZhXwU','KLQWF','toLowerCase','QOvkz','innerHTML','content','textContent','YfrBf','$flags$','createTextNode','Tcmty','attachShadow','map','2135882waLmOa','$vnode$','hZPgB','kOQBx','kHYci','SjNVj','138NrpFsq','Acnzr','componentOnReady','mIxrj','IFwSi','$members$','$hostElement$','BHyaN','$elm$','LGggO','get','pWYqc','$cmpMeta$','split','update','jCUiM','DqhDp','slot','1185168HutmoQ','956816GZQfTA','meta[name=\x22csp-nonce\x22]','jmp','AIJvl','bootstrapLazy','KJENR','getElement','ael','myAeD','ltQDx','bEehQ','svg','$lazyBundleId$','jgewv','LNAcv','rzUPq','nextSibling','host','firstChild','resolve','nodeType','jCONU','gsiLY','open','GEnUI','338571ZbLHcD','RWpYX','$nonce$','XiVXy','assign','DIaUE','BrkVb','KSfhA','LjVAy','62175PCnlNe','vAACd','FCpwf','ref','filter','sTFxb','cUwEM','zSceF','scheduleUpdate','s-rc','JVYGD','BNNRD','classList','href','data-styles','pOthe','WdbZC','data','NiaAT','default','JsRDC','aRtQM','list','length','XToub','$attrsToReflect$'];_0x176b=function(){return _0x46803b;};return _0x176b();}let scopeId,hostTagName,isSvgMode=![],queuePending=![];const createTime=(_0x4b98a2,_0x486c06='')=>{{return()=>{return;};}},uniqueTime=(_0x255f8a,_0x1d27a6)=>{{return()=>{return;};}},HYDRATED_CSS=_0x243637(0x1cf),EMPTY_OBJ={},SVG_NS='http://www.w3.org/2000/svg',HTML_NS=_0x243637(0xc8),isDef=_0x3823ff=>_0x3823ff!=null,isComplexType=_0x2a3b39=>{const _0x3a0924=_0x243637,_0x22204b={'Xvdjh':function(_0x1eecc4,_0x4f3219){return _0x1eecc4===_0x4f3219;},'YLdpP':'object'};return _0x2a3b39=typeof _0x2a3b39,_0x22204b[_0x3a0924(0x1d4)](_0x2a3b39,_0x22204b[_0x3a0924(0x1c0)])||_0x2a3b39===_0x3a0924(0xcc);};function queryNonceMetaTagContent(_0x4be88e){const _0x458dd6=_0x243637,_0x44ac7b={'GrLZR':function(_0x40c006,_0x3ae1a6){return _0x40c006===_0x3ae1a6;},'MMktF':_0x458dd6(0x139),'DqhDp':function(_0x3c74e3,_0x288d98){return _0x3c74e3===_0x288d98;},'lRtXQ':_0x458dd6(0x117),'DWYTG':function(_0x18e387,_0x59ba8f){return _0x18e387!==_0x59ba8f;}};var _0x1a4f88,_0x17fc47,_0x102f62;return(_0x102f62=(_0x17fc47=(_0x1a4f88=_0x4be88e[_0x458dd6(0x187)])===null||_0x44ac7b[_0x458dd6(0x194)](_0x1a4f88,void 0x0)?void 0x0:_0x1a4f88[_0x458dd6(0x1aa)](_0x44ac7b['MMktF']))===null||_0x44ac7b[_0x458dd6(0x135)](_0x17fc47,void 0x0)?void 0x0:_0x17fc47[_0x458dd6(0x199)](_0x44ac7b[_0x458dd6(0x107)]))!==null&&_0x44ac7b[_0x458dd6(0x19a)](_0x102f62,void 0x0)?_0x102f62:undefined;}const h=(_0x77b6e0,_0x20dec2,..._0x4de431)=>{const _0x1709b3=_0x243637,_0x1fafaf={'KJENR':function(_0x101912,_0x2ab6be){return _0x101912!=_0x2ab6be;},'GVWge':function(_0x4b306e,_0x8d8414){return _0x4b306e!==_0x8d8414;},'KvXHC':'boolean','hQLmB':_0x1709b3(0xcc),'zSceF':function(_0x1cbb86,_0x471c8f){return _0x1cbb86&&_0x471c8f;},'OmGea':function(_0x28f3f7,_0x322e9b){return _0x28f3f7-_0x322e9b;},'rzUPq':function(_0x277811,_0x551350,_0x32d48a){return _0x277811(_0x551350,_0x32d48a);},'cUwEM':function(_0x1f1f7d,_0x557915){return _0x1f1f7d(_0x557915);},'IpcNR':function(_0x50294c,_0x136736){return _0x50294c!==_0x136736;},'qLRPe':_0x1709b3(0x1ce),'XsiCa':function(_0x2b4b9a,_0x318f05){return _0x2b4b9a>_0x318f05;}};let _0x14dd84=null,_0x5b56a8=![],_0x3837ce=![];const _0x3bf51f=[],_0x108e8c=_0x472cb3=>{const _0x5c58f0=_0x1709b3;for(let _0x3b6588=0x0;_0x3b6588<_0x472cb3[_0x5c58f0(0x171)];_0x3b6588++){_0x14dd84=_0x472cb3[_0x3b6588];if(Array['isArray'](_0x14dd84))_0x108e8c(_0x14dd84);else _0x1fafaf[_0x5c58f0(0x13d)](_0x14dd84,null)&&_0x1fafaf['GVWge'](typeof _0x14dd84,_0x1fafaf[_0x5c58f0(0xd7)])&&((_0x5b56a8=_0x1fafaf['GVWge'](typeof _0x77b6e0,_0x1fafaf[_0x5c58f0(0x18c)])&&!isComplexType(_0x14dd84))&&(_0x14dd84=String(_0x14dd84)),_0x1fafaf[_0x5c58f0(0x161)](_0x5b56a8,_0x3837ce)?_0x3bf51f[_0x1fafaf['OmGea'](_0x3bf51f[_0x5c58f0(0x171)],0x1)][_0x5c58f0(0xca)]+=_0x14dd84:_0x3bf51f[_0x5c58f0(0x1a6)](_0x5b56a8?_0x1fafaf[_0x5c58f0(0x147)](newVNode,null,_0x14dd84):_0x14dd84),_0x3837ce=_0x5b56a8);}};_0x1fafaf[_0x1709b3(0x160)](_0x108e8c,_0x4de431);if(_0x20dec2){const _0x5a52e2=_0x20dec2['className']||_0x20dec2[_0x1709b3(0xea)];_0x5a52e2&&(_0x20dec2[_0x1709b3(0xea)]=_0x1fafaf[_0x1709b3(0x19b)](typeof _0x5a52e2,_0x1fafaf[_0x1709b3(0x1ad)])?_0x5a52e2:Object['keys'](_0x5a52e2)[_0x1709b3(0x15e)](_0x113a8d=>_0x5a52e2[_0x113a8d])[_0x1709b3(0x1d9)]('\x20'));}const _0x28d287=newVNode(_0x77b6e0,null);return _0x28d287[_0x1709b3(0x10b)]=_0x20dec2,_0x1fafaf['XsiCa'](_0x3bf51f[_0x1709b3(0x171)],0x0)&&(_0x28d287[_0x1709b3(0xcd)]=_0x3bf51f),_0x28d287;},newVNode=(_0xfb863b,_0x2ca74d)=>{const _0x2a0662=_0x243637,_0x4ce06e={'$flags$':0x0,'$tag$':_0xfb863b,'$text$':_0x2ca74d,'$elm$':null,'$children$':null};{_0x4ce06e[_0x2a0662(0x10b)]=null;}return _0x4ce06e;},Host={},isHost=_0x12ea80=>_0x12ea80&&_0x12ea80[_0x243637(0xd1)]===Host,parsePropertyValue=(_0x2f00e1,_0x161713)=>{const _0x3184b4=_0x243637,_0x1a8fc0={'myAeD':function(_0x1a452e,_0x49a2d9){return _0x1a452e(_0x49a2d9);},'GSqds':_0x3184b4(0x1b0),'JVYGD':function(_0x31f1c6,_0x66f541){return _0x31f1c6&_0x66f541;}};if(_0x2f00e1!=null&&!_0x1a8fc0[_0x3184b4(0x140)](isComplexType,_0x2f00e1)){if(_0x161713&0x4)return _0x2f00e1===_0x1a8fc0[_0x3184b4(0xfd)]?![]:_0x2f00e1===''||!!_0x2f00e1;if(_0x1a8fc0[_0x3184b4(0x164)](_0x161713,0x1))return _0x1a8fc0[_0x3184b4(0x140)](String,_0x2f00e1);return _0x2f00e1;}return _0x2f00e1;},getElement=_0x3537e0=>getHostRef(_0x3537e0)[_0x243637(0x12b)],emitEvent=(_0x1707a0,_0xfb46f2,_0x25d96d)=>{const _0x3db1e8=_0x243637,_0x4b08cd=plt['ce'](_0xfb46f2,_0x25d96d);return _0x1707a0[_0x3db1e8(0x10a)](_0x4b08cd),_0x4b08cd;},rootAppliedStyles=new WeakMap(),registerStyle=(_0x383f1b,_0x158ab5,_0x309884)=>{const _0x58e3da=_0x243637,_0x1c4aac={'Wqdvu':function(_0x4d940b,_0x4da2a1){return _0x4d940b&&_0x4da2a1;},'lqmGy':function(_0x71d8d3,_0x5749f9){return _0x71d8d3===_0x5749f9;},'EJxxd':_0x58e3da(0x188)};let _0x460aa5=styles['get'](_0x383f1b);_0x1c4aac[_0x58e3da(0xe9)](supportsConstructableStylesheets,_0x309884)?(_0x460aa5=_0x460aa5||new CSSStyleSheet(),_0x1c4aac[_0x58e3da(0x1b3)](typeof _0x460aa5,_0x1c4aac[_0x58e3da(0x1cc)])?_0x460aa5=_0x158ab5:_0x460aa5[_0x58e3da(0x1ca)](_0x158ab5)):_0x460aa5=_0x158ab5,styles[_0x58e3da(0xe8)](_0x383f1b,_0x460aa5);},addStyle=(_0x4c4c92,_0xfd4e18,_0x19e7b1,_0x339d81)=>{const _0x57edfc=_0x243637,_0x9c7b6e={'jgewv':function(_0x8b8f25,_0x4490cd){return _0x8b8f25(_0x4490cd);},'akgYD':_0x57edfc(0x188),'amWum':function(_0xe9606b,_0x489574){return _0xe9606b!==_0x489574;},'rdcDL':function(_0x1a6c06,_0x2494f0){return _0x1a6c06(_0x2494f0);},'gGVBg':function(_0x38101c,_0x89f610){return _0x38101c!=_0x89f610;},'ZCbzp':_0x57edfc(0x1cd),'LjVAy':_0x57edfc(0x10f)};var _0x4fbfbb;let _0x24d489=_0x9c7b6e[_0x57edfc(0x145)](getScopeId,_0xfd4e18);const _0x1bb268=styles[_0x57edfc(0x12f)](_0x24d489);_0x4c4c92=_0x4c4c92[_0x57edfc(0x14c)]===0xb?_0x4c4c92:doc;if(_0x1bb268){if(typeof _0x1bb268===_0x9c7b6e[_0x57edfc(0xb8)]){_0x4c4c92=_0x4c4c92['head']||_0x4c4c92;let _0x4ac9e1=rootAppliedStyles[_0x57edfc(0x12f)](_0x4c4c92),_0x226071;!_0x4ac9e1&&rootAppliedStyles['set'](_0x4c4c92,_0x4ac9e1=new Set());if(!_0x4ac9e1['has'](_0x24d489)){{{_0x226071=doc[_0x57edfc(0x1a0)](_0x57edfc(0x178)),_0x226071[_0x57edfc(0x116)]=_0x1bb268;}const _0x5108a7=(_0x4fbfbb=plt[_0x57edfc(0x153)])!==null&&_0x9c7b6e['amWum'](_0x4fbfbb,void 0x0)?_0x4fbfbb:_0x9c7b6e[_0x57edfc(0x1ba)](queryNonceMetaTagContent,doc);_0x9c7b6e['gGVBg'](_0x5108a7,null)&&_0x226071[_0x57edfc(0x19e)](_0x9c7b6e[_0x57edfc(0x100)],_0x5108a7),_0x4c4c92[_0x57edfc(0xd3)](_0x226071,_0x4c4c92[_0x57edfc(0x1aa)](_0x9c7b6e[_0x57edfc(0x159)]));}_0x4ac9e1&&_0x4ac9e1['add'](_0x24d489);}}else!_0x4c4c92[_0x57edfc(0xd8)][_0x57edfc(0xbc)](_0x1bb268)&&(_0x4c4c92[_0x57edfc(0xd8)]=[..._0x4c4c92[_0x57edfc(0xd8)],_0x1bb268]);}return _0x24d489;},attachStyles=_0x5d5ef0=>{const _0x861753=_0x243637,_0x550014={'YfrBf':_0x861753(0x17a),'qUdsm':function(_0xc470fa,_0x1651b7,_0x4686fe){return _0xc470fa(_0x1651b7,_0x4686fe);},'tFmPB':function(_0x3864a9,_0x442e36){return _0x3864a9&_0x442e36;},'jYhap':_0x861753(0x106),'mLdrP':function(_0x225719,_0x28e4bc){return _0x225719+_0x28e4bc;},'yYONG':function(_0xa4d0aa){return _0xa4d0aa();}},_0x310a17=_0x5d5ef0['$cmpMeta$'],_0x32f9e3=_0x5d5ef0[_0x861753(0x12b)],_0x346b18=_0x310a17[_0x861753(0x11a)],_0x2a078c=createTime(_0x550014[_0x861753(0x119)],_0x310a17[_0x861753(0xfc)]),_0x4d342d=_0x550014[_0x861753(0x1a5)](addStyle,_0x32f9e3[_0x861753(0x185)]?_0x32f9e3['shadowRoot']:_0x32f9e3[_0x861753(0x19c)](),_0x310a17);_0x550014[_0x861753(0x1b2)](_0x346b18,0xa)&&(_0x32f9e3[_0x550014[_0x861753(0xd4)]]=_0x4d342d,_0x32f9e3['classList']['add'](_0x550014['mLdrP'](_0x4d342d,'-h'))),_0x550014[_0x861753(0x1b7)](_0x2a078c);},getScopeId=(_0xcab2a1,_0x10db8a)=>'sc-'+_0xcab2a1[_0x243637(0xfc)],setAccessor=(_0x4b6daf,_0x5ad1c5,_0x5011ff,_0x2bbb77,_0x1ba0e5,_0x26dd76)=>{const _0x22dd53=_0x243637,_0x3445d9={'qufHy':function(_0x533241,_0x5b8f21){return _0x533241!==_0x5b8f21;},'DIaUE':'class','jCUiM':function(_0xcf596d,_0x19de93){return _0xcf596d(_0x19de93);},'GxGKz':function(_0x5d9e21,_0x411844){return _0x5d9e21===_0x411844;},'KxnmF':'ref','xkGdm':function(_0x1ae67a,_0x5b1c47){return _0x1ae67a(_0x5b1c47);},'EgYvN':function(_0x2e04e4,_0x2a608f,_0x2200a5){return _0x2e04e4(_0x2a608f,_0x2200a5);},'jhBJh':function(_0x46d343,_0x123bbb){return _0x46d343+_0x123bbb;},'qmedC':_0x22dd53(0x170),'SjNVj':function(_0x1005ee,_0x542370){return _0x1005ee!=_0x542370;},'bEehQ':function(_0x5ec13b,_0x440941){return _0x5ec13b===_0x440941;},'BNNRD':function(_0x1d6aa5,_0x5c57ec){return _0x1d6aa5&_0x5c57ec;}};if(_0x3445d9['qufHy'](_0x5011ff,_0x2bbb77)){let _0x251fb7=isMemberInElement(_0x4b6daf,_0x5ad1c5),_0x1e1f0f=_0x5ad1c5[_0x22dd53(0x114)]();if(_0x5ad1c5===_0x3445d9[_0x22dd53(0x156)]){const _0x50b466=_0x4b6daf[_0x22dd53(0x166)],_0x560f18=_0x3445d9[_0x22dd53(0x134)](parseClassList,_0x5011ff),_0x418baa=parseClassList(_0x2bbb77);_0x50b466[_0x22dd53(0x1bd)](..._0x560f18[_0x22dd53(0x15e)](_0x3f209b=>_0x3f209b&&!_0x418baa[_0x22dd53(0xbc)](_0x3f209b))),_0x50b466[_0x22dd53(0x10e)](..._0x418baa[_0x22dd53(0x15e)](_0x5741da=>_0x5741da&&!_0x560f18[_0x22dd53(0xbc)](_0x5741da)));}else{if(_0x3445d9[_0x22dd53(0x181)](_0x5ad1c5,_0x3445d9[_0x22dd53(0xcb)]))_0x2bbb77&&_0x3445d9[_0x22dd53(0x103)](_0x2bbb77,_0x4b6daf);else{if(!_0x251fb7&&_0x3445d9[_0x22dd53(0x181)](_0x5ad1c5[0x0],'o')&&_0x3445d9['GxGKz'](_0x5ad1c5[0x1],'n')){if(_0x5ad1c5[0x2]==='-')_0x5ad1c5=_0x5ad1c5['slice'](0x3);else _0x3445d9['EgYvN'](isMemberInElement,win,_0x1e1f0f)?_0x5ad1c5=_0x1e1f0f['slice'](0x2):_0x5ad1c5=_0x3445d9[_0x22dd53(0xc1)](_0x1e1f0f[0x2],_0x5ad1c5[_0x22dd53(0x1a4)](0x3));_0x5011ff&&plt[_0x22dd53(0x105)](_0x4b6daf,_0x5ad1c5,_0x5011ff,![]),_0x2bbb77&&plt[_0x22dd53(0x13f)](_0x4b6daf,_0x5ad1c5,_0x2bbb77,![]);}else{const _0x2dbfdf=_0x3445d9[_0x22dd53(0x134)](isComplexType,_0x2bbb77);if((_0x251fb7||_0x2dbfdf&&_0x3445d9['qufHy'](_0x2bbb77,null))&&!_0x1ba0e5)try{if(!_0x4b6daf[_0x22dd53(0xb6)][_0x22dd53(0xbc)]('-')){const _0x2b2d0d=_0x2bbb77==null?'':_0x2bbb77;if(_0x3445d9[_0x22dd53(0x181)](_0x5ad1c5,_0x3445d9[_0x22dd53(0x195)]))_0x251fb7=![];else(_0x5011ff==null||_0x3445d9[_0x22dd53(0x124)](_0x4b6daf[_0x5ad1c5],_0x2b2d0d))&&(_0x4b6daf[_0x5ad1c5]=_0x2b2d0d);}else _0x4b6daf[_0x5ad1c5]=_0x2bbb77;}catch(_0x2a3af0){}if(_0x2bbb77==null||_0x2bbb77===![]){if(_0x3445d9[_0x22dd53(0xc5)](_0x2bbb77,![])||_0x3445d9[_0x22dd53(0x142)](_0x4b6daf[_0x22dd53(0x199)](_0x5ad1c5),'')){_0x4b6daf['removeAttribute'](_0x5ad1c5);}}else{if((!_0x251fb7||_0x3445d9[_0x22dd53(0x165)](_0x26dd76,0x4)||_0x1ba0e5)&&!_0x2dbfdf){_0x2bbb77=_0x3445d9[_0x22dd53(0x181)](_0x2bbb77,!![])?'':_0x2bbb77;{_0x4b6daf[_0x22dd53(0x19e)](_0x5ad1c5,_0x2bbb77);}}}}}}}},parseClassListRegex=/\s/,parseClassList=_0x599273=>!_0x599273?[]:_0x599273['split'](parseClassListRegex),updateElement=(_0x143fb4,_0x5e2169,_0x512a6c,_0x4aa3b8)=>{const _0xfc6ed=_0x243637,_0x1245b4={'FDlMd':function(_0x1807aa,_0x3395a9){return _0x1807aa===_0x3395a9;},'YGNPi':function(_0xf08fc0,_0x728e19){return _0xf08fc0 in _0x728e19;},'wUupy':function(_0x24f54f,_0x21018b,_0x3bd85d,_0x11e4c7,_0x5b7ac2,_0xa7a61,_0x32e74e){return _0x24f54f(_0x21018b,_0x3bd85d,_0x11e4c7,_0x5b7ac2,_0xa7a61,_0x32e74e);}},_0x4eb5c4=_0x1245b4[_0xfc6ed(0xe5)](_0x5e2169[_0xfc6ed(0x12d)][_0xfc6ed(0x14c)],0xb)&&_0x5e2169[_0xfc6ed(0x12d)][_0xfc6ed(0x149)]?_0x5e2169['$elm$'][_0xfc6ed(0x149)]:_0x5e2169[_0xfc6ed(0x12d)],_0x4ec347=_0x143fb4&&_0x143fb4[_0xfc6ed(0x10b)]||EMPTY_OBJ,_0x1a6153=_0x5e2169['$attrs$']||EMPTY_OBJ;{for(_0x4aa3b8 in _0x4ec347){!_0x1245b4[_0xfc6ed(0x1af)](_0x4aa3b8,_0x1a6153)&&_0x1245b4[_0xfc6ed(0xda)](setAccessor,_0x4eb5c4,_0x4aa3b8,_0x4ec347[_0x4aa3b8],undefined,_0x512a6c,_0x5e2169[_0xfc6ed(0x11a)]);}}for(_0x4aa3b8 in _0x1a6153){_0x1245b4[_0xfc6ed(0xda)](setAccessor,_0x4eb5c4,_0x4aa3b8,_0x4ec347[_0x4aa3b8],_0x1a6153[_0x4aa3b8],_0x512a6c,_0x5e2169[_0xfc6ed(0x11a)]);}},createElm=(_0x3b4715,_0x54f795,_0x328b7f,_0x138ea8)=>{const _0x40413e=_0x243637,_0x31a50f={'uHJGi':function(_0x57d814,_0x3dce1e){return _0x57d814===_0x3dce1e;},'MGxQH':_0x40413e(0x143),'yApwD':_0x40413e(0xd5),'tuAEO':function(_0xda8b2c,_0x5dadea,_0x288dc6,_0x56ee48){return _0xda8b2c(_0x5dadea,_0x288dc6,_0x56ee48);},'WIxmr':function(_0x19c343,_0x48fb88){return _0x19c343(_0x48fb88);},'sjHFH':function(_0x454e64,_0x589d84){return _0x454e64!==_0x589d84;},'NrNwa':_0x40413e(0x18e),'xmNiA':function(_0x3d9e8d,_0x29b65d){return _0x3d9e8d<_0x29b65d;},'hjZuG':function(_0x468e22,_0x4ff276){return _0x468e22===_0x4ff276;},'YJvVd':function(_0x2a6270,_0x4a3ac9){return _0x2a6270===_0x4a3ac9;}},_0x14f916=_0x54f795['$children$'][_0x328b7f];let _0x43c720=0x0,_0xc27359,_0x2c622e;if(_0x14f916['$text$']!==null)_0xc27359=_0x14f916[_0x40413e(0x12d)]=doc[_0x40413e(0x11b)](_0x14f916['$text$']);else{!isSvgMode&&(isSvgMode=_0x31a50f['uHJGi'](_0x14f916[_0x40413e(0xd1)],_0x31a50f[_0x40413e(0xd6)]));_0xc27359=_0x14f916[_0x40413e(0x12d)]=doc[_0x40413e(0x1c6)](isSvgMode?SVG_NS:HTML_NS,_0x14f916[_0x40413e(0xd1)]);isSvgMode&&_0x31a50f[_0x40413e(0xfb)](_0x14f916[_0x40413e(0xd1)],_0x31a50f['yApwD'])&&(isSvgMode=![]);{_0x31a50f[_0x40413e(0x1dd)](updateElement,null,_0x14f916,isSvgMode);}_0x31a50f['WIxmr'](isDef,scopeId)&&_0x31a50f[_0x40413e(0x18f)](_0xc27359[_0x31a50f[_0x40413e(0x1b6)]],scopeId)&&_0xc27359[_0x40413e(0x166)][_0x40413e(0x10e)](_0xc27359[_0x40413e(0x18e)]=scopeId);if(_0x14f916[_0x40413e(0xcd)])for(_0x43c720=0x0;_0x31a50f[_0x40413e(0xba)](_0x43c720,_0x14f916[_0x40413e(0xcd)][_0x40413e(0x171)]);++_0x43c720){_0x2c622e=_0x31a50f[_0x40413e(0x1dd)](createElm,_0x3b4715,_0x14f916,_0x43c720),_0x2c622e&&_0xc27359[_0x40413e(0x18a)](_0x2c622e);}{if(_0x31a50f[_0x40413e(0x1c3)](_0x14f916['$tag$'],'svg'))isSvgMode=![];else _0x31a50f[_0x40413e(0xf0)](_0xc27359[_0x40413e(0xb6)],'foreignObject')&&(isSvgMode=!![]);}}return _0xc27359;},addVnodes=(_0x3dc3d8,_0x15081e,_0x5af80c,_0x38318a,_0x582c6d,_0x294db5)=>{const _0x2e0b47=_0x243637,_0x1f276c={'AIJvl':function(_0x51edb3,_0x412b3d){return _0x51edb3===_0x412b3d;},'PeNMO':function(_0xafa408,_0x30f208){return _0xafa408<=_0x30f208;},'jCONU':function(_0x2f48a4,_0x234547,_0x4e4d6e,_0x7237df){return _0x2f48a4(_0x234547,_0x4e4d6e,_0x7237df);}};let _0x2e2785=_0x3dc3d8,_0x347307;_0x2e2785['shadowRoot']&&_0x1f276c[_0x2e0b47(0x13b)](_0x2e2785['tagName'],hostTagName)&&(_0x2e2785=_0x2e2785[_0x2e0b47(0x185)]);for(;_0x1f276c['PeNMO'](_0x582c6d,_0x294db5);++_0x582c6d){_0x38318a[_0x582c6d]&&(_0x347307=_0x1f276c[_0x2e0b47(0x14d)](createElm,null,_0x5af80c,_0x582c6d),_0x347307&&(_0x38318a[_0x582c6d][_0x2e0b47(0x12d)]=_0x347307,_0x2e2785['insertBefore'](_0x347307,_0x15081e)));}},removeVnodes=(_0x267dd6,_0x24f1b0,_0x462db3,_0x3132c5,_0x1f2503)=>{const _0x31ec47=_0x243637,_0xf25dc7={'dCqjL':function(_0x42a0f9,_0x365c47){return _0x42a0f9<=_0x365c47;},'bdTpd':function(_0x116831,_0x31b964){return _0x116831(_0x31b964);}};for(;_0xf25dc7[_0x31ec47(0xee)](_0x24f1b0,_0x462db3);++_0x24f1b0){(_0x3132c5=_0x267dd6[_0x24f1b0])&&(_0x1f2503=_0x3132c5[_0x31ec47(0x12d)],_0xf25dc7['bdTpd'](callNodeRefs,_0x3132c5),_0x1f2503['remove']());}},updateChildren=(_0x51c72a,_0x148054,_0x40f4f9,_0x1d5ed5)=>{const _0x391c6c=_0x243637,_0x5310b1={'NiaAT':function(_0x633975,_0x426dce){return _0x633975-_0x426dce;},'XiVXy':function(_0x48f0f9,_0x1b2502){return _0x48f0f9<=_0x1b2502;},'enLAa':function(_0x26a49a,_0x59bdb6){return _0x26a49a==_0x59bdb6;},'kyyDt':function(_0x4b4510,_0x594ea3){return _0x4b4510==_0x594ea3;},'hZPgB':function(_0xbff63b,_0x11481f,_0x1d43e7){return _0xbff63b(_0x11481f,_0x1d43e7);},'gBnwU':function(_0x16f458,_0x129800,_0x4829b9){return _0x16f458(_0x129800,_0x4829b9);},'jpKqv':function(_0x482b01,_0x16a143,_0x3928f5){return _0x482b01(_0x16a143,_0x3928f5);},'mPxzi':function(_0x5238d8,_0x3b4d7e,_0x3f2e98){return _0x5238d8(_0x3b4d7e,_0x3f2e98);},'taqlt':function(_0x1c0dbc,_0x30933b,_0x457245){return _0x1c0dbc(_0x30933b,_0x457245);},'dirym':function(_0xb69b54,_0x26b55f,_0x3f8de9,_0x5d4310){return _0xb69b54(_0x26b55f,_0x3f8de9,_0x5d4310);},'GHcLH':function(_0x3c0881,_0x49bdb9){return _0x3c0881>_0x49bdb9;},'HzPGp':function(_0x4b09cf,_0xcef20d,_0x227cfa,_0x2a742d,_0x3d7899,_0x2f66b6,_0x36b3b2){return _0x4b09cf(_0xcef20d,_0x227cfa,_0x2a742d,_0x3d7899,_0x2f66b6,_0x36b3b2);},'YDWVs':function(_0x2b5d49,_0x19c6c3){return _0x2b5d49==_0x19c6c3;},'CZeYs':function(_0x24c08f,_0x9261be){return _0x24c08f+_0x9261be;},'JyJQU':function(_0x43936a,_0x265848,_0x311537,_0x5e6c61){return _0x43936a(_0x265848,_0x311537,_0x5e6c61);}};let _0x87667d=0x0,_0x48bdd0=0x0,_0x2ad536=_0x5310b1[_0x391c6c(0x16c)](_0x148054['length'],0x1),_0x30d41b=_0x148054[0x0],_0x8c0e5b=_0x148054[_0x2ad536],_0x268357=_0x1d5ed5['length']-0x1,_0x26e307=_0x1d5ed5[0x0],_0x5402ac=_0x1d5ed5[_0x268357],_0x594fbb;while(_0x5310b1[_0x391c6c(0x154)](_0x87667d,_0x2ad536)&&_0x48bdd0<=_0x268357){if(_0x5310b1[_0x391c6c(0xf1)](_0x30d41b,null))_0x30d41b=_0x148054[++_0x87667d];else{if(_0x5310b1[_0x391c6c(0xf1)](_0x8c0e5b,null))_0x8c0e5b=_0x148054[--_0x2ad536];else{if(_0x5310b1[_0x391c6c(0xf1)](_0x26e307,null))_0x26e307=_0x1d5ed5[++_0x48bdd0];else{if(_0x5310b1[_0x391c6c(0xbb)](_0x5402ac,null))_0x5402ac=_0x1d5ed5[--_0x268357];else{if(_0x5310b1['hZPgB'](isSameVnode,_0x30d41b,_0x26e307))patch(_0x30d41b,_0x26e307),_0x30d41b=_0x148054[++_0x87667d],_0x26e307=_0x1d5ed5[++_0x48bdd0];else{if(_0x5310b1[_0x391c6c(0x121)](isSameVnode,_0x8c0e5b,_0x5402ac))patch(_0x8c0e5b,_0x5402ac),_0x8c0e5b=_0x148054[--_0x2ad536],_0x5402ac=_0x1d5ed5[--_0x268357];else{if(_0x5310b1['gBnwU'](isSameVnode,_0x30d41b,_0x5402ac))_0x5310b1[_0x391c6c(0xf5)](patch,_0x30d41b,_0x5402ac),_0x51c72a[_0x391c6c(0xd3)](_0x30d41b[_0x391c6c(0x12d)],_0x8c0e5b[_0x391c6c(0x12d)][_0x391c6c(0x148)]),_0x30d41b=_0x148054[++_0x87667d],_0x5402ac=_0x1d5ed5[--_0x268357];else{if(_0x5310b1[_0x391c6c(0xe7)](isSameVnode,_0x8c0e5b,_0x26e307))_0x5310b1[_0x391c6c(0x1bf)](patch,_0x8c0e5b,_0x26e307),_0x51c72a['insertBefore'](_0x8c0e5b['$elm$'],_0x30d41b[_0x391c6c(0x12d)]),_0x8c0e5b=_0x148054[--_0x2ad536],_0x26e307=_0x1d5ed5[++_0x48bdd0];else{{_0x594fbb=_0x5310b1[_0x391c6c(0x1a1)](createElm,_0x148054&&_0x148054[_0x48bdd0],_0x40f4f9,_0x48bdd0),_0x26e307=_0x1d5ed5[++_0x48bdd0];}if(_0x594fbb){_0x30d41b[_0x391c6c(0x12d)][_0x391c6c(0x1a2)]['insertBefore'](_0x594fbb,_0x30d41b['$elm$']);}}}}}}}}}}if(_0x5310b1[_0x391c6c(0x1dc)](_0x87667d,_0x2ad536))_0x5310b1[_0x391c6c(0xe3)](addVnodes,_0x51c72a,_0x5310b1[_0x391c6c(0x1c1)](_0x1d5ed5[_0x5310b1[_0x391c6c(0x1be)](_0x268357,0x1)],null)?null:_0x1d5ed5[_0x5310b1['CZeYs'](_0x268357,0x1)]['$elm$'],_0x40f4f9,_0x1d5ed5,_0x48bdd0,_0x268357);else _0x5310b1[_0x391c6c(0x1dc)](_0x48bdd0,_0x268357)&&_0x5310b1['JyJQU'](removeVnodes,_0x148054,_0x87667d,_0x2ad536);},isSameVnode=(_0xa4bf9,_0x44663e)=>{const _0x2778f4=_0x243637;if(_0xa4bf9[_0x2778f4(0xd1)]===_0x44663e[_0x2778f4(0xd1)])return!![];return![];},patch=(_0x267d92,_0x16e0fa)=>{const _0x3739f4=_0x243637,_0x3bd708={'OnuDi':function(_0x194098,_0x3c5efc){return _0x194098===_0x3c5efc;},'QbvdE':_0x3739f4(0xd5),'OkxtJ':_0x3739f4(0x136),'IFwSi':function(_0x29a6d8,_0x8842fc,_0x3ec075,_0x238831){return _0x29a6d8(_0x8842fc,_0x3ec075,_0x238831);},'hQvlE':function(_0x1131fc,_0x4d9b0){return _0x1131fc!==_0x4d9b0;},'kHYci':function(_0x455820,_0x5802e1,_0x51b84a,_0xed910b,_0x506f57){return _0x455820(_0x5802e1,_0x51b84a,_0xed910b,_0x506f57);},'nGoBp':function(_0x311a94,_0x4b2772){return _0x311a94!==_0x4b2772;},'bnSTz':function(_0x4cb99b,_0x3e486a){return _0x4cb99b!==_0x3e486a;},'wDsPd':function(_0x53cce2,_0x58235b){return _0x53cce2-_0x58235b;},'bKduP':'svg','FXRhg':function(_0x47089f,_0x31ea31){return _0x47089f!==_0x31ea31;}},_0x538bc3=_0x16e0fa['$elm$']=_0x267d92[_0x3739f4(0x12d)],_0x65b6d8=_0x267d92['$children$'],_0x33ecbe=_0x16e0fa[_0x3739f4(0xcd)],_0x5db733=_0x16e0fa['$tag$'],_0x1cd3ef=_0x16e0fa[_0x3739f4(0xca)];if(_0x3bd708[_0x3739f4(0x19d)](_0x1cd3ef,null)){{isSvgMode=_0x3bd708[_0x3739f4(0x19d)](_0x5db733,_0x3739f4(0x143))?!![]:_0x5db733===_0x3bd708[_0x3739f4(0x1c7)]?![]:isSvgMode;}{if(_0x3bd708[_0x3739f4(0x19d)](_0x5db733,_0x3bd708['OkxtJ']));else _0x3bd708[_0x3739f4(0x129)](updateElement,_0x267d92,_0x16e0fa,isSvgMode);}if(_0x65b6d8!==null&&_0x3bd708[_0x3739f4(0x19f)](_0x33ecbe,null))_0x3bd708[_0x3739f4(0x123)](updateChildren,_0x538bc3,_0x65b6d8,_0x16e0fa,_0x33ecbe);else{if(_0x3bd708[_0x3739f4(0xe6)](_0x33ecbe,null))_0x3bd708[_0x3739f4(0x1d8)](_0x267d92[_0x3739f4(0xca)],null)&&(_0x538bc3[_0x3739f4(0x118)]=''),addVnodes(_0x538bc3,null,_0x16e0fa,_0x33ecbe,0x0,_0x33ecbe[_0x3739f4(0x171)]-0x1);else _0x3bd708[_0x3739f4(0xe6)](_0x65b6d8,null)&&_0x3bd708[_0x3739f4(0x129)](removeVnodes,_0x65b6d8,0x0,_0x3bd708['wDsPd'](_0x65b6d8['length'],0x1));}isSvgMode&&_0x5db733===_0x3bd708[_0x3739f4(0xeb)]&&(isSvgMode=![]);}else _0x3bd708['FXRhg'](_0x267d92[_0x3739f4(0xca)],_0x1cd3ef)&&(_0x538bc3[_0x3739f4(0x16b)]=_0x1cd3ef);},callNodeRefs=_0x6076a0=>{const _0x789574=_0x243637;{_0x6076a0[_0x789574(0x10b)]&&_0x6076a0[_0x789574(0x10b)]['ref']&&_0x6076a0[_0x789574(0x10b)][_0x789574(0x15d)](null),_0x6076a0['$children$']&&_0x6076a0[_0x789574(0xcd)]['map'](callNodeRefs);}},renderVdom=(_0x45267d,_0x40a5db)=>{const _0x2aeb61=_0x243637,_0x39706f={'FCpwf':function(_0x1086c6,_0x424f02){return _0x1086c6(_0x424f02);},'xkxjS':function(_0xc5524e,_0x39e0bc,_0x14883b){return _0xc5524e(_0x39e0bc,_0x14883b);}},_0x543b74=_0x45267d[_0x2aeb61(0x12b)],_0x578cb0=_0x45267d[_0x2aeb61(0x131)],_0x412aec=_0x45267d[_0x2aeb61(0x120)]||newVNode(null,null),_0x542727=_0x39706f[_0x2aeb61(0x15c)](isHost,_0x40a5db)?_0x40a5db:h(null,null,_0x40a5db);hostTagName=_0x543b74[_0x2aeb61(0xb6)];_0x578cb0['$attrsToReflect$']&&(_0x542727[_0x2aeb61(0x10b)]=_0x542727[_0x2aeb61(0x10b)]||{},_0x578cb0[_0x2aeb61(0x173)][_0x2aeb61(0x11e)](([_0x50a02e,_0x387b63])=>_0x542727[_0x2aeb61(0x10b)][_0x387b63]=_0x543b74[_0x50a02e]));_0x542727[_0x2aeb61(0xd1)]=null,_0x542727['$flags$']|=0x4,_0x45267d[_0x2aeb61(0x120)]=_0x542727,_0x542727[_0x2aeb61(0x12d)]=_0x412aec['$elm$']=_0x543b74[_0x2aeb61(0x185)]||_0x543b74;{scopeId=_0x543b74[_0x2aeb61(0x106)];}_0x39706f[_0x2aeb61(0xe4)](patch,_0x412aec,_0x542727);},attachToAncestor=(_0x4ff839,_0x43e2f0)=>{const _0x156e06=_0x243637,_0xe11c60={'XToub':_0x156e06(0x191)};_0x43e2f0&&!_0x4ff839[_0x156e06(0x1b4)]&&_0x43e2f0[_0xe11c60[_0x156e06(0x172)]]&&_0x43e2f0[_0x156e06(0x191)]['push'](new Promise(_0x48bd7a=>_0x4ff839[_0x156e06(0x1b4)]=_0x48bd7a));},scheduleUpdate=(_0x4bba7c,_0x496e46)=>{const _0x5e33d4=_0x243637,_0x52990b={'BHRih':function(_0x11e802,_0x54201b,_0x5d4616){return _0x11e802(_0x54201b,_0x5d4616);}};{_0x4bba7c['$flags$']|=0x10;}if(_0x4bba7c[_0x5e33d4(0x11a)]&0x4){_0x4bba7c['$flags$']|=0x200;return;}_0x52990b['BHRih'](attachToAncestor,_0x4bba7c,_0x4bba7c[_0x5e33d4(0xdd)]);const _0x10937c=()=>dispatchHooks(_0x4bba7c,_0x496e46);return writeTask(_0x10937c);},dispatchHooks=(_0xbfe001,_0x35b33a)=>{const _0x37e817=_0x243637,_0x3a48df={'IBLLR':function(_0x58954b,_0x320438,_0x25e186){return _0x58954b(_0x320438,_0x25e186);},'WdbZC':_0x37e817(0xd2),'YhOLf':function(_0x311cad){return _0x311cad();},'vAACd':function(_0x11a93d,_0x290166,_0xba7fe2){return _0x11a93d(_0x290166,_0xba7fe2);}},_0x14f536=createTime(_0x37e817(0x162),_0xbfe001['$cmpMeta$']['$tagName$']),_0x34058b=_0xbfe001[_0x37e817(0x1db)];let _0x51da5b;if(_0x35b33a){_0x51da5b=_0x3a48df[_0x37e817(0x110)](safeCall,_0x34058b,_0x3a48df[_0x37e817(0x16a)]);}return _0x3a48df['YhOLf'](_0x14f536),_0x3a48df[_0x37e817(0x15b)](then,_0x51da5b,()=>updateComponent(_0xbfe001,_0x34058b,_0x35b33a));},updateComponent=async(_0x10d418,_0x2f475a,_0x3e7bff)=>{const _0x4487ab=_0x243637,_0x1e21e7={'kOQBx':function(_0xca8e0b,_0x53a560,_0x1e2b82){return _0xca8e0b(_0x53a560,_0x1e2b82);},'ODnTV':_0x4487ab(0x133),'BrkVb':_0x4487ab(0x163),'GEnUI':function(_0x45dd33,_0x8bb7f6){return _0x45dd33(_0x8bb7f6);},'wSaRK':_0x4487ab(0x190),'ZhvuA':function(_0x4d4fc0){return _0x4d4fc0();},'ynSVw':_0x4487ab(0x191),'EMwHu':function(_0x233c53){return _0x233c53();}},_0x25f44d=_0x10d418[_0x4487ab(0x12b)],_0x1d0366=_0x1e21e7[_0x4487ab(0x122)](createTime,_0x1e21e7[_0x4487ab(0xc6)],_0x10d418['$cmpMeta$']['$tagName$']),_0x28df78=_0x25f44d[_0x1e21e7[_0x4487ab(0x157)]];_0x3e7bff&&_0x1e21e7[_0x4487ab(0x150)](attachStyles,_0x10d418);const _0x18401b=_0x1e21e7[_0x4487ab(0x122)](createTime,_0x1e21e7[_0x4487ab(0x1ab)],_0x10d418[_0x4487ab(0x131)][_0x4487ab(0xfc)]);{_0x1e21e7['kOQBx'](callRender,_0x10d418,_0x2f475a);}_0x28df78&&(_0x28df78[_0x4487ab(0x11e)](_0xc37b55=>_0xc37b55()),_0x25f44d[_0x4487ab(0x163)]=undefined);_0x1e21e7[_0x4487ab(0xfe)](_0x18401b),_0x1d0366();{const _0x546a21=_0x25f44d[_0x1e21e7['ynSVw']],_0x3f48c4=()=>postUpdateComponent(_0x10d418);_0x546a21[_0x4487ab(0x171)]===0x0?_0x1e21e7[_0x4487ab(0xc2)](_0x3f48c4):(Promise[_0x4487ab(0x1bb)](_0x546a21)[_0x4487ab(0x1a7)](_0x3f48c4),_0x10d418['$flags$']|=0x4,_0x546a21[_0x4487ab(0x171)]=0x0);}},callRender=(_0x492595,_0x526ac0,_0x1c6f56)=>{const _0x15cd28=_0x243637,_0xdaca5d={'cHDuy':function(_0x25cba7,_0x5cd53a,_0x34730c){return _0x25cba7(_0x5cd53a,_0x34730c);}};try{_0x526ac0=_0x526ac0[_0x15cd28(0x190)]();{_0x492595[_0x15cd28(0x11a)]&=~0x10;}{_0x492595[_0x15cd28(0x11a)]|=0x2;}{{{_0xdaca5d[_0x15cd28(0x1da)](renderVdom,_0x492595,_0x526ac0);}}}}catch(_0x3e80bc){_0xdaca5d[_0x15cd28(0x1da)](consoleError,_0x3e80bc,_0x492595[_0x15cd28(0x12b)]);}return null;},postUpdateComponent=_0x4f9155=>{const _0x466279=_0x243637,_0x48cc53={'LNAcv':function(_0x322e9c,_0x39090a,_0x4fc7b2){return _0x322e9c(_0x39090a,_0x4fc7b2);},'Acnzr':_0x466279(0xf9),'bBZXP':function(_0x28c974,_0x43f5ce){return _0x28c974&_0x43f5ce;},'HoeEd':_0x466279(0xe1),'hHIdF':function(_0x53aeff){return _0x53aeff();},'zigeb':function(_0x4be89e){return _0x4be89e();},'XkVBc':function(_0x1f9676,_0x2dedbc){return _0x1f9676(_0x2dedbc);},'ifHGG':function(_0x53db73,_0x15251b){return _0x53db73|_0x15251b;}},_0x17539d=_0x4f9155['$cmpMeta$']['$tagName$'],_0x20ead0=_0x4f9155[_0x466279(0x12b)],_0x5640d9=_0x48cc53[_0x466279(0x146)](createTime,_0x48cc53[_0x466279(0x126)],_0x17539d),_0x4c1937=_0x4f9155[_0x466279(0x1db)],_0x538d76=_0x4f9155[_0x466279(0xdd)];if(!_0x48cc53['bBZXP'](_0x4f9155['$flags$'],0x40)){const _0x18bc56=_0x48cc53['HoeEd'][_0x466279(0x132)]('|');let _0x59dce6=0x0;while(!![]){switch(_0x18bc56[_0x59dce6++]){case'0':_0x48cc53[_0x466279(0xdc)](_0x5640d9);continue;case'1':{safeCall(_0x4c1937,'componentDidLoad');}continue;case'2':_0x4f9155[_0x466279(0x11a)]|=0x40;continue;case'3':{_0x4f9155['$onReadyResolve$'](_0x20ead0),!_0x538d76&&_0x48cc53[_0x466279(0xf8)](appDidLoad);}continue;case'4':{_0x48cc53[_0x466279(0xb7)](addHydratedFlag,_0x20ead0);}continue;}break;}}else _0x48cc53[_0x466279(0xdc)](_0x5640d9);{_0x4f9155[_0x466279(0x1b4)]&&(_0x4f9155['$onRenderResolve$'](),_0x4f9155[_0x466279(0x1b4)]=undefined),_0x4f9155[_0x466279(0x11a)]&0x200&&_0x48cc53[_0x466279(0xb7)](nextTick,()=>scheduleUpdate(_0x4f9155,![])),_0x4f9155[_0x466279(0x11a)]&=~_0x48cc53[_0x466279(0x189)](0x4,0x200);}},appDidLoad=_0x1f330d=>{const _0x589007=_0x243637,_0x37ab92={'gsiLY':function(_0x122a61,_0x557b32){return _0x122a61(_0x557b32);}};{addHydratedFlag(doc['documentElement']);}_0x37ab92[_0x589007(0x14e)](nextTick,()=>emitEvent(win,'appload',{'detail':{'namespace':NAMESPACE}}));},safeCall=(_0x8e7016,_0x433366,_0x2eabc0)=>{const _0x5ac76a=_0x243637,_0x4f924a={'pWYqc':function(_0x2e9293,_0x655d43){return _0x2e9293(_0x655d43);}};if(_0x8e7016&&_0x8e7016[_0x433366])try{return _0x8e7016[_0x433366](_0x2eabc0);}catch(_0x1d59e9){_0x4f924a[_0x5ac76a(0x130)](consoleError,_0x1d59e9);}return undefined;},then=(_0x1ed2e8,_0x2efa94)=>{const _0x15c172=_0x243637,_0x3d6080={'QOvkz':function(_0x51425e){return _0x51425e();}};return _0x1ed2e8&&_0x1ed2e8[_0x15c172(0x1a7)]?_0x1ed2e8['then'](_0x2efa94):_0x3d6080[_0x15c172(0x115)](_0x2efa94);},addHydratedFlag=_0x319922=>_0x319922['classList'][_0x243637(0x10e)](_0x243637(0x1d7)),getValue=(_0x5437be,_0x1ab94e)=>getHostRef(_0x5437be)[_0x243637(0xdb)][_0x243637(0x12f)](_0x1ab94e),setValue=(_0x1ea277,_0x5c4a2f,_0x736c0f,_0x1b229f)=>{const _0x10aa61=_0x243637,_0x31ee47={'RWpYX':function(_0xdab498,_0x1b2213){return _0xdab498(_0x1b2213);},'axJlF':function(_0x19a918,_0x171bf3,_0x1dcf08){return _0x19a918(_0x171bf3,_0x1dcf08);},'bKdQz':function(_0x2a2bfc,_0x23ad34){return _0x2a2bfc!==_0x23ad34;},'vVsqX':function(_0x5192ad,_0x40db4c){return _0x5192ad&_0x40db4c;},'hbSXm':function(_0x9e1d7d,_0x67d7ed){return _0x9e1d7d===_0x67d7ed;},'aRtQM':function(_0x164780,_0x4fe380){return _0x164780===_0x4fe380;},'wCLBw':function(_0x2788d3,_0x172872){return _0x2788d3|_0x172872;}},_0x20b8c8=_0x31ee47[_0x10aa61(0x152)](getHostRef,_0x1ea277),_0x3805b5=_0x20b8c8['$instanceValues$'][_0x10aa61(0x12f)](_0x5c4a2f),_0x5e0c8a=_0x20b8c8['$flags$'],_0x292b32=_0x20b8c8[_0x10aa61(0x1db)];_0x736c0f=_0x31ee47[_0x10aa61(0x179)](parsePropertyValue,_0x736c0f,_0x1b229f['$members$'][_0x5c4a2f][0x0]);const _0x1d5b32=Number[_0x10aa61(0xf4)](_0x3805b5)&&Number['isNaN'](_0x736c0f),_0x2fce10=_0x31ee47[_0x10aa61(0xde)](_0x736c0f,_0x3805b5)&&!_0x1d5b32;(!_0x31ee47[_0x10aa61(0x1bc)](_0x5e0c8a,0x8)||_0x31ee47[_0x10aa61(0x1de)](_0x3805b5,undefined))&&_0x2fce10&&(_0x20b8c8[_0x10aa61(0xdb)]['set'](_0x5c4a2f,_0x736c0f),_0x292b32&&(_0x31ee47[_0x10aa61(0x16f)](_0x31ee47[_0x10aa61(0x1bc)](_0x5e0c8a,_0x31ee47[_0x10aa61(0x102)](0x2,0x10)),0x2)&&_0x31ee47['axJlF'](scheduleUpdate,_0x20b8c8,![])));},proxyComponent=(_0x39801e,_0x3d5b28,_0x5afcbc)=>{const _0x278493=_0x243637,_0x4e748b={'FGZBf':function(_0x13cd6d,_0xe21854,_0x30bbcd,_0x4841d4,_0x4e0fd9){return _0x13cd6d(_0xe21854,_0x30bbcd,_0x4841d4,_0x4e0fd9);},'KSfhA':function(_0xedb940,_0x5210ca){return _0xedb940&_0x5210ca;},'JsRDC':function(_0x5754a9,_0x3e016d){return _0x5754a9&_0x3e016d;},'Tcmty':function(_0x49b425,_0x132472){return _0x49b425===_0x132472;},'KLQWF':'number'};if(_0x3d5b28[_0x278493(0x12a)]){const _0x2351bb=Object[_0x278493(0xbe)](_0x3d5b28[_0x278493(0x12a)]),_0x237fa1=_0x39801e['prototype'];_0x2351bb[_0x278493(0x11e)](([_0x51d429,[_0x3ecbd5]])=>{const _0x850788=_0x278493,_0x3ee71b={'vzgjy':function(_0x412dbf,_0x53d92b,_0x61e4da,_0x4cda92,_0x57341e){const _0x5a33f2=_0x55fc;return _0x4e748b[_0x5a33f2(0xef)](_0x412dbf,_0x53d92b,_0x61e4da,_0x4cda92,_0x57341e);}};(_0x3ecbd5&0x1f||_0x4e748b[_0x850788(0x158)](_0x5afcbc,0x2)&&_0x4e748b[_0x850788(0x16e)](_0x3ecbd5,0x20))&&Object[_0x850788(0x1c9)](_0x237fa1,_0x51d429,{'get'(){return getValue(this,_0x51d429);},'set'(_0x5447f0){const _0x1732e2=_0x850788;_0x3ee71b[_0x1732e2(0xce)](setValue,this,_0x51d429,_0x5447f0,_0x3d5b28);},'configurable':!![],'enumerable':!![]});});if(_0x4e748b['JsRDC'](_0x5afcbc,0x1)){const _0x41eb91=new Map();_0x237fa1['attributeChangedCallback']=function(_0x1f55e8,_0x479eb1,_0xed7bac){const _0x4f0bc9=_0x278493,_0x222420={'JVmUu':function(_0x22f5c3,_0x2a5549){const _0x204b02=_0x55fc;return _0x4e748b[_0x204b02(0x11c)](_0x22f5c3,_0x2a5549);},'FGTUJ':_0x4e748b[_0x4f0bc9(0x113)],'bNSHT':function(_0x109efe,_0x586623){return _0x109efe==_0x586623;}};plt['jmp'](()=>{const _0x1838ea=_0x4f0bc9,_0x1afb89=_0x41eb91[_0x1838ea(0x12f)](_0x1f55e8);if(this['hasOwnProperty'](_0x1afb89))_0xed7bac=this[_0x1afb89],delete this[_0x1afb89];else{if(_0x237fa1[_0x1838ea(0x197)](_0x1afb89)&&_0x222420[_0x1838ea(0x1ac)](typeof this[_0x1afb89],_0x222420[_0x1838ea(0x17b)])&&_0x222420[_0x1838ea(0xb9)](this[_0x1afb89],_0xed7bac))return;}this[_0x1afb89]=_0x222420[_0x1838ea(0x1ac)](_0xed7bac,null)&&_0x222420['JVmUu'](typeof this[_0x1afb89],'boolean')?![]:_0xed7bac;});},_0x39801e[_0x278493(0x186)]=_0x2351bb[_0x278493(0x15e)](([_0x56d07d,_0x146bf7])=>_0x146bf7[0x0]&0xf)[_0x278493(0x11e)](([_0x2adc1a,_0x4c333c])=>{const _0x106431=_0x278493,_0x21fba4=_0x4c333c[0x1]||_0x2adc1a;return _0x41eb91[_0x106431(0xe8)](_0x21fba4,_0x2adc1a),_0x4e748b[_0x106431(0x16e)](_0x4c333c[0x0],0x200)&&_0x3d5b28['$attrsToReflect$'][_0x106431(0x1a6)]([_0x2adc1a,_0x21fba4]),_0x21fba4;});}}return _0x39801e;},initializeComponent=async(_0x514961,_0x3a7c22,_0x154de0,_0x33c74e,_0x5729db)=>{const _0x55a520=_0x243637,_0x51220c={'ZdQqK':function(_0x2d0f62,_0x46afa9){return _0x2d0f62===_0x46afa9;},'hrlYG':function(_0xc5c9dc,_0x26fbee){return _0xc5c9dc&_0x26fbee;},'mIxrj':function(_0x3f6e8c,_0x531778){return _0x3f6e8c(_0x531778);},'pYBWT':function(_0x34530f){return _0x34530f();},'OfJUp':function(_0x3c735d,_0x18c4bc,_0x144e16,_0x2a046d){return _0x3c735d(_0x18c4bc,_0x144e16,_0x2a046d);},'poPGX':_0x55a520(0x1c5),'vaGzI':function(_0x355e10){return _0x355e10();},'QUxrE':function(_0x5b543b,_0x503925,_0x300502){return _0x5b543b(_0x503925,_0x300502);},'qYzPw':_0x55a520(0xbd),'dpgUo':function(_0x4c0c74,_0x233c0e){return _0x4c0c74&_0x233c0e;},'BHyaN':_0x55a520(0x163)};if(_0x51220c[_0x55a520(0x176)](_0x51220c[_0x55a520(0xcf)](_0x3a7c22[_0x55a520(0x11a)],0x20),0x0)){{_0x3a7c22[_0x55a520(0x11a)]|=0x20,_0x5729db=_0x51220c[_0x55a520(0x128)](loadModule,_0x154de0);if(_0x5729db[_0x55a520(0x1a7)]){const _0x4e165a=uniqueTime();_0x5729db=await _0x5729db,_0x51220c[_0x55a520(0xc0)](_0x4e165a);}!_0x5729db[_0x55a520(0xf7)]&&(_0x51220c['OfJUp'](proxyComponent,_0x5729db,_0x154de0,0x2),_0x5729db['isProxied']=!![]);const _0x478e2b=createTime(_0x51220c[_0x55a520(0xc9)],_0x154de0[_0x55a520(0xfc)]);{_0x3a7c22[_0x55a520(0x11a)]|=0x8;}try{new _0x5729db(_0x3a7c22);}catch(_0x11e3f1){_0x51220c['mIxrj'](consoleError,_0x11e3f1);}{_0x3a7c22[_0x55a520(0x11a)]&=~0x8;}_0x51220c['vaGzI'](_0x478e2b),_0x51220c[_0x55a520(0x128)](fireConnectedCallback,_0x3a7c22[_0x55a520(0x1db)]);}if(_0x5729db[_0x55a520(0x178)]){let _0x508538=_0x5729db['style'];const _0x52edcb=_0x51220c[_0x55a520(0x128)](getScopeId,_0x154de0);if(!styles[_0x55a520(0x184)](_0x52edcb)){const _0x5159f3=_0x51220c[_0x55a520(0x180)](createTime,_0x51220c[_0x55a520(0x1d5)],_0x154de0[_0x55a520(0xfc)]);registerStyle(_0x52edcb,_0x508538,!!_0x51220c[_0x55a520(0x1a8)](_0x154de0['$flags$'],0x1)),_0x5159f3();}}}const _0x462d36=_0x3a7c22[_0x55a520(0xdd)],_0x33cb15=()=>scheduleUpdate(_0x3a7c22,!![]);_0x462d36&&_0x462d36[_0x51220c[_0x55a520(0x12c)]]?_0x462d36[_0x55a520(0x163)][_0x55a520(0x1a6)](_0x33cb15):_0x33cb15();},fireConnectedCallback=_0x20af74=>{const _0x452541=_0x243637,_0x3e5488={'LlGph':_0x452541(0x193)};{safeCall(_0x20af74,_0x3e5488[_0x452541(0x1d1)]);}},connectedCallback=_0x35dc22=>{const _0x75e266=_0x243637,_0x480707={'Rrghb':function(_0x14694c,_0x1b3667){return _0x14694c&_0x1b3667;},'pOthe':function(_0x29f023,_0x3f0fc9){return _0x29f023===_0x3f0fc9;},'JIjgE':function(_0x46aef4,_0x551fb6){return _0x46aef4(_0x551fb6);},'yVEuZ':function(_0x181012,_0x276ce1,_0x4e364){return _0x181012(_0x276ce1,_0x4e364);},'LGggO':_0x75e266(0x191),'EYEJw':function(_0x3b9076,_0x3223be,_0x3f3b6c){return _0x3b9076(_0x3223be,_0x3f3b6c);},'cKURe':function(_0x322714,_0x1a874f,_0x15f987,_0x44dfab){return _0x322714(_0x1a874f,_0x15f987,_0x44dfab);},'OHipE':function(_0x1a0c8c){return _0x1a0c8c();}};if(_0x480707[_0x75e266(0x169)](plt[_0x75e266(0x11a)]&0x1,0x0)){const _0x225f20=_0x480707[_0x75e266(0x1b1)](getHostRef,_0x35dc22),_0x21d76b=_0x225f20['$cmpMeta$'],_0x24d4ab=_0x480707[_0x75e266(0x18b)](createTime,_0x75e266(0x193),_0x21d76b[_0x75e266(0xfc)]);if(!(_0x225f20[_0x75e266(0x11a)]&0x1)){_0x225f20[_0x75e266(0x11a)]|=0x1;{let _0x463f6f=_0x35dc22;while(_0x463f6f=_0x463f6f['parentNode']||_0x463f6f[_0x75e266(0x149)]){if(_0x463f6f[_0x480707[_0x75e266(0x12e)]]){_0x480707[_0x75e266(0xbf)](attachToAncestor,_0x225f20,_0x225f20[_0x75e266(0xdd)]=_0x463f6f);break;}}}_0x21d76b['$members$']&&Object[_0x75e266(0xbe)](_0x21d76b['$members$'])[_0x75e266(0x11e)](([_0x527d36,[_0x3e41f8]])=>{const _0x550658=_0x75e266;if(_0x480707['Rrghb'](_0x3e41f8,0x1f)&&_0x35dc22[_0x550658(0x197)](_0x527d36)){const _0x3ddab2=_0x35dc22[_0x527d36];delete _0x35dc22[_0x527d36],_0x35dc22[_0x527d36]=_0x3ddab2;}});{_0x480707['cKURe'](initializeComponent,_0x35dc22,_0x225f20,_0x21d76b);}}else fireConnectedCallback(_0x225f20[_0x75e266(0x1db)]);_0x480707[_0x75e266(0xfa)](_0x24d4ab);}},disconnectedCallback=_0x32c270=>{const _0x555f49=_0x243637,_0xbf1d72={'KaBlX':function(_0x6c0639,_0x18d197){return _0x6c0639===_0x18d197;},'YTjAg':function(_0x217db5,_0x5d86e2){return _0x217db5&_0x5d86e2;},'dxKoW':function(_0x241018,_0x101544){return _0x241018(_0x101544);},'eAazU':function(_0x5a0145,_0x45c14a,_0x14fa4d){return _0x5a0145(_0x45c14a,_0x14fa4d);},'fESpI':_0x555f49(0x1b8)};if(_0xbf1d72[_0x555f49(0x1c4)](_0xbf1d72['YTjAg'](plt[_0x555f49(0x11a)],0x1),0x0)){const _0x289c84=_0xbf1d72[_0x555f49(0xe0)](getHostRef,_0x32c270),_0x5759d3=_0x289c84[_0x555f49(0x1db)];{_0xbf1d72[_0x555f49(0x183)](safeCall,_0x5759d3,_0xbf1d72['fESpI']);}}},bootstrapLazy=(_0x28c898,_0x55ece9={})=>{const _0x59895e=_0x243637,_0x391dca={'MjRKL':function(_0x4dd1a5,_0x2d7441,_0x206838){return _0x4dd1a5(_0x2d7441,_0x206838);},'tsNOd':function(_0x15215f,_0x44abc6){return _0x15215f&_0x44abc6;},'KsVWo':_0x59895e(0x14f),'GMQQV':function(_0xc1150d){return _0xc1150d();},'uBNvc':_0x59895e(0xf3),'SINmp':_0x59895e(0x178),'jkYLj':function(_0x51ebe1,_0x123f67){return _0x51ebe1+_0x123f67;},'TMTkr':_0x59895e(0x168),'Bhvvn':function(_0xa67876,_0x4b8efc){return _0xa67876!==_0x4b8efc;},'ZVeZr':function(_0x39deed,_0x5a5255){return _0x39deed(_0x5a5255);},'BwQus':function(_0x2302c9,_0x32d01f){return _0x2302c9!=_0x32d01f;},'mIcBF':_0x59895e(0x1cd)};var _0x485508;const _0x5806a9=_0x391dca[_0x59895e(0x1d6)](createTime),_0x22f22e=[],_0x1dd150=_0x55ece9[_0x59895e(0x17e)]||[],_0x91a009=win['customElements'],_0x328d46=doc[_0x59895e(0x187)],_0x5a254f=_0x328d46[_0x59895e(0x1aa)](_0x391dca['uBNvc']),_0x3684e3=doc['createElement'](_0x391dca[_0x59895e(0x1b5)]),_0x27ece1=[];let _0x33ce56,_0x4fd5c2=!![];Object[_0x59895e(0x155)](plt,_0x55ece9),plt[_0x59895e(0x1cb)]=new URL(_0x55ece9['resourcesUrl']||'./',doc[_0x59895e(0xff)])[_0x59895e(0x167)],_0x28c898['map'](_0x829187=>{const _0x2205c2=_0x59895e;_0x829187[0x1][_0x2205c2(0x11e)](_0x4b911a=>{const _0x593a55=_0x2205c2,_0x409ae7={'sTFxb':function(_0x1bef76,_0x1ec63e,_0x3ecfdd){const _0x5ac1ac=_0x55fc;return _0x391dca[_0x5ac1ac(0x196)](_0x1bef76,_0x1ec63e,_0x3ecfdd);},'dawtu':function(_0x423db7,_0x2767b5){const _0x465e47=_0x55fc;return _0x391dca[_0x465e47(0x101)](_0x423db7,_0x2767b5);},'ZwMAE':_0x391dca['KsVWo'],'ZhXwU':function(_0x2267de,_0xaf4388){return _0x2267de(_0xaf4388);}},_0x3d1729={'$flags$':_0x4b911a[0x0],'$tagName$':_0x4b911a[0x1],'$members$':_0x4b911a[0x2],'$listeners$':_0x4b911a[0x3]};{_0x3d1729['$members$']=_0x4b911a[0x2];}{_0x3d1729[_0x593a55(0x173)]=[];}const _0xf8f7b9=_0x3d1729[_0x593a55(0xfc)],_0xd56611=class extends HTMLElement{constructor(_0xd3a876){const _0x23218c=_0x593a55;super(_0xd3a876),_0xd3a876=this,_0x409ae7[_0x23218c(0x15f)](registerHost,_0xd3a876,_0x3d1729);if(_0x409ae7[_0x23218c(0x17c)](_0x3d1729['$flags$'],0x1)){{_0xd3a876[_0x23218c(0x11d)]({'mode':_0x409ae7[_0x23218c(0xc3)]});}}}[_0x593a55(0x193)](){const _0x15c911=_0x593a55;_0x33ce56&&(_0x409ae7[_0x15c911(0x112)](clearTimeout,_0x33ce56),_0x33ce56=null),_0x4fd5c2?_0x27ece1[_0x15c911(0x1a6)](this):plt[_0x15c911(0x13a)](()=>connectedCallback(this));}['disconnectedCallback'](){const _0x34a9bc=_0x593a55;plt[_0x34a9bc(0x13a)](()=>disconnectedCallback(this));}[_0x593a55(0x127)](){const _0x5c4d5d=_0x593a55;return getHostRef(this)[_0x5c4d5d(0xf6)];}};_0x3d1729[_0x593a55(0x144)]=_0x829187[0x0],!_0x1dd150['includes'](_0xf8f7b9)&&!_0x91a009[_0x593a55(0x12f)](_0xf8f7b9)&&(_0x22f22e[_0x593a55(0x1a6)](_0xf8f7b9),_0x91a009[_0x593a55(0x1c8)](_0xf8f7b9,proxyComponent(_0xd56611,_0x3d1729,0x1)));});});{_0x3684e3['innerHTML']=_0x391dca[_0x59895e(0x1d0)](_0x22f22e,HYDRATED_CSS),_0x3684e3[_0x59895e(0x19e)](_0x391dca['TMTkr'],'');const _0x425609=_0x391dca[_0x59895e(0x192)](_0x485508=plt[_0x59895e(0x153)],null)&&_0x485508!==void 0x0?_0x485508:_0x391dca['ZVeZr'](queryNonceMetaTagContent,doc);_0x391dca['BwQus'](_0x425609,null)&&_0x3684e3[_0x59895e(0x19e)](_0x391dca['mIcBF'],_0x425609),_0x328d46[_0x59895e(0xd3)](_0x3684e3,_0x5a254f?_0x5a254f[_0x59895e(0x148)]:_0x328d46[_0x59895e(0x14a)]);}_0x4fd5c2=![];if(_0x27ece1[_0x59895e(0x171)])_0x27ece1[_0x59895e(0x11e)](_0x4c0682=>_0x4c0682['connectedCallback']());else{plt[_0x59895e(0x13a)](()=>_0x33ce56=setTimeout(appDidLoad,0x1e));}_0x391dca[_0x59895e(0x1d6)](_0x5806a9);},setNonce=_0x18359b=>plt['$nonce$']=_0x18359b,hostRefs=new WeakMap(),getHostRef=_0xc23e26=>hostRefs[_0x243637(0x12f)](_0xc23e26),registerInstance=(_0x2d9a0a,_0x26127d)=>hostRefs['set'](_0x26127d[_0x243637(0x1db)]=_0x2d9a0a,_0x26127d),registerHost=(_0xfc16d5,_0x246e60)=>{const _0x4a5490=_0x243637,_0x21a090={'irTwK':_0x4a5490(0x191),'LrPYw':'s-rc'},_0x1962e8={'$flags$':0x0,'$hostElement$':_0xfc16d5,'$cmpMeta$':_0x246e60,'$instanceValues$':new Map()};{_0x1962e8[_0x4a5490(0xf6)]=new Promise(_0x5c61a6=>_0x1962e8[_0x4a5490(0x108)]=_0x5c61a6),_0xfc16d5[_0x21a090[_0x4a5490(0x111)]]=[],_0xfc16d5[_0x21a090[_0x4a5490(0x17f)]]=[];}return hostRefs[_0x4a5490(0xe8)](_0xfc16d5,_0x1962e8);},isMemberInElement=(_0x5bc33c,_0x1798d2)=>_0x1798d2 in _0x5bc33c,consoleError=(_0xdf95cc,_0x39f47b)=>(0x0,console['error'])(_0xdf95cc,_0x39f47b),cmpModules=new Map(),loadModule=(_0x4fdcd7,_0x4956b1,_0xad75aa)=>{const _0x2ce890=_0x243637,_0x2b2358=_0x4fdcd7['$tagName$'][_0x2ce890(0x1ae)](/-/g,'_'),_0x332f49=_0x4fdcd7[_0x2ce890(0x144)],_0x5b292d=cmpModules['get'](_0x332f49);if(_0x5b292d)return _0x5b292d[_0x2b2358];return Promise[_0x2ce890(0x14b)]()['then'](function(){const _0x2254f1=_0x2ce890;return _interopNamespace(require('./'+_0x332f49+_0x2254f1(0x1a9)));})[_0x2ce890(0x1a7)](_0x2c0e89=>{{cmpModules['set'](_0x332f49,_0x2c0e89);}return _0x2c0e89[_0x2b2358];},consoleError);},styles=new Map(),win=typeof window!==_0x243637(0xdf)?window:{},doc=win[_0x243637(0xd0)]||{'head':{}},plt={'$flags$':0x0,'$resourcesUrl$':'','jmp':_0x3babb2=>_0x3babb2(),'raf':_0x6e37e5=>requestAnimationFrame(_0x6e37e5),'ael':(_0x87299,_0x271d6b,_0xb334e9,_0x479b07)=>_0x87299[_0x243637(0x104)](_0x271d6b,_0xb334e9,_0x479b07),'rel':(_0x47ff65,_0x1d83a7,_0x940bdf,_0x322423)=>_0x47ff65[_0x243637(0x17d)](_0x1d83a7,_0x940bdf,_0x322423),'ce':(_0x17e872,_0x207b4c)=>new CustomEvent(_0x17e872,_0x207b4c)},promiseResolve=_0x1e97b8=>Promise['resolve'](_0x1e97b8),supportsConstructableStylesheets=((()=>{const _0xafbc3c=_0x243637,_0x48d217={'uJhYq':function(_0x256cac,_0x421e4b){return _0x256cac===_0x421e4b;},'vTiUP':_0xafbc3c(0xcc)};try{return new CSSStyleSheet(),_0x48d217[_0xafbc3c(0x182)](typeof new CSSStyleSheet()[_0xafbc3c(0x1ca)],_0x48d217[_0xafbc3c(0xec)]);}catch(_0x28b15c){}return![];})()),queueDomReads=[],queueDomWrites=[],queueTask=(_0x2d9f7f,_0x31d3e8)=>_0x180151=>{const _0x10904a=_0x243637,_0x58cc65={'FpCiN':function(_0x2b37b0,_0x278119){return _0x2b37b0&_0x278119;},'LKggu':function(_0x23043e,_0xaf6635){return _0x23043e(_0xaf6635);}};_0x2d9f7f[_0x10904a(0x1a6)](_0x180151),!queuePending&&(queuePending=!![],_0x31d3e8&&_0x58cc65[_0x10904a(0x10c)](plt['$flags$'],0x4)?_0x58cc65[_0x10904a(0xc7)](nextTick,flush):plt[_0x10904a(0x18d)](flush));},consume=_0x8411ff=>{const _0x4afd13=_0x243637;for(let _0x17d36e=0x0;_0x17d36e<_0x8411ff[_0x4afd13(0x171)];_0x17d36e++){try{_0x8411ff[_0x17d36e](performance[_0x4afd13(0x10d)]());}catch(_0x154328){consoleError(_0x154328);}}_0x8411ff[_0x4afd13(0x171)]=0x0;},flush=()=>{const _0x4a78e5=_0x243637,_0x188eb9={'LXdaN':function(_0x3a732d,_0xf1f939){return _0x3a732d(_0xf1f939);}};_0x188eb9['LXdaN'](consume,queueDomReads);{consume(queueDomWrites),(queuePending=queueDomReads[_0x4a78e5(0x171)]>0x0)&&plt['raf'](flush);}},nextTick=_0x2f09a5=>promiseResolve()[_0x243637(0x1a7)](_0x2f09a5),writeTask=queueTask(queueDomWrites,!![]);exports[_0x243637(0x177)]=Host,exports[_0x243637(0x13c)]=bootstrapLazy,exports[_0x243637(0x13e)]=getElement,exports['h']=h,exports[_0x243637(0xe2)]=promiseResolve,exports[_0x243637(0xed)]=registerInstance,exports[_0x243637(0x175)]=setNonce;
1
+ 'use strict';
2
+
3
+ function _interopNamespace(e) {
4
+ if (e && e.__esModule) return e;
5
+ var n = Object.create(null);
6
+ if (e) {
7
+ Object.keys(e).forEach(function (k) {
8
+ if (k !== 'default') {
9
+ var d = Object.getOwnPropertyDescriptor(e, k);
10
+ Object.defineProperty(n, k, d.get ? d : {
11
+ enumerable: true,
12
+ get: function () {
13
+ return e[k];
14
+ }
15
+ });
16
+ }
17
+ });
18
+ }
19
+ n['default'] = e;
20
+ return Object.freeze(n);
21
+ }
22
+
23
+ const NAMESPACE = 'pushfeedback';
24
+
25
+ /**
26
+ * Virtual DOM patching algorithm based on Snabbdom by
27
+ * Simon Friis Vindum (@paldepind)
28
+ * Licensed under the MIT License
29
+ * https://github.com/snabbdom/snabbdom/blob/master/LICENSE
30
+ *
31
+ * Modified for Stencil's renderer and slot projection
32
+ */
33
+ let scopeId;
34
+ let hostTagName;
35
+ let isSvgMode = false;
36
+ let queuePending = false;
37
+ const createTime = (fnName, tagName = '') => {
38
+ {
39
+ return () => {
40
+ return;
41
+ };
42
+ }
43
+ };
44
+ const uniqueTime = (key, measureText) => {
45
+ {
46
+ return () => {
47
+ return;
48
+ };
49
+ }
50
+ };
51
+ const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
52
+ /**
53
+ * Default style mode id
54
+ */
55
+ /**
56
+ * Reusable empty obj/array
57
+ * Don't add values to these!!
58
+ */
59
+ const EMPTY_OBJ = {};
60
+ /**
61
+ * Namespaces
62
+ */
63
+ const SVG_NS = 'http://www.w3.org/2000/svg';
64
+ const HTML_NS = 'http://www.w3.org/1999/xhtml';
65
+ const isDef = (v) => v != null;
66
+ const isComplexType = (o) => {
67
+ // https://jsperf.com/typeof-fn-object/5
68
+ o = typeof o;
69
+ return o === 'object' || o === 'function';
70
+ };
71
+ /**
72
+ * Helper method for querying a `meta` tag that contains a nonce value
73
+ * out of a DOM's head.
74
+ *
75
+ * @param doc The DOM containing the `head` to query against
76
+ * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag
77
+ * exists or the tag has no content.
78
+ */
79
+ function queryNonceMetaTagContent(doc) {
80
+ var _a, _b, _c;
81
+ 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;
82
+ }
83
+ /**
84
+ * Production h() function based on Preact by
85
+ * Jason Miller (@developit)
86
+ * Licensed under the MIT License
87
+ * https://github.com/developit/preact/blob/master/LICENSE
88
+ *
89
+ * Modified for Stencil's compiler and vdom
90
+ */
91
+ // export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, child?: d.ChildType): d.VNode;
92
+ // export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, ...children: d.ChildType[]): d.VNode;
93
+ const h = (nodeName, vnodeData, ...children) => {
94
+ let child = null;
95
+ let simple = false;
96
+ let lastSimple = false;
97
+ const vNodeChildren = [];
98
+ const walk = (c) => {
99
+ for (let i = 0; i < c.length; i++) {
100
+ child = c[i];
101
+ if (Array.isArray(child)) {
102
+ walk(child);
103
+ }
104
+ else if (child != null && typeof child !== 'boolean') {
105
+ if ((simple = typeof nodeName !== 'function' && !isComplexType(child))) {
106
+ child = String(child);
107
+ }
108
+ if (simple && lastSimple) {
109
+ // If the previous child was simple (string), we merge both
110
+ vNodeChildren[vNodeChildren.length - 1].$text$ += child;
111
+ }
112
+ else {
113
+ // Append a new vNode, if it's text, we create a text vNode
114
+ vNodeChildren.push(simple ? newVNode(null, child) : child);
115
+ }
116
+ lastSimple = simple;
117
+ }
118
+ }
119
+ };
120
+ walk(children);
121
+ if (vnodeData) {
122
+ {
123
+ const classData = vnodeData.className || vnodeData.class;
124
+ if (classData) {
125
+ vnodeData.class =
126
+ typeof classData !== 'object'
127
+ ? classData
128
+ : Object.keys(classData)
129
+ .filter((k) => classData[k])
130
+ .join(' ');
131
+ }
132
+ }
133
+ }
134
+ const vnode = newVNode(nodeName, null);
135
+ vnode.$attrs$ = vnodeData;
136
+ if (vNodeChildren.length > 0) {
137
+ vnode.$children$ = vNodeChildren;
138
+ }
139
+ return vnode;
140
+ };
141
+ /**
142
+ * A utility function for creating a virtual DOM node from a tag and some
143
+ * possible text content.
144
+ *
145
+ * @param tag the tag for this element
146
+ * @param text possible text content for the node
147
+ * @returns a newly-minted virtual DOM node
148
+ */
149
+ const newVNode = (tag, text) => {
150
+ const vnode = {
151
+ $flags$: 0,
152
+ $tag$: tag,
153
+ $text$: text,
154
+ $elm$: null,
155
+ $children$: null,
156
+ };
157
+ {
158
+ vnode.$attrs$ = null;
159
+ }
160
+ return vnode;
161
+ };
162
+ const Host = {};
163
+ /**
164
+ * Check whether a given node is a Host node or not
165
+ *
166
+ * @param node the virtual DOM node to check
167
+ * @returns whether it's a Host node or not
168
+ */
169
+ const isHost = (node) => node && node.$tag$ === Host;
170
+ /**
171
+ * Parse a new property value for a given property type.
172
+ *
173
+ * While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
174
+ * it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
175
+ * 1. `any`, the type given to `propValue` in the function signature
176
+ * 2. the type stored from `propType`.
177
+ *
178
+ * This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
179
+ *
180
+ * Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
181
+ * a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
182
+ * based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
183
+ * ```tsx
184
+ * <my-cmp prop-val={0}></my-cmp>
185
+ * ```
186
+ *
187
+ * HTML prop values on the other hand, will always a string
188
+ *
189
+ * @param propValue the new value to coerce to some type
190
+ * @param propType the type of the prop, expressed as a binary number
191
+ * @returns the parsed/coerced value
192
+ */
193
+ const parsePropertyValue = (propValue, propType) => {
194
+ // ensure this value is of the correct prop type
195
+ if (propValue != null && !isComplexType(propValue)) {
196
+ if (propType & 4 /* MEMBER_FLAGS.Boolean */) {
197
+ // per the HTML spec, any string value means it is a boolean true value
198
+ // but we'll cheat here and say that the string "false" is the boolean false
199
+ return propValue === 'false' ? false : propValue === '' || !!propValue;
200
+ }
201
+ if (propType & 1 /* MEMBER_FLAGS.String */) {
202
+ // could have been passed as a number or boolean
203
+ // but we still want it as a string
204
+ return String(propValue);
205
+ }
206
+ // redundant return here for better minification
207
+ return propValue;
208
+ }
209
+ // not sure exactly what type we want
210
+ // so no need to change to a different type
211
+ return propValue;
212
+ };
213
+ const getElement = (ref) => (getHostRef(ref).$hostElement$ );
214
+ /**
215
+ * Helper function to create & dispatch a custom Event on a provided target
216
+ * @param elm the target of the Event
217
+ * @param name the name to give the custom Event
218
+ * @param opts options for configuring a custom Event
219
+ * @returns the custom Event
220
+ */
221
+ const emitEvent = (elm, name, opts) => {
222
+ const ev = plt.ce(name, opts);
223
+ elm.dispatchEvent(ev);
224
+ return ev;
225
+ };
226
+ const rootAppliedStyles = /*@__PURE__*/ new WeakMap();
227
+ const registerStyle = (scopeId, cssText, allowCS) => {
228
+ let style = styles.get(scopeId);
229
+ if (supportsConstructableStylesheets && allowCS) {
230
+ style = (style || new CSSStyleSheet());
231
+ if (typeof style === 'string') {
232
+ style = cssText;
233
+ }
234
+ else {
235
+ style.replaceSync(cssText);
236
+ }
237
+ }
238
+ else {
239
+ style = cssText;
240
+ }
241
+ styles.set(scopeId, style);
242
+ };
243
+ const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
244
+ var _a;
245
+ let scopeId = getScopeId(cmpMeta);
246
+ const style = styles.get(scopeId);
247
+ // if an element is NOT connected then getRootNode() will return the wrong root node
248
+ // so the fallback is to always use the document for the root node in those cases
249
+ styleContainerNode = styleContainerNode.nodeType === 11 /* NODE_TYPE.DocumentFragment */ ? styleContainerNode : doc;
250
+ if (style) {
251
+ if (typeof style === 'string') {
252
+ styleContainerNode = styleContainerNode.head || styleContainerNode;
253
+ let appliedStyles = rootAppliedStyles.get(styleContainerNode);
254
+ let styleElm;
255
+ if (!appliedStyles) {
256
+ rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
257
+ }
258
+ if (!appliedStyles.has(scopeId)) {
259
+ {
260
+ {
261
+ styleElm = doc.createElement('style');
262
+ styleElm.innerHTML = style;
263
+ }
264
+ // Apply CSP nonce to the style tag if it exists
265
+ const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
266
+ if (nonce != null) {
267
+ styleElm.setAttribute('nonce', nonce);
268
+ }
269
+ styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
270
+ }
271
+ if (appliedStyles) {
272
+ appliedStyles.add(scopeId);
273
+ }
274
+ }
275
+ }
276
+ else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
277
+ styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
278
+ }
279
+ }
280
+ return scopeId;
281
+ };
282
+ const attachStyles = (hostRef) => {
283
+ const cmpMeta = hostRef.$cmpMeta$;
284
+ const elm = hostRef.$hostElement$;
285
+ const flags = cmpMeta.$flags$;
286
+ const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
287
+ const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
288
+ if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
289
+ // only required when we're NOT using native shadow dom (slot)
290
+ // or this browser doesn't support native shadow dom
291
+ // and this host element was NOT created with SSR
292
+ // let's pick out the inner content for slot projection
293
+ // create a node to represent where the original
294
+ // content was first placed, which is useful later on
295
+ // DOM WRITE!!
296
+ elm['s-sc'] = scopeId;
297
+ elm.classList.add(scopeId + '-h');
298
+ }
299
+ endAttachStyles();
300
+ };
301
+ const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
302
+ /**
303
+ * Production setAccessor() function based on Preact by
304
+ * Jason Miller (@developit)
305
+ * Licensed under the MIT License
306
+ * https://github.com/developit/preact/blob/master/LICENSE
307
+ *
308
+ * Modified for Stencil's compiler and vdom
309
+ */
310
+ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
311
+ if (oldValue !== newValue) {
312
+ let isProp = isMemberInElement(elm, memberName);
313
+ let ln = memberName.toLowerCase();
314
+ if (memberName === 'class') {
315
+ const classList = elm.classList;
316
+ const oldClasses = parseClassList(oldValue);
317
+ const newClasses = parseClassList(newValue);
318
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
319
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
320
+ }
321
+ else if (memberName === 'ref') {
322
+ // minifier will clean this up
323
+ if (newValue) {
324
+ newValue(elm);
325
+ }
326
+ }
327
+ else if ((!isProp ) &&
328
+ memberName[0] === 'o' &&
329
+ memberName[1] === 'n') {
330
+ // Event Handlers
331
+ // so if the member name starts with "on" and the 3rd characters is
332
+ // a capital letter, and it's not already a member on the element,
333
+ // then we're assuming it's an event listener
334
+ if (memberName[2] === '-') {
335
+ // on- prefixed events
336
+ // allows to be explicit about the dom event to listen without any magic
337
+ // under the hood:
338
+ // <my-cmp on-click> // listens for "click"
339
+ // <my-cmp on-Click> // listens for "Click"
340
+ // <my-cmp on-ionChange> // listens for "ionChange"
341
+ // <my-cmp on-EVENTS> // listens for "EVENTS"
342
+ memberName = memberName.slice(3);
343
+ }
344
+ else if (isMemberInElement(win, ln)) {
345
+ // standard event
346
+ // the JSX attribute could have been "onMouseOver" and the
347
+ // member name "onmouseover" is on the window's prototype
348
+ // so let's add the listener "mouseover", which is all lowercased
349
+ memberName = ln.slice(2);
350
+ }
351
+ else {
352
+ // custom event
353
+ // the JSX attribute could have been "onMyCustomEvent"
354
+ // so let's trim off the "on" prefix and lowercase the first character
355
+ // and add the listener "myCustomEvent"
356
+ // except for the first character, we keep the event name case
357
+ memberName = ln[2] + memberName.slice(3);
358
+ }
359
+ if (oldValue) {
360
+ plt.rel(elm, memberName, oldValue, false);
361
+ }
362
+ if (newValue) {
363
+ plt.ael(elm, memberName, newValue, false);
364
+ }
365
+ }
366
+ else {
367
+ // Set property if it exists and it's not a SVG
368
+ const isComplex = isComplexType(newValue);
369
+ if ((isProp || (isComplex && newValue !== null)) && !isSvg) {
370
+ try {
371
+ if (!elm.tagName.includes('-')) {
372
+ const n = newValue == null ? '' : newValue;
373
+ // Workaround for Safari, moving the <input> caret when re-assigning the same valued
374
+ if (memberName === 'list') {
375
+ isProp = false;
376
+ }
377
+ else if (oldValue == null || elm[memberName] != n) {
378
+ elm[memberName] = n;
379
+ }
380
+ }
381
+ else {
382
+ elm[memberName] = newValue;
383
+ }
384
+ }
385
+ catch (e) { }
386
+ }
387
+ if (newValue == null || newValue === false) {
388
+ if (newValue !== false || elm.getAttribute(memberName) === '') {
389
+ {
390
+ elm.removeAttribute(memberName);
391
+ }
392
+ }
393
+ }
394
+ else if ((!isProp || flags & 4 /* VNODE_FLAGS.isHost */ || isSvg) && !isComplex) {
395
+ newValue = newValue === true ? '' : newValue;
396
+ {
397
+ elm.setAttribute(memberName, newValue);
398
+ }
399
+ }
400
+ }
401
+ }
402
+ };
403
+ const parseClassListRegex = /\s/;
404
+ const parseClassList = (value) => (!value ? [] : value.split(parseClassListRegex));
405
+ const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
406
+ // if the element passed in is a shadow root, which is a document fragment
407
+ // then we want to be adding attrs/props to the shadow root's "host" element
408
+ // if it's not a shadow root, then we add attrs/props to the same element
409
+ const elm = newVnode.$elm$.nodeType === 11 /* NODE_TYPE.DocumentFragment */ && newVnode.$elm$.host
410
+ ? newVnode.$elm$.host
411
+ : newVnode.$elm$;
412
+ const oldVnodeAttrs = (oldVnode && oldVnode.$attrs$) || EMPTY_OBJ;
413
+ const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
414
+ {
415
+ // remove attributes no longer present on the vnode by setting them to undefined
416
+ for (memberName in oldVnodeAttrs) {
417
+ if (!(memberName in newVnodeAttrs)) {
418
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], undefined, isSvgMode, newVnode.$flags$);
419
+ }
420
+ }
421
+ }
422
+ // add new & update changed attributes
423
+ for (memberName in newVnodeAttrs) {
424
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode, newVnode.$flags$);
425
+ }
426
+ };
427
+ /**
428
+ * Create a DOM Node corresponding to one of the children of a given VNode.
429
+ *
430
+ * @param oldParentVNode the parent VNode from the previous render
431
+ * @param newParentVNode the parent VNode from the current render
432
+ * @param childIndex the index of the VNode, in the _new_ parent node's
433
+ * children, for which we will create a new DOM node
434
+ * @param parentElm the parent DOM node which our new node will be a child of
435
+ * @returns the newly created node
436
+ */
437
+ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
438
+ // tslint:disable-next-line: prefer-const
439
+ const newVNode = newParentVNode.$children$[childIndex];
440
+ let i = 0;
441
+ let elm;
442
+ let childNode;
443
+ if (newVNode.$text$ !== null) {
444
+ // create text node
445
+ elm = newVNode.$elm$ = doc.createTextNode(newVNode.$text$);
446
+ }
447
+ else {
448
+ if (!isSvgMode) {
449
+ isSvgMode = newVNode.$tag$ === 'svg';
450
+ }
451
+ // create element
452
+ elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$tag$)
453
+ );
454
+ if (isSvgMode && newVNode.$tag$ === 'foreignObject') {
455
+ isSvgMode = false;
456
+ }
457
+ // add css classes, attrs, props, listeners, etc.
458
+ {
459
+ updateElement(null, newVNode, isSvgMode);
460
+ }
461
+ if (isDef(scopeId) && elm['s-si'] !== scopeId) {
462
+ // if there is a scopeId and this is the initial render
463
+ // then let's add the scopeId as a css class
464
+ elm.classList.add((elm['s-si'] = scopeId));
465
+ }
466
+ if (newVNode.$children$) {
467
+ for (i = 0; i < newVNode.$children$.length; ++i) {
468
+ // create the node
469
+ childNode = createElm(oldParentVNode, newVNode, i);
470
+ // return node could have been null
471
+ if (childNode) {
472
+ // append our new node
473
+ elm.appendChild(childNode);
474
+ }
475
+ }
476
+ }
477
+ {
478
+ if (newVNode.$tag$ === 'svg') {
479
+ // Only reset the SVG context when we're exiting <svg> element
480
+ isSvgMode = false;
481
+ }
482
+ else if (elm.tagName === 'foreignObject') {
483
+ // Reenter SVG context when we're exiting <foreignObject> element
484
+ isSvgMode = true;
485
+ }
486
+ }
487
+ }
488
+ return elm;
489
+ };
490
+ /**
491
+ * Create DOM nodes corresponding to a list of {@link d.Vnode} objects and
492
+ * add them to the DOM in the appropriate place.
493
+ *
494
+ * @param parentElm the DOM node which should be used as a parent for the new
495
+ * DOM nodes
496
+ * @param before a child of the `parentElm` which the new children should be
497
+ * inserted before (optional)
498
+ * @param parentVNode the parent virtual DOM node
499
+ * @param vnodes the new child virtual DOM nodes to produce DOM nodes for
500
+ * @param startIdx the index in the child virtual DOM nodes at which to start
501
+ * creating DOM nodes (inclusive)
502
+ * @param endIdx the index in the child virtual DOM nodes at which to stop
503
+ * creating DOM nodes (inclusive)
504
+ */
505
+ const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
506
+ let containerElm = (parentElm);
507
+ let childNode;
508
+ if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
509
+ containerElm = containerElm.shadowRoot;
510
+ }
511
+ for (; startIdx <= endIdx; ++startIdx) {
512
+ if (vnodes[startIdx]) {
513
+ childNode = createElm(null, parentVNode, startIdx);
514
+ if (childNode) {
515
+ vnodes[startIdx].$elm$ = childNode;
516
+ containerElm.insertBefore(childNode, before);
517
+ }
518
+ }
519
+ }
520
+ };
521
+ /**
522
+ * Remove the DOM elements corresponding to a list of {@link d.VNode} objects.
523
+ * This can be used to, for instance, clean up after a list of children which
524
+ * should no longer be shown.
525
+ *
526
+ * This function also handles some of Stencil's slot relocation logic.
527
+ *
528
+ * @param vnodes a list of virtual DOM nodes to remove
529
+ * @param startIdx the index at which to start removing nodes (inclusive)
530
+ * @param endIdx the index at which to stop removing nodes (inclusive)
531
+ * @param vnode a VNode
532
+ * @param elm an element
533
+ */
534
+ const removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
535
+ for (; startIdx <= endIdx; ++startIdx) {
536
+ if ((vnode = vnodes[startIdx])) {
537
+ elm = vnode.$elm$;
538
+ callNodeRefs(vnode);
539
+ // remove the vnode's element from the dom
540
+ elm.remove();
541
+ }
542
+ }
543
+ };
544
+ /**
545
+ * Reconcile the children of a new VNode with the children of an old VNode by
546
+ * traversing the two collections of children, identifying nodes that are
547
+ * conserved or changed, calling out to `patch` to make any necessary
548
+ * updates to the DOM, and rearranging DOM nodes as needed.
549
+ *
550
+ * The algorithm for reconciling children works by analyzing two 'windows' onto
551
+ * the two arrays of children (`oldCh` and `newCh`). We keep track of the
552
+ * 'windows' by storing start and end indices and references to the
553
+ * corresponding array entries. Initially the two 'windows' are basically equal
554
+ * to the entire array, but we progressively narrow the windows until there are
555
+ * no children left to update by doing the following:
556
+ *
557
+ * 1. Skip any `null` entries at the beginning or end of the two arrays, so
558
+ * that if we have an initial array like the following we'll end up dealing
559
+ * only with a window bounded by the highlighted elements:
560
+ *
561
+ * [null, null, VNode1 , ... , VNode2, null, null]
562
+ * ^^^^^^ ^^^^^^
563
+ *
564
+ * 2. Check to see if the elements at the head and tail positions are equal
565
+ * across the windows. This will basically detect elements which haven't
566
+ * been added, removed, or changed position, i.e. if you had the following
567
+ * VNode elements (represented as HTML):
568
+ *
569
+ * oldVNode: `<div><p><span>HEY</span></p></div>`
570
+ * newVNode: `<div><p><span>THERE</span></p></div>`
571
+ *
572
+ * Then when comparing the children of the `<div>` tag we check the equality
573
+ * of the VNodes corresponding to the `<p>` tags and, since they are the
574
+ * same tag in the same position, we'd be able to avoid completely
575
+ * re-rendering the subtree under them with a new DOM element and would just
576
+ * call out to `patch` to handle reconciling their children and so on.
577
+ *
578
+ * 3. Check, for both windows, to see if the element at the beginning of the
579
+ * window corresponds to the element at the end of the other window. This is
580
+ * a heuristic which will let us identify _some_ situations in which
581
+ * elements have changed position, for instance it _should_ detect that the
582
+ * children nodes themselves have not changed but merely moved in the
583
+ * following example:
584
+ *
585
+ * oldVNode: `<div><element-one /><element-two /></div>`
586
+ * newVNode: `<div><element-two /><element-one /></div>`
587
+ *
588
+ * If we find cases like this then we also need to move the concrete DOM
589
+ * elements corresponding to the moved children to write the re-order to the
590
+ * DOM.
591
+ *
592
+ * 4. Finally, if VNodes have the `key` attribute set on them we check for any
593
+ * nodes in the old children which have the same key as the first element in
594
+ * our window on the new children. If we find such a node we handle calling
595
+ * out to `patch`, moving relevant DOM nodes, and so on, in accordance with
596
+ * what we find.
597
+ *
598
+ * Finally, once we've narrowed our 'windows' to the point that either of them
599
+ * collapse (i.e. they have length 0) we then handle any remaining VNode
600
+ * insertion or deletion that needs to happen to get a DOM state that correctly
601
+ * reflects the new child VNodes. If, for instance, after our window on the old
602
+ * children has collapsed we still have more nodes on the new children that
603
+ * we haven't dealt with yet then we need to add them, or if the new children
604
+ * collapse but we still have unhandled _old_ children then we need to make
605
+ * sure the corresponding DOM nodes are removed.
606
+ *
607
+ * @param parentElm the node into which the parent VNode is rendered
608
+ * @param oldCh the old children of the parent node
609
+ * @param newVNode the new VNode which will replace the parent
610
+ * @param newCh the new children of the parent node
611
+ */
612
+ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
613
+ let oldStartIdx = 0;
614
+ let newStartIdx = 0;
615
+ let oldEndIdx = oldCh.length - 1;
616
+ let oldStartVnode = oldCh[0];
617
+ let oldEndVnode = oldCh[oldEndIdx];
618
+ let newEndIdx = newCh.length - 1;
619
+ let newStartVnode = newCh[0];
620
+ let newEndVnode = newCh[newEndIdx];
621
+ let node;
622
+ while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
623
+ if (oldStartVnode == null) {
624
+ // VNode might have been moved left
625
+ oldStartVnode = oldCh[++oldStartIdx];
626
+ }
627
+ else if (oldEndVnode == null) {
628
+ oldEndVnode = oldCh[--oldEndIdx];
629
+ }
630
+ else if (newStartVnode == null) {
631
+ newStartVnode = newCh[++newStartIdx];
632
+ }
633
+ else if (newEndVnode == null) {
634
+ newEndVnode = newCh[--newEndIdx];
635
+ }
636
+ else if (isSameVnode(oldStartVnode, newStartVnode)) {
637
+ // if the start nodes are the same then we should patch the new VNode
638
+ // onto the old one, and increment our `newStartIdx` and `oldStartIdx`
639
+ // indices to reflect that. We don't need to move any DOM Nodes around
640
+ // since things are matched up in order.
641
+ patch(oldStartVnode, newStartVnode);
642
+ oldStartVnode = oldCh[++oldStartIdx];
643
+ newStartVnode = newCh[++newStartIdx];
644
+ }
645
+ else if (isSameVnode(oldEndVnode, newEndVnode)) {
646
+ // likewise, if the end nodes are the same we patch new onto old and
647
+ // decrement our end indices, and also likewise in this case we don't
648
+ // need to move any DOM Nodes.
649
+ patch(oldEndVnode, newEndVnode);
650
+ oldEndVnode = oldCh[--oldEndIdx];
651
+ newEndVnode = newCh[--newEndIdx];
652
+ }
653
+ else if (isSameVnode(oldStartVnode, newEndVnode)) {
654
+ patch(oldStartVnode, newEndVnode);
655
+ // We need to move the element for `oldStartVnode` into a position which
656
+ // will be appropriate for `newEndVnode`. For this we can use
657
+ // `.insertBefore` and `oldEndVnode.$elm$.nextSibling`. If there is a
658
+ // sibling for `oldEndVnode.$elm$` then we want to move the DOM node for
659
+ // `oldStartVnode` between `oldEndVnode` and it's sibling, like so:
660
+ //
661
+ // <old-start-node />
662
+ // <some-intervening-node />
663
+ // <old-end-node />
664
+ // <!-- -> <-- `oldStartVnode.$elm$` should be inserted here
665
+ // <next-sibling />
666
+ //
667
+ // If instead `oldEndVnode.$elm$` has no sibling then we just want to put
668
+ // the node for `oldStartVnode` at the end of the children of
669
+ // `parentElm`. Luckily, `Node.nextSibling` will return `null` if there
670
+ // aren't any siblings, and passing `null` to `Node.insertBefore` will
671
+ // append it to the children of the parent element.
672
+ parentElm.insertBefore(oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
673
+ oldStartVnode = oldCh[++oldStartIdx];
674
+ newEndVnode = newCh[--newEndIdx];
675
+ }
676
+ else if (isSameVnode(oldEndVnode, newStartVnode)) {
677
+ patch(oldEndVnode, newStartVnode);
678
+ // We've already checked above if `oldStartVnode` and `newStartVnode` are
679
+ // the same node, so since we're here we know that they are not. Thus we
680
+ // can move the element for `oldEndVnode` _before_ the element for
681
+ // `oldStartVnode`, leaving `oldStartVnode` to be reconciled in the
682
+ // future.
683
+ parentElm.insertBefore(oldEndVnode.$elm$, oldStartVnode.$elm$);
684
+ oldEndVnode = oldCh[--oldEndIdx];
685
+ newStartVnode = newCh[++newStartIdx];
686
+ }
687
+ else {
688
+ {
689
+ // We either didn't find an element in the old children that matches
690
+ // the key of the first new child OR the build is not using `key`
691
+ // attributes at all. In either case we need to create a new element
692
+ // for the new node.
693
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode, newStartIdx);
694
+ newStartVnode = newCh[++newStartIdx];
695
+ }
696
+ if (node) {
697
+ // if we created a new node then handle inserting it to the DOM
698
+ {
699
+ oldStartVnode.$elm$.parentNode.insertBefore(node, oldStartVnode.$elm$);
700
+ }
701
+ }
702
+ }
703
+ }
704
+ if (oldStartIdx > oldEndIdx) {
705
+ // we have some more new nodes to add which don't match up with old nodes
706
+ addVnodes(parentElm, newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$, newVNode, newCh, newStartIdx, newEndIdx);
707
+ }
708
+ else if (newStartIdx > newEndIdx) {
709
+ // there are nodes in the `oldCh` array which no longer correspond to nodes
710
+ // in the new array, so lets remove them (which entails cleaning up the
711
+ // relevant DOM nodes)
712
+ removeVnodes(oldCh, oldStartIdx, oldEndIdx);
713
+ }
714
+ };
715
+ /**
716
+ * Compare two VNodes to determine if they are the same
717
+ *
718
+ * **NB**: This function is an equality _heuristic_ based on the available
719
+ * information set on the two VNodes and can be misleading under certain
720
+ * circumstances. In particular, if the two nodes do not have `key` attrs
721
+ * (available under `$key$` on VNodes) then the function falls back on merely
722
+ * checking that they have the same tag.
723
+ *
724
+ * So, in other words, if `key` attrs are not set on VNodes which may be
725
+ * changing order within a `children` array or something along those lines then
726
+ * we could obtain a false negative and then have to do needless re-rendering
727
+ * (i.e. we'd say two VNodes aren't equal when in fact they should be).
728
+ *
729
+ * @param leftVNode the first VNode to check
730
+ * @param rightVNode the second VNode to check
731
+ * @returns whether they're equal or not
732
+ */
733
+ const isSameVnode = (leftVNode, rightVNode) => {
734
+ // compare if two vnode to see if they're "technically" the same
735
+ // need to have the same element tag, and same key to be the same
736
+ if (leftVNode.$tag$ === rightVNode.$tag$) {
737
+ return true;
738
+ }
739
+ return false;
740
+ };
741
+ /**
742
+ * Handle reconciling an outdated VNode with a new one which corresponds to
743
+ * it. This function handles flushing updates to the DOM and reconciling the
744
+ * children of the two nodes (if any).
745
+ *
746
+ * @param oldVNode an old VNode whose DOM element and children we want to update
747
+ * @param newVNode a new VNode representing an updated version of the old one
748
+ */
749
+ const patch = (oldVNode, newVNode) => {
750
+ const elm = (newVNode.$elm$ = oldVNode.$elm$);
751
+ const oldChildren = oldVNode.$children$;
752
+ const newChildren = newVNode.$children$;
753
+ const tag = newVNode.$tag$;
754
+ const text = newVNode.$text$;
755
+ if (text === null) {
756
+ {
757
+ // test if we're rendering an svg element, or still rendering nodes inside of one
758
+ // only add this to the when the compiler sees we're using an svg somewhere
759
+ isSvgMode = tag === 'svg' ? true : tag === 'foreignObject' ? false : isSvgMode;
760
+ }
761
+ {
762
+ if (tag === 'slot')
763
+ ;
764
+ else {
765
+ // either this is the first render of an element OR it's an update
766
+ // AND we already know it's possible it could have changed
767
+ // this updates the element's css classes, attrs, props, listeners, etc.
768
+ updateElement(oldVNode, newVNode, isSvgMode);
769
+ }
770
+ }
771
+ if (oldChildren !== null && newChildren !== null) {
772
+ // looks like there's child vnodes for both the old and new vnodes
773
+ // so we need to call `updateChildren` to reconcile them
774
+ updateChildren(elm, oldChildren, newVNode, newChildren);
775
+ }
776
+ else if (newChildren !== null) {
777
+ // no old child vnodes, but there are new child vnodes to add
778
+ if (oldVNode.$text$ !== null) {
779
+ // the old vnode was text, so be sure to clear it out
780
+ elm.textContent = '';
781
+ }
782
+ // add the new vnode children
783
+ addVnodes(elm, null, newVNode, newChildren, 0, newChildren.length - 1);
784
+ }
785
+ else if (oldChildren !== null) {
786
+ // no new child vnodes, but there are old child vnodes to remove
787
+ removeVnodes(oldChildren, 0, oldChildren.length - 1);
788
+ }
789
+ if (isSvgMode && tag === 'svg') {
790
+ isSvgMode = false;
791
+ }
792
+ }
793
+ else if (oldVNode.$text$ !== text) {
794
+ // update the text content for the text only vnode
795
+ // and also only if the text is different than before
796
+ elm.data = text;
797
+ }
798
+ };
799
+ const callNodeRefs = (vNode) => {
800
+ {
801
+ vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
802
+ vNode.$children$ && vNode.$children$.map(callNodeRefs);
803
+ }
804
+ };
805
+ /**
806
+ * The main entry point for Stencil's virtual DOM-based rendering engine
807
+ *
808
+ * Given a {@link d.HostRef} container and some virtual DOM nodes, this
809
+ * function will handle creating a virtual DOM tree with a single root, patching
810
+ * the current virtual DOM tree onto an old one (if any), dealing with slot
811
+ * relocation, and reflecting attributes.
812
+ *
813
+ * @param hostRef data needed to root and render the virtual DOM tree, such as
814
+ * the DOM node into which it should be rendered.
815
+ * @param renderFnResults the virtual DOM nodes to be rendered
816
+ */
817
+ const renderVdom = (hostRef, renderFnResults) => {
818
+ const hostElm = hostRef.$hostElement$;
819
+ const cmpMeta = hostRef.$cmpMeta$;
820
+ const oldVNode = hostRef.$vnode$ || newVNode(null, null);
821
+ const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
822
+ hostTagName = hostElm.tagName;
823
+ if (cmpMeta.$attrsToReflect$) {
824
+ rootVnode.$attrs$ = rootVnode.$attrs$ || {};
825
+ cmpMeta.$attrsToReflect$.map(([propName, attribute]) => (rootVnode.$attrs$[attribute] = hostElm[propName]));
826
+ }
827
+ rootVnode.$tag$ = null;
828
+ rootVnode.$flags$ |= 4 /* VNODE_FLAGS.isHost */;
829
+ hostRef.$vnode$ = rootVnode;
830
+ rootVnode.$elm$ = oldVNode.$elm$ = (hostElm.shadowRoot || hostElm );
831
+ {
832
+ scopeId = hostElm['s-sc'];
833
+ }
834
+ // synchronous patch
835
+ patch(oldVNode, rootVnode);
836
+ };
837
+ const attachToAncestor = (hostRef, ancestorComponent) => {
838
+ if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
839
+ ancestorComponent['s-p'].push(new Promise((r) => (hostRef.$onRenderResolve$ = r)));
840
+ }
841
+ };
842
+ const scheduleUpdate = (hostRef, isInitialLoad) => {
843
+ {
844
+ hostRef.$flags$ |= 16 /* HOST_FLAGS.isQueuedForUpdate */;
845
+ }
846
+ if (hostRef.$flags$ & 4 /* HOST_FLAGS.isWaitingForChildren */) {
847
+ hostRef.$flags$ |= 512 /* HOST_FLAGS.needsRerender */;
848
+ return;
849
+ }
850
+ attachToAncestor(hostRef, hostRef.$ancestorComponent$);
851
+ // there is no ancestor component or the ancestor component
852
+ // has already fired off its lifecycle update then
853
+ // fire off the initial update
854
+ const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
855
+ return writeTask(dispatch) ;
856
+ };
857
+ const dispatchHooks = (hostRef, isInitialLoad) => {
858
+ const endSchedule = createTime('scheduleUpdate', hostRef.$cmpMeta$.$tagName$);
859
+ const instance = hostRef.$lazyInstance$ ;
860
+ let promise;
861
+ if (isInitialLoad) {
862
+ {
863
+ promise = safeCall(instance, 'componentWillLoad');
864
+ }
865
+ }
866
+ endSchedule();
867
+ return then(promise, () => updateComponent(hostRef, instance, isInitialLoad));
868
+ };
869
+ const updateComponent = async (hostRef, instance, isInitialLoad) => {
870
+ // updateComponent
871
+ const elm = hostRef.$hostElement$;
872
+ const endUpdate = createTime('update', hostRef.$cmpMeta$.$tagName$);
873
+ const rc = elm['s-rc'];
874
+ if (isInitialLoad) {
875
+ // DOM WRITE!
876
+ attachStyles(hostRef);
877
+ }
878
+ const endRender = createTime('render', hostRef.$cmpMeta$.$tagName$);
879
+ {
880
+ callRender(hostRef, instance);
881
+ }
882
+ if (rc) {
883
+ // ok, so turns out there are some child host elements
884
+ // waiting on this parent element to load
885
+ // let's fire off all update callbacks waiting
886
+ rc.map((cb) => cb());
887
+ elm['s-rc'] = undefined;
888
+ }
889
+ endRender();
890
+ endUpdate();
891
+ {
892
+ const childrenPromises = elm['s-p'];
893
+ const postUpdate = () => postUpdateComponent(hostRef);
894
+ if (childrenPromises.length === 0) {
895
+ postUpdate();
896
+ }
897
+ else {
898
+ Promise.all(childrenPromises).then(postUpdate);
899
+ hostRef.$flags$ |= 4 /* HOST_FLAGS.isWaitingForChildren */;
900
+ childrenPromises.length = 0;
901
+ }
902
+ }
903
+ };
904
+ const callRender = (hostRef, instance, elm) => {
905
+ try {
906
+ instance = instance.render() ;
907
+ {
908
+ hostRef.$flags$ &= ~16 /* HOST_FLAGS.isQueuedForUpdate */;
909
+ }
910
+ {
911
+ hostRef.$flags$ |= 2 /* HOST_FLAGS.hasRendered */;
912
+ }
913
+ {
914
+ {
915
+ // looks like we've got child nodes to render into this host element
916
+ // or we need to update the css class/attrs on the host element
917
+ // DOM WRITE!
918
+ {
919
+ renderVdom(hostRef, instance);
920
+ }
921
+ }
922
+ }
923
+ }
924
+ catch (e) {
925
+ consoleError(e, hostRef.$hostElement$);
926
+ }
927
+ return null;
928
+ };
929
+ const postUpdateComponent = (hostRef) => {
930
+ const tagName = hostRef.$cmpMeta$.$tagName$;
931
+ const elm = hostRef.$hostElement$;
932
+ const endPostUpdate = createTime('postUpdate', tagName);
933
+ const instance = hostRef.$lazyInstance$ ;
934
+ const ancestorComponent = hostRef.$ancestorComponent$;
935
+ if (!(hostRef.$flags$ & 64 /* HOST_FLAGS.hasLoadedComponent */)) {
936
+ hostRef.$flags$ |= 64 /* HOST_FLAGS.hasLoadedComponent */;
937
+ {
938
+ // DOM WRITE!
939
+ addHydratedFlag(elm);
940
+ }
941
+ {
942
+ safeCall(instance, 'componentDidLoad');
943
+ }
944
+ endPostUpdate();
945
+ {
946
+ hostRef.$onReadyResolve$(elm);
947
+ if (!ancestorComponent) {
948
+ appDidLoad();
949
+ }
950
+ }
951
+ }
952
+ else {
953
+ endPostUpdate();
954
+ }
955
+ // load events fire from bottom to top
956
+ // the deepest elements load first then bubbles up
957
+ {
958
+ if (hostRef.$onRenderResolve$) {
959
+ hostRef.$onRenderResolve$();
960
+ hostRef.$onRenderResolve$ = undefined;
961
+ }
962
+ if (hostRef.$flags$ & 512 /* HOST_FLAGS.needsRerender */) {
963
+ nextTick(() => scheduleUpdate(hostRef, false));
964
+ }
965
+ hostRef.$flags$ &= ~(4 /* HOST_FLAGS.isWaitingForChildren */ | 512 /* HOST_FLAGS.needsRerender */);
966
+ }
967
+ // ( •_•)
968
+ // ( •_•)>⌐■-■
969
+ // (⌐■_■)
970
+ };
971
+ const appDidLoad = (who) => {
972
+ // on appload
973
+ // we have finish the first big initial render
974
+ {
975
+ addHydratedFlag(doc.documentElement);
976
+ }
977
+ nextTick(() => emitEvent(win, 'appload', { detail: { namespace: NAMESPACE } }));
978
+ };
979
+ const safeCall = (instance, method, arg) => {
980
+ if (instance && instance[method]) {
981
+ try {
982
+ return instance[method](arg);
983
+ }
984
+ catch (e) {
985
+ consoleError(e);
986
+ }
987
+ }
988
+ return undefined;
989
+ };
990
+ const then = (promise, thenFn) => {
991
+ return promise && promise.then ? promise.then(thenFn) : thenFn();
992
+ };
993
+ const addHydratedFlag = (elm) => elm.classList.add('hydrated')
994
+ ;
995
+ const getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
996
+ const setValue = (ref, propName, newVal, cmpMeta) => {
997
+ // check our new property value against our internal value
998
+ const hostRef = getHostRef(ref);
999
+ const oldVal = hostRef.$instanceValues$.get(propName);
1000
+ const flags = hostRef.$flags$;
1001
+ const instance = hostRef.$lazyInstance$ ;
1002
+ newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);
1003
+ // explicitly check for NaN on both sides, as `NaN === NaN` is always false
1004
+ const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
1005
+ const didValueChange = newVal !== oldVal && !areBothNaN;
1006
+ if ((!(flags & 8 /* HOST_FLAGS.isConstructingInstance */) || oldVal === undefined) && didValueChange) {
1007
+ // gadzooks! the property's value has changed!!
1008
+ // set our new value!
1009
+ hostRef.$instanceValues$.set(propName, newVal);
1010
+ if (instance) {
1011
+ if ((flags & (2 /* HOST_FLAGS.hasRendered */ | 16 /* HOST_FLAGS.isQueuedForUpdate */)) === 2 /* HOST_FLAGS.hasRendered */) {
1012
+ // looks like this value actually changed, so we've got work to do!
1013
+ // but only if we've already rendered, otherwise just chill out
1014
+ // queue that we need to do an update, but don't worry about queuing
1015
+ // up millions cuz this function ensures it only runs once
1016
+ scheduleUpdate(hostRef, false);
1017
+ }
1018
+ }
1019
+ }
1020
+ };
1021
+ /**
1022
+ * Attach a series of runtime constructs to a compiled Stencil component
1023
+ * constructor, including getters and setters for the `@Prop` and `@State`
1024
+ * decorators, callbacks for when attributes change, and so on.
1025
+ *
1026
+ * @param Cstr the constructor for a component that we need to process
1027
+ * @param cmpMeta metadata collected previously about the component
1028
+ * @param flags a number used to store a series of bit flags
1029
+ * @returns a reference to the same constructor passed in (but now mutated)
1030
+ */
1031
+ const proxyComponent = (Cstr, cmpMeta, flags) => {
1032
+ if (cmpMeta.$members$) {
1033
+ // It's better to have a const than two Object.entries()
1034
+ const members = Object.entries(cmpMeta.$members$);
1035
+ const prototype = Cstr.prototype;
1036
+ members.map(([memberName, [memberFlags]]) => {
1037
+ if ((memberFlags & 31 /* MEMBER_FLAGS.Prop */ ||
1038
+ ((flags & 2 /* PROXY_FLAGS.proxyState */) && memberFlags & 32 /* MEMBER_FLAGS.State */))) {
1039
+ // proxyComponent - prop
1040
+ Object.defineProperty(prototype, memberName, {
1041
+ get() {
1042
+ // proxyComponent, get value
1043
+ return getValue(this, memberName);
1044
+ },
1045
+ set(newValue) {
1046
+ // proxyComponent, set value
1047
+ setValue(this, memberName, newValue, cmpMeta);
1048
+ },
1049
+ configurable: true,
1050
+ enumerable: true,
1051
+ });
1052
+ }
1053
+ });
1054
+ if ((flags & 1 /* PROXY_FLAGS.isElementConstructor */)) {
1055
+ const attrNameToPropName = new Map();
1056
+ prototype.attributeChangedCallback = function (attrName, _oldValue, newValue) {
1057
+ plt.jmp(() => {
1058
+ const propName = attrNameToPropName.get(attrName);
1059
+ // In a web component lifecycle the attributeChangedCallback runs prior to connectedCallback
1060
+ // in the case where an attribute was set inline.
1061
+ // ```html
1062
+ // <my-component some-attribute="some-value"></my-component>
1063
+ // ```
1064
+ //
1065
+ // There is an edge case where a developer sets the attribute inline on a custom element and then
1066
+ // programmatically changes it before it has been upgraded as shown below:
1067
+ //
1068
+ // ```html
1069
+ // <!-- this component has _not_ been upgraded yet -->
1070
+ // <my-component id="test" some-attribute="some-value"></my-component>
1071
+ // <script>
1072
+ // // grab non-upgraded component
1073
+ // el = document.querySelector("#test");
1074
+ // el.someAttribute = "another-value";
1075
+ // // upgrade component
1076
+ // customElements.define('my-component', MyComponent);
1077
+ // </script>
1078
+ // ```
1079
+ // In this case if we do not unshadow here and use the value of the shadowing property, attributeChangedCallback
1080
+ // will be called with `newValue = "some-value"` and will set the shadowed property (this.someAttribute = "another-value")
1081
+ // to the value that was set inline i.e. "some-value" from above example. When
1082
+ // the connectedCallback attempts to unshadow it will use "some-value" as the initial value rather than "another-value"
1083
+ //
1084
+ // The case where the attribute was NOT set inline but was not set programmatically shall be handled/unshadowed
1085
+ // by connectedCallback as this attributeChangedCallback will not fire.
1086
+ //
1087
+ // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
1088
+ //
1089
+ // TODO(STENCIL-16) we should think about whether or not we actually want to be reflecting the attributes to
1090
+ // properties here given that this goes against best practices outlined here
1091
+ // https://developers.google.com/web/fundamentals/web-components/best-practices#avoid-reentrancy
1092
+ if (this.hasOwnProperty(propName)) {
1093
+ newValue = this[propName];
1094
+ delete this[propName];
1095
+ }
1096
+ else if (prototype.hasOwnProperty(propName) &&
1097
+ typeof this[propName] === 'number' &&
1098
+ this[propName] == newValue) {
1099
+ // if the propName exists on the prototype of `Cstr`, this update may be a result of Stencil using native
1100
+ // APIs to reflect props as attributes. Calls to `setAttribute(someElement, propName)` will result in
1101
+ // `propName` to be converted to a `DOMString`, which may not be what we want for other primitive props.
1102
+ return;
1103
+ }
1104
+ this[propName] = newValue === null && typeof this[propName] === 'boolean' ? false : newValue;
1105
+ });
1106
+ };
1107
+ // create an array of attributes to observe
1108
+ // and also create a map of html attribute name to js property name
1109
+ Cstr.observedAttributes = members
1110
+ .filter(([_, m]) => m[0] & 15 /* MEMBER_FLAGS.HasAttribute */) // filter to only keep props that should match attributes
1111
+ .map(([propName, m]) => {
1112
+ const attrName = m[1] || propName;
1113
+ attrNameToPropName.set(attrName, propName);
1114
+ if (m[0] & 512 /* MEMBER_FLAGS.ReflectAttr */) {
1115
+ cmpMeta.$attrsToReflect$.push([propName, attrName]);
1116
+ }
1117
+ return attrName;
1118
+ });
1119
+ }
1120
+ }
1121
+ return Cstr;
1122
+ };
1123
+ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) => {
1124
+ // initializeComponent
1125
+ if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {
1126
+ {
1127
+ // we haven't initialized this element yet
1128
+ hostRef.$flags$ |= 32 /* HOST_FLAGS.hasInitializedComponent */;
1129
+ // lazy loaded components
1130
+ // request the component's implementation to be
1131
+ // wired up with the host element
1132
+ Cstr = loadModule(cmpMeta);
1133
+ if (Cstr.then) {
1134
+ // Await creates a micro-task avoid if possible
1135
+ const endLoad = uniqueTime();
1136
+ Cstr = await Cstr;
1137
+ endLoad();
1138
+ }
1139
+ if (!Cstr.isProxied) {
1140
+ proxyComponent(Cstr, cmpMeta, 2 /* PROXY_FLAGS.proxyState */);
1141
+ Cstr.isProxied = true;
1142
+ }
1143
+ const endNewInstance = createTime('createInstance', cmpMeta.$tagName$);
1144
+ // ok, time to construct the instance
1145
+ // but let's keep track of when we start and stop
1146
+ // so that the getters/setters don't incorrectly step on data
1147
+ {
1148
+ hostRef.$flags$ |= 8 /* HOST_FLAGS.isConstructingInstance */;
1149
+ }
1150
+ // construct the lazy-loaded component implementation
1151
+ // passing the hostRef is very important during
1152
+ // construction in order to directly wire together the
1153
+ // host element and the lazy-loaded instance
1154
+ try {
1155
+ new Cstr(hostRef);
1156
+ }
1157
+ catch (e) {
1158
+ consoleError(e);
1159
+ }
1160
+ {
1161
+ hostRef.$flags$ &= ~8 /* HOST_FLAGS.isConstructingInstance */;
1162
+ }
1163
+ endNewInstance();
1164
+ fireConnectedCallback(hostRef.$lazyInstance$);
1165
+ }
1166
+ if (Cstr.style) {
1167
+ // this component has styles but we haven't registered them yet
1168
+ let style = Cstr.style;
1169
+ const scopeId = getScopeId(cmpMeta);
1170
+ if (!styles.has(scopeId)) {
1171
+ const endRegisterStyles = createTime('registerStyles', cmpMeta.$tagName$);
1172
+ registerStyle(scopeId, style, !!(cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */));
1173
+ endRegisterStyles();
1174
+ }
1175
+ }
1176
+ }
1177
+ // we've successfully created a lazy instance
1178
+ const ancestorComponent = hostRef.$ancestorComponent$;
1179
+ const schedule = () => scheduleUpdate(hostRef, true);
1180
+ if (ancestorComponent && ancestorComponent['s-rc']) {
1181
+ // this is the initial load and this component it has an ancestor component
1182
+ // but the ancestor component has NOT fired its will update lifecycle yet
1183
+ // so let's just cool our jets and wait for the ancestor to continue first
1184
+ // this will get fired off when the ancestor component
1185
+ // finally gets around to rendering its lazy self
1186
+ // fire off the initial update
1187
+ ancestorComponent['s-rc'].push(schedule);
1188
+ }
1189
+ else {
1190
+ schedule();
1191
+ }
1192
+ };
1193
+ const fireConnectedCallback = (instance) => {
1194
+ {
1195
+ safeCall(instance, 'connectedCallback');
1196
+ }
1197
+ };
1198
+ const connectedCallback = (elm) => {
1199
+ if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
1200
+ const hostRef = getHostRef(elm);
1201
+ const cmpMeta = hostRef.$cmpMeta$;
1202
+ const endConnected = createTime('connectedCallback', cmpMeta.$tagName$);
1203
+ if (!(hostRef.$flags$ & 1 /* HOST_FLAGS.hasConnected */)) {
1204
+ // first time this component has connected
1205
+ hostRef.$flags$ |= 1 /* HOST_FLAGS.hasConnected */;
1206
+ {
1207
+ // find the first ancestor component (if there is one) and register
1208
+ // this component as one of the actively loading child components for its ancestor
1209
+ let ancestorComponent = elm;
1210
+ while ((ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host)) {
1211
+ // climb up the ancestors looking for the first
1212
+ // component that hasn't finished its lifecycle update yet
1213
+ if (ancestorComponent['s-p']) {
1214
+ // we found this components first ancestor component
1215
+ // keep a reference to this component's ancestor component
1216
+ attachToAncestor(hostRef, (hostRef.$ancestorComponent$ = ancestorComponent));
1217
+ break;
1218
+ }
1219
+ }
1220
+ }
1221
+ // Lazy properties
1222
+ // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
1223
+ if (cmpMeta.$members$) {
1224
+ Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
1225
+ if (memberFlags & 31 /* MEMBER_FLAGS.Prop */ && elm.hasOwnProperty(memberName)) {
1226
+ const value = elm[memberName];
1227
+ delete elm[memberName];
1228
+ elm[memberName] = value;
1229
+ }
1230
+ });
1231
+ }
1232
+ {
1233
+ initializeComponent(elm, hostRef, cmpMeta);
1234
+ }
1235
+ }
1236
+ else {
1237
+ // fire off connectedCallback() on component instance
1238
+ fireConnectedCallback(hostRef.$lazyInstance$);
1239
+ }
1240
+ endConnected();
1241
+ }
1242
+ };
1243
+ const disconnectedCallback = (elm) => {
1244
+ if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
1245
+ const hostRef = getHostRef(elm);
1246
+ const instance = hostRef.$lazyInstance$ ;
1247
+ {
1248
+ safeCall(instance, 'disconnectedCallback');
1249
+ }
1250
+ }
1251
+ };
1252
+ const bootstrapLazy = (lazyBundles, options = {}) => {
1253
+ var _a;
1254
+ const endBootstrap = createTime();
1255
+ const cmpTags = [];
1256
+ const exclude = options.exclude || [];
1257
+ const customElements = win.customElements;
1258
+ const head = doc.head;
1259
+ const metaCharset = /*@__PURE__*/ head.querySelector('meta[charset]');
1260
+ const visibilityStyle = /*@__PURE__*/ doc.createElement('style');
1261
+ const deferredConnectedCallbacks = [];
1262
+ let appLoadFallback;
1263
+ let isBootstrapping = true;
1264
+ Object.assign(plt, options);
1265
+ plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
1266
+ lazyBundles.map((lazyBundle) => {
1267
+ lazyBundle[1].map((compactMeta) => {
1268
+ const cmpMeta = {
1269
+ $flags$: compactMeta[0],
1270
+ $tagName$: compactMeta[1],
1271
+ $members$: compactMeta[2],
1272
+ $listeners$: compactMeta[3],
1273
+ };
1274
+ {
1275
+ cmpMeta.$members$ = compactMeta[2];
1276
+ }
1277
+ {
1278
+ cmpMeta.$attrsToReflect$ = [];
1279
+ }
1280
+ const tagName = cmpMeta.$tagName$;
1281
+ const HostElement = class extends HTMLElement {
1282
+ // StencilLazyHost
1283
+ constructor(self) {
1284
+ // @ts-ignore
1285
+ super(self);
1286
+ self = this;
1287
+ registerHost(self, cmpMeta);
1288
+ if (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) {
1289
+ // this component is using shadow dom
1290
+ // and this browser supports shadow dom
1291
+ // add the read-only property "shadowRoot" to the host element
1292
+ // adding the shadow root build conditionals to minimize runtime
1293
+ {
1294
+ {
1295
+ self.attachShadow({ mode: 'open' });
1296
+ }
1297
+ }
1298
+ }
1299
+ }
1300
+ connectedCallback() {
1301
+ if (appLoadFallback) {
1302
+ clearTimeout(appLoadFallback);
1303
+ appLoadFallback = null;
1304
+ }
1305
+ if (isBootstrapping) {
1306
+ // connectedCallback will be processed once all components have been registered
1307
+ deferredConnectedCallbacks.push(this);
1308
+ }
1309
+ else {
1310
+ plt.jmp(() => connectedCallback(this));
1311
+ }
1312
+ }
1313
+ disconnectedCallback() {
1314
+ plt.jmp(() => disconnectedCallback(this));
1315
+ }
1316
+ componentOnReady() {
1317
+ return getHostRef(this).$onReadyPromise$;
1318
+ }
1319
+ };
1320
+ cmpMeta.$lazyBundleId$ = lazyBundle[0];
1321
+ if (!exclude.includes(tagName) && !customElements.get(tagName)) {
1322
+ cmpTags.push(tagName);
1323
+ customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* PROXY_FLAGS.isElementConstructor */));
1324
+ }
1325
+ });
1326
+ });
1327
+ {
1328
+ visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;
1329
+ visibilityStyle.setAttribute('data-styles', '');
1330
+ // Apply CSP nonce to the style tag if it exists
1331
+ const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
1332
+ if (nonce != null) {
1333
+ visibilityStyle.setAttribute('nonce', nonce);
1334
+ }
1335
+ head.insertBefore(visibilityStyle, metaCharset ? metaCharset.nextSibling : head.firstChild);
1336
+ }
1337
+ // Process deferred connectedCallbacks now all components have been registered
1338
+ isBootstrapping = false;
1339
+ if (deferredConnectedCallbacks.length) {
1340
+ deferredConnectedCallbacks.map((host) => host.connectedCallback());
1341
+ }
1342
+ else {
1343
+ {
1344
+ plt.jmp(() => (appLoadFallback = setTimeout(appDidLoad, 30)));
1345
+ }
1346
+ }
1347
+ // Fallback appLoad event
1348
+ endBootstrap();
1349
+ };
1350
+ /**
1351
+ * Assigns the given value to the nonce property on the runtime platform object.
1352
+ * During runtime, this value is used to set the nonce attribute on all dynamically created script and style tags.
1353
+ * @param nonce The value to be assigned to the platform nonce property.
1354
+ * @returns void
1355
+ */
1356
+ const setNonce = (nonce) => (plt.$nonce$ = nonce);
1357
+ const hostRefs = /*@__PURE__*/ new WeakMap();
1358
+ const getHostRef = (ref) => hostRefs.get(ref);
1359
+ const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
1360
+ const registerHost = (elm, cmpMeta) => {
1361
+ const hostRef = {
1362
+ $flags$: 0,
1363
+ $hostElement$: elm,
1364
+ $cmpMeta$: cmpMeta,
1365
+ $instanceValues$: new Map(),
1366
+ };
1367
+ {
1368
+ hostRef.$onReadyPromise$ = new Promise((r) => (hostRef.$onReadyResolve$ = r));
1369
+ elm['s-p'] = [];
1370
+ elm['s-rc'] = [];
1371
+ }
1372
+ return hostRefs.set(elm, hostRef);
1373
+ };
1374
+ const isMemberInElement = (elm, memberName) => memberName in elm;
1375
+ const consoleError = (e, el) => (0, console.error)(e, el);
1376
+ const cmpModules = /*@__PURE__*/ new Map();
1377
+ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
1378
+ // loadModuleImport
1379
+ const exportName = cmpMeta.$tagName$.replace(/-/g, '_');
1380
+ const bundleId = cmpMeta.$lazyBundleId$;
1381
+ const module = cmpModules.get(bundleId) ;
1382
+ if (module) {
1383
+ return module[exportName];
1384
+ }
1385
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/
1386
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1387
+ /* @vite-ignore */
1388
+ /* webpackInclude: /\.entry\.js$/ */
1389
+ /* webpackExclude: /\.system\.entry\.js$/ */
1390
+ /* webpackMode: "lazy" */
1391
+ `./${bundleId}.entry.js${''}`)); }).then((importedModule) => {
1392
+ {
1393
+ cmpModules.set(bundleId, importedModule);
1394
+ }
1395
+ return importedModule[exportName];
1396
+ }, consoleError);
1397
+ };
1398
+ const styles = /*@__PURE__*/ new Map();
1399
+ const win = typeof window !== 'undefined' ? window : {};
1400
+ const doc = win.document || { head: {} };
1401
+ const plt = {
1402
+ $flags$: 0,
1403
+ $resourcesUrl$: '',
1404
+ jmp: (h) => h(),
1405
+ raf: (h) => requestAnimationFrame(h),
1406
+ ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
1407
+ rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
1408
+ ce: (eventName, opts) => new CustomEvent(eventName, opts),
1409
+ };
1410
+ const promiseResolve = (v) => Promise.resolve(v);
1411
+ const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
1412
+ try {
1413
+ new CSSStyleSheet();
1414
+ return typeof new CSSStyleSheet().replaceSync === 'function';
1415
+ }
1416
+ catch (e) { }
1417
+ return false;
1418
+ })()
1419
+ ;
1420
+ const queueDomReads = [];
1421
+ const queueDomWrites = [];
1422
+ const queueTask = (queue, write) => (cb) => {
1423
+ queue.push(cb);
1424
+ if (!queuePending) {
1425
+ queuePending = true;
1426
+ if (write && plt.$flags$ & 4 /* PLATFORM_FLAGS.queueSync */) {
1427
+ nextTick(flush);
1428
+ }
1429
+ else {
1430
+ plt.raf(flush);
1431
+ }
1432
+ }
1433
+ };
1434
+ const consume = (queue) => {
1435
+ for (let i = 0; i < queue.length; i++) {
1436
+ try {
1437
+ queue[i](performance.now());
1438
+ }
1439
+ catch (e) {
1440
+ consoleError(e);
1441
+ }
1442
+ }
1443
+ queue.length = 0;
1444
+ };
1445
+ const flush = () => {
1446
+ // always force a bunch of medium callbacks to run, but still have
1447
+ // a throttle on how many can run in a certain time
1448
+ // DOM READS!!!
1449
+ consume(queueDomReads);
1450
+ // DOM WRITES!!!
1451
+ {
1452
+ consume(queueDomWrites);
1453
+ if ((queuePending = queueDomReads.length > 0)) {
1454
+ // still more to do yet, but we've run out of time
1455
+ // let's let this thing cool off and try again in the next tick
1456
+ plt.raf(flush);
1457
+ }
1458
+ }
1459
+ };
1460
+ const nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);
1461
+ const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
1462
+
1463
+ exports.Host = Host;
1464
+ exports.bootstrapLazy = bootstrapLazy;
1465
+ exports.getElement = getElement;
1466
+ exports.h = h;
1467
+ exports.promiseResolve = promiseResolve;
1468
+ exports.registerInstance = registerInstance;
1469
+ exports.setNonce = setNonce;