/*!
 * (C) Ionic http://ionicframework.com - MIT License
 */
System.register(["./p-b0da91c5.system.js","./p-bc15f4eb.system.js"],(function(e){"use strict";var t,n,i,s,o,r,a,c;return{setters:[function(e){t=e.g;n=e.c},function(e){i=e.s;s=e.c;o=e.a;r=e.b;a=e.d;c=e.i}],execute:function(){var d;var u=e("g",(function(e){return e&&t(e)||d}));var f=e("i",(function(e){if(e===void 0){e={}}if(typeof window==="undefined"){return}var t=window.document;var u=window;var f=u.Ionic=u.Ionic||{};i(u);var m=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},s(u)),{persistConfig:false}),f.config),o(u)),e);r.reset(m);if(r.getBoolean("persistConfig")){a(u,m)}f.config=r;f.mode=d=r.get("mode",t.documentElement.getAttribute("mode")||(c(u,"ios")?"ios":"md"));r.set("mode",d);t.documentElement.setAttribute("mode",d);t.documentElement.classList.add(d);if(r.getBoolean("_testing")){r.set("animated",false)}var g=function(e){return e.tagName&&e.tagName.startsWith("ION-")};var l=function(e){return["ios","md"].includes(e)};n((function(e){while(e){var t=e.mode||e.getAttribute("mode");if(t){if(l(t)){return t}else if(g(e)){console.warn('Invalid ionic mode: "'+t+'", expected: "ios" or "md"')}}e=e.parentElement}return d}))}))}}}));