System.register(["./p-ea7bbed1.system.js","./p-cff0a9de.system.js"],(function(t){"use strict";var e,o,i,n,r,s,a,c,l;return{setters:[function(t){e=t.r;o=t.h;i=t.H;n=t.a},function(t){r=t.i;s=t.b;a=t.g;c=t.c;l=t.d}],execute:function(){var f=function(t){var e=document.createElement("div");e.innerHTML=t;for(var o=e.childNodes.length-1;o>=0;o--){if(e.childNodes[o].nodeName.toLowerCase()!=="svg"){e.removeChild(e.childNodes[o])}}var i=e.firstElementChild;if(i&&i.nodeName.toLowerCase()==="svg"){var n=i.getAttribute("class")||"";i.setAttribute("class",(n+" s-ion-icon").trim());if(d(i)){return e.innerHTML}}return""};var d=function(t){if(t.nodeType===1){if(t.nodeName.toLowerCase()==="script"){return false}for(var e=0;e<t.attributes.length;e++){var o=t.attributes[e].name;if(r(o)&&o.toLowerCase().indexOf("on")===0){return false}}for(var e=0;e<t.childNodes.length;e++){if(!d(t.childNodes[e])){return false}}}return true};var u=function(t){return t.startsWith("data:image/svg+xml")};var h=function(t){return t.indexOf(";utf8,")!==-1};var m=new Map;var v=new Map;var b;var p=function(t,e){var o=v.get(t);if(!o){if(typeof fetch!=="undefined"&&typeof document!=="undefined"){if(u(t)&&h(t)){if(!b){b=new DOMParser}var i=b.parseFromString(t,"text/html");var n=i.querySelector("svg");if(n){m.set(t,n.outerHTML)}return Promise.resolve()}else{o=fetch(t).then((function(o){if(o.ok){return o.text().then((function(o){if(o&&e!==false){o=f(o)}m.set(t,o||"")}))}m.set(t,"")}));v.set(t,o)}}else{m.set(t,"");return Promise.resolve()}}return o};var g=":host{display:inline-block;width:1em;height:1em;contain:strict;fill:currentColor;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host .ionicon{stroke:currentColor}.ionicon-fill-none{fill:none}.ionicon-stroke-width{stroke-width:32px;stroke-width:var(--ionicon-stroke-width, 32px)}.icon-inner,.ionicon,svg{display:block;height:100%;width:100%}@supports (background: -webkit-named-image(i)){:host(.icon-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}}@supports not selector(:dir(rtl)) and selector(:host-context([dir='rtl'])){:host(.icon-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}}:host(.flip-rtl):host-context([dir='rtl']) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}@supports selector(:dir(rtl)){:host(.flip-rtl:dir(rtl)) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.flip-rtl:dir(ltr)) .icon-inner{-webkit-transform:scaleX(1);transform:scaleX(1)}}:host(.icon-small){font-size:18px !important}:host(.icon-large){font-size:32px !important}:host(.ion-color){color:var(--ion-color-base) !important}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}";var w=t("ion_icon",function(){function t(t){e(this,t);this.iconName=null;this.inheritedAttributes={};this.isVisible=false;this.mode=y();this.lazy=false;this.sanitize=true}t.prototype.componentWillLoad=function(){this.inheritedAttributes=s(this.el,["aria-label"])};t.prototype.connectedCallback=function(){var t=this;this.waitUntilVisible(this.el,"50px",(function(){t.isVisible=true;t.loadIcon()}))};t.prototype.disconnectedCallback=function(){if(this.io){this.io.disconnect();this.io=undefined}};t.prototype.waitUntilVisible=function(t,e,o){var i=this;if(this.lazy&&typeof window!=="undefined"&&window.IntersectionObserver){var n=this.io=new window.IntersectionObserver((function(t){if(t[0].isIntersecting){n.disconnect();i.io=undefined;o()}}),{rootMargin:e});n.observe(t)}else{o()}};t.prototype.loadIcon=function(){var t=this;if(this.isVisible){var e=a(this);if(e){if(m.has(e)){this.svgContent=m.get(e)}else{p(e,this.sanitize).then((function(){return t.svgContent=m.get(e)}))}}}this.iconName=c(this.name,this.icon,this.mode,this.ios,this.md)};t.prototype.render=function(){var t,e;var n=this,r=n.flipRtl,s=n.iconName,a=n.inheritedAttributes,c=n.el;var f=this.mode||"md";var d=s?(s.includes("arrow")||s.includes("chevron"))&&r!==false:false;var u=r||d;return o(i,Object.assign({role:"img",class:Object.assign(Object.assign((t={},t[f]=true,t),k(this.color)),(e={},e["icon-".concat(this.size)]=!!this.size,e["flip-rtl"]=u,e["icon-rtl"]=u&&l(c),e))},a),this.svgContent?o("div",{class:"icon-inner",innerHTML:this.svgContent}):o("div",{class:"icon-inner"}))};Object.defineProperty(t,"assetsDirs",{get:function(){return["svg"]},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"],ios:["loadIcon"],md:["loadIcon"]}},enumerable:false,configurable:true});return t}());var y=function(){return typeof document!=="undefined"&&document.documentElement.getAttribute("mode")||"md"};var k=function(t){var e;return t?(e={"ion-color":true},e["ion-color-".concat(t)]=true,e):null};w.style=g}}}));