diff --git a/docs/build/docssite.js b/docs/build/docssite.js index 6762c70a..97ce8cc0 100644 --- a/docs/build/docssite.js +++ b/docs/build/docssite.js @@ -123,4 +123,4 @@ function createComponentOnReadyPrototype(win, HTMLElementPrototype, App) { init(win, doc, namespace, fsNamespace, resourcesUrl, appCore, appCoreSsr, appCorePolyfilled, hydratedCssClass, components); - })(window, document, "DocsSite","docssite",0,"docssite.core.js","docssite.core.pf.js","hydrated",[["footer-bar","footer-bar",1],["header-bar","header-bar",1,[["el",7],["isMobileMenuShown",5],["isSearchVisible",1,0,"is-search-visible",3],["isSticky",5],["query",1,0,1,2],["version",1,0,1,2]],0,[["window:scroll","handleScroll",0,1],["window:resize","handleResize",0,1]]],["icon-list","icon-list",1,[["data",1,0,1,1],["el",7],["isHeaderSearchVisible",5],["query",1,0,1,2],["selectedIcon",5],["selectedIconType",5]],0,[["body:keyup","escListener"],["body:click","handleBodyClicked"],["clearToast","handleClearToast"],["window:scroll","handleScroll",0,1]]],["icon-search","icon-search",1,[["autofocus",1,0,1,2],["query",1,0,1,2],["showClearCtrl",5],["size",1,0,1,2]],0,[["keyup","searchListener"]]],["ionicons-site","header-bar",1,[["data",5],["isHeaderSearchVisible",5],["query",5]],0,[["window:scroll","handleScroll",0,1],["hasSearched","searchHandler"],["toggleHeaderSearch","toggleHandler"]]],["landing-page","icon-list",1,[["data",1,0,1,1],["el",7],["query",1,0,1,2]]],["notfound-page","notfound-page",1],["stencil-route","header-bar",0,[["activeInGroup",5],["activeRouter",3,0,0,0,"activeRouter"],["component",1,0,1,2],["componentProps",1],["el",7],["exact",1,0,1,3],["group",1,0,1,2],["groupIndex",1,0,"group-index",4],["isServer",3,0,0,0,"isServer"],["location",3,0,0,0,"location"],["match",5],["queue",3,0,0,0,"queue"],["routeRender",1],["scrollTopOffset",1,0,"scroll-top-offset",4],["url",1,0,1,2]]],["stencil-route-link","stencil-route-link",0,[["activeClass",1,0,"active-class",2],["activeRouter",3,0,0,0,"activeRouter"],["anchorClass",1,0,"anchor-class",2],["anchorRole",1,0,"anchor-role",2],["anchorTabIndex",1,0,"anchor-tab-index",2],["anchorTitle",1,0,"anchor-title",2],["custom",1,0,1,2],["exact",1,0,1,3],["match",5],["strict",1,0,1,3],["url",1,0,1,2],["urlMatch",1,0,"url-match",2]]],["stencil-router","header-bar",0,[["activeRouter",3,0,0,0,"activeRouter"],["historyType",1,0,"history-type",2],["match",5],["root",1,0,1,2],["titleSuffix",1,0,"title-suffix",2]]],["toast-bar","icon-list",1,[["el",7],["hadIconOnce",5],["selectedIcon",1],["selectedIconType",1,0,"selected-icon-type",2],["showCopiedConfirm",5],["touchEndY",5],["touchStartY",5]]],["usage-page","usage-page",1,[["data",1,0,1,1],["exampleIcon",5],["exampleType",5],["match",1],["queue",3,0,0,0,"queue"]]]],HTMLElement.prototype); + })(window, document, "DocsSite","docssite",0,"docssite.core.js","docssite.core.pf.js","hydrated",[["footer-bar","footer-bar",1],["header-bar","header-bar",1,[["el",7],["isMobileMenuShown",5],["isSearchVisible",1,0,"is-search-visible",3],["isSticky",5],["query",1,0,1,2],["version",1,0,1,2]],0,[["window:scroll","handleScroll",0,1],["window:resize","handleResize",0,1]]],["icon-list","icon-list",1,[["data",1,0,1,1],["el",7],["isHeaderSearchVisible",5],["query",1,0,1,2],["selectedIcon",5],["selectedIconType",5]],0,[["body:keyup","escListener"],["body:click","handleBodyClicked"],["clearToast","handleClearToast"],["window:scroll","handleScroll",0,1]]],["icon-search","icon-search",1,[["autofocus",1,0,1,2],["query",1,0,1,2],["showClearCtrl",5],["size",1,0,1,2]],0,[["keyup","searchListener"]]],["ionicons-site","header-bar",1,[["data",5],["isHeaderSearchVisible",5],["query",5]],0,[["window:scroll","handleScroll",0,1],["hasSearched","searchHandler"],["toggleHeaderSearch","toggleHandler"]]],["landing-page","icon-list",1,[["data",1,0,1,1],["el",7],["query",1,0,1,2]]],["notfound-page","notfound-page",1],["stencil-route","header-bar",0,[["activeInGroup",5],["activeRouter",3,0,0,0,"activeRouter"],["component",1,0,1,2],["componentProps",1],["el",7],["exact",1,0,1,3],["group",1,0,1,2],["groupIndex",1,0,"group-index",4],["isServer",3,0,0,0,"isServer"],["location",3,0,0,0,"location"],["match",5],["queue",3,0,0,0,"queue"],["routeRender",1],["scrollTopOffset",1,0,"scroll-top-offset",4],["url",1,0,1,2]]],["stencil-route-link","stencil-route-link",0,[["activeClass",1,0,"active-class",2],["activeRouter",3,0,0,0,"activeRouter"],["anchorClass",1,0,"anchor-class",2],["anchorRole",1,0,"anchor-role",2],["anchorTabIndex",1,0,"anchor-tab-index",2],["anchorTitle",1,0,"anchor-title",2],["custom",1,0,1,2],["exact",1,0,1,3],["match",5],["strict",1,0,1,3],["url",1,0,1,2],["urlMatch",1,0,"url-match",2]]],["stencil-router","header-bar",0,[["activeRouter",3,0,0,0,"activeRouter"],["historyType",1,0,"history-type",2],["match",5],["root",1,0,1,2],["titleSuffix",1,0,"title-suffix",2]]],["toast-bar","icon-list",1,[["el",7],["hadIconOnce",5],["selectedIcon",1],["selectedIconType",1,0,"selected-icon-type",2],["showCopiedConfirm",5],["touchEndY",5],["touchStartY",5]]],["usage-page","usage-page",1,[["data",1,0,1,1],["exampleIcon",5],["exampleType",5],["match",1],["queue",3,0,0,0,"queue"]]]],HTMLElement.prototype); \ No newline at end of file diff --git a/docs/build/docssite/5szlxwny.es5.js b/docs/build/docssite/5szlxwny.es5.js new file mode 100644 index 00000000..2992d42f --- /dev/null +++ b/docs/build/docssite/5szlxwny.es5.js @@ -0,0 +1,2 @@ +/*! Built with http://stenciljs.com */ +DocsSite.loadBundle("5szlxwny",["exports","./chunk-4440b782.js"],function(t,e){var i=window.DocsSite.h,r=function(){function t(){this.unsubscribe=function(){},this.activeClass="link-active",this.exact=!1,this.strict=!0,this.custom="a",this.match=null}return t.prototype.computeMatch=function(t){return t||(t=this.activeRouter.get("location").pathname),e.matchPath(t,{path:this.urlMatch||this.url,exact:this.exact,strict:this.strict})},t.prototype.componentWillLoad=function(){var t=this;this.unsubscribe=this.activeRouter.subscribe({isMatch:this.computeMatch.bind(this),listener:function(e){t.match=e}}),this.match=this.computeMatch()},t.prototype.componentDidUnload=function(){this.unsubscribe()},t.prototype.handleClick=function(t){if(t.preventDefault(),this.activeRouter)return this.activeRouter.get("history").push(this.getUrl(this.url));console.warn(' wasn\'t passed an instance of the router as the "router" prop!')},t.prototype.getUrl=function(t){var e=this.activeRouter.get("root")||"/";return"/"==t.charAt(0)&&"/"==e.charAt(e.length-1)?e.slice(0,e.length-1)+t:e+t},t.prototype.render=function(){var t,e={class:(t={},t[this.activeClass]=null!==this.match,t),onClick:this.handleClick.bind(this)};return this.anchorClass&&(e.class[this.anchorClass]=!0),"a"===this.custom&&(e=Object.assign({},e,{href:this.url,title:this.anchorTitle,role:this.anchorRole,tabindex:this.anchorTabIndex})),i(this.custom,Object.assign({},e),i("slot",null))},Object.defineProperty(t,"is",{get:function(){return"stencil-route-link"},enumerable:!0,configurable:!0}),Object.defineProperty(t,"properties",{get:function(){return{activeClass:{type:String,attr:"active-class"},activeRouter:{context:"activeRouter"},anchorClass:{type:String,attr:"anchor-class"},anchorRole:{type:String,attr:"anchor-role"},anchorTabIndex:{type:String,attr:"anchor-tab-index"},anchorTitle:{type:String,attr:"anchor-title"},custom:{type:String,attr:"custom"},exact:{type:Boolean,attr:"exact"},match:{state:!0},strict:{type:Boolean,attr:"strict"},url:{type:String,attr:"url"},urlMatch:{type:String,attr:"url-match"}}},enumerable:!0,configurable:!0}),t}();t.StencilRouteLink=r,Object.defineProperty(t,"__esModule",{value:!0})}); \ No newline at end of file diff --git a/docs/build/docssite/5szlxwny.js b/docs/build/docssite/5szlxwny.js new file mode 100644 index 00000000..16f62fff --- /dev/null +++ b/docs/build/docssite/5szlxwny.js @@ -0,0 +1,2 @@ +/*! Built with http://stenciljs.com */ +const{h:t}=window.DocsSite;import{a as e}from"./chunk-f6f1d593.js";class s{constructor(){this.unsubscribe=(()=>{}),this.activeClass="link-active",this.exact=!1,this.strict=!0,this.custom="a",this.match=null}computeMatch(t){return t||(t=this.activeRouter.get("location").pathname),e(t,{path:this.urlMatch||this.url,exact:this.exact,strict:this.strict})}componentWillLoad(){this.unsubscribe=this.activeRouter.subscribe({isMatch:this.computeMatch.bind(this),listener:t=>{this.match=t}}),this.match=this.computeMatch()}componentDidUnload(){this.unsubscribe()}handleClick(t){if(t.preventDefault(),this.activeRouter)return this.activeRouter.get("history").push(this.getUrl(this.url));console.warn(' wasn\'t passed an instance of the router as the "router" prop!')}getUrl(t){const e=this.activeRouter.get("root")||"/";return"/"==t.charAt(0)&&"/"==e.charAt(e.length-1)?e.slice(0,e.length-1)+t:e+t}render(){let e={class:{[this.activeClass]:null!==this.match},onClick:this.handleClick.bind(this)};return this.anchorClass&&(e.class[this.anchorClass]=!0),"a"===this.custom&&(e=Object.assign({},e,{href:this.url,title:this.anchorTitle,role:this.anchorRole,tabindex:this.anchorTabIndex})),t(this.custom,Object.assign({},e),t("slot",null))}static get is(){return"stencil-route-link"}static get properties(){return{activeClass:{type:String,attr:"active-class"},activeRouter:{context:"activeRouter"},anchorClass:{type:String,attr:"anchor-class"},anchorRole:{type:String,attr:"anchor-role"},anchorTabIndex:{type:String,attr:"anchor-tab-index"},anchorTitle:{type:String,attr:"anchor-title"},custom:{type:String,attr:"custom"},exact:{type:Boolean,attr:"exact"},match:{state:!0},strict:{type:Boolean,attr:"strict"},url:{type:String,attr:"url"},urlMatch:{type:String,attr:"url-match"}}}}export{s as StencilRouteLink}; \ No newline at end of file diff --git a/docs/build/docssite/82updblm.js b/docs/build/docssite/82updblm.js deleted file mode 100644 index 2aba6019..00000000 --- a/docs/build/docssite/82updblm.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! Built with http://stenciljs.com */ -const{h:t}=window.DocsSite;import{a as e,b as o,c as n,d as i,e as s,f as r,g as a,h as c,i as l,j as h}from"./chunk-408bcc6b.js";class u{constructor(){this.isSticky=!1,this.query="",this.isSearchVisible=!1}handleScroll(){requestAnimationFrame(this.checkScroll.bind(this))}handleResize(){requestAnimationFrame(()=>{window.innerWidth>768&&(this.el.querySelector("nav").style.display="",this.el.classList.remove("show-mobile-menu"),document.body.classList.remove("no-scroll"),this.isMobileMenuShown=!1)})}checkScroll(){const t=document.documentElement.scrollTop||document.body.scrollTop;this.isSticky=t>30}showNav(){if(this.isMobileMenuShown)return;this.isMobileMenuShown=!0;const t=this.el.querySelector("nav");t.style.display="flex",setTimeout(()=>{t.classList.add("show-mobile-menu"),document.body.classList.add("no-scroll")},1)}hideNav(){if(!this.isMobileMenuShown)return;this.isMobileMenuShown=!1;const t=this.el.querySelector("nav");t.classList.remove("show-mobile-menu"),setTimeout(()=>{t.style.display="none",document.body.classList.remove("no-scroll")},300)}render(){return t("header",{class:`${this.isSearchVisible?"visible-search":""} ${this.isSticky?"overlay":""}`},t("div",{class:"container"},t("div",{class:"logo"},t("stencil-route-link",{url:"/",exact:!0},t("svg",{width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},t("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},t("g",{id:"icon","fill-rule":"nonzero"},t("circle",{id:"circle",fill:"#EAEEF5",cx:"16",cy:"16",r:"16"}),t("circle",{id:"circle_copy",fill:"#B4C1D8",cx:"16",cy:"16",r:"11"}),t("circle",{id:"circle_copy_2",fill:"#647AA1",cx:"16",cy:"16",r:"6"}),t("circle",{id:"circle_copy_3",fill:"#647AA1",cx:"23.5",cy:"8.5",r:"2"})))),"Ionicons"),t("span",{class:"version"},this.version)),t("icon-search",{query:this.query,size:"small"}),t("nav",null,t("stencil-route-link",{class:"nav__item",url:"/",exact:!0,onClick:this.hideNav.bind(this)},"Icons"),t("stencil-route-link",{class:"nav__item",url:"/usage",onClick:()=>{this.toggleHeaderSearch.emit("hide"),this.hideNav()}},"Usage"),t("a",{class:"nav__item",href:"https://github.com/ionic-team/ionicons"},"Github",t("svg",{width:"12px",height:"12px",viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},t("g",{transform:"translate(0,1)"},t("rect",{id:"bg",fill:"#e3e8f1",x:"0",y:"2",width:"9",height:"9",rx:"1.5"}),t("path",{d:"M9.18198052,1 L6.5,1 L6.5,0 L11,0 L11,1 L11,4.5 L10,4.5 L10,1.59619408 L4.02512627,7.57106781 L3.31801948,6.86396103 L9.18198052,1 Z",id:"arrow",fill:"#A4AEC3"})))),t("span",{class:"close",onClick:this.hideNav.bind(this)},t("i",{class:"ion ion-md-close"}))),t("a",{class:"btn sm-hide",href:"/ionicons.designerpack.zip"},t("svg",{width:"9px",height:"11px",viewBox:"0 0 9 11",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},t("g",null,t("rect",{id:"bg",fill:"#BAC3D1",x:"0",y:"9",width:"9",height:"2",rx:"1"}),t("path",{d:"M5,6.26776695 L7.26776695,4 L7.97487373,4.70710678 L4.70710678,7.97487373 L4.48743687,7.75520382 L4.26776695,7.97487373 L1,4.70710678 L1.70710678,4 L4,6.29289322 L4,0 L5,0 L5,6.26776695 Z",id:"arrow",fill:"#94A0B8"}))),"Designer pack"),t("span",{class:"more",onClick:this.showNav.bind(this)},t("i",{class:"ion ion-md-more"}))))}static get is(){return"header-bar"}static get properties(){return{el:{elementRef:!0},isMobileMenuShown:{state:!0},isSearchVisible:{type:Boolean,attr:"is-search-visible"},isSticky:{state:!0},query:{type:String,attr:"query"},version:{type:String,attr:"version"}}}static get events(){return[{name:"toggleHeaderSearch",method:"toggleHeaderSearch",bubbles:!0,cancelable:!0,composed:!0}]}static get listeners(){return[{name:"window:scroll",method:"handleScroll",passive:!0},{name:"window:resize",method:"handleResize",passive:!0}]}static get style(){return"header-bar header{-webkit-transition:border .6s;transition:border .6s;position:fixed;width:100%;top:0;left:0;right:0;background:#fff;z-index:999;border-bottom:1px solid transparent;height:64px}header-bar header.overlay{border-bottom:1px solid rgba(0,0,0,.05)}header-bar .container,header-bar .logo,header-bar .logo a,header-bar nav{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}header-bar .logo,header-bar nav{-webkit-box-flex:0;-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}header-bar nav{-webkit-box-align:baseline;-webkit-align-items:baseline;-ms-flex-align:baseline;align-items:baseline}header-bar icon-search{-webkit-transition:opacity .5s;transition:opacity .5s;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding-left:60px;padding-right:60px;opacity:0;pointer-events:none}header-bar .visible-search icon-search{opacity:1;pointer-events:auto}header-bar .container{-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding-top:12px;padding-bottom:12px}header-bar .logo a{font-weight:700;font-size:16px;color:var(--color-shark)}header-bar .logo svg{margin-right:10px}header-bar .logo .version{margin-left:10px;font-size:10px;font-weight:600;color:var(--color-oslo-gray);background-color:var(--color-catskill-white);border-radius:4px;padding:1px 5px;position:relative;top:-2px}header-bar a{text-decoration:none}header-bar .nav__item+.nav__item,header-bar nav+.btn{margin-left:30px}header-bar .nav__item{font-size:13px;font-weight:600}header-bar .nav__item,header-bar .nav__item a{-webkit-transition:color .3s;transition:color .3s;color:var(--color-pale-sky)}header-bar .nav__item a:not(.link-active):hover,header-bar .nav__item:hover{color:var(--color-shark)}header-bar .nav__item .link-active{color:var(--color-heather);cursor:default}header-bar .nav__item svg{margin-left:6px}header-bar .nav__item:hover svg #arrow{-webkit-transform:translate(1px,-1px);transform:translate(1px,-1px)}header-bar .btn svg{margin-right:6px}header-bar .btn:hover svg #arrow{-webkit-transform:translate(0,1px);transform:translate(0,1px)}header-bar .more{padding:0 8px;font-size:28px;line-height:28px;color:var(--color-dodger-blue);cursor:pointer;display:none}header-bar nav span.close{display:none;font-size:28px}\@media screen and (max-width:992px){header-bar nav>*+*{margin-left:18px}header-bar icon-search{padding-left:30px;padding-right:30px}}\@media screen and (max-width:768px){header-bar .btn.sm-hide{display:none}header-bar .close,header-bar .more{cursor:pointer}header-bar .more{display:block}header-bar .nav__item+.nav__item,header-bar nav+.btn{margin-left:0;margin-top:30px}header-bar nav{-webkit-transition:opacity .3s;transition:opacity .3s;position:fixed;top:0;left:0;right:0;bottom:0;width:100%;height:100%;z-index:99999;background-image:linear-gradient(-223deg,#363e49 0,#1c1e21 100%);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;opacity:0;display:none}header-bar nav .close{margin:0;position:absolute;top:14px;right:18px;color:#fff;cursor:pointer}header-bar .nav__item{-webkit-transition:-webkit-transform .4s;transition:-webkit-transform .4s;transition:transform .4s;transition:transform .4s,-webkit-transform .4s;-webkit-transform:translateY(8px);transform:translateY(8px)}header-bar .nav__item,header-bar .nav__item a{font-size:28px;color:rgba(255,255,255,.9)}header-bar .nav__item .link-active{color:rgba(255,255,255,.3)}header-bar .nav__item a:not(.link-active):hover,header-bar .nav__item:hover{color:rgba(255,255,255,.9)}header-bar .nav__item svg #bg{opacity:.2}header-bar nav.show-mobile-menu{opacity:1}header-bar nav.show-mobile-menu .nav__item{-webkit-transform:translateY(0);transform:translateY(0)}header-bar nav.show-mobile-menu .close{display:block}header-bar icon-search{padding-left:20px;padding-right:15px}}\@media screen and (max-width:520px){header-bar .version{display:none}}"}}const d=({children:e,scrollTopOffset:o},n)=>{let i;i=window.crypto?([1e7].toString()+-1e3.toString()+-4e3.toString()+-8e3.toString()+-1e11.toString()).replace(/[018]/g,function(t){return(t^window.crypto.getRandomValues(new Uint8Array(1))[0]&15>>t/4).toString(16)}):(1e17*Math.random()).toString();const s=e.map((t,e)=>{const s=n.getAttributes(t);return n.replaceAttributes(t,Object.assign({},s,{scrollTopOffset:o,group:i,groupIndex:e})),t});return t("div",null,s)};class p{constructor(){this.data={version:void 0,icons:[]},this.query="",this.isHeaderSearchVisible=!1}handleScroll(){requestAnimationFrame(this.checkScroll.bind(this))}searchHandler(t){this.query=t.detail}toggleHandler(t){this.isHeaderSearchVisible="show"===t.detail}componentWillLoad(){return fetch("/data.json").then(t=>{t.json().then(t=>{this.data=t,this.data.icons=this.data.icons.map(t=>(t.icons=t.icons.reverse(),t.name=t.icons[0].split("-").slice(1).join("-"),t))})})}checkScroll(){const t=document.querySelector("header .search-input"),e=document.querySelector("icon-list .search-input");if(!e)return;const o=t.querySelector("input"),n=e.querySelector("input");if(e.getBoundingClientRect().topdiv{height:100%}"}}class m{constructor(){this.unsubscribe=(()=>{}),this.componentProps={},this.exact=!1,this.group=null,this.groupIndex=null,this.routeRender=null,this.scrollTopOffset=null,this.match=null,this.activeInGroup=!1,this.scrollOnNextRender=!1}computeMatch(t){return t||(t=this.activeRouter.get("location").pathname),e(t,{path:this.url,exact:this.exact,strict:!0})}componentWillLoad(){const t=this;this.unsubscribe=this.activeRouter.subscribe({isMatch:this.computeMatch.bind(this),listener:e=>(this.match=e,new Promise(e=>{t.componentDidRerender=e})),groupId:this.group,groupIndex:this.groupIndex})}componentDidUnload(){this.unsubscribe()}componentDidUpdate(){if(this.componentDidRerender){const t=this.el.firstElementChild;t&&t.componentOnReady?t.componentOnReady().then(()=>{this.componentDidRerender&&this.componentDidRerender(),this.componentDidRerender=void 0,this.activeInGroup=!!this.match,this.scrollOnNextRender=this.activeInGroup}):(this.componentDidRerender(),this.componentDidRerender=void 0,this.activeInGroup=!!this.match,this.scrollOnNextRender=this.activeInGroup)}else this.scrollOnNextRender&&(this.scrollTo(),this.scrollOnNextRender=!1)}scrollTo(){const t=this.activeRouter.get("history");if(null!=this.scrollTopOffset&&t&&!this.isServer)return"POP"===t.action&&null!=t.location.scrollPosition?this.queue.write(function(){window.scrollTo(t.location.scrollPosition[0],t.location.scrollPosition[1])}):this.queue.read(()=>this.queue.write(()=>{window.scrollTo(0,this.scrollTopOffset)}))}hostData(){if(!this.activeRouter||!this.match||this.group&&!this.activeInGroup)return{style:{display:"none"}}}render(){if(!this.activeRouter||!this.match)return null;const e=Object.assign({},this.componentProps,{history:this.activeRouter.get("history"),match:this.match});if(this.routeRender)return this.routeRender(Object.assign({},e,{component:this.component}));if(this.component){const o=this.component;return t(o,Object.assign({},e))}}static get is(){return"stencil-route"}static get properties(){return{activeInGroup:{state:!0},activeRouter:{context:"activeRouter"},component:{type:String,attr:"component"},componentProps:{type:"Any",attr:"component-props"},el:{elementRef:!0},exact:{type:Boolean,attr:"exact"},group:{type:String,attr:"group"},groupIndex:{type:Number,attr:"group-index"},isServer:{context:"isServer"},location:{context:"location"},match:{state:!0},queue:{context:"queue"},routeRender:{type:"Any",attr:"route-render"},scrollTopOffset:{type:Number,attr:"scroll-top-offset"},url:{type:String,attr:"url"}}}}function g(t,e){return new RegExp("^"+e+"(\\/|\\?|#|$)","i").test(t)}function f(t,e){return g(t,e)?t.substr(e.length):t}function y(t){return"/"===t.charAt(t.length-1)?t.slice(0,-1):t}function w(t){return"/"===t.charAt(0)?t:"/"+t}function b(t){return"/"===t.charAt(0)?t.substr(1):t}function v(t){const{pathname:e,search:o,hash:n}=t;let i=e||"/";return o&&"?"!==o&&(i+="?"===o.charAt(0)?o:`?${o}`),n&&"#"!==n&&(i+="#"===n.charAt(0)?n:`#${n}`),i}function S(t){return"/"===t.charAt(0)}function x(t,e){for(let o=e,n=o+1,i=t.length;n=0;t--){const e=n[t];"."===e?x(n,t):".."===e?(x(n,t),c++):c&&(x(n,t),c--)}if(!r)for(;c--;c)n.unshift("..");!r||""===n[0]||n[0]&&S(n[0])||n.unshift("");let l=n.join("/");return a&&"/"!==l.substr(-1)&&(l+="/"),l}(i.pathname,n.pathname)):i.pathname=n.pathname:i.pathname||(i.pathname="/"),i.query=(s=i.search)?(/^[?#]/.test(s)?s.slice(1):s).split("&").reduce((t,e)=>{let[o,n]=e.split("=");return t[o]=n?decodeURIComponent(n.replace(/\+/g," ")):"",t},{}):{},i}function k(t,...e){t||console.error(...e)}function L(t,...e){t||console.warn(...e)}const O=()=>{let t,e=[];return{setPrompt:e=>(L(null==t,"A history supports only one prompt at a time"),t=e,()=>{t===e&&(t=null)}),confirmTransitionTo:(e,o,n,i)=>{if(null!=t){const s="function"==typeof t?t(e,o):t;"string"==typeof s?"function"==typeof n?n(s,i):(L(!1,"A history needs a getUserConfirmation function in order to use a prompt message"),i(!0)):i(!1!==s)}else i(!0)},appendListener:t=>{let o=!0;const n=(...e)=>{o&&t(...e)};return e.push(n),()=>{o=!1,e=e.filter(t=>t!==n)}},notifyListeners:(...t)=>{e.forEach(e=>e(...t))}}},P=(t="scrollPositions")=>{let e=new Map;function n(t,n){if(e.set(t,n),o("sessionStorage")){const t=[];e.forEach((e,o)=>{t.push([o,e])}),window.sessionStorage.setItem("scrollPositions",JSON.stringify(t))}}return o("sessionStorage")&&(e=window.sessionStorage.getItem(t)?new Map(JSON.parse(window.sessionStorage.getItem(t))):e),"scrollRestoration"in history&&(history.scrollRestoration="manual"),{set:n,get:function(t){return e.get(t)},has:function(t){return e.has(t)},capture:function(t){n(t,[window.scrollX,window.scrollY])}}},A=()=>{try{return window.history.state||{}}catch(t){return{}}},T={hashbang:{encodePath:t=>"!"===t.charAt(0)?t:"!/"+b(t),decodePath:t=>"!"===t.charAt(0)?t.substr(1):t},noslash:{encodePath:b,decodePath:w},slash:{encodePath:w,decodePath:w}},H=()=>{const t=window.location.href,e=t.indexOf("#");return-1===e?"":t.substring(e+1)},M=t=>{const e=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,e>=0?e:0)+"#"+t)},q={browser:(t={})=>{k(n,"Browser history needs a DOM");const e=window.history,o=a(),h=!c(),u=P(),{forceRefresh:d=!1,getUserConfirmation:p=r,keyLength:m=6}=t,b=t.basename?y(w(t.basename)):"",S=t=>{t=t||{};const{key:e,state:o}=t,{pathname:n,search:i,hash:s}=window.location;let r=n+i+s;return L(!b||g(r,b),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+r+'" to begin with "'+b+'".'),b&&(r=f(r,b)),R(r,o,e)},x=()=>Math.random().toString(36).substr(2,m),T=O(),H=t=>{u.capture(G.location.key),Object.assign(G,t),G.location.scrollPosition=u.get(G.location.key),G.length=e.length,T.notifyListeners(G.location,G.action)},M=t=>{l(t)||E(S(t.state))},q=()=>{E(S(A()))};let I=!1;const E=t=>{if(I)I=!1,H();else{const e="POP";T.confirmTransitionTo(t,e,p,o=>{o?H({action:e,location:t}):j(t)})}},j=t=>{const e=G.location;let o=U.indexOf(e.key);-1===o&&(o=0);let n=U.indexOf(t.key);-1===n&&(n=0);const i=o-n;i&&(I=!0,N(i))},C=S(A());let U=[C.key];const D=t=>b+v(t),N=t=>{e.go(t)};let B=0;const V=t=>{1===(B+=t)?(i(window,"popstate",M),h&&i(window,"hashchange",q)):0===B&&(s(window,"popstate",M),h&&s(window,"hashchange",q))};let _=!1;const G={length:e.length,action:"POP",location:C,createHref:D,push:(t,n)=>{L(!("object"==typeof t&&void 0!==t.state&&void 0!==n),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");const i=R(t,n,x(),G.location);T.confirmTransitionTo(i,"PUSH",p,t=>{if(!t)return;const n=D(i),{key:s,state:r}=i;if(o)if(e.pushState({key:s,state:r},null,n),d)window.location.href=n;else{const t=U.indexOf(G.location.key),e=U.slice(0,-1===t?0:t+1);e.push(i.key),U=e,H({action:"PUSH",location:i})}else L(void 0===r,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=n})},replace:(t,n)=>{L(!("object"==typeof t&&void 0!==t.state&&void 0!==n),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");const i=R(t,n,x(),G.location);T.confirmTransitionTo(i,"REPLACE",p,t=>{if(!t)return;const n=D(i),{key:s,state:r}=i;if(o)if(e.replaceState({key:s,state:r},null,n),d)window.location.replace(n);else{const t=U.indexOf(G.location.key);-1!==t&&(U[t]=i.key),H({action:"REPLACE",location:i})}else L(void 0===r,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(n)})},go:N,goBack:()=>N(-1),goForward:()=>N(1),block:(t="")=>{const e=T.setPrompt(t);return _||(V(1),_=!0),()=>(_&&(_=!1,V(-1)),e())},listen:t=>{const e=T.appendListener(t);return V(1),()=>{V(-1),e()}}};return G},hash:(t={})=>{k(n,"Hash history needs a DOM");const e=window.history,o=h(),{getUserConfirmation:a=r,hashType:c="slash"}=t,l=t.basename?y(w(t.basename)):"",{encodePath:u,decodePath:d}=T[c],p=()=>{let t=d(H());return L(!l||g(t,l),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+t+'" to begin with "'+l+'".'),l&&(t=f(t,l)),R(t)},m=O(),b=t=>{Object.assign(G,t),G.length=e.length,m.notifyListeners(G.location,G.action)};let S=!1,x=null;const P=()=>{const t=H(),e=u(t);if(t!==e)M(e);else{const t=p(),e=G.location;if(!S&&(E=t,(I=e).pathname===E.pathname&&I.search===E.search&&I.hash===E.hash&&I.key===E.key&&function t(e,o){if(e===o)return!0;if(null==e||null==o)return!1;if(Array.isArray(e))return Array.isArray(o)&&e.length===o.length&&e.every(function(e,n){return t(e,o[n])});const n=typeof e;if(n!==typeof o)return!1;if("object"===n){const n=e.valueOf(),i=o.valueOf();if(n!==e||i!==o)return t(n,i);const s=Object.keys(e),r=Object.keys(o);return s.length===r.length&&s.every(function(n){return t(e[n],o[n])})}return!1}(I.state,E.state)))return;if(x===v(t))return;x=null,A(t)}},A=t=>{if(S)S=!1,b();else{const e="POP";m.confirmTransitionTo(t,e,a,o=>{o?b({action:e,location:t}):q(t)})}},q=t=>{const e=G.location;let o=D.lastIndexOf(v(e));-1===o&&(o=0);let n=D.lastIndexOf(v(t));-1===n&&(n=0);const i=o-n;i&&(S=!0,N(i))},j=H(),C=u(j);j!==C&&M(C);const U=p();let D=[v(U)];const N=t=>{L(o,"Hash history go(n) causes a full page reload in this browser"),e.go(t)};let B=0;const V=t=>{1===(B+=t)?i(window,"hashchange",P):0===B&&s(window,"hashchange",P)};let _=!1;const G={length:e.length,action:"POP",location:U,createHref:t=>"#"+u(l+v(t)),push:(t,e)=>{L(void 0===e,"Hash history cannot push state; it is ignored");const o=R(t,void 0,void 0,G.location);m.confirmTransitionTo(o,"PUSH",a,t=>{if(!t)return;const e=v(o),n=u(l+e);if(H()!==n){x=e,(t=>window.location.hash=t)(n);const t=D.lastIndexOf(v(G.location)),i=D.slice(0,-1===t?0:t+1);i.push(e),D=i,b({action:"PUSH",location:o})}else L(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),b()})},replace:(t,e)=>{L(void 0===e,"Hash history cannot replace state; it is ignored");const o=R(t,void 0,void 0,G.location);m.confirmTransitionTo(o,"REPLACE",a,t=>{if(!t)return;const e=v(o),n=u(l+e);H()!==n&&(x=e,M(n));const i=D.indexOf(v(G.location));-1!==i&&(D[i]=e),b({action:"REPLACE",location:o})})},go:N,goBack:()=>N(-1),goForward:()=>N(1),block:(t="")=>{const e=m.setPrompt(t);return _||(V(1),_=!0),()=>(_&&(_=!1,V(-1)),e())},listen:t=>{const e=m.appendListener(t);return V(1),()=>{V(-1),e()}}};return G}};var I,E;class j{constructor(){this.root="/",this.historyType="browser",this.titleSuffix="",this.unsubscribe=(()=>{}),this.match=null}titleSuffixChanged(t){this.activeRouter.set({titleSuffix:t})}computeMatch(t){return{path:this.root,url:this.root,isExact:t===this.root,params:{}}}componentWillLoad(){const t=q[this.historyType]();t.listen(t=>{this.activeRouter.set({location:this.getLocation(t)})}),this.activeRouter.set({location:this.getLocation(t.location),titleSuffix:this.titleSuffix,root:this.root,history:t}),this.unsubscribe=this.activeRouter.subscribe({isMatch:this.computeMatch.bind(this),listener:t=>{this.match=t}}),this.match=this.computeMatch()}componentDidLoad(){this.activeRouter.dispatch()}getLocation(t){const e=0==t.pathname.indexOf(this.root)?"/"+t.pathname.slice(this.root.length):t.pathname;return Object.assign({},t,{pathname:e})}componentDidUnload(){this.unsubscribe()}render(){return t("slot",null)}static get is(){return"stencil-router"}static get properties(){return{activeRouter:{context:"activeRouter"},historyType:{type:String,attr:"history-type"},match:{state:!0},root:{type:String,attr:"root"},titleSuffix:{type:String,attr:"title-suffix",watchCallbacks:["titleSuffixChanged"]}}}}export{u as HeaderBar,p as IoniconsSite,m as StencilRoute,j as StencilRouter}; \ No newline at end of file diff --git a/docs/build/docssite/chunk-408bcc6b.js b/docs/build/docssite/chunk-408bcc6b.js deleted file mode 100644 index 5e44e39f..00000000 --- a/docs/build/docssite/chunk-408bcc6b.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! Built with http://stenciljs.com */ -const{h:e}=window.DocsSite;var n="/",t="./",r=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");function i(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function a(e){return e.replace(/([=!:$/()])/g,"\\$1")}function o(e){return e&&e.sensitive?"":"i"}function s(e,c,d){return e instanceof RegExp?function(e,n){if(!n)return e;var t=e.source.match(/\((?!\?)/g);if(t)for(var r=0;r-1;else{var v=i(g.prefix),w=g.repeat?"(?:"+g.pattern+")(?:"+v+"(?:"+g.pattern+"))*":g.pattern;r&&r.push(g),g.optional?g.partial?l+=v+"("+w+")?":l+="(?:"+v+"("+w+"))?":l+=v+"("+w+")"}}return c?(s||(l+="(?:"+d+")?"),l+="$"===f?"$":"(?="+f+")"):(s||(l+="(?:"+d+"(?="+f+"))?"),p||(l+="(?="+d+"|"+f+")")),new RegExp("^"+l,o(a))}(function(e,o){for(var s,c=[],d=0,u=0,f="",l=o&&o.delimiter||n,p=o&&o.delimiters||t,h=!1;null!==(s=r.exec(e));){var g=s[0],v=s[1],w=s.index;if(f+=e.slice(u,w),u=w+g.length,v)f+=v[1],h=!0;else{var x="",m=e[u],E=s[2],O=s[3],y=s[4],A=s[5];if(!h&&f.length){var $=f.length-1;p.indexOf(f[$])>-1&&(x=f[$],f=f.slice(0,$))}f&&(c.push(f),f="",h=!1);var _=""!==x&&void 0!==m&&m!==x,R="+"===A||"*"===A,S="?"===A||"*"===A,j=x||l,D=O||y;c.push({name:E||d++,prefix:x,delimiter:j,optional:S,repeat:R,partial:_,pattern:D?a(D):"[^"+i(j)+"]+?"})}}return(f||u(e[n.name]=p[t],e),{})}}const l=!("undefined"==typeof window||!window.document||!window.document.createElement),p=(e,n,t)=>e.addEventListener?e.addEventListener(n,t,!1):e.attachEvent("on"+n,t),h=(e,n,t)=>e.removeEventListener?e.removeEventListener(n,t,!1):e.detachEvent("on"+n,t),g=(e,n)=>n(window.confirm(e)),v=e=>e.metaKey||e.altKey||e.ctrlKey||e.shiftKey,w=()=>{const e=window.navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history},x=()=>-1===window.navigator.userAgent.indexOf("Trident"),m=()=>-1===window.navigator.userAgent.indexOf("Firefox"),E=e=>void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS"),O=e=>{try{var n=window[e],t="__storage_test__";return n.setItem(t,t),n.removeItem(t),!0}catch(e){return e instanceof DOMException&&(22===e.code||1014===e.code||"QuotaExceededError"===e.name||"NS_ERROR_DOM_QUOTA_REACHED"===e.name)&&0!==n.length}};export{f as a,O as b,l as c,p as d,h as e,g as f,w as g,x as h,E as i,m as j,v as k}; \ No newline at end of file diff --git a/docs/build/docssite/chunk-438b3614.es5.js b/docs/build/docssite/chunk-438b3614.es5.js deleted file mode 100644 index 04e7d3ae..00000000 --- a/docs/build/docssite/chunk-438b3614.es5.js +++ /dev/null @@ -1,43 +0,0 @@ -/*! Built with http://stenciljs.com */ -DocsSite.loadBundle("chunk-438b3614.js", ["exports"], function (e) { window.DocsSite.h; var t = "/", n = "./", r = new RegExp(["(\\\\.)", "(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"), "g"); function i(e) { return e.replace(/([.+*?=^!:${}()[\]|/\\])/g, "\\$1"); } function o(e) { return e.replace(/([=!:$/()])/g, "\\$1"); } function a(e) { return e && e.sensitive ? "" : "i"; } function s(e, d, u) { return e instanceof RegExp ? function (e, t) { if (!t) - return e; var n = e.source.match(/\((?!\?)/g); if (n) - for (var r = 0; r < n.length; r++) - t.push({ name: r, prefix: null, delimiter: null, optional: !1, repeat: !1, partial: !1, pattern: null }); return e; }(e, d) : Array.isArray(e) ? function (e, t, n) { for (var r = [], i = 0; i < e.length; i++) - r.push(s(e[i], t, n).source); return new RegExp("(?:" + r.join("|") + ")", a(n)); }(e, d, u) : function (e, s, d) { return function (e, r, o) { for (var s = (o = o || {}).strict, d = !1 !== o.end, u = i(o.delimiter || t), c = o.delimiters || n, l = [].concat(o.endsWith || []).map(i).concat("$").join("|"), f = "", p = !1, h = 0; h < e.length; h++) { - var v = e[h]; - if ("string" == typeof v) - f += i(v), p = h === e.length - 1 && c.indexOf(v[v.length - 1]) > -1; - else { - var g = i(v.prefix), m = v.repeat ? "(?:" + v.pattern + ")(?:" + g + "(?:" + v.pattern + "))*" : v.pattern; - r && r.push(v), v.optional ? v.partial ? f += g + "(" + m + ")?" : f += "(?:" + g + "(" + m + "))?" : f += g + "(" + m + ")"; - } -} return d ? (s || (f += "(?:" + u + ")?"), f += "$" === l ? "$" : "(?=" + l + ")") : (s || (f += "(?:" + u + "(?=" + l + "))?"), p || (f += "(?=" + u + "|" + l + ")")), new RegExp("^" + f, a(o)); }(function (e, a) { for (var s, d = [], u = 0, c = 0, l = "", f = a && a.delimiter || t, p = a && a.delimiters || n, h = !1; null !== (s = r.exec(e));) { - var v = s[0], g = s[1], m = s.index; - if (l += e.slice(c, m), c = m + v.length, g) - l += g[1], h = !0; - else { - var w = "", x = e[c], E = s[2], O = s[3], y = s[4], A = s[5]; - if (!h && l.length) { - var R = l.length - 1; - p.indexOf(l[R]) > -1 && (w = l[R], l = l.slice(0, R)); - } - l && (d.push(l), l = "", h = !1); - var $ = "" !== w && void 0 !== x && x !== w, _ = "+" === A || "*" === A, S = "?" === A || "*" === A, D = w || f, L = O || y; - d.push({ name: E || u++, prefix: w, delimiter: D, optional: S, repeat: _, partial: $, pattern: L ? o(L) : "[^" + i(D) + "]+?" }); - } -} return (l || c < e.length) && d.push(l + e.substr(c)), d; }(e, d), s, d); }(e, d, u); } var d = {}; var u = 0; var c = !("undefined" == typeof window || !window.document || !window.document.createElement); e.matchPath = function (e, t) { - if (t === void 0) { t = {}; } - "string" == typeof t && (t = { path: t }); - var _a = t.path, n = _a === void 0 ? "/" : _a, _b = t.exact, r = _b === void 0 ? !1 : _b, _c = t.strict, i = _c === void 0 ? !1 : _c, _d = function (e, t) { var n = "" + t.end + t.strict, r = d[n] || (d[n] = {}), i = JSON.stringify(e); if (r[i]) - return r[i]; var o = [], a = { re: s(e, o, t), keys: o }; return u < 1e4 && (r[i] = a, u += 1), a; }(n, { end: r, strict: i }), o = _d.re, a = _d.keys, c = o.exec(e); - if (!c) - return null; - var l = c[0], f = c.slice(1), p = e === l; - return r && !p ? null : { path: n, url: "/" === n && "" === l ? "/" : l, isExact: p, params: a.reduce(function (e, t, n) { return e[t.name] = f[n], e; }, {}) }; -}, e.storageAvailable = (function (e) { try { - var t = window[e], n = "__storage_test__"; - return t.setItem(n, n), t.removeItem(n), !0; -} -catch (e) { - return e instanceof DOMException && (22 === e.code || 1014 === e.code || "QuotaExceededError" === e.name || "NS_ERROR_DOM_QUOTA_REACHED" === e.name) && 0 !== t.length; -} }), e.canUseDOM = c, e.addEventListener = (function (e, t, n) { return e.addEventListener ? e.addEventListener(t, n, !1) : e.attachEvent("on" + t, n); }), e.removeEventListener = (function (e, t, n) { return e.removeEventListener ? e.removeEventListener(t, n, !1) : e.detachEvent("on" + t, n); }), e.getConfirmation = (function (e, t) { return t(window.confirm(e)); }), e.supportsHistory = (function () { var e = window.navigator.userAgent; return (-1 === e.indexOf("Android 2.") && -1 === e.indexOf("Android 4.0") || -1 === e.indexOf("Mobile Safari") || -1 !== e.indexOf("Chrome") || -1 !== e.indexOf("Windows Phone")) && window.history && "pushState" in window.history; }), e.supportsPopStateOnHashChange = (function () { return -1 === window.navigator.userAgent.indexOf("Trident"); }), e.isExtraneousPopstateEvent = (function (e) { return void 0 === e.state && -1 === navigator.userAgent.indexOf("CriOS"); }), e.supportsGoWithoutReloadUsingHash = (function () { return -1 === window.navigator.userAgent.indexOf("Firefox"); }), e.isModifiedEvent = (function (e) { return e.metaKey || e.altKey || e.ctrlKey || e.shiftKey; }); }); diff --git a/docs/build/docssite/docssite.0xdbi8jl.js b/docs/build/docssite/docssite.0xdbi8jl.js deleted file mode 100644 index 55e4754a..00000000 --- a/docs/build/docssite/docssite.0xdbi8jl.js +++ /dev/null @@ -1,7 +0,0 @@ -/*! Built with http://stenciljs.com */ -(function(Context,namespace,hydratedCssClass,resourcesUrl,s){"use strict"; -s=document.querySelector("script[data-namespace='docssite']");if(s){resourcesUrl=s.getAttribute('data-resources-url');} -(function(resourcesUrl){var t=Object.prototype.hasOwnProperty;function n(t,n){return t===n?0!==t||0!==n||1/t==1/n:t!=t&&n!=n}function e(e,o){if(n(e,o))return!0;if("object"!=typeof e||null===e||"object"!=typeof o||null===o)return!1;var r=Object.keys(e),u=Object.keys(o);if(r.length!==u.length)return!1;for(var c=0;cnull!=e[1]&&null!=e[2]&&e[2]===t[n].groupId);r=c?null:t[n].isMatch(u),e(t[n].lastMatch,r)||(!c&&t[n].groupId?o.unshift([n,r,t[n].groupId]):o.push([n,r,t[n].groupId])),t[n].lastMatch=r}for(const[n,e,r]of o)r&&null!=e?yield t[n].listener(e):t[n].listener(e)})}return{set:function(n){t=Object.assign({},t,n),u()},get:r,subscribe:function(t){!function(t){const e=r("location").pathname,o=t.isMatch(e);if(t.lastMatch=o,t.listener(o),null==t.groupId||null==t.groupIndex||0===n.length)n.push(t);else for(let e=0;et.groupIndex){n.splice(e,0,t);break}}}(t);let e=!0;return function(){e&&(function(t){const e=n.indexOf(t);n.splice(e,1)}(t),e=!1)}},dispatch:u}}(); -})(resourcesUrl); -(function(t,e,n,o){"use strict";function i(t){return{t:t[0],e:t[1],n:!!t[2],o:!!t[3],i:!!t[4]}}function c(t,e){if(O(e)&&"object"!=typeof e&&"function"!=typeof e){if(t===Boolean||3===t)return"false"!==e&&(""===e||!!e);if(t===Number||4===t)return parseFloat(e);if(t===String||2===t)return e.toString()}return e}function f(t,e,n,o){const i=t.c.get(e);i&&((o=i["s-ld"]||i.$activeLoading)&&((n=o.indexOf(e))>-1&&o.splice(n,1),o.length||(i["s-init"]&&i["s-init"](),i.$initLoad&&i.$initLoad())),t.c.delete(e))}function l(t,e,n){let o,i,c=null,f=!1,l=!1;for(var r=arguments.length;r-- >2;)T.push(arguments[r]);for(;T.length>0;)if((n=T.pop())&&void 0!==n.pop)for(r=n.length;r--;)T.push(n[r]);else"boolean"==typeof n&&(n=null),(l="function"!=typeof t)&&(null==n?n="":"number"==typeof n?n=String(n):"string"!=typeof n&&(l=!1)),l&&f?c[c.length-1].f+=n:null===c?c=[l?{f:n}:n]:c.push(l?{f:n}:n),f=l;if(null!=e){if(e.className&&(e.class=e.className),"object"==typeof e.class){for(r in e.class)e.class[r]&&T.push(r);e.class=T.join(" "),T.length=0}null!=e.l&&(o=e.l),null!=e.name&&(i=e.name)}return"function"==typeof t?t(Object.assign({},e,{children:c}),R):{r:t,s:c,f:void 0,u:e,a:o,p:i,d:void 0,v:!1}}function r(t,e){t.b.has(e)||(t.b.set(e,!0),t.m?t.queue.write(()=>s(t,e)):t.queue.tick(()=>s(t,e)))}function s(t,e,n,o,i,c){if(t.b.delete(e),!t.y.has(e)){if(o=t.w.get(e),n=!o){if((i=t.c.get(e))&&i.$rendered&&(i["s-rn"]=!0),i&&!i["s-rn"])return(i["s-rc"]=i["s-rc"]||[]).push(()=>{s(t,e)}),void(i.$onRender=i["s-rc"]);o=function f(t,e,n,o,i,c,l){try{(function r(t,e,n,o,i,c,f){for(f in t.g.set(o,n),t.M.has(n)||t.M.set(n,{}),(c=Object.assign({color:{type:String}},e.properties)).mode={type:String},c)a(t,c[f],n,o,f,i)})(t,i=t.C(e).k,e,o=new i,n),function s(t,e,n){if(e){const o=t.g.get(n);e.forEach(e=>{n[e.method]={emit:n=>{t.j(o,e.name,{bubbles:e.bubbles,composed:e.composed,cancelable:e.cancelable,detail:n})}}})}}(t,i.events,o);try{if(c=t.W.get(e)){for(l=0;lu(t,e,o,n)):u(t,e,o,n)}}function u(t,e,n,o){(function i(t,e,n,o,c){try{const i=e.k.host;let f;if(o.render||o.hostData||i||f){t.O=!0;const i=o.render&&o.render();let f;f=o.hostData&&o.hostData(),t.O=!1;const r=t.A.get(n)||{};r.d=n;const s=l(null,f,i);t.A.set(n,t.render(r,s,c,e.k.encapsulation))}t.S(t,t.T,e,o.mode,n),n["s-rn"]=!0,n.$onRender&&(n["s-rc"]=n.$onRender),n["s-rc"]&&(n["s-rc"].forEach(t=>t()),n["s-rc"]=null)}catch(e){t.O=!1,t.x(e,8,n,!0)}})(t,t.C(e),e,n,!o);try{o?e["s-init"]():(n.componentDidUpdate&&n.componentDidUpdate(),w(t.A.get(e)))}catch(n){t.x(n,6,e,!0)}}function a(t,e,n,o,i,f,l,r){if(e.type||e.state){const s=t.M.get(n);e.state||(!e.attr||void 0!==s[i]&&""!==s[i]||(l=f&&f.R)&&O(r=l[e.attr])&&(s[i]=c(e.type,r)),n.hasOwnProperty(i)&&(void 0===s[i]&&(s[i]=c(e.type,n[i])),delete n[i])),o.hasOwnProperty(i)&&void 0===s[i]&&(s[i]=o[i]),e.watchCallbacks&&(s[L+i]=e.watchCallbacks.slice()),v(o,i,function s(e){return(e=t.M.get(t.g.get(this)))&&e[i]},function u(n,o){(o=t.g.get(this))&&(e.state||e.mutable)&&p(t,o,i,n)})}else if(e.elementRef)d(o,i,n);else if(e.context){const c=t.L(e.context);void 0!==c&&d(o,i,c.q&&c.q(n)||c)}}function p(t,e,n,o,i,c,f){(i=t.M.get(e))||t.M.set(e,i={});const l=i[n];if(o!==l&&(i[n]=o,c=t.w.get(e))){if(f=i[L+n])for(let t=0;te!==t[l]));for(l=0,r=n.length;l=0;c--)(f=s[c])["s-hn"]!==b&&f["s-ol"]&&(e.V(f),e.X(r(f),f,l(f)),e.V(f["s-ol"]),f["s-ol"]=null,v=!0),i&&o(f,i);t.J=!1}function i(t,o,i,c,f,r,s,u){const a=t["s-cr"]||t.$defaultHolder;for((s=a&&e.Y(a)||t).shadowRoot&&(s=s.shadowRoot);f<=r;++f)c[f]&&(u=O(c[f].f)?e.z(c[f].f):n(null,i,f,t))&&(c[f].d=u,e.X(s,u,l(o)))}function c(t,n,i,c){for(;n<=i;++n)O(t[n])&&(c=t[n].d,d=!0,c["s-ol"]?e.V(c["s-ol"]):o(c,!0),e.V(c))}function f(t,e){return t.r===e.r&&t.a===e.a&&("slot"!==t.r||t.p===e.p)}function l(t){return t&&t["s-ol"]?t["s-ol"]:t}function r(t){return e.Y(t["s-ol"]?t["s-ol"]:t)}const s=[];let u,a,p,d,v,b,m;return function u(y,w,g,M,$,k,C,j,W,x,E){if(p=g,b=e._(y.d),m=y.d["s-cr"],a="scoped"===M||"shadow"===M&&!e.tt?"data-"+e._(y.d):null,v=d=!1,p||a&&e.H(y.d,a+"-host",""),function s(u,a,p){const d=a.d=u.d,v=u.s,b=a.s;D=a.d&&O(e.et(a.d))&&void 0!==a.d.ownerSVGElement,D="svg"===a.r||"foreignObject"!==a.r&&D,O(a.f)?(p=d["s-cr"]||d.$defaultHolder)?e.nt(e.Y(p),a.f):u.f!==a.f&&e.nt(d,a.f):("slot"!==a.r&&h(t,u,a,D),O(v)&&O(b)?function m(t,u,a,p,d,v,b,h){let y=0,w=0,g=u.length-1,M=u[0],$=u[g],k=p.length-1,C=p[0],j=p[k];for(;y<=g&&w<=k;)if(null==M)M=u[++y];else if(null==$)$=u[--g];else if(null==C)C=p[++w];else if(null==j)j=p[--k];else if(f(M,C))s(M,C),M=u[++y],C=p[++w];else if(f($,j))s($,j),$=u[--g],j=p[--k];else if(f(M,j))"slot"!==M.r&&"slot"!==j.r||o(e.Y(M.d)),s(M,j),e.X(t,M.d,e.ot($.d)),M=u[++y],j=p[--k];else if(f($,C))"slot"!==M.r&&"slot"!==j.r||o(e.Y($.d)),s($,C),e.X(t,$.d,M.d),$=u[--g],C=p[++w];else{for(d=null,v=y;v<=g;++v)if(u[v]&&O(u[v].a)&&u[v].a===C.a){d=v;break}O(d)?((h=u[d]).r!==C.r?b=n(u&&u[w],a,d,t):(s(h,C),u[d]=void 0,b=h.d),C=p[++w]):(b=n(u&&u[w],a,w,t),C=p[++w]),b&&e.X(r(M.d),b,l(M.d))}y>g?i(t,null==p[k+1]?null:p[k+1].d,a,p,w,k):w>k&&c(u,y,g)}(d,v,a,b):O(b)?(O(u.f)&&e.nt(d,""),i(d,null,a,b,0,b.length-1)):O(v)&&c(v,0,v.length-1)),D&&"svg"===a.r&&(D=!1)}(y,w),v){for(function t(n,o,i,c,f,l,r,u,a,p){for(f=0,l=(o=e.K(n)).length;f=0;r--)(c=u[r])["s-cn"]||c["s-nr"]||c["s-hn"]===i["s-hn"]||((3===(p=e.it(c))||8===p)&&""===a||1===p&&null===e.ct(c,"slot")&&""===a||1===p&&e.ct(c,"slot")===a)&&(s.some(t=>t.ft===c)||(d=!0,c["s-sn"]=a,s.push({lt:i,ft:c})));1===e.it(i)&&t(i)}}(w.d),k=0;k{w(t,e)}))}function g(t,e,n,o,i){const c=t.it(e);let f,l,r,s;if(i&&1===c){(l=t.ct(e,j))&&(r=l.split("."))[0]===o&&((s={}).r=t._(s.d=e),n.s||(n.s=[]),n.s[r[1]]=s,n=s,i=""!==r[2]);for(let c=0;c{(i=e.B[c].at)&&(o.R[i]=t.ct(n,i))}),o}function $(t,e,n,o){n.connectedCallback=function(){(function n(t,e,o){t.pt.has(o)||(t.pt.set(o,!0),function i(t,e){const n=t.C(e);n.dt&&n.dt.forEach(n=>{n.n||t.T.P(e,n.t,function o(t,e,n,i){return o=>{(i=t.w.get(e))?i[n](o):((i=t.W.get(e)||[]).push(n,o),t.W.set(e,i))}}(t,e,n.e),n.i,n.o)})}(t,o)),t.y.delete(o),t.vt.has(o)||(t.vt.set(o,!0),o["s-id"]||(o["s-id"]=t.bt()),function c(t,e,n){for(n=e;n=t.T.et(n);)if(t.mt(n)){t.ht.has(e)||(t.c.set(e,n),n.$activeLoading&&(n["s-ld"]=n.$activeLoading),(n["s-ld"]=n["s-ld"]||[]).push(e));break}}(t,o),t.queue.tick(()=>t.yt(e,o,M(t.T,e,o))))})(t,e,this)},n.attributeChangedCallback=function(t,n,o){(function i(t,e,n,o,f,l,r){if(t&&o!==f)for(l in t)if((r=t[l]).at&&A(r.at)===A(n)){e[l]=c(r.wt,f);break}})(e.B,this,t,n,o)},n.disconnectedCallback=function(){(function e(t,n,o){!t.J&&function i(t,e){for(;e;){if(!t.Y(e))return 9!==t.it(e);e=t.Y(e)}}(t.T,n)&&(t.y.set(n,!0),f(t,n),w(t.A.get(n),!0),t.T.F(n),t.pt.delete(n),(o=t.w.get(n))&&o.componentDidUnload&&o.componentDidUnload(),[t.c,t.gt,t.N].forEach(t=>t.delete(n)))})(t,this)},n["s-init"]=function(){(function e(t,n,o,i,c){if(!t.ht.has(n)&&(i=t.w.get(n))&&!t.y.has(n)&&(!n["s-ld"]||!n["s-ld"].length)){delete n["s-ld"],t.ht.set(n,!0);try{w(t.A.get(n)),(c=t.gt.get(n))&&(c.forEach(t=>t(n)),t.gt.delete(n)),i.componentDidLoad&&i.componentDidLoad()}catch(e){t.x(e,4,n)}n.classList.add(o),f(t,n)}})(t,this,o)},n.forceUpdate=function(){r(t,this)},function i(t,e,n){e&&Object.keys(e).forEach(o=>{const i=e[o],f=i.Mt;1===f||2===f?v(n,o,function e(){return(t.M.get(this)||{})[o]},function e(n){p(t,this,o,c(i.wt,n))}):6===f&&d(n,o,S)})}(t,e.B,n)}function k(t,e,n,o){return function(){const i=arguments;return function c(t,e,n){return new Promise(o=>{let i=e[n];i||(i=t.$t.querySelector(n)),i||(i=e[n]=t.Z(n),t.G(t.$t,i)),i.componentOnReady(o)})}(t,e,n).then(t=>t[o].apply(t,i))}}const C="data-ssrv",j="data-ssrc",W="$",x={},E=[],N={enter:13,escape:27,space:32,tab:9,left:37,up:38,right:39,down:40},O=t=>null!=t,A=t=>t.toLowerCase(),S=()=>{},T=[],R={getAttributes:t=>t.u,replaceAttributes:(t,e)=>t.u=e},L="wc-",q={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},B="http://www.w3.org/1999/xlink";let D=!1;(function P(t,e,n,o,c,f,s){function u(t,e){if(!m[t.kt]){m[t.kt]=!0,$(w,a[t.kt]=t,e.prototype,f);{const n=e.observedAttributes=[];for(const e in t.B)t.B[e].at&&n.push(t.B[e].at)}n.customElements.define(t.kt,e)}}const a={html:{}},p={},d=n[t]=n[t]||{},v=function b(t,e,n){t.Ct||(t.Ct=((t,e,n,o)=>t.addEventListener(e,n,o)),t.jt=((t,e,n,o)=>t.removeEventListener(e,n,o)));const o=new WeakMap,i={Wt:n.documentElement,xt:n.head,$t:n.body,Et:!1,it:t=>t.nodeType,Z:t=>n.createElement(t),Q:(t,e)=>n.createElementNS(t,e),z:t=>n.createTextNode(t),Nt:t=>n.createComment(t),X:(t,e,n)=>t.insertBefore(e,n),V:t=>t.remove(),G:(t,e)=>t.appendChild(e),K:t=>t.childNodes,Y:t=>t.parentNode,ot:t=>t.nextSibling,rt:t=>t.previousSibling,_:t=>A(t.nodeName),st:t=>t.textContent,nt:(t,e)=>t.textContent=e,ct:(t,e)=>t.getAttribute(e),H:(t,e,n)=>t.setAttribute(e,n),Ot:(t,e,n,o)=>t.setAttributeNS(e,n,o),D:(t,e)=>t.removeAttribute(e),At:(t,o)=>{return"child"===o?t.firstElementChild:"parent"===o?i.et(t):"body"===o?i.$t:"document"===o?n:"window"===o?e:t},P:(e,n,c,f,l,r,s,u)=>{const a=n;let p=e,d=o.get(e);if(d&&d[a]&&d[a](),"string"==typeof r?p=i.At(e,r):"object"==typeof r?p=r:(u=n.split(":")).length>1&&(p=i.At(e,u[0]),n=u[1]),!p)return;let v=c;(u=n.split(".")).length>1&&(n=u[0],v=(t=>{t.keyCode===N[u[1]]&&c(t)})),s=i.Et?{capture:!!f,passive:!!l}:!!f,t.Ct(p,n,v,s),d||o.set(e,d={}),d[a]=(()=>{p&&t.jt(p,n,v,s),d[a]=null})},F:(t,e)=>{const n=o.get(t);n&&(e?n[e]&&n[e]():Object.keys(n).forEach(t=>{n[t]&&n[t]()}))},St:(t,n,o)=>t&&t.dispatchEvent(new e.CustomEvent(n,o))};try{e.addEventListener("e",null,Object.defineProperty({},"passive",{get:()=>i.Et=!0}))}catch(t){}return i.et=((t,e)=>(e=i.Y(t))&&11===i.it(e)?e.host:e),i}(d,n,o);e.isServer=e.isPrerender=!(e.isClient=!0),e.window=n,e.location=n.location,e.document=o,e.resourcesUrl=e.publicPath=c,e.enableListener=((t,e,n,o,i)=>(function c(t,e,n,o,i,f){if(e){const c=t.g.get(e),l=t.C(c);if(l&&l.dt)if(o){const o=l.dt.find(t=>t.t===n);o&&t.T.P(c,n,t=>e[o.e](t),o.i,void 0===f?o.o:!!f,i)}else t.T.F(c,n)}})(w,t,e,n,o,i)),e.emit=((t,n,o)=>v.St(t,e.eventNameFn?e.eventNameFn(n):n,o)),d.h=l,d.Context=e;const m=n.$definedCmps=n.$definedCmps||{};let h=0;const w={T:v,Tt:u,j:e.emit,C:t=>a[v._(t)],L:t=>e[t],isClient:!0,mt:t=>!(!m[v._(t)]&&!w.C(t)),bt:()=>t+h++,x:(t,e,n)=>void 0,Rt:t=>(function e(t,n,o){return{create:k(t,n,o,"create"),componentOnReady:k(t,n,o,"componentOnReady")}})(v,p,t),queue:e.queue=function j(t,e){function n(t){for(let e=0;e0&&(u.push(...s),s.length=0),(p=r.length+s.length+u.length>0)?t.raf(i):a=0}const c=()=>e.performance.now(),f=Promise.resolve(),l=[],r=[],s=[],u=[];let a=0,p=!1;return t.raf||(t.raf=e.requestAnimationFrame.bind(e)),{tick(t){l.push(t),1===l.length&&f.then(()=>n(l))},read(e){r.push(e),p||(p=!0,t.raf(i))},write(e){s.push(e),p||(p=!0,t.raf(i))}}}(d,n),yt:function x(t,n){if(n.mode||(n.mode=v.ct(n,"mode")||e.mode),M(w.T,t,n),t.k)r(w,n);else{const e="string"==typeof t.Lt?t.Lt:t.Lt[n.mode],o=c+e+(function o(t,e){return 2===e.encapsulation||1===e.encapsulation&&!t}(v.tt,t)?".sc":"")+".js";import(o).then(e=>{try{(function o(t,e,n){const o=n.style;if(o){const i=n.is+(n.styleMode||W);if(!e[i]){const n=t.Z("template");e[i]=n,n.innerHTML=``,t.G(t.xt,n)}}})(v,t,t.k=e[(t=>A(t).split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""))(t.kt)])}catch(e){t.k=class{}}r(w,n)}).catch(t=>void 0)}},c:new WeakMap,qt:new WeakMap,vt:new WeakMap,pt:new WeakMap,ht:new WeakMap,g:new WeakMap,N:new WeakMap,w:new WeakMap,y:new WeakMap,b:new WeakMap,gt:new WeakMap,W:new WeakMap,A:new WeakMap,M:new WeakMap};w.render=y(w,v);const E=v.Wt;E["s-ld"]=[],E["s-rn"]=!0,E["s-init"]=(()=>{w.ht.set(E,d.loaded=w.m=!0),v.St(n,"appload",{detail:{namespace:t}})}),function O(t,e,n){const o=n.querySelectorAll(`[${C}]`),i=o.length;let c,f,l,r,s,u;if(i>0)for(t.ht.set(n,!0),r=0;r{(function c(t,e,n,o,i,f,l){let r=n.kt+(o||W),s=n[r];if(s||(s=n[r=n.kt+W]),s){let o=e.xt;if(e.tt)if(1===n.encapsulation)o=i.shadowRoot;else for(;i=e.Y(i);)if(i.host&&i.host.shadowRoot){o=i.host.shadowRoot;break}const c=t.qt.get(o)||{};if(!c[r]){l=s.content.cloneNode(!0);const n=o.querySelectorAll("[data-styles]");e.X(o,l,n.length&&n[n.length-1].nextSibling||o.Bt),c[r]=!0,t.qt.set(o,c)}}})(t,e,n,o,i)}),(d.components||[]).map(t=>(function e(t,n,o){const c={kt:t[0],B:{color:{at:"color"}}};c.Lt=t[1];const f=t[3];if(f)for(n=0;nu(t,class extends HTMLElement{})),function S(t,e){e.componentOnReady=((e,n)=>{if(t.C(e)&&!t.ht.has(e)){const o=t.gt.get(e)||[];o.push(n),t.gt.set(e,o)}else n(e)}),e.$r&&e.$r.forEach(t=>e.componentOnReady(t[0],t[1])),e.$r=null}(w,d),d.initialized=!0})(o,n,t,e,resourcesUrl,hydratedCssClass)})(window,document,Context,namespace); -})({},"DocsSite","hydrated"); \ No newline at end of file diff --git a/docs/build/docssite/docssite.registry.json b/docs/build/docssite/docssite.registry.json index 5b7ef1f2..99553047 100644 --- a/docs/build/docssite/docssite.registry.json +++ b/docs/build/docssite/docssite.registry.json @@ -43,4 +43,4 @@ "$": "usage-page" } } -} +} \ No newline at end of file diff --git a/docs/build/docssite/82updblm.es5.js b/docs/build/docssite/f5jhpa2x.es5.js similarity index 62% rename from docs/build/docssite/82updblm.es5.js rename to docs/build/docssite/f5jhpa2x.es5.js index 33bf3aca..919e1852 100644 --- a/docs/build/docssite/82updblm.es5.js +++ b/docs/build/docssite/f5jhpa2x.es5.js @@ -1,2 +1,2 @@ /*! Built with http://stenciljs.com */ -DocsSite.loadBundle("82updblm",["exports","./chunk-438b3614.js"],function(t,e){var n=window.DocsSite.h,o=function(){function t(){this.isSticky=!1,this.query="",this.isSearchVisible=!1}return t.prototype.handleScroll=function(){requestAnimationFrame(this.checkScroll.bind(this))},t.prototype.handleResize=function(){var t=this;requestAnimationFrame(function(){window.innerWidth>768&&(t.el.querySelector("nav").style.display="",t.el.classList.remove("show-mobile-menu"),document.body.classList.remove("no-scroll"),t.isMobileMenuShown=!1)})},t.prototype.checkScroll=function(){var t=document.documentElement.scrollTop||document.body.scrollTop;this.isSticky=t>30},t.prototype.showNav=function(){if(!this.isMobileMenuShown){this.isMobileMenuShown=!0;var t=this.el.querySelector("nav");t.style.display="flex",setTimeout(function(){t.classList.add("show-mobile-menu"),document.body.classList.add("no-scroll")},1)}},t.prototype.hideNav=function(){if(this.isMobileMenuShown){this.isMobileMenuShown=!1;var t=this.el.querySelector("nav");t.classList.remove("show-mobile-menu"),setTimeout(function(){t.style.display="none",document.body.classList.remove("no-scroll")},300)}},t.prototype.render=function(){var t=this;return n("header",{class:(this.isSearchVisible?"visible-search":"")+" "+(this.isSticky?"overlay":"")},n("div",{class:"container"},n("div",{class:"logo"},n("stencil-route-link",{url:"/",exact:!0},n("svg",{width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},n("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},n("g",{id:"icon","fill-rule":"nonzero"},n("circle",{id:"circle",fill:"#EAEEF5",cx:"16",cy:"16",r:"16"}),n("circle",{id:"circle_copy",fill:"#B4C1D8",cx:"16",cy:"16",r:"11"}),n("circle",{id:"circle_copy_2",fill:"#647AA1",cx:"16",cy:"16",r:"6"}),n("circle",{id:"circle_copy_3",fill:"#647AA1",cx:"23.5",cy:"8.5",r:"2"})))),"Ionicons"),n("span",{class:"version"},this.version)),n("icon-search",{query:this.query,size:"small"}),n("nav",null,n("stencil-route-link",{class:"nav__item",url:"/",exact:!0,onClick:this.hideNav.bind(this)},"Icons"),n("stencil-route-link",{class:"nav__item",url:"/usage",onClick:function(){t.toggleHeaderSearch.emit("hide"),t.hideNav()}},"Usage"),n("a",{class:"nav__item",href:"https://github.com/ionic-team/ionicons"},"Github",n("svg",{width:"12px",height:"12px",viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},n("g",{transform:"translate(0,1)"},n("rect",{id:"bg",fill:"#e3e8f1",x:"0",y:"2",width:"9",height:"9",rx:"1.5"}),n("path",{d:"M9.18198052,1 L6.5,1 L6.5,0 L11,0 L11,1 L11,4.5 L10,4.5 L10,1.59619408 L4.02512627,7.57106781 L3.31801948,6.86396103 L9.18198052,1 Z",id:"arrow",fill:"#A4AEC3"})))),n("span",{class:"close",onClick:this.hideNav.bind(this)},n("i",{class:"ion ion-md-close"}))),n("a",{class:"btn sm-hide",href:"/ionicons.designerpack.zip"},n("svg",{width:"9px",height:"11px",viewBox:"0 0 9 11",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},n("g",null,n("rect",{id:"bg",fill:"#BAC3D1",x:"0",y:"9",width:"9",height:"2",rx:"1"}),n("path",{d:"M5,6.26776695 L7.26776695,4 L7.97487373,4.70710678 L4.70710678,7.97487373 L4.48743687,7.75520382 L4.26776695,7.97487373 L1,4.70710678 L1.70710678,4 L4,6.29289322 L4,0 L5,0 L5,6.26776695 Z",id:"arrow",fill:"#94A0B8"}))),"Designer pack"),n("span",{class:"more",onClick:this.showNav.bind(this)},n("i",{class:"ion ion-md-more"}))))},Object.defineProperty(t,"is",{get:function(){return"header-bar"},enumerable:!0,configurable:!0}),Object.defineProperty(t,"properties",{get:function(){return{el:{elementRef:!0},isMobileMenuShown:{state:!0},isSearchVisible:{type:Boolean,attr:"is-search-visible"},isSticky:{state:!0},query:{type:String,attr:"query"},version:{type:String,attr:"version"}}},enumerable:!0,configurable:!0}),Object.defineProperty(t,"events",{get:function(){return[{name:"toggleHeaderSearch",method:"toggleHeaderSearch",bubbles:!0,cancelable:!0,composed:!0}]},enumerable:!0,configurable:!0}),Object.defineProperty(t,"listeners",{get:function(){return[{name:"window:scroll",method:"handleScroll",passive:!0},{name:"window:resize",method:"handleResize",passive:!0}]},enumerable:!0,configurable:!0}),Object.defineProperty(t,"style",{get:function(){return"header-bar header{-webkit-transition:border .6s;transition:border .6s;position:fixed;width:100%;top:0;left:0;right:0;background:#fff;z-index:999;border-bottom:1px solid transparent;height:64px}header-bar header.overlay{border-bottom:1px solid rgba(0,0,0,.05)}header-bar .container,header-bar .logo,header-bar .logo a,header-bar nav{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}header-bar .logo,header-bar nav{-webkit-box-flex:0;-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}header-bar nav{-webkit-box-align:baseline;-webkit-align-items:baseline;-ms-flex-align:baseline;align-items:baseline}header-bar icon-search{-webkit-transition:opacity .5s;transition:opacity .5s;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding-left:60px;padding-right:60px;opacity:0;pointer-events:none}header-bar .visible-search icon-search{opacity:1;pointer-events:auto}header-bar .container{-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding-top:12px;padding-bottom:12px}header-bar .logo a{font-weight:700;font-size:16px;color:var(--color-shark)}header-bar .logo svg{margin-right:10px}header-bar .logo .version{margin-left:10px;font-size:10px;font-weight:600;color:var(--color-oslo-gray);background-color:var(--color-catskill-white);border-radius:4px;padding:1px 5px;position:relative;top:-2px}header-bar a{text-decoration:none}header-bar .nav__item+.nav__item,header-bar nav+.btn{margin-left:30px}header-bar .nav__item{font-size:13px;font-weight:600}header-bar .nav__item,header-bar .nav__item a{-webkit-transition:color .3s;transition:color .3s;color:var(--color-pale-sky)}header-bar .nav__item a:not(.link-active):hover,header-bar .nav__item:hover{color:var(--color-shark)}header-bar .nav__item .link-active{color:var(--color-heather);cursor:default}header-bar .nav__item svg{margin-left:6px}header-bar .nav__item:hover svg #arrow{-webkit-transform:translate(1px,-1px);transform:translate(1px,-1px)}header-bar .btn svg{margin-right:6px}header-bar .btn:hover svg #arrow{-webkit-transform:translate(0,1px);transform:translate(0,1px)}header-bar .more{padding:0 8px;font-size:28px;line-height:28px;color:var(--color-dodger-blue);cursor:pointer;display:none}header-bar nav span.close{display:none;font-size:28px}\@media screen and (max-width:992px){header-bar nav>*+*{margin-left:18px}header-bar icon-search{padding-left:30px;padding-right:30px}}\@media screen and (max-width:768px){header-bar .btn.sm-hide{display:none}header-bar .close,header-bar .more{cursor:pointer}header-bar .more{display:block}header-bar .nav__item+.nav__item,header-bar nav+.btn{margin-left:0;margin-top:30px}header-bar nav{-webkit-transition:opacity .3s;transition:opacity .3s;position:fixed;top:0;left:0;right:0;bottom:0;width:100%;height:100%;z-index:99999;background-image:linear-gradient(-223deg,#363e49 0,#1c1e21 100%);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;opacity:0;display:none}header-bar nav .close{margin:0;position:absolute;top:14px;right:18px;color:#fff;cursor:pointer}header-bar .nav__item{-webkit-transition:-webkit-transform .4s;transition:-webkit-transform .4s;transition:transform .4s;transition:transform .4s,-webkit-transform .4s;-webkit-transform:translateY(8px);transform:translateY(8px)}header-bar .nav__item,header-bar .nav__item a{font-size:28px;color:rgba(255,255,255,.9)}header-bar .nav__item .link-active{color:rgba(255,255,255,.3)}header-bar .nav__item a:not(.link-active):hover,header-bar .nav__item:hover{color:rgba(255,255,255,.9)}header-bar .nav__item svg #bg{opacity:.2}header-bar nav.show-mobile-menu{opacity:1}header-bar nav.show-mobile-menu .nav__item{-webkit-transform:translateY(0);transform:translateY(0)}header-bar nav.show-mobile-menu .close{display:block}header-bar icon-search{padding-left:20px;padding-right:15px}}\@media screen and (max-width:520px){header-bar .version{display:none}}"},enumerable:!0,configurable:!0}),t}(),i=function(t,e){var o,i=t.children,r=t.scrollTopOffset;o=window.crypto?([1e7].toString()+-1e3.toString()+-4e3.toString()+-8e3.toString()+-1e11.toString()).replace(/[018]/g,function(t){return(t^window.crypto.getRandomValues(new Uint8Array(1))[0]&15>>t/4).toString(16)}):(1e17*Math.random()).toString();var a=i.map(function(t,n){var i=e.getAttributes(t);return e.replaceAttributes(t,Object.assign({},i,{scrollTopOffset:r,group:o,groupIndex:n})),t});return n("div",null,a)},r=function(){function t(){this.data={version:void 0,icons:[]},this.query="",this.isHeaderSearchVisible=!1}return t.prototype.handleScroll=function(){requestAnimationFrame(this.checkScroll.bind(this))},t.prototype.searchHandler=function(t){this.query=t.detail},t.prototype.toggleHandler=function(t){this.isHeaderSearchVisible="show"===t.detail},t.prototype.componentWillLoad=function(){var t=this;return fetch("/data.json").then(function(e){e.json().then(function(e){t.data=e,t.data.icons=t.data.icons.map(function(t){return t.icons=t.icons.reverse(),t.name=t.icons[0].split("-").slice(1).join("-"),t})})})},t.prototype.checkScroll=function(){var t=document.querySelector("header .search-input"),e=document.querySelector("icon-list .search-input");if(e){var n=t.querySelector("input"),o=e.querySelector("input");if(e.getBoundingClientRect().topdiv{height:100%}"},enumerable:!0,configurable:!0}),t}(),a=function(){function t(){this.unsubscribe=function(){},this.componentProps={},this.exact=!1,this.group=null,this.groupIndex=null,this.routeRender=null,this.scrollTopOffset=null,this.match=null,this.activeInGroup=!1,this.scrollOnNextRender=!1}return t.prototype.computeMatch=function(t){return t||(t=this.activeRouter.get("location").pathname),e.matchPath(t,{path:this.url,exact:this.exact,strict:!0})},t.prototype.componentWillLoad=function(){var t=this,e=this;this.unsubscribe=this.activeRouter.subscribe({isMatch:this.computeMatch.bind(this),listener:function(n){return t.match=n,new Promise(function(t){e.componentDidRerender=t})},groupId:this.group,groupIndex:this.groupIndex})},t.prototype.componentDidUnload=function(){this.unsubscribe()},t.prototype.componentDidUpdate=function(){var t=this;if(this.componentDidRerender){var e=this.el.firstElementChild;e&&e.componentOnReady?e.componentOnReady().then(function(){t.componentDidRerender&&t.componentDidRerender(),t.componentDidRerender=void 0,t.activeInGroup=!!t.match,t.scrollOnNextRender=t.activeInGroup}):(this.componentDidRerender(),this.componentDidRerender=void 0,this.activeInGroup=!!this.match,this.scrollOnNextRender=this.activeInGroup)}else this.scrollOnNextRender&&(this.scrollTo(),this.scrollOnNextRender=!1)},t.prototype.scrollTo=function(){var t=this,e=this.activeRouter.get("history");if(null!=this.scrollTopOffset&&e&&!this.isServer)return"POP"===e.action&&null!=e.location.scrollPosition?this.queue.write(function(){window.scrollTo(e.location.scrollPosition[0],e.location.scrollPosition[1])}):this.queue.read(function(){return t.queue.write(function(){window.scrollTo(0,t.scrollTopOffset)})})},t.prototype.hostData=function(){if(!this.activeRouter||!this.match||this.group&&!this.activeInGroup)return{style:{display:"none"}}},t.prototype.render=function(){if(!this.activeRouter||!this.match)return null;var t=Object.assign({},this.componentProps,{history:this.activeRouter.get("history"),match:this.match});if(this.routeRender)return this.routeRender(Object.assign({},t,{component:this.component}));if(this.component){var e=this.component;return n(e,Object.assign({},t))}},Object.defineProperty(t,"is",{get:function(){return"stencil-route"},enumerable:!0,configurable:!0}),Object.defineProperty(t,"properties",{get:function(){return{activeInGroup:{state:!0},activeRouter:{context:"activeRouter"},component:{type:String,attr:"component"},componentProps:{type:"Any",attr:"component-props"},el:{elementRef:!0},exact:{type:Boolean,attr:"exact"},group:{type:String,attr:"group"},groupIndex:{type:Number,attr:"group-index"},isServer:{context:"isServer"},location:{context:"location"},match:{state:!0},queue:{context:"queue"},routeRender:{type:"Any",attr:"route-render"},scrollTopOffset:{type:Number,attr:"scroll-top-offset"},url:{type:String,attr:"url"}}},enumerable:!0,configurable:!0}),t}();function s(t,e){return new RegExp("^"+e+"(\\/|\\?|#|$)","i").test(t)}function c(t,e){return s(t,e)?t.substr(e.length):t}function l(t){return"/"===t.charAt(t.length-1)?t.slice(0,-1):t}function u(t){return"/"===t.charAt(0)?t:"/"+t}function h(t){return"/"===t.charAt(0)?t.substr(1):t}function p(t){var e=t.pathname,n=t.search,o=t.hash,i=e||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),o&&"#"!==o&&(i+="#"===o.charAt(0)?o:"#"+o),i}function d(t){return"/"===t.charAt(0)}function f(t,e){for(var n=e,o=n+1,i=t.length;o=0;u--){var h=i[u];"."===h?f(i,u):".."===h?(f(i,u),l++):l&&(f(i,u),l--)}if(!s)for(;l--;l)i.unshift("..");!s||""===i[0]||i[0]&&d(i[0])||i.unshift("");var p=i.join("/");return n&&"/"!==p.substr(-1)&&(p+="/"),p}(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname="/"),i.query=(r=i.search)?(/^[?#]/.test(r)?r.slice(1):r).split("&").reduce(function(t,e){var n=e.split("="),o=n[0],i=n[1];return t[o]=i?decodeURIComponent(i.replace(/\+/g," ")):"",t},{}):{},i}function m(t){for(var e=[],n=1;n=0?e:0)+"#"+t)},P={browser:function(t){void 0===t&&(t={}),m(e.canUseDOM,"Browser history needs a DOM");var n=window.history,o=e.supportsHistory(),i=!e.supportsPopStateOnHashChange(),r=b(),a=t.forceRefresh,h=void 0!==a&&a,d=t.getUserConfirmation,f=void 0===d?e.getConfirmation:d,S=t.keyLength,x=void 0===S?6:S,O=t.basename?l(u(t.basename)):"",P=function(t){var e=(t=t||{}).key,n=t.state,o=window.location,i=o.pathname+o.search+o.hash;return v(!O||s(i,O),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+i+'" to begin with "'+O+'".'),O&&(i=c(i,O)),g(i,n,e)},R=function(){return Math.random().toString(36).substr(2,x)},L=y(),k=function(t){r.capture(N.location.key),Object.assign(N,t),N.location.scrollPosition=r.get(N.location.key),N.length=n.length,L.notifyListeners(N.location,N.action)},A=function(t){e.isExtraneousPopstateEvent(t)||j(P(t.state))},T=function(){j(P(w()))},H=!1,j=function(t){H?(H=!1,k()):L.confirmTransitionTo(t,"POP",f,function(e){e?k({action:"POP",location:t}):E(t)})},E=function(t){var e=N.location,n=q.indexOf(e.key);-1===n&&(n=0);var o=q.indexOf(t.key);-1===o&&(o=0);var i=n-o;i&&(H=!0,C(i))},M=P(w()),q=[M.key],I=function(t){return O+p(t)},C=function(t){n.go(t)},U=0,D=function(t){1===(U+=t)?(e.addEventListener(window,"popstate",A),i&&e.addEventListener(window,"hashchange",T)):0===U&&(e.removeEventListener(window,"popstate",A),i&&e.removeEventListener(window,"hashchange",T))},B=!1,N={length:n.length,action:"POP",location:M,createHref:I,push:function(t,e){v(!("object"==typeof t&&void 0!==t.state&&void 0!==e),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var i=g(t,e,R(),N.location);L.confirmTransitionTo(i,"PUSH",f,function(t){if(t){var e=I(i),r=i.key,a=i.state;if(o)if(n.pushState({key:r,state:a},null,e),h)window.location.href=e;else{var s=q.indexOf(N.location.key),c=q.slice(0,-1===s?0:s+1);c.push(i.key),q=c,k({action:"PUSH",location:i})}else v(void 0===a,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=e}})},replace:function(t,e){v(!("object"==typeof t&&void 0!==t.state&&void 0!==e),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var i=g(t,e,R(),N.location);L.confirmTransitionTo(i,"REPLACE",f,function(t){if(t){var e=I(i),r=i.key,a=i.state;if(o)if(n.replaceState({key:r,state:a},null,e),h)window.location.replace(e);else{var s=q.indexOf(N.location.key);-1!==s&&(q[s]=i.key),k({action:"REPLACE",location:i})}else v(void 0===a,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(e)}})},go:C,goBack:function(){return C(-1)},goForward:function(){return C(1)},block:function(t){void 0===t&&(t="");var e=L.setPrompt(t);return B||(D(1),B=!0),function(){return B&&(B=!1,D(-1)),e()}},listen:function(t){var e=L.appendListener(t);return D(1),function(){D(-1),e()}}};return N},hash:function(t){void 0===t&&(t={}),m(e.canUseDOM,"Hash history needs a DOM");var n=window.history,o=e.supportsGoWithoutReloadUsingHash(),i=t.getUserConfirmation,r=void 0===i?e.getConfirmation:i,a=t.hashType,h=void 0===a?"slash":a,d=t.basename?l(u(t.basename)):"",f=S[h],b=f.encodePath,w=f.decodePath,P=function(){var t=w(x());return v(!d||s(t,d),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+t+'" to begin with "'+d+'".'),d&&(t=c(t,d)),g(t)},R=y(),L=function(t){Object.assign(N,t),N.length=n.length,R.notifyListeners(N.location,N.action)},k=!1,A=null,T=function(){var t,e,n=x(),o=b(n);if(n!==o)O(o);else{var i=P(),r=N.location;if(!k&&(e=i,(t=r).pathname===e.pathname&&t.search===e.search&&t.hash===e.hash&&t.key===e.key&&function t(e,n){if(e===n)return!0;if(null==e||null==n)return!1;if(Array.isArray(e))return Array.isArray(n)&&e.length===n.length&&e.every(function(e,o){return t(e,n[o])});var o=typeof e;if(o!==typeof n)return!1;if("object"===o){var i=e.valueOf(),r=n.valueOf();if(i!==e||r!==n)return t(i,r);var a=Object.keys(e),s=Object.keys(n);return a.length===s.length&&a.every(function(o){return t(e[o],n[o])})}return!1}(t.state,e.state)))return;if(A===p(i))return;A=null,H(i)}},H=function(t){k?(k=!1,L()):R.confirmTransitionTo(t,"POP",r,function(e){e?L({action:"POP",location:t}):j(t)})},j=function(t){var e=N.location,n=I.lastIndexOf(p(e));-1===n&&(n=0);var o=I.lastIndexOf(p(t));-1===o&&(o=0);var i=n-o;i&&(k=!0,C(i))},E=x(),M=b(E);E!==M&&O(M);var q=P(),I=[p(q)],C=function(t){v(o,"Hash history go(n) causes a full page reload in this browser"),n.go(t)},U=0,D=function(t){1===(U+=t)?e.addEventListener(window,"hashchange",T):0===U&&e.removeEventListener(window,"hashchange",T)},B=!1,N={length:n.length,action:"POP",location:q,createHref:function(t){return"#"+b(d+p(t))},push:function(t,e){v(void 0===e,"Hash history cannot push state; it is ignored");var n=g(t,void 0,void 0,N.location);R.confirmTransitionTo(n,"PUSH",r,function(t){if(t){var e=p(n),o=b(d+e);if(x()!==o){A=e,function(t){window.location.hash=t}(o);var i=I.lastIndexOf(p(N.location)),r=I.slice(0,-1===i?0:i+1);r.push(e),I=r,L({action:"PUSH",location:n})}else v(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),L()}})},replace:function(t,e){v(void 0===e,"Hash history cannot replace state; it is ignored");var n=g(t,void 0,void 0,N.location);R.confirmTransitionTo(n,"REPLACE",r,function(t){if(t){var e=p(n),o=b(d+e);x()!==o&&(A=e,O(o));var i=I.indexOf(p(N.location));-1!==i&&(I[i]=e),L({action:"REPLACE",location:n})}})},go:C,goBack:function(){return C(-1)},goForward:function(){return C(1)},block:function(t){void 0===t&&(t="");var e=R.setPrompt(t);return B||(D(1),B=!0),function(){return B&&(B=!1,D(-1)),e()}},listen:function(t){var e=R.appendListener(t);return D(1),function(){D(-1),e()}}};return N}},R=function(){function t(){this.root="/",this.historyType="browser",this.titleSuffix="",this.unsubscribe=function(){},this.match=null}return t.prototype.titleSuffixChanged=function(t){this.activeRouter.set({titleSuffix:t})},t.prototype.computeMatch=function(t){return{path:this.root,url:this.root,isExact:t===this.root,params:{}}},t.prototype.componentWillLoad=function(){var t=this,e=P[this.historyType]();e.listen(function(e){t.activeRouter.set({location:t.getLocation(e)})}),this.activeRouter.set({location:this.getLocation(e.location),titleSuffix:this.titleSuffix,root:this.root,history:e}),this.unsubscribe=this.activeRouter.subscribe({isMatch:this.computeMatch.bind(this),listener:function(e){t.match=e}}),this.match=this.computeMatch()},t.prototype.componentDidLoad=function(){this.activeRouter.dispatch()},t.prototype.getLocation=function(t){var e=0==t.pathname.indexOf(this.root)?"/"+t.pathname.slice(this.root.length):t.pathname;return Object.assign({},t,{pathname:e})},t.prototype.componentDidUnload=function(){this.unsubscribe()},t.prototype.render=function(){return n("slot",null)},Object.defineProperty(t,"is",{get:function(){return"stencil-router"},enumerable:!0,configurable:!0}),Object.defineProperty(t,"properties",{get:function(){return{activeRouter:{context:"activeRouter"},historyType:{type:String,attr:"history-type"},match:{state:!0},root:{type:String,attr:"root"},titleSuffix:{type:String,attr:"title-suffix",watchCallbacks:["titleSuffixChanged"]}}},enumerable:!0,configurable:!0}),t}();t.HeaderBar=o,t.IoniconsSite=r,t.StencilRoute=a,t.StencilRouter=R,Object.defineProperty(t,"__esModule",{value:!0})}); \ No newline at end of file +DocsSite.loadBundle("f5jhpa2x",["exports","./chunk-4440b782.js"],function(t,e){var n=window.DocsSite.h,o=function(){function t(){this.isSticky=!1,this.query="",this.isSearchVisible=!1}return t.prototype.handleScroll=function(){requestAnimationFrame(this.checkScroll.bind(this))},t.prototype.handleResize=function(){var t=this;requestAnimationFrame(function(){window.innerWidth>768&&(t.el.querySelector("nav").style.display="",t.el.classList.remove("show-mobile-menu"),document.body.classList.remove("no-scroll"),t.isMobileMenuShown=!1)})},t.prototype.checkScroll=function(){var t=document.documentElement.scrollTop||document.body.scrollTop;this.isSticky=t>30},t.prototype.showNav=function(){if(!this.isMobileMenuShown){this.isMobileMenuShown=!0;var t=this.el.querySelector("nav");t.style.display="flex",setTimeout(function(){t.classList.add("show-mobile-menu"),document.body.classList.add("no-scroll")},1)}},t.prototype.hideNav=function(){if(this.isMobileMenuShown){this.isMobileMenuShown=!1;var t=this.el.querySelector("nav");t.classList.remove("show-mobile-menu"),setTimeout(function(){t.style.display="none",document.body.classList.remove("no-scroll")},300)}},t.prototype.render=function(){var t=this;return n("header",{class:(this.isSearchVisible?"visible-search":"")+" "+(this.isSticky?"overlay":"")},n("div",{class:"container"},n("div",{class:"logo"},n("stencil-route-link",{url:"/",exact:!0},n("svg",{width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},n("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},n("g",{id:"icon","fill-rule":"nonzero"},n("circle",{id:"circle",fill:"#EAEEF5",cx:"16",cy:"16",r:"16"}),n("circle",{id:"circle_copy",fill:"#B4C1D8",cx:"16",cy:"16",r:"11"}),n("circle",{id:"circle_copy_2",fill:"#647AA1",cx:"16",cy:"16",r:"6"}),n("circle",{id:"circle_copy_3",fill:"#647AA1",cx:"23.5",cy:"8.5",r:"2"})))),"Ionicons"),n("span",{class:"version"},this.version)),n("icon-search",{query:this.query,size:"small"}),n("nav",null,n("stencil-route-link",{class:"nav__item",url:"/",exact:!0,onClick:this.hideNav.bind(this)},"Icons"),n("stencil-route-link",{class:"nav__item",url:"/usage",onClick:function(){t.toggleHeaderSearch.emit("hide"),t.hideNav()}},"Usage"),n("a",{class:"nav__item",href:"https://github.com/ionic-team/ionicons"},"Github",n("svg",{width:"12px",height:"12px",viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},n("g",{transform:"translate(0,1)"},n("rect",{id:"bg",fill:"#e3e8f1",x:"0",y:"2",width:"9",height:"9",rx:"1.5"}),n("path",{d:"M9.18198052,1 L6.5,1 L6.5,0 L11,0 L11,1 L11,4.5 L10,4.5 L10,1.59619408 L4.02512627,7.57106781 L3.31801948,6.86396103 L9.18198052,1 Z",id:"arrow",fill:"#A4AEC3"})))),n("span",{class:"close",onClick:this.hideNav.bind(this)},n("i",{class:"ion ion-md-close"}))),n("a",{class:"btn sm-hide",href:"/ionicons.designerpack.zip"},n("svg",{width:"9px",height:"11px",viewBox:"0 0 9 11",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},n("g",null,n("rect",{id:"bg",fill:"#BAC3D1",x:"0",y:"9",width:"9",height:"2",rx:"1"}),n("path",{d:"M5,6.26776695 L7.26776695,4 L7.97487373,4.70710678 L4.70710678,7.97487373 L4.48743687,7.75520382 L4.26776695,7.97487373 L1,4.70710678 L1.70710678,4 L4,6.29289322 L4,0 L5,0 L5,6.26776695 Z",id:"arrow",fill:"#94A0B8"}))),"Designer pack"),n("span",{class:"more",onClick:this.showNav.bind(this)},n("i",{class:"ion ion-md-more"}))))},Object.defineProperty(t,"is",{get:function(){return"header-bar"},enumerable:!0,configurable:!0}),Object.defineProperty(t,"properties",{get:function(){return{el:{elementRef:!0},isMobileMenuShown:{state:!0},isSearchVisible:{type:Boolean,attr:"is-search-visible"},isSticky:{state:!0},query:{type:String,attr:"query"},version:{type:String,attr:"version"}}},enumerable:!0,configurable:!0}),Object.defineProperty(t,"events",{get:function(){return[{name:"toggleHeaderSearch",method:"toggleHeaderSearch",bubbles:!0,cancelable:!0,composed:!0}]},enumerable:!0,configurable:!0}),Object.defineProperty(t,"listeners",{get:function(){return[{name:"window:scroll",method:"handleScroll",passive:!0},{name:"window:resize",method:"handleResize",passive:!0}]},enumerable:!0,configurable:!0}),Object.defineProperty(t,"style",{get:function(){return"header-bar header{-webkit-transition:border .6s;transition:border .6s;position:fixed;width:100%;top:0;left:0;right:0;background:#fff;z-index:999;border-bottom:1px solid transparent;height:64px}header-bar header.overlay{border-bottom:1px solid rgba(0,0,0,.05)}header-bar .container,header-bar .logo,header-bar .logo a,header-bar nav{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}header-bar .logo,header-bar nav{-webkit-box-flex:0;-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}header-bar nav{-webkit-box-align:baseline;-webkit-align-items:baseline;-ms-flex-align:baseline;align-items:baseline}header-bar icon-search{-webkit-transition:opacity .5s;transition:opacity .5s;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding-left:60px;padding-right:60px;opacity:0;pointer-events:none}header-bar .visible-search icon-search{opacity:1;pointer-events:auto}header-bar .container{-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding-top:12px;padding-bottom:12px}header-bar .logo a{font-weight:700;font-size:16px;color:var(--color-shark)}header-bar .logo svg{margin-right:10px}header-bar .logo .version{margin-left:10px;font-size:10px;font-weight:600;color:var(--color-oslo-gray);background-color:var(--color-catskill-white);border-radius:4px;padding:1px 5px;position:relative;top:-2px}header-bar a{text-decoration:none}header-bar .nav__item+.nav__item,header-bar nav+.btn{margin-left:30px}header-bar .nav__item{font-size:13px;font-weight:600}header-bar .nav__item,header-bar .nav__item a{-webkit-transition:color .3s;transition:color .3s;color:var(--color-pale-sky)}header-bar .nav__item a:not(.link-active):hover,header-bar .nav__item:hover{color:var(--color-shark)}header-bar .nav__item .link-active{color:var(--color-heather);cursor:default}header-bar .nav__item svg{margin-left:6px}header-bar .nav__item:hover svg #arrow{-webkit-transform:translate(1px,-1px);transform:translate(1px,-1px)}header-bar .btn svg{margin-right:6px}header-bar .btn:hover svg #arrow{-webkit-transform:translate(0,1px);transform:translate(0,1px)}header-bar .more{padding:0 8px;font-size:28px;line-height:28px;color:var(--color-dodger-blue);cursor:pointer;display:none}header-bar nav span.close{display:none;font-size:28px}\@media screen and (max-width:992px){header-bar nav>*+*{margin-left:18px}header-bar icon-search{padding-left:30px;padding-right:30px}}\@media screen and (max-width:768px){header-bar .btn.sm-hide{display:none}header-bar .close,header-bar .more{cursor:pointer}header-bar .more{display:block}header-bar .nav__item+.nav__item,header-bar nav+.btn{margin-left:0;margin-top:30px}header-bar nav{-webkit-transition:opacity .3s;transition:opacity .3s;position:fixed;top:0;left:0;right:0;bottom:0;width:100%;height:100%;z-index:99999;background-image:linear-gradient(-223deg,#363e49 0,#1c1e21 100%);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;opacity:0;display:none}header-bar nav .close{margin:0;position:absolute;top:14px;right:18px;color:#fff;cursor:pointer}header-bar .nav__item{-webkit-transition:-webkit-transform .4s;transition:-webkit-transform .4s;transition:transform .4s;transition:transform .4s,-webkit-transform .4s;-webkit-transform:translateY(8px);transform:translateY(8px)}header-bar .nav__item,header-bar .nav__item a{font-size:28px;color:rgba(255,255,255,.9)}header-bar .nav__item .link-active{color:rgba(255,255,255,.3)}header-bar .nav__item a:not(.link-active):hover,header-bar .nav__item:hover{color:rgba(255,255,255,.9)}header-bar .nav__item svg #bg{opacity:.2}header-bar nav.show-mobile-menu{opacity:1}header-bar nav.show-mobile-menu .nav__item{-webkit-transform:translateY(0);transform:translateY(0)}header-bar nav.show-mobile-menu .close{display:block}header-bar icon-search{padding-left:20px;padding-right:15px}}\@media screen and (max-width:520px){header-bar .version{display:none}}"},enumerable:!0,configurable:!0}),t}(),i=function(t,e){var o,i=t.children,r=t.scrollTopOffset;o=window.crypto?([1e7].toString()+-1e3.toString()+-4e3.toString()+-8e3.toString()+-1e11.toString()).replace(/[018]/g,function(t){return(t^window.crypto.getRandomValues(new Uint8Array(1))[0]&15>>t/4).toString(16)}):(1e17*Math.random()).toString();var a=i.map(function(t,n){var i=e.getAttributes(t);return e.replaceAttributes(t,Object.assign({},i,{scrollTopOffset:r,group:o,groupIndex:n})),t});return n("div",null,a)},r=function(){function t(){this.data={version:void 0,icons:[]},this.query="",this.isHeaderSearchVisible=!1}return t.prototype.handleScroll=function(){requestAnimationFrame(this.checkScroll.bind(this))},t.prototype.searchHandler=function(t){this.query=t.detail},t.prototype.toggleHandler=function(t){this.isHeaderSearchVisible="show"===t.detail},t.prototype.componentWillLoad=function(){var t=this;return fetch("/data.json").then(function(e){e.json().then(function(e){t.data=e,t.data.icons=t.data.icons.map(function(t){return t.icons=t.icons.reverse(),t.name=t.icons[0].split("-").slice(1).join("-"),t})})})},t.prototype.checkScroll=function(){var t=document.querySelector("header .search-input"),e=document.querySelector("icon-list .search-input");if(e){var n=t.querySelector("input"),o=e.querySelector("input");if(e.getBoundingClientRect().topdiv{height:100%}"},enumerable:!0,configurable:!0}),t}(),a=function(){function t(){this.unsubscribe=function(){},this.componentProps={},this.exact=!1,this.group=null,this.groupIndex=null,this.routeRender=null,this.scrollTopOffset=null,this.match=null,this.activeInGroup=!1,this.scrollOnNextRender=!1}return t.prototype.computeMatch=function(t){return t||(t=this.activeRouter.get("location").pathname),e.matchPath(t,{path:this.url,exact:this.exact,strict:!0})},t.prototype.componentWillLoad=function(){var t=this,e=this;this.unsubscribe=this.activeRouter.subscribe({isMatch:this.computeMatch.bind(this),listener:function(n){return t.match=n,new Promise(function(t){e.componentDidRerender=t})},groupId:this.group,groupIndex:this.groupIndex})},t.prototype.componentDidUnload=function(){this.unsubscribe()},t.prototype.componentDidUpdate=function(){var t=this;if(this.componentDidRerender){var e=this.el.firstElementChild;e&&e.componentOnReady?e.componentOnReady().then(function(){t.componentDidRerender&&t.componentDidRerender(),t.componentDidRerender=void 0,t.activeInGroup=!!t.match,t.scrollOnNextRender=t.activeInGroup}):(this.componentDidRerender(),this.componentDidRerender=void 0,this.activeInGroup=!!this.match,this.scrollOnNextRender=this.activeInGroup)}else this.scrollOnNextRender&&(this.scrollTo(),this.scrollOnNextRender=!1)},t.prototype.scrollTo=function(){var t=this,e=this.activeRouter.get("history");if(null!=this.scrollTopOffset&&e&&!this.isServer)return"POP"===e.action&&null!=e.location.scrollPosition?this.queue.write(function(){window.scrollTo(e.location.scrollPosition[0],e.location.scrollPosition[1])}):this.queue.read(function(){return t.queue.write(function(){window.scrollTo(0,t.scrollTopOffset)})})},t.prototype.hostData=function(){if(!this.activeRouter||!this.match||this.group&&!this.activeInGroup)return{style:{display:"none"}}},t.prototype.render=function(){if(!this.activeRouter||!this.match)return null;var t=Object.assign({},this.componentProps,{history:this.activeRouter.get("history"),match:this.match});if(this.routeRender)return this.routeRender(Object.assign({},t,{component:this.component}));if(this.component){var e=this.component;return n(e,Object.assign({},t))}},Object.defineProperty(t,"is",{get:function(){return"stencil-route"},enumerable:!0,configurable:!0}),Object.defineProperty(t,"properties",{get:function(){return{activeInGroup:{state:!0},activeRouter:{context:"activeRouter"},component:{type:String,attr:"component"},componentProps:{type:"Any",attr:"component-props"},el:{elementRef:!0},exact:{type:Boolean,attr:"exact"},group:{type:String,attr:"group"},groupIndex:{type:Number,attr:"group-index"},isServer:{context:"isServer"},location:{context:"location"},match:{state:!0},queue:{context:"queue"},routeRender:{type:"Any",attr:"route-render"},scrollTopOffset:{type:Number,attr:"scroll-top-offset"},url:{type:String,attr:"url"}}},enumerable:!0,configurable:!0}),t}();function s(t,e){return new RegExp("^"+e+"(\\/|\\?|#|$)","i").test(t)}function c(t,e){return s(t,e)?t.substr(e.length):t}function u(t){return"/"===t.charAt(t.length-1)?t.slice(0,-1):t}function l(t){return"/"===t.charAt(0)?t:"/"+t}function h(t){return"/"===t.charAt(0)?t.substr(1):t}function d(t){var e=t.pathname,n=t.search,o=t.hash,i=e||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),o&&"#"!==o&&(i+="#"===o.charAt(0)?o:"#"+o),i}function f(t){return"/"===t.charAt(0)}function p(t,e){for(var n=e,o=n+1,i=t.length;o=0;l--){var h=i[l];"."===h?p(i,l):".."===h?(p(i,l),u++):u&&(p(i,l),u--)}if(!s)for(;u--;u)i.unshift("..");!s||""===i[0]||i[0]&&f(i[0])||i.unshift("");var d=i.join("/");return n&&"/"!==d.substr(-1)&&(d+="/"),d}(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname="/"),i.query=(r=i.search)?(/^[?#]/.test(r)?r.slice(1):r).split("&").reduce(function(t,e){var n=e.split("="),o=n[0],i=n[1];return t[o]=i?decodeURIComponent(i.replace(/\+/g," ")):"",t},{}):{},i}function m(t){for(var e=[],n=1;n=0?e:0)+"#"+t)},T={browser:function(t){void 0===t&&(t={}),m(b,"Browser history needs a DOM");var e,n=window.history,o=(-1===(e=window.navigator.userAgent).indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,i=!(-1===window.navigator.userAgent.indexOf("Trident")),r=P(),a=t.forceRefresh,h=void 0!==a&&a,f=t.getUserConfirmation,p=void 0===f?x:f,O=t.keyLength,L=void 0===O?6:O,k=t.basename?u(l(t.basename)):"",A=function(t){var e=(t=t||{}).key,n=t.state,o=window.location,i=o.pathname+o.search+o.hash;return v(!k||s(i,k),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+i+'" to begin with "'+k+'".'),k&&(i=c(i,k)),g(i,n,e)},T=function(){return Math.random().toString(36).substr(2,L)},E=y(),j=function(t){r.capture(F.location.key),Object.assign(F,t),F.location.scrollPosition=r.get(F.location.key),F.length=n.length,E.notifyListeners(F.location,F.action)},H=function(t){(function(t){return void 0===t.state&&-1===navigator.userAgent.indexOf("CriOS")})(t)||I(A(t.state))},M=function(){I(A(R()))},q=!1,I=function(t){q?(q=!1,j()):E.confirmTransitionTo(t,"POP",p,function(e){e?j({action:"POP",location:t}):C(t)})},C=function(t){var e=F.location,n=_.indexOf(e.key);-1===n&&(n=0);var o=_.indexOf(t.key);-1===o&&(o=0);var i=n-o;i&&(q=!0,B(i))},D=A(R()),_=[D.key],U=function(t){return k+d(t)},B=function(t){n.go(t)},N=0,V=function(t){1===(N+=t)?(w(window,"popstate",H),i&&w(window,"hashchange",M)):0===N&&(S(window,"popstate",H),i&&S(window,"hashchange",M))},G=!1,F={length:n.length,action:"POP",location:D,createHref:U,push:function(t,e){v(!("object"==typeof t&&void 0!==t.state&&void 0!==e),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var i=g(t,e,T(),F.location);E.confirmTransitionTo(i,"PUSH",p,function(t){if(t){var e=U(i),r=i.key,a=i.state;if(o)if(n.pushState({key:r,state:a},null,e),h)window.location.href=e;else{var s=_.indexOf(F.location.key),c=_.slice(0,-1===s?0:s+1);c.push(i.key),_=c,j({action:"PUSH",location:i})}else v(void 0===a,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=e}})},replace:function(t,e){v(!("object"==typeof t&&void 0!==t.state&&void 0!==e),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var i=g(t,e,T(),F.location);E.confirmTransitionTo(i,"REPLACE",p,function(t){if(t){var e=U(i),r=i.key,a=i.state;if(o)if(n.replaceState({key:r,state:a},null,e),h)window.location.replace(e);else{var s=_.indexOf(F.location.key);-1!==s&&(_[s]=i.key),j({action:"REPLACE",location:i})}else v(void 0===a,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(e)}})},go:B,goBack:function(){return B(-1)},goForward:function(){return B(1)},block:function(t){void 0===t&&(t="");var e=E.setPrompt(t);return G||(V(1),G=!0),function(){return G&&(G=!1,V(-1)),e()}},listen:function(t){var e=E.appendListener(t);return V(1),function(){V(-1),e()}}};return F},hash:function(t){void 0===t&&(t={}),m(b,"Hash history needs a DOM");var e=window.history,n=-1===window.navigator.userAgent.indexOf("Firefox"),o=t.getUserConfirmation,i=void 0===o?x:o,r=t.hashType,a=void 0===r?"slash":r,h=t.basename?u(l(t.basename)):"",f=L[a],p=f.encodePath,O=f.decodePath,P=function(){var t=O(k());return v(!h||s(t,h),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+t+'" to begin with "'+h+'".'),h&&(t=c(t,h)),g(t)},R=y(),T=function(t){Object.assign(G,t),G.length=e.length,R.notifyListeners(G.location,G.action)},E=!1,j=null,H=function(){var t,e,n=k(),o=p(n);if(n!==o)A(o);else{var i=P(),r=G.location;if(!E&&(e=i,(t=r).pathname===e.pathname&&t.search===e.search&&t.hash===e.hash&&t.key===e.key&&function t(e,n){if(e===n)return!0;if(null==e||null==n)return!1;if(Array.isArray(e))return Array.isArray(n)&&e.length===n.length&&e.every(function(e,o){return t(e,n[o])});var o=typeof e;if(o!==typeof n)return!1;if("object"===o){var i=e.valueOf(),r=n.valueOf();if(i!==e||r!==n)return t(i,r);var a=Object.keys(e),s=Object.keys(n);return a.length===s.length&&a.every(function(o){return t(e[o],n[o])})}return!1}(t.state,e.state)))return;if(j===d(i))return;j=null,M(i)}},M=function(t){E?(E=!1,T()):R.confirmTransitionTo(t,"POP",i,function(e){e?T({action:"POP",location:t}):q(t)})},q=function(t){var e=G.location,n=_.lastIndexOf(d(e));-1===n&&(n=0);var o=_.lastIndexOf(d(t));-1===o&&(o=0);var i=n-o;i&&(E=!0,U(i))},I=k(),C=p(I);I!==C&&A(C);var D=P(),_=[d(D)],U=function(t){v(n,"Hash history go(n) causes a full page reload in this browser"),e.go(t)},B=0,N=function(t){1===(B+=t)?w(window,"hashchange",H):0===B&&S(window,"hashchange",H)},V=!1,G={length:e.length,action:"POP",location:D,createHref:function(t){return"#"+p(h+d(t))},push:function(t,e){v(void 0===e,"Hash history cannot push state; it is ignored");var n=g(t,void 0,void 0,G.location);R.confirmTransitionTo(n,"PUSH",i,function(t){if(t){var e=d(n),o=p(h+e);if(k()!==o){j=e,function(t){window.location.hash=t}(o);var i=_.lastIndexOf(d(G.location)),r=_.slice(0,-1===i?0:i+1);r.push(e),_=r,T({action:"PUSH",location:n})}else v(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),T()}})},replace:function(t,e){v(void 0===e,"Hash history cannot replace state; it is ignored");var n=g(t,void 0,void 0,G.location);R.confirmTransitionTo(n,"REPLACE",i,function(t){if(t){var e=d(n),o=p(h+e);k()!==o&&(j=e,A(o));var i=_.indexOf(d(G.location));-1!==i&&(_[i]=e),T({action:"REPLACE",location:n})}})},go:U,goBack:function(){return U(-1)},goForward:function(){return U(1)},block:function(t){void 0===t&&(t="");var e=R.setPrompt(t);return V||(N(1),V=!0),function(){return V&&(V=!1,N(-1)),e()}},listen:function(t){var e=R.appendListener(t);return N(1),function(){N(-1),e()}}};return G}},E=function(){function t(){this.root="/",this.historyType="browser",this.titleSuffix="",this.unsubscribe=function(){},this.match=null}return t.prototype.titleSuffixChanged=function(t){this.activeRouter.set({titleSuffix:t})},t.prototype.computeMatch=function(t){return{path:this.root,url:this.root,isExact:t===this.root,params:{}}},t.prototype.componentWillLoad=function(){var t=this,e=T[this.historyType]();e.listen(function(e){t.activeRouter.set({location:t.getLocation(e)})}),this.activeRouter.set({location:this.getLocation(e.location),titleSuffix:this.titleSuffix,root:this.root,history:e}),this.unsubscribe=this.activeRouter.subscribe({isMatch:this.computeMatch.bind(this),listener:function(e){t.match=e}}),this.match=this.computeMatch()},t.prototype.componentDidLoad=function(){this.activeRouter.dispatch()},t.prototype.getLocation=function(t){var e=0==t.pathname.indexOf(this.root)?"/"+t.pathname.slice(this.root.length):t.pathname;return Object.assign({},t,{pathname:e})},t.prototype.componentDidUnload=function(){this.unsubscribe()},t.prototype.render=function(){return n("slot",null)},Object.defineProperty(t,"is",{get:function(){return"stencil-router"},enumerable:!0,configurable:!0}),Object.defineProperty(t,"properties",{get:function(){return{activeRouter:{context:"activeRouter"},historyType:{type:String,attr:"history-type"},match:{state:!0},root:{type:String,attr:"root"},titleSuffix:{type:String,attr:"title-suffix",watchCallbacks:["titleSuffixChanged"]}}},enumerable:!0,configurable:!0}),t}();t.HeaderBar=o,t.IoniconsSite=r,t.StencilRoute=a,t.StencilRouter=E,Object.defineProperty(t,"__esModule",{value:!0})}); \ No newline at end of file diff --git a/docs/build/docssite/f5jhpa2x.js b/docs/build/docssite/f5jhpa2x.js new file mode 100644 index 00000000..db7324be --- /dev/null +++ b/docs/build/docssite/f5jhpa2x.js @@ -0,0 +1,2 @@ +/*! Built with http://stenciljs.com */ +const{h:t}=window.DocsSite;import{a as e}from"./chunk-f6f1d593.js";class n{constructor(){this.isSticky=!1,this.query="",this.isSearchVisible=!1}handleScroll(){requestAnimationFrame(this.checkScroll.bind(this))}handleResize(){requestAnimationFrame(()=>{window.innerWidth>768&&(this.el.querySelector("nav").style.display="",this.el.classList.remove("show-mobile-menu"),document.body.classList.remove("no-scroll"),this.isMobileMenuShown=!1)})}checkScroll(){const t=document.documentElement.scrollTop||document.body.scrollTop;this.isSticky=t>30}showNav(){if(this.isMobileMenuShown)return;this.isMobileMenuShown=!0;const t=this.el.querySelector("nav");t.style.display="flex",setTimeout(()=>{t.classList.add("show-mobile-menu"),document.body.classList.add("no-scroll")},1)}hideNav(){if(!this.isMobileMenuShown)return;this.isMobileMenuShown=!1;const t=this.el.querySelector("nav");t.classList.remove("show-mobile-menu"),setTimeout(()=>{t.style.display="none",document.body.classList.remove("no-scroll")},300)}render(){return t("header",{class:`${this.isSearchVisible?"visible-search":""} ${this.isSticky?"overlay":""}`},t("div",{class:"container"},t("div",{class:"logo"},t("stencil-route-link",{url:"/",exact:!0},t("svg",{width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},t("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},t("g",{id:"icon","fill-rule":"nonzero"},t("circle",{id:"circle",fill:"#EAEEF5",cx:"16",cy:"16",r:"16"}),t("circle",{id:"circle_copy",fill:"#B4C1D8",cx:"16",cy:"16",r:"11"}),t("circle",{id:"circle_copy_2",fill:"#647AA1",cx:"16",cy:"16",r:"6"}),t("circle",{id:"circle_copy_3",fill:"#647AA1",cx:"23.5",cy:"8.5",r:"2"})))),"Ionicons"),t("span",{class:"version"},this.version)),t("icon-search",{query:this.query,size:"small"}),t("nav",null,t("stencil-route-link",{class:"nav__item",url:"/",exact:!0,onClick:this.hideNav.bind(this)},"Icons"),t("stencil-route-link",{class:"nav__item",url:"/usage",onClick:()=>{this.toggleHeaderSearch.emit("hide"),this.hideNav()}},"Usage"),t("a",{class:"nav__item",href:"https://github.com/ionic-team/ionicons"},"Github",t("svg",{width:"12px",height:"12px",viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},t("g",{transform:"translate(0,1)"},t("rect",{id:"bg",fill:"#e3e8f1",x:"0",y:"2",width:"9",height:"9",rx:"1.5"}),t("path",{d:"M9.18198052,1 L6.5,1 L6.5,0 L11,0 L11,1 L11,4.5 L10,4.5 L10,1.59619408 L4.02512627,7.57106781 L3.31801948,6.86396103 L9.18198052,1 Z",id:"arrow",fill:"#A4AEC3"})))),t("span",{class:"close",onClick:this.hideNav.bind(this)},t("i",{class:"ion ion-md-close"}))),t("a",{class:"btn sm-hide",href:"/ionicons.designerpack.zip"},t("svg",{width:"9px",height:"11px",viewBox:"0 0 9 11",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},t("g",null,t("rect",{id:"bg",fill:"#BAC3D1",x:"0",y:"9",width:"9",height:"2",rx:"1"}),t("path",{d:"M5,6.26776695 L7.26776695,4 L7.97487373,4.70710678 L4.70710678,7.97487373 L4.48743687,7.75520382 L4.26776695,7.97487373 L1,4.70710678 L1.70710678,4 L4,6.29289322 L4,0 L5,0 L5,6.26776695 Z",id:"arrow",fill:"#94A0B8"}))),"Designer pack"),t("span",{class:"more",onClick:this.showNav.bind(this)},t("i",{class:"ion ion-md-more"}))))}static get is(){return"header-bar"}static get properties(){return{el:{elementRef:!0},isMobileMenuShown:{state:!0},isSearchVisible:{type:Boolean,attr:"is-search-visible"},isSticky:{state:!0},query:{type:String,attr:"query"},version:{type:String,attr:"version"}}}static get events(){return[{name:"toggleHeaderSearch",method:"toggleHeaderSearch",bubbles:!0,cancelable:!0,composed:!0}]}static get listeners(){return[{name:"window:scroll",method:"handleScroll",passive:!0},{name:"window:resize",method:"handleResize",passive:!0}]}static get style(){return"header-bar header{-webkit-transition:border .6s;transition:border .6s;position:fixed;width:100%;top:0;left:0;right:0;background:#fff;z-index:999;border-bottom:1px solid transparent;height:64px}header-bar header.overlay{border-bottom:1px solid rgba(0,0,0,.05)}header-bar .container,header-bar .logo,header-bar .logo a,header-bar nav{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}header-bar .logo,header-bar nav{-webkit-box-flex:0;-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}header-bar nav{-webkit-box-align:baseline;-webkit-align-items:baseline;-ms-flex-align:baseline;align-items:baseline}header-bar icon-search{-webkit-transition:opacity .5s;transition:opacity .5s;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding-left:60px;padding-right:60px;opacity:0;pointer-events:none}header-bar .visible-search icon-search{opacity:1;pointer-events:auto}header-bar .container{-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding-top:12px;padding-bottom:12px}header-bar .logo a{font-weight:700;font-size:16px;color:var(--color-shark)}header-bar .logo svg{margin-right:10px}header-bar .logo .version{margin-left:10px;font-size:10px;font-weight:600;color:var(--color-oslo-gray);background-color:var(--color-catskill-white);border-radius:4px;padding:1px 5px;position:relative;top:-2px}header-bar a{text-decoration:none}header-bar .nav__item+.nav__item,header-bar nav+.btn{margin-left:30px}header-bar .nav__item{font-size:13px;font-weight:600}header-bar .nav__item,header-bar .nav__item a{-webkit-transition:color .3s;transition:color .3s;color:var(--color-pale-sky)}header-bar .nav__item a:not(.link-active):hover,header-bar .nav__item:hover{color:var(--color-shark)}header-bar .nav__item .link-active{color:var(--color-heather);cursor:default}header-bar .nav__item svg{margin-left:6px}header-bar .nav__item:hover svg #arrow{-webkit-transform:translate(1px,-1px);transform:translate(1px,-1px)}header-bar .btn svg{margin-right:6px}header-bar .btn:hover svg #arrow{-webkit-transform:translate(0,1px);transform:translate(0,1px)}header-bar .more{padding:0 8px;font-size:28px;line-height:28px;color:var(--color-dodger-blue);cursor:pointer;display:none}header-bar nav span.close{display:none;font-size:28px}\@media screen and (max-width:992px){header-bar nav>*+*{margin-left:18px}header-bar icon-search{padding-left:30px;padding-right:30px}}\@media screen and (max-width:768px){header-bar .btn.sm-hide{display:none}header-bar .close,header-bar .more{cursor:pointer}header-bar .more{display:block}header-bar .nav__item+.nav__item,header-bar nav+.btn{margin-left:0;margin-top:30px}header-bar nav{-webkit-transition:opacity .3s;transition:opacity .3s;position:fixed;top:0;left:0;right:0;bottom:0;width:100%;height:100%;z-index:99999;background-image:linear-gradient(-223deg,#363e49 0,#1c1e21 100%);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;opacity:0;display:none}header-bar nav .close{margin:0;position:absolute;top:14px;right:18px;color:#fff;cursor:pointer}header-bar .nav__item{-webkit-transition:-webkit-transform .4s;transition:-webkit-transform .4s;transition:transform .4s;transition:transform .4s,-webkit-transform .4s;-webkit-transform:translateY(8px);transform:translateY(8px)}header-bar .nav__item,header-bar .nav__item a{font-size:28px;color:rgba(255,255,255,.9)}header-bar .nav__item .link-active{color:rgba(255,255,255,.3)}header-bar .nav__item a:not(.link-active):hover,header-bar .nav__item:hover{color:rgba(255,255,255,.9)}header-bar .nav__item svg #bg{opacity:.2}header-bar nav.show-mobile-menu{opacity:1}header-bar nav.show-mobile-menu .nav__item{-webkit-transform:translateY(0);transform:translateY(0)}header-bar nav.show-mobile-menu .close{display:block}header-bar icon-search{padding-left:20px;padding-right:15px}}\@media screen and (max-width:520px){header-bar .version{display:none}}"}}const o=({children:e,scrollTopOffset:n},o)=>{let i;i=window.crypto?([1e7].toString()+-1e3.toString()+-4e3.toString()+-8e3.toString()+-1e11.toString()).replace(/[018]/g,function(t){return(t^window.crypto.getRandomValues(new Uint8Array(1))[0]&15>>t/4).toString(16)}):(1e17*Math.random()).toString();const s=e.map((t,e)=>{const s=o.getAttributes(t);return o.replaceAttributes(t,Object.assign({},s,{scrollTopOffset:n,group:i,groupIndex:e})),t});return t("div",null,s)};class i{constructor(){this.data={version:void 0,icons:[]},this.query="",this.isHeaderSearchVisible=!1}handleScroll(){requestAnimationFrame(this.checkScroll.bind(this))}searchHandler(t){this.query=t.detail}toggleHandler(t){this.isHeaderSearchVisible="show"===t.detail}componentWillLoad(){return fetch("/data.json").then(t=>{t.json().then(t=>{this.data=t,this.data.icons=this.data.icons.map(t=>(t.icons=t.icons.reverse(),t.name=t.icons[0].split("-").slice(1).join("-"),t))})})}checkScroll(){const t=document.querySelector("header .search-input"),e=document.querySelector("icon-list .search-input");if(!e)return;const n=t.querySelector("input"),o=e.querySelector("input");if(e.getBoundingClientRect().topdiv{height:100%}"}}class s{constructor(){this.unsubscribe=(()=>{}),this.componentProps={},this.exact=!1,this.group=null,this.groupIndex=null,this.routeRender=null,this.scrollTopOffset=null,this.match=null,this.activeInGroup=!1,this.scrollOnNextRender=!1}computeMatch(t){return t||(t=this.activeRouter.get("location").pathname),e(t,{path:this.url,exact:this.exact,strict:!0})}componentWillLoad(){const t=this;this.unsubscribe=this.activeRouter.subscribe({isMatch:this.computeMatch.bind(this),listener:e=>(this.match=e,new Promise(e=>{t.componentDidRerender=e})),groupId:this.group,groupIndex:this.groupIndex})}componentDidUnload(){this.unsubscribe()}componentDidUpdate(){if(this.componentDidRerender){const t=this.el.firstElementChild;t&&t.componentOnReady?t.componentOnReady().then(()=>{this.componentDidRerender&&this.componentDidRerender(),this.componentDidRerender=void 0,this.activeInGroup=!!this.match,this.scrollOnNextRender=this.activeInGroup}):(this.componentDidRerender(),this.componentDidRerender=void 0,this.activeInGroup=!!this.match,this.scrollOnNextRender=this.activeInGroup)}else this.scrollOnNextRender&&(this.scrollTo(),this.scrollOnNextRender=!1)}scrollTo(){const t=this.activeRouter.get("history");if(null!=this.scrollTopOffset&&t&&!this.isServer)return"POP"===t.action&&null!=t.location.scrollPosition?this.queue.write(function(){window.scrollTo(t.location.scrollPosition[0],t.location.scrollPosition[1])}):this.queue.read(()=>this.queue.write(()=>{window.scrollTo(0,this.scrollTopOffset)}))}hostData(){if(!this.activeRouter||!this.match||this.group&&!this.activeInGroup)return{style:{display:"none"}}}render(){if(!this.activeRouter||!this.match)return null;const e=Object.assign({},this.componentProps,{history:this.activeRouter.get("history"),match:this.match});if(this.routeRender)return this.routeRender(Object.assign({},e,{component:this.component}));if(this.component){const n=this.component;return t(n,Object.assign({},e))}}static get is(){return"stencil-route"}static get properties(){return{activeInGroup:{state:!0},activeRouter:{context:"activeRouter"},component:{type:String,attr:"component"},componentProps:{type:"Any",attr:"component-props"},el:{elementRef:!0},exact:{type:Boolean,attr:"exact"},group:{type:String,attr:"group"},groupIndex:{type:Number,attr:"group-index"},isServer:{context:"isServer"},location:{context:"location"},match:{state:!0},queue:{context:"queue"},routeRender:{type:"Any",attr:"route-render"},scrollTopOffset:{type:Number,attr:"scroll-top-offset"},url:{type:String,attr:"url"}}}}function r(t,e){return new RegExp("^"+e+"(\\/|\\?|#|$)","i").test(t)}function a(t,e){return r(t,e)?t.substr(e.length):t}function c(t){return"/"===t.charAt(t.length-1)?t.slice(0,-1):t}function l(t){return"/"===t.charAt(0)?t:"/"+t}function h(t){return"/"===t.charAt(0)?t.substr(1):t}function u(t){const{pathname:e,search:n,hash:o}=t;let i=e||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:`?${n}`),o&&"#"!==o&&(i+="#"===o.charAt(0)?o:`#${o}`),i}function d(t){return"/"===t.charAt(0)}function p(t,e){for(let n=e,o=n+1,i=t.length;o=0;t--){const e=o[t];"."===e?p(o,t):".."===e?(p(o,t),c++):c&&(p(o,t),c--)}if(!r)for(;c--;c)o.unshift("..");!r||""===o[0]||o[0]&&d(o[0])||o.unshift("");let l=o.join("/");return a&&"/"!==l.substr(-1)&&(l+="/"),l}(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname="/"),i.query=(s=i.search)?(/^[?#]/.test(s)?s.slice(1):s).split("&").reduce((t,e)=>{let[n,o]=e.split("=");return t[n]=o?decodeURIComponent(o.replace(/\+/g," ")):"",t},{}):{},i}function g(t,...e){t||console.error(...e)}function f(t,...e){t||console.warn(...e)}const w=()=>{let t,e=[];return{setPrompt:e=>(f(null==t,"A history supports only one prompt at a time"),t=e,()=>{t===e&&(t=null)}),confirmTransitionTo:(e,n,o,i)=>{if(null!=t){const s="function"==typeof t?t(e,n):t;"string"==typeof s?"function"==typeof o?o(s,i):(f(!1,"A history needs a getUserConfirmation function in order to use a prompt message"),i(!0)):i(!1!==s)}else i(!0)},appendListener:t=>{let n=!0;const o=(...e)=>{n&&t(...e)};return e.push(o),()=>{n=!1,e=e.filter(t=>t!==o)}},notifyListeners:(...t)=>{e.forEach(e=>e(...t))}}},y=!("undefined"==typeof window||!window.document||!window.document.createElement),v=(t,e,n)=>t.addEventListener?t.addEventListener(e,n,!1):t.attachEvent("on"+e,n),b=(t,e,n)=>t.removeEventListener?t.removeEventListener(e,n,!1):t.detachEvent("on"+e,n),S=(t,e)=>e(window.confirm(t)),x=t=>{try{var e=window[t],n="__storage_test__";return e.setItem(n,n),e.removeItem(n),!0}catch(t){return t instanceof DOMException&&(22===t.code||1014===t.code||"QuotaExceededError"===t.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.name)&&0!==e.length}},O=(t="scrollPositions")=>{let e=new Map;function n(t,n){if(e.set(t,n),x("sessionStorage")){const t=[];e.forEach((e,n)=>{t.push([n,e])}),window.sessionStorage.setItem("scrollPositions",JSON.stringify(t))}}return x("sessionStorage")&&(e=window.sessionStorage.getItem(t)?new Map(JSON.parse(window.sessionStorage.getItem(t))):e),"scrollRestoration"in history&&(history.scrollRestoration="manual"),{set:n,get:function(t){return e.get(t)},has:function(t){return e.has(t)},capture:function(t){n(t,[window.scrollX,window.scrollY])}}},R=()=>{try{return window.history.state||{}}catch(t){return{}}},L={hashbang:{encodePath:t=>"!"===t.charAt(0)?t:"!/"+h(t),decodePath:t=>"!"===t.charAt(0)?t.substr(1):t},noslash:{encodePath:h,decodePath:l},slash:{encodePath:l,decodePath:l}},k=()=>{const t=window.location.href,e=t.indexOf("#");return-1===e?"":t.substring(e+1)},A=t=>{const e=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,e>=0?e:0)+"#"+t)},P={browser:(t={})=>{g(y,"Browser history needs a DOM");const e=window.history,n=(()=>{const t=window.navigator.userAgent;return(-1===t.indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history})(),o=!(()=>-1===window.navigator.userAgent.indexOf("Trident"))(),i=O(),{forceRefresh:s=!1,getUserConfirmation:h=S,keyLength:d=6}=t,p=t.basename?c(l(t.basename)):"",x=t=>{t=t||{};const{key:e,state:n}=t,{pathname:o,search:i,hash:s}=window.location;let c=o+i+s;return f(!p||r(c,p),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+c+'" to begin with "'+p+'".'),p&&(c=a(c,p)),m(c,n,e)},L=()=>Math.random().toString(36).substr(2,d),k=w(),A=t=>{i.capture(N.location.key),Object.assign(N,t),N.location.scrollPosition=i.get(N.location.key),N.length=e.length,k.notifyListeners(N.location,N.action)},P=t=>{(t=>void 0===t.state&&-1===navigator.userAgent.indexOf("CriOS"))(t)||H(x(t.state))},T=()=>{H(x(R()))};let E=!1;const H=t=>{if(E)E=!1,A();else{const e="POP";k.confirmTransitionTo(t,e,h,n=>{n?A({action:e,location:t}):M(t)})}},M=t=>{const e=N.location;let n=I.indexOf(e.key);-1===n&&(n=0);let o=I.indexOf(t.key);-1===o&&(o=0);const i=n-o;i&&(E=!0,D(i))},q=x(R());let I=[q.key];const C=t=>p+u(t),D=t=>{e.go(t)};let j=0;const U=t=>{1===(j+=t)?(v(window,"popstate",P),o&&v(window,"hashchange",T)):0===j&&(b(window,"popstate",P),o&&b(window,"hashchange",T))};let _=!1;const N={length:e.length,action:"POP",location:q,createHref:C,push:(t,o)=>{f(!("object"==typeof t&&void 0!==t.state&&void 0!==o),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");const i=m(t,o,L(),N.location);k.confirmTransitionTo(i,"PUSH",h,t=>{if(!t)return;const o=C(i),{key:r,state:a}=i;if(n)if(e.pushState({key:r,state:a},null,o),s)window.location.href=o;else{const t=I.indexOf(N.location.key),e=I.slice(0,-1===t?0:t+1);e.push(i.key),I=e,A({action:"PUSH",location:i})}else f(void 0===a,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=o})},replace:(t,o)=>{f(!("object"==typeof t&&void 0!==t.state&&void 0!==o),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");const i=m(t,o,L(),N.location);k.confirmTransitionTo(i,"REPLACE",h,t=>{if(!t)return;const o=C(i),{key:r,state:a}=i;if(n)if(e.replaceState({key:r,state:a},null,o),s)window.location.replace(o);else{const t=I.indexOf(N.location.key);-1!==t&&(I[t]=i.key),A({action:"REPLACE",location:i})}else f(void 0===a,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(o)})},go:D,goBack:()=>D(-1),goForward:()=>D(1),block:(t="")=>{const e=k.setPrompt(t);return _||(U(1),_=!0),()=>(_&&(_=!1,U(-1)),e())},listen:t=>{const e=k.appendListener(t);return U(1),()=>{U(-1),e()}}};return N},hash:(t={})=>{g(y,"Hash history needs a DOM");const e=window.history,n=(()=>-1===window.navigator.userAgent.indexOf("Firefox"))(),{getUserConfirmation:o=S,hashType:i="slash"}=t,s=t.basename?c(l(t.basename)):"",{encodePath:h,decodePath:d}=L[i],p=()=>{let t=d(k());return f(!s||r(t,s),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+t+'" to begin with "'+s+'".'),s&&(t=a(t,s)),m(t)},x=w(),O=t=>{Object.assign(V,t),V.length=e.length,x.notifyListeners(V.location,V.action)};let R=!1,P=null;const H=()=>{const t=k(),e=h(t);if(t!==e)A(e);else{const t=p(),e=V.location;if(!R&&(E=t,(T=e).pathname===E.pathname&&T.search===E.search&&T.hash===E.hash&&T.key===E.key&&function t(e,n){if(e===n)return!0;if(null==e||null==n)return!1;if(Array.isArray(e))return Array.isArray(n)&&e.length===n.length&&e.every(function(e,o){return t(e,n[o])});const o=typeof e;if(o!==typeof n)return!1;if("object"===o){const o=e.valueOf(),i=n.valueOf();if(o!==e||i!==n)return t(o,i);const s=Object.keys(e),r=Object.keys(n);return s.length===r.length&&s.every(function(o){return t(e[o],n[o])})}return!1}(T.state,E.state)))return;if(P===u(t))return;P=null,M(t)}},M=t=>{if(R)R=!1,O();else{const e="POP";x.confirmTransitionTo(t,e,o,n=>{n?O({action:e,location:t}):q(t)})}},q=t=>{const e=V.location;let n=j.lastIndexOf(u(e));-1===n&&(n=0);let o=j.lastIndexOf(u(t));-1===o&&(o=0);const i=n-o;i&&(R=!0,U(i))},I=k(),C=h(I);I!==C&&A(C);const D=p();let j=[u(D)];const U=t=>{f(n,"Hash history go(n) causes a full page reload in this browser"),e.go(t)};let _=0;const N=t=>{1===(_+=t)?v(window,"hashchange",H):0===_&&b(window,"hashchange",H)};let B=!1;const V={length:e.length,action:"POP",location:D,createHref:t=>"#"+h(s+u(t)),push:(t,e)=>{f(void 0===e,"Hash history cannot push state; it is ignored");const n=m(t,void 0,void 0,V.location);x.confirmTransitionTo(n,"PUSH",o,t=>{if(!t)return;const e=u(n),o=h(s+e);if(k()!==o){P=e,(t=>window.location.hash=t)(o);const t=j.lastIndexOf(u(V.location)),i=j.slice(0,-1===t?0:t+1);i.push(e),j=i,O({action:"PUSH",location:n})}else f(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),O()})},replace:(t,e)=>{f(void 0===e,"Hash history cannot replace state; it is ignored");const n=m(t,void 0,void 0,V.location);x.confirmTransitionTo(n,"REPLACE",o,t=>{if(!t)return;const e=u(n),o=h(s+e);k()!==o&&(P=e,A(o));const i=j.indexOf(u(V.location));-1!==i&&(j[i]=e),O({action:"REPLACE",location:n})})},go:U,goBack:()=>U(-1),goForward:()=>U(1),block:(t="")=>{const e=x.setPrompt(t);return B||(N(1),B=!0),()=>(B&&(B=!1,N(-1)),e())},listen:t=>{const e=x.appendListener(t);return N(1),()=>{N(-1),e()}}};return V}};var T,E;class H{constructor(){this.root="/",this.historyType="browser",this.titleSuffix="",this.unsubscribe=(()=>{}),this.match=null}titleSuffixChanged(t){this.activeRouter.set({titleSuffix:t})}computeMatch(t){return{path:this.root,url:this.root,isExact:t===this.root,params:{}}}componentWillLoad(){const t=P[this.historyType]();t.listen(t=>{this.activeRouter.set({location:this.getLocation(t)})}),this.activeRouter.set({location:this.getLocation(t.location),titleSuffix:this.titleSuffix,root:this.root,history:t}),this.unsubscribe=this.activeRouter.subscribe({isMatch:this.computeMatch.bind(this),listener:t=>{this.match=t}}),this.match=this.computeMatch()}componentDidLoad(){this.activeRouter.dispatch()}getLocation(t){const e=0==t.pathname.indexOf(this.root)?"/"+t.pathname.slice(this.root.length):t.pathname;return Object.assign({},t,{pathname:e})}componentDidUnload(){this.unsubscribe()}render(){return t("slot",null)}static get is(){return"stencil-router"}static get properties(){return{activeRouter:{context:"activeRouter"},historyType:{type:String,attr:"history-type"},match:{state:!0},root:{type:String,attr:"root"},titleSuffix:{type:String,attr:"title-suffix",watchCallbacks:["titleSuffixChanged"]}}}}export{n as HeaderBar,i as IoniconsSite,s as StencilRoute,H as StencilRouter}; \ No newline at end of file diff --git a/docs/build/docssite/gkczrv46.es5.js b/docs/build/docssite/gkczrv46.es5.js deleted file mode 100644 index 7530de4a..00000000 --- a/docs/build/docssite/gkczrv46.es5.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! Built with http://stenciljs.com */ -DocsSite.loadBundle("gkczrv46",["exports","./chunk-438b3614.js"],function(t,e){var i=window.DocsSite.h,r=function(){function t(){this.unsubscribe=function(){},this.activeClass="link-active",this.exact=!1,this.strict=!0,this.custom="a",this.match=null}return t.prototype.computeMatch=function(t){return t||(t=this.activeRouter.get("location").pathname),e.matchPath(t,{path:this.urlMatch||this.url,exact:this.exact,strict:this.strict})},t.prototype.componentWillLoad=function(){var t=this;this.unsubscribe=this.activeRouter.subscribe({isMatch:this.computeMatch.bind(this),listener:function(e){t.match=e}}),this.match=this.computeMatch()},t.prototype.componentDidUnload=function(){this.unsubscribe()},t.prototype.handleClick=function(t){if(!e.isModifiedEvent(t)){if(t.preventDefault(),this.activeRouter)return this.activeRouter.get("history").push(this.getUrl(this.url));console.warn(' wasn\'t passed an instance of the router as the "router" prop!')}},t.prototype.getUrl=function(t){var e=this.activeRouter.get("root")||"/";return"/"==t.charAt(0)&&"/"==e.charAt(e.length-1)?e.slice(0,e.length-1)+t:e+t},t.prototype.render=function(){var t,e={class:(t={},t[this.activeClass]=null!==this.match,t),onClick:this.handleClick.bind(this)};return this.anchorClass&&(e.class[this.anchorClass]=!0),"a"===this.custom&&(e=Object.assign({},e,{href:this.url,title:this.anchorTitle,role:this.anchorRole,tabindex:this.anchorTabIndex})),i(this.custom,Object.assign({},e),i("slot",null))},Object.defineProperty(t,"is",{get:function(){return"stencil-route-link"},enumerable:!0,configurable:!0}),Object.defineProperty(t,"properties",{get:function(){return{activeClass:{type:String,attr:"active-class"},activeRouter:{context:"activeRouter"},anchorClass:{type:String,attr:"anchor-class"},anchorRole:{type:String,attr:"anchor-role"},anchorTabIndex:{type:String,attr:"anchor-tab-index"},anchorTitle:{type:String,attr:"anchor-title"},custom:{type:String,attr:"custom"},exact:{type:Boolean,attr:"exact"},match:{state:!0},strict:{type:Boolean,attr:"strict"},url:{type:String,attr:"url"},urlMatch:{type:String,attr:"url-match"}}},enumerable:!0,configurable:!0}),t}();t.StencilRouteLink=r,Object.defineProperty(t,"__esModule",{value:!0})}); \ No newline at end of file diff --git a/docs/build/docssite/gkczrv46.js b/docs/build/docssite/gkczrv46.js deleted file mode 100644 index 50ff0878..00000000 --- a/docs/build/docssite/gkczrv46.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! Built with http://stenciljs.com */ -const{h:t}=window.DocsSite;import{a as s,k as e}from"./chunk-408bcc6b.js";class i{constructor(){this.unsubscribe=(()=>{}),this.activeClass="link-active",this.exact=!1,this.strict=!0,this.custom="a",this.match=null}computeMatch(t){return t||(t=this.activeRouter.get("location").pathname),s(t,{path:this.urlMatch||this.url,exact:this.exact,strict:this.strict})}componentWillLoad(){this.unsubscribe=this.activeRouter.subscribe({isMatch:this.computeMatch.bind(this),listener:t=>{this.match=t}}),this.match=this.computeMatch()}componentDidUnload(){this.unsubscribe()}handleClick(t){if(!e(t)){if(t.preventDefault(),this.activeRouter)return this.activeRouter.get("history").push(this.getUrl(this.url));console.warn(' wasn\'t passed an instance of the router as the "router" prop!')}}getUrl(t){const s=this.activeRouter.get("root")||"/";return"/"==t.charAt(0)&&"/"==s.charAt(s.length-1)?s.slice(0,s.length-1)+t:s+t}render(){let s={class:{[this.activeClass]:null!==this.match},onClick:this.handleClick.bind(this)};return this.anchorClass&&(s.class[this.anchorClass]=!0),"a"===this.custom&&(s=Object.assign({},s,{href:this.url,title:this.anchorTitle,role:this.anchorRole,tabindex:this.anchorTabIndex})),t(this.custom,Object.assign({},s),t("slot",null))}static get is(){return"stencil-route-link"}static get properties(){return{activeClass:{type:String,attr:"active-class"},activeRouter:{context:"activeRouter"},anchorClass:{type:String,attr:"anchor-class"},anchorRole:{type:String,attr:"anchor-role"},anchorTabIndex:{type:String,attr:"anchor-tab-index"},anchorTitle:{type:String,attr:"anchor-title"},custom:{type:String,attr:"custom"},exact:{type:Boolean,attr:"exact"},match:{state:!0},strict:{type:Boolean,attr:"strict"},url:{type:String,attr:"url"},urlMatch:{type:String,attr:"url-match"}}}}export{i as StencilRouteLink}; \ No newline at end of file diff --git a/docs/fonts/ionicons.eot b/docs/fonts/ionicons.eot index fe511951..8e687586 100644 Binary files a/docs/fonts/ionicons.eot and b/docs/fonts/ionicons.eot differ diff --git a/docs/fonts/ionicons.svg b/docs/fonts/ionicons.svg index 8771a980..e3d68007 100644 --- a/docs/fonts/ionicons.svg +++ b/docs/fonts/ionicons.svg @@ -5,9 +5,9 @@ --> -Created by FontForge 20160407 at Mon May 21 11:17:37 2018 - By Adam Bradley -Copyright (c) 2018, Adam Bradley +Created by FontForge 20180321 at Mon May 21 11:44:09 2018 + By Kevin Ports +Copyright (c) 2018, Kevin Ports @@ -25,1394 +25,100 @@ Copyright (c) 2018, Adam Bradley unicode-range="U+F100-F4CD" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - + + + + + + - - - - - - - + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/fonts/ionicons.ttf b/docs/fonts/ionicons.ttf index 52101e4d..685716ae 100644 Binary files a/docs/fonts/ionicons.ttf and b/docs/fonts/ionicons.ttf differ diff --git a/docs/fonts/ionicons.woff b/docs/fonts/ionicons.woff index 6c3363c8..a27b0e76 100644 Binary files a/docs/fonts/ionicons.woff and b/docs/fonts/ionicons.woff differ diff --git a/docs/fonts/ionicons.woff2 b/docs/fonts/ionicons.woff2 index 929e2767..53dc9dc6 100644 Binary files a/docs/fonts/ionicons.woff2 and b/docs/fonts/ionicons.woff2 differ diff --git a/docs/index.html b/docs/index.html index 64ac4f66..7aecb897 100644 --- a/docs/index.html +++ b/docs/index.html @@ -60,4 +60,4 @@ - + \ No newline at end of file diff --git a/docs/ionicons.js b/docs/ionicons.js index a1654069..857a3fc0 100644 --- a/docs/ionicons.js +++ b/docs/ionicons.js @@ -1,2 +1,2 @@ /*! Built with http://stenciljs.com */ -!function(e,t,n,r,i,o,s,c,u,l,a,d,m,p){for((a=e.ionicons=e.ionicons||{}).components=u,(m=u.filter(function(e){return e[2]}).map(function(e){return e[0]})).length&&((d=t.createElement("style")).innerHTML=m.join()+"{visibility:hidden}.hydrated{visibility:inherit}",d.setAttribute("data-styles",""),t.head.insertBefore(d,t.head.firstChild)),function(e,t,n){n.$r=[];const r=t.componentOnReady;t.componentOnReady=function(t){const i=this;function o(e){n.$r?n.$r.push([i,e]):n.componentOnReady(i,e)}return r&&r.call(i),t?o(t):e.Promise?new Promise(o):{then:o}}}(e,l,a),d=(m=t.querySelectorAll("script")).length-1;d>=0&&!(p=m[d]).src&&!p.hasAttribute("data-resources-url");d--);(m=p.getAttribute("data-resources-url"))&&(i=m),!i&&p.src&&(i=(m=p.src.split("/").slice(0,-1)).join("/")+(m.length?"/":"")+"ionicons/"),d=t.createElement("script"),function(e,t,n,r){return!(t.search.indexOf("core=esm")>0)&&(!(!(t.search.indexOf("core=es5")>0||"file:"===t.protocol)&&e.customElements&&e.customElements.define&&e.fetch&&e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")&&"noModule"in n)||function(e){try{return new Function('import("")'),!1}catch(e){}return!0}())}(e,e.location,d)?d.src=i+"ionicons.2ggfirfb.js":(d.src=i+"ionicons.4nj5ozg1.js",d.setAttribute("type","module"),d.setAttribute("crossorigin",!0)),d.setAttribute("data-resources-url",i),d.setAttribute("data-namespace","ionicons"),t.head.appendChild(d)}(window,document,0,0,0,0,0,0,[["ion-icon","omu1ljzi",1,[["ariaLabel",1,0,"aria-label",2],["color",1,0,1,2],["doc",3,0,0,0,"document"],["el",7],["icon",1,0,1,2],["ios",1,0,1,2],["isServer",3,0,0,0,"isServer"],["isVisible",5],["md",1,0,1,2],["mode",3,0,0,0,"mode"],["name",1,0,1,2],["resourcesUrl",3,0,0,0,"resourcesUrl"],["size",1,0,1,2],["src",1,0,1,2],["svgContent",5],["win",3,0,0,0,"window"]]]],HTMLElement.prototype); +!function(e,t,n,r,o,i,s,c,u,l,a,d,m,p){for((a=e.ionicons=e.ionicons||{}).components=u,(m=u.filter(function(e){return e[2]}).map(function(e){return e[0]})).length&&((d=t.createElement("style")).innerHTML=m.join()+"{visibility:hidden}.hydrated{visibility:inherit}",d.setAttribute("data-styles",""),t.head.insertBefore(d,t.head.firstChild)),function(e,t,n){n.$r=[];const r=t.componentOnReady;t.componentOnReady=function(t){const o=this;function i(e){n.$r?n.$r.push([o,e]):n.componentOnReady(o,e)}return r&&r.call(o),t?i(t):e.Promise?new Promise(i):{then:i}}}(e,l,a),d=(m=t.querySelectorAll("script")).length-1;d>=0&&!(p=m[d]).src&&!p.hasAttribute("data-resources-url");d--);(m=p.getAttribute("data-resources-url"))&&(o=m),!o&&p.src&&(o=(m=p.src.split("/").slice(0,-1)).join("/")+(m.length?"/":"")+"ionicons/"),d=t.createElement("script"),function(e,t,n,r){return!(t.search.indexOf("core=esm")>0)&&(!(!(t.search.indexOf("core=es5")>0||"file:"===t.protocol)&&e.customElements&&e.customElements.define&&e.fetch&&e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")&&"noModule"in n)||function(e){try{return new Function('import("")'),!1}catch(e){}return!0}())}(e,e.location,d)?d.src=o+"ionicons.2ggfirfb.js":(d.src=o+"ionicons.4nj5ozg1.js",d.setAttribute("type","module"),d.setAttribute("crossorigin",!0)),d.setAttribute("data-resources-url",o),d.setAttribute("data-namespace","ionicons"),t.head.appendChild(d)}(window,document,0,0,0,0,0,0,[["ion-icon","oypc542y",1,[["ariaLabel",1,0,"aria-label",2],["color",1,0,1,2],["doc",3,0,0,0,"document"],["el",7],["icon",1,0,1,2],["ios",1,0,1,2],["isServer",3,0,0,0,"isServer"],["isVisible",5],["md",1,0,1,2],["mode",3,0,0,0,"mode"],["name",1,0,1,2],["resourcesUrl",3,0,0,0,"resourcesUrl"],["size",1,0,1,2],["src",1,0,1,2],["svgContent",5],["win",3,0,0,0,"window"]]]],HTMLElement.prototype); \ No newline at end of file diff --git a/docs/ionicons/omu1ljzi.es5.js b/docs/ionicons/omu1ljzi.es5.js deleted file mode 100644 index 510f7ca7..00000000 --- a/docs/ionicons/omu1ljzi.es5.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! Built with http://stenciljs.com */ -ionicons.loadBundle("omu1ljzi",["exports"],function(e){var t=window.ionicons.h,n=function(){function e(){this.svgContent=null,this.ariaLabel="",this.ios="",this.md="",this.name="",this.src="",this.icon=""}return e.prototype.componentWillLoad=function(){var e=this;this.waitUntilVisible(this.el,"50px",function(){e.isVisible=!0,e.loadIcon()})},e.prototype.waitUntilVisible=function(e,t,n){if(this.win.IntersectionObserver){var i=new this.win.IntersectionObserver(function(e){e[0].isIntersecting&&(i.disconnect(),n())},{rootMargin:t});i.observe(e)}else n()},e.prototype.loadIcon=function(){var e=this;if(!this.isServer&&this.isVisible){var t=this.getUrl();t&&function(e){var t=i.get(e);return t||(t=fetch(e,{keepalive:!0,cache:"force-cache"}).then(function(e){return e.ok?e.text():Promise.resolve(null)}),i.set(e,t)),t}(t).then(function(t){e.svgContent=t})}},e.prototype.getUrl=function(){var e=o(this.src);return e||((e=r(this.name,this.mode,this.ios,this.md))?this.getNamedUrl(e):(e=o(this.icon))?e:(e=r(this.icon,this.mode,this.ios,this.md))?this.getNamedUrl(e):null)},e.prototype.getNamedUrl=function(e){return this.resourcesUrl+"svg/"+e+".svg"},e.prototype.hostData=function(){var e={role:"img"};this.ariaLabel||r(this.name,this.mode,this.ios,this.md)&&(e["aria-label"]=this.name.replace("ios-","").replace("md-","").replace(/\-/g," "));var t={};return this.size&&(t["icon-"+this.size]=!0),Object.assign({},e,{class:t})},e.prototype.render=function(){return!this.isServer&&this.svgContent?t("div",{class:"icon-inner",innerHTML:function(e,t){if(t){var n=e.createDocumentFragment(),i=e.createElement("div");i.innerHTML=t,n.appendChild(i);for(var r=i.childNodes.length-1;r>=0;r--)"svg"!==i.childNodes[r].nodeName.toLowerCase()&&i.removeChild(i.childNodes[r]);var o=i.firstElementChild;if(o&&"svg"===o.nodeName.toLowerCase()&&function e(t){if(1===t.nodeType){if("script"===t.nodeName.toLowerCase())return!1;for(var n=0;n0&&/(\/|\.)/.test(e)?e:null}e.IonIcon=n,Object.defineProperty(e,"__esModule",{value:!0})}); \ No newline at end of file diff --git a/docs/ionicons/omu1ljzi.js b/docs/ionicons/omu1ljzi.js deleted file mode 100644 index 0c2d084a..00000000 --- a/docs/ionicons/omu1ljzi.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! Built with http://stenciljs.com */ -const{h:t}=window.ionicons;class e{constructor(){this.svgContent=null,this.ariaLabel="",this.ios="",this.md="",this.name="",this.src="",this.icon=""}componentWillLoad(){this.waitUntilVisible(this.el,"50px",()=>{this.isVisible=!0,this.loadIcon()})}waitUntilVisible(t,e,i){if(this.win.IntersectionObserver){const s=new this.win.IntersectionObserver(t=>{t[0].isIntersecting&&(s.disconnect(),i())},{rootMargin:e});s.observe(t)}else i()}loadIcon(){if(!this.isServer&&this.isVisible){const t=this.getUrl();t&&function(t){let e=i.get(t);return e||(e=fetch(t,{keepalive:!0,cache:"force-cache"}).then(t=>t.ok?t.text():Promise.resolve(null)),i.set(t,e)),e}(t).then(t=>{this.svgContent=t})}}getUrl(){let t=n(this.src);return t||((t=s(this.name,this.mode,this.ios,this.md))?this.getNamedUrl(t):(t=n(this.icon))?t:(t=s(this.icon,this.mode,this.ios,this.md))?this.getNamedUrl(t):null)}getNamedUrl(t){return`${this.resourcesUrl}svg/${t}.svg`}hostData(){const t={role:"img"};this.ariaLabel||s(this.name,this.mode,this.ios,this.md)&&(t["aria-label"]=this.name.replace("ios-","").replace("md-","").replace(/\-/g," "));const e={};return this.size&&(e[`icon-${this.size}`]=!0),Object.assign({},t,{class:e})}render(){return!this.isServer&&this.svgContent?t("div",{class:"icon-inner",innerHTML:function(t,e){if(e){const i=t.createDocumentFragment(),s=t.createElement("div");s.innerHTML=e,i.appendChild(s);for(let t=s.childNodes.length-1;t>=0;t--)"svg"!==s.childNodes[t].nodeName.toLowerCase()&&s.removeChild(s.childNodes[t]);const n=s.firstElementChild;if(n&&"svg"===n.nodeName.toLowerCase()&&function t(e){if(1===e.nodeType){if("script"===e.nodeName.toLowerCase())return!1;for(var i=0;i0&&/(\/|\.)/.test(t)?t:null}export{e as IonIcon}; \ No newline at end of file diff --git a/scripts/manifest.json b/scripts/manifest.json index cdbdcee4..ac0f7d6d 100755 --- a/scripts/manifest.json +++ b/scripts/manifest.json @@ -1,6 +1,6 @@ { "prefix": "ion-", - "hash": "de492fb209db00f4df47a4fde307fd550e06b5ad13d0b13ca682393f1c9b0086", + "hash": "6039e6edf12df18d3ecb072b38966de4139d91699a91535c2d21cd4b2c2f4dff", "name": "Ionicons", "icons": [ {