mirror of
https://github.com/ionic-team/ionicons.git
synced 2026-11-30 16:48:16 +01:00
74 lines
54 KiB
JavaScript
74 lines
54 KiB
JavaScript
/*! document-register-element, 1.7.0
|
|
https://github.com/WebReflection/document-register-element
|
|
(C) Andrea Giammarchi - @WebReflection - Mit Style License */
|
|
(function(e,t){"use strict";function Ht(){var e=wt.splice(0,wt.length);Et=0;while(e.length)e.shift().call(null,e.shift())}function Bt(e,t){for(var n=0,r=e.length;n<r;n++)Jt(e[n],t)}function jt(e){for(var t=0,n=e.length,r;t<n;t++)r=e[t],Pt(r,A[It(r)])}function Ft(e){return function(t){ut(t)&&(Jt(t,e),O.length&&Bt(t.querySelectorAll(O),e))}}function It(e){var t=ht.call(e,"is"),n=e.nodeName.toUpperCase(),r=_.call(L,t?N+t.toUpperCase():T+n);return t&&-1<r&&!qt(n,t)?-1:r}function qt(e,t){return-1<O.indexOf(e+'[is="'+t+'"]')}function Rt(e){var t=e.currentTarget,n=e.attrChange,r=e.attrName,i=e.target,s=e[y]||2,o=e[w]||3;kt&&(!i||i===t)&&t[h]&&r!=="style"&&(e.prevValue!==e.newValue||e.newValue===""&&(n===s||n===o))&&t[h](r,n===s?null:e.prevValue,n===o?null:e.newValue)}function Ut(e){var t=Ft(e);return function(e){wt.push(t,e.target),Et&&clearTimeout(Et),Et=setTimeout(Ht,1)}}function zt(e){Ct&&(Ct=!1,e.currentTarget.removeEventListener(S,zt)),O.length&&Bt((e.target||n).querySelectorAll(O),e.detail===l?l:a),st&&Vt()}function Wt(e,t){var n=this;vt.call(n,e,t),Lt.call(n,{target:n})}function Xt(e,t){nt(e,t),Mt?Mt.observe(e,yt):(Nt&&(e.setAttribute=Wt,e[o]=Ot(e),e[u](x,Lt)),e[u](E,Rt)),e[m]&&kt&&(e.created=!0,e[m](),e.created=!1)}function Vt(){for(var e,t=0,n=at.length;t<n;t++)e=at[t],M.contains(e)||(n--,at.splice(t--,1),Jt(e,l))}function $t(e){throw new Error("A "+e+" type is already registered")}function Jt(e,t){var n,r=It(e),i;-1<r&&(Dt(e,A[r]),r=0,t===a&&!e[a]?(e[l]=!1,e[a]=!0,i="connected",r=1,st&&_.call(at,e)<0&&at.push(e)):t===l&&!e[l]&&(e[a]=!1,e[l]=!0,i="disconnected",r=1),r&&(n=e[t+f]||e[i+f])&&n.call(e))}function Kt(){}function Qt(e,t,r){var i=r&&r[c]||"",o=t.prototype,u=tt(o),a=t.observedAttributes||j,f={prototype:u};ot(u,m,{value:function(){if(Q)Q=!1;else if(!this[W]){this[W]=!0,new t(this),o[m]&&o[m].call(this);var e=G[Z.get(t)];(!V||e.create.length>1)&&Zt(this)}}}),ot(u,h,{value:function(e){-1<_.call(a,e)&&o[h].apply(this,arguments)}}),o[d]&&ot(u,p,{value:o[d]}),o[v]&&ot(u,g,{value:o[v]}),i&&(f[c]=i),e=e.toUpperCase(),G[e]={constructor:t,create:i?[i,et(e)]:[e]},Z.set(t,e),n[s](e.toLowerCase(),f),en(e),Y[e].r()}function Gt(e){var t=G[e.toUpperCase()];return t&&t.constructor}function Yt(e){return typeof e=="string"?e:e&&e.is||""}function Zt(e){var t=e[h],n=t?e.attributes:j,r=n.length,i;while(r--)i=n[r],t.call(e,i.name||i.nodeName,null,i.value||i.nodeValue)}function en(e){return e=e.toUpperCase(),e in Y||(Y[e]={},Y[e].p=new K(function(t){Y[e].r=t})),Y[e].p}function tn(){X&&delete e.customElements,B(e,"customElements",{configurable:!0,value:new Kt}),B(e,"CustomElementRegistry",{configurable:!0,value:Kt});for(var t=function(t){var r=e[t];if(r){e[t]=function(t){var i,s;return t||(t=this),t[W]||(Q=!0,i=G[Z.get(t.constructor)],s=V&&i.create.length===1,t=s?Reflect.construct(r,j,i.constructor):n.createElement.apply(n,i.create),t[W]=!0,Q=!1,s||Zt(t)),t},e[t].prototype=r.prototype;try{r.prototype.constructor=e[t]}catch(i){z=!0,B(r,W,{value:e[t]})}}},r=i.get(/^HTML[A-Z]*[a-z]/),o=r.length;o--;t(r[o]));n.createElement=function(e,t){var n=Yt(t);return n?gt.call(this,e,et(n)):gt.call(this,e)},St||(Tt=!0,n[s](""))}var n=e.document,r=e.Object,i=function(e){var t=/^[A-Z]+[a-z]/,n=function(e){var t=[],n;for(n in s)e.test(n)&&t.push(n);return t},i=function(e,t){t=t.toLowerCase(),t in s||(s[e]=(s[e]||[]).concat(t),s[t]=s[t.toUpperCase()]=e)},s=(r.create||r)(null),o={},u,a,f,l;for(a in e)for(l in e[a]){f=e[a][l],s[l]=f;for(u=0;u<f.length;u++)s[f[u].toLowerCase()]=s[f[u].toUpperCase()]=l}return o.get=function(r){return typeof r=="string"?s[r]||(t.test(r)?[]:""):n(r)},o.set=function(n,r){return t.test(n)?i(n,r):i(r,n),o},o}({collections:{HTMLAllCollection:["all"],HTMLCollection:["forms"],HTMLFormControlsCollection:["elements"],HTMLOptionsCollection:["options"]},elements:{Element:["element"],HTMLAnchorElement:["a"],HTMLAppletElement:["applet"],HTMLAreaElement:["area"],HTMLAttachmentElement:["attachment"],HTMLAudioElement:["audio"],HTMLBRElement:["br"],HTMLBaseElement:["base"],HTMLBodyElement:["body"],HTMLButtonElement:["button"],HTMLCanvasElement:["canvas"],HTMLContentElement:["content"],HTMLDListElement:["dl"],HTMLDataElement:["data"],HTMLDataListElement:["datalist"],HTMLDetailsElement:["details"],HTMLDialogElement:["dialog"],HTMLDirectoryElement:["dir"],HTMLDivElement:["div"],HTMLDocument:["document"],HTMLElement:["element","abbr","address","article","aside","b","bdi","bdo","cite","code","command","dd","dfn","dt","em","figcaption","figure","footer","header","i","kbd","mark","nav","noscript","rp","rt","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr"],HTMLEmbedElement:["embed"],HTMLFieldSetElement:["fieldset"],HTMLFontElement:["font"],HTMLFormElement:["form"],HTMLFrameElement:["frame"],HTMLFrameSetElement:["frameset"],HTMLHRElement:["hr"],HTMLHeadElement:["head"],HTMLHeadingElement:["h1","h2","h3","h4","h5","h6"],HTMLHtmlElement:["html"],HTMLIFrameElement:["iframe"],HTMLImageElement:["img"],HTMLInputElement:["input"],HTMLKeygenElement:["keygen"],HTMLLIElement:["li"],HTMLLabelElement:["label"],HTMLLegendElement:["legend"],HTMLLinkElement:["link"],HTMLMapElement:["map"],HTMLMarqueeElement:["marquee"],HTMLMediaElement:["media"],HTMLMenuElement:["menu"],HTMLMenuItemElement:["menuitem"],HTMLMetaElement:["meta"],HTMLMeterElement:["meter"],HTMLModElement:["del","ins"],HTMLOListElement:["ol"],HTMLObjectElement:["object"],HTMLOptGroupElement:["optgroup"],HTMLOptionElement:["option"],HTMLOutputElement:["output"],HTMLParagraphElement:["p"],HTMLParamElement:["param"],HTMLPictureElement:["picture"],HTMLPreElement:["pre"],HTMLProgressElement:["progress"],HTMLQuoteElement:["blockquote","q","quote"],HTMLScriptElement:["script"],HTMLSelectElement:["select"],HTMLShadowElement:["shadow"],HTMLSlotElement:["slot"],HTMLSourceElement:["source"],HTMLSpanElement:["span"],HTMLStyleElement:["style"],HTMLTableCaptionElement:["caption"],HTMLTableCellElement:["td","th"],HTMLTableColElement:["col","colgroup"],HTMLTableElement:["table"],HTMLTableRowElement:["tr"],HTMLTableSectionElement:["thead","tbody","tfoot"],HTMLTemplateElement:["template"],HTMLTextAreaElement:["textarea"],HTMLTimeElement:["time"],HTMLTitleElement:["title"],HTMLTrackElement:["track"],HTMLUListElement:["ul"],HTMLUnknownElement:["unknown","vhgroupv","vkeygen"],HTMLVideoElement:["video"]},nodes:{Attr:["node"],Audio:["audio"],CDATASection:["node"],CharacterData:["node"],Comment:["#comment"],Document:["#document"],DocumentFragment:["#document-fragment"],DocumentType:["node"],HTMLDocument:["#document"],Image:["img"],Option:["option"],ProcessingInstruction:["node"],ShadowRoot:["#shadow-root"],Text:["#text"],XMLDocument:["xml"]}});typeof t!="object"&&(t={type:t||"auto"});var s="registerElement",o="__"+s+(e.Math.random()*1e5>>0),u="addEventListener",a="attached",f="Callback",l="detached",c="extends",h="attributeChanged"+f,p=a+f,d="connected"+f,v="disconnected"+f,m="created"+f,g=l+f,y="ADDITION",b="MODIFICATION",w="REMOVAL",E="DOMAttrModified",S="DOMContentLoaded",x="DOMSubtreeModified",T="<",N="=",C=/^[A-Z][A-Z0-9]*(?:-[A-Z0-9]+)+$/,k=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],L=[],A=[],O="",M=n.documentElement,_=L.indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},D=r.prototype,P=D.hasOwnProperty,H=D.isPrototypeOf,B=r.defineProperty,j=[],F=r.getOwnPropertyDescriptor,I=r.getOwnPropertyNames,q=r.getPrototypeOf,R=r.setPrototypeOf,U=!!r.__proto__,z=!1,W="__dreCEv1",X=e.customElements,V=!/^force/.test(t.type)&&!!(X&&X.define&&X.get&&X.whenDefined),$=r.create||r,J=e.Map||function(){var t=[],n=[],r;return{get:function(e){return n[_.call(t,e)]},set:function(e,i){r=_.call(t,e),r<0?n[t.push(e)-1]=i:n[r]=i}}},K=e.Promise||function(e){function i(e){n=!0;while(t.length)t.shift()(e)}var t=[],n=!1,r={"catch":function(){return r},then:function(e){return t.push(e),n&&setTimeout(i,1),r}};return e(i),r},Q=!1,G=$(null),Y=$(null),Z=new J,et=function(e){return e.toLowerCase()},tt=r.create||function sn(e){return e?(sn.prototype=e,new sn):this},nt=R||(U?function(e,t){return e.__proto__=t,e}:I&&F?function(){function e(e,t){for(var n,r=I(t),i=0,s=r.length;i<s;i++)n=r[i],P.call(e,n)||B(e,n,F(t,n))}return function(t,n){do e(t,n);while((n=q(n))&&!H.call(n,t));return t}}():function(e,t){for(var n in t)e[n]=t[n];return e}),rt=e.MutationObserver||e.WebKitMutationObserver,it=(e.HTMLElement||e.Element||e.Node).prototype,st=!H.call(it,M),ot=st?function(e,t,n){return e[t]=n.value,e}:B,ut=st?function(e){return e.nodeType===1}:function(e){return H.call(it,e)},at=st&&[],ft=it.attachShadow,lt=it.cloneNode,ct=it.dispatchEvent,ht=it.getAttribute,pt=it.hasAttribute,dt=it.removeAttribute,vt=it.setAttribute,mt=n.createElement,gt=mt,yt=rt&&{attributes:!0,characterData:!0,attributeOldValue:!0},bt=rt||function(e){Nt=!1,M.removeEventListener(E,bt)},wt,Et=0,St=s in n&&!/^force-all/.test(t.type),xt=!0,Tt=!1,Nt=!0,Ct=!0,kt=!0,Lt,At,Ot,Mt,_t,Dt,Pt;St||(R||U?(Dt=function(e,t){H.call(t,e)||Xt(e,t)},Pt=Xt):(Dt=function(e,t){e[o]||(e[o]=r(!0),Xt(e,t))},Pt=Dt),st?(Nt=!1,function(){var e=F(it,u),t=e.value,n=function(e){var t=new CustomEvent(E,{bubbles:!0});t.attrName=e,t.prevValue=ht.call(this,e),t.newValue=null,t[w]=t.attrChange=2,dt.call(this,e),ct.call(this,t)},r=function(e,t){var n=pt.call(this,e),r=n&&ht.call(this,e),i=new CustomEvent(E,{bubbles:!0});vt.call(this,e,t),i.attrName=e,i.prevValue=n?r:null,i.newValue=t,n?i[b]=i.attrChange=1:i[y]=i.attrChange=0,ct.call(this,i)},i=function(e){var t=e.currentTarget,n=t[o],r=e.propertyName,i;n.hasOwnProperty(r)&&(n=n[r],i=new CustomEvent(E,{bubbles:!0}),i.attrName=n.name,i.prevValue=n.value||null,i.newValue=n.value=t[r]||null,i.prevValue==null?i[y]=i.attrChange=0:i[b]=i.attrChange=1,ct.call(t,i))};e.value=function(e,s,u){e===E&&this[h]&&this.setAttribute!==r&&(this[o]={className:{name:"class",value:this.className}},this.setAttribute=r,this.removeAttribute=n,t.call(this,"propertychange",i)),t.call(this,e,s,u)},B(it,u,e)}()):rt||(M[u](E,bt),M.setAttribute(o,1),M.removeAttribute(o),Nt&&(Lt=function(e){var t=this,n,r,i;if(t===e.target){n=t[o],t[o]=r=Ot(t);for(i in r){if(!(i in n))return At(0,t,i,n[i],r[i],y);if(r[i]!==n[i])return At(1,t,i,n[i],r[i],b)}for(i in n)if(!(i in r))return At(2,t,i,n[i],r[i],w)}},At=function(e,t,n,r,i,s){var o={attrChange:e,currentTarget:t,attrName:n,prevValue:r,newValue:i};o[s]=e,Rt(o)},Ot=function(e){for(var t,n,r={},i=e.attributes,s=0,o=i.length;s<o;s++)t=i[s],n=t.name,n!=="setAttribute"&&(r[n]=t.value);return r})),n[s]=function(t,r){p=t.toUpperCase(),xt&&(xt=!1,rt?(Mt=function(e,t){function n(e,t){for(var n=0,r=e.length;n<r;t(e[n++]));}return new rt(function(r){for(var i,s,o,u=0,a=r.length;u<a;u++)i=r[u],i.type==="childList"?(n(i.addedNodes,e),n(i.removedNodes,t)):(s=i.target,kt&&s[h]&&i.attributeName!=="style"&&(o=ht.call(s,i.attributeName),o!==i.oldValue&&s[h](i.attributeName,i.oldValue,o)))})}(Ft(a),Ft(l)),_t=function(e){return Mt.observe(e,{childList:!0,subtree:!0}),e},_t(n),ft&&(it.attachShadow=function(){return _t(ft.apply(this,arguments))})):(wt=[],n[u]("DOMNodeInserted",Ut(a)),n[u]("DOMNodeRemoved",Ut(l))),n[u](S,zt),n[u]("readystatechange",zt),it.cloneNode=function(e){var t=lt.call(this,!!e),n=It(t);return-1<n&&Pt(t,A[n]),e&&O.length&&jt(t.querySelectorAll(O)),t});if(Tt)return Tt=!1;-2<_.call(L,N+p)+_.call(L,T+p)&&$t(t);if(!C.test(p)||-1<_.call(k,p))throw new Error("The type "+t+" is invalid");var i=function(){return o?n.createElement(f,p):n.createElement(f)},s=r||D,o=P.call(s,c),f=o?r[c].toUpperCase():p,p,d;return o&&-1<_.call(L,T+f)&&$t(f),d=L.push((o?N:T)+p)-1,O=O.concat(O.length?",":"",o?f+'[is="'+t.toLowerCase()+'"]':f),i.prototype=A[d]=P.call(s,"prototype")?s.prototype:tt(it),O.length&&Bt(n.querySelectorAll(O),a),i},n.createElement=gt=function(e,t){var r=Yt(t),i=r?mt.call(n,e,et(r)):mt.call(n,e),s=""+e,o=_.call(L,(r?N:T)+(r||s).toUpperCase()),u=-1<o;return r&&(i.setAttribute("is",r=r.toLowerCase()),u&&(u=qt(s.toUpperCase(),r))),kt=!n.createElement.innerHTMLHelper,u&&Pt(i,A[o]),i}),Kt.prototype={constructor:Kt,define:V?function(e,t,n){if(n)Qt(e,t,n);else{var r=e.toUpperCase();G[r]={constructor:t,create:[r]},Z.set(t,r),X.define(e,t)}}:Qt,get:V?function(e){return X.get(e)||Gt(e)}:Gt,whenDefined:V?function(e){return K.race([X.whenDefined(e),en(e)])}:en};if(!X||/^force/.test(t.type))tn();else if(!t.noBuiltIn)try{(function(t,r,i){r[c]="a",t.prototype=tt(HTMLAnchorElement.prototype),t.prototype.constructor=t,e.customElements.define(i,t,r);if(ht.call(n.createElement("a",{is:i}),"is")!==i||V&&ht.call(new t,"is")!==i)throw r})(function on(){return Reflect.construct(HTMLAnchorElement,[],on)},{},"document-register-element-a")}catch(nn){tn()}if(!t.noBuiltIn)try{mt.call(n,"a","a")}catch(rn){et=function(e){return{is:e.toLowerCase()}}}})(window);
|
|
/*!
|
|
Element.closest and Element.matches
|
|
https://github.com/jonathantneal/closest
|
|
Creative Commons Zero v1.0 Universal
|
|
*/
|
|
(function(a){"function"!==typeof a.matches&&(a.matches=a.msMatchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||function(a){a=(this.document||this.ownerDocument).querySelectorAll(a);for(var b=0;a[b]&&a[b]!==this;)++b;return!!a[b]});"function"!==typeof a.closest&&(a.closest=function(a){for(var b=this;b&&1===b.nodeType;){if(b.matches(a))return b;b=b.parentNode}return null})})(window.Element.prototype);
|
|
/*!
|
|
Element.remove()
|
|
https://developer.mozilla.org/en-US/docs/Web/API/ChildNode/remove
|
|
*/
|
|
(function(b){b.forEach(function(a){a.hasOwnProperty("remove")||Object.defineProperty(a,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){null!==this.parentNode&&this.parentNode.removeChild(this)}})})})([Element.prototype,CharacterData.prototype,DocumentType.prototype]);
|
|
/*!
|
|
Array.prototype.find
|
|
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find
|
|
*/
|
|
Array.prototype.find||Object.defineProperty(Array.prototype,"find",{writable:!0,configurable:!0,value:function(c,e){if(null==this)throw new TypeError('"this" is null or not defined');var b=Object(this),f=b.length>>>0;if("function"!==typeof c)throw new TypeError("predicate must be a function");for(var a=0;a<f;){var d=b[a];if(c.call(e,d,a,b))return d;a++}}});
|
|
/*!
|
|
Array.prototype.includes
|
|
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/includes
|
|
*/
|
|
Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{writable:!0,configurable:!0,value:function(r,e){if(null==this)throw new TypeError('"this" is null or not defined');var t=Object(this),n=t.length>>>0;if(0===n)return!1;var i,o,a=0|e,u=Math.max(0<=a?a:n-Math.abs(a),0);for(;u<n;){if((i=t[u])===(o=r)||"number"==typeof i&&"number"==typeof o&&isNaN(i)&&isNaN(o))return!0;u++}return!1}});
|
|
/*!
|
|
Object.assign
|
|
*/
|
|
"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(d,f){if(null==d)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(d),b=1;b<arguments.length;b++){var a=arguments[b];if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(e[c]=a[c])}return e},writable:!0,configurable:!0});
|
|
/*!
|
|
Object.entries
|
|
*/
|
|
Object.entries||(Object.entries=function(c){for(var b=Object.keys(c),a=b.length,d=Array(a);a--;)d[a]=[b[a],c[b[a]]];return d});
|
|
/*!
|
|
String.prototype.startsWith
|
|
*/
|
|
String.prototype.startsWith||Object.defineProperty(String.prototype,"startsWith",{writable:!0,configurable:!0,value:function(b,a){return this.substr(!a||0>a?0:+a,b.length)===b}});
|
|
/*!
|
|
String.prototype.endsWith
|
|
*/
|
|
String.prototype.endsWith||Object.defineProperty(String.prototype,"endsWith",{writable:!0,configurable:!0,value:function(b,a){if(void 0===a||a>this.length)a=this.length;return this.substring(a-b.length,a)===b}});
|
|
/*!
|
|
es6-promise - a tiny implementation of Promises/A+.
|
|
Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
|
|
Licensed under MIT license
|
|
See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
|
|
v4.2.4+314e4831
|
|
*/
|
|
(window.ES6Promise=function(){function t(){var t=setTimeout;return function(){return t(r,1)}}function r(){for(var t=0;t<y;t+=2)(0,C[t])(C[t+1]),C[t]=void 0,C[t+1]=void 0;y=0}function e(t,r){var e=this,n=new this.constructor(o);void 0===n[O]&&_(n);var i=e._state;if(i){var s=arguments[i-1];g(function(){return v(i,n,s,e._result)})}else l(e,n,t,r);return n}function n(t){if(t&&"object"==typeof t&&t.constructor===this)return t;var r=new this(o);return u(r,t),r}function o(){}function i(t){try{return t.then}catch(t){return q.error=t,q}}function s(t,r,o){r.constructor===t.constructor&&o===e&&r.constructor.resolve===n?function(t,r){r._state===x?a(t,r._result):r._state===F?f(t,r._result):l(r,void 0,function(r){return u(t,r)},function(r){return f(t,r)})}(t,r):o===q?(f(t,q.error),q.error=null):void 0===o?a(t,r):"function"==typeof o?function(t,r,e){g(function(t){var n=!1,o=function(t,r,e,n){try{t.call(r,e,n)}catch(t){return t}}(e,r,function(e){n||(n=!0,r!==e?u(t,e):a(t,e))},function(r){n||(n=!0,f(t,r))},t._label);!n&&o&&(n=!0,f(t,o))},t)}(t,r,o):a(t,r)}function u(t,r){if(t===r)f(t,new TypeError("cannot resolve promise w/ itself"));else{var e=typeof r;null===r||"object"!==e&&"function"!==e?a(t,r):s(t,r,i(r))}}function c(t){t._onerror&&t._onerror(t._result),h(t)}function a(t,r){t._state===P&&(t._result=r,t._state=x,0!==t._subscribers.length&&g(h,t))}function f(t,r){t._state===P&&(t._state=F,t._result=r,g(c,t))}function l(t,r,e,n){var o=t._subscribers,i=o.length;t._onerror=null,o[i]=r,o[i+x]=e,o[i+F]=n,0===i&&t._state&&g(h,t)}function h(t){var r=t._subscribers,e=t._state;if(0!==r.length){for(var n,o,i=t._result,s=0;s<r.length;s+=3)n=r[s],o=r[s+e],n?v(e,n,o,i):o(i);t._subscribers.length=0}}function v(t,r,e,n){var o="function"==typeof e,i=void 0,s=void 0,c=void 0,l=void 0;if(o){try{i=e(n)}catch(t){q.error=t,i=q}if(i===q?(l=!0,s=i.error,i.error=null):c=!0,r===i)return void f(r,new TypeError("Cannot return same promise"))}else i=n,c=!0;r._state===P&&(o&&c?u(r,i):l?f(r,s):t===x?a(r,i):t===F&&f(r,i))}function _(t){t[O]=U++,t._state=void 0,t._result=void 0,t._subscribers=[]}var p,d=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},y=0,w=void 0,m=void 0,g=function(t,e){C[y]=t,C[y+1]=e,2===(y+=2)&&(m?m(r):T())},b=(p="undefined"!=typeof window?window:void 0)||{},A=b.MutationObserver||b.WebKitMutationObserver;b="undefined"==typeof self;var E,S,M,j="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,C=Array(1e3),T=void 0;T=A?(E=0,S=new A(r),M=document.createTextNode(""),S.observe(M,{characterData:!0}),function(){M.data=E=++E%2}):j?function(){var t=new MessageChannel;return t.port1.onmessage=r,function(){return t.port2.postMessage(0)}}():void 0===p&&"function"==typeof require?function(){try{var e=Function("return this")().require("vertx");return void 0!==(w=e.runOnLoop||e.runOnContext)?function(){w(r)}:t()}catch(r){return t()}}():t();var O=Math.random().toString(36).substring(2),P=void 0,x=1,F=2,q={error:null},U=0,D=function(){function t(t,r){this._instanceConstructor=t,this.promise=new t(o),this.promise[O]||_(this.promise),d(r)?(this._remaining=this.length=r.length,this._result=Array(this.length),0===this.length?a(this.promise,this._result):(this.length=this.length||0,this._enumerate(r),0===this._remaining&&a(this.promise,this._result))):f(this.promise,Error("Array Methods must be provided an Array"))}return t.prototype._enumerate=function(t){for(var r=0;this._state===P&&r<t.length;r++)this._eachEntry(t[r],r)},t.prototype._eachEntry=function(t,r){var u=this._instanceConstructor,c=u.resolve;c===n?(c=i(t))===e&&t._state!==P?this._settledAt(t._state,r,t._result):"function"!=typeof c?(this._remaining--,this._result[r]=t):u===K?(s(u=new u(o),t,c),this._willSettleAt(u,r)):this._willSettleAt(new u(function(r){return r(t)}),r):this._willSettleAt(c(t),r)},t.prototype._settledAt=function(t,r,e){var n=this.promise;n._state===P&&(this._remaining--,t===F?f(n,e):this._result[r]=e),0===this._remaining&&a(n,this._result)},t.prototype._willSettleAt=function(t,r){var e=this;l(t,void 0,function(t){return e._settledAt(x,r,t)},function(t){return e._settledAt(F,r,t)})},t}(),K=function(){function t(r){if(this[O]=U++,this._result=this._state=void 0,this._subscribers=[],o!==r){if("function"!=typeof r)throw new TypeError("Must pass a resolver fn as 1st arg");if(!(this instanceof t))throw new TypeError("Failed to construct 'Promise': Use the 'new' operator.");!function(t,r){try{r(function(r){u(t,r)},function(r){f(t,r)})}catch(r){f(t,r)}}(this,r)}}return t.prototype.catch=function(t){return this.then(null,t)},t.prototype.finally=function(t){var r=this.constructor;return this.then(function(e){return r.resolve(t()).then(function(){return e})},function(e){return r.resolve(t()).then(function(){throw e})})},t}();return K.prototype.then=e,K.all=function(t){return new D(this,t).promise},K.race=function(t){var r=this;return d(t)?new r(function(e,n){for(var o=t.length,i=0;i<o;i++)r.resolve(t[i]).then(e,n)}):new r(function(t,r){return r(new TypeError("Must pass array to race"))})},K.resolve=n,K.reject=function(t){var r=new this(o);return f(r,t),r},K._setScheduler=function(t){m=t},K._setAsap=function(t){g=t},K._asap=g,K.polyfill=function(){var t=void 0;if("undefined"!=typeof global)t=global;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(t){throw Error("polyfill failed")}var r=t.Promise;if(r){var e=null;try{e=Object.prototype.toString.call(r.resolve())}catch(t){}if("[object Promise]"===e&&!r.cast)return}t.Promise=K},K.Promise=K,K.polyfill(),K}());
|
|
/*!
|
|
whatwg-fetch, 2.0.3
|
|
https://github.com/github/fetch
|
|
Copyright (c) 2014-2016 GitHub, Inc. - MIT License
|
|
*/
|
|
(function(e){function l(a){"string"!==typeof a&&(a=String(a));if(/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(a))throw new TypeError("Invalid character in header field name");return a.toLowerCase()}function q(a){"string"!==typeof a&&(a=String(a));return a}function n(a){var b={next:function(){var b=a.shift();return{done:void 0===b,value:b}}};g.iterable&&(b[Symbol.iterator]=function(){return b});return b}function d(a){this.map={};a instanceof d?a.forEach(function(a,c){this.append(c,a)},this):Array.isArray(a)?
|
|
a.forEach(function(a){this.append(a[0],a[1])},this):a&&Object.getOwnPropertyNames(a).forEach(function(b){this.append(b,a[b])},this)}function p(a){if(a.bodyUsed)return Promise.reject(new TypeError("Already read"));a.bodyUsed=!0}function r(a){return new Promise(function(b,c){a.onload=function(){b(a.result)};a.onerror=function(){c(a.error)}})}function w(a){var b=new FileReader,c=r(b);b.readAsArrayBuffer(a);return c}function x(a){a=new Uint8Array(a);for(var b=Array(a.length),c=0;c<a.length;c++)b[c]=String.fromCharCode(a[c]);
|
|
return b.join("")}function t(a){if(a.slice)return a.slice(0);var b=new Uint8Array(a.byteLength);b.set(new Uint8Array(a));return b.buffer}function u(){this.bodyUsed=!1;this._initBody=function(a){if(this._bodyInit=a)if("string"===typeof a)this._bodyText=a;else if(g.blob&&Blob.prototype.isPrototypeOf(a))this._bodyBlob=a;else if(g.formData&&FormData.prototype.isPrototypeOf(a))this._bodyFormData=a;else if(g.searchParams&&URLSearchParams.prototype.isPrototypeOf(a))this._bodyText=a.toString();else if(g.arrayBuffer&&
|
|
g.blob&&y(a))this._bodyArrayBuffer=t(a.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else if(g.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(a)||z(a)))this._bodyArrayBuffer=t(a);else throw Error("unsupported BodyInit type");else this._bodyText="";this.headers.get("content-type")||("string"===typeof a?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):g.searchParams&&URLSearchParams.prototype.isPrototypeOf(a)&&
|
|
this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))};g.blob&&(this.blob=function(){var a=p(this);if(a)return a;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?p(this)||Promise.resolve(this._bodyArrayBuffer):
|
|
this.blob().then(w)});this.text=function(){var a=p(this);if(a)return a;if(this._bodyBlob){a=this._bodyBlob;var b=new FileReader,c=r(b);b.readAsText(a);return c}if(this._bodyArrayBuffer)return Promise.resolve(x(this._bodyArrayBuffer));if(this._bodyFormData)throw Error("could not read FormData body as text");return Promise.resolve(this._bodyText)};g.formData&&(this.formData=function(){return this.text().then(A)});this.json=function(){return this.text().then(JSON.parse)};return this}function k(a,b){b=
|
|
b||{};var c=b.body;if(a instanceof k){if(a.bodyUsed)throw new TypeError("Already read");this.url=a.url;this.credentials=a.credentials;b.headers||(this.headers=new d(a.headers));this.method=a.method;this.mode=a.mode;c||null==a._bodyInit||(c=a._bodyInit,a.bodyUsed=!0)}else this.url=String(a);this.credentials=b.credentials||this.credentials||"omit";if(b.headers||!this.headers)this.headers=new d(b.headers);var v=b.method||this.method||"GET",g=v.toUpperCase();this.method=-1<B.indexOf(g)?g:v;this.mode=
|
|
b.mode||this.mode||null;this.referrer=null;if(("GET"===this.method||"HEAD"===this.method)&&c)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(c)}function A(a){var b=new FormData;a.trim().split("&").forEach(function(a){if(a){var c=a.split("=");a=c.shift().replace(/\+/g," ");c=c.join("=").replace(/\+/g," ");b.append(decodeURIComponent(a),decodeURIComponent(c))}});return b}function C(a){var b=new d;a.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(a){var c=
|
|
a.split(":");if(a=c.shift().trim())c=c.join(":").trim(),b.append(a,c)});return b}function h(a,b){b||(b={});this.type="default";this.status=void 0===b.status?200:b.status;this.ok=200<=this.status&&300>this.status;this.statusText="statusText"in b?b.statusText:"OK";this.headers=new d(b.headers);this.url=b.url||"";this._initBody(a)}if(!e.fetch){var D="Symbol"in e&&"iterator"in Symbol,m;if(m="FileReader"in e&&"Blob"in e)try{new Blob,m=!0}catch(a){m=!1}var g={searchParams:"URLSearchParams"in e,iterable:D,
|
|
blob:m,formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(g.arrayBuffer){var E="[object Int8Array];[object Uint8Array];[object Uint8ClampedArray];[object Int16Array];[object Uint16Array];[object Int32Array];[object Uint32Array];[object Float32Array];[object Float64Array]".split(";");var y=function(a){return a&&DataView.prototype.isPrototypeOf(a)};var z=ArrayBuffer.isView||function(a){return a&&-1<E.indexOf(Object.prototype.toString.call(a))}}d.prototype.append=function(a,b){a=l(a);b=q(b);var c=
|
|
this.map[a];this.map[a]=c?c+","+b:b};d.prototype["delete"]=function(a){delete this.map[l(a)]};d.prototype.get=function(a){a=l(a);return this.has(a)?this.map[a]:null};d.prototype.has=function(a){return this.map.hasOwnProperty(l(a))};d.prototype.set=function(a,b){this.map[l(a)]=q(b)};d.prototype.forEach=function(a,b){for(var c in this.map)this.map.hasOwnProperty(c)&&a.call(b,this.map[c],c,this)};d.prototype.keys=function(){var a=[];this.forEach(function(b,c){a.push(c)});return n(a)};d.prototype.values=
|
|
function(){var a=[];this.forEach(function(b){a.push(b)});return n(a)};d.prototype.entries=function(){var a=[];this.forEach(function(b,c){a.push([c,b])});return n(a)};g.iterable&&(d.prototype[Symbol.iterator]=d.prototype.entries);var B="DELETE GET HEAD OPTIONS POST PUT".split(" ");k.prototype.clone=function(){return new k(this,{body:this._bodyInit})};u.call(k.prototype);u.call(h.prototype);h.prototype.clone=function(){return new h(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),
|
|
url:this.url})};h.error=function(){var a=new h(null,{status:0,statusText:""});a.type="error";return a};var F=[301,302,303,307,308];h.redirect=function(a,b){if(-1===F.indexOf(b))throw new RangeError("Invalid status code");return new h(null,{status:b,headers:{location:a}})};e.Headers=d;e.Request=k;e.Response=h;e.fetch=function(a,b){return new Promise(function(c,d){var e=new k(a,b),f=new XMLHttpRequest;f.onload=function(){var a={status:f.status,statusText:f.statusText,headers:C(f.getAllResponseHeaders()||
|
|
"")};a.url="responseURL"in f?f.responseURL:a.headers.get("X-Request-URL");c(new h("response"in f?f.response:f.responseText,a))};f.onerror=function(){d(new TypeError("Network request failed"))};f.ontimeout=function(){d(new TypeError("Network request failed"))};f.open(e.method,e.url,!0);"include"===e.credentials?f.withCredentials=!0:"omit"===e.credentials&&(f.withCredentials=!1);"responseType"in f&&g.blob&&(f.responseType="blob");e.headers.forEach(function(a,b){f.setRequestHeader(b,a)});f.send("undefined"===
|
|
typeof e._bodyInit?null:e._bodyInit)})};e.fetch.polyfill=!0}})("undefined"!==typeof self?self:window);
|
|
/*! Built with http://stenciljs.com */
|
|
(function(Context,namespace,hydratedCssClass,resourcesUrl,s){"use strict";
|
|
s=document.querySelector("script[data-namespace='ionicons']");if(s){resourcesUrl=s.getAttribute('data-resources-url');}
|
|
this&&this.n||(Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r])}),function(n,t,r,e){"use strict";function i(n,t,r){var e=r.style;if(e){var i=r.is+(r.styleMode||q);t[i]||(t[i]=e)}}function u(n){return{t:n[0],r:n[1],e:!!n[2],i:!!n[3],u:!!n[4]}}function o(n,t){if(I(t)&&"object"!=typeof t&&"function"!=typeof t){if(n===Boolean||3===n)return"false"!==t&&(""===t||!!t);if(n===Number||4===n)return parseFloat(t);if(n===String||2===n)return t.toString()}return t}function f(n,t,r,e){var i=n.o.get(t);i&&((e=i["s-ld"]||i.$activeLoading)&&((r=e.indexOf(t))>-1&&e.splice(r,1),e.length||(i["s-init"]&&i["s-init"](),i.$initLoad&&i.$initLoad())),n.o.delete(t))}function c(n,t,r){for(var e,i,u=null,o=!1,f=!1,c=arguments.length;c-- >2;)H.push(arguments[c]);for(;H.length>0;)if((r=H.pop())&&void 0!==r.pop)for(c=r.length;c--;)H.push(r[c]);else"boolean"==typeof r&&(r=null),(f="function"!=typeof n)&&(null==r?r="":"number"==typeof r?r=String(r):"string"!=typeof r&&(f=!1)),f&&o?u[u.length-1].f+=r:null===u?u=[f?{f:r}:r]:u.push(f?{f:r}:r),o=f;if(null!=t){if(t.className&&(t.class=t.className),"object"==typeof t.class){for(c in t.class)t.class[c]&&H.push(c);t.class=H.join(" "),H.length=0}null!=t.c&&(e=t.c),null!=t.name&&(i=t.name)}return"function"==typeof n?n(Object.assign({},t,{children:u}),z):{a:n,s:u,f:void 0,l:t,v:e,p:i,d:void 0,m:!1}}function a(n,t,r,e){t.split(" ").forEach(function(t){n[t]=!0,r&&(n[t+"-"+r]=!0,e&&(n[t+"-"+r+"-"+e]=n[t+"-"+e]=!0))})}function s(n,t){n.b.has(t)||(n.b.set(t,!0),n.y?n.queue.write(function(){return l(n,t)}):n.queue.tick(function(){return l(n,t)}))}function l(n,t,r,e,i,u){if(n.b.delete(t),!n.w.has(t)){if(e=n.g.get(t),r=!e){if((i=n.o.get(t))&&i.$rendered&&(i["s-rn"]=!0),i&&!i["s-rn"])return(i["s-rc"]=i["s-rc"]||[]).push(function(){l(n,t)}),void(i.$onRender=i["s-rc"]);e=function o(n,t,r,e,i,u,f){try{(function c(n,t,r,e,i,u,o){for(o in n.k.set(e,r),n.M.has(r)||n.M.set(r,{}),(u=Object.assign({color:{type:String}},t.properties)).mode={type:String},u)h(n,u[o],r,e,o,i)})(n,i=n.O(t).j,t,e=new i,r)}catch(r){e={},n.C(r,7,t,!0)}return n.g.set(t,e),e}(n,t,n.x.get(t));try{e.componentWillLoad&&(u=e.componentWillLoad())}catch(r){n.C(r,3,t)}}u&&u.then?u.then(function(){return v(n,t,e,r)}):v(n,t,e,r)}}function v(n,t,r,e){(function i(n,t,r,e,u){try{var o=t.j.host;if(e.render||e.hostData||o){n.W=!0;var f=e.render&&e.render(),s=void 0;s=e.hostData&&e.hostData(),n.W=!1,o&&(s=function l(n,t,r){return n=n||{},Object.keys(t).forEach(function(e){"theme"===e?a(n.class=n.class||{},t[e],r.mode,r.color):"class"===e?a(n[e]=n[e]||{},t[e]):n[e]=t[e]}),n}(s,o,e));var v=n.N.get(r)||{};v.d=r;var h=c(null,s,f);n.N.set(r,n.render(v,h,u,t.j.encapsulation))}n.A(n,n.T,t,e.mode,r),r["s-rn"]=!0,r.$onRender&&(r["s-rc"]=r.$onRender),r["s-rc"]&&(r["s-rc"].forEach(function(n){return n()}),r["s-rc"]=null)}catch(t){n.W=!1,n.C(t,8,r,!0)}})(n,n.O(t),t,r,!e);try{e?t["s-init"]():k(n.N.get(t))}catch(r){n.C(r,6,t,!0)}}function h(n,t,r,e,i,u,f,c){if(t.type||t.state){var a=n.M.get(r);t.state||(!t.attr||void 0!==a[i]&&""!==a[i]||(f=u&&u.S)&&I(c=f[t.attr])&&(a[i]=o(t.type,c)),r.hasOwnProperty(i)&&(void 0===a[i]&&(a[i]=o(t.type,r[i])),delete r[i])),e.hasOwnProperty(i)&&void 0===a[i]&&(a[i]=e[i]),t.watchCallbacks&&(a[F+i]=t.watchCallbacks.slice()),m(e,i,function s(t){return(t=n.M.get(n.k.get(this)))&&t[i]},function l(r,e){(e=n.k.get(this))&&(t.state||t.mutable)&&p(n,e,i,r)})}else if(t.elementRef)d(e,i,r);else if(t.context){var v=n._(t.context);void 0!==v&&d(e,i,v.q&&v.q(r)||v)}}function p(n,t,r,e,i,u,o){(i=n.M.get(t))||n.M.set(t,i={});var f=i[r];if(e!==f&&(i[r]=e,u=n.g.get(t))){if(o=i[F+r])for(var c=0;c<o.length;c++)try{u[o[c]].call(u,e,f,r)}catch(n){}!n.W&&t["s-rn"]&&s(n,t)}}function d(n,t,r){Object.defineProperty(n,t,{configurable:!0,value:r})}function m(n,t,r,e){Object.defineProperty(n,t,{configurable:!0,get:r,set:e})}function b(n,t,r,e,i,u,o,f,c,a){if("class"!==r||u)if("style"===r){for(f in e=e||L,i=i||L,e)i[f]||(t.style[f]="");for(f in i)i[f]!==e[f]&&(t.style[f]=i[f])}else"o"!==r[0]||"n"!==r[1]||!/[A-Z]/.test(r[2])||r in t?"list"!==r&&"type"!==r&&!u&&(r in t||-1!==["object","function"].indexOf(typeof i)&&null!==i)?(a=n.O(t))&&a.L&&a.L[r]?y(t,r,i):"ref"!==r&&(y(t,r,null==i?"":i),null!=i&&!1!==i||t.removeAttribute(r)):null!=i?function s(n,t,r,e,i){var u=t!==(t=t.replace(/^xlink\:?/,"")),o=U[t]||e;o&&(!r||"false"===r)||i?u?n.removeAttributeNS(Z,B(t)):n.removeAttribute(t):"function"!=typeof r&&(o&&(r=""),u?n.setAttributeNS(Z,B(t),r):n.setAttribute(t,r))}(t,r,i):!u||null!=i&&!1!==i||n.T.P(t,r):(r=B(r)in t?B(r.substring(2)):B(r[2])+r.substring(3),i?i!==e&&n.T.R(t,r,i):n.T.I(t,r));else if(e!==i){var l=null==e||""===e?P:e.trim().split(/\s+/),v=null==i||""===i?P:i.trim().split(/\s+/),h=null==t.className||""===t.className?P:t.className.trim().split(/\s+/);for(f=0,c=l.length;f<c;f++)-1===v.indexOf(l[f])&&(h=h.filter(function(n){return n!==l[f]}));for(f=0,c=v.length;f<c;f++)-1===l.indexOf(v[f])&&(h=h.concat([v[f]]));t.className=h.join(" ")}}function y(n,t,r){try{n[t]=r}catch(n){}}function w(n,t,r,e,i){var u=11===r.d.nodeType&&r.d.host?r.d.host:r.d,o=t&&t.l||L,f=r.l||L;for(i in o)f&&null!=f[i]||null==o[i]||b(n,u,i,o[i],void 0,e,r.m);for(i in f)i in o&&f[i]===("value"===i||"checked"===i?u[i]:o[i])||b(n,u,i,o[i],f[i],e,r.m)}function g(n,t){function r(i,u,o,f,c,l,v,m,b){if(m=u.s[o],a||(h=!0,"slot"===m.a&&(s&&t.B(f,s+"-slot",""),m.s?m.D=!0:m.H=!0)),I(m.f))m.d=t.z(m.f);else if(m.H)m.d=t.z("");else{if(l=m.d=Q||"svg"===m.a?t.F("http://www.w3.org/2000/svg",m.a):t.U(m.D?"slot-fb":m.a),Q="svg"===m.a||"foreignObject"!==m.a&&Q,w(n,null,m,Q),I(s)&&l["s-si"]!==s&&t.B(l,l["s-si"]=s,""),m.s)for(c=0;c<m.s.length;++c)(v=r(i,m,c,l))&&t.Z(l,v);"svg"===m.a&&(Q=!1)}return m.d["s-hn"]=p,(m.D||m.H)&&(m.d["s-sr"]=!0,m.d["s-cr"]=d,m.d["s-sn"]=m.p||"",(b=i&&i.s&&i.s[o])&&b.a===m.a&&i.d&&e(i.d)),m.d}function e(r,i,u,o){n.Q=!0;var a=t.G(r);for(u=a.length-1;u>=0;u--)(o=a[u])["s-hn"]!==p&&o["s-ol"]&&(t.J(o),t.K(c(o),o,f(o)),t.J(o["s-ol"]),o["s-ol"]=null,h=!0),i&&e(o,i);n.Q=!1}function i(n,e,i,u,o,c,a,s){var l=n["s-cr"]||n.$defaultHolder;for((a=l&&t.V(l)||n).shadowRoot&&(a=a.shadowRoot);o<=c;++o)u[o]&&(s=I(u[o].f)?t.z(u[o].f):r(null,i,o,n))&&(u[o].d=s,t.K(a,s,f(e)))}function u(n,r,i,u){for(;r<=i;++r)I(n[r])&&(u=n[r].d,v=!0,u["s-ol"]?t.J(u["s-ol"]):e(u,!0),t.J(u))}function o(n,t){return n.a===t.a&&n.v===t.v&&("slot"!==n.a||n.p===t.p)}function f(n){return n&&n["s-ol"]?n["s-ol"]:n}function c(n){return t.V(n["s-ol"]?n["s-ol"]:n)}var a,s,l,v,h,p,d,m=[];return function a(b,y,g,k,M,$,j,O,C){if(l=g,p=t.X(b.d),d=b.d["s-cr"],s="scoped"===k||"shadow"===k&&!t.Y?"data-"+t.X(b.d):null,h=v=!1,l||s&&t.B(b.d,s+"-host",""),function a(s,l,v){var h=l.d=s.d,p=s.s,d=l.s;Q=l.d&&I(t.nn(l.d))&&void 0!==l.d.ownerSVGElement,Q="svg"===l.a||"foreignObject"!==l.a&&Q,I(l.f)?(v=h["s-cr"]||h.$defaultHolder)?t.tn(t.V(v),l.f):s.f!==l.f&&t.tn(h,l.f):("slot"!==l.a&&w(n,s,l,Q),I(p)&&I(d)?function m(n,s,l,v,h,p,d,b){for(var y=0,w=0,g=s.length-1,k=s[0],M=s[g],$=v.length-1,j=v[0],O=v[$];y<=g&&w<=$;)if(null==k)k=s[++y];else if(null==M)M=s[--g];else if(null==j)j=v[++w];else if(null==O)O=v[--$];else if(o(k,j))a(k,j),k=s[++y],j=v[++w];else if(o(M,O))a(M,O),M=s[--g],O=v[--$];else if(o(k,O))"slot"!==k.a&&"slot"!==O.a||e(t.V(k.d)),a(k,O),t.K(n,k.d,t.rn(M.d)),k=s[++y],O=v[--$];else if(o(M,j))"slot"!==k.a&&"slot"!==O.a||e(t.V(M.d)),a(M,j),t.K(n,M.d,k.d),M=s[--g],j=v[++w];else{for(h=null,p=y;p<=g;++p)if(s[p]&&I(s[p].v)&&s[p].v===j.v){h=p;break}I(h)?((b=s[h]).a!==j.a?d=r(s&&s[w],l,h,n):(a(b,j),s[h]=void 0,d=b.d),j=v[++w]):(d=r(s&&s[w],l,w,n),j=v[++w]),d&&t.K(c(k.d),d,f(k.d))}y>g?i(n,null==v[$+1]?null:v[$+1].d,l,v,w,$):w>$&&u(s,y,g)}(h,p,l,d):I(d)?(I(s.f)&&t.tn(h,""),i(h,null,l,d,0,d.length-1)):I(p)&&u(p,0,p.length-1)),Q&&"svg"===l.a&&(Q=!1)}(b,y),h){for(function n(r,e,i,u,o,f,c,a,s,l){for(o=0,f=(e=t.G(r)).length;o<f;o++){if((i=e[o])["s-sr"]&&(u=i["s-cr"]))for(a=t.G(t.V(u)),s=i["s-sn"],c=a.length-1;c>=0;c--)(u=a[c])["s-cn"]||u["s-nr"]||u["s-hn"]===i["s-hn"]||((3===(l=t.en(u))||8===l)&&""===s||1===l&&null===t.in(u,"slot")&&""===s||1===l&&t.in(u,"slot")===s)&&(m.some(function(n){return n.un===u})||(v=!0,u["s-sn"]=s,m.push({on:i,un:u})));1===t.en(i)&&n(i)}}(y.d),$=0;$<m.length;$++)(j=m[$]).un["s-ol"]||((O=t.z(""))["s-nr"]=j.un,t.K(t.V(j.un),j.un["s-ol"]=O,j.un));for(n.Q=!0,$=0;$<m.length;$++){j=m[$];var x=t.V(j.on),W=t.rn(j.on);for(O=j.un["s-ol"];O=t.fn(O);)if((C=O["s-nr"])&&C["s-sn"]===j.un["s-sn"]&&x===t.V(C)){W=t.rn(C);break}(!W&&x!==t.V(j.un)||t.rn(j.un)!==W)&&j.un!==W&&(t.J(j.un),t.K(x,j.un,W))}n.Q=!1}return v&&function n(r,e,i,u,o,f,c,a){for(u=0,o=(i=t.G(r)).length;u<o;u++)if(e=i[u],1===t.en(e)){if(e["s-sr"])for(c=e["s-sn"],e.hidden=!1,f=0;f<o;f++)if(i[f]["s-hn"]!==e["s-hn"])if(a=t.en(i[f]),""!==c){if(1===a&&c===t.in(i[f],"slot")){e.hidden=!0;break}}else if(1===a||3===a&&""!==t.cn(i[f]).trim()){e.hidden=!0;break}n(e)}}(y.d),m.length=0,y}}function k(n,t){n&&(n.l&&n.l.ref&&n.l.ref(t?null:n.d),n.s&&n.s.forEach(function(n){k(n,t)}))}function M(n,t,r,e,i){var u,o,f,c,a=n.en(t);if(i&&1===a){(o=n.in(t,_))&&(f=o.split("."))[0]===e&&((c={}).a=n.X(c.d=t),r.s||(r.s=[]),r.s[f[1]]=c,r=c,i=""!==f[2]);for(var s=0;s<t.childNodes.length;s++)M(n,t.childNodes[s],r,e,i)}else 3===a&&(u=t.previousSibling)&&8===n.en(u)&&"s"===(f=n.cn(u).split("."))[0]&&f[1]===e&&((c={f:n.cn(t)}).d=t,r.s||(r.s=[]),r.s[f[2]]=c)}function $(n,t,r,e,i){return r["s-cr"]||n.in(r,S)||function u(n,t){return n&&1===t.encapsulation}(n.Y,t)||(r["s-cr"]=n.z(""),r["s-cr"]["s-cn"]=!0,n.K(r,r["s-cr"],n.G(r)[0])),n.Y||1!==t.encapsulation||(r.shadowRoot=r),e={an:r["s-id"],S:{}},t.L&&Object.keys(t.L).forEach(function(u){(i=t.L[u].sn)&&(e.S[i]=n.in(r,i))}),e}function j(n,t,r,e){r.connectedCallback=function(){(function r(n,t,e){n.w.delete(e),n.ln.has(e)||(n.ln.set(e,!0),e["s-id"]||(e["s-id"]=n.vn()),function i(n,t,r){for(r=t;r=n.T.nn(r);)if(n.hn(r)){n.pn.has(t)||(n.o.set(t,r),r.$activeLoading&&(r["s-ld"]=r.$activeLoading),(r["s-ld"]=r["s-ld"]||[]).push(t));break}}(n,e),n.queue.tick(function(){return n.dn(t,e,$(n.T,t,e))}))})(n,t,this)},r.attributeChangedCallback=function(n,r,e){(function i(n,t,r,e,u,f,c){if(n&&e!==u)for(f in n)if((c=n[f]).sn&&B(c.sn)===B(r)){t[f]=o(c.mn,u);break}})(t.L,this,n,r,e)},r.disconnectedCallback=function(){(function t(n,r,e){!n.Q&&function i(n,t){for(;t;){if(!n.V(t))return 9!==n.en(t);t=n.V(t)}}(n.T,r)&&(n.w.set(r,!0),f(n,r),k(n.N.get(r),!0),n.T.I(r),n.bn.delete(r),[n.o,n.yn,n.x].forEach(function(n){return n.delete(r)}))})(n,this)},r["s-init"]=function(){(function t(n,r,e,i,u){if(function n(t,r){for(var e=0;e<r.childNodes.length;e++)if(1===r.childNodes[e].nodeType){if(t.O(r.childNodes[e])&&!t.ln.has(r.childNodes[e]))return!1;if(!n(t,r.childNodes[e]))return!1}return!0}(n,r)&&!n.pn.has(r)&&n.g.get(r)&&!n.w.has(r)&&(!r["s-ld"]||!r["s-ld"].length)){delete r["s-ld"],n.pn.set(r,!0);try{k(n.N.get(r)),(u=n.yn.get(r))&&(u.forEach(function(n){return n(r)}),n.yn.delete(r))}catch(t){n.C(t,4,r)}r.classList.add(e),f(n,r)}})(n,this,e)},r.forceUpdate=function(){s(n,this)},function i(n,t,r){t&&Object.keys(t).forEach(function(e){var i=t[e],u=i.wn;1===u||2===u?m(r,e,function t(){return(n.M.get(this)||{})[e]},function t(r){p(n,this,e,o(i.mn,r))}):6===u&&d(r,e,D)})}(n,t.L,r)}function O(n,t,r,e){return function(){var i=arguments;return function u(n,t,r){return new Promise(function(e){var i=t[r];i||(i=n.gn.querySelector(r)),i||(i=t[r]=n.U(r),n.Z(n.gn,i)),i.componentOnReady(e)})}(n,t,r).then(function(n){return n[e].apply(n,i)})}}function C(n,t,r){var e=r.href;return fetch(e).then(function(n){return n.text()}).then(function(i){if(function u(n){return n.indexOf("var(")>-1||G.test(n)}(i)){var o=n.createElement("style");return function f(n){return J.test(n)}(i)&&(i=function c(n,t){var r=t.replace(/[^/]*$/,"");return n.replace(J,function(n,t){var e=r+t;return n.replace(t,e)})}(i,e)),o.innerHTML=i,r.parentNode.insertBefore(o,r),t.kn(o).then(function(){r.parentNode.removeChild(r)})}return Promise.resolve()}).catch(function(n){})}function x(n){return function n(t,r){var e=r.substring(t.Mn,t.$n-1);if(t.jn=t.On=e.trim(),t.Cn){var i=t.xn?t.xn.$n:t.Cn.Mn;e=(e=(e=function u(n){return n.replace(/\\([0-9a-f]{1,6})\s/gi,function(){for(var n=arguments[1],t=6-n.length;t--;)n="0"+n;return"\\"+n})}(e=r.substring(i,t.Mn-1))).replace(on," ")).substring(e.lastIndexOf(";")+1);var o=t.Wn=t.En=e.trim();t.Nn=0===o.indexOf(an),t.Nn?0===o.indexOf(cn)?t.type=4:o.match(un)&&(t.type=7,t.An=t.En.split(on).pop()):0===o.indexOf(fn)?t.type=1e3:t.type=1}var f=t.Tn;if(f)for(var c=0,a=f.length,s=void 0;c<a&&(s=f[c]);c++)n(s,r);return t}(function r(n){var t=new K;t.Mn=0,t.$n=n.length;for(var r=t,e=0,i=n.length;e<i;e++)if(n[e]===X){r.Tn||(r.Tn=[]);var u=r,o=u.Tn[u.Tn.length-1]||null;(r=new K).Mn=e+1,r.Cn=u,r.xn=o,u.Tn.push(r)}else n[e]===Y&&(r.$n=e+1,r=r.Cn||t);return t}(n=function t(n){return n.replace(nn,"").replace(tn,"")}(n)),n)}function W(n){return n.replace(rn,"")}function E(n){return!n.Sn&&n.textContent&&(n.Sn=x(n.textContent)),n.Sn||null}function N(n,t,r,e,i){if(t){var u=!1,o=t.type;if(i&&4===o){var f=t.En.match(ln);f&&(n.matchMedia(f[1]).matches||(u=!0))}1===o?r(t):e&&7===o?e(t):1e3===o&&(u=!0);var c=t.Tn;if(c&&!u)for(var a=0,s=c.length,l=void 0;a<s&&(l=c[a]);a++)N(n,l,r,e,i)}}function A(n,t){for(var r=0,e=t,i=n.length;e<i;e++)if("("===n[e])r++;else if(")"===n[e]&&0==--r)return e;return-1}var T,S="data-ssrv",_="data-ssrc",q="$",L={},P=[],R={enter:13,escape:27,space:32,tab:9,left:37,up:38,right:39,down:40},I=function(n){return null!=n},B=function(n){return n.toLowerCase()},D=function(){},H=[],z={getAttributes:function(n){return n.l},replaceAttributes:function(n,t){return n.l=t}},F="wc-",U={allowfullscreen:1,async:1,autofocus:1,autoplay:1,checked:1,controls:1,disabled:1,enabled:1,formnovalidate:1,hidden:1,multiple:1,noresize:1,readonly:1,required:1,selected:1,spellcheck:1},Z="http://www.w3.org/1999/xlink",Q=!1,G=/[\s;{]--[-a-zA-Z0-9]+\s*:/m,J=/url[\s]*\([\s]*['"]?(?!http)([^\'\"\)]*)[\s]*['"]?\)[\s]*/gim,K=function K(){this.Tn=null,this.Mn=0,this.$n=0,this.Cn=null,this.xn=null,this.jn="",this.On="",this.Wn="",this.Nn=!1,this.En="",this.type=0,this.An=""},V=function(){function n(n){this._n=n||null,this.qn=null}return n.get=function(n){return n?n[sn]:null},n.set=function(n,t){return n[sn]=t,t},n}(),X="{",Y="}",nn=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,tn=/@import[^;]*;/gim,rn=/(?:^[^;\-\s}]+)?--[\w-]*?\s*:\s*(?:(?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+(?:[;\n]|$))/gim,en=/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,un=/^@[^\s]*keyframes/,on=/\s+/g,fn="--",cn="@media",an="@",sn="__styleInfo",ln=/@media\s(.*)/,vn=function(){function n(n){var t;this.Ln=n,this.Pn="__!__",this.matchesSelector=(t=n.Element.prototype).matches||t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.webkitMatchesSelector}return n.prototype.Rn=function(n){if(n.In)return n.In;var t={},r={};return this.Bn(n,r)&&(t.properties=r,n.Tn=null),t.On=n.jn,n.In=t,t},n.prototype.Bn=function(n,t){var r=n.In;if(!r){for(var e=void 0,i=n.jn,u=void 0,o=void 0;e=hn.exec(i);)"inherit"===(u=(e[2]||e[3]).trim())&&"unset"===u||(t[e[1].trim()]=u),o=!0;return o}if(r.properties)return Object.assign(t,r.properties),!0},n.prototype.Dn=function(n){for(var t=Object.getOwnPropertyNames(n),r=0,e=void 0;r<t.length;r++)n[e=t[r]]=this.Hn(n[e],n)},n.prototype.zn=function(n){return this.Fn(n).length>2},n.prototype.Hn=function(n,t){var r=this;return n&&(n=this.zn(n)?this.Un(n,t):function n(t,r){var e=t.indexOf("var(");if(-1===e)return r(t,"","","");var i=A(t,e+3),u=t.substring(e+4,i),o=t.substring(0,e),f=n(t.substring(i+1),r),c=u.indexOf(",");return-1===c?r(o,u.trim(),"",f):r(o,u.substring(0,c).trim(),u.substring(c+1).trim(),f)}(n,function(n,e,i,u){if(!e)return n+u;var o=r.Hn(t[e],t);return o&&"initial"!==o||(o=r.Hn(t[i]||i,t)||i),n+(o||"")+u})),n&&n.trim()||""},n.prototype.Zn=function(n,t){var r=n.indexOf("(",t);if(-1===r)return n;var e=A(n,r),i=n.substr(r,e-r),u=i.replace(";",this.Pn),o=n.replace(i,u);return this.Zn(o,e+2)},n.prototype.Fn=function(n){var t=this;return this.Zn(n,0).split(";").map(function(n){return n.replace(t.Pn,";")})},n.prototype.Un=function(n,t){for(var r=this.Fn(n),e=0,i=void 0;e<r.length;e++)if(i=r[e]){var u=i.indexOf(":");if(-1!==u){var o=i.substring(u);o=o.trim(),o=this.Hn(o,t)||o,i=i.substring(0,u)+o}r[e]=i&&i.lastIndexOf(";")===i.length-1?i.slice(0,-1):i||""}return r.join(";")},n.prototype.Qn=function(n,t){var r=this,e={},i=[];return N(this.Ln,n,function(n){n.In||r.Rn(n);try{var u=n.Gn||n.Wn;t&&n.In.properties&&u&&r.matchesSelector.call(t,u)&&(r.Bn(n,e),function o(n,t){var r=parseInt(n/32,10),e=1<<n%32;t[r]=(t[r]||0)|e}(n.Jn,i))}catch(n){}},null,!0),{properties:e,c:i}},n.prototype.Kn=function(n,t){var r=this,e=E(n);n.textContent=function i(n,t,r){return t?("string"==typeof t&&(t=x(t)),r&&N(n,t,r),function n(t,r,e){void 0===e&&(e="");var i="";if(t.On||t.Tn){var u=t.Tn;if(u)for(var o=0,f=u.length,c=void 0;o<f&&(c=u[o]);o++)i=n(c,r,i);else(i=(i=r?t.On:function a(n){return function t(n){return n.replace(en,"")}(n=W(n))}(t.On)).trim())&&(i=" "+i+"\n")}return i&&(t.En&&(e+=t.En+" "+X+"\n"),e+=i,t.En&&(e+=Y+"\n\n")),e}(t,!1)):""}(this.Ln,e,function(n){var e=n.On=n.jn;n.In&&n.In.On&&(e=W(e),n.On=r.Un(e,t))})},n}(),hn=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,pn=function(){function n(n,t){if(this.Ln=n,this.Vn=t,this.Xn=[],this.Yn=!1,this.nt=[],this.tt=!!(n.CSS&&n.CSS.supports&&n.CSS.supports("color","var(--c)")),!this.tt){this.rt=t.documentElement;var r=new K;r.Tn=[],this.et=V.set(this.rt,new V(r)),this.qn=new vn(n)}}return n.prototype.it=function(n){var t=this;this.tt?n&&n():this.Ln.requestAnimationFrame(function(){for(var r=[],e=t.Vn.querySelectorAll('link[rel="stylesheet"][href]'),i=0;i<e.length;i++)r.push(C(t.Vn,t,e[i]));var u=t.Vn.querySelectorAll("style");for(i=0;i<u.length;i++)r.push(t.kn(u[i]));Promise.all(r).then(function(){n&&n()})})},n.prototype.ut=function(){var n=this.ot();if(this.Yn)for(this.ft(this.rt,this.et),this.ct(n),this.Yn=!1;this.nt.length;)this.nt.shift()()},n.prototype.ct=function(n){for(var t=0;t<n.length;t++){var r=n[t],e=this.at(r);e&&this.qn.Kn(e,this.et.qn)}},n.prototype.ft=function(n,t){var r=this.rt,e=V.get(r),i=e.qn,u=Object.create(i||null),o=this.qn.Qn(e._n,n).properties;Object.assign(u,o),this.qn.Dn(u),t.qn=u},n.prototype.kn=function(n){var t=this;return new Promise(function(r){n.st?r():(n.st=!0,t.Xn.push(n),t.nt.push(r),t.Yn||(t.Yn=!0,t.Ln.requestAnimationFrame(function(){t.Yn&&t.ut()})))})},n.prototype.at=function(n){return n.lt?n.lt:n.getStyle?n.getStyle():n},n.prototype.ot=function(){for(var n=this.Xn,t=0;t<n.length;t++){var r=n[t];if(!r.lt){var e=this.at(r);e&&(this.vt(e),r.lt=e)}}return n},n.prototype.vt=function(n){var t=E(n);this.et._n.Tn.push(t)},n}();T=new pn(n,t),function dn(n,t,r,e,o,f,a){function l(n,t){if(!T[n.ht]){T[n.ht]=!0,j(L,w[n.ht]=n,t.prototype,f);var e=[];for(var i in n.L)n.L[i].sn&&e.push(n.L[i].sn);t.observedAttributes=e,r.customElements.define(n.ht,t)}}function v(n){return null==n?null:C.get(n.replace(/^\.\//,""))}function h(n){return"exports"===n||"require"===n||!!v(n)}function p(n,t,r){var e={};try{r.apply(null,t.map(function(n){return"exports"===n?e:"require"===n?d:v(n)}))}catch(n){}void 0!==n&&(function u(n,t){C.set(n,t)}(n,e),n&&!n.endsWith(".js")&&Object.keys(e).forEach(function(n){for(var t=n.replace(/-/g,"").toLowerCase(),r=Object.keys(w),u=0;u<r.length;u++)if(r[u].replace(/-/g,"").toLowerCase()===t){var o=w[r[u]];o&&(o.j=e[n],i(0,o,o.j));break}}))}function d(n,t){m(void 0,n,t)}function m(n,t,r){var e=t.filter(function(n){return!h(n)});e.forEach(function(n){y(o+n.replace(".js",".es5.js"))}),k.push([n,t,r]),0===e.length&&function i(){for(var n=k.length-1;n>=0;n--){var t=k[n],r=t[0],e=t[1],i=t[2];e.every(h)&&!h(r)&&(k.splice(n,1),p(r,e,i))}}()}function b(n,t){y(o+t+(function r(n,t){return 2===t.encapsulation||1===t.encapsulation&&!n}(N.Y,n)?".sc":"")+".es5.js")}function y(n){function t(){clearTimeout(r),e.onerror=e.onload=null,N.J(e),x.delete(n)}var r,e;x.has(n)||(x.add(n),(e=N.U("script")).charset="utf-8",e.async=!0,e.src=n,r=setTimeout(t,12e4),e.onerror=e.onload=t,N.Z(N.pt,e))}var w={html:{}},k=[],C=new Map,x=new Set,W={},E=r[n]=r[n]||{},N=function A(n,t,r){n.dt||(n.dt=function(n,t,r,e){return n.addEventListener(t,r,e)},n.mt=function(n,t,r,e){return n.removeEventListener(t,r,e)});var e=new WeakMap,i={bt:r.documentElement,pt:r.head,gn:r.body,yt:!1,en:function(n){return n.nodeType},U:function(n){return r.createElement(n)},F:function(n,t){return r.createElementNS(n,t)},z:function(n){return r.createTextNode(n)},wt:function(n){return r.createComment(n)},K:function(n,t,r){return n.insertBefore(t,r)},J:function(n){return n.remove()},Z:function(n,t){return n.appendChild(t)},G:function(n){return n.childNodes},V:function(n){return n.parentNode},rn:function(n){return n.nextSibling},fn:function(n){return n.previousSibling},X:function(n){return B(n.nodeName)},cn:function(n){return n.textContent},tn:function(n,t){return n.textContent=t},in:function(n,t){return n.getAttribute(t)},B:function(n,t,r){return n.setAttribute(t,r)},gt:function(n,t,r,e){return n.setAttributeNS(t,r,e)},P:function(n,t){return n.removeAttribute(t)},kt:function(n,e){return"child"===e?n.firstElementChild:"parent"===e?i.nn(n):"body"===e?i.gn:"document"===e?r:"window"===e?t:n},R:function(t,r,u,o,f,c,a,s){var l=r,v=t,h=e.get(t);if(h&&h[l]&&h[l](),"string"==typeof c?v=i.kt(t,c):"object"==typeof c?v=c:(s=r.split(":")).length>1&&(v=i.kt(t,s[0]),r=s[1]),v){var p=u;(s=r.split(".")).length>1&&(r=s[0],p=function(n){n.keyCode===R[s[1]]&&u(n)}),a=i.yt?{capture:!!o,passive:!!f}:!!o,n.dt(v,r,p,a),h||e.set(t,h={}),h[l]=function(){v&&n.mt(v,r,p,a),h[l]=null}}},I:function(n,t){var r=e.get(n);r&&(t?r[t]&&r[t]():Object.keys(r).forEach(function(n){r[n]&&r[n]()}))}};return"function"!=typeof t.CustomEvent&&(t.CustomEvent=function(n,t,e){return(e=r.createEvent("CustomEvent")).initCustomEvent(n,t.bubbles,t.cancelable,t.detail),e},t.CustomEvent.prototype=t.Event.prototype),i.Mt=function(n,r,e){return n&&n.dispatchEvent(new t.CustomEvent(r,e))},i.nn=function(n,t){return(t=i.V(n))&&11===i.en(t)?t.host:t},i}(E,r,e);t.isServer=t.isPrerender=!(t.isClient=!0),t.window=r,t.location=r.location,t.document=e,t.resourcesUrl=t.publicPath=o,E.h=c,E.Context=t;var T=r.$definedCmps=r.$definedCmps||{},_=0,L={T:N,$t:l,jt:t.emit,O:function(n){return w[N.X(n)]},_:function(n){return t[n]},isClient:!0,hn:function(n){return!(!T[N.X(n)]&&!L.O(n))},C:function(n,t,r){},vn:function(){return n+_++},Ot:function(n){return function t(n,r,e){return{create:O(n,r,e,"create"),componentOnReady:O(n,r,e,"componentOnReady")}}(N,W,n)},queue:t.queue=function P(n,t){function r(n){for(var t=0;t<n.length;t++)try{n[t]()}catch(n){}n.length=0}function e(n,t){for(var r=0;r<n.length&&u()<t;)try{n[r++]()}catch(n){}r===n.length?n.length=0:0!==r&&n.splice(0,r)}function i(){l++,r(c);var t=u()+7*Math.ceil(l*(1/22));e(a,t),e(s,t),a.length>0&&(s.push.apply(s,a),a.length=0),(v=c.length+a.length+s.length>0)?n.raf(i):l=0}var u=function(){return t.performance.now()},o=Promise.resolve(),f=[],c=[],a=[],s=[],l=0,v=!1;return n.raf||(n.raf=t.requestAnimationFrame.bind(t)),{tick:function(n){f.push(n),1===f.length&&o.then(function(){return r(f)})},read:function(t){c.push(t),v||(v=!0,n.raf(i))},write:function(t){a.push(t),v||(v=!0,n.raf(i))}}}(E,r),dn:function I(n,r){r.mode||(r.mode=N.in(r,"mode")||t.mode),$(L.T,n,r);var e="string"==typeof n.Ct?n.Ct:n.Ct[r.mode];v(e)?s(L,r):(k.push([void 0,[e],function(){s(L,r)}]),a&&!a.tt&&z?z.push(function(){return b(n,e)}):b(n,e))},o:new WeakMap,xt:new WeakMap,ln:new WeakMap,bn:new WeakMap,pn:new WeakMap,k:new WeakMap,x:new WeakMap,g:new WeakMap,w:new WeakMap,b:new WeakMap,yn:new WeakMap,Wt:new WeakMap,N:new WeakMap,M:new WeakMap};L.render=g(L,N);var D=N.bt;D["s-ld"]=[],D["s-rn"]=!0,D["s-init"]=function(){L.pn.set(D,E.loaded=L.y=!0),N.Mt(r,"appload",{detail:{namespace:n}})},function H(n,t,r){var e,i,u,o,f,c,a=r.querySelectorAll("["+S+"]"),s=a.length;if(s>0)for(n.pn.set(r,!0),o=0;o<s;o++)for(e=a[o],i=t.in(e,S),(u={}).a=t.X(u.d=e),n.N.set(e,u),f=0,c=e.childNodes.length;f<c;f++)M(t,e.childNodes[f],u,i,!0)}(L,N,D),E.loadBundle=m;var z=[];a&&a.it(function(){for(;z.length;)z.shift()();z=null}),L.A=function(n,t,r,e,i){(function u(n,t,r,e,i,o,f){var c=r.ht+(e||q),a=r[c];if(a||(a=r[c=r.ht+q]),a){var s=t.pt;if(t.Y)if(1===r.encapsulation)s=i.shadowRoot;else for(;i=t.V(i);)if(i.host&&i.host.shadowRoot){s=i.host.shadowRoot;break}var l=n.xt.get(s)||{};if(!l[c]){(f=t.U("style")).innerHTML=a,o&&!o.tt&&o.kn(f);var v=s.querySelectorAll("[data-styles]");t.K(s,f,v.length&&v[v.length-1].nextSibling||s.Et),l[c]=!0,n.xt.set(s,l)}}})(n,t,r,e,i,a)},(E.components||[]).map(function(n){return function t(n,r,e){var i={ht:n[0],L:{color:{sn:"color"}}};i.Ct=n[1];var o=n[3];if(o)for(r=0;r<o.length;r++)e=o[r],i.L[e[0]]={wn:e[1],Nt:!!e[2],sn:"string"==typeof e[3]?e[3]:e[3]?e[0]:0,mn:e[4]};return i.encapsulation=n[4],n[5]&&(i.At=n[5].map(u)),i}(n)}).forEach(function(n){function t(n){return HTMLElement.call(this,n)}t.prototype=Object.create(HTMLElement.prototype,{constructor:{value:t,configurable:!0}}),l(n,t)}),function F(n,t){t.componentOnReady=function(t,r){if(n.O(t)&&!n.pn.has(t)){var e=n.yn.get(t)||[];e.push(r),n.yn.set(t,e)}else r(t)},t.$r&&t.$r.forEach(function(n){return t.componentOnReady(n[0],n[1])}),t.$r=null}(L,E),E.initialized=!0}(e,r,n,t,resourcesUrl,hydratedCssClass,T)}(window,document,Context,namespace);
|
|
})({},"ionicons","hydrated"); |