System.register(["./p-25316752.system.js"],(function(t){"use strict";var e,n;return{setters:[function(t){e=t.r;n=t.h}],execute:function(){var r;(function(t){t["Prompt"]="PROMPT";t["Camera"]="CAMERA";t["Photos"]="PHOTOS"})(r||(r={}));var i;(function(t){t["Rear"]="REAR";t["Front"]="FRONT"})(i||(i={}));var o;(function(t){t["Uri"]="uri";t["Base64"]="base64";t["DataUrl"]="dataUrl"})(o||(o={}));var a;(function(t){t["Documents"]="DOCUMENTS";t["Data"]="DATA";t["Cache"]="CACHE";t["External"]="EXTERNAL";t["ExternalStorage"]="EXTERNAL_STORAGE"})(a||(a={}));var s;(function(t){t["UTF8"]="utf8";t["ASCII"]="ascii";t["UTF16"]="utf16"})(s||(s={}));var c;(function(t){t["Heavy"]="HEAVY";t["Medium"]="MEDIUM";t["Light"]="LIGHT"})(c||(c={}));var u;(function(t){t["SUCCESS"]="SUCCESS";t["WARNING"]="WARNING";t["ERROR"]="ERROR"})(u||(u={}));var l;(function(t){t["Dark"]="DARK";t["Light"]="LIGHT"})(l||(l={}));var f;(function(t){t["Body"]="body";t["Ionic"]="ionic";t["Native"]="native";t["None"]="none"})(f||(f={}));var d;(function(t){t["Default"]="DEFAULT";t["Destructive"]="DESTRUCTIVE";t["Cancel"]="CANCEL"})(d||(d={}));var p;(function(t){t["Camera"]="camera";t["Photos"]="photos";t["Geolocation"]="geolocation";t["Notifications"]="notifications";t["ClipboardRead"]="clipboard-read";t["ClipboardWrite"]="clipboard-write";t["Microphone"]="microphone"})(p||(p={}));var h;(function(t){t["Smart"]="smart";t["Shared"]="shared";t["User"]="user"})(h||(h={}));var m;(function(t){t["Dark"]="DARK";t["Light"]="LIGHT"})(m||(m={}));var g;(function(t){t["None"]="NONE";t["Slide"]="SLIDE";t["Fade"]="FADE"})(g||(g={}));var v=function(){function t(){var t=this;this.platform="web";this.isNative=false;this.Plugins={};if(typeof Proxy!=="undefined"){this.Plugins=new Proxy(this.Plugins,{get:function(e,n){if(typeof e[n]==="undefined"){var r=t;return new Proxy({},{get:function(t,e){if(typeof t[e]==="undefined"){return r.pluginMethodNoop.bind(r,t,e,n)}else{return t[e]}}})}else{return e[n]}}})}}t.prototype.pluginMethodNoop=function(t,e,n){return Promise.reject(n+" does not have web implementation.")};t.prototype.getPlatform=function(){return this.platform};t.prototype.isPluginAvailable=function(t){return this.Plugins.hasOwnProperty(t)};t.prototype.convertFileSrc=function(t){return t};t.prototype.handleError=function(t){console.error(t)};return t}();var w=function(t){return t.Capacitor=t.Capacitor||new v}(typeof self!=="undefined"?self:typeof window!=="undefined"?window:typeof global!=="undefined"?global:{});var y=w.Plugins;var b=function(){function t(){this.plugins={};this.loadedPlugins={}}t.prototype.addPlugin=function(t){this.plugins[t.config.name]=t};t.prototype.getPlugin=function(t){return this.plugins[t]};t.prototype.loadPlugin=function(t){var e=this.getPlugin(t);if(!e){console.error("Unable to load web plugin "+t+", no such plugin found.");return}e.load()};t.prototype.getPlugins=function(){var t=[];for(var e in this.plugins){t.push(this.plugins[e])}return t};return t}();var P=new b;var x=function(){function t(t,e){this.config=t;this.loaded=false;this.listeners={};this.windowListeners={};if(!e){P.addPlugin(this)}else{e.addPlugin(this)}}t.prototype.addWindowListener=function(t){window.addEventListener(t.windowEventName,t.handler);t.registered=true};t.prototype.removeWindowListener=function(t){if(!t){return}window.removeEventListener(t.windowEventName,t.handler);t.registered=false};t.prototype.addListener=function(t,e){var n=this;var r=this.listeners[t];if(!r){this.listeners[t]=[]}this.listeners[t].push(e);var i=this.windowListeners[t];if(i&&!i.registered){this.addWindowListener(i)}return{remove:function(){n.removeListener(t,e)}}};t.prototype.removeListener=function(t,e){var n=this.listeners[t];if(!n){return}var r=n.indexOf(e);this.listeners[t].splice(r,1);if(!this.listeners[t].length){this.removeWindowListener(this.windowListeners[t])}};t.prototype.removeAllListeners=function(){this.listeners={};for(var t in this.windowListeners){this.removeWindowListener(this.windowListeners[t])}this.windowListeners={}};t.prototype.notifyListeners=function(t,e){var n=this.listeners[t];if(n){n.forEach((function(t){return t(e)}))}};t.prototype.hasListeners=function(t){return!!this.listeners[t].length};t.prototype.registerWindowListener=function(t,e){var n=this;this.windowListeners[e]={registered:false,windowEventName:t,pluginEventName:e,handler:function(t){n.notifyListeners(e,t)}}};t.prototype.requestPermissions=function(){if(Capacitor.isNative){return Capacitor.nativePromise(this.config.name,"requestPermissions",{})}else{return Promise.resolve({results:[]})}};t.prototype.load=function(){this.loaded=true};return t}();var k=function(t){return t.config.platforms&&t.config.platforms.indexOf(Capacitor.platform)>=0};var E=function(t){var e=P.getPlugins();for(var n=0,r=e;n<r.length;n++){var i=r[n];S(t,i)}};var S=function(t,e){if(t.hasOwnProperty(e.config.name)&&!k(e)){return}t[e.config.name]=e};
/*! *****************************************************************************
            Copyright (c) Microsoft Corporation.

            Permission to use, copy, modify, and/or distribute this software for any
            purpose with or without fee is hereby granted.

            THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
            REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
            AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
            INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
            LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
            OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
            PERFORMANCE OF THIS SOFTWARE.
            ***************************************************************************** */var R=function(t,e){R=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)if(e.hasOwnProperty(n))t[n]=e[n]};return R(t,e)};function C(t,e){R(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}function L(t,e,n,r){function i(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function a(t){try{c(r.next(t))}catch(e){o(e)}}function s(t){try{c(r["throw"](t))}catch(e){o(e)}}function c(t){t.done?n(t.value):i(t.value).then(a,s)}c((r=r.apply(t,e||[])).next())}))}function T(t,e){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(e){return c([t,e])}}function c(a){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,i&&(o=a[0]&2?i["return"]:a[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;if(i=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;i=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){n.label=a[1];break}if(a[0]===6&&n.label<o[1]){n.label=o[1];o=a;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(a);break}if(o[2])n.ops.pop();n.trys.pop();continue}a=e.call(t,n)}catch(s){a=[6,s];i=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}}var A=function(t){C(e,t);function e(){return t.call(this,{name:"Accessibility",platforms:["web"]})||this}e.prototype.isScreenReaderEnabled=function(){throw new Error("Feature not available in the browser")};e.prototype.speak=function(t){if(!("speechSynthesis"in window)){return Promise.reject("Browser does not support the Speech Synthesis API")}var e=new SpeechSynthesisUtterance(t.value);if(t.language){e.lang=t.language}window.speechSynthesis.speak(e);return Promise.resolve()};return e}(x);var D=new A;var I=function(t){C(e,t);function e(){var e=t.call(this,{name:"App",platforms:["web"]})||this;if(typeof document!=="undefined"){document.addEventListener("visibilitychange",e.handleVisibilityChange.bind(e),false)}return e}e.prototype.exitApp=function(){throw new Error("Method not implemented.")};e.prototype.canOpenUrl=function(t){return Promise.resolve({value:true})};e.prototype.openUrl=function(t){return Promise.resolve({completed:true})};e.prototype.getLaunchUrl=function(){return Promise.resolve({url:""})};e.prototype.getState=function(){return Promise.resolve({isActive:document.hidden!==true})};e.prototype.handleVisibilityChange=function(){var t={isActive:document.hidden!==true};this.notifyListeners("appStateChange",t)};return e}(x);var F=new I;var _=function(t){C(e,t);function e(){return t.call(this,{name:"Browser",platforms:["web"]})||this}e.prototype.open=function(t){return L(this,void 0,void 0,(function(){return T(this,(function(e){this._lastWindow=window.open(t.url,t.windowName||"_blank");return[2,Promise.resolve()]}))}))};e.prototype.prefetch=function(t){return L(this,void 0,void 0,(function(){return T(this,(function(t){return[2,Promise.resolve()]}))}))};e.prototype.close=function(){return L(this,void 0,void 0,(function(){return T(this,(function(t){this._lastWindow&&this._lastWindow.close();return[2,Promise.resolve()]}))}))};return e}(x);var O=new _;var N=function(t){C(e,t);function e(){return t.call(this,{name:"Camera",platforms:["web"]})||this}e.prototype.getPhoto=function(t){return L(this,void 0,void 0,(function(){var e=this;return T(this,(function(n){return[2,new Promise((function(n,r){return L(e,void 0,void 0,(function(){var e,i;var o=this;return T(this,(function(a){switch(a.label){case 0:if(!t.webUseInput)return[3,1];this.fileInputExperience(t,n);return[3,7];case 1:if(!customElements.get("pwa-camera-modal"))return[3,6];e=document.createElement("pwa-camera-modal");document.body.appendChild(e);a.label=2;case 2:a.trys.push([2,4,,5]);return[4,e.componentOnReady()];case 3:a.sent();e.addEventListener("onPhoto",(function(i){return L(o,void 0,void 0,(function(){var o,a;return T(this,(function(s){switch(s.label){case 0:o=i.detail;if(!(o===null))return[3,1];r("User cancelled photos app");return[3,4];case 1:if(!(o instanceof Error))return[3,2];r(o.message);return[3,4];case 2:a=n;return[4,this._getCameraPhoto(o,t)];case 3:a.apply(void 0,[s.sent()]);s.label=4;case 4:e.dismiss();document.body.removeChild(e);return[2]}}))}))}));e.present();return[3,5];case 4:i=a.sent();this.fileInputExperience(t,n);return[3,5];case 5:return[3,7];case 6:console.error("Unable to load PWA Element 'pwa-camera-modal'. See the docs: https://capacitorjs.com/docs/pwa-elements.");this.fileInputExperience(t,n);a.label=7;case 7:return[2]}}))}))}))]}))}))};e.prototype.fileInputExperience=function(t,e){var n=document.querySelector("#_capacitor-camera-input");var a=function(){n.parentNode&&n.parentNode.removeChild(n)};if(!n){n=document.createElement("input");n.id="_capacitor-camera-input";n.type="file";document.body.appendChild(n)}n.accept="image/*";n.capture=true;if(t.source===r.Photos||t.source===r.Prompt){n.removeAttribute("capture")}else if(t.direction===i.Front){n.capture="user"}else if(t.direction===i.Rear){n.capture="environment"}n.addEventListener("change",(function(r){var i=n.files[0];var s="jpeg";if(i.type==="image/png"){s="png"}else if(i.type==="image/gif"){s="gif"}if(t.resultType===o.DataUrl||t.resultType===o.Base64){var c=new FileReader;c.addEventListener("load",(function(){if(t.resultType===o.DataUrl){e({dataUrl:c.result,format:s})}else if(t.resultType===o.Base64){var n=c.result.split(",")[1];e({base64String:n,format:s})}a()}));c.readAsDataURL(i)}else{e({webPath:URL.createObjectURL(i),format:s});a()}}));n.click()};e.prototype._getCameraPhoto=function(t,e){return new Promise((function(n,r){var i=new FileReader;var a=t.type.split("/")[1];if(e.resultType===o.Uri){n({webPath:URL.createObjectURL(t),format:a})}else{i.readAsDataURL(t);i.onloadend=function(){var t=i.result;if(e.resultType===o.DataUrl){n({dataUrl:t,format:a})}else{n({base64String:t.split(",")[1],format:a})}};i.onerror=function(t){r(t)}}}))};return e}(x);var U=new N;var q=function(t){C(e,t);function e(){return t.call(this,{name:"Clipboard",platforms:["web"]})||this}e.prototype.write=function(t){return L(this,void 0,void 0,(function(){var e,n,r;var i;return T(this,(function(o){switch(o.label){case 0:if(!navigator.clipboard){return[2,Promise.reject("Clipboard API not available in this browser")]}if(!(t.string!==undefined||t.url))return[3,2];if(!navigator.clipboard.writeText){return[2,Promise.reject("Writting to clipboard not supported in this browser")]}return[4,navigator.clipboard.writeText(t.string!==undefined?t.string:t.url)];case 1:o.sent();return[3,10];case 2:if(!t.image)return[3,9];if(!navigator.clipboard.write){return[2,Promise.reject("Setting images not supported in this browser")]}o.label=3;case 3:o.trys.push([3,7,,8]);return[4,fetch(t.image)];case 4:return[4,o.sent().blob()];case 5:e=o.sent();n=new ClipboardItem((i={},i[e.type]=e,i));return[4,navigator.clipboard.write([n])];case 6:o.sent();return[3,8];case 7:r=o.sent();return[2,Promise.reject("Failed to write image")];case 8:return[3,10];case 9:return[2,Promise.reject("Nothing to write")];case 10:return[2,Promise.resolve()]}}))}))};e.prototype.read=function(){return L(this,void 0,void 0,(function(){var t,e,n,r,i;return T(this,(function(o){switch(o.label){case 0:if(!navigator.clipboard){return[2,Promise.reject("Clipboard API not available in this browser")]}if(!!navigator.clipboard.read)return[3,1];if(!navigator.clipboard.readText){return[2,Promise.reject("Reading from clipboard not supported in this browser")]}return[2,this.readText()];case 1:o.trys.push([1,5,,6]);return[4,navigator.clipboard.read()];case 2:t=o.sent();e=t[0].types[0];return[4,t[0].getType(e)];case 3:n=o.sent();return[4,this._getBlobData(n,e)];case 4:r=o.sent();return[2,Promise.resolve({value:r,type:e})];case 5:i=o.sent();return[2,this.readText()];case 6:return[2]}}))}))};e.prototype.readText=function(){return L(this,void 0,void 0,(function(){var t;return T(this,(function(e){switch(e.label){case 0:return[4,navigator.clipboard.readText()];case 1:t=e.sent();return[2,Promise.resolve({value:t,type:"text/plain"})]}}))}))};e.prototype._getBlobData=function(t,e){return new Promise((function(n,r){var i=new FileReader;if(e.includes("image")){i.readAsDataURL(t)}else{i.readAsText(t)}i.onloadend=function(){var t=i.result;n(t)};i.onerror=function(t){r(t)}}))};return e}(x);var Y=new q;var j=function(t){C(e,t);function e(){var e=t.call(this,{name:"Filesystem",platforms:["web"]})||this;e.DEFAULT_DIRECTORY=a.Data;e.DB_VERSION=1;e.DB_NAME="Disc";e._writeCmds=["add","put","delete"];return e}e.prototype.initDb=function(){return L(this,void 0,void 0,(function(){var t=this;return T(this,(function(n){if(this._db!==undefined){return[2,this._db]}if(!("indexedDB"in window)){throw new Error("This browser doesn't support IndexedDB")}return[2,new Promise((function(n,r){var i=indexedDB.open(t.DB_NAME,t.DB_VERSION);i.onupgradeneeded=e.doUpgrade;i.onsuccess=function(){t._db=i.result;n(i.result)};i.onerror=function(){return r(i.error)};i.onblocked=function(){console.warn("db blocked")}}))]}))}))};e.doUpgrade=function(t){var e=t.target;var n=e.result;switch(t.oldVersion){case 0:case 1:default:if(n.objectStoreNames.contains("FileStorage")){n.deleteObjectStore("FileStorage")}var r=n.createObjectStore("FileStorage",{keyPath:"path"});r.createIndex("by_folder","folder")}};e.prototype.dbRequest=function(t,e){return L(this,void 0,void 0,(function(){var n;return T(this,(function(r){n=this._writeCmds.indexOf(t)!==-1?"readwrite":"readonly";return[2,this.initDb().then((function(r){return new Promise((function(i,o){var a=r.transaction(["FileStorage"],n);var s=a.objectStore("FileStorage");var c=s[t].apply(s,e);c.onsuccess=function(){return i(c.result)};c.onerror=function(){return o(c.error)}}))}))]}))}))};e.prototype.dbIndexRequest=function(t,e,n){return L(this,void 0,void 0,(function(){var r;return T(this,(function(i){r=this._writeCmds.indexOf(e)!==-1?"readwrite":"readonly";return[2,this.initDb().then((function(i){return new Promise((function(o,a){var s=i.transaction(["FileStorage"],r);var c=s.objectStore("FileStorage");var u=c.index(t);var l=u[e].apply(u,n);l.onsuccess=function(){return o(l.result)};l.onerror=function(){return a(l.error)}}))}))]}))}))};e.prototype.getPath=function(t,e){t=t||this.DEFAULT_DIRECTORY;var n=e!==undefined?e.replace(/^[/]+|[/]+$/g,""):"";var r="/"+t;if(e!=="")r+="/"+n;return r};e.prototype.clear=function(){return L(this,void 0,void 0,(function(){var t,e,n;return T(this,(function(r){switch(r.label){case 0:return[4,this.initDb()];case 1:t=r.sent();e=t.transaction(["FileStorage"],"readwrite");n=e.objectStore("FileStorage");n.clear();return[2,{}]}}))}))};e.prototype.readFile=function(t){return L(this,void 0,void 0,(function(){var e,n;return T(this,(function(r){switch(r.label){case 0:e=this.getPath(t.directory,t.path);return[4,this.dbRequest("get",[e])];case 1:n=r.sent();if(n===undefined)throw Error("File does not exist.");return[2,{data:n.content}]}}))}))};e.prototype.writeFile=function(t){return L(this,void 0,void 0,(function(){var e,n,r,i,o,a,s,c,u,l,f;return T(this,(function(d){switch(d.label){case 0:e=this.getPath(t.directory,t.path);n=t.data;r=t.recursive;return[4,this.dbRequest("get",[e])];case 1:i=d.sent();if(i&&i.type==="directory")throw"The supplied path is a directory.";o=t.encoding;a=e.substr(0,e.lastIndexOf("/"));return[4,this.dbRequest("get",[a])];case 2:s=d.sent();if(!(s===undefined))return[3,4];c=a.indexOf("/",1);if(!(c!==-1))return[3,4];u=a.substr(c);return[4,this.mkdir({path:u,directory:t.directory,recursive:r})];case 3:d.sent();d.label=4;case 4:l=Date.now();f={path:e,folder:a,type:"file",size:n.length,ctime:l,mtime:l,content:!o&&n.indexOf(",")>=0?n.split(",")[1]:n};return[4,this.dbRequest("put",[f])];case 5:d.sent();return[2,{uri:f.path}]}}))}))};e.prototype.appendFile=function(t){return L(this,void 0,void 0,(function(){var e,n,r,i,o,a,s,c,u,l;return T(this,(function(f){switch(f.label){case 0:e=this.getPath(t.directory,t.path);n=t.data;r=e.substr(0,e.lastIndexOf("/"));i=Date.now();o=i;return[4,this.dbRequest("get",[e])];case 1:a=f.sent();if(a&&a.type==="directory")throw"The supplied path is a directory.";return[4,this.dbRequest("get",[r])];case 2:s=f.sent();if(!(s===undefined))return[3,4];c=r.indexOf("/",1);u=c!==-1?r.substr(c):"/";return[4,this.mkdir({path:u,directory:t.directory,recursive:true})];case 3:f.sent();f.label=4;case 4:if(a!==undefined){n=a.content+n;o=a.ctime}l={path:e,folder:r,type:"file",size:n.length,ctime:o,mtime:i,content:n};return[4,this.dbRequest("put",[l])];case 5:f.sent();return[2,{}]}}))}))};e.prototype.deleteFile=function(t){return L(this,void 0,void 0,(function(){var e,n,r;return T(this,(function(i){switch(i.label){case 0:e=this.getPath(t.directory,t.path);return[4,this.dbRequest("get",[e])];case 1:n=i.sent();if(n===undefined)throw Error("File does not exist.");return[4,this.dbIndexRequest("by_folder","getAllKeys",[IDBKeyRange.only(e)])];case 2:r=i.sent();if(r.length!==0)throw Error("Folder is not empty.");return[4,this.dbRequest("delete",[e])];case 3:i.sent();return[2,{}]}}))}))};e.prototype.mkdir=function(t){return L(this,void 0,void 0,(function(){var e,n,r,i,o,a,s,c,u;return T(this,(function(l){switch(l.label){case 0:e=this.getPath(t.directory,t.path);n=t.recursive;r=e.substr(0,e.lastIndexOf("/"));i=(e.match(/\//g)||[]).length;return[4,this.dbRequest("get",[r])];case 1:o=l.sent();return[4,this.dbRequest("get",[e])];case 2:a=l.sent();if(i===1)throw Error("Cannot create Root directory");if(a!==undefined)throw Error("Current directory does already exist.");if(!n&&i!==2&&o===undefined)throw Error("Parent directory must exist");if(!(n&&i!==2&&o===undefined))return[3,4];s=r.substr(r.indexOf("/",1));return[4,this.mkdir({path:s,directory:t.directory,recursive:n})];case 3:l.sent();l.label=4;case 4:c=Date.now();u={path:e,folder:r,type:"directory",size:0,ctime:c,mtime:c};return[4,this.dbRequest("put",[u])];case 5:l.sent();return[2,{}]}}))}))};e.prototype.rmdir=function(t){return L(this,void 0,void 0,(function(){var e,n,r,i,o,a,s,c,u,l,f;return T(this,(function(d){switch(d.label){case 0:e=t.path,n=t.directory,r=t.recursive;i=this.getPath(n,e);return[4,this.dbRequest("get",[i])];case 1:o=d.sent();if(o===undefined)throw Error("Folder does not exist.");if(o.type!=="directory")throw Error("Requested path is not a directory");return[4,this.readdir({path:e,directory:n})];case 2:a=d.sent();if(a.files.length!==0&&!r)throw Error("Folder is not empty");s=0,c=a.files;d.label=3;case 3:if(!(s<c.length))return[3,9];u=c[s];l=e+"/"+u;return[4,this.stat({path:l,directory:n})];case 4:f=d.sent();if(!(f.type==="file"))return[3,6];return[4,this.deleteFile({path:l,directory:n})];case 5:d.sent();return[3,8];case 6:return[4,this.rmdir({path:l,directory:n,recursive:r})];case 7:d.sent();d.label=8;case 8:s++;return[3,3];case 9:return[4,this.dbRequest("delete",[i])];case 10:d.sent();return[2,{}]}}))}))};e.prototype.readdir=function(t){return L(this,void 0,void 0,(function(){var e,n,r,i;return T(this,(function(o){switch(o.label){case 0:e=this.getPath(t.directory,t.path);return[4,this.dbRequest("get",[e])];case 1:n=o.sent();if(t.path!==""&&n===undefined)throw Error("Folder does not exist.");return[4,this.dbIndexRequest("by_folder","getAllKeys",[IDBKeyRange.only(e)])];case 2:r=o.sent();i=r.map((function(t){return t.substring(e.length+1)}));return[2,{files:i}]}}))}))};e.prototype.getUri=function(t){return L(this,void 0,void 0,(function(){var e,n;return T(this,(function(r){switch(r.label){case 0:e=this.getPath(t.directory,t.path);return[4,this.dbRequest("get",[e])];case 1:n=r.sent();if(!(n===undefined))return[3,3];return[4,this.dbRequest("get",[e+"/"])];case 2:n=r.sent();r.label=3;case 3:if(n===undefined)throw Error("Entry does not exist.");return[2,{uri:n.path}]}}))}))};e.prototype.stat=function(t){return L(this,void 0,void 0,(function(){var e,n;return T(this,(function(r){switch(r.label){case 0:e=this.getPath(t.directory,t.path);return[4,this.dbRequest("get",[e])];case 1:n=r.sent();if(!(n===undefined))return[3,3];return[4,this.dbRequest("get",[e+"/"])];case 2:n=r.sent();r.label=3;case 3:if(n===undefined)throw Error("Entry does not exist.");return[2,{type:n.type,size:n.size,ctime:n.ctime,mtime:n.mtime,uri:n.path}]}}))}))};e.prototype.rename=function(t){return L(this,void 0,void 0,(function(){return T(this,(function(e){return[2,this._copy(t,true)]}))}))};e.prototype.copy=function(t){return L(this,void 0,void 0,(function(){return T(this,(function(e){return[2,this._copy(t,false)]}))}))};e.prototype._copy=function(t,e){if(e===void 0){e=false}return L(this,void 0,void 0,(function(){var n,r,i,o,a,s,c,u,l,f,d,p,h,m,g,v,w,y,b,P;var x=this;return T(this,(function(k){switch(k.label){case 0:n=t.to,r=t.from,i=t.directory,o=t.toDirectory;if(!n||!r){throw Error("Both to and from must be provided")}if(!o){o=i}a=this.getPath(i,r);s=this.getPath(o,n);if(a===s){return[2,{}]}if(s.startsWith(a)){throw Error("To path cannot contain the from path")}k.label=1;case 1:k.trys.push([1,3,,6]);return[4,this.stat({path:n,directory:o})];case 2:c=k.sent();return[3,6];case 3:u=k.sent();l=n.split("/");l.pop();f=l.join("/");if(!(l.length>0))return[3,5];return[4,this.stat({path:f,directory:o})];case 4:d=k.sent();if(d.type!=="directory"){throw new Error("Parent directory of the to path is a file")}k.label=5;case 5:return[3,6];case 6:if(c&&c.type==="directory"){throw new Error("Cannot overwrite a directory with a file")}return[4,this.stat({path:r,directory:i})];case 7:p=k.sent();h=function(t,e,n){return L(x,void 0,void 0,(function(){var r,i;return T(this,(function(a){switch(a.label){case 0:r=this.getPath(o,t);return[4,this.dbRequest("get",[r])];case 1:i=a.sent();i.ctime=e;i.mtime=n;return[4,this.dbRequest("put",[i])];case 2:a.sent();return[2]}}))}))};m=p.type;switch(m){case"file":return[3,8];case"directory":return[3,15]}return[3,28];case 8:return[4,this.readFile({path:r,directory:i})];case 9:g=k.sent();if(!e)return[3,11];return[4,this.deleteFile({path:r,directory:i})];case 10:k.sent();k.label=11;case 11:return[4,this.writeFile({path:n,directory:o,data:g.data})];case 12:k.sent();if(!e)return[3,14];return[4,h(n,p.ctime,p.mtime)];case 13:k.sent();k.label=14;case 14:return[2,{}];case 15:if(c){throw Error("Cannot move a directory over an existing object")}k.label=16;case 16:k.trys.push([16,20,,21]);return[4,this.mkdir({path:n,directory:o,recursive:false})];case 17:k.sent();if(!e)return[3,19];return[4,h(n,p.ctime,p.mtime)];case 18:k.sent();k.label=19;case 19:return[3,21];case 20:v=k.sent();return[3,21];case 21:return[4,this.readdir({path:r,directory:i})];case 22:w=k.sent().files;y=0,b=w;k.label=23;case 23:if(!(y<b.length))return[3,26];P=b[y];return[4,this._copy({from:r+"/"+P,to:n+"/"+P,directory:i,toDirectory:o},e)];case 24:k.sent();k.label=25;case 25:y++;return[3,23];case 26:if(!e)return[3,28];return[4,this.rmdir({path:r,directory:i})];case 27:k.sent();k.label=28;case 28:return[2,{}]}}))}))};e._debug=true;return e}(x);var W=new j;var B=function(t){var e=[];for(var n=1;n<arguments.length;n++){e[n-1]=arguments[n]}e.forEach((function(e){if(e&&typeof e==="object"){for(var n in e){if(e.hasOwnProperty(n)){t[n]=e[n]}}}}));return t};var M=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=Math.random()*16|0,n=t==="x"?e:e&3|8;return n.toString(16)}))};var K=function(t){C(e,t);function e(){return t.call(this,{name:"Geolocation",platforms:["web"]})||this}e.prototype.getCurrentPosition=function(t){var e=this;return new Promise((function(n,r){return e.requestPermissions().then((function(e){window.navigator.geolocation.getCurrentPosition((function(t){n(t)}),(function(t){r(t)}),B({enableHighAccuracy:true,timeout:1e4,maximumAge:0},t))}))}))};e.prototype.watchPosition=function(t,e){var n=window.navigator.geolocation.watchPosition((function(t){e(t)}),(function(t){e(null,t)}),B({enableHighAccuracy:true,timeout:1e4,maximumAge:0},t));return""+n};e.prototype.clearWatch=function(t){window.navigator.geolocation.clearWatch(parseInt(t.id,10));return Promise.resolve()};return e}(x);var V=new K;var z=function(t){C(e,t);function e(){return t.call(this,{name:"Device",platforms:["web"]})||this}e.prototype.getInfo=function(){return L(this,void 0,void 0,(function(){var t,e;return T(this,(function(n){t=navigator.userAgent;e=this.parseUa(t);return[2,Promise.resolve({model:e.model,platform:"web",appVersion:"",appBuild:"",appId:"",appName:"",operatingSystem:e.operatingSystem,osVersion:e.osVersion,manufacturer:navigator.vendor,isVirtual:false,uuid:this.getUid()})]}))}))};e.prototype.getBatteryInfo=function(){return L(this,void 0,void 0,(function(){var t,e;return T(this,(function(n){switch(n.label){case 0:t={};n.label=1;case 1:n.trys.push([1,3,,4]);return[4,navigator.getBattery()];case 2:t=n.sent();return[3,4];case 3:e=n.sent();return[3,4];case 4:return[2,Promise.resolve({batteryLevel:t.level,isCharging:t.charging})]}}))}))};e.prototype.getLanguageCode=function(){return L(this,void 0,void 0,(function(){return T(this,(function(t){return[2,{value:navigator.language}]}))}))};e.prototype.parseUa=function(t){var e={};var n=t.indexOf("(")+1;var r=t.indexOf(") AppleWebKit");if(t.indexOf(") Gecko")!==-1){r=t.indexOf(") Gecko")}var i=t.substring(n,r);if(t.indexOf("Android")!==-1){e.model=i.replace("; wv","").split("; ").pop().split(" Build")[0];e.osVersion=i.split("; ")[1]}else{e.model=i.split("; ")[0];if(navigator.oscpu){e.osVersion=navigator.oscpu}else{if(t.indexOf("Windows")!==-1){e.osVersion=i}else{var o=i.split("; ").pop().replace(" like Mac OS X","").split(" ");e.osVersion=o[o.length-1].replace(/_/g,".")}}}if(/android/i.test(t)){e.operatingSystem="android"}else if(/iPad|iPhone|iPod/.test(t)&&!window.MSStream){e.operatingSystem="ios"}else if(/Win/.test(t)){e.operatingSystem="windows"}else if(/Mac/i.test(t)){e.operatingSystem="mac"}else{e.operatingSystem="unknown"}return e};e.prototype.getUid=function(){var t=window.localStorage.getItem("_capuid");if(t){return t}t=M();window.localStorage.setItem("_capuid",t);return t};return e}(x);var X=new z;var G=function(t){C(e,t);function e(){var e=t.call(this,{name:"LocalNotifications",platforms:["web"]})||this;e.pending=[];return e}e.prototype.createChannel=function(t){throw new Error("Feature not available in the browser. "+t.id)};e.prototype.deleteChannel=function(t){throw new Error("Feature not available in the browser. "+t.id)};e.prototype.listChannels=function(){throw new Error("Feature not available in the browser")};e.prototype.sendPending=function(){var t=this;var e=[];var n=+new Date;this.pending.forEach((function(r){if(r.schedule&&r.schedule.at){if(+r.schedule.at<=n){t.buildNotification(r);e.push(r)}}}));console.log("Sent pending, removing",e);this.pending=this.pending.filter((function(t){return!e.find((function(e){return e===t}))}))};e.prototype.sendNotification=function(t){var e=this;var n=t;if(t.schedule&&t.schedule.at){var r=+t.schedule.at-+new Date;this.pending.push(n);setTimeout((function(){e.sendPending()}),r);return}this.buildNotification(t)};e.prototype.buildNotification=function(t){var e=t;return new Notification(e.title,{body:e.body})};e.prototype.schedule=function(t){var e=this;var n=[];t.notifications.forEach((function(t){n.push(e.sendNotification(t))}));return Promise.resolve({notifications:t.notifications.map((function(t){return{id:""+t.id}}))})};e.prototype.getPending=function(){return Promise.resolve({notifications:this.pending.map((function(t){return{id:""+t.id}}))})};e.prototype.registerActionTypes=function(t){throw new Error("Method not implemented.")};e.prototype.cancel=function(t){console.log("Cancel these",t);this.pending=this.pending.filter((function(e){return!t.notifications.find((function(t){return t.id===""+e.id}))}));return Promise.resolve()};e.prototype.areEnabled=function(){return Promise.resolve({value:Notification.permission==="granted"})};e.prototype.requestPermission=function(){return new Promise((function(t){Notification.requestPermission((function(e){var n=true;if(e==="denied"||e==="default"){n=false}t({granted:n})}))}))};e.prototype.requestPermissions=function(){return new Promise((function(t,e){Notification.requestPermission((function(n){if(n==="denied"||n==="default"){e(n);return}t({results:[n]})}))}))};return e}(x);var H=new G;var $=function(t){C(e,t);function e(){return t.call(this,{name:"Share",platforms:["web"]})||this}e.prototype.share=function(t){if(!navigator.share){return Promise.reject("Web Share API not available")}return navigator.share({title:t.title,text:t.text,url:t.url})};return e}(x);var J=new $;var Q=function(t){C(e,t);function e(){return t.call(this,{name:"Modals",platforms:["web"]})||this}e.prototype.alert=function(t){return L(this,void 0,void 0,(function(){return T(this,(function(e){window.alert(t.message);return[2,Promise.resolve()]}))}))};e.prototype.prompt=function(t){return L(this,void 0,void 0,(function(){var e;return T(this,(function(n){e=window.prompt(t.message,t.inputText||"");return[2,Promise.resolve({value:e,cancelled:e===null})]}))}))};e.prototype.confirm=function(t){return L(this,void 0,void 0,(function(){var e;return T(this,(function(n){e=window.confirm(t.message);return[2,Promise.resolve({value:e})]}))}))};e.prototype.showActions=function(t){return L(this,void 0,void 0,(function(){var e=this;return T(this,(function(n){return[2,new Promise((function(n,r){return L(e,void 0,void 0,(function(){var e;var r=this;return T(this,(function(i){e=document.querySelector("pwa-action-sheet");if(!e){e=document.createElement("pwa-action-sheet");document.body.appendChild(e)}e.header=t.title;e.cancelable=false;e.options=t.options;e.addEventListener("onSelection",(function(t){return L(r,void 0,void 0,(function(){var e;return T(this,(function(r){e=t.detail;n({index:e});return[2]}))}))}));return[2]}))}))}))]}))}))};return e}(x);var Z=new Q;var tt=function(t){C(e,t);function e(){var e=t.call(this,{name:"Motion"})||this;e.registerWindowListener("devicemotion","accel");e.registerWindowListener("deviceorientation","orientation");return e}return e}(x);var et=new tt;var nt=function(t){C(e,t);function e(){var e=t.call(this,{name:"Network",platforms:["web"]})||this;e.listenerFunction=null;return e}e.prototype.getStatus=function(){return new Promise((function(t,e){if(!window.navigator){e("Network info not available");return}var n=window.navigator.onLine;var r=window.navigator.connection||window.navigator.mozConnection||window.navigator.webkitConnection;var i=r?r.type||r.effectiveType:"wifi";t({connected:n,connectionType:n?i:"none"})}))};e.prototype.addListener=function(t,e){var n=this;var r=window.navigator.connection||window.navigator.mozConnection||window.navigator.webkitConnection;var i=r?r.type||r.effectiveType:"wifi";var o=e.bind(n,{connected:true,connectionType:i});var a=e.bind(n,{connected:false,connectionType:"none"});if(t.localeCompare("networkStatusChange")===0){window.addEventListener("online",o);window.addEventListener("offline",a);return{remove:function(){window.removeEventListener("online",o);window.removeEventListener("offline",a)}}}};return e}(x);var rt=new nt;var it=function(t){C(e,t);function e(){return t.call(this,{name:"Permissions"})||this}e.prototype.query=function(t){return L(this,void 0,void 0,(function(){var e,n,r;return T(this,(function(i){switch(i.label){case 0:e=window.navigator;if(!e.permissions){return[2,Promise.reject("This browser does not support the Permissions API")]}n=t.name===p.Photos?"camera":t.name;return[4,e.permissions.query({name:n})];case 1:r=i.sent();return[2,{state:r.state}]}}))}))};return e}(x);var ot=new it;var at=function(t){C(e,t);function e(){return t.call(this,{name:"SplashScreen",platforms:["web"]})||this}e.prototype.show=function(t,e){return Promise.resolve()};e.prototype.hide=function(t,e){return Promise.resolve()};return e}(x);var st=new at;var ct=function(t){C(e,t);function e(){var e=t.call(this,{name:"Storage",platforms:["web"]})||this;e.KEY_PREFIX="_cap_";return e}e.prototype.get=function(t){var e=this;return new Promise((function(n,r){n({value:window.localStorage.getItem(e.makeKey(t.key))})}))};e.prototype.set=function(t){var e=this;return new Promise((function(n,r){window.localStorage.setItem(e.makeKey(t.key),t.value);n()}))};e.prototype.remove=function(t){var e=this;return new Promise((function(n,r){window.localStorage.removeItem(e.makeKey(t.key));n()}))};e.prototype.keys=function(){var t=this;return new Promise((function(e,n){e({keys:Object.keys(localStorage).filter((function(e){return t.isKey(e)})).map((function(e){return t.getKey(e)}))})}))};e.prototype.clear=function(){var t=this;return new Promise((function(e,n){Object.keys(localStorage).filter((function(e){return t.isKey(e)})).forEach((function(t){return window.localStorage.removeItem(t)}));e()}))};e.prototype.makeKey=function(t){return this.KEY_PREFIX+t};e.prototype.isKey=function(t){return t.indexOf(this.KEY_PREFIX)===0};e.prototype.getKey=function(t){return t.substr(this.KEY_PREFIX.length)};return e}(x);var ut=new ct;var lt=function(t){C(e,t);function e(){return t.call(this,{name:"Toast",platforms:["web"]})||this}e.prototype.show=function(t){return L(this,void 0,void 0,(function(){var e,n;return T(this,(function(r){e=2e3;if(t.duration){e=t.duration==="long"?3500:2e3}n=document.createElement("pwa-toast");n.duration=e;n.message=t.text;document.body.appendChild(n);return[2]}))}))};return e}(x);var ft=new lt;E(y);var dt='@-webkit-keyframes fade{0%{opacity:0}100%{opacity:1}}@keyframes fade{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes corner-expand{0%{width:0;opacity:0}100%{width:20px;opacity:1}}@keyframes corner-expand{0%{width:0;opacity:0}100%{width:20px;opacity:1}}@-webkit-keyframes slide-right{0%{opacity:0;-webkit-transform:translateX(-200px);transform:translateX(-200px)}}@keyframes slide-right{0%{opacity:0;-webkit-transform:translateX(-200px);transform:translateX(-200px)}}@keyframes bounce2{0%,20%,50%,80%,100%{-webkit-transform:translateY(0);transform:translateY(0)}40%{-webkit-transform:translateY(-20px);transform:translateY(-20px)}60%{-webkit-transform:translateY(-10px);transform:translateY(-10px)}}@-webkit-keyframes bounce2{0%,20%,50%,80%,100%{-webkit-transform:translateY(0);transform:translateY(0)}40%{-webkit-transform:translateY(-20px);transform:translateY(-20px)}60%{-webkit-transform:translateY(-10px);transform:translateY(-10px)}}@-webkit-keyframes heartbeat{from{-webkit-transform:scale(1);transform:scale(1);-webkit-transform-origin:center center;transform-origin:center center;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}8%{-webkit-transform:scale(0.94);transform:scale(0.94);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}14%{-webkit-transform:scale(0.98);transform:scale(0.98);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}28%{-webkit-transform:scale(0.92);transform:scale(0.92);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}40%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}@keyframes heartbeat{from{-webkit-transform:scale(1);transform:scale(1);-webkit-transform-origin:center center;transform-origin:center center;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}8%{-webkit-transform:scale(0.94);transform:scale(0.94);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}14%{-webkit-transform:scale(0.98);transform:scale(0.98);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}28%{-webkit-transform:scale(0.92);transform:scale(0.92);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}40%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}:root{--ion-color-primary:#00b7b3;--ion-color-primary-rgb:0, 183, 179;--ion-color-primary-contrast:#ffffff;--ion-color-primary-contrast-rgb:255, 255, 255;--ion-color-primary-shade:#00a19e;--ion-color-primary-tint:#1abebb;--ion-color-secondary:#00B1D0;--ion-color-secondary-rgb:0, 177, 208;--ion-color-secondary-contrast:#ffffff;--ion-color-secondary-contrast-rgb:255, 255, 255;--ion-color-secondary-shade:#009cb7;--ion-color-secondary-tint:#1ab9d5;--ion-color-tertiary:#3b3f3f;--ion-color-tertiary-rgb:76, 110, 121;--ion-color-tertiary-contrast:#ffffff;--ion-color-tertiary-contrast-rgb:255, 255, 255;--ion-color-tertiary-shade:#343737;--ion-color-tertiary-tint:#4f5252;--ion-color-success:#10dc60;--ion-color-success-rgb:16, 220, 96;--ion-color-success-contrast:#fff;--ion-color-success-contrast-rgb:255, 255, 255;--ion-color-success-shade:#0ec254;--ion-color-success-tint:#28e070;--ion-color-warning:#ffce00;--ion-color-warning-rgb:255, 206, 0;--ion-color-warning-contrast:#000;--ion-color-warning-contrast-rgb:0, 0, 0;--ion-color-warning-shade:#e0b500;--ion-color-warning-tint:#ffd31a;--ion-color-danger:#f53d3d;--ion-color-danger-rgb:245, 61, 61;--ion-color-danger-contrast:#fff;--ion-color-danger-contrast-rgb:255, 255, 255;--ion-color-danger-shade:#d83636;--ion-color-danger-tint:#f65050;--ion-color-light:#fdfdfd;--ion-color-light-rgb:244, 244, 244;--ion-color-light-contrast:#000;--ion-color-light-contrast-rgb:0, 0, 0;--ion-color-light-shade:#d7d7d7;--ion-color-light-tint:#f5f5f5;--ion-color-medium:#989aa2;--ion-color-medium-rgb:152, 154, 162;--ion-color-medium-contrast:#000;--ion-color-medium-contrast-rgb:0, 0, 0;--ion-color-medium-shade:#86888f;--ion-color-medium-tint:#a2a4ab;--ion-color-dark:#222;--ion-color-dark-rgb:34, 34, 34;--ion-color-dark-contrast:#fff;--ion-color-dark-contrast-rgb:255, 255, 255;--ion-color-dark-shade:#1e1e1e;--ion-color-dark-tint:#383838;--ion-color-mainPlaces:#c06457;--ion-color-mainPlaces-rgb:192, 100, 87;--ion-color-mainPlaces-contrast:#ffffff;--ion-color-mainPlaces-contrast-rgb:255, 255, 255;--ion-color-mainPlaces-shade:#a9584d;--ion-color-mainPlaces-tint:#c67468;--ion-color-aroundPlaces:#222;--ion-color-aroundPlaces-rgb:34, 34, 34;--ion-color-aroundPlaces-contrast:#fff;--ion-color-aroundPlaces-contrast-rgb:255, 255, 255;--ion-color-aroundPlaces-shade:#1e1e1e;--ion-color-aroundPlaces-tint:#383838;--ion-toolbar-md-background-color:var(--ion-color-primary);--ion-toolbar-md-text-color:#fff;--ion-color-gold:#b9b029}body{margin:0px !important;padding:0px;font-family:"Raleway", serif}.hidden{opacity:0}.heartbeat-button{-webkit-animation:heartbeat 1.5s ease-in-out infinite both;animation:heartbeat 1.5s ease-in-out infinite both}p,h1,h2,h3,h4,h5,h6{font-family:"Nunito", serif}.title{text-transform:uppercase;font-size:1.2em;font-weight:600}@keyframes fade{0%{opacity:0}100%{opacity:1}}@keyframes corner-expand{0%{width:0;opacity:0}100%{width:20px;opacity:1}}@keyframes slide-right{0%{opacity:0;-webkit-transform:translateX(-200px);transform:translateX(-200px)}}@keyframes bounce2{0%,20%,50%,80%,100%{-webkit-transform:translateY(0);transform:translateY(0)}40%{-webkit-transform:translateY(-20px);transform:translateY(-20px)}60%{-webkit-transform:translateY(-10px);transform:translateY(-10px)}}@-webkit-keyframes bounce2{0%,20%,50%,80%,100%{-webkit-transform:translateY(0);transform:translateY(0)}40%{-webkit-transform:translateY(-20px);transform:translateY(-20px)}60%{-webkit-transform:translateY(-10px);transform:translateY(-10px)}}@-webkit-keyframes heartbeat{from{-webkit-transform:scale(1);transform:scale(1);-webkit-transform-origin:center center;transform-origin:center center;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}8%{-webkit-transform:scale(0.94);transform:scale(0.94);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}14%{-webkit-transform:scale(0.98);transform:scale(0.98);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}28%{-webkit-transform:scale(0.92);transform:scale(0.92);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}40%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}@keyframes heartbeat{from{-webkit-transform:scale(1);transform:scale(1);-webkit-transform-origin:center center;transform-origin:center center;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}8%{-webkit-transform:scale(0.94);transform:scale(0.94);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}14%{-webkit-transform:scale(0.98);transform:scale(0.98);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}28%{-webkit-transform:scale(0.92);transform:scale(0.92);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}40%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}:root{--ion-color-primary:#00b7b3;--ion-color-primary-rgb:0, 183, 179;--ion-color-primary-contrast:#ffffff;--ion-color-primary-contrast-rgb:255, 255, 255;--ion-color-primary-shade:#00a19e;--ion-color-primary-tint:#1abebb;--ion-color-secondary:#00B1D0;--ion-color-secondary-rgb:0, 177, 208;--ion-color-secondary-contrast:#ffffff;--ion-color-secondary-contrast-rgb:255, 255, 255;--ion-color-secondary-shade:#009cb7;--ion-color-secondary-tint:#1ab9d5;--ion-color-tertiary:#3b3f3f;--ion-color-tertiary-rgb:76, 110, 121;--ion-color-tertiary-contrast:#ffffff;--ion-color-tertiary-contrast-rgb:255, 255, 255;--ion-color-tertiary-shade:#343737;--ion-color-tertiary-tint:#4f5252;--ion-color-success:#10dc60;--ion-color-success-rgb:16, 220, 96;--ion-color-success-contrast:#fff;--ion-color-success-contrast-rgb:255, 255, 255;--ion-color-success-shade:#0ec254;--ion-color-success-tint:#28e070;--ion-color-warning:#ffce00;--ion-color-warning-rgb:255, 206, 0;--ion-color-warning-contrast:#000;--ion-color-warning-contrast-rgb:0, 0, 0;--ion-color-warning-shade:#e0b500;--ion-color-warning-tint:#ffd31a;--ion-color-danger:#f53d3d;--ion-color-danger-rgb:245, 61, 61;--ion-color-danger-contrast:#fff;--ion-color-danger-contrast-rgb:255, 255, 255;--ion-color-danger-shade:#d83636;--ion-color-danger-tint:#f65050;--ion-color-light:#fdfdfd;--ion-color-light-rgb:244, 244, 244;--ion-color-light-contrast:#000;--ion-color-light-contrast-rgb:0, 0, 0;--ion-color-light-shade:#d7d7d7;--ion-color-light-tint:#f5f5f5;--ion-color-medium:#989aa2;--ion-color-medium-rgb:152, 154, 162;--ion-color-medium-contrast:#000;--ion-color-medium-contrast-rgb:0, 0, 0;--ion-color-medium-shade:#86888f;--ion-color-medium-tint:#a2a4ab;--ion-color-dark:#222;--ion-color-dark-rgb:34, 34, 34;--ion-color-dark-contrast:#fff;--ion-color-dark-contrast-rgb:255, 255, 255;--ion-color-dark-shade:#1e1e1e;--ion-color-dark-tint:#383838;--ion-color-mainPlaces:#c06457;--ion-color-mainPlaces-rgb:192, 100, 87;--ion-color-mainPlaces-contrast:#ffffff;--ion-color-mainPlaces-contrast-rgb:255, 255, 255;--ion-color-mainPlaces-shade:#a9584d;--ion-color-mainPlaces-tint:#c67468;--ion-color-aroundPlaces:#222;--ion-color-aroundPlaces-rgb:34, 34, 34;--ion-color-aroundPlaces-contrast:#fff;--ion-color-aroundPlaces-contrast-rgb:255, 255, 255;--ion-color-aroundPlaces-shade:#1e1e1e;--ion-color-aroundPlaces-tint:#383838;--ion-toolbar-md-background-color:var(--ion-color-primary);--ion-toolbar-md-text-color:#fff;--ion-color-gold:#b9b029}body{margin:0px !important;padding:0px;font-family:"Raleway", serif}.hidden{opacity:0}.heartbeat-button{-webkit-animation:heartbeat 1.5s ease-in-out infinite both;animation:heartbeat 1.5s ease-in-out infinite both}p,h1,h2,h3,h4,h5,h6{font-family:"Nunito", serif}.title{text-transform:uppercase;font-size:1.2em;font-weight:600}tour-direction-indications .main-title{font-family:"Caveat", serif;font-size:1.6em;margin:8px 16px;color:white}tour-direction-indications ion-list{--ion-item-background:transparent}tour-direction-indications ion-list .chevron{color:white !important}tour-direction-indications ion-list .indication-title{font-family:"Caveat", serif;font-size:1.1em;color:white}tour-direction-indications ion-list .address{font-size:1.2em;margin-top:0px;margin-bottom:8px;color:white;font-family:"Caveat", serif;font-size:1.1em}tour-direction-indications ion-list .address .copy-icon{font-size:1.1em;margin-left:8px}tour-direction-indications .list-ios,tour-direction-indications .list-md{margin-bottom:0px}';var pt=y.Clipboard;var ht=y.Toast;var mt=t("tour_direction_indications",function(){function t(t){e(this,t);this.transportInfo=[];this.city="paris";this.directionTitle=null;this.byMetroTitle="";this.byTaxiTitle="";this.exitPrefix="";this.address="";this.showWalkOption=false;this.durationFromStartingPoint=-1}t.prototype.onAddressClick=function(){pt.write({string:this.address});ht.show({text:"Copied"})};t.prototype.render=function(){var t=this;return n("div",null,this.directionTitle&&n("p",{class:"main-title"},this.directionTitle),n("ion-list",null,n("ion-item",null,n("dos-accordion",{"icon-color":"light"},n("p",{slot:"title",class:"indication-title"},this.byMetroTitle),n("metro-indication",{slot:"content",exitPrefix:this.exitPrefix,transportInfo:this.transportInfo,city:this.city}))),n("ion-item",null,n("dos-accordion",{"icon-color":"light"},n("p",{slot:"title",class:"indication-title"},this.byTaxiTitle),n("p",{slot:"content",class:"address",onClick:function(){return t.onAddressClick()}},this.address,n("ion-icon",{name:"copy-outline",color:"light",class:"copy-icon"})))),this.showWalkOption&&n("ion-item",null,n("dos-accordion",{"icon-color":"light"},n("p",{slot:"title",class:"indication-title"},"BY WALK"),n("p",{slot:"content",class:"address"},this.durationFromStartingPoint&&n("span",null,Math.round(this.durationFromStartingPoint/60)," min away. "),"See the map and walk")))))};return t}());mt.style=dt}}}));